1 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3 * simple.el (kill-new, kill-append, kill-region):
4 * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
6 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
9 that are both openers (resp. closers) and something else.
10 (smie-grammar): Loosen definition of valid values.
11 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
12 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
13 (smie-indent-after-keyword): Adjust users.
14 (smie-indent-keyword): Don't indent empty lines.
16 * vc-hg.el (vc-hg-program): New var.
17 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
18 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
20 2010-11-18 Glenn Morris <rgm@gnu.org>
22 * emacs-lisp/autoload.el (autoload-find-destination): The function
23 coding-system-eol-type may return non-numeric values. (Bug#7414)
25 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
27 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
29 2010-11-18 Eli Zaretskii <eliz@gnu.org>
31 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
33 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
35 * textmodes/picture.el (picture-mouse-set-point): Don't use
36 posn-col-row; explicitly compute the motion based on the posn at
37 the window-start (Bug#7390).
39 2010-11-18 Glenn Morris <rgm@gnu.org>
41 * novice.el (disabled-command-function):
42 Fix 2009-11-15 change. (Bug#7384)
44 2010-11-18 Glenn Morris <rgm@gnu.org>
46 * calendar/calendar.el (diary-iso-date-forms): Make elements
47 mutually exclusive. (Bug#7377)
49 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
51 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
52 when filling the remaining "unconstrained" values.
54 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
56 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
59 * files.el (safe-local-variable-p): Gracefully handle errors.
61 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
62 Use smie-indent-virtual when indenting relative to an opener.
63 (smie-rule-separator): Use smie-rule-parent.
64 (smie-indent-keyword): Consult rules, even for openers at bol.
65 (smie-indent-comment-close): Try to align closer's content.
67 2010-11-18 Glenn Morris <rgm@gnu.org>
69 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
71 2010-11-18 Glenn Morris <rgm@gnu.org>
73 * printing.el (pr-menu-bind): Doc fix.
75 * speedbar.el (speedbar-toggle-images): Doc fix.
77 * progmodes/python.el (python-shell): Doc fix.
79 * wid-edit.el (widget-field-use-before-change)
80 (widget-use-overlay-change): Doc fixes.
82 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
84 Minor cleanup to improve style.
85 * textmodes/rst.el (rst-update-section): Use point-marker.
86 (rst-get-decoration): Eliminate unneeded assignment.
87 (rst-promote-region, rst-straighten-decorations)
88 (rst-section-tree, rst-adjust): Use point-marker.
89 (rst-toc-mode-mouse-goto): Avoid setq.
90 (rst-shift-region-guts, rst-shift-region-left)
91 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
92 (rst-convert-bullets-to-enumeration): Use copy-marker.
94 * minibuffer.el (completion-fail-discreetly): New var.
95 (completion--do-completion): Use it.
97 * electric.el (electric-pair-pairs): New var.
98 (electric-pair-post-self-insert-function): Use it.
99 (electric-layout-post-self-insert-function): Don't insert a before
100 newline unless it's actually needed.
102 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
104 * progmodes/python.el (run-python): Explain why we remove the current
105 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
107 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
109 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
111 * progmodes/octave-mod.el: Rely on elecric-*-modes.
112 (octave-mode-map): Don't bind ;, SPC, and LF.
113 (octave-auto-indent, octave-auto-newline): Remove.
114 (electric-layout-rules): Declare.
115 (octave-mode): Set electric-layout-rules.
116 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
117 (octave-reindent-then-newline-and-indent, octave-electric-semi)
118 (octave-electric-space): Remove.
120 * electric.el (electric-layout-mode): New minor mode.
121 (electric--after-char-pos): New function.
122 (electric-indent-post-self-insert-function): Use it.
123 (electric-layout-rules): New var.
124 (electric-layout-post-self-insert-function): New function.
125 (electric-indent-mode): Make them interact better.
127 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
129 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
130 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
131 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
133 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
135 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
136 Make sure to check inside the word (Bug#6761).
138 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
140 * startup.el (command-line): If the cursorColor resource is set,
141 change the cursor face-spec (Bug#7392).
143 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
145 The main features of the following allout.el changes are:
146 - implement user customization for the allout key bindings
147 - add a customization control by which the user can inhibit use of
148 a trailing Ctrl-H, so by default it's reserved for use with
149 describe-prefix-bindings
150 - adapt to new version of called-interactively-p, while
151 maintaining backwards compatibility with old version
152 - fix hotspot navigation so i works properly with meta-modified keys
154 * allout.el (allout-keybindings, allout-bind-keys)
155 (allout-keybindings-binding, allout-prefixed-keybindings)
156 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
157 (allout-keybindings-list, allout-mode-map-adjustments)
158 (allout-setup-mode-map): Establish allout-mode keymaps as user
159 customizable settings, and also establish a customizable setting which
160 regulates whether or not a trailing control-h is reserved for use with
161 describe-prefix-bindings - and inhibit it by default, so that control-h
162 *is* reserved for describe-prefix-bindings unless the user changes it.
164 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
165 and accurately between modified and unmodified events, and handle
166 modified events more comprehensively.
168 * allout.el (allout-substring-no-properties):
169 Alias to use or provide version of `substring-no-properties'.
170 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
172 * allout.el (allout-next-single-char-property-change):
173 Alias to use or provide version of `next-single-char-property-change'.
174 (allout-annotate-hidden, allout-hide-by-annotation):
175 Use `allout-next-single-char-property-change'.
177 * allout.el (allout-select-safe-coding-system):
178 Alias to use or provide version of `select-safe-coding-system'.
179 (allout-toggle-subtree-encryption):
180 Use `allout-select-safe-coding-system'.
182 * allout.el (allout-set-buffer-multibyte):
183 Alias to use or provide version of `set-buffer-multibyte'.
184 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
186 * allout.el (allout-called-interactively-p): Macro for using the
187 different versions of called-interactively-p identically, depending on
188 the subroutine's argument signature.
189 (allout-back-to-current-heading, allout-beginning-of-current-entry):
190 Use `(interactive "p")' instead of `(called-interactively-p)'.
192 * allout.el (allout-init, allout-ascend, allout-end-of-level)
193 (allout-previous-visible-heading, allout-forward-current-level)
194 (allout-backward-current-level, allout-show-children):
195 Use `allout-called-interactively-p' instead of `called-interactively-p'.
197 * allout.el (allout-before-change-handler):
198 Exempt edits to the (overlaid) character after the allout outline
199 bullet from edit confirmation prompt.
201 * allout.el (allout-add-resumptions):
202 Ensure that it respects correct buffer for keybindings.
204 * allout.el (allout-beginning-of-line):
205 Use `allout-previous-single-char-property-change' alias for the sake of
206 diverse compatibility.
208 * allout.el (allout-end-of-line):
209 Use `allout-mark-active-p' to encapsulate respect for mark activity.
211 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
213 * frame.el (frame-notice-user-settings): Don't clobber other
214 user-set parameters when calling face-set-after-frame-default in
215 response to background-color parameter (Bug#7373).
217 2010-11-13 Eli Zaretskii <eliz@gnu.org>
219 * international/characters.el (glyphless-char-display-control):
220 Renamed from glyphless-char-control; all users changed. Doc fix.
221 Signal an error if display method is not one of the recognized
224 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
226 * net/tramp-compat.el (tramp-compat-line-beginning-position)
227 (tramp-compat-line-end-position): Remove them.
229 * net/tramp.el (tramp-parse-rhosts-group)
230 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
231 (tramp-parse-hosts-group, tramp-parse-passwd-group)
232 (tramp-parse-netrc-group, tramp-parse-putty-group)
233 * net/tramp-cmds.el (tramp-append-tramp-buffers)
234 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
235 (tramp-sh-handle-file-selinux-context)
236 (tramp-sh-handle-file-name-all-completions)
237 (tramp-sh-handle-insert-directory)
238 (tramp-sh-handle-expand-file-name, tramp-find-executable)
239 (tramp-wait-for-output, tramp-send-command-and-read)
240 * net/tramp-smb.el (tramp-smb-read-file-entry)
241 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
243 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
245 (tramp-remote-coding-commands): Add an alternative using "base64
246 -d -i". This is needed for older base64 versions from GNU
247 coreutils. Reported by Klaus Reichl
248 <Klaus.Reichl@thalesgroup.com>.
250 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
252 * simple.el (count-words-region): New function.
254 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
256 * shell.el (shell-dir-cookie-re): New custom variable.
257 (shell-dir-cookie-watcher): New function.
259 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
260 and compilation-mode (bug#7350).
262 * vc/smerge-mode.el (smerge-refine): Choose better default part to
263 highlight when one of them is empty.
265 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
267 (skeleton-newline): New function.
268 (skeleton-internal-1): Use it.
270 * simple.el (open-line): `newline' may strip trailing space.
272 2010-11-12 Kevin Ryde <user42@zip.com.au>
274 * international/mule-cmds.el (princ-list): Use mapc.
276 2010-11-12 Glenn Morris <rgm@gnu.org>
278 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
279 Use it to replace all instances of "*Compile-Log*"
281 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
283 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
286 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
288 * progmodes/modula2.el: Use SMIE and skeleton.
289 (m2-mode-syntax-table): (*..*) can be nested.
290 Add //...\n. Fix paren syntax.
291 (m2-mode-map): Remove LF and TAB bindings.
292 (m2-indent): Add safety property.
293 (m2-smie-grammar): New var.
294 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
295 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
296 (m2-mode): Use define-derived-mode.
297 (m2-newline, m2-tab): Remove.
298 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
299 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
300 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
301 (m2-import): Use define-skeleton.
303 2010-11-11 Glenn Morris <rgm@gnu.org>
305 * obsolete/lucid.el: Don't warn about any CL functions in this file.
307 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
308 (ls-lisp-verbosity): Add custom :set-after property.
309 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
310 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
311 (ls-lisp-insert-directory): Update caller.
312 (ls-lisp-set-options): New function.
313 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
316 * play/landmark.el (lm-prompt-for-move):
317 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
319 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
321 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
322 (idlwave-study-twins): Prefix dynamic local variable `name'.
323 (idlwave-routine-twin-compare): Update for above change.
325 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
326 Prefix dynamic local variables `name', `kwd', and `link'.
327 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
328 * progmodes/idlw-complete-structtag.el
329 (idlwave-complete-structure-tag-help):
330 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
331 (idlwave-complete-sysvar-tag-help)
332 (idlwave-complete-class-structure-tag-help):
333 Update for above name changes.
335 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
337 * net/browse-url.el (browse-url-browser-function): Change the
338 default to use `browse-url-mail' on mailto: URLs.
340 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
342 * emacs-lisp/package.el (package-read-all-archive-contents):
343 Reset package-archive-contents to nil before re-reading.
345 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
347 * textmodes/flyspell.el (flyspell-word): Do not re-check words
348 already found as misspellings by (flyspell-large-region), just
349 do highlighting (bug#7322).
351 2010-11-10 Glenn Morris <rgm@gnu.org>
353 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
355 * emulation/edt.el (edt-with-position): New macro.
356 (edt-find-forward, edt-find-backward, edt-find-next-forward)
357 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
358 (edt-paragraph-forward, edt-paragraph-backward): Use it.
360 * emulation/tpu-extras.el (tpu-with-position): New macro.
361 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
363 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
365 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
366 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
367 (texinfo-master-menu, texinfo-insert-node-lines)
368 (texinfo-multiple-files-update):
369 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
370 Use line-beginning-position.
372 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
373 No recent Emacs supports system-type `emx'.
375 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
376 (ada-command-separator, ada-default-prj-properties)
377 (ada-find-any-references): Update for above name change.
379 * dirtrack.el (dirtrack-directory-function)
380 (dirtrack-canonicalize-function):
381 * filecache.el (file-cache-completion-ignore-case)
382 (file-cache-case-fold-search, file-cache-ignore-case):
383 * term.el (serial-port-is-file-p): Cosmetic change.
385 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
386 Remove non-existent `windows-95' system-type.
387 * dired.el (dired-chown-program): Remove non-existent `linux'
390 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
391 (ping-program-options): Remove non-existent `linux' system-type.
393 * startup.el (package-initialize): Update declaration.
395 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
396 (ls-lisp-handle-switches): Use time-less-p.
397 (ls-lisp-format-time): Use float-time.
399 * textmodes/remember.el (remember-time-to-seconds): Remove.
400 (remember-store-in-mailbox): Use float-time.
402 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
404 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
405 never a real function.
406 (with-no-warnings): Remove compat stub, now unused.
407 (time-less-p): Doc fix.
408 (time-to-number-of-days): Simplify.
410 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
412 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
413 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
414 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
415 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
416 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
418 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
419 (eshell-shuffle-files, eshell-shorthand-tar-command)
420 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
421 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
422 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
423 Prefix dynamic local variable `matches'.
425 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
426 Prefix dynamic local variable `skeleton'.
428 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
430 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
431 in mail buffer; make yank-action always a command that yanks original
434 2010-11-09 Glenn Morris <rgm@gnu.org>
436 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
438 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
440 * minibuffer.el (minibuffer-completion-help): Specify the end of the
441 completion field (bug#7211).
443 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
444 Fix handling of backslash escapes.
445 (python-quote-syntax): Adjust accordingly.
447 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
449 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
450 (vc-mtn-workfile-branch): Adjust to new output format.
452 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
454 * international/mule-cmds.el (princ-list): Mark as obsolete.
456 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
458 * emacs-lisp/smie.el: New package.
460 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
462 * files.el (backup-by-copying-when-mismatch):
463 Set `permanent-local' property.
465 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
466 `permanent-local' property for `backup-by-copying-when-mismatch'.
468 2010-11-09 Eli Zaretskii <eliz@gnu.org>
470 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
472 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
474 * progmodes/verilog-mode.el (verilog-insert-one-definition)
475 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
476 AUTOINOUT for SV style multidimensional arrays, bug294.
477 Reported by Eric Mastromarchi.
478 (verilog-preprocess): Use with-current-buffer and
479 font-lock-fontify-buffer to cleanup style issues.
481 2010-11-09 Glenn Morris <rgm@gnu.org>
483 * locate.el (locate, locate-mode): Doc fixes.
485 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
487 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
488 user for confirmation.
489 (server-force-stop): Use it.
490 (server-start): Use server-force-stop for kill-emacs-hook, to
491 avoid user interaction while killing Emacs.
493 2010-11-09 Glenn Morris <rgm@gnu.org>
495 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
496 (meta-indent-line): Simplify.
498 * vc/emerge.el (emerge-line-number-in-buf):
499 * textmodes/ispell.el (ispell-region):
500 * textmodes/fill.el (current-fill-column):
501 * progmodes/xscheme.el (xscheme-send-current-line):
502 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
503 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
504 * progmodes/sh-script.el (sh-handle-prev-do):
505 * progmodes/meta-mode.el (meta-indent-line):
506 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
508 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
509 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
510 * progmodes/fortran.el (fortran-looking-at-if-then):
511 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
512 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
513 (cperl-find-pods-heres):
514 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
515 * net/quickurl.el (quickurl-list-insert):
516 * net/ldap.el (ldap-search-internal):
517 * net/eudc.el (eudc-expand-inline):
518 * mail/sendmail.el (sendmail-send-it):
519 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
520 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
521 (viper-brac-function):
522 * calc/calc-yank.el (calc-do-grab-region):
523 * calc/calc-keypd.el (calc-keypad-press):
524 * term.el (term-move-columns, term-insert-spaces):
525 * speedbar.el (speedbar-highlight-one-tag-line):
526 * simple.el (current-word):
527 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
528 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
530 * hippie-exp.el (he-line-beg):
531 * epa.el (epa--marked-keys):
532 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
533 (dired-update-file-line, dired-add-entry, dired-remove-entry)
534 (dired-relist-entry):
535 * buff-menu.el (Buffer-menu-buffer):
536 * array.el (current-line):
537 * allout.el (allout-resolve-xref)
538 (allout-latex-verbatim-quote-curr-line):
539 Replace yet more uses of end-of-line etc with line-end-position, etc.
541 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
544 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
545 (checkdoc-syntax-table): Initialize in the declaration.
546 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
547 the mode on unconditionally.
549 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
550 (extent-end-position, extent-start-position): Remove setf method for
551 non-existing functions (bug#7319).
553 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
555 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
556 (smie-precs->prec2): Rename from smie-precs-precedence-table.
557 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
558 (smie-prec2->grammar): Rename from smie-prec2-levels.
559 (smie-grammar): Rename from smie-op-levels.
560 (smie-indent--hanging-p): Rename from smie-hanging-p.
561 (smie-rule-hanging-p): New alias.
562 (smie-indent--bolp): Rename from smie-bolp.
563 (smie-indent--hanging-p): New alias.
564 (smie--token): New dynamically bound variable.
565 (smie-indent--parent): New function.
566 (smie-rule-parent-p): Use it; rename from smie-parent-p.
567 (smie-rule-next-p): Rename from smie-next-p.
568 (smie-rule-prev-p): Rename from smie-prev-p.
569 (smie-rule-sibling-p, smie-rule-parent)
570 (smie-indent--separator-outdent, smie-rule-separator): New functions.
571 (smie-rule-separator-outdent): New var.
572 (smie-indent--rule): Merge with smie-indent--column.
573 (smie-indent-forward-token, smie-indent-backward-token):
574 Also recognize close parens.
575 (smie-indent-keyword): Don't use smie-indent--column any more.
576 (smie-indent-after-keyword): Ignore closers by default.
577 (smie-indent-line): Use with-demoted-errors.
578 * progmodes/octave-mod.el (octave-smie-grammar):
579 Rename from octave-smie-op-levels.
580 (octave-smie-rules): Adjust to new behavior.
581 * progmodes/prolog.el (prolog-smie-grammar):
582 Rename from prolog-smie-op-levels.
584 2010-11-07 Glenn Morris <rgm@gnu.org>
586 * eshell/esh-util.el (subst-char-in-string)
587 (directory-files-and-attributes): These compatibility definitions are
588 not needed on any version of Emacs since at least 21.4.
590 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
591 (verilog-get-end-of-line): Remove.
592 (verilog-within-string, verilog-re-search-forward-substr)
593 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
594 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
595 Use point-at-bol, point-at-eol.
596 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
598 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
599 (electric-pascal-terminate-line, pascal-set-auto-comments)
600 (pascal-indent-paramlist, pascal-indent-declaration)
601 (pascal-get-lineup-indent, pascal-func-completion)
602 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
603 Use point-at-bol, point-at-eol.
604 * progmodes/flymake.el (flymake-line-beginning-position)
605 (flymake-line-end-position): Remove.
606 (flymake-highlight-line): Use point-at-bol, point-at-eol.
607 * eshell/esh-util.el (line-end-position, line-beginning-position):
608 Remove compat definitions.
610 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
612 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
613 Use line-end-position.
615 * emacs-lisp/chart.el (chart-zap-chars):
616 * play/decipher.el (decipher-set-map):
617 * progmodes/ada-mode.el (ada-get-current-indent)
618 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
619 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
620 * progmodes/ada-xref.el (ada-initialize-runtime-library)
621 (ada-get-all-references):
622 * progmodes/cperl-mode.el (cperl-electric-paren)
623 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
624 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
625 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
626 (cperl-word-at-point-hard):
627 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
628 (idlwave-shell-filename-string, idlwave-shell-batch-command)
629 (idlwave-shell-display-line):
630 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
631 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
632 * progmodes/js.el (js--re-search-forward-inner)
633 (js--re-search-backward-inner):
634 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
635 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
636 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
637 * textmodes/flyspell.el (flyspell-process-localwords):
638 * textmodes/ispell.el (ispell-buffer-local-parsing)
639 (ispell-buffer-local-dict, ispell-buffer-local-words):
640 Use point-at-bol and point-at-eol.
642 * speedbar.el (speedbar-generic-item-info)
643 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
644 (speedbar-add-indicator, speedbar-check-vc-this-line)
645 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
646 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
647 Replace more uses of end-of-line etc with line-end-position.
649 2010-11-06 Glenn Morris <rgm@gnu.org>
651 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
652 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
653 (texinfo-delete-existing-pointers, texinfo-find-pointer)
654 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
655 (texinfo-multiple-files-update):
656 * textmodes/table.el (table--probe-cell-left-up)
657 (table--probe-cell-right-bottom):
658 * textmodes/picture.el (picture-tab-search):
659 * textmodes/page-ext.el (pages-copy-header-and-position)
660 (pages-directory-for-addresses):
661 * progmodes/vera-mode.el (vera-get-offset):
662 * progmodes/simula.el (simula-calculate-indent):
663 * progmodes/python.el (python-pdbtrack-overlay-arrow):
664 * progmodes/prolog.el (end-of-prolog-clause):
665 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
666 * progmodes/icon.el (indent-icon-exp):
667 * progmodes/etags.el (tag-re-match-p):
668 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
669 * progmodes/ebnf2ps.el (ebnf-begin-file):
670 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
671 (dcl-save-local-variable):
672 * play/life.el (life-setup):
673 * play/gametree.el (gametree-looking-at-ply):
674 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
675 * mail/sendmail.el (mail-mode-auto-fill):
676 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
677 * emacs-lisp/edebug.el (edebug-overlay-arrow):
678 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
679 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
680 (woman-tab-to-tab-stop, WoMan-warn-ignored):
681 * type-break.el (type-break-file-keystroke-count):
682 * term.el (term-replace-by-expanded-history-before-point)
683 (term-skip-prompt, term-extract-string):
684 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
685 (speedbar-contract-line, speedbar-toggle-line-expansion)
686 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
687 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
688 * sort.el (sort-skip-fields):
689 * skeleton.el (skeleton-internal-list):
690 * simple.el (line-move-finish, line-move-to-column):
691 * shell.el (shell-forward-command):
692 * misc.el (copy-from-above-command):
693 * makesum.el (double-column):
694 * ebuff-menu.el (electric-buffer-update-highlight):
695 * dired.el (dired-move-to-end-of-filename):
696 * dframe.el (dframe-popup-kludge):
697 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
698 * arc-mode.el (archive-get-lineno):
699 Use line-end-position and line-beginning-position.
701 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
702 (idlwave-study-twins): Prefix dynamic local `class'.
703 (idlwave-routine-twin-compare): Update for above name change.
705 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
706 Use boundp tests to silence compiler. Update for changed name of
707 bytecomp-filename variable.
709 * emulation/viper-cmd.el (viper-read-string-with-history):
710 Prefix dynamic local `initial'.
711 (viper-minibuffer-standard-hook): Update for above name change.
713 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
714 (elint-init-form): Update for above name change.
716 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
717 local variables `cbeg' and `cend' a prefix.
718 (mail-extr-voodoo): Update for above name change.
720 * textmodes/reftex-toc.el (reftex-toc-do-promote)
721 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
722 (reftex-toc-promote-action): Doc fix.
724 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
725 `prompt', `data' a prefix.
726 (reftex-select-post-command-hook, reftex-select-callback)
727 (reftex-select-mouse-accept, reftex-select-read-cite):
728 Update for above name changes.
730 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
731 `refstyle' to reftex-refstyle.
732 (reftex-offer-label-menu): Update for above name change.
733 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
734 `refstyle' name change.
736 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
737 with with-current-buffer.
738 (diff, template): Give dynamic local variables a prefix.
739 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
740 (emerge-line-number-in-buf): Update for above name change.
741 (emerge-combine-versions-internal): Rename local `template' to
742 emerge-combine-template.
743 (emerge-combine-versions-edit): Update for above name change.
745 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
747 * textmodes/reftex-cite.el
748 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
749 entries with whitespace after \bibitem.
750 (reftex-create-bibtex-file): Match entries containing numbers and
751 symbol constituents. Make sure that entries with whitespace at
752 various places are found.
754 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
756 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
758 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
760 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
762 2010-11-05 Glenn Morris <rgm@gnu.org>
764 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
765 (woman2-roff-buffer): Give local variable `request' a prefix.
766 (woman0-macro): Rename argument `request' in the same way.
767 (woman-request): New name for `request' dynamic variable.
768 (woman-unquote, woman-forward-arg): Update for above name change.
769 (woman1-roff-buffer): Give local variable `unquote' a prefix.
770 (woman1-unquote): New name for `unquote' dynamic variable.
771 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
772 (woman-translations): Rename from `translations'. No longer global.
773 (woman2-tr, woman-translate): Update for above name change.
774 (woman-translate): Check for bound variable.
775 (woman2-roff-buffer): Give local variable `translations' a prefix.
777 * play/doctor.el: Give all local variables a prefix. Update callers.
778 (doc$, doctor-put-meaning): Use backquote.
780 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
781 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
783 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
784 variables bytes, ptr, op a prefix.
785 (disassemble-offset): Update for above change.
787 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
789 * emacs-lisp/package.el (package-unpack): Remove no-op.
790 (package--builtins, package--dir): Doc fix.
791 (package-activate-1, package-activate, package-install)
792 (package-compute-transaction): Fix error message.
793 (package-delete): Use delete-directory. Omit system packages.
794 (package-initialize): Set package-alist to nil first.
795 (package-menu-mark-delete, package-menu-mark-install): Don't add
796 symbols that are inconsistent with the package state.
797 (package-menu-execute): Perform deletions and installations as
798 single batch operations.
800 2010-11-03 Glenn Morris <rgm@gnu.org>
802 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
803 (props): Remove unnecessary declaration.
805 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
806 set-process-query-on-exit-flag.
808 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
809 (reftex-toc-do-promote): Remove unused local `mpos'.
810 (reftex-toc-restore-region): Make `mpos' local to this function.
812 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
814 * play/landmark.el (lm-losing-threshold): Correct spelling.
815 (lm-human-plays): Use new name.
817 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
818 (gomoku-human-plays): Use new name.
820 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
821 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
822 (gomoku-score-trans-table, gomoku-winning-threshold)
823 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
825 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
827 * emacs-lisp/package.el: Don't put built-in packages in
828 package-alist, to avoid loading inefficiencies.
829 (package-built-in-p): Make VERSION optional, and treat it as a
830 minimum acceptable version.
831 (package-activate): Search separately for built-in packages. Emit
832 a warning if a dependency fails.
833 (define-package): Handle most common case, where there is no
834 obsolete package, first.
835 (package-compute-transaction): Print required version in error.
836 (package--initialized): New variable.
837 (list-packages): Use it.
838 (package-initialize): Optional arg NO-ACTIVATE. Don't put
839 built-in packages in packages-alist; keep it separate. Set
840 package--initialized.
841 (describe-package): Avoid activating packages as a side-effect.
842 Search separately for built-in packages.
843 (describe-package-1): Handle the case where an elpa package is
844 simultaneously built-in and available/installed.
845 (package-installed-p, package--generate-package-list): Search
846 separately for built-in packages.
847 (package-load-descriptor): Doc fix.
849 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
851 * progmodes/perl-mode.el (perl-syntax-propertize-function):
852 Handle __DATA__ and __END__.
854 2010-11-02 Noah Friedman <friedman@splode.com>
856 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
857 nil, do not ask to recompile files that are not already compiled,
858 and do not recompile them.
860 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
862 * emacs-lisp/package.el (package-initialize): Ensure that
863 obsoleted built-in packages are not in package-activated-list
865 (describe-package-1): Make the "installed" status override
868 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
870 * subr.el (version-separator, version-regexp-alist): Remove '*'
872 (version-list-<=, version<=, version=): Doc fix.
874 2010-11-01 Kenichi Handa <handa@m17n.org>
876 * faces.el (glyphless-char): Inherit underline for tty.
878 2010-11-01 Kenichi Handa <handa@m17n.org>
880 Implement various display methods for glyphless characters.
882 * international/characters.el (char-acronym-table): New variable.
883 (glyphless-char-control): New variable.
884 (update-glyphless-char-display): New funciton.
886 * faces.el (glyphless-char): New face.
888 2010-11-01 Glenn Morris <rgm@gnu.org>
890 * calendar/holidays.el (general-holidays, oriental-holidays)
891 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
892 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
893 the definitions of their targets.
895 * emacs-lisp/smie.el (smie): New custom group.
896 (smie-blink-matching-inners, smie-indent-basic): Add :group.
898 * faces.el (xw-defined-colors, x-setup-function-keys):
899 * mouse-sel.el (x-select-text):
900 * term/w32console.el (x-setup-function-keys): Update declarations.
902 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
904 * textmodes/ispell.el (comment-add): Declare.
906 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
909 * info.el (finder-keywords-hash, package-alist): Declare.
911 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
913 * finder.el (finder-compile-keywords): Don't use intern-soft,
914 since package names may not yet exist in the obarray.
916 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
918 * vc/vc-arch.el (vc-arch-checkin):
919 * vc/vc-cvs.el (vc-cvs-checkin):
920 * vc/vc-mtn.el (vc-mtn-checkin):
921 * vc/vc-rcs.el (vc-rcs-checkin):
922 * vc/vc-sccs.el (vc-sccs-checkin):
923 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
924 since 2010-04-21 commit by Stefan Monnier.
926 2010-11-01 Glenn Morris <rgm@gnu.org>
928 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
930 * startup.el (package-enable-at-startup, package-initialize):
933 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
936 2010-10-31 Julien Danjou <julien@danjou.info>
938 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
939 (byte-recompile-directory):
940 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
941 Use `byte-recompile-file'.
943 2010-10-31 Glenn Morris <rgm@gnu.org>
945 * cus-start.el: Handle standard values via a keyword.
946 Only set version property if specified.
947 (cursor-in-non-selected-windows, menu-bar-mode)
948 (tool-bar-mode, show-trailing-whitespace):
949 Do not specify standard values.
950 (transient-mark-mode, temporary-file-directory): Use :standard.
952 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
954 * term/x-win.el (x-get-selection-value): New function that gets
955 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
957 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
959 * net/tramp.el (tramp-handle-insert-file-contents): For root,
960 preserve owner and group when editing files. (Bug#7289)
962 2010-10-31 Glenn Morris <rgm@gnu.org>
964 * speedbar.el (speedbar-mode):
965 * play/fortune.el (fortune-in-buffer, fortune):
966 * play/gomoku.el (gomoku-mode):
967 * play/landmark.el (lm-mode):
968 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
969 Replace inappropriate uses of toggle-read-only. (Bug#7292)
971 * select.el (x-selection): Mark it as an obsolete alias.
973 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
975 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
976 major-mode (bug#7284).
978 2010-10-31 Glenn Morris <rgm@gnu.org>
980 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
981 rather than just an unused variable that inherits from the real one.
983 2010-10-31 Alan Mackenzie <acm@muc.de>
985 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
986 This fixes bug #7185.
988 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
990 * startup.el (command-line): Search for package directories, and
991 don't load package.el if none are found.
993 * emacs-lisp/package.el (describe-package, list-packages): Call
994 package-initialize if it has not been called yet.
996 2010-10-30 Alan Mackenzie <acm@muc.de>
998 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
999 which fontifies the tail of an enum.
1000 (c-basic-matchers-after): Insert a call to the above new function.
1001 This fixes bug #7264.
1003 2010-10-30 Glenn Morris <rgm@gnu.org>
1005 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1006 tool-bar-mode, transient-mark-mode. (Bug#7306)
1007 Include the :set property in the dumped Emacs.
1009 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1011 SMIE: change indent rules format, improve smie-setup.
1012 * emacs-lisp/smie.el (smie-precs-precedence-table)
1013 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1014 Mark them pure so the tables gets built at compile time.
1015 (smie-bnf-precedence-table): Store the closer-alist in the table.
1016 (smie-prec2-levels): Preserve the closer-alist.
1017 (smie-blink-matching-open): Be more forgiving in case of indentation.
1018 (smie-hanging-p): Rename from smie-indent--hanging-p.
1019 (smie-bolp): Rename from smie-indent--bolp.
1020 (smie--parent, smie--after): New dynamic vars.
1021 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1022 (smie-indent-rules): Remove.
1023 (smie-indent--offset-rule): Remove fun.
1024 (smie-rules-function): New var.
1025 (smie-indent--rule): New fun.
1026 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1027 (smie-indent-exps): Use it.
1028 (smie-setup): Setup paren blinking; add keyword args for token
1029 functions; extract closer-alist from op-levels.
1030 (smie-indent-debug-log): Remove var.
1031 (smie-indent-debug): Remove fun.
1032 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1033 (prolog-smie-rules): New fun to replace it.
1034 (prolog-mode-variables): Simplify.
1035 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1036 it's setup automatically.
1037 (octave-smie-indent-rules): Remove.
1038 (octave-smie-rules): New fun to replace it.
1039 (octave-mode): Simplify.
1041 2010-10-29 Glenn Morris <rgm@gnu.org>
1043 * files.el (temporary-file-directory): Remove (already defined in C).
1044 * cus-start.el: Add temporary-file-directory.
1046 * abbrev.el (abbrev-mode):
1047 * composite.el (auto-composition-mode):
1048 * menu-bar.el (menu-bar-mode):
1049 * simple.el (transient-mark-mode):
1050 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1051 that they do not define the associated variables twice.
1052 * simple.el (transient-mark-mode): Remove defvar.
1053 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1054 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1055 Handle multiple groups, and also custom-delayed-init-variables.
1056 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1058 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1060 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1061 (pcase-if): Add one minor optimization.
1062 (pcase-split-equal): Rename from pcase-split-eq.
1063 (pcase-split-member): Rename from pcase-split-memq.
1064 (pcase-u1): Add strings to the member optimization.
1065 Add `guard' variant of predicates.
1066 (pcase-q1): Add string patterns.
1068 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1072 2010-10-28 Glenn Morris <rgm@gnu.org>
1074 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1075 Move menu-bar related settings to ../menu-bar.el.
1076 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1077 Move ns-specific settings here from term/ns-win.el.
1079 * simple.el (x-selection-owner-p): Remove unused declaration.
1081 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * minibuffer.el (completion-cycling): New var (bug#7266).
1084 (minibuffer-complete, completion--do-completion):
1085 Use completion--flush-all-sorted-completions.
1086 (minibuffer-complete): Only cycle if completion-cycling is set.
1087 (completion--flush-all-sorted-completions): Unset completion-cycling.
1088 (minibuffer-force-complete): Set completion-cycling.
1089 (completion-all-sorted-completions): Move declaration before first use.
1091 2010-10-28 Leo <sdl.web@gmail.com>
1093 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1094 which changes the order of matches seen by users (bug#7231).
1096 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1098 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1099 Don't confuse -omega as "-o mega".
1101 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1104 (log-edit-author): New dynamic var.
1105 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1106 to return the author if different from committer.
1107 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1109 * play/landmark.el: Adjust commenting convention.
1110 (lm-nil-score): Rename from nil-score.
1111 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1112 (OOOOscore): Move into a let in lm-score-trans-table.
1113 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1115 * electric.el (electric-indent-chars): Autoload.
1116 * progmodes/octave-mod.el (octave-mode):
1117 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1118 (ruby-mode-abbrev-table): Merge initialization and declaration.
1120 2010-10-27 Glenn Morris <rgm@gnu.org>
1122 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1125 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1127 * term/ns-win.el: Restore require of cl when compiling.
1128 (menu-bar-final-items): Remove non-existent `windows' menu.
1129 (ns-handle-nxopen): Optionally handle the temp-case.
1130 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1131 (ns-insert-file, ns-find-file): Use `pop'.
1133 2010-10-26 Glenn Morris <rgm@gnu.org>
1135 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1137 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1139 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1141 * term/common-win.el (x-setup-function-keys): Remove most of the
1142 keymappings. Comment on the remaining ones.
1144 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1146 * server.el (server-port): New option. (Bug#854)
1147 (server-start): Use server-port.
1149 2010-10-26 Glenn Morris <rgm@gnu.org>
1151 * term/ns-win.el (ns-version-string): Remove unused declaration.
1152 (ns-invocation-args): Change to x-invocation-args.
1153 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1154 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1155 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1156 Use x-invocation-args instead of ns-invocation-args.
1157 (ns-initialize-window-system, handle-args-function-alist):
1158 Use x-handle-args instead of ns-handle-args.
1159 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1160 * startup.el (command-line-ns-option-alist): Replace
1161 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1162 ns-handle-iconic with the x- equivalents.
1164 * term/common-win.el (x-select-enable-clipboard):
1165 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1167 * term/ns-win.el: No need to require cl when compiling.
1168 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1169 (xw-defined-colors): Use the common-win definitions.
1170 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1171 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1172 * term/common-win.el (x-select-text, x-alternatives-map)
1173 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1174 * loadup.el [ns]: Load common-win.
1176 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1178 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1179 recipients; expand mail aliases (Bug#7280).
1181 2010-10-25 Glenn Morris <rgm@gnu.org>
1183 * term/common-win.el (x-handle-switch): Simplify with pop.
1184 Optionally handle numeric switches.
1185 (x-handle-numeric-switch): Just call x-handle-switch.
1186 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1187 (x-handle-name-switch, x-handle-display, x-handle-args):
1190 * term/ns-win.el: Do not require easymenu.
1191 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1192 <spell>: Move adjustments to menu-bar.el.
1193 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1194 <separator-undo, spell>: Move ns-win's adjustments here.
1195 * loadup.el [ns]: Do not load easymenu.
1197 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1199 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1202 * startup.el (fancy-startup-tail): Instead of using inline images,
1203 refer to image files from etc/.
1205 * wid-edit.el (checkbox): Likewise.
1206 (widget-image-find): Center image specs.
1208 2010-10-24 Glenn Morris <rgm@gnu.org>
1210 * term/ns-win.el (x-select-text): Doc fix.
1211 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1212 (x-select-text): Move to term/common-win.
1213 * term/w32-win.el (xw-defined-colors): Move to common-win.
1214 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1215 (x-setup-function-keys, x-select-text): Move to common-win.
1216 * term/common-win.el (x-select-text, x-alternatives-map)
1217 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1220 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1222 * net/mairix.el (mairix-searches-mode-map):
1223 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1225 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1227 * verilog-mode.el (verilog-directive-re): Make this variable
1228 auto-built for efficiency of execution and updating.
1229 (verilog-extended-complete-re): Support 'pure' fucntion & task
1230 declarations (these have no bodies).
1231 (verilog-beg-of-statement): General cleanup to enable support of
1232 'pure' fucntion & task declarations (these have no bodies).
1233 These efforts together fix Verilog bug210 from veripool; which was also
1234 noticed by Steve Pearlmutter.
1235 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1236 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1237 Support `elsif. Reported by Shankar Giri.
1238 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1239 attribute handling for lining up declarations and assignments.
1240 (verilog-beg-of-statement-1): Fix issue where continued declaration
1241 is indented differently if it is after a begin..end clock.
1242 (verilog-in-attribute-p, verilog-skip-backward-comments)
1243 (verilog-skip-forward-comment-p): Support proper treatment of
1244 attributes by indent code. Reported by Jeff Steele.
1245 (verilog-in-directive-p): Fix comment to correctly describe function.
1246 (verilog-backward-up-list, verilog-in-struct-region-p)
1247 (verilog-backward-token, verilog-in-struct-p)
1248 (verilog-in-coverage-p, verilog-do-indent)
1249 (verilog-pretty-declarations): Use verilog-backward-up-list as
1250 wrapper around backward-up-list inorder to properly skip comments.
1251 Reported by David Rogoff.
1252 (verilog-property-re, verilog-endcomment-reason-re)
1253 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1254 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1255 of if). Reported by Max Bjurling and
1256 (verilog-calc-1): Fix for clocking block in modport
1257 declaration. Reported by Brian Hunter.
1259 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1261 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1262 (verilog-gate-keywords, verilog-read-sub-decls)
1263 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1264 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1265 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1266 (verilog-read-decls): Fix spaces in V2K module parameters causing
1267 mis-identification as interfaces, bug287.
1268 (verilog-read-decls): Fix not treating "parameter string" as a
1269 parameter in AUTOINSTPARAM.
1270 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1271 treating `elsif similar to `endif inside AUTOSENSE.
1272 (verilog-do-indent): Implement correct automatic or static task or
1273 function end comment highlight. Reported by Steve Pearlmutter.
1274 (verilog-font-lock-keywords-2): Fix highlighting of single
1275 character pins, bug264. Reported by Michael Laajanen.
1276 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1277 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1278 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1279 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1280 (verilog-pretty-expr): Fix interactive arguments, bug272.
1281 Reported by Mark Johnson.
1282 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1283 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1284 bug269. Suggested by Gary Delp.
1285 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1286 (verilog-preprocessor, verilog-set-compile-command):
1287 Create verilog-preprocess and verilog-preprocessor to show
1288 preprocessed output.
1289 (verilog-get-beg-of-line, verilog-get-end-of-line)
1290 (verilog-modi-file-or-buffer, verilog-modi-name)
1291 (verilog-modi-point, verilog-within-string): Move defmacro's
1292 before first use to avoid warning. Reported by Steve Pearlmutter.
1293 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1294 (verilog-colorize-region, verilog-highlight-buffer)
1295 (verilog-highlight-includes, verilog-highlight-modules)
1296 (verilog-highlight-region, verilog-mode): Rename colorize to
1297 highlight to match other packages. Disable module highlighting,
1298 as received speed complaints, reenable for experimentation only
1299 using new verilog-highlight-modules.
1300 (verilog-read-decls): Fix regexp stack overflow in very large
1301 AUTO_TEMPLATEs, bug250.
1302 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1303 (verilog-scan): Create verilog-save-buffer-state to standardize
1304 making insignificant changes that shouldn't call hooks.
1305 (verilog-save-no-change-functions, verilog-save-scan-cache)
1306 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1307 Create verilog-save-no-change-functions to wrap verilog-scan
1308 preservation, and fix to work with nested preserved calls.
1309 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1310 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1311 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1312 (verilog-submit-bug-report): Update variable list to be complete.
1313 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1314 breaking on-the-fly font-locking.
1315 (verilog-colorize-buffer, verilog-colorize-include-files)
1316 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1317 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1318 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1319 AUTOINST cell instance name, middle mouse button now finds-file on
1320 it. Suggested by Brad Dobbie.
1321 (verilog-alw-get-temps, verilog-auto-reset)
1322 (verilog-auto-sense-sigs, verilog-read-always-signals)
1323 (verilog-read-always-signals-recurse): Fix loop indexes being
1324 AUTORESET. AUTORESET now assumes any variables in the
1325 initialization section of a for() should be ignored. Reported by
1327 (verilog-error-font-lock-keywords)
1328 (verilog-error-regexp-emacs-alist)
1329 (verilog-error-regexp-xemacs-alist): Fix error detection of
1330 Cadence HAL, reported by David Asher. Repair drift between the
1331 three similar error variables.
1332 (verilog-modi-lookup, verilog-modi-lookup-cache)
1333 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1334 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1335 Fix slow verilog-auto expansion on very large files.
1336 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1337 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1338 "{1*2{...". Broke in last revision.
1339 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1340 submodule connections with replications "{#{a},#{b}}".
1342 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1344 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1345 Fix typo in docstring.
1347 2010-10-24 Kenichi Handa <handa@m17n.org>
1349 * face-remap.el (text-scale-adjust): Call read-event with a proper
1352 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1354 * emacs-lisp/unsafep.el: Don't mark functions that display
1355 messages as safe. Suggested by Johan Bockgård.
1357 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1359 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1360 Turn comments into docstrings.
1362 * minibuffer.el (completion--replace): Move point where it belongs
1363 when there's a common suffix (bug#7215).
1365 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1367 Merge read-color and facemenu-read-color (Bug#7242).
1369 * faces.el (read-color): Use the completion code from
1370 facemenu-read-color. Require match in completion. Doc fix.
1372 * facemenu.el (facemenu-read-color): Alias for read-color.
1373 (facemenu-set-foreground, facemenu-set-background): Use
1376 * frame.el (set-background-color, set-foreground-color)
1377 (set-cursor-color, set-mouse-color, set-border-color): Use
1380 2010-10-24 Leo <sdl.web@gmail.com>
1382 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1383 argument of delete-file and delete-directory (Bug#7011).
1385 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1387 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1390 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1392 * emacs-lisp/package.el (package--generate-package-list): Make the
1393 *Packages* buffer read-only.
1395 2010-10-24 Alan Mackenzie <acm@muc.de>
1397 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1398 result of `c-beginning-of-decl-1' between invocations of a lambda
1399 function (Bug #7265).
1401 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1403 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1404 executable is not available on the system (Bug#7268).
1406 2010-10-24 Glenn Morris <rgm@gnu.org>
1408 * select.el (selection-coding-system, next-selection-coding-system):
1409 Sync doc with C versions.
1411 * w32-vars.el (x-select-enable-clipboard):
1412 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1413 * term/common-win.el (x-select-enable-clipboard): Move here.
1415 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1416 definition of C variable.
1418 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1419 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1420 Don't redefine things that are defined in C.
1421 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1422 (show-trailing-whitespace, auto-hscroll-mode)
1423 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1424 Set up the appropriate custom properties.
1426 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1429 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1430 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1431 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1432 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1434 2010-10-23 Glenn Morris <rgm@gnu.org>
1436 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1439 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1440 Sync docs with C version.
1442 * term/ns-win.el (xw-defined-colors):
1443 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1445 * term/pc-win.el (x-select-enable-clipboard):
1446 * term/x-win.el (x-select-enable-clipboard):
1447 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1449 * comint.el (comint-password-prompt-regexp): Make it less vague.
1452 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1454 * help.el (finder-by-keyword): Remove unnecessary autoload.
1456 2010-10-22 Glenn Morris <rgm@gnu.org>
1458 * loadup.el: Unconditionally load float-sup.
1459 * paren.el (show-paren-delay):
1460 * emacs-lisp/float-sup.el:
1461 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1462 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1463 (lazy-lock-stealth-verbose): Assume float support.
1464 * ps-print.el: Assume float support on Emacs.
1465 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1466 Remove non-float branch.
1468 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1469 src/Makefile no longer being pre-processed.
1471 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * emacs-lisp/find-func.el (find-library): Use test-completion.
1475 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1477 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1479 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
1481 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1482 space in stat format string.
1483 (tramp-send-command): Unset $PS1 when using here documents, in
1484 order not to get several prompts.
1485 (tramp-get-inline-coding): Return `nil' in case of errors.
1487 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1489 * hexl.el (hexl-mode, hexl-mode-exit):
1490 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1491 (hexl-revert-buffer-function): New function.
1492 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1494 2010-10-19 Alan Mackenzie <acm@muc.de>
1496 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1497 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1498 that these keywords aren't wrongly matched as identifiers.
1500 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1501 setting of c-new-BEG and c-new-END from c-before-change to
1502 c-after-change. (Bug#7181)
1504 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1506 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1509 * custom.el (custom-theme-set-variables): Likewise.
1510 (load-theme): Add custom-theme-set-faces and
1511 custom-theme-set-variables to safe-functions while loading.
1512 (custom-enabled-themes): Mark as risky.
1514 2010-10-18 Julien Danjou <julien@danjou.info>
1516 * bindings.el: Remove end dashes in default mode-line-format.
1518 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1520 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1521 to delete-forward-char.
1523 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1524 deletechar, and hence delete-forward-char.
1526 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * repeat.el (repeat): Use read-key (bug#6256).
1530 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1532 * emacs-lisp/unsafep.el: Don't mark functions that display
1533 messages as safe. Suggested by Johan Bockgård.
1535 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * minibuffer.el (completion--replace): Move point where it belongs
1538 when there's a common suffix (bug#7215).
1540 2010-10-19 Kenichi Handa <handa@m17n.org>
1542 * international/characters.el: Add category '|' (word breakable)
1543 to fullwidth characters.
1545 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1547 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1548 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1549 order to make stat results a float. Patch by Andreas Schwab
1550 <schwab@linux-m68k.org>.
1552 2010-10-18 Julien Danjou <julien@danjou.info>
1554 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1555 hidden by `make-pointer-invisible'.
1557 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * files.el (locate-file-completion-table): Strip non-matching elements
1560 before checking length of list (bug#7238).
1562 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1564 * custom.el (custom-theme-set-variables): Mark as a safe function.
1565 (load-theme): Check forms using unsafep.
1567 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1569 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1571 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1572 Fix aspell data file searching (bug#7230).
1574 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1576 * cus-theme.el (custom-theme--migrate-settings): New var.
1577 (customize-create-theme): Allow editing the `user' theme.
1578 (custom-theme-add-variable, custom-theme-add-var-1)
1579 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1580 to the front of each variable or face widget.
1581 (custom-theme-write): Save theme settings in the correct order.
1582 Optionally, remove saved settings from user customizations.
1583 (custom-theme-write-variables, custom-theme-write-faces):
1584 Save only the checked widgets.
1585 (customize-themes): Add a link for migrating custom settings.
1587 * custom.el (custom-declare-theme, provide-theme):
1588 Use custom-theme-name-valid-p.
1589 (custom-theme-name-valid-p): Remove checks that are now
1590 unnecessary since themes no longer obey load-path.
1592 * cus-edit.el (custom-variable-value-create): For the simple
1593 style, hide documentation string when hidden.
1595 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1597 * cus-edit.el (custom-variable, custom-face): Combine the
1598 :inhibit-magic and :display-style properties into a single
1599 :custom-style property.
1600 (custom-toggle-hide-variable, custom-toggle-hide-face):
1601 New functions. If hiding an edited value, save it to :shown-value.
1602 (custom-variable-value-create, custom-face-value-create): Use them.
1603 (custom-magic-reset): Allow magic property to be unset.
1605 * custom.el: Custom themes no longer use load-path.
1606 (custom-theme-load-path): New option. Change built-in theme
1608 (custom-enabled-themes): Add custom-theme-load-path dependency.
1609 (custom-theme--load-path): New function.
1610 (load-theme, custom-available-themes): Use it.
1612 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1613 (customize-themes): Link to custom-theme-load-path variable.
1614 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1615 :custom-style property.
1617 * themes/*.el: Moved to etc/.
1619 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1621 * textmodes/reftex-cite.el
1622 (reftex-extract-bib-entries-from-thebibliography): Do not move
1623 point when searching for \bibitem entries. Match entries with
1624 spaces or tabs in front of arguments.
1626 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1628 * cus-theme.el (customize-create-theme): Delete overlays after
1629 erasing. If given a THEME arg, display only the faces of that arg
1630 instead of custom-theme--listed-faces.
1631 (custom-theme-variable-menu, custom-theme-variable-action)
1632 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1633 (custom-theme-add-variable, custom-theme-add-face): Apply value
1634 from the theme settings, instead of the current value.
1635 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1636 (custom-theme-visit-theme): Allow calling outside theme buffers.
1637 (custom-theme-merge-theme): Don't enable the theme when merging.
1638 (custom-theme-write-variables, custom-theme-write-faces): Use the
1639 :shown-value properties to save buffer values, not global ones.
1640 (customize-themes): Display a warning about user customizations.
1642 * cus-edit.el (custom-variable-value-create)
1643 (custom-face-value-create): Obey new special properties
1644 :shown-value and :inhibit-magic.
1646 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1648 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1649 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1652 2010-10-14 Kenichi Handa <handa@m17n.org>
1654 * mail/rmail.el (rmail-show-message-1): Catch an error of
1655 base64-decode-region and just show an error message (bug#7165).
1657 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1658 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1659 a font-spec (bug#7197).
1661 2010-10-14 Glenn Morris <rgm@gnu.org>
1663 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1665 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1667 * international/mule.el (define-coding-system):
1668 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1669 * composite.el (compose-region): Fix typo in docstring.
1671 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1673 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1674 only after checking the theme-face property.
1676 * faces.el (face-spec-reset-face): Reset all attributes in one
1677 single call to set-face-attribute.
1678 (face-spec-match-p): Make it a defsubst.
1679 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1680 (x-create-frame-with-faces, tty-create-frame-with-faces)
1681 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1682 frame-set-background-mode, since they are recomputed immediately
1683 afterwards in face-set-after-frame-default.
1684 (face-set-after-frame-default): Minor optimization.
1685 (cursor): Provide non-trivial defface spec.
1687 * custom.el (custom-theme-recalc-face): Simplify.
1689 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1691 * calc/calc-alg.el (math-var): Rename from `var'.
1692 (math-is-polynomial, math-is-poly-rec): Replace `var'
1695 * calc/calcalg2.el (math-var): Rename from `var'.
1696 (calcFunc-table, math-scan-for-limits): Replace `var'
1699 2010-10-13 Glenn Morris <rgm@gnu.org>
1701 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1703 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1705 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1707 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1709 * net/tls.el (tls-program): Remove spurious %s from openssl.
1710 (tls-starttls-switches): Remove starttls hack.
1711 (open-tls-stream): Ditto.
1712 (tls-find-starttls-argument): Ditto.
1714 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1716 * image.el (image-library-alist): Declare as obsolete alias.
1717 (image-type-available-p): Use `dynamic-library-alist'.
1719 * term/w32-win.el (dynamic-library-alist):
1720 Use instead of `image-library-alist'.
1722 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1724 * subr.el (last): Make it faster. (Bug#7174)
1726 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1728 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1730 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1732 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1733 (describe-theme-1): Extract doc from unloaded themes.
1735 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1737 * themes/tango-theme.el:
1738 * themes/tango-dark-theme.el:
1739 * themes/wheatgrass-theme.el: New files.
1741 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1743 * cus-theme.el (describe-theme, customize-themes)
1744 (custom-theme-save): New commands.
1745 (custom-new-theme-mode-map): Bind C-x C-s.
1746 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1747 (customize-create-theme): New optional arg THEME.
1748 (custom-theme-revert): Use it.
1749 (custom-theme-visit-theme): Remove dead code.
1750 (custom-theme-merge-theme): Use custom-available-themes.
1751 (custom-theme-write): Make interactive.
1752 (custom-theme-write): Use custom-theme-name-valid-p.
1753 (describe-theme-1, custom-theme-choose-revert)
1754 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1756 (custom-theme-allow-multiple-selections): New option.
1757 (custom-theme-choose-mode): New major mode.
1759 * custom.el (custom-theme-set-variables): Remove dead code.
1760 Obey custom--inhibit-theme-enable.
1761 (custom--inhibit-theme-enable): New var.
1762 (provide-theme): Obey it.
1763 (load-theme): Replace load with manual read/eval, in order to
1764 check for correctness. Use custom-theme-name-valid-p.
1765 (custom-theme-name-valid-p): New function.
1766 (custom-available-themes): Use it.
1768 * cus-edit.el (custom--initialize-widget-variables): New function.
1769 (Custom-mode): Use it.
1771 * cus-face.el (custom-theme-set-faces): Remove dead code.
1772 Obey custom--inhibit-theme-enable.
1774 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1776 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1778 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1780 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1782 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1783 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1784 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1786 * cus-start.el (all): ns-right-alternate-modifier is new.
1788 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * emacs-lisp/lisp.el (lisp-completion-at-point):
1791 Use emacs-lisp-mode-syntax-table for the whole function.
1793 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1795 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1796 instead of font-lock-mode before adding keywords.
1797 Remove hi-lock-mode off code. Remove inhibit hack.
1798 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1799 non-nil; removed hook inhibit hack.
1801 2010-10-12 Glenn Morris <rgm@gnu.org>
1803 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1804 (load-path-shadows-find): ... to this.
1805 (list-load-path-shadows): Update for above change.
1807 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1809 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1811 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1812 Fix comment for declare-function.
1814 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1816 * custom.el (custom-fix-face-spec): New function; code moved from
1817 custom-face-edit-fix-value.
1818 (custom-push-theme): Use it when checking if a face has been
1819 changed outside customize.
1820 (custom-available-themes): New function.
1821 (load-theme): Use it.
1823 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1825 * custom.el (custom-push-theme): Cleanup (use cond).
1826 (disable-theme): Recompute the saved-face property.
1827 (custom-theme-recalc-face): Follow face alias before setting prop.
1829 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1830 New variables, containing checkbox images.
1832 * startup.el (fancy-startup-tail):
1833 * wid-edit.el (checkbox): Use them.
1835 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1837 * shell.el (shell-mode-map):
1838 * progmodes/modula2.el (m2-mode-map):
1839 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1840 * play/mpuz.el (mpuz-mode-map):
1841 * play/landmark.el (lm-mode-map):
1842 * play/decipher.el (decipher-mode-map):
1843 * play/5x5.el (5x5-mode-map):
1844 * net/telnet.el (telnet-mode-map):
1845 * net/quickurl.el (quickurl-list-mode-map):
1846 * net/mairix.el (mairix-searches-mode-map):
1847 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1848 * net/dig.el (dig-mode-map):
1849 * mail/mspools.el (mspools-mode-map):
1850 * hexl.el (hexl-mode-map):
1851 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1852 (wordstar-C-o-map, wordstar-C-q-map):
1853 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1854 * emacs-lisp/chart.el (chart-map):
1855 * edmacro.el (edmacro-mode-map):
1856 * erc/erc-list.el (erc-list-menu-mode-map):
1857 * array.el (array-mode-map): Declare and define in one step.
1859 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1861 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1863 * epa.el (epa-passphrase-callback-function): Display filename
1864 passed as the 3rd arg.
1865 * epa-file.el (epa-file-passphrase-callback-function):
1866 Pass filename to epa-passphrase-callback-function.
1868 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1870 * cus-edit.el (custom-face-widget-to-spec)
1871 (custom-face-get-current-spec, custom-face-state): New functions.
1872 (custom-face-set, custom-face-mark-to-save)
1873 (custom-face-value-create, custom-face-state-set): Use them.
1875 * cus-theme.el (custom-theme--listed-faces): New var.
1876 (customize-create-theme): Use *Custom Theme* as the buffer name.
1877 Set revert-buffer-function. Optional arg BUFFER. Insert all
1878 faces listed in custom-theme--listed-faces.
1879 (custom-theme-revert): New function.
1880 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1882 (custom-theme-write): Prompt for theme name if empty.
1883 (custom-theme-write-variables): Use dolist.
1884 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1886 2010-10-09 Alan Mackenzie <acm@muc.de>
1888 Enhance fontification of declarators to take account of the
1889 presence/absence of "typedef".
1891 * cc-engine.el (c-forward-type): New &optional param
1893 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1894 presence of either or both of a "struct"-like keyword and "typedef".
1896 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1897 fontification of declarators which follow a "}".
1898 (c-font-lock-declarations): Fontify declarators according to the
1899 presence/absence of "typedef".
1901 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1903 (c-typedef-decl-key): New lang variable built from
1904 c-typedef-decl-kwds.
1906 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1908 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1909 since that's too annoying. Move the filter groups commands to
1912 * epa.el (epa-passphrase-callback-function): Say what we're
1913 querying the password for.
1915 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1916 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1918 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1920 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1921 (custom-magic-value-create): Pad button tags with spaces.
1922 (custom-face-edit): New variable.
1923 (custom-face-value-create): Determine whether to use the usual
1924 face editor here, instead of using custom-face-selected.
1925 Pass face defaults to custom-face-edit widget.
1926 (custom-face-selected, custom-display-unselected): Delete widgets.
1927 (custom-display-unselected-match): Function removed.
1928 (custom-face-set, custom-face-mark-to-save):
1929 Accept custom-face-edit widgets as the direct widget child.
1931 * wid-edit.el (widget--completing-widget): New var.
1932 (widget-default-complete): Bind it when doing completion.
1933 (widget-string-complete, widget-file-complete): Use it.
1935 2010-10-09 Glenn Morris <rgm@gnu.org>
1937 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1938 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1939 (holiday-hebrew-misc): Small simplifications.
1941 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1943 * net/browse-url.el: Don't require thingatpt, term, dired,
1944 executable, or w3-auto when compiling.
1945 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1947 (browse-url-text-emacs): Require term.
1949 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1951 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1953 2010-10-08 Glenn Morris <rgm@gnu.org>
1955 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1957 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1958 (shadows-compare-text-p): Make it an obsolete alias for...
1959 (load-path-shadows-compare-text): ... new name.
1960 (find-emacs-lisp-shadows): Update for above name change.
1961 (load-path-shadows-same-file-or-nonexistent): New name for the old
1962 shadow-same-file-or-nonexistent.
1964 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1966 * minibuffer.el (completion--some, completion--do-completion)
1967 (minibuffer-complete-and-exit, minibuffer-completion-help)
1968 (completion-basic-try-completion)
1969 (completion-basic-all-completions)
1970 (completion-pcm--find-all-completions): Use lexical-let to
1971 avoid some false matches in variable completion (Bug#7056)
1973 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1975 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1977 2010-10-08 Leo <sdl.web@gmail.com>
1979 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1980 return non-nil if the file exists (Bug#7090).
1982 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * minibuffer.el (completion--replace):
1985 Better preserve markers (bug#7138).
1987 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1989 * server.el (server-process-filter): Doc fix.
1991 2010-10-08 Drew Adams <drew.adams@oracle.com>
1993 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1995 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1997 * Makefile.in (ELCFILES): Update.
1999 2010-10-08 Glenn Morris <rgm@gnu.org>
2001 * vc/ediff-wind.el (ediff-setup-control-frame):
2002 * vc/ediff-ptch.el (ediff-default-backup-extension):
2003 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2004 (ediff-exec-process): Remove system-types emx, windows-95.
2006 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2008 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2010 * cus-edit.el (custom-variable, custom-face): Doc fix.
2011 (custom-face-edit): Add value-create attribute.
2012 (custom-face-edit-value-create)
2013 (custom-face-edit-value-visibility-action): New functions.
2014 Hide unused face attributes by default, and add a visibility toggle.
2015 (custom-face-edit-deactivate): Show empty values with shadow face.
2016 (custom-face-selected): Only use this for face specs with default
2018 (custom-face-value-create): Cleanup.
2020 * wid-edit.el (widget-checklist-value-create): Use dolist.
2021 (widget-checklist-match-find): Make second arg optional.
2023 2010-10-07 Glenn Morris <rgm@gnu.org>
2025 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2028 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2029 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2030 load-path-shadows-mode, update references.
2031 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2032 Rename variable and button.
2033 (list-load-path-shadows): Update button caller.
2035 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2038 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2039 (smie-merge-prec2s): Handle those new entries.
2040 (smie-prec2-levels): Only set precedence to nil for actual
2042 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2043 that is now unnecessary.
2045 2010-10-07 Miles Bader <miles@gnu.org>
2047 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2049 2010-10-07 Glenn Morris <rgm@gnu.org>
2051 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2052 (mail-position-on-field): Remove declarations.
2053 (mail-position-on-field): Autoload it.
2054 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2055 and mail-header-end. Don't require sendmail.
2057 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2058 (shadow-mode): New mode.
2059 (shadow-find-file): New button.
2060 (list-load-path-shadows): Use shadow-mode and buttons.
2062 * iimage.el (iimage-version): Remove.
2063 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2064 Turn into defcustoms.
2065 (iimage-mode-map): Give it a doc string.
2067 * calendar/appt.el (appt-activate): Give a warning rather than an error
2068 if there is no diary-file.
2070 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2072 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2073 Use `tramp-handle-find-backup-file-name'.
2075 2010-10-06 Glenn Morris <rgm@gnu.org>
2077 * font-core.el (font-lock-defaults-alist): Remove variable.
2078 (font-lock-mode): Doc fix.
2079 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2080 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2081 (font-lock-set-defaults): Doc fix.
2082 Do not consult font-lock-defaults-alist.
2084 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2086 * emacs-lisp/cl.el: No longer provide cl-19.
2088 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2090 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2091 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2092 New defuns, taken from tramp-smb.el.
2093 (tramp-coding-system-change-eol-conversion)
2094 (tramp-set-process-query-on-exit-flag): Remove.
2096 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2097 (tramp-compat-coding-system-change-eol-conversion)
2098 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2101 * net/tramp-gvfs.el:
2102 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2103 by `tramp-compat-set-process-query-on-exit-flag'.
2105 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2106 Use `tramp-handle-directory-files-and-attributes',
2107 `tramp-handle-file-exists-p' and
2108 `tramp-handle-file-newer-than-file-p'.
2109 (tramp-imap-handle-file-exists-p)
2110 (tramp-imap-handle-file-executable-p)
2111 (tramp-imap-handle-file-readable-p)
2112 (tramp-imap-handle-directory-files-and-attributes)
2113 (tramp-imap-handle-file-newer-than-file-p): Remove.
2115 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2116 by `tramp-compat-set-process-query-on-exit-flag' and
2117 `tramp-coding-system-change-eol-conversion' by
2118 `tramp-compat-coding-system-change-eol-conversion'.
2120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2121 Use `tramp-handle-directory-files-and-attributes',
2122 `tramp-handle-file-exists-p' and
2123 `tramp-handle-file-newer-than-file-p'.
2124 (tramp-smb-handle-directory-files-and-attributes)
2125 (tramp-smb-handle-file-exists-p)
2126 (tramp-smb-handle-file-newer-than-file-p): Remove.
2127 (tramp-smb-maybe-open-connection):
2128 Replace `tramp-set-process-query-on-exit-flag' by
2129 `tramp-compat-set-process-query-on-exit-flag'.
2131 2010-10-05 Glenn Morris <rgm@gnu.org>
2133 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2135 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2137 Continue reorganization of load dependencies. (Bug#7156)
2139 * net/tramp.el (tramp-handle-file-local-copy-hook)
2140 (tramp-delete-temp-file-function): Move down.
2141 (tramp-exists-file-name-handler): Move up.
2142 (tramp-register-file-name-handlers): Simplify autoload.
2143 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2144 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2145 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2146 (tramp-handle-file-name-completion)
2147 (tramp-handle-file-name-directory)
2148 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2149 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2150 (tramp-handle-find-backup-file-name)
2151 (tramp-handle-insert-file-contents, tramp-handle-load)
2152 (tramp-handle-substitute-in-file-name)
2153 (tramp-handle-unhandled-file-name-directory)
2154 (tramp-mode-string-to-int, tramp-local-host-p)
2155 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2157 * net/tramp-gvfs.el (top):
2158 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2160 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2161 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2163 2010-10-04 Glenn Morris <rgm@gnu.org>
2165 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2166 (appt-activate): Give status messages.
2168 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2170 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2171 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2172 `gnutls-negotiate' (formerly `starttls-negotiate').
2173 Remove trivial wrapper `starttls-open-stream'.
2175 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2177 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2178 log-outgoing commands.
2179 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2180 to create a buffer local revert-buffer-function variable.
2181 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2182 revert-buffer-function lambda.
2184 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2186 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2187 `gnutls-boot'. Make TYPE the only required parameter.
2188 Allow TRUSTFILES and KEYFILES to be lists.
2189 (open-ssl-stream): Use it.
2191 2010-10-03 Glenn Morris <rgm@gnu.org>
2193 * subr.el (directory-sep-char): Remove obsolete variable.
2194 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2197 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2198 * vc/vc.el (vc-static-header-alist): Doc fix.
2199 * vc/vc-cvs.el (vc-cvs-header):
2200 * vc/vc-rcs.el (vc-rcs-header):
2201 * vc/vc-sccs.el (vc-sccs-header):
2202 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2203 * obsolete/vc-mcvs.el (vc-mcvs-header):
2204 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2207 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2209 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2210 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2212 2010-10-03 Glenn Morris <rgm@gnu.org>
2214 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2216 * textmodes/rst.el (rst-font-lock-keywords-function):
2219 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2221 * printing.el: Drop Emacs 20 code.
2223 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2224 without having used appt.el already).
2226 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2227 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2228 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2230 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2231 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2233 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2234 (charset-width, find-charset-region, chars-in-region, forward-point)
2235 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2236 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2237 Remove compatibility cruft (none of these are used by ps*.el).
2239 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2241 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2243 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2245 * server.el (server-process-filter, server-return-error):
2246 Give emacsclient time to shut down after receiving an error string.
2248 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2250 * files.el (remote-file-name-inhibit-cache): New defcustom.
2252 * time.el (display-time-file-nonempty-p):
2253 Use `remote-file-name-inhibit-cache'.
2255 * net/tramp.el (tramp-completion-reread-directory-timeout):
2258 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2259 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2260 `remote-file-name-inhibit-cache'. Check also for an integer
2261 value. Add/increase counter when `tramp-verbose' >= 10.
2262 (tramp-set-file-property): Add/increase counter when
2263 `tramp-verbose' >= 10.
2265 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2266 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2267 (tramp-bug): Set tramp-autoload cookie. Report all interned
2268 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2269 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2270 characters only in strings.
2272 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2273 to backward compatibility.
2275 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2276 (tramp-handle-file-name-all-completions)
2277 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2278 (tramp-open-connection-setup-interactive-shell):
2279 Call `tramp-cleanup-connection' directly.
2281 2010-10-02 Glenn Morris <rgm@gnu.org>
2283 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2285 * subr.el (char-bytes): Remove obsolete function.
2287 * isearch.el (isearch-return-char): Remove obsolete function.
2289 * mouse.el: No longer provide mldrag.
2290 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2291 Remove obsolete aliases.
2293 * comint.el (comint-kill-output): Remove obsolete alias.
2295 * composite.el (decompose-composite-char): Remove obsolete function.
2296 * ps-def.el (decompose-composite-char): Remove unused function.
2298 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2300 * outline.el (outline-visible): Remove obsolete function.
2302 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2303 * faces.el (internal-find-face, internal-get-face)
2304 (frame-update-faces, frame-update-face-colors)
2305 (x-frob-font-weight, x-frob-font-slant)
2306 (internal-frob-font-weight, internal-frob-font-slant)
2307 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2308 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2309 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2311 * emulation/viper-util.el (viper-get-face):
2312 * obsolete/lucid.el (find-face, get-face): Use facep.
2313 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2314 Remove unused functions.
2315 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2317 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2318 delete tempfile if interrupted during compilation.
2320 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2322 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2324 (tls-program): Add --insecure to be consistent with the defaults from
2325 openssl s_client. Now all three commands are insecure.
2327 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2329 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2330 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2331 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2333 2010-10-01 Glenn Morris <rgm@gnu.org>
2335 * obsolete/sc.el: Remove file.
2337 * files.el (temporary-file-directory): On darwin, also try
2338 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2340 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2342 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2343 Let's not break compatibility gratuitously, shall we?
2345 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2347 * net/tls.el (tls-starttls-switches): New variable.
2348 (tls-find-starttls-argument): Use it.
2349 (open-tls-stream): Ditto.
2351 * net/netrc.el (netrc-credentials): Return the value of the "default"
2353 (netrc-machine): Ditto.
2355 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2357 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2359 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2361 * server.el (server-start): Don't write pid to the authentication file.
2362 (server-create-tty-frame): Don't send pid.
2363 (server-process-filter): Send pid at the start of every connection.
2365 2010-09-30 Glenn Morris <rgm@gnu.org>
2367 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2368 (show-all-diary-entries): Remove obsolete function aliases.
2370 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2371 Remove options, obsolete since 22.1.
2372 (appt-display-format, appt-display-message): Remove
2373 backwards-compatibility code.
2374 (appt-check): No longer check appt-issue-message.
2375 (appt-make-list): No longer autoload it. Doc fix. No longer
2376 activate the package.
2378 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2380 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2381 (starttls-negotiate): Just call boot, and let the handshake be
2382 triggered from the read loop.
2384 2010-09-29 Glenn Morris <rgm@gnu.org>
2386 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2387 not displaying the diary.
2388 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2389 * calendar/appt.el (appt-check): No longer need to kill diary.
2391 * calendar/diary-lib.el (diary-list-entries): Move the
2392 "Preparing..." message entirely here.
2393 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2394 messages to diary-list-entries.
2395 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2396 diary-display-function.
2398 * calendar/diary-lib.el (diary-include-other-diary-files):
2399 Trap some recursive includes.
2401 * calendar/appt.el (appt-activate): Check diary file.
2403 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2405 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2408 * calendar/time-date.el: No need to require cl for Emacs 21.
2410 2010-09-28 Glenn Morris <rgm@gnu.org>
2412 * calendar/appt.el (appt-check): Minor simplification.
2414 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2416 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2419 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2421 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2422 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2424 2010-09-27 Kenichi Handa <handa@m17n.org>
2426 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2429 2010-09-27 Kenichi Handa <handa@m17n.org>
2431 * international/mule.el (define-coding-system): Docstring fixed.
2433 * international/mule-diag.el (describe-character-set): Use princ
2434 with proper print-length and print-level instead of insert.
2436 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2438 * window.el (walk-windows): Doc fix (bug#7105).
2440 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2442 * emacs-lisp/float-sup.el (e): Remove.
2444 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2446 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2448 (starttls-negotiate): Use it.
2450 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2452 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2455 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2457 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2459 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2461 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2463 * net/netrc.el (netrc-store-data): New function.
2465 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2467 * net/gnutls.el: GnuTLS glue code to set up a connection.
2469 2010-09-25 Julien Danjou <julien@danjou.info>
2471 * notifications.el: Call dbus-register-signal only if it is bound.
2473 2010-09-25 Glenn Morris <rgm@gnu.org>
2475 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2476 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2477 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2478 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2479 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2480 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2481 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2482 * eshell/esh-util.el, eshell/esh-var.el:
2483 Remove leading `*' from docs of faces and defcustoms.
2485 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2487 * eshell/em-ls.el (eshell-ls-archive-regexp):
2488 * eshell/esh-util.el (eshell-tar-regexp):
2489 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2490 * info.el (Info-suffix-list):
2491 * international/mule.el (auto-coding-alist):
2492 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2493 * progmodes/etags.el (tags-compression-info-list):
2494 Support xz compression.
2496 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2498 * files.el (get-free-disk-space): Don't assume the "df" output
2499 columns line up (Bug#6995).
2501 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2503 * finder.el (finder-unknown-keywords):
2504 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2505 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2507 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2509 * server.el (server-start): Revert part of 2010-08-08 change. Using
2510 address 127.0.0.1 for local host is now done in Fmake_network_process.
2512 2010-09-24 Glenn Morris <rgm@gnu.org>
2514 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2515 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2516 * textmodes/css-mode.el, textmodes/dns-mode.el:
2517 Move autoloaded auto-mode-alist entries to files.el.
2518 * files.el (auto-mode-alist): Move entries here.
2520 2010-09-23 Glenn Morris <rgm@gnu.org>
2522 * isearch.el (isearch-lazy-highlight-cleanup)
2523 (isearch-lazy-highlight-initial-delay)
2524 (isearch-lazy-highlight-interval)
2525 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2526 * net/net-utils.el (ipconfig-program-options):
2527 Move aliases to options before the associated definitions.
2529 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * newcomment.el (comment-normalize-vars): Better test validity of
2534 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2537 (float-e): New name for `e'.
2538 (degrees-to-radians, radians-to-degrees):
2539 * calendar/solar.el (solar-longitude):
2540 * calculator.el (calculator-registers, calculator-funcall):
2541 * textmodes/artist.el (artist-spray-random-points):
2542 * play/bubbles.el (bubbles--initialize-images): Use new names.
2544 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2546 Update to CEDET 1.0's version of EIEIO.
2548 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2550 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2551 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2552 (class-precedence-list): If class is nil, return nil.
2553 (eieio-generic-call): If class of first input arg is nil, don't
2554 look up static methods, and do check for primary methods.
2555 (initialize-instance): See if the default needs to be evaluated
2556 during the constructor.
2557 (eieio-perform-slot-validation-for-default): Don't do the check
2558 for values that will eventually be evaluated.
2559 (eieio-eval-default-p): New function.
2560 (eieio-default-eval-maybe): Use it.
2562 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2564 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2565 method-invocation-order.
2566 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2567 (eieio-class-precedence-dfs): Compute class precedence list using
2569 (eieio-class-precedence-bfs): Compute class precedence list using
2571 (eieio-class-precedence-c3): Compute class precedence list using
2573 (class-precedence-list): New function.
2574 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2575 (inconsistent-class-hierarchy): New error symbol.
2576 (call-next-method): Stow the replacement argument list for future
2577 call-next-method invocations.
2579 2010-09-23 Glenn Morris <rgm@gnu.org>
2581 * calendar/appt.el (appt-check): If not displaying the diary,
2582 use (diary 1) to only get the entries we need.
2583 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2584 that it is in day order. (Bug#7019)
2586 * calendar/appt.el (appt-check): Rather than showing the diary,
2587 just turn off invisible display, and only if needed.
2589 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2591 2010-09-23 Glenn Morris <rgm@gnu.org>
2593 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2594 (byte-compile-defvar, byte-compile-cl-warn):
2595 Start warnings with lower-case, like the majority.
2597 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2599 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2601 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2602 * files.el (auto-mode-alist): Move ld-script entries here, further down
2605 * vc/add-log.el: Don't require timezone when compiling.
2606 (timezone-make-date-sortable): Autoload it.
2607 (change-log-sortable-date-at): Don't require timezone.
2608 Use `ignore-errors'.
2610 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2611 Move alias before definition, so it does not need autoloading.
2613 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2614 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2615 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2616 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2617 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2618 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2619 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2620 * textmodes/tex-mode.el, textmodes/two-column.el:
2621 Remove leading `*' from docs of defcustoms etc.
2623 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2625 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2627 2010-09-22 Dan Christensen <jdc@uwo.ca>
2629 * calendar/time-date.el (date-to-time): Try using parse-time-string
2630 first before using the slower timezone-make-date-arpa-standard.
2632 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2634 * calendar/time-date.el (format-seconds): Comment fix.
2636 2010-09-22 Glenn Morris <rgm@gnu.org>
2638 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2639 is not automatically buffer-local.
2641 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2644 (smie-indent-comment): Be more careful with comment-start-skip.
2645 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2646 (smie-indent-functions): Use them.
2648 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2650 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2652 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2654 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2655 tool-bar-position. Don't modify frame parameters here.
2656 (menu-bar-options-save): Add tool-bar-position.
2658 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2660 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * textmodes/reftex-parse.el (reftex-what-macro)
2663 (reftex-context-substring): Let-bind forward-sexp-function to nil
2664 since we don't need/want to treat \begin...\end as a block (bug#7053).
2666 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2668 * simple.el (blink-matching-open): Use syntax-class.
2670 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2671 Set invisibility spec for pascal's outline mode.
2672 (pascal-outline-change): Clean up calling convention.
2673 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2675 * progmodes/prolog.el (prolog-smie-forward-token)
2676 (prolog-smie-backward-token): New functions.
2677 (prolog-mode-variables): Use them to parse "!," correctly.
2678 Set up smie-blink-matching for ".".
2680 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2682 (ispell-region, ispell-process-line): Update users.
2684 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2687 * textmodes/ispell.el: Fix commenting convention.
2688 (ispell-parse-output): Simplify, use push.
2689 (ispell-region): Use match-string-no-properties.
2690 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2691 (ispell-minor-mode): Use define-minor-mode.
2692 (ispell-message): Remove unused var `skip-regexp'.
2693 (ispell-add-per-file-word-list): Use dynamic let-binding.
2694 Try and use the proper comment marker.
2696 * mail/sendmail.el: Fix commenting convention.
2697 (sendmail-send-it): Use line-beginning-position.
2699 * help-fns.el (describe-variable): Add original value, if applicable.
2701 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2703 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2705 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2707 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2710 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2711 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2712 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2713 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2714 something like "." can also be a closer.
2715 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2716 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2717 Rename internal functions to use "--". Update callers.
2719 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2721 * fringe.el (fringe-styles): New var.
2722 (fringe-mode, fringe-query-style): Use it.
2724 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2726 * progmodes/sql.el: Version 2.8
2727 (sql-login-params): Update widget structure; changes still needed.
2728 (sql-product-alist): Add :list-all and :list-table features for
2729 SQLite, Postgres and MySQL products.
2730 (sql-redirect): Handle default value.
2731 (sql-execute, sql-execute-feature): New functions.
2732 (sql-read-table-name): New function.
2733 (sql-list-all, sql-list-table): New functions. User API.
2734 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2735 for above functions.
2736 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2737 for above functions.
2738 (sql-postgres-login-params): Add user and database defaults.
2739 (sql-buffer-live-p): Bug fix.
2740 (sql-product-history): New variable.
2741 (sql-read-product): New function. Use it.
2742 (sql-set-product, sql-product-interactive): Use it.
2743 (sql-connection-history): New variable.
2744 (sql-read-connection): New function. Use it.
2745 (sql-connect): New function.
2746 (sql-for-each-login): Redesign function interface.
2747 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2748 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2749 (sql-comint): Check for program. Existing live buffer.
2750 (sql-comint-postgres): Add port parameter.
2752 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * emacs-lisp/warnings.el: Fix commenting convention.
2755 (display-warning): Use special mode and make the buffer read-only.
2757 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2759 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2760 empty string when it follows a repeated or optional pattern.
2762 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2764 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2765 (indent-region): Use indent-according-to-mode.
2767 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2769 * fringe.el (fringe-mode): Doc fix.
2771 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2773 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2774 refreshing the preview buffer.
2776 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2779 (latex-syntax-propertize-rules): New consts; replace
2780 tex-font-lock-syntactic-keywords.
2781 (tex-env-mark, latex-env-before-change): New functions.
2782 (latex-electric-env-pair-mode): New minor mode.
2783 (tex-font-lock-verb): Change arguments; do move point.
2784 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2785 representation as a form of comment.
2786 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2787 (doctex-syntax-propertize-rules): New const; replaces
2788 doctex-font-lock-syntactic-keywords.
2789 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2791 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2792 (fortran-make-syntax-propertize-function): New function; replaces
2793 fortran-font-lock-syntactic-keywords.
2794 (fortran-mode): Use it.
2795 (fortran-line-length): Use it. Improve interactive spec.
2797 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2798 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2799 when adding surrounding \(..\).
2801 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2803 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2806 Use with-current-buffer.
2808 * isearch.el (isearch-face): Rename from `isearch'.
2809 (isearch-highlight): Use new name.
2811 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2813 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2814 5, for `half' width fringes. (Bug#6933)
2816 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2819 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2821 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2823 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2825 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2826 in calculating new frame position. Add more space between new and
2827 parent on the left (Bug#7048).
2829 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2831 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2834 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2836 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2838 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2839 obsolete alias for x-selection-value.
2841 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2843 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2845 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2848 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2850 * net/tramp-compat.el (tramp-compat-with-temp-message)
2851 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2852 (tramp-compat-process-put): New defuns.
2854 * net/tramp.el (top):
2855 * net/tramp-gvfs.el (top):
2856 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2858 * net/tramp.el (tramp-progress-reporter-update):
2859 Use `tramp-compat-funcall'.
2861 * net/tramp.el (tramp-process-actions):
2862 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2863 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2864 (tramp-get-remote-stat, tramp-get-remote-readlink):
2865 Use `tramp-compat-with-temp-message'.
2867 * net/tramp-sh.el (top): Require 'cl.
2868 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2869 (tramp-open-connection-setup-interactive-shell):
2870 Use `tramp-compat-process-put'.
2872 2010-09-15 Alan Mackenzie <acm@muc.de>
2874 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2876 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2878 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2880 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2881 `lexical' for warnings related to lexical scoping.
2882 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2883 global vars which don't have a prefix and could hence affect lexical
2884 scoping in unrelated files.
2886 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2888 * net/imap.el: Revert back to version
2889 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2892 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2894 * obsolete/old-whitespace.el (whitespace-unload-function):
2895 Explicitly pass `obarray' to `unintern' to avoid a warning.
2897 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2900 Add `when' argument. Update callers.
2902 * subr.el (unintern): Declare the obarray arg mandatory.
2904 2010-09-14 Glenn Morris <rgm@gnu.org>
2906 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2909 * calendar/diary-lib.el (diary-included-files): New variable.
2910 (diary-list-entries): Maybe initialize diary-included-files.
2911 (diary-include-other-diary-files): Append to diary-included-files.
2912 * calendar/appt.el (appt-update-list): Also check the members of
2913 diary-included-files. (Bug#6999)
2914 (appt-check): Doc fix.
2916 2010-09-14 David Reitter <david.reitter@gmail.com>
2918 * simple.el (line-move-visual): Do not truncate goal column to
2919 integer size. (Bug#7020)
2921 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * repeat.el (repeat): Allow repeating when the last event is a click.
2924 Suggested by Drew Adams (bug#6256).
2926 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2928 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2929 Replace setting HGRCPATH to "" by some less invasive --config options.
2931 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * font-lock.el (font-lock-beginning-of-syntax-function):
2936 2010-09-14 Glenn Morris <rgm@gnu.org>
2938 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2939 and tool-bar modes. (Bug#6211)
2940 (menu-bar-mode): Move setting of standard-value after the
2941 minor-mode definition, otherwise it seems to have no effect.
2943 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2945 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2946 Fix typo. (Bug#6976)
2948 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2950 * whitespace.el: Allow cleaning up blanks without blank
2951 visualization (Bug#6651). Adjust help window for
2952 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2953 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2954 (whitespace-style): Add new value 'face. Adjust docstring.
2955 (whitespace-space, whitespace-hspace, whitespace-tab):
2956 Adjust foreground property face.
2957 (whitespace-line-column): Adjust docstring and type declaration.
2958 (whitespace-style-value-list, whitespace-toggle-option-alist)
2959 (whitespace-help-text): Adjust const initialization.
2960 (whitespace-toggle-options, global-whitespace-toggle-options):
2962 (whitespace-display-window, whitespace-interactive-char)
2963 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2964 (whitespace-help-scroll): New fun.
2966 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2968 * calendar/time-date.el (format-seconds): Comment fix.
2970 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2972 * progmodes/sql.el: Version 2.7.
2973 (sql-buffer-live-p): Improve detection.
2974 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2975 (sql-set-sqli-buffer): Use it.
2976 (sql-product-interactive): Run `sql-set-sqli-hook'.
2977 (sql-rename-buffer): Code cleanup.
2978 (sql-redirect, sql-redirect-value): New functions. More to come.
2980 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2982 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.
2983 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2984 (TRAMP_SRC): New macro.
2985 ($(lisp)/net/tramp-loaddefs.el): New target.
2987 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2989 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2991 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2993 * net/tramp.el (top): Don't show loading message. Require just
2994 'tramp-compat, everything else is required there.
2995 Use `ignore-errors' where appropriate.
2996 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2997 (tramp-terminal-type, tramp-end-of-output)
2998 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2999 (tramp-completion-function-alist-ssh)
3000 (tramp-completion-function-alist-telnet)
3001 (tramp-completion-function-alist-su)
3002 (tramp-completion-function-alist-putty, tramp-remote-path)
3003 (tramp-remote-process-environment, tramp-sh-extra-args)
3004 (tramp-actions-before-shell, tramp-uudecode)
3005 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3006 (tramp-perl-file-attributes)
3007 (tramp-perl-directory-files-and-attributes)
3008 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3009 (tramp-perl-encode, tramp-perl-decode)
3010 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3011 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3012 (tramp-handle-make-symbolic-link, tramp-handle-load)
3013 (tramp-handle-file-name-as-directory)
3014 (tramp-handle-file-name-directory)
3015 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3016 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3017 (tramp-do-file-attributes-with-ls)
3018 (tramp-do-file-attributes-with-perl)
3019 (tramp-do-file-attributes-with-stat)
3020 (tramp-handle-set-visited-file-modtime)
3021 (tramp-handle-verify-visited-file-modtime)
3022 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3023 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3024 (tramp-handle-file-selinux-context)
3025 (tramp-handle-set-file-selinux-context)
3026 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3027 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3028 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3029 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3030 (tramp-handle-file-ownership-preserved-p)
3031 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3032 (tramp-handle-directory-files-and-attributes)
3033 (tramp-do-directory-files-and-attributes-with-perl)
3034 (tramp-do-directory-files-and-attributes-with-stat)
3035 (tramp-handle-file-name-all-completions)
3036 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3037 (tramp-handle-copy-file, tramp-handle-copy-directory)
3038 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3039 (tramp-do-copy-or-rename-file-via-buffer)
3040 (tramp-do-copy-or-rename-file-directly)
3041 (tramp-do-copy-or-rename-file-out-of-band)
3042 (tramp-handle-make-directory, tramp-handle-delete-directory)
3043 (tramp-handle-delete-file)
3044 (tramp-handle-dired-recursive-delete-directory)
3045 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3046 (tramp-handle-insert-directory)
3047 (tramp-handle-unhandled-file-name-directory)
3048 (tramp-handle-expand-file-name)
3049 (tramp-handle-substitute-in-file-name)
3050 (tramp-handle-executable-find, tramp-process-sentinel)
3051 (tramp-handle-start-file-process, tramp-handle-process-file)
3052 (tramp-handle-call-process-region, tramp-handle-shell-command)
3053 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3054 (tramp-handle-insert-file-contents)
3055 (tramp-handle-insert-file-contents-literally)
3056 (tramp-handle-find-backup-file-name)
3057 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3058 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3059 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3060 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3061 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3062 (tramp-find-file-exists-command, tramp-open-shell)
3063 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3064 (tramp-open-connection-setup-interactive-shell)
3065 (tramp-local-coding-commands, tramp-remote-coding-commands)
3066 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3067 (tramp-inline-compress-commands, tramp-find-inline-compress)
3068 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3069 (tramp-send-command, tramp-wait-for-output)
3070 (tramp-send-command-and-check, tramp-barf-unless-okay)
3071 (tramp-send-command-and-read, tramp-mode-string-to-int)
3072 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3073 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3074 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3075 (tramp-method-out-of-band-p, tramp-local-host-p)
3076 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3077 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3078 (tramp-get-test-command, tramp-get-test-nt-command)
3079 (tramp-get-file-exists-command, tramp-get-remote-ln)
3080 (tramp-get-remote-perl, tramp-get-remote-stat)
3081 (tramp-get-remote-readlink, tramp-get-remote-trash)
3082 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3083 (tramp-get-local-uid, tramp-get-local-gid)
3084 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3086 (tramp-methods, tramp-default-method-alist)
3087 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3088 Move initialization to tramp-sh.el.
3089 (tramp-temp-name-prefix): Make it a defconst.
3090 (tramp-dissect-file-name): Don't check anymore for multi-hop
3092 (tramp-debug-outline-regexp): Add a docstring.
3093 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3094 (tramp-get-debug-buffer): Use it.
3096 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3097 initialization forms.
3098 (tramp-set-connection-property): Don't protect `tramp-message'
3099 call, it isn't necessary any longer.
3100 (tramp-dump-connection-properties): Use `ignore-errors'.
3102 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3103 'password-cache and 'auth-source.
3105 * net/tramp-gvfs.el (top):
3106 * net/tramp-smb.el (top): Require 'tramp-sh.
3108 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3110 * net/tramp-sh.el: New file, derived from tramp.el.
3111 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3112 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3113 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3114 Use `ignore-errors' where appropriate.
3115 (tramp-sh-file-name-handler-alist): Rename from
3116 `tramp-file-name-handler-alist'.
3117 (tramp-send-command-and-check): Return t or nil. Remove all
3118 `zerop' checks, where called.
3119 (tramp-handle-set-file-modes)
3120 (tramp-do-copy-or-rename-file-directly)
3121 (tramp-handle-delete-directory, tramp-handle-delete-file)
3122 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3123 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3124 (tramp-get-remote-ln): Set tramp-autoload cookie.
3126 * net/tramp-fish.el: Remove file.
3128 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3130 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3131 buffer-file-name to avoid file-locking. (Bug#7026)
3133 2010-09-13 Julien Danjou <julien@danjou.info>
3135 * notifications.el (notifications-notify): Add support for
3136 image-path and sound-name.
3137 (notifications-specification-version): Add this variable.
3139 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3143 2010-09-12 Leo <sdl.web@gmail.com>
3145 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3146 (rcirc-completion-start): New variables.
3147 (rcirc-nick-completions): Rename to rcirc-completions.
3148 (rcirc-nick-completion-start-offset): Delete.
3149 (rcirc-completion-at-point): New function for constructing
3150 completion data for both nicks and irc commands. Add to
3151 completion-at-point-functions in rcirc mode.
3152 (rcirc-complete): Rename from rcirc-nick-complete; use
3153 rcirc-completion-at-point.
3154 (defun-rcirc-command): Update rcirc-client-commands.
3156 2010-09-11 Glenn Morris <rgm@gnu.org>
3158 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3159 atomically, to avoid parallel build errors. (Bug#4196)
3161 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3163 * progmodes/sql.el: Version 2.6
3164 (sql-dialect): Synonym for "sql-product".
3165 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3166 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3167 Set "sql-buffer" to buffer name not buffer object so multiple sql
3168 interactive buffers work properly. Reverts misguided changes in
3170 (sql-comint): Make sure different buffer name is used if "*SQL*"
3171 buffer is for a different product.
3172 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3174 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3175 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3176 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3177 Accept new buffer name or prompt for one.
3178 (sql-port): Default to zero.
3179 (sql-comint-mysql): Handle "sql-port" as a numeric.
3180 (sql-port-history): Delete unused variable.
3181 (sql-get-login): Default "sql-port" to a number.
3182 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3183 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3184 "sqlite3" executables.
3185 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3186 (sql-buffer-live-p): New function.
3187 (sql-mode-menu, sql-send-string): Use it.
3188 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3190 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3191 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3193 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195 * net/netrc.el (netrc-credentials): New convenience function.
3197 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3199 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3200 to replace texinfo-font-lock-syntactic-keywords.
3201 (texinfo-mode): Use it.
3203 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3204 Use syntax-propertize-function.
3206 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3207 replace sgml-font-lock-syntactic-keywords.
3208 (sgml-mode): Use it.
3210 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3211 since we don't use it.
3213 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3215 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3217 (vhdl-fontify-buffer): Adjust.
3219 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3220 replace tcl-font-lock-syntactic-keywords.
3223 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3224 replace simula-font-lock-syntactic-keywords.
3225 (simula-mode): Use it.
3227 * progmodes/sh-script.el (sh-st-symbol): Remove.
3228 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3229 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3230 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3231 (sh-font-lock-paren): Set syntax-multiline.
3232 (sh-font-lock-syntactic-keywords): Remove.
3233 (sh-syntax-propertize-function): New function to replace it.
3236 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3237 Define while compiling.
3238 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3239 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3240 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3241 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3242 (ruby-here-doc-end-syntax): Only define when
3243 syntax-propertize is not available.
3244 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3246 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3247 (electric-indent-chars): Silence bytecompiler.
3248 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3249 electric-indent-chars.
3251 * progmodes/python.el (python-syntax-propertize-function): New var to
3252 replace python-font-lock-syntactic-keywords.
3253 (python-mode): Use it.
3254 (python-quote-syntax): Simplify and adjust to new use.
3256 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3257 replace perl-font-lock-syntactic-keywords.
3258 (perl-syntax-propertize-special-constructs): New fun to replace
3259 perl-font-lock-special-syntactic-constructs.
3260 (perl-font-lock-syntactic-face-function): New fun.
3261 (perl-mode): Use it.
3263 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3264 to replace octave-font-lock-close-quotes.
3265 (octave-syntax-propertize-function): New function to replace
3266 octave-font-lock-syntactic-keywords.
3267 (octave-mode): Use it.
3269 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3270 replaces mixal-font-lock-syntactic-keywords.
3271 (mixal-mode): Use it.
3273 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3274 New var; replaces makefile-font-lock-syntactic-keywords.
3275 (makefile-mode): Use it.
3276 (makefile-imake-mode): Adjust.
3278 * progmodes/js.el (js--regexp-literal): Define while compiling.
3279 (js-syntax-propertize-function): New var; replaces
3280 js-font-lock-syntactic-keywords.
3283 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3284 replaces gdb-script-font-lock-syntactic-keywords.
3285 (gdb-script-mode): Use it.
3287 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3288 (fortran--font-lock-syntactic-keywords): New var.
3289 (fortran-line-length): Update syntax-propertize-function and
3290 fortran--font-lock-syntactic-keywords.
3292 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3294 * progmodes/cfengine.el (cfengine-mode):
3295 Use syntax-propertize-function.
3296 (cfengine-font-lock-syntactic-keywords): Remove.
3298 * progmodes/autoconf.el (autoconf-mode):
3299 Use syntax-propertize-function.
3300 (autoconf-font-lock-syntactic-keywords): Remove.
3302 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3303 (ada-after-change-function, ada-initialize-syntax-table-properties)
3304 (ada-handle-syntax-table-properties): Only define when
3305 syntax-propertize is not available.
3306 (ada-mode): Use syntax-propertize-function.
3308 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3309 (font-lock-fontify-syntactic-keywords-region): Move handling of
3310 font-lock-syntactically-fontified to...
3311 (font-lock-default-fontify-region): ...here.
3312 Let syntax-propertize-function take precedence.
3313 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3315 * emacs-lisp/syntax.el (syntax-propertize-function)
3316 (syntax-propertize-chunk-size, syntax-propertize--done)
3317 (syntax-propertize-extend-region-functions): New vars.
3318 (syntax-propertize-wholelines, syntax-propertize-multiline)
3319 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3320 (syntax-propertize): New functions.
3321 (syntax-propertize-rules): New macro.
3322 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3323 (syntax-ppss): Call syntax-propertize.
3325 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3327 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3329 * textmodes/ispell.el (ispell-init-process): Improve comments.
3330 XEmacs compatibility changes regarding (add-hook) 'local option
3331 and (set-process-query-on-exit-flag).
3333 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3335 * net/tramp-cache.el (tramp-parse-connection-properties):
3336 Set tramp-autoload cookie.
3338 2010-09-09 Glenn Morris <rgm@gnu.org>
3340 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3341 (imagemagick-register-types): Doc fix.
3343 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3347 * progmodes/js.el (require): Require is already "eval-and-compile".
3348 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3349 (js--re-search-backward): Use js--re-search-forward.
3351 * progmodes/fortran.el (fortran-line-length): Don't recompute
3352 syntactic keywords redundantly a second time.
3354 * progmodes/ada-mode.el: Replace "(set '" with setq.
3355 (ada-mode): Simplify.
3356 (ada-create-case-exception, ada-adjust-case-interactive)
3357 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3358 (ada-search-ignore-string-comment, ada-move-to-start)
3359 (ada-move-to-end): Use with-syntax-table.
3361 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3362 (font-lock-unfontify-region, font-lock-default-fontify-region):
3363 Update usage correspondingly.
3364 (font-lock-fontify-syntactic-keywords-region):
3365 Set parse-sexp-lookup-properties buffer-locally here.
3366 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3368 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3370 2010-09-08 Glenn Morris <rgm@gnu.org>
3372 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3373 Error if not compiled with -DBYTE_CODE_METER.
3375 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3376 Ignore dir-locals-file.
3378 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3380 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3382 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3383 for the `gnu' messages.
3384 (compilation-set-skip-threshold): New command.
3385 (compilation-start): Use \' rather than $.
3386 (compilation-forget-errors): Use clrhash.
3388 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3390 * textmodes/ispell.el (ispell-valid-dictionary-list):
3393 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3395 Migrate to Tramp 2.2. Rearrange load dependencies.
3396 (Bug#1529, Bug#5448, Bug#5705)
3398 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3399 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3400 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3402 * net/tramp.el (top): Remove all other tramp-* loads except
3403 tramp-compat.el. Remove all changes to tramp-unload-hook for
3404 other tramp-* packages. Rearrange defun order. Change calls of
3405 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3406 `tramp-compat-octal-to-decimal' to new function names.
3407 (tramp-terminal-type, tramp-initial-end-of-output)
3408 (tramp-methods, tramp-foreign-file-name-handler-alist)
3409 (tramp-tramp-file-p, tramp-completion-mode-p)
3410 (tramp-send-command-and-check, tramp-get-remote-path)
3411 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3412 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3413 (with-file-property, with-connection-property): Move to
3415 (tramp-local-call-process, tramp-decimal-to-octal)
3416 (tramp-octal-to-decimal): Move to tramp-compat.el.
3417 (tramp-handle-shell-command): Do not require 'shell.
3418 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3420 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3422 * net/tramp-cache.el (top): Require 'tramp. Add to
3423 `tramp-unload-hook'.
3424 (tramp-cache-data, tramp-get-file-property)
3425 (tramp-set-file-property, tramp-flush-file-property)
3426 (tramp-flush-directory-property, tramp-get-connection-property)
3427 (tramp-set-connection-property, tramp-flush-connection-property)
3428 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3430 (with-file-property, with-connection-property): New defuns, moved
3432 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3435 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3436 (tramp-version): Set tramp-autoload cookie.
3438 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3439 changes to tramp-unload-hook for other tramp-* packages. Add to
3440 `tramp-unload-hook'.
3441 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3442 (tramp-compat-call-process): New defuns, moved from tramp.el.
3444 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3445 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3446 to `tramp-unload-hook'. Change call of
3447 `tramp-compat-decimal-to-octal' to new function name.
3448 (tramp-fish-method): Make it a defconst.
3449 (tramp-fish-file-name-p): Make it a defsubst.
3450 (tramp-fish-method, tramp-fish-file-name-handler)
3451 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3453 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3454 `tramp-foreign-file-name-handler-alist'. Add to
3455 `tramp-unload-hook'.
3456 (tramp-ftp-method): Make it a defconst.
3457 (tramp-ftp-file-name-p): Make it a defsubst.
3458 (tramp-ftp-method, tramp-ftp-file-name-handler)
3459 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3461 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3462 `tramp-foreign-file-name-handler-alist'. Add to
3463 `tramp-unload-hook'. Change checks, whether package can be
3465 (tramp-gvfs-file-name-p): Make it a defsubst.
3466 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3467 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3468 (tramp-gvfs-handle-file-directory-p): New defun.
3469 (tramp-gvfs-file-name-handler-alist): Use it.
3471 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3472 `tramp-foreign-file-name-handler-alist'. Add to
3473 `tramp-unload-hook'.
3474 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3475 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3477 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3478 (tramp-gw-open-connection): Set tramp-autoload cookie.
3480 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3481 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3482 to `tramp-unload-hook'. Change checks, whether package can be
3484 (tramp-imap-file-name-p): Make it a defsubst.
3485 (tramp-imap-method, tramp-imaps-method)
3486 (tramp-imap-file-name-handler)
3487 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3489 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3490 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3491 to `tramp-unload-hook'. Change checks, whether package can be
3492 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3494 (tramp-smb-tunnel-method): Make it a defconst.
3495 (tramp-smb-file-name-p): Make it a defsubst.
3496 (tramp-smb-method, tramp-smb-file-name-handler)
3497 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3499 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3500 (tramp-uuencode-region): Set tramp-autoload cookie.
3502 * net/trampver.el (top) Add to `tramp-unload-hook'.
3503 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3504 cookie. Update release number.
3506 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3508 * textmodes/ispell.el (ispell-start-process): Make sure original
3509 arg list is properly initialized (Bug#6993, Bug#6994).
3511 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3513 * files.el (directory-abbrev-alist): Use \` as default regexp.
3515 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3516 chars like - or ] (bug#6984).
3517 (rx-any-condense-range): Explode 2-char ranges.
3519 2010-09-06 Glenn Morris <rgm@gnu.org>
3521 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3523 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * textmodes/bibtex.el:
3526 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3528 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3530 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3531 since no callers use it.
3532 (imap-message-get): Ditto.
3533 (imap-message-put): Ditto.
3534 (imap-mailbox-map): Ditto.
3535 (imap-mailbox-put): Ditto.
3536 (imap-mailbox-get): Ditto.
3537 (imap-mailbox-get): Revert last change for this function.
3539 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3541 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3542 callers to use `imap-fetch' instead. According to the comments, this
3543 should be safe, since all other IMAP clients use the 1:* syntax.
3544 (imap-enable-exchange-bug-workaround): Remove.
3545 (imap-debug): Remove -- doesn't seem very useful.
3547 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3549 * net/imap.el (imap-log): New convenience function used throughout
3550 instead of repeating the same code all over the place.
3552 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3554 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3555 when mouse-drag-copy-region is non-nil (Bug#6956).
3557 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3559 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3560 Improve regexps (Bug#6987).
3561 (dired-sort-toggle): Search more robustly for -t flag.
3563 * files.el (get-free-disk-space): Search more robustly for
3564 "available" column. Suggested by Ehud Karni
3565 <ehud@unix.mvs.co.il>.
3567 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3569 * international/uni-bidi.el:
3570 * international/uni-category.el:
3571 * international/uni-combining.el:
3572 * international/uni-decimal.el:
3573 * international/uni-mirrored.el:
3574 * international/uni-name.el: Regenerate.
3576 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * electric.el (electric-indent-post-self-insert-function):
3579 Don't reindent with a sloppy indentation function.
3581 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3582 border case in change-log-mode.
3584 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3586 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3587 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3588 Recognize leading tab in gcc-include regexp. Ignore names with
3589 leading "from" or "in" in gnu regexp (Bug#6937).
3591 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3593 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3594 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3595 (ispell-start-process): Avoid setq and simplify logic.
3596 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3597 (kill-buffer-hook): Don't use it globally with code that uses
3598 expand-file-name since that may call kill-buffer via
3599 code_conversion_restore.
3601 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3603 * emacs-lisp/package.el (package-directory-list): Only call
3604 file-name-nondirectory on a string.
3606 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3608 * emacs-lisp/package.el (package--download-one-archive):
3609 Ensure that archive-contents is valid before saving it.
3610 (package-activate-1, package-mark-obsolete, define-package)
3611 (package-compute-transaction, package-list-maybe-add): Use push.
3613 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3615 Use SMIE's blink-paren for octave-mode.
3616 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3617 Backslashes do not escape single-quotes, single-quotes do.
3618 (octave-block-else-regexp, octave-block-end-regexp)
3619 (octave-block-match-alist): Remove.
3620 (octave-smie-bnf-table): New var, with old content.
3621 (octave-smie-op-levels): Use it.
3622 (octave-smie-closer-alist): New var.
3623 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3624 (octave-blink-matching-block-open): Remove.
3625 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3626 (octave-electric-space): Let self-insert-command run expand-abbrev and
3629 * electric.el (electricity): New group.
3630 (electric-indent-chars): New var.
3631 (electric-indent-post-self-insert-function): New fun.
3632 (electric-indent-mode): New minor mode.
3633 (electric-pair-skip-self): New custom.
3634 (electric-pair-post-self-insert-function): New function.
3635 (electric-pair-mode): New minor mode.
3637 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3638 calcAlg-blink-matching-open.
3639 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3640 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3641 Use the new blink-matching-check-function.
3643 Provide blink-matching support to SMIE.
3644 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3645 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3646 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3648 * simple.el (newline): Fix last change to properly remove itself from
3651 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * simple.el (newline): Eliminate optimization.
3654 Use post-self-insert-hook to set hard-newline and things before
3655 running post-self-insert-hook.
3656 (blink-matching-check-mismatch): New function.
3657 (blink-matching-check-function): New variable.
3658 (blink-matching-open): Use them.
3659 Skip back forward over prefix chars skipped by forward-sexp.
3660 Don't check if the parens are backslash escaped.
3661 (blink-paren-post-self-insert-function): Check backslash escaping here.
3663 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3665 * emacs-lisp/package.el (package-menu-mode-map):
3666 Change package-menu-revert bindings to revert-buffer.
3667 (package-menu-mode): Set revert-buffer-function.
3668 (package-menu-revert): Doc fix.
3670 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3672 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3673 `default-directory' unless using Ispell per-directory personal
3674 dictionaries and not in a mini-buffer under XEmacs.
3675 (kill-buffer-hook): Do not kill ispell process on exit when
3676 `ispell-process-directory' is "~/". (Bug#6143)
3678 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3680 * simple.el (kill-new): Call interprogram-cut-function with only
3683 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3684 Remove cut buffer from error message.
3686 * term/x-win.el (x-select-text):
3687 * term/pc-win.el (x-selection-value):
3688 * term/ns-win.el (x-selection-value):
3689 * eshell/em-term.el:
3690 * w32-fns.el (x-get-selection-value):
3691 * mouse-sel.el (mouse-sel-set-selection-function):
3692 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3694 * term/x-win.el: Update documentation for x-last-selected-text-*.
3695 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3696 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3697 (x-select-text): Remove argument PUSH, update documentation. Remove
3699 (x-selection-value-internal): Was previously x-selection-value.
3700 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3701 Update documentation, remove cut-buffer code. Call
3702 x-selection-value-internal.
3703 (x-clipboard-yank): Call x-selection-value-internal.
3704 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3706 * term/pc-win.el (x-last-selected-text):
3707 x-cut-buffer-or-selection-value renamed to x-selection-value
3708 (x-select-text): Remove argument PUSH, update documentation.
3710 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3711 x-cut-buffer-or-selection-value renamed to x-selection-value
3712 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3713 (x-select-text): Remove argument PUSH, update documentation.
3715 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3717 * w32-fns.el (x-last-selected-text):
3718 x-cut-buffer-or-selection-value renamed to x-selection-value.
3719 (x-cut-buffer-max): Remove.
3720 (x-select-text): Remove argument PUSH, update documentation.
3722 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3724 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3726 * mouse-sel.el (mouse-sel-get-selection-function):
3727 x-cut-buffer-or-selection-value renamed to x-selection-value.
3728 (x-select-text): Remove optional push.
3730 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * simple.el (blink-paren-function): Move from C to here.
3733 (blink-paren-post-self-insert-function): New function.
3734 (post-self-insert-hook): Use it.
3736 * emacs-lisp/pcase.el (pcase-split-memq):
3737 Fix overenthusiastic optimisation.
3738 (pcase-u1): Handle the case of a lambda pred.
3740 2010-08-31 Kenichi Handa <handa@m17n.org>
3742 * international/mule-cmds.el (standard-display-european-internal):
3743 Setup standard-display-table for 8-bit characters by storing 8-bit
3744 characters in the element vector.
3746 * disp-table.el (standard-display-8bit):
3747 Setup standard-display-table for 8-bit characters by storing 8-bit
3748 characters in the element vector.
3749 (standard-display-european): Likewise.
3751 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3753 * textmodes/nroff-mode.el (nroff-view): New command.
3754 (nroff-mode-map): Bind it to C-c C-c.
3756 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * emacs-lisp/smie.el (smie-down-list): New command.
3760 Remove old indentation and navigation code on octave-mode.
3761 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3762 smie-down-list rather than add a binding for octave-down-block.
3763 (octave-mark-block, octave-blink-matching-block-open):
3764 Rely on forward-sexp-function.
3765 (octave-fill-paragraph): Don't narrow, so you can use
3766 indent-according-to-mode.
3767 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3768 (octave-in-block-p, octave-re-search-forward-kw)
3769 (octave-re-search-backward-kw, octave-indent-calculate)
3770 (octave-end-as-array-index-p, octave-block-end-offset)
3771 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3772 (octave-down-block, octave-backward-up-block, octave-up-block)
3773 (octave-before-magic-comment-p, octave-indent-line): Remove.
3775 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3777 * emacs-lisp/package.el (package--read-archive-file): Just use
3778 `read', to avoid copying an additional string.
3779 (package-menu-mode): Set header-line-format here.
3780 (package-menu-refresh, package-menu-revert): Signal an error if
3781 not in the Package Menu.
3782 (package-menu-package-list): New var.
3783 (package--generate-package-list): Operate on the current buffer;
3784 don't assume that it is *Packages*, since the user may rename it.
3785 Allow persistent package listings and sort keys using
3786 package-menu-package-list and package-menu-package-sort-key.
3787 (package-menu--version-predicate): Fix version calculation.
3788 (package-menu-sort-by-column): Don't select the window.
3789 (package--list-packages): Create the *Packages* buffer.
3790 Set package-menu-package-list-key.
3791 (list-packages): Sorting by status is now the default.
3792 (package-buffer-info): Use match-string-no-properties.
3793 (define-package): Add a &rest argument for future proofing, but
3795 (package-install-from-buffer, package-install-buffer-internal):
3796 Merge into a single function, package-install-from-buffer.
3797 (package-install-file): Change caller.
3799 * finder.el: Load finder-inf using `require'.
3800 (finder-list-matches): Sorting by status is now the default.
3801 (finder-compile-keywords): Simpify printing.
3803 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3806 (octave-mode-map): Remove special bindings for forward/backward-block
3807 and octave-backward-up-block. Use smie-close-block.
3808 (octave-continuation-marker-regexp): New var.
3809 (octave-continuation-regexp): Use it.
3810 (octave-operator-table, octave-smie-op-levels)
3811 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3812 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3813 (octave-mode): Use SMIE.
3814 (octave-close-block): Delete.
3816 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3818 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3819 CLIPBOARD, not in PRIMARY. (Bug#6944)
3821 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3825 (smie-indent-column): Allow indirection through variables.
3827 * composite.el (save-buffer-state): Delete, unused.
3828 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3829 (font-lock-default-fontify-region): Use with-syntax-table.
3830 * jit-lock.el (with-buffer-unmodified): Remove.
3831 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3833 Use `declare' in defmacros.
3834 * window.el (save-selected-window):
3835 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3836 * progmodes/python.el (def-python-skeleton):
3837 * net/dbus.el (dbus-ignore-errors):
3838 * jka-cmpr-hook.el (with-auto-compression-mode):
3839 * international/mule.el (with-category-table):
3840 * emacs-lisp/timer.el (with-timeout):
3841 * emacs-lisp/lisp-mnt.el (lm-with-file):
3842 * emacs-lisp/eieio.el (with-slots):
3843 * emacs-lisp/easymenu.el (easy-menu-define):
3844 * emacs-lisp/debug.el (debugger-env-macro):
3845 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3846 (Multiple-value-call, Multiple-value-prog1):
3847 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3848 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3849 edebug rule to definition.
3850 * emacs-lisp/lisp-mode.el (save-selected-window)
3851 (with-current-buffer, combine-after-change-calls)
3852 (with-output-to-string, with-temp-file, with-temp-buffer)
3853 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3854 (dolist, dotimes, when, unless):
3855 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3857 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3859 * finder.el: Require `package'.
3860 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3861 (finder-package-info): Var deleted.
3862 (finder-keywords-hash, finder--builtins-alist): New vars.
3863 (finder-compile-keywords): Compute package--builtins and
3864 finder-keywords-hash instead of finder-keywords-hash, respecting
3865 the "Package" header.
3866 (finder-unknown-keywords, finder-list-matches):
3867 Use finder-keywords-hash and package--list-packages.
3868 (finder-mode): Don't set font-lock-defaults.
3869 (finder-exit): We don't use "*Finder-package*" and "*Finder
3870 Category*" buffers anymore.
3872 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3873 (package--builtins): Set default value to nil.
3874 (package-initialize): Load precomputed value of package--builtins
3876 (package-alist, package-compute-transaction)
3877 (package-download-transaction): Improve docstring.
3878 (package-read-all-archive-contents): Do not change
3879 package--builtins here.
3880 (list-packages): Make package-list-packages an alias for this.
3881 Sort by status by default.
3882 (package--list-packages): Add optional PACKAGES arg.
3883 (describe-package-1): Use font-lock-face property. For built-in
3884 packages, insert file commentary.
3885 (package--generate-package-list): Rename from
3886 package-list-packages-internal; all callers changed. Add optional
3887 PACKAGES arg. Add alphabetical sort fallbacks.
3888 (package-menu--version-predicate, package-menu--status-predicate)
3889 (package-menu--description-predicate)
3890 (package-menu--name-predicate): New functions.
3892 * info.el (Info-finder-find-node): Search package-alist instead of
3893 finder-package-info.
3895 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3897 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3899 (version-to-list): Handle versions like "10.3d".
3901 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3904 (macroexp-accumulate): Use `declare'.
3906 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3908 * whitespace.el (whitespace-style): Adjust type declaration.
3910 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3912 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3913 empty argument to gvfs-copy.
3915 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3917 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3918 handle new TRASH arg of `delete-file'.
3920 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3922 * net/tramp.el (tramp-handle-insert-directory): Don't use
3923 `forward-word', its default syntax could be changed.
3925 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3926 Michael Albinus <michael.albinus@gmx.de>
3928 Implement compression for inline methods.
3930 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3931 (tramp-copy-size-limit): Allow also nil.
3932 (tramp-inline-compress-commands): New defconst.
3933 (tramp-find-inline-compress, tramp-get-inline-compress)
3934 (tramp-get-inline-coding): New defuns.
3935 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3936 replaced by `tramp-get-inline-coding'.
3937 (tramp-handle-file-local-copy, tramp-handle-write-region)
3938 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3940 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3942 Detect ssh 'ControlMaster' argument automatically in some cases.
3944 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3945 (tramp-default-method): Use it.
3947 2010-08-26 Karel Klíč <kklic@redhat.com>
3949 * net/tramp.el (tramp-file-name-for-operation):
3950 Add file-selinux-context.
3952 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3954 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3956 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3958 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3961 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3963 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3964 (js-paren-indent-offset, js-square-indent-offset)
3965 (js-curly-indent-offset): New options.
3966 (js--proper-indentation): Use them.
3968 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3970 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3971 instead of inspecting font-lock properties (Bug#6916).
3973 2010-08-26 David Reitter <david.reitter@gmail.com>
3975 * server.el (server-visit-files): Run pre-command-hook and
3976 post-command-hook for each buffer while it is current (Bug#6910).
3977 (server-execute): Do not run hooks here.
3979 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3981 Sync with Tramp 2.1.19.
3983 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3984 (tramp-reporter-dump-variable, tramp-load-report-modules)
3985 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3986 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3988 * net/tramp-compat.el (top): Do not autoload
3989 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3990 only when `start-file-process' is not bound.
3991 (byte-compile-not-obsolete-vars): Define if not bound.
3992 (tramp-compat-funcall): New defmacro.
3993 (tramp-compat-line-beginning-position)
3994 (tramp-compat-line-end-position)
3995 (tramp-compat-temporary-file-directory)
3996 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3997 (tramp-compat-copy-file, tramp-compat-copy-directory)
3998 (tramp-compat-delete-file, tramp-compat-delete-directory)
3999 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4001 (tramp-advice-file-expand-wildcards): Do not use
4002 `tramp-handle-file-remote-p'.
4003 (tramp-compat-make-temp-file): Simplify fallback implementation.
4004 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4005 (tramp-compat-copy-tree): Remove function.
4006 (tramp-compat-delete-file): New defun.
4007 (tramp-compat-delete-directory): Provide implementation for older
4009 (tramp-compat-file-attributes): Handle only
4010 `wrong-number-of-arguments' error.
4012 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4013 Add PRESERVE_SELINUX_CONTEXT.
4014 (tramp-fish-handle-delete-file): Add TRASH arg.
4015 (tramp-fish-handle-directory-files-and-attributes):
4016 Do not use `tramp-fish-handle-file-attributes.
4017 (tramp-fish-handle-file-local-copy)
4018 (tramp-fish-handle-insert-file-contents)
4019 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4021 * net/tramp-gvfs.el (top): Require url-util.
4022 (tramp-gvfs-mount-point): Remove.
4023 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4024 and `set-file-selinux-context'.
4025 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4026 (tramp-gvfs-handle-file-selinux-context)
4027 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4028 (with-tramp-dbus-call-method): Format trace message.
4029 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4030 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4031 Implement backup call, when operation on local files fails.
4032 Use progress reporter. Flush properties of changed files.
4033 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
4034 `tramp-compat-delete-file'.
4035 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4036 (tramp-gvfs-handle-make-directory): Make more traces.
4037 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4038 (tramp-gvfs-url-file-name): Hexify file name in url.
4039 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4040 into account for the resulting file name.
4041 (tramp-gvfs-handler-askquestion): Preserve current message, in
4042 order to let progress reporter continue afterwards. (Bug#6257)
4043 Return dummy mountpoint, when the answer is "no".
4044 See `tramp-gvfs-maybe-open-connection'.
4045 (tramp-gvfs-handler-mounted-unmounted)
4046 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4047 attribute "default_location". Set "prefix" property.
4048 Handle default-location.
4049 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4050 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4051 exists. Raise an error, if not (due to a corresponding answer
4052 "no" in interactive questions, for example).
4053 Use `tramp-compat-funcall'.
4055 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4056 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4057 (tramp-imap-do-copy-or-rename-file)
4058 (tramp-imap-handle-insert-file-contents)
4059 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4060 (tramp-imap-handle-delete-file): Add TRASH arg.
4062 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4063 Add PRESERVE-SELINUX-CONTEXT.
4064 (tramp-smb-handle-copy-file)
4065 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4066 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4067 Use `with-progress-reporter'.
4068 (tramp-smb-handle-delete-file): Add TRASH arg.
4070 * net/tramp.el (tramp-methods): Move hostname to the end in all
4071 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4073 (tramp-verbose): Describe verbose level 9.
4074 (tramp-completion-function-alist)
4075 (tramp-file-name-regexp, tramp-chunksize)
4076 (tramp-local-coding-commands, tramp-remote-coding-commands)
4077 (with-connection-property, tramp-completion-mode-p)
4078 (tramp-action-process-alive, tramp-action-out-of-band)
4079 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4080 (tramp-exists-file-name-handler): Fix docstring.
4081 (tramp-remote-process-environment): Use `format' instead of
4082 `concat'. Protect version string by apostroph.
4083 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4085 (tramp-file-name-regexp-unified)
4086 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4087 not regard the volume letter as remote filename. (Bug#5447)
4088 (tramp-perl-file-attributes)
4089 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4090 (tramp-vc-registered-read-file-names): Read input as
4091 here-document, otherwise the command could exceed maximum length
4093 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4094 `set-file-selinux-context'.
4095 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4096 backtrace functions.
4097 (tramp-error-with-buffer): Don't show the connection buffer when
4098 we are in completion mode.
4099 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4100 (tramp-handle-file-selinux-context)
4101 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4102 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4104 (with-progress-reporter): New defmacro.
4105 (tramp-debug-outline-regexp): New defconst.
4106 (top, tramp-rfn-eshadow-setup-minibuffer)
4107 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4108 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4109 (tramp-completion-mode-p, tramp-check-for-regexp)
4110 (tramp-open-connection-setup-interactive-shell)
4111 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4112 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4113 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4114 Use `tramp-compat-funcall'.
4115 (tramp-handle-make-symbolic-link): Flush file properties.
4116 (tramp-handle-load, tramp-handle-file-local-copy)
4117 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4118 (tramp-handle-vc-registered, tramp-maybe-send-script)
4119 (tramp-find-shell): Use `with-progress-reporter'.
4120 (tramp-do-file-attributes-with-stat): Add space in format string,
4121 in order to work around a bug in pdksh. Reported by Gilles Pion
4123 (tramp-handle-verify-visited-file-modtime): Do not send a command
4124 when the connection is not established.
4125 (tramp-handle-set-file-times): Simplify the check for utc.
4126 (tramp-handle-directory-files-and-attributes)
4127 (tramp-get-remote-path): Use `copy-tree'.
4128 (tramp-completion-handle-file-name-all-completions): Ensure, that
4129 non remote files are still checked. Oops.
4130 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4131 Handle PRESERVE-SELINUX-CONTEXT.
4132 (tramp-do-copy-or-rename-file): Add progress reporter.
4133 (tramp-do-copy-or-rename-file-directly): Do not use
4134 `tramp-handle-file-remote-p'.
4135 (tramp-do-copy-or-rename-file-out-of-band):
4136 Use `tramp-compat-delete-directory'.
4137 (tramp-do-copy-or-rename-file-out-of-band)
4138 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4139 Use `format-spec-make'.
4140 (tramp-handle-delete-file): Add TRASH arg.
4141 (tramp-handle-dired-uncache): Flush directory cache, not only file
4143 (tramp-handle-expand-file-name)
4144 (tramp-completion-handle-file-name-all-completions)
4145 (tramp-completion-handle-file-name-completion):
4146 Use `tramp-connectable-p'.
4147 (tramp-handle-start-file-process): Set connection property "vec".
4148 Use it, in order to invalidate file caches. Check only for
4149 `remote-tty' process property.
4150 Implement tty setting. (Bug#4604, Bug#6360)
4151 (tramp-file-name-for-operation): Add `call-process-region' and
4152 `set-file-selinux-context'.
4153 (tramp-find-foreign-file-name-handler)
4154 (tramp-advice-make-auto-save-file-name)
4155 (tramp-set-auto-save-file-modes): Remove superfluous check for
4156 `stringp'. This is done inside `tramp-tramp-file-p'.
4157 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4158 operations when we are in completion mode. This gives the user
4159 the chance to correct the file name in the minibuffer.
4160 (tramp-completion-mode-p): Use `non-essential'.
4161 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4162 compatibility: Use `completion-ignore-case' if
4163 `read-file-name-completion-ignore-case' does not exist.
4164 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4165 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4167 (tramp-action-password): Hide password prompt before next run.
4168 (tramp-process-actions): Widen connection buffer for the trace.
4169 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4170 process property. Trace stty settings if `tramp-verbose' >= 9.
4171 Apply workaround for IRIX64 bug. Move argument of last
4172 `tramp-send-command' where it belongs to.
4173 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4174 front of `login-args'.
4175 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4176 on "/dev/null" instead of "/".
4177 (tramp-get-ls-command-with-dired): Make test for "--dired"
4179 (tramp-set-auto-save-file-modes): Adapt version check.
4180 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4181 (tramp-handle-process-file): Call the program in a subshell, in
4182 order to preserve working directory.
4183 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4184 `tramp-remote-sh' from `tramp-methods'.
4185 (tramp-get-ls-command): Make test for "--color=never" stronger.
4186 (tramp-check-for-regexp): Use (forward-line 1).
4188 * net/trampver.el: Update release number.
4190 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4192 * help.el (help-map): Bind `C-h P' to describe-package.
4194 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4196 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4197 when downloading archives.
4198 (describe-package-1): Add package commentary.
4199 (package-install-button-action): New function.
4200 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4201 (package-menu-view-commentary): Function removed.
4202 (package-list-packages-internal): Hide the `package' package too.
4204 2010-08-25 Kenichi Handa <handa@m17n.org>
4206 * language/misc-lang.el ("Arabic"): New language environment.
4207 Setup composition-function-table for Arabic characters.
4209 * international/fontset.el (setup-default-fontset): Fix typo for
4210 arabic OTF spec (fini->fina).
4212 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4214 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4217 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4219 * whitespace.el: Allow cleaning up blanks without blank
4220 visualization (Bug#6651). Adjust help window for
4221 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4222 instead of whitespace-line-column (from EmacsWiki). New version
4224 (whitespace-style): Added new value 'face. Adjust docstring.
4225 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
4226 foreground property face.
4227 (whitespace-line-column): Adjust docstring and type declaration.
4228 (whitespace-style-value-list, whitespace-toggle-option-alist)
4229 (whitespace-help-text): Adjust const initialization.
4230 (whitespace-toggle-options, global-whitespace-toggle-options):
4232 (whitespace-display-window, whitespace-interactive-char)
4233 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4234 (whitespace-help-scroll): New fun.
4236 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4238 * emacs-lisp/package.el (list-packages): Alias for
4239 package-list-packages.
4241 2010-08-24 Kevin Ryde <user42@zip.com.au>
4243 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4246 * progmodes/ruby-mode.el (ruby): Add defgroup.
4248 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4250 * progmodes/python.el: Add Ipython support (Bug#5390).
4251 (python-shell-prompt-alist)
4252 (python-shell-continuation-prompt-alist): New options.
4253 (python--set-prompt-regexp): New function.
4254 (inferior-python-mode, run-python, python-shell): Require
4255 ansi-color. Use python--set-prompt-regexp to set the comint
4256 prompt based on the Python interpreter.
4257 (python--prompt-regexp): New var.
4258 (python-check-comint-prompt)
4259 (python-comint-output-filter-function): Use it.
4260 (run-python): Use a pipe (Bug#5694).
4262 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4264 * progmodes/python.el (python-send-region): Send a different
4265 Python command if Ipython is in use.
4266 (python-check-version): Use a Python command to find the version.
4268 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4270 * mouse.el (mouse-yank-primary): Avoid setting primary when
4271 deactivating the mark (Bug#6872).
4273 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4275 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4276 with "else" (Bug#3991).
4278 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4280 * net/dbus.el: Accept UNIX domain sockets as bus address.
4281 (top): Don't initialize `dbus-registered-objects-table' anymore,
4282 this is done in dbusbind,c.
4283 (dbus-check-event): Adapt test for bus.
4284 (dbus-return-values-table, dbus-unregister-service)
4285 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4288 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4290 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4292 2010-08-22 Juri Linkov <juri@jurta.org>
4294 * simple.el (read-extended-command): New function with the logic
4295 for `completing-read' moved to Elisp from `execute-extended-command'.
4296 Use `function-called-at-point' in `minibuffer-default-add-function'
4297 to get a command name for M-n (bug#5364, bug#5214).
4299 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4301 * startup.el (command-line-1): Issue warning for ignored arguments
4302 --unibyte, etc (Bug#6886).
4304 2010-08-22 Leo <sdl.web@gmail.com>
4306 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4307 (ignore, bright, dim, keyword): Split list of nicknames before
4308 passing to rcirc-add-or-remove (Bug#6894).
4310 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4312 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4314 2010-08-22 Leo <sdl.web@gmail.com>
4316 Fix buffer-list rename&refresh after killing a buffer in ido.
4317 * ido.el: Revert Óscar's.
4318 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4319 Remember the buffers at head, rather than their name.
4320 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4322 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4323 Stefan Monnier <monnier@iro.umontreal.ca>
4325 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4326 extra backslash added to each line (bug#6890).
4328 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4330 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4332 2010-08-22 Glenn Morris <rgm@gnu.org>
4334 * menu-bar.el (menu-bar-games-menu): Add landmark.
4336 2010-08-22 Glenn Morris <rgm@gnu.org>
4338 * align.el (align-regexp): Make group and spacing arguments
4339 use the interactive defaults when non-interactive. (Bug#6698)
4341 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4342 expansion, so as not to need sendmail.
4343 (mail-text-start): Remove declaration.
4344 (rmail-retry-failure): Require sendmail.
4346 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4348 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4350 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4352 * progmodes/flymake.el (flymake-start-syntax-check-process):
4353 Use `start-file-process' in order to let it run also on remote hosts.
4355 2010-08-22 Kenichi Handa <handa@m17n.org>
4357 * files.el: Add `word-wrap' as safe local variable.
4359 2010-08-22 Glenn Morris <rgm@gnu.org>
4361 * woman.el (woman-translate): Case matters. (Bug#6849)
4363 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4365 * simple.el (kill-region): Doc fix (Bug#6787).
4367 2010-08-22 Glenn Morris <rgm@gnu.org>
4369 * calendar/diary-lib.el (diary-header-line-format):
4370 Fit it to the window, not the frame.
4372 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4374 * subr.el (ignore-errors): Add debug declaration.
4376 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4378 * whitespace.el (whitespace-color-off): Remove post-command-hook
4381 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4383 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4385 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4387 * cus-edit.el (custom-group-value-create): Add extra newline
4388 before end line (Bug#6876).
4390 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4392 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4393 when extending it. Before killing on the second click, check if
4394 the buffer is the correct one. Doc fix.
4395 (mouse-secondary-save-then-kill): Allow usage without first
4396 calling mouse-start-secondary, by defaulting to point. Don't save
4397 an empty secondary selection. Doc fix.
4399 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4401 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4402 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4404 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4405 Adjust initialization.
4406 (whitespace-bob-marker, whitespace-eob-marker)
4407 (whitespace-buffer-changed): New vars.
4408 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4409 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4410 (whitespace-post-command-hook, whitespace-display-char-on):
4412 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4413 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4415 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * files.el (locate-file-completion-table): Only list the .el and .elc
4418 extensions if there's no other choice (bug#5955).
4420 * facemenu.el (facemenu-self-insert-data): New var.
4421 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4423 (facemenu-add-face): Use them.
4425 * simple.el (blink-matching-open): Obey forward-sexp-function.
4427 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4429 * simple.el (prog-mode-map): New var.
4430 (prog-indent-sexp): New command.
4432 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4434 * progmodes/prolog.el (smie): Require.
4436 * emacs-lisp/smie.el (smie-default-backward-token)
4437 (smie-default-forward-token): Strip properties.
4438 (smie-next-sexp): Be more careful with associative operators.
4439 (smie-forward-sexp-command): Generalize.
4440 (smie-backward-sexp-command): Simplify.
4441 (smie-closer-alist): New var.
4442 (smie-close-block): New command.
4443 (smie-indent-debug-log): New var.
4444 (smie-indent-offset-rule): Add a few more cases.
4445 (smie-indent-column): New function.
4446 (smie-indent-after-keyword): Use it.
4447 (smie-indent-keyword): Use it.
4448 Fix up the opener code's point position.
4449 (smie-indent-comment): Only applies at BOL.
4450 (smie-indent-debug): New command.
4452 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4453 declarations that are useful before running the macro.
4455 2010-08-18 Joakim Verona <joakim@verona.se>
4457 * image.el (imagemagick-types-inhibit): New variable.
4458 (imagemagick-register-types): New function.
4459 * image-mode.el (image-transform-properties): New function.
4460 (image-transform-set-scale, image-transform-fit-to-height)
4461 (image-transform-set-rotation, image-transform-set-resize)
4462 (image-transform-fit-to-width, image-transform-fit-to-height):
4464 (image-toggle-display-image): Support image transforms.
4466 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4468 * image.el (create-animated-image): Don't add heuristic mask to image
4471 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4473 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4474 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4476 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4480 Font-lock '...' strings, plus various simplifications and fixes.
4481 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4482 (octave-font-lock-close-quotes): New function.
4483 (octave-font-lock-syntactic-keywords): New var.
4484 (octave-mode): Use it. Set beginning-of-defun-function.
4485 (octave-mode-map): Don't override the <foo>-defun commands.
4486 (octave-mode-menu): Pass it directly to easy-menu-define;
4487 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4488 (octave-block-match-alist): Fix up last change so that
4489 octave-close-block uses the more specific keyword.
4490 (info-lookup-mode): Silence byte-compiler.
4491 (octave-beginning-of-defun): Not interactive any more.
4493 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4494 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4495 (octave-completion-at-point-function): Make sure point is within
4497 (octave-reindent-then-newline-and-indent):
4498 Use reindent-then-newline-and-indent.
4499 (octave-add-octave-menu): Remove.
4501 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4503 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4504 (report-emacs-bug-can-use-xdg-email): New functions.
4505 (report-emacs-bug): Set can-xdg-email to result of
4506 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4507 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4510 * net/browse-url.el (browse-url-default-browser): Add cond
4511 for browse-url-xdg-open.
4512 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4514 2010-08-17 Glenn Morris <rgm@gnu.org>
4516 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4517 (c-fontify-recorded-types-and-refs): Define for compiler.
4518 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4521 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4524 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4526 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4528 (tramp-handle-process-file): Call the program in a subshell, in
4529 order to preserve working directory.
4530 (tramp-action-password): Hide password prompt before next run.
4531 (tramp-process-actions): Widen connection buffer for the trace.
4533 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4535 * net/rcirc.el (rcirc-log-process-buffers): New option.
4536 (rcirc-print): Use it.
4537 (rcirc-generate-log-filename): New function.
4538 (rcirc-log-filename-function): Change default to
4539 rcirc-generate-log-filename (Bug#6828).
4541 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4543 * simple.el (deactivate-mark): If select-active-regions is `only',
4544 only set selection for temporarily active regions.
4546 * cus-start.el: Change defcustom for select-active-regions.
4548 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4550 * mouse.el (mouse--drag-set-mark-and-point): New function.
4551 (mouse-drag-track): Use LOCATION arg to push-mark.
4552 Use mouse--drag-set-mark-and-point to take click-count into
4553 consideration when updating point and mark (Bug#6840).
4555 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4558 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4560 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4562 * font-lock.el (lisp-font-lock-keywords-2):
4563 Add combine-after-change-calls, condition-case-no-debug,
4564 with-demoted-errors, and with-silent-modifications (Bug#6025).
4566 2010-08-14 Kevin Ryde <user42@zip.com.au>
4568 * emacs-lisp/copyright.el (copyright-update-year)
4569 (copyright-update): Temporary switch-to-buffer to ensure the
4570 buffer change being queried is visible (Bug#5394).
4572 2010-08-14 Tom Tromey <tromey@redhat.com>
4574 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4577 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4579 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4582 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4584 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4585 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4586 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4587 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4588 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4589 Call menu-bar-set-tool-bar-position.
4591 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4594 comment style (bug#6834).
4595 * progmodes/scheme.el (scheme-mode-syntax-table):
4596 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4597 "b" flag in "' 14b" syntax.
4599 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4600 for (un)commenting the region and performing completion.
4601 (octave-mode-menu): Use standard commands for help and completion.
4602 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4603 (octave-mode): Use define-derived-mode.
4604 Set completion-at-point-functions and don't set columns.
4605 Don't disable adaptive-fill-regexp.
4606 (octave-describe-major-mode, octave-comment-region)
4607 (octave-uncomment-region, octave-comment-indent)
4608 (octave-indent-for-comment): Remove.
4609 (octave-indent-calculate): Rename from calculate-octave-indent.
4610 (octave-indent-line, octave-fill-paragraph): Update caller.
4611 (octave-initialize-completions): No need to make an alist.
4612 (octave-completion-at-point-function): New function.
4613 (octave-complete-symbol): Use it.
4614 (octave-insert-defun): Use define-skeleton.
4616 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4617 (octave-mode-map): Use comment-dwim (bug#6829).
4619 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4621 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4622 indentation of inserted comment.
4624 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4626 * faces.el (region): Add type gtk that uses gtk colors.
4628 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4629 Handle theme-name change.
4631 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4633 * progmodes/sql.el: Version 2.5
4634 (sql-product-alist): Add :prompt-cont-regexp property for several
4636 (sql-prompt-cont-regexp): New variable.
4637 (sql-output-newline-count, sql-output-by-send):
4638 New variables. Record number of newlines in input text.
4639 (sql-send-string): Handle multiple filters and count newlines.
4640 (sql-send-magic-terminator): Count terminator newline.
4641 (sql-interactive-remove-continuation-prompt): Filters output to
4642 remove continuation prompts; one for each newline.
4643 (sql-interactive-mode): Set up new variables, prompt regexp and
4645 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4646 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4648 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * emacs-lisp/pcase.el: New file.
4652 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4654 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4655 as here-document, otherwise the command could exceed maximum
4656 length of command line.
4657 (tramp-handle-vc-registered): Call script accordingly.
4658 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4660 2010-08-10 Kenichi Handa <handa@m17n.org>
4662 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4665 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4667 * emacs-lisp/package.el (package-version-split)
4668 (package--version-first-nonzero, package-version-compare):
4670 (package-directory-list, package-load-all-descriptors)
4671 (package--built-in, package-activate, define-package)
4672 (package-installed-p, package-compute-transaction)
4673 (package-read-all-archive-contents)
4674 (package--add-to-archive-contents, package-buffer-info)
4675 (package-tar-file-info, package-list-packages-internal):
4676 Use version-to-list and version-list-*.
4678 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4679 Use version-to-list.
4680 (package-upload-buffer-internal): Use version-list-<=.
4682 2010-08-09 Kenichi Handa <handa@m17n.org>
4684 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4687 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4689 * tutorial.el (tutorial--default-keys): C-d is now bound to
4690 delete-forward-char (Bug#6826).
4692 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4693 for `double' value of mouse-1-click-follows-link (Bug#6807).
4695 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4697 * replace.el (replace-highlight): Bind isearch-forward and
4698 isearch-error, ensuring that highlighting is updated if the user
4699 switches the search direction (Bug#6808).
4701 * isearch.el (isearch-lazy-highlight-forward): New var.
4702 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4703 (isearch-lazy-highlight-update): Use it.
4705 2010-08-08 Kenichi Handa <handa@m17n.org>
4707 * international/mule.el (define-charset): Store NAME as :base property.
4708 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4709 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4710 current priority. Force using the designation of the specific
4711 charset by adding `charset' text property. Improve the whole algorithm.
4713 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4715 * emulation/pc-select.el (pc-selection-mode-hook)
4716 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4717 (pc-selection-mode): Fix typos in docstrings.
4719 2010-08-08 Kenichi Handa <handa@m17n.org>
4721 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4722 ctext-non-standard-encodings-alist here.
4724 * international/mule.el (ctext-non-standard-encodings-alist):
4725 Add "koi8-r" and "microsoft-cp1251".
4726 (ctext-standard-encodings): New variable.
4727 (ctext-non-standard-encodings-table): List only elements for
4728 non-standard encodings.
4729 (ctext-pre-write-conversion): Adjust for the above change.
4730 Check ctext-standard-encodings.
4732 * international/mule-conf.el (compound-text): Doc fix.
4733 (ctext-no-compositions): Doc fix.
4734 (compound-text-with-extensions): Doc fix.
4736 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4740 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4742 * progmodes/which-func.el (which-func-format): Split help-echo text
4743 into lines, like other mode-line tooltips.
4745 * server.el (server-start): When using TCP sockets, force IPv4
4746 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4748 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4752 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4754 * term.el (term-delimiter-argument-list): Reflow docstring.
4755 (term-read-input-ring, term-write-input-ring, term-send-input)
4756 (term-bol, term-erase-in-display, serial-supported-or-barf):
4757 Fix typos in docstrings.
4759 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4763 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4765 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4767 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4769 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4770 Fix typo in docstring (bug#6747).
4772 2010-08-08 Leo <sdl.web@gmail.com>
4774 * eshell/esh-io.el (eshell-get-target): Better detection of
4775 read-only file (Bug#6762).
4777 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4779 * align.el (align-default-spacing): Doc fix.
4780 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4782 2010-08-08 Stephen Peters <speters@itasoftware.com>
4784 * calendar/icalendar.el
4785 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4786 (icalendar--get-weekday-numbers): New.
4787 (icalendar--convert-recurring-to-diary): Handle multiple byday
4788 values in weekly rules. (Bug#6766)
4790 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4792 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4793 (icalendar--create-uid, icalendar-export-region)
4794 (icalendar--parse-summary-and-rest): Code formatting.
4796 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4798 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4799 to italicize headers.
4800 (calc-highlight-selections-with-faces): New variable.
4801 (calc-selected-face, calc-nonselected-face): New faces.
4803 * calc/calccomp.el (math-comp-highlight-string): Use
4804 `calc-highlight-selections-with-faces' to determine how to highlight
4807 * calc/calc-sel.el (calc-show-selections): Change message to when
4808 using faces to highlight selections.
4810 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4812 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4813 Add SQLite 3 keywords, functions and datatypes.
4814 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4817 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4819 * simple.el (select-active-regions): Move to keyboard.c.
4820 (deactivate-mark): Used saved-region-selection.
4821 (select-active-region): Function removed.
4822 (activate-mark, set-mark, push-mark-command)
4823 (handle-shift-selection): Don't call it.
4824 (keyboard-quit): Avoid adding the region to the window selection.
4826 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4827 select-active-regions implementation.
4828 (mouse-yank-at-click): Doc fix.
4830 * cus-start.el: Add custom declaration for select-active-regions.
4832 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4834 * simple.el (delete-forward-char): Doc fix.
4836 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4837 after reading the tutorial.
4839 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4841 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4842 for the case that a C style comment has its delimiters alone on
4843 their respective lines.
4845 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4847 * net/tramp.el (tramp-handle-start-file-process): Set connection
4849 (tramp-process-sentinel): Use it for flushing the cache. We
4850 cannot do it via the process buffer, the buffer could be deleted
4851 already when running the sentinel.
4853 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4855 * comint.el (comint-mode): Make directory tracking functions
4856 functional on remote files. (Bug#6764)
4858 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4860 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4862 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4864 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4865 unexec.c => unexcoff.c.
4867 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4868 unexec.c => unexcoff.c.
4870 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4872 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4873 cache, not only file cache.
4874 (tramp-process-sentinel): New defun.
4875 (tramp-handle-start-file-process): Use it, in order to invalidate
4878 2010-08-03 Leo <sdl.web@gmail.com>
4880 * server.el (server-start): Simplify loop.
4882 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * frame.el (screen-height, screen-width, set-screen-width)
4885 (set-screen-height): Remove ancient compatibility aliases.
4887 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4888 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4890 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4891 that change current buffer.
4893 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4895 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4896 beginning of the string. Use `string-match-p'. (Bug#6765)
4898 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4900 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4902 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4904 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4905 (package--builtins): Tweak descriptions.
4906 (package-print-package): Upcase descriptions if necessary.
4907 Show all built-in packages in font-lock-builtin-face.
4908 (package-list-packages-internal): Omit "emacs" package.
4909 Show status of built-in packages as "built-in".
4911 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4913 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4914 before killing to preserve the primary selection (Bug#6701).
4916 * term/x-win.el (x-select-text): Doc fix.
4918 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4920 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4921 The following functions were modified or created:
4923 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4924 (objc-font-lock-extra-types):
4925 * progmodes/cc-mode.el (c-basic-common-init):
4926 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4927 (c++-make-template-syntax-table)
4928 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4929 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4930 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4931 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4932 * progmodes/cc-fonts.el (c-make-inverse-face)
4933 (c-basic-matchers-after):
4934 * progmodes/cc-engine.el (c-forward-keyword-clause)
4935 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4936 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4937 (c-guess-continued-construct, c-guess-basic-syntax):
4939 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4941 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4943 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4945 * files.el (bidi-paragraph-direction): Define safe local values.
4947 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4948 language-info-alist. Remove outdated FIXME in a comment.
4950 2010-07-31 Alan Mackenzie <acm@muc.de>
4952 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4953 Auto-fill broken in C/C++ modes.
4955 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4957 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4958 (menu-bar-showhide-tool-bar-menu-customize-disable)
4959 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4960 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4961 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4962 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4963 make a menu for Options => toolbar that can move it.
4965 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4967 * emacs-lisp/package-x.el (package--make-rss-entry):
4968 (package-maint-add-news-item, package--update-news)
4969 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4971 * emacs-lisp/package.el (package-archive-url): Rename from
4973 (package-install): Doc fix.
4974 (package-download-single, package-download-tar, package-install)
4975 (package-menu-view-commentary): Callers changed.
4977 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4979 * net/tramp.el (tramp-handle-start-file-process): Check only for
4980 `remote-tty' process property.
4981 (tramp-open-shell): Don't check for tty.
4982 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4985 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4988 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4990 * emacs-lisp/package.el (package-load-list, package-archives)
4991 (package-archive-contents, package-user-dir)
4992 (package-directory-list, package--builtins, package-alist)
4993 (package-activated-list, package-obsolete-alist): Mark as risky.
4995 2010-07-28 Phil Hagelberg <phil@evri.com>
4997 Add support for non-default package repositories.
4998 * emacs-lisp/package.el (package-archive-base): Var deleted.
4999 (package-archives): New variable.
5000 (package-archive-contents): Doc fix.
5001 (package-load-descriptor): Do nothing if descriptor file is missing.
5002 (package--write-file-no-coding): New function.
5003 (package-unpack-single): Use it.
5004 (package-archive-id): New function.
5005 (package-download-single, package-download-tar)
5006 (package-menu-view-commentary): Use it.
5007 (package-installed-p): Make second argument optional.
5008 (package-read-all-archive-contents): New function.
5009 (package-initialize): Use it.
5010 (package-read-archive-contents): Add ARCHIVE argument.
5011 (package--add-to-archive-contents): New function.
5012 (package-install): Don't call package-read-archive-contents.
5013 (package--download-one-archive): Store archive file in a
5014 subdirectory of package-user-dir.
5015 (package-menu-execute): Remove spurious line movement.
5017 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5019 * cus-start.el (tool-bar-style): Add text-image-horiz.
5021 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5023 * progmodes/gud.el (gud-common-init): Check for remoteness of
5024 `file', and not of `default-directory'.
5026 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5028 * net/tramp.el (tramp-methods): Move hostname to the end in all
5029 ssh `tramp-login-args'.
5030 (tramp-verbose): Describe verbose level 9.
5031 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5032 (tramp-open-connection-setup-interactive-shell): Trace stty
5033 settings if `tramp-verbose' >= 9.
5034 (tramp-handle-start-file-process): Implement tty setting.
5035 (Bug#4604, Bug#6360)
5037 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5038 `tramp-verbose' to 9.
5040 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5042 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5043 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5044 Remove references to package `lisp-re' (bug#4369).
5046 2010-07-27 Tom Tromey <tromey@redhat.com>
5048 * progmodes/js.el (js-mode):
5049 * progmodes/make-mode.el (makefile-mode):
5050 * progmodes/simula.el (simula-mode):
5051 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5053 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5055 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5057 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5058 (display-time-world-buffer-name, display-time-world-mode-map):
5059 Fix typos in docstrings.
5061 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5063 * image-mode.el (image-display-size): New function.
5064 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5065 (image-mode-fit-frame): Use it (Bug#6639).
5067 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5069 * dired.el (dired-buffers-for-dir): Handle list values of
5070 dired-directory (Bug#6636).
5072 2010-07-26 Sam Steingold <sds@gnu.org>
5074 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5075 Do not call `x-get-selection' the second time, reuse the value.
5077 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5079 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5080 which consist of control chars only. Suggested by Richard Stallman.
5082 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5084 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5085 exists before passing an error to find-file-not-found-functions
5088 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5090 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5091 Remove leading nil element, adjust values.
5092 (tetris-shapes, tetris-shape-scores):
5093 Change representation of shapes and remove some redundancy.
5094 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5095 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5096 Adjust for working with new representation of shapes.
5097 (tetris-shape-rotations): New function.
5098 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5099 (tetris-rotate-prev, tetris-rotate-next):
5100 Adjust for working with the new version of tetris-test-shape.
5102 2010-07-23 Markus Triska <markus.triska@gmx.at>
5104 * progmodes/ps-mode.el: Use comint (bug#5954).
5105 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5106 (ps-mode-other-newline): Simplify.
5107 (ps-run-mode): Derive from comint-mode instead of
5108 fundamental-mode, yielding input history etc.
5109 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5110 (ps-run-send-string): Adapt for comint-mode.
5111 (ps-run-newline): Remove now unneeded function.
5113 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5115 * net/tramp.el (tramp-methods): Move hostname to the end in all
5116 plink `tramp-login-args'.
5118 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5120 * net/tramp.el (tramp-open-shell): New defun.
5121 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5124 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5126 * net/tramp.el (tramp-file-name-regexp-unified)
5127 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5128 not regard the volume letter as remote filename. (Bug#5447)
5130 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5132 * custom.el (custom-declare-variable): Give a clearer error message
5133 when the docstring is missing (bug#6476).
5135 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5137 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5138 (sql-login-params): New widget definition.
5139 (sql-oracle-login-params, sql-mysql-login-params)
5140 (sql-solid-login-params, sql-sybase-login-params)
5141 (sql-informix-login-params, sql-ingres-login-params)
5142 (sql-ms-login-params, sql-postgres-login-params)
5143 (sql-interbase-login-params, sql-db2-login-params)
5144 (sql-linter-login-params): Use it.
5145 (sql-sqlite-login-params): Use it; Define "database" parameter as
5147 (sql-sqlite-program): Change to "sqlite3".
5148 (sql-comint-sqlite): Make sure database name is complete.
5149 (sql-for-each-login): New function.
5150 (sql-connect, sql-save-connection): Use it.
5151 (sql-get-login-ext): New function.
5152 (sql-get-login): Use it.
5153 (sql-make-alternate-buffer-name): Handle :file parameters.
5155 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5157 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5158 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5160 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5162 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5164 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5166 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5168 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5170 * net/tramp.el (tramp-get-ls-command)
5171 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5174 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5176 * progmodes/sql.el: Version 2.3.
5177 (sql-connection-alist): Changed keys from symbols to strings;
5178 enhanced the widget definition.
5179 (sql-mode-menu): Added submenu to select connections.
5180 (sql-interactive-mode-menu): Added "Save Connection" item.
5181 (sql-add-product): Fixed menu item.
5182 (sql-get-product-feature): Improved error handling.
5183 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5184 (sql-make-alternate-buffer-name): Simplified.
5185 (sql-product-interactive): Handle missing product.
5186 (sql-connect): Support string keys, minor improvements.
5187 (sql-save-connection): New function.
5188 (sql-connection-menu-filter): New function.
5190 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5192 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5193 (tramp-open-connection-setup-interactive-shell): Apply
5194 workaround for IRIX64 bug. Move argument of last
5195 `tramp-send-command' where it belongs to.
5197 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5199 * net/tramp.el (tramp-perl-file-attributes)
5200 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5201 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5202 front of `login-args'.
5204 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5206 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5207 Set `show-trailing-whitespace' to nil.
5208 (display-time-world-display): Simplify.
5210 2010-07-18 Alan Mackenzie <acm@muc.de>
5212 Enhance `c-file-style' in file/directory local variables.
5213 * progmodes/cc-mode.el (c-count-cfss): New function.
5214 (c-before-hack-hook): Call `c-set-style' differently according to
5215 whether c-file-style was set in file or directory local
5218 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5220 * progmodes/sql.el: Version 2.2.
5221 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
5222 defcustom :safe keyword rather than putting safe-local-variable
5224 (sql-password): Use defcustom :risky keyword rather than putting
5225 risky-local-variable property.
5226 (sql-oracle-login-params, sql-sqlite-login-params)
5227 (sql-solid-login-params, sql-sybase-login-params)
5228 (sql-informix-login-params, sql-ingres-login-params)
5229 (sql-ms-login-params, sql-postgres-login-params)
5230 (sql-interbase-login-params, sql-db2-login-params)
5231 (sql-linter-login-params): Add `port' option.
5232 (sql-get-product-feature): Added NO-INDIRECT parameter.
5233 (sql-comint-oracle, sql-comint-sybase)
5234 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5235 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5236 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5237 (sql-comint-linter): Renamed sql-connect-* functions to
5239 (sql-product-alist, sql-mode-menu): Renamed as above and
5240 :sqli-connect-func to :sqli-comint-func.
5241 (sql-connection): New variable.
5242 (sql-interactive-mode): Set it.
5243 (sql-connection-alist): New variable.
5244 (sql-connect): New function.
5245 (sql--alt-buffer-part, sql--alt-if-not-empty)
5246 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5248 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5250 * image-mode.el (image-bookmark-make-record): Do not set context
5251 in an image (Bug#6650).
5253 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5255 * simple.el (select-active-region): New function.
5256 (push-mark-command, set-mark, activate-mark)
5257 (handle-shift-selection): Use it.
5258 (deactivate-mark): Don't check for size of region.
5260 * mouse.el (mouse-drag-track): Use select-active-region.
5262 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5264 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5267 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5269 * term/x-win.el (x-select-enable-primary): Change default to nil.
5270 (x-select-enable-clipboard): Add :version keyword.
5272 * mouse.el (mouse-drag-copy-region):
5273 * simple.el (select-active-regions): Likewise.
5275 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5277 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5278 (vc-coding-system-for-diff): Use it to decide whether to inherit
5279 from the file the EOL format for reading the diffs of that file.
5282 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5284 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5285 unibyte, so compressed attachments are not compressed again.
5287 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5289 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5290 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5291 (tramp-find-shell): Simplify setting connection property.
5292 (tramp-get-ls-command): Make test for "--color=never" stronger.
5294 2010-07-15 Simon South <ssouth@member.fsf.org>
5296 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5297 blocks within record declarations (i.e. variant parts) correctly.
5299 2010-07-15 Simon South <ssouth@member.fsf.org>
5301 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5302 over literal tokens when parsing so newlines aren't "absorbed" by
5303 single-line comments. Corrects the indentation of case blocks
5304 that have a comment on the first line.
5306 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5308 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5309 by Drew Adams (Bug#5504).
5311 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5313 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5314 now that Unicode is used (Bug#6594).
5316 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5318 * term/x-win.el (x-select-enable-clipboard): Default to t.
5319 (x-initialize-window-system): Don't overwrite Paste menu item.
5321 * simple.el (select-active-regions): Default to t.
5322 (push-mark-command): Don't overwrite primary with empty string.
5324 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5325 (mouse-drag-copy-region): Default to nil.
5327 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5328 Cut/Copy/Paste menu bar items.
5330 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5332 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5333 Patch applied by Karl Fogel.
5335 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5336 and `bookmark-current-buffer' if they have been already set in
5337 another buffer (e.g gnus-art).
5339 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5340 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5342 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5344 * bookmark.el (bookmark-make-record-default): Allow unneeded
5345 information to be omitted from the record.
5347 Adjust declarations and calls:
5349 * info.el (bookmark-make-record-default): Adjust declaration.
5350 (Info-bookmark-make-record): Adjust call.
5352 * woman.el (bookmark-make-record-default): Adjust declaration.
5353 (woman-bookmark-make-record): Adjust call.
5355 * man.el (bookmark-make-record-default): Adjust declaration.
5356 (Man-bookmark-make-record): Adjust call.
5358 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5360 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5362 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5364 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5365 This is also from Thierry Volpiatto's patch in bug #6444. However,
5366 because it was extraneous to the functional change in that patch,
5367 and causes a re-indendation, I am committing it separately.
5369 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5371 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5372 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5373 Patch applied by Karl Fogel (Bug#6444).
5375 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5377 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5379 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5381 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5382 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5383 (ns-alternatives-map): Change S-tab binding to backtab
5386 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5389 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5391 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5394 * language/tv-util.el (tai-viet-re): Remove format.
5396 2010-07-12 Kenichi Handa <handa@m17n.org>
5398 * language/hebrew.el: Remove no-byte-compile declaration.
5399 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5400 composition-function-table for 3-character looking back.
5401 (hebrew-font-get-precomposed): New function.
5402 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5404 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5406 * mouse.el (mouse-drag-track): Handle select-active-regions
5409 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5411 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5412 empty argument to gvfs-copy.
5414 2010-07-10 Glenn Morris <rgm@gnu.org>
5416 * calendar/calendar.el (calendar-week-end-day): New function.
5417 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5418 Respect calendar-week-start-day. (Bug#6606)
5419 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5420 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5421 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5422 respect calendar-week-start-day.
5424 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5426 * simple.el (use-region-p): Doc fix (Bug#6607).
5428 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5430 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5431 regexps for cucumber and ruby.
5433 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5435 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5436 (epa-file-insert-file-contents): Hack to prevent
5437 find-file from opening empty buffer when decryption failed
5440 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5442 * textmodes/ispell.el (ispell-alternate-dictionary):
5443 Use file-readable-p.
5444 Return nil if no word-list is found at default locations.
5445 (ispell-complete-word-dict): Default to nil.
5446 (ispell-command-loop): Use 'word-list' when using lookup-words.
5447 (lookup-words): Use ispell-complete-word-dict or
5448 ispell-alternate-dictionary. Check for word-list availability
5449 and handle errors if needed with better messages (Bug#6539).
5450 (ispell-complete-word): Use ispell-complete-word-dict or
5451 ispell-alternate-dictionary.
5453 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5455 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5456 builtins (BufferError, BytesWarning, WindowsError; callables
5457 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5459 2010-07-07 Glenn Morris <rgm@gnu.org>
5461 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5462 (zone-shift-left): Ignore intangibility, and any errors from
5464 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5465 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5466 deleting, and copying text properties.
5467 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5468 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5469 to point-max is hard.
5470 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5471 (zone-fill-out-screen): Ignore intangibility.
5473 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5475 * menu-bar.el (menu-bar-mode):
5476 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5479 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5480 word/line selection (Bug#6565).
5482 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5484 * net/dbus.el (dbus-send-signal): Declare function.
5486 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5488 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5489 (dbus-register-property): New optional argument EMITS-SIGNAL.
5490 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5492 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5494 * mouse.el (mouse-drag-overlay): Variable deleted.
5495 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5496 (mouse--remap-link-click-p): New function.
5497 (mouse-drag-track): Handle dragging by using temporary Transient
5498 Mark mode, instead of a special overlay.
5499 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5502 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5505 2010-07-02 Juri Linkov <juri@jurta.org>
5507 * autoinsert.el (auto-insert-alist): Fix readability
5508 by using dotted pair notation for lambda.
5510 2010-07-02 Juri Linkov <juri@jurta.org>
5512 * faces.el (read-face-name): Rename arg `string-describing-default'
5513 to `default'. Doc fix. Display the default value in quotes
5514 in the prompt. With empty input, return the `default' arg,
5515 unless the default value is a string (in which case return nil).
5516 (describe-face): Replace the string `default' arg of `read-face-name'
5517 with the symbol `default'.
5519 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5521 * emulation/viper-cmd.el (viper-delete-backward-char)
5522 (viper-del-backward-char-in-insert)
5523 (viper-del-backward-char-in-replace, viper-change)
5524 (viper-backward-indent): Replace delete-backward-char with
5525 delete-char (Bug#6552).
5527 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5529 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5531 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5533 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5534 argument passed to frame-creation-function (Bug#5378).
5536 * faces.el (x-handle-named-frame-geometry)
5537 (x-handle-reverse-video, x-create-frame-with-faces)
5538 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5539 separately consult default-frame-alist. It is now passed as the
5542 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5544 * startup.el (command-line): Don't call tool-bar-setup in a
5547 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5549 * ruler-mode.el (ruler--save-header-line-format): New fun.
5550 (ruler-mode): Use it as a setter function, so as not to overwrite
5551 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5553 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5555 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5556 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5557 (vc-log-outgoing): Use it.
5558 (vc-diff-internal): Set diff-vc-backend.
5560 * vc/diff-mode.el (diff-vc-backend): New var.
5562 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5564 * dynamic-setting.el (font-setting-change-default-font): Remove
5567 2010-06-28 Kenichi Handa <handa@m17n.org>
5569 * international/quail.el (quail-insert-kbd-layout): Fix the
5570 showing of untranslated characters.
5572 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5574 * simple.el (delete-active-region): New option.
5575 (delete-backward-char): Implement in Lisp.
5576 (delete-forward-char): New command.
5578 * mouse.el (mouse-region-delete-keys): Deleted.
5579 (mouse-show-mark): Simplify.
5581 * bindings.el (global-map): Bind delete and DEL, the former to
5582 delete-forward-char.
5584 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5586 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5587 (ruby-mode): Bind indent-line-function (Bug#5119).
5589 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5591 * startup.el (command-line): Recognize "0" X resource value.
5593 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5595 * startup.el (command-line): Use X resources to set the value of
5596 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5598 * menu-bar.el (menu-bar-mode):
5599 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5600 Set init-value to t.
5602 * frame.el (frame-notice-user-settings): Don't change
5603 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5604 vice versa (Bug#2249).
5606 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5608 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5610 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5612 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5613 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5615 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5616 default directories are expanded (Bug#6143).
5618 2010-06-24 Juri Linkov <juri@jurta.org>
5620 * minibuffer.el (completions-format): Change default from nil to
5621 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5623 2010-06-24 Juri Linkov <juri@jurta.org>
5625 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5626 buffer-locally to lambda that re-runs the vc diff command.
5629 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5631 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5632 echo area is in use (Bug#3412).
5634 2010-06-22 Glenn Morris <rgm@gnu.org>
5636 * textmodes/texinfmt.el (texinfo-format-region)
5637 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5638 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5639 (texinfo-format-option, texinfo-noindent):
5640 Use line-beginning-position and line-end-position.
5642 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5643 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5644 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5647 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5649 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5650 forward-line fallout.
5652 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5654 * mouse.el (mouse-appearance-menu): Add docstring.
5656 * help.el (describe-key): Print up-event using key-description.
5658 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5660 * net/zeroconf.el (zeroconf-resolve-service)
5661 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5662 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5664 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5666 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5668 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5670 Avoid displaying files with a nil state in vc-dir.
5671 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5672 cases that cause insertion.
5673 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5676 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5678 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5680 2010-06-29 Leo <sdl.web@gmail.com>
5682 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5684 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5686 * generic-x.el (bat-generic-mode): Fix regexp for command line
5687 switches (Bug#5719).
5689 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5691 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5692 of nconc to avoid pure storage error (Bug#6239).
5694 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5696 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5697 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5698 bindings of bookmark-automatically-show-annotations (Bug#6515).
5700 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5702 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5703 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5705 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5707 * comint.el (make-comint, make-comint-in-buffer): Mention return
5708 value in the docstrings. (Bug#6498)
5710 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5712 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5713 since it is not present when using some non-default switches.
5715 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5717 * simple.el (compose-mail): Fix doc string to refer to
5718 `compose-mail-user-agent-warnings', instead of to the
5719 nonexistent `compose-mail-check-user-agent'.
5721 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5723 Fix an indentation bug:
5725 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5726 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5729 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5730 (c-clear->-pair-props-if-match-before): now return t when they've
5731 cleared properties, nil otherwise.
5732 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5733 by taking account of the existing value.
5735 * progmodes/cc-defs.el
5736 (c-clear-char-property-with-value-function): Fix this to clear the
5737 property rather than overwriting it with nil.
5739 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5741 * emacs-lisp/package.el (package-print-package): Add link to
5742 package description via describe-package.
5743 (describe-package-1): List package requirements. Add button to
5744 perform installation.
5745 (package-menu-describe-package): New command.
5747 * help-mode.el (help-package): New button type.
5749 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5751 * emacs-lisp/package.el: Move package-list-packages binding to
5753 (describe-package, describe-package-1, package--dir): New funs.
5754 (package-activate-1): Use package--dir.
5756 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5758 * help-mode.el (help-package-def): New button type.
5760 * menu-bar.el: Move package-list-packages binding here from
5763 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5765 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5767 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5769 * emacs-lisp/edebug.el (edebug-read-list):
5770 Phase out old-style backquotes.
5772 2010-06-17 Juri Linkov <juri@jurta.org>
5774 * help-mode.el (help-mode): Set buffer-local variable
5775 revert-buffer-function to help-mode-revert-buffer.
5776 (help-mode-revert-buffer): New function.
5778 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5779 before popping to "*info*" (like in other Info functions).
5780 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5781 old-history-forward. Pop to old-buffer-name or "*info*" to
5782 recreate the killed buffer. Set Info-history-forward from
5783 old-history-forward.
5784 (Info-breadcrumbs-depth): Add :group and :version.
5786 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5788 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5790 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5792 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5793 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5795 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5797 * emacs-lisp/package.el (package-menu-mode-map):
5798 Move initialization into declaration.
5800 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5802 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5804 * emacs-lisp/package.el (package-archive-base): Point to
5806 (package-enable, package-load-list): New defcustoms.
5807 (package-user-dir, package-directory-list): Turn into defcustoms.
5808 Don't include package-user-dir in package-directory-list.
5809 (package--builtins-base): Don't include Emacs as a "package".
5810 (package-subdirectory-regexp): New var.
5811 (package-load-all-descriptors, package-compute-transaction)
5812 (package-download-transaction): Obey package-load-list.
5813 (package-activate-1): Rename from package-do-activate.
5814 (package-list-packages-internal): Check package-load-list.
5815 (package-load-descriptor, package-generate-autoloads)
5816 (package-unpack, package-unpack-single)
5817 (package--read-archive-file, package-delete): Use
5820 * emacs-lisp/package-x.el: New file. Package uploading
5821 functionality split out from package.el.
5823 * startup.el (command-line): Load packages after reading init file.
5825 2010-06-17 Tom Tromey <tromey@redhat.com>
5827 * emacs-lisp/package.el: New file.
5829 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5831 Fix vc-annotate for renamed files when using Git.
5832 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5833 ls-files. Doe not pass the object as a file name to cat-file, it
5835 (vc-git-annotate-command): Pass the file name using -- to avoid
5836 ambiguity with the revision.
5837 (vc-git-previous-revision): Pass a relative file name.
5839 2010-06-22 Glenn Morris <rgm@gnu.org>
5841 * progmodes/js.el (js-mode-map): Use standard capitalization and
5842 ellipses for menu entries.
5844 * wid-edit.el (widget-complete): Doc fix.
5846 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5848 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5850 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5852 Fix annotating other revisions for renamed files in vc-annotate.
5853 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5854 VC backend. Use it when non-nil.
5855 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5858 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5859 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5860 Do not pass the file name to the 'previous-revision call when we
5861 don't want a file diff. (Bug#6489)
5863 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5865 Fix finding revisions for renamed files in vc-annotate.
5866 * vc/vc.el (vc-find-revision): Add an optional argument for
5867 the VC backend. Use it when non-nil.
5868 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5869 backend to vc-find-revision. (Bug#6487)
5871 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5873 Fix reading file names in Git annotate buffers.
5874 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5875 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5877 2010-06-20 Alan Mackenzie <acm@muc.de>
5879 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5880 in file local variables, set it first.
5882 2010-06-19 Glenn Morris <rgm@gnu.org>
5884 * descr-text.el (describe-char-unicode-data): Insert separating
5885 space when needed. (Bug#6422)
5887 * progmodes/idlwave.el (idlwave-action-and-binding):
5888 Fix typo in 2009-12-03 change. (Bug#6450)
5890 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5892 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5893 handling for `lambda' (misunderstanding).
5895 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5897 * calc/calc-poly.el (math-accum-factors): Make sure that
5898 constants aren't distributed after they are factored out.
5900 2010-06-16 Juri Linkov <juri@jurta.org>
5902 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5903 `list-colors-print'. (Bug#6332)
5905 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5907 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5909 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5910 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5912 * font-lock.el (font-lock-major-mode): Rename from
5913 font-lock-mode-major-mode to distinguish it from
5914 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5915 (font-lock-set-defaults):
5916 * font-core.el (font-lock-default-function): Adjust users.
5917 (font-lock-mode): Don't set it at all.
5919 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5923 2010-06-16 Glenn Morris <rgm@gnu.org>
5925 * calendar/appt.el (appt-time-msg-list): Doc fix.
5926 (appt-check): Let-bind appt-warn-time.
5927 (appt-add): Make the 3rd argument optional.
5928 Simplify argument names. Doc fix. Check for integer WARNTIME.
5929 Only add WARNTIME to the output list if non-nil.
5931 2010-06-16 Ivan Kanis <apple@kanis.eu>
5933 * calendar/appt.el (appt-check): Let the 3rd element of
5934 appt-time-msg-list specify the warning time.
5935 (appt-add): Add new argument with the warning time. (Bug#5176)
5937 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5939 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5940 older than version 1.6. (Bug#6361)
5942 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5944 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5945 used by cl-do-arglist. (Bug#6408)
5947 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5949 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5950 portuguese casechars/not-casechars for missing 'çÇ'.
5951 Suggested by Rolando Pereira (bug#6434).
5953 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5955 * facemenu.el (list-colors-sort): Doc fix.
5957 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5959 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5961 2010-06-14 Juri Linkov <juri@jurta.org>
5963 Add sort option `list-colors-sort'. (Bug#6332)
5964 * facemenu.el (color-rgb-to-hsv): New function.
5965 (list-colors-sort): New defcustom.
5966 (list-colors-sort-key): New function.
5967 (list-colors-display): Doc fix. Sort list according to the option
5969 (list-colors-print): Add HSV values to `help-echo' property of
5972 2010-06-14 Juri Linkov <juri@jurta.org>
5974 * compare-w.el: Move to the "vc" subdirectory.
5976 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5978 * image-mode.el (image-mode-map): Remap left-char and right-char.
5980 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5982 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5984 * term/common-win.el (x-colors): Add all the color names defined
5985 in rgb.txt (Bug#6332).
5987 * facemenu.el (list-colors-print): Don't print extra names if it
5988 will overflow the window width.
5990 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5993 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5995 * files.el (make-directory): Doc fix (bug#6396).
5997 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5999 * net/tramp.el (tramp-remote-process-environment): Protect version
6000 string by apostroph.
6001 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6003 (tramp-file-name-for-operation): Add `call-process-region'.
6004 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6006 * net/tramp-compat.el (top): Do not autoload
6007 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6008 only when `start-file-process' is not bound.
6009 (tramp-advice-file-expand-wildcards): Do not use
6010 `tramp-handle-file-remote-p'.
6011 (tramp-compat-make-temp-file): Handle the case, that
6012 `make-temp-file' has no third argument EXTENSION.
6014 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6016 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6018 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6020 2010-06-11 Juri Linkov <juri@jurta.org>
6022 * finder.el (finder-known-keywords): Add keyword "vc"
6023 for version control.
6025 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6026 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6027 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6028 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6030 2010-06-11 Juri Linkov <juri@jurta.org>
6032 Move version control related files to the "vc" subdirectory.
6033 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6034 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6035 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6036 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6037 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6038 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6039 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6040 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6041 Move files to the "vc" subdirectory.
6043 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6045 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6048 2010-06-11 Stephen Eglen <stephen@gnu.org>
6050 * shell.el: Bind `shell-resync-dirs' to M-RET.
6052 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6054 * notifications.el: Move file from lisp/net, because it is
6055 supposed to talk locally to the user.
6057 2010-06-10 Julien Danjou <julien@danjou.info>
6059 * net/notifications.el (notifications-on-action-signal)
6060 (notifications-on-closed-signal): Pass notification id as first
6061 argument to the callback functions. Add docstrings.
6062 (notifications-notify): Fix docstring.
6064 2010-06-10 Glenn Morris <rgm@gnu.org>
6066 * emacs-lisp/authors.el (authors-ignored-files)
6067 (authors-valid-file-names): Add some files.
6069 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6071 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6072 merge conflict, giving preference to the emacs-23 version of the code.
6074 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6076 * emacs-lisp/advice.el (ad-compile-function):
6077 Define warning-suppress-types before we let-bind it (bug#6275).
6079 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6080 declare it, make it buffer-local and permanent-local (bug#6324).
6081 (vc-resynch-window): Adjust name.
6082 * vc-hooks.el (vc-find-file-hook): Adjust name.
6084 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6086 * net/notifications.el (notifications-notify): Fix docstring.
6088 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6090 Update to Unicode 6.0.0 beta.
6091 * international/charprop.el: Update copyright.
6092 * international/mule-cmds.el (ucs-names): Update character ranges.
6093 * international/uni-bidi.el:
6094 * international/uni-category.el:
6095 * international/uni-combining.el:
6096 * international/uni-comment.el:
6097 * international/uni-decimal.el:
6098 * international/uni-decomposition.el:
6099 * international/uni-digit.el:
6100 * international/uni-lowercase.el:
6101 * international/uni-mirrored.el:
6102 * international/uni-name.el:
6103 * international/uni-numeric.el:
6104 * international/uni-old-name.el:
6105 * international/uni-titlecase.el:
6106 * international/uni-uppercase.el: Regenerate.
6108 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6110 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6111 (smie-precs-precedence-table): Fix typo in docstring.
6113 * vc-mtn.el (log-edit-extract-headers): Declare function.
6115 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6117 * net/notifications.el (dbus-register-signal): Declare function.
6118 (notifications-notify): Fix typos and reflow docstring.
6120 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6122 Improve VC create/retrieve tag/branch.
6123 * vc.el (vc-create-tag): Do not read the directory name for VCs
6124 with repository revision granularity. Adjust the tag/branch
6125 prompt. Reset VC properties.
6126 (vc-retrieve-tag): Do not read the directory name for VCs
6127 with repository revision granularity. Reset VC properties.
6129 2010-06-09 Julien Danjou <julien@danjou.info>
6131 * net/notifications.el: New file.
6133 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6135 Add optional support for resetting VC properties.
6136 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6137 call vc-file-clearprops when true.
6138 (vc-resynch-buffer): Add new optional argument, pass it down.
6139 (vc-resynch-buffers-in-directory): Likewise.
6141 Improve support for special markup in the VC commit message.
6142 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6143 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6144 * vc-git.el (vc-git-checkin):
6145 * vc-bzr.el (vc-bzr-checkin): Likewise.
6147 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6149 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6150 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6152 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6154 * iimage.el: Remove images as soon as the underlying text is modified.
6155 (iimage-modification-hook): New function.
6156 (iimage-mode-buffer): Use it.
6158 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6161 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6162 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6163 (smie-indent-keyword): Add handling of open-paren keywords.
6164 (smie-indent-comment-continue): Don't assume comment-continue.
6166 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6168 * window.el (pop-to-buffer): Remove the conditional that
6169 compares new-window and old-window, so it will reselect
6170 the selected window unconditionally.
6171 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6173 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * emacs-lisp/smie.el (smie-indent-offset-after)
6176 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6177 (smie-indent-after-keyword): Use them.
6178 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6179 (smie-indent-keyword): Tweak the black magic.
6180 (smie-indent-comment-continue): Strip comment-continue before use.
6181 (smie-indent-functions): Indent comments before keywords.
6183 2010-06-06 Juri Linkov <juri@jurta.org>
6185 * isearch.el (isearch-lazy-highlight-search): Fix looping
6186 by checking for empty match. This syncs this loop with the
6187 similar loop in `isearch-search'. (Bug#6362)
6189 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6191 * net/dbus.el (dbus-register-method): Declare function.
6192 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6193 (dbus-introspect): Doc fix.
6194 (dbus-event-bus-name, dbus-introspect-get-interface)
6195 (dbus-introspect-get-argument): Reflow docstrings.
6197 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6199 vc-log-incoming/vc-log-outgoing fixes for Git.
6200 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6201 incoming/outgoing logs.
6202 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6203 instead of vc-git-compute-remote.
6204 (vc-git-compute-remote): Remove.
6206 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6208 * term/common-win.el (x-colors): Add "dark green" and "dark
6209 turquoise" (Bug#6332).
6211 2010-06-04 Juri Linkov <juri@jurta.org>
6213 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6214 Instead of setting `replace' to t and replacing the same string
6215 with itself, don't do certain actions when
6216 kill-do-not-save-duplicates is non-nil and string is equal to car
6217 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6218 interprogram-paste strings to kill-ring, and don't push the input
6219 argument `string' to kill-ring.
6220 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6222 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6224 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6226 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6228 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6229 (tramp-gvfs-handler-mounted-unmounted)
6230 (tramp-gvfs-connection-mounted-p): Handle default-location.
6232 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6233 move files to trash.
6235 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6237 * international/mule-cmds.el (nonascii-insert-offset)
6238 (nonascii-translation-table): Add obsolescence information.
6240 * international/mule.el (make-translation-table-from-vector): Doc fix.
6242 2010-06-03 Glenn Morris <rgm@gnu.org>
6244 * desktop.el (desktop-clear-preserve-buffers):
6245 Add "*Warnings*" buffer. (Bug#6336)
6247 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6249 vc-log-incoming/vc-log-outgoing improvements for Git.
6250 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6252 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6254 Add bindings for vc-log-incoming and vc-log-outgoing.
6255 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6256 and vc-log-outgoing.
6257 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6258 and vc-log-outgoing.
6260 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6262 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6263 (rcirc-handler-366): Always sort nicknames.
6265 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6267 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6269 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6271 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6273 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6275 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6276 (rcirc-sort-nicknames-join): Avoid setq.
6278 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6280 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6281 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6282 (rcirc-handler-366): Use them.
6284 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6286 Split smie-indent-calculate into more manageable chunks.
6287 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6288 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6289 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6290 (smie-indent-exps): Extract from smie-indent-calculate.
6291 (smie-indent-functions): New var.
6292 (smie-indent-functions): Use them.
6294 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6297 (smie-indent-calculate): Simplify and cleanup.
6299 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6301 * net/tramp-gvfs.el (top): Require url-util.
6302 (tramp-gvfs-mount-point): Remove.
6303 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6305 (with-tramp-dbus-call-method): Format trace message.
6306 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6307 Implement backup call, when operation on local files fails.
6308 Use progress reporter. Flush properties of changed files.
6309 (tramp-gvfs-handle-make-directory): Make more traces.
6310 (tramp-gvfs-url-file-name): Hexify file name in url.
6311 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6312 into account for the resulting file name.
6313 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6314 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6315 (tramp-gvfs-handler-mounted-unmounted)
6316 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6317 attribute "default_location". Set "prefix" property.
6318 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6319 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6320 exists. Raise an error, if not (due to a corresponding answer
6321 "no" in interactive questions, for example).
6323 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6325 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6327 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6329 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6332 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6334 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6335 * vc-git.el (vc-git-compute-remote): New function.
6336 (vc-git-log-outgoing): Use it instead of hard coding a value.
6337 (vc-git-log-incoming): New function.
6339 Improve state updating for VC tag commands.
6340 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6341 to update the state of all buffers in the directory.
6343 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6345 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6348 `file-directory-p' to the filename part rather than to the whole text.
6350 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6352 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6354 2010-05-31 Drew Adams <drew.adams@oracle.com>
6356 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6358 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6360 * subr.el (momentary-string-display): Just use read-event to read
6361 the exit event (Bug#6238).
6363 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6365 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6367 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6369 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6370 Suggested by Eli Zaretskii <eliz@gnu.org>.
6372 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * minibuffer.el (completion-file-name-table): Don't return a boundary
6375 past the end of `string' (bug#6299).
6376 (completion--file-name-table): Delegate to completion-file-name-table
6377 for the `boundaries' case.
6379 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6381 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6384 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6385 `path-separator', but maintain compatibility with Emacs 20.2.
6387 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6389 * server.el (server-process-filter): Receive parent-id argument
6391 (server-create-window-system-frame): New arg. Pass parent-id as
6394 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6396 Bidi-sensitive word movement with arrow keys.
6397 * subr.el (right-arrow-command, left-arrow-command): Move to
6400 * bindings.el (right-char, left-char): Move from subr.el and
6401 rename from right-arrow-command and left-arrow-command.
6402 (right-word, left-word): New functions.
6403 (global-map) <right>: Bind to right-char.
6404 (global-map) <left>: Bind to left-char.
6405 (global-map) <C-right>: Bind to right-word.
6406 (global-map) <C-left>: Bind to left-word.
6408 * ls-lisp.el (ls-lisp-classify-file): New function.
6409 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6410 (ls-lisp-classify): Call ls-lisp-classify-file.
6411 (insert-directory): Remove blanks from switches.
6413 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6415 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6416 (ansi-color-drop-regexp): New constant.
6417 (ansi-color-apply, ansi-color-filter-region)
6418 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6419 (ansi-color-apply): Build string list before calling concat.
6421 2010-05-28 Juri Linkov <juri@jurta.org>
6423 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6424 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6427 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6429 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6430 to ignored backtrace functions.
6431 (with-progress-reporter): Expand docstring.
6432 (tramp-handle-delete-file): Implement TRASH argument.
6433 (tramp-get-remote-trash): New defun.
6435 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6437 * net/tramp-compat.el (tramp-compat-delete-file): Use
6438 `symbol-value' for backward compatibility.
6440 * net/tramp.el (tramp-handle-make-symbolic-link)
6442 (tramp-do-copy-or-rename-file-via-buffer)
6443 (tramp-do-copy-or-rename-file-directly)
6444 (tramp-do-copy-or-rename-file-out-of-band)
6445 (tramp-handle-process-file, tramp-handle-call-process-region)
6446 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6447 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6448 (tramp-delete-temp-file-function): Use `delete-file' instead
6449 of `tramp-compat-delete-file'.
6451 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6452 (tramp-fish-handle-make-symbolic-link)
6453 (tramp-fish-handle-process-file): Use `delete-file' instead
6454 of `tramp-compat-delete-file'.
6456 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6457 `delete-file' instead of `tramp-compat-delete-file'.
6459 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6460 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6461 `tramp-compat-delete-file'.
6463 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6464 `delete-file' instead of `tramp-compat-delete-file'.
6466 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6467 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6468 (tramp-smb-handle-write-region): Use `delete-file' instead of
6469 `tramp-compat-delete-file'.
6470 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6472 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6474 * dired.el (dired-delete-file): New arg TRASH.
6475 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6476 (dired-do-flagged-delete, dired-do-delete): Use trash.
6478 * speedbar.el (speedbar-item-delete): Allow trashing.
6480 * files.el (delete-directory): New arg TRASH.
6482 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6483 (ange-ftp-rename-remote-to-remote)
6484 (ange-ftp-rename-local-to-remote)
6485 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6486 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6488 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6491 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6492 handle new TRASH arg of `delete-file'.
6494 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6495 (tramp-handle-make-symbolic-link, tramp-handle-load)
6496 (tramp-do-copy-or-rename-file-via-buffer)
6497 (tramp-do-copy-or-rename-file-directly)
6498 (tramp-do-copy-or-rename-file-out-of-band)
6499 (tramp-handle-process-file, tramp-handle-call-process-region)
6500 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6501 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6502 (tramp-delete-temp-file-function): Use null TRASH arg in
6503 tramp-compat-delete-file call.
6505 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6506 (tramp-fish-handle-delete-file)
6507 (tramp-fish-handle-make-symbolic-link)
6508 (tramp-fish-handle-process-file): Use null TRASH arg in
6509 `tramp-compat-delete-file' call.
6511 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6512 arg in `tramp-compat-delete-file' call.
6514 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6515 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6516 `tramp-compat-delete-file' call.
6518 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6519 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6520 `tramp-compat-delete-file' call.
6522 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6523 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6524 (tramp-smb-handle-write-region): Use null TRASH arg in
6525 tramp-compat-delete-file call.
6526 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6527 (tramp-smb-handle-delete-file): Rename arg.
6529 * diff.el (diff-sentinel):
6530 * epg.el (epg--make-temp-file, epg-decrypt-string)
6531 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6532 * jka-compr.el (jka-compr-partial-uncompress)
6533 (jka-compr-call-process, jka-compr-write-region):
6534 * server.el (server-sentinel): Remove optional arg from
6535 delete-file, reverting 2010-05-03 change.
6537 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6539 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6540 font-lock-constant-face, not obsolete font-lock-reference-face.
6542 2010-05-27 Kenichi Handa <handa@m17n.org>
6544 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6545 element of GSTRING is nil.
6547 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * emacs-lisp/smie.el (smie-forward-token-function)
6550 (smie-backward-token-function): New vars.
6551 (smie-backward-sexp, smie-forward-sexp)
6552 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6553 (smie-default-backward-token): Rename from smie-backward-token and
6555 (smie-default-forward-token): Rename from smie-forward-token and
6557 (smie-next-sexp): Handle nil results from next-token.
6558 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6560 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6562 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6563 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6565 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6567 * htmlfontify.el (hfy-face-resolve-face): New function.
6568 (hfy-face-to-style): Use it (Bug#6279).
6570 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6573 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6575 2010-05-26 Glenn Morris <rgm@gnu.org>
6577 * emulation/edt.el (edt-load-keys): Use locate-library.
6579 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6581 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6582 (log-edit-changelog-entries): Doc fix.
6583 (log-edit-changelog-insert-entries): Args changed.
6584 Rename relative filenames in ChangeLog entries. Delete tabs.
6585 (log-edit-insert-changelog-entries): Reorganize return value of
6586 `log-edit-changelog-entries' to pass filenames to
6587 log-edit-changelog-insert-entries.
6589 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6591 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6592 `image-dired-dired-insert-marked-thumbs' to
6593 `image-dired-dired-toggle-marked-thumbs'.
6595 * image-dired.el: Require cl when compiling.
6596 (image-dired-dired-toggle-marked-thumbs): Rename from
6597 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6598 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6599 to 'no-dir. Skip files whose names don't match
6600 `image-file-name-regexp'. When file has a thumbnail overlay,
6601 delete it. (Bug#5270)
6603 2010-05-25 Juri Linkov <juri@jurta.org>
6605 * image-mode.el (image-mode): Add image-after-revert-hook to
6607 (image-after-revert-hook): New function. (Bug#5669)
6609 2010-05-25 Juri Linkov <juri@jurta.org>
6611 * image.el (image-animated-p): When delay between animated images
6612 is 0, set it to 10 (0.1 sec). (Bug#6258)
6614 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6616 * net/tramp.el (tramp-handle-insert-directory): Don't use
6617 `forward-word', its default syntax could be changed.
6619 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6621 * net/tramp.el (tramp-progress-reporter-update): New defun.
6622 (with-progress-reporter): Use it.
6623 (tramp-process-actions):
6624 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6625 current message, in order to let progress reporter continue
6626 afterwards. (Bug#6257)
6628 2010-05-25 Glenn Morris <rgm@gnu.org>
6630 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6633 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6635 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6636 (rcirc-default-full-name): Change to "unknown".
6637 (rcirc-user-name-history): Add variable.
6639 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6640 Jonathan Rockway <jon@jrock.us>
6642 * net/rcirc.el (rcirc-server-alist): Add :pass.
6643 (rcirc): When prompting for connection parameters, also prompt for
6644 username and password.
6645 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6646 value to server when connecting.
6648 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6651 (smie-merge-prec2s): Pass the tables as separate args.
6652 (smie-bnf-precedence-table): Adjust call accordingly.
6653 (smie-prec2-levels): Set levels at the end.
6655 Replace Lisp calls to delete-backward-char by delete-char.
6656 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6657 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6658 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6659 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6660 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6661 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6662 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6663 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6664 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6665 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6666 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6667 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6668 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6669 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6670 delete-backward-char by calls to delete-char.
6672 2010-05-25 Kenichi Handa <handa@m17n.org>
6674 * language/hebrew.el (hebrew-shape-gstring): New function.
6675 Register it in composition-function-table for all Hebrew combining
6678 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6680 * epa.el (epa--select-keys): Don't explicitly delete the window since
6681 that can fail (e.g. sole window in frame). Use dedication instead.
6683 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6685 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6687 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6689 * image.el (image-refresh): Define as an alias for image-flush.
6691 * image-mode.el (image-toggle-display-image): Caller changed.
6693 2010-05-21 Juri Linkov <juri@jurta.org>
6695 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6696 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6697 whitespace, call wildcard-to-regexp on substrings and concat them
6698 with "\\|". (Bug#6114)
6700 2010-05-21 Alan Mackenzie <acm@muc.de>
6702 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6703 Replace parameter `here' with `here-' and `here-plus', which sandwich
6704 any pertinent CPP construct.
6705 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6706 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6707 CPP construct from taking part in the scanning.
6709 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6711 * net/tramp.el (tramp-do-copy-or-rename-file)
6712 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6713 Tune `with-progress-reporter' messages.
6714 (tramp-handle-vc-registered):
6715 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6716 (tramp-fish-handle-insert-file-contents)
6717 (tramp-fish-maybe-open-connection):
6718 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6719 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6720 (tramp-imap-handle-insert-file-contents)
6721 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6723 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6725 * add-log.el (change-log-font-lock-keywords):
6726 Highlight all authors in multi-author entries.
6728 * smerge-mode.el (smerge-refine-ignore-whitespace)
6729 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6730 Fix typos in docstrings.
6731 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6733 2010-05-21 Glenn Morris <rgm@gnu.org>
6735 * progmodes/fortran.el (fortran-mode):
6736 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6738 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6739 having a relative path in src/Makefile.in.
6741 2010-05-20 Kevin Ryde <user42@zip.com.au>
6743 * help-mode.el (help-make-xrefs): For Info node links turn
6744 newlines into spaces. Link node names with newlines are matched
6745 by help-xref-info-regexp and buttonized, this change ensures they
6746 can be followed successfully with RET. (Bug#6206)
6748 2010-05-20 Juri Linkov <juri@jurta.org>
6750 * locate.el (locate): Use pop-to-buffer instead of
6751 switch-to-buffer-other-window. (Bug#6204)
6753 2010-05-20 Juri Linkov <juri@jurta.org>
6755 * replace.el (replace-highlight): Fix lazy-highlighting
6756 for `M-s w str M-% str RET'.
6758 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6760 * isearch.el (isearch-yank-word-or-char): Pull next subword
6761 when `subword-mode' is activated. (Bug#6220)
6763 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6765 * isearch.el (isearch-update-post-hook): New hook.
6766 (isearch-update): Use the new hook. (Bug#6225)
6768 2010-05-20 Juri Linkov <juri@jurta.org>
6770 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6771 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6774 2010-05-20 Juri Linkov <juri@jurta.org>
6776 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6779 2010-05-20 Juri Linkov <juri@jurta.org>
6781 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6782 FILE-NAME to read from the minibuffer when called interactively
6783 with prefix argument instead of using buffer-file-name.
6784 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6786 * dired.el: Update autoloads.
6788 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6790 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6791 nxml-finish-element, for consistency with SGML mode.
6793 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6796 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6798 * composite.el: Require cl when compiling.
6799 (reference-point-alist, compose-gstring-for-graphic)
6800 (compose-gstring-for-terminal): Fix typos in docstrings.
6802 2010-05-19 Juri Linkov <juri@jurta.org>
6804 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6805 set-window-parameter.
6807 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6809 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6811 (tramp-maybe-open-connection): Use it.
6813 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6815 * simple.el (move-end-of-line): Make sure we are at line beginning
6816 before backing up to end of previous line.
6818 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6820 * password-cache.el (password-cache-remove): Fix docstring.
6822 * net/secrets.el: Autoload the widget functions.
6823 (secrets-search-items, secrets-create-item)
6824 (secrets-get-attributes, secrets-expand-item): Attributes will be
6825 stored on the password database without leading ":", as all other
6827 (secrets-mode): Fix docstring.
6828 (secrets-show-secrets): Provide it as autoloaded command only when
6829 D-Bus support is available. Check existence of Secret Service API.
6831 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * indent.el (indent-region): Deactivate region (bug#6200).
6835 2010-05-19 Glenn Morris <rgm@gnu.org>
6837 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6839 2010-05-19 Kenichi Handa <handa@m17n.org>
6841 * composite.el: Register compose-gstring-for-graphic in
6842 composition-function-table only for combining characters (Mn, Mc, Me).
6844 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6846 * calc/calc-trail.el (calc-trail-isearch-forward)
6847 (calc-trail-isearch-backward): Ensure that the new window
6848 point is set correctly.
6850 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6852 * subr.el (read-quoted-char): Resolve modifiers after key
6853 remapping (bug#6212).
6855 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6857 Add visualization code for secrets.
6858 * net/secrets.el (secrets-mode): New major mode.
6859 (secrets-show-secrets, secrets-show-collections)
6860 (secrets-expand-collection, secrets-expand-item)
6861 (secrets-tree-widget-after-toggle-function)
6862 (secrets-tree-widget-show-password): New defuns.
6864 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6866 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6867 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6868 handled in smie-next-sexp.
6869 (smie-indent-calculate): Provide a starting indentation (so the
6870 recursion is well-founded ;-).
6872 Fix handling of non-associative equal levels.
6873 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6874 when it's not needed.
6875 (smie-op-left, smie-op-right): New functions.
6876 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6877 Better handle equal levels to distinguish the associative case from
6878 the "multi-keyword construct" case.
6879 (smie-backward-sexp, smie-forward-sexp): Use it.
6881 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6883 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6885 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6886 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6888 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6890 Provide a simple generic indentation engine and use it for Prolog.
6891 * emacs-lisp/smie.el: New file.
6892 * progmodes/prolog.el (prolog-smie-op-levels)
6893 (prolog-smie-indent-rules): New var.
6894 (prolog-mode-variables): Use them to configure SMIE.
6895 (prolog-indent-line, prolog-indent-level): Remove.
6897 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6899 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6900 order before computing the averages.
6902 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6904 * calc/calc-vec.el (calc-histogram):
6905 (calcFunc-histogram): Allow vectors as inputs.
6906 (math-vector-avg): New function.
6908 * calc/calc-ext.el (math-group-float): Have the number of digits
6909 being grouped depend on the radix (Bug#6189).
6911 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6913 * version.el (emacs-copyright, emacs-version): Don't define here,
6914 now that emacs.c defines it.
6916 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6918 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6919 "Describe Language Environment" menu item.
6921 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6923 Bidi-sensitive movement with arrow keys.
6924 * subr.el (right-arrow-command, left-arrow-command): New functions.
6926 * bindings.el (global-map): Bind them to right and left arrow keys.
6928 Don't override standard definition of convert-standard-filename.
6929 * files.el (convert-standard-filename): Call
6930 w32-convert-standard-filename and dos-convert-standard-filename on
6931 the corresponding systems.
6933 * w32-fns.el (w32-convert-standard-filename): Rename from
6934 convert-standard-filename. Doc fix.
6936 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6937 (convert-standard-filename): Don't defalias.
6938 (register-name-alist, make-register, register-value)
6939 (set-register-value, intdos): Obsolete aliases for the
6940 corresponding dos-* functions and variables.
6941 (dos-intdos): Add a doc string.
6943 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6945 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6946 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6947 (math-compose-tex-func):
6948 * calc/calccomp.el (math-compose-expr):
6949 * calc/calc-ext.el (math-format-flat-expr-fancy):
6950 * calc/calc-store.el (calc-read-var-name):
6951 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6953 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6954 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6955 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6956 (math-standard-units): Add units.
6958 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * progmodes/asm-mode.el (asm-mode):
6961 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6963 * pcomplete.el (pcomplete-completions-at-point): New function,
6964 extracted from pcomplete-std-complete.
6965 (pcomplete-std-complete): Use it.
6967 2010-05-15 Glenn Morris <rgm@gnu.org>
6969 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6970 Remove references to CVS, RCS and Old directories.
6972 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6974 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6977 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6980 (sh-mode-syntax-table): Give it a default value instead.
6981 (sh-header-marker): Make buffer-local.
6982 (sh-mode): Move make-local-variable to the corresponding setq.
6983 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6984 Use complete-with-action.
6986 * simple.el (prog-mode): New (abstract) major mode.
6987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6988 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6990 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6992 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6993 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6994 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6995 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6996 (sql-escape-newlines-filter, sql-input-sender)
6997 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6999 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7001 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7003 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7004 latex-open-block and C-c / to latex-close-block.
7006 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7007 and C-c C-e to sgml-close-tag.
7009 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7011 * net/tramp.el (with-progress-reporter): Create reporter object
7012 only when the message would be displayed. Handle nested calls.
7013 (tramp-handle-load, tramp-handle-file-local-copy)
7014 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7015 (tramp-maybe-send-script, tramp-find-shell):
7016 Use `with-progress-reporter'.
7017 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7020 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7021 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7022 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7023 Use `with-progress-reporter'.
7025 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7027 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7028 process everytime when spellchecking from the minibuffer (bug#6143).
7030 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7034 * dos-fns.el: Add "dos-" prefix for namespace control.
7035 (convert-standard-filename): Define as alias for
7036 dos-convert-standard-filename but only if applicable.
7038 2010-05-12 Alan Mackenzie <acm@muc.de>
7040 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7041 Push the mark at the start of these functions when appropriate.
7043 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * minibuffer.el (completion-cycle-threshold): New custom var.
7046 (completion--do-completion): Use it.
7047 (minibuffer-complete): Use cycling if appropriate.
7049 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7051 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7052 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7054 2010-05-11 Juri Linkov <juri@jurta.org>
7056 * scroll-all.el (scroll-all-check-to-scroll):
7057 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7059 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * iimage.el (iimage-mode-map): Move initialization into declaration.
7062 (iimage-mode-buffer): Use with-silent-modifications.
7063 Simplify calling convention. Adjust callers.
7064 (iimage-mode): Don't run hook redundantly.
7066 * minibuffer.el (completion-pcm--pattern->regex):
7067 Fix last change (bug#6160).
7069 2010-05-10 Juri Linkov <juri@jurta.org>
7071 Remove nodes visited during Isearch from the Info history.
7072 * info.el (Info-isearch-initial-history)
7073 (Info-isearch-initial-history-list): New variables.
7074 (Info-isearch-start): Record initial values of
7075 Info-isearch-initial-history and Info-isearch-initial-history-list.
7076 Add Info-isearch-end to isearch-mode-end-hook.
7077 (Info-isearch-end): New function.
7079 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7081 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7082 format string, in order to work around a bug in pdksh.
7083 Reported by Gilles Pion <gpion@lfdj.com>.
7084 (tramp-handle-verify-visited-file-modtime): Do not send a command
7085 when the connection is not established.
7086 (tramp-handle-set-file-times): Simplify the check for utc.
7088 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7090 Fix use of `filter-buffer-substring' (rework previous change).
7091 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7092 (cua-repeat-replace-region):
7093 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7094 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7095 (cua-cut-region-to-global-mark): Use it.
7097 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7099 * progmodes/sql.el: Version 2.1.
7100 (sql-product-alist): Redesign structure of product info.
7101 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7102 (sql-port, sql-port-history): New variables.
7103 (sql-interactive-product): New variable.
7104 (sql-send-terminator): New variable.
7105 (sql-imenu-generic-expression): Add "Types" imenu entry.
7106 (sql-oracle-login-params, sql-sqlite-login-params)
7107 (sql-mysql-login-params, sql-solid-login-params)
7108 (sql-sybase-login-params, sql-informix-login-params)
7109 (sql-ingres-login-params, sql-ms-login-params)
7110 (sql-postgres-login-params, sql-interbase-login-params)
7111 (sql-db2-login-params, sql-linter-login-params)
7112 (sql-oracle-scan-on): New variables.
7113 (sql-mode-map): Add C-c C-i to start interactive mode.
7114 (sql-mode-menu): Update existing menu entries.
7115 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7116 (sql-mode-oracle-font-lock-keywords)
7117 (sql-mode-postgres-font-lock-keywords)
7118 (sql-mode-ms-font-lock-keywords)
7119 (sql-mode-sybase-font-lock-keywords)
7120 (sql-mode-informix-font-lock-keywords)
7121 (sql-mode-interbase-font-lock-keywords)
7122 (sql-mode-ingres-font-lock-keywords)
7123 (sql-mode-solid-font-lock-keywords)
7124 (sql-mode-mysql-font-lock-keywords)
7125 (sql-mode-sqlite-font-lock-keywords)
7126 (sql-mode-db2-font-lock-keywords)
7127 (sql-mode-linter-font-lock-keywords): Update initialization to
7128 reduce run-time complexity.
7129 (sql-add-product, sql-del-product): New functions.
7130 (sql-set-product-feature, sql-get-product-feature): New functions.
7131 (sql-product-font-lock): Update product API.
7132 (sql-add-product-keywords): New function.
7133 (sql-highlight-product): Update product API.
7134 (sql-help-list-products): New function.
7135 (sql-help): Dynamically lists free and non-free products.
7136 (sql-get-login): Correct bug in handling history and added
7138 (sql-copy-column): Copy without properties.
7139 (sqli-input-sender): Apply filters to SQLi input.
7140 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7141 Implement as a filter.
7142 (sql-escape-newlines-filter): Implement as a filter.
7143 (sql-remove-tabs-filter): New function.
7144 (sql-send-magic-terminator): New function.
7145 (sql-send-string): Implement magic terminator.
7146 (sql-send-region): Use `sql-send-string'.
7147 (sql-interactive-mode): Use product API.
7148 (sql-product-interactive): Use product API.
7149 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7150 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7151 (sql-db2, sql-linter): Use `sql-product-interactive'.
7152 (sql-connect): New function.
7153 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7154 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7155 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7156 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7159 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7162 New custom variable.
7163 (completion-pcm--string->pattern): Use it.
7164 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7165 Make it handle any symbol as `any'.
7166 (completion-pcm--merge-completions): Extract common suffix for the new
7167 `prefix' symbol as well.
7168 (completion-substring--all-completions): Use the new `prefix' symbol.
7170 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7172 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7174 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7175 (tramp-compat-funcall): New defmacro.
7176 (tramp-compat-line-beginning-position)
7177 (tramp-compat-line-end-position)
7178 (tramp-compat-temporary-file-directory)
7179 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7180 (tramp-compat-copy-file, tramp-compat-copy-directory)
7181 (tramp-compat-delete-file, tramp-compat-delete-directory)
7182 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7183 * net/tramp.el (top, with-progress-reporter)
7184 (tramp-rfn-eshadow-setup-minibuffer)
7185 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7186 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7187 (tramp-completion-mode-p, tramp-check-for-regexp)
7188 (tramp-open-connection-setup-interactive-shell)
7189 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7190 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7191 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7192 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7193 (tramp-reporter-dump-variable, tramp-load-report-modules)
7194 (tramp-append-tramp-buffers)
7195 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7197 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7199 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7202 buffer-modtime. Adjust users.
7204 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7206 * international/mule.el (auto-coding-alist): Only purecopy
7207 car of each item, not the whole list (Bug#6083).
7209 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7211 * progmodes/js.el (js-mode): Make paragraph variables local before
7212 calling c-setup-paragraph-variables (Bug#6071).
7214 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7216 * composite.el (compose-region, reference-point-alist): Fix typos
7219 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7221 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7222 gnuplot's "set" command.
7224 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7226 * abbrev.el (last-abbrev-text): Doc fix.
7227 (abbrev-prefix-mark): Don't escape parenthesis.
7229 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7231 * composite.el (find-composition): Doc fix.
7233 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7235 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7236 (sql-oracle-program, sql-sqlite-options)
7237 (sql-query-placeholders-and-send): Doc fixes.
7238 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7239 (sql-imenu-generic-expression, sql-buffer)
7240 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7241 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7242 (sql-mode-sybase-font-lock-keywords)
7243 (sql-mode-informix-font-lock-keywords)
7244 (sql-mode-interbase-font-lock-keywords)
7245 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7246 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7247 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7248 (sql-product-feature, sql-highlight-product)
7249 (comint-line-beginning-position, sql-rename-buffer)
7250 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7251 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7252 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7253 Fix typos in docstrings.
7255 2010-05-08 Juri Linkov <juri@jurta.org>
7257 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7258 property instead of `invisible' and `after-string' (bug#5998).
7260 2010-05-08 Juri Linkov <juri@jurta.org>
7262 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7264 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7266 * filecache.el (file-cache-add-directory-list)
7267 (file-cache-add-directory-recursively): Fix typos in docstrings.
7269 2010-05-08 Kenichi Handa <handa@m17n.org>
7271 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7272 (gujarati-composable-pattern): Fix typo.
7274 2010-05-08 Kenichi Handa <handa@m17n.org>
7276 * language/indian.el (oriya-composable-pattern)
7277 (tamil-composable-pattern, malayalam-composable-pattern):
7278 Add two-part vowels to "v" (vowel sign).
7280 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7282 * files.el (copy-directory): Handle symlinks (Bug#5982).
7284 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7286 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7287 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7290 2010-05-08 Glenn Morris <rgm@gnu.org>
7292 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7294 * minibuffer.el (completion-at-point): Doc fix.
7296 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * electric.el (Electric-command-loop): Minor tweak.
7300 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7301 better with dedicated windows.
7303 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7305 * Version 23.2 released.
7307 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7308 Stefan Monnier <monnier@iro.umontreal.ca>
7310 Highlight vendor specific properties.
7311 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7312 (css-proprietary-property): New face.
7313 (css-font-lock-keywords): Use them.
7315 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7317 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7319 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7322 * files.el (auto-mode-alist): Remove redundant entries.
7324 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7325 * simple.el (auto-save-mode): Move from files.el.
7326 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7328 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7330 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7332 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7334 * mail/binhex.el (binhex-decode-region-internal)
7335 * mail/uudecode.el (uudecode-decode-region-internal)
7336 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7337 (dns-read-type, dns-query)
7338 * pgg-parse.el (pgg-parse-armor)
7339 * pgg.el (pgg-verify-region)
7340 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7343 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7345 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7347 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7349 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7350 * emulation/cua-base.el (cua-repeat-replace-region):
7351 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7352 (cua-cut-region-to-global-mark):
7353 Remove text properties with `set-text-properties'.
7355 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7357 * net/tramp.el (top, with-progress-reporter):
7358 Use `symbol-function' inside `funcall'.
7360 * net/tramp-compat.el (tramp-compat-file-attributes)
7361 (tramp-compat-delete-file, tramp-compat-delete-directory):
7362 Handle only `wrong-number-of-arguments' error.
7364 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7365 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7368 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * minibuffer.el (completion--sreverse, completion--common-suffix):
7372 (completion-pcm--merge-completions): Extract common suffix when safe.
7374 * emacs-lisp/easy-mmode.el (define-minor-mode):
7375 Make :variable more flexible.
7376 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7378 2010-05-05 Juri Linkov <juri@jurta.org>
7380 Add `slow' and `history' tags to the desktop data.
7382 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7383 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7384 (Info-finder-find-node): Require `finder.el' to be able
7385 to restore node from the desktop.
7386 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7387 data `Info-history' and `slow' tag in the assoc list.
7388 (Info-restore-desktop-buffer): Don't restore nodes with the
7389 `slow' tag. Restore `Info-history'.
7391 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7393 Add FORCE argument to `delete-file'.
7395 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7396 forcing to delete the temporary file.
7397 (ange-ftp-delete-file): Add FORCE arg.
7398 (ange-ftp-rename-remote-to-remote)
7399 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7400 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7401 Force file deletion.
7403 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7405 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7406 (tramp-handle-make-symbolic-link, tramp-handle-load)
7407 (tramp-do-copy-or-rename-file-via-buffer)
7408 (tramp-do-copy-or-rename-file-directly)
7409 (tramp-do-copy-or-rename-file-out-of-band)
7410 (tramp-handle-process-file, tramp-handle-call-process-region)
7411 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7412 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7413 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7415 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7416 (tramp-fish-handle-make-symbolic-link)
7417 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7419 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7420 Use `tramp-compat-delete-file'.
7422 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7423 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7425 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7426 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7428 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7429 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7430 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7431 `tramp-compat-delete-file'.
7433 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7436 * subr.el (add-minor-mode): Use push.
7437 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7438 * emulation/edt.el (edt-select-mode): Simplify.
7440 Use define-minor-mode in more cases.
7441 * term/tvi970.el (tvi970-set-keypad-mode):
7442 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7443 (normal-erase-is-backspace-mode):
7444 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7445 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7446 (get-scroll-bar-mode): New function.
7447 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7449 Use define-minor-mode for less obvious cases.
7450 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7451 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7452 * international/iso-ascii.el (iso-ascii-mode):
7453 * frame.el (auto-raise-mode, auto-lower-mode):
7454 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7456 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7458 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7459 in order to see error messages for failed logins.
7461 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7463 * diff.el (diff-sentinel):
7465 * epg.el (epg--make-temp-file, epg-decrypt-string)
7466 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7468 * jka-compr.el (jka-compr-partial-uncompress)
7469 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7471 * server.el (server-sentinel): Use delete-file's new FORCE arg
7474 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7476 Use define-minor-mode where applicable.
7477 * view.el (view-mode):
7478 * type-break.el (type-break-query-mode)
7479 (type-break-mode-line-message-mode):
7480 * textmodes/reftex.el (reftex-mode):
7481 * term/vt100.el (vt100-wide-mode):
7482 * tar-mode.el (tar-subfile-mode):
7483 * savehist.el (savehist-mode):
7484 * ibuf-ext.el (ibuffer-auto-mode):
7485 * composite.el (auto-composition-mode):
7486 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7487 Use define-minor-mode.
7488 (vhdl-mode): Use static mode-line format.
7489 (vhdl-mode-line-update): Delete.
7490 (vhdl-create-mode-menu, vhdl-activate-customizations)
7491 (vhdl-hs-minor-mode): Don't bother calling it.
7493 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * simple.el (with-wrapper-hook): Move.
7496 (buffer-substring-filters): Mark obsolete.
7497 (filter-buffer-substring-functions): New variable.
7498 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7500 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7501 Michael Albinus <michael.albinus@gmx.de>
7503 Implement compression for inline methods.
7505 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7506 (tramp-copy-size-limit): Allow also nil.
7507 (tramp-inline-compress-commands): New defconst.
7508 (tramp-find-inline-compress, tramp-get-inline-compress)
7509 (tramp-get-inline-coding): New defuns.
7510 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7511 replaced by `tramp-get-inline-coding'.
7512 (tramp-handle-file-local-copy, tramp-handle-write-region)
7513 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7515 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7517 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7518 Remove unused functions.
7520 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7521 Set find-tag-default-function as a variable rather than a property.
7523 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7524 * progmodes/etags.el (tags-completion-at-point-function):
7525 Remove left over interactive spec. Add autoloading stub.
7526 (complete-tag): Use tags-completion-at-point-function.
7528 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7530 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7532 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7534 * ido.el (ido-init-completion-maps): Remove C-v binding.
7535 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7537 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7539 * minibuffer.el (tags-completion-at-point-function): New function.
7540 (completion-at-point-functions): Use it.
7542 * progmodes/etags.el (complete-tag): Revert last change.
7544 2010-04-29 Alan Mackenzie <acm@muc.de>
7546 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7547 off-by-one error (in end of macro position).
7549 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7552 firefox is absent. Don't autoload.
7553 (browse-url-galeon-program): Don't autoload.
7555 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7557 * bindings.el (complete-symbol): Move into minibuffer.el.
7559 * minibuffer.el (complete-tag): Move from etags.el. If tags
7560 completion cannot be performed, return nil instead of signalling
7562 (completion-at-point): Make it an alias for complete-symbol.
7563 (complete-symbol): Move from bindings.el, and replace with the
7564 body of completion-at-point.
7566 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7568 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7570 * net/tramp.el (tramp-remote-selinux-p): New defun.
7571 (tramp-handle-file-selinux-context)
7572 (tramp-handle-set-file-selinux-context): Use it.
7574 2010-04-28 Sam Steingold <sds@gnu.org>
7576 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7577 `safe-local-variable' if the value is a string or a symbol with
7578 the property `bug-reference-url-format'.
7580 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7582 * progmodes/bug-reference.el (bug-reference-url-format):
7583 Revert 2010-04-27 change due to security risk.
7585 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7587 Make it possible to locally disable a globally enabled mode.
7588 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7589 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7590 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7592 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7593 that subsequent hooks get a chance to disable it.
7595 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7598 Avoid re-enabling a minor mode after the user turned the minor mode
7599 off if MODE-enable-in-buffers is run twice (typically once from
7600 fundamental-mode's after-change-major-mode-hook and a second time from
7601 run-mode-hook's own after-change-major-mode-hook).
7603 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7605 2010-04-27 Sam Steingold <sds@gnu.org>
7607 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7608 `safe-local-variable' if the value is a string or a function, as
7609 documented and implemented on 2010-04-02.
7611 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7613 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7614 when method is 'kill.
7616 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7618 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7619 condition in default directory check.
7620 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7621 Kill ispell process when killing its associated buffer.
7623 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7625 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7626 but we aren't using it.
7628 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7630 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7631 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7633 2010-04-24 Glenn Morris <rgm@gnu.org>
7635 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7636 Ignore VCS-ignore files, and deleted nextstep preferences files.
7637 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7638 (authors-ambiguous-files): New list.
7639 (authors-valid-file-names): Add some deleted files.
7640 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7641 (authors-disambiguate-file-name): New function. (Bug#5501)
7642 (authors-canonical-file-name): Doc fix.
7643 Don't warn about obsolete files.
7644 (authors-canonical-file-name, authors-scan-el):
7645 Use authors-disambiguate-file-name.
7647 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7648 Add autoload cookies.
7649 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7650 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7651 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7652 They have definitions / compiler macros in cl.el.
7653 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7654 Replace manual autoloads with generated ones.
7655 (htmlfontify-unload-rgb-file): Remove autoload.
7656 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7658 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7660 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7661 (byte-compile-setq-default): Optimize for the
7662 single-var case and don't call byte-compile-form in this case to avoid
7663 inf-loop with byte-compile-set-default.
7665 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7667 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7669 Implement SELINUX backends.
7671 * net/tramp.el (tramp-file-name-handler-alist):
7672 Add `file-selinux-context' and `set-file-selinux-context'.
7673 (tramp-handle-file-selinux-context)
7674 (tramp-handle-set-file-selinux-context): New defuns.
7675 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7676 Handle PRESERVE-SELINUX-CONTEXT.
7678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7679 Add `file-selinux-context' and `set-file-selinux-context'.
7680 (tramp-gvfs-handle-file-selinux-context)
7681 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7682 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7684 * net/ange-ftp.el (ange-ftp-copy-file):
7685 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7686 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7687 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7688 Add PRESERVE-SELINUX-CONTEXT.
7690 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7692 Synchronize with Tramp repository.
7694 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7695 (tramp-action-process-alive, tramp-action-out-of-band)
7696 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7697 (tramp-exists-file-name-handler): Fix docstring.
7698 (with-progress-reporter): New defmacro.
7699 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7700 (tramp-maybe-open-connection): Use it.
7702 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7704 Detect ssh 'ControlMaster' argument automatically in some cases.
7706 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7707 (tramp-default-method): Use it.
7709 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7711 * net/tramp.el (tramp-handle-copy-file): Add new optional
7712 parameter `preserve-selinux-context'.
7713 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7715 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7717 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7718 Ensure, that non remote files are still checked. Oops.
7720 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7724 * icomplete.el (icomplete-completions): Use `non-essential'.
7726 * net/tramp.el (tramp-connectable-p): New defun.
7727 (tramp-handle-expand-file-name)
7728 (tramp-completion-handle-file-name-all-completions)
7729 (tramp-completion-handle-file-name-completion): Use it.
7731 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7735 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7737 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7739 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7741 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7744 * info.el (info-tool-bar-map): Add labels.
7746 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7748 * cus-edit.el (custom-commands): Add labels for tool bar.
7749 (custom-buffer-create-internal, Custom-mode): Adjust for
7750 labels in custom-commands.
7752 * dynamic-setting.el: Renamed from font-setting.el.
7754 2010-04-21 John Wiegley <jwiegley@gmail.com>
7756 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7757 toggles the use of virtual buffers.
7758 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7759 (ido-toggle-virtual-buffers): New function.
7761 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7763 Use `define-derived-mode'; fix window selection; doc fixes.
7764 * play/tetris.el (tetris, tetris-update-speed-function)
7765 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7766 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7767 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7768 (tetris-pause-game): Fix typos in docstrings.
7769 (tetris-mode-map, tetris-null-map):
7770 Move initialization into declaration.
7771 (tetris-mode): Define with `define-derived-mode';
7772 set show-trailing-whitespace to nil.
7773 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7775 2010-04-21 Karel Klíč <kklic@redhat.com>
7777 * files.el (backup-buffer): Handle SELinux context, and return it
7778 if a backup was made by renaming.
7779 (backup-buffer-copy): Set SELinux context to the target file.
7780 (basic-save-buffer): Set SELinux context of the newly written file.
7781 (basic-save-buffer-1): Now it also returns any SELinux context.
7782 (basic-save-buffer-2): Set SELinux context of the newly created file,
7784 * net/tramp.el (tramp-file-name-for-operation):
7785 Add file-selinux-context.
7787 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7789 Make the log-edit comments use RFC822 format throughout.
7791 * vc.el (vc-checkin, vc-modify-change-comment):
7792 Adjust to new vc-start/finish-logentry.
7793 (vc-find-conflicted-file): New command.
7794 (vc-transfer-file): Adjust to new vc-checkin.
7795 (vc-next-action): Improve scoping.
7797 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7798 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7800 * vc-git.el (vc-git-log-edit-mode): Remove.
7801 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7802 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7804 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7805 (vc-start-logentry): Remove argument `extra'.
7806 (vc-finish-logentry): Remove extra args.
7808 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7809 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7810 (vc-bzr-conflicted-files): New function.
7812 * log-edit.el (log-edit-extra-flags)
7813 (log-edit-before-checkin-process): Remove.
7814 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7815 (log-edit-headers-alist): New var.
7816 (log-edit-header-contents-regexp): New const.
7817 (log-edit-match-to-eoh): New function.
7818 (log-edit-font-lock-keywords): Use them.
7819 (log-edit): Insert a "Summary:" header as default.
7820 (log-edit-mode): Mark font-lock rules as case-insensitive.
7821 (log-edit-done): Cleanup headers.
7822 (log-view-process-buffer): Remove.
7823 (log-edit-extract-headers): New function to replace it.
7825 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7827 * subr.el (default-direction-reversed): Remove obsolescence info.
7829 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7834 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7835 I.e. include text after point in the completion region.
7836 Also, return nil when we're not after/in a symbol.
7838 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7839 default enable-multibyte-characters.
7841 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * international/mule.el: Help the user choose a valid coding-system.
7844 (read-buffer-file-coding-system): New function.
7845 (set-buffer-file-coding-system): Use it. Prompt the user if the
7846 coding-system cannot encode all the chars.
7848 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7849 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7850 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7851 Don't use *vc-bzr-shelve*.
7853 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7855 Fix the version number for added files.
7856 * vc-hg.el (vc-hg-working-revision): Check if the file is
7857 registered after hg parent fails (Bug#5961).
7859 2010-04-19 Glenn Morris <rgm@gnu.org>
7861 * htmlfontify.el (htmlfontify-buffer)
7862 (htmlfontify-copy-and-link-dir): Autoload entry points.
7864 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7866 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7867 name relative to the project root (Bug#5960).
7869 2010-04-19 Glenn Morris <rgm@gnu.org>
7871 * vc-git.el (vc-git-print-log): Doc fix.
7873 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7875 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7877 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7879 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7880 default settings (Bug#5928).
7882 2010-04-19 Glenn Morris <rgm@gnu.org>
7884 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7886 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7888 2010-04-19 Kenichi Handa <handa@m17n.org>
7890 * language/indian.el (malayalam-composable-pattern): Fix previous
7891 change (add U+0D4D "SIGN VIRAMA").
7892 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7893 (tamil-composable-pattern): Fix typo in the regexp.
7894 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7895 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7896 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7898 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7900 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7901 paragraph-separate (Bug#5821).
7903 2010-04-19 Juri Linkov <juri@jurta.org>
7905 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7907 * info.el (Info-find-node-2): Comment out code that skips
7909 (Info-mouse-follow-link): New command.
7910 (Info-link-keymap): New keymap.
7911 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7912 Return a string with links instead of inserting breadcrumbs
7914 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7915 Instead of putting the `invisible' text property over the Info
7916 header, make an overlay over the Info header with the `invisible'
7917 property and `after-string' set to the string returned by
7920 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7922 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7923 Reported by monkey@sandpframing.com.
7925 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7928 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7929 available in the "keyseq cache" any more.
7931 * custom.el (defcustom): Add edebug spec.
7933 2010-04-18 Juri Linkov <juri@jurta.org>
7935 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7937 * view.el (view-file, view-buffer): Move test for special mode-class
7938 from view-file to view-buffer.
7940 * tar-mode.el (tar-extract): Turn if's into one cond
7941 like in arc-mode.el.
7943 2010-04-18 Juri Linkov <juri@jurta.org>
7945 Add 7z archive format support (bug#5475).
7947 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7948 (archive-7z-extract): New defcustom.
7949 (archive-find-type): Add magic string for 7z.
7950 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7951 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7952 `buffer' arg of `call-process'.
7953 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7954 call the function `archive-7z-extract' with the variable
7955 `archive-7z-extract' let-bound to `archive-zip-extract'.
7956 (archive-7z-summarize, archive-7z-extract): New functions.
7958 * international/mule.el (auto-coding-alist):
7959 * files.el (auto-mode-alist): Add 7z file extension.
7961 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * loadup.el: Setup hash-cons for pure data.
7965 Fix duplicate entries in cedet's loaddefs.el files.
7966 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7967 Should make most file-local generated-autoload-file unnecessary.
7968 (print-readably): Silence warnings.
7969 (autoload-find-destination): Take load-name as an arg to make sure
7970 it's the same as the one that will be in the file.
7971 (autoload-generate-file-autoloads): Adjust to above changes.
7972 Try to make the dataflow a bit simpler.
7974 * cvs-status.el (cvs-refontify): Remove unused.
7976 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7978 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7980 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7981 twos-complement mode.
7983 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7985 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7986 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7987 (calc-inverse): Add "Option" to message, as appropriate.
7988 (calc-hyperbolic): Add "Option" to message, as appropriate.
7989 (calc-option, calc-is-option): New functions.
7991 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7992 (calc-option-prefix-help): New function.
7994 * calc/calc-misc.el (calc-help): Add "Option" entry.
7996 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7997 (calc-option-flag): New variable.
7998 (calc-do): Set `calc-option-flag to nil.
7999 (calc-set-mode-line): Add "Opt " as appropriate.
8001 2010-04-16 Juri Linkov <juri@jurta.org>
8003 Move scrolling commands from simple.el to window.el
8004 because their primitives are implemented in window.c.
8006 * simple.el (scroll-error-top-bottom)
8007 (scroll-up-command, scroll-down-command, scroll-up-line)
8008 (scroll-down-line, scroll-other-window-down)
8009 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8010 * window.el (scroll-error-top-bottom)
8011 (scroll-up-command, scroll-down-command, scroll-up-line)
8012 (scroll-down-line, scroll-other-window-down)
8013 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8014 Move from simple.el to window.el because their primitives are
8015 implemented in window.c.
8017 2010-04-16 Juri Linkov <juri@jurta.org>
8019 * isearch.el (isearch-lookup-scroll-key): Check both
8020 `isearch-scroll' and `scroll-command' properties.
8021 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8023 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8025 * simple.el (scroll-up-command, scroll-down-command)
8026 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8028 2010-04-15 Juri Linkov <juri@jurta.org>
8030 * simple.el (scroll-up-command, scroll-down-command)
8031 (scroll-up-line, scroll-down-line): Put `scroll-command'
8032 property on the these symbols. Remove them from
8033 `scroll-preserve-screen-position-commands'.
8035 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8036 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8037 Remove it from `scroll-preserve-screen-position-commands'.
8039 * isearch.el (isearch-allow-scroll): Doc fix.
8041 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8043 * net/tramp.el (tramp-error-with-buffer): Don't show the
8044 connection buffer when we are in completion mode.
8045 (tramp-file-name-handler): Catch the error for some operations
8046 when we are in completion mode. This gives the user the chance to
8047 correct the file name in the minibuffer.
8049 2010-04-15 Glenn Morris <rgm@gnu.org>
8051 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8053 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8055 Simplify by using `define-derived-mode'.
8056 * info.el (Info-mode):
8057 * calendar/todo-mode.el (todo-mode):
8058 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8059 (gomoku-mode-map): Move initialization into declaration.
8061 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8064 * ido.el (ido-file-name-all-completions-1):
8065 * minibuffer.el (minibuffer-completion-help):
8066 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8068 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * simple.el (non-essential): New var.
8072 Add a new field `location' to bookmarks for non-file bookmarks.
8073 * bookmark.el (bookmark-location): Use the new field, if present.
8074 (bookmark-insert-location): Undo last change, not needed any more.
8075 * man.el (Man-bookmark-make-record):
8076 * woman.el (woman-bookmark-make-record): Add `location' field.
8078 2010-04-14 Juri Linkov <juri@jurta.org>
8080 * simple.el (scroll-error-top-bottom): New defcustom.
8081 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8083 * emulation/pc-select.el (pc-select-override-scroll-error):
8084 Obsolete in favor of `scroll-error-top-bottom'.
8086 2010-04-14 Juri Linkov <juri@jurta.org>
8088 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8089 `scroll-up-command' and `M-v' to `scroll-down-command'.
8091 * emulation/cua-rect.el (cua--init-rectangles):
8092 * forms.el (forms--change-commands):
8093 * image-mode.el (image-mode-map):
8094 Remap scroll-down-command and scroll-up-command
8095 in addition to scroll-down and scroll-up.
8097 2010-04-14 Juri Linkov <juri@jurta.org>
8099 * mwheel.el (scroll-preserve-screen-position-commands):
8100 Add mwheel-scroll to this list of commands.
8102 * simple.el (scroll-preserve-screen-position-commands):
8103 Add scroll-up-command, scroll-down-command, scroll-up-line,
8104 scroll-down-line to this list of commands.
8106 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * obsolete/complete.el: Move from lisp/complete.el.
8110 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8112 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8113 to the minor mode function now turns the mode ON unconditionally.
8115 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * vc-dir.el (vc-dir-kill-line): New command.
8118 (vc-dir-mode-map): Bind it to C-k.
8120 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8122 * woman.el: Add bookmark declarations to silence the compiler.
8123 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8124 step to compatibility between man and woman bookmarks.
8125 Adjust for Man-default-bookmark-title renaming.
8126 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8128 * man.el: Add bookmark declarations to silence the compiler.
8129 (Man-name-local-regexp): Make it match NAME as well.
8130 (Man-getpage-in-background): Return the buffer.
8131 (Man-notify-when-ready): Use `case'.
8132 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8133 Don't hardcode "NAME". Simplify.
8134 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8135 Rename from Man-bookmark-make-record.
8136 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8137 we have the actual man-args. Use Man-getpage-in-background rather
8138 than `man' since the arg is already processed. Let bookmark.el do the
8139 window handling. Only wait for the relevant process.
8140 Don't forget to autoload.
8142 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8144 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8146 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8148 (woman-mode): Setup bookmark support.
8150 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8151 (man-bookmark-jump): New functions.
8152 (Man-mode): Setup bookmark support.
8154 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8156 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8157 recognize ssh-keygen prompt (Bug#2817).
8159 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8161 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8163 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8165 Synchronize with Tramp repository.
8167 * net/tramp.el (tramp-completion-function-alist)
8168 (tramp-file-name-regexp, tramp-chunksize)
8169 (tramp-local-coding-commands, tramp-remote-coding-commands):
8171 (tramp-remote-process-environment): Use `format' instead of `concat'.
8172 (tramp-handle-directory-files-and-attributes)
8173 (tramp-get-remote-path): Use `copy-tree'.
8174 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8175 compatibility: Use `completion-ignore-case' if
8176 `read-file-name-completion-ignore-case' does not exist.
8177 (tramp-do-copy-or-rename-file-directly): Do not use
8178 `tramp-handle-file-remote-p'.
8179 (tramp-do-copy-or-rename-file-out-of-band):
8180 Use `tramp-compat-delete-directory'.
8181 (tramp-do-copy-or-rename-file-out-of-band)
8182 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8183 Use `format-spec-make'.
8184 (tramp-find-foreign-file-name-handler)
8185 (tramp-advice-make-auto-save-file-name)
8186 (tramp-set-auto-save-file-modes): Remove superfluous check for
8187 `stringp'. This is done inside `tramp-tramp-file-p'.
8188 (tramp-debug-outline-regexp): New defconst.
8189 (tramp-get-debug-buffer): Use it.
8190 (tramp-check-for-regexp): Use (forward-line 1).
8191 (tramp-set-auto-save-file-modes): Adapt version check.
8193 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8194 Wrap call of `featurep' for 2nd argument.
8195 (tramp-compat-make-temp-file): Simplify fallback implementation.
8196 (tramp-compat-copy-tree): Remove function.
8197 (tramp-compat-delete-directory): Provide implementation for older
8200 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8201 Do not use `tramp-fish-handle-file-attributes.
8203 * net/trampver.el: Update release number.
8205 2010-04-10 Glenn Morris <rgm@gnu.org>
8207 * progmodes/compile.el (compilation-save-buffers-predicate):
8208 Add missing :version tag.
8210 2010-04-09 Sam Steingold <sds@gnu.org>
8212 * progmodes/compile.el (compilation-save-buffers-predicate):
8213 Remove the "autoload" cookie.
8215 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8216 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8217 and `bug-reference-prog-mode' can be used in hooks directly.
8219 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8221 Add --author support to git commit.
8222 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8223 (vc-git-log-edit-mode): New minor mode.
8224 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8227 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8229 * vc-hooks.el, vc-git.el: Improve documentation comments.
8231 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8233 Fix some of the problems in defsubst* (bug#5728).
8234 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8235 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8237 2010-04-07 Sam Steingold <sds@gnu.org>
8239 * progmodes/compile.el (compilation-save-buffers-predicate):
8240 New custom variable.
8241 (compile, recompile): Pass it to `save-some-buffers'.
8243 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8245 * wid-edit.el (widget-choose): Move cursor to the second line of
8246 the buffer (Bug#5695).
8248 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8250 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8251 * vc.el (vc-print-log-setup-buttons): New function split out from
8252 vc-print-log-internal.
8253 (vc-log-internal-common): New function, a parametrized version of
8254 vc-print-log-internal.
8255 (vc-print-log-internal): Just call vc-log-internal-common with the
8257 (vc-incoming-outgoing-internal):
8258 (vc-log-incoming, vc-log-outgoing): New functions.
8259 (vc-log-view-type): New permanent local variable.
8261 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8263 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8264 of the dynamic bound vc-short-log.
8265 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8267 * vc-git.el (vc-git-log-outgoing): New function.
8268 (vc-git-log-view-mode): Use vc-log-view-type instead
8269 of the dynamic bound vc-short-log.
8271 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8272 of the dynamic bound vc-short-log. Highlight the tag.
8273 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8274 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8275 (vc-hg-incoming-mode): Remove.
8276 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8278 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8280 Fix default-directory for vc-root-diff.
8281 * vc.el (vc-root-diff): Bind default-directory to the root
8282 directory for the diff command.
8284 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8286 * progmodes/verilog-mode.el (verilog-forward-sexp):
8287 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8288 word keywords, suggested by Steve Pearlmutter.
8289 (verilog-pretty-declarations): Support lineup of declarations in
8291 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8292 fix bug for /* / comments.
8293 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8294 Speed up and simplfy as this is never called with a bound.
8295 (verilog-pretty-declarations): Enhance to line up declarations
8296 inside a parameter list, suggested by Alan Morgan.
8297 (verilog-pretty-expr): Tune assignment regular expression match
8298 string for corner cases; also use markers instead of character
8299 number as indent changes the later.
8301 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8303 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8305 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8306 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8307 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8308 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8311 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8312 1800-2009 keywords, including "global.".
8314 2010-04-06 John Wiegley <jwiegley@gmail.com>
8316 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8317 appearing in buffer list (if a live buffer name matched a recentf
8318 file basename). Should use uniquify to offer a real solution.
8320 2010-04-06 John Wiegley <jwiegley@gmail.com>
8322 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8323 comment to code, and add a :version tag.
8324 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8326 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8328 Enable recentf-mode if using virtual buffers.
8329 * ido.el (recentf-list): Declare for byte-compiler.
8330 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8331 (ido-make-buffer-list): Simplify.
8332 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8334 2010-04-05 Juri Linkov <juri@jurta.org>
8336 Scrolling commands which scroll a line instead of full screen.
8337 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8339 * simple.el (scroll-up-line, scroll-down-line): New commands.
8340 Put property isearch-scroll=t on them.
8342 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8345 2010-04-05 Juri Linkov <juri@jurta.org>
8347 Scrolling commands which do not signal errors at top/bottom.
8348 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8350 * simple.el (scroll-up-command, scroll-down-command): New commands.
8351 Put property isearch-scroll=t on them.
8353 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8354 `scroll-down-command' and [next] from `scroll-up' to
8355 `scroll-up-command'.
8357 * emulation/cua-base.el: Put property CUA=move on
8358 `scroll-up-command' and `scroll-down-command'.
8359 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8360 and `scroll-down-command' to `cua-scroll-down'.
8362 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8364 * help.el (describe-mode): Return nil.
8366 2010-04-04 John Wiegley <jwiegley@gmail.com>
8368 * ido.el (ido-use-virtual-buffers): New variable to indicate
8369 whether "virtual buffer" support is enabled for IDO.
8370 (ido-virtual): Face used to indicate virtual buffers in the list.
8371 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8372 exists, but a virtual buffer of that name does (which would be why
8373 it was in the list), recreate the buffer by reopening the file.
8374 (ido-make-buffer-list): If virtual buffers are being used, call
8375 `ido-add-virtual-buffers-to-list' before the make list hook.
8376 (ido-virtual-buffers): New variable which contains a copy of the
8377 current contents of the `recentf-list', albeit pared down for the
8378 sake of speed, and with proper faces applied.
8379 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8380 create a list of "virtual buffers" to present to the user in
8381 addition to the currently open set. Note that this logic could
8382 get rather slow if that list is too large. With the default
8383 `recentf-max-saved-items' of 200, there is little speed penalty.
8385 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8387 * font-lock.el: Require CL when compiling.
8388 (font-lock-turn-on-thing-lock): Use `case'.
8390 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8392 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8395 2010-04-02 Juri Linkov <juri@jurta.org>
8397 * ehelp.el (electric-help-orig-major-mode):
8398 New buffer-local variable.
8399 (electric-help-mode): Set it to original major-mode. Doc fix.
8400 (with-electric-help): Use `electric-help-orig-major-mode' instead
8401 of (default-value 'major-mode). Doc fix.
8402 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8404 2010-04-02 Sam Steingold <sds@gnu.org>
8406 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8407 `vc-hg-command' with a list of flags.
8409 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8410 Also accept "patch" and "RFE".
8411 (bug-reference-fontify): `bug-reference-url-format' can also be a
8412 function to be able to handle the bug kind.
8413 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8415 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8417 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8418 value to fboundp, it may not be a symbol.
8420 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8422 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8424 2010-03-31 Juri Linkov <juri@jurta.org>
8426 * simple.el (next-line, previous-line): Re-throw a signal
8427 with `signal' instead of using `ding'.
8428 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8430 2010-03-31 Juri Linkov <juri@jurta.org>
8432 * simple.el (keyboard-escape-quit): Raise deselecting the active
8433 region higher than exiting the minibuffer.
8434 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8436 2010-03-31 Juri Linkov <juri@jurta.org>
8438 * image.el (image-animated-p): Use `image-metadata' instead of
8439 `image-extension-data'. Get GIF extenstion data from metadata
8440 property `extension-data'.
8442 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * simple.el (append-to-buffer): Simplify.
8446 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8448 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8449 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8451 2010-03-31 Kenichi Handa <handa@m17n.org>
8453 * language/sinhala.el (composition-function-table): Fix regexp for
8454 the new Unicode specification.
8456 * language/indian.el (devanagari-composable-pattern)
8457 (tamil-composable-pattern, kannada-composable-pattern)
8458 (malayalam-composable-pattern): Adjust for the new Unicode
8460 (bengali-composable-pattern, gurmukhi-composable-pattern)
8461 (gujarati-composable-pattern, oriya-composable-pattern)
8462 (telugu-composable-pattern): New variables to cope with the new
8463 Unicode specification. Use them in composition-function-table.
8465 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8467 Make tmm-menubar work for the Buffers menu again (bug#5726).
8468 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8469 vectors rather than cons cells, as used in menu-bar-update-buffers.
8471 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8473 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8474 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8475 electric punctuation for "{}();,:" (Bug#5586).
8477 * mail/sendmail.el (mail-default-directory): Doc fix.
8479 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8481 * mail/sendmail.el (mail-default-directory): Doc fix.
8483 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8485 * subr.el (version-regexp-alist, version-to-list)
8486 (version-list-<, version-list-=, version-list-<=)
8487 (version-list-not-zero, version<, version<=, version=): Doc fix.
8490 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8492 * vc.el (vc-root-diff): Doc fix.
8494 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8496 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8498 * simple.el (append-to-buffer): Fix last change.
8500 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8502 * simple.el (append-to-buffer): Ensure that point is preserved if
8503 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8506 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * files.el (auto-mode-case-fold): Change default to t.
8510 2010-03-30 Juri Linkov <juri@jurta.org>
8512 * dired-x.el (dired-omit-mode): Doc fix.
8514 2010-03-30 Juri Linkov <juri@jurta.org>
8516 * replace.el (occur-accumulate-lines): Move occur-engine related
8517 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8518 to be located after `occur-engine'.
8520 2010-03-30 Juri Linkov <juri@jurta.org>
8522 Make occur handle multi-line matches cleanly with context.
8523 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8525 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8526 (occur-engine): Add local variables `ret', `prev-after-lines',
8527 `prev-lines'. Use more arguments for `occur-context-lines'.
8528 Set first elem of its returned list to `data', and the second elem
8529 to `prev-after-lines'. Don't print the separator line.
8530 In the end, print remaining context after-lines.
8531 (occur-context-lines): Add new arguments `begpt', `endpt',
8532 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8533 after-lines of the previous match with before-lines of the
8534 current match and not overlap them. Return a list with two
8535 values: the output line and the list of context after-lines.
8537 2010-03-30 Juri Linkov <juri@jurta.org>
8539 * replace.el (occur-accumulate-lines): Fix a bug where the first
8540 context line at the beginning of the buffer was missing.
8542 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8544 * files.el: Make bidi-display-reordering safe variable for boolean
8547 2010-03-29 Phil Hagelberg <phil@evri.com>
8548 Chong Yidong <cyd@stupidchicken.com>
8550 * subr.el: Extend progress reporters to perform "spinning".
8551 (progress-reporter-update, progress-reporter-do-update):
8552 Handle non-numeric value arguments.
8553 (progress-reporter--pulse-characters): New var.
8555 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8557 * progmodes/compile.el (compilation-start): Fix regexp detection
8558 of initial cd command (Bug#5771).
8560 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8562 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8564 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8566 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8567 * progmodes/gdb-mi.el: Restore.
8568 * progmodes/gdb-ui.el: Remove.
8569 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8571 2010-03-25 Glenn Morris <rgm@gnu.org>
8573 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8574 all dired buffers, even tramp ones. (Bug#5755)
8576 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8578 Add "union tags" in mpc.el.
8579 * mpc.el: Remove backward compatibility code.
8580 (mpc-browser-tags): Change default.
8581 (mpc--find-memoize-union-tags): New var.
8582 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8583 (mpc-cmd-find): Handle the case where the playlist does not exist.
8585 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8586 (mpc-cmd-add): Use mpc-cmd-flush.
8587 (mpc-tagbrowser-tag-name): New fun.
8588 (mpc-tagbrowser-buf): Use it.
8589 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8591 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8594 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8595 Use replace-regexp-in-string.
8596 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8597 (makefile-imake-mode-syntax-table): Move init into defvar.
8598 (makefile-mode): Use define-derived-mode.
8600 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8601 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8602 not be present any more.
8604 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8606 * faces.el (set-face-attribute): Fix typo in docstring.
8607 (face-valid-attribute-values): Reflow docstring.
8609 2010-03-24 Glenn Morris <rgm@gnu.org>
8611 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8613 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8615 * indent.el (indent-for-tab-command): Doc fix.
8617 2010-03-24 Alan Mackenzie <acm@muc.de>
8619 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8620 Fix off-by-one error. Fixes bug #5747.
8622 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8624 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8625 (image-dired-read-comment): Doc fix.
8627 * json.el (json-object-type, json-array-type, json-key-type)
8628 (json-false, json-null, json-read-number):
8629 * minibuffer.el (completion-in-region-functions):
8630 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8631 (cal-tex-cursor-week):
8632 * emacs-lisp/trace.el (trace-function):
8633 * eshell/em-basic.el (eshell/printnl):
8634 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8635 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8636 * obsolete/levents.el (allocate-event, event-key, event-object)
8637 (event-point, event-process, event-timestamp, event-to-character)
8638 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8639 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8640 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8641 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8642 (reftex-highlight-selection): Fix typos in docstrings.
8644 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8646 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8648 2010-03-24 Glenn Morris <rgm@gnu.org>
8650 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8651 2008-02-13 without comment; mark it obsolete.
8652 (rmail-highlight-headers): Use rmail-highlight-face once more.
8654 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8656 * woman.el (woman2-process-escapes): Only consume the newline if
8657 the filler character is on a line by itself (Bug#5729).
8659 2010-03-24 Kenichi Handa <handa@m17n.org>
8661 * language/indian.el (devanagari-composable-pattern): Add more
8664 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8666 * net/trampver.el: Update release number.
8668 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8670 * net/tramp.el (tramp-find-executable):
8671 Use `tramp-get-connection-buffer'. Make the regexp for checking
8672 output of "wc -l" more robust.
8673 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8674 (tramp-open-connection-setup-interactive-shell): Remove workaround
8675 for OpenSolaris bug, it is not needed anymore.
8677 2010-03-24 Glenn Morris <rgm@gnu.org>
8679 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8681 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8683 * files.el (auto-mode-alist): Accept more verilog file patterns.
8685 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8687 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8689 2010-03-24 Glenn Morris <rgm@gnu.org>
8691 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8692 log-edit-before-checkin-process.
8694 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8696 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8698 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8699 (log-view-process-buffer, log-edit-extra-flags): Declare.
8701 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8703 2010-03-23 Sam Steingold <sds@gnu.org>
8705 Fix bug#5620: recalculate all markers on compilation buffer
8706 modifications, not on file modifications.
8707 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8708 the buffer modification time, for buffers not associated with files.
8709 (compilation-mode): Create it.
8710 (compilation-filter): Update it.
8711 (compilation-next-error-function): Use it instead of
8712 `visited-file-modtime' for timestamp.
8714 2010-03-23 Juri Linkov <juri@jurta.org>
8716 Implement Occur multi-line matches.
8717 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8719 * replace.el (occur): Doc fix.
8720 (occur-engine): Set `begpt' to the beginning of the first line.
8721 Set `endpt' to the end of the last match line. At first, count
8722 line numbers between `origpt' and `begpt'. Split out code from
8723 `out-line' variable to new let-bindings `match-prefix' and
8724 `match-str'. In `out-line' add non-numeric prefix to all
8725 non-first lines of multi-line matches. Finally, count lines
8726 between `begpt' and `endpt' and add to `lines'.
8728 2010-03-23 Juri Linkov <juri@jurta.org>
8730 * replace.el (occur-accumulate-lines, occur-engine):
8731 Use `occur-engine-line' instead of duplicate code.
8732 (occur-engine-line): New function created from duplicate code
8733 in `occur-accumulate-lines' and `occur-engine'.
8735 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8736 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8738 2010-03-23 Juri Linkov <juri@jurta.org>
8740 * finder.el: Remove TODO tasks.
8742 * info.el (Info-finder-find-node): Add node "all"
8743 with all package info. Handle a list of multiple keywords
8745 (info-finder): In interactive use with a prefix argument,
8746 use `completing-read-multiple' to read a list of keywords
8749 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8751 Add a new completion style `substring'.
8752 * minibuffer.el (completion-basic--pattern): New function.
8753 (completion-basic-try-completion, completion-basic-all-completions):
8755 (completion-substring--all-completions)
8756 (completion-substring-try-completion)
8757 (completion-substring-all-completions): New functions.
8758 (completion-styles-alist): New style `substring'.
8760 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8762 Get rid of .elc files after removal of the corresponding .el.
8763 * Makefile.in (compile-clean): New target.
8764 (compile-main): Use it.
8766 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8768 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8769 don't do make there. When compiling with separate object dir, there
8770 is no Makefile there.
8772 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8774 Get rid of the ELCFILES abomination, again.
8775 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8776 (all, compile): Don't call compile-last.
8777 (compile-main): Build the "elcfiles" list dynamically.
8778 (compile-targets): New (internal) target.
8780 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8782 * Makefile.in (top_srcdir): Define.
8783 (abs_top_builddir): Define.
8784 (srcdir): Don't append `/..'.
8785 (EMACS): Use ${abs_top_builddir}.
8786 (all, compile, compile-always, compile-last): Don't set emacswd.
8787 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8789 (lisp): Use $(srcdir) instead of @srcdir@.
8791 2010-03-21 Juri Linkov <juri@jurta.org>
8793 Fix message of multi-line occur regexps and multi-buffer header lines.
8794 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8796 * replace.el (occur-1): Don't display regexp if it is longer
8797 than window-width. Use `query-replace-descr' to display regexp.
8798 (occur-engine): Don't display regexp in the buffer header for
8799 multi-buffer occur. Display a separate header line with total
8800 match count and regexp for multi-buffer occur.
8801 Use `query-replace-descr' to display regexp.
8803 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8805 * net/secrets.el: Fix parenthesis.
8806 (secrets-enabled): Fix parenthesis.
8808 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8810 Use more relative file and directory names.
8811 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8812 (setwins, setwins_almost, setwins_for_subdirs):
8813 Don't `cd'; output relative names.
8814 (all, compile, compile-always, compile-last): Set emacswd.
8815 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8816 Just cd to the lisp source dir so we can use relative file names.
8818 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8820 2010-03-20 Glenn Morris <rgm@gnu.org>
8822 * textmodes/rst.el: Use faces for font-lock customization, and make the
8823 old -face variables obsolete.
8824 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8825 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8826 (rst-block-face, rst-external-face, rst-definition-face)
8827 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8828 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8830 (rst-font-lock-keywords-function): Update for above changes.
8832 2010-03-20 Juri Linkov <juri@jurta.org>
8835 * obsolete/s-region.el: Move to obsolete.
8837 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8839 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8841 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8843 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8845 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8847 Add special markup processing for commit logs.
8848 * log-edit.el (log-edit-extra-flags): New variable.
8849 (log-edit): Add new argument MODE. Use that mode when non-nil
8850 instead of the log-view-mode.
8851 (log-view-process-buffer): New function.
8853 * vc.el: Document that the checkin method takes optional
8854 arguments. Document new backend specific method: log-view-mode.
8855 (vc-default-log-edit-mode): New function.
8856 (vc-checkin): Use a backend specific log-view-mode.
8857 Pass extra arguments to the checkin method.
8858 (vc-modify-change-comment): Pass a dummy extra argument.
8860 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8862 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8863 (vc-finish-logentry): Process the log buffer before passing it
8864 down. Pass log-edit-extra-flags.
8866 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8868 (log-edit-extra-flags, log-edit-before-checkin-process):
8871 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8873 (log-edit-extra-flags, log-edit-before-checkin-process):
8875 (vc-hg-log-edit-mode): New derived mode.
8877 * vc-arch.el (vc-arch-checkin):
8878 * vc-cvs.el (vc-cvs-checkin):
8879 * vc-git.el (vc-git-checkin):
8880 * vc-mtn.el (vc-mtn-checkin):
8881 * vc-rcs.el (vc-rcs-checkin):
8882 * vc-sccs.el (vc-sccs-checkin):
8883 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8885 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8887 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8890 2010-03-19 Glenn Morris <rgm@gnu.org>
8892 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8894 2010-03-18 Glenn Morris <rgm@gnu.org>
8896 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8898 * replace.el (query-replace-history): Give it a doc string.
8899 (map-query-replace-regexp): Use query-replace-from-history-variable
8900 and query-replace-to-history-variable.
8902 * mail/hashcash.el (declare-function): Remove duplicate definition.
8904 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8905 Make it an obsolete alias for report-emacs-bug-address.
8906 (message-strip-special-text-properties): Declare.
8907 (report-emacs-bug): Remove test for a pretest bug address.
8908 Combine message-mode-specific code.
8910 * mail/supercite.el: Don't require sendmail.
8911 (mh-in-header-p): Declare rather than using with-no-warnings.
8912 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8913 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8915 * calendar/cal-french.el: Convert to utf-8.
8917 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8920 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8922 * net/secrets.el (secrets-enabled): New variable. Use it instead
8925 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8927 * net/secrets.el (top): Register the D-Bus signals only when the
8928 service "org.freedesktop.secrets" can be pinged.
8929 Provide subfeature `enabled'.
8931 2010-03-14 Juri Linkov <juri@jurta.org>
8933 Add finder unknown keywords.
8935 * finder.el (finder-unknown-keywords): New function.
8937 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8938 to create a Finder node with unknown keywords.
8940 2010-03-14 Juri Linkov <juri@jurta.org>
8942 * finder.el (finder-compile-keywords): Replace `princ' with
8943 `prin1' on a list of symbols interned from keyword strings.
8945 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8946 a comma, then split keywords using a comma and optional whitespace.
8947 Otherwise, split by whitespace.
8955 * progmodes/mixal-mode.el: Fix keywords.
8957 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8959 * Makefile.in (ELCFILES): Add net/secrets.elc.
8961 * net/secrets.el: New file.
8963 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8965 * facemenu.el (list-colors-display, list-colors-print): New arg
8966 callback. Use it to allow selecting colors.
8968 * wid-edit.el (widget-image-insert): Insert image prop even if the
8969 current display is non-graphic.
8970 (widget-field-value-set): New fun.
8971 (editable-field): Use it.
8972 (widget-field-value-get): Clean up unused var.
8973 (widget-color-value-create, widget-color--choose-action):
8974 New funs. Allow using list-colors-display to choose color.
8976 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8978 * cus-edit.el: Resort topmost custom groups.
8979 (custom-buffer-sort-alphabetically): Default to t.
8980 (customize-apropos): Use apropos-parse-pattern.
8981 (custom-search-field): New var.
8982 (custom-buffer-create-internal): Add custom-apropos search field.
8983 (custom-add-parent-links): Don't display parent doc.
8984 (custom-group-value-create): Don't sort top-level custom group.
8985 (custom-magic-value-create): Show visibility button before option name.
8987 (custom-variable-state): New fun, from custom-variable-state-set.
8988 (custom-variable-state-set): Use it.
8989 (custom-group-value-create): Hide options with standard values
8990 using the :hidden-states property. Use progress reporter.
8992 (custom-show): Simplify.
8993 (custom-visibility): Disable images by default.
8994 (custom-variable): New property :hidden-states.
8995 (custom-variable-value-create): Enable images for
8996 custom-visibility widgets. Use :hidden-states property to
8997 determine initial visibility.
8999 * wid-edit.el (widget-image-find): Give images center ascent.
9000 (visibility): Add :on-image and :off-image properties.
9001 (widget-visibility-value-create): Use them.
9003 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9005 * cus-edit.el (processes): Remove from development group.
9006 (oop, hypermedia): Delete group.
9007 (comm): Promote to top-level group.
9009 * net/browse-url.el (browse-url):
9010 * net/xesam.el (xesam):
9011 * net/tramp.el (tramp):
9012 * net/goto-addr.el (goto-address):
9013 * net/ange-ftp.el (ange-ftp): Put in comm group.
9015 * view.el (view): Remove from editing group.
9017 * uniquify.el (uniquify): Put in files group.
9019 * net/browse-url.el (browse-url):
9020 * ps-print.el (postscript): Put in external group.
9022 * cus-edit.el (outlines):
9023 * textmodes/text-mode.el (text-mode-hook):
9024 * textmodes/table.el (table):
9025 * textmodes/picture.el (picture):
9026 * outline.el (outlines): Put in wp group.
9028 * nxml/nxml-mode.el (nxml): Remove from wp group.
9030 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9032 * mail/metamail.el (metamail): Remove from hypermedia group.
9034 * cus-edit.el (abbrev):
9035 * whitespace.el (whitespace):
9036 * vcursor.el (vcursor):
9037 * reveal.el (reveal):
9038 * hl-line.el (hl-line): Put in convenience group.
9040 * epg-config.el (epg): Put in data group.
9042 * emulation/pc-select.el (pc-select): Put in emulations group.
9044 * calculator.el (calculator): Put in applications group.
9046 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9048 Add .dir-locals.el support for file-less buffers.
9049 * files.el (hack-local-variables): Split out code to apply local
9050 variable settings ...
9051 (hack-local-variables-apply): ... here. New function.
9052 (hack-dir-local-variables): Use the default directory for when the
9053 buffer does not have an associated file.
9054 (hack-dir-local-variables-non-file-buffer): New function.
9055 * diff-mode.el (diff-mode):
9056 * vc-annotate.el (vc-annotate-mode):
9057 * vc-dir.el (vc-dir-mode):
9058 * log-edit.el (log-edit-mode):
9059 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9061 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9063 Add support for shelving snapshots and for showing shelves.
9064 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9065 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9067 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9068 (vc-bzr-extra-menu-map): Map them.
9070 2010-03-11 Glenn Morris <rgm@gnu.org>
9072 * cus-edit.el (customize-changed-options-previous-release):
9075 * image.el (image-animate-max-time): Fix :version tag.
9077 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9081 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * vc-git.el (vc-git-revision-table): Include remote branches.
9085 2010-03-10 Kim F. Storm <storm@cua.dk>
9088 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9090 * image.el (image-animate-max-time): New defcustom.
9091 (image-animated-types): New defconst.
9092 (create-animated-image, image-animate-timer)
9093 (image-animate-start, image-animate-stop, image-animate-timeout)
9094 (image-animated-p): New functions.
9096 * image-mode.el (image-toggle-display-image):
9097 Replace `create-image' with `create-animated-image'.
9099 2010-03-09 Miles Bader <miles@gnu.org>
9101 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9102 instead of "format:"; this ensures that the output is
9105 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9107 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9108 that all errors are caught, and that the return value is always a
9111 2010-03-08 Kenichi Handa <handa@m17n.org>
9113 * language/misc-lang.el (windows-1256): New coding system.
9114 (cp1256): New alias of windows-1256 (bug#5690).
9116 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9118 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9119 call to rfc822-bad-address. (Bug#5692)
9121 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9123 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9124 Use vc-git-root as default directory for revision path (Bug#5657).
9126 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9128 * calculator.el (calculator): Don't bind split-window-keep-point
9131 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * vc-git.el: Re-flow to fit into 80 columns.
9134 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9135 Remove spurious `quote' element in each case alternative.
9136 (vc-git-show-log-entry): Use prog1.
9137 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9139 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9143 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9145 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9146 definition, not the name (Bug#5481).
9148 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9150 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9151 argument with a local variable. (Bug#5670)
9153 2010-03-02 Juri Linkov <juri@jurta.org>
9155 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9157 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9159 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9160 error when FILENAME and NEWNAME are existing remote directories.
9162 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9165 2010-03-02 Glenn Morris <rgm@gnu.org>
9167 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9168 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9170 2010-03-01 Kenichi Handa <handa@m17n.org>
9172 * language/burmese.el (burmese-composable-pattern): Rename from
9173 myanmar-composable-pattern.
9175 * international/characters.el (script-list):
9176 * international/fontset.el (script-representative-chars):
9177 Change myanmar to burmese.
9178 (otf-script-alist): Likewise.
9179 (setup-default-fontset): Likewise. Re-fix :otf spec.
9181 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9183 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9185 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9187 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9189 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9191 * net/tramp.el (tramp-handle-write-region): START can be a string.
9192 Take care in the checks. Reported by Dan Davison
9193 <davison@stats.ox.ac.uk>.
9195 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9197 * net/dbus.el (dbus-introspect, dbus-get-property)
9198 (dbus-set-property, dbus-get-all-properties):
9199 Use `dbus-call-method' when noninteractive. (Bug#5645)
9201 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9203 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9204 * emacs-lisp/elint.el (elint-add-required-env):
9205 * calendar/icalendar.el (icalendar--add-diary-entry):
9206 * calc/calcalg2.el (math-tracing-integral):
9207 * files.el (recover-session-finish): Use with-current-buffer
9208 instead of save-excursion.
9210 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9212 Fix in-buffer completion when after-change-functions modify the buffer.
9213 * minibuffer.el (completion--replace): New function.
9214 (completion--do-completion): Use it and use relative movement.
9216 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9218 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9220 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9222 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9223 Allow the characters _<> in the stack entry (Bug#5653).
9225 2010-02-26 Kenichi Handa <handa@m17n.org>
9227 * language/burmese.el: Fix entries in composition-function-table.
9228 (myanmar-composable-pattern): New variable.
9230 * international/fontset.el (setup-default-fontset): Add an entry
9233 * international/characters.el (script-list): Add Myanmar
9236 2010-02-26 Glenn Morris <rgm@gnu.org>
9238 * custom.el (custom-initialize-delay): Doc fix.
9240 * mail/sendmail.el (send-mail-function): Autoload the call
9241 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9243 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9245 * files.el (hack-local-variables-filter): For eval forms, also
9246 check safe-local-variable-p (Bug#5636).
9248 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9250 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9251 setting the modes by `ignore-errors'. It might fail, for example
9252 if the file is not owned by the user but the group.
9253 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9255 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9257 * files.el (directory-listing-before-filename-regexp): Use
9258 stricter matching for iso-style dates, to avoid false matches with
9259 date-like filenames (Bug#5597).
9261 * htmlfontify.el (htmlfontify): Doc fix.
9263 * eshell/eshell.el (eshell): Doc fix.
9265 * startup.el (fancy-about-screen): In mode-line, apply
9266 mode-line-buffer-id face only to the buffer name (Bug#5613).
9268 2010-02-20 Kevin Ryde <user42@zip.com.au>
9270 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9271 In `watcom' anchor regexp to start of line, to avoid slowness
9274 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9276 * subr.el (remove-yank-excluded-properties): Explain in a comment
9277 why `category' property is removed.
9279 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9281 * isearch.el (isearch-update-post-hook, isearch-update): Revert
9284 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9286 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9287 (icalendar--convert-weekly-to-ical)
9288 (icalendar--convert-yearly-to-ical)
9289 (icalendar--convert-block-to-ical)
9290 (icalendar--convert-cyclic-to-ical)
9291 (icalendar--convert-anniversary-to-ical): Take care of time
9292 specifications where hour has 1-digit only (Bug#5549).
9294 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9296 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9297 of disassemble output in GDB 7.1.
9299 2010-02-19 Glenn Morris <rgm@gnu.org>
9301 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9302 property. (Bug#5593)
9304 2010-02-18 Sam Steingold <sds@gnu.org>
9306 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9308 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9310 Use abbreviated file names in bookmarks (bug#5591).
9311 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9312 calls to expand-file-name.
9313 (bookmark-relocate): Use abbreviated file names in bookmarks.
9314 (bookmark-load): Use abbreviated file names in messages.
9316 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9318 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9319 expand "." and "..". Reported by Thierry Volpiatto
9320 <thierry.volpiatto@gmail.com>.
9322 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9324 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9325 permissions of the temporary file to "0600". In case the remote
9326 file has no read permissions for the owner, there might be
9327 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9329 22010-02-18 Glenn Morris <rgm@gnu.org>
9331 * emacs-lisp/authors.el (authors-renamed-files-alist):
9332 Add entries for INSTALL.CVS.
9334 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9336 * vc-bzr.el: Fix typo in Known Bugs section.
9338 * isearch.el (isearch-update-post-hook): New hook.
9339 (isearch-update): Use the new hook.
9341 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9343 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9344 Fix errors in copying directories.
9345 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9346 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9347 (tramp-handle-delete-file)
9348 (tramp-handle-dired-recursive-delete-directory)
9349 (tramp-handle-write-region): Flush also the cache for the upper
9352 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9354 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9356 * cus-edit.el (hardware): Doc fix.
9358 * man.el (man): Add to external custom group.
9360 * delim-col.el (columns): Move to wp custom group.
9362 * doc-view.el (doc-view): Add to data custom group.
9364 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9366 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9367 by ispell-parse-output (Bug#5575).
9369 2010-02-16 Kenichi Handa <handa@m17n.org>
9371 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9372 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9373 (skkdic-convert): Use `euc-japan' coding system for writing.
9375 2010-02-16 Glenn Morris <rgm@gnu.org>
9377 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9378 tex-main-file before using it. (Bug#5562)
9380 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9383 warnings, since it is annoying for the user to see them each time he
9386 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9388 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9389 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9390 instead of PROC for caching "first-password-request". Otherwise,
9391 new processes would not profit from passwords already entered.
9393 * net/tramp-cache.el (tramp-dump-connection-properties):
9394 Don't save "first-password-request" property.
9396 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9398 * outline.el (outline-head-from-level):
9399 * simple.el (with-wrapper-hook):
9400 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9401 (elint-defun, elint-buffer-env, elint-top-form-logged)
9402 (elint-unbound-variable):
9403 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9404 Fix typos in docstrings.
9406 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9408 * files.el (insert-directory): When WILDCARD-REGEXP and
9409 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9410 whole directory. (Bug#5551)
9412 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9413 dired's alignment sanity. (Bug#5516)
9415 2010-02-14 Juri Linkov <juri@jurta.org>
9417 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9418 Remove remaining ^H with their preceding chars. (Bug#5566)
9420 2010-02-13 Glenn Morris <rgm@gnu.org>
9422 * simple.el (transpose-subr): Give it a doc-string.
9424 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9427 2010-02-12 Juri Linkov <juri@jurta.org>
9429 * arc-mode.el (archive-unique-fname): Make directories for nested
9430 archives. (Bug#5540)
9432 2010-02-12 Juri Linkov <juri@jurta.org>
9434 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9436 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * subr.el (copy-overlay): Handle deleted overlays.
9440 * man.el (Man-completion-table): Don't signal an error if we can't run
9441 manual-program (bug#4056).
9443 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9445 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9447 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9449 * info.el (Info-bookmark-jump): Simplify.
9451 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9452 (bookmark-default-handler): Accept new bookmark field `buffer'.
9454 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9456 * iswitchb.el (iswitchb-completions): Revert last change.
9458 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9460 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9461 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9462 This prevents file names like "~/" being listed literally.
9464 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9466 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9467 Remove dead code. (Bug#5546)
9469 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9471 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9472 correctly (Bug#5548).
9474 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9476 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9477 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9479 2010-02-08 Kenichi Handa <handa@m17n.org>
9481 * international/mule-util.el (with-coding-priority): Add autoload
9482 cookie for putting `lisp-indent-function'.
9484 2010-02-07 Glenn Morris <rgm@gnu.org>
9486 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9487 Move F2003 named interfaces from keywords-2 to keywords-1, and
9488 use function-name-face rather than constant-face.
9489 Simplify "abstract interface" regexp.
9491 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9493 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9494 ID-FORMAT. Pass it to `file-attributes'.
9496 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9498 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9500 * faces.el (set-face-attribute): Allow calling
9501 internal-set-lisp-face-attribute with 'unspecified family and
9502 foundry argument (Bug#5536).
9504 2010-02-07 Glenn Morris <rgm@gnu.org>
9506 * progmodes/f90.el (f90-font-lock-keywords-2)
9507 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9508 Handle F2003 named interfaces.
9510 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9512 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9513 beg and end before calling c-get-state-before-change-functions.
9515 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9517 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9519 2010-02-05 Juri Linkov <juri@jurta.org>
9521 * doc-view.el (doc-view-mode):
9522 * image-mode.el (image-mode): Put property mode-class=special.
9525 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9527 * vc-svn.el (vc-svn-revision-table): New function.
9529 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9531 * net/ange-ftp.el (ange-ftp-insert-directory):
9532 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9533 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9534 Handle also directories. (Bug#5478)
9536 2010-02-05 Glenn Morris <rgm@gnu.org>
9538 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9540 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9542 * startup.el (command-line-1): Convert options beginning with a
9543 single dash as well (Bug#5519).
9545 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9547 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9548 * minibuffer.el (completion-initials-expand): Only check the presence
9549 of delims *within* the boundaries, since otherwise the / delim is
9550 always found for files.
9552 Fix up various corner case problems.
9553 * doc-view.el (doc-view-last-page-number): New function.
9554 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9555 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9556 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9557 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9558 (doc-view-convert-current-doc): Don't create the resolution.el file
9560 (doc-view-pdf/ps->png): Do it here instead.
9561 (doc-view-already-converted-p): Check that resolution.el is present.
9562 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9563 windows that are not yet showing images.
9565 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9567 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9568 `dired-uncache' for every elemnt which is an absolute file name.
9570 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9571 directory, handle its directory component.
9572 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9573 function is called permanently and creates noise, otherwise.
9575 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9576 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9577 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9579 2010-02-04 David Burger <dburger@google.com> (tiny change)
9581 * macros.el (apply-macro-to-region-lines):
9582 Minor simplification. (Bug#5485)
9584 2010-02-04 Glenn Morris <rgm@gnu.org>
9586 * mail/rmail.el (rmail-show-message-1): Handle malformed
9587 quoted-printable text. (Bug#5441)
9589 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9591 * simple.el (visual-line-mode): Capitalize lighter.
9593 2010-02-03 John Wiegley <jwiegley@gmail.com>
9595 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9596 list of files considered for "virtual buffer" completions.
9598 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9600 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9601 also in case of (and (not full) (not wildcard)). This is needed
9602 when dired is called with a list of files, which are not in
9603 `default-directory'. (Bug#5478)
9605 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9607 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9609 2010-02-02 Juri Linkov <juri@jurta.org>
9611 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9612 from unidiff to allow function-line after @@.
9614 2010-02-02 Juri Linkov <juri@jurta.org>
9616 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9617 '(RCS SCCS) with inverted condition.
9619 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9621 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9624 2010-02-01 Juri Linkov <juri@jurta.org>
9626 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9627 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9628 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9629 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9631 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9634 (doc-view-revert-buffer): New command.
9635 (doc-view-mode-map): Use it.
9637 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9639 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9640 pending merge is detected.
9642 2010-01-31 Juri Linkov <juri@jurta.org>
9644 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9645 beginning of interactive spec like all other grep commands do.
9646 Put "all" in front of "gz". (Bug#5260)
9648 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9650 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9652 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9654 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9655 regexp is incorrect (Bug#5476).
9657 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9659 * net/tramp.el (tramp-handle-insert-directory): Handle also
9660 symlinks, when FILENAME is not in `default-directory'.
9662 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9664 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9665 FILE is not in `default-directory'. (Bug#5478)
9667 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9668 of SWITCHES. Handle the case, FILENAME is not in
9669 `default-directory'. (Bug#5478)
9670 (tramp-register-file-name-handlers): Add safe-magic property.
9672 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9674 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9677 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9679 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9680 (flymake-master-make-header-init): Add other C++ filename masks.
9681 (flymake-find-possible-master-files)
9682 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9684 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9686 Fix some busybox annoyances.
9688 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9689 not responding." string.
9690 (tramp-open-connection-setup-interactive-shell): Dump stty
9691 settings. Enable "neveropen" arg for all `tramp-send-command'
9692 calls. Handle "=" in variable values properly.
9693 (tramp-find-inline-encoding): Raise an error, when no encoding is
9695 (tramp-wait-for-output): Check, whether PROC buffer is available.
9696 Remove spurious " ^H" sequences, sent by busybox.
9697 (tramp-get-ls-command): Suppress coloring, if possible.
9699 2010-01-28 Glenn Morris <rgm@gnu.org>
9701 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9703 * log-edit.el (log-edit-strip-single-file-name): Add missing
9704 :safe, :group, and :version tags.
9706 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9708 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9711 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9713 * files.el (delete-directory): Handle moving to trash without
9714 first doing recursion (Bug#5436).
9716 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9718 * vc-hooks.el (vc-path): Mark as obsolete.
9720 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9722 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9725 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9727 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9729 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9731 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9733 * vc-bzr.el (vc-bzr-revision-table): New function.
9735 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
9737 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9738 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9740 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9742 Remove support for adding --signoff on commit.
9743 Future support will use an incompatible generic mechanism.
9744 * vc-git.el (vc-git-add-signoff): Remove variable.
9745 (vc-git-toggle-signoff): Remove function.
9746 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9748 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9749 from xterm-set-background-mode. Return t if the background mode
9751 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9752 earlier, call it again in case the background mode has changed.
9754 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9756 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9759 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9761 * emacs-lisp/assoc.el (aelement): Doc fix.
9762 (aput, adelete, amake): Use lexical-let (Bug#5450).
9764 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9766 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9767 is the same as subprogram call, not declaration. (Bug#5435).
9769 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9771 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9772 (tramp-smb-maybe-open-connection): Use it.
9774 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9776 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9778 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9780 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9781 just because we see "encoding: 8bit".
9782 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9784 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9786 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9788 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9790 * jka-compr.el (jka-compr-load): If load-file is not in
9791 load-history, try its file-truename version. (bug#5447)
9793 2010-01-21 Alan Mackenzie <acm@muc.de>
9795 Fix a situation where deletion of a cpp construct throws an error.
9796 * progmodes/cc-engine.el (c-invalidate-state-cache):
9797 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9798 special cpp construct is still in the buffer.
9799 (c-parse-state): Record the special cpp with markers, not numbers.
9801 2010-01-21 Kenichi Handa <handa@m17n.org>
9803 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9804 process last-command-event, as it is now decoded first (Bug#5380).
9806 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9808 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9810 2010-01-20 Glenn Morris <rgm@gnu.org>
9812 * indent.el (tab-always-indent): Fix custom-type.
9814 2010-01-19 Alan Mackenzie <acm@muc.de>
9816 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9817 buffer throws "args out of range".
9818 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9819 playing the role of delimiter.
9821 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9823 * progmodes/ada-mode.el: Fix bug#5400.
9824 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9825 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9826 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9827 Improve comments in "is" portion. Handle null procedure declaration.
9828 (ada-move-to-end): Improve doc string.
9830 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9832 * ido.el (ido-cur-list): Initialize to nil.
9833 Remove obsolete information from commentary.
9834 (ido-choice-list): Initialize to nil.
9835 (ido-get-bufname): Reject minibuffers.
9836 (ido-make-buffer-list): If "default" is a nonexistent
9837 buffer, ignore it, as per the function's comment.
9838 (ido-kill-buffer-internal): New function.
9839 (ido-kill-buffer-at-head): Use it.
9840 (ido-visit-buffer): Likewise.
9842 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9844 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9846 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9848 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9849 Fix typos in chart titles.
9851 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9852 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9853 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9854 (describe-class, eieio-describe-generic, describe-generic):
9855 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9856 (eieio-speedbar-expand):
9857 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9858 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9859 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9860 (viper-del-backward-char-in-replace, viper-backward-indent)
9861 (viper-brac-function, viper-register-to-point, viper-submit-report):
9862 * net/tramp.el (tramp-remote-coding-commands):
9863 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9864 Fix typos in docstrings.
9866 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9868 * mail/sendmail.el (mail-yank-original): Set the mark if the
9869 specified function for yanking does not do it.
9871 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9873 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9875 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9876 resyncing a directory.
9878 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9880 * progmodes/ada-mode.el: Fix bug#1920.
9881 (ada-ident-re): Delete ., allow multibyte characters.
9882 (ada-goto-label-re): New; matches goto labels.
9883 (ada-block-label-re): New; matches block labels.
9884 (ada-label-re): New; matches both.
9885 (ada-named-block-re): Deleted; callers changed to use
9886 `ada-block-label-re' instead.
9887 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9888 Use `ada-block-label-re'.
9889 (ada-indent-on-previous-lines): Improve handling of goto labels.
9890 (ada-get-indent-block-start): Special-case block label.
9891 (ada-get-indent-label): Split into `ada-indent-block-label' and
9892 `ada-indent-goto-label'.
9893 (ada-goto-stmt-start, ada-goto-next-non-ws):
9894 Optionally ignore goto labels.
9895 (ada-goto-next-word): Simplify.
9896 (ada-indent-newline-indent-conditional): Insert newline before
9897 trying to fix indentation; doc fix.
9899 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9901 * calc/calc.el (calc-command-flags): Give it an initial value.
9903 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9905 * files.el (minibuffer-with-setup-hook):
9906 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9907 (artist-key-draw-continously, artist-key-do-continously-continously)
9908 (artist-key-set-point-continously, artist-mouse-draw-continously):
9909 Fix typos in docstrings.
9911 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9913 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9914 return t (Bug#3898).
9916 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9918 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9919 can parse the output of the external commands (Bug#5279).
9921 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9923 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9925 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9927 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9929 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9931 * startup.el (command-line): Remove unused --icon-type arg.
9932 Handle --display arg, passing it to command-line-1 (Bug#5392).
9934 2010-01-16 Mario Lang <mlang@delysid.org>
9936 * emacs-lisp/chart.el (chart-translate-namezone):
9937 * textmodes/artist.el (artist-compute-popup-menu-table):
9938 Remove duplicated words in doc-strings.
9940 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9942 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9943 to mairix-search to suppress threading (Bug#5342).
9945 2010-01-15 Kenichi Handa <handa@m17n.org>
9947 * international/mule-cmds.el (canonicalize-coding-system-name):
9948 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9950 2010-01-15 Glenn Morris <rgm@gnu.org>
9952 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9954 * wid-edit.el (widget-keymap): Doc fix.
9956 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9957 former seems to be more widely accepted by various svn versions.
9959 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9961 * find-cmd.el (find-constituents):
9962 * vc-arch.el (vc-arch-root):
9963 * window.el (window-body-height, pop-up-frames):
9964 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9965 * progmodes/ada-stmt.el (ada-if):
9966 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9967 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9968 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9969 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9971 * progmodes/flymake.el (flymake-post-syntax-check):
9972 Fix typo in error message.
9974 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9976 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9977 which is always a string. (Bug#5313)
9979 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9981 * progmodes/ada-xref.el (ada-default-prj-properties):
9982 Simplify previous change.
9984 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9986 * progmodes/ada-xref.el (ada-default-prj-properties):
9987 Default ada_project_path to $ADA_PROJECT_PATH.
9989 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9991 * progmodes/ada-mode.el (ada-create-keymap):
9992 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9994 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9996 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9997 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9998 (ada-get-current-indent, ada-imenu-generic-expression)
9999 (ada-which-function): Check for it.
10001 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10003 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10004 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10006 2010-01-14 Glenn Morris <rgm@gnu.org>
10008 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10010 2010-01-14 Kenichi Handa <handa@m17n.org>
10012 * composite.el (auto-composition-mode): Make it a buffer local
10013 variable (permanent-local).
10014 (auto-composition-function): Set the default value to
10015 auto-compose-chars.
10016 (auto-composition-mode): Make it a simple function, not a minor mode.
10017 (global-auto-composition-mode): Likewise.
10018 (turn-on-auto-composition-if-enabled): Delete it.
10020 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10022 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10024 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10026 * files.el (copy-directory): Compute target for recursive
10027 directories with identical names. (Bug#5343)
10029 2010-01-12 Glenn Morris <rgm@gnu.org>
10031 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
10032 it to bug-gnu-emacs rather than emacs-pretest-bug.
10034 2010-01-11 Sam Steingold <sds@gnu.org>
10036 * imenu.el (imenu-default-create-index-function): Detect infinite
10037 loops caused by imenu-prev-index-position-function.
10039 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10041 * htmlfontify.el (htmlfontify-load-rgb-file)
10042 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10043 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10044 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10045 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10046 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10047 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10048 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10049 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10050 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10051 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10052 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10053 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10054 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10055 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10056 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10057 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10058 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10059 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10060 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10061 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10062 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10063 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10064 backslash-quoting from parentheses, etc.
10066 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10068 * progmodes/js.el: Autoload javascript-mode alias.
10070 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10072 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10073 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10074 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10075 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10076 Fix typos in docstrings.
10077 (ffap-url-regexp): Doc fix.
10078 (ffap-at-mouse): Fix typo in message.
10080 2010-01-11 Glenn Morris <rgm@gnu.org>
10082 * version.el (emacs-copyright): Set copyright year to 2010.
10084 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10086 * format.el (format-annotate-function): Only set
10087 write-region-post-annotation-function after running to-fn so as not to
10088 affect nested write-region calls (bug#5273).
10090 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10092 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10095 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10097 * man.el (Man-goto-section): Signal error if the section is not
10100 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10102 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10103 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10105 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10107 * progmodes/compile.el: Don't treat compile-command as safe if
10108 compilation-read-command might be nil (Bug#4218).
10110 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10112 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10115 2010-01-08 Kenichi Handa <handa@m17n.org>
10117 * international/fontset.el (build-default-fontset-data):
10118 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10120 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10122 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10123 to `create-file-buffer' as it expects, not just a buffer name.
10124 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10125 to help uniquify. (Bug#3224)
10127 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10129 * font-setting.el (font-setting-change-default-font): Use user-spec
10132 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10134 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10136 2010-01-05 Tom Tromey <tromey@redhat.com>
10138 * progmodes/python.el (python-font-lock-keywords):
10139 Handle qualified decorators (Bug#881).
10141 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10143 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10144 in a lightweight checkout.
10146 2010-01-05 Kenichi Handa <handa@m17n.org>
10148 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10150 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10152 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10154 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10156 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10157 checkouts. (Bug#618)
10158 (vc-bzr-log-view-mode): Also highlight the author.
10159 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10160 (vc-bzr-shelve-menu-map):
10161 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10162 (vc-bzr-shelve-apply): Make prompt more explicit.
10164 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10166 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10167 They are valid characters in URL paths (rfc3986), and at least
10168 Firefox does not understand the encoded version (Bug#3166).
10170 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10172 * progmodes/octave-mod.el (octave-end-keywords)
10173 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10174 Add "end" keyword (Bug#3061).
10175 (octave-end-as-array-index-p): New function.
10176 (calculate-octave-indent): Use it.
10178 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10180 * bookmark.el: Consistently put the text property on the bookmark name.
10181 (bookmark-bmenu-marks-width): Bump back to 2, to include
10183 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10184 property on the bookmark name, instead of not putting it at all.
10185 (bookmark-bmenu-list): Fix where we put the text property.
10187 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10189 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10190 for showing buffer modified state (as added in the previous change).
10192 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10194 * bookmark.el: Show modified state of bookmark buffer more accurately.
10195 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10196 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10197 (with-buffer-modified-unmodified): New macro.
10198 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10199 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10200 Use new macro to preserve the buffer modified state.
10202 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10204 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10205 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10206 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10207 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10208 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10209 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10210 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10212 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10214 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10215 Make the lines in the generated doc string shorter. (Bug#4668)
10217 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10219 * net/rcirc.el: Add follow-link binding (Bug#4738).
10221 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10223 * Makefile.in (bzr-update): Rename from cvs-update.
10224 (cvs-update): New target for backward compatibility.
10226 * makefile.w32-in (bzr-update): Rename from cvs-update.
10227 (cvs-update): New target for backward compatibility.
10229 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10231 * bookmark.el: Remove gratuitous gratitude.
10233 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10235 * bookmark.el (bookmark-bmenu-any-marks): New function.
10236 (bookmark-bmenu-save): Clear buffer modification if no marks.
10238 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10240 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10241 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10242 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10243 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10245 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10246 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10247 To: emacs-devel {_AT_} gnu.org
10248 Subject: bookmark.el bug report
10249 Date: Mon, 28 Dec 2009 14:19:16 +0800
10250 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10252 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10254 * bookmark.el: Improvements suggested by Drew Adams:
10255 (bookmark-bmenu-ensure-position): New name for
10256 `bookmark-bmenu-check-position'. Just ensure the position,
10257 don't return any meaningful value.
10258 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10261 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10263 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10264 (bookmark-yank-point, bookmark-bmenu-check-position):
10265 Fix typos in docstrings.
10266 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10267 (bookmark-name-from-full-record, bookmark-get-position)
10268 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10269 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10270 Remove useless quoting of parenthesis, etc. in docstrings.
10272 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10273 (ediff-append-custom-diff): Fix typo in error message.
10274 (ediff-meta-mark-equal-files): Fix typos in messages.
10276 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10278 * net/imap-hash.el (imap-hash-make): Doc fix.
10279 (imap-hash-test): Fix typo in error message; reflow docstring.
10280 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10281 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10282 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10283 Fix typos in docstrings.
10284 (imap-hash-open-connection): Fix typo in error message.
10286 * play/gomoku.el (gomoku): Fix typos in docstring.
10288 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10289 (gdb-jsonify-buffer): Fix typos in docstring.
10290 (gdb-goto-breakpoint): Fix typo in error message.
10291 ("Display Other Windows"): Fix typo in help message.
10292 (gdb-speedbar-expand-node): Fix typo in question.
10294 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10295 (idlwave-html-system-help-location, idlwave-html-help-location)
10296 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10297 (idlwave-help-browser-generic-args, idlwave-help-directory)
10298 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10299 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10300 (idlwave-online-help, idlwave-help-html-link)
10301 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10302 Fix typos in docstrings.
10303 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10305 (idlwave-help-assistant-start): Fix typo in error message.
10307 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10308 (octave-electric-space): Fix typos in docstrings.
10310 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10312 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10314 2010-01-01 Juri Linkov <juri@jurta.org>
10316 * comint.el (comint-input-ring-size): Make it a defcustom and
10317 increase the default to 500 (Bug#5148).
10319 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10321 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10322 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10323 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10325 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10327 Show working revision correctly for mercurial.
10328 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10329 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10331 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10333 Declare some functions for the byte-compiler.
10334 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10335 (speedbar-timer-fn, speedbar-change-expand-button-char)
10336 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10338 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10340 This changeset reverts GDB Graphical Interface to use annotations.
10341 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10343 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10345 Make vc-dir work on subdirectories of the bzr root.
10346 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
10347 file names relative to it.
10348 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10349 relative directory to vc-bzr-after-dir-status.
10351 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10353 * font-lock.el (font-lock-refresh-defaults): New function, which
10354 can be used to let font-lock react to external changes in
10355 variables like font-lock-defaults and keywords.
10356 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10358 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10360 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10362 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10364 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10366 Supersede color.diff settings in git log (bug#5211).
10368 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10369 escape chars in its output when the user has color.diff set to `always'.
10370 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10372 2009-12-26 Kevin Ryde <user42@zip.com.au>
10374 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10375 node. Keep previous "Index" name to work with past coreutils too.
10377 * man.el (man): Revise docstring a bit to show -a and -l as
10378 examples. Add -k description since support for it has otherwise
10379 been a secret. (Further to bug#3717.)
10380 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10381 "no matches" rather than "Can't find manpage", as the latter reads
10382 like -k was interpreted as a page name, which is not so. (Bug#5431)
10384 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10386 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10387 switches. Check also for //SUBDIRED// line.
10389 2009-12-25 Kenichi Handa <handa@m17n.org>
10391 * language/indian.el (devanagari-composable-pattern): Fixed to
10392 handle ZWNJ and ZWJ. Use it in composition-function-table for
10394 (malayalam-composable-pattern): Fix previous change.
10396 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10398 * ps-print.el (ps-face-attributes): It was not returning the
10399 attribute face for faces specified as string. Reported by harven
10400 <harven@free.fr>. (Bug#5254)
10401 (ps-print-version): New version 7.3.5.
10403 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10405 * calendar/icalendar.el (icalendar--convert-tz-offset):
10406 Fix timezone names.
10407 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10408 (icalendar--add-diary-entry): Remove the trailing blank that
10409 diary-make-entry inserts.
10411 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10413 Make `file-expand-wildcards' work for remote files.
10415 * files.el (file-expand-wildcards): In case of remote files, check
10416 only local file name part for wildcards. Provide feature 'files
10417 and subfeature 'remote-wildcards. (Bug#5198)
10419 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10420 if there is already an established connection.
10421 (tramp-advice-file-expand-wildcards): Remove it.
10423 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10424 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10425 Activate advice for older GNU Emacs versions. (Bug#5237)
10427 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10429 Some doc fixes (more needed).
10431 * find-cmd.el (find-constituents): Reflow docstring.
10432 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10433 (find-generic): Doc fix.
10435 2009-12-17 Juri Linkov <juri@jurta.org>
10437 Fix regression from 23.1 to allow multiple modes in Local Variables.
10439 * files.el (hack-local-variables-filter): While ignoring duplicates,
10440 don't take `mode' into account.
10441 (hack-local-variables-filter, hack-dir-local-variables):
10442 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10444 2009-12-17 Juri Linkov <juri@jurta.org>
10446 Make `dired-diff' safer. (Bug#5225)
10448 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10449 `current' or when `file' is a directory of the `current' file.
10451 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10453 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10454 unconditionally preloaded files.
10456 2009-12-16 Juri Linkov <juri@jurta.org>
10458 Revert to old 23.1 logic of using the file at the mark as default.
10459 * dired-aux.el (dired-diff): Use the file at the mark as default
10460 if it's not the same as the current file, and the target dir is
10461 the current dir or the mark is active. Add the current file
10462 as the arg of `dired-dwim-target-defaults'. Use the default file
10463 in the prompt. (Bug#5225)
10465 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10467 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10468 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10469 (tramp-check-for-regexp): Check also, when an echoing shell stops
10470 to echo sent commands.
10472 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10474 * Makefile.in: Revert last change (Bug#5191).
10476 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10478 * vc-hg.el (vc-hg-print-log): Fix argument order.
10479 (vc-hg-working-revision): Make sure the command is executed in a
10480 known environment so that we can parse the output. (Bug#4417)
10482 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10484 * progmodes/python.el (python-symbol-completions): Remove text
10485 properties from symbol string before calling python-send-receive.
10487 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10489 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10490 when there are values for both file and line. (Bug#5060)
10492 2009-12-14 Juri Linkov <juri@jurta.org>
10494 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10495 whitespace after the file name of the first line of unified format,
10496 because git-diff doesn't output whitespace and file modification time
10497 after the file name.
10499 2009-12-14 David Kastrup <dak@gnu.org>
10501 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10502 check if it already has the `display' property added by
10503 `Info-display-images-node', and not put the `invisible' property
10506 2009-12-13 Glenn Morris <rgm@gnu.org>
10508 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10509 (report-emacs-bug): In message-mode, sort manually before storing
10510 original report text. (Bug#5178)
10511 Remove superfluous save-excursion.
10513 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10515 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10516 when responding to "GetAll" properties.
10518 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10520 * simple.el (compose-mail): Remove mail-setup-with-from from
10521 customization checks.
10523 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10525 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10526 RAR archives created on Unix systems.
10528 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10530 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10531 the varalias that was accidentally removed by the 2009-11-19 change
10534 2009-12-12 Kenichi Handa <handa@m17n.org>
10536 * language/indian.el (indian-compose-regexp): New function.
10537 (malayalam-composable-pattern): Fix the pattern.
10538 (composition-function-table): Set malayalam-composable-pattern for
10539 Malayalam characters.
10541 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10543 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10544 rather than down-mouse-1, based on follow-link conventions.
10546 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10549 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10551 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10552 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10553 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10554 (verilog-leap-to-head, verilog-backward-token):
10555 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10557 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10559 * progmodes/verilog-mode.el (verilog-auto-lineup)
10560 (verilog-nameable-item-re): Cleanup user-visible spelling and
10561 documentation errors. One reported by Gary Delp.
10562 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10563 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10564 package, bug195. Reported by Pierre-David Pfister.
10566 2009-12-11 Glenn Morris <rgm@gnu.org>
10568 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10570 * mail/emacsbug.el: No longer require sendmail.
10571 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10572 (report-emacs-bug-orig-text): Doc fix.
10573 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10574 New local variables, to adapt to different mail-user-agents.
10575 (report-emacs-bug): Fix test for a gnu.org address.
10576 Use overlays for emphasis, since font-lock defeats 'face property.
10577 Pretest bugs also end up at the newsgroup these days.
10578 Stop message-mode stripping text properties.
10579 Set and use the new buffer-local variables.
10580 (report-emacs-bug-hook): Add doc-string.
10581 Remove some unnecessary save-excursions and simplify.
10582 Use the appropriate hook and send-command.
10584 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10585 capitalization of some menu entries.
10587 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10589 * whitespace.el (whitespace-display-char-on):
10590 Ensure `buffer-display-table' is unique when two or more windows are
10591 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10594 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10596 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10597 characters in the Attribute field.
10599 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10601 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10603 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10605 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10606 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10607 Disregard autoload-excludes.
10608 (update-directory-autoloads): Obey autoload-excludes here instead.
10609 But don't store its contents in no-autoloads and remove entries that
10610 refer to excludes files.
10612 2009-12-10 Glenn Morris <rgm@gnu.org>
10614 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10615 (expand-mail-aliases): Define for compiler.
10617 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10618 Define for compiler.
10620 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10621 appropriate for the mail-user-agent in use.
10623 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10625 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10627 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10629 Fix short log parsing and fontification.
10630 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10631 Fix fontification for the [merge] label.
10633 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10635 Drop some properties to avoid surprises (bug#5002).
10636 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10637 (hfy-fontify-buffer): Use it.
10639 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10643 Adjust all callers.
10644 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10645 args compulsory. Adjust callers.
10646 (ffap-gopher-at-point): Remove unused var `name'.
10648 Get rid of the ELCFILES abomination.
10649 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10650 (compile-elcfiles): New phony target.
10651 (compile-main): Compute ELCFILES dynamically.
10652 (compile-clean): New target to remove left-over elc files.
10653 (compile, all): Use it.
10655 2009-12-09 Kenichi Handa <handa@etlken>
10657 * international/mule-diag.el: Require help-mode instead of help-fns.
10659 2009-12-09 Kenichi Handa <handa@m17n.org>
10661 * international/mule-cmds.el (ucs-names): Supply sufficiently
10662 fine ranges instead of pre-calculating accurate ranges.
10663 Iterate with bigger gc-cons-threshold.
10665 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10667 Add support for stashing a snapshot of the current tree.
10668 * vc-git.el (vc-git-stash-snapshot): New function.
10669 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10671 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10673 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10674 instead of `(beginning|end)-of-line'.
10676 2009-12-08 Glenn Morris <rgm@gnu.org>
10678 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10680 * Makefile.in (ELCFILES): Regenerate.
10682 2009-12-07 Juri Linkov <juri@jurta.org>
10684 Don't lazy-highlight the comint output in history Isearch mode.
10686 * comint.el (comint-history-isearch-search): Instead of
10687 `comint-line-beginning-position', use `comint-after-pmark-p'
10688 to check if point if before the process mark, and go to
10689 `process-mark' in this case.
10691 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10693 * textmodes/tex-mode.el (latex-complete)
10694 (latex-indent-or-complete): Remove.
10695 (latex-mode): Set completion-at-point-functions instead.
10697 Provide a standard completion command and hook it into TAB.
10698 * minibuffer.el (completion-at-point-functions): New var.
10699 (completion-at-point): New command.
10700 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10701 * progmodes/python.el (python-mode-map): Use completion-at-point.
10702 (python-completion-at-point): Rename from python-partial-symbol and
10703 adjust for use in completion-at-point-functions.
10704 (python-mode): Setup completion-at-point for Python completion.
10705 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10706 extracted from lisp-complete-symbol.
10707 (lisp-complete-symbol): Use it.
10708 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10709 setup completion-at-point for Elisp completion.
10710 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10711 Use completion-at-point.
10712 * ielm.el (ielm-map): Use completion-at-point.
10713 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10714 * progmodes/sym-comp.el: Move to...
10715 * obsolete/sym-comp.el: Move from progmodes.
10717 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10719 Prevent save-buffer in Rmail buffers from using the coding-system
10720 of the current message, and from clobbering the encoding mnemonics
10721 in the mode line (Bug#4623).
10723 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10725 (rmail-message-encoding): New variable.
10726 (rmail-write-region-annotate): Record the encoding of the current
10727 message in rmail-message-encoding.
10728 (rmail-after-save-hook): New function, restores the encoding of
10729 the current message after the message collection is saved.
10731 2009-12-07 Juri Linkov <juri@jurta.org>
10733 * progmodes/grep.el (grep-read-files): Use `completing-read'
10734 instead of `read-string'. Set its `collection' arg to
10735 `read-file-name-internal'. (Bug#4301)
10737 2009-12-07 Juri Linkov <juri@jurta.org>
10739 Correctly restore original Isearch point. (Bug#4994)
10741 * isearch.el (isearch-mode): Move `isearch-push-state' after
10742 `(run-hooks 'isearch-mode-hook)'.
10743 (isearch-cancel): When `isearch-push-state-function' is defined,
10744 let-bind `isearch-cmds' to the first state (the last element of
10745 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10746 function and restores the original point). Otherwise, move point
10747 to `isearch-opoint'.
10749 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10751 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10752 chars that don't have names, so the table can be built much faster at
10755 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10757 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10758 change. Suggested by David Kastrup.
10760 * simple.el (compose-mail): Check for incompatibilities and warn.
10761 (compose-mail-user-agent-warnings): New option.
10763 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10765 Support showing a single log entry from vc-annotate.
10766 * vc.el (print-log): Add a new argument: START-REVISION.
10767 (vc-print-log-internal): Add a new optional argument and
10768 pass it to the backend.
10769 (vc-print-log, vc-print-root-log): Adjust callers.
10770 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10771 buffer already displays the requested log entry, use it.
10772 Otherwise display only the log entry in question.
10773 * vc-svn.el (vc-svn-print-log):
10774 * vc-mtn.el (vc-mtn-print-log):
10775 * vc-hg.el (vc-hg-state):
10776 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10777 (vc-git-show-log-entry): Return t on success.
10778 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10779 (vc-bzr-show-log-entry): Return t on success.
10780 * vc-rcs.el (vc-rcs-print-log):
10781 * vc-sccs.el (vc-sccs-print-log):
10782 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10784 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10786 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10787 Add menus to the meta mode. (Bug#5043)
10789 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10791 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10794 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10796 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10798 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10799 Berbain <raphael.berbain@gmail.com>.
10801 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10803 (tramp-initial-end-of-output): New defconst.
10804 (tramp-methods, tramp-find-shell)
10805 (tramp-open-connection-setup-interactive-shell)
10806 (tramp-maybe-open-connection): Use it.
10807 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10808 existence of `#' and `$'.
10810 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10811 `tramp-initial-end-of-output'.
10813 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10815 Get the background mode from the terminal for xterm, and set
10817 * term/xterm.el (xterm-set-background-mode): New function.
10818 (terminal-init-xterm): Use it in case xterm supports background
10819 color queries. Recompute faces after getting the background
10822 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10824 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10825 number comment back on its own line, for easier parsing.
10827 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10829 Make it work for non-file buffers (bug#5102).
10830 * doc-view.el (doc-view-current-cache-dir):
10831 Use doc-view-buffer-file-name rather than buffer-file-name.
10832 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10834 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10836 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10837 author field is too short.
10839 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10841 * vc-git.el (vc-git-print-log): Handle a limit argument.
10842 Display the short log in graph form and with labels.
10843 (vc-git-log-view-mode): Handle labels.
10845 Make vc-revert change VC state from 'added to 'unregistered.
10846 * vc-git.el (vc-git-revert): Call git reset first.
10848 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10850 * net/newst-backend.el, net/newst-plainview.el:
10851 * net/newst-reader.el, net/newst-ticker.el:
10852 * net/newst-treeview.el, net/newsticker.el:
10853 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10855 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10857 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10859 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10860 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10861 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10862 Update annotation regexp.
10864 * simple.el (beginning-of-visual-line): Constrain to field
10865 boundaries (Bug#5106).
10867 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10869 * xml.el (xml-substitute-numeric-entities): Move
10870 newsticker--decode-numeric-entities in newst-backend.el to
10871 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10872 * net/newst-backend.el (newsticker--parse-generic-feed)
10873 (newsticker--parse-generic-items)
10874 (newsticker--decode-numeric-entities): Move
10875 newsticker--decode-numeric-entities in newst-backend.el to
10876 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10878 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10880 * progmodes/js.el (js--js-not): Add null to the list of values.
10882 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10884 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10886 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10888 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10889 delimiter if it is at the end of the current line.
10890 (bibtex-generate-url-list): Fix docstring.
10892 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10895 minibuffer's content with itself.
10896 Fold the confirm-after-completion case into the `confirm' case.
10897 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10899 2009-12-06 Kevin Ryde <user42@zip.com.au>
10901 * ffap.el (ffap-rfc-path): Make this a defcustom since
10902 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10904 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10905 manuals, similar to existing setup for help-mode. (Bug#3913.)
10907 2009-12-05 Juri Linkov <juri@jurta.org>
10909 Save and restore dired buffer's point positions too. (Bug#4880)
10911 * dired.el (dired-save-positions): Return in the first element
10912 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10914 (dired-restore-positions): First restore buffer's position.
10915 While restoring window's positions, check if window still displays
10916 the original buffer.
10918 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10920 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10923 * shell.el (shell): Require ansi-color (Bug#5113).
10925 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10927 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10929 2009-12-05 Alan Mackenzie <acm@muc.de>
10931 * progmodes/cc-mode.el (c-before-hack-hook)
10932 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10933 `c-file-style' to work again. This reversion restores the current
10934 software to its state in Emacs 23.1. (Bug#4146)
10936 2009-12-05 Kevin Ryde <user42@zip.com.au>
10938 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10939 comment-start-skip to comment-end-skip as comment (Bug#4781).
10941 2009-12-05 Juri Linkov <juri@jurta.org>
10943 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10944 for virtual nodes. (Bug#4147)
10945 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10946 when moving from a virtual node.
10947 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10948 (Info-mode): Add `Info-virtual-index' to the docstring.
10950 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10952 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10953 track of the buffer position of the end of a BibTeX entry as this
10954 position may change during reformatting.
10955 (bibtex-format-entry): Remove whitespace before processing
10956 numerical fields so that we recognize the latter properly.
10957 (bibtex-reformat): Do not use push which changes the global value
10958 of bibtex-entry-format.
10959 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10960 (bibtex-field-re-init): Replace only space characters by regexp
10962 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10963 (bibtex-initialize): Also update bibtex-strings.
10964 (bibtex-kill-field): Preserve white space at end of entry.
10965 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10966 Update bibtex-reference-keys.
10968 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10971 point after a star, if that's the only place where modifications can
10974 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10976 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10979 2009-12-04 Juri Linkov <juri@jurta.org>
10981 * proced.el (proced): Call `(proced-update t)' to update process
10982 information instead of only running proced-post-display-hook.
10983 (proced-send-signal): Add a leading space to the buffer name
10984 " *Marked Processes*" to make this buffer ephemeral.
10986 2009-12-04 Juri Linkov <juri@jurta.org>
10988 * dired.el (dired-auto-revert-buffer): New defcustom.
10989 (dired-internal-noselect): Use it.
10991 2009-12-04 Juri Linkov <juri@jurta.org>
10993 Change roles of modes and functions in image-mode.el (Bug#5062).
10995 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10996 in `auto-mode-alist'.
10997 (image-mode-previous-major-mode): New variable.
10998 (image-minor-mode-map): Rename from `image-mode-text-map'.
10999 (image-mode): Move graceful error-handling code from
11000 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11001 (image-minor-mode): Remove all image-handling code.
11002 Replace `image-mode-text-map' with `image-minor-mode-map'.
11003 Check for `image-type' in mode-line format string.
11004 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11005 (image-mode-as-text): New function with most code from
11006 `image-mode-maybe'.
11007 (image-toggle-display-text): Move code that removes image
11008 properties from `image-toggle-display' to here.
11009 (image-toggle-display-image): New function with code that adds
11010 image properties copied from `image-toggle-display'.
11011 (image-toggle-display): Remove most code with leaving only code
11012 that toggles between `image-mode-as-text' and `image-mode'.
11014 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11016 * net/newst-treeview.el
11017 (newsticker--treeview-list-highlight-start): Restored call to
11018 save-excursion: Selected item was stuck.
11019 (newsticker--treeview-list-select): New.
11020 (newsticker--treeview-item-show-text)
11021 (newsticker--treeview-item-show)
11022 (newsticker--treeview-item-update): Use new
11023 newsticker-treeview-item-mode.
11024 (newsticker-treeview-update): Keep current item.
11025 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11026 (newsticker--treeview-first-feed): Doc change.
11027 (newsticker-treeview-list-menu)
11028 (newsticker-treeview-item-menu): Added menu entries.
11029 (newsticker-treeview-item-mode): New.
11031 * net/newst-backend.el (newsticker-customize): Delete other
11034 2009-12-04 Sam Steingold <sds@gnu.org>
11036 * log-view.el (log-view-mode-map): "q" calls quit-window,
11037 like in all the other non-self-insert buffers.
11039 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11043 key decoding rather than do it manually via last-input-event +
11045 (term-exec): Use delete-and-extract-region.
11046 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11047 (term-process-pager): Remove unused var `i'.
11048 (term-dynamic-simple-complete): Make obsolete.
11049 (serial-update-config-menu): Remove unused vars `y' and `str'.
11050 (term-update-mode-line): Remove unused var `temp'.
11052 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11054 Limit the number of log entries displayed by default.
11055 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11056 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11057 using a prefix argument.
11059 2009-12-03 Glenn Morris <rgm@gnu.org>
11061 * progmodes/idlwave.el (class): Restore still useful declaration.
11063 2009-12-03 Alan Mackenzie <acm@muc.de>
11065 Enhance `c-parse-state' to run efficiently in "brace deserts".
11067 * progmodes/cc-mode.el (c-basic-common-init):
11068 Call c-state-cache-init.
11069 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11070 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11071 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11073 * progmodes/cc-langs.el (c-before-font-lock-function):
11074 c-extend-and-neutralize-syntax-in-CPP has been renamed
11075 c-neutralize-syntax-in-and-mark-CPP.
11077 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11078 with `category' properties now, not `syntax-table' ones.
11080 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11081 enhanced (but slower) version of c-end-of-macro that won't land
11082 inside a literal or on another awkward character.
11083 (c-state-cache-too-far, c-state-cache-start)
11084 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11085 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11086 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11087 (c-state-min-scan-pos, c-state-brace-pair-desert)
11088 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11089 buffer local variables.
11090 (c-state-literal-at, c-state-lit-beg)
11091 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11092 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11093 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11094 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11095 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11096 (c-renarrow-state-cache)
11097 (c-append-lower-brace-pair-to-state-cache)
11098 (c-state-push-any-brace-pair, c-append-to-state-cache)
11099 (c-remove-stale-state-cache)
11100 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11101 (c-invalidate-state-cache-1, c-parse-state-1)
11102 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11103 (c-parse-state): Enhance and refactor.
11104 (c-debug-parse-state): Amend to deal with all the new variables.
11106 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11107 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11108 modify to use category text properties rather than syntax-table ones.
11109 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11110 to switch off/on the syntactic paren property of C++ template
11111 delimiters using the category property.
11112 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11113 template delims suppressed.
11114 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11115 New constant/macros which apply category properties to the start
11116 and end of preprocessor constructs.
11117 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11118 "comment out" the syntactic value of characters in preprocessor
11120 (c-with-cpps-commented-out)
11121 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11122 with characters in all or all but one preprocessor constructs
11125 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11127 * proced.el (proced-filter-alist): Use regexp-quote.
11129 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11132 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11133 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11134 arguments. Expand `default-directory'.
11136 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11137 the benefit of returning an expanded localname.
11138 (tramp-tramp-file-p): Handle the case NAME is not a string.
11140 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11142 Add support for bzr shelve/unshelve.
11143 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11144 (vc-bzr-extra-menu-map): New variables.
11145 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11146 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11147 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11148 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11149 (vc-bzr-dir-extra-headers): Display shelves.
11151 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11153 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11155 * textmodes/bibtex.el (bibtex-complete-internal):
11156 Use completion-in-region.
11157 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11159 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11161 Support applying stashes. Improve UI.
11162 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11163 (vc-git-stash-apply, vc-git-stash-pop)
11164 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11165 (vc-git-stash-menu): New functions.
11166 (vc-git-stash-menu-map): New variable.
11167 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11169 2009-12-03 Glenn Morris <rgm@gnu.org>
11171 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11172 (vc-print-log-internal): Fix previous change.
11173 (vc-revert): Correct pluralization.
11175 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11178 it to be an alist any more.
11179 (makefile-complete): Use completion-in-region.
11181 * progmodes/octave-mod.el (octave-complete-symbol):
11182 Use completion-in-region.
11185 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11186 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11187 (idlwave-complete-class): Don't quote lambda.
11188 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11189 (idlwave-mode-map): Move initialization into declaration.
11190 (idlwave-action-and-binding): Use backquotes.
11191 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11193 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11194 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11195 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11196 `parts', and `all-parts'.
11197 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11198 (idlwave-convert-xml-system-routine-info): Remove unused string
11200 (idlwave-display-user-catalog-widget): Use dolist.
11201 (idlwave-scanning-lib): Declare dynamically-scoped var.
11202 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11203 (completion-highlight-first-word-only): Declare to silence bytecomp.
11204 (idlwave-popup-select): Tighten scope of `resp'.
11205 (idlwave-find-struct-tag): Remove unused var `beg'.
11206 (idlwave-after-load-rinfo-hook): Declare.
11207 (idlwave-sintern-class-info): Remove unused var `taglist'.
11208 (idlwave-find-class-definition): Remove unused var `list'.
11209 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11210 (idlwave-what-module-find-class): Remove unused var `classes'.
11212 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11214 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11216 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11218 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11219 buffers visited. Remove redundant current-buffer-saving.
11221 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11223 Use completion-in-buffer and remove uses of dynamic scoping.
11224 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11225 (pascal-buffer-to-use, pascal-flag): Don't declare.
11226 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11227 (pascal-get-completion-decl, pascal-keyword-completion):
11228 Add `pascal-str' argument, save-excursion,
11229 return the found completions, and don't filter with pascal-pred.
11230 (pascal-completion-cache): New var.
11231 (pascal-completion): Don't switch buffer any more (it was never
11232 necessary). Don't save-excursion any more (it's done by the called
11233 subroutines). Use a cache to avoid redundant computations.
11234 Use complete-with-action rather than pascal-completion-response and
11235 let it apply the predicate as well.
11236 (pascal-complete-word): Use completion-in-buffer when
11237 pascal-toggle-completions is nil.
11238 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11240 (pascal-comp-defun): Don't change buffer any more.
11241 Use complete-with-action rather than pascal-completion-response and
11242 let it apply the predicate as well.
11243 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11246 2009-12-02 Kenichi Handa <handa@m17n.org>
11248 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11249 shape for all Indic scripts.
11251 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11253 Use completion-in-buffer.
11254 * wid-edit.el (widget-field-text-end): New function.
11255 (widget-field-value-get): Use it.
11256 (widget-string-complete, widget-file-complete)
11257 (widget-color-complete): Use it and completion-in-region.
11258 (widget-complete): Don't narrow the buffer.
11260 2009-12-02 Glenn Morris <rgm@gnu.org>
11262 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11263 (rmail-select-summary): Use rmail-pop-to-buffer.
11264 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11265 rmail-pop-to-buffer, to prevent horizontal splits.
11267 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11268 save-excursion with save-current-buffer.
11269 Widen before searching. (Bug#5093)
11270 (diary-list-sexp-entries): Remove superfluous save-excursion.
11272 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11274 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11277 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11279 * ido.el (ido-file-internal): Handle filenames at point that do
11280 not have a directory part. (Bug#5049)
11282 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11284 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11285 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11287 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11289 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11290 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11293 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11295 * comint.el (comint-insert-input): Ignore clicks to the right of
11296 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11298 * vc.el (vc-print-log-internal): Don't wait for the process to
11299 terminate before setting up the major mode.
11301 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11304 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11307 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11309 2009-12-01 Glenn Morris <rgm@gnu.org>
11311 * window.el (window--display-buffer-2): Fix previous changes.
11313 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11315 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11317 2009-12-01 Glenn Morris <rgm@gnu.org>
11319 * Makefile.in (ELCFILES): Add mpc.elc.
11321 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * mpc.el: New file.
11325 2009-12-01 Glenn Morris <rgm@gnu.org>
11327 * window.el (window-to-use): Define for compiler.
11329 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11330 consistent with others (no final period).
11332 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11333 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11335 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11337 Make vc-print-log buttons work.
11338 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11340 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11342 * savehist.el (savehist-autosave-interval): Allow setting to nil
11343 through customize. (Bug#5056)
11345 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11347 Fix references to jit-lock properties.
11348 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11349 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11350 (perl-font-lock-special-syntactic-constructs):
11351 Quote jit-lock-defer-multiline property.
11353 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11355 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11357 2009-11-30 Juri Linkov <juri@jurta.org>
11359 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11360 value `buffer' of `multi-isearch-next-buffer-current-function'.
11361 Use `(current-buffer)' when `buffer' is nil.
11362 (multi-isearch-next-buffer-from-list): Don't fallback to
11363 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11365 2009-11-30 Juri Linkov <juri@jurta.org>
11367 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11368 of buffers with `get-buffer' to `multi-isearch-buffers'.
11369 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11370 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11371 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11372 FILES with `expand-file-name' converting relative file names
11373 to absolute. Doc fix. (Bug#4727)
11375 2009-11-30 Juri Linkov <juri@jurta.org>
11377 * misearch.el (multi-isearch-read-buffers)
11378 (multi-isearch-read-matching-buffers): New functions.
11379 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11380 Use them in the `interactive' spec. Doc fix.
11381 (multi-isearch-read-files, multi-isearch-read-matching-files):
11383 (multi-isearch-files, multi-isearch-files-regexp):
11384 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11386 2009-11-30 Juri Linkov <juri@jurta.org>
11388 * doc-view.el (doc-view-continuous):
11389 Rename from `doc-view-continuous-mode'.
11390 (doc-view-menu): Move "Toggle display" to the top.
11391 Add submenu "Continuous" with radio buttons "Off"/"On"
11392 and "Save as Default".
11393 (doc-view-scroll-up-or-next-page)
11394 (doc-view-scroll-down-or-previous-page)
11395 (doc-view-next-line-or-next-page)
11396 (doc-view-previous-line-or-previous-page): Rename
11397 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11399 2009-11-30 Juri Linkov <juri@jurta.org>
11401 * comint.el (comint-mode-map): Rebind `M-r' from
11402 `comint-previous-matching-input' to
11403 `comint-history-isearch-backward-regexp'.
11404 Unbind `M-s' to allow global key binding `M-s'.
11405 Add menu items for `comint-history-isearch-backward' and
11406 `comint-history-isearch-backward-regexp'. (Bug#3746)
11408 2009-11-30 Juri Linkov <juri@jurta.org>
11410 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11411 For def=recenter, replace `recenter' with `recenter-top-bottom'
11412 that is called with `this-command' and `last-command' let-bound
11413 to `recenter-top-bottom'. When the last `def' was not `recenter',
11414 set `recenter-last-op' to nil. (Bug#4981)
11416 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11418 Minor cleanup and simplification.
11419 * filecache.el (file-cache-add-directory)
11420 (file-cache-add-directory-recursively)
11421 (file-cache-add-from-file-cache-buffer)
11422 (file-cache-delete-file-regexp, file-cache-delete-directory)
11423 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11424 (file-cache-temp-minibuffer-message): Delete function.
11425 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11427 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11428 Don't signal an error when bumping into EOB in tr, s, or y.
11430 2009-11-29 Juri Linkov <juri@jurta.org>
11432 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11435 * descr-text.el (describe-char-unidata-list): Use lowercase name
11436 for "Unicode name" like in other tags.
11438 2009-11-29 Juri Linkov <juri@jurta.org>
11440 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11441 New compatibility macro.
11442 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11444 2009-11-29 Juri Linkov <juri@jurta.org>
11446 Add defcustom to define the cycling order of `recenter-top-bottom'.
11449 * window.el (recenter-last-op): Doc fix.
11450 (recenter-positions): New defcustom.
11451 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11452 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11454 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11456 Improve integration of Tramp and ange-ftp in eshell.
11458 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11459 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11460 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11462 * eshell/esh-util.el (top): Require also Tramp when compiling.
11463 (eshell-directory-files-and-attributes): Check for FTP remote
11465 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11466 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11467 (eshell-file-attributes): Handle ".". Return `entry'.
11469 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11470 (ange-ftp-directory-files-and-attributes)
11471 (ange-ftp-real-directory-files-and-attributes): New defuns.
11473 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11474 shell with "exec" when possible. This prevents trailing prompts
11475 in `start-file-process'.
11477 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11479 Try and remove assumptions about point-min==1.
11480 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11481 (rng-compute-mode-line-string): Show the validation percentage in
11482 terms of the narrowed text, not the widened text.
11483 (rng-do-some-validation): Don't catch internal errors when debugging.
11484 (rng-first-error): Simplify.
11485 (rng-after-change-function): Remove work around. AFAIK the bug has
11486 been fixed a while ago.
11488 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11489 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11491 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11493 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11494 `cd' doesn't always do it for us (bug#5067).
11496 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11497 on 2009-10-25 as part of some other change (bug#5067).
11499 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11503 (byte-compile-warnings): Use byte-compile-warning-types.
11504 (byte-compile-save-excursion): Warn about use of set-buffer right
11505 after save-excursion.
11507 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11508 the excursion as well.
11510 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11512 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11513 providing a Tramp related implementation of "su" and "sudo".
11514 (eshell-unix-initialize): Add "su" and "sudo".
11516 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11518 * net/socks.el (socks-send-command): Convert binary request to
11519 unibyte before sending. This fixes mishandling of some port
11520 numbers such as 129.
11522 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11524 * help.el (describe-bindings-internal): Remove `interactive'.
11526 * man.el (Man-completion-table): Trim a terminating "(".
11527 Remove the space between name page a section.
11528 Add the command's description on the `help-echo' property.
11529 Remove `process-connection-type' binding since it's unused by
11531 Provide completion for the "<section> <name>" format as well.
11532 (Man-default-man-entry): Remove spurious var shadowing the argument.
11534 2009-11-26 Kevin Ryde <user42@zip.com.au>
11536 * log-view.el: Add "Keywords: tools", since its other keywords
11537 aren't in finder-known-keywords, and following vc.el.
11539 * sha1.el (sha1-string-external): default-directory "/" in case
11540 otherwise non-existent. process-connection-type pipe for touch of
11541 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11543 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11545 Misc coding convention cleanups.
11546 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11547 hfy-init-kludge-hooks.
11548 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11549 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11550 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11552 (hfy-slant, hfy-weight): Use tables rather than code.
11553 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11554 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11555 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11556 (hfy-face-to-css): Remove `nconc' with single arg.
11557 (hfy-p-to-face-lennart): Use `or'.
11558 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11559 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11560 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11561 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11562 (hfy-force-fontification): Use run-hooks.
11564 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11566 Various minor fixes.
11567 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11568 Javascript belongs in the header, not the body.
11569 (hfy-javascript): Remove.
11570 (hfy-fontify-buffer): Don't insert it any more.
11571 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11572 Fix bug in invis handling when there were no invis props in a chunk.
11574 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11578 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11580 * finder.el (finder-mode-map): Add a menu.
11582 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11584 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11585 "unsigned" structs.
11587 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11588 fork" statement better.
11590 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11592 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11593 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11594 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11595 Reported by Clay Douglass.
11597 (verilog-auto-inst, verilog-auto-star-safe)
11598 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11599 Fix removing "// Interfaces" when saving .* expansions. Reported by
11600 Pierre-David Pfister.
11602 2009-11-26 Glenn Morris <rgm@gnu.org>
11604 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11607 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11609 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11610 Really use previous revision.
11612 2009-11-25 Kevin Ryde <user42@zip.com.au>
11614 * man.el (Man-completion-table): default-directory "/" in case
11615 doesn't otherwise exist. process-environment COLUMNS=999 so as
11616 not to truncate long names. process-connection-type pipe to avoid
11617 any chance of hitting the pseudo-tty TIOCGWINSZ.
11618 (man): completion-ignore-case t for friendliness and since man
11619 itself is case-insensitive on the command line.
11620 Further to Bug#3717.
11622 * arc-mode.el: Add "Keywords: files", so the details in its
11623 commentary can be reached from finder-by-keyword.
11624 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11625 editing mode, but it's comms related and sgml-mode.el has "comm"
11627 * textmodes/bibtex-style.el: Add "Keywords: tex".
11628 * international/isearch-x.el, international/ja-dic-cnv.el:
11629 * international/ja-dic-utl.el, international/kkc.el:
11630 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11632 2009-11-25 Juri Linkov <juri@jurta.org>
11634 * man.el (Man-completion-table): Modify regexp to include
11635 section names to completion strings. (Bug#3717)
11637 2009-11-25 Juri Linkov <juri@jurta.org>
11639 Search recursively in gzipped files. (Bug#4982)
11641 * progmodes/grep.el (grep-highlight-matches): Add new options
11642 `always' and `auto'. Doc fix.
11643 (grep-process-setup): Check `grep-highlight-matches' for
11644 `auto-detect' to determine the need to compute grep defaults.
11645 Move Windows/DOS specific --colors settings handling
11646 to `grep-compute-defaults'. Check `grep-highlight-matches'
11647 to get the value of "--color=".
11648 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11649 has the value `auto-detect'. Move Windows/DOS specific settings
11650 from `grep-process-setup'.
11651 (zrgrep): New command with alias `rzgrep'.
11653 2009-11-25 Juri Linkov <juri@jurta.org>
11655 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11656 to nil instead of switching off view-mode. (Bug#4896)
11658 2009-11-25 Juri Linkov <juri@jurta.org>
11660 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11662 * mwheel.el (mwheel-scroll-up-function)
11663 (mwheel-scroll-down-function): New defvars.
11664 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11665 `scroll-up', and `mwheel-scroll-down-function' instead of
11668 * doc-view.el (doc-view-scroll-up-or-next-page)
11669 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11670 Use this ARG in the call to image-scroll-up/image-scroll-down.
11671 Change `interactive' spec to "P". Goto next/previous page only
11672 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11673 SPC/DEL case). Doc fix.
11674 (doc-view-next-line-or-next-page)
11675 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11677 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11678 `doc-view-scroll-up-or-next-page', and buffer-local
11679 `mwheel-scroll-down-function' to
11680 `doc-view-scroll-down-or-previous-page'.
11682 2009-11-25 Juri Linkov <juri@jurta.org>
11684 Provide additional default values (directories at other Dired
11685 windows) via M-n in the minibuffer of some Dired commands.
11687 * dired-aux.el (dired-diff, dired-compare-directories)
11688 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11689 `minibuffer-default' in `minibuffer-with-setup-hook'.
11690 (dired-dwim-target-directory): Find a window that displays Dired
11691 buffer instead of failing when the next window is not Dired.
11692 Use `get-window-with-predicate' to find for the next Dired window.
11693 (dired-dwim-target-defaults): New function.
11695 * ediff-util.el (ediff-read-file-name):
11696 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11697 in `minibuffer-with-setup-hook'.
11699 2009-11-25 Juri Linkov <juri@jurta.org>
11701 Provide additional default values (file name at point or at the
11702 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11704 * minibuffer.el (read-file-name-defaults): New function.
11705 (read-file-name): Reset `minibuffer-default' to nil when
11706 it duplicates initial input `insdef'.
11707 Bind `minibuffer-default-add-function' to lambda that
11708 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11709 (minibuffer-insert-file-name-at-point): New command.
11711 * files.el (file-name-at-point-functions): New defcustom.
11712 (find-file-default): Remove defvar.
11713 (find-file-read-args): Don't use `find-file-default'.
11714 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11715 to `read-file-name'.
11716 (find-file-literally): Use `read-file-name' with
11717 `confirm-nonexistent-file-or-buffer'.
11719 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11721 * dired.el (dired-read-dir-and-switches):
11722 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11723 to `read-file-name'.
11724 (dired-file-name-at-point): New function.
11725 (dired-mode): Add hook `dired-file-name-at-point' to
11726 `file-name-at-point-functions'.
11728 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11730 Really make the *Completions* window soft-dedicated (bug#5030).
11731 * window.el (window--display-buffer-2): Add `dedicated' argument.
11732 (display-buffer): Pass it when needed so the dedicated flag is set
11733 after calling set-window-buffer, which would otherwise reset it.
11735 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * progmodes/meta-mode.el (meta-complete-symbol):
11738 * progmodes/etags.el (complete-tag):
11739 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11740 Use completion-in-region.
11742 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11743 (dabbrev-completion): Use completion-in-region.
11744 (dabbrev--abbrev-at-point): Simplify regexp.
11746 * abbrev.el (abbrev--before-point): Use word-motion functions
11747 if :regexp is not specified (bug#5031).
11749 * subr.el (string-prefix-p): New function.
11751 * man.el (Man-completion-cache): New var.
11752 (Man-completion-table): Use it.
11754 * vc.el (vc-print-log-internal): Make `limit' optional for better
11755 compatibility (e.g. with vc-annotate.el).
11757 2009-11-24 Kevin Ryde <user42@zip.com.au>
11759 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11760 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11762 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11763 when .el source file not found or other error.
11765 2009-11-24 Markus Triska <markus.triska@gmx.at>
11767 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11769 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11771 Handle the [back] button properly (bug#4979).
11772 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11773 Use help-setup-xref, help-buffer, and with-help-window.
11774 (describe-char): Add `buffer' argument.
11775 Pass proper command to help-setup-xref. Don't meddle with
11776 help-xref-stack-item directly.
11777 (describe-text-category): Use with-help-window and help-buffer.
11779 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11780 for the displayed buffer (bug#4887).
11782 * man.el (Man-completion-table): New function.
11785 2009-11-24 David Reitter <david.reitter@gmail.com>
11787 * vc-git.el (vc-git-registered): Use checkout directory (where
11788 .git is) rather than the file's directory and a relative path spec
11789 to work around a bug in git.
11791 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11793 Improve handling of processes on remote hosts.
11795 * eshell/esh-util.el (eshell-path-env): New defvar.
11796 (eshell-parse-colon-path): New defun.
11797 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11799 * eshell/esh-ext.el (eshell-search-path):
11800 Use `eshell-parse-colon-path'.
11801 (eshell-remote-command): Remove argument HANDLER.
11802 (eshell-external-command): Check for FTP remote connection.
11804 * eshell/esh-proc.el (eshell-gather-process-output):
11805 Use `file-truename', in order to start also symlinked files.
11806 Apply `start-file-process' instead of `start-process'.
11807 Shorten `command' to the local file name part.
11809 * eshell/em-cmpl.el (eshell-complete-commands-list):
11810 Use `eshell-parse-colon-path'.
11812 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11814 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11815 to `eshell-directory-change-hook'.
11817 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11819 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11820 because it could be enabled automatically if view-read-only is non-nil.
11822 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11824 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11825 made on 2009-11-22.
11827 2009-11-24 Glenn Morris <rgm@gnu.org>
11829 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11830 deleted variable bookmark-bmenu-bookmark-column.
11832 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11836 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11838 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11839 two slashes to the "file:" prefix.
11840 (browse-url-file-url): De-munge Cygwin filenames before passing
11841 them to Windows browser.
11842 (browse-url-default-windows-browser): Use call-process.
11844 2009-11-23 Juri Linkov <juri@jurta.org>
11846 Implement DocView Continuous mode. (Bug#4896)
11847 * doc-view.el (doc-view-continuous-mode): New defcustom.
11848 (doc-view-mode-map): Bind C-n/<down> to
11849 `doc-view-next-line-or-next-page', C-p/<up> to
11850 `doc-view-previous-line-or-previous-page'.
11851 (doc-view-next-line-or-next-page)
11852 (doc-view-previous-line-or-previous-page): New commands.
11854 2009-11-23 Juri Linkov <juri@jurta.org>
11856 Implement Isearch in comint input history. (Bug#3746)
11857 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11858 `isearch-mode-hook'.
11859 (comint-history-isearch): New defcustom.
11860 (comint-history-isearch-backward)
11861 (comint-history-isearch-backward-regexp): New commands.
11862 (comint-history-isearch-message-overlay): New buffer-local variable.
11863 (comint-history-isearch-setup, comint-history-isearch-end)
11864 (comint-goto-input, comint-history-isearch-search)
11865 (comint-history-isearch-message, comint-history-isearch-wrap)
11866 (comint-history-isearch-push-state)
11867 (comint-history-isearch-pop-state): New functions.
11869 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11871 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11873 (tramp-handle-make-symbolic-link)
11874 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11876 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11877 (tramp-handle-process-file): Use it.
11879 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * window.el (move-to-window-line-last-op): Remove.
11882 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11884 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11886 Make M-r mirror the new cycling behavior of C-l.
11887 * window.el (move-to-window-line-last-op): New var.
11888 (move-to-window-line-top-bottom): New command.
11889 (global-map): Bind M-r move-to-window-line-top-bottom.
11891 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11893 * dired-x.el (dired-guess-shell-alist-default):
11894 Support xz format. (Bug#4953)
11896 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11898 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11899 last-command-char/last-command-event.
11900 (viper-prefix-arg-value): Do correct conversion of event-char for
11903 * emulation/viper-util.el, emulation/viper.el:
11904 Use viper-last-command-char instead of
11905 last-command-char/last-command-event.
11907 * ediff-init.el, ediff-mult.el, ediff-util.el:
11908 Replace last-command-char and last-command-event
11909 with (ediff-last-command-char) everywhere.
11911 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11912 created in fundamental mode.
11914 * ediff.el (ediff-version): Revert the change of interactive-p to
11915 called-interactively-p.
11917 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11919 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11920 generation from word-movement command names.
11922 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11924 * cus-start.el (all): Add native condition for font-use-system-font.
11926 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11928 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11929 Correct the patch from 2009-11-18. (Bug#3910)
11931 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11933 * progmodes/subword.el: Rename from lisp/subword.el.
11935 * subword.el: Rename to progmodes/subword.el.
11937 * Makefile.in (ELCFILES): Adapt to subword.el move.
11939 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11940 Stefan Monnier <monnier@iro.umontreal.ca>
11942 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11943 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11944 (bookmark-bmenu-show-filenames): Use push.
11945 (bookmark-bmenu-hide-filenames): Use local var instead of
11946 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11947 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11948 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11949 filenames now that the bookmark names are always available.
11951 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11953 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11954 (bookmark-search-pattern): Move and leave unbound.
11955 (bookmark-bmenu-mode-map): Change binding.
11956 (bookmark-read-search-input): Simplify.
11957 Don't use text-char-description. Don't error on non-char events.
11958 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11959 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11960 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11961 Use a local var for the timer.
11962 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11963 (i.e. bookmark-bmenu-search).
11965 2009-11-21 Glenn Morris <rgm@gnu.org>
11967 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11969 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11971 * net/browse-url.el (browse-url-default-windows-browser):
11972 Use cygstart for cygwin.
11974 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11976 * bookmark.el: Formatting and doc fixes only:
11977 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11978 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11979 Minor grammar and punctuation fixes in doc string.
11980 (bookmark-read-search-input): Adjust to fit within 80 columns.
11982 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11984 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11985 (c-backward-into-nomenclature): Adapt to subword renaming.
11987 * subword.el (subword-forward, subword-backward, subword-mark)
11988 (subword-kill, subword-backward-kill, subword-transpose)
11989 (subword-downcase, subword-upcase, subword-capitalize)
11990 (subword-forward-internal, subword-backward-internal):
11991 Rename from forward-subword, backward-subword, mark-subword,
11992 kill-subword, backward-kill-subword, transpose-subwords,
11993 downcase-subword, upcase-subword, capitalize-subword,
11994 forward-subword-internal, backward-subword-internal.
11996 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11998 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12000 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12002 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12003 (bookmark-bmenu-filter-alist-by-regexp)
12004 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12005 (bookmark-bmenu-search): New command.
12006 (bookmark-bmenu-mode-map): Bind it.
12008 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12010 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12011 backward-subword to quit the byte-compiler.
12013 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12015 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12017 * progmodes/cc-cmds.el (c-update-modeline)
12018 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12019 Refer to subword.el functions instead of cc-subword.el.
12021 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12022 subword.el functions instead of cc-subword.el.
12024 * progmodes/cc-subword.el: Rename to subword.el.
12025 * subword.el: Rename from progmodes/cc-subword.el.
12026 (subword-mode-map): Rename from c-subword-mode-map.
12027 (subword-mode): Rename from c-subword-mode.
12028 (global-subword-mode): New global minor mode.
12029 (forward-subword): Rename from c-forward-subword.
12030 (backward-subword): Rename from c-backward-subword.
12031 (mark-subword): Rename from c-mark-subword.
12032 (kill-subword): Rename from c-kill-subword.
12033 (backward-kill-subword): Rename from c-backward-kill-subword.
12034 (transpose-subwords): Rename from c-tranpose-subword.
12035 (downcase-subword): Rename from c-downcase-subword.
12036 (capitalize-subword): Rename from c-capitalize-subword.
12037 (forward-subword-internal): Rename from c-forward-subword-internal.
12038 (backward-subword-internal): Rename from c-backward-subword-internal.
12040 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12042 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12043 from a dired buffer.
12044 (vc-dired-deduce-fileset): New function.
12045 (vc-root-diff, vc-print-root-log): Use it.
12047 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12048 nil LIMIT argument to vc-print-log-internal.
12050 2009-11-20 Glenn Morris <rgm@gnu.org>
12052 * Makefile.in (ELCFILES): Regenerate.
12054 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12056 * calc/calc.el (calc-set-mode-line):
12057 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12058 (math-format-number): Rename `math-format-complement-signed' to
12059 `math-format-twos-complement'.
12061 * calc/calc-bin.el (math-format-twos-complement): Rename from
12062 math-format-complement-signed.
12063 (calc-radix): Rename `calc-complement-signed-mode' to
12064 `calc-twos-complement-mode'.
12065 (calc-octal-radix, calc-hex-radix): Add an argument for
12068 * calc/calc-embed.el (calc-embedded-mode-vars):
12069 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12071 * calc/calc-ext.el (calc-init-extensions):
12072 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12073 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12075 * calc/calc-units.el (math-build-units-table-buffer):
12076 Let `calc-twos-complement-mode' be nil.
12078 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12081 * calc/calc-vec.el (calcFunc-vunpack):
12082 * calc/calc-aent.el (calc-do-calc-eval):
12083 * calc/calc-forms.el (math-format-date):
12084 * calc/calc-graph.el (calc-graph-plot):
12085 * calc/calc-math.el (math-use-emacs-fn):
12086 * calc/calccomp.el (math-compose-expr):
12087 Let `calc-twos-complement-mode' be nil.
12089 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12091 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12092 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12093 * minibuffer.el (completion-in-region-functions): New hook.
12094 (completion-in-region): New function.
12095 * emacs-lisp/lisp.el (lisp-complete-symbol):
12096 * pcomplete.el (pcomplete-std-complete): Use it.
12098 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12100 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12101 (latex-complete-alist): New vars.
12102 (latex-string-prefix-p, latex-complete-bibtex-keys)
12103 (latex-complete-envnames, latex-complete-refkeys)
12104 (latex-complete-data): New functions.
12105 (latex-complete, latex-indent-or-complete): New commands.
12107 * window.el (display-buffer-mark-dedicated): New var.
12108 (display-buffer): Obey it.
12109 * minibuffer.el (minibuffer-completion-help): Use it.
12111 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12113 * filecache.el (file-cache-add-file): Use push and cons.
12114 (file-cache-delete-file-regexp): Use push.
12115 (file-cache-complete): Use completion-in-region.
12117 * simple.el (with-wrapper-hook): Fix thinko.
12119 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12120 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12121 Use with-current-buffer and string-to-number.
12122 (hfy-fallback-colour-values): Use assoc-string.
12123 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12124 (hfy-face-at): Remove unused var `found-face'.
12125 (hfy-compile-stylesheet): Remove unused var `css'.
12126 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12128 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12129 Use with-current-buffer.
12130 (hfy-text-p): Use expand-file-name and fewer setq.
12132 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12134 * htmlfontify.el, hfy-cmap.el: New files.
12136 2009-11-19 Juri Linkov <juri@jurta.org>
12138 * minibuffer.el (completions-format): New defcustom.
12139 (completion--insert-strings): Implement vertical format.
12141 * simple.el (switch-to-completions): Move point to the first
12142 completion when point was at the beginning of the buffer.
12144 2009-11-19 Juri Linkov <juri@jurta.org>
12146 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12148 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12150 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12152 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12153 (mail-signature): Change default to t.
12154 (mail-from-style): Deprecate `system-default' value.
12155 (mail-insert-from-field): For default value of mail-from-style,
12156 default to `angles' unless `angles' needs quoting and `parens'
12158 (mail-citation-prefix-regexp): Use citation regexp from
12161 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12163 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12164 Set variables for computing the prompt for reading password.
12166 2009-11-19 Glenn Morris <rgm@gnu.org>
12168 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12170 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12172 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12173 (newsticker-treeview-listwindow-height): Fix custom type.
12175 2009-11-19 Kenichi Handa <handa@m17n.org>
12177 * descr-text.el (describe-char-padded-string): Compose with TAB
12178 only if there's a font for CH.
12179 (describe-char): Fix the condition for detecting a trivial composition.
12181 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12183 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12184 more accurate version of the regexp. (Bug#3910)
12186 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12188 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12190 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12192 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12193 (font-setting-change-default-font): Fix typo in docstring.
12195 2009-11-18 Alan Mackenzie <acm@muc.de>
12197 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12199 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12201 * font-setting.el (font-use-system-font): Move ...
12203 * cus-start.el (all): ... to here.
12205 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12207 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12208 Don't set `ad-return-value' if `ad-do-it' doesn't.
12210 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12213 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12215 * menu-bar.el: Put "Use system font" in Option-menu.
12216 (menu-bar-options-save): Add font-use-system-font.
12218 * loadup.el: If feature system-font-setting or font-render-setting is
12219 there, load font-setting.
12221 * Makefile.in (ELCFILES): Add font-settings.el.
12222 * font-setting.el: New file.
12224 2009-11-17 Glenn Morris <rgm@gnu.org>
12226 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12228 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12229 Preserve point in the list buffer. (Bug#4939)
12231 (newsticker--treeview-list-update-highlight)
12232 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12234 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12236 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12239 * calc/calc-ext.el (calc-init-extensions): Remove references to
12242 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12244 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12245 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12248 2009-11-16 Kevin Ryde <user42@zip.com.au>
12250 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12251 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12253 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12254 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12255 Ignore trailing spaces by omit-nulls to split-string (fixing
12256 regression from Emacs 21 due to the incompatible split-string
12257 change). (Bug #4928.)
12259 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12261 * vc.el (vc-log-show-limit): Default to 2000.
12262 (vc-print-log-internal): Insert buttons to request more entries
12263 when limiting the output.
12265 * vc-sccs.el (vc-sccs-print-log):
12266 * vc-rcs.el (vc-rcs-print-log):
12267 * vc-cvs.el (vc-cvs-print-log):
12268 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12271 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12273 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12274 error when `tramp-gvfs-dbus-event-vector' is set.
12275 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12277 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12281 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12283 * net/dbus.el (dbus-unregister-service): New defun.
12284 (dbus-register-property): Register the handlers of
12285 "org.freedesktop.DBus.Properties" for SERVICE.
12286 (dbus-property-handler): Fix docstring.
12288 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12290 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12291 Quote doc string reference in defvaralias as it is not in special form.
12292 (byte-compile-output-docform): Doc fix.
12294 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12296 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12297 (calc-complement-signed-mode): New variables.
12298 (calc-set-mode-line): Add indicator for twos-complements.
12299 (math-format-number): Format twos-complement notation.
12301 * calc/calc-bin.el (calc-word-size): Reset the variables
12302 `math-2-word-size' and `math-half-2-word-size'.
12303 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12304 (calc-symclip): New functions.
12306 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12308 * calc/calc-embed.el (calc-embedded-mode-vars):
12309 Add `calc-complement-signed-mode' to the list of modes.
12311 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12312 (calc-b-oper-keys): Add `calc-symclip' to list.
12314 * calc/calc-ext.el (math-read-number-fancy): Read complement
12316 (calc-init-extensions): Add binding for `calc-symclip'.
12317 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12319 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12321 (calc-modes-menu): Add item for twos complement mode.
12323 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12325 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12327 * register.el (jump-to-register, insert-register): Handle Semantic
12328 tags. From commented-out advice in semantic/senator.el.
12330 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12332 * vc.el (vc-log-show-limit): New variable.
12333 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12334 when using a prefix argument.
12335 (vc-print-log-internal): Add new argument LIMIT.
12337 * vc-svn.el (vc-svn-print-log):
12338 * vc-mtn.el (vc-mtn-print-log):
12339 * vc-hg.el (vc-hg-print-log):
12340 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12341 pass it to the log command when set. Make the BUFFER argument
12344 * vc-sccs.el (vc-sccs-print-log):
12345 * vc-rcs.el (vc-rcs-print-log):
12346 * vc-git.el (vc-git-print-log):
12347 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12348 ignore it. Make the BUFFER argument non-optional
12350 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12352 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12354 * dired.el (dired-mode-map): Move encryption items to "Operate"
12357 * strokes.el (strokes-update-window-configuration): Make strokes
12358 buffer current before erasing (Bug#4906).
12360 2009-11-15 Juri Linkov <juri@jurta.org>
12362 * simple.el (set-mark-default-inactive): Add :type, :group
12363 and :version. (Bug#4876)
12365 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12367 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12368 (archive-unique-fname): ... here. (Bug#4929)
12370 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12372 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12375 * novice.el (disabled-command-function): Add useful args.
12376 Setup the help buffer so that [back] works.
12377 Remove redundant call to help-mode.
12378 (disabled-command-function): Use `case'.
12379 (en/disable-command): New function extracted from enable-command.
12380 (enable-command, disable-command): Use it.
12382 2009-11-14 Glenn Morris <rgm@gnu.org>
12384 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12385 constants. (Bug#4913)
12387 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12389 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12391 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12392 defined in C that have no doc-strings. (Bug#1063)
12394 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12396 * cus-edit.el (data, files):
12397 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12399 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12401 * simple.el (shell-command): Doc fix (Bug#4891).
12403 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12405 2009-11-14 Glenn Morris <rgm@gnu.org>
12407 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12408 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12409 If they are already loaded, eval-after-load will do the right thing.
12411 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12414 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12416 * simple.el (x-selection-owner-p): Declare.
12417 (read-mail-command): Use custom radio type rather than choice.
12418 (completion-no-auto-exit): Doc fix.
12420 * custom.el (defgroup):
12421 * epg-config.el (epg): Doc fixes.
12423 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12425 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12426 * international/ccl.el (define-ccl-program): Do not purecopy the
12427 docstring, defconst does it anyway.
12429 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12434 * x-dnd.el (x-dnd-maybe-call-test-function):
12435 * window.el (split-window-vertically):
12436 * whitespace.el (whitespace-help-on):
12437 * vc-rcs.el (vc-rcs-consult-headers):
12438 * userlock.el (ask-user-about-lock-help)
12439 (ask-user-about-supersession-help):
12440 * type-break.el (type-break-force-mode-line-update):
12441 * time-stamp.el (time-stamp-conv-warn):
12442 * terminal.el (te-set-output-log, te-more-break, te-filter)
12443 (te-sentinel, terminal-emulator):
12444 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12445 (term-write-input-ring, term-check-source, term-start-output-log):
12446 (term-display-buffer-line, term-dynamic-list-completions):
12447 (term-ansi-make-term, serial-term):
12448 * subr.el (selective-display):
12449 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12450 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12451 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12452 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12453 (speedbar-remove-localized-speedbar-support)
12454 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12455 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12456 (speedbar-buffers-line-directory):
12457 * simple.el (shell-command-on-region, append-to-buffer)
12458 (prepend-to-buffer):
12459 * shadowfile.el (shadow-save-todo-file):
12460 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12461 (scroll-bar-maybe-set-window-start):
12462 * sb-image.el (speedbar-image-dump):
12463 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12464 (load-save-place-alist-from-file):
12465 * ps-samp.el (ps-print-message-from-summary):
12466 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12467 (ps-background-image, ps-begin-job, ps-do-despool):
12468 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12469 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12470 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12471 (pr-call-process, pr-file-list, pr-interface-save):
12472 * novice.el (disabled-command-function)
12473 (enable-command, disable-command):
12474 * mouse.el (mouse-buffer-menu-alist):
12475 * mouse-copy.el (mouse-kill-preserving-secondary):
12476 * macros.el (kbd-macro-query):
12477 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12478 * informat.el (batch-info-validate):
12479 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12480 * hippie-exp.el (try-expand-dabbrev-visible):
12481 * help-mode.el (help-make-xrefs):
12482 * help-fns.el (describe-variable):
12483 * generic-x.el (bat-generic-mode-run-as-comint):
12484 * finder.el (finder-mouse-select):
12485 * find-dired.el (find-dired-sentinel):
12486 * filesets.el (filesets-file-close):
12487 * files.el (list-directory):
12488 * faces.el (list-faces-display, describe-face):
12489 * facemenu.el (list-colors-display):
12490 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12491 * epg.el (epg--process-filter, epg-cancel):
12492 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12493 (epa--read-signature-type):
12494 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12495 (emerge-file-names):
12496 * ehelp.el (electric-helpify):
12497 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12498 * ediff-vers.el (rcs-ediff-view-revision):
12499 * ediff-util.el (ediff-setup):
12500 * ediff-mult.el (ediff-append-custom-diff):
12501 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12503 * echistory.el (Electric-command-history-redo-expression):
12504 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12505 * disp-table.el (describe-display-table):
12506 * dired.el (dired-find-buffer-nocreate):
12507 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12508 * dabbrev.el (dabbrev--same-major-mode-p):
12509 * chistory.el (list-command-history):
12510 * apropos.el (apropos-documentation):
12511 * allout.el (allout-obtain-passphrase):
12512 (allout-copy-exposed-to-buffer):
12513 (allout-verify-passphrase): Use with-current-buffer.
12515 2009-11-13 Glenn Morris <rgm@gnu.org>
12517 * Makefile.in (ELCFILES): Regenerate.
12519 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12521 * net/dbus.el (dbus-registered-objects-table): Rename from
12522 `dbus-registered-functions-table', because it contains also properties.
12523 (dbus-unregister-object): Unregister also properties.
12524 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12525 Use a timeout of 500 msec, in order to not block.
12526 (dbus-register-property, dbus-property-handler): New defuns.
12528 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12530 * simple.el (minibuffer-default-add-completions): Drop deprecated
12533 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12535 * textmodes/artist.el (artist-mouse-choose-operation):
12536 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12537 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12538 (artist-compute-up-event-key): New function.
12539 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12541 2009-11-13 Kenichi Handa <handa@m17n.org>
12543 * language/japan-util.el: Make sure that the value of jisx0208
12544 property is jisx0208 character.
12546 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12548 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12549 car or each item, not the whole list.
12551 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * minibuffer.el (minibuffer-completion-help):
12554 Use minibuffer-hide-completions.
12556 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12558 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12559 (dired-revert): Use them (bug#4880).
12561 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12563 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12565 2009-11-12 Juri Linkov <juri@jurta.org>
12567 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12569 (find-file-literally-at-point): Alias of `ffap-literally'.
12571 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12573 * textmodes/ispell.el (ispell-skip-region-alist):
12574 * textmodes/css-mode.el (auto-mode-alist):
12575 * progmodes/compile.el (auto-mode-alist):
12576 * international/mule.el (ctext-non-standard-encodings-alist)
12577 (ctext-non-standard-encodings-regexp):
12578 * simple.el (shell-command-switch, text-read-only):
12579 * replace.el (occur-mode-map):
12580 * paths.el (rmail-file-name):
12581 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12582 * find-file.el (ff-special-constructs):
12583 * files.el (file-name-handler-alist):
12584 * composite.el: Purecopy strings.
12586 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12588 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12590 * widget.el (define-widget): Purecopy the docstring.
12591 * international/mule-cmds.el (charset): Do not purecopy the
12592 docstring here, define-widget does it.
12594 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12595 * textmodes/bibtex-style.el (auto-mode-alist):
12596 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12597 * progmodes/compile.el (compile-command):
12598 * language/korea-util.el (default-korean-keyboard):
12599 * international/mule-conf.el (file-coding-system-alist):
12600 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12601 * tooltip.el (tooltip-frame-parameters):
12602 * newcomment.el (comment-end, comment-padding):
12603 * dired.el (dired-trivial-filenames):
12604 * comint.el (comint-file-name-prefix): Purecopy initial values.
12606 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12608 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12609 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12611 (tramp-advice-make-auto-save-file-name)
12612 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12613 after removing the advice.
12615 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12617 * progmodes/grep.el (grep-regexp-alist):
12618 * international/mule-cmds.el (iso-2022-control-alist):
12619 * emacs-lisp/timer.el (timer-duration-words):
12620 * subr.el (version-separator, version-regexp-alist):
12621 * minibuffer.el (completion-styles-alist):
12622 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12623 Change defvars to defconsts.
12625 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12626 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12627 * international/mule-conf.el: Allow to be byte compiled.
12629 * international/mule.el (define-charset): Purecopy props.
12630 (load-with-code-conversion): Purecopy doc string and file name.
12631 (put-charset-property): Purecopy strings.
12632 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12634 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12635 (define-char-code-property): Correctly purecopy the table.
12637 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12639 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12641 * subr.el (add-hook): Purecopy strings.
12642 (eval-after-load): Purecopy load-history-regexp and the form.
12644 * custom.el (custom-declare-group): Purecopy load-file-name.
12646 * subr.el (menu-bar-separator): New defconst.
12647 * net/eudc.el (eudc-tools-menu):
12648 * international/mule-cmds.el (set-coding-system-map)
12649 (mule-menu-keymap):
12650 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12651 * vc-hooks.el (vc-menu-map):
12652 * replace.el (occur-mode-map):
12653 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12654 (menu-bar-edit-menu, menu-bar-goto-menu)
12655 (menu-bar-custom-menu, menu-bar-showhide-menu)
12656 (menu-bar-options-menu, menu-bar-tools-menu)
12657 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12658 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12659 (menu-bar-help-menu):
12660 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12661 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12663 * term/x-win.el (x-gtk-stock-map):
12664 * progmodes/vera-mode.el (auto-mode-alist):
12665 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12666 (inferior-lisp-program, inferior-lisp-load-command):
12667 * progmodes/hideshow.el (hs-special-modes-alist):
12668 * progmodes/gud.el (same-window-regexps):
12669 * progmodes/grep.el (grep-program, find-program, xargs-program):
12670 * net/telnet.el (same-window-regexps):
12671 * net/rlogin.el (same-window-regexps):
12672 * language/ethiopic.el (font-ccl-encoder-alist):
12673 * vc-sccs.el (vc-sccs-master-templates):
12674 * vc-rcs.el (vc-rcs-master-templates):
12675 * subr.el (cl-assertion-failed):
12676 * simple.el (next-error-overlay-arrow-position):
12677 * lpr.el (lpr-command):
12678 * locate.el (locate-ls-subdir-switches):
12679 * info.el (same-window-regexps, info)
12680 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12681 * image-mode.el (image-mode, auto-mode-alist):
12682 * hippie-exp.el (hippie-expand-ignore-buffers):
12683 * format.el (format-alist):
12684 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12686 * facemenu.el (facemenu-keybindings):
12687 * dired.el (dired-listing-switches, dired-chown-program):
12688 * diff.el (diff-switches, diff-command):
12689 * cus-edit.el (same-window-regexps):
12690 * bindings.el (mode-line-mule-info)
12691 (mode-line-buffer-identification): Purecopy strings.
12693 2009-11-11 Juri Linkov <juri@jurta.org>
12695 * simple.el (dired-get-filename) <declare-function>:
12696 Tell the byte-compiler about dired-get-filename.
12697 (shell-command): In Dired mode, get filename from the current line
12698 as the default value.
12700 2009-11-10 Glenn Morris <rgm@gnu.org>
12702 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12703 * calendar/holidays.el, progmodes/cperl-mode.el:
12704 Update x-popup-menu declarations.
12706 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12707 (list-load-path-shadows): Use dolist.
12708 (list-load-path-shadows): Use with-current-buffer.
12710 2009-11-10 Juri Linkov <juri@jurta.org>
12712 * minibuffer.el (read-file-name): Support a list of default values
12713 in `default-filename'. Use the first file name where only one
12714 element is required. Doc fix.
12716 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12718 * net/dbus.el (dbus-unregister-object): Release service, if no
12719 other method is registered for it.
12721 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12723 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12724 bookmark-sort-flag is non-nil (Bug#4653).
12726 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12728 * emulation/cua-base.el: Add CUA property to some CC mode commands
12731 2009-11-08 Kevin Ryde <user42@zip.com.au>
12733 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12734 at end of sentence (Bug#4818).
12736 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12739 Handle "see declaration of" MSFT statements (Bug#4100).
12741 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12743 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12744 (tramp-advice-file-expand-wildcards): Unload via
12745 `ad-remove-advice'.
12747 * net/trampver.el: Update release number.
12749 2009-11-08 Kevin Ryde <user42@zip.com.au>
12751 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12754 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12756 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12757 in order to keep context in SELinux.
12759 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12761 * dired-aux.el (dired-query): Place cursor in echo area and allow
12764 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12765 menu item if not on a directory (Bug#4701).
12767 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12769 Sync with Tramp 2.1.17.
12771 * net/tramp.el (tramp-handle-copy-directory): Don't use
12772 `file-remote-p' (due to compatibility).
12774 * net/tramp-compat.el (tramp-compat-copy-directory)
12775 (tramp-compat-delete-directory): New defuns.
12777 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12778 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12779 `tramp-compat-delete-directory'.
12781 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12782 (tramp-smb-handle-delete-directory): Use
12783 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12785 * net/trampver.el: Update release number.
12787 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12789 * tar-mode.el (tar-copy): Call write-region on the right buffer
12792 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12793 by hand, if necessary (Bug#4878).
12795 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12797 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12798 align size column (Bug#4839).
12800 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12803 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12805 * progmodes/ld-script.el (auto-mode-alist):
12806 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12808 * cus-face.el (custom-declare-face): Purecopy face spec.
12810 2009-11-06 Kenichi Handa <handa@m17n.org>
12812 * international/uni-bidi.el: Re-generated.
12813 * international/uni-category.el: Re-generated.
12814 * international/uni-combining.el: Re-generated.
12815 * international/uni-mirrored.el: Re-generated.
12817 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12819 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12820 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12821 (tex-start-options, slitex-run-command, latex-run-command)
12822 (tex-run-command, tex-directory):
12823 * textmodes/ispell.el (ispell-html-skip-alists)
12824 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12825 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12826 (adaptive-fill-regexp):
12827 * textmodes/dns-mode.el (auto-mode-alist):
12828 * progmodes/python.el (interpreter-mode-alist):
12829 * progmodes/etags.el (tags-compression-info-list):
12830 * progmodes/etags.el (tags-file-name):
12831 * net/browse-url.el (browse-url-galeon-program)
12832 (browse-url-firefox-program):
12833 * mail/sendmail.el (mail-signature-file)
12834 (mail-citation-prefix-regexp):
12835 * international/mule-conf.el (eight-bit):
12836 * international/latexenc.el (latex-inputenc-coding-alist):
12837 * international/fontset.el (x-pixel-size-width-font-regexp):
12838 * emacs-lisp/warnings.el (warning-type-format):
12839 * emacs-lisp/trace.el (trace-buffer):
12840 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12841 (emacs-lisp-mode-map):
12842 * calendar/holidays.el (holiday-solar-holidays)
12843 (holiday-bahai-holidays, holiday-islamic-holidays)
12844 (holiday-christian-holidays, holiday-hebrew-holidays)
12845 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12846 (hebrew-holidays-1, holiday-oriental-holidays)
12847 (holiday-general-holidays):
12848 * x-dnd.el (x-dnd-known-types):
12849 * tool-bar.el (tool-bar):
12850 * startup.el (site-run-file):
12851 * shell.el (shell-dumb-shell-regexp):
12852 * rfn-eshadow.el (file-name-shadow-tty-properties)
12853 (file-name-shadow-properties):
12854 * paths.el (remote-shell-program, news-directory):
12855 * mouse.el ([C-down-mouse-3]):
12856 * menu-bar.el (menu-bar-tools-menu):
12857 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12858 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12859 (jka-compr-compression-info-list):
12860 * isearch.el (search-whitespace-regexp):
12861 * image-file.el (image-file-name-extensions):
12862 * find-dired.el (find-ls-option):
12863 * files.el (directory-listing-before-filename-regexp)
12864 (directory-free-space-args, insert-directory-program)
12865 (list-directory-brief-switches, magic-fallback-mode-alist)
12866 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12867 (automount-dir-prefix):
12868 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12869 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12870 (face-font-registry-alternatives, face-font-registry-alternatives)
12871 (face-font-family-alternatives):
12872 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12873 (facemenu-foreground-menu, facemenu-face-menu):
12874 * epa-hook.el (epa-file-name-regexp):
12875 * dnd.el (dnd-protocol-alist):
12876 * textmodes/rst.el (auto-mode-alist):
12877 * button.el (default-button): Purecopy strings.
12879 2009-11-06 Glenn Morris <rgm@gnu.org>
12881 * Makefile.in (ELCFILES): Update.
12883 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12885 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12886 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12888 * nxml/xsd-regexp.el (xsdre-gen-categories):
12889 * nxml/xmltok.el (xmltok-parse-entity):
12890 * nxml/rng-parse.el (rng-parse-validate-file):
12891 * nxml/rng-maint.el (rng-format-manual)
12892 (rng-manual-output-force-new-line):
12893 * nxml/rng-loc.el (rng-save-schema-location-1):
12894 * nxml/rng-cmpct.el (rng-c-parse-file):
12895 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12896 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12898 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12900 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12901 Remove extra save-excursions and make-variable-buffer-local's.
12902 Suggested by Stefan Monnier.
12904 (verilog-getopt-file, verilog-module-inside-filename-p)
12905 (verilog-set-define): Merge GNU 1.35 and repair changes from
12906 switching to using with-current-buffer.
12908 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12909 being treated as a number and confusing AUTORESET.
12910 Reported by Dan Dever.
12912 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12913 Add verilog-auto-ignore-concat to fix backward compatibility with
12914 older verilog-modes. Reported by Dan Katz.
12916 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12917 containing closing anchors "...$".
12919 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12920 Reported by Wade Smith.
12922 (verilog-batch-execute-func): Comment on function usage.
12924 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12926 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12929 (verilog-label-re, verilog-calc-1): Support proper indent of named
12932 (verilog-backward-token, verilog-basic-complete-re)
12933 (verilog-beg-of-statement, verilog-indent-re): Support proper
12934 indent of the assert statement at the beginning of a block of text.
12936 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12937 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12940 2009-11-05 Glenn Morris <rgm@gnu.org>
12942 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12943 Emacs 19. (Bug#1531)
12944 (byte-compile-fix-header): Update for the above change.
12945 Drop test for epoch::version.
12947 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12948 * cus-dep.el (custom-make-dependencies):
12949 * finder.el (finder-compile-keywords):
12950 Use autoload-rubric's feature argument.
12952 * calendar/diary-lib.el (top-level): Make load behave more like require.
12954 * vc-git.el (vc-git-stash-map): Move definition before use.
12956 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12958 * custom.el (custom-declare-group): Purecopy standard-value.
12959 (custom-declare-group): Purecopy custom-prefix.
12961 * international/mule.el (load-with-code-conversion):
12962 Call do-after-load-evaluation unconditionally.
12964 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12966 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12968 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12970 2009-11-04 Glenn Morris <rgm@gnu.org>
12972 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12973 (byte-compile-compatibility): Remove option.
12974 (byte-compile-close-variables, byte-compile-fix-header)
12975 (byte-compile-insert-header, byte-compile-output-docform)
12976 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12977 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12978 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12979 (byte-compile-insert, byte-compile-defun):
12980 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12981 (byte-defop-compiler19): Remove.
12982 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12983 used by anything. Replace all calls with byte-defop-compiler.
12985 2009-11-04 Juri Linkov <juri@jurta.org>
12987 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12988 (menu-bar-options-menu): Don't quote the `prop' arg of
12989 `menu-bar-make-mm-toggle'.
12991 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12993 * calendar/calendar.el (cal-loaddefs):
12994 * calendar/diary-lib.el (diary-loaddefs):
12995 * calendar/holidays.el (hol-loaddefs):
12996 * eshell/esh-module.el (esh-groups): Load rather than require.
12998 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13000 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13002 (todo-top-priorities): Only display-buffer when called interactively.
13003 (todo-item-start): Don't save excursion point.
13004 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13005 (todo-insert-item-here, todo-file-item, todo-remove-item):
13006 Adjust uses of todo-item-start and todo-item-end.
13008 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13009 (autoload-rubric): Don't use any more.
13011 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13012 and only put a prop if it is non-nil.
13014 2009-11-03 Juri Linkov <juri@jurta.org>
13016 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13017 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13019 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13020 and "Menu" to make top-level menu item visually one unit (like
13021 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13022 multi-word menu items). Fix :help string for quit-window.
13024 2009-11-03 Glenn Morris <rgm@gnu.org>
13026 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13027 (byte-compile-file-form-define-abbrev-table)
13028 (byte-compile-file-form-custom-declare-variable)
13029 (byte-compile-variable-ref, byte-compile-defvar):
13030 Whether or not a warning is enabled should only affect whether we issue
13031 the warning, not whether or not we collect the relevant data.
13032 Eg warnings can be turned on and off throughout the course of a file.
13034 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13035 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13037 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13039 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13040 * play/mpuz.el (mpuz-create-buffer):
13041 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13042 (lm-print-y,s,noise, lm-print-w0, lm-init):
13043 * play/gomoku.el (gomoku-prompt-for-move):
13044 * play/fortune.el (fortune-in-buffer):
13045 * play/dissociate.el (dissociated-press):
13046 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13047 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13048 * mail/supercite.el (sc-eref-show):
13049 * mail/smtpmail.el (smtpmail-send-it):
13050 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13051 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13052 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13053 (rmail-summary-goto-msg, rmail-summary-expunge)
13054 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13055 (rmail-summary-add-label, rmail-summary-output-menu)
13056 (rmail-summary-output-body):
13057 * mail/rfc822.el (rfc822-addresses):
13058 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13059 * mail/mailpost.el (post-mail-send-it):
13060 * mail/hashcash.el (hashcash-generate-payment):
13061 * mail/feedmail.el (feedmail-run-the-queue)
13062 (feedmail-queue-send-edit-prompt-help-first)
13063 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13064 (feedmail-deduce-address-list):
13065 * eshell/esh-ext.el (eshell-remote-command):
13066 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13067 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13068 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13069 (viper-save-string-in-file, viper-valid-marker):
13070 * emulation/viper-keym.el (viper-toggle-key):
13071 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13072 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13073 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13074 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13075 (viper-exec-form-in-emacs, viper-brac-function):
13076 * emulation/viper.el (viper-delocalize-var):
13077 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13078 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13079 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13080 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13081 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13082 * emulation/edt.el (edt-electric-helpify):
13083 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13084 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13085 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13086 (cua-indent-to-global-mark-column):
13087 * calendar/diary-lib.el (calendar-mark-1):
13088 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13089 Use with-current-buffer.
13090 * emulation/viper.el (viper-delocalize-var): Use dolist.
13092 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13094 * comint.el (comint-replace-by-expanded-history-before-point):
13095 Replace !! with the previous input string literally (Bug#1795).
13097 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13099 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13100 to be made up of whitespace.
13102 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13104 * minibuffer.el (read-file-name): Don't use file dialogs for
13105 remote directories (Bug#99).
13107 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13109 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13111 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13113 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13114 instead of deleting the window or frame.
13116 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13118 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13119 Support face colors.
13121 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13122 New function. Support face colors (Bug#1168).
13123 (tex-common-initialization): Use it.
13125 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13126 mode allows it (Bug#1168).
13128 2009-10-31 Juri Linkov <juri@jurta.org>
13130 * facemenu.el (list-colors-display): Don't mark buffer as
13131 modified (Bug#3948).
13133 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13135 * international/mule-diag.el (list-character-sets-1): Minor
13136 message fix (Bug#3526).
13138 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
13139 face property (Bug#4834).
13140 (etags-list-tags, etags-tags-apropos-additional)
13141 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13144 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13147 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13149 * textmodes/two-column.el (2C-split):
13150 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13151 * textmodes/tex-mode.el (tex-set-buffer-directory):
13152 * textmodes/spell.el (spell-region, spell-string):
13153 * textmodes/reftex.el (reftex-erase-buffer):
13154 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13155 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13156 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13157 (reftex-select-item):
13158 * textmodes/reftex-ref.el (reftex-label-info-update)
13159 (reftex-offer-label-menu):
13160 * textmodes/reftex-index.el (reftex-index-change-entry)
13161 (reftex-index-phrases-info):
13162 * textmodes/reftex-global.el (reftex-create-tags-file)
13163 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13164 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13165 (reftex-view-crossref-from-bibtex):
13166 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13167 (reftex-extract-bib-entries-from-thebibliography)
13168 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13169 * textmodes/refbib.el (r2b-capitalize-title):
13170 (r2b-convert-buffer, r2b-help):
13171 * textmodes/page-ext.el (pages-directory)
13172 (pages-directory-goto-with-mouse):
13173 * textmodes/bibtex.el (bibtex-validate-globally):
13174 * textmodes/bib-mode.el (bib-capitalize-title):
13175 * textmodes/artist.el (artist-clear-buffer, artist-system):
13176 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13177 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13178 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13179 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13180 (xscheme-send-control-g-interrupt, xscheme-start-process)
13181 (xscheme-process-sentinel, xscheme-cd):
13182 * progmodes/verilog-mode.el (verilog-read-always-signals)
13183 (verilog-set-define, verilog-getopt-file)
13184 (verilog-module-inside-filename-p):
13185 * progmodes/sh-script.el:
13186 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13187 (python-pdbtrack-grub-for-buffer, python-execute-file):
13188 * progmodes/octave-inf.el (inferior-octave):
13189 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13190 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13191 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13192 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13193 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13194 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13195 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13196 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13197 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13198 (idlwave-shell-examine-display, idlwave-shell-run-region)
13199 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13200 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13201 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13202 (idlwave-help-get-help-buffer):
13203 * progmodes/gud.el (gud-basic-call, gud-find-class)
13204 (gud-tooltip-activate-mouse-motions-if-enabled):
13205 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13206 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13207 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13208 (ebrowse-tags-next-file):
13209 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13210 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13211 (ebnf-eps-finish-and-write):
13212 * progmodes/cpp.el (cpp-edit-save):
13213 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13214 * progmodes/cc-defs.el (c-emacs-features):
13215 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13216 (antlr-directory-dependencies):
13217 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13218 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13219 (ada-find-any-references, ada-make-filename-from-adaname)
13220 (ada-make-body-gnatstub):
13221 * obsolete/rnews.el (news-list-news-groups):
13222 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13223 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13224 * net/rcirc.el (rcirc-debug):
13225 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13226 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13227 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13228 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13229 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13230 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13231 (newsticker--treeview-list-clear-highlight)
13232 (newsticker--treeview-list-update-highlight)
13233 (newsticker--treeview-list-highlight-start)
13234 (newsticker--treeview-tree-update-highlight)
13235 (newsticker--treeview-get-selected-item)
13236 (newsticker-treeview-mark-list-items-old)
13237 (newsticker--treeview-set-current-node):
13238 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13239 * net/newst-backend.el (newsticker--get-news-by-funcall)
13240 (newsticker--get-news-by-wget, newsticker--image-get)
13241 (newsticker--image-sentinel):
13242 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13243 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13244 (eudc-ph-close-session):
13245 * net/eudc.el (eudc-save-options):
13246 * language/thai-word.el (thai-update-word-table):
13247 * language/japan-util.el (japanese-string-conversion):
13248 * international/titdic-cnv.el (tsang-quick-converter)
13249 (ziranma-converter, ctlau-converter):
13250 * international/mule-cmds.el (describe-language-environment):
13251 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13252 (skkdic-convert-postfix, skkdic-convert-prefix):
13253 (skkdic-convert-okuri-nasi, skkdic-convert):
13254 * emacs-lisp/re-builder.el (reb-update-overlays):
13255 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13256 * emacs-lisp/gulp.el (gulp-send-requests):
13257 * emacs-lisp/find-gc.el (trace-call-tree):
13258 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13259 (eieio-describe-generic):
13260 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13261 * emacs-lisp/edebug.el (edebug-outside-excursion):
13262 * emacs-lisp/debug.el (debugger-make-xrefs):
13263 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13264 * emacs-lisp/chart.el (chart-new-buffer):
13265 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13266 Use with-current-buffer.
13267 * textmodes/artist.el (artist-system): Don't call
13268 copy-sequence on a fresh string.
13269 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13271 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13273 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13274 is no item to edit. (Bug#4820)
13275 (todo-top-priorities): Restore point and restore narrowing in Todo
13278 2009-10-31 Glenn Morris <rgm@gnu.org>
13280 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13281 (comint-last-output-start, comint-last-input-start)
13282 (comint-last-input-end): Don't defvar when compiling.
13283 (ange-ftp-process-file): Use bound-and-true-p.
13285 * pcmpl-rpm.el (top-level): Move provide statement to end.
13286 (pcmpl-rpm): Remove unused custom group.
13288 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13290 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13292 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13293 (byte-compile-warnings): Add `constants' as an option.
13294 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13295 (display-call-tree): Update for byte-compile-fdefinition possibly
13296 returning `(macro lambda ...)'. (Bug#4778)
13297 (byte-compile-variable-ref, byte-compile-setq-default):
13298 Respect `constants' member of byte-compile-warnings.
13300 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13302 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13303 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13306 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13308 * textmodes/ispell.el (ispell-skip-region-alist):
13309 * international/mule-conf.el (eight-bit):
13310 * international/fontset.el (font-encoding-alist):
13311 * startup.el (pure-space-overflow-message):
13312 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13313 * paths.el (gnus-nntp-service, rmail-spool-directory)
13314 (term-file-prefix):
13315 * files.el (save-some-buffers-action-alist):
13316 * cmuscheme.el (same-window-buffer-names):
13317 * ielm.el (same-window-buffer-names):
13318 * shell.el (same-window-buffer-names):
13319 * mail/sendmail.el (same-window-buffer-names):
13320 * progmodes/inf-lisp.el (same-window-buffer-names):
13321 * bindings.el (mode-line-client)
13322 (mode-line-column-line-number-mode-map):
13323 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13324 (tibetan-precomposed-regexp): Purecopy string arguments.
13326 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13329 (calcDigit-nondigit):
13330 * calc/calc-yank.el (calc-copy-to-buffer):
13331 * calc/calc-units.el (calc-invalidate-units-table):
13332 * calc/calc-trail.el (calc-trail-yank):
13333 * calc/calc-store.el (calc-insert-variables):
13334 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13335 * calc/calc-prog.el (calc-read-parse-table):
13336 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13337 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13338 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13339 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13340 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13341 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13342 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13343 * calc/calc-ext.el (calc-realign):
13344 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13345 (calc-embedded-finish-edit, calc-embedded-make-info)
13346 (calc-embedded-finish-command, calc-embedded-stack-change):
13347 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13349 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13350 shell-dynamic-complete-filename in preference to
13351 comint-dynamic-complete-filename.
13353 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13354 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13355 Don't consider whether the display supports colors.
13356 (bookmark-import-new-list): Use dolist.
13357 (bookmark-bmenu-mode-map): Move initialization into declaration.
13358 (bookmark-bmenu-list): Use dolist, simplify.
13359 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13360 (menu-bar-final-items): Use push.
13362 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13364 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13365 it works on remote files.
13366 (vc-hg-diff): Don't pass any `--cwd' argument.
13368 2009-10-27 Kevin Ryde <user42@zip.com.au>
13370 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13371 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13372 (Further to Bug#3921).
13374 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13376 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13377 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13378 calling `tramp-imap-put-file'. Add file size to the call.
13379 (tramp-imap-get-file-entries): Compute also user name, file size,
13381 (tramp-imap-handle-insert-directory): Insert uid and gid.
13382 (tramp-imap-handle-file-attributes): Transform uid and gid
13383 according to `id-format'.
13384 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13385 size in header X-Size.
13387 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13389 * simple.el (transpose-subr): Give clearer error when the mark
13390 is not set. (Bug#4807)
13392 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13394 * net/tramp.el (tramp-perl-file-truename): New defconst.
13395 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13396 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13397 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13398 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13400 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13401 Ignore `dired-call-process'.
13402 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13404 2009-10-26 Julian Scheid <julians37@gmail.com>
13406 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13407 (tramp-get-remote-readlink): New defun.
13408 (tramp-handle-file-truename): Use it.
13409 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13410 file exists if cache value present.
13411 (tramp-check-cached-permissions): New defun.
13412 (tramp-handle-file-readable-p): Use it.
13413 (tramp-handle-file-writable-p): Likewise.
13414 (tramp-handle-file-executable-p): Likewise.
13415 (tramp-handle-file-name-all-completions): Try using Perl to get
13416 partial completions. When perl not available, combine `cd' and
13417 `ls' into single remote operation and use shell expansion to get
13418 partial remote directory contents. Set `file-exists-p' cache for
13419 directory and any files returned by ls. Change cache handling to
13420 support partial directory contents. Use error message emitted by
13421 remote `cd' or Perl code for local tramp-error.
13422 (tramp-do-copy-or-rename-file-directly): Avoid separate
13423 tramp-send-command-and-check call.
13424 (tramp-handle-process-file): Merge three remote ops into one.
13425 Do not flush all caches when `process-file-side-effects' is set.
13426 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13427 file-attributes shows uid/gid to be set already.
13429 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13431 * textmodes/tex-mode.el (tex-dvi-view-command)
13432 (tex-show-queue-command, tex-open-quote):
13433 * progmodes/ruby-mode.el (auto-mode-alist)
13434 (interpreter-mode-alist): Purecopy strings.
13436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13438 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13439 string for the hook, keymap and abbrev table.
13441 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13443 * x-dnd.el (x-dnd-xdnd-to-action):
13444 * startup.el (fancy-startup-text, fancy-about-text): Change to
13445 defconst from defvar.
13447 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13449 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13450 Purecopy initialization strings.
13452 * mail/sendmail.el (mail-header-separator)
13453 (mail-personal-alias-file):
13454 * mail/rmail.el (rmail-default-dont-reply-to-names)
13455 (rmail-ignored-headers, rmail-retry-ignored-headers)
13456 (rmail-highlighted-headers, rmail-secondary-file-directory)
13457 (rmail-secondary-file-regexp):
13458 * files.el (null-device, file-name-invalid-regexp)
13459 (locate-dominating-stop-dir-regexp)
13460 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13461 (interpreter-mode-alist): Use mapcar instead of mapc.
13463 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13465 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13466 (completion-ignored-extensions):
13467 (debug-ignored-errors): Purecopy strings.
13469 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13471 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13472 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13473 (pcomplete--here): Use push.
13475 * subr.el (all-completions): Declare the 4th arg obsolete.
13477 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13479 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13480 (pcomplete-unquote-argument): New function.
13481 (pcomplete--common-suffix): Always pay attention to case.
13482 (pcomplete--table-subvert): Quote and unquote the text.
13483 (pcomplete--common-quoted-suffix): New function.
13484 (pcomplete-std-complete): Use it and pcomplete-begin.
13486 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13487 we're inside a dedicated or minibuffer window.
13489 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13491 * bookmark.el: Update documentation, especially documentation
13492 of `bookmark-alist' and of the bookmark file format.
13493 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13495 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13497 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13498 keybindings apply to the mail buffer (Bug#4003). Shrink help
13501 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13502 (global-whitespace-mode, global-whitespace-newline-mode)
13503 (whitespace-toggle-options, global-whitespace-toggle-options):
13504 Doc fix (Bug#3660).
13506 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13507 of xmltok-start before the end tag was inserted (Bug#2840).
13509 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13510 patterns that are preceded by an open-paren (Bug#1320).
13512 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13514 * files.el (delete-directory): Delete symlinks to directories with
13515 delete-file (Bug#4739).
13517 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13519 * vc.el (vc-backend-for-registration): Rename from
13520 vc-get-backend-for-registration. Update callers.
13522 * international/mule-cmds.el (set-language-info-alist):
13524 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13525 (charset): Purecopy the name.
13526 (define-char-code-property): Purecopy string arguments.
13528 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13529 Purecopy string arguments.
13531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13532 * ediff-hook.el (menu-bar-ediff-menu):
13533 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13534 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13536 2009-10-24 Glenn Morris <rgm@gnu.org>
13538 * comint.el (comint-dynamic-list-completions):
13539 * term.el (term-dynamic-list-completions): Use choose-completion rather
13540 than obsolete alias mouse-choose-completion.
13542 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13543 file-cache-choose-completion.
13544 (file-cache-choose-completion): Handle an optional event argument.
13545 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13547 * progmodes/octave-mod.el (octave-complete-symbol):
13548 Use choose-completion if mouse-choose-completion is ever removed.
13550 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13553 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13556 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13558 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13560 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13561 Ignore `pred' now that we receive one.
13562 Handle test-completion specially.
13564 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13566 * vc.el (vc-responsible-backend): Throw an error if not backend is
13567 found. Remove the REGISTER argument. Move the code dealing with
13569 (vc-get-backend-for-registration): ... here. New function.
13570 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13571 of vc-responsible-backend, pass the file name instead of the
13574 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13576 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13578 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13579 (pcomplete-comint-setup): Don't modify a global var via
13580 accidental side-effects.
13581 (pcomplete-shell-setup): Adjust call accordingly.
13582 (pcomplete-parse-comint-arguments): Use push.
13584 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13586 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13587 Allow uncapitalized info node names (Bug#3921).
13589 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13590 to the DEBUG file (Bug#3781).
13592 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13594 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13595 dictionary entry (Bug#4579).
13597 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13599 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13600 from `rfn-eshadow-update-overlay-hook' when unloading.
13601 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13602 "rsyncc". Adjust doc string.
13603 (tramp-temp-buffer-file-name): New buffer-local defvar.
13604 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13605 Keep temporary file when indicated by method ("rsync" and
13607 (tramp-handle-write-region): Handle APPEND.
13608 (tramp-delete-temp-file-function): New defun. Added to
13609 `kill-buffer-hook'.
13611 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13613 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13615 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13617 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13618 (color-name-rgb-alist, tty-standard-colors)
13619 (tty-color-mode-alist): Change to defconst.
13621 * simple.el (mark-inactive): Purecopy message.
13623 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13624 (global-map, yank-menu):
13625 * textmodes/ispell.el (ispell-menu-map):
13626 * net/eudc.el (eudc-tools-menu):
13627 * international/mule-cmds.el (describe-language-environment-map)
13628 (setup-language-environment-map, set-coding-system-map)
13629 (mule-menu-keymap):
13630 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13631 * replace.el (occur-mode-map):
13632 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13634 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13636 * calc/calc.el (math-read-number, math-read-number-simple): Use
13639 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13641 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13642 rather than fiddling with global-map bindings, since it should only
13643 affect per-terminal settings.
13644 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13646 * minibuffer.el (completion-table-with-terminator): Allow to specify
13647 the terminator-regexp.
13649 * simple.el (switch-to-completions): Look for *Completions* in other
13652 * pcomplete.el: Allow the use of completion-tables.
13653 (pcomplete-std-complete): New command.
13654 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13655 (pcomplete--here): Use a function for `form' rather than an expression,
13656 so it can be byte-compiled.
13657 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13658 Add edebug declaration.
13659 (pcomplete-show-completions): Remove unused var `curbuf'.
13660 (pcomplete-do-complete, pcomplete-stub):
13661 Don't assume `completions' is a list of strings any more.
13663 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13665 * find-dired.el (find-name-arg): Fix typo in docstring.
13667 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13669 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13670 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13672 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13675 * comint.el (comint-read-input-ring, comint-write-input-ring)
13676 (comint-substitute-in-file-name)
13677 (comint-dynamic-complete-as-filename)
13678 (comint-dynamic-simple-complete)
13679 (comint-dynamic-list-filename-completions)
13680 (comint-dynamic-list-completions)
13681 (comint-redirect-results-list-from-process): Minor simplifications.
13683 2009-10-21 Kevin Ryde <user42@zip.com.au>
13685 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13686 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13687 the first form. And insert a blank line after ";;; Code" since
13688 that's usual style. (Bug#4612)
13690 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13692 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13694 * minibuffer.el (completion-table-with-terminator): Properly implement
13695 boundaries, in case `terminator' appears in the suffix.
13696 (completion--embedded-envvar-table): Don't return boundaries if
13697 there's no valid completion. Simplify.
13698 (completion-file-name-table): New completion table extracted from
13699 completion--file-name-table.
13700 (completion--file-name-table): Use it.
13701 (read-file-name-predicate): Declare obsolete.
13702 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13703 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13704 completion-file-name-table, and use the `pred' argument.
13705 * files.el (locate-file-completion-table): Use the `pred' arg rather
13706 than read-file-name-predicate.
13707 (abbreviate-file-name): Use \` rather than ^ for BOS.
13709 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13711 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13712 vc-responsible-backend to register, it causes problems.
13714 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13716 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13718 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13720 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13721 (tramp-smb-handle-file-attributes): Use it.
13722 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13723 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13724 `mapcar'. Use `tramp-smb-get-stat-capability'.
13725 Add `dired-filename' text properties.
13726 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13727 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13730 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13732 * subr.el (read-key-delay): Reduce to 0.01.
13733 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13736 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13740 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13741 (Info-menu): Remove unused vars `last' and `completions'.
13742 (Info-index-nodes): Remove unused var `node'.
13744 * info.el (Info-complete-menu-item): Use complete-with-action.
13746 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13748 Make vc-annotate work through copies and renames.
13749 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13750 Return the file name too.
13751 (vc-annotate-revision-at-line)
13752 (vc-annotate-find-revision-at-line)
13753 (vc-annotate-revision-previous-to-line)
13754 (vc-annotate-show-log-revision-at-line): Update to get the file
13755 name from vc-annotate-extract-revision-at-line.
13756 (vc-annotate-show-diff-revision-at-line-internal): Change the
13757 argument to mean whether to show a file diff or not. Get the file
13758 name from vc-annotate-extract-revision-at-line.
13759 (vc-annotate-show-diff-revision-at-line):
13760 Update vc-annotate-show-diff-revision-at-line call.
13761 (vc-annotate-warp-revision): Add an optional file argument.
13763 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13764 (vc-git-annotate-extract-revision-at-line): Also return the file
13767 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13768 command. Remove unused code.
13769 (vc-hg-annotate-re): Update to match --follow output.
13770 (vc-hg-annotate-extract-revision-at-line): Also return the file
13773 * vc.el: Update annotate-extract-revision-at-line documentation.
13775 2009-10-18 Kevin Ryde <user42@zip.com.au>
13777 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13778 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13780 * net/browse-url.el (browse-url): Identify alist with "consp and
13781 not functionp" and let all other things go down the `apply' leg,
13782 as suggested by Stefan. (Further to bug#4531.)
13784 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13786 * minibuffer.el (read-file-name): Check for repeat before putting
13787 a default argument in file-name-history (Bug#4657).
13789 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13790 read syntax (Bug#4737).
13792 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13794 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13796 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13797 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13798 entries and make note of obsolete tags.
13800 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13802 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13804 2009-10-18 Glenn Morris <rgm@gnu.org>
13806 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13807 grep, so that binary files (eg international/uni-bidi.el) can match.
13808 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13809 now, and in any case the file header format has changed.
13811 2009-10-17 Glenn Morris <rgm@gnu.org>
13813 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13814 (flyspell-get-word, flyspell-large-region)
13815 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13817 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13819 * Makefile.in (ELCFILES): Add ede/shell.
13821 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13823 * term/common-win.el (x-colors): Purecopy it.
13825 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13827 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13828 permissive for when the buffer is empty.
13829 (tar-header-block-tokenize): Decode the username and groupname.
13830 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13832 2009-10-17 Eric Ludlam <zappo@gnu.org>
13834 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13835 contains multibyte characters, choose first applicable coding
13836 system automatically.
13838 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13840 * international/mule-cmds.el (select-safe-coding-system): If the file
13841 has a coding cookie, use it regardless of any other setting (bug#4712).
13843 2009-10-17 Glenn Morris <rgm@gnu.org>
13845 * foldout.el (foldout-mouse-swallow-events):
13846 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13848 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13849 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13850 (dired-keep-marker-symlink, dired-dwim-target)
13851 (dired-copy-preserve-time): Do not autoload these defcustoms.
13853 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13854 messages from messing up the file coding. (Bug#4623)
13856 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13858 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13859 if no match is found for the current dictionary. (Bug#4578)
13861 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13862 optional, since that is how it is documented, and this is often called
13863 with a nil argument. (Bug#4577)
13864 (flyspell-external-point-words, flyspell-auto-correct-word)
13865 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13866 (flyspell-word-search-backward): Remove nil argument in calls to
13867 flyspell-get-word, since it is not needed now.
13869 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13871 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13873 2009-10-16 Glenn Morris <rgm@gnu.org>
13875 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13877 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13879 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13880 (ange-ftp-file-size): New function.
13881 (ange-ftp-file-attributes): Use it.
13883 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13885 * net/tramp-smb.el (tramp-smb-version): New defvar.
13886 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13889 2009-10-16 Glenn Morris <rgm@gnu.org>
13891 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13892 Maybe copy some custom properties from old to new name. (Bug#4706)
13894 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13896 * subr.el (error, sit-for, start-process-shell-command)
13897 (start-file-process-shell-command): Set the calling convention
13898 after the function definition.
13900 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13902 * subr.el (error, sit-for, start-process-shell-command)
13903 (start-file-process-shell-command): Use the new
13904 set-advertised-calling-convention feature.
13906 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13908 * international/ucs-normalize.el (ucs-normalize-version):
13910 (check-range): Adjust for Unicode 5.2.
13912 2009-10-15 Juri Linkov <juri@jurta.org>
13914 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13915 to the `menu-item' format.
13917 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13919 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13920 if the environment variable does not exist.
13922 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13923 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13925 (tramp-smb-handle-add-name-to-file)
13926 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13927 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13928 (tramp-smb-handle-file-attributes)
13929 (tramp-smb-do-file-attributes-with-stat)
13930 (tramp-smb-handle-file-local-copy)
13931 (tramp-smb-handle-insert-directory)
13932 (tramp-smb-handle-make-directory)
13933 (tramp-smb-handle-make-directory-internal)
13934 (tramp-smb-handle-make-symbolic-link)
13935 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13936 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13937 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13938 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13939 Handle long file names.
13940 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13941 process is running.
13942 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13943 Read share names with "-g" option.
13945 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13947 * net/rcirc.el (rcirc-view-log-file): New command.
13948 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13949 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13952 2009-10-15 Glenn Morris <rgm@gnu.org>
13954 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13955 from the second command-line argument.
13956 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13957 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13958 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13959 w32-batch-update-autoloads.
13960 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13961 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13963 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13964 the headers cannot be located. Simplify, subtracting superflous
13967 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13969 Replace completion-base-size by completion-base-position to fix bugs
13970 such as (bug#4699).
13971 * simple.el (completion-base-position): New var.
13972 (completion-base-size): Mark as obsolete.
13973 (choose-completion): Make it work for mouse events as well.
13974 Pass the new base-position to choose-completion-string.
13975 (choose-completion-guess-base-position): New function, extracted from
13976 choose-completion-delete-max-match.
13977 (choose-completion-delete-max-match): Use it. Make obsolete.
13978 (choose-completion-string): Use the new base-position info.
13979 (completion-root-regexp): Delete.
13980 (completion-setup-function): Preserve completion-base-position.
13981 Eliminate obsolete base-size manipulation.
13982 * minibuffer.el (display-completion-list): Don't mess with base-size.
13983 (minibuffer-completion-help): Set completion-base-position instead.
13984 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13986 * textmodes/bibtex.el (bibtex-complete):
13987 * emacs-lisp/crm.el (crm--choose-completion-string):
13988 Adjust to new calling convention.
13989 * complete.el (partial-completion-mode): Use minibufferp to avoid
13990 bumping into incompatible change to choose-completion-string-functions.
13991 * ido.el (ido-choose-completion-string): Make its calling convention
13993 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13994 base-size manipulation.
13995 (comint-dynamic-list-input-ring): Use dotimes and push.
13996 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13997 fundamental-mode. Use `or'.
13999 2009-10-14 Juri Linkov <juri@jurta.org>
14001 * misearch.el (multi-isearch-next-buffer-from-list)
14002 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14004 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14006 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14009 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14010 string we return is all made up of text from the completions rather
14011 than part from the completions and part from the input (bug#4219).
14013 * ido.el (ido-everywhere): Use define-minor-mode.
14015 * buff-menu.el (list-buffers, ctl-x-map):
14016 Mark the entry points with ;;;###autoload cookies.
14018 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14020 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14021 correctly in the detached head case.
14022 (vc-git-print-log): Remove unused binding.
14024 * vc.el (vc-responsible-backend): When a directory is passed for
14025 for registration create a VC repository if no backend is
14026 responsible for the directory argument.
14027 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14029 * vc.el: Move comments about RCS and SCCS ...
14031 * vc-sccs.el: ... here, respectively.
14033 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * minibuffer.el (completion--file-name-table): Return nil if there's
14036 no file completion, even if substitute-in-file-name changed
14037 the string (bug#4708).
14039 2009-10-13 Juri Linkov <juri@jurta.org>
14041 * files-x.el (read-file-local-variable-value): Don't filter out
14042 minor modes from mode name completion (bug#4664).
14044 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14046 * international/mule-cmds.el (ucs-names): Remove exclusion of
14047 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14049 2009-10-13 Kenichi Handa <handa@m17n.org>
14051 * international/uni-name.el: Regenerated.
14053 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14055 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14056 should be automatically buffer-local, but isn't.)
14058 2009-10-12 Sam Steingold <sds@gnu.org>
14060 * progmodes/compile.el (compilation-next-error-function): Fix the
14061 timestamps if the buffer has been visited before.
14062 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14063 non-anchored patterns, like the perl one (bug#3928).
14065 2009-10-12 Glenn Morris <rgm@gnu.org>
14067 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14070 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14072 * proced.el (proced-unload-function): New function.
14074 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14075 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14078 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14080 2009-10-11 Juri Linkov <juri@jurta.org>
14082 * files-x.el (read-file-local-variable-value):
14083 Provide default value only for bound variables (bug#4664).
14085 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14087 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14088 connection methods like smb.
14090 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14093 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14094 (tramp-smb-file-name-handler-alist): Add handlers for
14095 `add-name-to-file', `make-symbolic-link'.
14096 (tramp-smb-handle-add-name-to-file)
14097 (tramp-smb-do-file-attributes-with-stat)
14098 (tramp-smb-handle-make-symbolic-link)
14099 (tramp-smb-get-cifs-capabilities): New defuns.
14100 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14101 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14102 (tramp-smb-handle-file-local-copy)
14103 (tramp-smb-handle-make-directory-internal)
14104 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14105 The file name syntax depends on cifs capabilities.
14106 (tramp-smb-handle-file-attributes):
14107 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14108 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14109 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14111 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14113 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14114 (eieio-defclass): Apply deftype handler and setf-method properties
14116 (eieio-add-new-slot): Avoid union function from cl library.
14117 (eieio--typep): New function.
14118 (eieio-perform-slot-validation): Use it.
14120 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14122 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14123 Update documentation to refer to the variables documented in r1.135.
14126 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14128 * bookmark.el (Info-suffix-list): Remove this unused variable.
14129 (bookmark-current-point): Remove this obsolete variable.
14130 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14131 Adjust for removal of bookmark-current-point.
14133 (bookmarks-already-loaded, bookmark-current-buffer)
14134 (bookmark-yank-point): Document. (Bug#4188)
14136 2009-10-10 Glenn Morris <rgm@gnu.org>
14138 * frame.el (frame-height): Doc fix.
14140 * calendar/calendar.el (calendar-split-width-threshold): New option.
14141 (calendar-basic-setup): Use calendar-split-width-threshold.
14143 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14145 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14146 Ideographic Supplement" range (U+1F200..U+1F2FF).
14148 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14150 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14151 since the list will have been rebuilt anyway. (Bug#4349)
14153 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14155 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14156 (bookmark-bmenu-execute-deletions): Don't save here, as
14157 bookmark-delete will now do so if necessary.
14158 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14161 2009-10-09 Glenn Morris <rgm@gnu.org>
14163 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14165 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14167 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14168 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14169 argument now, so the two function's behaviors will match. (Bug#3645)
14171 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14173 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14174 (tramp-file-name-real-host, tramp-file-name-port):
14175 Apply `save-match-data'.
14177 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14178 case both directories are remote.
14179 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14180 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14182 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14184 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14186 2009-10-07 Glenn Morris <rgm@gnu.org>
14188 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14191 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14193 * files-x.el (read-file-local-variable): Include some
14194 non-user-variables in the completion table (bug#4664).
14196 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14198 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14201 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14202 (tramp-smb-file-name-handler-alist): Add handler for
14203 `copy-directory', `expand-file-name', `set-file-modes'.
14204 (tramp-smb-handle-copy-directory)
14205 (tramp-smb-handle-expand-file-name)
14206 (tramp-smb-handle-set-file-modes): New defuns.
14207 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14208 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14210 (tramp-smb-handle-insert-directory): Don't flush the cache.
14211 (tramp-smb-maybe-open-connection): Check for samba client and
14214 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14216 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14217 to not error out of search for "^lisp=" fails.
14219 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14221 * makefile.w32-in (WINS_UPDATES): New macro.
14222 (custom-deps, finder-data, autoloads): Use it.
14224 2009-10-07 Glenn Morris <rgm@gnu.org>
14226 * Makefile.in (autoloads): Revert previous change.
14227 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14228 the list of preloaded files passed on the command-line, get
14229 it from src/Makefile.
14231 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14232 show the original buffer rather than a random one.
14234 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14236 * help.el (describe-no-warranty): Place point in a slightly better
14237 position in the GPLv3 text.
14239 2009-10-06 Sam Steingold <sds@gnu.org>
14241 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14242 the comm attribute is present before calling regexp-quote.
14244 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14246 * play/animate.el (animate-string): For good effect, make sure
14247 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14249 * play/animate.el (animate-sequence, animate-birthday-present):
14250 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14252 2009-10-06 Glenn Morris <rgm@gnu.org>
14254 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14256 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14257 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14258 (batch-update-autoloads): Process a string value of autoload-excludes,
14259 set during the build process.
14260 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14262 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14263 inside with-parsed... macro so that `v' is defined.
14265 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14266 * progmodes/fortran.el (fortran-end-of-block)
14267 (fortran-beginning-of-block):
14268 Also push mark in the macro case.
14270 * emerge.el (emerge-show-file-name):
14271 * calc/calc.el (calc-quit):
14272 * calc/calc-misc.el (calc-big-or-small):
14273 * calc/calc-graph.el (calc-graph-view):
14274 * calc/calc-ext.el (calc-reset):
14275 * calendar/calendar.el (calendar-basic-setup):
14276 Use window-full-height-p.
14278 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14279 header we don't understand, don't insert another. (Bug#4624)
14280 If changing mime charset, insert the new one in the right place.
14282 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14284 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14285 (cal-tex-cursor-month): Correctly increment the end date for diary and
14286 holiday listing. (Bug#4626)
14288 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14290 * help-fns.el (describe-function-1): Don't burp if the function is not
14293 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14295 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14296 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14297 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14298 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14300 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14301 (eieio-default-superclass): Reflow docstrings.
14302 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14303 (eieio-unbind-method-implementations, defmethod)
14304 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14305 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14306 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14307 (eieio-slot-originating-class-p, eieio-slot-name-index)
14308 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14309 (constructor, initialize-instance, no-next-method, object-print)
14310 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14311 Fix typos in docstrings.
14312 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14313 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14314 (next-method-p): Doc fixes.
14315 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14316 Fix typos in error messages.
14317 (eieio-defmethod): Fix typo in description of generic method.
14319 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14320 (eieio-persistent-save-interactive, slot-missing):
14321 Fix typos in docstrings.
14322 (eieio-instance-inheritor-slot-boundp): Doc fix.
14324 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14325 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14327 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14328 (eieio-custom-object-apply-reset):
14329 Fix typos in docstrings and error messages.
14331 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14332 Fix typo in docstring.
14334 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14335 (eieio-browse-tree): Doc fix.
14336 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14337 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14338 Fix typos in docstrings.
14340 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14341 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14342 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14343 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14346 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14348 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14349 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14350 Set log-view-vc-backend so that diff can work.
14352 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14354 (vc-diff-internal): Autoload this instead of vc-version-diff.
14356 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14358 * simple.el (eval-expression): Doc fix.
14360 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14362 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14364 * files.el (directory-files-no-dot-files-regexp): New defconst.
14365 (delete-directory): Use it.
14366 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14368 * net/tramp.el (tramp-verbose): Fix docstring.
14369 (tramp-methods): Add recursive option to `tramp-copy-args'.
14370 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14371 "scp1_old", "scp2_old", "rsync", "rsyncc".
14372 (tramp-default-method): Check also for `auth-source-user-or-password'.
14373 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14374 Add handler for `copy-directory'.
14375 (tramp-handle-copy-directory): New defun.
14376 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14377 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14378 Optimize sent command.
14380 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14382 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14383 window if necessary.
14385 * calendar/calendar.el (calendar-basic-setup): Don't call
14386 switch-to-buffer in a dedicated window.
14388 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14390 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14391 don't do anything related to relocating, just return nil.
14392 (bookmark-error-no-filename): New error.
14393 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14394 bookmark has no file. Don't even attempt to handle things that
14395 are not files; the whole point of custom handlers is to keep that
14396 knowledge elsewhere anyway. Tighten some comments.
14397 (bookmark-file-or-variation-thereof): Remove now-unused function.
14398 (bookmark-location): Doc string fix.
14401 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14403 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14404 don't use a file dialog, because they usually don't know how to read
14405 a directory target from the user. (Bug#4230)
14406 Also, make sure the prompt can display directories as well as files.
14408 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14410 * bookmark.el (bookmark-set, bookmark-buffer-name):
14411 Improve doc strings. (Bug#1193)
14413 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14415 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14416 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14417 (bookmark-get-annotation, bookmark-set-annotation)
14418 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14419 (bookmark-set-position, bookmark-get-front-context-string)
14420 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14421 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14422 (bookmark-jump-other-window, bookmark-handle-bookmark)
14423 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14424 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14425 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14426 Improve doc strings to say whether bookmark can be a string or
14427 a record or both, and make other consistency and clarity fixes.
14428 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14429 (bookmark-default-annotation-text, bookmark-yank-word)
14430 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14431 (bookmark-import-new-list, bookmark-maybe-rename)
14432 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14433 (bookmark-bmenu-bookmark): Give these doc strings.
14434 (bookmark-bmenu-check-position): Give this a doc string, but also
14435 add a FIXME comment about how the function may be pointless.
14436 (bookmark-default-handler): Rework doc string and change a
14437 parameter name, to clarify that this takes a bookmark record
14438 not a bookmark name.
14439 (bookmark-set): Change a parameter name to indicate its meaning,
14440 and improve the doc string a bit.
14443 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14445 * bookmark.el (bookmark-alist): Document the new `handler' element
14446 in the param alist.
14447 (bookmark-make-record-function): Adjust documentation for above.
14450 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14452 * info.el (Info-bookmark-make-record): Document this function.
14453 (Info-bookmark-jump): Document with a doc string, not just a comment.
14456 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14458 * files.el (copy-directory): New defun.
14460 * dired-aux.el (dired-copy-file-recursive): Use it.
14462 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14464 * files-x.el (modify-dir-local-variable)
14465 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14468 * recentf.el (recentf-unload-function): New function.
14470 2009-10-04 Glenn Morris <rgm@gnu.org>
14472 * window.el (window-full-height-p): Add doc string.
14474 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14476 * window.el (window-full-height-p): New function. (Bug#4543)
14478 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14480 * vc.el: Remove commented out code.
14481 (vc-derived-from-dir-mode): Remove, unused.
14482 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14484 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14486 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14487 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14488 there could be recursive loading when `default-directory' is a
14489 remote file name. (Bug#4614)
14491 2009-10-03 Glenn Morris <rgm@gnu.org>
14493 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14495 (calendar-generate-window): Test for shrinkability rather than width.
14497 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14498 reusing existing buffers, in case we happen to visit two files with the
14499 same basename. (Bug#4593)
14501 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14503 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14504 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14505 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14506 subdirs of cedet as well.
14507 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14509 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14511 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14512 Obey advertised-signature-table.
14514 * help-fns.el (help-function-arglist): Don't check
14515 advertised-signature-table.
14516 (describe-function-1): Do it here instead so it also applies to subrs.
14518 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14520 * simple.el (start-file-process): Say in the doc-string, that file
14521 handlers might not support pty association, if PROGRAM is nil.
14523 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14524 HOST and USER are strings. They are nil, when there are
14525 incomplete entries in ~/.netrc, for example.
14526 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14527 root directory ("device busy" error otherwise).
14529 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14530 Flush file properties of created directory.
14532 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14534 * makefile.w32-in (WINS_BASIC): Remove cedet.
14535 (WINS_CEDET): Add cedet.
14536 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14538 2009-10-02 Kevin Ryde <user42@zip.com.au>
14540 * net/browse-url.el (browse-url): Pass any symbol in
14541 browse-url-browser-function to `apply', since if you've mistakenly put
14542 an unbound symbol then the error is clearer. (Bug#4531)
14544 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14546 * allout.el (allout-init, allout-back-to-current-heading)
14547 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14548 (allout-ascend, allout-up-current-level, allout-end-of-level)
14549 (allout-previous-visible-heading, allout-forward-current-level)
14550 (allout-backward-current-level, allout-show-children):
14551 * apropos.el (apropos-describe-plist):
14552 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14553 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14554 * completion.el (add-completion, add-permanent-completion):
14555 * descr-text.el (describe-text-category, describe-char):
14556 * desktop.el (desktop-lazy-abort):
14557 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14558 * dired.el (dired-build-subdir-alist):
14559 * ediff.el (ediff-version):
14560 * elide-head.el (elide-head, elide-head-show):
14561 * emerge.el (emerge-version):
14563 * face-remap.el (variable-pitch-mode):
14564 * faces.el (describe-face):
14565 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14567 * files.el (find-file-existing, auto-save-mode):
14568 * font-lock.el (font-lock-fontify-buffer):
14569 * help-fns.el (describe-function, describe-variable)
14570 (describe-syntax, describe-categories):
14571 * help.el (view-lossage, describe-bindings, describe-key)
14573 * hexl.el (hexl-current-address):
14574 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14575 * info.el (Info-goto-emacs-key-command-node):
14576 * log-edit.el (log-edit-insert-cvs-template)
14577 (log-edit-insert-cvs-rcstemplate):
14578 * menu-bar.el (menu-bar-mode):
14579 * mouse.el (mouse-appearance-menu):
14580 * newcomment.el (comment-indent-new-line):
14581 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14582 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14583 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14584 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14585 * recentf.el (recentf-mode):
14586 * savehist.el (savehist-mode, savehist-save):
14587 * shadowfile.el (shadow-copy-files):
14588 * simple.el (kill-ring-save, next-line, previous-line)
14589 (normal-erase-is-backspace-mode):
14590 * strokes.el (strokes-update-window-configuration)
14591 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14592 (strokes-xpm-for-stroke):
14593 * time.el (emacs-uptime, emacs-init-time):
14594 * tutorial.el (tutorial--describe-nonstandard-key)
14595 (tutorial--detailed-help):
14596 * type-break.el (type-break-mode)
14597 (type-break-mode-line-message-mode, type-break-query-mode)
14598 (type-break-guesstimate-keystroke-threshold):
14599 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14600 * version.el (emacs-version):
14601 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14602 * winner.el (winner-mode):
14603 * calendar/timeclock.el (timeclock-in, timeclock-out)
14604 (timeclock-status-string, timeclock-change)
14605 (timeclock-workday-remaining-string)
14606 (timeclock-workday-elapsed-string)
14607 (timeclock-when-to-leave-string):
14608 * calendar/todo-mode.el (todo-add-category):
14609 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14610 * emacs-lisp/autoload.el (update-file-autoloads):
14611 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14612 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14613 (checkdoc-message-text, checkdoc-defun):
14614 * emacs-lisp/debug.el (debugger-list-functions):
14615 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14616 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14617 (eieio-describe-generic):
14618 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14619 * emacs-lisp/shadow.el (list-load-path-shadows):
14620 * emulation/cua-base.el (cua-mode):
14621 * emulation/edt.el (edt-set-scroll-margins):
14622 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14623 (tpu-toggle-regexp, tpu-toggle-search-direction)
14624 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14625 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14626 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14627 (viper-set-parsing-style-toggling-macro)
14628 (viper-set-emacs-state-searchstyle-macros):
14629 * emulation/viper.el (viper-set-hooks):
14630 * eshell/esh-mode.el (eshell-truncate-buffer):
14631 * international/mule-cmds.el (prefer-coding-system)
14632 (describe-input-method, describe-language-environment):
14633 * international/mule-diag.el (list-character-sets)
14634 (describe-character-set, describe-coding-system)
14635 (describe-fontset, list-fontsets, list-input-methods):
14636 * mail/sendmail.el (mail-signature):
14637 * net/ange-ftp.el (ange-ftp-copy-file):
14638 * net/browse-url.el (browse-url):
14639 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14640 * net/quickurl.el (quickurl-add-url):
14641 * net/rcirc.el (names, topic):
14642 * net/xesam.el (xesam-mode):
14643 * play/5x5.el (5x5-new-game):
14644 * play/yow.el (apropos-zippy):
14645 * progmodes/ada-mode.el (ada-mode-version):
14646 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14648 (f90-beginning-of-block):
14649 * progmodes/fortran.el (fortran-end-of-block)
14650 (fortran-beginning-of-block):
14651 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14652 * progmodes/python.el (python-describe-symbol, python-shell):
14653 * term/ns-win.el (ns-print-buffer):
14654 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14655 * textmodes/flyspell.el (flyspell-mode-on):
14656 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14657 (pages-directory-for-addresses):
14658 * textmodes/table.el (table-recognize-cell)
14659 (table-query-dimension, table-generate-source)
14660 (table-insert-sequence, table--warn-incompatibility):
14661 * textmodes/tex-mode.el (tex-validate-buffer):
14662 * textmodes/texinfmt.el (texinfmt-version)
14663 (texinfo-format-buffer):
14664 Use `called-interactively-p' instead of `interactive-p'.
14666 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14668 * image-mode.el (image-toggle-display):
14669 * emacs-lisp/elp.el (elp-instrument-function):
14670 * emacs-lisp/advice.el (ad-make-advised-definition):
14671 * emacs-lisp/easy-mmode.el (define-minor-mode):
14672 * net/browse-url.el (browse-url-maybe-new-window):
14673 * progmodes/sh-script.el (sh-learn-buffer-indent):
14674 Pass new argument 'any to `called-interactively-p'.
14676 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14678 * international/uni-bidi.el:
14679 * international/uni-category.el:
14680 * international/uni-combining.el:
14681 * international/uni-comment.el:
14682 * international/uni-decimal.el:
14683 * international/uni-decomposition.el:
14684 * international/uni-digit.el:
14685 * international/uni-lowercase.el:
14686 * international/uni-mirrored.el:
14687 * international/uni-name.el:
14688 * international/uni-numeric.el:
14689 * international/uni-old-name.el:
14690 * international/uni-titlecase.el:
14691 * international/uni-uppercase.el:
14692 Regenerate from Unicode 5.2.0 data.
14694 2009-10-01 Glenn Morris <rgm@gnu.org>
14696 * Makefile.in (ELCFILES): Regenerate.
14698 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14700 * subr.el (interactive-p): Mark obsolete.
14701 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14702 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14703 advertised-signature-table for subroutines as well.
14705 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14706 (set-advertised-calling-convention): New function.
14707 (make-obsolete, define-obsolete-function-alias)
14708 (make-obsolete-variable, define-obsolete-variable-alias):
14709 Make the optional-ness of `when' obsolete.
14710 (define-obsolete-face-alias): Make `when' non-optional.
14711 * help-fns.el (help-function-arglist):
14712 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14713 Use advertised-signature-table.
14715 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14717 * files.el (delete-directory): New defun. The original function
14718 in fileio.c has been renamed to `delete-directory-internal'.
14720 * dired.el (dired-delete-file): Call `delete-directory' with
14721 RECURSIVE parameter.
14723 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14724 parameter RECURSIVE. Implementation is missing.
14726 * net/tramp.el (tramp-handle-make-directory): Flush upper
14727 directory's file properties.
14728 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14729 (tramp-handle-dired-recursive-delete-directory): Flush directory
14730 properties after the remove command only.
14732 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14733 Handle optional parameter RECURSIVE.
14735 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14736 Handle optional parameter RECURSIVE.
14738 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14739 connection timeout.
14740 (tramp-smb-handle-delete-directory): Handle optional parameter
14743 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14745 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14746 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14747 (byte-compile-defmacro): Use backquotes.
14749 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14751 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14752 has no associated file.
14753 (vc-resynch-buffer): Use vc-dir-buffers.
14755 2009-10-01 Glenn Morris <rgm@gnu.org>
14757 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14758 (chart-file-count):
14759 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14760 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14761 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14762 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14763 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14764 (eieio-copy-parents-into-subclass, make-instance, class-children)
14765 (eieio-generic-form):
14767 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14768 match-data. (Bug#4555).
14770 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14771 rather than parsing it as a regexp. This relaxes the layout
14772 requirements and makes errors easier to detect.
14773 (check-declare-verify): Check file is regular.
14774 (check-declare-directory): Doc fix.
14775 * subr.el (declare-function): Doc fix.
14777 * ibuffer.el (ibuffer-format-qualifier):
14778 * isearch.el (hi-lock-regexp-okay):
14779 * calc/calc.el (math-zerop):
14780 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14781 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14782 Remove unused declarations.
14784 2009-09-30 Eric Ludlam <zappo@gnu.org>
14786 * emacs-lisp/eieio.el (boolean-p): Delete.
14788 2009-09-30 Glenn Morris <rgm@gnu.org>
14790 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14792 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14793 filename is not a string.
14795 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14797 * files.el (safe-local-eval-forms): Fix typo.
14799 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14801 * vc-hooks.el (vc-dir-buffers): New var.
14802 (vc-state-refresh): New function.
14803 (vc-state): Use it.
14804 (vc-after-save): Always ask the backend to recompute the new state.
14805 Always call vc-dir if necessary, using vc-dir-buffers.
14806 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14807 Use vc-dir-buffers.
14808 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14809 (vc-dir-prepare-status-buffer, vc-dir-update)
14810 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14811 Don't call expand-file-name on default-directory.
14813 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14815 * speedbar.el (speedbar-item-delete):
14816 * calc/calc-prog.el (calc-kbd-if):
14817 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14819 * epa.el (epa-key-list-mode-map):
14820 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14822 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14823 (hs-show-hook): Fix typo in docstring.
14825 2009-09-29 Glenn Morris <rgm@gnu.org>
14827 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14828 file-name-nondirectory call preventing location of cedet files.
14829 (check-declare-verify): Use literal search rather than re-search.
14830 Add basic defmethod and defclass, and define-overloadable-function.
14832 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14833 Use tramp-compat-file-attributes rather than nonexistent
14834 tramp-compat-handle-file-attributes.
14836 * Makefile.in (lisptagsfiles4): New.
14837 (AUTOGENEL): Add cedet loaddefs files.
14838 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14839 (update-elclist, compile-always, backup-compiled-files)
14840 (bootstrap-clean): Add yet another directory level.
14841 (update-elclist): Use LC_COLLATE rather than COLLATE.
14842 (ELCFILES): Update, via `make update-elclist'.
14844 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14846 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14847 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14848 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14850 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14852 * Makefile.in (lisptagsfiles3): Define.
14853 (TAGS, TAGS-LISP): Use it.
14854 (update-elclist): Add third directory level to look for elc files.
14855 (compile-always): Likewise.
14856 (backup-compiled-files): Likewise.
14857 (bootstrap-clean): Likewise.
14858 (ELCFILES): Update.
14860 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14862 * Makefile.in (ELCFILES): Add CEDET files.
14864 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14866 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14868 * net/tramp.el (top): Require tramp-imap.
14870 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14871 Use `tramp-compat-handle-file-attributes'.
14873 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14875 * net/tramp-imap.el: New package.
14877 2009-09-28 Eric Ludlam <zappo@gnu.org>
14879 * emacs-lisp/chart.el:
14880 * emacs-lisp/eieio-base.el:
14881 * emacs-lisp/eieio-comp.el:
14882 * emacs-lisp/eieio-custom.el:
14883 * emacs-lisp/eieio-datadebug.el:
14884 * emacs-lisp/eieio-opt.el:
14885 * emacs-lisp/eieio-speedbar.el:
14886 * emacs-lisp/eieio.el: New files.
14888 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14890 * whitespace.el (whitespace-trailing-regexp)
14891 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14894 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14896 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14899 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14900 menu-bar-ediff-menu.
14902 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14903 define-overloadable-function.
14905 * progmodes/autoconf.el: Provide autoconf as well, so that this
14906 file can be `require'd.
14908 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14910 * emacs-lisp/autoload.el (generated-autoload-feature)
14911 (generated-autoload-load-name): New vars.
14912 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14913 (make-autoload): Recognize define-overloadable-function and
14914 defclass forms (for EIEIO).
14916 * Makefile.in (update-subdirs): Exclude cedet directory.
14918 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14920 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14922 * faces.el: Default light-background background for region face to
14923 ns_selection_color under NS.
14925 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14927 * net/imap-hash.el: New library, see NEWS.
14929 * Makefile.in (ELCFILES): Add imap-hash.el.
14931 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14933 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14934 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14935 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14936 definition where the docstring could be taken for the return value.
14938 2009-09-26 Glenn Morris <rgm@gnu.org>
14940 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14941 Add option to only show images below a certain size.
14942 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14943 save-excursion calls.
14945 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14947 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14948 subdirectories) and eieio.
14950 2009-09-26 Alan Mackenzie <acm@muc.de>
14952 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14953 buggy bracketing. (Bug#4289)
14955 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14956 character constants (as case labels). (Bug#4289)
14958 2009-09-25 Juri Linkov <juri@jurta.org>
14960 * files.el (safe-local-eval-forms): Allow time-stamp in
14961 before-save-hook (Bug#4554).
14963 2009-09-25 Drew Adams <drew.adams@oracle.com>
14965 * menu-bar.el (list-buffers-directory): Doc fix.
14967 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14969 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14970 Try and avoid copying twice the same paragraph.
14971 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14972 Remove save-excursion.
14973 (log-edit-changelog-entry): Do it here instead.
14975 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14977 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14978 when available, instead of hardcoding mode names. Doc fix.
14980 * menu-bar.el (list-buffers-directory): Add docstring.
14981 Make automatically buffer-local.
14983 * dired.el (dired-mode):
14984 * files.el (cd-absolute):
14985 * pcvs.el (cvs-temp-buffer):
14986 * pcvs-util.el (cvs-get-buffer-create):
14987 * shell.el (shell-mode):
14988 * vc-dir.el (vc-dir-mode):
14989 Don't make `list-buffers-directory' buffer local.
14991 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14993 * comint.el (comint-exec, comint-run, make-comint):
14994 Doc fixes (Bug#4542).
14996 2009-09-25 Glenn Morris <rgm@gnu.org>
14998 * mail/rmailmm.el (rmail-mime): New custom group.
14999 Move all defcustoms in this file into this group.
15000 (rmail-mime-media-type-handlers-alist): Revert previous change.
15001 (rmail-mime-show-images): New option.
15002 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15003 references to it, since it wasn't actually used for anything.
15004 (rmail-mime-insert-image): New function.
15005 (rmail-mime-image): Use rmail-mime-insert-image.
15006 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15007 obey the value of `rmail-mime-show-images' option. Print the size of
15010 2009-09-25 David Engster <deng@randomsample.de>
15012 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15014 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15016 * whitespace.el: Does not highlight trailing spaces While point is
15017 at end of line. Does not highligt spaces at beginning of buffer
15018 while point is at beginning of buffer. Does not highlight spaces
15019 at end of buffer while point is at end of buffer. (Bug#4177)
15021 (whitespace-display-mappings): Adjust initialization.
15022 (whitespace-point, whitespace-font-lock-refontify): New vars.
15023 (whitespace-color-on, whitespace-color-off): Adjust code.
15024 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15025 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15026 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15028 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15030 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15032 * textmodes/sgml-mode.el: Remove xml-mode alias.
15034 * files.el (auto-mode-alist, conf-mode-maybe)
15035 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15037 2009-09-24 Alan Mackenzie <acm@muc.de>
15039 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15040 c-forward-conditionals, but it doesn't move point and doesn't set
15042 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15043 (c-down-conditional-with-else, c-backward-conditional)
15044 (c-forward-conditional): Refactor to use c-scan-conditionals.
15046 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15048 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15049 (help-default-arg-highlight): Remove.
15050 (help-highlight-arg): New function.
15051 (help-do-arg-highlight): Use it.
15052 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15054 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15056 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15057 Undo last change, which didn't fix the problem and introduced others.
15059 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15061 * progmodes/gdb-mi.el: Don't require speedbar.
15062 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15064 2009-09-24 Glenn Morris <rgm@gnu.org>
15066 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15068 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15070 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15071 there is no newline after the final mime boundary. (Bug#4539)
15072 Move markers on insertion so that any buttons inserted don't end up in
15073 the next part of a multipart message.
15074 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15075 (rmail-mime-bulk-handler): Optionally handle images.
15076 (rmail-mime-image): New button action.
15077 (rmail-mime-image-handler): New function.
15078 (rmail-mime-mode): New mode.
15079 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15081 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15083 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15084 than just dropping elements from it (bug#4504).
15086 * term.el (term-set-scroll-region): Don't move cursor any more.
15087 (term-handle-ansi-escape): Call term-goto here instead.
15088 Suggested by Ivan Kanis <apple@kanis.eu>.
15090 * term.el: Require CL.
15091 (term-ansi-reset): New function.
15092 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15093 (term-handle-colors-array): Simplify.
15095 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15097 * allout.el (allout-overlay-interior-modification-handler)
15098 (allout-obtain-passphrase):
15099 * epa-file.el (epa-file-write-region):
15100 * ps-print.el (ps-begin-job):
15101 * vc-hooks.el (vc-toggle-read-only):
15102 * vc-rcs.el (vc-rcs-rollback):
15103 * vc-sccs.el (vc-sccs-rollback):
15104 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15105 (vc-version-diff, vc-revert, vc-rollback):
15106 * wdired.el (wdired-check-kill-buffer):
15107 * emacs-lisp/authors.el (authors):
15108 * net/socks.el (socks-open-connection):
15109 * net/zeroconf.el (zeroconf-service-add-hook):
15110 * obsolete/vc-mcvs.el (vc-mcvs-register):
15111 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15112 (gdb-select-frame):
15113 * progmodes/grep.el (lgrep, rgrep):
15114 * progmodes/idlw-help.el (idlwave-help-check-locations)
15115 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15116 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15117 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15118 (reftex-toc-rename-label): Fix typos in error messages.
15120 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15121 (dired-copy-how-to-fn): Doc fix.
15122 (dired-files-attributes, dired-read-shell-command):
15123 Fix typos in docstrings.
15125 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15126 (dired-x-find-file-other-window): Reflow docstrings.
15127 (dired-omit-marker-char, dired-read-shell-command)
15128 (dired-x-submit-report): Fix typos in docstrings.
15130 * shell.el (shell-mode-hook):
15131 * view.el (View-scroll-line-forward):
15132 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15133 Fix typos in docstrings.
15135 * net/dig.el (dig-invoke): Fix typo in docstring.
15136 (query-dig): Reflow docstring.
15138 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15139 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15140 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15141 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15142 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15143 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15144 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15145 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15146 (idlwave-completion-map, idlwave-current-indent)
15147 (idlwave-custom-ampersand-surround, idlwave-customize)
15148 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15149 (idlwave-define-abbrev, idlwave-determine-class-special)
15150 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15151 (idlwave-end-block-reg, idlwave-end-of-statement)
15152 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15153 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15154 (idlwave-explicit-class-listed, idlwave-file-header)
15155 (idlwave-fill-paragraph, idlwave-find-class-definition)
15156 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15157 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15158 (idlwave-in-quote, idlwave-indent-action-table)
15159 (idlwave-indent-expand-table, idlwave-indent-line)
15160 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15161 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15162 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15163 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15164 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15165 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15166 (idlwave-outlawed-buffers, idlwave-popup-select)
15167 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15168 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15169 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15170 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15171 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15172 (idlwave-statement-type, idlwave-struct-skip)
15173 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15174 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15175 (idlwave-what-module-find-class): Fix typos in docstrings.
15176 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15177 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15178 (idlwave-find-module, idlwave-find-structure-definition)
15179 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15180 (idlwave-list-load-path-shadows, idlwave-next-statement)
15181 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15182 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15183 (idlwave-template): Reflow docstrings.
15185 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15186 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15187 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15188 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15189 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15190 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15191 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15192 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15193 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15194 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15195 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15196 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15197 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15198 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15199 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15200 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15201 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15202 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15203 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15204 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15205 Fix typos in docstrings.
15206 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15207 (idlwave-shell-hide-output, idlwave-shell-mode)
15208 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15211 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15213 2009-09-24 Ivan Kanis <apple@kanis.eu>
15215 * term.el (term-bold-attribute): New var.
15216 (term-handle-colors-array): Use it.
15218 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15220 * progmodes/gdb-mi.el (gdb-version): New variable.
15221 (gdb-non-stop-handler): Set gdb-version.
15222 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15223 Condition "--thread" option on gdb-version.
15224 (gdb-invalidate-threads): Remove unused argument.
15226 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15228 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15229 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15231 2009-09-23 Glenn Morris <rgm@gnu.org>
15233 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15234 replying to mail without References or Message-Id. (Bug#4525)
15236 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15238 * term/ns-win.el (ns-reg-to-script): New variable.
15240 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15242 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15244 2009-09-22 Sam Steingold <sds@gnu.org>
15246 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15247 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15248 to 1 because hg returns status 1 when nothing is found.
15249 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15251 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15253 * textmodes/fill.el: Convert to utf-8 encoding.
15254 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15257 * add-log.el (change-log-fill-forward-paragraph): New function.
15258 (change-log-mode): Use it so fill-region DTRT.
15259 Set fill-indent-according-to-mode here rather than in
15260 change-log-fill-paragraph.
15261 (change-log-fill-paragraph): Remove.
15263 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15265 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15266 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15268 2009-09-22 Glenn Morris <rgm@gnu.org>
15270 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15271 the scroll-bar scroll the calendar window rather than the buffer.
15273 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15274 commands that move point (as opposed to scrolling).
15276 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15278 * emacs-lisp/elint.el (elint): New custom group.
15279 (elint-log-buffer): Make it a defcustom.
15280 (elint-scan-preloaded, elint-ignored-warnings)
15281 (elint-directory-skip-re): New options.
15282 (elint-builtin-variables): Doc fix.
15283 (elint-preloaded-env): New variable.
15284 (elint-unknown-builtin-args): Add an entry for encode-time.
15285 (elint-extra-errors): Make it a variable rather than a constant.
15286 (elint-preloaded-skip-re): New constant.
15287 (elint-directory): Skip files matching elint-directory-skip-re.
15288 (elint-features): New variable, local to linted buffers.
15289 (elint-update-env): Initialize elint-features. Possibly add
15290 elint-preloaded-env to the buffer's environment.
15291 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15293 (elint-init-form): New function, extracted from elint-init-env.
15294 Make non-list forms a warning rather than an error.
15295 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15296 easy-menu-define, put that adds an error-condition, and provide.
15297 When requiring cl, also require cl-macs. Really require cl, to handle
15298 some cl macros. Store required libraries in the list elint-features,
15299 so as not to re-load them. Treat cc-require like require.
15300 (elint-init-env): Call elint-init-form to do the work.
15301 Handle eval-and-compile and such like.
15302 (elint-add-required-env): Do not clear messages.
15303 (elint-special-forms): Add handlers for function, defalias, if, when,
15305 (elint-form): Add optional argument to ignore elint-special-forms,
15306 useful to prevent recursive calls from handlers. Doc fix.
15307 Respect elint-ignored-warnings.
15308 (elint-form): Respect elint-ignored-warnings.
15309 (elint-bound-variable, elint-bound-function): New variables.
15310 (elint-unbound-variable): Respect elint-bound-variable.
15311 (elint-get-args): Respect elint-bound-function.
15312 (elint-check-cond-form): Add some simple handling for (f)boundp and
15314 (elint-check-defalias-form): New handler.
15315 (elint-check-let-form): Make an empty let a warning rather than an
15317 (elint-check-setq-form): Make an empty setq a warning rather than an
15318 error. Respect elint-ignored-warnings.
15319 (elint-check-defvar-form): Accept null doc-strings.
15320 (elint-check-conditional-form): New handler. Does some simple-minded
15321 checking of featurep and (f)boundp tests.
15322 (elint-put-function-args): New function.
15323 (elint-initialize): Use elint-scan-doc-file rather than
15324 elint-find-builtin-variables. Use elint-put-function-args.
15325 Possibly scan preloaded-file-list.
15326 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15327 extend to handle functions as well.
15329 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15331 * linum.el (linum-delete-overlays, linum-update-window):
15332 Do not modify the right margin. (Bug#3971)
15334 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15336 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15337 nxml-mode instead of xml-mode.
15339 2009-09-21 Kevin Ryde <user42@zip.com.au>
15341 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15343 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15345 * net/dig.el (dig-mode): Use define-derived-mode.
15347 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15349 * vc-dispatcher.el (vc-do-command): Return the process object in
15350 the asynchronous case. Use when instead of if. Do not run
15351 vc-exec-after to display a message if not enabled. (Bug#4463)
15353 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15354 properties to the stash strings.
15355 (vc-git-stash-list): Return a list of strings.
15356 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15357 (vc-git-stash-show-at-point): New functions.
15358 (vc-git-stash-map): New keymap.
15360 * register.el (ctl-x-r-map): Define the keys here instead of
15363 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15365 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15366 list, to workaround performance problem (bug#4485).
15368 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15370 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15372 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15374 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15375 Document that this option is not recommended to use.
15377 2009-09-19 Glenn Morris <rgm@gnu.org>
15379 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15382 * calc/calc-alg.el (var):
15383 * calc/calcalg2.el (var): Define for compiler.
15385 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15387 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15388 Doc fix (Bug#3932).
15390 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15392 * time-stamp.el (time-stamp-month-dd-yyyy)
15393 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15394 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15395 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15396 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15397 Remove functions that have been obsolete since 1995 (Bug#4436).
15399 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15400 indent buffer only if called interactively (Bug#4452).
15402 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15403 Eli Zaretskii <eliz@gnu.org>
15405 This fixes bug#4197 (merged to bug#865, though not identical).
15406 * server.el (server-auth-dir): Add docstring note about FAT32.
15407 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15408 but warn against using them.
15410 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15412 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15413 older GDB where there is no has_more field.
15415 2009-09-19 Glenn Morris <rgm@gnu.org>
15417 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15419 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15421 * files.el (auto-mode-alist): Change default for XML files to nXML
15424 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15426 * server.el (server-ensure-safe-dir): Pass 'integer
15427 to `file-attributes', as suggested.
15429 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15432 (dired-query): Use read-key.
15434 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15436 * cus-start.el (ns-use-qd-smoothing): Remove.
15438 2009-09-18 Glenn Morris <rgm@gnu.org>
15440 * allout.el (top-level): Remove unnecessary progn.
15442 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15444 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15445 definition of abbrev table.
15447 * speedbar.el (speedbar-track-mouse):
15448 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15449 * net/eudc.el (eudc-expand-inline):
15450 * net/newst-backend.el (newsticker--cache-read-feed):
15451 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15452 condition-case handlers.
15454 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15456 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15457 (gdb-var-list): Add an element for has_more field.
15458 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15459 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15460 (gdb-var-update-handler-1): Parse output of dynamic variable
15461 objects (STL containers).
15462 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15463 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15465 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15467 (gud-speedbar-buttons): Make node expandable if expression "has more"
15470 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15472 * startup.el (emacs-quick-startup): Remove variable and all uses.
15473 (command-line): Set `inhibit-x-resources' instead.
15474 (command-line-1): Use `inhibit-x-resources' instead.
15476 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15478 * subr.el: Fix last change to avoid using the `unless' macro,
15479 which breaks bootstrapping.
15481 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15483 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15484 extended definitions, in case we reload subr.el after having
15486 (eval-next-after-load): Mark as obsolete.
15488 2009-09-17 Juri Linkov <juri@jurta.org>
15490 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15491 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15492 (menu-bar-showhide-menu, menu-bar-tools-menu)
15493 (menu-bar-describe-menu, menu-bar-help-menu)
15494 (minibuffer-local-completion-map, minibuffer-local-map):
15497 2009-09-17 Glenn Morris <rgm@gnu.org>
15499 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15500 arguments, whether or not it has a handler.
15502 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15504 * simple.el (hard-newline): Give it a doc-string.
15506 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15507 (lisp-mode-syntax-table): Give them doc-strings.
15509 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15511 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15512 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15513 (menu-bar-options-menu, menu-bar-showhide-menu)
15514 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15515 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15516 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15517 (menu-bar-options-menu, menu-bar-tools-menu)
15518 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15519 (menu-bar-help-menu):
15520 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15523 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15524 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15525 calls for the menu names and :help.
15527 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15529 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15530 to :minor-mode-function (bug#4455).
15532 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15534 * startup.el (command-line): Initialize the window-system after
15535 processing the command-line.
15537 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15538 page-delimiter matches the empty string.
15540 2009-09-16 Glenn Morris <rgm@gnu.org>
15542 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15543 byte-compile-not-obsolete-var. It's a list now.
15544 (byte-compile-not-obsolete-funcs): New variable.
15545 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15546 byte-compile-not-obsolete-funcs.
15547 (byte-compile-variable-ref, byte-compile-defvar): Update for
15548 byte-compile-not-obsolete-vars name-change and list nature.
15549 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15550 and variables behind (f)boundp tests.
15551 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15553 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15555 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15557 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15559 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15560 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15563 2009-09-15 Stephen Eglen <stephen@gnu.org>
15565 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15566 the virtual-buffers, use the name of the buffer specified by
15567 find-file-noselect, as the match may be a symlink. (This was a
15568 problem if the target and the symlink had different names.)
15570 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15572 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15574 * desktop.el (desktop-path): Check user-emacs-directory.
15576 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15578 * loadup.el: Use after-load-functions to GC after loading each file.
15579 Remove the explicit GC calls that used to be sprinkled around.
15581 * subr.el (after-load-functions): New hook.
15582 (do-after-load-evaluation): Run it. Use string-match-p to detect
15583 `obsolete' packages, rather than painfully extracting the relevant
15586 2009-09-15 Glenn Morris <rgm@gnu.org>
15588 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15589 free variable `doc'.
15591 * dired.el (dired-mode-map): Add menu entry for async shell command.
15593 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15594 variables, also consider the .elc files, since the .el files are
15595 normally gzipped (subsequent code locates the .el.gz from the .elc).
15597 * calc/calc-prog.el (arglist): Define for compiler.
15599 * calendar/diary-lib.el (diary-display-function): Change the default to
15601 (body): Define for compiler.
15603 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15604 (byte-compile-file-form, byte-compile-lambda)
15605 (byte-compile-top-level-body, byte-compile-form)
15606 (byte-compile-variable-ref, byte-compile-setq)
15607 (byte-compile-setq-default, byte-compile-body)
15608 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15609 (batch-byte-compile): Give some more local variables with common names
15610 a "bytecomp-" prefix to avoid masking warnings about free variables.
15612 * startup.el (command-line-1): Give local variables with common names a
15613 distinguishing prefix, so as not to hide free variable warnings during
15616 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15617 clever and add a suffix to make a unique name, just let the user decide
15618 whether or not to overwrite it. If the input is a directory, write the
15619 default filename to that directory. (Bug#4388)
15620 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15621 is a filename-as-a-directory.
15623 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * textmodes/page.el (what-page): Don't move to beginning of line.
15626 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15628 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15630 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15632 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15634 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15635 * help.el (help-for-help-internal): Add purecopy calls for text.
15637 * vc.el (top): print-log method now takes an optional SHORTLOG
15638 argument. Add a new method: root.
15639 (vc-root-diff, vc-print-root-log): New functions.
15640 (vc-log-short-style): New variable.
15641 (vc-print-log-internal): Add support for showing short logs.
15643 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15644 vc-print-root-log and vc-print-root-diff.
15646 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15647 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15648 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15651 * vc-cvs.el (vc-cvs-print-log):
15652 * vc-mtn.el (vc-mtn-print-log):
15653 * vc-rcs.el (vc-rcs-print-log):
15654 * vc-sccs.el (vc-sccs-print-log):
15655 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15656 that is ignored for now.
15658 * vc-mtn.el (vc-mtn-annotate-command):
15659 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15661 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15663 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15664 to function-key-map, and give them ascii-character property.
15665 * term/x-win.el (x-alternatives-map):
15666 * term/ns-win.el (ns-alternatives-map):
15667 * term/internal.el (msdos-key-remapping-map):
15668 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15670 2009-09-14 Glenn Morris <rgm@gnu.org>
15672 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15673 temp-buffers (2009-09-12).
15675 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15677 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15678 the new read-key function.
15680 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15682 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15683 is defined (Bug#4405).
15685 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15687 * recentf.el (recentf-cleanup): Use a hash table to find
15688 duplicates (Bug#4407).
15690 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15692 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15693 kp-0 to ascii equivalents (Bug#4325).
15695 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15697 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15699 * eshell/em-hist.el:
15700 * eshell/em-dirs.el (eshell-complete-user-reference):
15701 Declare pcomplete functions and variables to avoid compiler warnings.
15703 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15705 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15706 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15707 * eshell/em-alias.el (eshell-aliases-file):
15708 * eshell/em-hist.el (eshell-history-file-name):
15709 Use expand-file-name instead of concat to make file names (Bug#4308).
15711 2009-09-13 Glenn Morris <rgm@gnu.org>
15713 * ediff-merg.el (ediff-do-merge):
15714 * filesets.el (filesets-run-cmd):
15715 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15716 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15717 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15718 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15719 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15720 Replace empty `let's with `progn'.
15722 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15724 * mail/sendmail.el (send-mail-function):
15725 * tooltip.el (tooltip-mode):
15726 * simple.el (transient-mark-mode):
15727 * rfn-eshadow.el (file-name-shadow-mode):
15728 * frame.el (blink-cursor-mode):
15729 * font-core.el (global-font-lock-mode):
15730 * files.el (temporary-file-directory)
15731 (small-temporary-file-directory, auto-save-file-name-transforms):
15732 * epa-hook.el (auto-encryption-mode):
15733 * composite.el (global-auto-composition-mode):
15734 Use custom-initialize-delay.
15735 * startup.el (command-line): Don't explicitly call
15736 custom-reevaluate-setting for all the above vars.
15737 * custom.el (custom-initialize-safe-set)
15738 (custom-initialize-safe-default): Delete.
15740 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15742 * term/x-win.el (x-initialize-window-system):
15743 * term/w32-win.el (w32-initialize-window-system):
15744 * term/ns-win.el (ns-initialize-window-system): Don't call
15745 mouse-wheel-mode since it's enabled globally by default already.
15747 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15748 actually define the variable, but only silences the byte-compiler.
15749 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15750 before looking it up.
15751 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15754 2009-09-12 Glenn Morris <rgm@gnu.org>
15756 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15758 (elint-add-required-env): Don't beep on error.
15759 (elint-forms): In case of error, return ENV unchanged.
15760 (elint-init-env): Skip non-list forms.
15761 (elint-log): Handle unknown file positions.
15763 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15765 * epg.el (epg-make-context): Add autoload cookie.
15766 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15767 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15768 (epg-verify-string, epg-start-sign, epg-sign-file)
15769 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15770 (epg-encrypt-string, epg-start-export-keys)
15771 (epg-export-keys-to-file, epg-export-keys-to-string)
15772 (epg-start-import-keys, epg-import-keys-from-file)
15773 (epg-import-keys-from-string, epg-start-receive-keys)
15774 (epg-receive-keys, epg-import-keys-from-server)
15775 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15776 (epg-sign-keys, epg-start-generate-key)
15777 (epg-generate-key-from-file, epg-generate-key-from-string):
15778 Remove autoload cookie.
15780 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15782 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15783 reevaluation of trash-directory.
15785 * mwheel.el: Fix last change.
15786 (mouse-wheel-mode): New defvar.
15787 (mouse-wheel-mode): Remove autoload cookie.
15789 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15791 * mwheel.el (mwheel-installed-bindings): New var.
15792 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15793 the bindings we set last time. Use custom-initialize-delay.
15794 * loadup.el: Load mwheel after term/*-win.el.
15795 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15796 and mouse-wheel-up-event now that their first evaluation is done
15797 sufficiently late to be correct.
15799 * startup.el (tutorial-directory): Make it a defcustom.
15800 Use custom-initialize-delay rather than eval-at-startup to set it.
15801 * image.el (image-load-path): Make it a defcustom.
15802 Use custom-initialize-delay rather than eval-at-startup to set it.
15803 * subr.el (eval-at-startup): Remove.
15804 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15806 * subr.el (do-after-load-evaluation): Warn the user after loading an
15809 2009-09-12 Glenn Morris <rgm@gnu.org>
15811 * proced.el (proced-mark-alt): Remove alias.
15812 (proced-mode-map): Remove proced-mark-alt.
15814 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15815 Elint file and directory. Remove initialization entry.
15817 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15819 (elint-current-buffer): Set mode-line-process.
15820 (elint-init-env): Handle define-derived-mode.
15821 Fix declare-function with unspecified arglist. Guard against odd
15822 defalias statements (eg iso-insert's 8859-1-map).
15823 (elint-add-required-env): Use a temp buffer.
15824 (elint-form): Just print the function/macro name, not the whole form.
15825 Return env unchanged if we fail to parse a macro.
15826 (elint-forms): Guard against parse errors.
15827 (elint-output): New function, to handle batch mode.
15828 (elint-log-message): Add optional argument. Use elint-output.
15829 (elint-set-mode-line): New function.
15831 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15833 * emacs-lisp/elp.el (elp-not-profilable): Add more
15834 functions (Bug#4233).
15836 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15838 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15839 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15841 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15843 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15844 (gdb-var-list-children): Use json parsing.
15846 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15848 * progmodes/js.el (js--proper-indentation): Handle the case where
15849 char-before is null. Reported by Deniz Dogan.
15851 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15853 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15855 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15857 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15858 (epg-digest-algorithm-alist): Add SHA224.
15859 (epg-context-set-passphrase-callback)
15860 (epg-context-set-progress-callback): Add description about
15863 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15865 * custom.el (custom-delayed-init-variables): New var.
15866 (custom-initialize-delay): New function.
15867 * startup.el (command-line): "Re"evaluate all vars in
15868 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15869 explicitly any more.
15870 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15871 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15873 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15875 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15877 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15878 (gdb-var-update-handler): Use json parsing.
15880 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15882 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15883 decode annotated text, regardless of language environment. (Bug#2741)
15885 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15887 * Makefile.in (autoloads): Make rmail.el writable as well.
15889 2009-09-11 Glenn Morris <rgm@gnu.org>
15891 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15893 * dired.el: Regenerate with extracted autoloads.
15894 * Makefile.in (autoloads): Make dired.el writable.
15896 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15897 * ibuffer.el: Regenerate with extracted autoloads.
15898 * Makefile.in (autoloads): Make ibuffer.el writable.
15900 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15901 * version.el (emacs-copyright, emacs-major-version)
15902 (emacs-minor-version): Reformat doc-strings for make-docfile.
15904 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15905 functions and variables, since they must be stuff specific to some other
15907 (apropos-print): Make mouse-click message less specific about button.
15909 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15910 that records where a macro was defined.
15911 * help-fns.el (describe-function-1): Mention if a function has a
15913 * help-mode.el (help-function-cmacro): New button.
15915 * locate.el (top-level): Always require dired.
15916 (locate-mode-map): Initialize inside the defvar.
15918 * net/ange-ftp.el (dired-compress-file): Declare.
15919 (ange-ftp-dired-compress-file): Add doc string.
15921 * term/ns-win.el (x-display-name, x-setup-function-keys):
15922 Unify doc-strings with X versions.
15924 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15926 * emulation/crisp.el (crisp-mode-map): Move initialization
15928 (crisp-mode): Use define-minor-mode.
15930 * progmodes/xscheme.el (xscheme-evaluation-commands):
15931 Put a :advertised-binding property rather than using
15932 advertised-xscheme-send-previous-expression.
15933 (advertised-xscheme-send-previous-expression): Declare obsolete.
15934 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15936 (crisp-mode): Add corresponding bindings to
15937 undo's :advertised-binding instead.
15938 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15939 than using dired-advertised-find-file.
15940 (dired-advertised-find-file):
15941 * simple.el (advertised-undo):
15942 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15943 (widget-keymap): Put a :advertised-binding property rather
15944 than using advertised-widget-backward.
15945 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15946 than using advertised-undo.
15947 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15949 2009-09-10 Simon South <ssouth@slowcomputing.org>
15951 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15952 Mark mode is enabled and region is active; otherwise indent or
15953 insert TAB as usual.
15954 (delphi-mode): Update description of TAB-key binding.
15956 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15958 * subr.el (define-key-rebound-commands): Mark obsolete.
15959 * startup.el (precompute-menubar-bindings): Remove.
15960 (normal-top-level): Remove obsolete code that tried to precompute
15962 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15963 define-key-rebound-commands and precompute-menubar-bindings.
15965 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15967 * net/imap.el (imap-interactive-login): Better messages.
15968 (imap-open): Fix bug with renamed buffer on reconnect.
15969 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15970 for easier debugging and cleaner code. On successful (guessed based on
15971 server capabilities) secondary authentication, set imap-state
15973 (imap-last-authenticator): Define imap-last-authenticator as a variable
15976 2009-09-10 Glenn Morris <rgm@gnu.org>
15978 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15980 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15981 (byte-compile-file-form-autoload): Don't warn about unknown functions
15982 where the autoload statement comes after the use.
15983 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15984 that any handlers inside the body (eg require) are in turn respected.
15986 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15989 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15990 and syntax and abbrev tables basic docs, if they don't have any.
15992 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15994 * international/mule-cmds.el (top-level): Require cl when compiling.
15995 (view-hello-file): Use default-value rather than
15996 default-enable-multibyte-characters.
15998 * progmodes/fortran.el: Move all safe and risky properties into the
16001 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16002 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16003 * mail/undigest.el:
16004 Put autoloads in rmail.el rather than loaddefs.el.
16005 * mail/rmail.el: Regenerate with extracted autoloads.
16007 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16008 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16010 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16012 Reported in thread for Bug#4375.
16013 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16014 "-data-evaluate-expression" instead of print.
16015 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16016 (gdb-tooltip-print): Parse output from above MI command.
16017 (gdb): Revert 2009-08-11 change. User should detach inferior
16020 Remove the word "separate" from IO functions as inferior
16021 output is now never displayed in the GUD buffer.
16023 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16025 * startup.el (command-line-normalize-file-name): On Windows and
16026 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16028 2009-09-10 Juri Linkov <juri@jurta.org>
16030 * isearch.el (isearch-text-char-description): Propertize escape
16031 character sequences with the `escape-glyph' face. (Bug#4344)
16033 * simple.el (shell-command): Set asynchronous process filter to
16034 `comint-output-filter'. (Bug#4343)
16036 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16037 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16038 the list. Move "asm" to the bottom.
16039 (grep-find-ignored-directories): Add `choice' with nil value
16040 to empty the list easily.
16041 (grep-find-ignored-files): New option.
16042 (grep-files-history): Set to nil by default instead of '("ch" "el").
16043 (grep-compute-defaults): Add "<X>" to `grep-template'.
16044 (grep-read-files): Bind new local variables `default-alias' and
16045 `default-extension'. Use a list of default values for the file prompt.
16046 (lgrep): Add `--exclude=' command line options composed from
16047 `grep-find-ignored-files'.
16048 (rgrep): Add `-name' command line options composed from
16049 `grep-find-ignored-files'. (Bug#4301)
16051 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16053 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16056 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16058 * calendar/time-date.el (autoload):
16059 Expand define-obsolete-function-alias into defalias and make-obsolete
16060 for old Emacsen that Gnus supports.
16061 (with-no-warnings): Define it for old Emacsen.
16062 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16064 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16065 float-time is available; suppress compile warning for time-to-seconds.
16067 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16069 * net/imap.el (imap-message-map): Docstring fix.
16071 2009-09-09 Glenn Morris <rgm@gnu.org>
16073 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16074 line numbers too. (Bug#4374)
16076 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * smerge-mode.el (smerge-remove-props, smerge-refine):
16079 Use with-silent-modifications (bug#4342).
16081 * subr.el (with-silent-modifications): New macro.
16083 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16085 * files.el (top-level): Require `cl' when compiling.
16087 2009-09-07 Glenn Morris <rgm@gnu.org>
16089 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16091 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16092 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16094 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16096 * vc-git.el (vc-git-annotate-command): Use separator to parse
16097 arguments correctly.
16099 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16101 * proced.el (proced-mode): Doc fix.
16103 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16105 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16107 (tramp-do-file-attributes-with-ls): Check for file existence at
16109 (tramp-do-file-attributes-with-stat): Likewise.
16110 (tramp-convert-file-attributes): Return nil when attr is nil.
16112 2009-09-05 Glenn Morris <rgm@gnu.org>
16114 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16115 properties to this button.
16116 (diary-fancy-display): Don't extend the button to the final newline.
16117 (diary-fancy-display-mode): Continue to define "q" as a local key.
16119 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16122 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16124 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16125 (byte-compile-dest-file-function): New option.
16126 (byte-compile-dest-file): Doc fix.
16127 Obey byte-compile-dest-file-function.
16128 (byte-compile-cl-file-p): New function.
16129 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16130 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16131 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16132 than for file being previously loaded.
16133 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16134 (byte-compile-file-form-require): Handle the case where requiring a file
16135 indirectly causes CL to be loaded.
16137 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16139 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16140 before killing the old buffer, since by the time `kill-buffer' is
16141 run so many buffer variables have been set to nil that it may not
16142 behave as expected. (Bug#4061)
16144 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16146 * files.el (find-alternate-file): If the old buffer is modified
16147 and visiting a file, behave similarly to `kill-buffer' when
16148 killing it, thus reverting to the pre-1.878 behavior; see
16149 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16150 for discussion. Also, consult `buffer-file-name' as a variable
16151 not as a function, for consistency with the rest of the code.
16153 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16155 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16156 also when adding a new directory.
16158 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
16161 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16163 * files.el (locate-file-completion-table): Make it provide boundary
16164 information, so partial-completion works better.
16166 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16168 * mail/footnote.el (Footnote-text-under-cursor):
16169 Check footnote-text-marker-alist before using it (bug#4324).
16171 2009-09-04 Glenn Morris <rgm@gnu.org>
16173 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16174 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16175 * play/solitaire.el, play/tetris.el:
16176 Remove leading * from defcustom and defface docs.
16178 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16180 (diary-fancy-overriding-map): New variable.
16181 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16184 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16187 2009-09-03 Glenn Morris <rgm@gnu.org>
16189 * arc-mode.el (archive-mode):
16190 * dos-fns.el (set-default-process-coding-system):
16191 * man.el (Man-getpage-in-background):
16192 * menu-bar.el (menu-bar-describe-menu):
16193 * server.el (server-process-filter):
16194 * startup.el (command-line):
16195 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16196 * w32-fns.el (set-default-process-coding-system):
16197 * x-dnd.el (x-dnd-handle-file-name):
16198 * international/mule-cmds.el (mule-menu-keymap)
16199 (set-default-coding-systems, language-info-alist, set-language-info)
16200 (set-language-environment, standard-display-european-internal)
16201 (set-locale-environment):
16202 * international/mule-diag.el (mule-diag):
16203 * mail/emacsbug.el (report-emacs-bug):
16204 * mail/rmail.el (rmail-mode):
16205 * mail/sendmail.el (mail-setup):
16206 Use default-value rather than default-enable-multibyte-characters.
16208 * progmodes/f90.el: Move all safe properties into the defcustoms.
16209 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16211 * calendar/appt.el (appt-check):
16212 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16213 (diary-check-diary-file, diary-list-entries)
16214 (diary-include-other-diary-files, diary-simple-display)
16215 (diary-fancy-display, diary-print-entries)
16216 (diary-mark-included-diary-files, diary-make-entry):
16217 Don't call substitute-in-file-name on diary-file.
16219 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16220 Stefan Monnier <monnier@iro.umontreal.ca>
16222 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16223 (footnote-mode-map): Move initialization into the declaration.
16224 (footnote-minor-mode-map): Define it rather than changing global-map.
16225 (footnote-mode): Use define-minor-mode.
16227 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16229 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16230 (tramp-do-file-attributes-with-perl)
16231 (tramp-do-file-attributes-with-stat): Rename from
16232 `tramp-handle-file-attributes-with-*'.
16233 (tramp-handle-file-attributes): Use them.
16234 (tramp-do-directory-files-and-attributes-with-perl)
16235 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16236 `tramp-handle-directory-files-and-attributes-with-*'.
16237 (tramp-handle-directory-files-and-attributes): Use them.
16238 (tramp-method-out-of-band-p): Additional parameter SIZE.
16239 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16240 (tramp-handle-write-region): Use it.
16241 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16242 (tramp-handle-vc-registered): Check, whether the first run did
16243 return files to be tested.
16244 (tramp-advice-make-auto-save-file-name): Do not call directly
16245 `tramp-handle-make-auto-save-file-name', because this would bypass
16246 the locking mechanism.
16248 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16249 (file-remote-p, process-file, start-file-process, set-file-times)
16250 (tramp-compat-file-attributes): Compatibility functions shall not
16251 call directly `tramp-handle-*', because this would bypass the
16253 (tramp-compat-number-sequence): New defun.
16255 2009-09-02 Glenn Morris <rgm@gnu.org>
16257 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16258 alias for float-time.
16259 (time-to-number-of-days): In Emacs, use float-time.
16260 * net/newst-backend.el (time-add): Suppress warnings from compat
16262 * time.el (emacs-uptime, emacs-init-time):
16263 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16264 Use float-time rather than time-to-seconds.
16266 * minibuffer.el (completion-initials-expand): Fix typo.
16268 * faces.el (modeline, modeline-inactive, modeline-highlight)
16269 (modeline-buffer-id):
16270 * info.el (info-menu-5): Mark these face aliases as obsolete.
16272 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16274 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16276 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16277 no "--thread" option.
16278 (gdb-stopped): Don't print "Switched to thread" message when it is
16281 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * minibuffer.el (completion-try-completion)
16284 (completion-all-completions): Remove ill-defined (and
16285 mistakenly installed and luckily never used nor documented)
16286 `completion-styles' property.
16287 (completion-initials-expand, completion-initials-all-completions)
16288 (completion-initials-try-completion): New functions.
16289 (completion-styles-alist): Add doc to each entry.
16290 Add new `initials' entry.
16292 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16294 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16295 MI command -var-evaluate-expression.
16296 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16297 and tweak for case of string child.
16298 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16300 2009-09-01 Glenn Morris <rgm@gnu.org>
16302 * add-log.el (change-log-date-face, change-log-name-face)
16303 (change-log-email-face, change-log-file-face, change-log-list-face)
16304 (change-log-conditionals-face, change-log-function-face)
16305 (change-log-acknowledgement-face):
16306 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16307 (custom-modified-face, custom-set-face, custom-changed-face)
16308 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16309 (custom-documentation-face, custom-state-face, custom-comment-face)
16310 (custom-comment-tag-face, custom-variable-tag-face)
16311 (custom-variable-button-face, custom-face-tag-face)
16312 (custom-group-tag-face-1, custom-group-tag-face):
16313 * diff-mode.el (diff-header-face, diff-file-header-face)
16314 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16315 (diff-added-face, diff-changed-face, diff-function-face)
16316 (diff-context-face, diff-nonexistent-face):
16317 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16318 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16319 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16320 (Info-title-4-face):
16321 * isearch.el (isearch-lazy-highlight-face):
16322 * log-view.el (log-view-file-face, log-view-message-face):
16323 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16324 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16325 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16327 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16328 (smerge-base-face, smerge-markers-face):
16329 * wid-edit.el (widget-documentation-face, widget-button-face)
16330 (widget-field-face, widget-single-line-field-face)
16331 (widget-inactive-face, widget-button-pressed-face):
16332 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16333 (woman-addition-face):
16334 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16335 (eshell-ls-executable-face, eshell-ls-readonly-face)
16336 (eshell-ls-unreadable-face, eshell-ls-special-face)
16337 (eshell-ls-missing-face, eshell-ls-archive-face)
16338 (eshell-ls-backup-face, eshell-ls-product-face)
16339 (eshell-ls-clutter-face):
16340 * eshell/em-prompt.el (eshell-prompt-face):
16341 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16342 * obsolete/old-whitespace.el (whitespace-highlight-face):
16343 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16344 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16345 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16346 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16347 (antlr-font-lock-literal-face):
16348 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16349 (ebrowse-root-class-face, ebrowse-file-name-face)
16350 (ebrowse-default-face, ebrowse-member-attribute-face)
16351 (ebrowse-member-class-face, ebrowse-progress-face):
16352 * progmodes/make-mode.el (makefile-space-face):
16353 * progmodes/sh-script.el (sh-heredoc-face):
16354 * textmodes/flyspell.el (flyspell-incorrect-face)
16355 (flyspell-duplicate-face):
16356 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16357 * textmodes/texinfo.el (texinfo-heading-face):
16358 Mark face aliases with "-face" suffix as obsolete.
16360 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16363 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16364 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16365 easy-menu-define wants to modify these.
16367 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16369 * net/browse-url.el (browse-url-file-url):
16370 * term/internal.el (dos-codepage-setup):
16371 Use default-value rather than default-enable-multibyte-characters.
16373 * progmodes/etags.el (etags-goto-tag-location):
16374 * progmodes/flymake.el (flymake-highlight-line)
16375 (flymake-goto-file-and-line, flymake-goto-line):
16376 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16377 (gdb-goto-breakpoint):
16378 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16379 * progmodes/python.el (python-find-function)
16380 (python-pdbtrack-track-stack-file):
16381 * progmodes/verilog-mode.el (verilog-surelint-off):
16382 * term/ns-win.el (ns-open-file-select-line):
16383 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16384 Use forward-line rather than goto-line.
16386 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16387 * textmodes/reftex-index.el (reftex-display-index):
16388 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16389 * textmodes/reftex-toc.el (reftex-toc):
16390 Remove unnecessary bindings of default-major-mode (all are followed by
16391 major-mode check and possible mode switch).
16393 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16395 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16396 Handle watchpoints (bug#4282).
16397 (def-gdb-thread-buffer-command): Enable thread to be selected by
16398 clicking without selecting threads buffer first.
16399 (gdb-current-context-command): Use selected frame so that "up",
16400 "down" etc work in the GUD buffer.
16401 (gdb-update): Find selected frame before rendering stack buffer.
16402 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16404 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16406 * progmodes/sym-comp.el (displayed-completions): Remove.
16407 (symbol-complete): Use minibuffer-complete.
16409 2009-08-31 Glenn Morris <rgm@gnu.org>
16411 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16413 * apropos.el (apropos-symbols-internal):
16414 Handle (obsolete) face aliases.
16416 * faces.el (describe-face): Adjust the output format to be more like
16417 describe-variable, and to mention (obsolete) face aliases.
16418 Adjust the whitespace so that help-setup-xref works.
16420 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16421 * calendar/diary-lib.el (diary-button-face):
16422 Mark these face aliases as obsolete.
16424 * calendar/calendar.el (calendar-today): Doc fix.
16426 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16428 * progmodes/gdb-mi.el (gdb-control-all-threads)
16429 (gdb-control-current-thread): Force tool bar update.
16430 (gdb-non-stop-handler): New function.
16431 (gdb-init-1): Use it to test if non-stop mode is supported.
16432 Remove unused gdbmi buffer type.
16434 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16436 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16437 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16439 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16441 * comint.el (comint-exec-1): Check command is non-null first.
16442 Part of gdb-mi.el change (2009-08-28).
16444 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16448 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16450 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16451 instead of `dolist' to avoid a recursive require when bootstrapping.
16453 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16455 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16457 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16459 * net/imap.el (imap-send-command): Simplify.
16460 (imap-wait-for-tag): point-max -> buffer-size.
16462 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16464 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16465 with constant argument.
16467 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16469 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16471 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16472 Change default, since most of our files don't have a history.
16473 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16476 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16479 * calc/calc.el: Improve commenting convention.
16480 (calc-digit-map, toplevel): Simplify.
16482 * comint.el (comint-insert-input): Be careful to only set point if we
16483 don't delegate to some other command.
16485 * proced.el (proced-signal-list): Make it an alist.
16486 (proced-grammar-alist): Capitalize names.
16487 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16488 Disable undo manually and make it read-only.
16489 Use completion-annotate-function.
16491 * minibuffer.el (minibuffer-message): If the current buffer is not
16492 a minibuffer, insert the message in the echo area rather than at the
16494 (completion-annotate-function): New variable.
16495 (minibuffer-completion-help): Use it.
16496 (completion--embedded-envvar-table): Environment vars are
16497 always case-sensitive.
16499 2009-08-30 Glenn Morris <rgm@gnu.org>
16501 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16502 from fortran-current-defun.
16503 (fortran-beginning-of-subprogram): Be more precise about finding the
16504 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16505 (fortran-end-of-subprogram): Simplify.
16506 (fortran-current-defun): Use fortran-start-prog-re.
16508 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16510 * subr.el (do-after-load-evaluation): Simplify.
16512 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16514 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16516 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16517 (vc-rcs-print-log): Use it.
16519 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16521 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16523 * paths.el (abbrev-file-name): Move to abbrev.el.
16524 * abbrev.el (abbrev-file-name): Move from paths.el.
16525 Obey user-emacs-directory.
16526 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16527 user-emacs-directory.
16528 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16529 abbrev-file-name and calc-settings-file any more.
16530 * startup.el (command-line): Recompute abbrev-file-name and
16531 abbreviated-home-dir.
16532 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16533 of the special code for when C-h bindings haven't been changed.
16534 (display-startup-echo-area-message): Use with-current-buffer.
16535 (command-line-1): Use a list of strings, rather than a list of lists
16536 of strings for longopts.
16538 * files.el (get-free-disk-space): Use / for default-directory.
16540 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16541 Use with-current-buffer.
16543 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16544 Recognize immutable variables like most-positive-fixnum.
16545 (byte-compile-setq-default): Check and warn if trying to assign
16546 to an immutable variable, or a non-variable.
16548 * progmodes/cc-vars.el (c-comment-continuation-stars):
16549 * progmodes/cc-engine.el (c-looking-at-bos):
16550 * progmodes/cc-cmds.el (c-toggle-auto-state)
16551 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16552 (c-comment-line-break-function): Add version of obsolescence.
16554 2009-08-28 Juri Linkov <juri@jurta.org>
16556 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16557 associated with `archive-mode'.
16559 * image.el (image-type-header-regexps): Use only JPEG magic number
16560 to determine JPEG images, and don't use `image-jpeg-p' because
16561 Emacs can display non-JFIF non-Exif JPEG images.
16563 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16565 * arc-mode.el (archive-mode):
16566 * emacs-lisp/re-builder.el (re-builder-unload-function):
16567 Protect against the default value of `major-mode' being nil.
16569 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16571 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16572 Fix typos in docstrings.
16574 * progmodes/js.el (js--macro-decl-re): Doc fix.
16575 (js--plain-method-re, js--split-name): Refloc docstring.
16576 (js--class-styles, js--make-merged-item, js--splice-into-items):
16577 Fix typos in docstrings; reflow docstrings.
16578 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16579 (js--variable-decl-matcher, js--inside-pitem-p)
16580 (js--parse-state-at-point, js--get-all-known-symbols)
16581 (js--symbol-history, js-find-symbol, js--js-references)
16582 (js--moz-interactor, js--js-encode-value, js--read-tab):
16583 Fix typos in docstrings.
16585 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16587 * textmodes/reftex.el (reftex-get-file-buffer-force):
16588 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16589 * emulation/viper.el (viper-go-away, viper-set-hooks):
16590 * emacs-lisp/re-builder.el (re-builder-unload-function):
16591 * emacs-lisp/bytecomp.el (byte-compile-file):
16592 * ses.el (ses-unload-function):
16593 * hexl.el (hexl-find-file):
16594 * files.el (normal-mode):
16595 * ehelp.el (with-electric-help):
16596 * autoinsert.el (auto-insert-alist):
16597 * arc-mode.el (archive-mode):
16598 Use (default-value 'major-mode) instead of default-major-mode.
16600 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16601 * international/mule.el (load-with-code-conversion):
16602 * emacs-lisp/debug.el (debug):
16603 * ediff-vers.el (ediff-rcs-get-output-buffer):
16604 * dired.el (dired-internal-noselect): Don't let-bind
16605 default-major-mode around code that doesn't use it.
16606 E.g. buffer creation via get-buffer-create doesn't use it.
16608 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16610 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16611 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16612 when writing the temp file. Otherwise, epa-file gets confused.
16613 (tramp-register-file-name-handlers): Make it a defun. Move also
16614 `epa-file-handler' to the front of `file-name-handler-alist'.
16616 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16618 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16619 start right after a ^M.
16620 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16621 (tramp-completion-file-name-regexp-separate)
16622 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16623 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16624 Don't modify last-coding-system-used by accident.
16625 (tramp-completion-file-name-handler): Apply the checks here,
16626 instead during registration.
16627 (tramp-register-file-name-handlers): Renamed from
16628 `tramp-register-file-name-handler'. Register both
16629 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16630 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16632 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16634 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16635 Remove variable ...
16636 (gdb-init-1, gdb-display-separate-io-buffer)
16637 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16639 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16640 (gdb-inferior-filter): Use comint-output-filter to stop
16641 echoing and remove ^M characters.
16643 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16645 * emulation/viper-init.el (viper-restore-cursor-type):
16646 * emulation/cua-base.el (cua--update-indications):
16647 Replace default-cursor-type with (default-value 'cursor-type).
16649 * mail/sendmail.el (mail-recover-1):
16650 * international/mule-diag.el (describe-current-coding-system-briefly)
16651 (describe-current-coding-system):
16652 * international/mule-cmds.el (select-safe-coding-system)
16653 (select-message-coding-system)
16654 (set-language-environment-coding-systems, set-locale-environment):
16655 * hexl.el (hexl-insert-multibyte-char):
16656 * dos-w32.el (find-buffer-file-type-coding-system):
16657 * simple.el (what-cursor-position):
16658 Replace uses of default-buffer-file-coding-system
16659 with (default-value 'buffer-file-coding-system).
16661 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16662 Replace uses of default-cursor-in-non-selected-windows
16663 with (default-value 'cursor-in-non-selected-windows).
16664 Use with-current-buffer.
16666 * mail/feedmail.el: Use CL macros.
16667 (feedmail-run-the-queue, feedmail-send-it-immediately):
16668 * dos-w32.el (find-buffer-file-type): Replace uses of
16669 default-buffer-file-type with (default-value 'buffer-file-type).
16671 2009-08-28 Glenn Morris <rgm@gnu.org>
16673 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16674 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16675 Use default-value of major-mode rather than default-major-mode.
16677 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16679 * Makefile.in (update-elcfiles): Report left over elc files.
16681 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16682 expand-file-name and with-current-buffer.
16683 (mail-get-names, mail-directory): Use with-current-buffer.
16685 * vc.el (vc-read-revision): New function.
16686 (vc-version-diff, vc-merge): Use it.
16688 2009-08-27 Sam Steingold <sds@gnu.org>
16690 * simple.el (kill-do-not-save-duplicates): New user option.
16691 (kill-new): When it is non-nil, and the new string is the same as
16692 the latest kill, set replace to t to avoid duplicates in kill-ring.
16694 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16696 * net/tramp.el (tramp-handle-process-file): Do not flush all
16697 caches when `process-file-side-effects' is set.
16698 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16699 instead of `tramp-find-file-exists-command'.
16700 Unset `process-file-side-effects'.
16702 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16704 * net/tramp.el (tramp-methods): New method "rsyncc".
16705 (top): Add completion function for "rsyncc".
16706 (tramp-message-show-message): New defvar.
16707 (tramp-message, tramp-error): Use it.
16708 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16710 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16711 `tramp-methods' entry `copy-env' of "rsyncc".
16712 (tramp-vc-registered-read-file-names): New defconst.
16713 (tramp-vc-registered-file-names): New defvar.
16714 (tramp-handle-vc-registered): Implement optimization strategy.
16715 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16716 (tramp-vc-file-name-handler): New defun.
16717 (tramp-get-ls-command, tramp-get-test-command)
16718 (tramp-get-file-exists-command, tramp-get-remote-ln)
16719 (tramp-get-remote-perl, tramp-get-remote-stat)
16720 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16722 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16723 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16725 (tramp-get-file-property): Check for timestamps in
16726 `tramp-cache-inhibit-cache'.
16727 (tramp-set-file-property): Write timestamp.
16729 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16731 * language/japan-util.el (japanese-symbol-table): Add entries for
16734 * international/characters.el: Add category `j' to cp932-2-byte.
16736 2009-08-27 Kenichi Handa <handa@m17n.org>
16738 * international/fontset.el (build-default-fontset-data): New macro.
16739 (setup-default-fontset): Use build-default-fontset-data for CJK,
16740 tibetan, ethiopic, and ipa.
16742 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16744 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16745 (enable-multibyte-characters): Not customizable any more.
16747 * subr.el (default-mode-line-format, default-header-line-format)
16748 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16749 (default-direction-reversed, default-truncate-lines)
16750 (default-left-margin, default-tab-width, default-case-fold-search)
16751 (default-left-margin-width, default-right-margin-width)
16752 (default-left-fringe-width, default-right-fringe-width)
16753 (default-fringes-outside-margins, default-scroll-bar-width)
16754 (default-vertical-scroll-bar, default-indicate-empty-lines)
16755 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16756 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16757 (default-scroll-down-aggressively, default-fill-column)
16758 (default-cursor-type, default-buffer-file-type)
16759 (default-cursor-in-non-selected-windows)
16760 (default-buffer-file-coding-system, default-major-mode)
16761 (default-enable-multibyte-characters): Mark as obsolete.
16763 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16765 * vc-dir.el (vc-dir-update): Remove debug helper.
16767 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16769 2009-08-26 Sam Steingold <sds@gnu.org>
16771 * simple.el (save-interprogram-paste-before-kill): New user option.
16772 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16773 save the interprogram-paste into kill-ring before overriding it
16774 with the Emacs kill.
16776 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16778 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16779 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16780 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16781 and move to vc-rcs.el.
16782 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16784 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16785 (vc-rcs-update-changelog): Remove.
16786 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16787 and move to vc-rcs.el.
16789 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16790 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16792 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16793 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16794 vc.el, renamed to be RCS specific.
16796 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16798 (vc-cvs-update-changelog): Move here from vc.el.
16800 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16803 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16805 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16807 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16809 * vc-git.el (vc-git-register): Use "git add" for directories.
16810 (vc-git-stash, vc-git-stash-show): New functions.
16811 (vc-git-extra-menu-map): Bind them.
16813 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16814 directory correctly in case the item is a directory itself.
16816 * vc.el: Document the desired behavior for reverted files in the
16818 (vc-default-prettify-state-info): Remove function, unused.
16820 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16822 2009-08-26 Glenn Morris <rgm@gnu.org>
16824 * bindings.el (standard-mode-line-format): Reposition dashes in
16825 which-func entry. (Bug#4217)
16827 * files.el (enable-local-variables, enable-local-eval)
16828 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16830 (auto-mode-alist, ignored-local-variables)
16831 (save-some-buffers-action-alist): Move risky declarations to the
16833 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16834 (font-lock-defaults, format-alist, imenu--index-alist)
16835 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16836 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16837 (mode-line-modified, mode-line-mule-info, mode-line-position)
16838 (mode-line-process, mode-line-remote, outline-level)
16839 (parse-time-rules, rmail-output-file-alist)
16840 (special-display-buffer-names, vc-mode):
16841 Move risky declarations to the relevant files.
16842 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16843 (mode-line-modified, mode-line-process, mode-line-position)
16844 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16845 * font-core.el (font-lock-defaults):
16846 * format.el (format-alist):
16847 * vc-hooks.el (vc-mode):
16848 * window.el (special-display-buffer-names):
16849 * international/mule-cmds.el (input-method-alist):
16850 Define riskiness here (dumped file) rather than in files.el.
16851 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16852 * imenu.el (imenu-generic-expression, imenu--index-alist):
16853 * outline.el (outline-level):
16854 * time.el (display-time-string):
16855 * calendar/parse-time.el (parse-time-rules):
16856 * mail/rmailout.el (rmail-output-file-alist):
16857 Autoload riskiness here, rather than placing in files.el.
16859 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16861 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16863 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16865 * simple.el (process-file-side-effects): New defvar.
16867 * dired-aux.el (dired-show-file-type):
16868 * vc.el (vc-diff-internal):
16869 * vc-arch.el (vc-arch-diff):
16870 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16871 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16872 * vc-git.el (vc-git-registered, vc-git-working-revision)
16873 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16874 (vc-git--empty-db-p):
16875 * vc-hooks.el (vc-user-login-name):
16876 * vc-svn.el (vc-svn-registered, vc-svn-state)
16877 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16878 * progmodes/grep.el (grep-probe): Let-bind
16879 `process-file-side-effects' with nil.
16881 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16883 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16884 daemon. Replace ping by checking for running service for bluez
16885 and zeroconf. (Bug#4239)
16887 2009-08-25 Kevin Ryde <user42@zip.com.au>
16889 * net/dig.el (dig): Add autoload cookie.
16891 2009-08-25 Glenn Morris <rgm@gnu.org>
16893 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16894 load-history for absolute file-names.
16895 (byte-compile-file-form-require): Warn about use of the cl package.
16897 * format.el (format-alist): Doc fix.
16899 * play/bubbles.el (top-level): Don't require cl at run-time.
16901 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16904 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16906 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16908 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16910 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16912 * calc/calc-alg.el (math-trig-rewrite)
16913 (math-hyperbolic-trig-rewrite): New functions.
16914 (calc-simplify): Simplify trig functions when asked.
16916 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16918 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16920 2009-08-24 Kenichi Handa <handa@m17n.org>
16922 * language/ind-util.el (mapthread): Delete it.
16923 (combinatorial): New function.
16924 (indian--puthash-cv): Use combinatorial instead of mapthread.
16926 2009-08-22 Kevin Ryde <user42@zip.com.au>
16928 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16929 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16930 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16931 Clarify docstring that the value is strings not symbols.
16932 (checkdoc-list-of-strings-p): New function.
16934 2009-08-22 Glenn Morris <rgm@gnu.org>
16936 * files.el (auto-mode-alist):
16937 * hippie-exp.el (he-concat-directory-file-name):
16938 * lpr.el (lpr-windows-system, printer-name):
16939 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16940 * ps-print.el (ps-windows-system):
16941 * startup.el (command-line):
16942 * emulation/viper-ex.el (viper-glob-function):
16943 * international/mule-cmds.el (set-language-environment-coding-systems):
16944 * net/ange-ftp.el (ange-ftp-write-region):
16945 * obsolete/fast-lock.el (fast-lock-cache-name):
16946 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16947 unisoft-unix, vax-vms, win32, w32.
16949 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16950 given name if the pattern is not more specific.
16952 * calendar/lunar.el (lunar-phase-names): New option.
16953 (lunar-phase): Doc fix.
16954 (lunar-cycles-per-year): New constant.
16955 (lunar-index): New function.
16956 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16957 (lunar-phase-name): Use lunar-phase-names.
16958 (calendar-lunar-phases): Use format.
16959 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16961 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16962 Copy imenu-example--name-and-position function here for own use.
16963 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16965 * bs.el (bs--redisplay):
16966 * cus-edit.el (custom-redraw):
16967 * ibuffer.el (ibuffer-bury-buffer):
16968 * server.el (server-goto-line-column):
16969 * startup.el (command-line-1):
16970 * strokes.el (strokes-xpm-for-stroke):
16971 * term.el (term-display-buffer-line):
16972 * view.el (View-goto-line):
16973 * calc/calc.el (calc-do, calc-trail-buffer):
16974 * play/gamegrid.el (gamegrid-add-score-insecure):
16975 * progmodes/ada-mode.el (ada-compile-goto-error):
16976 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16977 (ebrowse-select-1st-to-9nth):
16978 * progmodes/cperl-mode.el (cperl-time-fontification):
16979 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16980 * progmodes/gud.el (gud-display-line):
16981 (idlwave-shell-display-line):
16982 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16983 * progmodes/make-mode.el (makefile-browser-toggle):
16984 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16985 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16986 * textmodes/picture.el (picture-draw-rectangle):
16987 * textmodes/reftex-index.el (reftex-index-goto-letter):
16988 (reftex-select-jump-to-previous):
16989 * textmodes/reftex-sel.el (reftex-find-start-point)
16990 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16991 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16992 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16993 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16994 * textmodes/two-column.el (2C-associated-buffer):
16995 Use forward-line rather than goto-line.
16997 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17000 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17001 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17002 (quick-check-list-to-regexp): Declare.
17004 * progmodes/make-mode.el (makefile-browser-insert-selection):
17005 Use goto-char rather than goto-line.
17007 * progmodes/prolog.el (compilation-error-regexp-alist)
17008 (compilation-forget-errors): Declare.
17010 2009-08-22 Juri Linkov <juri@jurta.org>
17012 * progmodes/grep.el (lgrep, rgrep): At the beginning
17013 set `dir' to `default-directory' unless `dir' is a non-nil
17014 readable directory. (Bug#4052)
17015 (lgrep, rgrep): Change a weird way to report an error
17016 from using `read-string' to using `error'.
17017 Instead of using interactive arguments in the function body,
17018 add new argument `confirm'.
17020 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17022 * textmodes/remember.el (remember-buffer):
17023 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17024 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17025 (icalendar-extract-ical-from-buffer):
17026 * net/newst-treeview.el (newsticker-groups-filename):
17027 * net/newst-backend.el (newsticker-cache-filename):
17028 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17029 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17030 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17031 (speedbar-buffers-line-path, speedbar-path-line)
17032 (speedbar-buffers-line-path):
17033 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17035 * epa.el (epa-display-verify-result):
17036 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17038 2009-08-21 Glenn Morris <rgm@gnu.org>
17040 * progmodes/js.el (inferior-moz-process): Fix declaration.
17042 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17044 * obsolete/rnewspost.el (news-mail-reply):
17045 Use goto-char rather than goto-line.
17047 * term/ns-win.el (ns-open-file-select-line):
17048 Use line-beginning-position rather than goto-line.
17050 * apropos.el (apropos-command):
17051 * ehelp.el (electric-helpify):
17052 * printing.el (pr-show-setup):
17053 * strokes.el (strokes-help):
17054 * tutorial.el (tutorial--describe-nonstandard-key)
17055 (tutorial--detailed-help):
17056 * woman.el (woman-mini-help, woman-display-extended-fonts):
17057 * calc/calc-help.el (calc-describe-key):
17058 * emulation/edt.el (edt-electric-helpify):
17059 * international/mule-diag.el (mule-diag):
17060 * play/yow.el (apropos-zippy):
17061 * progmodes/python.el (python-describe-symbol):
17062 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17063 * textmodes/table.el (*table--cell-describe-mode)
17064 (*table--cell-describe-bindings):
17065 Use help-print-return-message rather than the now obsolete alias.
17067 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17068 (calendar-cursor-to-visible-date):
17069 * play/5x5.el (5x5-position-cursor):
17070 * play/decipher.el (decipher):
17071 * play/gomoku.el (gomoku-goto-xy):
17072 * play/landmark.el (lm-goto-xy):
17073 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17074 (mpuz-paint-digit):
17075 Use forward-line, not goto-line.
17077 * mail/rmail.el (rmail-obsolete): Delete custom group.
17078 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17079 (rmail-remote-password, rmail-remote-password-required):
17080 Remove unneeded :set-after and :set properties.
17082 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17084 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17086 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17088 * loadup.el: Remove leftover macos code.
17090 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17091 Explicitly pass the date format to git blame so that user local
17092 so that the output format can be parsed.
17094 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17096 * net/dbus.el (top): Don't check for (getenv
17097 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17099 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17101 * log-edit.el (log-edit-strip-single-file-name): New var.
17102 (log-edit-insert-changelog): Use it. Bug#3571
17104 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17109 * help.el (help-print-return-message): Rename from
17110 print-help-return-message.
17112 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17113 cvs-mode-map parent hack.
17114 (log-view-mode): Derive from special-mode.
17116 * linum.el (linum-mode): window-size-change-functions is redundant.
17117 Adapt to new window-configuration-change-hook behavior.
17118 (linum-after-size, linum-after-config): Remove.
17120 * imenu.el (imenu-example--name-and-position)
17121 (imenu-example--lisp-extract-index-name)
17122 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17125 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17126 (inferior-prolog-mode): Use it.
17127 (inferior-prolog-load-file): Reset list of errors.
17129 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17131 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17133 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17135 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17137 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17138 is running already.
17140 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17142 * subr.el (listify-key-sequence-1): Use normal syntax since those
17143 integers are nowadays always represented by the same (positive) number
17145 (read-key-empty-map): New const.
17146 (read-key-delay): New var.
17147 (read-key): New function.
17148 (force-mode-line-update): Use with-current-buffer.
17149 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17150 (start-process-shell-command, start-file-process-shell-command):
17151 Discourage the use of command-args.
17153 2009-08-19 Glenn Morris <rgm@gnu.org>
17155 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17157 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17159 * simple.el (choose-completion-string): Don't rely on
17160 minibuffer-completing-file-name and ad-hoc checks to decide whether
17161 to continue completion or not.
17163 * minibuffer.el (minibuffer-hide-completions): New function.
17164 (completion--do-completion): Use it.
17165 (completions-annotations): New face.
17166 (completion--insert-strings): Use it.
17167 (completion-pcm--delim-wild-regex): Add docstring.
17168 (completion-pcm--string->pattern): Add support for 0-width delimiters
17169 in completion-pcm--delim-wild-regex.
17171 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17173 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17174 Remove unused var `buffer-modified-p'.
17176 * minibuffer.el (completion--do-completion): Move point for the #b001
17177 case as well (bug#4176).
17178 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17180 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17182 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17183 and :session buses.
17185 2009-08-18 Kenichi Handa <handa@m17n.org>
17187 * international/ucs-normalize.el (ucs-normalize-version):
17189 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17190 (utf-8-hfs): Make it perform normalization on encoding too.
17192 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17193 (sentence-end-without-space): Delete duplicated chars.
17194 (sentence-end-base): Likewise.
17196 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17197 (html-mode): Delete duplicated chars from sentence-end-base.
17199 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17200 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17202 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17204 * files.el (hack-one-local-variable): If the mode function is for
17205 a minor mode, pass it an argument (Bug#4148).
17207 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17209 * net/tramp.el (tramp-register-completion-file-name-handler):
17210 Check also for (member 'partial-completion completion-styles).
17212 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17214 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17217 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17219 * progmodes/cperl-mode.el: Merge upstream 6.2.
17220 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17221 (cperl-forward-re): Check cperl-brace-recursing.
17222 (cperl-highlight-charclass): New function.
17223 (cperl-find-pods-heres): Use it.
17224 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17225 (cperl-beautify-regexp-piece): Fix column calculation.
17226 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17227 (cperl-beautify-level): Don't process entire regexp.
17228 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17230 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17231 (cperl-init-faces): Build a list in the normal way.
17233 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17235 * calendar/parse-time.el (parse-time-string-chars): Save match
17238 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17240 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17241 (sql-product): Use it.
17242 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17243 (sql-set-product): Add completion.
17244 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17245 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17246 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17247 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17248 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17249 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17250 (sql-highlight-db2-keywords): Remove.
17251 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17252 (sql-highlight-product): Use derived-mode-p.
17253 (sql-set-sqli-buffer): Use with-current-buffer.
17254 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17257 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17259 * term.el: Fix commenting convention, turn comments into docstrings.
17261 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17263 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17265 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17267 * calendar/parse-time.el (parse-time-string-chars): Compute using
17268 character classes, to handle non-ascii characters (Bug#3190).
17270 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17272 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17273 another heredoc if the user adds another < (Bug#3226).
17275 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17276 Don't initialize based on window-system (Bug#4124).
17278 * facemenu.el (facemenu-read-color): Use a completion function
17279 that accepts any defined color, such as RGB triplets (Bug#3677).
17281 * files.el (get-free-disk-space): Change fallback default
17282 directory to /. Expand DIR argument before switching to fallback.
17283 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17285 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17287 * files.el (load-library): Doc fix.
17289 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17291 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17292 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17293 incremental search string.
17295 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17298 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17299 (ediff-merge-region-is-non-clash)
17300 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17301 Also check if the job is really a merge job.
17303 * ediff.el (ediff-current-file): New function.
17305 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17307 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17309 (js-insert-and-indent): Delete function.
17310 (js-mode-map): Don't bind keys to js-insert-and-indent.
17311 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17312 (js-end-of-defun): Rename from js--end-of-defun.
17313 (js-auto-indent-flag): Delete variable.
17315 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17317 * progmodes/js.el: Remove proclaim statement.
17318 Defvar which-func-imenu-joiner-function to silence compiler.
17320 * files.el (auto-mode-alist): Use js-mode for .js files.
17322 * progmodes/js2-mode.el: Remove file.
17324 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17326 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17328 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17330 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17331 Karl Landstrom <karl.landstrom@brgeight.se>
17333 * progmodes/js.el: New file.
17335 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17337 * timezone.el (timezone-parse-date): Add ability to understand ISO
17338 basic format (minimal separators) dates in addition to the
17339 already-supported extended format dates.
17341 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17343 * international/ucs-normalize.el: Add a `coding' file variable.
17345 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17347 2009-08-14 Sam Steingold <sds@gnu.org>
17349 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17351 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17353 * faces.el (help-argument-name): Define it here instead of
17354 help-fns.el, because in daemon mode help-fns.el may be loaded when
17355 faces are still uninitialized (Bug#1078).
17357 * help-fns.el (help-argument-name): Move defface to faces.el.
17359 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17361 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17362 create buffer with a pty but no process so that GDB can make the
17363 inferior the controlling process.
17365 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17367 * international/ucs-normalize.el: New file.
17369 2009-08-13 Richard Stallman <rms@gnu.org>
17371 * mail/rmail.el (rmail-get-attr-names):
17372 Accept an attribute header that is too short.
17374 * mail/rmail.el (rmail-forget-messages):
17375 Ignore nil elt in rmail-message-vector. Use dotimes.
17377 * progmodes/compile.el (compilation-goto-locus):
17378 Use next-error-move-function.
17380 * simple.el (next-error-move-function): New variable.
17382 2009-08-12 Juri Linkov <juri@jurta.org>
17384 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17385 always non-nil. (Bug#4052)
17387 * replace.el (read-regexp): Return empty string when
17388 `default-value' is nil.
17389 (keep-lines-read-args): Don't use empty string as the
17390 default value for `read-regexp'. (Bug#2495)
17392 2009-08-12 Juri Linkov <juri@jurta.org>
17394 * international/mule-cmds.el (ucs-insert): Change arguments
17395 from `arg' to `character', `count', `inherit' to be the same
17396 as in `insert-char'. Doc fix. (Bug#4039)
17398 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17400 2009-08-12 Juri Linkov <juri@jurta.org>
17402 * files-x.el: New file.
17404 * files.el: Move code that deals with adding/deleting
17405 file/directory-local variables to files-x.el.
17407 * Makefile.in (ELCFILES): Add files-x.elc.
17409 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17411 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17412 to use `goto-line'.
17413 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17415 (gdb-invalidate-disassembly): Do not refresh upon receiving
17416 'update signal. Instead, update all disassembly buffers only after
17418 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17419 (gdb-starting): Moved -data-list-register-names...
17420 (gdb-stopped): ...here so it's sent when first thread stops.
17421 (gdb-registers-handler-custom): Do nothing if register names are
17424 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17425 from `gdb-mi.el' to avoid extra tangling.
17427 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17428 change which breaks `gud-def' definitions used in `gdb'.
17429 (gdb-update-gud-running): No extra fuss for updating frame number.
17431 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17433 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17434 (describe-language-environment-map, setup-language-environment-map)
17435 (set-coding-system-map): Move initialization into declaration.
17436 (set-language-info-alist): Last arg to define-key-after can be skipped.
17438 * international/quail.el (quail-completion-1): Simplify.
17439 (quail-define-rules): Use slightly more compact code.
17440 (quail-insert-decode-map): Propertize keys, compact columns.
17442 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17445 2009-08-10 Miles Bader <miles@gnu.org>
17447 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17448 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17449 (js2-instance-member, js2-private-member, js2-private-function-call)
17450 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17451 (js2-magic-paren, js2-external-variable):
17452 Remove "-face" suffix from face names.
17453 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17454 (js2-highlight-undeclared-vars, js2-peek-token)
17455 (js2-parse-function-params, js2-mode-show-errors)
17456 (js2-mode-show-warnings, js2-make-magic-delimiter)
17457 (js2-mode-highlight-magic-parens): Update to use new face names.
17459 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17461 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17462 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17464 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17466 * subr.el: Provide hashtable-print-readable.
17468 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17469 hs-c-like-adjust-block-beginning.
17470 (hs-hide-block-at-point): Stop hiding at the beginning of
17471 hs-block-end-regexp (Bug#700).
17473 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17475 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17477 (gdb-registers-handler-custom): Do not fail when register names
17480 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17482 * progmodes/gdb-mi.el (gdb-control-all-threads)
17483 (gdb-control-current-thread): Interactive setters for
17484 `gdb-gud-control-all-threads' to use in menu.
17485 (gdb-show-run-p): Show «Go» when process is not active.
17486 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
17487 gud/thread.xpm and gud/all.xpm.
17489 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17491 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17492 (nslookup-font-lock-keywords): Make it a variable.
17493 (net-utils-mode): New mode for viewing diagnostic network output.
17494 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17495 (net-utils-run-simple): New function.
17496 (ifconfig, iwconfig, netstat, arp, route): Use it.
17498 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17500 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17501 (gdb-memory-set-address, def-gdb-set-positive-number)
17502 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17503 after changing settings.
17504 (gdb-invalidate-disassembly): Update when first shown.
17505 (gdb-edit-locals-value): Fixed.
17506 (gdb-registers-handler-custom): Print registers in right order and
17507 allow changing register values (only for current thread yet).
17508 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17509 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17510 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17511 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17513 (gdb-registers-mode-map): TAB to switch to locals.
17515 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17517 * mail/rmail.el (rmail-add-mbox-headers)
17518 (rmail-set-message-counters-counter): Search for
17519 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17521 2009-08-08 Glenn Morris <rgm@gnu.org>
17523 * Makefile.in (ELCFILES): Update.
17525 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17527 * mail/sendmail.el (mail-yank-original): Set
17528 buffer-file-coding-system from the one used by the message whose
17531 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17532 to "windows" when "pgnuplot" is used.
17533 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17534 call accept-process-output if "pgnuplot" is used.
17535 (calc-graph-init): Don't send -display and -geometry to
17536 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17537 running "pgnuplot -V" with shell-command-to-string.
17539 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17542 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17544 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17547 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17549 * vc-dispatcher.el (vc-resynch-window): Update comment.
17551 * term.el (term-handle-ansi-escape): Add comments with the
17552 terminfo capabilities implemented.
17554 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17556 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17557 (gdb-var-create-handler): Rewritten using JSON parser.
17558 (gdb-propertize-header): Moved earlier.
17559 (gdb-set-header): Removed to avoid duplication.
17560 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17561 Refresh disassembly buffers only after threads list have been
17563 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17566 2009-08-04 Juri Linkov <juri@jurta.org>
17568 * files.el: Commands to add/delete file/directory-local variables.
17569 (read-file-local-variable, read-file-local-variable-value)
17570 (read-file-local-variable-mode, modify-file-local-variable)
17571 (modify-file-local-variable-prop-line)
17572 (modify-dir-local-variable): New functions.
17573 (add-file-local-variable, delete-file-local-variable)
17574 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17575 (add-dir-local-variable, delete-dir-local-variable)
17576 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17577 (copy-dir-locals-to-file-locals-prop-line): New commands.
17579 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17581 * abbrev.el (insert-abbrev-table-description): Prettify output.
17582 Suggested by Karl Chen.
17584 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17586 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17587 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17588 (gdb-overlay-arrow-position, gdb-thread-position)
17589 (gdb-disassembly-position): Declare variables.
17590 (gdb-wait-for-pending): Function now.
17591 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17592 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17593 compilation goes smoothly.
17594 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17595 (gdb-non-stop-setting): New customization setting which replaces
17596 `gdb-non-stop' so changing it doesn't break active GDB session.
17597 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17598 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17599 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17600 (gdb-show-threads-by-default): New customization options.
17601 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17603 (gdb-get-buffer-create): Send buffers update signal when they are
17605 (gdb-invalidate-locals, gdb-invalidate-registers)
17606 (gdb-invalidate-breakpoints)
17607 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17608 (gdb-invalidate-memory): Accept update signal.
17609 (gdb-current-context-command): Use --frame option.
17610 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17611 Implement `gdb-frame-number' selection logic.
17612 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17613 whether to show GUD toolbar buttons.
17614 (gdb-thread-exited): Unselect current thread when it exits.
17615 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17616 (gdb-mark-line): Routine which sets overlay arrow or inverses
17617 video on fringeless displays.
17618 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17619 to build aligned columns of data in GDB buffers and set text
17620 properties line-by-line.
17621 (gdb-invalidate-breakpoints)
17622 (gdb-breakpoints-list-handler-custom)
17623 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17624 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17625 (gdb-registers-handler-custom): Align data columns.
17626 (gdb-locals-handler-custom): Now prints data like in variable
17628 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17629 Removed confusing buttons.
17630 (gdb-invalidate-threads): Append --frame.
17631 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17632 between breakpoints/threads buffers.
17633 (gdb-set-window-buffer): Now can ignore dedicated windows.
17634 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17635 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17636 (def-gdb-thread-buffer-gud-command): Replaces
17637 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17638 for fine thread control.
17639 (gdb-preempt-existing-or-display-buffer): New function used to
17640 display bound buffers without breaking window layout.
17641 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17642 (gdb-select-frame): New version of `gdb-frames-select' which now
17643 sets `gdb-frame-number' so commands may use --frame option instead
17644 of inner debugger state.
17645 (gdb-frame-handler): Do not set `gdb-frame-number'.
17646 (gdb-threads-mode-map): Select threads with mouse.
17648 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17649 avoid compilation warning.
17650 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17653 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17654 Argument `key' renamed to `buffer-type'.
17655 (gdb-current-context-buffer-name): Do not add thread info to
17656 buffer name when no thread is selected.
17657 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17658 command (bug 3794).
17659 (gdb-thread-selected): Handle `=thread-selected' notification.
17660 (gdb-wait-for-pending): New macro to deal with congestion problems.
17661 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17663 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17664 This fixes problem similar to one described in bug 3947.
17665 (gud-menu-map): More menu items.
17666 (gdb-init-1): Reset `gdb-thread-number' to nil.
17668 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17671 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17672 (gdb-current-context-command): Do not append --thread if
17673 `gdb-thread-number' is nil.
17674 (gdb-running-threads-count, gdb-stopped-threads-count): New
17676 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17677 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17678 customization options.
17679 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17681 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17682 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17683 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17684 set `gdb-thread-number' and update `gud-running' properly.
17685 (gdb-running): Update threads list when new threads appear.
17686 (gdb-stopped): Support non-stop operation and new thread switching
17688 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17689 (gdb-json-partial-output): New set of JSON routines.
17690 (def-gdb-auto-update-trigger): New `signal-list' optional
17692 (gdb-thread-list-handler-custom): Update `gud-running',
17693 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17694 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17695 (gdb-continue-thread, gdb-step-thread): New commands for fine
17696 thread execution control.
17697 (gud-menu-map): New menu items to switch non-stop options.
17698 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17699 (gdb-send): Mimic RET properly (bug 3794).
17701 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17702 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17704 (def-gdb-auto-update-handler): New nopreserve optional argument.
17705 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17707 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17708 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17709 (gdb-parent-mode): New mode to derive other GDB modes from.
17710 (gdb-display-disassembly-for-thread)
17711 (gdb-frame-disassembly-for-thread): New commands for threads
17714 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17715 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17716 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17717 (gdb-update): We now store all GDB buffers in a list so that they
17718 can be updated by traversing a list instead of calling invalidate
17719 triggers explicitly.
17720 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17721 pair for GDB buffer.
17722 (gdb-stack-buffer-name): Add thread information.
17723 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17724 handle pending triggers.
17725 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17726 (def-gdb-thread-buffer-simple-command)
17727 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17728 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17729 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17730 New commands which show buffers bound to thread.
17731 (gdb-stack-list-locals-regexp): Removed unused regexp.
17733 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17734 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17735 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17736 to (gud-comint-buffer) in *-buffer-name functions
17737 because (gdb-get-target-string) already does that.
17738 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17739 (gdb-changed-registers-handler): Rewritten without regexps.
17741 * progmodes/gdb-mi.el: Basic thread selection support.
17742 (gdb-thread-number): New variable.
17743 (gdb-current-context-command): New macro which adds --thread
17745 (gdb-threads-mode-map): Select thread with SPC.
17746 (gdb-thread-list-handler-custom): Mark current thread with overlay
17747 arrow. Synchronize GDB thread and Emacs thread.
17748 (gdb-select-thread): New command which selects current thread.
17749 (gdb-invalidate-frames, gdb-invalidate-locals)
17750 (gdb-invalidate-registers): Use --thread option.
17752 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17754 * net/tramp.el (top): Make check for tramp-gvfs loading more
17756 (tramp-handle-insert-file-contents): `unwind-protect' must be
17757 inside `with-parsed-tramp-file-name'.
17759 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17762 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17764 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17765 directory if CLASSPATH is not set.
17767 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17769 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17771 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17773 2009-08-02 Kevin Ryde <user42@zip.com.au>
17775 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17776 Update freshmeat link. Delete newsforge.com as it seems gone.
17778 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17780 * select.el (x-set-selection): Doc fix (Bug#4021).
17782 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17784 * help-fns.el (describe-variable): Treat list return values from
17785 dir-locals-find-file properly (Bug#4005).
17787 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17789 * net/tramp.el (tramp-debug-message): Print also microseconds.
17791 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17793 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17795 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17796 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17799 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17800 (tramp-get-file-property): Use it.
17802 * autorevert.el (auto-revert-handler): Allow
17803 `auto-revert-tail-mode' for remote files.
17805 2009-08-02 Jason Rumney <jasonr@gnu.org>
17807 * minibuffer.el (read-file-name): Treat confirm options to
17808 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17810 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17812 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17813 (font-lock-variable-name-face, font-lock-constant-face): Darken
17814 the colors for light backgrounds.
17816 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17818 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17819 month names. (Bug#3987)
17821 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17823 * simple.el (line-move-finish): Pass whole number to
17824 line-move-to-column.
17825 (line-move-visual): Perform hscroll to the recorded position.
17827 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17829 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17831 2009-07-29 Alan Mackenzie <acm@muc.de>
17833 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17835 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17837 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17838 (gdb-place-breakpoints): Use full path when setting breakpoints.
17840 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17842 * calc/calc.el (calc-mode-map): Add keybinding for
17843 `calc-transpose-lines'.
17845 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17847 * calc/calc-misc.el (calc-transpose-lines): New function.
17849 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17851 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17852 Simplify check for out-of-band methods.
17853 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17854 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17856 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17858 * vc-git.el (vc-git-checkin): Fix typo.
17860 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17862 * progmodes/js2-mode.el: New file.
17864 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17866 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17867 (gud-menu-map): Adjust tooltip accordingly.
17869 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17871 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17872 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17874 * add-log.el (change-log-mode-map): Add a menu.
17876 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17878 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17879 function returns nil.
17880 (dbus-handle-event): Handle special return value :ignore.
17881 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17883 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17885 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17888 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17892 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17894 * term/pc-win.el (x-display-name, x-colors)
17895 (x-select-enable-clipboard, x-select-text): Doc fix.
17897 * term/common-win.el (x-display-name, x-colors): Doc fix.
17899 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17900 (xw-defined-colors): Doc fix.
17902 * w32-fns.el (x-select-text, x-setup-function-keys)
17903 (x-get-selection, x-set-selection): Doc fix.
17905 * term/x-win.el (x-select-text, x-setup-function-keys)
17906 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17908 * select.el (x-set-selection): Doc fix.
17910 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17912 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17913 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17914 "IsNSSSupportAvailable" method is not available. Reported by
17915 Steve Youngs <steve@sxemacs.org>.
17917 2009-07-24 Kenichi Handa <handa@m17n.org>
17919 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17920 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17921 (build-unicode-category-table): Fix range checks.
17923 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17925 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17926 the buffer we try to sync is current when calling
17929 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17930 not show up to date files.
17932 2009-07-24 Glenn Morris <rgm@gnu.org>
17934 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17935 Add autoload cookies. If necessary, initialize.
17936 (elint-log): Handle non-file buffers.
17937 (elint-initialize): Add optional argument to reinitialize.
17938 (elint-find-builtin-variables): Save excursion.
17940 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17942 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17945 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17947 * vc.el (vc-print-log-internal): New function, split out from ...
17948 (vc-print-log): ... here.
17949 (vc-dir-move-to-goal-column): Declare.
17951 * vc-git.el (vc-git-add-signoff): New variable.
17952 (vc-git-checkin): Use it.
17953 (vc-git-toggle-signoff): New function.
17954 (vc-git-extra-menu-map): Bind it to menu.
17955 (vc-git--run-command-string): Accept a nil FILE argument.
17956 (vc-git-stash-list): New function.
17957 (vc-git-dir-extra-headers): Use it.
17959 2009-07-23 Glenn Morris <rgm@gnu.org>
17961 * help-fns.el (describe-variable): Describe ignored and risky local
17962 variables in a similar way to that in which we describe safe ones.
17964 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17965 (byte-compile-output-file-form, byte-compile-output-docform)
17966 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17967 Give some more local variables with common names a "bytecomp-" prefix,
17968 so as not to shadow things during compilation.
17969 * emacs-lisp/cl-macs.el (load-time-value)
17970 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17971 `outbuffer' to `bytecomp-outbuffer'.
17973 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17974 since the next two variables cover them automatically now.
17975 (elint-builtin-variables, elint-autoloaded-variables): New.
17976 (elint-unknown-builtin-args): Remove all members, since they can be
17977 parsed automatically now.
17978 (elint-extra-errors): New.
17979 (elint-env-add-env, elint-env-add-macro): Use cadr.
17980 (elint-current-buffer): Use or. Change final message.
17981 (elint-get-top-forms): Use line-end-position.
17982 (elint-init-env): Use cadr. Handle autoload, declare-function,
17984 (elint-add-required-env): Doc fix. Use or. Standardize error.
17985 (regexp-assoc): Remove unused function.
17986 (elint-top-form): Set elint-current-pos, to record the start of the
17987 top-level form, for compilation-mode.
17988 (elint-form): Trap errors in macro expansion. Use dolist.
17989 (elint-unbound-variable): Use elint-builtin-variables and
17990 elint-autoloaded-variables.
17991 (elint-get-args): Use cadr, or.
17992 (elint-check-cond-form): Use dolist, cadr.
17993 (elint-check-condition-case-form): Doc fix. Use cadr.
17994 Use elint-extra-errors.
17995 (elint-log): New function.
17996 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17997 Distinguish errors and warnings.
17998 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17999 Use a bytecomp-style format.
18000 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18001 (elint-get-log-buffer): Use compilation mode. Disable undo.
18002 Don't truncate lines.
18003 (elint-initialize): Set builtin and autoloaded variable lists.
18004 Only process elint-unknown-builtin-args if non-nil.
18005 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18007 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18009 2009-07-22 Kevin Ryde <user42@zip.com.au>
18011 * net/newst-backend.el (newsticker--parse-atom-1.0)
18012 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18013 (newsticker--parse-rss-1.0):
18014 * progmodes/idlwave.el (idlwave-mode):
18015 * progmodes/idlw-shell.el (idlwave-shell-mode):
18016 * progmodes/vera-mode.el (vera-mode):
18017 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18018 * progmodes/vhdl-mode.el (vhdl-mode):
18019 * textmodes/table.el (table-generate-source)
18020 (table--warn-incompatibility):
18021 Hyperlink urls in docstrings with URL `...'.
18023 2009-07-22 Glenn Morris <rgm@gnu.org>
18025 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18026 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18027 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18028 Remove leading * from defcustom docs.
18030 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18032 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18034 (list-load-path-shadows): Optionally, just return shadows as a string.
18036 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18038 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18040 * mail/rmailedit.el (rmail-edit-mode): Use
18041 auto-save-include-big-deletions.
18043 * mail/rmail.el (rmail-variables): Use
18044 auto-save-include-big-deletions.
18046 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18049 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18051 * calc/calc.el (calc-undo-length): New variable.
18052 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18054 2009-07-21 Richard Stallman <rms@gnu.org>
18056 * files.el (auto-save-mode): Handle buffer-save-size = -2
18059 2009-07-21 Glenn Morris <rgm@gnu.org>
18061 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18063 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18065 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18066 silence compiler. Instead...
18067 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18068 (ps-print-ensure-fontified): Update for above function name changes.
18070 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18071 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18072 silence compiler. Instead...
18073 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18074 (mh-show-buffer): Only define for compiler.
18075 (pr-mh-current-message): Update for above function name changes.
18077 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18079 (find-file-noselect, insert-file-1): Update for above change.
18081 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18083 * mail/mailclient.el (mailclient-send-it): Fix message.
18085 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18086 (edebug-eval): Check cl-debug-env is bound.
18087 (print-level, print-circle): Don't redefine built-in variables.
18089 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18090 (custom-print-vectors): Remove old comments from doc.
18092 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18093 (emerge-version): Make the variable an obsolete alias for the
18094 emacs-version variable. Make the function obsolete.
18095 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18096 Emerge options, rather than merging in into the main Options menu.
18097 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18098 and auto advance modes. Disable edit/fast items when not relevant.
18100 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18102 * term/vt420.el (terminal-init-vt420): Fix typo.
18104 2009-07-20 Sam Steingold <sds@gnu.org>
18106 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18107 variable (removed from compile.el on 2004-03-11).
18109 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18111 * files.el (hack-local-variables-filter): Fix last change.
18113 2009-07-19 Juri Linkov <juri@jurta.org>
18115 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18116 (dir-local-variables-alist): New buffer-local variable.
18117 (hack-local-variables-filter): If variable is not dir-local,
18118 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18119 because file-local overrides dir-local.
18120 (c-postprocess-file-styles) <declare-function>:
18121 Remove obsolete declaration.
18122 (hack-dir-local-variables): Add dir-local variable/value pair to
18123 `dir-local-variables-alist' and remove duplicates. Doc fix.
18125 * help-fns.el (describe-variable): Add information about
18126 file-local and dir-local variables.
18128 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18130 * files.el (hack-local-variables-filter): Rewrite.
18132 2009-07-19 Glenn Morris <rgm@gnu.org>
18134 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18135 Silence compiler by only defining on XEmacs.
18137 * international/mule.el (auto-coding-regexp-alist): Only match
18138 BABYL... at the start of buffer, not of lines. (Bug#3790)
18140 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18141 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18142 (cal-menu-context-mouse-menu): Doc fix.
18144 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18146 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18148 2009-07-18 Juri Linkov <juri@jurta.org>
18150 * info.el: Virtual Info keyword finder.
18151 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18152 (Info-finder-file): New variable.
18153 (Info-finder-find-file): New function.
18154 (finder-known-keywords, finder-package-info)
18155 (find-library-name, lm-commentary): Use defvar and
18156 declare-function to silence compiler warnings.
18157 (Info-finder-find-node): New function.
18158 (info-finder): New command.
18160 * subr.el (process-kill-buffer-query-function): New function.
18161 (add-hook)<kill-buffer-query-functions>: Add hook
18162 `process-kill-buffer-query-function'.
18164 2009-07-18 Alan Mackenzie <acm@muc.de>
18166 * progmodes/cc-mode.el (c-before-hack-hook)
18167 (c-postprocess-file-styles): Give invocation of `c-set-style'
18168 DONT-OVERRIDE parameter of t. Already set style variables will
18169 thus not be overridden by style settings given by `c-file-syle'.
18171 * files.el (hack-local-variables-filter): Remove entries with
18172 duplicate keys from `file-local-variables-alist'.
18174 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18176 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18177 x-set-selection if display-selections-p returns nil for the
18180 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18182 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18184 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18186 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18187 Accept nil in addition to a regexp.
18188 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18189 Accept nil in addition to a regexp.
18190 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18191 buffers that have an associated file. Handle nil values of
18192 desktop-buffers-not-to-save and desktop-files-not-to-save.
18195 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18196 (x-disown-selection-internal): New functions.
18198 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18200 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18202 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18203 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18205 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18207 * simple.el (set-mark): Revert last change.
18209 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18211 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18212 rendering of pngs is not possible instead of messaging a long
18215 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18217 * w32-fns.el (x-selection-owner-p): New function.
18219 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18220 (mouse-yank-at-click, mouse-yank-primary): If
18221 select-active-regions is non-nil, deactivate the mark before
18224 * simple.el (deactivate-mark, set-mark): Only save selection if we
18227 2009-07-17 Kenichi Handa <handa@m17n.org>
18229 * case-table.el (describe-buffer-case-table): Fix for the case
18230 that KEY is a cons.
18232 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18234 * vc-rcs.el (vc-rcs-find-file-hook):
18235 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18237 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18239 * net/tramp.el (tramp-wait-for-output): Handle the case when
18240 commands do not return a newline but a null byte before the shell
18243 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18245 * term/ns-win.el (ns-set-alpha): Don't declare.
18246 (ns-set-background-alpha): Remove function.
18248 2009-07-16 Kevin Ryde <user42@zip.com.au>
18250 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18251 y-or-n-p, for safety.
18253 2009-07-16 Richard Stallman <rms@gnu.org>
18255 * files.el (auto-save-mode): If buffer-saved-size is -2,
18258 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18259 (rmail-retry-ignored-headers): Add more uninteresting fields.
18261 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18263 * net/rcirc.el (rcirc): Use history variables.
18264 (rcirc-server-name-history, rcirc-nick-name-history)
18265 (rcirc-server-port-history): New variables.
18267 2009-07-15 Kenichi Handa <handa@m17n.org>
18269 * international/mule-cmds.el (set-language-environment-charset):
18270 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18273 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18274 Delete unibyte-display.
18276 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18278 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18280 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18282 * simple.el (deactivate-mark): Optional argument FORCE.
18283 (set-mark): Use deactivate-mark.
18285 * info.el (Info-search): No need to check transient-mark-mode
18286 before calling deactivate-mark.
18288 * select.el (x-set-selection): Doc fix.
18289 (x-valid-simple-selection-p): Allow buffer values.
18290 (xselect--selection-bounds): Handle buffer values. Suggested by
18291 David De La Harpe Golden.
18293 * mouse.el (mouse-set-region, mouse-drag-track): Call
18294 copy-region-as-kill before setting the mark, to let
18295 select-active-regions work.
18297 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18299 * simple.el (deactivate-mark): If select-active-regions is
18300 non-nil, copy the selection data into a string.
18301 (activate-mark): If select-active-regions is non-nil, set the
18302 selection to the current buffer.
18303 (set-mark): Update selection if select-active-regions is non-nil.
18305 * select.el (x-valid-simple-selection-p): Allow buffer values.
18307 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18309 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18310 and more featureful message-mode.
18312 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18314 * select.el (x-set-selection): Doc fix.
18315 (x-valid-simple-selection-p): Disallow selection data consisting
18316 of a list or cons of integers, since that is not used.
18317 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18318 (xselect-convert-to-string, xselect-convert-to-length)
18319 (xselect-convert-to-filename, xselect-convert-to-charpos)
18320 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18322 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18324 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18325 output in -break-info command (Emacs bug #3794).
18327 2009-07-14 Glenn Morris <rgm@gnu.org>
18329 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18330 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18331 (edebug-print-length, edebug-print-level, edebug-print-circle)
18332 (edebug-sit-for-seconds, edebug-view-outside)
18333 (edebug-bounce-point, edebug-set-global-break-condition)
18334 (edebug-Go-nonstop-mode, edebug-trace-mode)
18335 (edebug-Trace-fast-mode, edebug-continue-mode)
18336 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18337 (edebug-visit-eval-list): Doc fixes.
18339 * subr.el (def-edebug-spec): Doc fix.
18341 2009-07-14 Kenichi Handa <handa@m17n.org>
18343 * international/characters.el: Fix setting of category ?C.
18345 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18347 * term/ns-win.el (x-select-font): defalias x-select-font to
18348 ns-popup-font-panel instead of generate-fontset-menu.
18350 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18352 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18354 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18356 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18357 the PK\003\004 header (Bug#3770).
18359 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18361 * pcomplete.el (pcomplete-comint-setup): Check for
18362 shell-dynamic-complete-filename too.
18364 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18366 * simple.el (temporary-goal-column): Change the value for
18367 line-move-visual to a cons cell.
18368 (line-move-visual): Record or set the window hscroll, if
18369 necessary (Bug#3494).
18370 (line-move-1): Handle cons value of temporary-goal-column.
18372 2009-07-11 Kenichi Handa <handa@m17n.org>
18374 * international/mule-diag.el (describe-character-set): Don't show
18377 2009-07-10 Sam Steingold <sds@gnu.org>
18379 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18380 Omake sometimes indents the errors it prints, so allow all
18381 regexps to start with spaces.
18383 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18385 * cus-edit.el (customize-changed-options-previous-release):
18386 Bump value to 22.1. (Bug#3804)
18388 2009-07-08 Sam Steingold <sds@gnu.org>
18390 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18391 to be a cons cell (test . ignored-directory) to selectively ignore
18392 some directories depending on the location of the search.
18394 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18396 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18397 remote user is root, on the local host.
18398 (tramp-local-host-p): Either the local user or the remote user
18399 must be root. (Bug#3771)
18401 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18403 * progmodes/gdb-mi.el (gdb): Remove description of
18404 gdb-use-separate-io-buffer.
18405 (menu): Don't allow toggling of or enable
18406 gdb-use-separate-io-buffer from menubar.
18408 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18410 * mail/unrmail.el (unrmail): Make sure the message ends with two
18411 newlines (Bug#3769).
18413 2009-07-08 Glenn Morris <rgm@gnu.org>
18415 * calendar/calendar.el (calendar-current-date): Rework previous change.
18417 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18419 * calendar/calendar.el (calendar-current-date):
18420 Add an optional argument giving an offset from today.
18422 2009-07-08 Glenn Morris <rgm@gnu.org>
18424 * tutorial.el (tutorial--describe-nonstandard-key):
18425 Adjust the message for when a key has been unbound.
18426 (help-with-tutorial): Hide the arch-tag.
18428 2009-07-08 Kenichi Handa <handa@m17n.org>
18430 * international/fontset.el (setup-default-fontset): For each
18431 script, append (not set) font-specs.
18433 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18436 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18438 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18439 -data-list-register-names to ...
18440 (gdb-starting): ... here because GDB 7.0 requires execution to
18441 have started when using this MI command.
18442 (gdb-set-header): New function to distinguish select and
18443 unselected tabs in gdb buffers.
18444 (gdb-propertize-header): New macro that uses gdb-set-header.
18445 (gdb-breakpoints-header, gdb-locals-header): Use it.
18446 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18448 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18450 * Makefile.in (ELCFILES): Remove fadr.elc.
18452 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18454 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18455 may contain frame information, so `string-match' should be used.
18456 (gdb-update): Disassembly is invalidated through
18457 `gdb-get-selected-frame'.
18458 (gdb-pad-string): New function to pad string with spaces.
18459 (gdb-invalidate-disassembly): Invalidate only if the buffer
18461 (gdb-disassembly-handler-custom): Column alignment.
18462 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18464 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18466 (gdb-frame-handler): Match convention to for disassembly buffer
18468 (gdb-stack-list-frames-handler): Rewritten without regexps.
18469 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18470 not highlight breakpoints without line information.
18471 (gdb-input): Add trailing newline to command.
18473 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18475 (gdb-breakpoints-list-handler-custom): Replacement for
18476 `gdb-break-list-handler'. Using real parser instead of regexps
18478 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18479 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18480 to place breakpoints.
18481 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18483 (gdb-disassembly-handler-custom): Show overlay arrow.
18484 (gdb-disassembly-place-breakpoints): Show breakpoints in
18485 disassembly buffer.
18486 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18487 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18488 instead of parsing breakpoints buffer. Fixed old menu references
18493 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18494 (gdb-memory-address): New variable which holds top address of
18495 memory page shown in memory buffer.
18496 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18497 customization variables.
18499 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18500 display the memory buffer.
18501 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18502 buffer display parameters.
18503 (def-gdb-memory-format, gdb-memory-format-binary)
18504 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18505 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18506 Functions for setting memory buffer format.
18507 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18508 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18509 unit size used in memory buffer.
18510 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18511 to next/previous page of memory buffer.
18512 Now using (bindat-get-field) instead of fadr functions.
18514 2009-07-07 Sam Steingold <sds@gnu.org>
18516 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18517 non-top-level files.
18519 2009-07-07 Kenichi Handa <handa@m17n.org>
18521 * international/mule-cmds.el (reset-language-environment): Put
18522 the highset priority to the charset iso-8859-1.
18524 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18526 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18527 to the end of the line when locating the block (Bug#700).
18529 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18531 * net/tramp.el (tramp-handle-write-region): Flush file properties
18532 in case of short track.
18534 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18536 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18537 Coded custom representation of verilog error regular expressions
18538 to work with Emacs-22's new format.
18539 (verilog-error-regexp-xemacs-alist): Coded custom representation
18540 of verilog error regular expressions to work with XEmacs format.
18541 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18542 error recognition into XEmacs.
18543 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18544 error recognition into Emacs-22.
18546 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18548 * woman.el: Remove stand-alone closing parentheses.
18549 (woman-file-name, woman2-format-paragraphs)
18550 (woman-leave-blank-lines): Code cleanup.
18551 (woman-use-own-frame): Change default to nil.
18552 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18553 defaults to inherit from default faces.
18554 (woman2-process-escapes): Consume the newline after a stand-alone
18555 filler character (Bug#3651).
18557 2009-07-06 Glenn Morris <rgm@gnu.org>
18559 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18560 (top-level): Move provide to the end.
18561 (ffap): Remove defunct URL from custom group.
18563 * subr.el (eval-after-load): Doc fix.
18565 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18567 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18568 `calc-embedded-word' is called twice.
18570 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18572 * files.el (find-alternate-file-other-window, find-alternate-file):
18573 Obey confirm-nonexistent-file-or-buffer.
18575 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18577 * dired-aux.el (dired-show-file-type): Handle remote files.
18579 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18581 * desktop.el (desktop-globals-to-save):
18582 Add file-name-history (Bug#2750).
18584 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18586 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18588 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18590 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18591 property on entire argument since this is what eshell-lisp-command
18594 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18596 * net/tramp-gvfs.el (tramp-gvfs-methods)
18597 (tramp-gvfs-zeroconf-domain)
18598 (tramp-bluez-discover-devices-timeout): Add version flag.
18599 (tramp-gvfs-handler-mounted-unmounted)
18600 (tramp-gvfs-connection-mounted-p): Polish handling of
18601 incompatibilities between GVFS 0.2 and 1.0.
18603 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18605 * cus-start.el (all): Add make-pointer-invisible.
18607 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18609 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18610 formatted correctly.
18612 2009-07-02 Juri Linkov <juri@jurta.org>
18614 * info.el: Virtual Info files and nodes.
18615 (Info-virtual-files, Info-virtual-nodes): New variables.
18616 (Info-current-node-virtual): New variable.
18617 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18619 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18620 to check for a virtual file instead of checking a fixed list
18622 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18623 instead of ad-hoc processing of "dir" and (apropos history toc).
18624 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18625 instead of ad-hoc processing of "dir" and (apropos history toc).
18626 Reread a file when moving from a virtual node.
18627 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18628 (Info-directory-toc-nodes, Info-directory-find-file)
18629 (Info-directory-find-node): New functions.
18630 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18631 (Info-history): Move part of code to
18632 `Info-history-find-node'.
18633 (Info-history-toc-nodes, Info-history-find-file)
18634 (Info-history-find-node): New functions.
18635 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18636 (Info-toc): Move part of code to `Info-toc-find-node'.
18637 (Info-toc-find-node): New function.
18638 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18639 the current Info file name to references because now the node
18640 "*TOC*" belongs to the same Info manual.
18641 (Info-toc-build): Rename from `Info-build-toc'.
18642 (Info-toc-nodes): Rename input argument `file' to `filename'.
18643 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18644 instead of ad-hoc processing of ("dir" apropos history toc).
18645 (Info-index-nodes): Use Info-virtual-file-p
18646 to check for a virtual file instead of checking a fixed list
18648 (Info-index-node): Add check for `Info-current-node-virtual'.
18649 Raise `save-match-data' higher up the tree to contain
18650 `search-forward' too (bug fix).
18651 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18652 (Info-virtual-index-nodes): New variable.
18653 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18654 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18655 (Info-apropos-file, Info-apropos-nodes): New variables.
18656 (Info-apropos-toc-nodes, Info-apropos-find-file)
18657 (Info-apropos-find-node, Info-apropos-matches): New functions.
18658 (info-apropos): Move part of code to `Info-apropos-find-node' and
18659 `Info-apropos-matches'.
18660 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18661 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18662 for a virtual file instead of checking a fixed list of node names.
18664 * simple.el (async-shell-command): New command.
18666 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18668 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18669 instead of `mount-info'.
18671 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18673 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18674 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18676 2009-07-02 Kenichi Handa <handa@m17n.org>
18678 * international/mule.el (set-keyboard-coding-system): Force *-unix
18679 coding-system to avoid eol conversion.
18681 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18684 Add handler for `process-file', `shell-command' and
18685 `start-file-process'.
18686 (tramp-gvfs-handle-shell-command)
18687 (tramp-gvfs-handle-start-file-process)
18688 (tramp-gvfs-handle-process-file): New defuns.
18689 (tramp-synce-list-devices): Simplify check for existence of property.
18691 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18693 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18695 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18697 * language/korean.el (set-language-info-alist): Add korean-cp949,
18700 2009-07-01 Kenichi Handa <handa@m17n.org>
18702 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18704 * international/encoded-kb.el: Deleted.
18706 * international/mule.el (set-keyboard-coding-system): Perform the
18707 necessary setup here instead of calling encoded-kbd-setup-display.
18709 2009-07-01 Glenn Morris <rgm@gnu.org>
18711 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18713 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18715 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18717 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18719 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18720 Handle also the 'rename case, when setting file modes. (Bug#3712)
18721 (tramp-default-file-modes): Remove execute permissions.
18723 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18724 (top): Add a default for "synce" in `tramp-default-user-alist'.
18725 Add completion function for "synce" method.
18726 (tramp-hal-service, tramp-hal-path-manager)
18727 (tramp-hal-interface-manager, tramp-hal-interface-device):
18729 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18730 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18733 * net/trampver.el: Update release number.
18735 2009-06-30 Kenichi Handa <handa@m17n.org>
18737 * international/fontset.el (setup-default-fontset): Add CJK fonts
18738 for symbols and the other miscellaneous characters.
18740 * language/korea-util.el (setup-korean-environment-internal):
18741 Make char-width-table suitable for Korean environments.
18742 (exit-korean-environment): Cancel above.
18744 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18745 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18746 setup-function to make char-width-table suitable for respective
18747 environments, and an exit-function to cancel that.
18749 * language/japan-util.el (setup-japanese-environment-internal):
18750 Call use-cjk-char-width-table with arg `ja_JP'.
18752 * international/characters.el (cjk-char-width-table): Delete it.
18753 (cjk-char-width-table-list): New variable.
18754 (use-cjk-char-width-table): New arg local-name.
18755 (use-default-char-width-table): Fix for the case that Emacs is
18756 already using the default char-width-table.
18758 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18760 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18761 modes mandatory. (Bug#3712)
18763 2009-06-29 Alan Mackenzie <acm@muc.de>
18765 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18766 correction between the visible width of TABs and their number of bytes.
18768 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18770 * server.el (server-buffer-done): Prevent kill-buffer from
18771 prompting by clearing the buffer modification flag (Bug#3696).
18773 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18775 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18776 (verilog-endcomment-reason-re): Support unique case and priority case.
18777 (verilog-basic-complete-re): Support localparam lineup.
18778 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18779 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18781 (verilog-leap-to-case-head): Now support *nested* unique &
18782 priority case statements.
18783 (verilog-auto-lineup): Make just declarations the default (as it
18785 (verilog-leap-to-case-head): Support priority/unique case statements.
18786 (verilog-auto-lineup): Rework to give users radio buttons to
18787 select the various styles of automatic lineup.
18788 (verilog-error-regexp-alist): Rework to support the XEmacs style
18789 of error regular expressions from compilers, lint tools &
18790 simulators. Note that GNU Emacs has made it impossible for a mode
18791 to load such things.
18792 (electric-verilog-terminate-line, verilog-indent-declaration)
18793 (verilog-auto-wiure): Rework for radio button selection of
18794 auto-lineup selection of specification of auto lineup.
18795 (verilog-beg-of-statement-1): Redesign to support proper operation
18796 in additional code, based on testing with auto-lineup.
18797 (verilog-calculate-indent, assignments & declarations)
18798 (verilog-backward-token): Enhance to support auto-lineup of
18799 assignments & declarations.
18800 (verilog-in-directive-p, verilog-at-struct-p): New function for
18801 easy test of whether we are.
18802 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18803 to support safe execution at almost anyline.
18804 (verilog-calc-1): Properly support indenting deep inside generate
18806 (verilog-init-font): Remove definition & use of verilog-init-font,
18807 as it is redundant with font-lock-defaults.
18808 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18809 to avoid circular calls if syntax-ppss is a function (as is the
18810 case now in 22.x GNU Emacs) as that function would sometimes call
18811 itself, leading to (nearly) infinite recursion.
18812 (verilog-ovm-begin-re, verilog-ovm-end-re)
18813 (verilog-ovm-statement-re, verilog-leap-to-head)
18814 (verilog-backward-token): Add support for OVM macros. Some are
18815 complete statements, and others open and close scopes like begin
18817 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18818 (verilog-defun-level-generate-only-re): Really fix the defun-list
18820 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18821 coverpoint, constraint and cross statements.
18822 (verilog-defun-level-list, verilog-generate-defun-level-list)
18823 (verilog-all-defun-level-list): Redo these specifications - it is
18824 too hard to support eval-when compile aggregation of lists also
18825 built at when-compile time.
18826 (verilog-defun-level-list): Place defconsts of variables used in
18827 building regular expressions which are built in eval-when-compile
18828 bodies in the same eval-when-compile body to facilitate compile
18830 (verilog-beg-block-re-ordered): Support indenting
18831 virtual/protected tasks and functions.
18832 (verilog-defun-level-list, verilog-in-generate-region-p)
18833 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18834 indentation of some module items (generate items).
18835 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18836 across virtual/protected tasks and functions.
18838 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18840 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18841 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18842 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18843 in concatenations. Reported by Yishay Belkind.
18844 (verilog-auto-ascii-enum): Support one-hot state machines in
18845 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18846 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18847 modport in AUTOINST and add vl-modport for users. Reported by
18849 (verilog-auto-inout-module, verilog-auto-inst)
18850 (verilog-decls-get-interfaces, verilog-insert-definition)
18851 (verilog-insert-one-definition, verilog-read-decls)
18852 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18853 (verilog-sig-modport, verilog-signals-combine-bus)
18854 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18855 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18856 Suggested by David Rogoff.
18857 (verilog-repair-open-comma): Fix non-insertion of comma when
18858 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18859 (verilog-make-width-expression): Simplify [A-1:0] expression
18860 widths to just {A{1'b0}}.
18861 (verilog-mode): Cleanup checkdoc warnings.
18862 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18863 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18864 inputs/outputs or data type. Suggested by Vasu Kandadi.
18865 (next-error-last-buffer): Fix byte-compiler warning.
18866 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18867 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18868 or shell command text during AUTO expansion. Suggested by Tad Truex.
18869 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18870 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18871 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18872 in AUTOINOUT. Reported by Matthew Lovell.
18873 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18874 causing use of <= assignments. Reported by Alex Reed.
18875 (verilog-read-decls): Fix triand, trior, wand, wor to be
18876 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18877 (verilog-extended-complete-re): Support import "DPI-C" functions.
18878 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18879 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18880 (verilog-insert-date, verilog-insert-year)
18881 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18882 Windows systems. Reported by Michael Potts.
18883 (verilog-read-module-name): Fix AUTOINST when the child module
18884 declaration's name is a tick define. Reported by Elliot Mednick.
18885 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18886 passed to next parameter's definition. Reported by Bruce T.
18887 (verilog-read-decls): Fix detecting "parameter int" when using
18888 AUTOINSTPARAM. Reported by Bruce T.
18889 (verilog-goto-defun): Fix goto not finding modules unless first
18890 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18891 (verilog-mode): Expand -f flag arguments on entry to mode so
18892 verilog-goto-defun will work. Reported by Lawrence Butcher.
18893 (verilog-getopt): Expand environment variables in -f file
18894 arguments. Suggested by Lawrence Butcher.
18895 (verilog-set-define): Fix "Symbol's value as variable is void"
18896 when reading enumerations.
18897 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18898 Suggested by Stephen Peltan.
18899 (verilog-read-defines): Fix reading of enumerations in include
18900 files. Reported by Steve Peltan.
18902 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18904 * files.el (trash-directory): Fix defcustom type.
18906 2009-06-28 Juri Linkov <juri@jurta.org>
18908 * help-fns.el (describe-function-1): Correctly locate adviced
18909 functions in hyperlink (Bug#2438).
18911 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18913 * files.el (trash-directory): Change default to nil.
18914 (move-file-to-trash): If trash-directory is nil and
18915 system-move-file-to-trash is unbound, perform freedesktop-style
18918 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18920 * files.el (move-file-to-trash): Add freedesktop trash
18923 2009-06-28 Glenn Morris <rgm@gnu.org>
18925 * autorevert.el (global-auto-revert-non-file-buffers)
18926 (global-auto-revert-mode): Doc fixes.
18928 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18930 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18932 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18934 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18935 opened an X connection before calling x-get-resource (Bug#3194).
18937 * play/doctor.el: Remove reference to obsolete website.
18938 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18940 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18942 Remove find-file-not-found-hook VC method. (Bug#2757)
18943 * vc-hooks.el (vc-file-not-found-hook)
18944 (vc-default-find-file-not-found-hook): Remove functions.
18945 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18946 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18949 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18951 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18953 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18954 compatibility function for `looking-back'.
18956 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18957 Use `ispell-looking-back'.
18959 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18961 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18962 rather than `filename'.
18964 2009-06-23 Miles Bader <miles@gnu.org>
18966 * face-remap.el (text-scale-set): New function.
18968 2009-06-23 Glenn Morris <rgm@gnu.org>
18970 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18972 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18974 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18976 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18978 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18979 Simplify Persian conditionals.
18981 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18982 variable `filename'.
18984 * comint.el (comint-insert-input): Doc fix.
18986 * Makefile.in (ELCFILES): Fix typo in previous change.
18988 2009-06-23 Miles Bader <miles@gnu.org>
18990 * cus-start.el: Add entry for `recenter-redisplay'.
18992 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18994 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18995 Add an optional argument for the backend, use it instead of
18996 calling vc-backend.
18997 (vc-mode-line): Add an optional argument for the backend.
18998 Pass the backend to vc-state and vc-working-revision. Move code for
18999 special handling for vc-state being a buffer to ...
19001 * vc-rcs.el (vc-rcs-find-file-hook):
19002 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19004 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19005 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19006 vc-stay-local-p and vc-mode-line calls.
19008 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19009 (vc-cvs-diff, vc-cvs-annotate-command)
19010 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19011 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19012 vc-mode-line calls.
19014 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19016 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19017 backend when calling vc-mode-line.
19018 (vc-register): Do not create a closure for calling the vc register
19019 function, call it directly.
19021 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19023 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19024 to make it obvious item can be clicked.
19026 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19028 2009-06-23 Kenichi Handa <handa@m17n.org>
19030 * language/korea-util.el (korean-key-bindings): Change the binding
19031 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19034 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19036 Sync with Tramp 2.1.16.
19038 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19040 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19041 when a loading of a package fails. Completion function for rsync
19042 is `tramp-completion-function-alist-ssh'.
19043 (all): Replace all calls of `split-string' and
19044 `tramp-split-string' by `tramp-compat-split-string'.
19045 (tramp-default-method): Use `tramp-compat-process-running-p'.
19046 (tramp-default-proxies-alist): Allow also Lisp forms.
19047 (tramp-remote-path): Add choice "Private Directories".
19048 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19049 (tramp-domain-regexp): Allow also "-", "_" and ".".
19050 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19051 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19052 (tramp-debug-message): Insert header line in debug buffer.
19053 (tramp-handle-directory-files-and-attributes-with-stat):
19054 Care about filenames with spaces, or starting with "-".
19055 (tramp-handle-dired-uncache): New defun.
19056 (tramp-handle-insert-directory): Don't flush the directory from
19057 cache, this is handled by `dired-uncache' now.
19058 (tramp-handle-insert-file-contents): Improve error handling.
19059 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19060 Quote `tramp-end-of-output'.
19061 (tramp-action-password): Improve trace message.
19062 (tramp-check-for-regexp): Both echoes must be present, before removing.
19063 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19064 (tramp-compute-multi-hops): Eval cons cells of
19065 `tramp-default-proxies-alist'.
19066 (tramp-maybe-open-connection): Use the same command pattern for
19067 first hop and further hops.
19068 (tramp-wait-for-output): Remove handling of newlines.
19069 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19070 (tramp-split-string): Remove function. It is handled in
19073 * net/tramp-cmds.el (tramp-bug):
19074 Recommend `tramp-cleanup-all-connections' in the bug mail.
19076 * net/tramp-compat.el (tramp-compat-split-string)
19077 (tramp-compat-process-running-p): New defuns.
19079 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19080 for `dired-uncache'.
19082 * net/tramp-gvfs.el: New package.
19084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19085 Add handler for `dired-uncache'.
19086 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19088 * net/trampver.el: Update release number. Make version check fit
19091 2009-06-22 Jim Meyering <meyering@redhat.com>
19093 Automatically handle .xz suffix (XZ-compressed files), too.
19094 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19095 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19097 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19098 Nick Roberts <nickrob@snap.net.nz>
19100 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19101 repository (http://sphinx.net.ru/hg/gdb-mi/).
19103 2009-06-22 Glenn Morris <rgm@gnu.org>
19105 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19106 `mode' and `eval' entries. (Bug#3430)
19108 * Makefile.in (ELCFILES): Add fadr.elc.
19110 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19111 differing behavior of \n and ^ in strings. (Bug#3385)
19113 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19115 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19117 (lisp-indent-function): Make it a defcustom.
19119 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19121 * progmodes/gdb-ui.el: Replace with ...
19122 * progmodes/gdb-mi.el: ... this file.
19123 * progmodes/gud.el: Modify for gdb-mi.el.
19125 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19127 * fadr.el: New file.
19129 See ChangeLog.14 for earlier changes.
19131 ;; Local Variables:
19135 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19137 This file is part of GNU Emacs.
19139 GNU Emacs is free software: you can redistribute it and/or modify
19140 it under the terms of the GNU General Public License as published by
19141 the Free Software Foundation, either version 3 of the License, or
19142 (at your option) any later version.
19144 GNU Emacs is distributed in the hope that it will be useful,
19145 but WITHOUT ANY WARRANTY; without even the implied warranty of
19146 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19147 GNU General Public License for more details.
19149 You should have received a copy of the GNU General Public License
19150 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.