1 2010-11-27 Glenn Morris <rgm@gnu.org>
3 * shell.el (shell-dir-cookie-re): Move definition before use.
5 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
6 Replace undefined CL functions.
8 2010-11-26 Eli Zaretskii <eliz@gnu.org>
10 * simple.el (prog-mode): Set bidi-paragraph-direction to
13 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
15 2010-11-26 Glenn Morris <rgm@gnu.org>
17 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
18 diary-outlook-formats can be sensitive to calendar-date-style.
19 (diary-outlook-formats): Simplify the default setting.
20 (diary-from-outlook-internal): Pass subject and body as arguments.
21 Use dolist rather than dotimes. Don't save the diary buffer.
22 (diary-from-outlook-gnus, diary-from-outlook-rmail):
23 Pass subject and body as explicit arguments to the -internal function.
25 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
27 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
28 parsing them. This makes mailto:...?subject=foo\nbar work.
30 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
32 * vc/diff.el (diff): Fix last change.
34 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
36 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
37 (pcase--dontcare-upats): New var.
38 (pcase-let, pcase-let*): Generate better code.
39 Accept the same bodies as `let'.
40 (pcase-dolist): New macro.
41 (pcase--trivial-upat-p): New helper function.
42 (pcase--expand): Strip leading "(let nil" if any.
44 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
46 * mail/mailclient.el (browse-url): Require.
47 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
48 use the external browser function to send the mail (bug#7469).
50 * net/browse-url.el (browse-url-browser-function): Revert the
51 default back to the previous value, since the new value broke
53 (browse-url-mailto-function): New variable for mailto: URLs.
54 (browse-url): Use the new variable for mailto: URLs.
56 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
58 * eshell/esh-cmd.el (eshell-parse-command):
59 * eshell/esh-arg.el (eshell-parse-arguments):
60 * eshell/em-script.el (eshell-source-file):
61 Use with-silent-modifications.
63 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
65 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
68 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
69 (vc-bzr-merge-branch): Always prompt.
70 (vc-bzr-async-command): Use the full branch filename.
72 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
74 * shell.el (shell): Use current-buffer by default if it's already
75 a shell mode buffer and its process is dead.
76 Suggested by <jemarch@gnu.org>.
78 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
80 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
81 Mention that the keywords should be comma separated.
83 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
85 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
86 Accept optional prefix arg meaning to prompt for a command.
87 (vc-update): Use vc-BACKEND-pull if available. Accept optional
88 prefix arg meaning to prompt for a command.
89 (vc-pull): Alias for vc-update.
91 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
92 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
93 (vc-bzr-merge-branch): New functions, implementing merge-branch
96 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
98 * Makefile.in: Fix up last merge.
100 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
101 (diff-sentinel): Get them as arguments instead.
102 (diff-old-file, diff-new-file, diff-extra-args): Remove.
103 (diff-file-local-copy, diff-better-file-name): New funs.
104 (diff-no-select): Rename from diff-into-buffer.
105 Support buffers additionally to files. Move `buf' arg. Don't display buf.
106 Prefer closures to buffer-local variables.
107 (diff): Adjust accordingly.
108 (diff-buffer-with-file): Move from files.el.
109 * files.el (diff-buffer-with-file): Move to vc/diff.el.
110 (diff-buffer-internal): Remove.
111 (diff-buffer-buffer): Remove.
112 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
113 the buffer name used, and so as not to mess up windows and frames.
115 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
117 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
118 (diff-buffer-internal): New function extracted from diff-buffer-with-file
119 (diff-buffer-with-file): Use it.
120 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
123 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
125 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
126 \ref's or \pageref's value as default instead of initial input.
128 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
130 * files.el (backup-by-copying-when-mismatch): The default value is
133 * startup.el (normal-top-level):
134 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
135 `backup-by-copying-when-mismatch'.
137 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
139 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
141 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
143 * progmodes/python.el (python-font-lock-keywords):
144 Highlight top-level augmented assignments (Bug#6445).
146 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
148 * term/ns-win.el (ns-right-control-modifier)
149 (ns-right-command-modifier): Defvar them.
151 * cus-start.el (all): Add ns-right-control-modifier and
152 ns-right-command-modifier (Bug#7458).
154 2010-11-20 Glenn Morris <rgm@gnu.org>
156 * emacs-lisp/authors.el (authors-ignored-files)
157 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
159 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
161 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
162 (report-emacs-bug-parse-query-results)
163 (report-emacs-bug-create-existing-bugs-buffer): Pass through
164 keywords used for querying the bug database to show them in the
165 existing bugs buffer.
167 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
169 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
171 * info.el (info-tool-bar-map): Add some :vert-only keywords.
173 2010-11-20 Eli Zaretskii <eliz@gnu.org>
175 * international/characters.el (glyphless-char-display-control):
176 Make it a defcustom, with update-glyphless-char-display as its
178 (top level): Don't call update-glyphless-char-display.
180 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
182 Sync with Tramp 2.2.0.
184 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
185 `file-remote-p' (due to compatibility).
187 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
188 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
190 * net/trampver.el: Update release number.
192 2010-11-20 Eli Zaretskii <eliz@gnu.org>
194 * faces.el (glyphless-char): Define value for `pc'.
196 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
198 Implemented a bug querying mechanism.
199 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
200 (report-emacs-bug-create-existing-bugs-buffer)
201 (report-emacs-bug-parse-query-results)
202 (report-emacs-bug-query-existing-bugs): New functions.
204 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
206 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
207 a \ref{} or \pageref{} macro, then use its value as initial input.
209 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
211 * calc/calc-units.el (math-build-units-table-buffer):
212 calc/README: Mention that the TeX specific units won't use the
213 `tex' prefix in TeX mode.
214 calc/calc-lang.el (math-variable-table): Don't use the `tex'
215 prefix for units in TeX mode.
217 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
219 * simple.el (kill-new, kill-append, kill-region):
220 * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
222 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
224 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
225 that are both openers (resp. closers) and something else.
226 (smie-grammar): Loosen definition of valid values.
227 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
228 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
229 (smie-indent-after-keyword): Adjust users.
230 (smie-indent-keyword): Don't indent empty lines.
232 * vc-hg.el (vc-hg-program): New var.
233 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
234 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
236 2010-11-18 Glenn Morris <rgm@gnu.org>
238 * emacs-lisp/autoload.el (autoload-find-destination): The function
239 coding-system-eol-type may return non-numeric values. (Bug#7414)
241 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
243 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
245 2010-11-18 Eli Zaretskii <eliz@gnu.org>
247 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
249 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
251 * textmodes/picture.el (picture-mouse-set-point): Don't use
252 posn-col-row; explicitly compute the motion based on the posn at
253 the window-start (Bug#7390).
255 2010-11-18 Glenn Morris <rgm@gnu.org>
257 * novice.el (disabled-command-function):
258 Fix 2009-11-15 change. (Bug#7384)
260 2010-11-18 Glenn Morris <rgm@gnu.org>
262 * calendar/calendar.el (diary-iso-date-forms): Make elements
263 mutually exclusive. (Bug#7377)
265 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
267 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
268 when filling the remaining "unconstrained" values.
270 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
272 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
275 * files.el (safe-local-variable-p): Gracefully handle errors.
277 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
278 Use smie-indent-virtual when indenting relative to an opener.
279 (smie-rule-separator): Use smie-rule-parent.
280 (smie-indent-keyword): Consult rules, even for openers at bol.
281 (smie-indent-comment-close): Try to align closer's content.
283 2010-11-18 Glenn Morris <rgm@gnu.org>
285 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
287 2010-11-18 Glenn Morris <rgm@gnu.org>
289 * printing.el (pr-menu-bind): Doc fix.
291 * speedbar.el (speedbar-toggle-images): Doc fix.
293 * progmodes/python.el (python-shell): Doc fix.
295 * wid-edit.el (widget-field-use-before-change)
296 (widget-use-overlay-change): Doc fixes.
298 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
300 Minor cleanup to improve style.
301 * textmodes/rst.el (rst-update-section): Use point-marker.
302 (rst-get-decoration): Eliminate unneeded assignment.
303 (rst-promote-region, rst-straighten-decorations)
304 (rst-section-tree, rst-adjust): Use point-marker.
305 (rst-toc-mode-mouse-goto): Avoid setq.
306 (rst-shift-region-guts, rst-shift-region-left)
307 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
308 (rst-convert-bullets-to-enumeration): Use copy-marker.
310 * minibuffer.el (completion-fail-discreetly): New var.
311 (completion--do-completion): Use it.
313 * electric.el (electric-pair-pairs): New var.
314 (electric-pair-post-self-insert-function): Use it.
315 (electric-layout-post-self-insert-function): Don't insert a before
316 newline unless it's actually needed.
318 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
320 * progmodes/python.el (run-python): Explain why we remove the current
321 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
323 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
325 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
327 * progmodes/octave-mod.el: Rely on elecric-*-modes.
328 (octave-mode-map): Don't bind ;, SPC, and LF.
329 (octave-auto-indent, octave-auto-newline): Remove.
330 (electric-layout-rules): Declare.
331 (octave-mode): Set electric-layout-rules.
332 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
333 (octave-reindent-then-newline-and-indent, octave-electric-semi)
334 (octave-electric-space): Remove.
336 * electric.el (electric-layout-mode): New minor mode.
337 (electric--after-char-pos): New function.
338 (electric-indent-post-self-insert-function): Use it.
339 (electric-layout-rules): New var.
340 (electric-layout-post-self-insert-function): New function.
341 (electric-indent-mode): Make them interact better.
343 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
345 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
346 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
347 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
349 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
351 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
352 Make sure to check inside the word (Bug#6761).
354 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
356 * startup.el (command-line): If the cursorColor resource is set,
357 change the cursor face-spec (Bug#7392).
359 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
361 The main features of the following allout.el changes are:
362 - implement user customization for the allout key bindings
363 - add a customization control by which the user can inhibit use of
364 a trailing Ctrl-H, so by default it's reserved for use with
365 describe-prefix-bindings
366 - adapt to new version of called-interactively-p, while
367 maintaining backwards compatibility with old version
368 - fix hotspot navigation so i works properly with meta-modified keys
370 * allout.el (allout-keybindings, allout-bind-keys)
371 (allout-keybindings-binding, allout-prefixed-keybindings)
372 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
373 (allout-keybindings-list, allout-mode-map-adjustments)
374 (allout-setup-mode-map): Establish allout-mode keymaps as user
375 customizable settings, and also establish a customizable setting which
376 regulates whether or not a trailing control-h is reserved for use with
377 describe-prefix-bindings - and inhibit it by default, so that control-h
378 *is* reserved for describe-prefix-bindings unless the user changes it.
380 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
381 and accurately between modified and unmodified events, and handle
382 modified events more comprehensively.
384 * allout.el (allout-substring-no-properties):
385 Alias to use or provide version of `substring-no-properties'.
386 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
388 * allout.el (allout-next-single-char-property-change):
389 Alias to use or provide version of `next-single-char-property-change'.
390 (allout-annotate-hidden, allout-hide-by-annotation):
391 Use `allout-next-single-char-property-change'.
393 * allout.el (allout-select-safe-coding-system):
394 Alias to use or provide version of `select-safe-coding-system'.
395 (allout-toggle-subtree-encryption):
396 Use `allout-select-safe-coding-system'.
398 * allout.el (allout-set-buffer-multibyte):
399 Alias to use or provide version of `set-buffer-multibyte'.
400 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
402 * allout.el (allout-called-interactively-p): Macro for using the
403 different versions of called-interactively-p identically, depending on
404 the subroutine's argument signature.
405 (allout-back-to-current-heading, allout-beginning-of-current-entry):
406 Use `(interactive "p")' instead of `(called-interactively-p)'.
408 * allout.el (allout-init, allout-ascend, allout-end-of-level)
409 (allout-previous-visible-heading, allout-forward-current-level)
410 (allout-backward-current-level, allout-show-children):
411 Use `allout-called-interactively-p' instead of `called-interactively-p'.
413 * allout.el (allout-before-change-handler):
414 Exempt edits to the (overlaid) character after the allout outline
415 bullet from edit confirmation prompt.
417 * allout.el (allout-add-resumptions):
418 Ensure that it respects correct buffer for keybindings.
420 * allout.el (allout-beginning-of-line):
421 Use `allout-previous-single-char-property-change' alias for the sake of
422 diverse compatibility.
424 * allout.el (allout-end-of-line):
425 Use `allout-mark-active-p' to encapsulate respect for mark activity.
427 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
429 * frame.el (frame-notice-user-settings): Don't clobber other
430 user-set parameters when calling face-set-after-frame-default in
431 response to background-color parameter (Bug#7373).
433 2010-11-13 Eli Zaretskii <eliz@gnu.org>
435 * international/characters.el (glyphless-char-display-control):
436 Renamed from glyphless-char-control; all users changed. Doc fix.
437 Signal an error if display method is not one of the recognized
440 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
442 * net/tramp-compat.el (tramp-compat-line-beginning-position)
443 (tramp-compat-line-end-position): Remove them.
445 * net/tramp.el (tramp-parse-rhosts-group)
446 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
447 (tramp-parse-hosts-group, tramp-parse-passwd-group)
448 (tramp-parse-netrc-group, tramp-parse-putty-group)
449 * net/tramp-cmds.el (tramp-append-tramp-buffers)
450 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
451 (tramp-sh-handle-file-selinux-context)
452 (tramp-sh-handle-file-name-all-completions)
453 (tramp-sh-handle-insert-directory)
454 (tramp-sh-handle-expand-file-name, tramp-find-executable)
455 (tramp-wait-for-output, tramp-send-command-and-read)
456 * net/tramp-smb.el (tramp-smb-read-file-entry)
457 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
459 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
461 (tramp-remote-coding-commands): Add an alternative using "base64
462 -d -i". This is needed for older base64 versions from GNU
463 coreutils. Reported by Klaus Reichl
464 <Klaus.Reichl@thalesgroup.com>.
466 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
468 * simple.el (count-words-region): New function.
470 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
472 * shell.el (shell-dir-cookie-re): New custom variable.
473 (shell-dir-cookie-watcher): New function.
475 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
476 and compilation-mode (bug#7350).
478 * vc/smerge-mode.el (smerge-refine): Choose better default part to
479 highlight when one of them is empty.
481 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
483 (skeleton-newline): New function.
484 (skeleton-internal-1): Use it.
486 * simple.el (open-line): `newline' may strip trailing space.
488 2010-11-12 Kevin Ryde <user42@zip.com.au>
490 * international/mule-cmds.el (princ-list): Use mapc.
492 2010-11-12 Glenn Morris <rgm@gnu.org>
494 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
495 Use it to replace all instances of "*Compile-Log*"
497 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
499 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
502 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
504 * progmodes/modula2.el: Use SMIE and skeleton.
505 (m2-mode-syntax-table): (*..*) can be nested.
506 Add //...\n. Fix paren syntax.
507 (m2-mode-map): Remove LF and TAB bindings.
508 (m2-indent): Add safety property.
509 (m2-smie-grammar): New var.
510 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
511 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
512 (m2-mode): Use define-derived-mode.
513 (m2-newline, m2-tab): Remove.
514 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
515 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
516 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
517 (m2-import): Use define-skeleton.
519 2010-11-11 Glenn Morris <rgm@gnu.org>
521 * obsolete/lucid.el: Don't warn about any CL functions in this file.
523 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
524 (ls-lisp-verbosity): Add custom :set-after property.
525 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
526 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
527 (ls-lisp-insert-directory): Update caller.
528 (ls-lisp-set-options): New function.
529 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
532 * play/landmark.el (lm-prompt-for-move):
533 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
535 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
537 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
538 (idlwave-study-twins): Prefix dynamic local variable `name'.
539 (idlwave-routine-twin-compare): Update for above change.
541 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
542 Prefix dynamic local variables `name', `kwd', and `link'.
543 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
544 * progmodes/idlw-complete-structtag.el
545 (idlwave-complete-structure-tag-help):
546 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
547 (idlwave-complete-sysvar-tag-help)
548 (idlwave-complete-class-structure-tag-help):
549 Update for above name changes.
551 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
553 * net/browse-url.el (browse-url-browser-function): Change the
554 default to use `browse-url-mail' on mailto: URLs.
556 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
558 * emacs-lisp/package.el (package-read-all-archive-contents):
559 Reset package-archive-contents to nil before re-reading.
561 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
563 * textmodes/flyspell.el (flyspell-word): Do not re-check words
564 already found as misspellings by (flyspell-large-region), just
565 do highlighting (bug#7322).
567 2010-11-10 Glenn Morris <rgm@gnu.org>
569 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
571 * emulation/edt.el (edt-with-position): New macro.
572 (edt-find-forward, edt-find-backward, edt-find-next-forward)
573 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
574 (edt-paragraph-forward, edt-paragraph-backward): Use it.
576 * emulation/tpu-extras.el (tpu-with-position): New macro.
577 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
579 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
581 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
582 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
583 (texinfo-master-menu, texinfo-insert-node-lines)
584 (texinfo-multiple-files-update):
585 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
586 Use line-beginning-position.
588 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
589 No recent Emacs supports system-type `emx'.
591 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
592 (ada-command-separator, ada-default-prj-properties)
593 (ada-find-any-references): Update for above name change.
595 * dirtrack.el (dirtrack-directory-function)
596 (dirtrack-canonicalize-function):
597 * filecache.el (file-cache-completion-ignore-case)
598 (file-cache-case-fold-search, file-cache-ignore-case):
599 * term.el (serial-port-is-file-p): Cosmetic change.
601 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
602 Remove non-existent `windows-95' system-type.
603 * dired.el (dired-chown-program): Remove non-existent `linux'
606 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
607 (ping-program-options): Remove non-existent `linux' system-type.
609 * startup.el (package-initialize): Update declaration.
611 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
612 (ls-lisp-handle-switches): Use time-less-p.
613 (ls-lisp-format-time): Use float-time.
615 * textmodes/remember.el (remember-time-to-seconds): Remove.
616 (remember-store-in-mailbox): Use float-time.
618 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
620 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
621 never a real function.
622 (with-no-warnings): Remove compat stub, now unused.
623 (time-less-p): Doc fix.
624 (time-to-number-of-days): Simplify.
626 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
628 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
629 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
630 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
631 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
632 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
634 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
635 (eshell-shuffle-files, eshell-shorthand-tar-command)
636 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
637 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
638 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
639 Prefix dynamic local variable `matches'.
641 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
642 Prefix dynamic local variable `skeleton'.
644 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
646 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
647 in mail buffer; make yank-action always a command that yanks original
650 2010-11-09 Glenn Morris <rgm@gnu.org>
652 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
654 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
656 * minibuffer.el (minibuffer-completion-help): Specify the end of the
657 completion field (bug#7211).
659 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
660 Fix handling of backslash escapes.
661 (python-quote-syntax): Adjust accordingly.
663 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
665 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
666 (vc-mtn-workfile-branch): Adjust to new output format.
668 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
670 * international/mule-cmds.el (princ-list): Mark as obsolete.
672 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
674 * emacs-lisp/smie.el: New package.
676 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
678 * files.el (backup-by-copying-when-mismatch):
679 Set `permanent-local' property.
681 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
682 `permanent-local' property for `backup-by-copying-when-mismatch'.
684 2010-11-09 Eli Zaretskii <eliz@gnu.org>
686 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
688 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
690 * progmodes/verilog-mode.el (verilog-insert-one-definition)
691 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
692 AUTOINOUT for SV style multidimensional arrays, bug294.
693 Reported by Eric Mastromarchi.
694 (verilog-preprocess): Use with-current-buffer and
695 font-lock-fontify-buffer to cleanup style issues.
697 2010-11-09 Glenn Morris <rgm@gnu.org>
699 * locate.el (locate, locate-mode): Doc fixes.
701 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
703 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
704 user for confirmation.
705 (server-force-stop): Use it.
706 (server-start): Use server-force-stop for kill-emacs-hook, to
707 avoid user interaction while killing Emacs.
709 2010-11-09 Glenn Morris <rgm@gnu.org>
711 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
712 (meta-indent-line): Simplify.
714 * vc/emerge.el (emerge-line-number-in-buf):
715 * textmodes/ispell.el (ispell-region):
716 * textmodes/fill.el (current-fill-column):
717 * progmodes/xscheme.el (xscheme-send-current-line):
718 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
719 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
720 * progmodes/sh-script.el (sh-handle-prev-do):
721 * progmodes/meta-mode.el (meta-indent-line):
722 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
724 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
725 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
726 * progmodes/fortran.el (fortran-looking-at-if-then):
727 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
728 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
729 (cperl-find-pods-heres):
730 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
731 * net/quickurl.el (quickurl-list-insert):
732 * net/ldap.el (ldap-search-internal):
733 * net/eudc.el (eudc-expand-inline):
734 * mail/sendmail.el (sendmail-send-it):
735 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
736 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
737 (viper-brac-function):
738 * calc/calc-yank.el (calc-do-grab-region):
739 * calc/calc-keypd.el (calc-keypad-press):
740 * term.el (term-move-columns, term-insert-spaces):
741 * speedbar.el (speedbar-highlight-one-tag-line):
742 * simple.el (current-word):
743 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
744 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
746 * hippie-exp.el (he-line-beg):
747 * epa.el (epa--marked-keys):
748 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
749 (dired-update-file-line, dired-add-entry, dired-remove-entry)
750 (dired-relist-entry):
751 * buff-menu.el (Buffer-menu-buffer):
752 * array.el (current-line):
753 * allout.el (allout-resolve-xref)
754 (allout-latex-verbatim-quote-curr-line):
755 Replace yet more uses of end-of-line etc with line-end-position, etc.
757 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
759 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
760 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
761 (checkdoc-syntax-table): Initialize in the declaration.
762 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
763 the mode on unconditionally.
765 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
766 (extent-end-position, extent-start-position): Remove setf method for
767 non-existing functions (bug#7319).
769 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
771 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
772 (smie-precs->prec2): Rename from smie-precs-precedence-table.
773 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
774 (smie-prec2->grammar): Rename from smie-prec2-levels.
775 (smie-grammar): Rename from smie-op-levels.
776 (smie-indent--hanging-p): Rename from smie-hanging-p.
777 (smie-rule-hanging-p): New alias.
778 (smie-indent--bolp): Rename from smie-bolp.
779 (smie-indent--hanging-p): New alias.
780 (smie--token): New dynamically bound variable.
781 (smie-indent--parent): New function.
782 (smie-rule-parent-p): Use it; rename from smie-parent-p.
783 (smie-rule-next-p): Rename from smie-next-p.
784 (smie-rule-prev-p): Rename from smie-prev-p.
785 (smie-rule-sibling-p, smie-rule-parent)
786 (smie-indent--separator-outdent, smie-rule-separator): New functions.
787 (smie-rule-separator-outdent): New var.
788 (smie-indent--rule): Merge with smie-indent--column.
789 (smie-indent-forward-token, smie-indent-backward-token):
790 Also recognize close parens.
791 (smie-indent-keyword): Don't use smie-indent--column any more.
792 (smie-indent-after-keyword): Ignore closers by default.
793 (smie-indent-line): Use with-demoted-errors.
794 * progmodes/octave-mod.el (octave-smie-grammar):
795 Rename from octave-smie-op-levels.
796 (octave-smie-rules): Adjust to new behavior.
797 * progmodes/prolog.el (prolog-smie-grammar):
798 Rename from prolog-smie-op-levels.
800 2010-11-07 Glenn Morris <rgm@gnu.org>
802 * eshell/esh-util.el (subst-char-in-string)
803 (directory-files-and-attributes): These compatibility definitions are
804 not needed on any version of Emacs since at least 21.4.
806 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
807 (verilog-get-end-of-line): Remove.
808 (verilog-within-string, verilog-re-search-forward-substr)
809 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
810 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
811 Use point-at-bol, point-at-eol.
812 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
814 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
815 (electric-pascal-terminate-line, pascal-set-auto-comments)
816 (pascal-indent-paramlist, pascal-indent-declaration)
817 (pascal-get-lineup-indent, pascal-func-completion)
818 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
819 Use point-at-bol, point-at-eol.
820 * progmodes/flymake.el (flymake-line-beginning-position)
821 (flymake-line-end-position): Remove.
822 (flymake-highlight-line): Use point-at-bol, point-at-eol.
823 * eshell/esh-util.el (line-end-position, line-beginning-position):
824 Remove compat definitions.
826 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
828 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
829 Use line-end-position.
831 * emacs-lisp/chart.el (chart-zap-chars):
832 * play/decipher.el (decipher-set-map):
833 * progmodes/ada-mode.el (ada-get-current-indent)
834 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
835 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
836 * progmodes/ada-xref.el (ada-initialize-runtime-library)
837 (ada-get-all-references):
838 * progmodes/cperl-mode.el (cperl-electric-paren)
839 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
840 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
841 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
842 (cperl-word-at-point-hard):
843 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
844 (idlwave-shell-filename-string, idlwave-shell-batch-command)
845 (idlwave-shell-display-line):
846 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
847 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
848 * progmodes/js.el (js--re-search-forward-inner)
849 (js--re-search-backward-inner):
850 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
851 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
852 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
853 * textmodes/flyspell.el (flyspell-process-localwords):
854 * textmodes/ispell.el (ispell-buffer-local-parsing)
855 (ispell-buffer-local-dict, ispell-buffer-local-words):
856 Use point-at-bol and point-at-eol.
858 * speedbar.el (speedbar-generic-item-info)
859 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
860 (speedbar-add-indicator, speedbar-check-vc-this-line)
861 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
862 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
863 Replace more uses of end-of-line etc with line-end-position.
865 2010-11-06 Glenn Morris <rgm@gnu.org>
867 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
868 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
869 (texinfo-delete-existing-pointers, texinfo-find-pointer)
870 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
871 (texinfo-multiple-files-update):
872 * textmodes/table.el (table--probe-cell-left-up)
873 (table--probe-cell-right-bottom):
874 * textmodes/picture.el (picture-tab-search):
875 * textmodes/page-ext.el (pages-copy-header-and-position)
876 (pages-directory-for-addresses):
877 * progmodes/vera-mode.el (vera-get-offset):
878 * progmodes/simula.el (simula-calculate-indent):
879 * progmodes/python.el (python-pdbtrack-overlay-arrow):
880 * progmodes/prolog.el (end-of-prolog-clause):
881 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
882 * progmodes/icon.el (indent-icon-exp):
883 * progmodes/etags.el (tag-re-match-p):
884 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
885 * progmodes/ebnf2ps.el (ebnf-begin-file):
886 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
887 (dcl-save-local-variable):
888 * play/life.el (life-setup):
889 * play/gametree.el (gametree-looking-at-ply):
890 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
891 * mail/sendmail.el (mail-mode-auto-fill):
892 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
893 * emacs-lisp/edebug.el (edebug-overlay-arrow):
894 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
895 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
896 (woman-tab-to-tab-stop, WoMan-warn-ignored):
897 * type-break.el (type-break-file-keystroke-count):
898 * term.el (term-replace-by-expanded-history-before-point)
899 (term-skip-prompt, term-extract-string):
900 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
901 (speedbar-contract-line, speedbar-toggle-line-expansion)
902 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
903 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
904 * sort.el (sort-skip-fields):
905 * skeleton.el (skeleton-internal-list):
906 * simple.el (line-move-finish, line-move-to-column):
907 * shell.el (shell-forward-command):
908 * misc.el (copy-from-above-command):
909 * makesum.el (double-column):
910 * ebuff-menu.el (electric-buffer-update-highlight):
911 * dired.el (dired-move-to-end-of-filename):
912 * dframe.el (dframe-popup-kludge):
913 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
914 * arc-mode.el (archive-get-lineno):
915 Use line-end-position and line-beginning-position.
917 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
918 (idlwave-study-twins): Prefix dynamic local `class'.
919 (idlwave-routine-twin-compare): Update for above name change.
921 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
922 Use boundp tests to silence compiler. Update for changed name of
923 bytecomp-filename variable.
925 * emulation/viper-cmd.el (viper-read-string-with-history):
926 Prefix dynamic local `initial'.
927 (viper-minibuffer-standard-hook): Update for above name change.
929 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
930 (elint-init-form): Update for above name change.
932 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
933 local variables `cbeg' and `cend' a prefix.
934 (mail-extr-voodoo): Update for above name change.
936 * textmodes/reftex-toc.el (reftex-toc-do-promote)
937 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
938 (reftex-toc-promote-action): Doc fix.
940 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
941 `prompt', `data' a prefix.
942 (reftex-select-post-command-hook, reftex-select-callback)
943 (reftex-select-mouse-accept, reftex-select-read-cite):
944 Update for above name changes.
946 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
947 `refstyle' to reftex-refstyle.
948 (reftex-offer-label-menu): Update for above name change.
949 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
950 `refstyle' name change.
952 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
953 with with-current-buffer.
954 (diff, template): Give dynamic local variables a prefix.
955 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
956 (emerge-line-number-in-buf): Update for above name change.
957 (emerge-combine-versions-internal): Rename local `template' to
958 emerge-combine-template.
959 (emerge-combine-versions-edit): Update for above name change.
961 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
963 * textmodes/reftex-cite.el
964 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
965 entries with whitespace after \bibitem.
966 (reftex-create-bibtex-file): Match entries containing numbers and
967 symbol constituents. Make sure that entries with whitespace at
968 various places are found.
970 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
972 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
974 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
976 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
978 2010-11-05 Glenn Morris <rgm@gnu.org>
980 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
981 (woman2-roff-buffer): Give local variable `request' a prefix.
982 (woman0-macro): Rename argument `request' in the same way.
983 (woman-request): New name for `request' dynamic variable.
984 (woman-unquote, woman-forward-arg): Update for above name change.
985 (woman1-roff-buffer): Give local variable `unquote' a prefix.
986 (woman1-unquote): New name for `unquote' dynamic variable.
987 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
988 (woman-translations): Rename from `translations'. No longer global.
989 (woman2-tr, woman-translate): Update for above name change.
990 (woman-translate): Check for bound variable.
991 (woman2-roff-buffer): Give local variable `translations' a prefix.
993 * play/doctor.el: Give all local variables a prefix. Update callers.
994 (doc$, doctor-put-meaning): Use backquote.
996 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
997 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
999 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1000 variables bytes, ptr, op a prefix.
1001 (disassemble-offset): Update for above change.
1003 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1005 * emacs-lisp/package.el (package-unpack): Remove no-op.
1006 (package--builtins, package--dir): Doc fix.
1007 (package-activate-1, package-activate, package-install)
1008 (package-compute-transaction): Fix error message.
1009 (package-delete): Use delete-directory. Omit system packages.
1010 (package-initialize): Set package-alist to nil first.
1011 (package-menu-mark-delete, package-menu-mark-install): Don't add
1012 symbols that are inconsistent with the package state.
1013 (package-menu-execute): Perform deletions and installations as
1014 single batch operations.
1016 2010-11-03 Glenn Morris <rgm@gnu.org>
1018 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1019 (props): Remove unnecessary declaration.
1021 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1022 set-process-query-on-exit-flag.
1024 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1025 (reftex-toc-do-promote): Remove unused local `mpos'.
1026 (reftex-toc-restore-region): Make `mpos' local to this function.
1028 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1030 * play/landmark.el (lm-losing-threshold): Correct spelling.
1031 (lm-human-plays): Use new name.
1033 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1034 (gomoku-human-plays): Use new name.
1036 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1037 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1038 (gomoku-score-trans-table, gomoku-winning-threshold)
1039 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1041 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1043 * emacs-lisp/package.el: Don't put built-in packages in
1044 package-alist, to avoid loading inefficiencies.
1045 (package-built-in-p): Make VERSION optional, and treat it as a
1046 minimum acceptable version.
1047 (package-activate): Search separately for built-in packages.
1048 Emit a warning if a dependency fails.
1049 (define-package): Handle most common case, where there is no
1050 obsolete package, first.
1051 (package-compute-transaction): Print required version in error.
1052 (package--initialized): New variable.
1053 (list-packages): Use it.
1054 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1055 built-in packages in packages-alist; keep it separate.
1056 Set package--initialized.
1057 (describe-package): Avoid activating packages as a side-effect.
1058 Search separately for built-in packages.
1059 (describe-package-1): Handle the case where an elpa package is
1060 simultaneously built-in and available/installed.
1061 (package-installed-p, package--generate-package-list):
1062 Search separately for built-in packages.
1063 (package-load-descriptor): Doc fix.
1065 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1068 Handle __DATA__ and __END__.
1070 2010-11-02 Noah Friedman <friedman@splode.com>
1072 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1073 nil, do not ask to recompile files that are not already compiled,
1074 and do not recompile them.
1076 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1078 * emacs-lisp/package.el (package-initialize): Ensure that
1079 obsoleted built-in packages are not in package-activated-list
1081 (describe-package-1): Make the "installed" status override
1084 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1086 * subr.el (version-separator, version-regexp-alist): Remove '*'
1088 (version-list-<=, version<=, version=): Doc fix.
1090 2010-11-01 Kenichi Handa <handa@m17n.org>
1092 * faces.el (glyphless-char): Inherit underline for tty.
1094 2010-11-01 Kenichi Handa <handa@m17n.org>
1096 Implement various display methods for glyphless characters.
1098 * international/characters.el (char-acronym-table): New variable.
1099 (glyphless-char-control): New variable.
1100 (update-glyphless-char-display): New funciton.
1102 * faces.el (glyphless-char): New face.
1104 2010-11-01 Glenn Morris <rgm@gnu.org>
1106 * calendar/holidays.el (general-holidays, oriental-holidays)
1107 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1108 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1109 the definitions of their targets.
1111 * emacs-lisp/smie.el (smie): New custom group.
1112 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1114 * faces.el (xw-defined-colors, x-setup-function-keys):
1115 * mouse-sel.el (x-select-text):
1116 * term/w32console.el (x-setup-function-keys): Update declarations.
1118 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1120 * textmodes/ispell.el (comment-add): Declare.
1122 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1125 * info.el (finder-keywords-hash, package-alist): Declare.
1127 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1129 * finder.el (finder-compile-keywords): Don't use intern-soft,
1130 since package names may not yet exist in the obarray.
1132 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1134 * vc/vc-arch.el (vc-arch-checkin):
1135 * vc/vc-cvs.el (vc-cvs-checkin):
1136 * vc/vc-mtn.el (vc-mtn-checkin):
1137 * vc/vc-rcs.el (vc-rcs-checkin):
1138 * vc/vc-sccs.el (vc-sccs-checkin):
1139 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1140 since 2010-04-21 commit by Stefan Monnier.
1142 2010-11-01 Glenn Morris <rgm@gnu.org>
1144 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1146 * startup.el (package-enable-at-startup, package-initialize):
1149 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1152 2010-10-31 Julien Danjou <julien@danjou.info>
1154 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1155 (byte-recompile-directory):
1156 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1157 Use `byte-recompile-file'.
1159 2010-10-31 Glenn Morris <rgm@gnu.org>
1161 * cus-start.el: Handle standard values via a keyword.
1162 Only set version property if specified.
1163 (cursor-in-non-selected-windows, menu-bar-mode)
1164 (tool-bar-mode, show-trailing-whitespace):
1165 Do not specify standard values.
1166 (transient-mark-mode, temporary-file-directory): Use :standard.
1168 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1170 * term/x-win.el (x-get-selection-value): New function that gets
1171 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1173 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1175 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1176 preserve owner and group when editing files. (Bug#7289)
1178 2010-10-31 Glenn Morris <rgm@gnu.org>
1180 * speedbar.el (speedbar-mode):
1181 * play/fortune.el (fortune-in-buffer, fortune):
1182 * play/gomoku.el (gomoku-mode):
1183 * play/landmark.el (lm-mode):
1184 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1185 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1187 * select.el (x-selection): Mark it as an obsolete alias.
1189 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1191 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1192 major-mode (bug#7284).
1194 2010-10-31 Glenn Morris <rgm@gnu.org>
1196 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1197 rather than just an unused variable that inherits from the real one.
1199 2010-10-31 Alan Mackenzie <acm@muc.de>
1201 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1202 This fixes bug #7185.
1204 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1206 * startup.el (command-line): Search for package directories, and
1207 don't load package.el if none are found.
1209 * emacs-lisp/package.el (describe-package, list-packages):
1210 Call package-initialize if it has not been called yet.
1212 2010-10-30 Alan Mackenzie <acm@muc.de>
1214 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1215 which fontifies the tail of an enum.
1216 (c-basic-matchers-after): Insert a call to the above new function.
1217 This fixes bug #7264.
1219 2010-10-30 Glenn Morris <rgm@gnu.org>
1221 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1222 tool-bar-mode, transient-mark-mode. (Bug#7306)
1223 Include the :set property in the dumped Emacs.
1225 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1227 SMIE: change indent rules format, improve smie-setup.
1228 * emacs-lisp/smie.el (smie-precs-precedence-table)
1229 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1230 Mark them pure so the tables gets built at compile time.
1231 (smie-bnf-precedence-table): Store the closer-alist in the table.
1232 (smie-prec2-levels): Preserve the closer-alist.
1233 (smie-blink-matching-open): Be more forgiving in case of indentation.
1234 (smie-hanging-p): Rename from smie-indent--hanging-p.
1235 (smie-bolp): Rename from smie-indent--bolp.
1236 (smie--parent, smie--after): New dynamic vars.
1237 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1238 (smie-indent-rules): Remove.
1239 (smie-indent--offset-rule): Remove fun.
1240 (smie-rules-function): New var.
1241 (smie-indent--rule): New fun.
1242 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1243 (smie-indent-exps): Use it.
1244 (smie-setup): Setup paren blinking; add keyword args for token
1245 functions; extract closer-alist from op-levels.
1246 (smie-indent-debug-log): Remove var.
1247 (smie-indent-debug): Remove fun.
1248 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1249 (prolog-smie-rules): New fun to replace it.
1250 (prolog-mode-variables): Simplify.
1251 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1252 it's setup automatically.
1253 (octave-smie-indent-rules): Remove.
1254 (octave-smie-rules): New fun to replace it.
1255 (octave-mode): Simplify.
1257 2010-10-29 Glenn Morris <rgm@gnu.org>
1259 * files.el (temporary-file-directory): Remove (already defined in C).
1260 * cus-start.el: Add temporary-file-directory.
1262 * abbrev.el (abbrev-mode):
1263 * composite.el (auto-composition-mode):
1264 * menu-bar.el (menu-bar-mode):
1265 * simple.el (transient-mark-mode):
1266 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1267 that they do not define the associated variables twice.
1268 * simple.el (transient-mark-mode): Remove defvar.
1269 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1270 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1271 Handle multiple groups, and also custom-delayed-init-variables.
1272 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1274 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1277 (pcase-if): Add one minor optimization.
1278 (pcase-split-equal): Rename from pcase-split-eq.
1279 (pcase-split-member): Rename from pcase-split-memq.
1280 (pcase-u1): Add strings to the member optimization.
1281 Add `guard' variant of predicates.
1282 (pcase-q1): Add string patterns.
1284 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1288 2010-10-28 Glenn Morris <rgm@gnu.org>
1290 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1291 Move menu-bar related settings to ../menu-bar.el.
1292 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1293 Move ns-specific settings here from term/ns-win.el.
1295 * simple.el (x-selection-owner-p): Remove unused declaration.
1297 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * minibuffer.el (completion-cycling): New var (bug#7266).
1300 (minibuffer-complete, completion--do-completion):
1301 Use completion--flush-all-sorted-completions.
1302 (minibuffer-complete): Only cycle if completion-cycling is set.
1303 (completion--flush-all-sorted-completions): Unset completion-cycling.
1304 (minibuffer-force-complete): Set completion-cycling.
1305 (completion-all-sorted-completions): Move declaration before first use.
1307 2010-10-28 Leo <sdl.web@gmail.com>
1309 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1310 which changes the order of matches seen by users (bug#7231).
1312 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1314 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1315 Don't confuse -omega as "-o mega".
1317 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1320 (log-edit-author): New dynamic var.
1321 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1322 to return the author if different from committer.
1323 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1325 * play/landmark.el: Adjust commenting convention.
1326 (lm-nil-score): Rename from nil-score.
1327 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1328 (OOOOscore): Move into a let in lm-score-trans-table.
1329 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1331 * electric.el (electric-indent-chars): Autoload.
1332 * progmodes/octave-mod.el (octave-mode):
1333 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1334 (ruby-mode-abbrev-table): Merge initialization and declaration.
1336 2010-10-27 Glenn Morris <rgm@gnu.org>
1338 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1341 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1343 * term/ns-win.el: Restore require of cl when compiling.
1344 (menu-bar-final-items): Remove non-existent `windows' menu.
1345 (ns-handle-nxopen): Optionally handle the temp-case.
1346 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1347 (ns-insert-file, ns-find-file): Use `pop'.
1349 2010-10-26 Glenn Morris <rgm@gnu.org>
1351 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1353 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1355 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1357 * term/common-win.el (x-setup-function-keys): Remove most of the
1358 keymappings. Comment on the remaining ones.
1360 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1362 * server.el (server-port): New option. (Bug#854)
1363 (server-start): Use server-port.
1365 2010-10-26 Glenn Morris <rgm@gnu.org>
1367 * term/ns-win.el (ns-version-string): Remove unused declaration.
1368 (ns-invocation-args): Change to x-invocation-args.
1369 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1370 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1371 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1372 Use x-invocation-args instead of ns-invocation-args.
1373 (ns-initialize-window-system, handle-args-function-alist):
1374 Use x-handle-args instead of ns-handle-args.
1375 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1376 * startup.el (command-line-ns-option-alist): Replace
1377 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1378 ns-handle-iconic with the x- equivalents.
1380 * term/common-win.el (x-select-enable-clipboard):
1381 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1383 * term/ns-win.el: No need to require cl when compiling.
1384 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1385 (xw-defined-colors): Use the common-win definitions.
1386 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1387 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1388 * term/common-win.el (x-select-text, x-alternatives-map)
1389 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1390 * loadup.el [ns]: Load common-win.
1392 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1394 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1395 recipients; expand mail aliases (Bug#7280).
1397 2010-10-25 Glenn Morris <rgm@gnu.org>
1399 * term/common-win.el (x-handle-switch): Simplify with pop.
1400 Optionally handle numeric switches.
1401 (x-handle-numeric-switch): Just call x-handle-switch.
1402 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1403 (x-handle-name-switch, x-handle-display, x-handle-args):
1406 * term/ns-win.el: Do not require easymenu.
1407 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1408 <spell>: Move adjustments to menu-bar.el.
1409 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1410 <separator-undo, spell>: Move ns-win's adjustments here.
1411 * loadup.el [ns]: Do not load easymenu.
1413 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1415 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1418 * startup.el (fancy-startup-tail): Instead of using inline images,
1419 refer to image files from etc/.
1421 * wid-edit.el (checkbox): Likewise.
1422 (widget-image-find): Center image specs.
1424 2010-10-24 Glenn Morris <rgm@gnu.org>
1426 * term/ns-win.el (x-select-text): Doc fix.
1427 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1428 (x-select-text): Move to term/common-win.
1429 * term/w32-win.el (xw-defined-colors): Move to common-win.
1430 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1431 (x-setup-function-keys, x-select-text): Move to common-win.
1432 * term/common-win.el (x-select-text, x-alternatives-map)
1433 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1436 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1438 * net/mairix.el (mairix-searches-mode-map):
1439 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1441 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1443 * verilog-mode.el (verilog-directive-re): Make this variable
1444 auto-built for efficiency of execution and updating.
1445 (verilog-extended-complete-re): Support 'pure' fucntion & task
1446 declarations (these have no bodies).
1447 (verilog-beg-of-statement): General cleanup to enable support of
1448 'pure' fucntion & task declarations (these have no bodies).
1449 These efforts together fix Verilog bug210 from veripool; which was also
1450 noticed by Steve Pearlmutter.
1451 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1452 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1453 Support `elsif. Reported by Shankar Giri.
1454 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1455 attribute handling for lining up declarations and assignments.
1456 (verilog-beg-of-statement-1): Fix issue where continued declaration
1457 is indented differently if it is after a begin..end clock.
1458 (verilog-in-attribute-p, verilog-skip-backward-comments)
1459 (verilog-skip-forward-comment-p): Support proper treatment of
1460 attributes by indent code. Reported by Jeff Steele.
1461 (verilog-in-directive-p): Fix comment to correctly describe function.
1462 (verilog-backward-up-list, verilog-in-struct-region-p)
1463 (verilog-backward-token, verilog-in-struct-p)
1464 (verilog-in-coverage-p, verilog-do-indent)
1465 (verilog-pretty-declarations): Use verilog-backward-up-list as
1466 wrapper around backward-up-list inorder to properly skip comments.
1467 Reported by David Rogoff.
1468 (verilog-property-re, verilog-endcomment-reason-re)
1469 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1470 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1471 of if). Reported by Max Bjurling and
1472 (verilog-calc-1): Fix for clocking block in modport
1473 declaration. Reported by Brian Hunter.
1475 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1477 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1478 (verilog-gate-keywords, verilog-read-sub-decls)
1479 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1480 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1481 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1482 (verilog-read-decls): Fix spaces in V2K module parameters causing
1483 mis-identification as interfaces, bug287.
1484 (verilog-read-decls): Fix not treating "parameter string" as a
1485 parameter in AUTOINSTPARAM.
1486 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1487 treating `elsif similar to `endif inside AUTOSENSE.
1488 (verilog-do-indent): Implement correct automatic or static task or
1489 function end comment highlight. Reported by Steve Pearlmutter.
1490 (verilog-font-lock-keywords-2): Fix highlighting of single
1491 character pins, bug264. Reported by Michael Laajanen.
1492 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1493 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1494 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1495 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1496 (verilog-pretty-expr): Fix interactive arguments, bug272.
1497 Reported by Mark Johnson.
1498 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1499 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1500 bug269. Suggested by Gary Delp.
1501 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1502 (verilog-preprocessor, verilog-set-compile-command):
1503 Create verilog-preprocess and verilog-preprocessor to show
1504 preprocessed output.
1505 (verilog-get-beg-of-line, verilog-get-end-of-line)
1506 (verilog-modi-file-or-buffer, verilog-modi-name)
1507 (verilog-modi-point, verilog-within-string): Move defmacro's
1508 before first use to avoid warning. Reported by Steve Pearlmutter.
1509 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1510 (verilog-colorize-region, verilog-highlight-buffer)
1511 (verilog-highlight-includes, verilog-highlight-modules)
1512 (verilog-highlight-region, verilog-mode): Rename colorize to
1513 highlight to match other packages. Disable module highlighting,
1514 as received speed complaints, reenable for experimentation only
1515 using new verilog-highlight-modules.
1516 (verilog-read-decls): Fix regexp stack overflow in very large
1517 AUTO_TEMPLATEs, bug250.
1518 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1519 (verilog-scan): Create verilog-save-buffer-state to standardize
1520 making insignificant changes that shouldn't call hooks.
1521 (verilog-save-no-change-functions, verilog-save-scan-cache)
1522 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1523 Create verilog-save-no-change-functions to wrap verilog-scan
1524 preservation, and fix to work with nested preserved calls.
1525 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1526 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1527 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1528 (verilog-submit-bug-report): Update variable list to be complete.
1529 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1530 breaking on-the-fly font-locking.
1531 (verilog-colorize-buffer, verilog-colorize-include-files)
1532 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1533 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1534 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1535 AUTOINST cell instance name, middle mouse button now finds-file on
1536 it. Suggested by Brad Dobbie.
1537 (verilog-alw-get-temps, verilog-auto-reset)
1538 (verilog-auto-sense-sigs, verilog-read-always-signals)
1539 (verilog-read-always-signals-recurse): Fix loop indexes being
1540 AUTORESET. AUTORESET now assumes any variables in the
1541 initialization section of a for() should be ignored.
1542 Reported by Dan Dever.
1543 (verilog-error-font-lock-keywords)
1544 (verilog-error-regexp-emacs-alist)
1545 (verilog-error-regexp-xemacs-alist): Fix error detection of
1546 Cadence HAL, reported by David Asher. Repair drift between the
1547 three similar error variables.
1548 (verilog-modi-lookup, verilog-modi-lookup-cache)
1549 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1550 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1551 Fix slow verilog-auto expansion on very large files.
1552 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1553 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1554 "{1*2{...". Broke in last revision.
1555 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1556 submodule connections with replications "{#{a},#{b}}".
1558 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1560 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1561 Fix typo in docstring.
1563 2010-10-24 Kenichi Handa <handa@m17n.org>
1565 * face-remap.el (text-scale-adjust): Call read-event with a proper
1568 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1570 * emacs-lisp/unsafep.el: Don't mark functions that display
1571 messages as safe. Suggested by Johan Bockgård.
1573 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1576 Turn comments into docstrings.
1578 * minibuffer.el (completion--replace): Move point where it belongs
1579 when there's a common suffix (bug#7215).
1581 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1583 Merge read-color and facemenu-read-color (Bug#7242).
1585 * faces.el (read-color): Use the completion code from
1586 facemenu-read-color. Require match in completion. Doc fix.
1588 * facemenu.el (facemenu-read-color): Alias for read-color.
1589 (facemenu-set-foreground, facemenu-set-background):
1592 * frame.el (set-background-color, set-foreground-color)
1593 (set-cursor-color, set-mouse-color, set-border-color):
1596 2010-10-24 Leo <sdl.web@gmail.com>
1598 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1599 argument of delete-file and delete-directory (Bug#7011).
1601 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1603 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1606 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1608 * emacs-lisp/package.el (package--generate-package-list): Make the
1609 *Packages* buffer read-only.
1611 2010-10-24 Alan Mackenzie <acm@muc.de>
1613 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1614 result of `c-beginning-of-decl-1' between invocations of a lambda
1615 function (Bug #7265).
1617 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1619 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1620 executable is not available on the system (Bug#7268).
1622 2010-10-24 Glenn Morris <rgm@gnu.org>
1624 * select.el (selection-coding-system, next-selection-coding-system):
1625 Sync doc with C versions.
1627 * w32-vars.el (x-select-enable-clipboard):
1628 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1629 * term/common-win.el (x-select-enable-clipboard): Move here.
1631 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1632 definition of C variable.
1634 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1635 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1636 Don't redefine things that are defined in C.
1637 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1638 (show-trailing-whitespace, auto-hscroll-mode)
1639 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1640 Set up the appropriate custom properties.
1642 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1645 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1646 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1647 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1648 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1650 2010-10-23 Glenn Morris <rgm@gnu.org>
1652 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1655 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1656 Sync docs with C version.
1658 * term/ns-win.el (xw-defined-colors):
1659 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1661 * term/pc-win.el (x-select-enable-clipboard):
1662 * term/x-win.el (x-select-enable-clipboard):
1663 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1665 * comint.el (comint-password-prompt-regexp): Make it less vague.
1668 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1670 * help.el (finder-by-keyword): Remove unnecessary autoload.
1672 2010-10-22 Glenn Morris <rgm@gnu.org>
1674 * loadup.el: Unconditionally load float-sup.
1675 * paren.el (show-paren-delay):
1676 * emacs-lisp/float-sup.el:
1677 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1678 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1679 (lazy-lock-stealth-verbose): Assume float support.
1680 * ps-print.el: Assume float support on Emacs.
1681 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1682 Remove non-float branch.
1684 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1685 src/Makefile no longer being pre-processed.
1687 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * emacs-lisp/find-func.el (find-library): Use test-completion.
1691 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1693 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1695 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
1697 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1698 space in stat format string.
1699 (tramp-send-command): Unset $PS1 when using here documents, in
1700 order not to get several prompts.
1701 (tramp-get-inline-coding): Return `nil' in case of errors.
1703 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1705 * hexl.el (hexl-mode, hexl-mode-exit):
1706 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1707 (hexl-revert-buffer-function): New function.
1708 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1710 2010-10-19 Alan Mackenzie <acm@muc.de>
1712 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1713 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1714 that these keywords aren't wrongly matched as identifiers.
1716 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1717 setting of c-new-BEG and c-new-END from c-before-change to
1718 c-after-change. (Bug#7181)
1720 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1722 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1725 * custom.el (custom-theme-set-variables): Likewise.
1726 (load-theme): Add custom-theme-set-faces and
1727 custom-theme-set-variables to safe-functions while loading.
1728 (custom-enabled-themes): Mark as risky.
1730 2010-10-18 Julien Danjou <julien@danjou.info>
1732 * bindings.el: Remove end dashes in default mode-line-format.
1734 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1736 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1737 to delete-forward-char.
1739 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1740 deletechar, and hence delete-forward-char.
1742 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * repeat.el (repeat): Use read-key (bug#6256).
1746 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1748 * emacs-lisp/unsafep.el: Don't mark functions that display
1749 messages as safe. Suggested by Johan Bockgård.
1751 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * minibuffer.el (completion--replace): Move point where it belongs
1754 when there's a common suffix (bug#7215).
1756 2010-10-19 Kenichi Handa <handa@m17n.org>
1758 * international/characters.el: Add category '|' (word breakable)
1759 to fullwidth characters.
1761 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1763 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1764 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1765 order to make stat results a float. Patch by Andreas Schwab
1766 <schwab@linux-m68k.org>.
1768 2010-10-18 Julien Danjou <julien@danjou.info>
1770 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1771 hidden by `make-pointer-invisible'.
1773 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * files.el (locate-file-completion-table): Strip non-matching elements
1776 before checking length of list (bug#7238).
1778 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1780 * custom.el (custom-theme-set-variables): Mark as a safe function.
1781 (load-theme): Check forms using unsafep.
1783 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1785 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1787 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1788 Fix aspell data file searching (bug#7230).
1790 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1792 * cus-theme.el (custom-theme--migrate-settings): New var.
1793 (customize-create-theme): Allow editing the `user' theme.
1794 (custom-theme-add-variable, custom-theme-add-var-1)
1795 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1796 to the front of each variable or face widget.
1797 (custom-theme-write): Save theme settings in the correct order.
1798 Optionally, remove saved settings from user customizations.
1799 (custom-theme-write-variables, custom-theme-write-faces):
1800 Save only the checked widgets.
1801 (customize-themes): Add a link for migrating custom settings.
1803 * custom.el (custom-declare-theme, provide-theme):
1804 Use custom-theme-name-valid-p.
1805 (custom-theme-name-valid-p): Remove checks that are now
1806 unnecessary since themes no longer obey load-path.
1808 * cus-edit.el (custom-variable-value-create): For the simple
1809 style, hide documentation string when hidden.
1811 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1813 * cus-edit.el (custom-variable, custom-face): Combine the
1814 :inhibit-magic and :display-style properties into a single
1815 :custom-style property.
1816 (custom-toggle-hide-variable, custom-toggle-hide-face):
1817 New functions. If hiding an edited value, save it to :shown-value.
1818 (custom-variable-value-create, custom-face-value-create): Use them.
1819 (custom-magic-reset): Allow magic property to be unset.
1821 * custom.el: Custom themes no longer use load-path.
1822 (custom-theme-load-path): New option. Change built-in theme
1824 (custom-enabled-themes): Add custom-theme-load-path dependency.
1825 (custom-theme--load-path): New function.
1826 (load-theme, custom-available-themes): Use it.
1828 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1829 (customize-themes): Link to custom-theme-load-path variable.
1830 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1831 :custom-style property.
1833 * themes/*.el: Moved to etc/.
1835 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1837 * textmodes/reftex-cite.el
1838 (reftex-extract-bib-entries-from-thebibliography): Do not move
1839 point when searching for \bibitem entries. Match entries with
1840 spaces or tabs in front of arguments.
1842 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1844 * cus-theme.el (customize-create-theme): Delete overlays after
1845 erasing. If given a THEME arg, display only the faces of that arg
1846 instead of custom-theme--listed-faces.
1847 (custom-theme-variable-menu, custom-theme-variable-action)
1848 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1849 (custom-theme-add-variable, custom-theme-add-face): Apply value
1850 from the theme settings, instead of the current value.
1851 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1852 (custom-theme-visit-theme): Allow calling outside theme buffers.
1853 (custom-theme-merge-theme): Don't enable the theme when merging.
1854 (custom-theme-write-variables, custom-theme-write-faces): Use the
1855 :shown-value properties to save buffer values, not global ones.
1856 (customize-themes): Display a warning about user customizations.
1858 * cus-edit.el (custom-variable-value-create)
1859 (custom-face-value-create): Obey new special properties
1860 :shown-value and :inhibit-magic.
1862 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1864 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1865 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1868 2010-10-14 Kenichi Handa <handa@m17n.org>
1870 * mail/rmail.el (rmail-show-message-1): Catch an error of
1871 base64-decode-region and just show an error message (bug#7165).
1873 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1874 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1875 a font-spec (bug#7197).
1877 2010-10-14 Glenn Morris <rgm@gnu.org>
1879 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1881 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1883 * international/mule.el (define-coding-system):
1884 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1885 * composite.el (compose-region): Fix typo in docstring.
1887 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1889 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1890 only after checking the theme-face property.
1892 * faces.el (face-spec-reset-face): Reset all attributes in one
1893 single call to set-face-attribute.
1894 (face-spec-match-p): Make it a defsubst.
1895 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1896 (x-create-frame-with-faces, tty-create-frame-with-faces)
1897 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1898 frame-set-background-mode, since they are recomputed immediately
1899 afterwards in face-set-after-frame-default.
1900 (face-set-after-frame-default): Minor optimization.
1901 (cursor): Provide non-trivial defface spec.
1903 * custom.el (custom-theme-recalc-face): Simplify.
1905 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1907 * calc/calc-alg.el (math-var): Rename from `var'.
1908 (math-is-polynomial, math-is-poly-rec): Replace `var'
1911 * calc/calcalg2.el (math-var): Rename from `var'.
1912 (calcFunc-table, math-scan-for-limits): Replace `var'
1915 2010-10-13 Glenn Morris <rgm@gnu.org>
1917 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1919 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1921 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1923 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1925 * net/tls.el (tls-program): Remove spurious %s from openssl.
1926 (tls-starttls-switches): Remove starttls hack.
1927 (open-tls-stream): Ditto.
1928 (tls-find-starttls-argument): Ditto.
1930 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1932 * image.el (image-library-alist): Declare as obsolete alias.
1933 (image-type-available-p): Use `dynamic-library-alist'.
1935 * term/w32-win.el (dynamic-library-alist):
1936 Use instead of `image-library-alist'.
1938 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1940 * subr.el (last): Make it faster. (Bug#7174)
1942 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1944 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1946 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1948 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1949 (describe-theme-1): Extract doc from unloaded themes.
1951 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1953 * themes/tango-theme.el:
1954 * themes/tango-dark-theme.el:
1955 * themes/wheatgrass-theme.el: New files.
1957 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1959 * cus-theme.el (describe-theme, customize-themes)
1960 (custom-theme-save): New commands.
1961 (custom-new-theme-mode-map): Bind C-x C-s.
1962 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1963 (customize-create-theme): New optional arg THEME.
1964 (custom-theme-revert): Use it.
1965 (custom-theme-visit-theme): Remove dead code.
1966 (custom-theme-merge-theme): Use custom-available-themes.
1967 (custom-theme-write): Make interactive.
1968 (custom-theme-write): Use custom-theme-name-valid-p.
1969 (describe-theme-1, custom-theme-choose-revert)
1970 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1972 (custom-theme-allow-multiple-selections): New option.
1973 (custom-theme-choose-mode): New major mode.
1975 * custom.el (custom-theme-set-variables): Remove dead code.
1976 Obey custom--inhibit-theme-enable.
1977 (custom--inhibit-theme-enable): New var.
1978 (provide-theme): Obey it.
1979 (load-theme): Replace load with manual read/eval, in order to
1980 check for correctness. Use custom-theme-name-valid-p.
1981 (custom-theme-name-valid-p): New function.
1982 (custom-available-themes): Use it.
1984 * cus-edit.el (custom--initialize-widget-variables): New function.
1985 (Custom-mode): Use it.
1987 * cus-face.el (custom-theme-set-faces): Remove dead code.
1988 Obey custom--inhibit-theme-enable.
1990 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1992 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1994 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1996 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1998 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1999 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2000 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2002 * cus-start.el (all): ns-right-alternate-modifier is new.
2004 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * emacs-lisp/lisp.el (lisp-completion-at-point):
2007 Use emacs-lisp-mode-syntax-table for the whole function.
2009 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2011 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2012 instead of font-lock-mode before adding keywords.
2013 Remove hi-lock-mode off code. Remove inhibit hack.
2014 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2015 non-nil; removed hook inhibit hack.
2017 2010-10-12 Glenn Morris <rgm@gnu.org>
2019 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2020 (load-path-shadows-find): ... to this.
2021 (list-load-path-shadows): Update for above change.
2023 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2025 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2027 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2028 Fix comment for declare-function.
2030 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2032 * custom.el (custom-fix-face-spec): New function; code moved from
2033 custom-face-edit-fix-value.
2034 (custom-push-theme): Use it when checking if a face has been
2035 changed outside customize.
2036 (custom-available-themes): New function.
2037 (load-theme): Use it.
2039 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2041 * custom.el (custom-push-theme): Cleanup (use cond).
2042 (disable-theme): Recompute the saved-face property.
2043 (custom-theme-recalc-face): Follow face alias before setting prop.
2045 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2046 New variables, containing checkbox images.
2048 * startup.el (fancy-startup-tail):
2049 * wid-edit.el (checkbox): Use them.
2051 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2053 * shell.el (shell-mode-map):
2054 * progmodes/modula2.el (m2-mode-map):
2055 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2056 * play/mpuz.el (mpuz-mode-map):
2057 * play/landmark.el (lm-mode-map):
2058 * play/decipher.el (decipher-mode-map):
2059 * play/5x5.el (5x5-mode-map):
2060 * net/telnet.el (telnet-mode-map):
2061 * net/quickurl.el (quickurl-list-mode-map):
2062 * net/mairix.el (mairix-searches-mode-map):
2063 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2064 * net/dig.el (dig-mode-map):
2065 * mail/mspools.el (mspools-mode-map):
2066 * hexl.el (hexl-mode-map):
2067 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2068 (wordstar-C-o-map, wordstar-C-q-map):
2069 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2070 * emacs-lisp/chart.el (chart-map):
2071 * edmacro.el (edmacro-mode-map):
2072 * erc/erc-list.el (erc-list-menu-mode-map):
2073 * array.el (array-mode-map): Declare and define in one step.
2075 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2077 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2079 * epa.el (epa-passphrase-callback-function): Display filename
2080 passed as the 3rd arg.
2081 * epa-file.el (epa-file-passphrase-callback-function):
2082 Pass filename to epa-passphrase-callback-function.
2084 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2086 * cus-edit.el (custom-face-widget-to-spec)
2087 (custom-face-get-current-spec, custom-face-state): New functions.
2088 (custom-face-set, custom-face-mark-to-save)
2089 (custom-face-value-create, custom-face-state-set): Use them.
2091 * cus-theme.el (custom-theme--listed-faces): New var.
2092 (customize-create-theme): Use *Custom Theme* as the buffer name.
2093 Set revert-buffer-function. Optional arg BUFFER. Insert all
2094 faces listed in custom-theme--listed-faces.
2095 (custom-theme-revert): New function.
2096 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2098 (custom-theme-write): Prompt for theme name if empty.
2099 (custom-theme-write-variables): Use dolist.
2100 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2102 2010-10-09 Alan Mackenzie <acm@muc.de>
2104 Enhance fontification of declarators to take account of the
2105 presence/absence of "typedef".
2107 * cc-engine.el (c-forward-type): New &optional param
2109 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2110 presence of either or both of a "struct"-like keyword and "typedef".
2112 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2113 fontification of declarators which follow a "}".
2114 (c-font-lock-declarations): Fontify declarators according to the
2115 presence/absence of "typedef".
2117 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2119 (c-typedef-decl-key): New lang variable built from
2120 c-typedef-decl-kwds.
2122 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2124 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2125 since that's too annoying. Move the filter groups commands to
2128 * epa.el (epa-passphrase-callback-function): Say what we're
2129 querying the password for.
2131 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2132 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2134 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2136 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2137 (custom-magic-value-create): Pad button tags with spaces.
2138 (custom-face-edit): New variable.
2139 (custom-face-value-create): Determine whether to use the usual
2140 face editor here, instead of using custom-face-selected.
2141 Pass face defaults to custom-face-edit widget.
2142 (custom-face-selected, custom-display-unselected): Delete widgets.
2143 (custom-display-unselected-match): Function removed.
2144 (custom-face-set, custom-face-mark-to-save):
2145 Accept custom-face-edit widgets as the direct widget child.
2147 * wid-edit.el (widget--completing-widget): New var.
2148 (widget-default-complete): Bind it when doing completion.
2149 (widget-string-complete, widget-file-complete): Use it.
2151 2010-10-09 Glenn Morris <rgm@gnu.org>
2153 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2154 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2155 (holiday-hebrew-misc): Small simplifications.
2157 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2159 * net/browse-url.el: Don't require thingatpt, term, dired,
2160 executable, or w3-auto when compiling.
2161 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2163 (browse-url-text-emacs): Require term.
2165 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2167 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2169 2010-10-08 Glenn Morris <rgm@gnu.org>
2171 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2173 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2174 (shadows-compare-text-p): Make it an obsolete alias for...
2175 (load-path-shadows-compare-text): ... new name.
2176 (find-emacs-lisp-shadows): Update for above name change.
2177 (load-path-shadows-same-file-or-nonexistent): New name for the old
2178 shadow-same-file-or-nonexistent.
2180 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2182 * minibuffer.el (completion--some, completion--do-completion)
2183 (minibuffer-complete-and-exit, minibuffer-completion-help)
2184 (completion-basic-try-completion)
2185 (completion-basic-all-completions)
2186 (completion-pcm--find-all-completions): Use lexical-let to
2187 avoid some false matches in variable completion (Bug#7056)
2189 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2191 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2193 2010-10-08 Leo <sdl.web@gmail.com>
2195 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2196 return non-nil if the file exists (Bug#7090).
2198 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * minibuffer.el (completion--replace):
2201 Better preserve markers (bug#7138).
2203 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2205 * server.el (server-process-filter): Doc fix.
2207 2010-10-08 Drew Adams <drew.adams@oracle.com>
2209 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2211 2010-10-08 Glenn Morris <rgm@gnu.org>
2213 * vc/ediff-wind.el (ediff-setup-control-frame):
2214 * vc/ediff-ptch.el (ediff-default-backup-extension):
2215 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2216 (ediff-exec-process): Remove system-types emx, windows-95.
2218 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2220 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2222 * cus-edit.el (custom-variable, custom-face): Doc fix.
2223 (custom-face-edit): Add value-create attribute.
2224 (custom-face-edit-value-create)
2225 (custom-face-edit-value-visibility-action): New functions.
2226 Hide unused face attributes by default, and add a visibility toggle.
2227 (custom-face-edit-deactivate): Show empty values with shadow face.
2228 (custom-face-selected): Only use this for face specs with default
2230 (custom-face-value-create): Cleanup.
2232 * wid-edit.el (widget-checklist-value-create): Use dolist.
2233 (widget-checklist-match-find): Make second arg optional.
2235 2010-10-07 Glenn Morris <rgm@gnu.org>
2237 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2240 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2241 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2242 load-path-shadows-mode, update references.
2243 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2244 Rename variable and button.
2245 (list-load-path-shadows): Update button caller.
2247 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2250 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2251 (smie-merge-prec2s): Handle those new entries.
2252 (smie-prec2-levels): Only set precedence to nil for actual
2254 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2255 that is now unnecessary.
2257 2010-10-07 Miles Bader <miles@gnu.org>
2259 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2261 2010-10-07 Glenn Morris <rgm@gnu.org>
2263 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2264 (mail-position-on-field): Remove declarations.
2265 (mail-position-on-field): Autoload it.
2266 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2267 and mail-header-end. Don't require sendmail.
2269 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2270 (shadow-mode): New mode.
2271 (shadow-find-file): New button.
2272 (list-load-path-shadows): Use shadow-mode and buttons.
2274 * iimage.el (iimage-version): Remove.
2275 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2276 Turn into defcustoms.
2277 (iimage-mode-map): Give it a doc string.
2279 * calendar/appt.el (appt-activate): Give a warning rather than an error
2280 if there is no diary-file.
2282 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2284 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2285 Use `tramp-handle-find-backup-file-name'.
2287 2010-10-06 Glenn Morris <rgm@gnu.org>
2289 * font-core.el (font-lock-defaults-alist): Remove variable.
2290 (font-lock-mode): Doc fix.
2291 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2292 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2293 (font-lock-set-defaults): Doc fix.
2294 Do not consult font-lock-defaults-alist.
2296 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2298 * emacs-lisp/cl.el: No longer provide cl-19.
2300 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2302 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2303 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2304 New defuns, taken from tramp-smb.el.
2305 (tramp-coding-system-change-eol-conversion)
2306 (tramp-set-process-query-on-exit-flag): Remove.
2308 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2309 (tramp-compat-coding-system-change-eol-conversion)
2310 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2313 * net/tramp-gvfs.el:
2314 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2315 by `tramp-compat-set-process-query-on-exit-flag'.
2317 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2318 Use `tramp-handle-directory-files-and-attributes',
2319 `tramp-handle-file-exists-p' and
2320 `tramp-handle-file-newer-than-file-p'.
2321 (tramp-imap-handle-file-exists-p)
2322 (tramp-imap-handle-file-executable-p)
2323 (tramp-imap-handle-file-readable-p)
2324 (tramp-imap-handle-directory-files-and-attributes)
2325 (tramp-imap-handle-file-newer-than-file-p): Remove.
2327 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2328 by `tramp-compat-set-process-query-on-exit-flag' and
2329 `tramp-coding-system-change-eol-conversion' by
2330 `tramp-compat-coding-system-change-eol-conversion'.
2332 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2333 Use `tramp-handle-directory-files-and-attributes',
2334 `tramp-handle-file-exists-p' and
2335 `tramp-handle-file-newer-than-file-p'.
2336 (tramp-smb-handle-directory-files-and-attributes)
2337 (tramp-smb-handle-file-exists-p)
2338 (tramp-smb-handle-file-newer-than-file-p): Remove.
2339 (tramp-smb-maybe-open-connection):
2340 Replace `tramp-set-process-query-on-exit-flag' by
2341 `tramp-compat-set-process-query-on-exit-flag'.
2343 2010-10-05 Glenn Morris <rgm@gnu.org>
2345 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2347 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2349 Continue reorganization of load dependencies. (Bug#7156)
2351 * net/tramp.el (tramp-handle-file-local-copy-hook)
2352 (tramp-delete-temp-file-function): Move down.
2353 (tramp-exists-file-name-handler): Move up.
2354 (tramp-register-file-name-handlers): Simplify autoload.
2355 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2356 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2357 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2358 (tramp-handle-file-name-completion)
2359 (tramp-handle-file-name-directory)
2360 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2361 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2362 (tramp-handle-find-backup-file-name)
2363 (tramp-handle-insert-file-contents, tramp-handle-load)
2364 (tramp-handle-substitute-in-file-name)
2365 (tramp-handle-unhandled-file-name-directory)
2366 (tramp-mode-string-to-int, tramp-local-host-p)
2367 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2369 * net/tramp-gvfs.el (top):
2370 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2372 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2373 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2375 2010-10-04 Glenn Morris <rgm@gnu.org>
2377 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2378 (appt-activate): Give status messages.
2380 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2382 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2383 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2384 `gnutls-negotiate' (formerly `starttls-negotiate').
2385 Remove trivial wrapper `starttls-open-stream'.
2387 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2389 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2390 log-outgoing commands.
2391 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2392 to create a buffer local revert-buffer-function variable.
2393 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2394 revert-buffer-function lambda.
2396 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2398 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2399 `gnutls-boot'. Make TYPE the only required parameter.
2400 Allow TRUSTFILES and KEYFILES to be lists.
2401 (open-ssl-stream): Use it.
2403 2010-10-03 Glenn Morris <rgm@gnu.org>
2405 * subr.el (directory-sep-char): Remove obsolete variable.
2406 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2409 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2410 * vc/vc.el (vc-static-header-alist): Doc fix.
2411 * vc/vc-cvs.el (vc-cvs-header):
2412 * vc/vc-rcs.el (vc-rcs-header):
2413 * vc/vc-sccs.el (vc-sccs-header):
2414 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2415 * obsolete/vc-mcvs.el (vc-mcvs-header):
2416 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2419 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2421 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2422 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2424 2010-10-03 Glenn Morris <rgm@gnu.org>
2426 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2428 * textmodes/rst.el (rst-font-lock-keywords-function):
2431 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2433 * printing.el: Drop Emacs 20 code.
2435 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2436 without having used appt.el already).
2438 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2439 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2440 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2442 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2443 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2445 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2446 (charset-width, find-charset-region, chars-in-region, forward-point)
2447 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2448 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2449 Remove compatibility cruft (none of these are used by ps*.el).
2451 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2453 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2455 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2457 * server.el (server-process-filter, server-return-error):
2458 Give emacsclient time to shut down after receiving an error string.
2460 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2462 * files.el (remote-file-name-inhibit-cache): New defcustom.
2464 * time.el (display-time-file-nonempty-p):
2465 Use `remote-file-name-inhibit-cache'.
2467 * net/tramp.el (tramp-completion-reread-directory-timeout):
2470 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2471 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2472 `remote-file-name-inhibit-cache'. Check also for an integer
2473 value. Add/increase counter when `tramp-verbose' >= 10.
2474 (tramp-set-file-property): Add/increase counter when
2475 `tramp-verbose' >= 10.
2477 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2478 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2479 (tramp-bug): Set tramp-autoload cookie. Report all interned
2480 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2481 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2482 characters only in strings.
2484 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2485 to backward compatibility.
2487 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2488 (tramp-handle-file-name-all-completions)
2489 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2490 (tramp-open-connection-setup-interactive-shell):
2491 Call `tramp-cleanup-connection' directly.
2493 2010-10-02 Glenn Morris <rgm@gnu.org>
2495 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2497 * subr.el (char-bytes): Remove obsolete function.
2499 * isearch.el (isearch-return-char): Remove obsolete function.
2501 * mouse.el: No longer provide mldrag.
2502 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2503 Remove obsolete aliases.
2505 * comint.el (comint-kill-output): Remove obsolete alias.
2507 * composite.el (decompose-composite-char): Remove obsolete function.
2508 * ps-def.el (decompose-composite-char): Remove unused function.
2510 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2512 * outline.el (outline-visible): Remove obsolete function.
2514 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2515 * faces.el (internal-find-face, internal-get-face)
2516 (frame-update-faces, frame-update-face-colors)
2517 (x-frob-font-weight, x-frob-font-slant)
2518 (internal-frob-font-weight, internal-frob-font-slant)
2519 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2520 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2521 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2523 * emulation/viper-util.el (viper-get-face):
2524 * obsolete/lucid.el (find-face, get-face): Use facep.
2525 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2526 Remove unused functions.
2527 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2529 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2530 delete tempfile if interrupted during compilation.
2532 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2534 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2536 (tls-program): Add --insecure to be consistent with the defaults from
2537 openssl s_client. Now all three commands are insecure.
2539 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2541 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2542 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2543 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2545 2010-10-01 Glenn Morris <rgm@gnu.org>
2547 * obsolete/sc.el: Remove file.
2549 * files.el (temporary-file-directory): On darwin, also try
2550 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2552 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2554 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2555 Let's not break compatibility gratuitously, shall we?
2557 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2559 * net/tls.el (tls-starttls-switches): New variable.
2560 (tls-find-starttls-argument): Use it.
2561 (open-tls-stream): Ditto.
2563 * net/netrc.el (netrc-credentials): Return the value of the "default"
2565 (netrc-machine): Ditto.
2567 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2569 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2571 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2573 * server.el (server-start): Don't write pid to the authentication file.
2574 (server-create-tty-frame): Don't send pid.
2575 (server-process-filter): Send pid at the start of every connection.
2577 2010-09-30 Glenn Morris <rgm@gnu.org>
2579 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2580 (show-all-diary-entries): Remove obsolete function aliases.
2582 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2583 Remove options, obsolete since 22.1.
2584 (appt-display-format, appt-display-message):
2585 Remove backwards-compatibility code.
2586 (appt-check): No longer check appt-issue-message.
2587 (appt-make-list): No longer autoload it. Doc fix. No longer
2588 activate the package.
2590 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2592 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2593 (starttls-negotiate): Just call boot, and let the handshake be
2594 triggered from the read loop.
2596 2010-09-29 Glenn Morris <rgm@gnu.org>
2598 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2599 not displaying the diary.
2600 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2601 * calendar/appt.el (appt-check): No longer need to kill diary.
2603 * calendar/diary-lib.el (diary-list-entries): Move the
2604 "Preparing..." message entirely here.
2605 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2606 messages to diary-list-entries.
2607 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2608 diary-display-function.
2610 * calendar/diary-lib.el (diary-include-other-diary-files):
2611 Trap some recursive includes.
2613 * calendar/appt.el (appt-activate): Check diary file.
2615 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2617 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2620 * calendar/time-date.el: No need to require cl for Emacs 21.
2622 2010-09-28 Glenn Morris <rgm@gnu.org>
2624 * calendar/appt.el (appt-check): Minor simplification.
2626 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2628 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2631 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2633 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2634 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2636 2010-09-27 Kenichi Handa <handa@m17n.org>
2638 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2641 2010-09-27 Kenichi Handa <handa@m17n.org>
2643 * international/mule.el (define-coding-system): Docstring fixed.
2645 * international/mule-diag.el (describe-character-set): Use princ
2646 with proper print-length and print-level instead of insert.
2648 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2650 * window.el (walk-windows): Doc fix (bug#7105).
2652 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * emacs-lisp/float-sup.el (e): Remove.
2656 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2658 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2660 (starttls-negotiate): Use it.
2662 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2664 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2667 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2669 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2671 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2673 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2675 * net/netrc.el (netrc-store-data): New function.
2677 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2679 * net/gnutls.el: GnuTLS glue code to set up a connection.
2681 2010-09-25 Julien Danjou <julien@danjou.info>
2683 * notifications.el: Call dbus-register-signal only if it is bound.
2685 2010-09-25 Glenn Morris <rgm@gnu.org>
2687 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2688 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2689 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2690 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2691 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2692 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2693 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2694 * eshell/esh-util.el, eshell/esh-var.el:
2695 Remove leading `*' from docs of faces and defcustoms.
2697 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2699 * eshell/em-ls.el (eshell-ls-archive-regexp):
2700 * eshell/esh-util.el (eshell-tar-regexp):
2701 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2702 * info.el (Info-suffix-list):
2703 * international/mule.el (auto-coding-alist):
2704 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2705 * progmodes/etags.el (tags-compression-info-list):
2706 Support xz compression.
2708 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2710 * files.el (get-free-disk-space): Don't assume the "df" output
2711 columns line up (Bug#6995).
2713 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2715 * finder.el (finder-unknown-keywords):
2716 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2717 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2719 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2721 * server.el (server-start): Revert part of 2010-08-08 change. Using
2722 address 127.0.0.1 for local host is now done in Fmake_network_process.
2724 2010-09-24 Glenn Morris <rgm@gnu.org>
2726 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2727 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2728 * textmodes/css-mode.el, textmodes/dns-mode.el:
2729 Move autoloaded auto-mode-alist entries to files.el.
2730 * files.el (auto-mode-alist): Move entries here.
2732 2010-09-23 Glenn Morris <rgm@gnu.org>
2734 * isearch.el (isearch-lazy-highlight-cleanup)
2735 (isearch-lazy-highlight-initial-delay)
2736 (isearch-lazy-highlight-interval)
2737 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2738 * net/net-utils.el (ipconfig-program-options):
2739 Move aliases to options before the associated definitions.
2741 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * newcomment.el (comment-normalize-vars): Better test validity of
2746 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2749 (float-e): New name for `e'.
2750 (degrees-to-radians, radians-to-degrees):
2751 * calendar/solar.el (solar-longitude):
2752 * calculator.el (calculator-registers, calculator-funcall):
2753 * textmodes/artist.el (artist-spray-random-points):
2754 * play/bubbles.el (bubbles--initialize-images): Use new names.
2756 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2758 Update to CEDET 1.0's version of EIEIO.
2760 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2762 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2763 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2764 (class-precedence-list): If class is nil, return nil.
2765 (eieio-generic-call): If class of first input arg is nil, don't
2766 look up static methods, and do check for primary methods.
2767 (initialize-instance): See if the default needs to be evaluated
2768 during the constructor.
2769 (eieio-perform-slot-validation-for-default): Don't do the check
2770 for values that will eventually be evaluated.
2771 (eieio-eval-default-p): New function.
2772 (eieio-default-eval-maybe): Use it.
2774 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2776 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2777 method-invocation-order.
2778 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2779 (eieio-class-precedence-dfs): Compute class precedence list using
2781 (eieio-class-precedence-bfs): Compute class precedence list using
2783 (eieio-class-precedence-c3): Compute class precedence list using
2785 (class-precedence-list): New function.
2786 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2787 (inconsistent-class-hierarchy): New error symbol.
2788 (call-next-method): Stow the replacement argument list for future
2789 call-next-method invocations.
2791 2010-09-23 Glenn Morris <rgm@gnu.org>
2793 * calendar/appt.el (appt-check): If not displaying the diary,
2794 use (diary 1) to only get the entries we need.
2795 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2796 that it is in day order. (Bug#7019)
2798 * calendar/appt.el (appt-check): Rather than showing the diary,
2799 just turn off invisible display, and only if needed.
2801 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2803 2010-09-23 Glenn Morris <rgm@gnu.org>
2805 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2806 (byte-compile-defvar, byte-compile-cl-warn):
2807 Start warnings with lower-case, like the majority.
2809 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2811 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2813 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2814 * files.el (auto-mode-alist): Move ld-script entries here, further down
2817 * vc/add-log.el: Don't require timezone when compiling.
2818 (timezone-make-date-sortable): Autoload it.
2819 (change-log-sortable-date-at): Don't require timezone.
2820 Use `ignore-errors'.
2822 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2823 Move alias before definition, so it does not need autoloading.
2825 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2826 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2827 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2828 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2829 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2830 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2831 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2832 * textmodes/tex-mode.el, textmodes/two-column.el:
2833 Remove leading `*' from docs of defcustoms etc.
2835 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2837 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2839 2010-09-22 Dan Christensen <jdc@uwo.ca>
2841 * calendar/time-date.el (date-to-time): Try using parse-time-string
2842 first before using the slower timezone-make-date-arpa-standard.
2844 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2846 * calendar/time-date.el (format-seconds): Comment fix.
2848 2010-09-22 Glenn Morris <rgm@gnu.org>
2850 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2851 is not automatically buffer-local.
2853 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2856 (smie-indent-comment): Be more careful with comment-start-skip.
2857 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2858 (smie-indent-functions): Use them.
2860 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2862 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2864 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2866 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2867 tool-bar-position. Don't modify frame parameters here.
2868 (menu-bar-options-save): Add tool-bar-position.
2870 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2872 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * textmodes/reftex-parse.el (reftex-what-macro)
2875 (reftex-context-substring): Let-bind forward-sexp-function to nil
2876 since we don't need/want to treat \begin...\end as a block (bug#7053).
2878 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2880 * simple.el (blink-matching-open): Use syntax-class.
2882 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2883 Set invisibility spec for pascal's outline mode.
2884 (pascal-outline-change): Clean up calling convention.
2885 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2887 * progmodes/prolog.el (prolog-smie-forward-token)
2888 (prolog-smie-backward-token): New functions.
2889 (prolog-mode-variables): Use them to parse "!," correctly.
2890 Set up smie-blink-matching for ".".
2892 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2894 (ispell-region, ispell-process-line): Update users.
2896 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2899 * textmodes/ispell.el: Fix commenting convention.
2900 (ispell-parse-output): Simplify, use push.
2901 (ispell-region): Use match-string-no-properties.
2902 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2903 (ispell-minor-mode): Use define-minor-mode.
2904 (ispell-message): Remove unused var `skip-regexp'.
2905 (ispell-add-per-file-word-list): Use dynamic let-binding.
2906 Try and use the proper comment marker.
2908 * mail/sendmail.el: Fix commenting convention.
2909 (sendmail-send-it): Use line-beginning-position.
2911 * help-fns.el (describe-variable): Add original value, if applicable.
2913 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2915 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2917 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2919 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2922 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2923 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2924 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2925 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2926 something like "." can also be a closer.
2927 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2928 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2929 Rename internal functions to use "--". Update callers.
2931 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2933 * fringe.el (fringe-styles): New var.
2934 (fringe-mode, fringe-query-style): Use it.
2936 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2938 * progmodes/sql.el: Version 2.8
2939 (sql-login-params): Update widget structure; changes still needed.
2940 (sql-product-alist): Add :list-all and :list-table features for
2941 SQLite, Postgres and MySQL products.
2942 (sql-redirect): Handle default value.
2943 (sql-execute, sql-execute-feature): New functions.
2944 (sql-read-table-name): New function.
2945 (sql-list-all, sql-list-table): New functions. User API.
2946 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2947 for above functions.
2948 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2949 for above functions.
2950 (sql-postgres-login-params): Add user and database defaults.
2951 (sql-buffer-live-p): Bug fix.
2952 (sql-product-history): New variable.
2953 (sql-read-product): New function. Use it.
2954 (sql-set-product, sql-product-interactive): Use it.
2955 (sql-connection-history): New variable.
2956 (sql-read-connection): New function. Use it.
2957 (sql-connect): New function.
2958 (sql-for-each-login): Redesign function interface.
2959 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2960 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2961 (sql-comint): Check for program. Existing live buffer.
2962 (sql-comint-postgres): Add port parameter.
2964 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * emacs-lisp/warnings.el: Fix commenting convention.
2967 (display-warning): Use special mode and make the buffer read-only.
2969 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2971 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2972 empty string when it follows a repeated or optional pattern.
2974 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2977 (indent-region): Use indent-according-to-mode.
2979 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2981 * fringe.el (fringe-mode): Doc fix.
2983 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2985 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2986 refreshing the preview buffer.
2988 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2991 (latex-syntax-propertize-rules): New consts; replace
2992 tex-font-lock-syntactic-keywords.
2993 (tex-env-mark, latex-env-before-change): New functions.
2994 (latex-electric-env-pair-mode): New minor mode.
2995 (tex-font-lock-verb): Change arguments; do move point.
2996 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2997 representation as a form of comment.
2998 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2999 (doctex-syntax-propertize-rules): New const; replaces
3000 doctex-font-lock-syntactic-keywords.
3001 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3003 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3004 (fortran-make-syntax-propertize-function): New function; replaces
3005 fortran-font-lock-syntactic-keywords.
3006 (fortran-mode): Use it.
3007 (fortran-line-length): Use it. Improve interactive spec.
3009 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3010 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3011 when adding surrounding \(..\).
3013 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3015 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3017 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3018 Use with-current-buffer.
3020 * isearch.el (isearch-face): Rename from `isearch'.
3021 (isearch-highlight): Use new name.
3023 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3025 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3026 5, for `half' width fringes. (Bug#6933)
3028 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3031 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3033 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3035 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3037 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3038 in calculating new frame position. Add more space between new and
3039 parent on the left (Bug#7048).
3041 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3043 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3046 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3048 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3050 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3051 obsolete alias for x-selection-value.
3053 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3055 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3057 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3060 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3062 * net/tramp-compat.el (tramp-compat-with-temp-message)
3063 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3064 (tramp-compat-process-put): New defuns.
3066 * net/tramp.el (top):
3067 * net/tramp-gvfs.el (top):
3068 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3070 * net/tramp.el (tramp-progress-reporter-update):
3071 Use `tramp-compat-funcall'.
3073 * net/tramp.el (tramp-process-actions):
3074 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3075 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3076 (tramp-get-remote-stat, tramp-get-remote-readlink):
3077 Use `tramp-compat-with-temp-message'.
3079 * net/tramp-sh.el (top): Require 'cl.
3080 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3081 (tramp-open-connection-setup-interactive-shell):
3082 Use `tramp-compat-process-put'.
3084 2010-09-15 Alan Mackenzie <acm@muc.de>
3086 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3088 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3090 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3092 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3093 `lexical' for warnings related to lexical scoping.
3094 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3095 global vars which don't have a prefix and could hence affect lexical
3096 scoping in unrelated files.
3098 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100 * net/imap.el: Revert back to version
3101 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3104 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3106 * obsolete/old-whitespace.el (whitespace-unload-function):
3107 Explicitly pass `obarray' to `unintern' to avoid a warning.
3109 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3112 Add `when' argument. Update callers.
3114 * subr.el (unintern): Declare the obarray arg mandatory.
3116 2010-09-14 Glenn Morris <rgm@gnu.org>
3118 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3121 * calendar/diary-lib.el (diary-included-files): New variable.
3122 (diary-list-entries): Maybe initialize diary-included-files.
3123 (diary-include-other-diary-files): Append to diary-included-files.
3124 * calendar/appt.el (appt-update-list): Also check the members of
3125 diary-included-files. (Bug#6999)
3126 (appt-check): Doc fix.
3128 2010-09-14 David Reitter <david.reitter@gmail.com>
3130 * simple.el (line-move-visual): Do not truncate goal column to
3131 integer size. (Bug#7020)
3133 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * repeat.el (repeat): Allow repeating when the last event is a click.
3136 Suggested by Drew Adams (bug#6256).
3138 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3140 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3141 Replace setting HGRCPATH to "" by some less invasive --config options.
3143 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * font-lock.el (font-lock-beginning-of-syntax-function):
3148 2010-09-14 Glenn Morris <rgm@gnu.org>
3150 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3151 and tool-bar modes. (Bug#6211)
3152 (menu-bar-mode): Move setting of standard-value after the
3153 minor-mode definition, otherwise it seems to have no effect.
3155 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3157 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3158 Fix typo. (Bug#6976)
3160 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3162 * whitespace.el: Allow cleaning up blanks without blank
3163 visualization (Bug#6651). Adjust help window for
3164 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3165 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3166 (whitespace-style): Add new value 'face. Adjust docstring.
3167 (whitespace-space, whitespace-hspace, whitespace-tab):
3168 Adjust foreground property face.
3169 (whitespace-line-column): Adjust docstring and type declaration.
3170 (whitespace-style-value-list, whitespace-toggle-option-alist)
3171 (whitespace-help-text): Adjust const initialization.
3172 (whitespace-toggle-options, global-whitespace-toggle-options):
3174 (whitespace-display-window, whitespace-interactive-char)
3175 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3176 (whitespace-help-scroll): New fun.
3178 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3180 * calendar/time-date.el (format-seconds): Comment fix.
3182 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3184 * progmodes/sql.el: Version 2.7.
3185 (sql-buffer-live-p): Improve detection.
3186 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3187 (sql-set-sqli-buffer): Use it.
3188 (sql-product-interactive): Run `sql-set-sqli-hook'.
3189 (sql-rename-buffer): Code cleanup.
3190 (sql-redirect, sql-redirect-value): New functions. More to come.
3192 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3194 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.
3195 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3196 (TRAMP_SRC): New macro.
3197 ($(lisp)/net/tramp-loaddefs.el): New target.
3199 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3201 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3203 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3205 * net/tramp.el (top): Don't show loading message. Require just
3206 'tramp-compat, everything else is required there.
3207 Use `ignore-errors' where appropriate.
3208 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3209 (tramp-terminal-type, tramp-end-of-output)
3210 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3211 (tramp-completion-function-alist-ssh)
3212 (tramp-completion-function-alist-telnet)
3213 (tramp-completion-function-alist-su)
3214 (tramp-completion-function-alist-putty, tramp-remote-path)
3215 (tramp-remote-process-environment, tramp-sh-extra-args)
3216 (tramp-actions-before-shell, tramp-uudecode)
3217 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3218 (tramp-perl-file-attributes)
3219 (tramp-perl-directory-files-and-attributes)
3220 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3221 (tramp-perl-encode, tramp-perl-decode)
3222 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3223 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3224 (tramp-handle-make-symbolic-link, tramp-handle-load)
3225 (tramp-handle-file-name-as-directory)
3226 (tramp-handle-file-name-directory)
3227 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3228 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3229 (tramp-do-file-attributes-with-ls)
3230 (tramp-do-file-attributes-with-perl)
3231 (tramp-do-file-attributes-with-stat)
3232 (tramp-handle-set-visited-file-modtime)
3233 (tramp-handle-verify-visited-file-modtime)
3234 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3235 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3236 (tramp-handle-file-selinux-context)
3237 (tramp-handle-set-file-selinux-context)
3238 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3239 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3240 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3241 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3242 (tramp-handle-file-ownership-preserved-p)
3243 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3244 (tramp-handle-directory-files-and-attributes)
3245 (tramp-do-directory-files-and-attributes-with-perl)
3246 (tramp-do-directory-files-and-attributes-with-stat)
3247 (tramp-handle-file-name-all-completions)
3248 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3249 (tramp-handle-copy-file, tramp-handle-copy-directory)
3250 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3251 (tramp-do-copy-or-rename-file-via-buffer)
3252 (tramp-do-copy-or-rename-file-directly)
3253 (tramp-do-copy-or-rename-file-out-of-band)
3254 (tramp-handle-make-directory, tramp-handle-delete-directory)
3255 (tramp-handle-delete-file)
3256 (tramp-handle-dired-recursive-delete-directory)
3257 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3258 (tramp-handle-insert-directory)
3259 (tramp-handle-unhandled-file-name-directory)
3260 (tramp-handle-expand-file-name)
3261 (tramp-handle-substitute-in-file-name)
3262 (tramp-handle-executable-find, tramp-process-sentinel)
3263 (tramp-handle-start-file-process, tramp-handle-process-file)
3264 (tramp-handle-call-process-region, tramp-handle-shell-command)
3265 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3266 (tramp-handle-insert-file-contents)
3267 (tramp-handle-insert-file-contents-literally)
3268 (tramp-handle-find-backup-file-name)
3269 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3270 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3271 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3272 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3273 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3274 (tramp-find-file-exists-command, tramp-open-shell)
3275 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3276 (tramp-open-connection-setup-interactive-shell)
3277 (tramp-local-coding-commands, tramp-remote-coding-commands)
3278 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3279 (tramp-inline-compress-commands, tramp-find-inline-compress)
3280 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3281 (tramp-send-command, tramp-wait-for-output)
3282 (tramp-send-command-and-check, tramp-barf-unless-okay)
3283 (tramp-send-command-and-read, tramp-mode-string-to-int)
3284 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3285 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3286 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3287 (tramp-method-out-of-band-p, tramp-local-host-p)
3288 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3289 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3290 (tramp-get-test-command, tramp-get-test-nt-command)
3291 (tramp-get-file-exists-command, tramp-get-remote-ln)
3292 (tramp-get-remote-perl, tramp-get-remote-stat)
3293 (tramp-get-remote-readlink, tramp-get-remote-trash)
3294 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3295 (tramp-get-local-uid, tramp-get-local-gid)
3296 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3298 (tramp-methods, tramp-default-method-alist)
3299 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3300 Move initialization to tramp-sh.el.
3301 (tramp-temp-name-prefix): Make it a defconst.
3302 (tramp-dissect-file-name): Don't check anymore for multi-hop
3304 (tramp-debug-outline-regexp): Add a docstring.
3305 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3306 (tramp-get-debug-buffer): Use it.
3308 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3309 initialization forms.
3310 (tramp-set-connection-property): Don't protect `tramp-message'
3311 call, it isn't necessary any longer.
3312 (tramp-dump-connection-properties): Use `ignore-errors'.
3314 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3315 'password-cache and 'auth-source.
3317 * net/tramp-gvfs.el (top):
3318 * net/tramp-smb.el (top): Require 'tramp-sh.
3320 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3322 * net/tramp-sh.el: New file, derived from tramp.el.
3323 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3324 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3325 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3326 Use `ignore-errors' where appropriate.
3327 (tramp-sh-file-name-handler-alist): Rename from
3328 `tramp-file-name-handler-alist'.
3329 (tramp-send-command-and-check): Return t or nil. Remove all
3330 `zerop' checks, where called.
3331 (tramp-handle-set-file-modes)
3332 (tramp-do-copy-or-rename-file-directly)
3333 (tramp-handle-delete-directory, tramp-handle-delete-file)
3334 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3335 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3336 (tramp-get-remote-ln): Set tramp-autoload cookie.
3338 * net/tramp-fish.el: Remove file.
3340 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3342 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3343 buffer-file-name to avoid file-locking. (Bug#7026)
3345 2010-09-13 Julien Danjou <julien@danjou.info>
3347 * notifications.el (notifications-notify): Add support for
3348 image-path and sound-name.
3349 (notifications-specification-version): Add this variable.
3351 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3355 2010-09-12 Leo <sdl.web@gmail.com>
3357 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3358 (rcirc-completion-start): New variables.
3359 (rcirc-nick-completions): Rename to rcirc-completions.
3360 (rcirc-nick-completion-start-offset): Delete.
3361 (rcirc-completion-at-point): New function for constructing
3362 completion data for both nicks and irc commands. Add to
3363 completion-at-point-functions in rcirc mode.
3364 (rcirc-complete): Rename from rcirc-nick-complete; use
3365 rcirc-completion-at-point.
3366 (defun-rcirc-command): Update rcirc-client-commands.
3368 2010-09-11 Glenn Morris <rgm@gnu.org>
3370 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3371 atomically, to avoid parallel build errors. (Bug#4196)
3373 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3375 * progmodes/sql.el: Version 2.6
3376 (sql-dialect): Synonym for "sql-product".
3377 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3378 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3379 Set "sql-buffer" to buffer name not buffer object so multiple sql
3380 interactive buffers work properly. Reverts misguided changes in
3382 (sql-comint): Make sure different buffer name is used if "*SQL*"
3383 buffer is for a different product.
3384 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3386 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3387 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3388 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3389 Accept new buffer name or prompt for one.
3390 (sql-port): Default to zero.
3391 (sql-comint-mysql): Handle "sql-port" as a numeric.
3392 (sql-port-history): Delete unused variable.
3393 (sql-get-login): Default "sql-port" to a number.
3394 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3395 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3396 "sqlite3" executables.
3397 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3398 (sql-buffer-live-p): New function.
3399 (sql-mode-menu, sql-send-string): Use it.
3400 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3402 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3403 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3405 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3407 * net/netrc.el (netrc-credentials): New convenience function.
3409 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3412 to replace texinfo-font-lock-syntactic-keywords.
3413 (texinfo-mode): Use it.
3415 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3416 Use syntax-propertize-function.
3418 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3419 replace sgml-font-lock-syntactic-keywords.
3420 (sgml-mode): Use it.
3422 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3423 since we don't use it.
3425 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3427 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3429 (vhdl-fontify-buffer): Adjust.
3431 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3432 replace tcl-font-lock-syntactic-keywords.
3435 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3436 replace simula-font-lock-syntactic-keywords.
3437 (simula-mode): Use it.
3439 * progmodes/sh-script.el (sh-st-symbol): Remove.
3440 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3441 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3442 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3443 (sh-font-lock-paren): Set syntax-multiline.
3444 (sh-font-lock-syntactic-keywords): Remove.
3445 (sh-syntax-propertize-function): New function to replace it.
3448 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3449 Define while compiling.
3450 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3451 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3452 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3453 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3454 (ruby-here-doc-end-syntax): Only define when
3455 syntax-propertize is not available.
3456 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3458 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3459 (electric-indent-chars): Silence bytecompiler.
3460 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3461 electric-indent-chars.
3463 * progmodes/python.el (python-syntax-propertize-function): New var to
3464 replace python-font-lock-syntactic-keywords.
3465 (python-mode): Use it.
3466 (python-quote-syntax): Simplify and adjust to new use.
3468 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3469 replace perl-font-lock-syntactic-keywords.
3470 (perl-syntax-propertize-special-constructs): New fun to replace
3471 perl-font-lock-special-syntactic-constructs.
3472 (perl-font-lock-syntactic-face-function): New fun.
3473 (perl-mode): Use it.
3475 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3476 to replace octave-font-lock-close-quotes.
3477 (octave-syntax-propertize-function): New function to replace
3478 octave-font-lock-syntactic-keywords.
3479 (octave-mode): Use it.
3481 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3482 replaces mixal-font-lock-syntactic-keywords.
3483 (mixal-mode): Use it.
3485 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3486 New var; replaces makefile-font-lock-syntactic-keywords.
3487 (makefile-mode): Use it.
3488 (makefile-imake-mode): Adjust.
3490 * progmodes/js.el (js--regexp-literal): Define while compiling.
3491 (js-syntax-propertize-function): New var; replaces
3492 js-font-lock-syntactic-keywords.
3495 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3496 replaces gdb-script-font-lock-syntactic-keywords.
3497 (gdb-script-mode): Use it.
3499 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3500 (fortran--font-lock-syntactic-keywords): New var.
3501 (fortran-line-length): Update syntax-propertize-function and
3502 fortran--font-lock-syntactic-keywords.
3504 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3506 * progmodes/cfengine.el (cfengine-mode):
3507 Use syntax-propertize-function.
3508 (cfengine-font-lock-syntactic-keywords): Remove.
3510 * progmodes/autoconf.el (autoconf-mode):
3511 Use syntax-propertize-function.
3512 (autoconf-font-lock-syntactic-keywords): Remove.
3514 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3515 (ada-after-change-function, ada-initialize-syntax-table-properties)
3516 (ada-handle-syntax-table-properties): Only define when
3517 syntax-propertize is not available.
3518 (ada-mode): Use syntax-propertize-function.
3520 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3521 (font-lock-fontify-syntactic-keywords-region): Move handling of
3522 font-lock-syntactically-fontified to...
3523 (font-lock-default-fontify-region): ...here.
3524 Let syntax-propertize-function take precedence.
3525 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3527 * emacs-lisp/syntax.el (syntax-propertize-function)
3528 (syntax-propertize-chunk-size, syntax-propertize--done)
3529 (syntax-propertize-extend-region-functions): New vars.
3530 (syntax-propertize-wholelines, syntax-propertize-multiline)
3531 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3532 (syntax-propertize): New functions.
3533 (syntax-propertize-rules): New macro.
3534 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3535 (syntax-ppss): Call syntax-propertize.
3537 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3539 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3541 * textmodes/ispell.el (ispell-init-process): Improve comments.
3542 XEmacs compatibility changes regarding (add-hook) 'local option
3543 and (set-process-query-on-exit-flag).
3545 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3547 * net/tramp-cache.el (tramp-parse-connection-properties):
3548 Set tramp-autoload cookie.
3550 2010-09-09 Glenn Morris <rgm@gnu.org>
3552 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3553 (imagemagick-register-types): Doc fix.
3555 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3559 * progmodes/js.el (require): Require is already "eval-and-compile".
3560 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3561 (js--re-search-backward): Use js--re-search-forward.
3563 * progmodes/fortran.el (fortran-line-length): Don't recompute
3564 syntactic keywords redundantly a second time.
3566 * progmodes/ada-mode.el: Replace "(set '" with setq.
3567 (ada-mode): Simplify.
3568 (ada-create-case-exception, ada-adjust-case-interactive)
3569 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3570 (ada-search-ignore-string-comment, ada-move-to-start)
3571 (ada-move-to-end): Use with-syntax-table.
3573 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3574 (font-lock-unfontify-region, font-lock-default-fontify-region):
3575 Update usage correspondingly.
3576 (font-lock-fontify-syntactic-keywords-region):
3577 Set parse-sexp-lookup-properties buffer-locally here.
3578 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3580 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3582 2010-09-08 Glenn Morris <rgm@gnu.org>
3584 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3585 Error if not compiled with -DBYTE_CODE_METER.
3587 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3588 Ignore dir-locals-file.
3590 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3594 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3595 for the `gnu' messages.
3596 (compilation-set-skip-threshold): New command.
3597 (compilation-start): Use \' rather than $.
3598 (compilation-forget-errors): Use clrhash.
3600 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3602 * textmodes/ispell.el (ispell-valid-dictionary-list):
3605 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3607 Migrate to Tramp 2.2. Rearrange load dependencies.
3608 (Bug#1529, Bug#5448, Bug#5705)
3610 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3611 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3612 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3614 * net/tramp.el (top): Remove all other tramp-* loads except
3615 tramp-compat.el. Remove all changes to tramp-unload-hook for
3616 other tramp-* packages. Rearrange defun order. Change calls of
3617 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3618 `tramp-compat-octal-to-decimal' to new function names.
3619 (tramp-terminal-type, tramp-initial-end-of-output)
3620 (tramp-methods, tramp-foreign-file-name-handler-alist)
3621 (tramp-tramp-file-p, tramp-completion-mode-p)
3622 (tramp-send-command-and-check, tramp-get-remote-path)
3623 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3624 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3625 (with-file-property, with-connection-property): Move to
3627 (tramp-local-call-process, tramp-decimal-to-octal)
3628 (tramp-octal-to-decimal): Move to tramp-compat.el.
3629 (tramp-handle-shell-command): Do not require 'shell.
3630 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3632 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3634 * net/tramp-cache.el (top): Require 'tramp. Add to
3635 `tramp-unload-hook'.
3636 (tramp-cache-data, tramp-get-file-property)
3637 (tramp-set-file-property, tramp-flush-file-property)
3638 (tramp-flush-directory-property, tramp-get-connection-property)
3639 (tramp-set-connection-property, tramp-flush-connection-property)
3640 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3642 (with-file-property, with-connection-property): New defuns, moved
3644 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3647 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3648 (tramp-version): Set tramp-autoload cookie.
3650 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3651 changes to tramp-unload-hook for other tramp-* packages. Add to
3652 `tramp-unload-hook'.
3653 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3654 (tramp-compat-call-process): New defuns, moved from tramp.el.
3656 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3657 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3658 Add to `tramp-unload-hook'. Change call of
3659 `tramp-compat-decimal-to-octal' to new function name.
3660 (tramp-fish-method): Make it a defconst.
3661 (tramp-fish-file-name-p): Make it a defsubst.
3662 (tramp-fish-method, tramp-fish-file-name-handler)
3663 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3665 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3666 `tramp-foreign-file-name-handler-alist'. Add to
3667 `tramp-unload-hook'.
3668 (tramp-ftp-method): Make it a defconst.
3669 (tramp-ftp-file-name-p): Make it a defsubst.
3670 (tramp-ftp-method, tramp-ftp-file-name-handler)
3671 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3673 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3674 `tramp-foreign-file-name-handler-alist'. Add to
3675 `tramp-unload-hook'. Change checks, whether package can be
3677 (tramp-gvfs-file-name-p): Make it a defsubst.
3678 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3679 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3680 (tramp-gvfs-handle-file-directory-p): New defun.
3681 (tramp-gvfs-file-name-handler-alist): Use it.
3683 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3684 `tramp-foreign-file-name-handler-alist'. Add to
3685 `tramp-unload-hook'.
3686 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3687 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3689 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3690 (tramp-gw-open-connection): Set tramp-autoload cookie.
3692 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3693 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3694 Add to `tramp-unload-hook'. Change checks, whether package can be
3696 (tramp-imap-file-name-p): Make it a defsubst.
3697 (tramp-imap-method, tramp-imaps-method)
3698 (tramp-imap-file-name-handler)
3699 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3701 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3702 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3703 Add to `tramp-unload-hook'. Change checks, whether package can be
3704 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3706 (tramp-smb-tunnel-method): Make it a defconst.
3707 (tramp-smb-file-name-p): Make it a defsubst.
3708 (tramp-smb-method, tramp-smb-file-name-handler)
3709 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3711 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3712 (tramp-uuencode-region): Set tramp-autoload cookie.
3714 * net/trampver.el (top) Add to `tramp-unload-hook'.
3715 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3716 cookie. Update release number.
3718 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3720 * textmodes/ispell.el (ispell-start-process): Make sure original
3721 arg list is properly initialized (Bug#6993, Bug#6994).
3723 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3725 * files.el (directory-abbrev-alist): Use \` as default regexp.
3727 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3728 chars like - or ] (bug#6984).
3729 (rx-any-condense-range): Explode 2-char ranges.
3731 2010-09-06 Glenn Morris <rgm@gnu.org>
3733 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3735 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * textmodes/bibtex.el:
3738 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3740 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3742 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3743 since no callers use it.
3744 (imap-message-get): Ditto.
3745 (imap-message-put): Ditto.
3746 (imap-mailbox-map): Ditto.
3747 (imap-mailbox-put): Ditto.
3748 (imap-mailbox-get): Ditto.
3749 (imap-mailbox-get): Revert last change for this function.
3751 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3753 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3754 callers to use `imap-fetch' instead. According to the comments, this
3755 should be safe, since all other IMAP clients use the 1:* syntax.
3756 (imap-enable-exchange-bug-workaround): Remove.
3757 (imap-debug): Remove -- doesn't seem very useful.
3759 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3761 * net/imap.el (imap-log): New convenience function used throughout
3762 instead of repeating the same code all over the place.
3764 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3766 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3767 when mouse-drag-copy-region is non-nil (Bug#6956).
3769 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3771 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3772 Improve regexps (Bug#6987).
3773 (dired-sort-toggle): Search more robustly for -t flag.
3775 * files.el (get-free-disk-space): Search more robustly for
3776 "available" column. Suggested by Ehud Karni
3777 <ehud@unix.mvs.co.il>.
3779 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3781 * international/uni-bidi.el:
3782 * international/uni-category.el:
3783 * international/uni-combining.el:
3784 * international/uni-decimal.el:
3785 * international/uni-mirrored.el:
3786 * international/uni-name.el: Regenerate.
3788 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * electric.el (electric-indent-post-self-insert-function):
3791 Don't reindent with a sloppy indentation function.
3793 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3794 border case in change-log-mode.
3796 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3798 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3799 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3800 Recognize leading tab in gcc-include regexp. Ignore names with
3801 leading "from" or "in" in gnu regexp (Bug#6937).
3803 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3805 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3806 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3807 (ispell-start-process): Avoid setq and simplify logic.
3808 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3809 (kill-buffer-hook): Don't use it globally with code that uses
3810 expand-file-name since that may call kill-buffer via
3811 code_conversion_restore.
3813 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3815 * emacs-lisp/package.el (package-directory-list): Only call
3816 file-name-nondirectory on a string.
3818 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3820 * emacs-lisp/package.el (package--download-one-archive):
3821 Ensure that archive-contents is valid before saving it.
3822 (package-activate-1, package-mark-obsolete, define-package)
3823 (package-compute-transaction, package-list-maybe-add): Use push.
3825 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3827 Use SMIE's blink-paren for octave-mode.
3828 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3829 Backslashes do not escape single-quotes, single-quotes do.
3830 (octave-block-else-regexp, octave-block-end-regexp)
3831 (octave-block-match-alist): Remove.
3832 (octave-smie-bnf-table): New var, with old content.
3833 (octave-smie-op-levels): Use it.
3834 (octave-smie-closer-alist): New var.
3835 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3836 (octave-blink-matching-block-open): Remove.
3837 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3838 (octave-electric-space): Let self-insert-command run expand-abbrev and
3841 * electric.el (electricity): New group.
3842 (electric-indent-chars): New var.
3843 (electric-indent-post-self-insert-function): New fun.
3844 (electric-indent-mode): New minor mode.
3845 (electric-pair-skip-self): New custom.
3846 (electric-pair-post-self-insert-function): New function.
3847 (electric-pair-mode): New minor mode.
3849 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3850 calcAlg-blink-matching-open.
3851 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3852 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3853 Use the new blink-matching-check-function.
3855 Provide blink-matching support to SMIE.
3856 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3857 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3858 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3860 * simple.el (newline): Fix last change to properly remove itself from
3863 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * simple.el (newline): Eliminate optimization.
3866 Use post-self-insert-hook to set hard-newline and things before
3867 running post-self-insert-hook.
3868 (blink-matching-check-mismatch): New function.
3869 (blink-matching-check-function): New variable.
3870 (blink-matching-open): Use them.
3871 Skip back forward over prefix chars skipped by forward-sexp.
3872 Don't check if the parens are backslash escaped.
3873 (blink-paren-post-self-insert-function): Check backslash escaping here.
3875 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3877 * emacs-lisp/package.el (package-menu-mode-map):
3878 Change package-menu-revert bindings to revert-buffer.
3879 (package-menu-mode): Set revert-buffer-function.
3880 (package-menu-revert): Doc fix.
3882 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3884 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3885 `default-directory' unless using Ispell per-directory personal
3886 dictionaries and not in a mini-buffer under XEmacs.
3887 (kill-buffer-hook): Do not kill ispell process on exit when
3888 `ispell-process-directory' is "~/". (Bug#6143)
3890 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3892 * simple.el (kill-new): Call interprogram-cut-function with only
3895 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3896 Remove cut buffer from error message.
3898 * term/x-win.el (x-select-text):
3899 * term/pc-win.el (x-selection-value):
3900 * term/ns-win.el (x-selection-value):
3901 * eshell/em-term.el:
3902 * w32-fns.el (x-get-selection-value):
3903 * mouse-sel.el (mouse-sel-set-selection-function):
3904 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3906 * term/x-win.el: Update documentation for x-last-selected-text-*.
3907 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3908 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3909 (x-select-text): Remove argument PUSH, update documentation.
3910 Remove cut-buffer code.
3911 (x-selection-value-internal): Was previously x-selection-value.
3912 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3913 Update documentation, remove cut-buffer code.
3914 Call x-selection-value-internal.
3915 (x-clipboard-yank): Call x-selection-value-internal.
3916 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3918 * term/pc-win.el (x-last-selected-text):
3919 x-cut-buffer-or-selection-value renamed to x-selection-value
3920 (x-select-text): Remove argument PUSH, update documentation.
3922 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3923 x-cut-buffer-or-selection-value renamed to x-selection-value
3924 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3925 (x-select-text): Remove argument PUSH, update documentation.
3927 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3929 * w32-fns.el (x-last-selected-text):
3930 x-cut-buffer-or-selection-value renamed to x-selection-value.
3931 (x-cut-buffer-max): Remove.
3932 (x-select-text): Remove argument PUSH, update documentation.
3934 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3936 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3938 * mouse-sel.el (mouse-sel-get-selection-function):
3939 x-cut-buffer-or-selection-value renamed to x-selection-value.
3940 (x-select-text): Remove optional push.
3942 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3944 * simple.el (blink-paren-function): Move from C to here.
3945 (blink-paren-post-self-insert-function): New function.
3946 (post-self-insert-hook): Use it.
3948 * emacs-lisp/pcase.el (pcase-split-memq):
3949 Fix overenthusiastic optimisation.
3950 (pcase-u1): Handle the case of a lambda pred.
3952 2010-08-31 Kenichi Handa <handa@m17n.org>
3954 * international/mule-cmds.el (standard-display-european-internal):
3955 Setup standard-display-table for 8-bit characters by storing 8-bit
3956 characters in the element vector.
3958 * disp-table.el (standard-display-8bit):
3959 Setup standard-display-table for 8-bit characters by storing 8-bit
3960 characters in the element vector.
3961 (standard-display-european): Likewise.
3963 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3965 * textmodes/nroff-mode.el (nroff-view): New command.
3966 (nroff-mode-map): Bind it to C-c C-c.
3968 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * emacs-lisp/smie.el (smie-down-list): New command.
3972 Remove old indentation and navigation code on octave-mode.
3973 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3974 smie-down-list rather than add a binding for octave-down-block.
3975 (octave-mark-block, octave-blink-matching-block-open):
3976 Rely on forward-sexp-function.
3977 (octave-fill-paragraph): Don't narrow, so you can use
3978 indent-according-to-mode.
3979 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3980 (octave-in-block-p, octave-re-search-forward-kw)
3981 (octave-re-search-backward-kw, octave-indent-calculate)
3982 (octave-end-as-array-index-p, octave-block-end-offset)
3983 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3984 (octave-down-block, octave-backward-up-block, octave-up-block)
3985 (octave-before-magic-comment-p, octave-indent-line): Remove.
3987 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3989 * emacs-lisp/package.el (package--read-archive-file): Just use
3990 `read', to avoid copying an additional string.
3991 (package-menu-mode): Set header-line-format here.
3992 (package-menu-refresh, package-menu-revert): Signal an error if
3993 not in the Package Menu.
3994 (package-menu-package-list): New var.
3995 (package--generate-package-list): Operate on the current buffer;
3996 don't assume that it is *Packages*, since the user may rename it.
3997 Allow persistent package listings and sort keys using
3998 package-menu-package-list and package-menu-package-sort-key.
3999 (package-menu--version-predicate): Fix version calculation.
4000 (package-menu-sort-by-column): Don't select the window.
4001 (package--list-packages): Create the *Packages* buffer.
4002 Set package-menu-package-list-key.
4003 (list-packages): Sorting by status is now the default.
4004 (package-buffer-info): Use match-string-no-properties.
4005 (define-package): Add a &rest argument for future proofing, but
4007 (package-install-from-buffer, package-install-buffer-internal):
4008 Merge into a single function, package-install-from-buffer.
4009 (package-install-file): Change caller.
4011 * finder.el: Load finder-inf using `require'.
4012 (finder-list-matches): Sorting by status is now the default.
4013 (finder-compile-keywords): Simpify printing.
4015 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4017 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4018 (octave-mode-map): Remove special bindings for forward/backward-block
4019 and octave-backward-up-block. Use smie-close-block.
4020 (octave-continuation-marker-regexp): New var.
4021 (octave-continuation-regexp): Use it.
4022 (octave-operator-table, octave-smie-op-levels)
4023 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4024 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4025 (octave-mode): Use SMIE.
4026 (octave-close-block): Delete.
4028 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4030 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4031 CLIPBOARD, not in PRIMARY. (Bug#6944)
4033 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4035 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4037 (smie-indent-column): Allow indirection through variables.
4039 * composite.el (save-buffer-state): Delete, unused.
4040 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4041 (font-lock-default-fontify-region): Use with-syntax-table.
4042 * jit-lock.el (with-buffer-unmodified): Remove.
4043 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4045 Use `declare' in defmacros.
4046 * window.el (save-selected-window):
4047 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4048 * progmodes/python.el (def-python-skeleton):
4049 * net/dbus.el (dbus-ignore-errors):
4050 * jka-cmpr-hook.el (with-auto-compression-mode):
4051 * international/mule.el (with-category-table):
4052 * emacs-lisp/timer.el (with-timeout):
4053 * emacs-lisp/lisp-mnt.el (lm-with-file):
4054 * emacs-lisp/eieio.el (with-slots):
4055 * emacs-lisp/easymenu.el (easy-menu-define):
4056 * emacs-lisp/debug.el (debugger-env-macro):
4057 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4058 (Multiple-value-call, Multiple-value-prog1):
4059 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4060 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4061 edebug rule to definition.
4062 * emacs-lisp/lisp-mode.el (save-selected-window)
4063 (with-current-buffer, combine-after-change-calls)
4064 (with-output-to-string, with-temp-file, with-temp-buffer)
4065 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4066 (dolist, dotimes, when, unless):
4067 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4069 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4071 * finder.el: Require `package'.
4072 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4073 (finder-package-info): Var deleted.
4074 (finder-keywords-hash, finder--builtins-alist): New vars.
4075 (finder-compile-keywords): Compute package--builtins and
4076 finder-keywords-hash instead of finder-keywords-hash, respecting
4077 the "Package" header.
4078 (finder-unknown-keywords, finder-list-matches):
4079 Use finder-keywords-hash and package--list-packages.
4080 (finder-mode): Don't set font-lock-defaults.
4081 (finder-exit): We don't use "*Finder-package*" and "*Finder
4082 Category*" buffers anymore.
4084 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4085 (package--builtins): Set default value to nil.
4086 (package-initialize): Load precomputed value of package--builtins
4088 (package-alist, package-compute-transaction)
4089 (package-download-transaction): Improve docstring.
4090 (package-read-all-archive-contents): Do not change
4091 package--builtins here.
4092 (list-packages): Make package-list-packages an alias for this.
4093 Sort by status by default.
4094 (package--list-packages): Add optional PACKAGES arg.
4095 (describe-package-1): Use font-lock-face property. For built-in
4096 packages, insert file commentary.
4097 (package--generate-package-list): Rename from
4098 package-list-packages-internal; all callers changed. Add optional
4099 PACKAGES arg. Add alphabetical sort fallbacks.
4100 (package-menu--version-predicate, package-menu--status-predicate)
4101 (package-menu--description-predicate)
4102 (package-menu--name-predicate): New functions.
4104 * info.el (Info-finder-find-node): Search package-alist instead of
4105 finder-package-info.
4107 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4109 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4111 (version-to-list): Handle versions like "10.3d".
4113 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4116 (macroexp-accumulate): Use `declare'.
4118 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4120 * whitespace.el (whitespace-style): Adjust type declaration.
4122 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4124 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4125 empty argument to gvfs-copy.
4127 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4129 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4130 handle new TRASH arg of `delete-file'.
4132 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4134 * net/tramp.el (tramp-handle-insert-directory): Don't use
4135 `forward-word', its default syntax could be changed.
4137 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4138 Michael Albinus <michael.albinus@gmx.de>
4140 Implement compression for inline methods.
4142 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4143 (tramp-copy-size-limit): Allow also nil.
4144 (tramp-inline-compress-commands): New defconst.
4145 (tramp-find-inline-compress, tramp-get-inline-compress)
4146 (tramp-get-inline-coding): New defuns.
4147 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4148 replaced by `tramp-get-inline-coding'.
4149 (tramp-handle-file-local-copy, tramp-handle-write-region)
4150 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4152 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4154 Detect ssh 'ControlMaster' argument automatically in some cases.
4156 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4157 (tramp-default-method): Use it.
4159 2010-08-26 Karel Klíč <kklic@redhat.com>
4161 * net/tramp.el (tramp-file-name-for-operation):
4162 Add file-selinux-context.
4164 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4166 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4168 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4170 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4173 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4175 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4176 (js-paren-indent-offset, js-square-indent-offset)
4177 (js-curly-indent-offset): New options.
4178 (js--proper-indentation): Use them.
4180 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4182 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4183 instead of inspecting font-lock properties (Bug#6916).
4185 2010-08-26 David Reitter <david.reitter@gmail.com>
4187 * server.el (server-visit-files): Run pre-command-hook and
4188 post-command-hook for each buffer while it is current (Bug#6910).
4189 (server-execute): Do not run hooks here.
4191 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4193 Sync with Tramp 2.1.19.
4195 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4196 (tramp-reporter-dump-variable, tramp-load-report-modules)
4197 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4198 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4200 * net/tramp-compat.el (top): Do not autoload
4201 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4202 only when `start-file-process' is not bound.
4203 (byte-compile-not-obsolete-vars): Define if not bound.
4204 (tramp-compat-funcall): New defmacro.
4205 (tramp-compat-line-beginning-position)
4206 (tramp-compat-line-end-position)
4207 (tramp-compat-temporary-file-directory)
4208 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4209 (tramp-compat-copy-file, tramp-compat-copy-directory)
4210 (tramp-compat-delete-file, tramp-compat-delete-directory)
4211 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4213 (tramp-advice-file-expand-wildcards): Do not use
4214 `tramp-handle-file-remote-p'.
4215 (tramp-compat-make-temp-file): Simplify fallback implementation.
4216 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4217 (tramp-compat-copy-tree): Remove function.
4218 (tramp-compat-delete-file): New defun.
4219 (tramp-compat-delete-directory): Provide implementation for older
4221 (tramp-compat-file-attributes): Handle only
4222 `wrong-number-of-arguments' error.
4224 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4225 Add PRESERVE_SELINUX_CONTEXT.
4226 (tramp-fish-handle-delete-file): Add TRASH arg.
4227 (tramp-fish-handle-directory-files-and-attributes):
4228 Do not use `tramp-fish-handle-file-attributes.
4229 (tramp-fish-handle-file-local-copy)
4230 (tramp-fish-handle-insert-file-contents)
4231 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4233 * net/tramp-gvfs.el (top): Require url-util.
4234 (tramp-gvfs-mount-point): Remove.
4235 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4236 and `set-file-selinux-context'.
4237 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4238 (tramp-gvfs-handle-file-selinux-context)
4239 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4240 (with-tramp-dbus-call-method): Format trace message.
4241 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4242 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4243 Implement backup call, when operation on local files fails.
4244 Use progress reporter. Flush properties of changed files.
4245 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4246 Use `tramp-compat-delete-file'.
4247 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4248 (tramp-gvfs-handle-make-directory): Make more traces.
4249 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4250 (tramp-gvfs-url-file-name): Hexify file name in url.
4251 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4252 into account for the resulting file name.
4253 (tramp-gvfs-handler-askquestion): Preserve current message, in
4254 order to let progress reporter continue afterwards. (Bug#6257)
4255 Return dummy mountpoint, when the answer is "no".
4256 See `tramp-gvfs-maybe-open-connection'.
4257 (tramp-gvfs-handler-mounted-unmounted)
4258 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4259 attribute "default_location". Set "prefix" property.
4260 Handle default-location.
4261 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4262 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4263 exists. Raise an error, if not (due to a corresponding answer
4264 "no" in interactive questions, for example).
4265 Use `tramp-compat-funcall'.
4267 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4268 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4269 (tramp-imap-do-copy-or-rename-file)
4270 (tramp-imap-handle-insert-file-contents)
4271 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4272 (tramp-imap-handle-delete-file): Add TRASH arg.
4274 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4275 Add PRESERVE-SELINUX-CONTEXT.
4276 (tramp-smb-handle-copy-file)
4277 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4278 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4279 Use `with-progress-reporter'.
4280 (tramp-smb-handle-delete-file): Add TRASH arg.
4282 * net/tramp.el (tramp-methods): Move hostname to the end in all
4283 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4285 (tramp-verbose): Describe verbose level 9.
4286 (tramp-completion-function-alist)
4287 (tramp-file-name-regexp, tramp-chunksize)
4288 (tramp-local-coding-commands, tramp-remote-coding-commands)
4289 (with-connection-property, tramp-completion-mode-p)
4290 (tramp-action-process-alive, tramp-action-out-of-band)
4291 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4292 (tramp-exists-file-name-handler): Fix docstring.
4293 (tramp-remote-process-environment): Use `format' instead of
4294 `concat'. Protect version string by apostroph.
4295 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4297 (tramp-file-name-regexp-unified)
4298 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4299 not regard the volume letter as remote filename. (Bug#5447)
4300 (tramp-perl-file-attributes)
4301 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4302 (tramp-vc-registered-read-file-names): Read input as
4303 here-document, otherwise the command could exceed maximum length
4305 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4306 `set-file-selinux-context'.
4307 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4308 backtrace functions.
4309 (tramp-error-with-buffer): Don't show the connection buffer when
4310 we are in completion mode.
4311 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4312 (tramp-handle-file-selinux-context)
4313 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4314 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4316 (with-progress-reporter): New defmacro.
4317 (tramp-debug-outline-regexp): New defconst.
4318 (top, tramp-rfn-eshadow-setup-minibuffer)
4319 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4320 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4321 (tramp-completion-mode-p, tramp-check-for-regexp)
4322 (tramp-open-connection-setup-interactive-shell)
4323 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4324 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4325 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4326 Use `tramp-compat-funcall'.
4327 (tramp-handle-make-symbolic-link): Flush file properties.
4328 (tramp-handle-load, tramp-handle-file-local-copy)
4329 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4330 (tramp-handle-vc-registered, tramp-maybe-send-script)
4331 (tramp-find-shell): Use `with-progress-reporter'.
4332 (tramp-do-file-attributes-with-stat): Add space in format string,
4333 in order to work around a bug in pdksh. Reported by Gilles Pion
4335 (tramp-handle-verify-visited-file-modtime): Do not send a command
4336 when the connection is not established.
4337 (tramp-handle-set-file-times): Simplify the check for utc.
4338 (tramp-handle-directory-files-and-attributes)
4339 (tramp-get-remote-path): Use `copy-tree'.
4340 (tramp-completion-handle-file-name-all-completions): Ensure, that
4341 non remote files are still checked. Oops.
4342 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4343 Handle PRESERVE-SELINUX-CONTEXT.
4344 (tramp-do-copy-or-rename-file): Add progress reporter.
4345 (tramp-do-copy-or-rename-file-directly): Do not use
4346 `tramp-handle-file-remote-p'.
4347 (tramp-do-copy-or-rename-file-out-of-band):
4348 Use `tramp-compat-delete-directory'.
4349 (tramp-do-copy-or-rename-file-out-of-band)
4350 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4351 Use `format-spec-make'.
4352 (tramp-handle-delete-file): Add TRASH arg.
4353 (tramp-handle-dired-uncache): Flush directory cache, not only file
4355 (tramp-handle-expand-file-name)
4356 (tramp-completion-handle-file-name-all-completions)
4357 (tramp-completion-handle-file-name-completion):
4358 Use `tramp-connectable-p'.
4359 (tramp-handle-start-file-process): Set connection property "vec".
4360 Use it, in order to invalidate file caches. Check only for
4361 `remote-tty' process property.
4362 Implement tty setting. (Bug#4604, Bug#6360)
4363 (tramp-file-name-for-operation): Add `call-process-region' and
4364 `set-file-selinux-context'.
4365 (tramp-find-foreign-file-name-handler)
4366 (tramp-advice-make-auto-save-file-name)
4367 (tramp-set-auto-save-file-modes): Remove superfluous check for
4368 `stringp'. This is done inside `tramp-tramp-file-p'.
4369 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4370 operations when we are in completion mode. This gives the user
4371 the chance to correct the file name in the minibuffer.
4372 (tramp-completion-mode-p): Use `non-essential'.
4373 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4374 compatibility: Use `completion-ignore-case' if
4375 `read-file-name-completion-ignore-case' does not exist.
4376 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4377 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4379 (tramp-action-password): Hide password prompt before next run.
4380 (tramp-process-actions): Widen connection buffer for the trace.
4381 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4382 process property. Trace stty settings if `tramp-verbose' >= 9.
4383 Apply workaround for IRIX64 bug. Move argument of last
4384 `tramp-send-command' where it belongs to.
4385 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4386 front of `login-args'.
4387 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4388 on "/dev/null" instead of "/".
4389 (tramp-get-ls-command-with-dired): Make test for "--dired"
4391 (tramp-set-auto-save-file-modes): Adapt version check.
4392 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4393 (tramp-handle-process-file): Call the program in a subshell, in
4394 order to preserve working directory.
4395 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4396 `tramp-remote-sh' from `tramp-methods'.
4397 (tramp-get-ls-command): Make test for "--color=never" stronger.
4398 (tramp-check-for-regexp): Use (forward-line 1).
4400 * net/trampver.el: Update release number.
4402 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4404 * help.el (help-map): Bind `C-h P' to describe-package.
4406 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4408 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4409 when downloading archives.
4410 (describe-package-1): Add package commentary.
4411 (package-install-button-action): New function.
4412 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4413 (package-menu-view-commentary): Function removed.
4414 (package-list-packages-internal): Hide the `package' package too.
4416 2010-08-25 Kenichi Handa <handa@m17n.org>
4418 * language/misc-lang.el ("Arabic"): New language environment.
4419 Setup composition-function-table for Arabic characters.
4421 * international/fontset.el (setup-default-fontset): Fix typo for
4422 arabic OTF spec (fini->fina).
4424 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4426 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4429 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4431 * whitespace.el: Allow cleaning up blanks without blank
4432 visualization (Bug#6651). Adjust help window for
4433 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4434 instead of whitespace-line-column (from EmacsWiki). New version
4436 (whitespace-style): Added new value 'face. Adjust docstring.
4437 (whitespace-space, whitespace-hspace, whitespace-tab):
4438 Adjust foreground property face.
4439 (whitespace-line-column): Adjust docstring and type declaration.
4440 (whitespace-style-value-list, whitespace-toggle-option-alist)
4441 (whitespace-help-text): Adjust const initialization.
4442 (whitespace-toggle-options, global-whitespace-toggle-options):
4444 (whitespace-display-window, whitespace-interactive-char)
4445 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4446 (whitespace-help-scroll): New fun.
4448 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4450 * emacs-lisp/package.el (list-packages): Alias for
4451 package-list-packages.
4453 2010-08-24 Kevin Ryde <user42@zip.com.au>
4455 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4458 * progmodes/ruby-mode.el (ruby): Add defgroup.
4460 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4462 * progmodes/python.el: Add Ipython support (Bug#5390).
4463 (python-shell-prompt-alist)
4464 (python-shell-continuation-prompt-alist): New options.
4465 (python--set-prompt-regexp): New function.
4466 (inferior-python-mode, run-python, python-shell):
4467 Require ansi-color. Use python--set-prompt-regexp to set the comint
4468 prompt based on the Python interpreter.
4469 (python--prompt-regexp): New var.
4470 (python-check-comint-prompt)
4471 (python-comint-output-filter-function): Use it.
4472 (run-python): Use a pipe (Bug#5694).
4474 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4476 * progmodes/python.el (python-send-region): Send a different
4477 Python command if Ipython is in use.
4478 (python-check-version): Use a Python command to find the version.
4480 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4482 * mouse.el (mouse-yank-primary): Avoid setting primary when
4483 deactivating the mark (Bug#6872).
4485 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4487 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4488 with "else" (Bug#3991).
4490 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4492 * net/dbus.el: Accept UNIX domain sockets as bus address.
4493 (top): Don't initialize `dbus-registered-objects-table' anymore,
4494 this is done in dbusbind,c.
4495 (dbus-check-event): Adapt test for bus.
4496 (dbus-return-values-table, dbus-unregister-service)
4497 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4500 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4502 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4504 2010-08-22 Juri Linkov <juri@jurta.org>
4506 * simple.el (read-extended-command): New function with the logic
4507 for `completing-read' moved to Elisp from `execute-extended-command'.
4508 Use `function-called-at-point' in `minibuffer-default-add-function'
4509 to get a command name for M-n (bug#5364, bug#5214).
4511 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4513 * startup.el (command-line-1): Issue warning for ignored arguments
4514 --unibyte, etc (Bug#6886).
4516 2010-08-22 Leo <sdl.web@gmail.com>
4518 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4519 (ignore, bright, dim, keyword): Split list of nicknames before
4520 passing to rcirc-add-or-remove (Bug#6894).
4522 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4524 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4526 2010-08-22 Leo <sdl.web@gmail.com>
4528 Fix buffer-list rename&refresh after killing a buffer in ido.
4529 * ido.el: Revert Óscar's.
4530 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4531 Remember the buffers at head, rather than their name.
4532 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4534 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4535 Stefan Monnier <monnier@iro.umontreal.ca>
4537 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4538 extra backslash added to each line (bug#6890).
4540 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4542 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4544 2010-08-22 Glenn Morris <rgm@gnu.org>
4546 * menu-bar.el (menu-bar-games-menu): Add landmark.
4548 2010-08-22 Glenn Morris <rgm@gnu.org>
4550 * align.el (align-regexp): Make group and spacing arguments
4551 use the interactive defaults when non-interactive. (Bug#6698)
4553 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4554 expansion, so as not to need sendmail.
4555 (mail-text-start): Remove declaration.
4556 (rmail-retry-failure): Require sendmail.
4558 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4560 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4562 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4564 * progmodes/flymake.el (flymake-start-syntax-check-process):
4565 Use `start-file-process' in order to let it run also on remote hosts.
4567 2010-08-22 Kenichi Handa <handa@m17n.org>
4569 * files.el: Add `word-wrap' as safe local variable.
4571 2010-08-22 Glenn Morris <rgm@gnu.org>
4573 * woman.el (woman-translate): Case matters. (Bug#6849)
4575 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4577 * simple.el (kill-region): Doc fix (Bug#6787).
4579 2010-08-22 Glenn Morris <rgm@gnu.org>
4581 * calendar/diary-lib.el (diary-header-line-format):
4582 Fit it to the window, not the frame.
4584 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4586 * subr.el (ignore-errors): Add debug declaration.
4588 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4590 * whitespace.el (whitespace-color-off): Remove post-command-hook
4593 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4595 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4597 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4599 * cus-edit.el (custom-group-value-create): Add extra newline
4600 before end line (Bug#6876).
4602 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4604 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4605 when extending it. Before killing on the second click, check if
4606 the buffer is the correct one. Doc fix.
4607 (mouse-secondary-save-then-kill): Allow usage without first
4608 calling mouse-start-secondary, by defaulting to point. Don't save
4609 an empty secondary selection. Doc fix.
4611 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4613 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4614 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4616 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4617 Adjust initialization.
4618 (whitespace-bob-marker, whitespace-eob-marker)
4619 (whitespace-buffer-changed): New vars.
4620 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4621 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4622 (whitespace-post-command-hook, whitespace-display-char-on):
4624 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4625 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4627 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * files.el (locate-file-completion-table): Only list the .el and .elc
4630 extensions if there's no other choice (bug#5955).
4632 * facemenu.el (facemenu-self-insert-data): New var.
4633 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4635 (facemenu-add-face): Use them.
4637 * simple.el (blink-matching-open): Obey forward-sexp-function.
4639 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4641 * simple.el (prog-mode-map): New var.
4642 (prog-indent-sexp): New command.
4644 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4646 * progmodes/prolog.el (smie): Require.
4648 * emacs-lisp/smie.el (smie-default-backward-token)
4649 (smie-default-forward-token): Strip properties.
4650 (smie-next-sexp): Be more careful with associative operators.
4651 (smie-forward-sexp-command): Generalize.
4652 (smie-backward-sexp-command): Simplify.
4653 (smie-closer-alist): New var.
4654 (smie-close-block): New command.
4655 (smie-indent-debug-log): New var.
4656 (smie-indent-offset-rule): Add a few more cases.
4657 (smie-indent-column): New function.
4658 (smie-indent-after-keyword): Use it.
4659 (smie-indent-keyword): Use it.
4660 Fix up the opener code's point position.
4661 (smie-indent-comment): Only applies at BOL.
4662 (smie-indent-debug): New command.
4664 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4665 declarations that are useful before running the macro.
4667 2010-08-18 Joakim Verona <joakim@verona.se>
4669 * image.el (imagemagick-types-inhibit): New variable.
4670 (imagemagick-register-types): New function.
4671 * image-mode.el (image-transform-properties): New function.
4672 (image-transform-set-scale, image-transform-fit-to-height)
4673 (image-transform-set-rotation, image-transform-set-resize)
4674 (image-transform-fit-to-width, image-transform-fit-to-height):
4676 (image-toggle-display-image): Support image transforms.
4678 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4680 * image.el (create-animated-image): Don't add heuristic mask to image
4683 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4685 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4686 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4688 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4692 Font-lock '...' strings, plus various simplifications and fixes.
4693 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4694 (octave-font-lock-close-quotes): New function.
4695 (octave-font-lock-syntactic-keywords): New var.
4696 (octave-mode): Use it. Set beginning-of-defun-function.
4697 (octave-mode-map): Don't override the <foo>-defun commands.
4698 (octave-mode-menu): Pass it directly to easy-menu-define;
4699 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4700 (octave-block-match-alist): Fix up last change so that
4701 octave-close-block uses the more specific keyword.
4702 (info-lookup-mode): Silence byte-compiler.
4703 (octave-beginning-of-defun): Not interactive any more.
4705 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4706 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4707 (octave-completion-at-point-function): Make sure point is within
4709 (octave-reindent-then-newline-and-indent):
4710 Use reindent-then-newline-and-indent.
4711 (octave-add-octave-menu): Remove.
4713 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4715 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4716 (report-emacs-bug-can-use-xdg-email): New functions.
4717 (report-emacs-bug): Set can-xdg-email to result of
4718 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4719 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4722 * net/browse-url.el (browse-url-default-browser): Add cond
4723 for browse-url-xdg-open.
4724 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4726 2010-08-17 Glenn Morris <rgm@gnu.org>
4728 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4729 (c-fontify-recorded-types-and-refs): Define for compiler.
4730 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4733 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4736 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4738 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4740 (tramp-handle-process-file): Call the program in a subshell, in
4741 order to preserve working directory.
4742 (tramp-action-password): Hide password prompt before next run.
4743 (tramp-process-actions): Widen connection buffer for the trace.
4745 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4747 * net/rcirc.el (rcirc-log-process-buffers): New option.
4748 (rcirc-print): Use it.
4749 (rcirc-generate-log-filename): New function.
4750 (rcirc-log-filename-function): Change default to
4751 rcirc-generate-log-filename (Bug#6828).
4753 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4755 * simple.el (deactivate-mark): If select-active-regions is `only',
4756 only set selection for temporarily active regions.
4758 * cus-start.el: Change defcustom for select-active-regions.
4760 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4762 * mouse.el (mouse--drag-set-mark-and-point): New function.
4763 (mouse-drag-track): Use LOCATION arg to push-mark.
4764 Use mouse--drag-set-mark-and-point to take click-count into
4765 consideration when updating point and mark (Bug#6840).
4767 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4769 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4770 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4772 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4774 * font-lock.el (lisp-font-lock-keywords-2):
4775 Add combine-after-change-calls, condition-case-no-debug,
4776 with-demoted-errors, and with-silent-modifications (Bug#6025).
4778 2010-08-14 Kevin Ryde <user42@zip.com.au>
4780 * emacs-lisp/copyright.el (copyright-update-year)
4781 (copyright-update): Temporary switch-to-buffer to ensure the
4782 buffer change being queried is visible (Bug#5394).
4784 2010-08-14 Tom Tromey <tromey@redhat.com>
4786 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4789 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4791 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4794 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4796 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4797 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4798 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4799 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4800 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4801 Call menu-bar-set-tool-bar-position.
4803 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4806 comment style (bug#6834).
4807 * progmodes/scheme.el (scheme-mode-syntax-table):
4808 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4809 "b" flag in "' 14b" syntax.
4811 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4812 for (un)commenting the region and performing completion.
4813 (octave-mode-menu): Use standard commands for help and completion.
4814 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4815 (octave-mode): Use define-derived-mode.
4816 Set completion-at-point-functions and don't set columns.
4817 Don't disable adaptive-fill-regexp.
4818 (octave-describe-major-mode, octave-comment-region)
4819 (octave-uncomment-region, octave-comment-indent)
4820 (octave-indent-for-comment): Remove.
4821 (octave-indent-calculate): Rename from calculate-octave-indent.
4822 (octave-indent-line, octave-fill-paragraph): Update caller.
4823 (octave-initialize-completions): No need to make an alist.
4824 (octave-completion-at-point-function): New function.
4825 (octave-complete-symbol): Use it.
4826 (octave-insert-defun): Use define-skeleton.
4828 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4829 (octave-mode-map): Use comment-dwim (bug#6829).
4831 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4833 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4834 indentation of inserted comment.
4836 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4838 * faces.el (region): Add type gtk that uses gtk colors.
4840 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4841 Handle theme-name change.
4843 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4845 * progmodes/sql.el: Version 2.5
4846 (sql-product-alist): Add :prompt-cont-regexp property for several
4848 (sql-prompt-cont-regexp): New variable.
4849 (sql-output-newline-count, sql-output-by-send):
4850 New variables. Record number of newlines in input text.
4851 (sql-send-string): Handle multiple filters and count newlines.
4852 (sql-send-magic-terminator): Count terminator newline.
4853 (sql-interactive-remove-continuation-prompt): Filters output to
4854 remove continuation prompts; one for each newline.
4855 (sql-interactive-mode): Set up new variables, prompt regexp and
4857 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4858 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4860 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4862 * emacs-lisp/pcase.el: New file.
4864 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4866 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4867 as here-document, otherwise the command could exceed maximum
4868 length of command line.
4869 (tramp-handle-vc-registered): Call script accordingly.
4870 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4872 2010-08-10 Kenichi Handa <handa@m17n.org>
4874 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4877 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4879 * emacs-lisp/package.el (package-version-split)
4880 (package--version-first-nonzero, package-version-compare):
4882 (package-directory-list, package-load-all-descriptors)
4883 (package--built-in, package-activate, define-package)
4884 (package-installed-p, package-compute-transaction)
4885 (package-read-all-archive-contents)
4886 (package--add-to-archive-contents, package-buffer-info)
4887 (package-tar-file-info, package-list-packages-internal):
4888 Use version-to-list and version-list-*.
4890 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4891 Use version-to-list.
4892 (package-upload-buffer-internal): Use version-list-<=.
4894 2010-08-09 Kenichi Handa <handa@m17n.org>
4896 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4899 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4901 * tutorial.el (tutorial--default-keys): C-d is now bound to
4902 delete-forward-char (Bug#6826).
4904 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4905 for `double' value of mouse-1-click-follows-link (Bug#6807).
4907 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4909 * replace.el (replace-highlight): Bind isearch-forward and
4910 isearch-error, ensuring that highlighting is updated if the user
4911 switches the search direction (Bug#6808).
4913 * isearch.el (isearch-lazy-highlight-forward): New var.
4914 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4915 (isearch-lazy-highlight-update): Use it.
4917 2010-08-08 Kenichi Handa <handa@m17n.org>
4919 * international/mule.el (define-charset): Store NAME as :base property.
4920 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4921 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4922 current priority. Force using the designation of the specific
4923 charset by adding `charset' text property. Improve the whole algorithm.
4925 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4927 * emulation/pc-select.el (pc-selection-mode-hook)
4928 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4929 (pc-selection-mode): Fix typos in docstrings.
4931 2010-08-08 Kenichi Handa <handa@m17n.org>
4933 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4934 ctext-non-standard-encodings-alist here.
4936 * international/mule.el (ctext-non-standard-encodings-alist):
4937 Add "koi8-r" and "microsoft-cp1251".
4938 (ctext-standard-encodings): New variable.
4939 (ctext-non-standard-encodings-table): List only elements for
4940 non-standard encodings.
4941 (ctext-pre-write-conversion): Adjust for the above change.
4942 Check ctext-standard-encodings.
4944 * international/mule-conf.el (compound-text): Doc fix.
4945 (ctext-no-compositions): Doc fix.
4946 (compound-text-with-extensions): Doc fix.
4948 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4952 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4954 * progmodes/which-func.el (which-func-format): Split help-echo text
4955 into lines, like other mode-line tooltips.
4957 * server.el (server-start): When using TCP sockets, force IPv4
4958 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4960 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4962 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4964 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4966 * term.el (term-delimiter-argument-list): Reflow docstring.
4967 (term-read-input-ring, term-write-input-ring, term-send-input)
4968 (term-bol, term-erase-in-display, serial-supported-or-barf):
4969 Fix typos in docstrings.
4971 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4975 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4977 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4979 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4981 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4982 Fix typo in docstring (bug#6747).
4984 2010-08-08 Leo <sdl.web@gmail.com>
4986 * eshell/esh-io.el (eshell-get-target): Better detection of
4987 read-only file (Bug#6762).
4989 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4991 * align.el (align-default-spacing): Doc fix.
4992 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4994 2010-08-08 Stephen Peters <speters@itasoftware.com>
4996 * calendar/icalendar.el
4997 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4998 (icalendar--get-weekday-numbers): New.
4999 (icalendar--convert-recurring-to-diary): Handle multiple byday
5000 values in weekly rules. (Bug#6766)
5002 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5004 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5005 (icalendar--create-uid, icalendar-export-region)
5006 (icalendar--parse-summary-and-rest): Code formatting.
5008 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5010 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5011 to italicize headers.
5012 (calc-highlight-selections-with-faces): New variable.
5013 (calc-selected-face, calc-nonselected-face): New faces.
5015 * calc/calccomp.el (math-comp-highlight-string): Use
5016 `calc-highlight-selections-with-faces' to determine how to highlight
5019 * calc/calc-sel.el (calc-show-selections): Change message to when
5020 using faces to highlight selections.
5022 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5024 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5025 Add SQLite 3 keywords, functions and datatypes.
5026 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5029 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5031 * simple.el (select-active-regions): Move to keyboard.c.
5032 (deactivate-mark): Used saved-region-selection.
5033 (select-active-region): Function removed.
5034 (activate-mark, set-mark, push-mark-command)
5035 (handle-shift-selection): Don't call it.
5036 (keyboard-quit): Avoid adding the region to the window selection.
5038 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5039 select-active-regions implementation.
5040 (mouse-yank-at-click): Doc fix.
5042 * cus-start.el: Add custom declaration for select-active-regions.
5044 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5046 * simple.el (delete-forward-char): Doc fix.
5048 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5049 after reading the tutorial.
5051 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5053 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5054 Fix for the case that a C style comment has its delimiters alone on
5055 their respective lines.
5057 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5059 * net/tramp.el (tramp-handle-start-file-process): Set connection
5061 (tramp-process-sentinel): Use it for flushing the cache.
5062 We cannot do it via the process buffer, the buffer could be deleted
5063 already when running the sentinel.
5065 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5067 * comint.el (comint-mode): Make directory tracking functions
5068 functional on remote files. (Bug#6764)
5070 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5072 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5074 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5076 * emacs-lisp/find-gc.el (find-gc-source-files):
5077 Rename unexec.c => unexcoff.c.
5079 * emacs-lisp/authors.el (authors-fixed-entries):
5080 Rename unexec.c => unexcoff.c.
5082 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5084 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5085 cache, not only file cache.
5086 (tramp-process-sentinel): New defun.
5087 (tramp-handle-start-file-process): Use it, in order to invalidate
5090 2010-08-03 Leo <sdl.web@gmail.com>
5092 * server.el (server-start): Simplify loop.
5094 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * frame.el (screen-height, screen-width, set-screen-width)
5097 (set-screen-height): Remove ancient compatibility aliases.
5099 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5100 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5102 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5103 that change current buffer.
5105 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5107 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5108 beginning of the string. Use `string-match-p'. (Bug#6765)
5110 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5112 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5114 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5116 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5117 (package--builtins): Tweak descriptions.
5118 (package-print-package): Upcase descriptions if necessary.
5119 Show all built-in packages in font-lock-builtin-face.
5120 (package-list-packages-internal): Omit "emacs" package.
5121 Show status of built-in packages as "built-in".
5123 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5125 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5126 before killing to preserve the primary selection (Bug#6701).
5128 * term/x-win.el (x-select-text): Doc fix.
5130 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5132 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5133 (objc-font-lock-extra-types):
5134 * progmodes/cc-mode.el (c-basic-common-init):
5135 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5136 (c++-make-template-syntax-table)
5137 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5138 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5139 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5140 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5141 * progmodes/cc-fonts.el (c-make-inverse-face)
5142 (c-basic-matchers-after):
5143 * progmodes/cc-engine.el (c-forward-keyword-clause)
5144 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5145 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5146 (c-guess-continued-construct, c-guess-basic-syntax):
5147 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5148 The above functions were modified or created.
5150 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5152 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5154 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5156 * files.el (bidi-paragraph-direction): Define safe local values.
5158 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5159 language-info-alist. Remove outdated FIXME in a comment.
5161 2010-07-31 Alan Mackenzie <acm@muc.de>
5163 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5164 Auto-fill broken in C/C++ modes.
5166 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5168 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5169 (menu-bar-showhide-tool-bar-menu-customize-disable)
5170 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5171 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5172 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5173 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5174 make a menu for Options => toolbar that can move it.
5176 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5178 * emacs-lisp/package-x.el (package--make-rss-entry):
5179 (package-maint-add-news-item, package--update-news)
5180 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5182 * emacs-lisp/package.el (package-archive-url): Rename from
5184 (package-install): Doc fix.
5185 (package-download-single, package-download-tar, package-install)
5186 (package-menu-view-commentary): Callers changed.
5188 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5190 * net/tramp.el (tramp-handle-start-file-process): Check only for
5191 `remote-tty' process property.
5192 (tramp-open-shell): Don't check for tty.
5193 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5196 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5199 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5201 * emacs-lisp/package.el (package-load-list, package-archives)
5202 (package-archive-contents, package-user-dir)
5203 (package-directory-list, package--builtins, package-alist)
5204 (package-activated-list, package-obsolete-alist): Mark as risky.
5206 2010-07-28 Phil Hagelberg <phil@evri.com>
5208 Add support for non-default package repositories.
5209 * emacs-lisp/package.el (package-archive-base): Var deleted.
5210 (package-archives): New variable.
5211 (package-archive-contents): Doc fix.
5212 (package-load-descriptor): Do nothing if descriptor file is missing.
5213 (package--write-file-no-coding): New function.
5214 (package-unpack-single): Use it.
5215 (package-archive-id): New function.
5216 (package-download-single, package-download-tar)
5217 (package-menu-view-commentary): Use it.
5218 (package-installed-p): Make second argument optional.
5219 (package-read-all-archive-contents): New function.
5220 (package-initialize): Use it.
5221 (package-read-archive-contents): Add ARCHIVE argument.
5222 (package--add-to-archive-contents): New function.
5223 (package-install): Don't call package-read-archive-contents.
5224 (package--download-one-archive): Store archive file in a
5225 subdirectory of package-user-dir.
5226 (package-menu-execute): Remove spurious line movement.
5228 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5230 * cus-start.el (tool-bar-style): Add text-image-horiz.
5232 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5234 * progmodes/gud.el (gud-common-init): Check for remoteness of
5235 `file', and not of `default-directory'.
5237 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5239 * net/tramp.el (tramp-methods): Move hostname to the end in all
5240 ssh `tramp-login-args'.
5241 (tramp-verbose): Describe verbose level 9.
5242 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5243 (tramp-open-connection-setup-interactive-shell): Trace stty
5244 settings if `tramp-verbose' >= 9.
5245 (tramp-handle-start-file-process): Implement tty setting.
5246 (Bug#4604, Bug#6360)
5248 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5249 `tramp-verbose' to 9.
5251 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5253 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5254 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5255 Remove references to package `lisp-re' (bug#4369).
5257 2010-07-27 Tom Tromey <tromey@redhat.com>
5259 * progmodes/js.el (js-mode):
5260 * progmodes/make-mode.el (makefile-mode):
5261 * progmodes/simula.el (simula-mode):
5262 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5264 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5266 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5268 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5269 (display-time-world-buffer-name, display-time-world-mode-map):
5270 Fix typos in docstrings.
5272 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5274 * image-mode.el (image-display-size): New function.
5275 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5276 (image-mode-fit-frame): Use it (Bug#6639).
5278 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5280 * dired.el (dired-buffers-for-dir): Handle list values of
5281 dired-directory (Bug#6636).
5283 2010-07-26 Sam Steingold <sds@gnu.org>
5285 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5286 Do not call `x-get-selection' the second time, reuse the value.
5288 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5290 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5291 which consist of control chars only. Suggested by Richard Stallman.
5293 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5295 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5296 exists before passing an error to find-file-not-found-functions
5299 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5301 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5302 Remove leading nil element, adjust values.
5303 (tetris-shapes, tetris-shape-scores):
5304 Change representation of shapes and remove some redundancy.
5305 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5306 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5307 Adjust for working with new representation of shapes.
5308 (tetris-shape-rotations): New function.
5309 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5310 (tetris-rotate-prev, tetris-rotate-next):
5311 Adjust for working with the new version of tetris-test-shape.
5313 2010-07-23 Markus Triska <markus.triska@gmx.at>
5315 * progmodes/ps-mode.el: Use comint (bug#5954).
5316 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5317 (ps-mode-other-newline): Simplify.
5318 (ps-run-mode): Derive from comint-mode instead of
5319 fundamental-mode, yielding input history etc.
5320 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5321 (ps-run-send-string): Adapt for comint-mode.
5322 (ps-run-newline): Remove now unneeded function.
5324 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5326 * net/tramp.el (tramp-methods): Move hostname to the end in all
5327 plink `tramp-login-args'.
5329 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5331 * net/tramp.el (tramp-open-shell): New defun.
5332 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5335 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5337 * net/tramp.el (tramp-file-name-regexp-unified)
5338 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5339 not regard the volume letter as remote filename. (Bug#5447)
5341 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5343 * custom.el (custom-declare-variable): Give a clearer error message
5344 when the docstring is missing (bug#6476).
5346 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5348 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5349 (sql-login-params): New widget definition.
5350 (sql-oracle-login-params, sql-mysql-login-params)
5351 (sql-solid-login-params, sql-sybase-login-params)
5352 (sql-informix-login-params, sql-ingres-login-params)
5353 (sql-ms-login-params, sql-postgres-login-params)
5354 (sql-interbase-login-params, sql-db2-login-params)
5355 (sql-linter-login-params): Use it.
5356 (sql-sqlite-login-params): Use it; Define "database" parameter as
5358 (sql-sqlite-program): Change to "sqlite3".
5359 (sql-comint-sqlite): Make sure database name is complete.
5360 (sql-for-each-login): New function.
5361 (sql-connect, sql-save-connection): Use it.
5362 (sql-get-login-ext): New function.
5363 (sql-get-login): Use it.
5364 (sql-make-alternate-buffer-name): Handle :file parameters.
5366 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5368 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5369 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5371 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5373 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5375 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5377 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5379 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5381 * net/tramp.el (tramp-get-ls-command)
5382 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5385 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5387 * progmodes/sql.el: Version 2.3.
5388 (sql-connection-alist): Changed keys from symbols to strings;
5389 enhanced the widget definition.
5390 (sql-mode-menu): Added submenu to select connections.
5391 (sql-interactive-mode-menu): Added "Save Connection" item.
5392 (sql-add-product): Fixed menu item.
5393 (sql-get-product-feature): Improved error handling.
5394 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5395 (sql-make-alternate-buffer-name): Simplified.
5396 (sql-product-interactive): Handle missing product.
5397 (sql-connect): Support string keys, minor improvements.
5398 (sql-save-connection): New function.
5399 (sql-connection-menu-filter): New function.
5401 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5403 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5404 (tramp-open-connection-setup-interactive-shell):
5405 Apply workaround for IRIX64 bug. Move argument of last
5406 `tramp-send-command' where it belongs to.
5408 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5410 * net/tramp.el (tramp-perl-file-attributes)
5411 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5412 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5413 front of `login-args'.
5415 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5417 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5418 Set `show-trailing-whitespace' to nil.
5419 (display-time-world-display): Simplify.
5421 2010-07-18 Alan Mackenzie <acm@muc.de>
5423 Enhance `c-file-style' in file/directory local variables.
5424 * progmodes/cc-mode.el (c-count-cfss): New function.
5425 (c-before-hack-hook): Call `c-set-style' differently according to
5426 whether c-file-style was set in file or directory local
5429 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5431 * progmodes/sql.el: Version 2.2.
5432 (sql-product, sql-user, sql-database, sql-server, sql-port):
5433 Use defcustom :safe keyword rather than putting safe-local-variable
5435 (sql-password): Use defcustom :risky keyword rather than putting
5436 risky-local-variable property.
5437 (sql-oracle-login-params, sql-sqlite-login-params)
5438 (sql-solid-login-params, sql-sybase-login-params)
5439 (sql-informix-login-params, sql-ingres-login-params)
5440 (sql-ms-login-params, sql-postgres-login-params)
5441 (sql-interbase-login-params, sql-db2-login-params)
5442 (sql-linter-login-params): Add `port' option.
5443 (sql-get-product-feature): Added NO-INDIRECT parameter.
5444 (sql-comint-oracle, sql-comint-sybase)
5445 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5446 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5447 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5448 (sql-comint-linter): Renamed sql-connect-* functions to
5450 (sql-product-alist, sql-mode-menu): Renamed as above and
5451 :sqli-connect-func to :sqli-comint-func.
5452 (sql-connection): New variable.
5453 (sql-interactive-mode): Set it.
5454 (sql-connection-alist): New variable.
5455 (sql-connect): New function.
5456 (sql--alt-buffer-part, sql--alt-if-not-empty)
5457 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5459 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5461 * image-mode.el (image-bookmark-make-record): Do not set context
5462 in an image (Bug#6650).
5464 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5466 * simple.el (select-active-region): New function.
5467 (push-mark-command, set-mark, activate-mark)
5468 (handle-shift-selection): Use it.
5469 (deactivate-mark): Don't check for size of region.
5471 * mouse.el (mouse-drag-track): Use select-active-region.
5473 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5475 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5478 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5480 * term/x-win.el (x-select-enable-primary): Change default to nil.
5481 (x-select-enable-clipboard): Add :version keyword.
5483 * mouse.el (mouse-drag-copy-region):
5484 * simple.el (select-active-regions): Likewise.
5486 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5488 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5489 (vc-coding-system-for-diff): Use it to decide whether to inherit
5490 from the file the EOL format for reading the diffs of that file.
5493 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5495 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5496 unibyte, so compressed attachments are not compressed again.
5498 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5500 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5501 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5502 (tramp-find-shell): Simplify setting connection property.
5503 (tramp-get-ls-command): Make test for "--color=never" stronger.
5505 2010-07-15 Simon South <ssouth@member.fsf.org>
5507 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5508 blocks within record declarations (i.e. variant parts) correctly.
5510 2010-07-15 Simon South <ssouth@member.fsf.org>
5512 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5513 over literal tokens when parsing so newlines aren't "absorbed" by
5514 single-line comments. Corrects the indentation of case blocks
5515 that have a comment on the first line.
5517 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5519 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5520 by Drew Adams (Bug#5504).
5522 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5524 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5525 now that Unicode is used (Bug#6594).
5527 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5529 * term/x-win.el (x-select-enable-clipboard): Default to t.
5530 (x-initialize-window-system): Don't overwrite Paste menu item.
5532 * simple.el (select-active-regions): Default to t.
5533 (push-mark-command): Don't overwrite primary with empty string.
5535 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5536 (mouse-drag-copy-region): Default to nil.
5538 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5539 Cut/Copy/Paste menu bar items.
5541 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5543 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5544 Patch applied by Karl Fogel.
5546 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5547 and `bookmark-current-buffer' if they have been already set in
5548 another buffer (e.g gnus-art).
5550 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5551 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5553 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5555 * bookmark.el (bookmark-make-record-default): Allow unneeded
5556 information to be omitted from the record.
5558 Adjust declarations and calls:
5560 * info.el (bookmark-make-record-default): Adjust declaration.
5561 (Info-bookmark-make-record): Adjust call.
5563 * woman.el (bookmark-make-record-default): Adjust declaration.
5564 (woman-bookmark-make-record): Adjust call.
5566 * man.el (bookmark-make-record-default): Adjust declaration.
5567 (Man-bookmark-make-record): Adjust call.
5569 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5571 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5573 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5575 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5576 This is also from Thierry Volpiatto's patch in bug #6444. However,
5577 because it was extraneous to the functional change in that patch,
5578 and causes a re-indendation, I am committing it separately.
5580 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5582 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5583 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5584 Patch applied by Karl Fogel (Bug#6444).
5586 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5588 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5590 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5592 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5593 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5594 (ns-alternatives-map): Change S-tab binding to backtab
5597 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5600 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5602 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5605 * language/tv-util.el (tai-viet-re): Remove format.
5607 2010-07-12 Kenichi Handa <handa@m17n.org>
5609 * language/hebrew.el: Remove no-byte-compile declaration.
5610 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5611 composition-function-table for 3-character looking back.
5612 (hebrew-font-get-precomposed): New function.
5613 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5615 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5617 * mouse.el (mouse-drag-track): Handle select-active-regions
5620 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5622 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5623 empty argument to gvfs-copy.
5625 2010-07-10 Glenn Morris <rgm@gnu.org>
5627 * calendar/calendar.el (calendar-week-end-day): New function.
5628 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5629 Respect calendar-week-start-day. (Bug#6606)
5630 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5631 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5632 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5633 respect calendar-week-start-day.
5635 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5637 * simple.el (use-region-p): Doc fix (Bug#6607).
5639 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5641 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5642 Add regexps for cucumber and ruby.
5644 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5646 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5647 (epa-file-insert-file-contents): Hack to prevent
5648 find-file from opening empty buffer when decryption failed
5651 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5653 * textmodes/ispell.el (ispell-alternate-dictionary):
5654 Use file-readable-p.
5655 Return nil if no word-list is found at default locations.
5656 (ispell-complete-word-dict): Default to nil.
5657 (ispell-command-loop): Use 'word-list' when using lookup-words.
5658 (lookup-words): Use ispell-complete-word-dict or
5659 ispell-alternate-dictionary. Check for word-list availability
5660 and handle errors if needed with better messages (Bug#6539).
5661 (ispell-complete-word): Use ispell-complete-word-dict or
5662 ispell-alternate-dictionary.
5664 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5666 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5667 builtins (BufferError, BytesWarning, WindowsError; callables
5668 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5670 2010-07-07 Glenn Morris <rgm@gnu.org>
5672 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5673 (zone-shift-left): Ignore intangibility, and any errors from
5675 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5676 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5677 deleting, and copying text properties.
5678 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5679 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5680 to point-max is hard.
5681 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5682 (zone-fill-out-screen): Ignore intangibility.
5684 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5686 * menu-bar.el (menu-bar-mode):
5687 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5690 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5691 word/line selection (Bug#6565).
5693 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5695 * net/dbus.el (dbus-send-signal): Declare function.
5697 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5699 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5700 (dbus-register-property): New optional argument EMITS-SIGNAL.
5701 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5703 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5705 * mouse.el (mouse-drag-overlay): Variable deleted.
5706 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5707 (mouse--remap-link-click-p): New function.
5708 (mouse-drag-track): Handle dragging by using temporary Transient
5709 Mark mode, instead of a special overlay.
5710 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5713 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5716 2010-07-02 Juri Linkov <juri@jurta.org>
5718 * autoinsert.el (auto-insert-alist): Fix readability
5719 by using dotted pair notation for lambda.
5721 2010-07-02 Juri Linkov <juri@jurta.org>
5723 * faces.el (read-face-name): Rename arg `string-describing-default'
5724 to `default'. Doc fix. Display the default value in quotes
5725 in the prompt. With empty input, return the `default' arg,
5726 unless the default value is a string (in which case return nil).
5727 (describe-face): Replace the string `default' arg of `read-face-name'
5728 with the symbol `default'.
5730 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5732 * emulation/viper-cmd.el (viper-delete-backward-char)
5733 (viper-del-backward-char-in-insert)
5734 (viper-del-backward-char-in-replace, viper-change)
5735 (viper-backward-indent): Replace delete-backward-char with
5736 delete-char (Bug#6552).
5738 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5740 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5742 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5744 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5745 argument passed to frame-creation-function (Bug#5378).
5747 * faces.el (x-handle-named-frame-geometry)
5748 (x-handle-reverse-video, x-create-frame-with-faces)
5749 (face-set-after-frame-default, tty-create-frame-with-faces):
5750 Don't separately consult default-frame-alist. It is now passed as the
5753 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5755 * startup.el (command-line): Don't call tool-bar-setup in a
5758 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5760 * ruler-mode.el (ruler--save-header-line-format): New fun.
5761 (ruler-mode): Use it as a setter function, so as not to overwrite
5762 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5764 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5766 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5767 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5768 (vc-log-outgoing): Use it.
5769 (vc-diff-internal): Set diff-vc-backend.
5771 * vc/diff-mode.el (diff-vc-backend): New var.
5773 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5775 * dynamic-setting.el (font-setting-change-default-font):
5776 Remove call to message.
5778 2010-06-28 Kenichi Handa <handa@m17n.org>
5780 * international/quail.el (quail-insert-kbd-layout): Fix the
5781 showing of untranslated characters.
5783 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5785 * simple.el (delete-active-region): New option.
5786 (delete-backward-char): Implement in Lisp.
5787 (delete-forward-char): New command.
5789 * mouse.el (mouse-region-delete-keys): Deleted.
5790 (mouse-show-mark): Simplify.
5792 * bindings.el (global-map): Bind delete and DEL, the former to
5793 delete-forward-char.
5795 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5797 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5798 (ruby-mode): Bind indent-line-function (Bug#5119).
5800 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5802 * startup.el (command-line): Recognize "0" X resource value.
5804 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5806 * startup.el (command-line): Use X resources to set the value of
5807 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5809 * menu-bar.el (menu-bar-mode):
5810 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5811 Set init-value to t.
5813 * frame.el (frame-notice-user-settings): Don't change
5814 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5815 vice versa (Bug#2249).
5817 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5819 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5821 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5823 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5824 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5826 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5827 default directories are expanded (Bug#6143).
5829 2010-06-24 Juri Linkov <juri@jurta.org>
5831 * minibuffer.el (completions-format): Change default from nil to
5832 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5834 2010-06-24 Juri Linkov <juri@jurta.org>
5836 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5837 buffer-locally to lambda that re-runs the vc diff command.
5840 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5842 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5843 echo area is in use (Bug#3412).
5845 2010-06-22 Glenn Morris <rgm@gnu.org>
5847 * textmodes/texinfmt.el (texinfo-format-region)
5848 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5849 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5850 (texinfo-format-option, texinfo-noindent):
5851 Use line-beginning-position and line-end-position.
5853 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5854 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5855 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5858 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5860 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5861 forward-line fallout.
5863 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5865 * mouse.el (mouse-appearance-menu): Add docstring.
5867 * help.el (describe-key): Print up-event using key-description.
5869 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5871 * net/zeroconf.el (zeroconf-resolve-service)
5872 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5873 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5875 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5877 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5879 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5881 Avoid displaying files with a nil state in vc-dir.
5882 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5883 cases that cause insertion.
5884 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5887 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5889 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5891 2010-06-29 Leo <sdl.web@gmail.com>
5893 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5895 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5897 * generic-x.el (bat-generic-mode): Fix regexp for command line
5898 switches (Bug#5719).
5900 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5902 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5903 of nconc to avoid pure storage error (Bug#6239).
5905 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5907 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5908 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5909 bindings of bookmark-automatically-show-annotations (Bug#6515).
5911 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5913 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5914 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5916 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5918 * comint.el (make-comint, make-comint-in-buffer): Mention return
5919 value in the docstrings. (Bug#6498)
5921 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5923 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5924 since it is not present when using some non-default switches.
5926 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5928 * simple.el (compose-mail): Fix doc string to refer to
5929 `compose-mail-user-agent-warnings', instead of to the
5930 nonexistent `compose-mail-check-user-agent'.
5932 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5934 Fix an indentation bug:
5936 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5937 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5940 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5941 (c-clear->-pair-props-if-match-before): now return t when they've
5942 cleared properties, nil otherwise.
5943 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5944 by taking account of the existing value.
5946 * progmodes/cc-defs.el
5947 (c-clear-char-property-with-value-function): Fix this to clear the
5948 property rather than overwriting it with nil.
5950 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5952 * emacs-lisp/package.el (package-print-package): Add link to
5953 package description via describe-package.
5954 (describe-package-1): List package requirements. Add button to
5955 perform installation.
5956 (package-menu-describe-package): New command.
5958 * help-mode.el (help-package): New button type.
5960 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5962 * emacs-lisp/package.el: Move package-list-packages binding to
5964 (describe-package, describe-package-1, package--dir): New funs.
5965 (package-activate-1): Use package--dir.
5967 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5969 * help-mode.el (help-package-def): New button type.
5971 * menu-bar.el: Move package-list-packages binding here from
5974 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5976 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5978 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * emacs-lisp/edebug.el (edebug-read-list):
5981 Phase out old-style backquotes.
5983 2010-06-17 Juri Linkov <juri@jurta.org>
5985 * help-mode.el (help-mode): Set buffer-local variable
5986 revert-buffer-function to help-mode-revert-buffer.
5987 (help-mode-revert-buffer): New function.
5989 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5990 before popping to "*info*" (like in other Info functions).
5991 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5992 old-history-forward. Pop to old-buffer-name or "*info*" to
5993 recreate the killed buffer. Set Info-history-forward from
5994 old-history-forward.
5995 (Info-breadcrumbs-depth): Add :group and :version.
5997 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5999 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6001 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6003 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6004 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6006 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6008 * emacs-lisp/package.el (package-menu-mode-map):
6009 Move initialization into declaration.
6011 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6013 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6015 * emacs-lisp/package.el (package-archive-base): Point to
6017 (package-enable, package-load-list): New defcustoms.
6018 (package-user-dir, package-directory-list): Turn into defcustoms.
6019 Don't include package-user-dir in package-directory-list.
6020 (package--builtins-base): Don't include Emacs as a "package".
6021 (package-subdirectory-regexp): New var.
6022 (package-load-all-descriptors, package-compute-transaction)
6023 (package-download-transaction): Obey package-load-list.
6024 (package-activate-1): Rename from package-do-activate.
6025 (package-list-packages-internal): Check package-load-list.
6026 (package-load-descriptor, package-generate-autoloads)
6027 (package-unpack, package-unpack-single)
6028 (package--read-archive-file, package-delete):
6029 Use expand-file-name.
6031 * emacs-lisp/package-x.el: New file. Package uploading
6032 functionality split out from package.el.
6034 * startup.el (command-line): Load packages after reading init file.
6036 2010-06-17 Tom Tromey <tromey@redhat.com>
6038 * emacs-lisp/package.el: New file.
6040 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6042 Fix vc-annotate for renamed files when using Git.
6043 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6044 ls-files. Doe not pass the object as a file name to cat-file, it
6046 (vc-git-annotate-command): Pass the file name using -- to avoid
6047 ambiguity with the revision.
6048 (vc-git-previous-revision): Pass a relative file name.
6050 2010-06-22 Glenn Morris <rgm@gnu.org>
6052 * progmodes/js.el (js-mode-map): Use standard capitalization and
6053 ellipses for menu entries.
6055 * wid-edit.el (widget-complete): Doc fix.
6057 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6059 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6061 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6063 Fix annotating other revisions for renamed files in vc-annotate.
6064 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6065 VC backend. Use it when non-nil.
6066 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6069 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6070 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6071 Do not pass the file name to the 'previous-revision call when we
6072 don't want a file diff. (Bug#6489)
6074 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6076 Fix finding revisions for renamed files in vc-annotate.
6077 * vc/vc.el (vc-find-revision): Add an optional argument for
6078 the VC backend. Use it when non-nil.
6079 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6080 backend to vc-find-revision. (Bug#6487)
6082 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6084 Fix reading file names in Git annotate buffers.
6085 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6086 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6088 2010-06-20 Alan Mackenzie <acm@muc.de>
6090 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6091 in file local variables, set it first.
6093 2010-06-19 Glenn Morris <rgm@gnu.org>
6095 * descr-text.el (describe-char-unicode-data): Insert separating
6096 space when needed. (Bug#6422)
6098 * progmodes/idlwave.el (idlwave-action-and-binding):
6099 Fix typo in 2009-12-03 change. (Bug#6450)
6101 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6104 handling for `lambda' (misunderstanding).
6106 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6108 * calc/calc-poly.el (math-accum-factors): Make sure that
6109 constants aren't distributed after they are factored out.
6111 2010-06-16 Juri Linkov <juri@jurta.org>
6113 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6114 `list-colors-print'. (Bug#6332)
6116 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6118 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6120 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6121 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6123 * font-lock.el (font-lock-major-mode): Rename from
6124 font-lock-mode-major-mode to distinguish it from
6125 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6126 (font-lock-set-defaults):
6127 * font-core.el (font-lock-default-function): Adjust users.
6128 (font-lock-mode): Don't set it at all.
6130 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6134 2010-06-16 Glenn Morris <rgm@gnu.org>
6136 * calendar/appt.el (appt-time-msg-list): Doc fix.
6137 (appt-check): Let-bind appt-warn-time.
6138 (appt-add): Make the 3rd argument optional.
6139 Simplify argument names. Doc fix. Check for integer WARNTIME.
6140 Only add WARNTIME to the output list if non-nil.
6142 2010-06-16 Ivan Kanis <apple@kanis.eu>
6144 * calendar/appt.el (appt-check): Let the 3rd element of
6145 appt-time-msg-list specify the warning time.
6146 (appt-add): Add new argument with the warning time. (Bug#5176)
6148 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6150 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6151 older than version 1.6. (Bug#6361)
6153 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6155 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6156 used by cl-do-arglist. (Bug#6408)
6158 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6160 * textmodes/ispell.el (ispell-dictionary-base-alist):
6161 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6162 Suggested by Rolando Pereira (bug#6434).
6164 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6166 * facemenu.el (list-colors-sort): Doc fix.
6168 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6170 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6172 2010-06-14 Juri Linkov <juri@jurta.org>
6174 Add sort option `list-colors-sort'. (Bug#6332)
6175 * facemenu.el (color-rgb-to-hsv): New function.
6176 (list-colors-sort): New defcustom.
6177 (list-colors-sort-key): New function.
6178 (list-colors-display): Doc fix. Sort list according to the option
6180 (list-colors-print): Add HSV values to `help-echo' property of
6183 2010-06-14 Juri Linkov <juri@jurta.org>
6185 * compare-w.el: Move to the "vc" subdirectory.
6187 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6189 * image-mode.el (image-mode-map): Remap left-char and right-char.
6191 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6193 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6195 * term/common-win.el (x-colors): Add all the color names defined
6196 in rgb.txt (Bug#6332).
6198 * facemenu.el (list-colors-print): Don't print extra names if it
6199 will overflow the window width.
6201 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6204 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6206 * files.el (make-directory): Doc fix (bug#6396).
6208 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6210 * net/tramp.el (tramp-remote-process-environment): Protect version
6211 string by apostroph.
6212 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6214 (tramp-file-name-for-operation): Add `call-process-region'.
6215 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6217 * net/tramp-compat.el (top): Do not autoload
6218 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6219 only when `start-file-process' is not bound.
6220 (tramp-advice-file-expand-wildcards): Do not use
6221 `tramp-handle-file-remote-p'.
6222 (tramp-compat-make-temp-file): Handle the case, that
6223 `make-temp-file' has no third argument EXTENSION.
6225 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6227 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6229 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6231 2010-06-11 Juri Linkov <juri@jurta.org>
6233 * finder.el (finder-known-keywords): Add keyword "vc"
6234 for version control.
6236 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6237 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6238 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6239 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6241 2010-06-11 Juri Linkov <juri@jurta.org>
6243 Move version control related files to the "vc" subdirectory.
6244 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6245 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6246 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6247 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6248 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6249 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6250 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6251 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6252 Move files to the "vc" subdirectory.
6254 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6256 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6259 2010-06-11 Stephen Eglen <stephen@gnu.org>
6261 * shell.el: Bind `shell-resync-dirs' to M-RET.
6263 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6265 * notifications.el: Move file from lisp/net, because it is
6266 supposed to talk locally to the user.
6268 2010-06-10 Julien Danjou <julien@danjou.info>
6270 * net/notifications.el (notifications-on-action-signal)
6271 (notifications-on-closed-signal): Pass notification id as first
6272 argument to the callback functions. Add docstrings.
6273 (notifications-notify): Fix docstring.
6275 2010-06-10 Glenn Morris <rgm@gnu.org>
6277 * emacs-lisp/authors.el (authors-ignored-files)
6278 (authors-valid-file-names): Add some files.
6280 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6283 merge conflict, giving preference to the emacs-23 version of the code.
6285 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * emacs-lisp/advice.el (ad-compile-function):
6288 Define warning-suppress-types before we let-bind it (bug#6275).
6290 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6291 declare it, make it buffer-local and permanent-local (bug#6324).
6292 (vc-resynch-window): Adjust name.
6293 * vc-hooks.el (vc-find-file-hook): Adjust name.
6295 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6297 * net/notifications.el (notifications-notify): Fix docstring.
6299 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6301 Update to Unicode 6.0.0 beta.
6302 * international/charprop.el: Update copyright.
6303 * international/mule-cmds.el (ucs-names): Update character ranges.
6304 * international/uni-bidi.el:
6305 * international/uni-category.el:
6306 * international/uni-combining.el:
6307 * international/uni-comment.el:
6308 * international/uni-decimal.el:
6309 * international/uni-decomposition.el:
6310 * international/uni-digit.el:
6311 * international/uni-lowercase.el:
6312 * international/uni-mirrored.el:
6313 * international/uni-name.el:
6314 * international/uni-numeric.el:
6315 * international/uni-old-name.el:
6316 * international/uni-titlecase.el:
6317 * international/uni-uppercase.el: Regenerate.
6319 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6321 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6322 (smie-precs-precedence-table): Fix typo in docstring.
6324 * vc-mtn.el (log-edit-extract-headers): Declare function.
6326 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6328 * net/notifications.el (dbus-register-signal): Declare function.
6329 (notifications-notify): Fix typos and reflow docstring.
6331 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6333 Improve VC create/retrieve tag/branch.
6334 * vc.el (vc-create-tag): Do not read the directory name for VCs
6335 with repository revision granularity. Adjust the tag/branch
6336 prompt. Reset VC properties.
6337 (vc-retrieve-tag): Do not read the directory name for VCs
6338 with repository revision granularity. Reset VC properties.
6340 2010-06-09 Julien Danjou <julien@danjou.info>
6342 * net/notifications.el: New file.
6344 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6346 Add optional support for resetting VC properties.
6347 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6348 call vc-file-clearprops when true.
6349 (vc-resynch-buffer): Add new optional argument, pass it down.
6350 (vc-resynch-buffers-in-directory): Likewise.
6352 Improve support for special markup in the VC commit message.
6353 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6354 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6355 * vc-git.el (vc-git-checkin):
6356 * vc-bzr.el (vc-bzr-checkin): Likewise.
6358 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6361 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6363 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6365 * iimage.el: Remove images as soon as the underlying text is modified.
6366 (iimage-modification-hook): New function.
6367 (iimage-mode-buffer): Use it.
6369 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6372 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6373 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6374 (smie-indent-keyword): Add handling of open-paren keywords.
6375 (smie-indent-comment-continue): Don't assume comment-continue.
6377 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6379 * window.el (pop-to-buffer): Remove the conditional that
6380 compares new-window and old-window, so it will reselect
6381 the selected window unconditionally.
6382 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6384 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * emacs-lisp/smie.el (smie-indent-offset-after)
6387 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6388 (smie-indent-after-keyword): Use them.
6389 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6390 (smie-indent-keyword): Tweak the black magic.
6391 (smie-indent-comment-continue): Strip comment-continue before use.
6392 (smie-indent-functions): Indent comments before keywords.
6394 2010-06-06 Juri Linkov <juri@jurta.org>
6396 * isearch.el (isearch-lazy-highlight-search): Fix looping
6397 by checking for empty match. This syncs this loop with the
6398 similar loop in `isearch-search'. (Bug#6362)
6400 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6402 * net/dbus.el (dbus-register-method): Declare function.
6403 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6404 (dbus-introspect): Doc fix.
6405 (dbus-event-bus-name, dbus-introspect-get-interface)
6406 (dbus-introspect-get-argument): Reflow docstrings.
6408 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6410 vc-log-incoming/vc-log-outgoing fixes for Git.
6411 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6412 incoming/outgoing logs.
6413 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6414 instead of vc-git-compute-remote.
6415 (vc-git-compute-remote): Remove.
6417 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6419 * term/common-win.el (x-colors): Add "dark green" and "dark
6420 turquoise" (Bug#6332).
6422 2010-06-04 Juri Linkov <juri@jurta.org>
6424 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6425 Instead of setting `replace' to t and replacing the same string
6426 with itself, don't do certain actions when
6427 kill-do-not-save-duplicates is non-nil and string is equal to car
6428 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6429 interprogram-paste strings to kill-ring, and don't push the input
6430 argument `string' to kill-ring.
6431 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6433 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6435 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6437 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6439 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6440 (tramp-gvfs-handler-mounted-unmounted)
6441 (tramp-gvfs-connection-mounted-p): Handle default-location.
6443 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6444 move files to trash.
6446 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6448 * international/mule-cmds.el (nonascii-insert-offset)
6449 (nonascii-translation-table): Add obsolescence information.
6451 * international/mule.el (make-translation-table-from-vector): Doc fix.
6453 2010-06-03 Glenn Morris <rgm@gnu.org>
6455 * desktop.el (desktop-clear-preserve-buffers):
6456 Add "*Warnings*" buffer. (Bug#6336)
6458 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6460 vc-log-incoming/vc-log-outgoing improvements for Git.
6461 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6463 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6465 Add bindings for vc-log-incoming and vc-log-outgoing.
6466 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6467 and vc-log-outgoing.
6468 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6469 and vc-log-outgoing.
6471 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6473 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6474 (rcirc-handler-366): Always sort nicknames.
6476 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6478 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6480 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6482 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6484 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6487 (rcirc-sort-nicknames-join): Avoid setq.
6489 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6491 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6492 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6493 (rcirc-handler-366): Use them.
6495 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6497 Split smie-indent-calculate into more manageable chunks.
6498 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6499 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6500 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6501 (smie-indent-exps): Extract from smie-indent-calculate.
6502 (smie-indent-functions): New var.
6503 (smie-indent-functions): Use them.
6505 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6507 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6508 (smie-indent-calculate): Simplify and cleanup.
6510 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6512 * net/tramp-gvfs.el (top): Require url-util.
6513 (tramp-gvfs-mount-point): Remove.
6514 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6516 (with-tramp-dbus-call-method): Format trace message.
6517 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6518 Implement backup call, when operation on local files fails.
6519 Use progress reporter. Flush properties of changed files.
6520 (tramp-gvfs-handle-make-directory): Make more traces.
6521 (tramp-gvfs-url-file-name): Hexify file name in url.
6522 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6523 into account for the resulting file name.
6524 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6525 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6526 (tramp-gvfs-handler-mounted-unmounted)
6527 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6528 attribute "default_location". Set "prefix" property.
6529 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6530 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6531 exists. Raise an error, if not (due to a corresponding answer
6532 "no" in interactive questions, for example).
6534 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6536 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6538 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6540 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6543 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6545 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6546 * vc-git.el (vc-git-compute-remote): New function.
6547 (vc-git-log-outgoing): Use it instead of hard coding a value.
6548 (vc-git-log-incoming): New function.
6550 Improve state updating for VC tag commands.
6551 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6552 to update the state of all buffers in the directory.
6554 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6556 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6559 `file-directory-p' to the filename part rather than to the whole text.
6561 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6565 2010-05-31 Drew Adams <drew.adams@oracle.com>
6567 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6569 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6571 * subr.el (momentary-string-display): Just use read-event to read
6572 the exit event (Bug#6238).
6574 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6576 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6578 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6580 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6581 Suggested by Eli Zaretskii <eliz@gnu.org>.
6583 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * minibuffer.el (completion-file-name-table): Don't return a boundary
6586 past the end of `string' (bug#6299).
6587 (completion--file-name-table): Delegate to completion-file-name-table
6588 for the `boundaries' case.
6590 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6592 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6595 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6596 `path-separator', but maintain compatibility with Emacs 20.2.
6598 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6600 * server.el (server-process-filter): Receive parent-id argument
6602 (server-create-window-system-frame): New arg. Pass parent-id as
6605 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6607 Bidi-sensitive word movement with arrow keys.
6608 * subr.el (right-arrow-command, left-arrow-command): Move to
6611 * bindings.el (right-char, left-char): Move from subr.el and
6612 rename from right-arrow-command and left-arrow-command.
6613 (right-word, left-word): New functions.
6614 (global-map) <right>: Bind to right-char.
6615 (global-map) <left>: Bind to left-char.
6616 (global-map) <C-right>: Bind to right-word.
6617 (global-map) <C-left>: Bind to left-word.
6619 * ls-lisp.el (ls-lisp-classify-file): New function.
6620 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6621 (ls-lisp-classify): Call ls-lisp-classify-file.
6622 (insert-directory): Remove blanks from switches.
6624 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6626 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6627 (ansi-color-drop-regexp): New constant.
6628 (ansi-color-apply, ansi-color-filter-region)
6629 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6630 (ansi-color-apply): Build string list before calling concat.
6632 2010-05-28 Juri Linkov <juri@jurta.org>
6634 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6635 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6638 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6640 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6641 to ignored backtrace functions.
6642 (with-progress-reporter): Expand docstring.
6643 (tramp-handle-delete-file): Implement TRASH argument.
6644 (tramp-get-remote-trash): New defun.
6646 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6648 * net/tramp-compat.el (tramp-compat-delete-file):
6649 Use `symbol-value' for backward compatibility.
6651 * net/tramp.el (tramp-handle-make-symbolic-link)
6653 (tramp-do-copy-or-rename-file-via-buffer)
6654 (tramp-do-copy-or-rename-file-directly)
6655 (tramp-do-copy-or-rename-file-out-of-band)
6656 (tramp-handle-process-file, tramp-handle-call-process-region)
6657 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6658 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6659 (tramp-delete-temp-file-function): Use `delete-file' instead
6660 of `tramp-compat-delete-file'.
6662 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6663 (tramp-fish-handle-make-symbolic-link)
6664 (tramp-fish-handle-process-file): Use `delete-file' instead
6665 of `tramp-compat-delete-file'.
6667 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6668 Use `delete-file' instead of `tramp-compat-delete-file'.
6670 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6671 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6672 `tramp-compat-delete-file'.
6674 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6675 Use `delete-file' instead of `tramp-compat-delete-file'.
6677 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6678 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6679 (tramp-smb-handle-write-region): Use `delete-file' instead of
6680 `tramp-compat-delete-file'.
6681 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6683 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6685 * dired.el (dired-delete-file): New arg TRASH.
6686 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6687 (dired-do-flagged-delete, dired-do-delete): Use trash.
6689 * speedbar.el (speedbar-item-delete): Allow trashing.
6691 * files.el (delete-directory): New arg TRASH.
6693 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6694 (ange-ftp-rename-remote-to-remote)
6695 (ange-ftp-rename-local-to-remote)
6696 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6697 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6699 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6702 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6703 handle new TRASH arg of `delete-file'.
6705 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6706 (tramp-handle-make-symbolic-link, tramp-handle-load)
6707 (tramp-do-copy-or-rename-file-via-buffer)
6708 (tramp-do-copy-or-rename-file-directly)
6709 (tramp-do-copy-or-rename-file-out-of-band)
6710 (tramp-handle-process-file, tramp-handle-call-process-region)
6711 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6712 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6713 (tramp-delete-temp-file-function): Use null TRASH arg in
6714 tramp-compat-delete-file call.
6716 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6717 (tramp-fish-handle-delete-file)
6718 (tramp-fish-handle-make-symbolic-link)
6719 (tramp-fish-handle-process-file): Use null TRASH arg in
6720 `tramp-compat-delete-file' call.
6722 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6723 arg in `tramp-compat-delete-file' call.
6725 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6726 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6727 `tramp-compat-delete-file' call.
6729 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6730 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6731 `tramp-compat-delete-file' call.
6733 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6734 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6735 (tramp-smb-handle-write-region): Use null TRASH arg in
6736 tramp-compat-delete-file call.
6737 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6738 (tramp-smb-handle-delete-file): Rename arg.
6740 * diff.el (diff-sentinel):
6741 * epg.el (epg--make-temp-file, epg-decrypt-string)
6742 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6743 * jka-compr.el (jka-compr-partial-uncompress)
6744 (jka-compr-call-process, jka-compr-write-region):
6745 * server.el (server-sentinel): Remove optional arg from
6746 delete-file, reverting 2010-05-03 change.
6748 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6750 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6751 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6753 2010-05-27 Kenichi Handa <handa@m17n.org>
6755 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6756 element of GSTRING is nil.
6758 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6760 * emacs-lisp/smie.el (smie-forward-token-function)
6761 (smie-backward-token-function): New vars.
6762 (smie-backward-sexp, smie-forward-sexp)
6763 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6764 (smie-default-backward-token): Rename from smie-backward-token and
6766 (smie-default-forward-token): Rename from smie-forward-token and
6768 (smie-next-sexp): Handle nil results from next-token.
6769 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6771 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6773 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6774 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6776 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6778 * htmlfontify.el (hfy-face-resolve-face): New function.
6779 (hfy-face-to-style): Use it (Bug#6279).
6781 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6784 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6786 2010-05-26 Glenn Morris <rgm@gnu.org>
6788 * emulation/edt.el (edt-load-keys): Use locate-library.
6790 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6792 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6793 (log-edit-changelog-entries): Doc fix.
6794 (log-edit-changelog-insert-entries): Args changed.
6795 Rename relative filenames in ChangeLog entries. Delete tabs.
6796 (log-edit-insert-changelog-entries): Reorganize return value of
6797 `log-edit-changelog-entries' to pass filenames to
6798 log-edit-changelog-insert-entries.
6800 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6802 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6803 `image-dired-dired-insert-marked-thumbs' to
6804 `image-dired-dired-toggle-marked-thumbs'.
6806 * image-dired.el: Require cl when compiling.
6807 (image-dired-dired-toggle-marked-thumbs): Rename from
6808 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6809 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6810 to 'no-dir. Skip files whose names don't match
6811 `image-file-name-regexp'. When file has a thumbnail overlay,
6812 delete it. (Bug#5270)
6814 2010-05-25 Juri Linkov <juri@jurta.org>
6816 * image-mode.el (image-mode): Add image-after-revert-hook to
6818 (image-after-revert-hook): New function. (Bug#5669)
6820 2010-05-25 Juri Linkov <juri@jurta.org>
6822 * image.el (image-animated-p): When delay between animated images
6823 is 0, set it to 10 (0.1 sec). (Bug#6258)
6825 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6827 * net/tramp.el (tramp-handle-insert-directory): Don't use
6828 `forward-word', its default syntax could be changed.
6830 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6832 * net/tramp.el (tramp-progress-reporter-update): New defun.
6833 (with-progress-reporter): Use it.
6834 (tramp-process-actions):
6835 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6836 Preserve current message, in order to let progress reporter continue
6837 afterwards. (Bug#6257)
6839 2010-05-25 Glenn Morris <rgm@gnu.org>
6841 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6844 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6846 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6847 (rcirc-default-full-name): Change to "unknown".
6848 (rcirc-user-name-history): Add variable.
6850 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6851 Jonathan Rockway <jon@jrock.us>
6853 * net/rcirc.el (rcirc-server-alist): Add :pass.
6854 (rcirc): When prompting for connection parameters, also prompt for
6855 username and password.
6856 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6857 value to server when connecting.
6859 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6862 (smie-merge-prec2s): Pass the tables as separate args.
6863 (smie-bnf-precedence-table): Adjust call accordingly.
6864 (smie-prec2-levels): Set levels at the end.
6866 Replace Lisp calls to delete-backward-char by delete-char.
6867 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6868 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6869 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6870 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6871 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6872 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6873 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6874 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6875 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6876 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6877 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6878 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6879 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6880 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6881 delete-backward-char by calls to delete-char.
6883 2010-05-25 Kenichi Handa <handa@m17n.org>
6885 * language/hebrew.el (hebrew-shape-gstring): New function.
6886 Register it in composition-function-table for all Hebrew combining
6889 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6891 * epa.el (epa--select-keys): Don't explicitly delete the window since
6892 that can fail (e.g. sole window in frame). Use dedication instead.
6894 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6896 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6898 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6900 * image.el (image-refresh): Define as an alias for image-flush.
6902 * image-mode.el (image-toggle-display-image): Caller changed.
6904 2010-05-21 Juri Linkov <juri@jurta.org>
6906 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6907 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6908 whitespace, call wildcard-to-regexp on substrings and concat them
6909 with "\\|". (Bug#6114)
6911 2010-05-21 Alan Mackenzie <acm@muc.de>
6913 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6914 Replace parameter `here' with `here-' and `here-plus', which sandwich
6915 any pertinent CPP construct.
6916 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6917 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6918 CPP construct from taking part in the scanning.
6920 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6922 * net/tramp.el (tramp-do-copy-or-rename-file)
6923 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6924 Tune `with-progress-reporter' messages.
6925 (tramp-handle-vc-registered):
6926 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6927 (tramp-fish-handle-insert-file-contents)
6928 (tramp-fish-maybe-open-connection):
6929 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6930 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6931 (tramp-imap-handle-insert-file-contents)
6932 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6934 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6936 * add-log.el (change-log-font-lock-keywords):
6937 Highlight all authors in multi-author entries.
6939 * smerge-mode.el (smerge-refine-ignore-whitespace)
6940 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6941 Fix typos in docstrings.
6942 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6944 2010-05-21 Glenn Morris <rgm@gnu.org>
6946 * progmodes/fortran.el (fortran-mode):
6947 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6949 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6950 having a relative path in src/Makefile.in.
6952 2010-05-20 Kevin Ryde <user42@zip.com.au>
6954 * help-mode.el (help-make-xrefs): For Info node links turn
6955 newlines into spaces. Link node names with newlines are matched
6956 by help-xref-info-regexp and buttonized, this change ensures they
6957 can be followed successfully with RET. (Bug#6206)
6959 2010-05-20 Juri Linkov <juri@jurta.org>
6961 * locate.el (locate): Use pop-to-buffer instead of
6962 switch-to-buffer-other-window. (Bug#6204)
6964 2010-05-20 Juri Linkov <juri@jurta.org>
6966 * replace.el (replace-highlight): Fix lazy-highlighting
6967 for `M-s w str M-% str RET'.
6969 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6971 * isearch.el (isearch-yank-word-or-char): Pull next subword
6972 when `subword-mode' is activated. (Bug#6220)
6974 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6976 * isearch.el (isearch-update-post-hook): New hook.
6977 (isearch-update): Use the new hook. (Bug#6225)
6979 2010-05-20 Juri Linkov <juri@jurta.org>
6981 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6982 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6985 2010-05-20 Juri Linkov <juri@jurta.org>
6987 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6990 2010-05-20 Juri Linkov <juri@jurta.org>
6992 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6993 FILE-NAME to read from the minibuffer when called interactively
6994 with prefix argument instead of using buffer-file-name.
6995 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6997 * dired.el: Update autoloads.
6999 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7001 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7002 nxml-finish-element, for consistency with SGML mode.
7004 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7007 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7009 * composite.el: Require cl when compiling.
7010 (reference-point-alist, compose-gstring-for-graphic)
7011 (compose-gstring-for-terminal): Fix typos in docstrings.
7013 2010-05-19 Juri Linkov <juri@jurta.org>
7015 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7016 set-window-parameter.
7018 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7020 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7022 (tramp-maybe-open-connection): Use it.
7024 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7026 * simple.el (move-end-of-line): Make sure we are at line beginning
7027 before backing up to end of previous line.
7029 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7031 * password-cache.el (password-cache-remove): Fix docstring.
7033 * net/secrets.el: Autoload the widget functions.
7034 (secrets-search-items, secrets-create-item)
7035 (secrets-get-attributes, secrets-expand-item): Attributes will be
7036 stored on the password database without leading ":", as all other
7038 (secrets-mode): Fix docstring.
7039 (secrets-show-secrets): Provide it as autoloaded command only when
7040 D-Bus support is available. Check existence of Secret Service API.
7042 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7044 * indent.el (indent-region): Deactivate region (bug#6200).
7046 2010-05-19 Glenn Morris <rgm@gnu.org>
7048 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7050 2010-05-19 Kenichi Handa <handa@m17n.org>
7052 * composite.el: Register compose-gstring-for-graphic in
7053 composition-function-table only for combining characters (Mn, Mc, Me).
7055 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7057 * calc/calc-trail.el (calc-trail-isearch-forward)
7058 (calc-trail-isearch-backward): Ensure that the new window
7059 point is set correctly.
7061 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * subr.el (read-quoted-char): Resolve modifiers after key
7064 remapping (bug#6212).
7066 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7068 Add visualization code for secrets.
7069 * net/secrets.el (secrets-mode): New major mode.
7070 (secrets-show-secrets, secrets-show-collections)
7071 (secrets-expand-collection, secrets-expand-item)
7072 (secrets-tree-widget-after-toggle-function)
7073 (secrets-tree-widget-show-password): New defuns.
7075 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7078 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7079 handled in smie-next-sexp.
7080 (smie-indent-calculate): Provide a starting indentation (so the
7081 recursion is well-founded ;-).
7083 Fix handling of non-associative equal levels.
7084 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7085 when it's not needed.
7086 (smie-op-left, smie-op-right): New functions.
7087 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7088 Better handle equal levels to distinguish the associative case from
7089 the "multi-keyword construct" case.
7090 (smie-backward-sexp, smie-forward-sexp): Use it.
7092 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7094 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7096 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7097 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7099 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7101 Provide a simple generic indentation engine and use it for Prolog.
7102 * emacs-lisp/smie.el: New file.
7103 * progmodes/prolog.el (prolog-smie-op-levels)
7104 (prolog-smie-indent-rules): New var.
7105 (prolog-mode-variables): Use them to configure SMIE.
7106 (prolog-indent-line, prolog-indent-level): Remove.
7108 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7110 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7111 order before computing the averages.
7113 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7115 * calc/calc-vec.el (calc-histogram):
7116 (calcFunc-histogram): Allow vectors as inputs.
7117 (math-vector-avg): New function.
7119 * calc/calc-ext.el (math-group-float): Have the number of digits
7120 being grouped depend on the radix (Bug#6189).
7122 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7124 * version.el (emacs-copyright, emacs-version): Don't define here,
7125 now that emacs.c defines it.
7127 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7129 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7130 "Describe Language Environment" menu item.
7132 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7134 Bidi-sensitive movement with arrow keys.
7135 * subr.el (right-arrow-command, left-arrow-command): New functions.
7137 * bindings.el (global-map): Bind them to right and left arrow keys.
7139 Don't override standard definition of convert-standard-filename.
7140 * files.el (convert-standard-filename):
7141 Call w32-convert-standard-filename and dos-convert-standard-filename on
7142 the corresponding systems.
7144 * w32-fns.el (w32-convert-standard-filename): Rename from
7145 convert-standard-filename. Doc fix.
7147 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7148 (convert-standard-filename): Don't defalias.
7149 (register-name-alist, make-register, register-value)
7150 (set-register-value, intdos): Obsolete aliases for the
7151 corresponding dos-* functions and variables.
7152 (dos-intdos): Add a doc string.
7154 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7156 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7157 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7158 (math-compose-tex-func):
7159 * calc/calccomp.el (math-compose-expr):
7160 * calc/calc-ext.el (math-format-flat-expr-fancy):
7161 * calc/calc-store.el (calc-read-var-name):
7162 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7164 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7165 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7166 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7167 (math-standard-units): Add units.
7169 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * progmodes/asm-mode.el (asm-mode):
7172 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7174 * pcomplete.el (pcomplete-completions-at-point): New function,
7175 extracted from pcomplete-std-complete.
7176 (pcomplete-std-complete): Use it.
7178 2010-05-15 Glenn Morris <rgm@gnu.org>
7180 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7181 Remove references to CVS, RCS and Old directories.
7183 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7185 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7188 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7191 (sh-mode-syntax-table): Give it a default value instead.
7192 (sh-header-marker): Make buffer-local.
7193 (sh-mode): Move make-local-variable to the corresponding setq.
7194 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7195 Use complete-with-action.
7197 * simple.el (prog-mode): New (abstract) major mode.
7198 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7199 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7201 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7203 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7204 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7205 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7206 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7207 (sql-escape-newlines-filter, sql-input-sender)
7208 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7210 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7212 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7214 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7215 latex-open-block and C-c / to latex-close-block.
7217 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7218 and C-c C-e to sgml-close-tag.
7220 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7222 * net/tramp.el (with-progress-reporter): Create reporter object
7223 only when the message would be displayed. Handle nested calls.
7224 (tramp-handle-load, tramp-handle-file-local-copy)
7225 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7226 (tramp-maybe-send-script, tramp-find-shell):
7227 Use `with-progress-reporter'.
7228 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7231 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7232 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7233 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7234 Use `with-progress-reporter'.
7236 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7238 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7239 process everytime when spellchecking from the minibuffer (bug#6143).
7241 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7245 * dos-fns.el: Add "dos-" prefix for namespace control.
7246 (convert-standard-filename): Define as alias for
7247 dos-convert-standard-filename but only if applicable.
7249 2010-05-12 Alan Mackenzie <acm@muc.de>
7251 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7252 Push the mark at the start of these functions when appropriate.
7254 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * minibuffer.el (completion-cycle-threshold): New custom var.
7257 (completion--do-completion): Use it.
7258 (minibuffer-complete): Use cycling if appropriate.
7260 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7262 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7263 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7265 2010-05-11 Juri Linkov <juri@jurta.org>
7267 * scroll-all.el (scroll-all-check-to-scroll):
7268 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7270 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7272 * iimage.el (iimage-mode-map): Move initialization into declaration.
7273 (iimage-mode-buffer): Use with-silent-modifications.
7274 Simplify calling convention. Adjust callers.
7275 (iimage-mode): Don't run hook redundantly.
7277 * minibuffer.el (completion-pcm--pattern->regex):
7278 Fix last change (bug#6160).
7280 2010-05-10 Juri Linkov <juri@jurta.org>
7282 Remove nodes visited during Isearch from the Info history.
7283 * info.el (Info-isearch-initial-history)
7284 (Info-isearch-initial-history-list): New variables.
7285 (Info-isearch-start): Record initial values of
7286 Info-isearch-initial-history and Info-isearch-initial-history-list.
7287 Add Info-isearch-end to isearch-mode-end-hook.
7288 (Info-isearch-end): New function.
7290 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7292 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7293 format string, in order to work around a bug in pdksh.
7294 Reported by Gilles Pion <gpion@lfdj.com>.
7295 (tramp-handle-verify-visited-file-modtime): Do not send a command
7296 when the connection is not established.
7297 (tramp-handle-set-file-times): Simplify the check for utc.
7299 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7301 Fix use of `filter-buffer-substring' (rework previous change).
7302 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7303 (cua-repeat-replace-region):
7304 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7305 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7306 (cua-cut-region-to-global-mark): Use it.
7308 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7310 * progmodes/sql.el: Version 2.1.
7311 (sql-product-alist): Redesign structure of product info.
7312 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7313 (sql-port, sql-port-history): New variables.
7314 (sql-interactive-product): New variable.
7315 (sql-send-terminator): New variable.
7316 (sql-imenu-generic-expression): Add "Types" imenu entry.
7317 (sql-oracle-login-params, sql-sqlite-login-params)
7318 (sql-mysql-login-params, sql-solid-login-params)
7319 (sql-sybase-login-params, sql-informix-login-params)
7320 (sql-ingres-login-params, sql-ms-login-params)
7321 (sql-postgres-login-params, sql-interbase-login-params)
7322 (sql-db2-login-params, sql-linter-login-params)
7323 (sql-oracle-scan-on): New variables.
7324 (sql-mode-map): Add C-c C-i to start interactive mode.
7325 (sql-mode-menu): Update existing menu entries.
7326 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7327 (sql-mode-oracle-font-lock-keywords)
7328 (sql-mode-postgres-font-lock-keywords)
7329 (sql-mode-ms-font-lock-keywords)
7330 (sql-mode-sybase-font-lock-keywords)
7331 (sql-mode-informix-font-lock-keywords)
7332 (sql-mode-interbase-font-lock-keywords)
7333 (sql-mode-ingres-font-lock-keywords)
7334 (sql-mode-solid-font-lock-keywords)
7335 (sql-mode-mysql-font-lock-keywords)
7336 (sql-mode-sqlite-font-lock-keywords)
7337 (sql-mode-db2-font-lock-keywords)
7338 (sql-mode-linter-font-lock-keywords): Update initialization to
7339 reduce run-time complexity.
7340 (sql-add-product, sql-del-product): New functions.
7341 (sql-set-product-feature, sql-get-product-feature): New functions.
7342 (sql-product-font-lock): Update product API.
7343 (sql-add-product-keywords): New function.
7344 (sql-highlight-product): Update product API.
7345 (sql-help-list-products): New function.
7346 (sql-help): Dynamically lists free and non-free products.
7347 (sql-get-login): Correct bug in handling history and added
7349 (sql-copy-column): Copy without properties.
7350 (sqli-input-sender): Apply filters to SQLi input.
7351 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7352 Implement as a filter.
7353 (sql-escape-newlines-filter): Implement as a filter.
7354 (sql-remove-tabs-filter): New function.
7355 (sql-send-magic-terminator): New function.
7356 (sql-send-string): Implement magic terminator.
7357 (sql-send-region): Use `sql-send-string'.
7358 (sql-interactive-mode): Use product API.
7359 (sql-product-interactive): Use product API.
7360 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7361 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7362 (sql-db2, sql-linter): Use `sql-product-interactive'.
7363 (sql-connect): New function.
7364 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7365 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7366 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7367 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7370 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7373 New custom variable.
7374 (completion-pcm--string->pattern): Use it.
7375 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7376 Make it handle any symbol as `any'.
7377 (completion-pcm--merge-completions): Extract common suffix for the new
7378 `prefix' symbol as well.
7379 (completion-substring--all-completions): Use the new `prefix' symbol.
7381 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7383 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7385 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7386 (tramp-compat-funcall): New defmacro.
7387 (tramp-compat-line-beginning-position)
7388 (tramp-compat-line-end-position)
7389 (tramp-compat-temporary-file-directory)
7390 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7391 (tramp-compat-copy-file, tramp-compat-copy-directory)
7392 (tramp-compat-delete-file, tramp-compat-delete-directory)
7393 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7394 * net/tramp.el (top, with-progress-reporter)
7395 (tramp-rfn-eshadow-setup-minibuffer)
7396 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7397 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7398 (tramp-completion-mode-p, tramp-check-for-regexp)
7399 (tramp-open-connection-setup-interactive-shell)
7400 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7401 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7402 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7403 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7404 (tramp-reporter-dump-variable, tramp-load-report-modules)
7405 (tramp-append-tramp-buffers)
7406 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7408 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7410 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7413 buffer-modtime. Adjust users.
7415 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7417 * international/mule.el (auto-coding-alist): Only purecopy
7418 car of each item, not the whole list (Bug#6083).
7420 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7422 * progmodes/js.el (js-mode): Make paragraph variables local before
7423 calling c-setup-paragraph-variables (Bug#6071).
7425 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7427 * composite.el (compose-region, reference-point-alist): Fix typos
7430 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7432 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7433 gnuplot's "set" command.
7435 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7437 * abbrev.el (last-abbrev-text): Doc fix.
7438 (abbrev-prefix-mark): Don't escape parenthesis.
7440 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7442 * composite.el (find-composition): Doc fix.
7444 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7446 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7447 (sql-oracle-program, sql-sqlite-options)
7448 (sql-query-placeholders-and-send): Doc fixes.
7449 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7450 (sql-imenu-generic-expression, sql-buffer)
7451 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7452 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7453 (sql-mode-sybase-font-lock-keywords)
7454 (sql-mode-informix-font-lock-keywords)
7455 (sql-mode-interbase-font-lock-keywords)
7456 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7457 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7458 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7459 (sql-product-feature, sql-highlight-product)
7460 (comint-line-beginning-position, sql-rename-buffer)
7461 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7462 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7463 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7464 Fix typos in docstrings.
7466 2010-05-08 Juri Linkov <juri@jurta.org>
7468 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7469 property instead of `invisible' and `after-string' (bug#5998).
7471 2010-05-08 Juri Linkov <juri@jurta.org>
7473 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7475 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7477 * filecache.el (file-cache-add-directory-list)
7478 (file-cache-add-directory-recursively): Fix typos in docstrings.
7480 2010-05-08 Kenichi Handa <handa@m17n.org>
7482 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7483 (gujarati-composable-pattern): Fix typo.
7485 2010-05-08 Kenichi Handa <handa@m17n.org>
7487 * language/indian.el (oriya-composable-pattern)
7488 (tamil-composable-pattern, malayalam-composable-pattern):
7489 Add two-part vowels to "v" (vowel sign).
7491 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7493 * files.el (copy-directory): Handle symlinks (Bug#5982).
7495 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7497 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7498 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7501 2010-05-08 Glenn Morris <rgm@gnu.org>
7503 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7505 * minibuffer.el (completion-at-point): Doc fix.
7507 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7509 * electric.el (Electric-command-loop): Minor tweak.
7511 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7512 better with dedicated windows.
7514 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7516 * Version 23.2 released.
7518 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7519 Stefan Monnier <monnier@iro.umontreal.ca>
7521 Highlight vendor specific properties.
7522 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7523 (css-proprietary-property): New face.
7524 (css-font-lock-keywords): Use them.
7526 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7528 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7530 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7533 * files.el (auto-mode-alist): Remove redundant entries.
7535 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7536 * simple.el (auto-save-mode): Move from files.el.
7537 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7539 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7541 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7543 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7545 * mail/binhex.el (binhex-decode-region-internal)
7546 * mail/uudecode.el (uudecode-decode-region-internal)
7547 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7548 (dns-read-type, dns-query)
7549 * pgg-parse.el (pgg-parse-armor)
7550 * pgg.el (pgg-verify-region)
7551 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7554 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7556 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7558 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7560 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7561 * emulation/cua-base.el (cua-repeat-replace-region):
7562 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7563 (cua-cut-region-to-global-mark):
7564 Remove text properties with `set-text-properties'.
7566 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7568 * net/tramp.el (top, with-progress-reporter):
7569 Use `symbol-function' inside `funcall'.
7571 * net/tramp-compat.el (tramp-compat-file-attributes)
7572 (tramp-compat-delete-file, tramp-compat-delete-directory):
7573 Handle only `wrong-number-of-arguments' error.
7575 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7576 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7579 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * minibuffer.el (completion--sreverse, completion--common-suffix):
7583 (completion-pcm--merge-completions): Extract common suffix when safe.
7585 * emacs-lisp/easy-mmode.el (define-minor-mode):
7586 Make :variable more flexible.
7587 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7589 2010-05-05 Juri Linkov <juri@jurta.org>
7591 Add `slow' and `history' tags to the desktop data.
7593 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7594 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7595 (Info-finder-find-node): Require `finder.el' to be able
7596 to restore node from the desktop.
7597 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7598 data `Info-history' and `slow' tag in the assoc list.
7599 (Info-restore-desktop-buffer): Don't restore nodes with the
7600 `slow' tag. Restore `Info-history'.
7602 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7604 Add FORCE argument to `delete-file'.
7606 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7607 forcing to delete the temporary file.
7608 (ange-ftp-delete-file): Add FORCE arg.
7609 (ange-ftp-rename-remote-to-remote)
7610 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7611 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7612 Force file deletion.
7614 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7616 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7617 (tramp-handle-make-symbolic-link, tramp-handle-load)
7618 (tramp-do-copy-or-rename-file-via-buffer)
7619 (tramp-do-copy-or-rename-file-directly)
7620 (tramp-do-copy-or-rename-file-out-of-band)
7621 (tramp-handle-process-file, tramp-handle-call-process-region)
7622 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7623 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7624 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7626 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7627 (tramp-fish-handle-make-symbolic-link)
7628 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7630 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7631 Use `tramp-compat-delete-file'.
7633 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7634 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7636 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7637 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7639 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7640 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7641 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7642 Use `tramp-compat-delete-file'.
7644 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * subr.el (add-minor-mode): Use push.
7648 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7649 * emulation/edt.el (edt-select-mode): Simplify.
7651 Use define-minor-mode in more cases.
7652 * term/tvi970.el (tvi970-set-keypad-mode):
7653 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7654 (normal-erase-is-backspace-mode):
7655 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7656 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7657 (get-scroll-bar-mode): New function.
7658 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7660 Use define-minor-mode for less obvious cases.
7661 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7662 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7663 * international/iso-ascii.el (iso-ascii-mode):
7664 * frame.el (auto-raise-mode, auto-lower-mode):
7665 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7667 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7669 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7670 in order to see error messages for failed logins.
7672 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7674 * diff.el (diff-sentinel):
7676 * epg.el (epg--make-temp-file, epg-decrypt-string)
7677 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7679 * jka-compr.el (jka-compr-partial-uncompress)
7680 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7682 * server.el (server-sentinel): Use delete-file's new FORCE arg
7685 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7687 Use define-minor-mode where applicable.
7688 * view.el (view-mode):
7689 * type-break.el (type-break-query-mode)
7690 (type-break-mode-line-message-mode):
7691 * textmodes/reftex.el (reftex-mode):
7692 * term/vt100.el (vt100-wide-mode):
7693 * tar-mode.el (tar-subfile-mode):
7694 * savehist.el (savehist-mode):
7695 * ibuf-ext.el (ibuffer-auto-mode):
7696 * composite.el (auto-composition-mode):
7697 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7698 Use define-minor-mode.
7699 (vhdl-mode): Use static mode-line format.
7700 (vhdl-mode-line-update): Delete.
7701 (vhdl-create-mode-menu, vhdl-activate-customizations)
7702 (vhdl-hs-minor-mode): Don't bother calling it.
7704 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * simple.el (with-wrapper-hook): Move.
7707 (buffer-substring-filters): Mark obsolete.
7708 (filter-buffer-substring-functions): New variable.
7709 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7711 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7712 Michael Albinus <michael.albinus@gmx.de>
7714 Implement compression for inline methods.
7716 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7717 (tramp-copy-size-limit): Allow also nil.
7718 (tramp-inline-compress-commands): New defconst.
7719 (tramp-find-inline-compress, tramp-get-inline-compress)
7720 (tramp-get-inline-coding): New defuns.
7721 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7722 replaced by `tramp-get-inline-coding'.
7723 (tramp-handle-file-local-copy, tramp-handle-write-region)
7724 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7726 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7729 Remove unused functions.
7731 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7732 Set find-tag-default-function as a variable rather than a property.
7734 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7735 * progmodes/etags.el (tags-completion-at-point-function):
7736 Remove left over interactive spec. Add autoloading stub.
7737 (complete-tag): Use tags-completion-at-point-function.
7739 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7741 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7743 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7745 * ido.el (ido-init-completion-maps): Remove C-v binding.
7746 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7748 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7750 * minibuffer.el (tags-completion-at-point-function): New function.
7751 (completion-at-point-functions): Use it.
7753 * progmodes/etags.el (complete-tag): Revert last change.
7755 2010-04-29 Alan Mackenzie <acm@muc.de>
7757 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7758 off-by-one error (in end of macro position).
7760 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7763 firefox is absent. Don't autoload.
7764 (browse-url-galeon-program): Don't autoload.
7766 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7768 * bindings.el (complete-symbol): Move into minibuffer.el.
7770 * minibuffer.el (complete-tag): Move from etags.el. If tags
7771 completion cannot be performed, return nil instead of signalling
7773 (completion-at-point): Make it an alias for complete-symbol.
7774 (complete-symbol): Move from bindings.el, and replace with the
7775 body of completion-at-point.
7777 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7779 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7781 * net/tramp.el (tramp-remote-selinux-p): New defun.
7782 (tramp-handle-file-selinux-context)
7783 (tramp-handle-set-file-selinux-context): Use it.
7785 2010-04-28 Sam Steingold <sds@gnu.org>
7787 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7788 `safe-local-variable' if the value is a string or a symbol with
7789 the property `bug-reference-url-format'.
7791 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7793 * progmodes/bug-reference.el (bug-reference-url-format):
7794 Revert 2010-04-27 change due to security risk.
7796 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7798 Make it possible to locally disable a globally enabled mode.
7799 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7800 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7801 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7802 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7803 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7804 that subsequent hooks get a chance to disable it.
7806 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7809 Avoid re-enabling a minor mode after the user turned the minor mode
7810 off if MODE-enable-in-buffers is run twice (typically once from
7811 fundamental-mode's after-change-major-mode-hook and a second time from
7812 run-mode-hook's own after-change-major-mode-hook).
7814 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7816 2010-04-27 Sam Steingold <sds@gnu.org>
7818 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7819 `safe-local-variable' if the value is a string or a function, as
7820 documented and implemented on 2010-04-02.
7822 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7824 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7825 when method is 'kill.
7827 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7829 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7830 condition in default directory check.
7831 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7832 Kill ispell process when killing its associated buffer.
7834 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7836 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7837 but we aren't using it.
7839 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7841 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7842 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7844 2010-04-24 Glenn Morris <rgm@gnu.org>
7846 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7847 Ignore VCS-ignore files, and deleted nextstep preferences files.
7848 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7849 (authors-ambiguous-files): New list.
7850 (authors-valid-file-names): Add some deleted files.
7851 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7852 (authors-disambiguate-file-name): New function. (Bug#5501)
7853 (authors-canonical-file-name): Doc fix.
7854 Don't warn about obsolete files.
7855 (authors-canonical-file-name, authors-scan-el):
7856 Use authors-disambiguate-file-name.
7858 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7859 Add autoload cookies.
7860 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7861 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7862 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7863 They have definitions / compiler macros in cl.el.
7864 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7865 Replace manual autoloads with generated ones.
7866 (htmlfontify-unload-rgb-file): Remove autoload.
7867 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7869 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7872 (byte-compile-setq-default): Optimize for the
7873 single-var case and don't call byte-compile-form in this case to avoid
7874 inf-loop with byte-compile-set-default.
7876 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7878 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7880 Implement SELINUX backends.
7882 * net/tramp.el (tramp-file-name-handler-alist):
7883 Add `file-selinux-context' and `set-file-selinux-context'.
7884 (tramp-handle-file-selinux-context)
7885 (tramp-handle-set-file-selinux-context): New defuns.
7886 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7887 Handle PRESERVE-SELINUX-CONTEXT.
7889 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7890 Add `file-selinux-context' and `set-file-selinux-context'.
7891 (tramp-gvfs-handle-file-selinux-context)
7892 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7893 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7895 * net/ange-ftp.el (ange-ftp-copy-file):
7896 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7897 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7898 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7899 Add PRESERVE-SELINUX-CONTEXT.
7901 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7903 Synchronize with Tramp repository.
7905 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7906 (tramp-action-process-alive, tramp-action-out-of-band)
7907 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7908 (tramp-exists-file-name-handler): Fix docstring.
7909 (with-progress-reporter): New defmacro.
7910 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7911 (tramp-maybe-open-connection): Use it.
7913 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7915 Detect ssh 'ControlMaster' argument automatically in some cases.
7917 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7918 (tramp-default-method): Use it.
7920 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7922 * net/tramp.el (tramp-handle-copy-file): Add new optional
7923 parameter `preserve-selinux-context'.
7924 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7926 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7928 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7929 Ensure, that non remote files are still checked. Oops.
7931 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7935 * icomplete.el (icomplete-completions): Use `non-essential'.
7937 * net/tramp.el (tramp-connectable-p): New defun.
7938 (tramp-handle-expand-file-name)
7939 (tramp-completion-handle-file-name-all-completions)
7940 (tramp-completion-handle-file-name-completion): Use it.
7942 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7946 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7948 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7950 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7952 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7955 * info.el (info-tool-bar-map): Add labels.
7957 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7959 * cus-edit.el (custom-commands): Add labels for tool bar.
7960 (custom-buffer-create-internal, Custom-mode): Adjust for
7961 labels in custom-commands.
7963 * dynamic-setting.el: Renamed from font-setting.el.
7965 2010-04-21 John Wiegley <jwiegley@gmail.com>
7967 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7968 toggles the use of virtual buffers.
7969 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7970 (ido-toggle-virtual-buffers): New function.
7972 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7974 Use `define-derived-mode'; fix window selection; doc fixes.
7975 * play/tetris.el (tetris, tetris-update-speed-function)
7976 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7977 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7978 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7979 (tetris-pause-game): Fix typos in docstrings.
7980 (tetris-mode-map, tetris-null-map):
7981 Move initialization into declaration.
7982 (tetris-mode): Define with `define-derived-mode';
7983 set show-trailing-whitespace to nil.
7984 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7986 2010-04-21 Karel Klíč <kklic@redhat.com>
7988 * files.el (backup-buffer): Handle SELinux context, and return it
7989 if a backup was made by renaming.
7990 (backup-buffer-copy): Set SELinux context to the target file.
7991 (basic-save-buffer): Set SELinux context of the newly written file.
7992 (basic-save-buffer-1): Now it also returns any SELinux context.
7993 (basic-save-buffer-2): Set SELinux context of the newly created file,
7995 * net/tramp.el (tramp-file-name-for-operation):
7996 Add file-selinux-context.
7998 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8000 Make the log-edit comments use RFC822 format throughout.
8002 * vc.el (vc-checkin, vc-modify-change-comment):
8003 Adjust to new vc-start/finish-logentry.
8004 (vc-find-conflicted-file): New command.
8005 (vc-transfer-file): Adjust to new vc-checkin.
8006 (vc-next-action): Improve scoping.
8008 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8009 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8011 * vc-git.el (vc-git-log-edit-mode): Remove.
8012 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8013 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8015 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8016 (vc-start-logentry): Remove argument `extra'.
8017 (vc-finish-logentry): Remove extra args.
8019 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8020 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8021 (vc-bzr-conflicted-files): New function.
8023 * log-edit.el (log-edit-extra-flags)
8024 (log-edit-before-checkin-process): Remove.
8025 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8026 (log-edit-headers-alist): New var.
8027 (log-edit-header-contents-regexp): New const.
8028 (log-edit-match-to-eoh): New function.
8029 (log-edit-font-lock-keywords): Use them.
8030 (log-edit): Insert a "Summary:" header as default.
8031 (log-edit-mode): Mark font-lock rules as case-insensitive.
8032 (log-edit-done): Cleanup headers.
8033 (log-view-process-buffer): Remove.
8034 (log-edit-extract-headers): New function to replace it.
8036 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8038 * subr.el (default-direction-reversed): Remove obsolescence info.
8040 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8042 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8045 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8046 I.e. include text after point in the completion region.
8047 Also, return nil when we're not after/in a symbol.
8049 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8050 default enable-multibyte-characters.
8052 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * international/mule.el: Help the user choose a valid coding-system.
8055 (read-buffer-file-coding-system): New function.
8056 (set-buffer-file-coding-system): Use it. Prompt the user if the
8057 coding-system cannot encode all the chars.
8059 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8060 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8061 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8062 Don't use *vc-bzr-shelve*.
8064 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8066 Fix the version number for added files.
8067 * vc-hg.el (vc-hg-working-revision): Check if the file is
8068 registered after hg parent fails (Bug#5961).
8070 2010-04-19 Glenn Morris <rgm@gnu.org>
8072 * htmlfontify.el (htmlfontify-buffer)
8073 (htmlfontify-copy-and-link-dir): Autoload entry points.
8075 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8077 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8078 name relative to the project root (Bug#5960).
8080 2010-04-19 Glenn Morris <rgm@gnu.org>
8082 * vc-git.el (vc-git-print-log): Doc fix.
8084 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8086 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8088 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8090 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8091 default settings (Bug#5928).
8093 2010-04-19 Glenn Morris <rgm@gnu.org>
8095 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8097 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8099 2010-04-19 Kenichi Handa <handa@m17n.org>
8101 * language/indian.el (malayalam-composable-pattern): Fix previous
8102 change (add U+0D4D "SIGN VIRAMA").
8103 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8104 (tamil-composable-pattern): Fix typo in the regexp.
8105 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8106 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8107 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8109 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8111 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8112 paragraph-separate (Bug#5821).
8114 2010-04-19 Juri Linkov <juri@jurta.org>
8116 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8118 * info.el (Info-find-node-2): Comment out code that skips
8120 (Info-mouse-follow-link): New command.
8121 (Info-link-keymap): New keymap.
8122 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8123 Return a string with links instead of inserting breadcrumbs
8125 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8126 Instead of putting the `invisible' text property over the Info
8127 header, make an overlay over the Info header with the `invisible'
8128 property and `after-string' set to the string returned by
8131 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8133 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8134 Reported by monkey@sandpframing.com.
8136 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8139 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8140 available in the "keyseq cache" any more.
8142 * custom.el (defcustom): Add edebug spec.
8144 2010-04-18 Juri Linkov <juri@jurta.org>
8146 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8148 * view.el (view-file, view-buffer): Move test for special mode-class
8149 from view-file to view-buffer.
8151 * tar-mode.el (tar-extract): Turn if's into one cond
8152 like in arc-mode.el.
8154 2010-04-18 Juri Linkov <juri@jurta.org>
8156 Add 7z archive format support (bug#5475).
8158 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8159 (archive-7z-extract): New defcustom.
8160 (archive-find-type): Add magic string for 7z.
8161 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8162 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8163 `buffer' arg of `call-process'.
8164 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8165 call the function `archive-7z-extract' with the variable
8166 `archive-7z-extract' let-bound to `archive-zip-extract'.
8167 (archive-7z-summarize, archive-7z-extract): New functions.
8169 * international/mule.el (auto-coding-alist):
8170 * files.el (auto-mode-alist): Add 7z file extension.
8172 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * loadup.el: Setup hash-cons for pure data.
8176 Fix duplicate entries in cedet's loaddefs.el files.
8177 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8178 Should make most file-local generated-autoload-file unnecessary.
8179 (print-readably): Silence warnings.
8180 (autoload-find-destination): Take load-name as an arg to make sure
8181 it's the same as the one that will be in the file.
8182 (autoload-generate-file-autoloads): Adjust to above changes.
8183 Try to make the dataflow a bit simpler.
8185 * cvs-status.el (cvs-refontify): Remove unused.
8187 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8189 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8191 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8192 twos-complement mode.
8194 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8196 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8197 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8198 (calc-inverse): Add "Option" to message, as appropriate.
8199 (calc-hyperbolic): Add "Option" to message, as appropriate.
8200 (calc-option, calc-is-option): New functions.
8202 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8203 (calc-option-prefix-help): New function.
8205 * calc/calc-misc.el (calc-help): Add "Option" entry.
8207 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8208 (calc-option-flag): New variable.
8209 (calc-do): Set `calc-option-flag to nil.
8210 (calc-set-mode-line): Add "Opt " as appropriate.
8212 2010-04-16 Juri Linkov <juri@jurta.org>
8214 Move scrolling commands from simple.el to window.el
8215 because their primitives are implemented in window.c.
8217 * simple.el (scroll-error-top-bottom)
8218 (scroll-up-command, scroll-down-command, scroll-up-line)
8219 (scroll-down-line, scroll-other-window-down)
8220 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8221 * window.el (scroll-error-top-bottom)
8222 (scroll-up-command, scroll-down-command, scroll-up-line)
8223 (scroll-down-line, scroll-other-window-down)
8224 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8225 Move from simple.el to window.el because their primitives are
8226 implemented in window.c.
8228 2010-04-16 Juri Linkov <juri@jurta.org>
8230 * isearch.el (isearch-lookup-scroll-key): Check both
8231 `isearch-scroll' and `scroll-command' properties.
8232 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8234 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8236 * simple.el (scroll-up-command, scroll-down-command)
8237 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8239 2010-04-15 Juri Linkov <juri@jurta.org>
8241 * simple.el (scroll-up-command, scroll-down-command)
8242 (scroll-up-line, scroll-down-line): Put `scroll-command'
8243 property on the these symbols. Remove them from
8244 `scroll-preserve-screen-position-commands'.
8246 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8247 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8248 Remove it from `scroll-preserve-screen-position-commands'.
8250 * isearch.el (isearch-allow-scroll): Doc fix.
8252 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8254 * net/tramp.el (tramp-error-with-buffer): Don't show the
8255 connection buffer when we are in completion mode.
8256 (tramp-file-name-handler): Catch the error for some operations
8257 when we are in completion mode. This gives the user the chance to
8258 correct the file name in the minibuffer.
8260 2010-04-15 Glenn Morris <rgm@gnu.org>
8262 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8264 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8266 Simplify by using `define-derived-mode'.
8267 * info.el (Info-mode):
8268 * calendar/todo-mode.el (todo-mode):
8269 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8270 (gomoku-mode-map): Move initialization into declaration.
8272 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8275 * ido.el (ido-file-name-all-completions-1):
8276 * minibuffer.el (minibuffer-completion-help):
8277 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8279 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8281 * simple.el (non-essential): New var.
8283 Add a new field `location' to bookmarks for non-file bookmarks.
8284 * bookmark.el (bookmark-location): Use the new field, if present.
8285 (bookmark-insert-location): Undo last change, not needed any more.
8286 * man.el (Man-bookmark-make-record):
8287 * woman.el (woman-bookmark-make-record): Add `location' field.
8289 2010-04-14 Juri Linkov <juri@jurta.org>
8291 * simple.el (scroll-error-top-bottom): New defcustom.
8292 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8294 * emulation/pc-select.el (pc-select-override-scroll-error):
8295 Obsolete in favor of `scroll-error-top-bottom'.
8297 2010-04-14 Juri Linkov <juri@jurta.org>
8299 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8300 `scroll-up-command' and `M-v' to `scroll-down-command'.
8302 * emulation/cua-rect.el (cua--init-rectangles):
8303 * forms.el (forms--change-commands):
8304 * image-mode.el (image-mode-map):
8305 Remap scroll-down-command and scroll-up-command
8306 in addition to scroll-down and scroll-up.
8308 2010-04-14 Juri Linkov <juri@jurta.org>
8310 * mwheel.el (scroll-preserve-screen-position-commands):
8311 Add mwheel-scroll to this list of commands.
8313 * simple.el (scroll-preserve-screen-position-commands):
8314 Add scroll-up-command, scroll-down-command, scroll-up-line,
8315 scroll-down-line to this list of commands.
8317 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8319 * obsolete/complete.el: Move from lisp/complete.el.
8321 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8323 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8324 to the minor mode function now turns the mode ON unconditionally.
8326 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * vc-dir.el (vc-dir-kill-line): New command.
8329 (vc-dir-mode-map): Bind it to C-k.
8331 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8333 * woman.el: Add bookmark declarations to silence the compiler.
8334 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8335 step to compatibility between man and woman bookmarks.
8336 Adjust for Man-default-bookmark-title renaming.
8337 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8339 * man.el: Add bookmark declarations to silence the compiler.
8340 (Man-name-local-regexp): Make it match NAME as well.
8341 (Man-getpage-in-background): Return the buffer.
8342 (Man-notify-when-ready): Use `case'.
8343 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8344 Don't hardcode "NAME". Simplify.
8345 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8346 Rename from Man-bookmark-make-record.
8347 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8348 we have the actual man-args. Use Man-getpage-in-background rather
8349 than `man' since the arg is already processed. Let bookmark.el do the
8350 window handling. Only wait for the relevant process.
8351 Don't forget to autoload.
8353 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8355 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8357 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8359 (woman-mode): Setup bookmark support.
8361 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8362 (man-bookmark-jump): New functions.
8363 (Man-mode): Setup bookmark support.
8365 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8367 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8368 recognize ssh-keygen prompt (Bug#2817).
8370 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8372 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8374 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8376 Synchronize with Tramp repository.
8378 * net/tramp.el (tramp-completion-function-alist)
8379 (tramp-file-name-regexp, tramp-chunksize)
8380 (tramp-local-coding-commands, tramp-remote-coding-commands):
8382 (tramp-remote-process-environment): Use `format' instead of `concat'.
8383 (tramp-handle-directory-files-and-attributes)
8384 (tramp-get-remote-path): Use `copy-tree'.
8385 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8386 compatibility: Use `completion-ignore-case' if
8387 `read-file-name-completion-ignore-case' does not exist.
8388 (tramp-do-copy-or-rename-file-directly): Do not use
8389 `tramp-handle-file-remote-p'.
8390 (tramp-do-copy-or-rename-file-out-of-band):
8391 Use `tramp-compat-delete-directory'.
8392 (tramp-do-copy-or-rename-file-out-of-band)
8393 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8394 Use `format-spec-make'.
8395 (tramp-find-foreign-file-name-handler)
8396 (tramp-advice-make-auto-save-file-name)
8397 (tramp-set-auto-save-file-modes): Remove superfluous check for
8398 `stringp'. This is done inside `tramp-tramp-file-p'.
8399 (tramp-debug-outline-regexp): New defconst.
8400 (tramp-get-debug-buffer): Use it.
8401 (tramp-check-for-regexp): Use (forward-line 1).
8402 (tramp-set-auto-save-file-modes): Adapt version check.
8404 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8405 Wrap call of `featurep' for 2nd argument.
8406 (tramp-compat-make-temp-file): Simplify fallback implementation.
8407 (tramp-compat-copy-tree): Remove function.
8408 (tramp-compat-delete-directory): Provide implementation for older
8411 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8412 Do not use `tramp-fish-handle-file-attributes.
8414 * net/trampver.el: Update release number.
8416 2010-04-10 Glenn Morris <rgm@gnu.org>
8418 * progmodes/compile.el (compilation-save-buffers-predicate):
8419 Add missing :version tag.
8421 2010-04-09 Sam Steingold <sds@gnu.org>
8423 * progmodes/compile.el (compilation-save-buffers-predicate):
8424 Remove the "autoload" cookie.
8426 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8427 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8428 and `bug-reference-prog-mode' can be used in hooks directly.
8430 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8432 Add --author support to git commit.
8433 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8434 (vc-git-log-edit-mode): New minor mode.
8435 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8438 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8440 * vc-hooks.el, vc-git.el: Improve documentation comments.
8442 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8444 Fix some of the problems in defsubst* (bug#5728).
8445 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8446 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8448 2010-04-07 Sam Steingold <sds@gnu.org>
8450 * progmodes/compile.el (compilation-save-buffers-predicate):
8451 New custom variable.
8452 (compile, recompile): Pass it to `save-some-buffers'.
8454 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8456 * wid-edit.el (widget-choose): Move cursor to the second line of
8457 the buffer (Bug#5695).
8459 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8461 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8462 * vc.el (vc-print-log-setup-buttons): New function split out from
8463 vc-print-log-internal.
8464 (vc-log-internal-common): New function, a parametrized version of
8465 vc-print-log-internal.
8466 (vc-print-log-internal): Just call vc-log-internal-common with the
8468 (vc-incoming-outgoing-internal):
8469 (vc-log-incoming, vc-log-outgoing): New functions.
8470 (vc-log-view-type): New permanent local variable.
8472 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8474 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8475 of the dynamic bound vc-short-log.
8476 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8478 * vc-git.el (vc-git-log-outgoing): New function.
8479 (vc-git-log-view-mode): Use vc-log-view-type instead
8480 of the dynamic bound vc-short-log.
8482 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8483 of the dynamic bound vc-short-log. Highlight the tag.
8484 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8485 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8486 (vc-hg-incoming-mode): Remove.
8487 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8489 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8491 Fix default-directory for vc-root-diff.
8492 * vc.el (vc-root-diff): Bind default-directory to the root
8493 directory for the diff command.
8495 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8497 * progmodes/verilog-mode.el (verilog-forward-sexp):
8498 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8499 word keywords, suggested by Steve Pearlmutter.
8500 (verilog-pretty-declarations): Support lineup of declarations in
8502 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8503 fix bug for /* / comments.
8504 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8505 Speed up and simplfy as this is never called with a bound.
8506 (verilog-pretty-declarations): Enhance to line up declarations
8507 inside a parameter list, suggested by Alan Morgan.
8508 (verilog-pretty-expr): Tune assignment regular expression match
8509 string for corner cases; also use markers instead of character
8510 number as indent changes the later.
8512 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8514 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8516 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8517 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8518 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8519 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8522 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8523 1800-2009 keywords, including "global.".
8525 2010-04-06 John Wiegley <jwiegley@gmail.com>
8527 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8528 appearing in buffer list (if a live buffer name matched a recentf
8529 file basename). Should use uniquify to offer a real solution.
8531 2010-04-06 John Wiegley <jwiegley@gmail.com>
8533 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8534 comment to code, and add a :version tag.
8535 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8537 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8539 Enable recentf-mode if using virtual buffers.
8540 * ido.el (recentf-list): Declare for byte-compiler.
8541 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8542 (ido-make-buffer-list): Simplify.
8543 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8545 2010-04-05 Juri Linkov <juri@jurta.org>
8547 Scrolling commands which scroll a line instead of full screen.
8548 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8550 * simple.el (scroll-up-line, scroll-down-line): New commands.
8551 Put property isearch-scroll=t on them.
8553 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8556 2010-04-05 Juri Linkov <juri@jurta.org>
8558 Scrolling commands which do not signal errors at top/bottom.
8559 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8561 * simple.el (scroll-up-command, scroll-down-command): New commands.
8562 Put property isearch-scroll=t on them.
8564 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8565 `scroll-down-command' and [next] from `scroll-up' to
8566 `scroll-up-command'.
8568 * emulation/cua-base.el: Put property CUA=move on
8569 `scroll-up-command' and `scroll-down-command'.
8570 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8571 and `scroll-down-command' to `cua-scroll-down'.
8573 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8575 * help.el (describe-mode): Return nil.
8577 2010-04-04 John Wiegley <jwiegley@gmail.com>
8579 * ido.el (ido-use-virtual-buffers): New variable to indicate
8580 whether "virtual buffer" support is enabled for IDO.
8581 (ido-virtual): Face used to indicate virtual buffers in the list.
8582 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8583 exists, but a virtual buffer of that name does (which would be why
8584 it was in the list), recreate the buffer by reopening the file.
8585 (ido-make-buffer-list): If virtual buffers are being used, call
8586 `ido-add-virtual-buffers-to-list' before the make list hook.
8587 (ido-virtual-buffers): New variable which contains a copy of the
8588 current contents of the `recentf-list', albeit pared down for the
8589 sake of speed, and with proper faces applied.
8590 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8591 create a list of "virtual buffers" to present to the user in
8592 addition to the currently open set. Note that this logic could
8593 get rather slow if that list is too large. With the default
8594 `recentf-max-saved-items' of 200, there is little speed penalty.
8596 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8598 * font-lock.el: Require CL when compiling.
8599 (font-lock-turn-on-thing-lock): Use `case'.
8601 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8603 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8606 2010-04-02 Juri Linkov <juri@jurta.org>
8608 * ehelp.el (electric-help-orig-major-mode):
8609 New buffer-local variable.
8610 (electric-help-mode): Set it to original major-mode. Doc fix.
8611 (with-electric-help): Use `electric-help-orig-major-mode' instead
8612 of (default-value 'major-mode). Doc fix.
8613 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8615 2010-04-02 Sam Steingold <sds@gnu.org>
8617 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8618 `vc-hg-command' with a list of flags.
8620 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8621 Also accept "patch" and "RFE".
8622 (bug-reference-fontify): `bug-reference-url-format' can also be a
8623 function to be able to handle the bug kind.
8624 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8626 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8628 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8629 value to fboundp, it may not be a symbol.
8631 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8633 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8635 2010-03-31 Juri Linkov <juri@jurta.org>
8637 * simple.el (next-line, previous-line): Re-throw a signal
8638 with `signal' instead of using `ding'.
8639 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8641 2010-03-31 Juri Linkov <juri@jurta.org>
8643 * simple.el (keyboard-escape-quit): Raise deselecting the active
8644 region higher than exiting the minibuffer.
8645 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8647 2010-03-31 Juri Linkov <juri@jurta.org>
8649 * image.el (image-animated-p): Use `image-metadata' instead of
8650 `image-extension-data'. Get GIF extenstion data from metadata
8651 property `extension-data'.
8653 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * simple.el (append-to-buffer): Simplify.
8657 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8659 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8660 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8662 2010-03-31 Kenichi Handa <handa@m17n.org>
8664 * language/sinhala.el (composition-function-table): Fix regexp for
8665 the new Unicode specification.
8667 * language/indian.el (devanagari-composable-pattern)
8668 (tamil-composable-pattern, kannada-composable-pattern)
8669 (malayalam-composable-pattern): Adjust for the new Unicode
8671 (bengali-composable-pattern, gurmukhi-composable-pattern)
8672 (gujarati-composable-pattern, oriya-composable-pattern)
8673 (telugu-composable-pattern): New variables to cope with the new
8674 Unicode specification. Use them in composition-function-table.
8676 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8678 Make tmm-menubar work for the Buffers menu again (bug#5726).
8679 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8680 vectors rather than cons cells, as used in menu-bar-update-buffers.
8682 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8684 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8685 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8686 electric punctuation for "{}();,:" (Bug#5586).
8688 * mail/sendmail.el (mail-default-directory): Doc fix.
8690 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8692 * mail/sendmail.el (mail-default-directory): Doc fix.
8694 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8696 * subr.el (version-regexp-alist, version-to-list)
8697 (version-list-<, version-list-=, version-list-<=)
8698 (version-list-not-zero, version<, version<=, version=): Doc fix.
8701 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8703 * vc.el (vc-root-diff): Doc fix.
8705 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8707 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8709 * simple.el (append-to-buffer): Fix last change.
8711 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8713 * simple.el (append-to-buffer): Ensure that point is preserved if
8714 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8717 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * files.el (auto-mode-case-fold): Change default to t.
8721 2010-03-30 Juri Linkov <juri@jurta.org>
8723 * dired-x.el (dired-omit-mode): Doc fix.
8725 2010-03-30 Juri Linkov <juri@jurta.org>
8727 * replace.el (occur-accumulate-lines): Move occur-engine related
8728 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8729 to be located after `occur-engine'.
8731 2010-03-30 Juri Linkov <juri@jurta.org>
8733 Make occur handle multi-line matches cleanly with context.
8734 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8736 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8737 (occur-engine): Add local variables `ret', `prev-after-lines',
8738 `prev-lines'. Use more arguments for `occur-context-lines'.
8739 Set first elem of its returned list to `data', and the second elem
8740 to `prev-after-lines'. Don't print the separator line.
8741 In the end, print remaining context after-lines.
8742 (occur-context-lines): Add new arguments `begpt', `endpt',
8743 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8744 after-lines of the previous match with before-lines of the
8745 current match and not overlap them. Return a list with two
8746 values: the output line and the list of context after-lines.
8748 2010-03-30 Juri Linkov <juri@jurta.org>
8750 * replace.el (occur-accumulate-lines): Fix a bug where the first
8751 context line at the beginning of the buffer was missing.
8753 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8755 * files.el: Make bidi-display-reordering safe variable for boolean
8758 2010-03-29 Phil Hagelberg <phil@evri.com>
8759 Chong Yidong <cyd@stupidchicken.com>
8761 * subr.el: Extend progress reporters to perform "spinning".
8762 (progress-reporter-update, progress-reporter-do-update):
8763 Handle non-numeric value arguments.
8764 (progress-reporter--pulse-characters): New var.
8766 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8768 * progmodes/compile.el (compilation-start): Fix regexp detection
8769 of initial cd command (Bug#5771).
8771 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8773 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8775 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8777 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8778 * progmodes/gdb-mi.el: Restore.
8779 * progmodes/gdb-ui.el: Remove.
8780 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8782 2010-03-25 Glenn Morris <rgm@gnu.org>
8784 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8785 all dired buffers, even tramp ones. (Bug#5755)
8787 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8789 Add "union tags" in mpc.el.
8790 * mpc.el: Remove backward compatibility code.
8791 (mpc-browser-tags): Change default.
8792 (mpc--find-memoize-union-tags): New var.
8793 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8794 (mpc-cmd-find): Handle the case where the playlist does not exist.
8796 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8797 (mpc-cmd-add): Use mpc-cmd-flush.
8798 (mpc-tagbrowser-tag-name): New fun.
8799 (mpc-tagbrowser-buf): Use it.
8800 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8802 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8806 Use replace-regexp-in-string.
8807 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8808 (makefile-imake-mode-syntax-table): Move init into defvar.
8809 (makefile-mode): Use define-derived-mode.
8811 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8812 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8813 not be present any more.
8815 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8817 * faces.el (set-face-attribute): Fix typo in docstring.
8818 (face-valid-attribute-values): Reflow docstring.
8820 2010-03-24 Glenn Morris <rgm@gnu.org>
8822 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8824 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8826 * indent.el (indent-for-tab-command): Doc fix.
8828 2010-03-24 Alan Mackenzie <acm@muc.de>
8830 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8831 Fix off-by-one error. Fixes bug #5747.
8833 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8835 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8836 (image-dired-read-comment): Doc fix.
8838 * json.el (json-object-type, json-array-type, json-key-type)
8839 (json-false, json-null, json-read-number):
8840 * minibuffer.el (completion-in-region-functions):
8841 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8842 (cal-tex-cursor-week):
8843 * emacs-lisp/trace.el (trace-function):
8844 * eshell/em-basic.el (eshell/printnl):
8845 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8846 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8847 * obsolete/levents.el (allocate-event, event-key, event-object)
8848 (event-point, event-process, event-timestamp, event-to-character)
8849 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8850 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8851 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8852 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8853 (reftex-highlight-selection): Fix typos in docstrings.
8855 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8857 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8859 2010-03-24 Glenn Morris <rgm@gnu.org>
8861 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8862 2008-02-13 without comment; mark it obsolete.
8863 (rmail-highlight-headers): Use rmail-highlight-face once more.
8865 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8867 * woman.el (woman2-process-escapes): Only consume the newline if
8868 the filler character is on a line by itself (Bug#5729).
8870 2010-03-24 Kenichi Handa <handa@m17n.org>
8872 * language/indian.el (devanagari-composable-pattern): Add more
8875 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8877 * net/trampver.el: Update release number.
8879 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8881 * net/tramp.el (tramp-find-executable):
8882 Use `tramp-get-connection-buffer'. Make the regexp for checking
8883 output of "wc -l" more robust.
8884 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8885 (tramp-open-connection-setup-interactive-shell): Remove workaround
8886 for OpenSolaris bug, it is not needed anymore.
8888 2010-03-24 Glenn Morris <rgm@gnu.org>
8890 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8892 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8894 * files.el (auto-mode-alist): Accept more verilog file patterns.
8896 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8898 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8900 2010-03-24 Glenn Morris <rgm@gnu.org>
8902 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8903 log-edit-before-checkin-process.
8905 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8907 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8909 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8910 (log-view-process-buffer, log-edit-extra-flags): Declare.
8912 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8914 2010-03-23 Sam Steingold <sds@gnu.org>
8916 Fix bug#5620: recalculate all markers on compilation buffer
8917 modifications, not on file modifications.
8918 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8919 the buffer modification time, for buffers not associated with files.
8920 (compilation-mode): Create it.
8921 (compilation-filter): Update it.
8922 (compilation-next-error-function): Use it instead of
8923 `visited-file-modtime' for timestamp.
8925 2010-03-23 Juri Linkov <juri@jurta.org>
8927 Implement Occur multi-line matches.
8928 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8930 * replace.el (occur): Doc fix.
8931 (occur-engine): Set `begpt' to the beginning of the first line.
8932 Set `endpt' to the end of the last match line. At first, count
8933 line numbers between `origpt' and `begpt'. Split out code from
8934 `out-line' variable to new let-bindings `match-prefix' and
8935 `match-str'. In `out-line' add non-numeric prefix to all
8936 non-first lines of multi-line matches. Finally, count lines
8937 between `begpt' and `endpt' and add to `lines'.
8939 2010-03-23 Juri Linkov <juri@jurta.org>
8941 * replace.el (occur-accumulate-lines, occur-engine):
8942 Use `occur-engine-line' instead of duplicate code.
8943 (occur-engine-line): New function created from duplicate code
8944 in `occur-accumulate-lines' and `occur-engine'.
8946 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8947 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8949 2010-03-23 Juri Linkov <juri@jurta.org>
8951 * finder.el: Remove TODO tasks.
8953 * info.el (Info-finder-find-node): Add node "all"
8954 with all package info. Handle a list of multiple keywords
8956 (info-finder): In interactive use with a prefix argument,
8957 use `completing-read-multiple' to read a list of keywords
8960 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8962 Add a new completion style `substring'.
8963 * minibuffer.el (completion-basic--pattern): New function.
8964 (completion-basic-try-completion, completion-basic-all-completions):
8966 (completion-substring--all-completions)
8967 (completion-substring-try-completion)
8968 (completion-substring-all-completions): New functions.
8969 (completion-styles-alist): New style `substring'.
8971 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8973 Get rid of .elc files after removal of the corresponding .el.
8974 * Makefile.in (compile-clean): New target.
8975 (compile-main): Use it.
8977 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8979 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8980 don't do make there. When compiling with separate object dir, there
8981 is no Makefile there.
8983 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8985 Get rid of the ELCFILES abomination, again.
8986 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8987 (all, compile): Don't call compile-last.
8988 (compile-main): Build the "elcfiles" list dynamically.
8989 (compile-targets): New (internal) target.
8991 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8993 * Makefile.in (top_srcdir): Define.
8994 (abs_top_builddir): Define.
8995 (srcdir): Don't append `/..'.
8996 (EMACS): Use ${abs_top_builddir}.
8997 (all, compile, compile-always, compile-last): Don't set emacswd.
8998 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9000 (lisp): Use $(srcdir) instead of @srcdir@.
9002 2010-03-21 Juri Linkov <juri@jurta.org>
9004 Fix message of multi-line occur regexps and multi-buffer header lines.
9005 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9007 * replace.el (occur-1): Don't display regexp if it is longer
9008 than window-width. Use `query-replace-descr' to display regexp.
9009 (occur-engine): Don't display regexp in the buffer header for
9010 multi-buffer occur. Display a separate header line with total
9011 match count and regexp for multi-buffer occur.
9012 Use `query-replace-descr' to display regexp.
9014 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9016 * net/secrets.el: Fix parenthesis.
9017 (secrets-enabled): Fix parenthesis.
9019 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9021 Use more relative file and directory names.
9022 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9023 (setwins, setwins_almost, setwins_for_subdirs):
9024 Don't `cd'; output relative names.
9025 (all, compile, compile-always, compile-last): Set emacswd.
9026 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9027 Just cd to the lisp source dir so we can use relative file names.
9029 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9031 2010-03-20 Glenn Morris <rgm@gnu.org>
9033 * textmodes/rst.el: Use faces for font-lock customization, and make the
9034 old -face variables obsolete.
9035 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9036 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9037 (rst-block-face, rst-external-face, rst-definition-face)
9038 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9039 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9041 (rst-font-lock-keywords-function): Update for above changes.
9043 2010-03-20 Juri Linkov <juri@jurta.org>
9046 * obsolete/s-region.el: Move to obsolete.
9048 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9050 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9052 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9054 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9056 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9058 Add special markup processing for commit logs.
9059 * log-edit.el (log-edit-extra-flags): New variable.
9060 (log-edit): Add new argument MODE. Use that mode when non-nil
9061 instead of the log-view-mode.
9062 (log-view-process-buffer): New function.
9064 * vc.el: Document that the checkin method takes optional
9065 arguments. Document new backend specific method: log-view-mode.
9066 (vc-default-log-edit-mode): New function.
9067 (vc-checkin): Use a backend specific log-view-mode.
9068 Pass extra arguments to the checkin method.
9069 (vc-modify-change-comment): Pass a dummy extra argument.
9071 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9073 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9074 (vc-finish-logentry): Process the log buffer before passing it
9075 down. Pass log-edit-extra-flags.
9077 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9079 (log-edit-extra-flags, log-edit-before-checkin-process):
9082 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9084 (log-edit-extra-flags, log-edit-before-checkin-process):
9086 (vc-hg-log-edit-mode): New derived mode.
9088 * vc-arch.el (vc-arch-checkin):
9089 * vc-cvs.el (vc-cvs-checkin):
9090 * vc-git.el (vc-git-checkin):
9091 * vc-mtn.el (vc-mtn-checkin):
9092 * vc-rcs.el (vc-rcs-checkin):
9093 * vc-sccs.el (vc-sccs-checkin):
9094 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9096 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9101 2010-03-19 Glenn Morris <rgm@gnu.org>
9103 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9105 2010-03-18 Glenn Morris <rgm@gnu.org>
9107 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9109 * replace.el (query-replace-history): Give it a doc string.
9110 (map-query-replace-regexp): Use query-replace-from-history-variable
9111 and query-replace-to-history-variable.
9113 * mail/hashcash.el (declare-function): Remove duplicate definition.
9115 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9116 Make it an obsolete alias for report-emacs-bug-address.
9117 (message-strip-special-text-properties): Declare.
9118 (report-emacs-bug): Remove test for a pretest bug address.
9119 Combine message-mode-specific code.
9121 * mail/supercite.el: Don't require sendmail.
9122 (mh-in-header-p): Declare rather than using with-no-warnings.
9123 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9124 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9126 * calendar/cal-french.el: Convert to utf-8.
9128 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9131 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9133 * net/secrets.el (secrets-enabled): New variable. Use it instead
9136 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9138 * net/secrets.el (top): Register the D-Bus signals only when the
9139 service "org.freedesktop.secrets" can be pinged.
9140 Provide subfeature `enabled'.
9142 2010-03-14 Juri Linkov <juri@jurta.org>
9144 Add finder unknown keywords.
9146 * finder.el (finder-unknown-keywords): New function.
9148 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9149 to create a Finder node with unknown keywords.
9151 2010-03-14 Juri Linkov <juri@jurta.org>
9153 * finder.el (finder-compile-keywords): Replace `princ' with
9154 `prin1' on a list of symbols interned from keyword strings.
9156 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9157 a comma, then split keywords using a comma and optional whitespace.
9158 Otherwise, split by whitespace.
9166 * progmodes/mixal-mode.el: Fix keywords.
9168 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9170 * Makefile.in (ELCFILES): Add net/secrets.elc.
9172 * net/secrets.el: New file.
9174 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9176 * facemenu.el (list-colors-display, list-colors-print): New arg
9177 callback. Use it to allow selecting colors.
9179 * wid-edit.el (widget-image-insert): Insert image prop even if the
9180 current display is non-graphic.
9181 (widget-field-value-set): New fun.
9182 (editable-field): Use it.
9183 (widget-field-value-get): Clean up unused var.
9184 (widget-color-value-create, widget-color--choose-action):
9185 New funs. Allow using list-colors-display to choose color.
9187 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9189 * cus-edit.el: Resort topmost custom groups.
9190 (custom-buffer-sort-alphabetically): Default to t.
9191 (customize-apropos): Use apropos-parse-pattern.
9192 (custom-search-field): New var.
9193 (custom-buffer-create-internal): Add custom-apropos search field.
9194 (custom-add-parent-links): Don't display parent doc.
9195 (custom-group-value-create): Don't sort top-level custom group.
9196 (custom-magic-value-create): Show visibility button before option name.
9198 (custom-variable-state): New fun, from custom-variable-state-set.
9199 (custom-variable-state-set): Use it.
9200 (custom-group-value-create): Hide options with standard values
9201 using the :hidden-states property. Use progress reporter.
9203 (custom-show): Simplify.
9204 (custom-visibility): Disable images by default.
9205 (custom-variable): New property :hidden-states.
9206 (custom-variable-value-create): Enable images for
9207 custom-visibility widgets. Use :hidden-states property to
9208 determine initial visibility.
9210 * wid-edit.el (widget-image-find): Give images center ascent.
9211 (visibility): Add :on-image and :off-image properties.
9212 (widget-visibility-value-create): Use them.
9214 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9216 * cus-edit.el (processes): Remove from development group.
9217 (oop, hypermedia): Delete group.
9218 (comm): Promote to top-level group.
9220 * net/browse-url.el (browse-url):
9221 * net/xesam.el (xesam):
9222 * net/tramp.el (tramp):
9223 * net/goto-addr.el (goto-address):
9224 * net/ange-ftp.el (ange-ftp): Put in comm group.
9226 * view.el (view): Remove from editing group.
9228 * uniquify.el (uniquify): Put in files group.
9230 * net/browse-url.el (browse-url):
9231 * ps-print.el (postscript): Put in external group.
9233 * cus-edit.el (outlines):
9234 * textmodes/text-mode.el (text-mode-hook):
9235 * textmodes/table.el (table):
9236 * textmodes/picture.el (picture):
9237 * outline.el (outlines): Put in wp group.
9239 * nxml/nxml-mode.el (nxml): Remove from wp group.
9241 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9243 * mail/metamail.el (metamail): Remove from hypermedia group.
9245 * cus-edit.el (abbrev):
9246 * whitespace.el (whitespace):
9247 * vcursor.el (vcursor):
9248 * reveal.el (reveal):
9249 * hl-line.el (hl-line): Put in convenience group.
9251 * epg-config.el (epg): Put in data group.
9253 * emulation/pc-select.el (pc-select): Put in emulations group.
9255 * calculator.el (calculator): Put in applications group.
9257 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9259 Add .dir-locals.el support for file-less buffers.
9260 * files.el (hack-local-variables): Split out code to apply local
9261 variable settings ...
9262 (hack-local-variables-apply): ... here. New function.
9263 (hack-dir-local-variables): Use the default directory for when the
9264 buffer does not have an associated file.
9265 (hack-dir-local-variables-non-file-buffer): New function.
9266 * diff-mode.el (diff-mode):
9267 * vc-annotate.el (vc-annotate-mode):
9268 * vc-dir.el (vc-dir-mode):
9269 * log-edit.el (log-edit-mode):
9270 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9272 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9274 Add support for shelving snapshots and for showing shelves.
9275 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9276 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9278 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9279 (vc-bzr-extra-menu-map): Map them.
9281 2010-03-11 Glenn Morris <rgm@gnu.org>
9283 * cus-edit.el (customize-changed-options-previous-release):
9286 * image.el (image-animate-max-time): Fix :version tag.
9288 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9292 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9294 * vc-git.el (vc-git-revision-table): Include remote branches.
9296 2010-03-10 Kim F. Storm <storm@cua.dk>
9299 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9301 * image.el (image-animate-max-time): New defcustom.
9302 (image-animated-types): New defconst.
9303 (create-animated-image, image-animate-timer)
9304 (image-animate-start, image-animate-stop, image-animate-timeout)
9305 (image-animated-p): New functions.
9307 * image-mode.el (image-toggle-display-image):
9308 Replace `create-image' with `create-animated-image'.
9310 2010-03-09 Miles Bader <miles@gnu.org>
9312 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9313 instead of "format:"; this ensures that the output is
9316 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9318 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9319 that all errors are caught, and that the return value is always a
9322 2010-03-08 Kenichi Handa <handa@m17n.org>
9324 * language/misc-lang.el (windows-1256): New coding system.
9325 (cp1256): New alias of windows-1256 (bug#5690).
9327 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9329 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9330 call to rfc822-bad-address. (Bug#5692)
9332 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9334 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9335 Use vc-git-root as default directory for revision path (Bug#5657).
9337 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9339 * calculator.el (calculator): Don't bind split-window-keep-point
9342 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * vc-git.el: Re-flow to fit into 80 columns.
9345 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9346 Remove spurious `quote' element in each case alternative.
9347 (vc-git-show-log-entry): Use prog1.
9348 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9350 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9352 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9354 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9356 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9357 definition, not the name (Bug#5481).
9359 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9361 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9362 argument with a local variable. (Bug#5670)
9364 2010-03-02 Juri Linkov <juri@jurta.org>
9366 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9368 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9370 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9371 error when FILENAME and NEWNAME are existing remote directories.
9373 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9376 2010-03-02 Glenn Morris <rgm@gnu.org>
9378 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9379 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9381 2010-03-01 Kenichi Handa <handa@m17n.org>
9383 * language/burmese.el (burmese-composable-pattern): Rename from
9384 myanmar-composable-pattern.
9386 * international/characters.el (script-list):
9387 * international/fontset.el (script-representative-chars):
9388 Change myanmar to burmese.
9389 (otf-script-alist): Likewise.
9390 (setup-default-fontset): Likewise. Re-fix :otf spec.
9392 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9394 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9396 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9398 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9400 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9402 * net/tramp.el (tramp-handle-write-region): START can be a string.
9403 Take care in the checks. Reported by Dan Davison
9404 <davison@stats.ox.ac.uk>.
9406 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9408 * net/dbus.el (dbus-introspect, dbus-get-property)
9409 (dbus-set-property, dbus-get-all-properties):
9410 Use `dbus-call-method' when noninteractive. (Bug#5645)
9412 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9414 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9415 * emacs-lisp/elint.el (elint-add-required-env):
9416 * calendar/icalendar.el (icalendar--add-diary-entry):
9417 * calc/calcalg2.el (math-tracing-integral):
9418 * files.el (recover-session-finish): Use with-current-buffer
9419 instead of save-excursion.
9421 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9423 Fix in-buffer completion when after-change-functions modify the buffer.
9424 * minibuffer.el (completion--replace): New function.
9425 (completion--do-completion): Use it and use relative movement.
9427 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9429 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9431 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9433 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9434 Allow the characters _<> in the stack entry (Bug#5653).
9436 2010-02-26 Kenichi Handa <handa@m17n.org>
9438 * language/burmese.el: Fix entries in composition-function-table.
9439 (myanmar-composable-pattern): New variable.
9441 * international/fontset.el (setup-default-fontset): Add an entry
9444 * international/characters.el (script-list): Add Myanmar
9447 2010-02-26 Glenn Morris <rgm@gnu.org>
9449 * custom.el (custom-initialize-delay): Doc fix.
9451 * mail/sendmail.el (send-mail-function): Autoload the call
9452 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9454 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9456 * files.el (hack-local-variables-filter): For eval forms, also
9457 check safe-local-variable-p (Bug#5636).
9459 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9461 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9462 setting the modes by `ignore-errors'. It might fail, for example
9463 if the file is not owned by the user but the group.
9464 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9466 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9468 * files.el (directory-listing-before-filename-regexp):
9469 Use stricter matching for iso-style dates, to avoid false matches with
9470 date-like filenames (Bug#5597).
9472 * htmlfontify.el (htmlfontify): Doc fix.
9474 * eshell/eshell.el (eshell): Doc fix.
9476 * startup.el (fancy-about-screen): In mode-line, apply
9477 mode-line-buffer-id face only to the buffer name (Bug#5613).
9479 2010-02-20 Kevin Ryde <user42@zip.com.au>
9481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9482 In `watcom' anchor regexp to start of line, to avoid slowness
9485 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9487 * subr.el (remove-yank-excluded-properties): Explain in a comment
9488 why `category' property is removed.
9490 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9492 * isearch.el (isearch-update-post-hook, isearch-update):
9493 Revert 2010-02-17 change.
9495 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9497 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9498 (icalendar--convert-weekly-to-ical)
9499 (icalendar--convert-yearly-to-ical)
9500 (icalendar--convert-block-to-ical)
9501 (icalendar--convert-cyclic-to-ical)
9502 (icalendar--convert-anniversary-to-ical): Take care of time
9503 specifications where hour has 1-digit only (Bug#5549).
9505 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9507 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9508 of disassemble output in GDB 7.1.
9510 2010-02-19 Glenn Morris <rgm@gnu.org>
9512 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9513 property. (Bug#5593)
9515 2010-02-18 Sam Steingold <sds@gnu.org>
9517 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9519 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9521 Use abbreviated file names in bookmarks (bug#5591).
9522 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9523 calls to expand-file-name.
9524 (bookmark-relocate): Use abbreviated file names in bookmarks.
9525 (bookmark-load): Use abbreviated file names in messages.
9527 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9529 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9530 expand "." and "..". Reported by Thierry Volpiatto
9531 <thierry.volpiatto@gmail.com>.
9533 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9535 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9536 permissions of the temporary file to "0600". In case the remote
9537 file has no read permissions for the owner, there might be
9538 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9540 22010-02-18 Glenn Morris <rgm@gnu.org>
9542 * emacs-lisp/authors.el (authors-renamed-files-alist):
9543 Add entries for INSTALL.CVS.
9545 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9547 * vc-bzr.el: Fix typo in Known Bugs section.
9549 * isearch.el (isearch-update-post-hook): New hook.
9550 (isearch-update): Use the new hook.
9552 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9554 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9555 Fix errors in copying directories.
9556 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9557 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9558 (tramp-handle-delete-file)
9559 (tramp-handle-dired-recursive-delete-directory)
9560 (tramp-handle-write-region): Flush also the cache for the upper
9563 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9565 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9567 * cus-edit.el (hardware): Doc fix.
9569 * man.el (man): Add to external custom group.
9571 * delim-col.el (columns): Move to wp custom group.
9573 * doc-view.el (doc-view): Add to data custom group.
9575 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9577 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9578 by ispell-parse-output (Bug#5575).
9580 2010-02-16 Kenichi Handa <handa@m17n.org>
9582 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9583 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9584 (skkdic-convert): Use `euc-japan' coding system for writing.
9586 2010-02-16 Glenn Morris <rgm@gnu.org>
9588 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9589 tex-main-file before using it. (Bug#5562)
9591 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9593 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9594 warnings, since it is annoying for the user to see them each time he
9597 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9599 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9600 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9601 instead of PROC for caching "first-password-request". Otherwise,
9602 new processes would not profit from passwords already entered.
9604 * net/tramp-cache.el (tramp-dump-connection-properties):
9605 Don't save "first-password-request" property.
9607 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9609 * outline.el (outline-head-from-level):
9610 * simple.el (with-wrapper-hook):
9611 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9612 (elint-defun, elint-buffer-env, elint-top-form-logged)
9613 (elint-unbound-variable):
9614 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9615 Fix typos in docstrings.
9617 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9619 * files.el (insert-directory): When WILDCARD-REGEXP and
9620 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9621 whole directory. (Bug#5551)
9623 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9624 dired's alignment sanity. (Bug#5516)
9626 2010-02-14 Juri Linkov <juri@jurta.org>
9628 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9629 Remove remaining ^H with their preceding chars. (Bug#5566)
9631 2010-02-13 Glenn Morris <rgm@gnu.org>
9633 * simple.el (transpose-subr): Give it a doc-string.
9635 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9638 2010-02-12 Juri Linkov <juri@jurta.org>
9640 * arc-mode.el (archive-unique-fname): Make directories for nested
9641 archives. (Bug#5540)
9643 2010-02-12 Juri Linkov <juri@jurta.org>
9645 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9647 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * subr.el (copy-overlay): Handle deleted overlays.
9651 * man.el (Man-completion-table): Don't signal an error if we can't run
9652 manual-program (bug#4056).
9654 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9656 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9658 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9660 * info.el (Info-bookmark-jump): Simplify.
9662 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9663 (bookmark-default-handler): Accept new bookmark field `buffer'.
9665 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9667 * iswitchb.el (iswitchb-completions): Revert last change.
9669 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9671 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9672 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9673 This prevents file names like "~/" being listed literally.
9675 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9677 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9678 Remove dead code. (Bug#5546)
9680 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9682 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9683 correctly (Bug#5548).
9685 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9687 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9688 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9690 2010-02-08 Kenichi Handa <handa@m17n.org>
9692 * international/mule-util.el (with-coding-priority): Add autoload
9693 cookie for putting `lisp-indent-function'.
9695 2010-02-07 Glenn Morris <rgm@gnu.org>
9697 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9698 Move F2003 named interfaces from keywords-2 to keywords-1, and
9699 use function-name-face rather than constant-face.
9700 Simplify "abstract interface" regexp.
9702 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9704 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9705 ID-FORMAT. Pass it to `file-attributes'.
9707 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9709 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9711 * faces.el (set-face-attribute): Allow calling
9712 internal-set-lisp-face-attribute with 'unspecified family and
9713 foundry argument (Bug#5536).
9715 2010-02-07 Glenn Morris <rgm@gnu.org>
9717 * progmodes/f90.el (f90-font-lock-keywords-2)
9718 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9719 Handle F2003 named interfaces.
9721 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9723 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9724 beg and end before calling c-get-state-before-change-functions.
9726 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9728 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9730 2010-02-05 Juri Linkov <juri@jurta.org>
9732 * doc-view.el (doc-view-mode):
9733 * image-mode.el (image-mode): Put property mode-class=special.
9736 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9738 * vc-svn.el (vc-svn-revision-table): New function.
9740 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9742 * net/ange-ftp.el (ange-ftp-insert-directory):
9743 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9744 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9745 Handle also directories. (Bug#5478)
9747 2010-02-05 Glenn Morris <rgm@gnu.org>
9749 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9751 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9753 * startup.el (command-line-1): Convert options beginning with a
9754 single dash as well (Bug#5519).
9756 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9758 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9759 * minibuffer.el (completion-initials-expand): Only check the presence
9760 of delims *within* the boundaries, since otherwise the / delim is
9761 always found for files.
9763 Fix up various corner case problems.
9764 * doc-view.el (doc-view-last-page-number): New function.
9765 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9766 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9767 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9768 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9769 (doc-view-convert-current-doc): Don't create the resolution.el file
9771 (doc-view-pdf/ps->png): Do it here instead.
9772 (doc-view-already-converted-p): Check that resolution.el is present.
9773 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9774 windows that are not yet showing images.
9776 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9778 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9779 `dired-uncache' for every elemnt which is an absolute file name.
9781 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9782 directory, handle its directory component.
9783 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9784 function is called permanently and creates noise, otherwise.
9786 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9787 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9788 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9790 2010-02-04 David Burger <dburger@google.com> (tiny change)
9792 * macros.el (apply-macro-to-region-lines):
9793 Minor simplification. (Bug#5485)
9795 2010-02-04 Glenn Morris <rgm@gnu.org>
9797 * mail/rmail.el (rmail-show-message-1): Handle malformed
9798 quoted-printable text. (Bug#5441)
9800 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9802 * simple.el (visual-line-mode): Capitalize lighter.
9804 2010-02-03 John Wiegley <jwiegley@gmail.com>
9806 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9807 list of files considered for "virtual buffer" completions.
9809 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9811 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9812 also in case of (and (not full) (not wildcard)). This is needed
9813 when dired is called with a list of files, which are not in
9814 `default-directory'. (Bug#5478)
9816 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9820 2010-02-02 Juri Linkov <juri@jurta.org>
9822 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9823 from unidiff to allow function-line after @@.
9825 2010-02-02 Juri Linkov <juri@jurta.org>
9827 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9828 '(RCS SCCS) with inverted condition.
9830 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9832 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9835 2010-02-01 Juri Linkov <juri@jurta.org>
9837 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9838 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9839 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9840 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9842 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9844 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9845 (doc-view-revert-buffer): New command.
9846 (doc-view-mode-map): Use it.
9848 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9850 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9851 pending merge is detected.
9853 2010-01-31 Juri Linkov <juri@jurta.org>
9855 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9856 beginning of interactive spec like all other grep commands do.
9857 Put "all" in front of "gz". (Bug#5260)
9859 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9861 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9863 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9865 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9866 regexp is incorrect (Bug#5476).
9868 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9870 * net/tramp.el (tramp-handle-insert-directory): Handle also
9871 symlinks, when FILENAME is not in `default-directory'.
9873 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9875 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9876 FILE is not in `default-directory'. (Bug#5478)
9878 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9879 of SWITCHES. Handle the case, FILENAME is not in
9880 `default-directory'. (Bug#5478)
9881 (tramp-register-file-name-handlers): Add safe-magic property.
9883 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9885 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9888 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9890 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9891 (flymake-master-make-header-init): Add other C++ filename masks.
9892 (flymake-find-possible-master-files)
9893 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9895 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9897 Fix some busybox annoyances.
9899 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9900 not responding." string.
9901 (tramp-open-connection-setup-interactive-shell): Dump stty
9902 settings. Enable "neveropen" arg for all `tramp-send-command'
9903 calls. Handle "=" in variable values properly.
9904 (tramp-find-inline-encoding): Raise an error, when no encoding is
9906 (tramp-wait-for-output): Check, whether PROC buffer is available.
9907 Remove spurious " ^H" sequences, sent by busybox.
9908 (tramp-get-ls-command): Suppress coloring, if possible.
9910 2010-01-28 Glenn Morris <rgm@gnu.org>
9912 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9914 * log-edit.el (log-edit-strip-single-file-name): Add missing
9915 :safe, :group, and :version tags.
9917 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9919 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9922 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9924 * files.el (delete-directory): Handle moving to trash without
9925 first doing recursion (Bug#5436).
9927 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9929 * vc-hooks.el (vc-path): Mark as obsolete.
9931 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9933 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9936 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9938 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9940 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9942 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9944 * vc-bzr.el (vc-bzr-revision-table): New function.
9946 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
9948 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9949 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9951 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9953 Remove support for adding --signoff on commit.
9954 Future support will use an incompatible generic mechanism.
9955 * vc-git.el (vc-git-add-signoff): Remove variable.
9956 (vc-git-toggle-signoff): Remove function.
9957 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9959 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9960 Rename from xterm-set-background-mode. Return t if the background mode
9962 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9963 earlier, call it again in case the background mode has changed.
9965 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9967 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9970 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9972 * emacs-lisp/assoc.el (aelement): Doc fix.
9973 (aput, adelete, amake): Use lexical-let (Bug#5450).
9975 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9977 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9978 is the same as subprogram call, not declaration. (Bug#5435).
9980 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9982 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9983 (tramp-smb-maybe-open-connection): Use it.
9985 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9987 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9989 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9991 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9992 just because we see "encoding: 8bit".
9993 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9995 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9997 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9999 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10001 * jka-compr.el (jka-compr-load): If load-file is not in
10002 load-history, try its file-truename version. (bug#5447)
10004 2010-01-21 Alan Mackenzie <acm@muc.de>
10006 Fix a situation where deletion of a cpp construct throws an error.
10007 * progmodes/cc-engine.el (c-invalidate-state-cache):
10008 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10009 special cpp construct is still in the buffer.
10010 (c-parse-state): Record the special cpp with markers, not numbers.
10012 2010-01-21 Kenichi Handa <handa@m17n.org>
10014 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10015 process last-command-event, as it is now decoded first (Bug#5380).
10017 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10019 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10021 2010-01-20 Glenn Morris <rgm@gnu.org>
10023 * indent.el (tab-always-indent): Fix custom-type.
10025 2010-01-19 Alan Mackenzie <acm@muc.de>
10027 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10028 buffer throws "args out of range".
10029 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10030 playing the role of delimiter.
10032 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10034 * progmodes/ada-mode.el: Fix bug#5400.
10035 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10036 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10037 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10038 Improve comments in "is" portion. Handle null procedure declaration.
10039 (ada-move-to-end): Improve doc string.
10041 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10043 * ido.el (ido-cur-list): Initialize to nil.
10044 Remove obsolete information from commentary.
10045 (ido-choice-list): Initialize to nil.
10046 (ido-get-bufname): Reject minibuffers.
10047 (ido-make-buffer-list): If "default" is a nonexistent
10048 buffer, ignore it, as per the function's comment.
10049 (ido-kill-buffer-internal): New function.
10050 (ido-kill-buffer-at-head): Use it.
10051 (ido-visit-buffer): Likewise.
10053 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10055 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10057 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10059 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10060 Fix typos in chart titles.
10062 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10063 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10064 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10065 (describe-class, eieio-describe-generic, describe-generic):
10066 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10067 (eieio-speedbar-expand):
10068 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10069 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10070 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10071 (viper-del-backward-char-in-replace, viper-backward-indent)
10072 (viper-brac-function, viper-register-to-point, viper-submit-report):
10073 * net/tramp.el (tramp-remote-coding-commands):
10074 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10075 Fix typos in docstrings.
10077 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10079 * mail/sendmail.el (mail-yank-original): Set the mark if the
10080 specified function for yanking does not do it.
10082 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10084 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10086 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10087 resyncing a directory.
10089 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10091 * progmodes/ada-mode.el: Fix bug#1920.
10092 (ada-ident-re): Delete ., allow multibyte characters.
10093 (ada-goto-label-re): New; matches goto labels.
10094 (ada-block-label-re): New; matches block labels.
10095 (ada-label-re): New; matches both.
10096 (ada-named-block-re): Deleted; callers changed to use
10097 `ada-block-label-re' instead.
10098 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10099 Use `ada-block-label-re'.
10100 (ada-indent-on-previous-lines): Improve handling of goto labels.
10101 (ada-get-indent-block-start): Special-case block label.
10102 (ada-get-indent-label): Split into `ada-indent-block-label' and
10103 `ada-indent-goto-label'.
10104 (ada-goto-stmt-start, ada-goto-next-non-ws):
10105 Optionally ignore goto labels.
10106 (ada-goto-next-word): Simplify.
10107 (ada-indent-newline-indent-conditional): Insert newline before
10108 trying to fix indentation; doc fix.
10110 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10112 * calc/calc.el (calc-command-flags): Give it an initial value.
10114 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10116 * files.el (minibuffer-with-setup-hook):
10117 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10118 (artist-key-draw-continously, artist-key-do-continously-continously)
10119 (artist-key-set-point-continously, artist-mouse-draw-continously):
10120 Fix typos in docstrings.
10122 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10124 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10125 Never return t (Bug#3898).
10127 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10129 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10130 can parse the output of the external commands (Bug#5279).
10132 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10134 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10136 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10138 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10140 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10142 * startup.el (command-line): Remove unused --icon-type arg.
10143 Handle --display arg, passing it to command-line-1 (Bug#5392).
10145 2010-01-16 Mario Lang <mlang@delysid.org>
10147 * emacs-lisp/chart.el (chart-translate-namezone):
10148 * textmodes/artist.el (artist-compute-popup-menu-table):
10149 Remove duplicated words in doc-strings.
10151 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10153 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10154 to mairix-search to suppress threading (Bug#5342).
10156 2010-01-15 Kenichi Handa <handa@m17n.org>
10158 * international/mule-cmds.el (canonicalize-coding-system-name):
10159 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10161 2010-01-15 Glenn Morris <rgm@gnu.org>
10163 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10165 * wid-edit.el (widget-keymap): Doc fix.
10167 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10168 former seems to be more widely accepted by various svn versions.
10170 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10172 * find-cmd.el (find-constituents):
10173 * vc-arch.el (vc-arch-root):
10174 * window.el (window-body-height, pop-up-frames):
10175 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10176 * progmodes/ada-stmt.el (ada-if):
10177 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10178 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10179 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10180 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10182 * progmodes/flymake.el (flymake-post-syntax-check):
10183 Fix typo in error message.
10185 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10187 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10188 which is always a string. (Bug#5313)
10190 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10192 * progmodes/ada-xref.el (ada-default-prj-properties):
10193 Simplify previous change.
10195 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10197 * progmodes/ada-xref.el (ada-default-prj-properties):
10198 Default ada_project_path to $ADA_PROJECT_PATH.
10200 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10202 * progmodes/ada-mode.el (ada-create-keymap):
10203 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10205 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10207 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10208 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10209 (ada-get-current-indent, ada-imenu-generic-expression)
10210 (ada-which-function): Check for it.
10212 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10214 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10215 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10217 2010-01-14 Glenn Morris <rgm@gnu.org>
10219 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10221 2010-01-14 Kenichi Handa <handa@m17n.org>
10223 * composite.el (auto-composition-mode): Make it a buffer local
10224 variable (permanent-local).
10225 (auto-composition-function): Set the default value to
10226 auto-compose-chars.
10227 (auto-composition-mode): Make it a simple function, not a minor mode.
10228 (global-auto-composition-mode): Likewise.
10229 (turn-on-auto-composition-if-enabled): Delete it.
10231 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10233 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10235 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10237 * files.el (copy-directory): Compute target for recursive
10238 directories with identical names. (Bug#5343)
10240 2010-01-12 Glenn Morris <rgm@gnu.org>
10242 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10243 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10245 2010-01-11 Sam Steingold <sds@gnu.org>
10247 * imenu.el (imenu-default-create-index-function): Detect infinite
10248 loops caused by imenu-prev-index-position-function.
10250 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10252 * htmlfontify.el (htmlfontify-load-rgb-file)
10253 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10254 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10255 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10256 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10257 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10258 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10259 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10260 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10261 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10262 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10263 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10264 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10265 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10266 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10267 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10268 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10269 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10270 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10271 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10272 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10273 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10274 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10275 backslash-quoting from parentheses, etc.
10277 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10279 * progmodes/js.el: Autoload javascript-mode alias.
10281 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10283 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10284 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10285 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10286 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10287 Fix typos in docstrings.
10288 (ffap-url-regexp): Doc fix.
10289 (ffap-at-mouse): Fix typo in message.
10291 2010-01-11 Glenn Morris <rgm@gnu.org>
10293 * version.el (emacs-copyright): Set copyright year to 2010.
10295 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * format.el (format-annotate-function): Only set
10298 write-region-post-annotation-function after running to-fn so as not to
10299 affect nested write-region calls (bug#5273).
10301 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10303 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10306 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10308 * man.el (Man-goto-section): Signal error if the section is not
10311 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10313 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10314 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10316 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10318 * progmodes/compile.el: Don't treat compile-command as safe if
10319 compilation-read-command might be nil (Bug#4218).
10321 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10323 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10326 2010-01-08 Kenichi Handa <handa@m17n.org>
10328 * international/fontset.el (build-default-fontset-data):
10329 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10331 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10333 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10334 to `create-file-buffer' as it expects, not just a buffer name.
10335 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10336 to help uniquify. (Bug#3224)
10338 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10340 * font-setting.el (font-setting-change-default-font): Use user-spec
10343 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10345 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10347 2010-01-05 Tom Tromey <tromey@redhat.com>
10349 * progmodes/python.el (python-font-lock-keywords):
10350 Handle qualified decorators (Bug#881).
10352 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10354 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10355 in a lightweight checkout.
10357 2010-01-05 Kenichi Handa <handa@m17n.org>
10359 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10361 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10363 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10365 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10367 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10368 checkouts. (Bug#618)
10369 (vc-bzr-log-view-mode): Also highlight the author.
10370 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10371 (vc-bzr-shelve-menu-map):
10372 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10373 (vc-bzr-shelve-apply): Make prompt more explicit.
10375 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10377 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10378 They are valid characters in URL paths (rfc3986), and at least
10379 Firefox does not understand the encoded version (Bug#3166).
10381 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10383 * progmodes/octave-mod.el (octave-end-keywords)
10384 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10385 Add "end" keyword (Bug#3061).
10386 (octave-end-as-array-index-p): New function.
10387 (calculate-octave-indent): Use it.
10389 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10391 * bookmark.el: Consistently put the text property on the bookmark name.
10392 (bookmark-bmenu-marks-width): Bump back to 2, to include
10394 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10395 property on the bookmark name, instead of not putting it at all.
10396 (bookmark-bmenu-list): Fix where we put the text property.
10398 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10400 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10401 for showing buffer modified state (as added in the previous change).
10403 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10405 * bookmark.el: Show modified state of bookmark buffer more accurately.
10406 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10407 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10408 (with-buffer-modified-unmodified): New macro.
10409 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10410 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10411 Use new macro to preserve the buffer modified state.
10413 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10415 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10416 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10417 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10418 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10419 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10420 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10421 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10423 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10425 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10426 Make the lines in the generated doc string shorter. (Bug#4668)
10428 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10430 * net/rcirc.el: Add follow-link binding (Bug#4738).
10432 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10434 * Makefile.in (bzr-update): Rename from cvs-update.
10435 (cvs-update): New target for backward compatibility.
10437 * makefile.w32-in (bzr-update): Rename from cvs-update.
10438 (cvs-update): New target for backward compatibility.
10440 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10442 * bookmark.el: Remove gratuitous gratitude.
10444 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10446 * bookmark.el (bookmark-bmenu-any-marks): New function.
10447 (bookmark-bmenu-save): Clear buffer modification if no marks.
10449 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10451 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10452 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10453 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10454 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10456 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10457 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10458 To: emacs-devel {_AT_} gnu.org
10459 Subject: bookmark.el bug report
10460 Date: Mon, 28 Dec 2009 14:19:16 +0800
10461 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10463 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10465 * bookmark.el: Improvements suggested by Drew Adams:
10466 (bookmark-bmenu-ensure-position): New name for
10467 `bookmark-bmenu-check-position'. Just ensure the position,
10468 don't return any meaningful value.
10469 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10472 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10474 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10475 (bookmark-yank-point, bookmark-bmenu-check-position):
10476 Fix typos in docstrings.
10477 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10478 (bookmark-name-from-full-record, bookmark-get-position)
10479 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10480 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10481 Remove useless quoting of parenthesis, etc. in docstrings.
10483 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10484 (ediff-append-custom-diff): Fix typo in error message.
10485 (ediff-meta-mark-equal-files): Fix typos in messages.
10487 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10489 * net/imap-hash.el (imap-hash-make): Doc fix.
10490 (imap-hash-test): Fix typo in error message; reflow docstring.
10491 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10492 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10493 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10494 Fix typos in docstrings.
10495 (imap-hash-open-connection): Fix typo in error message.
10497 * play/gomoku.el (gomoku): Fix typos in docstring.
10499 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10500 (gdb-jsonify-buffer): Fix typos in docstring.
10501 (gdb-goto-breakpoint): Fix typo in error message.
10502 ("Display Other Windows"): Fix typo in help message.
10503 (gdb-speedbar-expand-node): Fix typo in question.
10505 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10506 (idlwave-html-system-help-location, idlwave-html-help-location)
10507 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10508 (idlwave-help-browser-generic-args, idlwave-help-directory)
10509 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10510 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10511 (idlwave-online-help, idlwave-help-html-link)
10512 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10513 Fix typos in docstrings.
10514 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10516 (idlwave-help-assistant-start): Fix typo in error message.
10518 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10519 (octave-electric-space): Fix typos in docstrings.
10521 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10523 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10525 2010-01-01 Juri Linkov <juri@jurta.org>
10527 * comint.el (comint-input-ring-size): Make it a defcustom and
10528 increase the default to 500 (Bug#5148).
10530 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10532 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10533 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10534 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10536 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10538 Show working revision correctly for mercurial.
10539 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10540 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10542 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10544 Declare some functions for the byte-compiler.
10545 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10546 (speedbar-timer-fn, speedbar-change-expand-button-char)
10547 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10549 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10551 This changeset reverts GDB Graphical Interface to use annotations.
10552 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10554 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10556 Make vc-dir work on subdirectories of the bzr root.
10557 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10558 Return file names relative to it.
10559 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10560 relative directory to vc-bzr-after-dir-status.
10562 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10564 * font-lock.el (font-lock-refresh-defaults): New function, which
10565 can be used to let font-lock react to external changes in
10566 variables like font-lock-defaults and keywords.
10567 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10569 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10571 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10573 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10575 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10577 Supersede color.diff settings in git log (bug#5211).
10579 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10580 escape chars in its output when the user has color.diff set to `always'.
10581 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10583 2009-12-26 Kevin Ryde <user42@zip.com.au>
10585 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10586 node. Keep previous "Index" name to work with past coreutils too.
10588 * man.el (man): Revise docstring a bit to show -a and -l as
10589 examples. Add -k description since support for it has otherwise
10590 been a secret. (Further to bug#3717.)
10591 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10592 "no matches" rather than "Can't find manpage", as the latter reads
10593 like -k was interpreted as a page name, which is not so. (Bug#5431)
10595 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10597 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10598 switches. Check also for //SUBDIRED// line.
10600 2009-12-25 Kenichi Handa <handa@m17n.org>
10602 * language/indian.el (devanagari-composable-pattern): Fixed to
10603 handle ZWNJ and ZWJ. Use it in composition-function-table for
10605 (malayalam-composable-pattern): Fix previous change.
10607 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10609 * ps-print.el (ps-face-attributes): It was not returning the
10610 attribute face for faces specified as string. Reported by harven
10611 <harven@free.fr>. (Bug#5254)
10612 (ps-print-version): New version 7.3.5.
10614 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10616 * calendar/icalendar.el (icalendar--convert-tz-offset):
10617 Fix timezone names.
10618 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10619 (icalendar--add-diary-entry): Remove the trailing blank that
10620 diary-make-entry inserts.
10622 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10624 Make `file-expand-wildcards' work for remote files.
10626 * files.el (file-expand-wildcards): In case of remote files, check
10627 only local file name part for wildcards. Provide feature 'files
10628 and subfeature 'remote-wildcards. (Bug#5198)
10630 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10631 if there is already an established connection.
10632 (tramp-advice-file-expand-wildcards): Remove it.
10634 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10635 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10636 Activate advice for older GNU Emacs versions. (Bug#5237)
10638 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10640 Some doc fixes (more needed).
10642 * find-cmd.el (find-constituents): Reflow docstring.
10643 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10644 (find-generic): Doc fix.
10646 2009-12-17 Juri Linkov <juri@jurta.org>
10648 Fix regression from 23.1 to allow multiple modes in Local Variables.
10650 * files.el (hack-local-variables-filter): While ignoring duplicates,
10651 don't take `mode' into account.
10652 (hack-local-variables-filter, hack-dir-local-variables):
10653 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10655 2009-12-17 Juri Linkov <juri@jurta.org>
10657 Make `dired-diff' safer. (Bug#5225)
10659 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10660 `current' or when `file' is a directory of the `current' file.
10662 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10664 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10665 unconditionally preloaded files.
10667 2009-12-16 Juri Linkov <juri@jurta.org>
10669 Revert to old 23.1 logic of using the file at the mark as default.
10670 * dired-aux.el (dired-diff): Use the file at the mark as default
10671 if it's not the same as the current file, and the target dir is
10672 the current dir or the mark is active. Add the current file
10673 as the arg of `dired-dwim-target-defaults'. Use the default file
10674 in the prompt. (Bug#5225)
10676 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10678 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10679 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10680 (tramp-check-for-regexp): Check also, when an echoing shell stops
10681 to echo sent commands.
10683 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10685 * Makefile.in: Revert last change (Bug#5191).
10687 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10689 * vc-hg.el (vc-hg-print-log): Fix argument order.
10690 (vc-hg-working-revision): Make sure the command is executed in a
10691 known environment so that we can parse the output. (Bug#4417)
10693 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10695 * progmodes/python.el (python-symbol-completions): Remove text
10696 properties from symbol string before calling python-send-receive.
10698 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10700 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10701 when there are values for both file and line. (Bug#5060)
10703 2009-12-14 Juri Linkov <juri@jurta.org>
10705 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10706 whitespace after the file name of the first line of unified format,
10707 because git-diff doesn't output whitespace and file modification time
10708 after the file name.
10710 2009-12-14 David Kastrup <dak@gnu.org>
10712 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10713 check if it already has the `display' property added by
10714 `Info-display-images-node', and not put the `invisible' property
10717 2009-12-13 Glenn Morris <rgm@gnu.org>
10719 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10720 (report-emacs-bug): In message-mode, sort manually before storing
10721 original report text. (Bug#5178)
10722 Remove superfluous save-excursion.
10724 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10726 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10727 when responding to "GetAll" properties.
10729 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10731 * simple.el (compose-mail): Remove mail-setup-with-from from
10732 customization checks.
10734 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10736 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10737 RAR archives created on Unix systems.
10739 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10741 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10742 the varalias that was accidentally removed by the 2009-11-19 change
10745 2009-12-12 Kenichi Handa <handa@m17n.org>
10747 * language/indian.el (indian-compose-regexp): New function.
10748 (malayalam-composable-pattern): Fix the pattern.
10749 (composition-function-table): Set malayalam-composable-pattern for
10750 Malayalam characters.
10752 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10754 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10755 rather than down-mouse-1, based on follow-link conventions.
10757 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10760 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10762 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10763 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10764 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10765 (verilog-leap-to-head, verilog-backward-token):
10766 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10768 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10770 * progmodes/verilog-mode.el (verilog-auto-lineup)
10771 (verilog-nameable-item-re): Cleanup user-visible spelling and
10772 documentation errors. One reported by Gary Delp.
10773 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10774 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10775 package, bug195. Reported by Pierre-David Pfister.
10777 2009-12-11 Glenn Morris <rgm@gnu.org>
10779 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10781 * mail/emacsbug.el: No longer require sendmail.
10782 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10783 (report-emacs-bug-orig-text): Doc fix.
10784 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10785 New local variables, to adapt to different mail-user-agents.
10786 (report-emacs-bug): Fix test for a gnu.org address.
10787 Use overlays for emphasis, since font-lock defeats 'face property.
10788 Pretest bugs also end up at the newsgroup these days.
10789 Stop message-mode stripping text properties.
10790 Set and use the new buffer-local variables.
10791 (report-emacs-bug-hook): Add doc-string.
10792 Remove some unnecessary save-excursions and simplify.
10793 Use the appropriate hook and send-command.
10795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10796 capitalization of some menu entries.
10798 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10800 * whitespace.el (whitespace-display-char-on):
10801 Ensure `buffer-display-table' is unique when two or more windows are
10802 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10805 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10807 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10808 characters in the Attribute field.
10810 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10812 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10814 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10816 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10817 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10818 Disregard autoload-excludes.
10819 (update-directory-autoloads): Obey autoload-excludes here instead.
10820 But don't store its contents in no-autoloads and remove entries that
10821 refer to excludes files.
10823 2009-12-10 Glenn Morris <rgm@gnu.org>
10825 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10826 (expand-mail-aliases): Define for compiler.
10828 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10829 Define for compiler.
10831 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10832 appropriate for the mail-user-agent in use.
10834 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10836 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10838 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10840 Fix short log parsing and fontification.
10841 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10842 Fix fontification for the [merge] label.
10844 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10846 Drop some properties to avoid surprises (bug#5002).
10847 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10848 (hfy-fontify-buffer): Use it.
10850 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10854 Adjust all callers.
10855 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10856 args compulsory. Adjust callers.
10857 (ffap-gopher-at-point): Remove unused var `name'.
10859 Get rid of the ELCFILES abomination.
10860 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10861 (compile-elcfiles): New phony target.
10862 (compile-main): Compute ELCFILES dynamically.
10863 (compile-clean): New target to remove left-over elc files.
10864 (compile, all): Use it.
10866 2009-12-09 Kenichi Handa <handa@etlken>
10868 * international/mule-diag.el: Require help-mode instead of help-fns.
10870 2009-12-09 Kenichi Handa <handa@m17n.org>
10872 * international/mule-cmds.el (ucs-names): Supply sufficiently
10873 fine ranges instead of pre-calculating accurate ranges.
10874 Iterate with bigger gc-cons-threshold.
10876 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10878 Add support for stashing a snapshot of the current tree.
10879 * vc-git.el (vc-git-stash-snapshot): New function.
10880 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10882 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10884 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10885 instead of `(beginning|end)-of-line'.
10887 2009-12-08 Glenn Morris <rgm@gnu.org>
10889 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10891 * Makefile.in (ELCFILES): Regenerate.
10893 2009-12-07 Juri Linkov <juri@jurta.org>
10895 Don't lazy-highlight the comint output in history Isearch mode.
10897 * comint.el (comint-history-isearch-search): Instead of
10898 `comint-line-beginning-position', use `comint-after-pmark-p'
10899 to check if point if before the process mark, and go to
10900 `process-mark' in this case.
10902 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10904 * textmodes/tex-mode.el (latex-complete)
10905 (latex-indent-or-complete): Remove.
10906 (latex-mode): Set completion-at-point-functions instead.
10908 Provide a standard completion command and hook it into TAB.
10909 * minibuffer.el (completion-at-point-functions): New var.
10910 (completion-at-point): New command.
10911 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10912 * progmodes/python.el (python-mode-map): Use completion-at-point.
10913 (python-completion-at-point): Rename from python-partial-symbol and
10914 adjust for use in completion-at-point-functions.
10915 (python-mode): Setup completion-at-point for Python completion.
10916 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10917 extracted from lisp-complete-symbol.
10918 (lisp-complete-symbol): Use it.
10919 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10920 setup completion-at-point for Elisp completion.
10921 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10922 Use completion-at-point.
10923 * ielm.el (ielm-map): Use completion-at-point.
10924 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10925 * progmodes/sym-comp.el: Move to...
10926 * obsolete/sym-comp.el: Move from progmodes.
10928 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10930 Prevent save-buffer in Rmail buffers from using the coding-system
10931 of the current message, and from clobbering the encoding mnemonics
10932 in the mode line (Bug#4623).
10934 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10936 (rmail-message-encoding): New variable.
10937 (rmail-write-region-annotate): Record the encoding of the current
10938 message in rmail-message-encoding.
10939 (rmail-after-save-hook): New function, restores the encoding of
10940 the current message after the message collection is saved.
10942 2009-12-07 Juri Linkov <juri@jurta.org>
10944 * progmodes/grep.el (grep-read-files): Use `completing-read'
10945 instead of `read-string'. Set its `collection' arg to
10946 `read-file-name-internal'. (Bug#4301)
10948 2009-12-07 Juri Linkov <juri@jurta.org>
10950 Correctly restore original Isearch point. (Bug#4994)
10952 * isearch.el (isearch-mode): Move `isearch-push-state' after
10953 `(run-hooks 'isearch-mode-hook)'.
10954 (isearch-cancel): When `isearch-push-state-function' is defined,
10955 let-bind `isearch-cmds' to the first state (the last element of
10956 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10957 function and restores the original point). Otherwise, move point
10958 to `isearch-opoint'.
10960 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10963 chars that don't have names, so the table can be built much faster at
10966 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10968 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10969 change. Suggested by David Kastrup.
10971 * simple.el (compose-mail): Check for incompatibilities and warn.
10972 (compose-mail-user-agent-warnings): New option.
10974 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10976 Support showing a single log entry from vc-annotate.
10977 * vc.el (print-log): Add a new argument: START-REVISION.
10978 (vc-print-log-internal): Add a new optional argument and
10979 pass it to the backend.
10980 (vc-print-log, vc-print-root-log): Adjust callers.
10981 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10982 buffer already displays the requested log entry, use it.
10983 Otherwise display only the log entry in question.
10984 * vc-svn.el (vc-svn-print-log):
10985 * vc-mtn.el (vc-mtn-print-log):
10986 * vc-hg.el (vc-hg-state):
10987 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10988 (vc-git-show-log-entry): Return t on success.
10989 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10990 (vc-bzr-show-log-entry): Return t on success.
10991 * vc-rcs.el (vc-rcs-print-log):
10992 * vc-sccs.el (vc-sccs-print-log):
10993 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10995 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10997 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10998 Add menus to the meta mode. (Bug#5043)
11000 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11002 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11005 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11007 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11009 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11010 Berbain <raphael.berbain@gmail.com>.
11012 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11014 (tramp-initial-end-of-output): New defconst.
11015 (tramp-methods, tramp-find-shell)
11016 (tramp-open-connection-setup-interactive-shell)
11017 (tramp-maybe-open-connection): Use it.
11018 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11019 Handle existence of `#' and `$'.
11021 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11022 Use `tramp-initial-end-of-output'.
11024 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11026 Get the background mode from the terminal for xterm, and set
11028 * term/xterm.el (xterm-set-background-mode): New function.
11029 (terminal-init-xterm): Use it in case xterm supports background
11030 color queries. Recompute faces after getting the background
11033 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11035 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11036 number comment back on its own line, for easier parsing.
11038 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11040 Make it work for non-file buffers (bug#5102).
11041 * doc-view.el (doc-view-current-cache-dir):
11042 Use doc-view-buffer-file-name rather than buffer-file-name.
11043 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11045 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11047 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11048 author field is too short.
11050 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11052 * vc-git.el (vc-git-print-log): Handle a limit argument.
11053 Display the short log in graph form and with labels.
11054 (vc-git-log-view-mode): Handle labels.
11056 Make vc-revert change VC state from 'added to 'unregistered.
11057 * vc-git.el (vc-git-revert): Call git reset first.
11059 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11061 * net/newst-backend.el, net/newst-plainview.el:
11062 * net/newst-reader.el, net/newst-ticker.el:
11063 * net/newst-treeview.el, net/newsticker.el:
11064 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11066 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11068 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11070 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11071 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11072 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11073 Update annotation regexp.
11075 * simple.el (beginning-of-visual-line): Constrain to field
11076 boundaries (Bug#5106).
11078 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11080 * xml.el (xml-substitute-numeric-entities):
11081 Move newsticker--decode-numeric-entities in newst-backend.el to
11082 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11083 * net/newst-backend.el (newsticker--parse-generic-feed)
11084 (newsticker--parse-generic-items)
11085 (newsticker--decode-numeric-entities):
11086 Move newsticker--decode-numeric-entities in newst-backend.el to
11087 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11089 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11091 * progmodes/js.el (js--js-not): Add null to the list of values.
11093 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11095 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11097 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11099 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11100 delimiter if it is at the end of the current line.
11101 (bibtex-generate-url-list): Fix docstring.
11103 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11105 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11106 minibuffer's content with itself.
11107 Fold the confirm-after-completion case into the `confirm' case.
11108 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11110 2009-12-06 Kevin Ryde <user42@zip.com.au>
11112 * ffap.el (ffap-rfc-path): Make this a defcustom since
11113 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11115 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11116 manuals, similar to existing setup for help-mode. (Bug#3913.)
11118 2009-12-05 Juri Linkov <juri@jurta.org>
11120 Save and restore dired buffer's point positions too. (Bug#4880)
11122 * dired.el (dired-save-positions): Return in the first element
11123 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11125 (dired-restore-positions): First restore buffer's position.
11126 While restoring window's positions, check if window still displays
11127 the original buffer.
11129 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11131 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11134 * shell.el (shell): Require ansi-color (Bug#5113).
11136 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11138 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11140 2009-12-05 Alan Mackenzie <acm@muc.de>
11142 * progmodes/cc-mode.el (c-before-hack-hook)
11143 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11144 `c-file-style' to work again. This reversion restores the current
11145 software to its state in Emacs 23.1. (Bug#4146)
11147 2009-12-05 Kevin Ryde <user42@zip.com.au>
11149 * textmodes/sgml-mode.el (sgml-lexical-context):
11150 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11152 2009-12-05 Juri Linkov <juri@jurta.org>
11154 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11155 for virtual nodes. (Bug#4147)
11156 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11157 when moving from a virtual node.
11158 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11159 (Info-mode): Add `Info-virtual-index' to the docstring.
11161 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11163 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11164 track of the buffer position of the end of a BibTeX entry as this
11165 position may change during reformatting.
11166 (bibtex-format-entry): Remove whitespace before processing
11167 numerical fields so that we recognize the latter properly.
11168 (bibtex-reformat): Do not use push which changes the global value
11169 of bibtex-entry-format.
11170 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11171 (bibtex-field-re-init): Replace only space characters by regexp
11173 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11174 (bibtex-initialize): Also update bibtex-strings.
11175 (bibtex-kill-field): Preserve white space at end of entry.
11176 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11177 Update bibtex-reference-keys.
11179 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11182 point after a star, if that's the only place where modifications can
11185 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11187 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11190 2009-12-04 Juri Linkov <juri@jurta.org>
11192 * proced.el (proced): Call `(proced-update t)' to update process
11193 information instead of only running proced-post-display-hook.
11194 (proced-send-signal): Add a leading space to the buffer name
11195 " *Marked Processes*" to make this buffer ephemeral.
11197 2009-12-04 Juri Linkov <juri@jurta.org>
11199 * dired.el (dired-auto-revert-buffer): New defcustom.
11200 (dired-internal-noselect): Use it.
11202 2009-12-04 Juri Linkov <juri@jurta.org>
11204 Change roles of modes and functions in image-mode.el (Bug#5062).
11206 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11207 in `auto-mode-alist'.
11208 (image-mode-previous-major-mode): New variable.
11209 (image-minor-mode-map): Rename from `image-mode-text-map'.
11210 (image-mode): Move graceful error-handling code from
11211 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11212 (image-minor-mode): Remove all image-handling code.
11213 Replace `image-mode-text-map' with `image-minor-mode-map'.
11214 Check for `image-type' in mode-line format string.
11215 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11216 (image-mode-as-text): New function with most code from
11217 `image-mode-maybe'.
11218 (image-toggle-display-text): Move code that removes image
11219 properties from `image-toggle-display' to here.
11220 (image-toggle-display-image): New function with code that adds
11221 image properties copied from `image-toggle-display'.
11222 (image-toggle-display): Remove most code with leaving only code
11223 that toggles between `image-mode-as-text' and `image-mode'.
11225 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11227 * net/newst-treeview.el
11228 (newsticker--treeview-list-highlight-start): Restored call to
11229 save-excursion: Selected item was stuck.
11230 (newsticker--treeview-list-select): New.
11231 (newsticker--treeview-item-show-text)
11232 (newsticker--treeview-item-show)
11233 (newsticker--treeview-item-update): Use new
11234 newsticker-treeview-item-mode.
11235 (newsticker-treeview-update): Keep current item.
11236 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11237 (newsticker--treeview-first-feed): Doc change.
11238 (newsticker-treeview-list-menu)
11239 (newsticker-treeview-item-menu): Added menu entries.
11240 (newsticker-treeview-item-mode): New.
11242 * net/newst-backend.el (newsticker-customize): Delete other
11245 2009-12-04 Sam Steingold <sds@gnu.org>
11247 * log-view.el (log-view-mode-map): "q" calls quit-window,
11248 like in all the other non-self-insert buffers.
11250 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11254 key decoding rather than do it manually via last-input-event +
11256 (term-exec): Use delete-and-extract-region.
11257 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11258 (term-process-pager): Remove unused var `i'.
11259 (term-dynamic-simple-complete): Make obsolete.
11260 (serial-update-config-menu): Remove unused vars `y' and `str'.
11261 (term-update-mode-line): Remove unused var `temp'.
11263 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11265 Limit the number of log entries displayed by default.
11266 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11267 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11268 using a prefix argument.
11270 2009-12-03 Glenn Morris <rgm@gnu.org>
11272 * progmodes/idlwave.el (class): Restore still useful declaration.
11274 2009-12-03 Alan Mackenzie <acm@muc.de>
11276 Enhance `c-parse-state' to run efficiently in "brace deserts".
11278 * progmodes/cc-mode.el (c-basic-common-init):
11279 Call c-state-cache-init.
11280 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11281 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11282 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11284 * progmodes/cc-langs.el (c-before-font-lock-function):
11285 c-extend-and-neutralize-syntax-in-CPP has been renamed
11286 c-neutralize-syntax-in-and-mark-CPP.
11288 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11289 with `category' properties now, not `syntax-table' ones.
11291 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11292 enhanced (but slower) version of c-end-of-macro that won't land
11293 inside a literal or on another awkward character.
11294 (c-state-cache-too-far, c-state-cache-start)
11295 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11296 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11297 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11298 (c-state-min-scan-pos, c-state-brace-pair-desert)
11299 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11300 buffer local variables.
11301 (c-state-literal-at, c-state-lit-beg)
11302 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11303 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11304 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11305 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11306 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11307 (c-renarrow-state-cache)
11308 (c-append-lower-brace-pair-to-state-cache)
11309 (c-state-push-any-brace-pair, c-append-to-state-cache)
11310 (c-remove-stale-state-cache)
11311 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11312 (c-invalidate-state-cache-1, c-parse-state-1)
11313 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11314 (c-parse-state): Enhance and refactor.
11315 (c-debug-parse-state): Amend to deal with all the new variables.
11317 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11318 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11319 modify to use category text properties rather than syntax-table ones.
11320 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11321 to switch off/on the syntactic paren property of C++ template
11322 delimiters using the category property.
11323 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11324 template delims suppressed.
11325 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11326 New constant/macros which apply category properties to the start
11327 and end of preprocessor constructs.
11328 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11329 "comment out" the syntactic value of characters in preprocessor
11331 (c-with-cpps-commented-out)
11332 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11333 with characters in all or all but one preprocessor constructs
11336 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11338 * proced.el (proced-filter-alist): Use regexp-quote.
11340 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11343 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11344 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11345 arguments. Expand `default-directory'.
11347 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11348 the benefit of returning an expanded localname.
11349 (tramp-tramp-file-p): Handle the case NAME is not a string.
11351 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11353 Add support for bzr shelve/unshelve.
11354 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11355 (vc-bzr-extra-menu-map): New variables.
11356 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11357 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11358 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11359 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11360 (vc-bzr-dir-extra-headers): Display shelves.
11362 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11364 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * textmodes/bibtex.el (bibtex-complete-internal):
11367 Use completion-in-region.
11368 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11370 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11372 Support applying stashes. Improve UI.
11373 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11374 (vc-git-stash-apply, vc-git-stash-pop)
11375 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11376 (vc-git-stash-menu): New functions.
11377 (vc-git-stash-menu-map): New variable.
11378 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11380 2009-12-03 Glenn Morris <rgm@gnu.org>
11382 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11383 (vc-print-log-internal): Fix previous change.
11384 (vc-revert): Correct pluralization.
11386 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11388 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11389 it to be an alist any more.
11390 (makefile-complete): Use completion-in-region.
11392 * progmodes/octave-mod.el (octave-complete-symbol):
11393 Use completion-in-region.
11396 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11397 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11398 (idlwave-complete-class): Don't quote lambda.
11399 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11400 (idlwave-mode-map): Move initialization into declaration.
11401 (idlwave-action-and-binding): Use backquotes.
11402 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11404 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11405 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11406 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11407 `parts', and `all-parts'.
11408 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11409 (idlwave-convert-xml-system-routine-info): Remove unused string
11411 (idlwave-display-user-catalog-widget): Use dolist.
11412 (idlwave-scanning-lib): Declare dynamically-scoped var.
11413 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11414 (completion-highlight-first-word-only): Declare to silence bytecomp.
11415 (idlwave-popup-select): Tighten scope of `resp'.
11416 (idlwave-find-struct-tag): Remove unused var `beg'.
11417 (idlwave-after-load-rinfo-hook): Declare.
11418 (idlwave-sintern-class-info): Remove unused var `taglist'.
11419 (idlwave-find-class-definition): Remove unused var `list'.
11420 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11421 (idlwave-what-module-find-class): Remove unused var `classes'.
11423 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11425 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11427 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11430 buffers visited. Remove redundant current-buffer-saving.
11432 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11434 Use completion-in-buffer and remove uses of dynamic scoping.
11435 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11436 (pascal-buffer-to-use, pascal-flag): Don't declare.
11437 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11438 (pascal-get-completion-decl, pascal-keyword-completion):
11439 Add `pascal-str' argument, save-excursion,
11440 return the found completions, and don't filter with pascal-pred.
11441 (pascal-completion-cache): New var.
11442 (pascal-completion): Don't switch buffer any more (it was never
11443 necessary). Don't save-excursion any more (it's done by the called
11444 subroutines). Use a cache to avoid redundant computations.
11445 Use complete-with-action rather than pascal-completion-response and
11446 let it apply the predicate as well.
11447 (pascal-complete-word): Use completion-in-buffer when
11448 pascal-toggle-completions is nil.
11449 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11451 (pascal-comp-defun): Don't change buffer any more.
11452 Use complete-with-action rather than pascal-completion-response and
11453 let it apply the predicate as well.
11454 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11457 2009-12-02 Kenichi Handa <handa@m17n.org>
11459 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11460 shape for all Indic scripts.
11462 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11464 Use completion-in-buffer.
11465 * wid-edit.el (widget-field-text-end): New function.
11466 (widget-field-value-get): Use it.
11467 (widget-string-complete, widget-file-complete)
11468 (widget-color-complete): Use it and completion-in-region.
11469 (widget-complete): Don't narrow the buffer.
11471 2009-12-02 Glenn Morris <rgm@gnu.org>
11473 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11474 (rmail-select-summary): Use rmail-pop-to-buffer.
11475 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11476 rmail-pop-to-buffer, to prevent horizontal splits.
11478 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11479 save-excursion with save-current-buffer.
11480 Widen before searching. (Bug#5093)
11481 (diary-list-sexp-entries): Remove superfluous save-excursion.
11483 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11485 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11488 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11490 * ido.el (ido-file-internal): Handle filenames at point that do
11491 not have a directory part. (Bug#5049)
11493 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11495 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11496 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11498 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11500 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11501 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11504 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * comint.el (comint-insert-input): Ignore clicks to the right of
11507 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11509 * vc.el (vc-print-log-internal): Don't wait for the process to
11510 terminate before setting up the major mode.
11512 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11515 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11518 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11520 2009-12-01 Glenn Morris <rgm@gnu.org>
11522 * window.el (window--display-buffer-2): Fix previous changes.
11524 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11526 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11528 2009-12-01 Glenn Morris <rgm@gnu.org>
11530 * Makefile.in (ELCFILES): Add mpc.elc.
11532 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * mpc.el: New file.
11536 2009-12-01 Glenn Morris <rgm@gnu.org>
11538 * window.el (window-to-use): Define for compiler.
11540 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11541 consistent with others (no final period).
11543 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11544 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11546 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11548 Make vc-print-log buttons work.
11549 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11551 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11553 * savehist.el (savehist-autosave-interval): Allow setting to nil
11554 through customize. (Bug#5056)
11556 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11558 Fix references to jit-lock properties.
11559 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11560 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11561 (perl-font-lock-special-syntactic-constructs):
11562 Quote jit-lock-defer-multiline property.
11564 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11566 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11568 2009-11-30 Juri Linkov <juri@jurta.org>
11570 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11571 value `buffer' of `multi-isearch-next-buffer-current-function'.
11572 Use `(current-buffer)' when `buffer' is nil.
11573 (multi-isearch-next-buffer-from-list): Don't fallback to
11574 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11576 2009-11-30 Juri Linkov <juri@jurta.org>
11578 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11579 of buffers with `get-buffer' to `multi-isearch-buffers'.
11580 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11581 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11582 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11583 FILES with `expand-file-name' converting relative file names
11584 to absolute. Doc fix. (Bug#4727)
11586 2009-11-30 Juri Linkov <juri@jurta.org>
11588 * misearch.el (multi-isearch-read-buffers)
11589 (multi-isearch-read-matching-buffers): New functions.
11590 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11591 Use them in the `interactive' spec. Doc fix.
11592 (multi-isearch-read-files, multi-isearch-read-matching-files):
11594 (multi-isearch-files, multi-isearch-files-regexp):
11595 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11597 2009-11-30 Juri Linkov <juri@jurta.org>
11599 * doc-view.el (doc-view-continuous):
11600 Rename from `doc-view-continuous-mode'.
11601 (doc-view-menu): Move "Toggle display" to the top.
11602 Add submenu "Continuous" with radio buttons "Off"/"On"
11603 and "Save as Default".
11604 (doc-view-scroll-up-or-next-page)
11605 (doc-view-scroll-down-or-previous-page)
11606 (doc-view-next-line-or-next-page)
11607 (doc-view-previous-line-or-previous-page):
11608 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11610 2009-11-30 Juri Linkov <juri@jurta.org>
11612 * comint.el (comint-mode-map): Rebind `M-r' from
11613 `comint-previous-matching-input' to
11614 `comint-history-isearch-backward-regexp'.
11615 Unbind `M-s' to allow global key binding `M-s'.
11616 Add menu items for `comint-history-isearch-backward' and
11617 `comint-history-isearch-backward-regexp'. (Bug#3746)
11619 2009-11-30 Juri Linkov <juri@jurta.org>
11621 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11622 For def=recenter, replace `recenter' with `recenter-top-bottom'
11623 that is called with `this-command' and `last-command' let-bound
11624 to `recenter-top-bottom'. When the last `def' was not `recenter',
11625 set `recenter-last-op' to nil. (Bug#4981)
11627 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11629 Minor cleanup and simplification.
11630 * filecache.el (file-cache-add-directory)
11631 (file-cache-add-directory-recursively)
11632 (file-cache-add-from-file-cache-buffer)
11633 (file-cache-delete-file-regexp, file-cache-delete-directory)
11634 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11635 (file-cache-temp-minibuffer-message): Delete function.
11636 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11638 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11639 Don't signal an error when bumping into EOB in tr, s, or y.
11641 2009-11-29 Juri Linkov <juri@jurta.org>
11643 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11646 * descr-text.el (describe-char-unidata-list): Use lowercase name
11647 for "Unicode name" like in other tags.
11649 2009-11-29 Juri Linkov <juri@jurta.org>
11651 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11652 New compatibility macro.
11653 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11655 2009-11-29 Juri Linkov <juri@jurta.org>
11657 Add defcustom to define the cycling order of `recenter-top-bottom'.
11660 * window.el (recenter-last-op): Doc fix.
11661 (recenter-positions): New defcustom.
11662 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11663 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11665 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11667 Improve integration of Tramp and ange-ftp in eshell.
11669 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11670 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11671 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11673 * eshell/esh-util.el (top): Require also Tramp when compiling.
11674 (eshell-directory-files-and-attributes): Check for FTP remote
11676 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11677 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11678 (eshell-file-attributes): Handle ".". Return `entry'.
11680 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11681 (ange-ftp-directory-files-and-attributes)
11682 (ange-ftp-real-directory-files-and-attributes): New defuns.
11684 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11685 shell with "exec" when possible. This prevents trailing prompts
11686 in `start-file-process'.
11688 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11690 Try and remove assumptions about point-min==1.
11691 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11692 (rng-compute-mode-line-string): Show the validation percentage in
11693 terms of the narrowed text, not the widened text.
11694 (rng-do-some-validation): Don't catch internal errors when debugging.
11695 (rng-first-error): Simplify.
11696 (rng-after-change-function): Remove work around. AFAIK the bug has
11697 been fixed a while ago.
11699 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11700 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11702 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11704 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11705 `cd' doesn't always do it for us (bug#5067).
11707 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11708 on 2009-10-25 as part of some other change (bug#5067).
11710 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11712 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11714 (byte-compile-warnings): Use byte-compile-warning-types.
11715 (byte-compile-save-excursion): Warn about use of set-buffer right
11716 after save-excursion.
11718 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11719 the excursion as well.
11721 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11723 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11724 providing a Tramp related implementation of "su" and "sudo".
11725 (eshell-unix-initialize): Add "su" and "sudo".
11727 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11729 * net/socks.el (socks-send-command): Convert binary request to
11730 unibyte before sending. This fixes mishandling of some port
11731 numbers such as 129.
11733 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11735 * help.el (describe-bindings-internal): Remove `interactive'.
11737 * man.el (Man-completion-table): Trim a terminating "(".
11738 Remove the space between name page a section.
11739 Add the command's description on the `help-echo' property.
11740 Remove `process-connection-type' binding since it's unused by
11742 Provide completion for the "<section> <name>" format as well.
11743 (Man-default-man-entry): Remove spurious var shadowing the argument.
11745 2009-11-26 Kevin Ryde <user42@zip.com.au>
11747 * log-view.el: Add "Keywords: tools", since its other keywords
11748 aren't in finder-known-keywords, and following vc.el.
11750 * sha1.el (sha1-string-external): default-directory "/" in case
11751 otherwise non-existent. process-connection-type pipe for touch of
11752 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11754 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11756 Misc coding convention cleanups.
11757 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11758 hfy-init-kludge-hooks.
11759 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11760 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11761 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11763 (hfy-slant, hfy-weight): Use tables rather than code.
11764 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11765 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11766 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11767 (hfy-face-to-css): Remove `nconc' with single arg.
11768 (hfy-p-to-face-lennart): Use `or'.
11769 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11770 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11771 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11772 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11773 (hfy-force-fontification): Use run-hooks.
11775 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11777 Various minor fixes.
11778 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11779 Javascript belongs in the header, not the body.
11780 (hfy-javascript): Remove.
11781 (hfy-fontify-buffer): Don't insert it any more.
11782 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11783 Fix bug in invis handling when there were no invis props in a chunk.
11785 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11787 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11789 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11791 * finder.el (finder-mode-map): Add a menu.
11793 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11795 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11796 "unsigned" structs.
11798 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11799 fork" statement better.
11801 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11803 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11804 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11805 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11806 Reported by Clay Douglass.
11808 (verilog-auto-inst, verilog-auto-star-safe)
11809 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11810 Fix removing "// Interfaces" when saving .* expansions.
11811 Reported by Pierre-David Pfister.
11813 2009-11-26 Glenn Morris <rgm@gnu.org>
11815 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11818 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11820 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11821 Really use previous revision.
11823 2009-11-25 Kevin Ryde <user42@zip.com.au>
11825 * man.el (Man-completion-table): default-directory "/" in case
11826 doesn't otherwise exist. process-environment COLUMNS=999 so as
11827 not to truncate long names. process-connection-type pipe to avoid
11828 any chance of hitting the pseudo-tty TIOCGWINSZ.
11829 (man): completion-ignore-case t for friendliness and since man
11830 itself is case-insensitive on the command line.
11831 Further to Bug#3717.
11833 * arc-mode.el: Add "Keywords: files", so the details in its
11834 commentary can be reached from finder-by-keyword.
11835 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11836 editing mode, but it's comms related and sgml-mode.el has "comm"
11838 * textmodes/bibtex-style.el: Add "Keywords: tex".
11839 * international/isearch-x.el, international/ja-dic-cnv.el:
11840 * international/ja-dic-utl.el, international/kkc.el:
11841 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11843 2009-11-25 Juri Linkov <juri@jurta.org>
11845 * man.el (Man-completion-table): Modify regexp to include
11846 section names to completion strings. (Bug#3717)
11848 2009-11-25 Juri Linkov <juri@jurta.org>
11850 Search recursively in gzipped files. (Bug#4982)
11852 * progmodes/grep.el (grep-highlight-matches): Add new options
11853 `always' and `auto'. Doc fix.
11854 (grep-process-setup): Check `grep-highlight-matches' for
11855 `auto-detect' to determine the need to compute grep defaults.
11856 Move Windows/DOS specific --colors settings handling
11857 to `grep-compute-defaults'. Check `grep-highlight-matches'
11858 to get the value of "--color=".
11859 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11860 has the value `auto-detect'. Move Windows/DOS specific settings
11861 from `grep-process-setup'.
11862 (zrgrep): New command with alias `rzgrep'.
11864 2009-11-25 Juri Linkov <juri@jurta.org>
11866 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11867 to nil instead of switching off view-mode. (Bug#4896)
11869 2009-11-25 Juri Linkov <juri@jurta.org>
11871 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11873 * mwheel.el (mwheel-scroll-up-function)
11874 (mwheel-scroll-down-function): New defvars.
11875 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11876 `scroll-up', and `mwheel-scroll-down-function' instead of
11879 * doc-view.el (doc-view-scroll-up-or-next-page)
11880 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11881 Use this ARG in the call to image-scroll-up/image-scroll-down.
11882 Change `interactive' spec to "P". Goto next/previous page only
11883 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11884 SPC/DEL case). Doc fix.
11885 (doc-view-next-line-or-next-page)
11886 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11888 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11889 `doc-view-scroll-up-or-next-page', and buffer-local
11890 `mwheel-scroll-down-function' to
11891 `doc-view-scroll-down-or-previous-page'.
11893 2009-11-25 Juri Linkov <juri@jurta.org>
11895 Provide additional default values (directories at other Dired
11896 windows) via M-n in the minibuffer of some Dired commands.
11898 * dired-aux.el (dired-diff, dired-compare-directories)
11899 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11900 `minibuffer-default' in `minibuffer-with-setup-hook'.
11901 (dired-dwim-target-directory): Find a window that displays Dired
11902 buffer instead of failing when the next window is not Dired.
11903 Use `get-window-with-predicate' to find for the next Dired window.
11904 (dired-dwim-target-defaults): New function.
11906 * ediff-util.el (ediff-read-file-name):
11907 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11908 in `minibuffer-with-setup-hook'.
11910 2009-11-25 Juri Linkov <juri@jurta.org>
11912 Provide additional default values (file name at point or at the
11913 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11915 * minibuffer.el (read-file-name-defaults): New function.
11916 (read-file-name): Reset `minibuffer-default' to nil when
11917 it duplicates initial input `insdef'.
11918 Bind `minibuffer-default-add-function' to lambda that
11919 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11920 (minibuffer-insert-file-name-at-point): New command.
11922 * files.el (file-name-at-point-functions): New defcustom.
11923 (find-file-default): Remove defvar.
11924 (find-file-read-args): Don't use `find-file-default'.
11925 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11926 to `read-file-name'.
11927 (find-file-literally): Use `read-file-name' with
11928 `confirm-nonexistent-file-or-buffer'.
11930 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11932 * dired.el (dired-read-dir-and-switches):
11933 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11934 to `read-file-name'.
11935 (dired-file-name-at-point): New function.
11936 (dired-mode): Add hook `dired-file-name-at-point' to
11937 `file-name-at-point-functions'.
11939 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11941 Really make the *Completions* window soft-dedicated (bug#5030).
11942 * window.el (window--display-buffer-2): Add `dedicated' argument.
11943 (display-buffer): Pass it when needed so the dedicated flag is set
11944 after calling set-window-buffer, which would otherwise reset it.
11946 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11948 * progmodes/meta-mode.el (meta-complete-symbol):
11949 * progmodes/etags.el (complete-tag):
11950 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11951 Use completion-in-region.
11953 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11954 (dabbrev-completion): Use completion-in-region.
11955 (dabbrev--abbrev-at-point): Simplify regexp.
11957 * abbrev.el (abbrev--before-point): Use word-motion functions
11958 if :regexp is not specified (bug#5031).
11960 * subr.el (string-prefix-p): New function.
11962 * man.el (Man-completion-cache): New var.
11963 (Man-completion-table): Use it.
11965 * vc.el (vc-print-log-internal): Make `limit' optional for better
11966 compatibility (e.g. with vc-annotate.el).
11968 2009-11-24 Kevin Ryde <user42@zip.com.au>
11970 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11971 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11973 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11974 when .el source file not found or other error.
11976 2009-11-24 Markus Triska <markus.triska@gmx.at>
11978 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11980 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11982 Handle the [back] button properly (bug#4979).
11983 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11984 Use help-setup-xref, help-buffer, and with-help-window.
11985 (describe-char): Add `buffer' argument.
11986 Pass proper command to help-setup-xref. Don't meddle with
11987 help-xref-stack-item directly.
11988 (describe-text-category): Use with-help-window and help-buffer.
11990 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11991 for the displayed buffer (bug#4887).
11993 * man.el (Man-completion-table): New function.
11996 2009-11-24 David Reitter <david.reitter@gmail.com>
11998 * vc-git.el (vc-git-registered): Use checkout directory (where
11999 .git is) rather than the file's directory and a relative path spec
12000 to work around a bug in git.
12002 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12004 Improve handling of processes on remote hosts.
12006 * eshell/esh-util.el (eshell-path-env): New defvar.
12007 (eshell-parse-colon-path): New defun.
12008 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12010 * eshell/esh-ext.el (eshell-search-path):
12011 Use `eshell-parse-colon-path'.
12012 (eshell-remote-command): Remove argument HANDLER.
12013 (eshell-external-command): Check for FTP remote connection.
12015 * eshell/esh-proc.el (eshell-gather-process-output):
12016 Use `file-truename', in order to start also symlinked files.
12017 Apply `start-file-process' instead of `start-process'.
12018 Shorten `command' to the local file name part.
12020 * eshell/em-cmpl.el (eshell-complete-commands-list):
12021 Use `eshell-parse-colon-path'.
12023 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12025 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12026 to `eshell-directory-change-hook'.
12028 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12030 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12031 because it could be enabled automatically if view-read-only is non-nil.
12033 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12035 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12036 made on 2009-11-22.
12038 2009-11-24 Glenn Morris <rgm@gnu.org>
12040 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12041 deleted variable bookmark-bmenu-bookmark-column.
12043 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12047 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12049 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12050 two slashes to the "file:" prefix.
12051 (browse-url-file-url): De-munge Cygwin filenames before passing
12052 them to Windows browser.
12053 (browse-url-default-windows-browser): Use call-process.
12055 2009-11-23 Juri Linkov <juri@jurta.org>
12057 Implement DocView Continuous mode. (Bug#4896)
12058 * doc-view.el (doc-view-continuous-mode): New defcustom.
12059 (doc-view-mode-map): Bind C-n/<down> to
12060 `doc-view-next-line-or-next-page', C-p/<up> to
12061 `doc-view-previous-line-or-previous-page'.
12062 (doc-view-next-line-or-next-page)
12063 (doc-view-previous-line-or-previous-page): New commands.
12065 2009-11-23 Juri Linkov <juri@jurta.org>
12067 Implement Isearch in comint input history. (Bug#3746)
12068 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12069 `isearch-mode-hook'.
12070 (comint-history-isearch): New defcustom.
12071 (comint-history-isearch-backward)
12072 (comint-history-isearch-backward-regexp): New commands.
12073 (comint-history-isearch-message-overlay): New buffer-local variable.
12074 (comint-history-isearch-setup, comint-history-isearch-end)
12075 (comint-goto-input, comint-history-isearch-search)
12076 (comint-history-isearch-message, comint-history-isearch-wrap)
12077 (comint-history-isearch-push-state)
12078 (comint-history-isearch-pop-state): New functions.
12080 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12082 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12084 (tramp-handle-make-symbolic-link)
12085 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12087 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12088 (tramp-handle-process-file): Use it.
12090 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12092 * window.el (move-to-window-line-last-op): Remove.
12093 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12095 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12097 Make M-r mirror the new cycling behavior of C-l.
12098 * window.el (move-to-window-line-last-op): New var.
12099 (move-to-window-line-top-bottom): New command.
12100 (global-map): Bind M-r move-to-window-line-top-bottom.
12102 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12104 * dired-x.el (dired-guess-shell-alist-default):
12105 Support xz format. (Bug#4953)
12107 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12109 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12110 last-command-char/last-command-event.
12111 (viper-prefix-arg-value): Do correct conversion of event-char for
12114 * emulation/viper-util.el, emulation/viper.el:
12115 Use viper-last-command-char instead of
12116 last-command-char/last-command-event.
12118 * ediff-init.el, ediff-mult.el, ediff-util.el:
12119 Replace last-command-char and last-command-event
12120 with (ediff-last-command-char) everywhere.
12122 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12123 created in fundamental mode.
12125 * ediff.el (ediff-version): Revert the change of interactive-p to
12126 called-interactively-p.
12128 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12130 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12131 generation from word-movement command names.
12133 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12135 * cus-start.el (all): Add native condition for font-use-system-font.
12137 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12139 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12140 Correct the patch from 2009-11-18. (Bug#3910)
12142 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12144 * progmodes/subword.el: Rename from lisp/subword.el.
12146 * subword.el: Rename to progmodes/subword.el.
12148 * Makefile.in (ELCFILES): Adapt to subword.el move.
12150 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12151 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12154 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12155 (bookmark-bmenu-show-filenames): Use push.
12156 (bookmark-bmenu-hide-filenames): Use local var instead of
12157 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12158 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12159 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12160 filenames now that the bookmark names are always available.
12162 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12164 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12165 (bookmark-search-pattern): Move and leave unbound.
12166 (bookmark-bmenu-mode-map): Change binding.
12167 (bookmark-read-search-input): Simplify.
12168 Don't use text-char-description. Don't error on non-char events.
12169 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12170 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12171 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12172 Use a local var for the timer.
12173 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12174 (i.e. bookmark-bmenu-search).
12176 2009-11-21 Glenn Morris <rgm@gnu.org>
12178 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12180 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12182 * net/browse-url.el (browse-url-default-windows-browser):
12183 Use cygstart for cygwin.
12185 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12187 * bookmark.el: Formatting and doc fixes only:
12188 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12189 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12190 Minor grammar and punctuation fixes in doc string.
12191 (bookmark-read-search-input): Adjust to fit within 80 columns.
12193 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12195 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12196 (c-backward-into-nomenclature): Adapt to subword renaming.
12198 * subword.el (subword-forward, subword-backward, subword-mark)
12199 (subword-kill, subword-backward-kill, subword-transpose)
12200 (subword-downcase, subword-upcase, subword-capitalize)
12201 (subword-forward-internal, subword-backward-internal):
12202 Rename from forward-subword, backward-subword, mark-subword,
12203 kill-subword, backward-kill-subword, transpose-subwords,
12204 downcase-subword, upcase-subword, capitalize-subword,
12205 forward-subword-internal, backward-subword-internal.
12207 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12209 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12211 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12213 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12214 (bookmark-bmenu-filter-alist-by-regexp)
12215 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12216 (bookmark-bmenu-search): New command.
12217 (bookmark-bmenu-mode-map): Bind it.
12219 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12221 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12222 backward-subword to quit the byte-compiler.
12224 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12226 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12228 * progmodes/cc-cmds.el (c-update-modeline)
12229 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12230 Refer to subword.el functions instead of cc-subword.el.
12232 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12233 subword.el functions instead of cc-subword.el.
12235 * progmodes/cc-subword.el: Rename to subword.el.
12236 * subword.el: Rename from progmodes/cc-subword.el.
12237 (subword-mode-map): Rename from c-subword-mode-map.
12238 (subword-mode): Rename from c-subword-mode.
12239 (global-subword-mode): New global minor mode.
12240 (forward-subword): Rename from c-forward-subword.
12241 (backward-subword): Rename from c-backward-subword.
12242 (mark-subword): Rename from c-mark-subword.
12243 (kill-subword): Rename from c-kill-subword.
12244 (backward-kill-subword): Rename from c-backward-kill-subword.
12245 (transpose-subwords): Rename from c-tranpose-subword.
12246 (downcase-subword): Rename from c-downcase-subword.
12247 (capitalize-subword): Rename from c-capitalize-subword.
12248 (forward-subword-internal): Rename from c-forward-subword-internal.
12249 (backward-subword-internal): Rename from c-backward-subword-internal.
12251 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12253 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12254 from a dired buffer.
12255 (vc-dired-deduce-fileset): New function.
12256 (vc-root-diff, vc-print-root-log): Use it.
12258 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12259 nil LIMIT argument to vc-print-log-internal.
12261 2009-11-20 Glenn Morris <rgm@gnu.org>
12263 * Makefile.in (ELCFILES): Regenerate.
12265 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12267 * calc/calc.el (calc-set-mode-line):
12268 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12269 (math-format-number): Rename `math-format-complement-signed' to
12270 `math-format-twos-complement'.
12272 * calc/calc-bin.el (math-format-twos-complement): Rename from
12273 math-format-complement-signed.
12274 (calc-radix): Rename `calc-complement-signed-mode' to
12275 `calc-twos-complement-mode'.
12276 (calc-octal-radix, calc-hex-radix): Add an argument for
12279 * calc/calc-embed.el (calc-embedded-mode-vars):
12280 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12282 * calc/calc-ext.el (calc-init-extensions):
12283 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12284 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12286 * calc/calc-units.el (math-build-units-table-buffer):
12287 Let `calc-twos-complement-mode' be nil.
12289 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12292 * calc/calc-vec.el (calcFunc-vunpack):
12293 * calc/calc-aent.el (calc-do-calc-eval):
12294 * calc/calc-forms.el (math-format-date):
12295 * calc/calc-graph.el (calc-graph-plot):
12296 * calc/calc-math.el (math-use-emacs-fn):
12297 * calc/calccomp.el (math-compose-expr):
12298 Let `calc-twos-complement-mode' be nil.
12300 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12302 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12303 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12304 * minibuffer.el (completion-in-region-functions): New hook.
12305 (completion-in-region): New function.
12306 * emacs-lisp/lisp.el (lisp-complete-symbol):
12307 * pcomplete.el (pcomplete-std-complete): Use it.
12309 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12311 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12312 (latex-complete-alist): New vars.
12313 (latex-string-prefix-p, latex-complete-bibtex-keys)
12314 (latex-complete-envnames, latex-complete-refkeys)
12315 (latex-complete-data): New functions.
12316 (latex-complete, latex-indent-or-complete): New commands.
12318 * window.el (display-buffer-mark-dedicated): New var.
12319 (display-buffer): Obey it.
12320 * minibuffer.el (minibuffer-completion-help): Use it.
12322 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12324 * filecache.el (file-cache-add-file): Use push and cons.
12325 (file-cache-delete-file-regexp): Use push.
12326 (file-cache-complete): Use completion-in-region.
12328 * simple.el (with-wrapper-hook): Fix thinko.
12330 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12331 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12332 Use with-current-buffer and string-to-number.
12333 (hfy-fallback-colour-values): Use assoc-string.
12334 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12335 (hfy-face-at): Remove unused var `found-face'.
12336 (hfy-compile-stylesheet): Remove unused var `css'.
12337 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12339 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12340 Use with-current-buffer.
12341 (hfy-text-p): Use expand-file-name and fewer setq.
12343 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12345 * htmlfontify.el, hfy-cmap.el: New files.
12347 2009-11-19 Juri Linkov <juri@jurta.org>
12349 * minibuffer.el (completions-format): New defcustom.
12350 (completion--insert-strings): Implement vertical format.
12352 * simple.el (switch-to-completions): Move point to the first
12353 completion when point was at the beginning of the buffer.
12355 2009-11-19 Juri Linkov <juri@jurta.org>
12357 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12359 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12361 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12363 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12364 (mail-signature): Change default to t.
12365 (mail-from-style): Deprecate `system-default' value.
12366 (mail-insert-from-field): For default value of mail-from-style,
12367 default to `angles' unless `angles' needs quoting and `parens'
12369 (mail-citation-prefix-regexp): Use citation regexp from
12372 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12374 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12375 Set variables for computing the prompt for reading password.
12377 2009-11-19 Glenn Morris <rgm@gnu.org>
12379 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12381 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12383 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12384 (newsticker-treeview-listwindow-height): Fix custom type.
12386 2009-11-19 Kenichi Handa <handa@m17n.org>
12388 * descr-text.el (describe-char-padded-string): Compose with TAB
12389 only if there's a font for CH.
12390 (describe-char): Fix the condition for detecting a trivial composition.
12392 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12394 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12395 more accurate version of the regexp. (Bug#3910)
12397 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12399 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12401 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12403 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12404 (font-setting-change-default-font): Fix typo in docstring.
12406 2009-11-18 Alan Mackenzie <acm@muc.de>
12408 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12410 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12412 * font-setting.el (font-use-system-font): Move ...
12414 * cus-start.el (all): ... to here.
12416 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12418 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12419 Don't set `ad-return-value' if `ad-do-it' doesn't.
12421 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12424 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12426 * menu-bar.el: Put "Use system font" in Option-menu.
12427 (menu-bar-options-save): Add font-use-system-font.
12429 * loadup.el: If feature system-font-setting or font-render-setting is
12430 there, load font-setting.
12432 * Makefile.in (ELCFILES): Add font-settings.el.
12433 * font-setting.el: New file.
12435 2009-11-17 Glenn Morris <rgm@gnu.org>
12437 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12439 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12440 Preserve point in the list buffer. (Bug#4939)
12442 (newsticker--treeview-list-update-highlight)
12443 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12445 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12447 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12450 * calc/calc-ext.el (calc-init-extensions): Remove references to
12453 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12455 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12456 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12459 2009-11-16 Kevin Ryde <user42@zip.com.au>
12461 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12462 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12464 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12465 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12466 Ignore trailing spaces by omit-nulls to split-string (fixing
12467 regression from Emacs 21 due to the incompatible split-string
12468 change). (Bug #4928.)
12470 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12472 * vc.el (vc-log-show-limit): Default to 2000.
12473 (vc-print-log-internal): Insert buttons to request more entries
12474 when limiting the output.
12476 * vc-sccs.el (vc-sccs-print-log):
12477 * vc-rcs.el (vc-rcs-print-log):
12478 * vc-cvs.el (vc-cvs-print-log):
12479 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12482 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12484 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12485 error when `tramp-gvfs-dbus-event-vector' is set.
12486 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12488 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12490 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12492 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12494 * net/dbus.el (dbus-unregister-service): New defun.
12495 (dbus-register-property): Register the handlers of
12496 "org.freedesktop.DBus.Properties" for SERVICE.
12497 (dbus-property-handler): Fix docstring.
12499 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12501 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12502 Quote doc string reference in defvaralias as it is not in special form.
12503 (byte-compile-output-docform): Doc fix.
12505 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12507 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12508 (calc-complement-signed-mode): New variables.
12509 (calc-set-mode-line): Add indicator for twos-complements.
12510 (math-format-number): Format twos-complement notation.
12512 * calc/calc-bin.el (calc-word-size): Reset the variables
12513 `math-2-word-size' and `math-half-2-word-size'.
12514 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12515 (calc-symclip): New functions.
12517 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12519 * calc/calc-embed.el (calc-embedded-mode-vars):
12520 Add `calc-complement-signed-mode' to the list of modes.
12522 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12523 (calc-b-oper-keys): Add `calc-symclip' to list.
12525 * calc/calc-ext.el (math-read-number-fancy): Read complement
12527 (calc-init-extensions): Add binding for `calc-symclip'.
12528 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12530 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12532 (calc-modes-menu): Add item for twos complement mode.
12534 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12536 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12538 * register.el (jump-to-register, insert-register): Handle Semantic
12539 tags. From commented-out advice in semantic/senator.el.
12541 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12543 * vc.el (vc-log-show-limit): New variable.
12544 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12545 when using a prefix argument.
12546 (vc-print-log-internal): Add new argument LIMIT.
12548 * vc-svn.el (vc-svn-print-log):
12549 * vc-mtn.el (vc-mtn-print-log):
12550 * vc-hg.el (vc-hg-print-log):
12551 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12552 pass it to the log command when set. Make the BUFFER argument
12555 * vc-sccs.el (vc-sccs-print-log):
12556 * vc-rcs.el (vc-rcs-print-log):
12557 * vc-git.el (vc-git-print-log):
12558 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12559 ignore it. Make the BUFFER argument non-optional
12561 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12563 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12565 * dired.el (dired-mode-map): Move encryption items to "Operate"
12568 * strokes.el (strokes-update-window-configuration): Make strokes
12569 buffer current before erasing (Bug#4906).
12571 2009-11-15 Juri Linkov <juri@jurta.org>
12573 * simple.el (set-mark-default-inactive): Add :type, :group
12574 and :version. (Bug#4876)
12576 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12578 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12579 (archive-unique-fname): ... here. (Bug#4929)
12581 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12586 * novice.el (disabled-command-function): Add useful args.
12587 Setup the help buffer so that [back] works.
12588 Remove redundant call to help-mode.
12589 (disabled-command-function): Use `case'.
12590 (en/disable-command): New function extracted from enable-command.
12591 (enable-command, disable-command): Use it.
12593 2009-11-14 Glenn Morris <rgm@gnu.org>
12595 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12596 constants. (Bug#4913)
12598 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12600 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12602 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12603 defined in C that have no doc-strings. (Bug#1063)
12605 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12607 * cus-edit.el (data, files):
12608 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12610 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12612 * simple.el (shell-command): Doc fix (Bug#4891).
12614 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12616 2009-11-14 Glenn Morris <rgm@gnu.org>
12618 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12619 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12620 If they are already loaded, eval-after-load will do the right thing.
12622 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12625 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12627 * simple.el (x-selection-owner-p): Declare.
12628 (read-mail-command): Use custom radio type rather than choice.
12629 (completion-no-auto-exit): Doc fix.
12631 * custom.el (defgroup):
12632 * epg-config.el (epg): Doc fixes.
12634 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12636 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12637 * international/ccl.el (define-ccl-program): Do not purecopy the
12638 docstring, defconst does it anyway.
12640 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12645 * x-dnd.el (x-dnd-maybe-call-test-function):
12646 * window.el (split-window-vertically):
12647 * whitespace.el (whitespace-help-on):
12648 * vc-rcs.el (vc-rcs-consult-headers):
12649 * userlock.el (ask-user-about-lock-help)
12650 (ask-user-about-supersession-help):
12651 * type-break.el (type-break-force-mode-line-update):
12652 * time-stamp.el (time-stamp-conv-warn):
12653 * terminal.el (te-set-output-log, te-more-break, te-filter)
12654 (te-sentinel, terminal-emulator):
12655 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12656 (term-write-input-ring, term-check-source, term-start-output-log):
12657 (term-display-buffer-line, term-dynamic-list-completions):
12658 (term-ansi-make-term, serial-term):
12659 * subr.el (selective-display):
12660 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12661 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12662 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12663 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12664 (speedbar-remove-localized-speedbar-support)
12665 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12666 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12667 (speedbar-buffers-line-directory):
12668 * simple.el (shell-command-on-region, append-to-buffer)
12669 (prepend-to-buffer):
12670 * shadowfile.el (shadow-save-todo-file):
12671 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12672 (scroll-bar-maybe-set-window-start):
12673 * sb-image.el (speedbar-image-dump):
12674 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12675 (load-save-place-alist-from-file):
12676 * ps-samp.el (ps-print-message-from-summary):
12677 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12678 (ps-background-image, ps-begin-job, ps-do-despool):
12679 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12680 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12681 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12682 (pr-call-process, pr-file-list, pr-interface-save):
12683 * novice.el (disabled-command-function)
12684 (enable-command, disable-command):
12685 * mouse.el (mouse-buffer-menu-alist):
12686 * mouse-copy.el (mouse-kill-preserving-secondary):
12687 * macros.el (kbd-macro-query):
12688 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12689 * informat.el (batch-info-validate):
12690 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12691 * hippie-exp.el (try-expand-dabbrev-visible):
12692 * help-mode.el (help-make-xrefs):
12693 * help-fns.el (describe-variable):
12694 * generic-x.el (bat-generic-mode-run-as-comint):
12695 * finder.el (finder-mouse-select):
12696 * find-dired.el (find-dired-sentinel):
12697 * filesets.el (filesets-file-close):
12698 * files.el (list-directory):
12699 * faces.el (list-faces-display, describe-face):
12700 * facemenu.el (list-colors-display):
12701 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12702 * epg.el (epg--process-filter, epg-cancel):
12703 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12704 (epa--read-signature-type):
12705 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12706 (emerge-file-names):
12707 * ehelp.el (electric-helpify):
12708 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12709 * ediff-vers.el (rcs-ediff-view-revision):
12710 * ediff-util.el (ediff-setup):
12711 * ediff-mult.el (ediff-append-custom-diff):
12712 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12714 * echistory.el (Electric-command-history-redo-expression):
12715 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12716 * disp-table.el (describe-display-table):
12717 * dired.el (dired-find-buffer-nocreate):
12718 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12719 * dabbrev.el (dabbrev--same-major-mode-p):
12720 * chistory.el (list-command-history):
12721 * apropos.el (apropos-documentation):
12722 * allout.el (allout-obtain-passphrase):
12723 (allout-copy-exposed-to-buffer):
12724 (allout-verify-passphrase): Use with-current-buffer.
12726 2009-11-13 Glenn Morris <rgm@gnu.org>
12728 * Makefile.in (ELCFILES): Regenerate.
12730 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12732 * net/dbus.el (dbus-registered-objects-table): Rename from
12733 `dbus-registered-functions-table', because it contains also properties.
12734 (dbus-unregister-object): Unregister also properties.
12735 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12736 Use a timeout of 500 msec, in order to not block.
12737 (dbus-register-property, dbus-property-handler): New defuns.
12739 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12741 * simple.el (minibuffer-default-add-completions): Drop deprecated
12744 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12746 * textmodes/artist.el (artist-mouse-choose-operation):
12747 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12748 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12749 (artist-compute-up-event-key): New function.
12750 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12752 2009-11-13 Kenichi Handa <handa@m17n.org>
12754 * language/japan-util.el: Make sure that the value of jisx0208
12755 property is jisx0208 character.
12757 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12759 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12760 car or each item, not the whole list.
12762 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * minibuffer.el (minibuffer-completion-help):
12765 Use minibuffer-hide-completions.
12767 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12769 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12770 (dired-revert): Use them (bug#4880).
12772 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12774 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12776 2009-11-12 Juri Linkov <juri@jurta.org>
12778 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12780 (find-file-literally-at-point): Alias of `ffap-literally'.
12782 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12784 * textmodes/ispell.el (ispell-skip-region-alist):
12785 * textmodes/css-mode.el (auto-mode-alist):
12786 * progmodes/compile.el (auto-mode-alist):
12787 * international/mule.el (ctext-non-standard-encodings-alist)
12788 (ctext-non-standard-encodings-regexp):
12789 * simple.el (shell-command-switch, text-read-only):
12790 * replace.el (occur-mode-map):
12791 * paths.el (rmail-file-name):
12792 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12793 * find-file.el (ff-special-constructs):
12794 * files.el (file-name-handler-alist):
12795 * composite.el: Purecopy strings.
12797 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12799 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12801 * widget.el (define-widget): Purecopy the docstring.
12802 * international/mule-cmds.el (charset): Do not purecopy the
12803 docstring here, define-widget does it.
12805 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12806 * textmodes/bibtex-style.el (auto-mode-alist):
12807 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12808 * progmodes/compile.el (compile-command):
12809 * language/korea-util.el (default-korean-keyboard):
12810 * international/mule-conf.el (file-coding-system-alist):
12811 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12812 * tooltip.el (tooltip-frame-parameters):
12813 * newcomment.el (comment-end, comment-padding):
12814 * dired.el (dired-trivial-filenames):
12815 * comint.el (comint-file-name-prefix): Purecopy initial values.
12817 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12819 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12820 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12822 (tramp-advice-make-auto-save-file-name)
12823 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12824 after removing the advice.
12826 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12828 * progmodes/grep.el (grep-regexp-alist):
12829 * international/mule-cmds.el (iso-2022-control-alist):
12830 * emacs-lisp/timer.el (timer-duration-words):
12831 * subr.el (version-separator, version-regexp-alist):
12832 * minibuffer.el (completion-styles-alist):
12833 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12834 Change defvars to defconsts.
12836 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12837 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12838 * international/mule-conf.el: Allow to be byte compiled.
12840 * international/mule.el (define-charset): Purecopy props.
12841 (load-with-code-conversion): Purecopy doc string and file name.
12842 (put-charset-property): Purecopy strings.
12843 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12845 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12846 (define-char-code-property): Correctly purecopy the table.
12848 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12850 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12852 * subr.el (add-hook): Purecopy strings.
12853 (eval-after-load): Purecopy load-history-regexp and the form.
12855 * custom.el (custom-declare-group): Purecopy load-file-name.
12857 * subr.el (menu-bar-separator): New defconst.
12858 * net/eudc.el (eudc-tools-menu):
12859 * international/mule-cmds.el (set-coding-system-map)
12860 (mule-menu-keymap):
12861 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12862 * vc-hooks.el (vc-menu-map):
12863 * replace.el (occur-mode-map):
12864 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12865 (menu-bar-edit-menu, menu-bar-goto-menu)
12866 (menu-bar-custom-menu, menu-bar-showhide-menu)
12867 (menu-bar-options-menu, menu-bar-tools-menu)
12868 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12869 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12870 (menu-bar-help-menu):
12871 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12872 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12874 * term/x-win.el (x-gtk-stock-map):
12875 * progmodes/vera-mode.el (auto-mode-alist):
12876 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12877 (inferior-lisp-program, inferior-lisp-load-command):
12878 * progmodes/hideshow.el (hs-special-modes-alist):
12879 * progmodes/gud.el (same-window-regexps):
12880 * progmodes/grep.el (grep-program, find-program, xargs-program):
12881 * net/telnet.el (same-window-regexps):
12882 * net/rlogin.el (same-window-regexps):
12883 * language/ethiopic.el (font-ccl-encoder-alist):
12884 * vc-sccs.el (vc-sccs-master-templates):
12885 * vc-rcs.el (vc-rcs-master-templates):
12886 * subr.el (cl-assertion-failed):
12887 * simple.el (next-error-overlay-arrow-position):
12888 * lpr.el (lpr-command):
12889 * locate.el (locate-ls-subdir-switches):
12890 * info.el (same-window-regexps, info)
12891 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12892 * image-mode.el (image-mode, auto-mode-alist):
12893 * hippie-exp.el (hippie-expand-ignore-buffers):
12894 * format.el (format-alist):
12895 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12897 * facemenu.el (facemenu-keybindings):
12898 * dired.el (dired-listing-switches, dired-chown-program):
12899 * diff.el (diff-switches, diff-command):
12900 * cus-edit.el (same-window-regexps):
12901 * bindings.el (mode-line-mule-info)
12902 (mode-line-buffer-identification): Purecopy strings.
12904 2009-11-11 Juri Linkov <juri@jurta.org>
12906 * simple.el (dired-get-filename) <declare-function>:
12907 Tell the byte-compiler about dired-get-filename.
12908 (shell-command): In Dired mode, get filename from the current line
12909 as the default value.
12911 2009-11-10 Glenn Morris <rgm@gnu.org>
12913 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12914 * calendar/holidays.el, progmodes/cperl-mode.el:
12915 Update x-popup-menu declarations.
12917 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12918 (list-load-path-shadows): Use dolist.
12919 (list-load-path-shadows): Use with-current-buffer.
12921 2009-11-10 Juri Linkov <juri@jurta.org>
12923 * minibuffer.el (read-file-name): Support a list of default values
12924 in `default-filename'. Use the first file name where only one
12925 element is required. Doc fix.
12927 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12929 * net/dbus.el (dbus-unregister-object): Release service, if no
12930 other method is registered for it.
12932 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12934 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12935 bookmark-sort-flag is non-nil (Bug#4653).
12937 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12939 * emulation/cua-base.el: Add CUA property to some CC mode commands
12942 2009-11-08 Kevin Ryde <user42@zip.com.au>
12944 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12945 at end of sentence (Bug#4818).
12947 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12949 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12950 Handle "see declaration of" MSFT statements (Bug#4100).
12952 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12954 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12955 (tramp-advice-file-expand-wildcards): Unload via
12956 `ad-remove-advice'.
12958 * net/trampver.el: Update release number.
12960 2009-11-08 Kevin Ryde <user42@zip.com.au>
12962 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12965 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12967 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12968 in order to keep context in SELinux.
12970 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12972 * dired-aux.el (dired-query): Place cursor in echo area and allow
12975 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12976 menu item if not on a directory (Bug#4701).
12978 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12980 Sync with Tramp 2.1.17.
12982 * net/tramp.el (tramp-handle-copy-directory): Don't use
12983 `file-remote-p' (due to compatibility).
12985 * net/tramp-compat.el (tramp-compat-copy-directory)
12986 (tramp-compat-delete-directory): New defuns.
12988 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12989 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12990 Use `tramp-compat-delete-directory'.
12992 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12993 (tramp-smb-handle-delete-directory):
12994 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12996 * net/trampver.el: Update release number.
12998 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13000 * tar-mode.el (tar-copy): Call write-region on the right buffer
13003 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13004 by hand, if necessary (Bug#4878).
13006 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13008 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13009 align size column (Bug#4839).
13011 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13014 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13016 * progmodes/ld-script.el (auto-mode-alist):
13017 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13019 * cus-face.el (custom-declare-face): Purecopy face spec.
13021 2009-11-06 Kenichi Handa <handa@m17n.org>
13023 * international/uni-bidi.el: Re-generated.
13024 * international/uni-category.el: Re-generated.
13025 * international/uni-combining.el: Re-generated.
13026 * international/uni-mirrored.el: Re-generated.
13028 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13030 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13031 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13032 (tex-start-options, slitex-run-command, latex-run-command)
13033 (tex-run-command, tex-directory):
13034 * textmodes/ispell.el (ispell-html-skip-alists)
13035 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13036 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13037 (adaptive-fill-regexp):
13038 * textmodes/dns-mode.el (auto-mode-alist):
13039 * progmodes/python.el (interpreter-mode-alist):
13040 * progmodes/etags.el (tags-compression-info-list):
13041 * progmodes/etags.el (tags-file-name):
13042 * net/browse-url.el (browse-url-galeon-program)
13043 (browse-url-firefox-program):
13044 * mail/sendmail.el (mail-signature-file)
13045 (mail-citation-prefix-regexp):
13046 * international/mule-conf.el (eight-bit):
13047 * international/latexenc.el (latex-inputenc-coding-alist):
13048 * international/fontset.el (x-pixel-size-width-font-regexp):
13049 * emacs-lisp/warnings.el (warning-type-format):
13050 * emacs-lisp/trace.el (trace-buffer):
13051 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13052 (emacs-lisp-mode-map):
13053 * calendar/holidays.el (holiday-solar-holidays)
13054 (holiday-bahai-holidays, holiday-islamic-holidays)
13055 (holiday-christian-holidays, holiday-hebrew-holidays)
13056 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13057 (hebrew-holidays-1, holiday-oriental-holidays)
13058 (holiday-general-holidays):
13059 * x-dnd.el (x-dnd-known-types):
13060 * tool-bar.el (tool-bar):
13061 * startup.el (site-run-file):
13062 * shell.el (shell-dumb-shell-regexp):
13063 * rfn-eshadow.el (file-name-shadow-tty-properties)
13064 (file-name-shadow-properties):
13065 * paths.el (remote-shell-program, news-directory):
13066 * mouse.el ([C-down-mouse-3]):
13067 * menu-bar.el (menu-bar-tools-menu):
13068 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13069 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13070 (jka-compr-compression-info-list):
13071 * isearch.el (search-whitespace-regexp):
13072 * image-file.el (image-file-name-extensions):
13073 * find-dired.el (find-ls-option):
13074 * files.el (directory-listing-before-filename-regexp)
13075 (directory-free-space-args, insert-directory-program)
13076 (list-directory-brief-switches, magic-fallback-mode-alist)
13077 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13078 (automount-dir-prefix):
13079 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13080 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13081 (face-font-registry-alternatives, face-font-registry-alternatives)
13082 (face-font-family-alternatives):
13083 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13084 (facemenu-foreground-menu, facemenu-face-menu):
13085 * epa-hook.el (epa-file-name-regexp):
13086 * dnd.el (dnd-protocol-alist):
13087 * textmodes/rst.el (auto-mode-alist):
13088 * button.el (default-button): Purecopy strings.
13090 2009-11-06 Glenn Morris <rgm@gnu.org>
13092 * Makefile.in (ELCFILES): Update.
13094 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13096 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13097 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13099 * nxml/xsd-regexp.el (xsdre-gen-categories):
13100 * nxml/xmltok.el (xmltok-parse-entity):
13101 * nxml/rng-parse.el (rng-parse-validate-file):
13102 * nxml/rng-maint.el (rng-format-manual)
13103 (rng-manual-output-force-new-line):
13104 * nxml/rng-loc.el (rng-save-schema-location-1):
13105 * nxml/rng-cmpct.el (rng-c-parse-file):
13106 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13107 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13109 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13111 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13112 Remove extra save-excursions and make-variable-buffer-local's.
13113 Suggested by Stefan Monnier.
13115 (verilog-getopt-file, verilog-module-inside-filename-p)
13116 (verilog-set-define): Merge GNU 1.35 and repair changes from
13117 switching to using with-current-buffer.
13119 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13120 being treated as a number and confusing AUTORESET.
13121 Reported by Dan Dever.
13123 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13124 Add verilog-auto-ignore-concat to fix backward compatibility with
13125 older verilog-modes. Reported by Dan Katz.
13127 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13128 containing closing anchors "...$".
13130 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13131 Reported by Wade Smith.
13133 (verilog-batch-execute-func): Comment on function usage.
13135 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13137 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13140 (verilog-label-re, verilog-calc-1): Support proper indent of named
13143 (verilog-backward-token, verilog-basic-complete-re)
13144 (verilog-beg-of-statement, verilog-indent-re): Support proper
13145 indent of the assert statement at the beginning of a block of text.
13147 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13148 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13151 2009-11-05 Glenn Morris <rgm@gnu.org>
13153 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13154 Emacs 19. (Bug#1531)
13155 (byte-compile-fix-header): Update for the above change.
13156 Drop test for epoch::version.
13158 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13159 * cus-dep.el (custom-make-dependencies):
13160 * finder.el (finder-compile-keywords):
13161 Use autoload-rubric's feature argument.
13163 * calendar/diary-lib.el (top-level): Make load behave more like require.
13165 * vc-git.el (vc-git-stash-map): Move definition before use.
13167 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13169 * custom.el (custom-declare-group): Purecopy standard-value.
13170 (custom-declare-group): Purecopy custom-prefix.
13172 * international/mule.el (load-with-code-conversion):
13173 Call do-after-load-evaluation unconditionally.
13175 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13177 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13179 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13181 2009-11-04 Glenn Morris <rgm@gnu.org>
13183 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13184 (byte-compile-compatibility): Remove option.
13185 (byte-compile-close-variables, byte-compile-fix-header)
13186 (byte-compile-insert-header, byte-compile-output-docform)
13187 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13188 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13189 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13190 (byte-compile-insert, byte-compile-defun):
13191 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13192 (byte-defop-compiler19): Remove.
13193 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13194 used by anything. Replace all calls with byte-defop-compiler.
13196 2009-11-04 Juri Linkov <juri@jurta.org>
13198 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13199 (menu-bar-options-menu): Don't quote the `prop' arg of
13200 `menu-bar-make-mm-toggle'.
13202 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13204 * calendar/calendar.el (cal-loaddefs):
13205 * calendar/diary-lib.el (diary-loaddefs):
13206 * calendar/holidays.el (hol-loaddefs):
13207 * eshell/esh-module.el (esh-groups): Load rather than require.
13209 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13211 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13213 (todo-top-priorities): Only display-buffer when called interactively.
13214 (todo-item-start): Don't save excursion point.
13215 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13216 (todo-insert-item-here, todo-file-item, todo-remove-item):
13217 Adjust uses of todo-item-start and todo-item-end.
13219 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13220 (autoload-rubric): Don't use any more.
13222 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13223 and only put a prop if it is non-nil.
13225 2009-11-03 Juri Linkov <juri@jurta.org>
13227 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13228 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13230 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13231 and "Menu" to make top-level menu item visually one unit (like
13232 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13233 multi-word menu items). Fix :help string for quit-window.
13235 2009-11-03 Glenn Morris <rgm@gnu.org>
13237 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13238 (byte-compile-file-form-define-abbrev-table)
13239 (byte-compile-file-form-custom-declare-variable)
13240 (byte-compile-variable-ref, byte-compile-defvar):
13241 Whether or not a warning is enabled should only affect whether we issue
13242 the warning, not whether or not we collect the relevant data.
13243 Eg warnings can be turned on and off throughout the course of a file.
13245 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13246 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13248 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13250 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13251 * play/mpuz.el (mpuz-create-buffer):
13252 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13253 (lm-print-y,s,noise, lm-print-w0, lm-init):
13254 * play/gomoku.el (gomoku-prompt-for-move):
13255 * play/fortune.el (fortune-in-buffer):
13256 * play/dissociate.el (dissociated-press):
13257 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13258 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13259 * mail/supercite.el (sc-eref-show):
13260 * mail/smtpmail.el (smtpmail-send-it):
13261 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13262 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13263 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13264 (rmail-summary-goto-msg, rmail-summary-expunge)
13265 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13266 (rmail-summary-add-label, rmail-summary-output-menu)
13267 (rmail-summary-output-body):
13268 * mail/rfc822.el (rfc822-addresses):
13269 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13270 * mail/mailpost.el (post-mail-send-it):
13271 * mail/hashcash.el (hashcash-generate-payment):
13272 * mail/feedmail.el (feedmail-run-the-queue)
13273 (feedmail-queue-send-edit-prompt-help-first)
13274 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13275 (feedmail-deduce-address-list):
13276 * eshell/esh-ext.el (eshell-remote-command):
13277 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13278 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13279 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13280 (viper-save-string-in-file, viper-valid-marker):
13281 * emulation/viper-keym.el (viper-toggle-key):
13282 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13283 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13284 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13285 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13286 (viper-exec-form-in-emacs, viper-brac-function):
13287 * emulation/viper.el (viper-delocalize-var):
13288 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13289 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13290 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13291 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13292 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13293 * emulation/edt.el (edt-electric-helpify):
13294 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13295 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13296 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13297 (cua-indent-to-global-mark-column):
13298 * calendar/diary-lib.el (calendar-mark-1):
13299 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13300 Use with-current-buffer.
13301 * emulation/viper.el (viper-delocalize-var): Use dolist.
13303 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13305 * comint.el (comint-replace-by-expanded-history-before-point):
13306 Replace !! with the previous input string literally (Bug#1795).
13308 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13310 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13311 to be made up of whitespace.
13313 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13315 * minibuffer.el (read-file-name): Don't use file dialogs for
13316 remote directories (Bug#99).
13318 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13320 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13322 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13324 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13325 instead of deleting the window or frame.
13327 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13329 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13330 Support face colors.
13332 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13333 New function. Support face colors (Bug#1168).
13334 (tex-common-initialization): Use it.
13336 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13337 mode allows it (Bug#1168).
13339 2009-10-31 Juri Linkov <juri@jurta.org>
13341 * facemenu.el (list-colors-display): Don't mark buffer as
13342 modified (Bug#3948).
13344 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13346 * international/mule-diag.el (list-character-sets-1):
13347 Minor message fix (Bug#3526).
13349 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13350 Fix face property (Bug#4834).
13351 (etags-list-tags, etags-tags-apropos-additional)
13352 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13355 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13358 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13360 * textmodes/two-column.el (2C-split):
13361 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13362 * textmodes/tex-mode.el (tex-set-buffer-directory):
13363 * textmodes/spell.el (spell-region, spell-string):
13364 * textmodes/reftex.el (reftex-erase-buffer):
13365 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13366 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13367 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13368 (reftex-select-item):
13369 * textmodes/reftex-ref.el (reftex-label-info-update)
13370 (reftex-offer-label-menu):
13371 * textmodes/reftex-index.el (reftex-index-change-entry)
13372 (reftex-index-phrases-info):
13373 * textmodes/reftex-global.el (reftex-create-tags-file)
13374 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13375 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13376 (reftex-view-crossref-from-bibtex):
13377 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13378 (reftex-extract-bib-entries-from-thebibliography)
13379 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13380 * textmodes/refbib.el (r2b-capitalize-title):
13381 (r2b-convert-buffer, r2b-help):
13382 * textmodes/page-ext.el (pages-directory)
13383 (pages-directory-goto-with-mouse):
13384 * textmodes/bibtex.el (bibtex-validate-globally):
13385 * textmodes/bib-mode.el (bib-capitalize-title):
13386 * textmodes/artist.el (artist-clear-buffer, artist-system):
13387 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13388 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13389 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13390 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13391 (xscheme-send-control-g-interrupt, xscheme-start-process)
13392 (xscheme-process-sentinel, xscheme-cd):
13393 * progmodes/verilog-mode.el (verilog-read-always-signals)
13394 (verilog-set-define, verilog-getopt-file)
13395 (verilog-module-inside-filename-p):
13396 * progmodes/sh-script.el:
13397 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13398 (python-pdbtrack-grub-for-buffer, python-execute-file):
13399 * progmodes/octave-inf.el (inferior-octave):
13400 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13401 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13402 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13403 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13404 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13405 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13406 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13407 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13408 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13409 (idlwave-shell-examine-display, idlwave-shell-run-region)
13410 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13411 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13412 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13413 (idlwave-help-get-help-buffer):
13414 * progmodes/gud.el (gud-basic-call, gud-find-class)
13415 (gud-tooltip-activate-mouse-motions-if-enabled):
13416 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13417 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13418 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13419 (ebrowse-tags-next-file):
13420 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13421 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13422 (ebnf-eps-finish-and-write):
13423 * progmodes/cpp.el (cpp-edit-save):
13424 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13425 * progmodes/cc-defs.el (c-emacs-features):
13426 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13427 (antlr-directory-dependencies):
13428 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13429 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13430 (ada-find-any-references, ada-make-filename-from-adaname)
13431 (ada-make-body-gnatstub):
13432 * obsolete/rnews.el (news-list-news-groups):
13433 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13434 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13435 * net/rcirc.el (rcirc-debug):
13436 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13437 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13438 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13439 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13440 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13441 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13442 (newsticker--treeview-list-clear-highlight)
13443 (newsticker--treeview-list-update-highlight)
13444 (newsticker--treeview-list-highlight-start)
13445 (newsticker--treeview-tree-update-highlight)
13446 (newsticker--treeview-get-selected-item)
13447 (newsticker-treeview-mark-list-items-old)
13448 (newsticker--treeview-set-current-node):
13449 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13450 * net/newst-backend.el (newsticker--get-news-by-funcall)
13451 (newsticker--get-news-by-wget, newsticker--image-get)
13452 (newsticker--image-sentinel):
13453 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13454 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13455 (eudc-ph-close-session):
13456 * net/eudc.el (eudc-save-options):
13457 * language/thai-word.el (thai-update-word-table):
13458 * language/japan-util.el (japanese-string-conversion):
13459 * international/titdic-cnv.el (tsang-quick-converter)
13460 (ziranma-converter, ctlau-converter):
13461 * international/mule-cmds.el (describe-language-environment):
13462 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13463 (skkdic-convert-postfix, skkdic-convert-prefix):
13464 (skkdic-convert-okuri-nasi, skkdic-convert):
13465 * emacs-lisp/re-builder.el (reb-update-overlays):
13466 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13467 * emacs-lisp/gulp.el (gulp-send-requests):
13468 * emacs-lisp/find-gc.el (trace-call-tree):
13469 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13470 (eieio-describe-generic):
13471 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13472 * emacs-lisp/edebug.el (edebug-outside-excursion):
13473 * emacs-lisp/debug.el (debugger-make-xrefs):
13474 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13475 * emacs-lisp/chart.el (chart-new-buffer):
13476 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13477 Use with-current-buffer.
13478 * textmodes/artist.el (artist-system): Don't call
13479 copy-sequence on a fresh string.
13480 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13482 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13484 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13485 is no item to edit. (Bug#4820)
13486 (todo-top-priorities): Restore point and restore narrowing in Todo
13489 2009-10-31 Glenn Morris <rgm@gnu.org>
13491 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13492 (comint-last-output-start, comint-last-input-start)
13493 (comint-last-input-end): Don't defvar when compiling.
13494 (ange-ftp-process-file): Use bound-and-true-p.
13496 * pcmpl-rpm.el (top-level): Move provide statement to end.
13497 (pcmpl-rpm): Remove unused custom group.
13499 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13501 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13503 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13504 (byte-compile-warnings): Add `constants' as an option.
13505 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13506 (display-call-tree): Update for byte-compile-fdefinition possibly
13507 returning `(macro lambda ...)'. (Bug#4778)
13508 (byte-compile-variable-ref, byte-compile-setq-default):
13509 Respect `constants' member of byte-compile-warnings.
13511 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13513 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13514 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13517 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13519 * textmodes/ispell.el (ispell-skip-region-alist):
13520 * international/mule-conf.el (eight-bit):
13521 * international/fontset.el (font-encoding-alist):
13522 * startup.el (pure-space-overflow-message):
13523 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13524 * paths.el (gnus-nntp-service, rmail-spool-directory)
13525 (term-file-prefix):
13526 * files.el (save-some-buffers-action-alist):
13527 * cmuscheme.el (same-window-buffer-names):
13528 * ielm.el (same-window-buffer-names):
13529 * shell.el (same-window-buffer-names):
13530 * mail/sendmail.el (same-window-buffer-names):
13531 * progmodes/inf-lisp.el (same-window-buffer-names):
13532 * bindings.el (mode-line-client)
13533 (mode-line-column-line-number-mode-map):
13534 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13535 (tibetan-precomposed-regexp): Purecopy string arguments.
13537 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13540 (calcDigit-nondigit):
13541 * calc/calc-yank.el (calc-copy-to-buffer):
13542 * calc/calc-units.el (calc-invalidate-units-table):
13543 * calc/calc-trail.el (calc-trail-yank):
13544 * calc/calc-store.el (calc-insert-variables):
13545 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13546 * calc/calc-prog.el (calc-read-parse-table):
13547 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13548 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13549 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13550 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13551 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13552 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13553 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13554 * calc/calc-ext.el (calc-realign):
13555 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13556 (calc-embedded-finish-edit, calc-embedded-make-info)
13557 (calc-embedded-finish-command, calc-embedded-stack-change):
13558 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13560 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13561 shell-dynamic-complete-filename in preference to
13562 comint-dynamic-complete-filename.
13564 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13565 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13566 Don't consider whether the display supports colors.
13567 (bookmark-import-new-list): Use dolist.
13568 (bookmark-bmenu-mode-map): Move initialization into declaration.
13569 (bookmark-bmenu-list): Use dolist, simplify.
13570 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13571 (menu-bar-final-items): Use push.
13573 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13575 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13576 it works on remote files.
13577 (vc-hg-diff): Don't pass any `--cwd' argument.
13579 2009-10-27 Kevin Ryde <user42@zip.com.au>
13581 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13582 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13583 (Further to Bug#3921).
13585 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13587 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13588 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13589 calling `tramp-imap-put-file'. Add file size to the call.
13590 (tramp-imap-get-file-entries): Compute also user name, file size,
13592 (tramp-imap-handle-insert-directory): Insert uid and gid.
13593 (tramp-imap-handle-file-attributes): Transform uid and gid
13594 according to `id-format'.
13595 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13596 size in header X-Size.
13598 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13600 * simple.el (transpose-subr): Give clearer error when the mark
13601 is not set. (Bug#4807)
13603 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13605 * net/tramp.el (tramp-perl-file-truename): New defconst.
13606 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13607 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13608 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13609 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13611 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13612 Ignore `dired-call-process'.
13613 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13615 2009-10-26 Julian Scheid <julians37@gmail.com>
13617 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13618 (tramp-get-remote-readlink): New defun.
13619 (tramp-handle-file-truename): Use it.
13620 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13621 file exists if cache value present.
13622 (tramp-check-cached-permissions): New defun.
13623 (tramp-handle-file-readable-p): Use it.
13624 (tramp-handle-file-writable-p): Likewise.
13625 (tramp-handle-file-executable-p): Likewise.
13626 (tramp-handle-file-name-all-completions): Try using Perl to get
13627 partial completions. When perl not available, combine `cd' and
13628 `ls' into single remote operation and use shell expansion to get
13629 partial remote directory contents. Set `file-exists-p' cache for
13630 directory and any files returned by ls. Change cache handling to
13631 support partial directory contents. Use error message emitted by
13632 remote `cd' or Perl code for local tramp-error.
13633 (tramp-do-copy-or-rename-file-directly): Avoid separate
13634 tramp-send-command-and-check call.
13635 (tramp-handle-process-file): Merge three remote ops into one.
13636 Do not flush all caches when `process-file-side-effects' is set.
13637 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13638 file-attributes shows uid/gid to be set already.
13640 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13642 * textmodes/tex-mode.el (tex-dvi-view-command)
13643 (tex-show-queue-command, tex-open-quote):
13644 * progmodes/ruby-mode.el (auto-mode-alist)
13645 (interpreter-mode-alist): Purecopy strings.
13647 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13649 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13650 string for the hook, keymap and abbrev table.
13652 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13654 * x-dnd.el (x-dnd-xdnd-to-action):
13655 * startup.el (fancy-startup-text, fancy-about-text): Change to
13656 defconst from defvar.
13658 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13660 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13661 Purecopy initialization strings.
13663 * mail/sendmail.el (mail-header-separator)
13664 (mail-personal-alias-file):
13665 * mail/rmail.el (rmail-default-dont-reply-to-names)
13666 (rmail-ignored-headers, rmail-retry-ignored-headers)
13667 (rmail-highlighted-headers, rmail-secondary-file-directory)
13668 (rmail-secondary-file-regexp):
13669 * files.el (null-device, file-name-invalid-regexp)
13670 (locate-dominating-stop-dir-regexp)
13671 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13672 (interpreter-mode-alist): Use mapcar instead of mapc.
13674 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13676 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13677 (completion-ignored-extensions):
13678 (debug-ignored-errors): Purecopy strings.
13680 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13682 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13683 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13684 (pcomplete--here): Use push.
13686 * subr.el (all-completions): Declare the 4th arg obsolete.
13688 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13690 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13691 (pcomplete-unquote-argument): New function.
13692 (pcomplete--common-suffix): Always pay attention to case.
13693 (pcomplete--table-subvert): Quote and unquote the text.
13694 (pcomplete--common-quoted-suffix): New function.
13695 (pcomplete-std-complete): Use it and pcomplete-begin.
13697 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13698 we're inside a dedicated or minibuffer window.
13700 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13702 * bookmark.el: Update documentation, especially documentation
13703 of `bookmark-alist' and of the bookmark file format.
13704 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13706 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13708 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13709 keybindings apply to the mail buffer (Bug#4003). Shrink help
13712 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13713 (global-whitespace-mode, global-whitespace-newline-mode)
13714 (whitespace-toggle-options, global-whitespace-toggle-options):
13715 Doc fix (Bug#3660).
13717 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13718 of xmltok-start before the end tag was inserted (Bug#2840).
13720 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13721 patterns that are preceded by an open-paren (Bug#1320).
13723 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13725 * files.el (delete-directory): Delete symlinks to directories with
13726 delete-file (Bug#4739).
13728 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13730 * vc.el (vc-backend-for-registration): Rename from
13731 vc-get-backend-for-registration. Update callers.
13733 * international/mule-cmds.el (set-language-info-alist):
13735 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13736 (charset): Purecopy the name.
13737 (define-char-code-property): Purecopy string arguments.
13739 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13740 Purecopy string arguments.
13742 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13743 * ediff-hook.el (menu-bar-ediff-menu):
13744 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13745 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13747 2009-10-24 Glenn Morris <rgm@gnu.org>
13749 * comint.el (comint-dynamic-list-completions):
13750 * term.el (term-dynamic-list-completions): Use choose-completion rather
13751 than obsolete alias mouse-choose-completion.
13753 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13754 file-cache-choose-completion.
13755 (file-cache-choose-completion): Handle an optional event argument.
13756 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13758 * progmodes/octave-mod.el (octave-complete-symbol):
13759 Use choose-completion if mouse-choose-completion is ever removed.
13761 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13764 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13767 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13769 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13771 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13772 Ignore `pred' now that we receive one.
13773 Handle test-completion specially.
13775 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13777 * vc.el (vc-responsible-backend): Throw an error if not backend is
13778 found. Remove the REGISTER argument. Move the code dealing with
13780 (vc-get-backend-for-registration): ... here. New function.
13781 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13782 of vc-responsible-backend, pass the file name instead of the
13785 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13787 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13789 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13790 (pcomplete-comint-setup): Don't modify a global var via
13791 accidental side-effects.
13792 (pcomplete-shell-setup): Adjust call accordingly.
13793 (pcomplete-parse-comint-arguments): Use push.
13795 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13797 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13798 Allow uncapitalized info node names (Bug#3921).
13800 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13801 to the DEBUG file (Bug#3781).
13803 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13805 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13806 dictionary entry (Bug#4579).
13808 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13810 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13811 from `rfn-eshadow-update-overlay-hook' when unloading.
13812 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13813 "rsyncc". Adjust doc string.
13814 (tramp-temp-buffer-file-name): New buffer-local defvar.
13815 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13816 Keep temporary file when indicated by method ("rsync" and
13818 (tramp-handle-write-region): Handle APPEND.
13819 (tramp-delete-temp-file-function): New defun. Added to
13820 `kill-buffer-hook'.
13822 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13824 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13826 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13828 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13829 (color-name-rgb-alist, tty-standard-colors)
13830 (tty-color-mode-alist): Change to defconst.
13832 * simple.el (mark-inactive): Purecopy message.
13834 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13835 (global-map, yank-menu):
13836 * textmodes/ispell.el (ispell-menu-map):
13837 * net/eudc.el (eudc-tools-menu):
13838 * international/mule-cmds.el (describe-language-environment-map)
13839 (setup-language-environment-map, set-coding-system-map)
13840 (mule-menu-keymap):
13841 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13842 * replace.el (occur-mode-map):
13843 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13845 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13847 * calc/calc.el (math-read-number, math-read-number-simple):
13848 Use `save-match-data'.
13850 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13852 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13853 rather than fiddling with global-map bindings, since it should only
13854 affect per-terminal settings.
13855 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13857 * minibuffer.el (completion-table-with-terminator): Allow to specify
13858 the terminator-regexp.
13860 * simple.el (switch-to-completions): Look for *Completions* in other
13863 * pcomplete.el: Allow the use of completion-tables.
13864 (pcomplete-std-complete): New command.
13865 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13866 (pcomplete--here): Use a function for `form' rather than an expression,
13867 so it can be byte-compiled.
13868 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13869 Add edebug declaration.
13870 (pcomplete-show-completions): Remove unused var `curbuf'.
13871 (pcomplete-do-complete, pcomplete-stub):
13872 Don't assume `completions' is a list of strings any more.
13874 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13876 * find-dired.el (find-name-arg): Fix typo in docstring.
13878 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13880 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13881 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13883 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13886 * comint.el (comint-read-input-ring, comint-write-input-ring)
13887 (comint-substitute-in-file-name)
13888 (comint-dynamic-complete-as-filename)
13889 (comint-dynamic-simple-complete)
13890 (comint-dynamic-list-filename-completions)
13891 (comint-dynamic-list-completions)
13892 (comint-redirect-results-list-from-process): Minor simplifications.
13894 2009-10-21 Kevin Ryde <user42@zip.com.au>
13896 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13897 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13898 the first form. And insert a blank line after ";;; Code" since
13899 that's usual style. (Bug#4612)
13901 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13903 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13905 * minibuffer.el (completion-table-with-terminator): Properly implement
13906 boundaries, in case `terminator' appears in the suffix.
13907 (completion--embedded-envvar-table): Don't return boundaries if
13908 there's no valid completion. Simplify.
13909 (completion-file-name-table): New completion table extracted from
13910 completion--file-name-table.
13911 (completion--file-name-table): Use it.
13912 (read-file-name-predicate): Declare obsolete.
13913 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13914 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13915 completion-file-name-table, and use the `pred' argument.
13916 * files.el (locate-file-completion-table): Use the `pred' arg rather
13917 than read-file-name-predicate.
13918 (abbreviate-file-name): Use \` rather than ^ for BOS.
13920 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13922 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13923 vc-responsible-backend to register, it causes problems.
13925 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13927 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13929 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13931 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13932 (tramp-smb-handle-file-attributes): Use it.
13933 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13934 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13935 `mapcar'. Use `tramp-smb-get-stat-capability'.
13936 Add `dired-filename' text properties.
13937 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13938 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13941 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13943 * subr.el (read-key-delay): Reduce to 0.01.
13944 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13947 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13949 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13951 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13952 (Info-menu): Remove unused vars `last' and `completions'.
13953 (Info-index-nodes): Remove unused var `node'.
13955 * info.el (Info-complete-menu-item): Use complete-with-action.
13957 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13959 Make vc-annotate work through copies and renames.
13960 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13961 Return the file name too.
13962 (vc-annotate-revision-at-line)
13963 (vc-annotate-find-revision-at-line)
13964 (vc-annotate-revision-previous-to-line)
13965 (vc-annotate-show-log-revision-at-line): Update to get the file
13966 name from vc-annotate-extract-revision-at-line.
13967 (vc-annotate-show-diff-revision-at-line-internal): Change the
13968 argument to mean whether to show a file diff or not. Get the file
13969 name from vc-annotate-extract-revision-at-line.
13970 (vc-annotate-show-diff-revision-at-line):
13971 Update vc-annotate-show-diff-revision-at-line call.
13972 (vc-annotate-warp-revision): Add an optional file argument.
13974 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13975 (vc-git-annotate-extract-revision-at-line): Also return the file
13978 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13979 command. Remove unused code.
13980 (vc-hg-annotate-re): Update to match --follow output.
13981 (vc-hg-annotate-extract-revision-at-line): Also return the file
13984 * vc.el: Update annotate-extract-revision-at-line documentation.
13986 2009-10-18 Kevin Ryde <user42@zip.com.au>
13988 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13989 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13991 * net/browse-url.el (browse-url): Identify alist with "consp and
13992 not functionp" and let all other things go down the `apply' leg,
13993 as suggested by Stefan. (Further to bug#4531.)
13995 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13997 * minibuffer.el (read-file-name): Check for repeat before putting
13998 a default argument in file-name-history (Bug#4657).
14000 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14001 read syntax (Bug#4737).
14003 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14005 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14007 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14008 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14009 entries and make note of obsolete tags.
14011 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14015 2009-10-18 Glenn Morris <rgm@gnu.org>
14017 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14018 grep, so that binary files (eg international/uni-bidi.el) can match.
14019 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14020 now, and in any case the file header format has changed.
14022 2009-10-17 Glenn Morris <rgm@gnu.org>
14024 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14025 (flyspell-get-word, flyspell-large-region)
14026 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14028 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14030 * Makefile.in (ELCFILES): Add ede/shell.
14032 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14034 * term/common-win.el (x-colors): Purecopy it.
14036 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14038 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14039 permissive for when the buffer is empty.
14040 (tar-header-block-tokenize): Decode the username and groupname.
14041 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14043 2009-10-17 Eric Ludlam <zappo@gnu.org>
14045 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14046 contains multibyte characters, choose first applicable coding
14047 system automatically.
14049 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14051 * international/mule-cmds.el (select-safe-coding-system): If the file
14052 has a coding cookie, use it regardless of any other setting (bug#4712).
14054 2009-10-17 Glenn Morris <rgm@gnu.org>
14056 * foldout.el (foldout-mouse-swallow-events):
14057 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14059 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14060 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14061 (dired-keep-marker-symlink, dired-dwim-target)
14062 (dired-copy-preserve-time): Do not autoload these defcustoms.
14064 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14065 messages from messing up the file coding. (Bug#4623)
14067 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14069 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14070 if no match is found for the current dictionary. (Bug#4578)
14072 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14073 optional, since that is how it is documented, and this is often called
14074 with a nil argument. (Bug#4577)
14075 (flyspell-external-point-words, flyspell-auto-correct-word)
14076 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14077 (flyspell-word-search-backward): Remove nil argument in calls to
14078 flyspell-get-word, since it is not needed now.
14080 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14082 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14084 2009-10-16 Glenn Morris <rgm@gnu.org>
14086 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14088 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14090 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14091 (ange-ftp-file-size): New function.
14092 (ange-ftp-file-attributes): Use it.
14094 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14096 * net/tramp-smb.el (tramp-smb-version): New defvar.
14097 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14100 2009-10-16 Glenn Morris <rgm@gnu.org>
14102 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14103 Maybe copy some custom properties from old to new name. (Bug#4706)
14105 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14107 * subr.el (error, sit-for, start-process-shell-command)
14108 (start-file-process-shell-command): Set the calling convention
14109 after the function definition.
14111 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14113 * subr.el (error, sit-for, start-process-shell-command)
14114 (start-file-process-shell-command): Use the new
14115 set-advertised-calling-convention feature.
14117 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14119 * international/ucs-normalize.el (ucs-normalize-version):
14121 (check-range): Adjust for Unicode 5.2.
14123 2009-10-15 Juri Linkov <juri@jurta.org>
14125 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14126 to the `menu-item' format.
14128 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14130 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14131 if the environment variable does not exist.
14133 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14134 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14136 (tramp-smb-handle-add-name-to-file)
14137 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14138 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14139 (tramp-smb-handle-file-attributes)
14140 (tramp-smb-do-file-attributes-with-stat)
14141 (tramp-smb-handle-file-local-copy)
14142 (tramp-smb-handle-insert-directory)
14143 (tramp-smb-handle-make-directory)
14144 (tramp-smb-handle-make-directory-internal)
14145 (tramp-smb-handle-make-symbolic-link)
14146 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14147 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14148 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14149 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14150 Handle long file names.
14151 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14152 process is running.
14153 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14154 Read share names with "-g" option.
14156 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14158 * net/rcirc.el (rcirc-view-log-file): New command.
14159 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14160 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14163 2009-10-15 Glenn Morris <rgm@gnu.org>
14165 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14166 from the second command-line argument.
14167 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14168 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14169 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14170 w32-batch-update-autoloads.
14171 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14172 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14174 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14175 the headers cannot be located. Simplify, subtracting superflous
14178 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14180 Replace completion-base-size by completion-base-position to fix bugs
14181 such as (bug#4699).
14182 * simple.el (completion-base-position): New var.
14183 (completion-base-size): Mark as obsolete.
14184 (choose-completion): Make it work for mouse events as well.
14185 Pass the new base-position to choose-completion-string.
14186 (choose-completion-guess-base-position): New function, extracted from
14187 choose-completion-delete-max-match.
14188 (choose-completion-delete-max-match): Use it. Make obsolete.
14189 (choose-completion-string): Use the new base-position info.
14190 (completion-root-regexp): Delete.
14191 (completion-setup-function): Preserve completion-base-position.
14192 Eliminate obsolete base-size manipulation.
14193 * minibuffer.el (display-completion-list): Don't mess with base-size.
14194 (minibuffer-completion-help): Set completion-base-position instead.
14195 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14197 * textmodes/bibtex.el (bibtex-complete):
14198 * emacs-lisp/crm.el (crm--choose-completion-string):
14199 Adjust to new calling convention.
14200 * complete.el (partial-completion-mode): Use minibufferp to avoid
14201 bumping into incompatible change to choose-completion-string-functions.
14202 * ido.el (ido-choose-completion-string): Make its calling convention
14204 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14205 base-size manipulation.
14206 (comint-dynamic-list-input-ring): Use dotimes and push.
14207 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14208 fundamental-mode. Use `or'.
14210 2009-10-14 Juri Linkov <juri@jurta.org>
14212 * misearch.el (multi-isearch-next-buffer-from-list)
14213 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14215 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14217 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14220 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14221 string we return is all made up of text from the completions rather
14222 than part from the completions and part from the input (bug#4219).
14224 * ido.el (ido-everywhere): Use define-minor-mode.
14226 * buff-menu.el (list-buffers, ctl-x-map):
14227 Mark the entry points with ;;;###autoload cookies.
14229 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14231 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14232 correctly in the detached head case.
14233 (vc-git-print-log): Remove unused binding.
14235 * vc.el (vc-responsible-backend): When a directory is passed for
14236 for registration create a VC repository if no backend is
14237 responsible for the directory argument.
14238 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14240 * vc.el: Move comments about RCS and SCCS ...
14242 * vc-sccs.el: ... here, respectively.
14244 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14246 * minibuffer.el (completion--file-name-table): Return nil if there's
14247 no file completion, even if substitute-in-file-name changed
14248 the string (bug#4708).
14250 2009-10-13 Juri Linkov <juri@jurta.org>
14252 * files-x.el (read-file-local-variable-value): Don't filter out
14253 minor modes from mode name completion (bug#4664).
14255 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14257 * international/mule-cmds.el (ucs-names): Remove exclusion of
14258 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14260 2009-10-13 Kenichi Handa <handa@m17n.org>
14262 * international/uni-name.el: Regenerated.
14264 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14266 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14267 should be automatically buffer-local, but isn't.)
14269 2009-10-12 Sam Steingold <sds@gnu.org>
14271 * progmodes/compile.el (compilation-next-error-function): Fix the
14272 timestamps if the buffer has been visited before.
14273 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14274 non-anchored patterns, like the perl one (bug#3928).
14276 2009-10-12 Glenn Morris <rgm@gnu.org>
14278 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14281 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14283 * proced.el (proced-unload-function): New function.
14285 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14286 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14289 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14291 2009-10-11 Juri Linkov <juri@jurta.org>
14293 * files-x.el (read-file-local-variable-value):
14294 Provide default value only for bound variables (bug#4664).
14296 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14298 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14299 connection methods like smb.
14301 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14304 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14305 (tramp-smb-file-name-handler-alist): Add handlers for
14306 `add-name-to-file', `make-symbolic-link'.
14307 (tramp-smb-handle-add-name-to-file)
14308 (tramp-smb-do-file-attributes-with-stat)
14309 (tramp-smb-handle-make-symbolic-link)
14310 (tramp-smb-get-cifs-capabilities): New defuns.
14311 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14312 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14313 (tramp-smb-handle-file-local-copy)
14314 (tramp-smb-handle-make-directory-internal)
14315 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14316 The file name syntax depends on cifs capabilities.
14317 (tramp-smb-handle-file-attributes):
14318 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14319 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14320 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14322 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14324 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14325 (eieio-defclass): Apply deftype handler and setf-method properties
14327 (eieio-add-new-slot): Avoid union function from cl library.
14328 (eieio--typep): New function.
14329 (eieio-perform-slot-validation): Use it.
14331 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14333 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14334 Update documentation to refer to the variables documented in r1.135.
14337 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14339 * bookmark.el (Info-suffix-list): Remove this unused variable.
14340 (bookmark-current-point): Remove this obsolete variable.
14341 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14342 Adjust for removal of bookmark-current-point.
14344 (bookmarks-already-loaded, bookmark-current-buffer)
14345 (bookmark-yank-point): Document. (Bug#4188)
14347 2009-10-10 Glenn Morris <rgm@gnu.org>
14349 * frame.el (frame-height): Doc fix.
14351 * calendar/calendar.el (calendar-split-width-threshold): New option.
14352 (calendar-basic-setup): Use calendar-split-width-threshold.
14354 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14356 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14357 Ideographic Supplement" range (U+1F200..U+1F2FF).
14359 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14361 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14362 since the list will have been rebuilt anyway. (Bug#4349)
14364 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14366 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14367 (bookmark-bmenu-execute-deletions): Don't save here, as
14368 bookmark-delete will now do so if necessary.
14369 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14372 2009-10-09 Glenn Morris <rgm@gnu.org>
14374 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14376 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14378 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14379 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14380 argument now, so the two function's behaviors will match. (Bug#3645)
14382 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14384 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14385 (tramp-file-name-real-host, tramp-file-name-port):
14386 Apply `save-match-data'.
14388 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14389 case both directories are remote.
14390 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14391 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14393 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14395 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14397 2009-10-07 Glenn Morris <rgm@gnu.org>
14399 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14402 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14404 * files-x.el (read-file-local-variable): Include some
14405 non-user-variables in the completion table (bug#4664).
14407 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14409 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14412 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14413 (tramp-smb-file-name-handler-alist): Add handler for
14414 `copy-directory', `expand-file-name', `set-file-modes'.
14415 (tramp-smb-handle-copy-directory)
14416 (tramp-smb-handle-expand-file-name)
14417 (tramp-smb-handle-set-file-modes): New defuns.
14418 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14419 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14421 (tramp-smb-handle-insert-directory): Don't flush the cache.
14422 (tramp-smb-maybe-open-connection): Check for samba client and
14425 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14427 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14428 to not error out of search for "^lisp=" fails.
14430 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14432 * makefile.w32-in (WINS_UPDATES): New macro.
14433 (custom-deps, finder-data, autoloads): Use it.
14435 2009-10-07 Glenn Morris <rgm@gnu.org>
14437 * Makefile.in (autoloads): Revert previous change.
14438 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14439 the list of preloaded files passed on the command-line, get
14440 it from src/Makefile.
14442 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14443 show the original buffer rather than a random one.
14445 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14447 * help.el (describe-no-warranty): Place point in a slightly better
14448 position in the GPLv3 text.
14450 2009-10-06 Sam Steingold <sds@gnu.org>
14452 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14453 the comm attribute is present before calling regexp-quote.
14455 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14457 * play/animate.el (animate-string): For good effect, make sure
14458 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14460 * play/animate.el (animate-sequence, animate-birthday-present):
14461 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14463 2009-10-06 Glenn Morris <rgm@gnu.org>
14465 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14467 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14468 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14469 (batch-update-autoloads): Process a string value of autoload-excludes,
14470 set during the build process.
14471 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14473 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14474 inside with-parsed... macro so that `v' is defined.
14476 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14477 * progmodes/fortran.el (fortran-end-of-block)
14478 (fortran-beginning-of-block):
14479 Also push mark in the macro case.
14481 * emerge.el (emerge-show-file-name):
14482 * calc/calc.el (calc-quit):
14483 * calc/calc-misc.el (calc-big-or-small):
14484 * calc/calc-graph.el (calc-graph-view):
14485 * calc/calc-ext.el (calc-reset):
14486 * calendar/calendar.el (calendar-basic-setup):
14487 Use window-full-height-p.
14489 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14490 header we don't understand, don't insert another. (Bug#4624)
14491 If changing mime charset, insert the new one in the right place.
14493 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14495 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14496 (cal-tex-cursor-month): Correctly increment the end date for diary and
14497 holiday listing. (Bug#4626)
14499 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14501 * help-fns.el (describe-function-1): Don't burp if the function is not
14504 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14506 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14507 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14508 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14509 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14511 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14512 (eieio-default-superclass): Reflow docstrings.
14513 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14514 (eieio-unbind-method-implementations, defmethod)
14515 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14516 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14517 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14518 (eieio-slot-originating-class-p, eieio-slot-name-index)
14519 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14520 (constructor, initialize-instance, no-next-method, object-print)
14521 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14522 Fix typos in docstrings.
14523 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14524 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14525 (next-method-p): Doc fixes.
14526 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14527 Fix typos in error messages.
14528 (eieio-defmethod): Fix typo in description of generic method.
14530 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14531 (eieio-persistent-save-interactive, slot-missing):
14532 Fix typos in docstrings.
14533 (eieio-instance-inheritor-slot-boundp): Doc fix.
14535 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14536 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14538 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14539 (eieio-custom-object-apply-reset):
14540 Fix typos in docstrings and error messages.
14542 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14543 Fix typo in docstring.
14545 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14546 (eieio-browse-tree): Doc fix.
14547 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14548 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14549 Fix typos in docstrings.
14551 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14552 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14553 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14554 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14557 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14559 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14560 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14561 Set log-view-vc-backend so that diff can work.
14563 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14565 (vc-diff-internal): Autoload this instead of vc-version-diff.
14567 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14569 * simple.el (eval-expression): Doc fix.
14571 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14573 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14575 * files.el (directory-files-no-dot-files-regexp): New defconst.
14576 (delete-directory): Use it.
14577 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14579 * net/tramp.el (tramp-verbose): Fix docstring.
14580 (tramp-methods): Add recursive option to `tramp-copy-args'.
14581 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14582 "scp1_old", "scp2_old", "rsync", "rsyncc".
14583 (tramp-default-method): Check also for `auth-source-user-or-password'.
14584 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14585 Add handler for `copy-directory'.
14586 (tramp-handle-copy-directory): New defun.
14587 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14588 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14589 Optimize sent command.
14591 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14593 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14594 window if necessary.
14596 * calendar/calendar.el (calendar-basic-setup): Don't call
14597 switch-to-buffer in a dedicated window.
14599 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14601 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14602 don't do anything related to relocating, just return nil.
14603 (bookmark-error-no-filename): New error.
14604 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14605 bookmark has no file. Don't even attempt to handle things that
14606 are not files; the whole point of custom handlers is to keep that
14607 knowledge elsewhere anyway. Tighten some comments.
14608 (bookmark-file-or-variation-thereof): Remove now-unused function.
14609 (bookmark-location): Doc string fix.
14612 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14614 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14615 don't use a file dialog, because they usually don't know how to read
14616 a directory target from the user. (Bug#4230)
14617 Also, make sure the prompt can display directories as well as files.
14619 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14621 * bookmark.el (bookmark-set, bookmark-buffer-name):
14622 Improve doc strings. (Bug#1193)
14624 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14626 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14627 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14628 (bookmark-get-annotation, bookmark-set-annotation)
14629 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14630 (bookmark-set-position, bookmark-get-front-context-string)
14631 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14632 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14633 (bookmark-jump-other-window, bookmark-handle-bookmark)
14634 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14635 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14636 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14637 Improve doc strings to say whether bookmark can be a string or
14638 a record or both, and make other consistency and clarity fixes.
14639 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14640 (bookmark-default-annotation-text, bookmark-yank-word)
14641 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14642 (bookmark-import-new-list, bookmark-maybe-rename)
14643 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14644 (bookmark-bmenu-bookmark): Give these doc strings.
14645 (bookmark-bmenu-check-position): Give this a doc string, but also
14646 add a FIXME comment about how the function may be pointless.
14647 (bookmark-default-handler): Rework doc string and change a
14648 parameter name, to clarify that this takes a bookmark record
14649 not a bookmark name.
14650 (bookmark-set): Change a parameter name to indicate its meaning,
14651 and improve the doc string a bit.
14654 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14656 * bookmark.el (bookmark-alist): Document the new `handler' element
14657 in the param alist.
14658 (bookmark-make-record-function): Adjust documentation for above.
14661 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14663 * info.el (Info-bookmark-make-record): Document this function.
14664 (Info-bookmark-jump): Document with a doc string, not just a comment.
14667 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14669 * files.el (copy-directory): New defun.
14671 * dired-aux.el (dired-copy-file-recursive): Use it.
14673 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14675 * files-x.el (modify-dir-local-variable)
14676 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14679 * recentf.el (recentf-unload-function): New function.
14681 2009-10-04 Glenn Morris <rgm@gnu.org>
14683 * window.el (window-full-height-p): Add doc string.
14685 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14687 * window.el (window-full-height-p): New function. (Bug#4543)
14689 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14691 * vc.el: Remove commented out code.
14692 (vc-derived-from-dir-mode): Remove, unused.
14693 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14695 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14697 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14698 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14699 there could be recursive loading when `default-directory' is a
14700 remote file name. (Bug#4614)
14702 2009-10-03 Glenn Morris <rgm@gnu.org>
14704 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14706 (calendar-generate-window): Test for shrinkability rather than width.
14708 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14709 reusing existing buffers, in case we happen to visit two files with the
14710 same basename. (Bug#4593)
14712 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14714 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14715 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14716 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14717 subdirs of cedet as well.
14718 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14720 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14722 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14723 Obey advertised-signature-table.
14725 * help-fns.el (help-function-arglist): Don't check
14726 advertised-signature-table.
14727 (describe-function-1): Do it here instead so it also applies to subrs.
14729 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14731 * simple.el (start-file-process): Say in the doc-string, that file
14732 handlers might not support pty association, if PROGRAM is nil.
14734 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14735 HOST and USER are strings. They are nil, when there are
14736 incomplete entries in ~/.netrc, for example.
14737 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14738 root directory ("device busy" error otherwise).
14740 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14741 Flush file properties of created directory.
14743 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14745 * makefile.w32-in (WINS_BASIC): Remove cedet.
14746 (WINS_CEDET): Add cedet.
14747 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14749 2009-10-02 Kevin Ryde <user42@zip.com.au>
14751 * net/browse-url.el (browse-url): Pass any symbol in
14752 browse-url-browser-function to `apply', since if you've mistakenly put
14753 an unbound symbol then the error is clearer. (Bug#4531)
14755 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14757 * allout.el (allout-init, allout-back-to-current-heading)
14758 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14759 (allout-ascend, allout-up-current-level, allout-end-of-level)
14760 (allout-previous-visible-heading, allout-forward-current-level)
14761 (allout-backward-current-level, allout-show-children):
14762 * apropos.el (apropos-describe-plist):
14763 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14764 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14765 * completion.el (add-completion, add-permanent-completion):
14766 * descr-text.el (describe-text-category, describe-char):
14767 * desktop.el (desktop-lazy-abort):
14768 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14769 * dired.el (dired-build-subdir-alist):
14770 * ediff.el (ediff-version):
14771 * elide-head.el (elide-head, elide-head-show):
14772 * emerge.el (emerge-version):
14774 * face-remap.el (variable-pitch-mode):
14775 * faces.el (describe-face):
14776 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14778 * files.el (find-file-existing, auto-save-mode):
14779 * font-lock.el (font-lock-fontify-buffer):
14780 * help-fns.el (describe-function, describe-variable)
14781 (describe-syntax, describe-categories):
14782 * help.el (view-lossage, describe-bindings, describe-key)
14784 * hexl.el (hexl-current-address):
14785 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14786 * info.el (Info-goto-emacs-key-command-node):
14787 * log-edit.el (log-edit-insert-cvs-template)
14788 (log-edit-insert-cvs-rcstemplate):
14789 * menu-bar.el (menu-bar-mode):
14790 * mouse.el (mouse-appearance-menu):
14791 * newcomment.el (comment-indent-new-line):
14792 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14793 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14794 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14795 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14796 * recentf.el (recentf-mode):
14797 * savehist.el (savehist-mode, savehist-save):
14798 * shadowfile.el (shadow-copy-files):
14799 * simple.el (kill-ring-save, next-line, previous-line)
14800 (normal-erase-is-backspace-mode):
14801 * strokes.el (strokes-update-window-configuration)
14802 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14803 (strokes-xpm-for-stroke):
14804 * time.el (emacs-uptime, emacs-init-time):
14805 * tutorial.el (tutorial--describe-nonstandard-key)
14806 (tutorial--detailed-help):
14807 * type-break.el (type-break-mode)
14808 (type-break-mode-line-message-mode, type-break-query-mode)
14809 (type-break-guesstimate-keystroke-threshold):
14810 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14811 * version.el (emacs-version):
14812 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14813 * winner.el (winner-mode):
14814 * calendar/timeclock.el (timeclock-in, timeclock-out)
14815 (timeclock-status-string, timeclock-change)
14816 (timeclock-workday-remaining-string)
14817 (timeclock-workday-elapsed-string)
14818 (timeclock-when-to-leave-string):
14819 * calendar/todo-mode.el (todo-add-category):
14820 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14821 * emacs-lisp/autoload.el (update-file-autoloads):
14822 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14823 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14824 (checkdoc-message-text, checkdoc-defun):
14825 * emacs-lisp/debug.el (debugger-list-functions):
14826 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14827 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14828 (eieio-describe-generic):
14829 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14830 * emacs-lisp/shadow.el (list-load-path-shadows):
14831 * emulation/cua-base.el (cua-mode):
14832 * emulation/edt.el (edt-set-scroll-margins):
14833 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14834 (tpu-toggle-regexp, tpu-toggle-search-direction)
14835 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14836 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14837 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14838 (viper-set-parsing-style-toggling-macro)
14839 (viper-set-emacs-state-searchstyle-macros):
14840 * emulation/viper.el (viper-set-hooks):
14841 * eshell/esh-mode.el (eshell-truncate-buffer):
14842 * international/mule-cmds.el (prefer-coding-system)
14843 (describe-input-method, describe-language-environment):
14844 * international/mule-diag.el (list-character-sets)
14845 (describe-character-set, describe-coding-system)
14846 (describe-fontset, list-fontsets, list-input-methods):
14847 * mail/sendmail.el (mail-signature):
14848 * net/ange-ftp.el (ange-ftp-copy-file):
14849 * net/browse-url.el (browse-url):
14850 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14851 * net/quickurl.el (quickurl-add-url):
14852 * net/rcirc.el (names, topic):
14853 * net/xesam.el (xesam-mode):
14854 * play/5x5.el (5x5-new-game):
14855 * play/yow.el (apropos-zippy):
14856 * progmodes/ada-mode.el (ada-mode-version):
14857 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14859 (f90-beginning-of-block):
14860 * progmodes/fortran.el (fortran-end-of-block)
14861 (fortran-beginning-of-block):
14862 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14863 * progmodes/python.el (python-describe-symbol, python-shell):
14864 * term/ns-win.el (ns-print-buffer):
14865 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14866 * textmodes/flyspell.el (flyspell-mode-on):
14867 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14868 (pages-directory-for-addresses):
14869 * textmodes/table.el (table-recognize-cell)
14870 (table-query-dimension, table-generate-source)
14871 (table-insert-sequence, table--warn-incompatibility):
14872 * textmodes/tex-mode.el (tex-validate-buffer):
14873 * textmodes/texinfmt.el (texinfmt-version)
14874 (texinfo-format-buffer):
14875 Use `called-interactively-p' instead of `interactive-p'.
14877 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14879 * image-mode.el (image-toggle-display):
14880 * emacs-lisp/elp.el (elp-instrument-function):
14881 * emacs-lisp/advice.el (ad-make-advised-definition):
14882 * emacs-lisp/easy-mmode.el (define-minor-mode):
14883 * net/browse-url.el (browse-url-maybe-new-window):
14884 * progmodes/sh-script.el (sh-learn-buffer-indent):
14885 Pass new argument 'any to `called-interactively-p'.
14887 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14889 * international/uni-bidi.el:
14890 * international/uni-category.el:
14891 * international/uni-combining.el:
14892 * international/uni-comment.el:
14893 * international/uni-decimal.el:
14894 * international/uni-decomposition.el:
14895 * international/uni-digit.el:
14896 * international/uni-lowercase.el:
14897 * international/uni-mirrored.el:
14898 * international/uni-name.el:
14899 * international/uni-numeric.el:
14900 * international/uni-old-name.el:
14901 * international/uni-titlecase.el:
14902 * international/uni-uppercase.el:
14903 Regenerate from Unicode 5.2.0 data.
14905 2009-10-01 Glenn Morris <rgm@gnu.org>
14907 * Makefile.in (ELCFILES): Regenerate.
14909 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14911 * subr.el (interactive-p): Mark obsolete.
14912 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14913 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14914 advertised-signature-table for subroutines as well.
14916 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14917 (set-advertised-calling-convention): New function.
14918 (make-obsolete, define-obsolete-function-alias)
14919 (make-obsolete-variable, define-obsolete-variable-alias):
14920 Make the optional-ness of `when' obsolete.
14921 (define-obsolete-face-alias): Make `when' non-optional.
14922 * help-fns.el (help-function-arglist):
14923 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14924 Use advertised-signature-table.
14926 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14928 * files.el (delete-directory): New defun. The original function
14929 in fileio.c has been renamed to `delete-directory-internal'.
14931 * dired.el (dired-delete-file): Call `delete-directory' with
14932 RECURSIVE parameter.
14934 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14935 parameter RECURSIVE. Implementation is missing.
14937 * net/tramp.el (tramp-handle-make-directory): Flush upper
14938 directory's file properties.
14939 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14940 (tramp-handle-dired-recursive-delete-directory): Flush directory
14941 properties after the remove command only.
14943 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14944 Handle optional parameter RECURSIVE.
14946 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14947 Handle optional parameter RECURSIVE.
14949 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14950 connection timeout.
14951 (tramp-smb-handle-delete-directory): Handle optional parameter
14954 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14956 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14957 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14958 (byte-compile-defmacro): Use backquotes.
14960 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14962 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14963 has no associated file.
14964 (vc-resynch-buffer): Use vc-dir-buffers.
14966 2009-10-01 Glenn Morris <rgm@gnu.org>
14968 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14969 (chart-file-count):
14970 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14971 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14972 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14973 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14974 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14975 (eieio-copy-parents-into-subclass, make-instance, class-children)
14976 (eieio-generic-form):
14978 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14979 match-data. (Bug#4555).
14981 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14982 rather than parsing it as a regexp. This relaxes the layout
14983 requirements and makes errors easier to detect.
14984 (check-declare-verify): Check file is regular.
14985 (check-declare-directory): Doc fix.
14986 * subr.el (declare-function): Doc fix.
14988 * ibuffer.el (ibuffer-format-qualifier):
14989 * isearch.el (hi-lock-regexp-okay):
14990 * calc/calc.el (math-zerop):
14991 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14992 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14993 Remove unused declarations.
14995 2009-09-30 Eric Ludlam <zappo@gnu.org>
14997 * emacs-lisp/eieio.el (boolean-p): Delete.
14999 2009-09-30 Glenn Morris <rgm@gnu.org>
15001 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15003 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15004 filename is not a string.
15006 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15008 * files.el (safe-local-eval-forms): Fix typo.
15010 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15012 * vc-hooks.el (vc-dir-buffers): New var.
15013 (vc-state-refresh): New function.
15014 (vc-state): Use it.
15015 (vc-after-save): Always ask the backend to recompute the new state.
15016 Always call vc-dir if necessary, using vc-dir-buffers.
15017 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15018 Use vc-dir-buffers.
15019 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15020 (vc-dir-prepare-status-buffer, vc-dir-update)
15021 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15022 Don't call expand-file-name on default-directory.
15024 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15026 * speedbar.el (speedbar-item-delete):
15027 * calc/calc-prog.el (calc-kbd-if):
15028 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15030 * epa.el (epa-key-list-mode-map):
15031 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15033 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15034 (hs-show-hook): Fix typo in docstring.
15036 2009-09-29 Glenn Morris <rgm@gnu.org>
15038 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15039 file-name-nondirectory call preventing location of cedet files.
15040 (check-declare-verify): Use literal search rather than re-search.
15041 Add basic defmethod and defclass, and define-overloadable-function.
15043 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15044 Use tramp-compat-file-attributes rather than nonexistent
15045 tramp-compat-handle-file-attributes.
15047 * Makefile.in (lisptagsfiles4): New.
15048 (AUTOGENEL): Add cedet loaddefs files.
15049 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15050 (update-elclist, compile-always, backup-compiled-files)
15051 (bootstrap-clean): Add yet another directory level.
15052 (update-elclist): Use LC_COLLATE rather than COLLATE.
15053 (ELCFILES): Update, via `make update-elclist'.
15055 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15057 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15058 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15059 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15061 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15063 * Makefile.in (lisptagsfiles3): Define.
15064 (TAGS, TAGS-LISP): Use it.
15065 (update-elclist): Add third directory level to look for elc files.
15066 (compile-always): Likewise.
15067 (backup-compiled-files): Likewise.
15068 (bootstrap-clean): Likewise.
15069 (ELCFILES): Update.
15071 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15073 * Makefile.in (ELCFILES): Add CEDET files.
15075 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15077 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15079 * net/tramp.el (top): Require tramp-imap.
15081 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15082 Use `tramp-compat-handle-file-attributes'.
15084 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15086 * net/tramp-imap.el: New package.
15088 2009-09-28 Eric Ludlam <zappo@gnu.org>
15090 * emacs-lisp/chart.el:
15091 * emacs-lisp/eieio-base.el:
15092 * emacs-lisp/eieio-comp.el:
15093 * emacs-lisp/eieio-custom.el:
15094 * emacs-lisp/eieio-datadebug.el:
15095 * emacs-lisp/eieio-opt.el:
15096 * emacs-lisp/eieio-speedbar.el:
15097 * emacs-lisp/eieio.el: New files.
15099 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15101 * whitespace.el (whitespace-trailing-regexp)
15102 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15105 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15107 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15110 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15111 menu-bar-ediff-menu.
15113 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15114 define-overloadable-function.
15116 * progmodes/autoconf.el: Provide autoconf as well, so that this
15117 file can be `require'd.
15119 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15121 * emacs-lisp/autoload.el (generated-autoload-feature)
15122 (generated-autoload-load-name): New vars.
15123 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15124 (make-autoload): Recognize define-overloadable-function and
15125 defclass forms (for EIEIO).
15127 * Makefile.in (update-subdirs): Exclude cedet directory.
15129 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15131 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15133 * faces.el: Default light-background background for region face to
15134 ns_selection_color under NS.
15136 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15138 * net/imap-hash.el: New library, see NEWS.
15140 * Makefile.in (ELCFILES): Add imap-hash.el.
15142 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15144 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15145 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15146 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15147 definition where the docstring could be taken for the return value.
15149 2009-09-26 Glenn Morris <rgm@gnu.org>
15151 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15152 Add option to only show images below a certain size.
15153 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15154 save-excursion calls.
15156 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15158 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15159 subdirectories) and eieio.
15161 2009-09-26 Alan Mackenzie <acm@muc.de>
15163 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15164 Correct buggy bracketing. (Bug#4289)
15166 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15167 character constants (as case labels). (Bug#4289)
15169 2009-09-25 Juri Linkov <juri@jurta.org>
15171 * files.el (safe-local-eval-forms): Allow time-stamp in
15172 before-save-hook (Bug#4554).
15174 2009-09-25 Drew Adams <drew.adams@oracle.com>
15176 * menu-bar.el (list-buffers-directory): Doc fix.
15178 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15181 Try and avoid copying twice the same paragraph.
15182 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15183 Remove save-excursion.
15184 (log-edit-changelog-entry): Do it here instead.
15186 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15188 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15189 when available, instead of hardcoding mode names. Doc fix.
15191 * menu-bar.el (list-buffers-directory): Add docstring.
15192 Make automatically buffer-local.
15194 * dired.el (dired-mode):
15195 * files.el (cd-absolute):
15196 * pcvs.el (cvs-temp-buffer):
15197 * pcvs-util.el (cvs-get-buffer-create):
15198 * shell.el (shell-mode):
15199 * vc-dir.el (vc-dir-mode):
15200 Don't make `list-buffers-directory' buffer local.
15202 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15204 * comint.el (comint-exec, comint-run, make-comint):
15205 Doc fixes (Bug#4542).
15207 2009-09-25 Glenn Morris <rgm@gnu.org>
15209 * mail/rmailmm.el (rmail-mime): New custom group.
15210 Move all defcustoms in this file into this group.
15211 (rmail-mime-media-type-handlers-alist): Revert previous change.
15212 (rmail-mime-show-images): New option.
15213 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15214 references to it, since it wasn't actually used for anything.
15215 (rmail-mime-insert-image): New function.
15216 (rmail-mime-image): Use rmail-mime-insert-image.
15217 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15218 obey the value of `rmail-mime-show-images' option. Print the size of
15221 2009-09-25 David Engster <deng@randomsample.de>
15223 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15225 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15227 * whitespace.el: Does not highlight trailing spaces While point is
15228 at end of line. Does not highligt spaces at beginning of buffer
15229 while point is at beginning of buffer. Does not highlight spaces
15230 at end of buffer while point is at end of buffer. (Bug#4177)
15232 (whitespace-display-mappings): Adjust initialization.
15233 (whitespace-point, whitespace-font-lock-refontify): New vars.
15234 (whitespace-color-on, whitespace-color-off): Adjust code.
15235 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15236 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15237 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15239 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15241 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15243 * textmodes/sgml-mode.el: Remove xml-mode alias.
15245 * files.el (auto-mode-alist, conf-mode-maybe)
15246 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15248 2009-09-24 Alan Mackenzie <acm@muc.de>
15250 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15251 c-forward-conditionals, but it doesn't move point and doesn't set
15253 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15254 (c-down-conditional-with-else, c-backward-conditional)
15255 (c-forward-conditional): Refactor to use c-scan-conditionals.
15257 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15259 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15260 (help-default-arg-highlight): Remove.
15261 (help-highlight-arg): New function.
15262 (help-do-arg-highlight): Use it.
15263 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15265 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15267 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15268 Undo last change, which didn't fix the problem and introduced others.
15270 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15272 * progmodes/gdb-mi.el: Don't require speedbar.
15273 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15275 2009-09-24 Glenn Morris <rgm@gnu.org>
15277 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15279 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15281 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15282 there is no newline after the final mime boundary. (Bug#4539)
15283 Move markers on insertion so that any buttons inserted don't end up in
15284 the next part of a multipart message.
15285 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15286 (rmail-mime-bulk-handler): Optionally handle images.
15287 (rmail-mime-image): New button action.
15288 (rmail-mime-image-handler): New function.
15289 (rmail-mime-mode): New mode.
15290 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15292 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15294 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15295 than just dropping elements from it (bug#4504).
15297 * term.el (term-set-scroll-region): Don't move cursor any more.
15298 (term-handle-ansi-escape): Call term-goto here instead.
15299 Suggested by Ivan Kanis <apple@kanis.eu>.
15301 * term.el: Require CL.
15302 (term-ansi-reset): New function.
15303 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15304 (term-handle-colors-array): Simplify.
15306 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15308 * allout.el (allout-overlay-interior-modification-handler)
15309 (allout-obtain-passphrase):
15310 * epa-file.el (epa-file-write-region):
15311 * ps-print.el (ps-begin-job):
15312 * vc-hooks.el (vc-toggle-read-only):
15313 * vc-rcs.el (vc-rcs-rollback):
15314 * vc-sccs.el (vc-sccs-rollback):
15315 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15316 (vc-version-diff, vc-revert, vc-rollback):
15317 * wdired.el (wdired-check-kill-buffer):
15318 * emacs-lisp/authors.el (authors):
15319 * net/socks.el (socks-open-connection):
15320 * net/zeroconf.el (zeroconf-service-add-hook):
15321 * obsolete/vc-mcvs.el (vc-mcvs-register):
15322 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15323 (gdb-select-frame):
15324 * progmodes/grep.el (lgrep, rgrep):
15325 * progmodes/idlw-help.el (idlwave-help-check-locations)
15326 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15327 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15328 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15329 (reftex-toc-rename-label): Fix typos in error messages.
15331 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15332 (dired-copy-how-to-fn): Doc fix.
15333 (dired-files-attributes, dired-read-shell-command):
15334 Fix typos in docstrings.
15336 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15337 (dired-x-find-file-other-window): Reflow docstrings.
15338 (dired-omit-marker-char, dired-read-shell-command)
15339 (dired-x-submit-report): Fix typos in docstrings.
15341 * shell.el (shell-mode-hook):
15342 * view.el (View-scroll-line-forward):
15343 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15344 Fix typos in docstrings.
15346 * net/dig.el (dig-invoke): Fix typo in docstring.
15347 (query-dig): Reflow docstring.
15349 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15350 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15351 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15352 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15353 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15354 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15355 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15356 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15357 (idlwave-completion-map, idlwave-current-indent)
15358 (idlwave-custom-ampersand-surround, idlwave-customize)
15359 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15360 (idlwave-define-abbrev, idlwave-determine-class-special)
15361 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15362 (idlwave-end-block-reg, idlwave-end-of-statement)
15363 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15364 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15365 (idlwave-explicit-class-listed, idlwave-file-header)
15366 (idlwave-fill-paragraph, idlwave-find-class-definition)
15367 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15368 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15369 (idlwave-in-quote, idlwave-indent-action-table)
15370 (idlwave-indent-expand-table, idlwave-indent-line)
15371 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15372 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15373 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15374 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15375 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15376 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15377 (idlwave-outlawed-buffers, idlwave-popup-select)
15378 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15379 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15380 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15381 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15382 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15383 (idlwave-statement-type, idlwave-struct-skip)
15384 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15385 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15386 (idlwave-what-module-find-class): Fix typos in docstrings.
15387 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15388 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15389 (idlwave-find-module, idlwave-find-structure-definition)
15390 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15391 (idlwave-list-load-path-shadows, idlwave-next-statement)
15392 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15393 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15394 (idlwave-template): Reflow docstrings.
15396 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15397 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15398 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15399 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15400 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15401 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15402 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15403 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15404 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15405 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15406 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15407 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15408 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15409 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15410 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15411 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15412 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15413 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15414 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15415 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15416 Fix typos in docstrings.
15417 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15418 (idlwave-shell-hide-output, idlwave-shell-mode)
15419 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15422 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15424 2009-09-24 Ivan Kanis <apple@kanis.eu>
15426 * term.el (term-bold-attribute): New var.
15427 (term-handle-colors-array): Use it.
15429 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15431 * progmodes/gdb-mi.el (gdb-version): New variable.
15432 (gdb-non-stop-handler): Set gdb-version.
15433 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15434 Condition "--thread" option on gdb-version.
15435 (gdb-invalidate-threads): Remove unused argument.
15437 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15439 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15440 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15442 2009-09-23 Glenn Morris <rgm@gnu.org>
15444 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15445 replying to mail without References or Message-Id. (Bug#4525)
15447 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15449 * term/ns-win.el (ns-reg-to-script): New variable.
15451 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15453 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15455 2009-09-22 Sam Steingold <sds@gnu.org>
15457 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15458 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15459 to 1 because hg returns status 1 when nothing is found.
15460 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15462 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15464 * textmodes/fill.el: Convert to utf-8 encoding.
15465 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15468 * add-log.el (change-log-fill-forward-paragraph): New function.
15469 (change-log-mode): Use it so fill-region DTRT.
15470 Set fill-indent-according-to-mode here rather than in
15471 change-log-fill-paragraph.
15472 (change-log-fill-paragraph): Remove.
15474 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15476 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15477 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15479 2009-09-22 Glenn Morris <rgm@gnu.org>
15481 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15482 the scroll-bar scroll the calendar window rather than the buffer.
15484 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15485 commands that move point (as opposed to scrolling).
15487 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15489 * emacs-lisp/elint.el (elint): New custom group.
15490 (elint-log-buffer): Make it a defcustom.
15491 (elint-scan-preloaded, elint-ignored-warnings)
15492 (elint-directory-skip-re): New options.
15493 (elint-builtin-variables): Doc fix.
15494 (elint-preloaded-env): New variable.
15495 (elint-unknown-builtin-args): Add an entry for encode-time.
15496 (elint-extra-errors): Make it a variable rather than a constant.
15497 (elint-preloaded-skip-re): New constant.
15498 (elint-directory): Skip files matching elint-directory-skip-re.
15499 (elint-features): New variable, local to linted buffers.
15500 (elint-update-env): Initialize elint-features. Possibly add
15501 elint-preloaded-env to the buffer's environment.
15502 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15504 (elint-init-form): New function, extracted from elint-init-env.
15505 Make non-list forms a warning rather than an error.
15506 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15507 easy-menu-define, put that adds an error-condition, and provide.
15508 When requiring cl, also require cl-macs. Really require cl, to handle
15509 some cl macros. Store required libraries in the list elint-features,
15510 so as not to re-load them. Treat cc-require like require.
15511 (elint-init-env): Call elint-init-form to do the work.
15512 Handle eval-and-compile and such like.
15513 (elint-add-required-env): Do not clear messages.
15514 (elint-special-forms): Add handlers for function, defalias, if, when,
15516 (elint-form): Add optional argument to ignore elint-special-forms,
15517 useful to prevent recursive calls from handlers. Doc fix.
15518 Respect elint-ignored-warnings.
15519 (elint-form): Respect elint-ignored-warnings.
15520 (elint-bound-variable, elint-bound-function): New variables.
15521 (elint-unbound-variable): Respect elint-bound-variable.
15522 (elint-get-args): Respect elint-bound-function.
15523 (elint-check-cond-form): Add some simple handling for (f)boundp and
15525 (elint-check-defalias-form): New handler.
15526 (elint-check-let-form): Make an empty let a warning rather than an
15528 (elint-check-setq-form): Make an empty setq a warning rather than an
15529 error. Respect elint-ignored-warnings.
15530 (elint-check-defvar-form): Accept null doc-strings.
15531 (elint-check-conditional-form): New handler. Does some simple-minded
15532 checking of featurep and (f)boundp tests.
15533 (elint-put-function-args): New function.
15534 (elint-initialize): Use elint-scan-doc-file rather than
15535 elint-find-builtin-variables. Use elint-put-function-args.
15536 Possibly scan preloaded-file-list.
15537 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15538 extend to handle functions as well.
15540 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15542 * linum.el (linum-delete-overlays, linum-update-window):
15543 Do not modify the right margin. (Bug#3971)
15545 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15547 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15548 Use nxml-mode instead of xml-mode.
15550 2009-09-21 Kevin Ryde <user42@zip.com.au>
15552 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15554 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15556 * net/dig.el (dig-mode): Use define-derived-mode.
15558 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15560 * vc-dispatcher.el (vc-do-command): Return the process object in
15561 the asynchronous case. Use when instead of if. Do not run
15562 vc-exec-after to display a message if not enabled. (Bug#4463)
15564 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15565 properties to the stash strings.
15566 (vc-git-stash-list): Return a list of strings.
15567 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15568 (vc-git-stash-show-at-point): New functions.
15569 (vc-git-stash-map): New keymap.
15571 * register.el (ctl-x-r-map): Define the keys here instead of
15574 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15576 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15577 list, to workaround performance problem (bug#4485).
15579 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15581 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15583 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15585 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15586 Document that this option is not recommended to use.
15588 2009-09-19 Glenn Morris <rgm@gnu.org>
15590 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15593 * calc/calc-alg.el (var):
15594 * calc/calcalg2.el (var): Define for compiler.
15596 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15598 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15599 Doc fix (Bug#3932).
15601 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15603 * time-stamp.el (time-stamp-month-dd-yyyy)
15604 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15605 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15606 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15607 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15608 Remove functions that have been obsolete since 1995 (Bug#4436).
15610 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15611 indent buffer only if called interactively (Bug#4452).
15613 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15614 Eli Zaretskii <eliz@gnu.org>
15616 This fixes bug#4197 (merged to bug#865, though not identical).
15617 * server.el (server-auth-dir): Add docstring note about FAT32.
15618 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15619 but warn against using them.
15621 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15623 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15624 older GDB where there is no has_more field.
15626 2009-09-19 Glenn Morris <rgm@gnu.org>
15628 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15630 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15632 * files.el (auto-mode-alist): Change default for XML files to nXML
15635 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15637 * server.el (server-ensure-safe-dir): Pass 'integer
15638 to `file-attributes', as suggested.
15640 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15642 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15643 (dired-query): Use read-key.
15645 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15647 * cus-start.el (ns-use-qd-smoothing): Remove.
15649 2009-09-18 Glenn Morris <rgm@gnu.org>
15651 * allout.el (top-level): Remove unnecessary progn.
15653 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15655 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15656 definition of abbrev table.
15658 * speedbar.el (speedbar-track-mouse):
15659 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15660 * net/eudc.el (eudc-expand-inline):
15661 * net/newst-backend.el (newsticker--cache-read-feed):
15662 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15663 condition-case handlers.
15665 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15667 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15668 (gdb-var-list): Add an element for has_more field.
15669 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15670 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15671 (gdb-var-update-handler-1): Parse output of dynamic variable
15672 objects (STL containers).
15673 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15674 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15676 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15678 (gud-speedbar-buttons): Make node expandable if expression "has more"
15681 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15683 * startup.el (emacs-quick-startup): Remove variable and all uses.
15684 (command-line): Set `inhibit-x-resources' instead.
15685 (command-line-1): Use `inhibit-x-resources' instead.
15687 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15689 * subr.el: Fix last change to avoid using the `unless' macro,
15690 which breaks bootstrapping.
15692 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15694 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15695 extended definitions, in case we reload subr.el after having
15697 (eval-next-after-load): Mark as obsolete.
15699 2009-09-17 Juri Linkov <juri@jurta.org>
15701 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15702 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15703 (menu-bar-showhide-menu, menu-bar-tools-menu)
15704 (menu-bar-describe-menu, menu-bar-help-menu)
15705 (minibuffer-local-completion-map, minibuffer-local-map):
15708 2009-09-17 Glenn Morris <rgm@gnu.org>
15710 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15711 arguments, whether or not it has a handler.
15713 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15715 * simple.el (hard-newline): Give it a doc-string.
15717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15718 (lisp-mode-syntax-table): Give them doc-strings.
15720 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15722 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15723 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15724 (menu-bar-options-menu, menu-bar-showhide-menu)
15725 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15726 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15727 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15728 (menu-bar-options-menu, menu-bar-tools-menu)
15729 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15730 (menu-bar-help-menu):
15731 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15734 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15735 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15736 calls for the menu names and :help.
15738 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15740 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15741 to :minor-mode-function (bug#4455).
15743 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * startup.el (command-line): Initialize the window-system after
15746 processing the command-line.
15748 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15749 page-delimiter matches the empty string.
15751 2009-09-16 Glenn Morris <rgm@gnu.org>
15753 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15754 byte-compile-not-obsolete-var. It's a list now.
15755 (byte-compile-not-obsolete-funcs): New variable.
15756 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15757 byte-compile-not-obsolete-funcs.
15758 (byte-compile-variable-ref, byte-compile-defvar): Update for
15759 byte-compile-not-obsolete-vars name-change and list nature.
15760 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15761 and variables behind (f)boundp tests.
15762 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15764 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15766 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15768 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15771 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15774 2009-09-15 Stephen Eglen <stephen@gnu.org>
15776 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15777 the virtual-buffers, use the name of the buffer specified by
15778 find-file-noselect, as the match may be a symlink. (This was a
15779 problem if the target and the symlink had different names.)
15781 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15783 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15785 * desktop.el (desktop-path): Check user-emacs-directory.
15787 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15789 * loadup.el: Use after-load-functions to GC after loading each file.
15790 Remove the explicit GC calls that used to be sprinkled around.
15792 * subr.el (after-load-functions): New hook.
15793 (do-after-load-evaluation): Run it. Use string-match-p to detect
15794 `obsolete' packages, rather than painfully extracting the relevant
15797 2009-09-15 Glenn Morris <rgm@gnu.org>
15799 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15800 free variable `doc'.
15802 * dired.el (dired-mode-map): Add menu entry for async shell command.
15804 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15805 variables, also consider the .elc files, since the .el files are
15806 normally gzipped (subsequent code locates the .el.gz from the .elc).
15808 * calc/calc-prog.el (arglist): Define for compiler.
15810 * calendar/diary-lib.el (diary-display-function): Change the default to
15812 (body): Define for compiler.
15814 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15815 (byte-compile-file-form, byte-compile-lambda)
15816 (byte-compile-top-level-body, byte-compile-form)
15817 (byte-compile-variable-ref, byte-compile-setq)
15818 (byte-compile-setq-default, byte-compile-body)
15819 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15820 (batch-byte-compile): Give some more local variables with common names
15821 a "bytecomp-" prefix to avoid masking warnings about free variables.
15823 * startup.el (command-line-1): Give local variables with common names a
15824 distinguishing prefix, so as not to hide free variable warnings during
15827 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15828 clever and add a suffix to make a unique name, just let the user decide
15829 whether or not to overwrite it. If the input is a directory, write the
15830 default filename to that directory. (Bug#4388)
15831 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15832 is a filename-as-a-directory.
15834 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * textmodes/page.el (what-page): Don't move to beginning of line.
15837 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15839 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15841 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15843 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15845 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15846 * help.el (help-for-help-internal): Add purecopy calls for text.
15848 * vc.el (top): print-log method now takes an optional SHORTLOG
15849 argument. Add a new method: root.
15850 (vc-root-diff, vc-print-root-log): New functions.
15851 (vc-log-short-style): New variable.
15852 (vc-print-log-internal): Add support for showing short logs.
15854 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15855 vc-print-root-log and vc-print-root-diff.
15857 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15858 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15859 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15862 * vc-cvs.el (vc-cvs-print-log):
15863 * vc-mtn.el (vc-mtn-print-log):
15864 * vc-rcs.el (vc-rcs-print-log):
15865 * vc-sccs.el (vc-sccs-print-log):
15866 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15867 that is ignored for now.
15869 * vc-mtn.el (vc-mtn-annotate-command):
15870 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15872 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15875 to function-key-map, and give them ascii-character property.
15876 * term/x-win.el (x-alternatives-map):
15877 * term/ns-win.el (ns-alternatives-map):
15878 * term/internal.el (msdos-key-remapping-map):
15879 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15881 2009-09-14 Glenn Morris <rgm@gnu.org>
15883 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15884 temp-buffers (2009-09-12).
15886 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15888 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15889 the new read-key function.
15891 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15893 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15894 is defined (Bug#4405).
15896 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15898 * recentf.el (recentf-cleanup): Use a hash table to find
15899 duplicates (Bug#4407).
15901 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15903 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15904 kp-0 to ascii equivalents (Bug#4325).
15906 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15908 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15910 * eshell/em-hist.el:
15911 * eshell/em-dirs.el (eshell-complete-user-reference):
15912 Declare pcomplete functions and variables to avoid compiler warnings.
15914 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15916 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15917 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15918 * eshell/em-alias.el (eshell-aliases-file):
15919 * eshell/em-hist.el (eshell-history-file-name):
15920 Use expand-file-name instead of concat to make file names (Bug#4308).
15922 2009-09-13 Glenn Morris <rgm@gnu.org>
15924 * ediff-merg.el (ediff-do-merge):
15925 * filesets.el (filesets-run-cmd):
15926 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15927 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15928 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15929 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15930 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15931 Replace empty `let's with `progn'.
15933 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15935 * mail/sendmail.el (send-mail-function):
15936 * tooltip.el (tooltip-mode):
15937 * simple.el (transient-mark-mode):
15938 * rfn-eshadow.el (file-name-shadow-mode):
15939 * frame.el (blink-cursor-mode):
15940 * font-core.el (global-font-lock-mode):
15941 * files.el (temporary-file-directory)
15942 (small-temporary-file-directory, auto-save-file-name-transforms):
15943 * epa-hook.el (auto-encryption-mode):
15944 * composite.el (global-auto-composition-mode):
15945 Use custom-initialize-delay.
15946 * startup.el (command-line): Don't explicitly call
15947 custom-reevaluate-setting for all the above vars.
15948 * custom.el (custom-initialize-safe-set)
15949 (custom-initialize-safe-default): Delete.
15951 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * term/x-win.el (x-initialize-window-system):
15954 * term/w32-win.el (w32-initialize-window-system):
15955 * term/ns-win.el (ns-initialize-window-system): Don't call
15956 mouse-wheel-mode since it's enabled globally by default already.
15958 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15959 actually define the variable, but only silences the byte-compiler.
15960 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15961 before looking it up.
15962 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15965 2009-09-12 Glenn Morris <rgm@gnu.org>
15967 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15969 (elint-add-required-env): Don't beep on error.
15970 (elint-forms): In case of error, return ENV unchanged.
15971 (elint-init-env): Skip non-list forms.
15972 (elint-log): Handle unknown file positions.
15974 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15976 * epg.el (epg-make-context): Add autoload cookie.
15977 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15978 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15979 (epg-verify-string, epg-start-sign, epg-sign-file)
15980 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15981 (epg-encrypt-string, epg-start-export-keys)
15982 (epg-export-keys-to-file, epg-export-keys-to-string)
15983 (epg-start-import-keys, epg-import-keys-from-file)
15984 (epg-import-keys-from-string, epg-start-receive-keys)
15985 (epg-receive-keys, epg-import-keys-from-server)
15986 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15987 (epg-sign-keys, epg-start-generate-key)
15988 (epg-generate-key-from-file, epg-generate-key-from-string):
15989 Remove autoload cookie.
15991 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15993 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15994 reevaluation of trash-directory.
15996 * mwheel.el: Fix last change.
15997 (mouse-wheel-mode): New defvar.
15998 (mouse-wheel-mode): Remove autoload cookie.
16000 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16002 * mwheel.el (mwheel-installed-bindings): New var.
16003 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16004 the bindings we set last time. Use custom-initialize-delay.
16005 * loadup.el: Load mwheel after term/*-win.el.
16006 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16007 and mouse-wheel-up-event now that their first evaluation is done
16008 sufficiently late to be correct.
16010 * startup.el (tutorial-directory): Make it a defcustom.
16011 Use custom-initialize-delay rather than eval-at-startup to set it.
16012 * image.el (image-load-path): Make it a defcustom.
16013 Use custom-initialize-delay rather than eval-at-startup to set it.
16014 * subr.el (eval-at-startup): Remove.
16015 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16017 * subr.el (do-after-load-evaluation): Warn the user after loading an
16020 2009-09-12 Glenn Morris <rgm@gnu.org>
16022 * proced.el (proced-mark-alt): Remove alias.
16023 (proced-mode-map): Remove proced-mark-alt.
16025 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16026 Elint file and directory. Remove initialization entry.
16028 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16030 (elint-current-buffer): Set mode-line-process.
16031 (elint-init-env): Handle define-derived-mode.
16032 Fix declare-function with unspecified arglist. Guard against odd
16033 defalias statements (eg iso-insert's 8859-1-map).
16034 (elint-add-required-env): Use a temp buffer.
16035 (elint-form): Just print the function/macro name, not the whole form.
16036 Return env unchanged if we fail to parse a macro.
16037 (elint-forms): Guard against parse errors.
16038 (elint-output): New function, to handle batch mode.
16039 (elint-log-message): Add optional argument. Use elint-output.
16040 (elint-set-mode-line): New function.
16042 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16044 * emacs-lisp/elp.el (elp-not-profilable): Add more
16045 functions (Bug#4233).
16047 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16049 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16050 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16052 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16054 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16055 (gdb-var-list-children): Use json parsing.
16057 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16059 * progmodes/js.el (js--proper-indentation): Handle the case where
16060 char-before is null. Reported by Deniz Dogan.
16062 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16064 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16066 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16068 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16069 (epg-digest-algorithm-alist): Add SHA224.
16070 (epg-context-set-passphrase-callback)
16071 (epg-context-set-progress-callback): Add description about
16074 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * custom.el (custom-delayed-init-variables): New var.
16077 (custom-initialize-delay): New function.
16078 * startup.el (command-line): "Re"evaluate all vars in
16079 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16080 explicitly any more.
16081 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16082 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16084 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16086 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16088 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16089 (gdb-var-update-handler): Use json parsing.
16091 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16093 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16094 decode annotated text, regardless of language environment. (Bug#2741)
16096 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * Makefile.in (autoloads): Make rmail.el writable as well.
16100 2009-09-11 Glenn Morris <rgm@gnu.org>
16102 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16104 * dired.el: Regenerate with extracted autoloads.
16105 * Makefile.in (autoloads): Make dired.el writable.
16107 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16108 * ibuffer.el: Regenerate with extracted autoloads.
16109 * Makefile.in (autoloads): Make ibuffer.el writable.
16111 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16112 * version.el (emacs-copyright, emacs-major-version)
16113 (emacs-minor-version): Reformat doc-strings for make-docfile.
16115 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16116 functions and variables, since they must be stuff specific to some other
16118 (apropos-print): Make mouse-click message less specific about button.
16120 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16121 that records where a macro was defined.
16122 * help-fns.el (describe-function-1): Mention if a function has a
16124 * help-mode.el (help-function-cmacro): New button.
16126 * locate.el (top-level): Always require dired.
16127 (locate-mode-map): Initialize inside the defvar.
16129 * net/ange-ftp.el (dired-compress-file): Declare.
16130 (ange-ftp-dired-compress-file): Add doc string.
16132 * term/ns-win.el (x-display-name, x-setup-function-keys):
16133 Unify doc-strings with X versions.
16135 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * emulation/crisp.el (crisp-mode-map): Move initialization
16139 (crisp-mode): Use define-minor-mode.
16141 * progmodes/xscheme.el (xscheme-evaluation-commands):
16142 Put a :advertised-binding property rather than using
16143 advertised-xscheme-send-previous-expression.
16144 (advertised-xscheme-send-previous-expression): Declare obsolete.
16145 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16147 (crisp-mode): Add corresponding bindings to
16148 undo's :advertised-binding instead.
16149 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16150 than using dired-advertised-find-file.
16151 (dired-advertised-find-file):
16152 * simple.el (advertised-undo):
16153 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16154 (widget-keymap): Put a :advertised-binding property rather
16155 than using advertised-widget-backward.
16156 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16157 than using advertised-undo.
16158 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16160 2009-09-10 Simon South <ssouth@slowcomputing.org>
16162 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16163 Mark mode is enabled and region is active; otherwise indent or
16164 insert TAB as usual.
16165 (delphi-mode): Update description of TAB-key binding.
16167 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16169 * subr.el (define-key-rebound-commands): Mark obsolete.
16170 * startup.el (precompute-menubar-bindings): Remove.
16171 (normal-top-level): Remove obsolete code that tried to precompute
16173 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16174 define-key-rebound-commands and precompute-menubar-bindings.
16176 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16178 * net/imap.el (imap-interactive-login): Better messages.
16179 (imap-open): Fix bug with renamed buffer on reconnect.
16180 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16181 for easier debugging and cleaner code. On successful (guessed based on
16182 server capabilities) secondary authentication, set imap-state
16184 (imap-last-authenticator): Define imap-last-authenticator as a variable
16187 2009-09-10 Glenn Morris <rgm@gnu.org>
16189 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16191 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16192 (byte-compile-file-form-autoload): Don't warn about unknown functions
16193 where the autoload statement comes after the use.
16194 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16195 that any handlers inside the body (eg require) are in turn respected.
16197 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16200 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16201 and syntax and abbrev tables basic docs, if they don't have any.
16203 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16205 * international/mule-cmds.el (top-level): Require cl when compiling.
16206 (view-hello-file): Use default-value rather than
16207 default-enable-multibyte-characters.
16209 * progmodes/fortran.el: Move all safe and risky properties into the
16212 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16213 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16214 * mail/undigest.el:
16215 Put autoloads in rmail.el rather than loaddefs.el.
16216 * mail/rmail.el: Regenerate with extracted autoloads.
16218 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16219 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16221 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16223 Reported in thread for Bug#4375.
16224 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16225 "-data-evaluate-expression" instead of print.
16226 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16227 (gdb-tooltip-print): Parse output from above MI command.
16228 (gdb): Revert 2009-08-11 change. User should detach inferior
16231 Remove the word "separate" from IO functions as inferior
16232 output is now never displayed in the GUD buffer.
16234 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16236 * startup.el (command-line-normalize-file-name): On Windows and
16237 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16239 2009-09-10 Juri Linkov <juri@jurta.org>
16241 * isearch.el (isearch-text-char-description): Propertize escape
16242 character sequences with the `escape-glyph' face. (Bug#4344)
16244 * simple.el (shell-command): Set asynchronous process filter to
16245 `comint-output-filter'. (Bug#4343)
16247 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16248 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16249 the list. Move "asm" to the bottom.
16250 (grep-find-ignored-directories): Add `choice' with nil value
16251 to empty the list easily.
16252 (grep-find-ignored-files): New option.
16253 (grep-files-history): Set to nil by default instead of '("ch" "el").
16254 (grep-compute-defaults): Add "<X>" to `grep-template'.
16255 (grep-read-files): Bind new local variables `default-alias' and
16256 `default-extension'. Use a list of default values for the file prompt.
16257 (lgrep): Add `--exclude=' command line options composed from
16258 `grep-find-ignored-files'.
16259 (rgrep): Add `-name' command line options composed from
16260 `grep-find-ignored-files'. (Bug#4301)
16262 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16264 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16267 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16269 * calendar/time-date.el (autoload):
16270 Expand define-obsolete-function-alias into defalias and make-obsolete
16271 for old Emacsen that Gnus supports.
16272 (with-no-warnings): Define it for old Emacsen.
16273 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16275 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16276 float-time is available; suppress compile warning for time-to-seconds.
16278 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16280 * net/imap.el (imap-message-map): Docstring fix.
16282 2009-09-09 Glenn Morris <rgm@gnu.org>
16284 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16285 line numbers too. (Bug#4374)
16287 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16289 * smerge-mode.el (smerge-remove-props, smerge-refine):
16290 Use with-silent-modifications (bug#4342).
16292 * subr.el (with-silent-modifications): New macro.
16294 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16296 * files.el (top-level): Require `cl' when compiling.
16298 2009-09-07 Glenn Morris <rgm@gnu.org>
16300 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16302 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16303 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16305 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16307 * vc-git.el (vc-git-annotate-command): Use separator to parse
16308 arguments correctly.
16310 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16312 * proced.el (proced-mode): Doc fix.
16314 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16316 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16318 (tramp-do-file-attributes-with-ls): Check for file existence at
16320 (tramp-do-file-attributes-with-stat): Likewise.
16321 (tramp-convert-file-attributes): Return nil when attr is nil.
16323 2009-09-05 Glenn Morris <rgm@gnu.org>
16325 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16326 properties to this button.
16327 (diary-fancy-display): Don't extend the button to the final newline.
16328 (diary-fancy-display-mode): Continue to define "q" as a local key.
16330 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16333 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16335 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16336 (byte-compile-dest-file-function): New option.
16337 (byte-compile-dest-file): Doc fix.
16338 Obey byte-compile-dest-file-function.
16339 (byte-compile-cl-file-p): New function.
16340 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16341 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16342 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16343 than for file being previously loaded.
16344 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16345 (byte-compile-file-form-require): Handle the case where requiring a file
16346 indirectly causes CL to be loaded.
16348 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16350 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16351 before killing the old buffer, since by the time `kill-buffer' is
16352 run so many buffer variables have been set to nil that it may not
16353 behave as expected. (Bug#4061)
16355 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16357 * files.el (find-alternate-file): If the old buffer is modified
16358 and visiting a file, behave similarly to `kill-buffer' when
16359 killing it, thus reverting to the pre-1.878 behavior; see
16360 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16361 for discussion. Also, consult `buffer-file-name' as a variable
16362 not as a function, for consistency with the rest of the code.
16364 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16366 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16367 also when adding a new directory.
16369 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16372 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * files.el (locate-file-completion-table): Make it provide boundary
16375 information, so partial-completion works better.
16377 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16379 * mail/footnote.el (Footnote-text-under-cursor):
16380 Check footnote-text-marker-alist before using it (bug#4324).
16382 2009-09-04 Glenn Morris <rgm@gnu.org>
16384 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16385 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16386 * play/solitaire.el, play/tetris.el:
16387 Remove leading * from defcustom and defface docs.
16389 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16391 (diary-fancy-overriding-map): New variable.
16392 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16395 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16398 2009-09-03 Glenn Morris <rgm@gnu.org>
16400 * arc-mode.el (archive-mode):
16401 * dos-fns.el (set-default-process-coding-system):
16402 * man.el (Man-getpage-in-background):
16403 * menu-bar.el (menu-bar-describe-menu):
16404 * server.el (server-process-filter):
16405 * startup.el (command-line):
16406 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16407 * w32-fns.el (set-default-process-coding-system):
16408 * x-dnd.el (x-dnd-handle-file-name):
16409 * international/mule-cmds.el (mule-menu-keymap)
16410 (set-default-coding-systems, language-info-alist, set-language-info)
16411 (set-language-environment, standard-display-european-internal)
16412 (set-locale-environment):
16413 * international/mule-diag.el (mule-diag):
16414 * mail/emacsbug.el (report-emacs-bug):
16415 * mail/rmail.el (rmail-mode):
16416 * mail/sendmail.el (mail-setup):
16417 Use default-value rather than default-enable-multibyte-characters.
16419 * progmodes/f90.el: Move all safe properties into the defcustoms.
16420 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16422 * calendar/appt.el (appt-check):
16423 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16424 (diary-check-diary-file, diary-list-entries)
16425 (diary-include-other-diary-files, diary-simple-display)
16426 (diary-fancy-display, diary-print-entries)
16427 (diary-mark-included-diary-files, diary-make-entry):
16428 Don't call substitute-in-file-name on diary-file.
16430 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16431 Stefan Monnier <monnier@iro.umontreal.ca>
16433 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16434 (footnote-mode-map): Move initialization into the declaration.
16435 (footnote-minor-mode-map): Define it rather than changing global-map.
16436 (footnote-mode): Use define-minor-mode.
16438 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16440 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16441 (tramp-do-file-attributes-with-perl)
16442 (tramp-do-file-attributes-with-stat): Rename from
16443 `tramp-handle-file-attributes-with-*'.
16444 (tramp-handle-file-attributes): Use them.
16445 (tramp-do-directory-files-and-attributes-with-perl)
16446 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16447 `tramp-handle-directory-files-and-attributes-with-*'.
16448 (tramp-handle-directory-files-and-attributes): Use them.
16449 (tramp-method-out-of-band-p): Additional parameter SIZE.
16450 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16451 (tramp-handle-write-region): Use it.
16452 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16453 (tramp-handle-vc-registered): Check, whether the first run did
16454 return files to be tested.
16455 (tramp-advice-make-auto-save-file-name): Do not call directly
16456 `tramp-handle-make-auto-save-file-name', because this would bypass
16457 the locking mechanism.
16459 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16460 (file-remote-p, process-file, start-file-process, set-file-times)
16461 (tramp-compat-file-attributes): Compatibility functions shall not
16462 call directly `tramp-handle-*', because this would bypass the
16464 (tramp-compat-number-sequence): New defun.
16466 2009-09-02 Glenn Morris <rgm@gnu.org>
16468 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16469 alias for float-time.
16470 (time-to-number-of-days): In Emacs, use float-time.
16471 * net/newst-backend.el (time-add): Suppress warnings from compat
16473 * time.el (emacs-uptime, emacs-init-time):
16474 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16475 Use float-time rather than time-to-seconds.
16477 * minibuffer.el (completion-initials-expand): Fix typo.
16479 * faces.el (modeline, modeline-inactive, modeline-highlight)
16480 (modeline-buffer-id):
16481 * info.el (info-menu-5): Mark these face aliases as obsolete.
16483 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16485 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16487 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16488 no "--thread" option.
16489 (gdb-stopped): Don't print "Switched to thread" message when it is
16492 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * minibuffer.el (completion-try-completion)
16495 (completion-all-completions): Remove ill-defined (and
16496 mistakenly installed and luckily never used nor documented)
16497 `completion-styles' property.
16498 (completion-initials-expand, completion-initials-all-completions)
16499 (completion-initials-try-completion): New functions.
16500 (completion-styles-alist): Add doc to each entry.
16501 Add new `initials' entry.
16503 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16505 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16506 MI command -var-evaluate-expression.
16507 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16508 and tweak for case of string child.
16509 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16511 2009-09-01 Glenn Morris <rgm@gnu.org>
16513 * add-log.el (change-log-date-face, change-log-name-face)
16514 (change-log-email-face, change-log-file-face, change-log-list-face)
16515 (change-log-conditionals-face, change-log-function-face)
16516 (change-log-acknowledgement-face):
16517 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16518 (custom-modified-face, custom-set-face, custom-changed-face)
16519 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16520 (custom-documentation-face, custom-state-face, custom-comment-face)
16521 (custom-comment-tag-face, custom-variable-tag-face)
16522 (custom-variable-button-face, custom-face-tag-face)
16523 (custom-group-tag-face-1, custom-group-tag-face):
16524 * diff-mode.el (diff-header-face, diff-file-header-face)
16525 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16526 (diff-added-face, diff-changed-face, diff-function-face)
16527 (diff-context-face, diff-nonexistent-face):
16528 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16529 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16530 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16531 (Info-title-4-face):
16532 * isearch.el (isearch-lazy-highlight-face):
16533 * log-view.el (log-view-file-face, log-view-message-face):
16534 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16535 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16536 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16538 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16539 (smerge-base-face, smerge-markers-face):
16540 * wid-edit.el (widget-documentation-face, widget-button-face)
16541 (widget-field-face, widget-single-line-field-face)
16542 (widget-inactive-face, widget-button-pressed-face):
16543 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16544 (woman-addition-face):
16545 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16546 (eshell-ls-executable-face, eshell-ls-readonly-face)
16547 (eshell-ls-unreadable-face, eshell-ls-special-face)
16548 (eshell-ls-missing-face, eshell-ls-archive-face)
16549 (eshell-ls-backup-face, eshell-ls-product-face)
16550 (eshell-ls-clutter-face):
16551 * eshell/em-prompt.el (eshell-prompt-face):
16552 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16553 * obsolete/old-whitespace.el (whitespace-highlight-face):
16554 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16555 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16556 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16557 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16558 (antlr-font-lock-literal-face):
16559 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16560 (ebrowse-root-class-face, ebrowse-file-name-face)
16561 (ebrowse-default-face, ebrowse-member-attribute-face)
16562 (ebrowse-member-class-face, ebrowse-progress-face):
16563 * progmodes/make-mode.el (makefile-space-face):
16564 * progmodes/sh-script.el (sh-heredoc-face):
16565 * textmodes/flyspell.el (flyspell-incorrect-face)
16566 (flyspell-duplicate-face):
16567 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16568 * textmodes/texinfo.el (texinfo-heading-face):
16569 Mark face aliases with "-face" suffix as obsolete.
16571 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16574 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16575 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16576 easy-menu-define wants to modify these.
16578 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16580 * net/browse-url.el (browse-url-file-url):
16581 * term/internal.el (dos-codepage-setup):
16582 Use default-value rather than default-enable-multibyte-characters.
16584 * progmodes/etags.el (etags-goto-tag-location):
16585 * progmodes/flymake.el (flymake-highlight-line)
16586 (flymake-goto-file-and-line, flymake-goto-line):
16587 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16588 (gdb-goto-breakpoint):
16589 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16590 * progmodes/python.el (python-find-function)
16591 (python-pdbtrack-track-stack-file):
16592 * progmodes/verilog-mode.el (verilog-surelint-off):
16593 * term/ns-win.el (ns-open-file-select-line):
16594 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16595 Use forward-line rather than goto-line.
16597 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16598 * textmodes/reftex-index.el (reftex-display-index):
16599 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16600 * textmodes/reftex-toc.el (reftex-toc):
16601 Remove unnecessary bindings of default-major-mode (all are followed by
16602 major-mode check and possible mode switch).
16604 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16606 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16607 Handle watchpoints (bug#4282).
16608 (def-gdb-thread-buffer-command): Enable thread to be selected by
16609 clicking without selecting threads buffer first.
16610 (gdb-current-context-command): Use selected frame so that "up",
16611 "down" etc work in the GUD buffer.
16612 (gdb-update): Find selected frame before rendering stack buffer.
16613 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16615 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16617 * progmodes/sym-comp.el (displayed-completions): Remove.
16618 (symbol-complete): Use minibuffer-complete.
16620 2009-08-31 Glenn Morris <rgm@gnu.org>
16622 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16624 * apropos.el (apropos-symbols-internal):
16625 Handle (obsolete) face aliases.
16627 * faces.el (describe-face): Adjust the output format to be more like
16628 describe-variable, and to mention (obsolete) face aliases.
16629 Adjust the whitespace so that help-setup-xref works.
16631 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16632 * calendar/diary-lib.el (diary-button-face):
16633 Mark these face aliases as obsolete.
16635 * calendar/calendar.el (calendar-today): Doc fix.
16637 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16639 * progmodes/gdb-mi.el (gdb-control-all-threads)
16640 (gdb-control-current-thread): Force tool bar update.
16641 (gdb-non-stop-handler): New function.
16642 (gdb-init-1): Use it to test if non-stop mode is supported.
16643 Remove unused gdbmi buffer type.
16645 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16647 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16648 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16650 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16652 * comint.el (comint-exec-1): Check command is non-null first.
16653 Part of gdb-mi.el change (2009-08-28).
16655 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16657 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16659 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16661 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16662 instead of `dolist' to avoid a recursive require when bootstrapping.
16664 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16666 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16668 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16670 * net/imap.el (imap-send-command): Simplify.
16671 (imap-wait-for-tag): point-max -> buffer-size.
16673 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16675 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16676 with constant argument.
16678 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16680 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16682 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16683 Change default, since most of our files don't have a history.
16684 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16687 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16690 * calc/calc.el: Improve commenting convention.
16691 (calc-digit-map, toplevel): Simplify.
16693 * comint.el (comint-insert-input): Be careful to only set point if we
16694 don't delegate to some other command.
16696 * proced.el (proced-signal-list): Make it an alist.
16697 (proced-grammar-alist): Capitalize names.
16698 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16699 Disable undo manually and make it read-only.
16700 Use completion-annotate-function.
16702 * minibuffer.el (minibuffer-message): If the current buffer is not
16703 a minibuffer, insert the message in the echo area rather than at the
16705 (completion-annotate-function): New variable.
16706 (minibuffer-completion-help): Use it.
16707 (completion--embedded-envvar-table): Environment vars are
16708 always case-sensitive.
16710 2009-08-30 Glenn Morris <rgm@gnu.org>
16712 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16713 from fortran-current-defun.
16714 (fortran-beginning-of-subprogram): Be more precise about finding the
16715 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16716 (fortran-end-of-subprogram): Simplify.
16717 (fortran-current-defun): Use fortran-start-prog-re.
16719 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16721 * subr.el (do-after-load-evaluation): Simplify.
16723 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16725 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16727 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16728 (vc-rcs-print-log): Use it.
16730 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16732 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16734 * paths.el (abbrev-file-name): Move to abbrev.el.
16735 * abbrev.el (abbrev-file-name): Move from paths.el.
16736 Obey user-emacs-directory.
16737 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16738 user-emacs-directory.
16739 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16740 abbrev-file-name and calc-settings-file any more.
16741 * startup.el (command-line): Recompute abbrev-file-name and
16742 abbreviated-home-dir.
16743 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16744 of the special code for when C-h bindings haven't been changed.
16745 (display-startup-echo-area-message): Use with-current-buffer.
16746 (command-line-1): Use a list of strings, rather than a list of lists
16747 of strings for longopts.
16749 * files.el (get-free-disk-space): Use / for default-directory.
16751 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16752 Use with-current-buffer.
16754 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16755 Recognize immutable variables like most-positive-fixnum.
16756 (byte-compile-setq-default): Check and warn if trying to assign
16757 to an immutable variable, or a non-variable.
16759 * progmodes/cc-vars.el (c-comment-continuation-stars):
16760 * progmodes/cc-engine.el (c-looking-at-bos):
16761 * progmodes/cc-cmds.el (c-toggle-auto-state)
16762 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16763 (c-comment-line-break-function): Add version of obsolescence.
16765 2009-08-28 Juri Linkov <juri@jurta.org>
16767 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16768 associated with `archive-mode'.
16770 * image.el (image-type-header-regexps): Use only JPEG magic number
16771 to determine JPEG images, and don't use `image-jpeg-p' because
16772 Emacs can display non-JFIF non-Exif JPEG images.
16774 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16776 * arc-mode.el (archive-mode):
16777 * emacs-lisp/re-builder.el (re-builder-unload-function):
16778 Protect against the default value of `major-mode' being nil.
16780 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16782 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16783 Fix typos in docstrings.
16785 * progmodes/js.el (js--macro-decl-re): Doc fix.
16786 (js--plain-method-re, js--split-name): Refloc docstring.
16787 (js--class-styles, js--make-merged-item, js--splice-into-items):
16788 Fix typos in docstrings; reflow docstrings.
16789 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16790 (js--variable-decl-matcher, js--inside-pitem-p)
16791 (js--parse-state-at-point, js--get-all-known-symbols)
16792 (js--symbol-history, js-find-symbol, js--js-references)
16793 (js--moz-interactor, js--js-encode-value, js--read-tab):
16794 Fix typos in docstrings.
16796 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16798 * textmodes/reftex.el (reftex-get-file-buffer-force):
16799 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16800 * emulation/viper.el (viper-go-away, viper-set-hooks):
16801 * emacs-lisp/re-builder.el (re-builder-unload-function):
16802 * emacs-lisp/bytecomp.el (byte-compile-file):
16803 * ses.el (ses-unload-function):
16804 * hexl.el (hexl-find-file):
16805 * files.el (normal-mode):
16806 * ehelp.el (with-electric-help):
16807 * autoinsert.el (auto-insert-alist):
16808 * arc-mode.el (archive-mode):
16809 Use (default-value 'major-mode) instead of default-major-mode.
16811 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16812 * international/mule.el (load-with-code-conversion):
16813 * emacs-lisp/debug.el (debug):
16814 * ediff-vers.el (ediff-rcs-get-output-buffer):
16815 * dired.el (dired-internal-noselect): Don't let-bind
16816 default-major-mode around code that doesn't use it.
16817 E.g. buffer creation via get-buffer-create doesn't use it.
16819 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16821 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16822 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16823 when writing the temp file. Otherwise, epa-file gets confused.
16824 (tramp-register-file-name-handlers): Make it a defun. Move also
16825 `epa-file-handler' to the front of `file-name-handler-alist'.
16827 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16829 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16830 start right after a ^M.
16831 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16832 (tramp-completion-file-name-regexp-separate)
16833 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16834 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16835 Don't modify last-coding-system-used by accident.
16836 (tramp-completion-file-name-handler): Apply the checks here,
16837 instead during registration.
16838 (tramp-register-file-name-handlers): Renamed from
16839 `tramp-register-file-name-handler'. Register both
16840 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16841 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16843 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16845 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16846 Remove variable ...
16847 (gdb-init-1, gdb-display-separate-io-buffer)
16848 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16850 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16851 (gdb-inferior-filter): Use comint-output-filter to stop
16852 echoing and remove ^M characters.
16854 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16856 * emulation/viper-init.el (viper-restore-cursor-type):
16857 * emulation/cua-base.el (cua--update-indications):
16858 Replace default-cursor-type with (default-value 'cursor-type).
16860 * mail/sendmail.el (mail-recover-1):
16861 * international/mule-diag.el (describe-current-coding-system-briefly)
16862 (describe-current-coding-system):
16863 * international/mule-cmds.el (select-safe-coding-system)
16864 (select-message-coding-system)
16865 (set-language-environment-coding-systems, set-locale-environment):
16866 * hexl.el (hexl-insert-multibyte-char):
16867 * dos-w32.el (find-buffer-file-type-coding-system):
16868 * simple.el (what-cursor-position):
16869 Replace uses of default-buffer-file-coding-system
16870 with (default-value 'buffer-file-coding-system).
16872 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16873 Replace uses of default-cursor-in-non-selected-windows
16874 with (default-value 'cursor-in-non-selected-windows).
16875 Use with-current-buffer.
16877 * mail/feedmail.el: Use CL macros.
16878 (feedmail-run-the-queue, feedmail-send-it-immediately):
16879 * dos-w32.el (find-buffer-file-type): Replace uses of
16880 default-buffer-file-type with (default-value 'buffer-file-type).
16882 2009-08-28 Glenn Morris <rgm@gnu.org>
16884 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16885 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16886 Use default-value of major-mode rather than default-major-mode.
16888 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16890 * Makefile.in (update-elcfiles): Report left over elc files.
16892 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16893 expand-file-name and with-current-buffer.
16894 (mail-get-names, mail-directory): Use with-current-buffer.
16896 * vc.el (vc-read-revision): New function.
16897 (vc-version-diff, vc-merge): Use it.
16899 2009-08-27 Sam Steingold <sds@gnu.org>
16901 * simple.el (kill-do-not-save-duplicates): New user option.
16902 (kill-new): When it is non-nil, and the new string is the same as
16903 the latest kill, set replace to t to avoid duplicates in kill-ring.
16905 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16907 * net/tramp.el (tramp-handle-process-file): Do not flush all
16908 caches when `process-file-side-effects' is set.
16909 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16910 instead of `tramp-find-file-exists-command'.
16911 Unset `process-file-side-effects'.
16913 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16915 * net/tramp.el (tramp-methods): New method "rsyncc".
16916 (top): Add completion function for "rsyncc".
16917 (tramp-message-show-message): New defvar.
16918 (tramp-message, tramp-error): Use it.
16919 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16921 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16922 `tramp-methods' entry `copy-env' of "rsyncc".
16923 (tramp-vc-registered-read-file-names): New defconst.
16924 (tramp-vc-registered-file-names): New defvar.
16925 (tramp-handle-vc-registered): Implement optimization strategy.
16926 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16927 (tramp-vc-file-name-handler): New defun.
16928 (tramp-get-ls-command, tramp-get-test-command)
16929 (tramp-get-file-exists-command, tramp-get-remote-ln)
16930 (tramp-get-remote-perl, tramp-get-remote-stat)
16931 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16933 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16934 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16936 (tramp-get-file-property): Check for timestamps in
16937 `tramp-cache-inhibit-cache'.
16938 (tramp-set-file-property): Write timestamp.
16940 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16942 * language/japan-util.el (japanese-symbol-table): Add entries for
16945 * international/characters.el: Add category `j' to cp932-2-byte.
16947 2009-08-27 Kenichi Handa <handa@m17n.org>
16949 * international/fontset.el (build-default-fontset-data): New macro.
16950 (setup-default-fontset): Use build-default-fontset-data for CJK,
16951 tibetan, ethiopic, and ipa.
16953 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16955 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16956 (enable-multibyte-characters): Not customizable any more.
16958 * subr.el (default-mode-line-format, default-header-line-format)
16959 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16960 (default-direction-reversed, default-truncate-lines)
16961 (default-left-margin, default-tab-width, default-case-fold-search)
16962 (default-left-margin-width, default-right-margin-width)
16963 (default-left-fringe-width, default-right-fringe-width)
16964 (default-fringes-outside-margins, default-scroll-bar-width)
16965 (default-vertical-scroll-bar, default-indicate-empty-lines)
16966 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16967 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16968 (default-scroll-down-aggressively, default-fill-column)
16969 (default-cursor-type, default-buffer-file-type)
16970 (default-cursor-in-non-selected-windows)
16971 (default-buffer-file-coding-system, default-major-mode)
16972 (default-enable-multibyte-characters): Mark as obsolete.
16974 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16976 * vc-dir.el (vc-dir-update): Remove debug helper.
16978 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16980 2009-08-26 Sam Steingold <sds@gnu.org>
16982 * simple.el (save-interprogram-paste-before-kill): New user option.
16983 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16984 save the interprogram-paste into kill-ring before overriding it
16985 with the Emacs kill.
16987 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16989 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16990 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16991 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16992 and move to vc-rcs.el.
16993 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16995 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16996 (vc-rcs-update-changelog): Remove.
16997 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16998 and move to vc-rcs.el.
17000 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17001 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17003 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17004 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17005 vc.el, renamed to be RCS specific.
17007 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17009 (vc-cvs-update-changelog): Move here from vc.el.
17011 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17014 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17016 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17018 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17020 * vc-git.el (vc-git-register): Use "git add" for directories.
17021 (vc-git-stash, vc-git-stash-show): New functions.
17022 (vc-git-extra-menu-map): Bind them.
17024 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17025 directory correctly in case the item is a directory itself.
17027 * vc.el: Document the desired behavior for reverted files in the
17029 (vc-default-prettify-state-info): Remove function, unused.
17031 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17033 2009-08-26 Glenn Morris <rgm@gnu.org>
17035 * bindings.el (standard-mode-line-format): Reposition dashes in
17036 which-func entry. (Bug#4217)
17038 * files.el (enable-local-variables, enable-local-eval)
17039 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17041 (auto-mode-alist, ignored-local-variables)
17042 (save-some-buffers-action-alist): Move risky declarations to the
17044 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17045 (font-lock-defaults, format-alist, imenu--index-alist)
17046 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17047 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17048 (mode-line-modified, mode-line-mule-info, mode-line-position)
17049 (mode-line-process, mode-line-remote, outline-level)
17050 (parse-time-rules, rmail-output-file-alist)
17051 (special-display-buffer-names, vc-mode):
17052 Move risky declarations to the relevant files.
17053 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17054 (mode-line-modified, mode-line-process, mode-line-position)
17055 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17056 * font-core.el (font-lock-defaults):
17057 * format.el (format-alist):
17058 * vc-hooks.el (vc-mode):
17059 * window.el (special-display-buffer-names):
17060 * international/mule-cmds.el (input-method-alist):
17061 Define riskiness here (dumped file) rather than in files.el.
17062 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17063 * imenu.el (imenu-generic-expression, imenu--index-alist):
17064 * outline.el (outline-level):
17065 * time.el (display-time-string):
17066 * calendar/parse-time.el (parse-time-rules):
17067 * mail/rmailout.el (rmail-output-file-alist):
17068 Autoload riskiness here, rather than placing in files.el.
17070 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17072 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17074 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17076 * simple.el (process-file-side-effects): New defvar.
17078 * dired-aux.el (dired-show-file-type):
17079 * vc.el (vc-diff-internal):
17080 * vc-arch.el (vc-arch-diff):
17081 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17082 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17083 * vc-git.el (vc-git-registered, vc-git-working-revision)
17084 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17085 (vc-git--empty-db-p):
17086 * vc-hooks.el (vc-user-login-name):
17087 * vc-svn.el (vc-svn-registered, vc-svn-state)
17088 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17089 * progmodes/grep.el (grep-probe): Let-bind
17090 `process-file-side-effects' with nil.
17092 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17094 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17095 daemon. Replace ping by checking for running service for bluez
17096 and zeroconf. (Bug#4239)
17098 2009-08-25 Kevin Ryde <user42@zip.com.au>
17100 * net/dig.el (dig): Add autoload cookie.
17102 2009-08-25 Glenn Morris <rgm@gnu.org>
17104 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17105 load-history for absolute file-names.
17106 (byte-compile-file-form-require): Warn about use of the cl package.
17108 * format.el (format-alist): Doc fix.
17110 * play/bubbles.el (top-level): Don't require cl at run-time.
17112 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17115 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17117 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17119 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17121 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17123 * calc/calc-alg.el (math-trig-rewrite)
17124 (math-hyperbolic-trig-rewrite): New functions.
17125 (calc-simplify): Simplify trig functions when asked.
17127 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17129 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17131 2009-08-24 Kenichi Handa <handa@m17n.org>
17133 * language/ind-util.el (mapthread): Delete it.
17134 (combinatorial): New function.
17135 (indian--puthash-cv): Use combinatorial instead of mapthread.
17137 2009-08-22 Kevin Ryde <user42@zip.com.au>
17139 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17140 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17141 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17142 Clarify docstring that the value is strings not symbols.
17143 (checkdoc-list-of-strings-p): New function.
17145 2009-08-22 Glenn Morris <rgm@gnu.org>
17147 * files.el (auto-mode-alist):
17148 * hippie-exp.el (he-concat-directory-file-name):
17149 * lpr.el (lpr-windows-system, printer-name):
17150 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17151 * ps-print.el (ps-windows-system):
17152 * startup.el (command-line):
17153 * emulation/viper-ex.el (viper-glob-function):
17154 * international/mule-cmds.el (set-language-environment-coding-systems):
17155 * net/ange-ftp.el (ange-ftp-write-region):
17156 * obsolete/fast-lock.el (fast-lock-cache-name):
17157 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17158 unisoft-unix, vax-vms, win32, w32.
17160 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17161 given name if the pattern is not more specific.
17163 * calendar/lunar.el (lunar-phase-names): New option.
17164 (lunar-phase): Doc fix.
17165 (lunar-cycles-per-year): New constant.
17166 (lunar-index): New function.
17167 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17168 (lunar-phase-name): Use lunar-phase-names.
17169 (calendar-lunar-phases): Use format.
17170 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17172 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17173 Copy imenu-example--name-and-position function here for own use.
17174 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17176 * bs.el (bs--redisplay):
17177 * cus-edit.el (custom-redraw):
17178 * ibuffer.el (ibuffer-bury-buffer):
17179 * server.el (server-goto-line-column):
17180 * startup.el (command-line-1):
17181 * strokes.el (strokes-xpm-for-stroke):
17182 * term.el (term-display-buffer-line):
17183 * view.el (View-goto-line):
17184 * calc/calc.el (calc-do, calc-trail-buffer):
17185 * play/gamegrid.el (gamegrid-add-score-insecure):
17186 * progmodes/ada-mode.el (ada-compile-goto-error):
17187 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17188 (ebrowse-select-1st-to-9nth):
17189 * progmodes/cperl-mode.el (cperl-time-fontification):
17190 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17191 * progmodes/gud.el (gud-display-line):
17192 (idlwave-shell-display-line):
17193 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17194 * progmodes/make-mode.el (makefile-browser-toggle):
17195 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17196 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17197 * textmodes/picture.el (picture-draw-rectangle):
17198 * textmodes/reftex-index.el (reftex-index-goto-letter):
17199 (reftex-select-jump-to-previous):
17200 * textmodes/reftex-sel.el (reftex-find-start-point)
17201 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17202 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17203 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17204 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17205 * textmodes/two-column.el (2C-associated-buffer):
17206 Use forward-line rather than goto-line.
17208 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17211 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17212 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17213 (quick-check-list-to-regexp): Declare.
17215 * progmodes/make-mode.el (makefile-browser-insert-selection):
17216 Use goto-char rather than goto-line.
17218 * progmodes/prolog.el (compilation-error-regexp-alist)
17219 (compilation-forget-errors): Declare.
17221 2009-08-22 Juri Linkov <juri@jurta.org>
17223 * progmodes/grep.el (lgrep, rgrep): At the beginning
17224 set `dir' to `default-directory' unless `dir' is a non-nil
17225 readable directory. (Bug#4052)
17226 (lgrep, rgrep): Change a weird way to report an error
17227 from using `read-string' to using `error'.
17228 Instead of using interactive arguments in the function body,
17229 add new argument `confirm'.
17231 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17233 * textmodes/remember.el (remember-buffer):
17234 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17235 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17236 (icalendar-extract-ical-from-buffer):
17237 * net/newst-treeview.el (newsticker-groups-filename):
17238 * net/newst-backend.el (newsticker-cache-filename):
17239 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17240 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17241 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17242 (speedbar-buffers-line-path, speedbar-path-line)
17243 (speedbar-buffers-line-path):
17244 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17246 * epa.el (epa-display-verify-result):
17247 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17249 2009-08-21 Glenn Morris <rgm@gnu.org>
17251 * progmodes/js.el (inferior-moz-process): Fix declaration.
17253 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17255 * obsolete/rnewspost.el (news-mail-reply):
17256 Use goto-char rather than goto-line.
17258 * term/ns-win.el (ns-open-file-select-line):
17259 Use line-beginning-position rather than goto-line.
17261 * apropos.el (apropos-command):
17262 * ehelp.el (electric-helpify):
17263 * printing.el (pr-show-setup):
17264 * strokes.el (strokes-help):
17265 * tutorial.el (tutorial--describe-nonstandard-key)
17266 (tutorial--detailed-help):
17267 * woman.el (woman-mini-help, woman-display-extended-fonts):
17268 * calc/calc-help.el (calc-describe-key):
17269 * emulation/edt.el (edt-electric-helpify):
17270 * international/mule-diag.el (mule-diag):
17271 * play/yow.el (apropos-zippy):
17272 * progmodes/python.el (python-describe-symbol):
17273 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17274 * textmodes/table.el (*table--cell-describe-mode)
17275 (*table--cell-describe-bindings):
17276 Use help-print-return-message rather than the now obsolete alias.
17278 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17279 (calendar-cursor-to-visible-date):
17280 * play/5x5.el (5x5-position-cursor):
17281 * play/decipher.el (decipher):
17282 * play/gomoku.el (gomoku-goto-xy):
17283 * play/landmark.el (lm-goto-xy):
17284 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17285 (mpuz-paint-digit):
17286 Use forward-line, not goto-line.
17288 * mail/rmail.el (rmail-obsolete): Delete custom group.
17289 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17290 (rmail-remote-password, rmail-remote-password-required):
17291 Remove unneeded :set-after and :set properties.
17293 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17295 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17297 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17299 * loadup.el: Remove leftover macos code.
17301 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17302 Explicitly pass the date format to git blame so that user local
17303 so that the output format can be parsed.
17305 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17307 * net/dbus.el (top): Don't check for (getenv
17308 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17310 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17312 * log-edit.el (log-edit-strip-single-file-name): New var.
17313 (log-edit-insert-changelog): Use it. Bug#3571
17315 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17317 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17320 * help.el (help-print-return-message): Rename from
17321 print-help-return-message.
17323 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17324 cvs-mode-map parent hack.
17325 (log-view-mode): Derive from special-mode.
17327 * linum.el (linum-mode): window-size-change-functions is redundant.
17328 Adapt to new window-configuration-change-hook behavior.
17329 (linum-after-size, linum-after-config): Remove.
17331 * imenu.el (imenu-example--name-and-position)
17332 (imenu-example--lisp-extract-index-name)
17333 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17336 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17337 (inferior-prolog-mode): Use it.
17338 (inferior-prolog-load-file): Reset list of errors.
17340 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17342 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17344 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17346 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17348 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17349 is running already.
17351 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17353 * subr.el (listify-key-sequence-1): Use normal syntax since those
17354 integers are nowadays always represented by the same (positive) number
17356 (read-key-empty-map): New const.
17357 (read-key-delay): New var.
17358 (read-key): New function.
17359 (force-mode-line-update): Use with-current-buffer.
17360 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17361 (start-process-shell-command, start-file-process-shell-command):
17362 Discourage the use of command-args.
17364 2009-08-19 Glenn Morris <rgm@gnu.org>
17366 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17368 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17370 * simple.el (choose-completion-string): Don't rely on
17371 minibuffer-completing-file-name and ad-hoc checks to decide whether
17372 to continue completion or not.
17374 * minibuffer.el (minibuffer-hide-completions): New function.
17375 (completion--do-completion): Use it.
17376 (completions-annotations): New face.
17377 (completion--insert-strings): Use it.
17378 (completion-pcm--delim-wild-regex): Add docstring.
17379 (completion-pcm--string->pattern): Add support for 0-width delimiters
17380 in completion-pcm--delim-wild-regex.
17382 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17384 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17385 Remove unused var `buffer-modified-p'.
17387 * minibuffer.el (completion--do-completion): Move point for the #b001
17388 case as well (bug#4176).
17389 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17391 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17393 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17394 and :session buses.
17396 2009-08-18 Kenichi Handa <handa@m17n.org>
17398 * international/ucs-normalize.el (ucs-normalize-version):
17400 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17401 (utf-8-hfs): Make it perform normalization on encoding too.
17403 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17404 (sentence-end-without-space): Delete duplicated chars.
17405 (sentence-end-base): Likewise.
17407 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17408 (html-mode): Delete duplicated chars from sentence-end-base.
17410 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17411 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17413 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17415 * files.el (hack-one-local-variable): If the mode function is for
17416 a minor mode, pass it an argument (Bug#4148).
17418 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17420 * net/tramp.el (tramp-register-completion-file-name-handler):
17421 Check also for (member 'partial-completion completion-styles).
17423 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17425 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17428 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17430 * progmodes/cperl-mode.el: Merge upstream 6.2.
17431 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17432 (cperl-forward-re): Check cperl-brace-recursing.
17433 (cperl-highlight-charclass): New function.
17434 (cperl-find-pods-heres): Use it.
17435 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17436 (cperl-beautify-regexp-piece): Fix column calculation.
17437 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17438 (cperl-beautify-level): Don't process entire regexp.
17439 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17441 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17442 (cperl-init-faces): Build a list in the normal way.
17444 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17446 * calendar/parse-time.el (parse-time-string-chars): Save match
17449 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17451 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17452 (sql-product): Use it.
17453 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17454 (sql-set-product): Add completion.
17455 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17456 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17457 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17458 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17459 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17460 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17461 (sql-highlight-db2-keywords): Remove.
17462 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17463 (sql-highlight-product): Use derived-mode-p.
17464 (sql-set-sqli-buffer): Use with-current-buffer.
17465 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17468 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17470 * term.el: Fix commenting convention, turn comments into docstrings.
17472 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17474 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17476 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17478 * calendar/parse-time.el (parse-time-string-chars): Compute using
17479 character classes, to handle non-ascii characters (Bug#3190).
17481 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17483 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17484 another heredoc if the user adds another < (Bug#3226).
17486 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17487 Don't initialize based on window-system (Bug#4124).
17489 * facemenu.el (facemenu-read-color): Use a completion function
17490 that accepts any defined color, such as RGB triplets (Bug#3677).
17492 * files.el (get-free-disk-space): Change fallback default
17493 directory to /. Expand DIR argument before switching to fallback.
17494 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17496 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17498 * files.el (load-library): Doc fix.
17500 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17502 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17503 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17504 incremental search string.
17506 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17509 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17510 (ediff-merge-region-is-non-clash)
17511 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17512 Also check if the job is really a merge job.
17514 * ediff.el (ediff-current-file): New function.
17516 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17518 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17520 (js-insert-and-indent): Delete function.
17521 (js-mode-map): Don't bind keys to js-insert-and-indent.
17522 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17523 (js-end-of-defun): Rename from js--end-of-defun.
17524 (js-auto-indent-flag): Delete variable.
17526 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17528 * progmodes/js.el: Remove proclaim statement.
17529 Defvar which-func-imenu-joiner-function to silence compiler.
17531 * files.el (auto-mode-alist): Use js-mode for .js files.
17533 * progmodes/js2-mode.el: Remove file.
17535 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17537 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17539 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17541 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17542 Karl Landstrom <karl.landstrom@brgeight.se>
17544 * progmodes/js.el: New file.
17546 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17548 * timezone.el (timezone-parse-date): Add ability to understand ISO
17549 basic format (minimal separators) dates in addition to the
17550 already-supported extended format dates.
17552 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17554 * international/ucs-normalize.el: Add a `coding' file variable.
17556 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17558 2009-08-14 Sam Steingold <sds@gnu.org>
17560 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17562 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17564 * faces.el (help-argument-name): Define it here instead of
17565 help-fns.el, because in daemon mode help-fns.el may be loaded when
17566 faces are still uninitialized (Bug#1078).
17568 * help-fns.el (help-argument-name): Move defface to faces.el.
17570 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17572 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17573 create buffer with a pty but no process so that GDB can make the
17574 inferior the controlling process.
17576 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17578 * international/ucs-normalize.el: New file.
17580 2009-08-13 Richard Stallman <rms@gnu.org>
17582 * mail/rmail.el (rmail-get-attr-names):
17583 Accept an attribute header that is too short.
17585 * mail/rmail.el (rmail-forget-messages):
17586 Ignore nil elt in rmail-message-vector. Use dotimes.
17588 * progmodes/compile.el (compilation-goto-locus):
17589 Use next-error-move-function.
17591 * simple.el (next-error-move-function): New variable.
17593 2009-08-12 Juri Linkov <juri@jurta.org>
17595 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17596 always non-nil. (Bug#4052)
17598 * replace.el (read-regexp): Return empty string when
17599 `default-value' is nil.
17600 (keep-lines-read-args): Don't use empty string as the
17601 default value for `read-regexp'. (Bug#2495)
17603 2009-08-12 Juri Linkov <juri@jurta.org>
17605 * international/mule-cmds.el (ucs-insert): Change arguments
17606 from `arg' to `character', `count', `inherit' to be the same
17607 as in `insert-char'. Doc fix. (Bug#4039)
17609 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17611 2009-08-12 Juri Linkov <juri@jurta.org>
17613 * files-x.el: New file.
17615 * files.el: Move code that deals with adding/deleting
17616 file/directory-local variables to files-x.el.
17618 * Makefile.in (ELCFILES): Add files-x.elc.
17620 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17622 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17623 to use `goto-line'.
17624 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17626 (gdb-invalidate-disassembly): Do not refresh upon receiving
17627 'update signal. Instead, update all disassembly buffers only after
17629 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17630 (gdb-starting): Moved -data-list-register-names...
17631 (gdb-stopped): ...here so it's sent when first thread stops.
17632 (gdb-registers-handler-custom): Do nothing if register names are
17635 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17636 from `gdb-mi.el' to avoid extra tangling.
17638 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17639 change which breaks `gud-def' definitions used in `gdb'.
17640 (gdb-update-gud-running): No extra fuss for updating frame number.
17642 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17644 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17645 (describe-language-environment-map, setup-language-environment-map)
17646 (set-coding-system-map): Move initialization into declaration.
17647 (set-language-info-alist): Last arg to define-key-after can be skipped.
17649 * international/quail.el (quail-completion-1): Simplify.
17650 (quail-define-rules): Use slightly more compact code.
17651 (quail-insert-decode-map): Propertize keys, compact columns.
17653 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17656 2009-08-10 Miles Bader <miles@gnu.org>
17658 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17659 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17660 (js2-instance-member, js2-private-member, js2-private-function-call)
17661 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17662 (js2-magic-paren, js2-external-variable):
17663 Remove "-face" suffix from face names.
17664 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17665 (js2-highlight-undeclared-vars, js2-peek-token)
17666 (js2-parse-function-params, js2-mode-show-errors)
17667 (js2-mode-show-warnings, js2-make-magic-delimiter)
17668 (js2-mode-highlight-magic-parens): Update to use new face names.
17670 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17672 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17673 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17675 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17677 * subr.el: Provide hashtable-print-readable.
17679 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17680 hs-c-like-adjust-block-beginning.
17681 (hs-hide-block-at-point): Stop hiding at the beginning of
17682 hs-block-end-regexp (Bug#700).
17684 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17686 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17688 (gdb-registers-handler-custom): Do not fail when register names
17691 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17693 * progmodes/gdb-mi.el (gdb-control-all-threads)
17694 (gdb-control-current-thread): Interactive setters for
17695 `gdb-gud-control-all-threads' to use in menu.
17696 (gdb-show-run-p): Show «Go» when process is not active.
17697 (gud-tool-bar-map): Add non-stop/A,T indicator.
17698 Uses gud/thread.xpm and gud/all.xpm.
17700 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17702 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17703 (nslookup-font-lock-keywords): Make it a variable.
17704 (net-utils-mode): New mode for viewing diagnostic network output.
17705 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17706 (net-utils-run-simple): New function.
17707 (ifconfig, iwconfig, netstat, arp, route): Use it.
17709 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17711 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17712 (gdb-memory-set-address, def-gdb-set-positive-number)
17713 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17714 after changing settings.
17715 (gdb-invalidate-disassembly): Update when first shown.
17716 (gdb-edit-locals-value): Fixed.
17717 (gdb-registers-handler-custom): Print registers in right order and
17718 allow changing register values (only for current thread yet).
17719 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17720 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17721 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17722 (gdb-locals-handler-custom, gdb-registers-handler-custom):
17723 Thread info in mode name.
17724 (gdb-registers-mode-map): TAB to switch to locals.
17726 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17728 * mail/rmail.el (rmail-add-mbox-headers)
17729 (rmail-set-message-counters-counter): Search for
17730 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17732 2009-08-08 Glenn Morris <rgm@gnu.org>
17734 * Makefile.in (ELCFILES): Update.
17736 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17738 * mail/sendmail.el (mail-yank-original):
17739 Set buffer-file-coding-system from the one used by the message whose
17742 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17743 to "windows" when "pgnuplot" is used.
17744 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17745 Don't call accept-process-output if "pgnuplot" is used.
17746 (calc-graph-init): Don't send -display and -geometry to
17747 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17748 running "pgnuplot -V" with shell-command-to-string.
17750 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17753 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17755 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17758 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17760 * vc-dispatcher.el (vc-resynch-window): Update comment.
17762 * term.el (term-handle-ansi-escape): Add comments with the
17763 terminfo capabilities implemented.
17765 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17767 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17768 (gdb-var-create-handler): Rewritten using JSON parser.
17769 (gdb-propertize-header): Moved earlier.
17770 (gdb-set-header): Removed to avoid duplication.
17771 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17772 Refresh disassembly buffers only after threads list have been
17774 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17777 2009-08-04 Juri Linkov <juri@jurta.org>
17779 * files.el: Commands to add/delete file/directory-local variables.
17780 (read-file-local-variable, read-file-local-variable-value)
17781 (read-file-local-variable-mode, modify-file-local-variable)
17782 (modify-file-local-variable-prop-line)
17783 (modify-dir-local-variable): New functions.
17784 (add-file-local-variable, delete-file-local-variable)
17785 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17786 (add-dir-local-variable, delete-dir-local-variable)
17787 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17788 (copy-dir-locals-to-file-locals-prop-line): New commands.
17790 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17792 * abbrev.el (insert-abbrev-table-description): Prettify output.
17793 Suggested by Karl Chen.
17795 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17797 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17798 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17799 (gdb-overlay-arrow-position, gdb-thread-position)
17800 (gdb-disassembly-position): Declare variables.
17801 (gdb-wait-for-pending): Function now.
17802 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17803 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17804 compilation goes smoothly.
17805 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17806 (gdb-non-stop-setting): New customization setting which replaces
17807 `gdb-non-stop' so changing it doesn't break active GDB session.
17808 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17809 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17810 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17811 (gdb-show-threads-by-default): New customization options.
17812 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17814 (gdb-get-buffer-create): Send buffers update signal when they are
17816 (gdb-invalidate-locals, gdb-invalidate-registers)
17817 (gdb-invalidate-breakpoints)
17818 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17819 (gdb-invalidate-memory): Accept update signal.
17820 (gdb-current-context-command): Use --frame option.
17821 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17822 Implement `gdb-frame-number' selection logic.
17823 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17824 whether to show GUD toolbar buttons.
17825 (gdb-thread-exited): Unselect current thread when it exits.
17826 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17827 (gdb-mark-line): Routine which sets overlay arrow or inverses
17828 video on fringeless displays.
17829 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17830 to build aligned columns of data in GDB buffers and set text
17831 properties line-by-line.
17832 (gdb-invalidate-breakpoints)
17833 (gdb-breakpoints-list-handler-custom)
17834 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17835 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17836 (gdb-registers-handler-custom): Align data columns.
17837 (gdb-locals-handler-custom): Now prints data like in variable
17839 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17840 Removed confusing buttons.
17841 (gdb-invalidate-threads): Append --frame.
17842 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17843 between breakpoints/threads buffers.
17844 (gdb-set-window-buffer): Now can ignore dedicated windows.
17845 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17846 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17847 (def-gdb-thread-buffer-gud-command): Replaces
17848 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17849 for fine thread control.
17850 (gdb-preempt-existing-or-display-buffer): New function used to
17851 display bound buffers without breaking window layout.
17852 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17853 (gdb-select-frame): New version of `gdb-frames-select' which now
17854 sets `gdb-frame-number' so commands may use --frame option instead
17855 of inner debugger state.
17856 (gdb-frame-handler): Do not set `gdb-frame-number'.
17857 (gdb-threads-mode-map): Select threads with mouse.
17859 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17860 avoid compilation warning.
17861 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17864 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17865 Argument `key' renamed to `buffer-type'.
17866 (gdb-current-context-buffer-name): Do not add thread info to
17867 buffer name when no thread is selected.
17868 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17869 command (bug 3794).
17870 (gdb-thread-selected): Handle `=thread-selected' notification.
17871 (gdb-wait-for-pending): New macro to deal with congestion problems.
17872 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17874 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17875 This fixes problem similar to one described in bug 3947.
17876 (gud-menu-map): More menu items.
17877 (gdb-init-1): Reset `gdb-thread-number' to nil.
17879 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17882 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17883 (gdb-current-context-command): Do not append --thread if
17884 `gdb-thread-number' is nil.
17885 (gdb-running-threads-count, gdb-stopped-threads-count):
17887 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17888 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
17889 New customization options.
17890 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17892 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17893 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17894 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17895 set `gdb-thread-number' and update `gud-running' properly.
17896 (gdb-running): Update threads list when new threads appear.
17897 (gdb-stopped): Support non-stop operation and new thread switching
17899 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17900 (gdb-json-partial-output): New set of JSON routines.
17901 (def-gdb-auto-update-trigger): New `signal-list' optional
17903 (gdb-thread-list-handler-custom): Update `gud-running',
17904 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17905 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17906 (gdb-continue-thread, gdb-step-thread): New commands for fine
17907 thread execution control.
17908 (gud-menu-map): New menu items to switch non-stop options.
17909 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17910 (gdb-send): Mimic RET properly (bug 3794).
17912 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17913 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17915 (def-gdb-auto-update-handler): New nopreserve optional argument.
17916 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17918 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17919 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17920 (gdb-parent-mode): New mode to derive other GDB modes from.
17921 (gdb-display-disassembly-for-thread)
17922 (gdb-frame-disassembly-for-thread): New commands for threads
17925 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17926 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17927 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17928 (gdb-update): We now store all GDB buffers in a list so that they
17929 can be updated by traversing a list instead of calling invalidate
17930 triggers explicitly.
17931 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17932 pair for GDB buffer.
17933 (gdb-stack-buffer-name): Add thread information.
17934 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17935 handle pending triggers.
17936 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17937 (def-gdb-thread-buffer-simple-command)
17938 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17939 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17940 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17941 New commands which show buffers bound to thread.
17942 (gdb-stack-list-locals-regexp): Removed unused regexp.
17944 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17945 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17946 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17947 to (gud-comint-buffer) in *-buffer-name functions
17948 because (gdb-get-target-string) already does that.
17949 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17950 (gdb-changed-registers-handler): Rewritten without regexps.
17952 * progmodes/gdb-mi.el: Basic thread selection support.
17953 (gdb-thread-number): New variable.
17954 (gdb-current-context-command): New macro which adds --thread
17956 (gdb-threads-mode-map): Select thread with SPC.
17957 (gdb-thread-list-handler-custom): Mark current thread with overlay
17958 arrow. Synchronize GDB thread and Emacs thread.
17959 (gdb-select-thread): New command which selects current thread.
17960 (gdb-invalidate-frames, gdb-invalidate-locals)
17961 (gdb-invalidate-registers): Use --thread option.
17963 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17965 * net/tramp.el (top): Make check for tramp-gvfs loading more
17967 (tramp-handle-insert-file-contents): `unwind-protect' must be
17968 inside `with-parsed-tramp-file-name'.
17970 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17973 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17975 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17976 directory if CLASSPATH is not set.
17978 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17980 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17982 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17984 2009-08-02 Kevin Ryde <user42@zip.com.au>
17986 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17987 Update freshmeat link. Delete newsforge.com as it seems gone.
17989 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17991 * select.el (x-set-selection): Doc fix (Bug#4021).
17993 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17995 * help-fns.el (describe-variable): Treat list return values from
17996 dir-locals-find-file properly (Bug#4005).
17998 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18000 * net/tramp.el (tramp-debug-message): Print also microseconds.
18002 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18004 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18006 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18007 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18010 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18011 (tramp-get-file-property): Use it.
18013 * autorevert.el (auto-revert-handler):
18014 Allow `auto-revert-tail-mode' for remote files.
18016 2009-08-02 Jason Rumney <jasonr@gnu.org>
18018 * minibuffer.el (read-file-name): Treat confirm options to
18019 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18021 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18023 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18024 (font-lock-variable-name-face, font-lock-constant-face):
18025 Darken the colors for light backgrounds.
18027 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18029 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18030 month names. (Bug#3987)
18032 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18034 * simple.el (line-move-finish): Pass whole number to
18035 line-move-to-column.
18036 (line-move-visual): Perform hscroll to the recorded position.
18038 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18040 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18042 2009-07-29 Alan Mackenzie <acm@muc.de>
18044 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18046 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18048 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18049 (gdb-place-breakpoints): Use full path when setting breakpoints.
18051 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18053 * calc/calc.el (calc-mode-map): Add keybinding for
18054 `calc-transpose-lines'.
18056 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18058 * calc/calc-misc.el (calc-transpose-lines): New function.
18060 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18062 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18063 Simplify check for out-of-band methods.
18064 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18065 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18067 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18069 * vc-git.el (vc-git-checkin): Fix typo.
18071 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18073 * progmodes/js2-mode.el: New file.
18075 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18077 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18078 (gud-menu-map): Adjust tooltip accordingly.
18080 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18082 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18083 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18085 * add-log.el (change-log-mode-map): Add a menu.
18087 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18089 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18090 function returns nil.
18091 (dbus-handle-event): Handle special return value :ignore.
18092 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18094 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18096 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18099 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18103 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18105 * term/pc-win.el (x-display-name, x-colors)
18106 (x-select-enable-clipboard, x-select-text): Doc fix.
18108 * term/common-win.el (x-display-name, x-colors): Doc fix.
18110 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18111 (xw-defined-colors): Doc fix.
18113 * w32-fns.el (x-select-text, x-setup-function-keys)
18114 (x-get-selection, x-set-selection): Doc fix.
18116 * term/x-win.el (x-select-text, x-setup-function-keys)
18117 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18119 * select.el (x-set-selection): Doc fix.
18121 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18123 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18124 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18125 "IsNSSSupportAvailable" method is not available.
18126 Reported by Steve Youngs <steve@sxemacs.org>.
18128 2009-07-24 Kenichi Handa <handa@m17n.org>
18130 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18131 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18132 (build-unicode-category-table): Fix range checks.
18134 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18136 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18137 the buffer we try to sync is current when calling
18140 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18141 not show up to date files.
18143 2009-07-24 Glenn Morris <rgm@gnu.org>
18145 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18146 Add autoload cookies. If necessary, initialize.
18147 (elint-log): Handle non-file buffers.
18148 (elint-initialize): Add optional argument to reinitialize.
18149 (elint-find-builtin-variables): Save excursion.
18151 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18153 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18156 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18158 * vc.el (vc-print-log-internal): New function, split out from ...
18159 (vc-print-log): ... here.
18160 (vc-dir-move-to-goal-column): Declare.
18162 * vc-git.el (vc-git-add-signoff): New variable.
18163 (vc-git-checkin): Use it.
18164 (vc-git-toggle-signoff): New function.
18165 (vc-git-extra-menu-map): Bind it to menu.
18166 (vc-git--run-command-string): Accept a nil FILE argument.
18167 (vc-git-stash-list): New function.
18168 (vc-git-dir-extra-headers): Use it.
18170 2009-07-23 Glenn Morris <rgm@gnu.org>
18172 * help-fns.el (describe-variable): Describe ignored and risky local
18173 variables in a similar way to that in which we describe safe ones.
18175 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18176 (byte-compile-output-file-form, byte-compile-output-docform)
18177 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18178 Give some more local variables with common names a "bytecomp-" prefix,
18179 so as not to shadow things during compilation.
18180 * emacs-lisp/cl-macs.el (load-time-value)
18181 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18182 `outbuffer' to `bytecomp-outbuffer'.
18184 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18185 since the next two variables cover them automatically now.
18186 (elint-builtin-variables, elint-autoloaded-variables): New.
18187 (elint-unknown-builtin-args): Remove all members, since they can be
18188 parsed automatically now.
18189 (elint-extra-errors): New.
18190 (elint-env-add-env, elint-env-add-macro): Use cadr.
18191 (elint-current-buffer): Use or. Change final message.
18192 (elint-get-top-forms): Use line-end-position.
18193 (elint-init-env): Use cadr. Handle autoload, declare-function,
18195 (elint-add-required-env): Doc fix. Use or. Standardize error.
18196 (regexp-assoc): Remove unused function.
18197 (elint-top-form): Set elint-current-pos, to record the start of the
18198 top-level form, for compilation-mode.
18199 (elint-form): Trap errors in macro expansion. Use dolist.
18200 (elint-unbound-variable): Use elint-builtin-variables and
18201 elint-autoloaded-variables.
18202 (elint-get-args): Use cadr, or.
18203 (elint-check-cond-form): Use dolist, cadr.
18204 (elint-check-condition-case-form): Doc fix. Use cadr.
18205 Use elint-extra-errors.
18206 (elint-log): New function.
18207 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18208 Distinguish errors and warnings.
18209 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18210 Use a bytecomp-style format.
18211 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18212 (elint-get-log-buffer): Use compilation mode. Disable undo.
18213 Don't truncate lines.
18214 (elint-initialize): Set builtin and autoloaded variable lists.
18215 Only process elint-unknown-builtin-args if non-nil.
18216 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18218 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18220 2009-07-22 Kevin Ryde <user42@zip.com.au>
18222 * net/newst-backend.el (newsticker--parse-atom-1.0)
18223 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18224 (newsticker--parse-rss-1.0):
18225 * progmodes/idlwave.el (idlwave-mode):
18226 * progmodes/idlw-shell.el (idlwave-shell-mode):
18227 * progmodes/vera-mode.el (vera-mode):
18228 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18229 * progmodes/vhdl-mode.el (vhdl-mode):
18230 * textmodes/table.el (table-generate-source)
18231 (table--warn-incompatibility):
18232 Hyperlink urls in docstrings with URL `...'.
18234 2009-07-22 Glenn Morris <rgm@gnu.org>
18236 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18237 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18238 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18239 Remove leading * from defcustom docs.
18241 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18243 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18245 (list-load-path-shadows): Optionally, just return shadows as a string.
18247 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18249 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18251 * mail/rmailedit.el (rmail-edit-mode):
18252 Use auto-save-include-big-deletions.
18254 * mail/rmail.el (rmail-variables):
18255 Use auto-save-include-big-deletions.
18257 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18260 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18262 * calc/calc.el (calc-undo-length): New variable.
18263 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18265 2009-07-21 Richard Stallman <rms@gnu.org>
18267 * files.el (auto-save-mode): Handle buffer-save-size = -2
18270 2009-07-21 Glenn Morris <rgm@gnu.org>
18272 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18274 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18276 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18277 silence compiler. Instead...
18278 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18279 (ps-print-ensure-fontified): Update for above function name changes.
18281 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18282 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18283 silence compiler. Instead...
18284 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18285 (mh-show-buffer): Only define for compiler.
18286 (pr-mh-current-message): Update for above function name changes.
18288 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18290 (find-file-noselect, insert-file-1): Update for above change.
18292 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18294 * mail/mailclient.el (mailclient-send-it): Fix message.
18296 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18297 (edebug-eval): Check cl-debug-env is bound.
18298 (print-level, print-circle): Don't redefine built-in variables.
18300 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18301 (custom-print-vectors): Remove old comments from doc.
18303 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18304 (emerge-version): Make the variable an obsolete alias for the
18305 emacs-version variable. Make the function obsolete.
18306 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18307 Emerge options, rather than merging in into the main Options menu.
18308 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18309 and auto advance modes. Disable edit/fast items when not relevant.
18311 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18313 * term/vt420.el (terminal-init-vt420): Fix typo.
18315 2009-07-20 Sam Steingold <sds@gnu.org>
18317 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18318 variable (removed from compile.el on 2004-03-11).
18320 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18322 * files.el (hack-local-variables-filter): Fix last change.
18324 2009-07-19 Juri Linkov <juri@jurta.org>
18326 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18327 (dir-local-variables-alist): New buffer-local variable.
18328 (hack-local-variables-filter): If variable is not dir-local,
18329 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18330 because file-local overrides dir-local.
18331 (c-postprocess-file-styles) <declare-function>:
18332 Remove obsolete declaration.
18333 (hack-dir-local-variables): Add dir-local variable/value pair to
18334 `dir-local-variables-alist' and remove duplicates. Doc fix.
18336 * help-fns.el (describe-variable): Add information about
18337 file-local and dir-local variables.
18339 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18341 * files.el (hack-local-variables-filter): Rewrite.
18343 2009-07-19 Glenn Morris <rgm@gnu.org>
18345 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18346 Silence compiler by only defining on XEmacs.
18348 * international/mule.el (auto-coding-regexp-alist): Only match
18349 BABYL... at the start of buffer, not of lines. (Bug#3790)
18351 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18352 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18353 (cal-menu-context-mouse-menu): Doc fix.
18355 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18357 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18359 2009-07-18 Juri Linkov <juri@jurta.org>
18361 * info.el: Virtual Info keyword finder.
18362 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18363 (Info-finder-file): New variable.
18364 (Info-finder-find-file): New function.
18365 (finder-known-keywords, finder-package-info)
18366 (find-library-name, lm-commentary): Use defvar and
18367 declare-function to silence compiler warnings.
18368 (Info-finder-find-node): New function.
18369 (info-finder): New command.
18371 * subr.el (process-kill-buffer-query-function): New function.
18372 (add-hook)<kill-buffer-query-functions>: Add hook
18373 `process-kill-buffer-query-function'.
18375 2009-07-18 Alan Mackenzie <acm@muc.de>
18377 * progmodes/cc-mode.el (c-before-hack-hook)
18378 (c-postprocess-file-styles): Give invocation of `c-set-style'
18379 DONT-OVERRIDE parameter of t. Already set style variables will
18380 thus not be overridden by style settings given by `c-file-syle'.
18382 * files.el (hack-local-variables-filter): Remove entries with
18383 duplicate keys from `file-local-variables-alist'.
18385 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18387 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18388 x-set-selection if display-selections-p returns nil for the
18391 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18393 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18395 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18397 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18398 Accept nil in addition to a regexp.
18399 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18400 Accept nil in addition to a regexp.
18401 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18402 buffers that have an associated file. Handle nil values of
18403 desktop-buffers-not-to-save and desktop-files-not-to-save.
18406 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18407 (x-disown-selection-internal): New functions.
18409 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18411 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18413 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18414 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18416 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18418 * simple.el (set-mark): Revert last change.
18420 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18422 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18423 rendering of pngs is not possible instead of messaging a long
18426 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18428 * w32-fns.el (x-selection-owner-p): New function.
18430 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18431 (mouse-yank-at-click, mouse-yank-primary):
18432 If select-active-regions is non-nil, deactivate the mark before
18435 * simple.el (deactivate-mark, set-mark): Only save selection if we
18438 2009-07-17 Kenichi Handa <handa@m17n.org>
18440 * case-table.el (describe-buffer-case-table): Fix for the case
18441 that KEY is a cons.
18443 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18445 * vc-rcs.el (vc-rcs-find-file-hook):
18446 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18448 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18450 * net/tramp.el (tramp-wait-for-output): Handle the case when
18451 commands do not return a newline but a null byte before the shell
18454 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18456 * term/ns-win.el (ns-set-alpha): Don't declare.
18457 (ns-set-background-alpha): Remove function.
18459 2009-07-16 Kevin Ryde <user42@zip.com.au>
18461 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18462 y-or-n-p, for safety.
18464 2009-07-16 Richard Stallman <rms@gnu.org>
18466 * files.el (auto-save-mode): If buffer-saved-size is -2,
18469 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18470 (rmail-retry-ignored-headers): Add more uninteresting fields.
18472 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18474 * net/rcirc.el (rcirc): Use history variables.
18475 (rcirc-server-name-history, rcirc-nick-name-history)
18476 (rcirc-server-port-history): New variables.
18478 2009-07-15 Kenichi Handa <handa@m17n.org>
18480 * international/mule-cmds.el (set-language-environment-charset):
18481 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18484 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18485 Delete unibyte-display.
18487 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18489 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18491 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18493 * simple.el (deactivate-mark): Optional argument FORCE.
18494 (set-mark): Use deactivate-mark.
18496 * info.el (Info-search): No need to check transient-mark-mode
18497 before calling deactivate-mark.
18499 * select.el (x-set-selection): Doc fix.
18500 (x-valid-simple-selection-p): Allow buffer values.
18501 (xselect--selection-bounds): Handle buffer values.
18502 Suggested by David De La Harpe Golden.
18504 * mouse.el (mouse-set-region, mouse-drag-track):
18505 Call copy-region-as-kill before setting the mark, to let
18506 select-active-regions work.
18508 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18510 * simple.el (deactivate-mark): If select-active-regions is
18511 non-nil, copy the selection data into a string.
18512 (activate-mark): If select-active-regions is non-nil, set the
18513 selection to the current buffer.
18514 (set-mark): Update selection if select-active-regions is non-nil.
18516 * select.el (x-valid-simple-selection-p): Allow buffer values.
18518 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18520 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18521 and more featureful message-mode.
18523 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18525 * select.el (x-set-selection): Doc fix.
18526 (x-valid-simple-selection-p): Disallow selection data consisting
18527 of a list or cons of integers, since that is not used.
18528 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18529 (xselect-convert-to-string, xselect-convert-to-length)
18530 (xselect-convert-to-filename, xselect-convert-to-charpos)
18531 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18533 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18535 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18536 output in -break-info command (Emacs bug #3794).
18538 2009-07-14 Glenn Morris <rgm@gnu.org>
18540 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18541 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18542 (edebug-print-length, edebug-print-level, edebug-print-circle)
18543 (edebug-sit-for-seconds, edebug-view-outside)
18544 (edebug-bounce-point, edebug-set-global-break-condition)
18545 (edebug-Go-nonstop-mode, edebug-trace-mode)
18546 (edebug-Trace-fast-mode, edebug-continue-mode)
18547 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18548 (edebug-visit-eval-list): Doc fixes.
18550 * subr.el (def-edebug-spec): Doc fix.
18552 2009-07-14 Kenichi Handa <handa@m17n.org>
18554 * international/characters.el: Fix setting of category ?C.
18556 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18558 * term/ns-win.el (x-select-font): defalias x-select-font to
18559 ns-popup-font-panel instead of generate-fontset-menu.
18561 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18563 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18565 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18567 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18568 the PK\003\004 header (Bug#3770).
18570 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18572 * pcomplete.el (pcomplete-comint-setup): Check for
18573 shell-dynamic-complete-filename too.
18575 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18577 * simple.el (temporary-goal-column): Change the value for
18578 line-move-visual to a cons cell.
18579 (line-move-visual): Record or set the window hscroll, if
18580 necessary (Bug#3494).
18581 (line-move-1): Handle cons value of temporary-goal-column.
18583 2009-07-11 Kenichi Handa <handa@m17n.org>
18585 * international/mule-diag.el (describe-character-set): Don't show
18588 2009-07-10 Sam Steingold <sds@gnu.org>
18590 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18591 Omake sometimes indents the errors it prints, so allow all
18592 regexps to start with spaces.
18594 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18596 * cus-edit.el (customize-changed-options-previous-release):
18597 Bump value to 22.1. (Bug#3804)
18599 2009-07-08 Sam Steingold <sds@gnu.org>
18601 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18602 to be a cons cell (test . ignored-directory) to selectively ignore
18603 some directories depending on the location of the search.
18605 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18607 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18608 remote user is root, on the local host.
18609 (tramp-local-host-p): Either the local user or the remote user
18610 must be root. (Bug#3771)
18612 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18614 * progmodes/gdb-mi.el (gdb): Remove description of
18615 gdb-use-separate-io-buffer.
18616 (menu): Don't allow toggling of or enable
18617 gdb-use-separate-io-buffer from menubar.
18619 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18621 * mail/unrmail.el (unrmail): Make sure the message ends with two
18622 newlines (Bug#3769).
18624 2009-07-08 Glenn Morris <rgm@gnu.org>
18626 * calendar/calendar.el (calendar-current-date): Rework previous change.
18628 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18630 * calendar/calendar.el (calendar-current-date):
18631 Add an optional argument giving an offset from today.
18633 2009-07-08 Glenn Morris <rgm@gnu.org>
18635 * tutorial.el (tutorial--describe-nonstandard-key):
18636 Adjust the message for when a key has been unbound.
18637 (help-with-tutorial): Hide the arch-tag.
18639 2009-07-08 Kenichi Handa <handa@m17n.org>
18641 * international/fontset.el (setup-default-fontset): For each
18642 script, append (not set) font-specs.
18644 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18647 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18649 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18650 -data-list-register-names to ...
18651 (gdb-starting): ... here because GDB 7.0 requires execution to
18652 have started when using this MI command.
18653 (gdb-set-header): New function to distinguish select and
18654 unselected tabs in gdb buffers.
18655 (gdb-propertize-header): New macro that uses gdb-set-header.
18656 (gdb-breakpoints-header, gdb-locals-header): Use it.
18657 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18659 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18661 * Makefile.in (ELCFILES): Remove fadr.elc.
18663 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18665 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18666 may contain frame information, so `string-match' should be used.
18667 (gdb-update): Disassembly is invalidated through
18668 `gdb-get-selected-frame'.
18669 (gdb-pad-string): New function to pad string with spaces.
18670 (gdb-invalidate-disassembly): Invalidate only if the buffer
18672 (gdb-disassembly-handler-custom): Column alignment.
18673 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18675 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18677 (gdb-frame-handler): Match convention to for disassembly buffer
18679 (gdb-stack-list-frames-handler): Rewritten without regexps.
18680 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18681 not highlight breakpoints without line information.
18682 (gdb-input): Add trailing newline to command.
18684 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18686 (gdb-breakpoints-list-handler-custom): Replacement for
18687 `gdb-break-list-handler'. Using real parser instead of regexps
18689 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18690 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18691 to place breakpoints.
18692 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18694 (gdb-disassembly-handler-custom): Show overlay arrow.
18695 (gdb-disassembly-place-breakpoints): Show breakpoints in
18696 disassembly buffer.
18697 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18698 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18699 instead of parsing breakpoints buffer. Fixed old menu references
18704 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18705 (gdb-memory-address): New variable which holds top address of
18706 memory page shown in memory buffer.
18707 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18708 New customization variables.
18710 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18711 display the memory buffer.
18712 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18713 buffer display parameters.
18714 (def-gdb-memory-format, gdb-memory-format-binary)
18715 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18716 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18717 Functions for setting memory buffer format.
18718 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18719 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18720 unit size used in memory buffer.
18721 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18722 Switch to next/previous page of memory buffer.
18723 Now using (bindat-get-field) instead of fadr functions.
18725 2009-07-07 Sam Steingold <sds@gnu.org>
18727 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18728 non-top-level files.
18730 2009-07-07 Kenichi Handa <handa@m17n.org>
18732 * international/mule-cmds.el (reset-language-environment):
18733 Put the highset priority to the charset iso-8859-1.
18735 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18737 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18738 to the end of the line when locating the block (Bug#700).
18740 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18742 * net/tramp.el (tramp-handle-write-region): Flush file properties
18743 in case of short track.
18745 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18747 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18748 Coded custom representation of verilog error regular expressions
18749 to work with Emacs-22's new format.
18750 (verilog-error-regexp-xemacs-alist): Coded custom representation
18751 of verilog error regular expressions to work with XEmacs format.
18752 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18753 error recognition into XEmacs.
18754 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18755 error recognition into Emacs-22.
18757 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18759 * woman.el: Remove stand-alone closing parentheses.
18760 (woman-file-name, woman2-format-paragraphs)
18761 (woman-leave-blank-lines): Code cleanup.
18762 (woman-use-own-frame): Change default to nil.
18763 (woman-italic, woman-bold, woman-unknown, woman-addition):
18764 Change defaults to inherit from default faces.
18765 (woman2-process-escapes): Consume the newline after a stand-alone
18766 filler character (Bug#3651).
18768 2009-07-06 Glenn Morris <rgm@gnu.org>
18770 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18771 (top-level): Move provide to the end.
18772 (ffap): Remove defunct URL from custom group.
18774 * subr.el (eval-after-load): Doc fix.
18776 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18778 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18779 `calc-embedded-word' is called twice.
18781 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18783 * files.el (find-alternate-file-other-window, find-alternate-file):
18784 Obey confirm-nonexistent-file-or-buffer.
18786 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18788 * dired-aux.el (dired-show-file-type): Handle remote files.
18790 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18792 * desktop.el (desktop-globals-to-save):
18793 Add file-name-history (Bug#2750).
18795 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18797 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18799 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18801 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18802 property on entire argument since this is what eshell-lisp-command
18805 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18807 * net/tramp-gvfs.el (tramp-gvfs-methods)
18808 (tramp-gvfs-zeroconf-domain)
18809 (tramp-bluez-discover-devices-timeout): Add version flag.
18810 (tramp-gvfs-handler-mounted-unmounted)
18811 (tramp-gvfs-connection-mounted-p): Polish handling of
18812 incompatibilities between GVFS 0.2 and 1.0.
18814 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18816 * cus-start.el (all): Add make-pointer-invisible.
18818 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18820 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18821 formatted correctly.
18823 2009-07-02 Juri Linkov <juri@jurta.org>
18825 * info.el: Virtual Info files and nodes.
18826 (Info-virtual-files, Info-virtual-nodes): New variables.
18827 (Info-current-node-virtual): New variable.
18828 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18830 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18831 to check for a virtual file instead of checking a fixed list
18833 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18834 instead of ad-hoc processing of "dir" and (apropos history toc).
18835 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18836 instead of ad-hoc processing of "dir" and (apropos history toc).
18837 Reread a file when moving from a virtual node.
18838 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18839 (Info-directory-toc-nodes, Info-directory-find-file)
18840 (Info-directory-find-node): New functions.
18841 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18842 (Info-history): Move part of code to
18843 `Info-history-find-node'.
18844 (Info-history-toc-nodes, Info-history-find-file)
18845 (Info-history-find-node): New functions.
18846 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18847 (Info-toc): Move part of code to `Info-toc-find-node'.
18848 (Info-toc-find-node): New function.
18849 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18850 the current Info file name to references because now the node
18851 "*TOC*" belongs to the same Info manual.
18852 (Info-toc-build): Rename from `Info-build-toc'.
18853 (Info-toc-nodes): Rename input argument `file' to `filename'.
18854 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18855 instead of ad-hoc processing of ("dir" apropos history toc).
18856 (Info-index-nodes): Use Info-virtual-file-p
18857 to check for a virtual file instead of checking a fixed list
18859 (Info-index-node): Add check for `Info-current-node-virtual'.
18860 Raise `save-match-data' higher up the tree to contain
18861 `search-forward' too (bug fix).
18862 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18863 (Info-virtual-index-nodes): New variable.
18864 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18865 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18866 (Info-apropos-file, Info-apropos-nodes): New variables.
18867 (Info-apropos-toc-nodes, Info-apropos-find-file)
18868 (Info-apropos-find-node, Info-apropos-matches): New functions.
18869 (info-apropos): Move part of code to `Info-apropos-find-node' and
18870 `Info-apropos-matches'.
18871 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18872 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18873 for a virtual file instead of checking a fixed list of node names.
18875 * simple.el (async-shell-command): New command.
18877 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18879 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18880 instead of `mount-info'.
18882 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18884 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18885 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18887 2009-07-02 Kenichi Handa <handa@m17n.org>
18889 * international/mule.el (set-keyboard-coding-system): Force *-unix
18890 coding-system to avoid eol conversion.
18892 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18894 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18895 Add handler for `process-file', `shell-command' and
18896 `start-file-process'.
18897 (tramp-gvfs-handle-shell-command)
18898 (tramp-gvfs-handle-start-file-process)
18899 (tramp-gvfs-handle-process-file): New defuns.
18900 (tramp-synce-list-devices): Simplify check for existence of property.
18902 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18904 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18906 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18908 * language/korean.el (set-language-info-alist): Add korean-cp949,
18911 2009-07-01 Kenichi Handa <handa@m17n.org>
18913 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18915 * international/encoded-kb.el: Deleted.
18917 * international/mule.el (set-keyboard-coding-system): Perform the
18918 necessary setup here instead of calling encoded-kbd-setup-display.
18920 2009-07-01 Glenn Morris <rgm@gnu.org>
18922 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18924 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18926 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18928 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18930 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18931 Handle also the 'rename case, when setting file modes. (Bug#3712)
18932 (tramp-default-file-modes): Remove execute permissions.
18934 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18935 (top): Add a default for "synce" in `tramp-default-user-alist'.
18936 Add completion function for "synce" method.
18937 (tramp-hal-service, tramp-hal-path-manager)
18938 (tramp-hal-interface-manager, tramp-hal-interface-device):
18940 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18941 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18944 * net/trampver.el: Update release number.
18946 2009-06-30 Kenichi Handa <handa@m17n.org>
18948 * international/fontset.el (setup-default-fontset): Add CJK fonts
18949 for symbols and the other miscellaneous characters.
18951 * language/korea-util.el (setup-korean-environment-internal):
18952 Make char-width-table suitable for Korean environments.
18953 (exit-korean-environment): Cancel above.
18955 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18956 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18957 setup-function to make char-width-table suitable for respective
18958 environments, and an exit-function to cancel that.
18960 * language/japan-util.el (setup-japanese-environment-internal):
18961 Call use-cjk-char-width-table with arg `ja_JP'.
18963 * international/characters.el (cjk-char-width-table): Delete it.
18964 (cjk-char-width-table-list): New variable.
18965 (use-cjk-char-width-table): New arg local-name.
18966 (use-default-char-width-table): Fix for the case that Emacs is
18967 already using the default char-width-table.
18969 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18971 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18972 modes mandatory. (Bug#3712)
18974 2009-06-29 Alan Mackenzie <acm@muc.de>
18976 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18977 correction between the visible width of TABs and their number of bytes.
18979 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18981 * server.el (server-buffer-done): Prevent kill-buffer from
18982 prompting by clearing the buffer modification flag (Bug#3696).
18984 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18986 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18987 (verilog-endcomment-reason-re): Support unique case and priority case.
18988 (verilog-basic-complete-re): Support localparam lineup.
18989 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18990 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18992 (verilog-leap-to-case-head): Now support *nested* unique &
18993 priority case statements.
18994 (verilog-auto-lineup): Make just declarations the default (as it
18996 (verilog-leap-to-case-head): Support priority/unique case statements.
18997 (verilog-auto-lineup): Rework to give users radio buttons to
18998 select the various styles of automatic lineup.
18999 (verilog-error-regexp-alist): Rework to support the XEmacs style
19000 of error regular expressions from compilers, lint tools &
19001 simulators. Note that GNU Emacs has made it impossible for a mode
19002 to load such things.
19003 (electric-verilog-terminate-line, verilog-indent-declaration)
19004 (verilog-auto-wiure): Rework for radio button selection of
19005 auto-lineup selection of specification of auto lineup.
19006 (verilog-beg-of-statement-1): Redesign to support proper operation
19007 in additional code, based on testing with auto-lineup.
19008 (verilog-calculate-indent, assignments & declarations)
19009 (verilog-backward-token): Enhance to support auto-lineup of
19010 assignments & declarations.
19011 (verilog-in-directive-p, verilog-at-struct-p): New function for
19012 easy test of whether we are.
19013 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19014 to support safe execution at almost anyline.
19015 (verilog-calc-1): Properly support indenting deep inside generate
19017 (verilog-init-font): Remove definition & use of verilog-init-font,
19018 as it is redundant with font-lock-defaults.
19019 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19020 to avoid circular calls if syntax-ppss is a function (as is the
19021 case now in 22.x GNU Emacs) as that function would sometimes call
19022 itself, leading to (nearly) infinite recursion.
19023 (verilog-ovm-begin-re, verilog-ovm-end-re)
19024 (verilog-ovm-statement-re, verilog-leap-to-head)
19025 (verilog-backward-token): Add support for OVM macros. Some are
19026 complete statements, and others open and close scopes like begin
19028 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19029 (verilog-defun-level-generate-only-re): Really fix the defun-list
19031 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19032 coverpoint, constraint and cross statements.
19033 (verilog-defun-level-list, verilog-generate-defun-level-list)
19034 (verilog-all-defun-level-list): Redo these specifications - it is
19035 too hard to support eval-when compile aggregation of lists also
19036 built at when-compile time.
19037 (verilog-defun-level-list): Place defconsts of variables used in
19038 building regular expressions which are built in eval-when-compile
19039 bodies in the same eval-when-compile body to facilitate compile
19041 (verilog-beg-block-re-ordered): Support indenting
19042 virtual/protected tasks and functions.
19043 (verilog-defun-level-list, verilog-in-generate-region-p)
19044 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19045 indentation of some module items (generate items).
19046 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19047 across virtual/protected tasks and functions.
19049 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19051 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19052 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19053 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19054 in concatenations. Reported by Yishay Belkind.
19055 (verilog-auto-ascii-enum): Support one-hot state machines in
19056 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19057 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19058 modport in AUTOINST and add vl-modport for users.
19059 Reported by David Rogoff.
19060 (verilog-auto-inout-module, verilog-auto-inst)
19061 (verilog-decls-get-interfaces, verilog-insert-definition)
19062 (verilog-insert-one-definition, verilog-read-decls)
19063 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19064 (verilog-sig-modport, verilog-signals-combine-bus)
19065 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19066 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19067 Suggested by David Rogoff.
19068 (verilog-repair-open-comma): Fix non-insertion of comma when
19069 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19070 (verilog-make-width-expression): Simplify [A-1:0] expression
19071 widths to just {A{1'b0}}.
19072 (verilog-mode): Cleanup checkdoc warnings.
19073 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19074 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19075 inputs/outputs or data type. Suggested by Vasu Kandadi.
19076 (next-error-last-buffer): Fix byte-compiler warning.
19077 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19078 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19079 or shell command text during AUTO expansion. Suggested by Tad Truex.
19080 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19081 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19082 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19083 in AUTOINOUT. Reported by Matthew Lovell.
19084 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19085 causing use of <= assignments. Reported by Alex Reed.
19086 (verilog-read-decls): Fix triand, trior, wand, wor to be
19087 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19088 (verilog-extended-complete-re): Support import "DPI-C" functions.
19089 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19090 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19091 (verilog-insert-date, verilog-insert-year)
19092 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19093 Windows systems. Reported by Michael Potts.
19094 (verilog-read-module-name): Fix AUTOINST when the child module
19095 declaration's name is a tick define. Reported by Elliot Mednick.
19096 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19097 passed to next parameter's definition. Reported by Bruce T.
19098 (verilog-read-decls): Fix detecting "parameter int" when using
19099 AUTOINSTPARAM. Reported by Bruce T.
19100 (verilog-goto-defun): Fix goto not finding modules unless first
19101 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19102 (verilog-mode): Expand -f flag arguments on entry to mode so
19103 verilog-goto-defun will work. Reported by Lawrence Butcher.
19104 (verilog-getopt): Expand environment variables in -f file
19105 arguments. Suggested by Lawrence Butcher.
19106 (verilog-set-define): Fix "Symbol's value as variable is void"
19107 when reading enumerations.
19108 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19109 Suggested by Stephen Peltan.
19110 (verilog-read-defines): Fix reading of enumerations in include
19111 files. Reported by Steve Peltan.
19113 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19115 * files.el (trash-directory): Fix defcustom type.
19117 2009-06-28 Juri Linkov <juri@jurta.org>
19119 * help-fns.el (describe-function-1): Correctly locate adviced
19120 functions in hyperlink (Bug#2438).
19122 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19124 * files.el (trash-directory): Change default to nil.
19125 (move-file-to-trash): If trash-directory is nil and
19126 system-move-file-to-trash is unbound, perform freedesktop-style
19129 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19131 * files.el (move-file-to-trash): Add freedesktop trash
19134 2009-06-28 Glenn Morris <rgm@gnu.org>
19136 * autorevert.el (global-auto-revert-non-file-buffers)
19137 (global-auto-revert-mode): Doc fixes.
19139 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19141 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19143 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19145 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19146 opened an X connection before calling x-get-resource (Bug#3194).
19148 * play/doctor.el: Remove reference to obsolete website.
19149 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19151 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19153 Remove find-file-not-found-hook VC method. (Bug#2757)
19154 * vc-hooks.el (vc-file-not-found-hook)
19155 (vc-default-find-file-not-found-hook): Remove functions.
19156 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19157 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19160 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19162 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19164 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19165 compatibility function for `looking-back'.
19167 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19168 Use `ispell-looking-back'.
19170 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19172 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19173 rather than `filename'.
19175 2009-06-23 Miles Bader <miles@gnu.org>
19177 * face-remap.el (text-scale-set): New function.
19179 2009-06-23 Glenn Morris <rgm@gnu.org>
19181 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19183 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19185 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19187 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19189 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19190 Simplify Persian conditionals.
19192 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19193 variable `filename'.
19195 * comint.el (comint-insert-input): Doc fix.
19197 * Makefile.in (ELCFILES): Fix typo in previous change.
19199 2009-06-23 Miles Bader <miles@gnu.org>
19201 * cus-start.el: Add entry for `recenter-redisplay'.
19203 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19205 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19206 Add an optional argument for the backend, use it instead of
19207 calling vc-backend.
19208 (vc-mode-line): Add an optional argument for the backend.
19209 Pass the backend to vc-state and vc-working-revision. Move code for
19210 special handling for vc-state being a buffer to ...
19212 * vc-rcs.el (vc-rcs-find-file-hook):
19213 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19215 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19216 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19217 vc-stay-local-p and vc-mode-line calls.
19219 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19220 (vc-cvs-diff, vc-cvs-annotate-command)
19221 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19222 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19223 vc-mode-line calls.
19225 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19227 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19228 backend when calling vc-mode-line.
19229 (vc-register): Do not create a closure for calling the vc register
19230 function, call it directly.
19232 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19234 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19235 to make it obvious item can be clicked.
19237 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19239 2009-06-23 Kenichi Handa <handa@m17n.org>
19241 * language/korea-util.el (korean-key-bindings): Change the binding
19242 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19245 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19247 Sync with Tramp 2.1.16.
19249 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19251 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19252 when a loading of a package fails. Completion function for rsync
19253 is `tramp-completion-function-alist-ssh'.
19254 (all): Replace all calls of `split-string' and
19255 `tramp-split-string' by `tramp-compat-split-string'.
19256 (tramp-default-method): Use `tramp-compat-process-running-p'.
19257 (tramp-default-proxies-alist): Allow also Lisp forms.
19258 (tramp-remote-path): Add choice "Private Directories".
19259 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19260 (tramp-domain-regexp): Allow also "-", "_" and ".".
19261 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19262 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19263 (tramp-debug-message): Insert header line in debug buffer.
19264 (tramp-handle-directory-files-and-attributes-with-stat):
19265 Care about filenames with spaces, or starting with "-".
19266 (tramp-handle-dired-uncache): New defun.
19267 (tramp-handle-insert-directory): Don't flush the directory from
19268 cache, this is handled by `dired-uncache' now.
19269 (tramp-handle-insert-file-contents): Improve error handling.
19270 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19271 Quote `tramp-end-of-output'.
19272 (tramp-action-password): Improve trace message.
19273 (tramp-check-for-regexp): Both echoes must be present, before removing.
19274 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19275 (tramp-compute-multi-hops): Eval cons cells of
19276 `tramp-default-proxies-alist'.
19277 (tramp-maybe-open-connection): Use the same command pattern for
19278 first hop and further hops.
19279 (tramp-wait-for-output): Remove handling of newlines.
19280 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19281 (tramp-split-string): Remove function. It is handled in
19284 * net/tramp-cmds.el (tramp-bug):
19285 Recommend `tramp-cleanup-all-connections' in the bug mail.
19287 * net/tramp-compat.el (tramp-compat-split-string)
19288 (tramp-compat-process-running-p): New defuns.
19290 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19291 for `dired-uncache'.
19293 * net/tramp-gvfs.el: New package.
19295 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19296 Add handler for `dired-uncache'.
19297 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19299 * net/trampver.el: Update release number. Make version check fit
19302 2009-06-22 Jim Meyering <meyering@redhat.com>
19304 Automatically handle .xz suffix (XZ-compressed files), too.
19305 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19306 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19308 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19309 Nick Roberts <nickrob@snap.net.nz>
19311 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19312 repository (http://sphinx.net.ru/hg/gdb-mi/).
19314 2009-06-22 Glenn Morris <rgm@gnu.org>
19316 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19317 `mode' and `eval' entries. (Bug#3430)
19319 * Makefile.in (ELCFILES): Add fadr.elc.
19321 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19322 differing behavior of \n and ^ in strings. (Bug#3385)
19324 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19326 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19328 (lisp-indent-function): Make it a defcustom.
19330 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19332 * progmodes/gdb-ui.el: Replace with ...
19333 * progmodes/gdb-mi.el: ... this file.
19334 * progmodes/gud.el: Modify for gdb-mi.el.
19336 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19338 * fadr.el: New file.
19340 See ChangeLog.14 for earlier changes.
19342 ;; Local Variables:
19346 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19348 This file is part of GNU Emacs.
19350 GNU Emacs is free software: you can redistribute it and/or modify
19351 it under the terms of the GNU General Public License as published by
19352 the Free Software Foundation, either version 3 of the License, or
19353 (at your option) any later version.
19355 GNU Emacs is distributed in the hope that it will be useful,
19356 but WITHOUT ANY WARRANTY; without even the implied warranty of
19357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19358 GNU General Public License for more details.
19360 You should have received a copy of the GNU General Public License
19361 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.