1 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
3 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4 Don't move backward, so as not to fall in an inf-loop (bug#7736).
6 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
7 Handle ?" and friends differently (e.g. don't use backrefs).
9 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
11 * calc/calc.el (calc-default-power-reference-level)
12 (calc-default-field-reference-level): New variables.
13 * calc/calc-units.el (math-standard-units): Add dB and Np.
14 (math-logunits): New variable.
15 (math-extract-logunits, math-logcombine, calcFunc-luplus)
16 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
17 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
19 (math-find-base-units-rec): Add entry for ln(10).
20 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
21 (calc-ul-prefix-help): New function.
22 * calc/calc-ext.el (calc-init-extensions): Autoload new units
23 functions. Add keybindings for new units functions.
25 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr>
27 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
30 2011-01-22 Glenn Morris <rgm@gnu.org>
32 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
33 split out from copyright-update-year.
34 (copyright-update): Don't mess with the GPL version if we don't own the
35 copyright. Update license regexp, and remove no longer needed
37 (copyright-fix-years): Use copyright-find-copyright.
39 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
41 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
43 2011-01-22 Jari Aalto <jari.aalto@cante.net>
45 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
46 (lm): Rename to landmark.
47 (lm-test-run): Rename to landmark-test-run.
49 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
51 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
52 "Case sensitive" menu item.
54 2011-01-22 Roland McGrath <roland@frob.com>
56 * comint.el (comint-replace-by-expanded-history-before-point): Fix
57 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
59 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
61 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
63 2011-01-22 Jari Aalto <jari.aalto@cante.net>
65 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
66 Assume foo(bar) is a manpage reference rather than some unquoted
69 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
71 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
72 Suggested by Flo <sensorflo@gmail.com>.
74 2011-01-22 Glenn Morris <rgm@gnu.org>
76 * progmodes/compile.el (compilation-error-regexp-alist):
77 Fix custom type. (Bug#7812)
79 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
81 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
82 allout-number-siblings, in keeping with what obtained due to
83 (now-defunct) allout-keybindings-list. Ditch repeat binding to
85 (allout-before-change-handler): Better expose spots affected by
88 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
90 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
92 2011-01-22 Phil Hagelberg <phil@evri.com>
94 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
95 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
96 (pcmpl-ssh-config-hosts): New function.
97 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
98 pcmpl-ssh-known-hosts.
100 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
102 * calc/calc-undo.el (calc-undo): Autoload it.
103 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
104 and autoload for `calc-undo'.
105 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
107 * calc/calc-graph.el:
108 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
110 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
112 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
113 keybindings to `calc-undo'.
115 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
117 Don't mess with *temp*.
118 * obsolete/spell.el: Move from textmodes/spell.el.
120 * term.el (term-read-input-ring):
121 * startup.el (display-startup-echo-area-message):
122 * progmodes/antlr-mode.el (antlr-directory-dependencies):
123 * comint.el (comint-read-input-ring): Use with-temp-buffer.
124 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
127 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
129 * allout.el: (allout-institute-keymap): Use fset instead of
132 (allout-hotspot-key-handler): Check for non-control-modified
133 bindings for hotspot characters if there are no control-modified
136 * allout.el: Summary - migrate to defining allout mode using
137 define-minor-mode instead of defun. Significantly clean-up
138 internal keymap provisions, refactoring and, in the process,
139 removing a lot of accumulated cruft.
141 allout-mode-map is now a keymap by virtue of being a defalias to
142 allout-mode-map-value, which contains the actual keymap structure.
144 (allout-mode): Use define-minor-mode rather than defun.
145 Remove now-unnecessary minor-mode setup activities from the body.
146 Specify :keymap as allout-mode-map so the minor-mode-map-alist
147 entry will be '(allout-mode . allout-mode-map) - see
148 allout-mode-map-value, below. Adjust docstring to track changes.
149 (allout-minor-mode): Remove this defalias, now that we're using
151 (allout-mode-map): Set value to be 'allout-mode-map. The actual
152 keymap is allout-mode-map-value, via defalias.
153 (allout-mode-map-value): The variable holding the actual mode
154 keymap structure, by virtue of defalias from allout-mode-map.
155 (allout-compose-and-institute-keymap): Rename from
156 allout-bind-keys, and including the binding-composition
157 functionality of the former produce-allout-mode-map and
158 allout-setup-mode-map.
159 (allout-institute-keymap): Take over the "setup" part of the former
160 allout-setup-mode-map. Reassign allout-mode-map-value value and
162 (allout-command-prefix) (allout-prefixed-keybindings)
163 (allout-unprefixed-keybindings):
164 Use allout-compose-and-institute-keymap to process the bindings.
165 (allout-unprefixed-keybindings): Remove extraneous '?' question
167 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
168 user can customize if they want to use that binding.
169 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
170 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
171 elided that, previously, instead of the one for \C-h.)
172 (allout-hotspot-key-handler): Remove attempt to resolve the key
173 through the literal key-string lookup on allout-keybindings-list.
174 That probably hasn't worked for a Long Time, and removal of
175 allout-keybindings-list further simplifies the keybindings
177 (allout-pre-command-business): Use allout-mode-map-value instead
179 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
180 the bindings if they want to use a keybinding having a trailing
181 \C-h. No deprecation needed since this feature was never in a
183 (allout-keybindings-list): Remove. It's not been useful for a
184 while. (See allout-hotspot-key-handler changes, above.)
185 (produce-allout-mode-map): Remove. Consolidate into
186 allout-compose-and-institute-keymap.
187 (allout-mode-map-adjustments): Remove. No longer necessary with
188 removal of allout-preempt-trailing-ctrl-h.
189 (allout-setup-mode-map): Remove. Consolidate into
190 allout-compose-and-institute-keymap and allout-institute-keymap.
192 2011-01-20 Glenn Morris <rgm@gnu.org>
194 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
196 * simple.el (read-expression-history): Remove, it's in minibuf.c.
198 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
200 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
202 * files.el (find-alternate-file, basic-save-buffer)
203 (basic-save-buffer-2, revert-buffer, recover-file)
204 (kill-buffer-ask, abort-if-file-too-large)
205 (set-visited-file-name, write-file, backup-buffer)
206 (basic-save-buffer, save-some-buffers):
207 * dired-aux.el (dired-compress-file): Callers changed.
209 2011-01-19 Glenn Morris <rgm@gnu.org>
211 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
212 Also check the property status. (Bug#7861)
214 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
216 * net/tramp.el (tramp-debug-message): Extend function exclude
217 list. Use `regexp-opt'.
219 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
221 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
222 highlighting doesn't spill over subsequent lines.
224 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
225 keymap expression. Improve docstring.
227 * electric.el (electric-indent-post-self-insert-function):
228 Don't auto-indent for indent-to-left-margin, it's too often
231 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
233 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
234 spaces if the frame was resized, so that the full visible buffer
235 serves as canvas for strokes.
237 2011-01-16 Glenn Morris <rgm@gnu.org>
239 * info-xref.el (info-xref-docstrings): Replace cl function.
240 Also skip directories.
242 2011-01-16 Kevin Ryde <user42@zip.com.au>
244 * info-xref.el: Version 3.
245 (info-xref-check, info-xref-check-all): Move commentary details
246 into docstrings for better visibility.
247 Use compilation-mode for the results buffer.
248 (info-xref-output, info-xref-output-error, info-xref-with-output)
249 (info-xref-filename, info-xref-in-progress):
250 New internals for this.
251 (info-xref-check-list, info-xref-check-buffer)
252 (info-xref-check-all-custom): Use those.
253 (info-xref-output-buffer): Rename from info-xref-results-buffer.
254 (info-xref-output-heading): Rename from info-xref-filename-heading.
255 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
256 (info-xref-filename-heading): Move to output managing section.
257 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
258 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
259 (info-xref-subfile-p): Move to generic section with those two.
260 (info-xref-check-node): New function split from
261 info-xref-check-buffer, shared by info-xref-docstrings.
262 (info-xref-goto-node-p): Move to a checking section with that func.
263 (info-xref-unavail): New counter.
264 (info-xref-check-node): Use it.
265 (info-xref-with-output): Show count of unavailables at end of output.
266 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
267 symlinks. Exclude .texi files. Exclude Emacs backup files.
268 (info-xref-check-all-custom): Fix quietening viper-mode and
269 gnus-registry-install -- use setq not let so as not to unbind
272 2011-01-16 Juri Linkov <juri@jurta.org>
274 * isearch.el (isearch-abort): Don't quit if search has
275 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
277 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
279 * files.el (backup-buffer): Make last-resort backup file in
282 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
283 make it with permission 700.
285 2011-01-15 Kenichi Handa <handa@m17n.org>
287 * mail/rmailmm.el (rmail-mime-insert-header):
288 Set rmail-mime-coding-system to a cons whose car is the last coding
289 system used to decode the header.
290 (rmail-mime-find-header-encoding): New function.
291 (rmail-mime-insert-decoded-text):
292 Override rmail-mime-coding-system if it is a cons.
293 (rmail-show-mime): If only a header part was decoded, find the
294 coding system while ignoring mm-charset-override-alist.
296 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
298 * subr.el (event-start, event-end): Doc fix (Bug#7826).
300 2011-01-15 Kenichi Handa <handa@m17n.org>
302 * mail/rmailmm.el (rmail-mime-next-item)
303 (rmail-mime-previous-item): Delete them.
304 (rmail-mime-shown-mode): Recursively call for children.
305 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
307 (rmail-mime-raw-mode): Recursively call for children.
308 (rmail-mode-map): Change mapping of tab and backtab to
309 forward-button and backward-button respectively.
310 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
312 (rmail-mime-update-tagline): New function.
313 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
314 body display is changed.
315 (rmail-mime-toggle-button): Rename from rmail-mime-image.
316 (rmail-mime-image): Delete this button type.
317 (rmail-mime-toggle): New button type.
318 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
319 body display is changed. Change the save button label to "Save".
320 Don't process show/hide button here.
321 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
322 the body display is changed. Unconditionally call
323 rmail-mime-insert for children.
324 (rmail-mime-handle): Update `display' vector of the just inserted
326 (rmail-mime-process): If mail-header-parse-content-type returns
327 nil, use "text/plain" as the fallback type.
328 (rmail-mime-insert): For raw-mode, recursively call
329 rmail-mim-insert for children.
330 (rmail-mime): Handle the case that the current buffer is not rmail
331 buffer (e.g. in summary buffer).
333 2011-01-15 Kenichi Handa <handa@m17n.org>
335 * mail/rmailmm.el (rmail-mime-next-item)
336 (rmail-mime-previous-item): Skip the body of a non-multipart
337 entity if a tagline is shown.
339 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
341 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
342 (tmm-prompt): Simplify.
343 (tmm-add-prompt): Remove unused var `win'.
345 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
346 to minor mode which used nil accidentally to mean "turn off".
348 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
350 * net/tramp-sh.el (tramp-find-inline-compress)
351 (tramp-get-inline-coding): Quote command after pipe symbol for
352 local calls under W32. (Bug#6784)
354 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
356 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
357 only when running under W32.
359 2011-01-15 Eli Zaretskii <eliz@gnu.org>
361 * progmodes/grep.el (grep-compute-defaults): Quote the program
362 file name after the pipe symbol in Grep templates. (Bug#6784)
363 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
365 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
367 * buff-menu.el (Buffer-menu-buffer-list): New var.
368 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
369 restricted buffer list is not lost on revert (Bug#7749).
371 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
373 * net/ldap.el (ldap-search-internal): Discard stderr output.
375 2011-01-15 Eli Zaretskii <eliz@gnu.org>
377 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
379 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
381 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
383 2011-01-15 Kenichi Handa <handa@m17n.org>
385 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
386 part as a plain text.
387 (rmail-mime-process-multipart): Set the default content-type to
388 nil for unknown multipart subtypes (bug#7651).
390 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
392 * hexl.el (hexl-mode-old-*): Remove.
393 (hexl-mode--old-var-vals): New var to replace them.
394 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
395 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
396 Use them to set local vars (bug#7846).
397 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
398 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
399 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
401 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
402 (smerge-resolve--normalize-re): New var.
403 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
404 (smerge-resolve): Use them.
405 * newcomment.el (comment-only-p): New function.
406 (comment-or-uncomment-region): Use it.
408 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
410 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
411 table, get the value before switching to the output buffer. (Bug#7733)
413 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
415 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
417 2011-01-14 Kim F. Storm <storm@cua.dk>
419 * emulation/cua-base.el (cua--init-keymaps):
420 Remap exchange-point-and-mark in cua-global-keymap.
422 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
424 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
427 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
429 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
431 (easy-menu-create-menu, easy-menu-convert-item-1):
432 Use :label rather than nil for labels. Use `case'.
433 Add :enable as alias for :active.
434 (easy-menu-binding): Obey :label.
436 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
438 Use run-mode-hooks for major mode hooks (bug#513).
439 * textmodes/reftex-toc.el (reftex-toc-mode-map):
440 Rename from reftex-toc-map.
441 (reftex-toc-mode): Use define-derived-mode.
442 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
443 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
444 Rename from reftex-select-(label|bib)-map. Move init into declaration.
445 (reftex-select-label-mode, reftex-select-bib-mode):
446 Use define-derived-mode.
447 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
448 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
449 Move init into delcaration.
450 (reftex-index-mode, reftex-index-phrases-mode):
451 Use define-derived-mode.
452 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
453 speedbar-syntax-table. Move init into declaration.
454 (speedbar-mode-map): Rename from speedbar-key-map.
455 Move init into declaration.
456 (speedbar-file-key-map): Move init into declaration.
457 (speedbar-mode): Use define-derived-mode.
458 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
459 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
460 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
461 (chart-face-list): Move initialization into declaration.
462 (chart-mode): Use define-derived-mode.
463 * calculator.el (calculator-mode-map): Move init into declaration.
464 (calculator-mode): Use define-derived-mode.
466 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
467 work for nested comments.
469 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
470 (prolog-use-prolog-tokenizer-flag): Change default when
471 syntax-propertize can be used.
472 (prolog-syntax-propertize-function): New var.
473 (prolog-mode-variables): Move make-local-variable into `set'.
474 Don't make comment-column local since we don't set it.
475 Set comment-add (as it was in previous prolog.el). Use dolist.
476 Set syntax-propertize-function.
477 (prolog-mode, prolog-inferior-mode):
478 Call prolog(-inferior)-menu directly, not through the mode-hook.
479 (prolog-buffer-module, prolog-indent-level)
480 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
481 (prolog-comment-limits, prolog-goto-comment-column):
482 Use line-(end|beginning)-position.
483 (prolog-build-prolog-command): Tighten up regexp.
484 (prolog-consult-compile): Move make-local-variable into `set'.
485 (prolog-consult-compile-filter, prolog-goto-next-paren)
486 (prolog-help-on-predicate, prolog-clause-info)
487 (prolog-mark-predicate): Don't let+setq.
488 (prolog-indent-line): Use indent-line-to.
489 Only call prolog-goto-comment-column if necessary.
490 (prolog-indent-level): Use bobp.
491 (prolog-first-pos-on-line): Remove, not used any more.
492 (prolog-in-string-or-comment): Use syntax-ppss if available.
493 (prolog-help-on-predicate): Use read-string.
494 (prolog-goto-predicate-info): Simplify.
495 (prolog-read-predicate): Use `default' rather than `initial'.
496 (prolog-temporary-file): Use make-temp-file to close a security hole.
497 (prolog-toggle-sicstus-sd): New command.
498 (prolog-electric-underscore, prolog-variables-to-anonymous):
499 Use dynamic-scoping as it was meant.
500 (prolog-menu): Move menu definitions to top-level.
501 Use a toggle-button for Sicstus's source debugger.
502 Change "Code" to the more usual "Prolog", and hence change "Prolog"
504 (prolog-inferior-menu): Reuse prolog-menu's help menu.
505 Move other menu definition to top-level.
507 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
509 * doc-view.el (doc-view-open-text): Use meaningful text buffer
510 name. Keep original document's directory as default-directory
512 (doc-view-initiate-display): Fall back to normal mode when
513 doc-view-mode cannot be enabled, also when extracting the document
514 text into a separate buffer (bug#6446).
516 * simple.el (shell-command): Don't error out if shell command
517 buffer contains text with non-nil read-only property when erasing
520 2011-01-13 Kim F. Storm <storm@cua.dk>
522 * ido.el (ido-may-cache-directory): Move "too-big" check later.
523 (ido-next-match, ido-prev-match): Fix stray reordering of matching
524 items when cycling through the matches.
526 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
528 * dired-x.el (dired-omit-verbose): New defcustom that allows
529 disabling the omit messages.
530 (dired-omit-expunge): Use it.
532 2011-01-13 Christian Ohler <ohler@gnu.org>
534 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
536 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
538 * font-lock.el (font-lock-verbose): Default to nil.
540 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
542 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
543 (compose-mail): New arg RETURN-ACTION.
544 (compose-mail-other-window, compose-mail-other-frame): Likewise.
546 * mail/sendmail.el (mail-return-action): New var.
547 (mail-mode): Make it buffer-local.
548 (mail-bury): Obey it. Move special Rmail window handling to
550 (mail, mail-setup): New arg RETURN-ACTION.
551 (sendmail-user-agent-compose): Move from simple.el.
553 * mail/rmail.el (rmail-mail-return): New function.
554 (rmail-start-mail): Pass it to compose-mail.
556 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
558 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
559 menus. Add menu item for customize-themes.
561 * cus-theme.el (customize-themes):
562 * emacs-lisp/package.el (package--list-packages):
563 Use switch-to-buffer.
565 2011-01-11 Johan Bockgård <bojohan@gnu.org>
567 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
569 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
571 * progmodes/prolog.el: Fix up coding convention and such.
572 (prolog-indent-width): Use the same default as in
573 previous prolog.el rather than tab-width which depends on which buffer
574 is current when the file is loaded.
575 (prolog-electric-newline-flag): Only enable if electric-indent-mode
577 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
578 (prolog-known-systems): Remove.
579 (prolog-mode-syntax-table, prolog-inferior-mode-map):
580 Move initialization into declaration.
581 (prolog-mode-map): Move initialization into declaration.
582 Remove system-specific mode-map vars, since they referred to the same
584 (prolog-mode-variables): Obey the user's preference w.r.t
585 adaptive-fill-mode. Prefer symbol-value to `eval'.
586 (prolog-mode-keybindings-edit): Add compatibility bindings.
587 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
588 (mercury-mode-map): New var.
589 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
590 (prolog-ensure-process, prolog-process-insert-string)
591 (prolog-consult-compile): Use with-current-buffer.
592 (prolog-guess-fill-prefix): Simplify data flow.
593 (prolog-replace-in-string): New function to use instead of
595 (prolog-enable-sicstus-sd): Don't abuse `eval'.
596 (prolog-uncomment-region): Use `uncomment-region' when available.
597 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
598 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
599 of int-to-char and char-to-int.
600 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
602 2011-01-11 Stefan Bruda <stefan@bruda.ca>
604 * progmodes/prolog.el: Replace by a whole new file.
606 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
608 * subr.el (eval-after-load): Fix timing for features (bug#7769).
609 (declare-function, undefined, insert-for-yank)
610 (replace-regexp-in-string): Follow checkdoc's recommendations.
612 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
614 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
615 refreshing the diary buffer.
617 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
619 * allout.el: Add 2011 to the file copyright.
620 (allout-encrypt-string): Prevent encryption from adding an extra
621 newline at the end of the topic body.
622 (allout-version): Increment to 2.3.
624 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
626 * net/dbus.el (dbus-unregister-service): Complete doc.
627 Fix call of dbus-error signal.
628 (dbus-register-property): Use `dont-register' keyword.
630 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
632 * net/dbus.el (dbus-unregister-service): Translate returned
633 integer into a symbol.
634 (dbus-register-property): Use `dbus-register-service' to do the
637 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
639 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
640 Suggested by Joakim Verona.
642 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
644 * wid-edit.el (visibility): Replace :on-image and :off-image
645 widget properties with :on-glyph and :off-glyph, for consistency
646 with the `visibility' widget.
647 (widget-toggle-value-create, widget-visibility-value-create):
648 Merge into a single function `widget-toggle-value-create'.
650 * cus-edit.el (custom-variable-value-create, custom-visibility)
651 (custom-face-edit-value-create, custom-face-value-create):
652 Replace :on-image and :off-image widget properties with :on-glyph and
653 :off-glyph, for consistency with the `visibility' widget.
655 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
657 * net/ldap.el (ldap-search-internal): Don't use eval.
659 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
661 * subr.el (read-char-choice): Use read-key.
663 * custom.el (custom-safe-themes): Rename from
664 custom-safe-theme-files. Add :risky tag.
665 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
666 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
668 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
670 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
671 from Search and add a label to Undo.
673 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
674 inappropriate buttons and adding :vert-only tags.
676 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
677 removal of Help tool-bar button. Remove Undo button for space.
679 * info.el (info-tool-bar-map): Add :vert-only tags.
681 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
683 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
684 image backend support. Either of them is fine.
686 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
688 * subr.el (y-or-n-p): Doc fix.
690 * custom.el (custom-safe-theme-files): New defcustom.
691 (custom-theme-load-confirm): New function.
692 (load-theme): Load theme using `load', confirming with
693 custom-theme-load-confirm if necessary.
695 * subr.el (read-char-choice): New function, factored out from
696 dired-query and hack-local-variables-confirm.
698 * dired-aux.el (dired-query):
699 * files.el (hack-local-variables-confirm): Use it.
701 * dired-aux.el (dired-compress-file):
702 * files.el (abort-if-file-too-large, find-alternate-file)
703 (set-visited-file-name, write-file, backup-buffer)
704 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
705 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
706 Use new format string args for y-or-n-p and yes-or-no-p.
708 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
710 * progmodes/compile.el (compilation-error-regexp-alist-alist)
711 [gcc-include]: Tighten file name match, add match for column
713 [gnu]: Remove unused group.
715 2011-01-08 Glenn Morris <rgm@gnu.org>
717 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
719 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
721 2011-01-07 Sam Steingold <sds@gnu.org>
723 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
724 the `explicit-shell-file-name' because that is the
725 non-interactive shell.
727 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
729 * subr.el (y-or-n-p): Accept format string args.
731 2011-01-07 Glenn Morris <rgm@gnu.org>
733 * Makefile.in (EMACSOPT): Add --no-site-lisp.
735 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
737 * allout.el (allout-back-to-current-heading): Ensure return to
738 the visible containing topic, rather than a collapsed one.
739 (allout-view-change-hook): Remove hook that was deprecated long ago.
740 (allout-exposure-change-hook): Remove documentation remarks
741 concerning removed allout-view-change-hook.
742 (allout-flag-region): Remove invocation of and documentation
743 remarks concerning allout-view-change-hook.
745 2011-01-06 Glenn Morris <rgm@gnu.org>
747 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
748 (vc-bzr-annotate-extract-revision-at-line):
749 Handle authors with embedded spaces. (Bug#7792)
751 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
753 * doc-view.el (doc-view-image-width): New variable.
754 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
755 backend for PNG images, and do dynamic rescaling instead of
756 reconverting the whole doc.
758 2011-01-05 Glenn Morris <rgm@gnu.org>
760 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
762 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
764 * allout.el: Reconcile with changes in line movement behavior for
765 long text lines that cross more than a single physical window
766 line, ie when truncate-lines is nil.
767 (allout-next-visible-heading): Provide for change in line-move
768 behavior on long lines when truncate-lines is nil. In that case,
769 line-move can wind up on the same textual line when it moves to
770 the next window line, and moving to the bullet position after the
771 move yields zero advancement. Add logic to detect and compensate
772 for the lack of progress.
773 (allout-current-topic-collapsed-p): move-end-of-line respect for
774 field boundaries is different when operating with body lines
775 shorter than window width versus ones greater than window width,
776 which can yield false negatives in this function. Avoid
777 difference by applying move-end-of-line while field-text-motion is
780 2011-01-04 Glenn Morris <rgm@gnu.org>
782 * textmodes/rst.el (rst-compile-toolsets):
783 Add pdf and s5 to option alist.
785 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
787 * net/dbus.el (dbus-register-property): Add optional parameter
788 dont-register-service. Updated docstring accordingly.
790 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
792 * textmodes/rst.el (rst-compile-pdf-preview)
793 (rst-compile-slides-preview): Remove extra line.
795 2011-01-04 Glenn Morris <rgm@gnu.org>
797 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
798 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
799 default to `prog' without a .py extension.
800 (rst-compile-pdf-preview, rst-compile-slides-preview):
801 Use program names from rst-compile-toolsets, rather than hard-coding.
802 (rst-portable-mark-active-p): Fix presumed typo.
804 2011-01-02 Eli Zaretskii <eliz@gnu.org>
806 * term/w32-win.el (dynamic-library-alist): Set up correctly for
807 libpng versions both before and after 1.4.0. (Bug#7716)
809 2011-01-02 Eli Zaretskii <eliz@gnu.org>
811 * time.el (display-time-mode): Mention display-time-interval in
812 the doc string. (Bug#7713)
814 2011-01-02 Kenichi Handa <handa@m17n.org>
816 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
817 condition-case and return an error message string if something
819 (rmail-show-mime): Adjust for the above change. Insert the
820 header by rmail-mime-insert-header.
822 2011-01-02 Kenichi Handa <handa@m17n.org>
824 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
825 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
826 (rmail-mime-mbox-buffer)
827 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
828 (rmail-mime-entity): Argument changed. All codes handling an
829 entity object are changed.
830 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
832 (rmail-mime-entity-children, rmail-mime-entity-handler)
833 (rmail-mime-entity-tagline): New functions.
834 (rmail-mime-message-p): New function.
835 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
836 (rmail-mime-entity-segment, rmail-mime-next-item)
837 (rmail-mime-previous-item, rmail-mime-shown-mode)
838 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
839 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
840 (rmail-mime-insert-tagline, rmail-mime-insert-header):
842 (rmail-mime-text-handler): Call rmail-mime-insert-text.
843 (rmail-mime-insert-decoded-text): New function.
844 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
845 (rmail-mime-insert-image): Argument changed. Caller changed.
846 (rmail-mime-image): Call rmail-mime-toggle-hidden.
847 (rmail-mime-set-bulk-data): New funciton.
848 (rmail-mime-insert-bulk): Argument changed.
849 (rmail-mime-multipart-handler): Return t.
850 (rmail-mime-process-multipart): Argument changed.
851 Handle "multipart/alternative" here.
852 (rmail-mime-process): Argument changed.
853 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
854 (rmail-mime-insert): Argument changed. Handle raw display mode.
855 (rmail-mime): Argument changed. Handle toggling of raw display
857 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
858 rmail-mime-view-buffer.
859 (rmail-insert-mime-forwarded-message): Likewise.
860 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
862 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
863 non-nil, handle the header in rmail-show-mime-function.
865 2011-01-02 Leo <sdl.web@gmail.com>
867 * help-fns.el (describe-variable): Fix previous change.
869 2011-01-02 Juri Linkov <juri@jurta.org>
871 * isearch.el (isearch-lazy-highlight-error): New variable.
872 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
873 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
874 to the current value of `isearch-error' (Bug#7468).
876 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
878 * help-fns.el (describe-variable): Don't emit trailing whitespace
881 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
883 * textmodes/rst.el (rst-compile-pdf-preview)
884 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
886 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
888 * emulation/edt-mapper.el: Override mapping of function keys so
889 that the later call to read-key-sequence works.
891 2011-01-02 Eli Zaretskii <eliz@gnu.org>
893 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
894 Unix EOLs. (Bug#7589)
896 2011-01-02 Leo <sdl.web@gmail.com>
898 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
899 if point is not behind eshell-last-output-end (Bug#7585).
901 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
903 * files.el (file-local-variables-alist):
904 Make permanent-local (bug#7767).
906 2011-01-02 Glenn Morris <rgm@gnu.org>
908 * version.el (emacs-copyright): Set short copyright year to 2011.
910 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
912 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
913 an existing temp buffer. (Bug#7746)
915 2011-01-02 Glenn Morris <rgm@gnu.org>
917 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
918 multiple addresses. (Bug#7760)
920 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
922 * allout.el (allout-auto-fill): Do not infinitely recurse - use
923 do-auto-fill if everything points back to allout-auto-fill.
924 (allout-mode-deactivate-hook): Declare obsolete, in favor of
925 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
927 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
929 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
932 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
934 * doc-view.el (doc-view-set-doc-type): New function refactored
936 (doc-view-fallback-mode): New function.
937 (doc-view-mode): Use it.
938 (doc-view-mode-maybe): New function that checks if doc-view-mode
939 can be used and falls back to the next best mode otherwise.
941 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
942 DVI, OpenDocument, and MS Office files.
944 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
946 * emacs-lisp/rx.el (rx-syntax): Fix typo.
948 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
950 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
951 on a copy of auto-mode-alist, because that deletes with side
954 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
956 * doc-view.el (doc-view-mode, doc-view-toggle-display):
957 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
958 fallback instead of hard coding fundamental mode.
960 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
962 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
963 Office) files also for searching.
965 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
967 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
968 Office) files. Not yet enabled via auto-mode-list.
969 (doc-view-unoconv-program): New custom variable.
970 (doc-view-mode-p): Handle new odf document type.
971 (doc-view-odf->pdf): New conversion function.
972 (doc-view-convert-current-doc): Call it for odf files.
973 (doc-view-mode): Recognize newly supported file extensions.
975 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
977 * net/tramp.el (tramp-default-method-alist)
978 (tramp-default-user-alist)
979 (tramp-local-host-regexp, tramp-prefix-domain-format)
980 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
987 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
988 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
990 2010-12-29 Karl Fogel <kfogel@red-bean.com>
992 * saveplace.el (save-place-alist-to-file): Save list sorted and
993 pretty-printed, so that it is mergeable by line-based text merging,
994 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
996 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
998 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
999 (allout-mode): Argument "toggle" => "force".
1000 Refine the docstring.
1001 Remove special provisions for reactivation, besides the 'force'
1003 Consolidate layout provisions coce directly into the activation
1004 condition branch, now that we've removed those provisions.
1005 (allout-unload-function): Explicitly activate the mode before
1006 deactivating, if it's initially deactivated.
1007 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1008 warnings for version of function used only where
1009 set-buffer-multibyte is unavailable.
1011 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1013 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1014 are handled by the menu-bar entries. As before, don't use
1015 :visibile to avoid changing the tool-bar.
1017 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1019 * net/secrets.el (secrets-delete-alias): New defun.
1021 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1023 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1024 methods, otherwise ~/.ssh/config would be ignored.
1026 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * emacs-lisp/rx.el: Make it a superset of sregex.
1029 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1030 of args, add `regex' alias.
1031 (rx-info): Add arg to distinguish head and standalone forms.
1032 (rx-check, rx-form): Pass the corresponding arg.
1034 (rx-repeat): Make it work for any number of args.
1035 (rx-syntax): Make it accept syntax chars as is.
1036 * obsolete/sregex.el: Move from emacs-lisp/.
1037 * emacs-lisp/re-builder.el: Remove sregex support.
1038 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1040 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1042 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1043 PRIMARY first, then the clipboard. (Bug#7699)
1045 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1050 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1052 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1053 .emacs.elc (Bug#7530).
1055 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1056 image spec (Bug#7480).
1058 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1060 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1061 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1064 2010-12-20 Leo <sdl.web@gmail.com>
1066 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1067 always be performed (Bug#7680).
1069 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1071 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1072 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1075 * color.el: Move from gnus/.
1077 * vc/diff.el (diff-better-file-name): Function deleted.
1078 abbreviating file names causes problems with shell-quote-argument.
1079 (diff-no-select): Just use expand-file-name.
1081 * tool-bar.el (tool-bar--image-expression): New function.
1082 (tool-bar-local-item, tool-bar--image-exp): Use it.
1083 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1084 Use :enable instead of :visible to avoid changing the tool-bar
1085 configuration unnecessarily.
1087 * info.el (info-tool-bar-map): Add separators.
1089 2010-12-17 Ken Brown <kbrown@cornell.edu>
1091 * loadup.el: Use version numbers in Cygwin build.
1093 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1095 * ido.el (ido-file-internal): Ask for confirmation before
1096 overwriting an existing file (Bug#1238).
1098 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1100 * tool-bar.el (tool-bar-setup): Add separators.
1102 * menu-bar.el (featurep): Use menu-bar-separator.
1104 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1106 Migrate allout encryption provisions from pgg to epg.
1108 * allout.el (allout-toggle-current-subtree-encryption)
1109 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1110 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1111 for simpler universal argument interpretation.
1112 (allout-toggle-subtree-encryption): Adjust docstring to describe
1113 changed encryption provisions. Change fetch-pass to keymode-cue, for
1114 simpler universal argument interpretation. Remove provisions for
1115 handling key type and identity - they'll all be within
1116 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1117 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1118 for keypair recipients (universal argument > 1) and, in addition,
1119 associating the specified recipients with the outline (universal
1120 argument > 4) using a file local variable setting for
1121 'epa-file-encrypt-to'.
1122 Require epa, for recipients handling.
1123 Change how regexp filtering elements are named.
1124 Describe the problem with caching of incorrect symmetric-decryption
1126 Use the epa-passphrase-callback-function, in case the user is using
1128 Support saving of the selected keypair recipients when invoked with a
1130 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1132 Establish epg-context with armoring and default epg-protocol.
1133 Remove all passphrase cache, verification, and hinting code.
1134 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1135 No longer used, delete.
1136 (allout-mode): Adjust docstring to describe changed encryption
1137 provisions. Describe the problem with caching of incorrect
1138 symmetric-decryption keys.
1139 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1140 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1141 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1142 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1145 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1147 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1148 key selection prompt; make 'silent as default (Bug#7487).
1150 2010-12-16 Leo <sdl.web@gmail.com>
1152 * eshell/eshell.el (eshell-directory-name):
1153 Use locate-user-emacs-file (Bug#7578).
1155 2010-12-15 Glenn Morris <rgm@gnu.org>
1157 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1159 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1160 Scott Evans <gse@antisleep.com>
1162 * rect.el (rectange--default-line-number-format)
1163 (rectangle-number-line-callback): New functions.
1164 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1166 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1168 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1169 Delete unused variables.
1170 (move-to-column-force): Remove function obsolete since 21.2.
1172 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1174 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1175 (tramp-handle-insert-file-contents): Do not set permanent-local
1178 * net/tramp-cache.el (tramp-persistency-file-name):
1179 Use `locate-user-emacs-file' if fboundp.
1181 * net/tramp-sh.el (tramp-methods): Add "ksu".
1182 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1185 2010-12-14 Glenn Morris <rgm@gnu.org>
1187 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1188 (find-tag-marker-ring): Declare.
1189 (js-find-symbol): Require etags.
1191 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1193 (mail-alias-file): Don't autoload. Doc fix.
1194 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1195 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1196 Mark as obsolete, and risky.
1197 (mail-setup): Simplify.
1199 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1200 * mail/sendmail.el (build-mail-aliases): Update autoload.
1202 * dired.el (dired-trivial-filenames, dired-chown-program)
1203 (dired-auto-revert-buffer): Remove autoload cookies.
1204 * mail/sendmail.el (mail-recover-1): Require 'dired.
1206 * dired.el (dired-subdir-switches, dired-chown-program)
1207 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1208 Make into defcustoms.
1209 (dired-chown-program): Simplify initialization.
1211 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1213 2010-12-13 Romain Francoise <romain@orebokech.com>
1215 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1217 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1219 * net/netrc.el (netrc-point-at-eol): Remove the unused
1220 netrc-point-at-old and netrc-bound-and-true-p bindings.
1221 (netrc-parse): Cache the netrc contents.
1223 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1225 * subr.el (posn-col-row): Evaluate header-line-format in the
1226 context of the POSITION window's buffer.
1228 2010-12-13 Glenn Morris <rgm@gnu.org>
1230 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1231 (with-silent-modifications): Doc fixes.
1233 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1235 * net/tramp.el (tramp-action-password, tramp-process-actions):
1236 Revert previous from. Use `save-restriction'.
1238 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1240 * calendar/diary-lib.el (diary-list-sexp-entries):
1241 Handle case of no newline at end of file. (Bug#7536)
1243 2010-12-13 Glenn Morris <rgm@gnu.org>
1245 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1247 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1249 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1250 (tramp-process-actions): Do not widen.
1252 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1253 Protect buffer-modified value. (Bug#7557)
1255 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1257 * log-edit.el (log-edit-changelog-entries):
1258 Regexp quote filename. (Bug#7505)
1260 2010-12-13 Tom Breton <tehom@panix.com>
1262 * cus-edit.el (custom-save-all):
1263 Bind print-length and print-level to nil. (Bug#7581)
1265 2010-12-13 Glenn Morris <rgm@gnu.org>
1267 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1268 Run hooks to update menu contents. (Bug#7586)
1270 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1271 file names, for the sake of MS Windows. (Bug#7588)
1273 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1276 empty lines without a leading space.
1278 2010-12-13 Leo <sdl.web@gmail.com>
1280 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1281 while mapping over marks (Bug#6810).
1283 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1285 * image-dired.el (image-dired-db-file)
1286 (image-dired-temp-image-file, image-dired-gallery-dir)
1287 (image-dired-temp-rotate-image-file): Set default values relative
1288 to image-dired-dir (Bug#7518).
1290 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1292 * format.el (format-decode-run-method): Pass args FROM and TO, not
1293 point-min and point-max, to shell-command-on-region (Bug#7488).
1295 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1297 * frame.el (blink-cursor-mode): Make default t for ns.
1299 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1301 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1303 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1305 * comint.el (comint-dynamic-list-input-ring)
1306 (comint-dynamic-complete-filename)
1307 (comint-replace-by-expanded-filename)
1308 (comint-dynamic-simple-complete)
1309 (comint-dynamic-list-filename-completions)
1310 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1312 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1315 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1317 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1320 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1322 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1325 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1327 * files.el (file-relative-name): Handle UNC file names on
1328 DOS/Windows. (Bug#4674)
1330 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1332 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1333 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1334 (epg-context-set-passphrase-callback): Mention that the callback
1335 is not called when used with GnuPG 2.x.
1337 2010-12-13 Glenn Morris <rgm@gnu.org>
1339 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1340 Ensure ps-footer-font-size-internal is initialized.
1341 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1343 2010-12-13 Kenichi Handa <handa@m17n.org>
1345 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1346 within condition-case.
1347 (rmail-show-mime): Don't use condition-case.
1348 (rmail-search-mime-message): New function.
1349 (rmail-search-mime-message-function): Set to
1350 rmail-search-mime-message.
1352 2010-12-13 Leo <sdl.web@gmail.com>
1354 * ido.el (ido-common-initialization): New function. (bug#3274)
1356 (ido-completing-read): Call it.
1358 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1360 * bookmark.el (bookmark-name-from-full-record): Rename back to
1361 this original name from `bookmark-name-from-record' reverting part
1362 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1363 As Drew Adams pointed out, there was no reason to cause churn for
1364 third-party callers.
1366 2010-12-12 Alan Mackenzie <acm@muc.de>
1368 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1369 template arglist, check that the current language supports this.
1371 2010-12-11 Glenn Morris <rgm@gnu.org>
1373 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1374 state of the file matches. (Bug#7544)
1375 (vc-bzr-register, vc-bzr-checkin)
1376 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1377 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1379 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1381 2010-12-11 Karel Klíč <kklic@redhat.com>
1383 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1385 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1387 Derive from prog-mode, use derived-mode-p, and fix up various
1388 minor style issues in lisp/progmodes.
1390 * progmodes/vhdl-mode.el (vhdl-mode):
1391 * progmodes/verilog-mode.el (verilog-mode):
1392 * progmodes/vera-mode.el (vera-mode):
1393 * progmodes/sql.el (sql-mode):
1394 * progmodes/scheme.el (scheme-mode):
1395 * progmodes/perl-mode.el (perl-mode):
1396 * progmodes/octave-inf.el (inferior-octave-mode):
1397 * progmodes/autoconf.el (autoconf-mode):
1398 * progmodes/m4-mode.el (m4-mode):
1399 * progmodes/inf-lisp.el (inferior-lisp-mode):
1400 * progmodes/idlwave.el (idlwave-mode):
1401 * progmodes/icon.el (icon-mode):
1402 * progmodes/idlw-help.el (idlwave-help-mode):
1403 * progmodes/dcl-mode.el (dcl-mode):
1404 * progmodes/idlw-shell.el (idlwave-shell-mode):
1405 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1406 (ebrowse-member-mode, ebrowse-electric-position-mode):
1407 Use define-derived-mode.
1409 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1410 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1411 (xscheme-debugger-mode-p, xscheme-send-string-1):
1412 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1413 (tcl-load-file, tcl-restart-with-file):
1414 * progmodes/ps-mode.el (ps-run-running):
1415 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1416 * progmodes/js.el (js--get-all-known-symbols):
1417 * progmodes/inf-lisp.el (inferior-lisp-proc):
1418 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1419 (idlwave-template, idlwave-update-buffer-routine-info)
1420 (idlwave-update-current-buffer-info)
1421 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1422 (idlwave-scan-class-info, idlwave-fix-keywords)
1423 (idlwave-list-buffer-load-path-shadows):
1424 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1425 (idlwave-toolbar-remove):
1426 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1427 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1428 (idlwave-shell-menu-def):
1429 * progmodes/idlw-complete-structtag.el
1430 (idlwave-prepare-structure-tag-completion):
1431 * progmodes/gud.el (gud-set-buffer):
1432 * progmodes/f90.el (f90-backslash-not-special):
1433 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1435 * progmodes/xscheme.el (xscheme-start)
1436 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1437 * progmodes/which-func.el (which-function):
1438 * progmodes/vhdl-mode.el (vhdl-set-style):
1439 * progmodes/verilog-mode.el (verilog-set-compile-command)
1440 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1441 (verilog-set-define, verilog-auto-reeval-locals):
1442 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1443 * progmodes/simula.el (simula-mode):
1444 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1445 * progmodes/python.el (python-check, python-mode):
1446 * progmodes/prolog.el (prolog-mode-variables):
1447 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1448 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1449 * progmodes/delphi.el (delphi-mode):
1450 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1451 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1452 (c-font-lock-init): Move make-local-variable to their setq.
1454 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1455 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1457 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1458 (sh-set-shell): Don't set require-final-newline since it's already done
1460 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1461 since we never set it.
1462 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1463 Use read-string and standard prompt.
1464 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1465 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1466 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1467 (meta-common-mode-map): Rename from meta-mode-map.
1468 Remove C-m binding, which is a user preference, not mode specific.
1469 (meta-common-mode): New major mode; replace meta-common-initialization.
1470 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1471 around with font-lock.
1472 * progmodes/etags.el (select-tags-table-mode):
1473 Derive from special-mode.
1474 * progmodes/octave-mod.el (octave-mode):
1475 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1476 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1477 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1478 Let define-derived-mode do its job.
1479 * progmodes/cpp.el (cpp-edit-mode-map):
1480 Move initialization into declaration.
1481 (cpp-edit-mode): Use define-derived-mode.
1482 (cpp-edit-load): Use derived-mode-p.
1483 * progmodes/mixal-mode.el (mixal-mode):
1484 * progmodes/f90.el (f90-mode):
1485 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1486 require-final-newline since prog-mode does it already.
1487 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1488 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1489 * progmodes/antlr-mode.el: Require cc-mode upfront.
1490 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1492 (antlr-directory-dependencies, antlr-show-makefile-rules):
1494 (antlr-language-option): Don't assume point-min==1.
1495 (antlr-mode): Use define-derived-mode.
1496 * progmodes/ada-mode.el: Use derived-mode-p.
1497 (ada-mode): Use define-derived-mode.
1498 Use hack-local-variables-hook.
1500 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1503 (texinfo-mode): Don't disable adaptive-fill-mode.
1504 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1505 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1506 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1507 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1508 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1509 (texinfo-insert-@quotation, texinfo-insert-@samp)
1510 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1511 (texinfo-insert-@uref): Use define-skeleton.
1512 (texinfo-insert-@-with-arg): Delete.
1514 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1516 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1517 nil, do quote archive member names. (Bug#6144)
1519 2010-12-10 Glenn Morris <rgm@gnu.org>
1521 * files.el (diff-no-select): Declare.
1523 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1524 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1526 * comint.el (comint-input-ring-file-name): Doc fix.
1528 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1530 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1532 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1533 Use them instead of `nil' and `>', respectively.
1534 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1536 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1537 and menu-bar-positive-p instead of `nil' and `>', respectively.
1540 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1542 * whitespace.el (whitespace-newline-mode): Code fix.
1544 2010-12-09 Glenn Morris <rgm@gnu.org>
1546 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1547 Rename functions without commas, update callers.
1549 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1551 * whitespace.el (whitespace-cleanup-region):
1552 Clean up spaces before tabs. (Bug#7582)
1554 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1556 * bookmark.el: Adjust parameter names and doc strings to resolve
1557 confusion over whether "bookmark" meant a bookmark name or a
1558 bookmark record. Along the way, shorten one function's name for
1559 similar reasons. (Issue #7548)
1560 (bookmark-name-from-record): New name for
1561 `bookmark-name-from-full-record'. All callers changed.
1562 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1563 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1564 (bookmark-get-annotation, bookmark-set-annotation)
1565 (bookmark-get-filename, bookmark-set-filename)
1566 (bookmark-get-position, bookmark-set-position)
1567 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1568 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1569 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1570 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1571 Rename `bookmark' parameter to `bookmark-name-or-record', to
1572 clearly show its role, and shorten or adjust doc strings accordingly.
1573 (bookmark-set-name): Same, and pass the parameter directly to
1574 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1575 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1576 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1577 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1578 and in some cases shorten doc string accordingly.
1579 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1580 and `new-name', and adjust an internal variable to avoid confusion.
1581 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1582 parameter in doc string.
1584 2010-12-08 Glenn Morris <rgm@gnu.org>
1586 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1587 from gdb's history file. (Bug#7575)
1589 * mail/emacsbug.el (report-emacs-bug):
1590 Try to handle some other mail clients.
1592 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1595 Use string-prefix-p.
1596 (file-name-version-regexp): New var.
1597 (file-name-sans-versions):
1598 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1599 (jka-compr-get-compression-info): Use dolist.
1600 (jka-compr-compression-info-list): Don't bother specifying
1601 version/backup regexps.
1603 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1605 * simple.el (just-one-space): Make argument n default to 1 if
1608 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * electric.el (electric-indent-post-self-insert-function):
1611 Delete trailing newlines even if we don't reindent.
1613 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * minibuffer.el (completion-at-point): Remove the `arg'.
1616 * bindings.el (complete-symbol): Move back from minibuffer.el.
1618 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1620 * simple.el (just-one-space): Delete newlines for negative arg.
1622 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1625 (ansi-color-filter-apply): Simplify.
1626 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1628 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1630 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1632 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1634 * dired.el (dired-use-ls-dired): Set default to a special
1635 "unspecified" value.
1636 (dired-insert-directory): When called the first time, check
1637 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1639 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1641 * replace.el: Add "collect" feature to occur.
1642 (occur-collect-regexp-history): New var.
1643 (occur-read-primary-args): Return a replace string for nlines,
1645 (occur): Extend the meaning of nlines.
1647 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1650 (which-func-update-1): Distinguish symbols from strings.
1651 (which-function): Stay within 80 columns.
1653 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1657 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1659 (comment-style): Use comment-styles's docs to describe values.
1661 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1663 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1664 and ns-show-prefs (Bug#7535).
1666 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1667 bindings (Bug#7535).
1669 2010-12-03 Glenn Morris <rgm@gnu.org>
1671 * nxml/nxml-mode.el: Require rng-nxml.
1672 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1673 Remove declarations.
1675 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1676 * nxml/rng-nxml.el, nxml/rng-valid.el:
1677 Remove leading `*' from defcustom docs.
1679 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1680 (normal-top-level-add-to-load-path, tty-handle-args):
1681 Convert comments to basic doc-strings.
1683 * net/browse-url.el (browse-url-url-at-point)
1684 (browse-url-default-browser): Remove autoload cookies.
1686 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1687 Remove more undefined cl functions.
1689 * vc/diff.el (diff-sentinel): Make new arguments optional.
1690 * ibuf-ext.el (diff-sentinel): Update declaration.
1692 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1694 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1695 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1696 (epg-context-set-passphrase-callback): Mention that the callback
1697 is not called when used with GnuPG 2.x.
1699 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1701 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1702 (tramp-file-name-port): Check also for `tramp-default-port'.
1703 (tramp-get-connection-name): New defun.
1704 (tramp-get-connection-process): Use it.
1705 (tramp-debug-message): Extend function exclude list.
1706 (tramp-drop-volume-letter): Fix doc string.
1708 * net/tramp-cmds.el: Remove solved todo item.
1712 * net/tramp-gvfs.el:
1714 * net/tramp-imap.el:
1715 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1716 and `tramp-default-user-alist', respectively.
1718 * net/tramp-gw.el (tramp-gw-open-connection):
1719 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1721 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1722 `tramp-file-name-port'.
1724 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1725 and "psftp". Exchange "%k" marker with options.
1726 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1727 Compute size of link target.
1728 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1729 `tramp-current-*' up due to gateway methods. Optimze computing of
1730 copy arguments. Use `tramp-get-connection-name' and
1731 `tramp-get-connection-buffer'. Improve debug messages.
1732 (tramp-compute-multi-hops): Remove port determination.
1733 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1735 * net/trampver.el: Update release number.
1737 2010-12-02 Glenn Morris <rgm@gnu.org>
1739 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1740 Avoid infinite loop over windows. (Bug#7492)
1742 * progmodes/flymake.el (flymake-check-file-limit):
1743 Allow nil to mean "no limit".
1744 (flymake-check-patch-master-file-buffer): Update for above change.
1745 Allow a .tex file-name extension to be optional.
1746 (flymake-master-tex-init): Also match \include statements.
1748 2010-11-30 Sam Steingold <sds@gnu.org>
1750 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1751 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1752 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1753 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1754 define-derived-mode').
1755 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1756 users who want to call `nxml-parent-document-set'.
1758 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1760 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1761 stand-alone lines, since that is handled by log-edit-match-to-eoh
1764 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1766 * dired.el (dired-get-filename): Replace backslashes with slashes
1767 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1768 * locate.el (locate-default-make-command-line): Don't consider
1769 drive letter and root directory part of
1770 `directory-listing-before-filename-regexp'. (Bug#7308)
1771 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1773 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1776 of :smie-open/close-alist.
1777 (smie-next-sexp): Make it accept a "start token" as argument.
1778 (smie-indent-keyword): Be careful not to misidentify tokens that span
1779 more than one line, as empty lines. Add argument `token'.
1781 2010-11-27 Kenichi Handa <handa@m17n.org>
1783 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1784 multipart subtypes, insert all as usual.
1786 * mail/rmail.el: Require rfc2047.
1788 2010-11-27 Kenichi Handa <handa@m17n.org>
1790 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1791 (rmail-mime-entity-disposition)
1792 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1793 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1794 (rmail-mime-save): Handle the case that the button's `data' is a
1796 (rmail-mime-insert-text): New function.
1797 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1798 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1799 (rmail-mime-insert-bulk): New function mostly copied from the old
1800 rmail-mime-bulk-handler.
1801 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1802 (rmail-mime-process-multipart): New function mostly copied from
1803 the old rmail-mime-multipart-handler.
1804 (rmail-mime-show): Just call rmail-mime-process.
1805 (rmail-mime-process): New function mostly copied from the old
1807 (rmail-mime-insert-multipart, rmail-mime-parse)
1808 (rmail-mime-insert, rmail-show-mime)
1809 (rmail-insert-mime-forwarded-message)
1810 (rmail-insert-mime-resent-message): New functions.
1811 (rmail-insert-mime-forwarded-message-function): Set to
1812 rmail-insert-mime-forwarded-message.
1813 (rmail-insert-mime-resent-message-function): Set to
1814 rmail-insert-mime-resent-message.
1816 * mail/rmailsum.el: Require rfc2047.
1817 (rmail-header-summary): Handle multiline Subject: field.
1818 (rmail-summary-line-decoder): Change the default to
1819 rfc2047-decode-string.
1821 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1822 (rmail-mime-feature): Change the default to `rmailmm'.
1823 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1824 (rmail-display-labels): Likewise.
1825 (rmail-show-message-1): Check rmail-enable-mime, and use
1826 rmail-show-mime-function for a MIME message. Decode the headers
1827 according to RFC2047.
1829 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1831 * progmodes/which-func.el (which-func-imenu-joiner-function):
1832 Return a string, as expected.
1833 (which-function-mode): Make sure we stop any previous timer before
1836 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1838 * net/tramp.el (tramp-default-method-alist)
1839 (tramp-default-user-alist, tramp-default-proxies-alist):
1840 Adapt custom options type. (Bug#7445)
1842 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1844 * progmodes/python.el: Add Ipython support (Bug#5390).
1845 (python-shell-prompt-alist)
1846 (python-shell-continuation-prompt-alist): New options.
1847 (python--set-prompt-regexp): New function.
1848 (inferior-python-mode, run-python, python-shell):
1849 Require ansi-color. Use python--set-prompt-regexp to set the comint
1850 prompt based on the Python interpreter.
1851 (python--prompt-regexp): New var.
1852 (python-check-comint-prompt)
1853 (python-comint-output-filter-function): Use it.
1854 (run-python): Use a pipe (Bug#5694).
1856 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1858 * progmodes/python.el (run-python): Doc fix.
1859 (python-keep-current-directory-in-path): New var (Bug#7454).
1861 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1863 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1864 Prompt user before actually printing.
1866 2010-11-27 Glenn Morris <rgm@gnu.org>
1868 * startup.el (package-enable-at-startup, package-initialize):
1869 Remove unnecessary declarations.
1871 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1873 * international/characters.el (glyphless-char-display-control):
1874 Exclude newline and TAB from the c0-control group.
1876 2010-11-27 Glenn Morris <rgm@gnu.org>
1878 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1879 (expand-mail-aliases): Remove unnecessary autoload.
1881 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1883 * shell.el (shell-dir-cookie-re): Move definition before use.
1885 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1886 Replace undefined CL functions.
1888 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1890 * simple.el (prog-mode): Set bidi-paragraph-direction to
1893 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1895 2010-11-26 Glenn Morris <rgm@gnu.org>
1897 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1898 diary-outlook-formats can be sensitive to calendar-date-style.
1899 (diary-outlook-formats): Simplify the default setting.
1900 (diary-from-outlook-internal): Pass subject and body as arguments.
1901 Use dolist rather than dotimes. Don't save the diary buffer.
1902 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1903 Pass subject and body as explicit arguments to the -internal function.
1905 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1907 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1908 parsing them. This makes mailto:...?subject=foo\nbar work.
1910 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * vc/diff.el (diff): Fix last change.
1914 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1917 (pcase--dontcare-upats): New var.
1918 (pcase-let, pcase-let*): Generate better code.
1919 Accept the same bodies as `let'.
1920 (pcase-dolist): New macro.
1921 (pcase--trivial-upat-p): New helper function.
1922 (pcase--expand): Strip leading "(let nil" if any.
1924 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1926 * mail/mailclient.el (browse-url): Require.
1927 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1928 use the external browser function to send the mail (bug#7469).
1930 * net/browse-url.el (browse-url-browser-function): Revert the
1931 default back to the previous value, since the new value broke
1933 (browse-url-mailto-function): New variable for mailto: URLs.
1934 (browse-url): Use the new variable for mailto: URLs.
1936 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * eshell/esh-cmd.el (eshell-parse-command):
1939 * eshell/esh-arg.el (eshell-parse-arguments):
1940 * eshell/em-script.el (eshell-source-file):
1941 Use with-silent-modifications.
1943 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1945 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1946 for a merge location.
1948 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1949 (vc-bzr-merge-branch): Always prompt.
1950 (vc-bzr-async-command): Use the full branch filename.
1952 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1954 * shell.el (shell): Use current-buffer by default if it's already
1955 a shell mode buffer and its process is dead.
1956 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1958 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1960 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1961 Mention that the keywords should be comma separated.
1963 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1965 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1966 Accept optional prefix arg meaning to prompt for a command.
1967 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1968 prefix arg meaning to prompt for a command.
1969 (vc-pull): Alias for vc-update.
1971 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1972 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1973 (vc-bzr-merge-branch): New functions, implementing merge-branch
1974 and pull operations.
1976 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * Makefile.in: Fix up last merge.
1980 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1981 (diff-sentinel): Get them as arguments instead.
1982 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1983 (diff-file-local-copy, diff-better-file-name): New funs.
1984 (diff-no-select): Rename from diff-into-buffer.
1985 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1986 Prefer closures to buffer-local variables.
1987 (diff): Adjust accordingly.
1988 (diff-buffer-with-file): Move from files.el.
1989 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1990 (diff-buffer-internal): Remove.
1991 (diff-buffer-buffer): Remove.
1992 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1993 the buffer name used, and so as not to mess up windows and frames.
1995 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1997 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1998 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1999 (diff-buffer-with-file): Use it.
2000 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2003 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2005 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2006 \ref's or \pageref's value as default instead of initial input.
2008 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2010 * files.el (backup-by-copying-when-mismatch): The default value is
2013 * startup.el (normal-top-level):
2014 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2015 `backup-by-copying-when-mismatch'.
2017 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2019 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2021 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2023 * progmodes/python.el (python-font-lock-keywords):
2024 Highlight top-level augmented assignments (Bug#6445).
2026 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2028 * term/ns-win.el (ns-right-control-modifier)
2029 (ns-right-command-modifier): Defvar them.
2031 * cus-start.el (all): Add ns-right-control-modifier and
2032 ns-right-command-modifier (Bug#7458).
2034 2010-11-20 Glenn Morris <rgm@gnu.org>
2036 * emacs-lisp/authors.el (authors-ignored-files)
2037 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2039 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2041 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2042 (report-emacs-bug-parse-query-results)
2043 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2044 keywords used for querying the bug database to show them in the
2045 existing bugs buffer.
2047 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2049 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2051 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2053 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2055 * international/characters.el (glyphless-char-display-control):
2056 Make it a defcustom, with update-glyphless-char-display as its
2058 (top level): Don't call update-glyphless-char-display.
2060 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2062 Sync with Tramp 2.2.0.
2064 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2065 `file-remote-p' (due to compatibility).
2067 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2068 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2070 * net/trampver.el: Update release number.
2072 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2074 * faces.el (glyphless-char): Define value for `pc'.
2076 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2078 Implemented a bug querying mechanism.
2079 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2080 (report-emacs-bug-create-existing-bugs-buffer)
2081 (report-emacs-bug-parse-query-results)
2082 (report-emacs-bug-query-existing-bugs): New functions.
2084 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2086 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2087 a \ref{} or \pageref{} macro, then use its value as initial input.
2089 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2091 * calc/calc-units.el (math-build-units-table-buffer):
2092 calc/README: Mention that the TeX specific units won't use the
2093 `tex' prefix in TeX mode.
2094 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2095 prefix for units in TeX mode.
2097 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * simple.el (kill-new, kill-append, kill-region):
2100 * comint.el (comint-kill-region): Make the yank-handler argument
2103 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2106 that are both openers (resp. closers) and something else.
2107 (smie-grammar): Loosen definition of valid values.
2108 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2109 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2110 (smie-indent-after-keyword): Adjust users.
2111 (smie-indent-keyword): Don't indent empty lines.
2113 * vc-hg.el (vc-hg-program): New var.
2114 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2115 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2117 2010-11-18 Glenn Morris <rgm@gnu.org>
2119 * emacs-lisp/autoload.el (autoload-find-destination): The function
2120 coding-system-eol-type may return non-numeric values. (Bug#7414)
2122 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2124 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2126 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2128 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2130 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2132 * textmodes/picture.el (picture-mouse-set-point): Don't use
2133 posn-col-row; explicitly compute the motion based on the posn at
2134 the window-start (Bug#7390).
2136 2010-11-18 Glenn Morris <rgm@gnu.org>
2138 * novice.el (disabled-command-function):
2139 Fix 2009-11-15 change. (Bug#7384)
2141 2010-11-18 Glenn Morris <rgm@gnu.org>
2143 * calendar/calendar.el (diary-iso-date-forms): Make elements
2144 mutually exclusive. (Bug#7377)
2146 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2149 when filling the remaining "unconstrained" values.
2151 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2156 * files.el (safe-local-variable-p): Gracefully handle errors.
2158 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2159 Use smie-indent-virtual when indenting relative to an opener.
2160 (smie-rule-separator): Use smie-rule-parent.
2161 (smie-indent-keyword): Consult rules, even for openers at bol.
2162 (smie-indent-comment-close): Try to align closer's content.
2164 2010-11-18 Glenn Morris <rgm@gnu.org>
2166 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2168 2010-11-18 Glenn Morris <rgm@gnu.org>
2170 * printing.el (pr-menu-bind): Doc fix.
2172 * speedbar.el (speedbar-toggle-images): Doc fix.
2174 * progmodes/python.el (python-shell): Doc fix.
2176 * wid-edit.el (widget-field-use-before-change)
2177 (widget-use-overlay-change): Doc fixes.
2179 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2181 Minor cleanup to improve style.
2182 * textmodes/rst.el (rst-update-section): Use point-marker.
2183 (rst-get-decoration): Eliminate unneeded assignment.
2184 (rst-promote-region, rst-straighten-decorations)
2185 (rst-section-tree, rst-adjust): Use point-marker.
2186 (rst-toc-mode-mouse-goto): Avoid setq.
2187 (rst-shift-region-guts, rst-shift-region-left)
2188 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2189 (rst-convert-bullets-to-enumeration): Use copy-marker.
2191 * minibuffer.el (completion-fail-discreetly): New var.
2192 (completion--do-completion): Use it.
2194 * electric.el (electric-pair-pairs): New var.
2195 (electric-pair-post-self-insert-function): Use it.
2196 (electric-layout-post-self-insert-function): Don't insert a before
2197 newline unless it's actually needed.
2199 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2201 * progmodes/python.el (run-python): Explain why we remove the current
2202 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2204 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2206 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2209 (octave-mode-map): Don't bind ;, SPC, and LF.
2210 (octave-auto-indent, octave-auto-newline): Remove.
2211 (electric-layout-rules): Declare.
2212 (octave-mode): Set electric-layout-rules.
2213 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2214 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2215 (octave-electric-space): Remove.
2217 * electric.el (electric-layout-mode): New minor mode.
2218 (electric--after-char-pos): New function.
2219 (electric-indent-post-self-insert-function): Use it.
2220 (electric-layout-rules): New var.
2221 (electric-layout-post-self-insert-function): New function.
2222 (electric-indent-mode): Make them interact better.
2224 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2227 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2228 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2230 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2232 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2233 Make sure to check inside the word (Bug#6761).
2235 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2237 * startup.el (command-line): If the cursorColor resource is set,
2238 change the cursor face-spec (Bug#7392).
2240 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2242 The main features of the following allout.el changes are:
2243 - implement user customization for the allout key bindings
2244 - add a customization control by which the user can inhibit use of
2245 a trailing Ctrl-H, so by default it's reserved for use with
2246 describe-prefix-bindings
2247 - adapt to new version of called-interactively-p, while
2248 maintaining backwards compatibility with old version
2249 - fix hotspot navigation so i works properly with meta-modified keys
2251 * allout.el (allout-keybindings, allout-bind-keys)
2252 (allout-keybindings-binding, allout-prefixed-keybindings)
2253 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2254 (allout-keybindings-list, allout-mode-map-adjustments)
2255 (allout-setup-mode-map): Establish allout-mode keymaps as user
2256 customizable settings, and also establish a customizable setting which
2257 regulates whether or not a trailing control-h is reserved for use with
2258 describe-prefix-bindings - and inhibit it by default, so that control-h
2259 *is* reserved for describe-prefix-bindings unless the user changes it.
2261 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2262 and accurately between modified and unmodified events, and handle
2263 modified events more comprehensively.
2265 * allout.el (allout-substring-no-properties):
2266 Alias to use or provide version of `substring-no-properties'.
2267 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2269 * allout.el (allout-next-single-char-property-change):
2270 Alias to use or provide version of `next-single-char-property-change'.
2271 (allout-annotate-hidden, allout-hide-by-annotation):
2272 Use `allout-next-single-char-property-change'.
2274 * allout.el (allout-select-safe-coding-system):
2275 Alias to use or provide version of `select-safe-coding-system'.
2276 (allout-toggle-subtree-encryption):
2277 Use `allout-select-safe-coding-system'.
2279 * allout.el (allout-set-buffer-multibyte):
2280 Alias to use or provide version of `set-buffer-multibyte'.
2281 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2283 * allout.el (allout-called-interactively-p): Macro for using the
2284 different versions of called-interactively-p identically, depending on
2285 the subroutine's argument signature.
2286 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2287 Use `(interactive "p")' instead of `(called-interactively-p)'.
2289 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2290 (allout-previous-visible-heading, allout-forward-current-level)
2291 (allout-backward-current-level, allout-show-children):
2292 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2294 * allout.el (allout-before-change-handler):
2295 Exempt edits to the (overlaid) character after the allout outline
2296 bullet from edit confirmation prompt.
2298 * allout.el (allout-add-resumptions):
2299 Ensure that it respects correct buffer for keybindings.
2301 * allout.el (allout-beginning-of-line):
2302 Use `allout-previous-single-char-property-change' alias for the sake of
2303 diverse compatibility.
2305 * allout.el (allout-end-of-line):
2306 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2308 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2310 * frame.el (frame-notice-user-settings): Don't clobber other
2311 user-set parameters when calling face-set-after-frame-default in
2312 response to background-color parameter (Bug#7373).
2314 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2316 * international/characters.el (glyphless-char-display-control):
2317 Rename from glyphless-char-control; all users changed. Doc fix.
2318 Signal an error if display method is not one of the recognized
2321 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2323 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2324 (tramp-compat-line-end-position): Remove them.
2326 * net/tramp.el (tramp-parse-rhosts-group)
2327 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2328 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2329 (tramp-parse-netrc-group, tramp-parse-putty-group)
2330 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2331 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2332 (tramp-sh-handle-file-selinux-context)
2333 (tramp-sh-handle-file-name-all-completions)
2334 (tramp-sh-handle-insert-directory)
2335 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2336 (tramp-wait-for-output, tramp-send-command-and-read)
2337 * net/tramp-smb.el (tramp-smb-read-file-entry)
2338 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2340 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2342 (tramp-remote-coding-commands): Add an alternative using "base64
2343 -d -i". This is needed for older base64 versions from GNU
2344 coreutils. Reported by Klaus Reichl
2345 <Klaus.Reichl@thalesgroup.com>.
2347 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2349 * simple.el (count-words-region): New function.
2351 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2353 * shell.el (shell-dir-cookie-re): New custom variable.
2354 (shell-dir-cookie-watcher): New function.
2356 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2357 and compilation-mode (bug#7350).
2359 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2360 highlight when one of them is empty.
2362 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2364 (skeleton-newline): New function.
2365 (skeleton-internal-1): Use it.
2367 * simple.el (open-line): `newline' may strip trailing space.
2369 2010-11-12 Kevin Ryde <user42@zip.com.au>
2371 * international/mule-cmds.el (princ-list): Use mapc.
2373 2010-11-12 Glenn Morris <rgm@gnu.org>
2375 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2376 Use it to replace all instances of "*Compile-Log*"
2378 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2380 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2383 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * progmodes/modula2.el: Use SMIE and skeleton.
2386 (m2-mode-syntax-table): (*..*) can be nested.
2387 Add //...\n. Fix paren syntax.
2388 (m2-mode-map): Remove LF and TAB bindings.
2389 (m2-indent): Add safety property.
2390 (m2-smie-grammar): New var.
2391 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2392 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2393 (m2-mode): Use define-derived-mode.
2394 (m2-newline, m2-tab): Remove.
2395 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2396 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2397 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2398 (m2-import): Use define-skeleton.
2400 2010-11-11 Glenn Morris <rgm@gnu.org>
2402 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2404 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2405 (ls-lisp-verbosity): Add custom :set-after property.
2406 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2407 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2408 (ls-lisp-insert-directory): Update caller.
2409 (ls-lisp-set-options): New function.
2410 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2413 * play/landmark.el (lm-prompt-for-move):
2414 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2416 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2418 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2419 (idlwave-study-twins): Prefix dynamic local variable `name'.
2420 (idlwave-routine-twin-compare): Update for above change.
2422 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2423 Prefix dynamic local variables `name', `kwd', and `link'.
2424 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2425 * progmodes/idlw-complete-structtag.el
2426 (idlwave-complete-structure-tag-help):
2427 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2428 (idlwave-complete-sysvar-tag-help)
2429 (idlwave-complete-class-structure-tag-help):
2430 Update for above name changes.
2432 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2434 * net/browse-url.el (browse-url-browser-function): Change the
2435 default to use `browse-url-mail' on mailto: URLs.
2437 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2439 * emacs-lisp/package.el (package-read-all-archive-contents):
2440 Reset package-archive-contents to nil before re-reading.
2442 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2444 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2445 already found as misspellings by (flyspell-large-region), just
2446 do highlighting (bug#7322).
2448 2010-11-10 Glenn Morris <rgm@gnu.org>
2450 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2452 * emulation/edt.el (edt-with-position): New macro.
2453 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2454 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2455 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2457 * emulation/tpu-extras.el (tpu-with-position): New macro.
2458 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2460 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2462 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2463 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2464 (texinfo-master-menu, texinfo-insert-node-lines)
2465 (texinfo-multiple-files-update):
2466 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2467 Use line-beginning-position.
2469 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2470 No recent Emacs supports system-type `emx'.
2472 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2473 (ada-command-separator, ada-default-prj-properties)
2474 (ada-find-any-references): Update for above name change.
2476 * dirtrack.el (dirtrack-directory-function)
2477 (dirtrack-canonicalize-function):
2478 * filecache.el (file-cache-completion-ignore-case)
2479 (file-cache-case-fold-search, file-cache-ignore-case):
2480 * term.el (serial-port-is-file-p): Cosmetic change.
2482 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2483 Remove non-existent `windows-95' system-type.
2484 * dired.el (dired-chown-program): Remove non-existent `linux'
2487 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2488 (ping-program-options): Remove non-existent `linux' system-type.
2490 * startup.el (package-initialize): Update declaration.
2492 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2493 (ls-lisp-handle-switches): Use time-less-p.
2494 (ls-lisp-format-time): Use float-time.
2496 * textmodes/remember.el (remember-time-to-seconds): Remove.
2497 (remember-store-in-mailbox): Use float-time.
2499 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2501 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2502 never a real function.
2503 (with-no-warnings): Remove compat stub, now unused.
2504 (time-less-p): Doc fix.
2505 (time-to-number-of-days): Simplify.
2507 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2509 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2510 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2511 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2512 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2513 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2515 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2516 (eshell-shuffle-files, eshell-shorthand-tar-command)
2517 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2518 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2519 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2520 Prefix dynamic local variable `matches'.
2522 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2523 Prefix dynamic local variable `skeleton'.
2525 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2527 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2528 in mail buffer; make yank-action always a command that yanks original
2531 2010-11-09 Glenn Morris <rgm@gnu.org>
2533 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2535 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2538 completion field (bug#7211).
2540 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2541 Fix handling of backslash escapes.
2542 (python-quote-syntax): Adjust accordingly.
2544 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2546 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2547 (vc-mtn-workfile-branch): Adjust to new output format.
2549 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * international/mule-cmds.el (princ-list): Mark as obsolete.
2553 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * emacs-lisp/smie.el: New package.
2557 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2559 * files.el (backup-by-copying-when-mismatch):
2560 Set `permanent-local' property.
2562 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2563 `permanent-local' property for `backup-by-copying-when-mismatch'.
2565 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2567 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2569 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2571 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2572 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2573 AUTOINOUT for SV style multidimensional arrays, bug294.
2574 Reported by Eric Mastromarchi.
2575 (verilog-preprocess): Use with-current-buffer and
2576 font-lock-fontify-buffer to cleanup style issues.
2578 2010-11-09 Glenn Morris <rgm@gnu.org>
2580 * locate.el (locate, locate-mode): Doc fixes.
2582 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2584 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2585 user for confirmation.
2586 (server-force-stop): Use it.
2587 (server-start): Use server-force-stop for kill-emacs-hook, to
2588 avoid user interaction while killing Emacs.
2590 2010-11-09 Glenn Morris <rgm@gnu.org>
2592 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2593 (meta-indent-line): Simplify.
2595 * vc/emerge.el (emerge-line-number-in-buf):
2596 * textmodes/ispell.el (ispell-region):
2597 * textmodes/fill.el (current-fill-column):
2598 * progmodes/xscheme.el (xscheme-send-current-line):
2599 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2600 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2601 * progmodes/sh-script.el (sh-handle-prev-do):
2602 * progmodes/meta-mode.el (meta-indent-line):
2603 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2605 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2606 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2607 * progmodes/fortran.el (fortran-looking-at-if-then):
2608 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2609 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2610 (cperl-find-pods-heres):
2611 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2612 * net/quickurl.el (quickurl-list-insert):
2613 * net/ldap.el (ldap-search-internal):
2614 * net/eudc.el (eudc-expand-inline):
2615 * mail/sendmail.el (sendmail-send-it):
2616 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2617 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2618 (viper-brac-function):
2619 * calc/calc-yank.el (calc-do-grab-region):
2620 * calc/calc-keypd.el (calc-keypad-press):
2621 * term.el (term-move-columns, term-insert-spaces):
2622 * speedbar.el (speedbar-highlight-one-tag-line):
2623 * simple.el (current-word):
2624 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2625 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2627 * hippie-exp.el (he-line-beg):
2628 * epa.el (epa--marked-keys):
2629 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2630 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2631 (dired-relist-entry):
2632 * buff-menu.el (Buffer-menu-buffer):
2633 * array.el (current-line):
2634 * allout.el (allout-resolve-xref)
2635 (allout-latex-verbatim-quote-curr-line):
2636 Replace yet more uses of end-of-line etc with line-end-position, etc.
2638 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2641 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2642 (checkdoc-syntax-table): Initialize in the declaration.
2643 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2644 the mode on unconditionally.
2646 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2647 (extent-end-position, extent-start-position): Remove setf method for
2648 non-existing functions (bug#7319).
2650 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2653 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2654 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2655 (smie-prec2->grammar): Rename from smie-prec2-levels.
2656 (smie-grammar): Rename from smie-op-levels.
2657 (smie-indent--hanging-p): Rename from smie-hanging-p.
2658 (smie-rule-hanging-p): New alias.
2659 (smie-indent--bolp): Rename from smie-bolp.
2660 (smie-indent--hanging-p): New alias.
2661 (smie--token): New dynamically bound variable.
2662 (smie-indent--parent): New function.
2663 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2664 (smie-rule-next-p): Rename from smie-next-p.
2665 (smie-rule-prev-p): Rename from smie-prev-p.
2666 (smie-rule-sibling-p, smie-rule-parent)
2667 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2668 (smie-rule-separator-outdent): New var.
2669 (smie-indent--rule): Merge with smie-indent--column.
2670 (smie-indent-forward-token, smie-indent-backward-token):
2671 Also recognize close parens.
2672 (smie-indent-keyword): Don't use smie-indent--column any more.
2673 (smie-indent-after-keyword): Ignore closers by default.
2674 (smie-indent-line): Use with-demoted-errors.
2675 * progmodes/octave-mod.el (octave-smie-grammar):
2676 Rename from octave-smie-op-levels.
2677 (octave-smie-rules): Adjust to new behavior.
2678 * progmodes/prolog.el (prolog-smie-grammar):
2679 Rename from prolog-smie-op-levels.
2681 2010-11-07 Glenn Morris <rgm@gnu.org>
2683 * eshell/esh-util.el (subst-char-in-string)
2684 (directory-files-and-attributes): These compatibility definitions are
2685 not needed on any version of Emacs since at least 21.4.
2687 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2688 (verilog-get-end-of-line): Remove.
2689 (verilog-within-string, verilog-re-search-forward-substr)
2690 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2691 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2692 Use point-at-bol, point-at-eol.
2693 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2695 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2696 (electric-pascal-terminate-line, pascal-set-auto-comments)
2697 (pascal-indent-paramlist, pascal-indent-declaration)
2698 (pascal-get-lineup-indent, pascal-func-completion)
2699 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2700 Use point-at-bol, point-at-eol.
2701 * progmodes/flymake.el (flymake-line-beginning-position)
2702 (flymake-line-end-position): Remove.
2703 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2704 * eshell/esh-util.el (line-end-position, line-beginning-position):
2705 Remove compat definitions.
2707 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2709 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2710 Use line-end-position.
2712 * emacs-lisp/chart.el (chart-zap-chars):
2713 * play/decipher.el (decipher-set-map):
2714 * progmodes/ada-mode.el (ada-get-current-indent)
2715 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2716 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2717 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2718 (ada-get-all-references):
2719 * progmodes/cperl-mode.el (cperl-electric-paren)
2720 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2721 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2722 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2723 (cperl-word-at-point-hard):
2724 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2725 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2726 (idlwave-shell-display-line):
2727 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2728 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2729 * progmodes/js.el (js--re-search-forward-inner)
2730 (js--re-search-backward-inner):
2731 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2732 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2733 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2734 * textmodes/flyspell.el (flyspell-process-localwords):
2735 * textmodes/ispell.el (ispell-buffer-local-parsing)
2736 (ispell-buffer-local-dict, ispell-buffer-local-words):
2737 Use point-at-bol and point-at-eol.
2739 * speedbar.el (speedbar-generic-item-info)
2740 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2741 (speedbar-add-indicator, speedbar-check-vc-this-line)
2742 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2743 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2744 Replace more uses of end-of-line etc with line-end-position.
2746 2010-11-06 Glenn Morris <rgm@gnu.org>
2748 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2749 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2750 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2751 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2752 (texinfo-multiple-files-update):
2753 * textmodes/table.el (table--probe-cell-left-up)
2754 (table--probe-cell-right-bottom):
2755 * textmodes/picture.el (picture-tab-search):
2756 * textmodes/page-ext.el (pages-copy-header-and-position)
2757 (pages-directory-for-addresses):
2758 * progmodes/vera-mode.el (vera-get-offset):
2759 * progmodes/simula.el (simula-calculate-indent):
2760 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2761 * progmodes/prolog.el (end-of-prolog-clause):
2762 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2763 * progmodes/icon.el (indent-icon-exp):
2764 * progmodes/etags.el (tag-re-match-p):
2765 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2766 * progmodes/ebnf2ps.el (ebnf-begin-file):
2767 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2768 (dcl-save-local-variable):
2769 * play/life.el (life-setup):
2770 * play/gametree.el (gametree-looking-at-ply):
2771 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2772 * mail/sendmail.el (mail-mode-auto-fill):
2773 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2774 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2775 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2776 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2777 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2778 * type-break.el (type-break-file-keystroke-count):
2779 * term.el (term-replace-by-expanded-history-before-point)
2780 (term-skip-prompt, term-extract-string):
2781 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2782 (speedbar-contract-line, speedbar-toggle-line-expansion)
2783 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2784 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2785 * sort.el (sort-skip-fields):
2786 * skeleton.el (skeleton-internal-list):
2787 * simple.el (line-move-finish, line-move-to-column):
2788 * shell.el (shell-forward-command):
2789 * misc.el (copy-from-above-command):
2790 * makesum.el (double-column):
2791 * ebuff-menu.el (electric-buffer-update-highlight):
2792 * dired.el (dired-move-to-end-of-filename):
2793 * dframe.el (dframe-popup-kludge):
2794 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2795 * arc-mode.el (archive-get-lineno):
2796 Use line-end-position and line-beginning-position.
2798 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2799 (idlwave-study-twins): Prefix dynamic local `class'.
2800 (idlwave-routine-twin-compare): Update for above name change.
2802 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2803 Use boundp tests to silence compiler. Update for changed name of
2804 bytecomp-filename variable.
2806 * emulation/viper-cmd.el (viper-read-string-with-history):
2807 Prefix dynamic local `initial'.
2808 (viper-minibuffer-standard-hook): Update for above name change.
2810 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2811 (elint-init-form): Update for above name change.
2813 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2814 local variables `cbeg' and `cend' a prefix.
2815 (mail-extr-voodoo): Update for above name change.
2817 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2818 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2819 (reftex-toc-promote-action): Doc fix.
2821 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2822 `prompt', `data' a prefix.
2823 (reftex-select-post-command-hook, reftex-select-callback)
2824 (reftex-select-mouse-accept, reftex-select-read-cite):
2825 Update for above name changes.
2827 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2828 `refstyle' to reftex-refstyle.
2829 (reftex-offer-label-menu): Update for above name change.
2830 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2831 `refstyle' name change.
2833 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2834 with with-current-buffer.
2835 (diff, template): Give dynamic local variables a prefix.
2836 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2837 (emerge-line-number-in-buf): Update for above name change.
2838 (emerge-combine-versions-internal): Rename local `template' to
2839 emerge-combine-template.
2840 (emerge-combine-versions-edit): Update for above name change.
2842 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2844 * textmodes/reftex-cite.el
2845 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2846 entries with whitespace after \bibitem.
2847 (reftex-create-bibtex-file): Match entries containing numbers and
2848 symbol constituents. Make sure that entries with whitespace at
2849 various places are found.
2851 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2853 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2855 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2857 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2859 2010-11-05 Glenn Morris <rgm@gnu.org>
2861 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2862 (woman2-roff-buffer): Give local variable `request' a prefix.
2863 (woman0-macro): Rename argument `request' in the same way.
2864 (woman-request): New name for `request' dynamic variable.
2865 (woman-unquote, woman-forward-arg): Update for above name change.
2866 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2867 (woman1-unquote): New name for `unquote' dynamic variable.
2868 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2869 (woman-translations): Rename from `translations'. No longer global.
2870 (woman2-tr, woman-translate): Update for above name change.
2871 (woman-translate): Check for bound variable.
2872 (woman2-roff-buffer): Give local variable `translations' a prefix.
2874 * play/doctor.el: Give all local variables a prefix. Update callers.
2875 (doc$, doctor-put-meaning): Use backquote.
2877 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2878 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2880 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2881 variables bytes, ptr, op a prefix.
2882 (disassemble-offset): Update for above change.
2884 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2886 * emacs-lisp/package.el (package-unpack): Remove no-op.
2887 (package--builtins, package--dir): Doc fix.
2888 (package-activate-1, package-activate, package-install)
2889 (package-compute-transaction): Fix error message.
2890 (package-delete): Use delete-directory. Omit system packages.
2891 (package-initialize): Set package-alist to nil first.
2892 (package-menu-mark-delete, package-menu-mark-install): Don't add
2893 symbols that are inconsistent with the package state.
2894 (package-menu-execute): Perform deletions and installations as
2895 single batch operations.
2897 2010-11-03 Glenn Morris <rgm@gnu.org>
2899 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2900 (props): Remove unnecessary declaration.
2902 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2903 set-process-query-on-exit-flag.
2905 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2906 (reftex-toc-do-promote): Remove unused local `mpos'.
2907 (reftex-toc-restore-region): Make `mpos' local to this function.
2909 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2911 * play/landmark.el (lm-losing-threshold): Correct spelling.
2912 (lm-human-plays): Use new name.
2914 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2915 (gomoku-human-plays): Use new name.
2917 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2918 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2919 (gomoku-score-trans-table, gomoku-winning-threshold)
2920 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2922 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2924 * emacs-lisp/package.el: Don't put built-in packages in
2925 package-alist, to avoid loading inefficiencies.
2926 (package-built-in-p): Make VERSION optional, and treat it as a
2927 minimum acceptable version.
2928 (package-activate): Search separately for built-in packages.
2929 Emit a warning if a dependency fails.
2930 (define-package): Handle most common case, where there is no
2931 obsolete package, first.
2932 (package-compute-transaction): Print required version in error.
2933 (package--initialized): New variable.
2934 (list-packages): Use it.
2935 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2936 built-in packages in packages-alist; keep it separate.
2937 Set package--initialized.
2938 (describe-package): Avoid activating packages as a side-effect.
2939 Search separately for built-in packages.
2940 (describe-package-1): Handle the case where an elpa package is
2941 simultaneously built-in and available/installed.
2942 (package-installed-p, package--generate-package-list):
2943 Search separately for built-in packages.
2944 (package-load-descriptor): Doc fix.
2946 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2948 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2949 Handle __DATA__ and __END__.
2951 2010-11-02 Noah Friedman <friedman@splode.com>
2953 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2954 nil, do not ask to recompile files that are not already compiled,
2955 and do not recompile them.
2957 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2959 * emacs-lisp/package.el (package-initialize): Ensure that
2960 obsoleted built-in packages are not in package-activated-list
2962 (describe-package-1): Make the "installed" status override
2965 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2967 * subr.el (version-separator, version-regexp-alist): Remove '*'
2969 (version-list-<=, version<=, version=): Doc fix.
2971 2010-11-01 Kenichi Handa <handa@m17n.org>
2973 * faces.el (glyphless-char): Inherit underline for tty.
2975 2010-11-01 Kenichi Handa <handa@m17n.org>
2977 Implement various display methods for glyphless characters.
2979 * international/characters.el (char-acronym-table): New variable.
2980 (glyphless-char-control): New variable.
2981 (update-glyphless-char-display): New funciton.
2983 * faces.el (glyphless-char): New face.
2985 2010-11-01 Glenn Morris <rgm@gnu.org>
2987 * calendar/holidays.el (general-holidays, oriental-holidays)
2988 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2989 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2990 the definitions of their targets.
2992 * emacs-lisp/smie.el (smie): New custom group.
2993 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2995 * faces.el (xw-defined-colors, x-setup-function-keys):
2996 * mouse-sel.el (x-select-text):
2997 * term/w32console.el (x-setup-function-keys): Update declarations.
2999 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3001 * textmodes/ispell.el (comment-add): Declare.
3003 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3006 * info.el (finder-keywords-hash, package-alist): Declare.
3008 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3010 * finder.el (finder-compile-keywords): Don't use intern-soft,
3011 since package names may not yet exist in the obarray.
3013 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3015 * vc/vc-arch.el (vc-arch-checkin):
3016 * vc/vc-cvs.el (vc-cvs-checkin):
3017 * vc/vc-mtn.el (vc-mtn-checkin):
3018 * vc/vc-rcs.el (vc-rcs-checkin):
3019 * vc/vc-sccs.el (vc-sccs-checkin):
3020 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3021 since 2010-04-21 commit by Stefan Monnier.
3023 2010-11-01 Glenn Morris <rgm@gnu.org>
3025 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3027 * startup.el (package-enable-at-startup, package-initialize):
3030 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3033 2010-10-31 Julien Danjou <julien@danjou.info>
3035 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3036 (byte-recompile-directory):
3037 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3038 Use `byte-recompile-file'.
3040 2010-10-31 Glenn Morris <rgm@gnu.org>
3042 * cus-start.el: Handle standard values via a keyword.
3043 Only set version property if specified.
3044 (cursor-in-non-selected-windows, menu-bar-mode)
3045 (tool-bar-mode, show-trailing-whitespace):
3046 Do not specify standard values.
3047 (transient-mark-mode, temporary-file-directory): Use :standard.
3049 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3051 * term/x-win.el (x-get-selection-value): New function that gets
3052 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3054 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3056 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3057 preserve owner and group when editing files. (Bug#7289)
3059 2010-10-31 Glenn Morris <rgm@gnu.org>
3061 * speedbar.el (speedbar-mode):
3062 * play/fortune.el (fortune-in-buffer, fortune):
3063 * play/gomoku.el (gomoku-mode):
3064 * play/landmark.el (lm-mode):
3065 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3066 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3068 * select.el (x-selection): Mark it as an obsolete alias.
3070 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3072 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3073 major-mode (bug#7284).
3075 2010-10-31 Glenn Morris <rgm@gnu.org>
3077 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3078 rather than just an unused variable that inherits from the real one.
3080 2010-10-31 Alan Mackenzie <acm@muc.de>
3082 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3083 This fixes bug #7185.
3085 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3087 * startup.el (command-line): Search for package directories, and
3088 don't load package.el if none are found.
3090 * emacs-lisp/package.el (describe-package, list-packages):
3091 Call package-initialize if it has not been called yet.
3093 2010-10-30 Alan Mackenzie <acm@muc.de>
3095 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3096 which fontifies the tail of an enum.
3097 (c-basic-matchers-after): Insert a call to the above new function.
3098 This fixes bug #7264.
3100 2010-10-30 Glenn Morris <rgm@gnu.org>
3102 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3103 tool-bar-mode, transient-mark-mode. (Bug#7306)
3104 Include the :set property in the dumped Emacs.
3106 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3108 SMIE: change indent rules format, improve smie-setup.
3109 * emacs-lisp/smie.el (smie-precs-precedence-table)
3110 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3111 Mark them pure so the tables gets built at compile time.
3112 (smie-bnf-precedence-table): Store the closer-alist in the table.
3113 (smie-prec2-levels): Preserve the closer-alist.
3114 (smie-blink-matching-open): Be more forgiving in case of indentation.
3115 (smie-hanging-p): Rename from smie-indent--hanging-p.
3116 (smie-bolp): Rename from smie-indent--bolp.
3117 (smie--parent, smie--after): New dynamic vars.
3118 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3119 (smie-indent-rules): Remove.
3120 (smie-indent--offset-rule): Remove fun.
3121 (smie-rules-function): New var.
3122 (smie-indent--rule): New fun.
3123 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3124 (smie-indent-exps): Use it.
3125 (smie-setup): Setup paren blinking; add keyword args for token
3126 functions; extract closer-alist from op-levels.
3127 (smie-indent-debug-log): Remove var.
3128 (smie-indent-debug): Remove fun.
3129 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3130 (prolog-smie-rules): New fun to replace it.
3131 (prolog-mode-variables): Simplify.
3132 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3133 it's setup automatically.
3134 (octave-smie-indent-rules): Remove.
3135 (octave-smie-rules): New fun to replace it.
3136 (octave-mode): Simplify.
3138 2010-10-29 Glenn Morris <rgm@gnu.org>
3140 * files.el (temporary-file-directory): Remove (already defined in C).
3141 * cus-start.el: Add temporary-file-directory.
3143 * abbrev.el (abbrev-mode):
3144 * composite.el (auto-composition-mode):
3145 * menu-bar.el (menu-bar-mode):
3146 * simple.el (transient-mark-mode):
3147 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3148 that they do not define the associated variables twice.
3149 * simple.el (transient-mark-mode): Remove defvar.
3150 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3151 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3152 Handle multiple groups, and also custom-delayed-init-variables.
3153 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3155 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3157 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3158 (pcase-if): Add one minor optimization.
3159 (pcase-split-equal): Rename from pcase-split-eq.
3160 (pcase-split-member): Rename from pcase-split-memq.
3161 (pcase-u1): Add strings to the member optimization.
3162 Add `guard' variant of predicates.
3163 (pcase-q1): Add string patterns.
3165 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3169 2010-10-28 Glenn Morris <rgm@gnu.org>
3171 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3172 Move menu-bar related settings to ../menu-bar.el.
3173 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3174 Move ns-specific settings here from term/ns-win.el.
3176 * simple.el (x-selection-owner-p): Remove unused declaration.
3178 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * minibuffer.el (completion-cycling): New var (bug#7266).
3181 (minibuffer-complete, completion--do-completion):
3182 Use completion--flush-all-sorted-completions.
3183 (minibuffer-complete): Only cycle if completion-cycling is set.
3184 (completion--flush-all-sorted-completions): Unset completion-cycling.
3185 (minibuffer-force-complete): Set completion-cycling.
3186 (completion-all-sorted-completions): Move declaration before first use.
3188 2010-10-28 Leo <sdl.web@gmail.com>
3190 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3191 which changes the order of matches seen by users (bug#7231).
3193 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3195 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3196 Don't confuse -omega as "-o mega".
3198 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3201 (log-edit-author): New dynamic var.
3202 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3203 to return the author if different from committer.
3204 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3206 * play/landmark.el: Adjust commenting convention.
3207 (lm-nil-score): Rename from nil-score.
3208 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3209 (OOOOscore): Move into a let in lm-score-trans-table.
3210 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3212 * electric.el (electric-indent-chars): Autoload.
3213 * progmodes/octave-mod.el (octave-mode):
3214 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3215 (ruby-mode-abbrev-table): Merge initialization and declaration.
3217 2010-10-27 Glenn Morris <rgm@gnu.org>
3219 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3222 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3224 * term/ns-win.el: Restore require of cl when compiling.
3225 (menu-bar-final-items): Remove non-existent `windows' menu.
3226 (ns-handle-nxopen): Optionally handle the temp-case.
3227 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3228 (ns-insert-file, ns-find-file): Use `pop'.
3230 2010-10-26 Glenn Morris <rgm@gnu.org>
3232 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3234 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3236 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3238 * term/common-win.el (x-setup-function-keys): Remove most of the
3239 keymappings. Comment on the remaining ones.
3241 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3243 * server.el (server-port): New option. (Bug#854)
3244 (server-start): Use server-port.
3246 2010-10-26 Glenn Morris <rgm@gnu.org>
3248 * term/ns-win.el (ns-version-string): Remove unused declaration.
3249 (ns-invocation-args): Change to x-invocation-args.
3250 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3251 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3252 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3253 Use x-invocation-args instead of ns-invocation-args.
3254 (ns-initialize-window-system, handle-args-function-alist):
3255 Use x-handle-args instead of ns-handle-args.
3256 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3257 * startup.el (command-line-ns-option-alist): Replace
3258 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3259 ns-handle-iconic with the x- equivalents.
3261 * term/common-win.el (x-select-enable-clipboard):
3262 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3264 * term/ns-win.el: No need to require cl when compiling.
3265 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3266 (xw-defined-colors): Use the common-win definitions.
3267 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3268 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3269 * term/common-win.el (x-select-text, x-alternatives-map)
3270 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3271 * loadup.el [ns]: Load common-win.
3273 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3275 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3276 recipients; expand mail aliases (Bug#7280).
3278 2010-10-25 Glenn Morris <rgm@gnu.org>
3280 * term/common-win.el (x-handle-switch): Simplify with pop.
3281 Optionally handle numeric switches.
3282 (x-handle-numeric-switch): Just call x-handle-switch.
3283 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3284 (x-handle-name-switch, x-handle-display, x-handle-args):
3287 * term/ns-win.el: Do not require easymenu.
3288 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3289 <spell>: Move adjustments to menu-bar.el.
3290 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3291 <separator-undo, spell>: Move ns-win's adjustments here.
3292 * loadup.el [ns]: Do not load easymenu.
3294 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3296 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3299 * startup.el (fancy-startup-tail): Instead of using inline images,
3300 refer to image files from etc/.
3302 * wid-edit.el (checkbox): Likewise.
3303 (widget-image-find): Center image specs.
3305 2010-10-24 Glenn Morris <rgm@gnu.org>
3307 * term/ns-win.el (x-select-text): Doc fix.
3308 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3309 (x-select-text): Move to term/common-win.
3310 * term/w32-win.el (xw-defined-colors): Move to common-win.
3311 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3312 (x-setup-function-keys, x-select-text): Move to common-win.
3313 * term/common-win.el (x-select-text, x-alternatives-map)
3314 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3317 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3319 * net/mairix.el (mairix-searches-mode-map):
3320 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3322 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3324 * verilog-mode.el (verilog-directive-re): Make this variable
3325 auto-built for efficiency of execution and updating.
3326 (verilog-extended-complete-re): Support 'pure' fucntion & task
3327 declarations (these have no bodies).
3328 (verilog-beg-of-statement): General cleanup to enable support of
3329 'pure' fucntion & task declarations (these have no bodies).
3330 These efforts together fix Verilog bug210 from veripool; which was also
3331 noticed by Steve Pearlmutter.
3332 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3333 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3334 Support `elsif. Reported by Shankar Giri.
3335 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3336 attribute handling for lining up declarations and assignments.
3337 (verilog-beg-of-statement-1): Fix issue where continued declaration
3338 is indented differently if it is after a begin..end clock.
3339 (verilog-in-attribute-p, verilog-skip-backward-comments)
3340 (verilog-skip-forward-comment-p): Support proper treatment of
3341 attributes by indent code. Reported by Jeff Steele.
3342 (verilog-in-directive-p): Fix comment to correctly describe function.
3343 (verilog-backward-up-list, verilog-in-struct-region-p)
3344 (verilog-backward-token, verilog-in-struct-p)
3345 (verilog-in-coverage-p, verilog-do-indent)
3346 (verilog-pretty-declarations): Use verilog-backward-up-list as
3347 wrapper around backward-up-list inorder to properly skip comments.
3348 Reported by David Rogoff.
3349 (verilog-property-re, verilog-endcomment-reason-re)
3350 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3351 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3352 of if). Reported by Max Bjurling and
3353 (verilog-calc-1): Fix for clocking block in modport
3354 declaration. Reported by Brian Hunter.
3356 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3358 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3359 (verilog-gate-keywords, verilog-read-sub-decls)
3360 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3361 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3362 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3363 (verilog-read-decls): Fix spaces in V2K module parameters causing
3364 mis-identification as interfaces, bug287.
3365 (verilog-read-decls): Fix not treating "parameter string" as a
3366 parameter in AUTOINSTPARAM.
3367 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3368 treating `elsif similar to `endif inside AUTOSENSE.
3369 (verilog-do-indent): Implement correct automatic or static task or
3370 function end comment highlight. Reported by Steve Pearlmutter.
3371 (verilog-font-lock-keywords-2): Fix highlighting of single
3372 character pins, bug264. Reported by Michael Laajanen.
3373 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3374 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3375 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3376 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3377 (verilog-pretty-expr): Fix interactive arguments, bug272.
3378 Reported by Mark Johnson.
3379 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3380 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3381 bug269. Suggested by Gary Delp.
3382 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3383 (verilog-preprocessor, verilog-set-compile-command):
3384 Create verilog-preprocess and verilog-preprocessor to show
3385 preprocessed output.
3386 (verilog-get-beg-of-line, verilog-get-end-of-line)
3387 (verilog-modi-file-or-buffer, verilog-modi-name)
3388 (verilog-modi-point, verilog-within-string): Move defmacro's
3389 before first use to avoid warning. Reported by Steve Pearlmutter.
3390 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3391 (verilog-colorize-region, verilog-highlight-buffer)
3392 (verilog-highlight-includes, verilog-highlight-modules)
3393 (verilog-highlight-region, verilog-mode): Rename colorize to
3394 highlight to match other packages. Disable module highlighting,
3395 as received speed complaints, reenable for experimentation only
3396 using new verilog-highlight-modules.
3397 (verilog-read-decls): Fix regexp stack overflow in very large
3398 AUTO_TEMPLATEs, bug250.
3399 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3400 (verilog-scan): Create verilog-save-buffer-state to standardize
3401 making insignificant changes that shouldn't call hooks.
3402 (verilog-save-no-change-functions, verilog-save-scan-cache)
3403 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3404 Create verilog-save-no-change-functions to wrap verilog-scan
3405 preservation, and fix to work with nested preserved calls.
3406 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3407 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3408 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3409 (verilog-submit-bug-report): Update variable list to be complete.
3410 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3411 breaking on-the-fly font-locking.
3412 (verilog-colorize-buffer, verilog-colorize-include-files)
3413 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3414 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3415 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3416 AUTOINST cell instance name, middle mouse button now finds-file on
3417 it. Suggested by Brad Dobbie.
3418 (verilog-alw-get-temps, verilog-auto-reset)
3419 (verilog-auto-sense-sigs, verilog-read-always-signals)
3420 (verilog-read-always-signals-recurse): Fix loop indexes being
3421 AUTORESET. AUTORESET now assumes any variables in the
3422 initialization section of a for() should be ignored.
3423 Reported by Dan Dever.
3424 (verilog-error-font-lock-keywords)
3425 (verilog-error-regexp-emacs-alist)
3426 (verilog-error-regexp-xemacs-alist): Fix error detection of
3427 Cadence HAL, reported by David Asher. Repair drift between the
3428 three similar error variables.
3429 (verilog-modi-lookup, verilog-modi-lookup-cache)
3430 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3431 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3432 Fix slow verilog-auto expansion on very large files.
3433 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3434 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3435 "{1*2{...". Broke in last revision.
3436 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3437 submodule connections with replications "{#{a},#{b}}".
3439 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3441 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3442 Fix typo in docstring.
3444 2010-10-24 Kenichi Handa <handa@m17n.org>
3446 * face-remap.el (text-scale-adjust): Call read-event with a proper
3449 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3451 * emacs-lisp/unsafep.el: Don't mark functions that display
3452 messages as safe. Suggested by Johan Bockgård.
3454 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3456 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3457 Turn comments into docstrings.
3459 * minibuffer.el (completion--replace): Move point where it belongs
3460 when there's a common suffix (bug#7215).
3462 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3464 Merge read-color and facemenu-read-color (Bug#7242).
3466 * faces.el (read-color): Use the completion code from
3467 facemenu-read-color. Require match in completion. Doc fix.
3469 * facemenu.el (facemenu-read-color): Alias for read-color.
3470 (facemenu-set-foreground, facemenu-set-background):
3473 * frame.el (set-background-color, set-foreground-color)
3474 (set-cursor-color, set-mouse-color, set-border-color):
3477 2010-10-24 Leo <sdl.web@gmail.com>
3479 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3480 argument of delete-file and delete-directory (Bug#7011).
3482 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3484 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3487 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3489 * emacs-lisp/package.el (package--generate-package-list): Make the
3490 *Packages* buffer read-only.
3492 2010-10-24 Alan Mackenzie <acm@muc.de>
3494 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3495 result of `c-beginning-of-decl-1' between invocations of a lambda
3496 function (Bug #7265).
3498 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3500 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3501 executable is not available on the system (Bug#7268).
3503 2010-10-24 Glenn Morris <rgm@gnu.org>
3505 * select.el (selection-coding-system, next-selection-coding-system):
3506 Sync doc with C versions.
3508 * w32-vars.el (x-select-enable-clipboard):
3509 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3510 * term/common-win.el (x-select-enable-clipboard): Move here.
3512 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3513 definition of C variable.
3515 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3516 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3517 Don't redefine things that are defined in C.
3518 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3519 (show-trailing-whitespace, auto-hscroll-mode)
3520 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3521 Set up the appropriate custom properties.
3523 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3526 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3527 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3528 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3529 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3531 2010-10-23 Glenn Morris <rgm@gnu.org>
3533 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3536 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3537 Sync docs with C version.
3539 * term/ns-win.el (xw-defined-colors):
3540 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3542 * term/pc-win.el (x-select-enable-clipboard):
3543 * term/x-win.el (x-select-enable-clipboard):
3544 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3546 * comint.el (comint-password-prompt-regexp): Make it less vague.
3549 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3551 * help.el (finder-by-keyword): Remove unnecessary autoload.
3553 2010-10-22 Glenn Morris <rgm@gnu.org>
3555 * loadup.el: Unconditionally load float-sup.
3556 * paren.el (show-paren-delay):
3557 * emacs-lisp/float-sup.el:
3558 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3559 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3560 (lazy-lock-stealth-verbose): Assume float support.
3561 * ps-print.el: Assume float support on Emacs.
3562 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3563 Remove non-float branch.
3565 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3566 src/Makefile no longer being pre-processed.
3568 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3570 * emacs-lisp/find-func.el (find-library): Use test-completion.
3572 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3576 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3578 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3579 space in stat format string.
3580 (tramp-send-command): Unset $PS1 when using here documents, in
3581 order not to get several prompts.
3582 (tramp-get-inline-coding): Return `nil' in case of errors.
3584 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3586 * hexl.el (hexl-mode, hexl-mode-exit):
3587 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3588 (hexl-revert-buffer-function): New function.
3589 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3591 2010-10-19 Alan Mackenzie <acm@muc.de>
3593 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3594 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3595 that these keywords aren't wrongly matched as identifiers.
3597 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3598 setting of c-new-BEG and c-new-END from c-before-change to
3599 c-after-change. (Bug#7181)
3601 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3603 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3606 * custom.el (custom-theme-set-variables): Likewise.
3607 (load-theme): Add custom-theme-set-faces and
3608 custom-theme-set-variables to safe-functions while loading.
3609 (custom-enabled-themes): Mark as risky.
3611 2010-10-18 Julien Danjou <julien@danjou.info>
3613 * bindings.el: Remove end dashes in default mode-line-format.
3615 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3617 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3618 to delete-forward-char.
3620 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3621 deletechar, and hence delete-forward-char.
3623 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3625 * repeat.el (repeat): Use read-key (bug#6256).
3627 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3629 * emacs-lisp/unsafep.el: Don't mark functions that display
3630 messages as safe. Suggested by Johan Bockgård.
3632 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * minibuffer.el (completion--replace): Move point where it belongs
3635 when there's a common suffix (bug#7215).
3637 2010-10-19 Kenichi Handa <handa@m17n.org>
3639 * international/characters.el: Add category '|' (word breakable)
3640 to fullwidth characters.
3642 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3644 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3645 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3646 order to make stat results a float. Patch by Andreas Schwab
3647 <schwab@linux-m68k.org>.
3649 2010-10-18 Julien Danjou <julien@danjou.info>
3651 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3652 hidden by `make-pointer-invisible'.
3654 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3656 * files.el (locate-file-completion-table): Strip non-matching elements
3657 before checking length of list (bug#7238).
3659 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3661 * custom.el (custom-theme-set-variables): Mark as a safe function.
3662 (load-theme): Check forms using unsafep.
3664 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3666 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3668 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3669 Fix aspell data file searching (bug#7230).
3671 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3673 * cus-theme.el (custom-theme--migrate-settings): New var.
3674 (customize-create-theme): Allow editing the `user' theme.
3675 (custom-theme-add-variable, custom-theme-add-var-1)
3676 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3677 to the front of each variable or face widget.
3678 (custom-theme-write): Save theme settings in the correct order.
3679 Optionally, remove saved settings from user customizations.
3680 (custom-theme-write-variables, custom-theme-write-faces):
3681 Save only the checked widgets.
3682 (customize-themes): Add a link for migrating custom settings.
3684 * custom.el (custom-declare-theme, provide-theme):
3685 Use custom-theme-name-valid-p.
3686 (custom-theme-name-valid-p): Remove checks that are now
3687 unnecessary since themes no longer obey load-path.
3689 * cus-edit.el (custom-variable-value-create): For the simple
3690 style, hide documentation string when hidden.
3692 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3694 * cus-edit.el (custom-variable, custom-face): Combine the
3695 :inhibit-magic and :display-style properties into a single
3696 :custom-style property.
3697 (custom-toggle-hide-variable, custom-toggle-hide-face):
3698 New functions. If hiding an edited value, save it to :shown-value.
3699 (custom-variable-value-create, custom-face-value-create): Use them.
3700 (custom-magic-reset): Allow magic property to be unset.
3702 * custom.el: Custom themes no longer use load-path.
3703 (custom-theme-load-path): New option. Change built-in theme
3705 (custom-enabled-themes): Add custom-theme-load-path dependency.
3706 (custom-theme--load-path): New function.
3707 (load-theme, custom-available-themes): Use it.
3709 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3710 (customize-themes): Link to custom-theme-load-path variable.
3711 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3712 :custom-style property.
3714 * themes/*.el: Moved to etc/.
3716 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3718 * textmodes/reftex-cite.el
3719 (reftex-extract-bib-entries-from-thebibliography): Do not move
3720 point when searching for \bibitem entries. Match entries with
3721 spaces or tabs in front of arguments.
3723 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3725 * cus-theme.el (customize-create-theme): Delete overlays after
3726 erasing. If given a THEME arg, display only the faces of that arg
3727 instead of custom-theme--listed-faces.
3728 (custom-theme-variable-menu, custom-theme-variable-action)
3729 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3730 (custom-theme-add-variable, custom-theme-add-face): Apply value
3731 from the theme settings, instead of the current value.
3732 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3733 (custom-theme-visit-theme): Allow calling outside theme buffers.
3734 (custom-theme-merge-theme): Don't enable the theme when merging.
3735 (custom-theme-write-variables, custom-theme-write-faces): Use the
3736 :shown-value properties to save buffer values, not global ones.
3737 (customize-themes): Display a warning about user customizations.
3739 * cus-edit.el (custom-variable-value-create)
3740 (custom-face-value-create): Obey new special properties
3741 :shown-value and :inhibit-magic.
3743 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3745 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3746 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3749 2010-10-14 Kenichi Handa <handa@m17n.org>
3751 * mail/rmail.el (rmail-show-message-1): Catch an error of
3752 base64-decode-region and just show an error message (bug#7165).
3754 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3755 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3756 a font-spec (bug#7197).
3758 2010-10-14 Glenn Morris <rgm@gnu.org>
3760 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3762 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3764 * international/mule.el (define-coding-system):
3765 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3766 * composite.el (compose-region): Fix typo in docstring.
3768 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3770 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3771 only after checking the theme-face property.
3773 * faces.el (face-spec-reset-face): Reset all attributes in one
3774 single call to set-face-attribute.
3775 (face-spec-match-p): Make it a defsubst.
3776 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3777 (x-create-frame-with-faces, tty-create-frame-with-faces)
3778 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3779 frame-set-background-mode, since they are recomputed immediately
3780 afterwards in face-set-after-frame-default.
3781 (face-set-after-frame-default): Minor optimization.
3782 (cursor): Provide non-trivial defface spec.
3784 * custom.el (custom-theme-recalc-face): Simplify.
3786 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3788 * calc/calc-alg.el (math-var): Rename from `var'.
3789 (math-is-polynomial, math-is-poly-rec): Replace `var'
3792 * calc/calcalg2.el (math-var): Rename from `var'.
3793 (calcFunc-table, math-scan-for-limits): Replace `var'
3796 2010-10-13 Glenn Morris <rgm@gnu.org>
3798 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3800 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3802 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3804 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806 * net/tls.el (tls-program): Remove spurious %s from openssl.
3807 (tls-starttls-switches): Remove starttls hack.
3808 (open-tls-stream): Ditto.
3809 (tls-find-starttls-argument): Ditto.
3811 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3813 * image.el (image-library-alist): Declare as obsolete alias.
3814 (image-type-available-p): Use `dynamic-library-alist'.
3816 * term/w32-win.el (dynamic-library-alist):
3817 Use instead of `image-library-alist'.
3819 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3821 * subr.el (last): Make it faster. (Bug#7174)
3823 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3825 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3827 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3829 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3830 (describe-theme-1): Extract doc from unloaded themes.
3832 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3834 * themes/tango-theme.el:
3835 * themes/tango-dark-theme.el:
3836 * themes/wheatgrass-theme.el: New files.
3838 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3840 * cus-theme.el (describe-theme, customize-themes)
3841 (custom-theme-save): New commands.
3842 (custom-new-theme-mode-map): Bind C-x C-s.
3843 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3844 (customize-create-theme): New optional arg THEME.
3845 (custom-theme-revert): Use it.
3846 (custom-theme-visit-theme): Remove dead code.
3847 (custom-theme-merge-theme): Use custom-available-themes.
3848 (custom-theme-write): Make interactive.
3849 (custom-theme-write): Use custom-theme-name-valid-p.
3850 (describe-theme-1, custom-theme-choose-revert)
3851 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3853 (custom-theme-allow-multiple-selections): New option.
3854 (custom-theme-choose-mode): New major mode.
3856 * custom.el (custom-theme-set-variables): Remove dead code.
3857 Obey custom--inhibit-theme-enable.
3858 (custom--inhibit-theme-enable): New var.
3859 (provide-theme): Obey it.
3860 (load-theme): Replace load with manual read/eval, in order to
3861 check for correctness. Use custom-theme-name-valid-p.
3862 (custom-theme-name-valid-p): New function.
3863 (custom-available-themes): Use it.
3865 * cus-edit.el (custom--initialize-widget-variables): New function.
3866 (Custom-mode): Use it.
3868 * cus-face.el (custom-theme-set-faces): Remove dead code.
3869 Obey custom--inhibit-theme-enable.
3871 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3873 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3875 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3877 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3879 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3880 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3881 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3883 * cus-start.el (all): ns-right-alternate-modifier is new.
3885 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * emacs-lisp/lisp.el (lisp-completion-at-point):
3888 Use emacs-lisp-mode-syntax-table for the whole function.
3890 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3892 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3893 instead of font-lock-mode before adding keywords.
3894 Remove hi-lock-mode off code. Remove inhibit hack.
3895 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3896 non-nil; removed hook inhibit hack.
3898 2010-10-12 Glenn Morris <rgm@gnu.org>
3900 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3901 (load-path-shadows-find): ... to this.
3902 (list-load-path-shadows): Update for above change.
3904 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3906 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3908 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3909 Fix comment for declare-function.
3911 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3913 * custom.el (custom-fix-face-spec): New function; code moved from
3914 custom-face-edit-fix-value.
3915 (custom-push-theme): Use it when checking if a face has been
3916 changed outside customize.
3917 (custom-available-themes): New function.
3918 (load-theme): Use it.
3920 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3922 * custom.el (custom-push-theme): Cleanup (use cond).
3923 (disable-theme): Recompute the saved-face property.
3924 (custom-theme-recalc-face): Follow face alias before setting prop.
3926 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3927 New variables, containing checkbox images.
3929 * startup.el (fancy-startup-tail):
3930 * wid-edit.el (checkbox): Use them.
3932 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3934 * shell.el (shell-mode-map):
3935 * progmodes/modula2.el (m2-mode-map):
3936 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3937 * play/mpuz.el (mpuz-mode-map):
3938 * play/landmark.el (lm-mode-map):
3939 * play/decipher.el (decipher-mode-map):
3940 * play/5x5.el (5x5-mode-map):
3941 * net/telnet.el (telnet-mode-map):
3942 * net/quickurl.el (quickurl-list-mode-map):
3943 * net/mairix.el (mairix-searches-mode-map):
3944 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3945 * net/dig.el (dig-mode-map):
3946 * mail/mspools.el (mspools-mode-map):
3947 * hexl.el (hexl-mode-map):
3948 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3949 (wordstar-C-o-map, wordstar-C-q-map):
3950 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3951 * emacs-lisp/chart.el (chart-map):
3952 * edmacro.el (edmacro-mode-map):
3953 * erc/erc-list.el (erc-list-menu-mode-map):
3954 * array.el (array-mode-map): Declare and define in one step.
3956 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3958 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3960 * epa.el (epa-passphrase-callback-function): Display filename
3961 passed as the 3rd arg.
3962 * epa-file.el (epa-file-passphrase-callback-function):
3963 Pass filename to epa-passphrase-callback-function.
3965 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3967 * cus-edit.el (custom-face-widget-to-spec)
3968 (custom-face-get-current-spec, custom-face-state): New functions.
3969 (custom-face-set, custom-face-mark-to-save)
3970 (custom-face-value-create, custom-face-state-set): Use them.
3972 * cus-theme.el (custom-theme--listed-faces): New var.
3973 (customize-create-theme): Use *Custom Theme* as the buffer name.
3974 Set revert-buffer-function. Optional arg BUFFER. Insert all
3975 faces listed in custom-theme--listed-faces.
3976 (custom-theme-revert): New function.
3977 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3979 (custom-theme-write): Prompt for theme name if empty.
3980 (custom-theme-write-variables): Use dolist.
3981 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3983 2010-10-09 Alan Mackenzie <acm@muc.de>
3985 Enhance fontification of declarators to take account of the
3986 presence/absence of "typedef".
3988 * cc-engine.el (c-forward-type): New &optional param
3990 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3991 presence of either or both of a "struct"-like keyword and "typedef".
3993 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3994 fontification of declarators which follow a "}".
3995 (c-font-lock-declarations): Fontify declarators according to the
3996 presence/absence of "typedef".
3998 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4000 (c-typedef-decl-key): New lang variable built from
4001 c-typedef-decl-kwds.
4003 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4006 since that's too annoying. Move the filter groups commands to
4009 * epa.el (epa-passphrase-callback-function): Say what we're
4010 querying the password for.
4012 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4013 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4015 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4017 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4018 (custom-magic-value-create): Pad button tags with spaces.
4019 (custom-face-edit): New variable.
4020 (custom-face-value-create): Determine whether to use the usual
4021 face editor here, instead of using custom-face-selected.
4022 Pass face defaults to custom-face-edit widget.
4023 (custom-face-selected, custom-display-unselected): Delete widgets.
4024 (custom-display-unselected-match): Function removed.
4025 (custom-face-set, custom-face-mark-to-save):
4026 Accept custom-face-edit widgets as the direct widget child.
4028 * wid-edit.el (widget--completing-widget): New var.
4029 (widget-default-complete): Bind it when doing completion.
4030 (widget-string-complete, widget-file-complete): Use it.
4032 2010-10-09 Glenn Morris <rgm@gnu.org>
4034 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4035 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4036 (holiday-hebrew-misc): Small simplifications.
4038 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4040 * net/browse-url.el: Don't require thingatpt, term, dired,
4041 executable, or w3-auto when compiling.
4042 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4044 (browse-url-text-emacs): Require term.
4046 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4048 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4050 2010-10-08 Glenn Morris <rgm@gnu.org>
4052 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4054 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4055 (shadows-compare-text-p): Make it an obsolete alias for...
4056 (load-path-shadows-compare-text): ... new name.
4057 (find-emacs-lisp-shadows): Update for above name change.
4058 (load-path-shadows-same-file-or-nonexistent): New name for the old
4059 shadow-same-file-or-nonexistent.
4061 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4063 * minibuffer.el (completion--some, completion--do-completion)
4064 (minibuffer-complete-and-exit, minibuffer-completion-help)
4065 (completion-basic-try-completion)
4066 (completion-basic-all-completions)
4067 (completion-pcm--find-all-completions): Use lexical-let to
4068 avoid some false matches in variable completion (Bug#7056)
4070 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4072 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4074 2010-10-08 Leo <sdl.web@gmail.com>
4076 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4077 return non-nil if the file exists (Bug#7090).
4079 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4081 * minibuffer.el (completion--replace):
4082 Better preserve markers (bug#7138).
4084 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4086 * server.el (server-process-filter): Doc fix.
4088 2010-10-08 Drew Adams <drew.adams@oracle.com>
4090 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4092 2010-10-08 Glenn Morris <rgm@gnu.org>
4094 * vc/ediff-wind.el (ediff-setup-control-frame):
4095 * vc/ediff-ptch.el (ediff-default-backup-extension):
4096 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4097 (ediff-exec-process): Remove system-types emx, windows-95.
4099 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4101 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4103 * cus-edit.el (custom-variable, custom-face): Doc fix.
4104 (custom-face-edit): Add value-create attribute.
4105 (custom-face-edit-value-create)
4106 (custom-face-edit-value-visibility-action): New functions.
4107 Hide unused face attributes by default, and add a visibility toggle.
4108 (custom-face-edit-deactivate): Show empty values with shadow face.
4109 (custom-face-selected): Only use this for face specs with default
4111 (custom-face-value-create): Cleanup.
4113 * wid-edit.el (widget-checklist-value-create): Use dolist.
4114 (widget-checklist-match-find): Make second arg optional.
4116 2010-10-07 Glenn Morris <rgm@gnu.org>
4118 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4121 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4122 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4123 load-path-shadows-mode, update references.
4124 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4125 Rename variable and button.
4126 (list-load-path-shadows): Update button caller.
4128 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4131 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4132 (smie-merge-prec2s): Handle those new entries.
4133 (smie-prec2-levels): Only set precedence to nil for actual
4135 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4136 that is now unnecessary.
4138 2010-10-07 Miles Bader <miles@gnu.org>
4140 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4142 2010-10-07 Glenn Morris <rgm@gnu.org>
4144 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4145 (mail-position-on-field): Remove declarations.
4146 (mail-position-on-field): Autoload it.
4147 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4148 and mail-header-end. Don't require sendmail.
4150 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4151 (shadow-mode): New mode.
4152 (shadow-find-file): New button.
4153 (list-load-path-shadows): Use shadow-mode and buttons.
4155 * iimage.el (iimage-version): Remove.
4156 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4157 Turn into defcustoms.
4158 (iimage-mode-map): Give it a doc string.
4160 * calendar/appt.el (appt-activate): Give a warning rather than an error
4161 if there is no diary-file.
4163 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4165 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4166 Use `tramp-handle-find-backup-file-name'.
4168 2010-10-06 Glenn Morris <rgm@gnu.org>
4170 * font-core.el (font-lock-defaults-alist): Remove variable.
4171 (font-lock-mode): Doc fix.
4172 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4173 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4174 (font-lock-set-defaults): Doc fix.
4175 Do not consult font-lock-defaults-alist.
4177 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4179 * emacs-lisp/cl.el: No longer provide cl-19.
4181 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4183 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4184 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4185 New defuns, taken from tramp-smb.el.
4186 (tramp-coding-system-change-eol-conversion)
4187 (tramp-set-process-query-on-exit-flag): Remove.
4189 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4190 (tramp-compat-coding-system-change-eol-conversion)
4191 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4194 * net/tramp-gvfs.el:
4195 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4196 by `tramp-compat-set-process-query-on-exit-flag'.
4198 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4199 Use `tramp-handle-directory-files-and-attributes',
4200 `tramp-handle-file-exists-p' and
4201 `tramp-handle-file-newer-than-file-p'.
4202 (tramp-imap-handle-file-exists-p)
4203 (tramp-imap-handle-file-executable-p)
4204 (tramp-imap-handle-file-readable-p)
4205 (tramp-imap-handle-directory-files-and-attributes)
4206 (tramp-imap-handle-file-newer-than-file-p): Remove.
4208 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4209 by `tramp-compat-set-process-query-on-exit-flag' and
4210 `tramp-coding-system-change-eol-conversion' by
4211 `tramp-compat-coding-system-change-eol-conversion'.
4213 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4214 Use `tramp-handle-directory-files-and-attributes',
4215 `tramp-handle-file-exists-p' and
4216 `tramp-handle-file-newer-than-file-p'.
4217 (tramp-smb-handle-directory-files-and-attributes)
4218 (tramp-smb-handle-file-exists-p)
4219 (tramp-smb-handle-file-newer-than-file-p): Remove.
4220 (tramp-smb-maybe-open-connection):
4221 Replace `tramp-set-process-query-on-exit-flag' by
4222 `tramp-compat-set-process-query-on-exit-flag'.
4224 2010-10-05 Glenn Morris <rgm@gnu.org>
4226 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4228 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4230 Continue reorganization of load dependencies. (Bug#7156)
4232 * net/tramp.el (tramp-handle-file-local-copy-hook)
4233 (tramp-delete-temp-file-function): Move down.
4234 (tramp-exists-file-name-handler): Move up.
4235 (tramp-register-file-name-handlers): Simplify autoload.
4236 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4237 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4238 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4239 (tramp-handle-file-name-completion)
4240 (tramp-handle-file-name-directory)
4241 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4242 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4243 (tramp-handle-find-backup-file-name)
4244 (tramp-handle-insert-file-contents, tramp-handle-load)
4245 (tramp-handle-substitute-in-file-name)
4246 (tramp-handle-unhandled-file-name-directory)
4247 (tramp-mode-string-to-int, tramp-local-host-p)
4248 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4250 * net/tramp-gvfs.el (top):
4251 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4253 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4254 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4256 2010-10-04 Glenn Morris <rgm@gnu.org>
4258 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4259 (appt-activate): Give status messages.
4261 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4263 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4264 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4265 `gnutls-negotiate' (formerly `starttls-negotiate').
4266 Remove trivial wrapper `starttls-open-stream'.
4268 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4270 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4271 log-outgoing commands.
4272 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4273 to create a buffer local revert-buffer-function variable.
4274 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4275 revert-buffer-function lambda.
4277 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4279 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4280 `gnutls-boot'. Make TYPE the only required parameter.
4281 Allow TRUSTFILES and KEYFILES to be lists.
4282 (open-ssl-stream): Use it.
4284 2010-10-03 Glenn Morris <rgm@gnu.org>
4286 * subr.el (directory-sep-char): Remove obsolete variable.
4287 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4290 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4291 * vc/vc.el (vc-static-header-alist): Doc fix.
4292 * vc/vc-cvs.el (vc-cvs-header):
4293 * vc/vc-rcs.el (vc-rcs-header):
4294 * vc/vc-sccs.el (vc-sccs-header):
4295 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4296 * obsolete/vc-mcvs.el (vc-mcvs-header):
4297 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4300 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4302 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4303 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4305 2010-10-03 Glenn Morris <rgm@gnu.org>
4307 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4309 * textmodes/rst.el (rst-font-lock-keywords-function):
4312 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4314 * printing.el: Drop Emacs 20 code.
4316 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4317 without having used appt.el already).
4319 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4320 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4321 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4323 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4324 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4326 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4327 (charset-width, find-charset-region, chars-in-region, forward-point)
4328 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4329 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4330 Remove compatibility cruft (none of these are used by ps*.el).
4332 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4334 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4336 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4338 * server.el (server-process-filter, server-return-error):
4339 Give emacsclient time to shut down after receiving an error string.
4341 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4343 * files.el (remote-file-name-inhibit-cache): New defcustom.
4345 * time.el (display-time-file-nonempty-p):
4346 Use `remote-file-name-inhibit-cache'.
4348 * net/tramp.el (tramp-completion-reread-directory-timeout):
4351 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4352 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4353 `remote-file-name-inhibit-cache'. Check also for an integer
4354 value. Add/increase counter when `tramp-verbose' >= 10.
4355 (tramp-set-file-property): Add/increase counter when
4356 `tramp-verbose' >= 10.
4358 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4359 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4360 (tramp-bug): Set tramp-autoload cookie. Report all interned
4361 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4362 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4363 characters only in strings.
4365 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4366 to backward compatibility.
4368 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4369 (tramp-handle-file-name-all-completions)
4370 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4371 (tramp-open-connection-setup-interactive-shell):
4372 Call `tramp-cleanup-connection' directly.
4374 2010-10-02 Glenn Morris <rgm@gnu.org>
4376 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4378 * subr.el (char-bytes): Remove obsolete function.
4380 * isearch.el (isearch-return-char): Remove obsolete function.
4382 * mouse.el: No longer provide mldrag.
4383 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4384 Remove obsolete aliases.
4386 * comint.el (comint-kill-output): Remove obsolete alias.
4388 * composite.el (decompose-composite-char): Remove obsolete function.
4389 * ps-def.el (decompose-composite-char): Remove unused function.
4391 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4393 * outline.el (outline-visible): Remove obsolete function.
4395 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4396 * faces.el (internal-find-face, internal-get-face)
4397 (frame-update-faces, frame-update-face-colors)
4398 (x-frob-font-weight, x-frob-font-slant)
4399 (internal-frob-font-weight, internal-frob-font-slant)
4400 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4401 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4402 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4404 * emulation/viper-util.el (viper-get-face):
4405 * obsolete/lucid.el (find-face, get-face): Use facep.
4406 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4407 Remove unused functions.
4408 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4410 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4411 delete tempfile if interrupted during compilation.
4413 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4415 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4417 (tls-program): Add --insecure to be consistent with the defaults from
4418 openssl s_client. Now all three commands are insecure.
4420 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4422 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4423 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4424 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4426 2010-10-01 Glenn Morris <rgm@gnu.org>
4428 * obsolete/sc.el: Remove file.
4430 * files.el (temporary-file-directory): On darwin, also try
4431 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4433 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4435 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4436 Let's not break compatibility gratuitously, shall we?
4438 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4440 * net/tls.el (tls-starttls-switches): New variable.
4441 (tls-find-starttls-argument): Use it.
4442 (open-tls-stream): Ditto.
4444 * net/netrc.el (netrc-credentials): Return the value of the "default"
4446 (netrc-machine): Ditto.
4448 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4450 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4452 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4454 * server.el (server-start): Don't write pid to the authentication file.
4455 (server-create-tty-frame): Don't send pid.
4456 (server-process-filter): Send pid at the start of every connection.
4458 2010-09-30 Glenn Morris <rgm@gnu.org>
4460 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4461 (show-all-diary-entries): Remove obsolete function aliases.
4463 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4464 Remove options, obsolete since 22.1.
4465 (appt-display-format, appt-display-message):
4466 Remove backwards-compatibility code.
4467 (appt-check): No longer check appt-issue-message.
4468 (appt-make-list): No longer autoload it. Doc fix. No longer
4469 activate the package.
4471 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4473 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4474 (starttls-negotiate): Just call boot, and let the handshake be
4475 triggered from the read loop.
4477 2010-09-29 Glenn Morris <rgm@gnu.org>
4479 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4480 not displaying the diary.
4481 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4482 * calendar/appt.el (appt-check): No longer need to kill diary.
4484 * calendar/diary-lib.el (diary-list-entries): Move the
4485 "Preparing..." message entirely here.
4486 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4487 messages to diary-list-entries.
4488 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4489 diary-display-function.
4491 * calendar/diary-lib.el (diary-include-other-diary-files):
4492 Trap some recursive includes.
4494 * calendar/appt.el (appt-activate): Check diary file.
4496 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4498 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4501 * calendar/time-date.el: No need to require cl for Emacs 21.
4503 2010-09-28 Glenn Morris <rgm@gnu.org>
4505 * calendar/appt.el (appt-check): Minor simplification.
4507 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4509 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4512 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4514 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4515 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4517 2010-09-27 Kenichi Handa <handa@m17n.org>
4519 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4522 2010-09-27 Kenichi Handa <handa@m17n.org>
4524 * international/mule.el (define-coding-system): Docstring fixed.
4526 * international/mule-diag.el (describe-character-set): Use princ
4527 with proper print-length and print-level instead of insert.
4529 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4531 * window.el (walk-windows): Doc fix (bug#7105).
4533 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * emacs-lisp/float-sup.el (e): Remove.
4537 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4539 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4541 (starttls-negotiate): Use it.
4543 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4545 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4548 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4552 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4554 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4556 * net/netrc.el (netrc-store-data): New function.
4558 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4560 * net/gnutls.el: GnuTLS glue code to set up a connection.
4562 2010-09-25 Julien Danjou <julien@danjou.info>
4564 * notifications.el: Call dbus-register-signal only if it is bound.
4566 2010-09-25 Glenn Morris <rgm@gnu.org>
4568 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4569 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4570 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4571 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4572 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4573 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4574 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4575 * eshell/esh-util.el, eshell/esh-var.el:
4576 Remove leading `*' from docs of faces and defcustoms.
4578 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4580 * eshell/em-ls.el (eshell-ls-archive-regexp):
4581 * eshell/esh-util.el (eshell-tar-regexp):
4582 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4583 * info.el (Info-suffix-list):
4584 * international/mule.el (auto-coding-alist):
4585 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4586 * progmodes/etags.el (tags-compression-info-list):
4587 Support xz compression.
4589 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4591 * files.el (get-free-disk-space): Don't assume the "df" output
4592 columns line up (Bug#6995).
4594 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4596 * finder.el (finder-unknown-keywords):
4597 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4598 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4600 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4602 * server.el (server-start): Revert part of 2010-08-08 change. Using
4603 address 127.0.0.1 for local host is now done in Fmake_network_process.
4605 2010-09-24 Glenn Morris <rgm@gnu.org>
4607 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4608 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4609 * textmodes/css-mode.el, textmodes/dns-mode.el:
4610 Move autoloaded auto-mode-alist entries to files.el.
4611 * files.el (auto-mode-alist): Move entries here.
4613 2010-09-23 Glenn Morris <rgm@gnu.org>
4615 * isearch.el (isearch-lazy-highlight-cleanup)
4616 (isearch-lazy-highlight-initial-delay)
4617 (isearch-lazy-highlight-interval)
4618 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4619 * net/net-utils.el (ipconfig-program-options):
4620 Move aliases to options before the associated definitions.
4622 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * newcomment.el (comment-normalize-vars): Better test validity of
4627 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4630 (float-e): New name for `e'.
4631 (degrees-to-radians, radians-to-degrees):
4632 * calendar/solar.el (solar-longitude):
4633 * calculator.el (calculator-registers, calculator-funcall):
4634 * textmodes/artist.el (artist-spray-random-points):
4635 * play/bubbles.el (bubbles--initialize-images): Use new names.
4637 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4639 Update to CEDET 1.0's version of EIEIO.
4641 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4643 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4644 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4645 (class-precedence-list): If class is nil, return nil.
4646 (eieio-generic-call): If class of first input arg is nil, don't
4647 look up static methods, and do check for primary methods.
4648 (initialize-instance): See if the default needs to be evaluated
4649 during the constructor.
4650 (eieio-perform-slot-validation-for-default): Don't do the check
4651 for values that will eventually be evaluated.
4652 (eieio-eval-default-p): New function.
4653 (eieio-default-eval-maybe): Use it.
4655 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4657 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4658 method-invocation-order.
4659 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4660 (eieio-class-precedence-dfs): Compute class precedence list using
4662 (eieio-class-precedence-bfs): Compute class precedence list using
4664 (eieio-class-precedence-c3): Compute class precedence list using
4666 (class-precedence-list): New function.
4667 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4668 (inconsistent-class-hierarchy): New error symbol.
4669 (call-next-method): Stow the replacement argument list for future
4670 call-next-method invocations.
4672 2010-09-23 Glenn Morris <rgm@gnu.org>
4674 * calendar/appt.el (appt-check): If not displaying the diary,
4675 use (diary 1) to only get the entries we need.
4676 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4677 that it is in day order. (Bug#7019)
4679 * calendar/appt.el (appt-check): Rather than showing the diary,
4680 just turn off invisible display, and only if needed.
4682 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4684 2010-09-23 Glenn Morris <rgm@gnu.org>
4686 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4687 (byte-compile-defvar, byte-compile-cl-warn):
4688 Start warnings with lower-case, like the majority.
4690 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4692 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4694 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4695 * files.el (auto-mode-alist): Move ld-script entries here, further down
4698 * vc/add-log.el: Don't require timezone when compiling.
4699 (timezone-make-date-sortable): Autoload it.
4700 (change-log-sortable-date-at): Don't require timezone.
4701 Use `ignore-errors'.
4703 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4704 Move alias before definition, so it does not need autoloading.
4706 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4707 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4708 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4709 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4710 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4711 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4712 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4713 * textmodes/tex-mode.el, textmodes/two-column.el:
4714 Remove leading `*' from docs of defcustoms etc.
4716 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4718 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4720 2010-09-22 Dan Christensen <jdc@uwo.ca>
4722 * calendar/time-date.el (date-to-time): Try using parse-time-string
4723 first before using the slower timezone-make-date-arpa-standard.
4725 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4727 * calendar/time-date.el (format-seconds): Comment fix.
4729 2010-09-22 Glenn Morris <rgm@gnu.org>
4731 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4732 is not automatically buffer-local.
4734 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4737 (smie-indent-comment): Be more careful with comment-start-skip.
4738 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4739 (smie-indent-functions): Use them.
4741 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4743 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4745 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4747 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4748 tool-bar-position. Don't modify frame parameters here.
4749 (menu-bar-options-save): Add tool-bar-position.
4751 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4753 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * textmodes/reftex-parse.el (reftex-what-macro)
4756 (reftex-context-substring): Let-bind forward-sexp-function to nil
4757 since we don't need/want to treat \begin...\end as a block (bug#7053).
4759 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4761 * simple.el (blink-matching-open): Use syntax-class.
4763 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4764 Set invisibility spec for pascal's outline mode.
4765 (pascal-outline-change): Clean up calling convention.
4766 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4768 * progmodes/prolog.el (prolog-smie-forward-token)
4769 (prolog-smie-backward-token): New functions.
4770 (prolog-mode-variables): Use them to parse "!," correctly.
4771 Set up smie-blink-matching for ".".
4773 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4775 (ispell-region, ispell-process-line): Update users.
4777 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4780 * textmodes/ispell.el: Fix commenting convention.
4781 (ispell-parse-output): Simplify, use push.
4782 (ispell-region): Use match-string-no-properties.
4783 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4784 (ispell-minor-mode): Use define-minor-mode.
4785 (ispell-message): Remove unused var `skip-regexp'.
4786 (ispell-add-per-file-word-list): Use dynamic let-binding.
4787 Try and use the proper comment marker.
4789 * mail/sendmail.el: Fix commenting convention.
4790 (sendmail-send-it): Use line-beginning-position.
4792 * help-fns.el (describe-variable): Add original value, if applicable.
4794 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4796 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4798 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4800 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4803 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4804 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4805 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4806 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4807 something like "." can also be a closer.
4808 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4809 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4810 Rename internal functions to use "--". Update callers.
4812 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4814 * fringe.el (fringe-styles): New var.
4815 (fringe-mode, fringe-query-style): Use it.
4817 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4819 * progmodes/sql.el: Version 2.8
4820 (sql-login-params): Update widget structure; changes still needed.
4821 (sql-product-alist): Add :list-all and :list-table features for
4822 SQLite, Postgres and MySQL products.
4823 (sql-redirect): Handle default value.
4824 (sql-execute, sql-execute-feature): New functions.
4825 (sql-read-table-name): New function.
4826 (sql-list-all, sql-list-table): New functions. User API.
4827 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4828 for above functions.
4829 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4830 for above functions.
4831 (sql-postgres-login-params): Add user and database defaults.
4832 (sql-buffer-live-p): Bug fix.
4833 (sql-product-history): New variable.
4834 (sql-read-product): New function. Use it.
4835 (sql-set-product, sql-product-interactive): Use it.
4836 (sql-connection-history): New variable.
4837 (sql-read-connection): New function. Use it.
4838 (sql-connect): New function.
4839 (sql-for-each-login): Redesign function interface.
4840 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4841 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4842 (sql-comint): Check for program. Existing live buffer.
4843 (sql-comint-postgres): Add port parameter.
4845 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4847 * emacs-lisp/warnings.el: Fix commenting convention.
4848 (display-warning): Use special mode and make the buffer read-only.
4850 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4852 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4853 empty string when it follows a repeated or optional pattern.
4855 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4857 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4858 (indent-region): Use indent-according-to-mode.
4860 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4862 * fringe.el (fringe-mode): Doc fix.
4864 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4866 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4867 refreshing the preview buffer.
4869 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4871 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4872 (latex-syntax-propertize-rules): New consts; replace
4873 tex-font-lock-syntactic-keywords.
4874 (tex-env-mark, latex-env-before-change): New functions.
4875 (latex-electric-env-pair-mode): New minor mode.
4876 (tex-font-lock-verb): Change arguments; do move point.
4877 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4878 representation as a form of comment.
4879 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4880 (doctex-syntax-propertize-rules): New const; replaces
4881 doctex-font-lock-syntactic-keywords.
4882 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4884 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4885 (fortran-make-syntax-propertize-function): New function; replaces
4886 fortran-font-lock-syntactic-keywords.
4887 (fortran-mode): Use it.
4888 (fortran-line-length): Use it. Improve interactive spec.
4890 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4891 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4892 when adding surrounding \(..\).
4894 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4896 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4899 Use with-current-buffer.
4901 * isearch.el (isearch-face): Rename from `isearch'.
4902 (isearch-highlight): Use new name.
4904 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4906 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4907 5, for `half' width fringes. (Bug#6933)
4909 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4912 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4914 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4916 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4918 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4919 in calculating new frame position. Add more space between new and
4920 parent on the left (Bug#7048).
4922 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4924 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4927 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4929 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4931 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4932 obsolete alias for x-selection-value.
4934 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4936 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4938 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4941 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4943 * net/tramp-compat.el (tramp-compat-with-temp-message)
4944 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4945 (tramp-compat-process-put): New defuns.
4947 * net/tramp.el (top):
4948 * net/tramp-gvfs.el (top):
4949 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4951 * net/tramp.el (tramp-progress-reporter-update):
4952 Use `tramp-compat-funcall'.
4954 * net/tramp.el (tramp-process-actions):
4955 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4956 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4957 (tramp-get-remote-stat, tramp-get-remote-readlink):
4958 Use `tramp-compat-with-temp-message'.
4960 * net/tramp-sh.el (top): Require 'cl.
4961 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4962 (tramp-open-connection-setup-interactive-shell):
4963 Use `tramp-compat-process-put'.
4965 2010-09-15 Alan Mackenzie <acm@muc.de>
4967 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4969 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4971 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4974 `lexical' for warnings related to lexical scoping.
4975 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4976 global vars which don't have a prefix and could hence affect lexical
4977 scoping in unrelated files.
4979 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4981 * net/imap.el: Revert back to version
4982 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4985 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4987 * obsolete/old-whitespace.el (whitespace-unload-function):
4988 Explicitly pass `obarray' to `unintern' to avoid a warning.
4990 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4993 Add `when' argument. Update callers.
4995 * subr.el (unintern): Declare the obarray arg mandatory.
4997 2010-09-14 Glenn Morris <rgm@gnu.org>
4999 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5002 * calendar/diary-lib.el (diary-included-files): New variable.
5003 (diary-list-entries): Maybe initialize diary-included-files.
5004 (diary-include-other-diary-files): Append to diary-included-files.
5005 * calendar/appt.el (appt-update-list): Also check the members of
5006 diary-included-files. (Bug#6999)
5007 (appt-check): Doc fix.
5009 2010-09-14 David Reitter <david.reitter@gmail.com>
5011 * simple.el (line-move-visual): Do not truncate goal column to
5012 integer size. (Bug#7020)
5014 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5016 * repeat.el (repeat): Allow repeating when the last event is a click.
5017 Suggested by Drew Adams (bug#6256).
5019 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5021 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5022 Replace setting HGRCPATH to "" by some less invasive --config options.
5024 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * font-lock.el (font-lock-beginning-of-syntax-function):
5029 2010-09-14 Glenn Morris <rgm@gnu.org>
5031 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5032 and tool-bar modes. (Bug#6211)
5033 (menu-bar-mode): Move setting of standard-value after the
5034 minor-mode definition, otherwise it seems to have no effect.
5036 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5038 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5039 Fix typo. (Bug#6976)
5041 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5043 * whitespace.el: Allow cleaning up blanks without blank
5044 visualization (Bug#6651). Adjust help window for
5045 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5046 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5047 (whitespace-style): Add new value 'face. Adjust docstring.
5048 (whitespace-space, whitespace-hspace, whitespace-tab):
5049 Adjust foreground property face.
5050 (whitespace-line-column): Adjust docstring and type declaration.
5051 (whitespace-style-value-list, whitespace-toggle-option-alist)
5052 (whitespace-help-text): Adjust const initialization.
5053 (whitespace-toggle-options, global-whitespace-toggle-options):
5055 (whitespace-display-window, whitespace-interactive-char)
5056 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5057 (whitespace-help-scroll): New fun.
5059 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5061 * calendar/time-date.el (format-seconds): Comment fix.
5063 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5065 * progmodes/sql.el: Version 2.7.
5066 (sql-buffer-live-p): Improve detection.
5067 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5068 (sql-set-sqli-buffer): Use it.
5069 (sql-product-interactive): Run `sql-set-sqli-hook'.
5070 (sql-rename-buffer): Code cleanup.
5071 (sql-redirect, sql-redirect-value): New functions. More to come.
5073 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5075 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.
5076 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5077 (TRAMP_SRC): New macro.
5078 ($(lisp)/net/tramp-loaddefs.el): New target.
5080 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5082 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5084 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5086 * net/tramp.el (top): Don't show loading message. Require just
5087 'tramp-compat, everything else is required there.
5088 Use `ignore-errors' where appropriate.
5089 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5090 (tramp-terminal-type, tramp-end-of-output)
5091 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5092 (tramp-completion-function-alist-ssh)
5093 (tramp-completion-function-alist-telnet)
5094 (tramp-completion-function-alist-su)
5095 (tramp-completion-function-alist-putty, tramp-remote-path)
5096 (tramp-remote-process-environment, tramp-sh-extra-args)
5097 (tramp-actions-before-shell, tramp-uudecode)
5098 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5099 (tramp-perl-file-attributes)
5100 (tramp-perl-directory-files-and-attributes)
5101 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5102 (tramp-perl-encode, tramp-perl-decode)
5103 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5104 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5105 (tramp-handle-make-symbolic-link, tramp-handle-load)
5106 (tramp-handle-file-name-as-directory)
5107 (tramp-handle-file-name-directory)
5108 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5109 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5110 (tramp-do-file-attributes-with-ls)
5111 (tramp-do-file-attributes-with-perl)
5112 (tramp-do-file-attributes-with-stat)
5113 (tramp-handle-set-visited-file-modtime)
5114 (tramp-handle-verify-visited-file-modtime)
5115 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5116 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5117 (tramp-handle-file-selinux-context)
5118 (tramp-handle-set-file-selinux-context)
5119 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5120 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5121 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5122 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5123 (tramp-handle-file-ownership-preserved-p)
5124 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5125 (tramp-handle-directory-files-and-attributes)
5126 (tramp-do-directory-files-and-attributes-with-perl)
5127 (tramp-do-directory-files-and-attributes-with-stat)
5128 (tramp-handle-file-name-all-completions)
5129 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5130 (tramp-handle-copy-file, tramp-handle-copy-directory)
5131 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5132 (tramp-do-copy-or-rename-file-via-buffer)
5133 (tramp-do-copy-or-rename-file-directly)
5134 (tramp-do-copy-or-rename-file-out-of-band)
5135 (tramp-handle-make-directory, tramp-handle-delete-directory)
5136 (tramp-handle-delete-file)
5137 (tramp-handle-dired-recursive-delete-directory)
5138 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5139 (tramp-handle-insert-directory)
5140 (tramp-handle-unhandled-file-name-directory)
5141 (tramp-handle-expand-file-name)
5142 (tramp-handle-substitute-in-file-name)
5143 (tramp-handle-executable-find, tramp-process-sentinel)
5144 (tramp-handle-start-file-process, tramp-handle-process-file)
5145 (tramp-handle-call-process-region, tramp-handle-shell-command)
5146 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5147 (tramp-handle-insert-file-contents)
5148 (tramp-handle-insert-file-contents-literally)
5149 (tramp-handle-find-backup-file-name)
5150 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5151 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5152 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5153 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5154 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5155 (tramp-find-file-exists-command, tramp-open-shell)
5156 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5157 (tramp-open-connection-setup-interactive-shell)
5158 (tramp-local-coding-commands, tramp-remote-coding-commands)
5159 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5160 (tramp-inline-compress-commands, tramp-find-inline-compress)
5161 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5162 (tramp-send-command, tramp-wait-for-output)
5163 (tramp-send-command-and-check, tramp-barf-unless-okay)
5164 (tramp-send-command-and-read, tramp-mode-string-to-int)
5165 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5166 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5167 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5168 (tramp-method-out-of-band-p, tramp-local-host-p)
5169 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5170 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5171 (tramp-get-test-command, tramp-get-test-nt-command)
5172 (tramp-get-file-exists-command, tramp-get-remote-ln)
5173 (tramp-get-remote-perl, tramp-get-remote-stat)
5174 (tramp-get-remote-readlink, tramp-get-remote-trash)
5175 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5176 (tramp-get-local-uid, tramp-get-local-gid)
5177 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5179 (tramp-methods, tramp-default-method-alist)
5180 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5181 Move initialization to tramp-sh.el.
5182 (tramp-temp-name-prefix): Make it a defconst.
5183 (tramp-dissect-file-name): Don't check anymore for multi-hop
5185 (tramp-debug-outline-regexp): Add a docstring.
5186 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5187 (tramp-get-debug-buffer): Use it.
5189 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5190 initialization forms.
5191 (tramp-set-connection-property): Don't protect `tramp-message'
5192 call, it isn't necessary any longer.
5193 (tramp-dump-connection-properties): Use `ignore-errors'.
5195 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5196 'password-cache and 'auth-source.
5198 * net/tramp-gvfs.el (top):
5199 * net/tramp-smb.el (top): Require 'tramp-sh.
5201 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5203 * net/tramp-sh.el: New file, derived from tramp.el.
5204 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5205 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5206 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5207 Use `ignore-errors' where appropriate.
5208 (tramp-sh-file-name-handler-alist): Rename from
5209 `tramp-file-name-handler-alist'.
5210 (tramp-send-command-and-check): Return t or nil. Remove all
5211 `zerop' checks, where called.
5212 (tramp-handle-set-file-modes)
5213 (tramp-do-copy-or-rename-file-directly)
5214 (tramp-handle-delete-directory, tramp-handle-delete-file)
5215 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5216 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5217 (tramp-get-remote-ln): Set tramp-autoload cookie.
5219 * net/tramp-fish.el: Remove file.
5221 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5223 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5224 buffer-file-name to avoid file-locking. (Bug#7026)
5226 2010-09-13 Julien Danjou <julien@danjou.info>
5228 * notifications.el (notifications-notify): Add support for
5229 image-path and sound-name.
5230 (notifications-specification-version): Add this variable.
5232 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5234 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5236 2010-09-12 Leo <sdl.web@gmail.com>
5238 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5239 (rcirc-completion-start): New variables.
5240 (rcirc-nick-completions): Rename to rcirc-completions.
5241 (rcirc-nick-completion-start-offset): Delete.
5242 (rcirc-completion-at-point): New function for constructing
5243 completion data for both nicks and irc commands. Add to
5244 completion-at-point-functions in rcirc mode.
5245 (rcirc-complete): Rename from rcirc-nick-complete; use
5246 rcirc-completion-at-point.
5247 (defun-rcirc-command): Update rcirc-client-commands.
5249 2010-09-11 Glenn Morris <rgm@gnu.org>
5251 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5252 atomically, to avoid parallel build errors. (Bug#4196)
5254 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5256 * progmodes/sql.el: Version 2.6
5257 (sql-dialect): Synonym for "sql-product".
5258 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5259 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5260 Set "sql-buffer" to buffer name not buffer object so multiple sql
5261 interactive buffers work properly. Reverts misguided changes in
5263 (sql-comint): Make sure different buffer name is used if "*SQL*"
5264 buffer is for a different product.
5265 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5267 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5268 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5269 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5270 Accept new buffer name or prompt for one.
5271 (sql-port): Default to zero.
5272 (sql-comint-mysql): Handle "sql-port" as a numeric.
5273 (sql-port-history): Delete unused variable.
5274 (sql-get-login): Default "sql-port" to a number.
5275 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5276 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5277 "sqlite3" executables.
5278 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5279 (sql-buffer-live-p): New function.
5280 (sql-mode-menu, sql-send-string): Use it.
5281 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5283 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5284 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5286 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5288 * net/netrc.el (netrc-credentials): New convenience function.
5290 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5293 to replace texinfo-font-lock-syntactic-keywords.
5294 (texinfo-mode): Use it.
5296 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5297 Use syntax-propertize-function.
5299 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5300 replace sgml-font-lock-syntactic-keywords.
5301 (sgml-mode): Use it.
5303 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5304 since we don't use it.
5306 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5308 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5310 (vhdl-fontify-buffer): Adjust.
5312 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5313 replace tcl-font-lock-syntactic-keywords.
5316 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5317 replace simula-font-lock-syntactic-keywords.
5318 (simula-mode): Use it.
5320 * progmodes/sh-script.el (sh-st-symbol): Remove.
5321 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5322 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5323 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5324 (sh-font-lock-paren): Set syntax-multiline.
5325 (sh-font-lock-syntactic-keywords): Remove.
5326 (sh-syntax-propertize-function): New function to replace it.
5329 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5330 Define while compiling.
5331 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5332 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5333 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5334 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5335 (ruby-here-doc-end-syntax): Only define when
5336 syntax-propertize is not available.
5337 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5339 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5340 (electric-indent-chars): Silence bytecompiler.
5341 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5342 electric-indent-chars.
5344 * progmodes/python.el (python-syntax-propertize-function): New var to
5345 replace python-font-lock-syntactic-keywords.
5346 (python-mode): Use it.
5347 (python-quote-syntax): Simplify and adjust to new use.
5349 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5350 replace perl-font-lock-syntactic-keywords.
5351 (perl-syntax-propertize-special-constructs): New fun to replace
5352 perl-font-lock-special-syntactic-constructs.
5353 (perl-font-lock-syntactic-face-function): New fun.
5354 (perl-mode): Use it.
5356 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5357 to replace octave-font-lock-close-quotes.
5358 (octave-syntax-propertize-function): New function to replace
5359 octave-font-lock-syntactic-keywords.
5360 (octave-mode): Use it.
5362 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5363 replaces mixal-font-lock-syntactic-keywords.
5364 (mixal-mode): Use it.
5366 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5367 New var; replaces makefile-font-lock-syntactic-keywords.
5368 (makefile-mode): Use it.
5369 (makefile-imake-mode): Adjust.
5371 * progmodes/js.el (js--regexp-literal): Define while compiling.
5372 (js-syntax-propertize-function): New var; replaces
5373 js-font-lock-syntactic-keywords.
5376 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5377 replaces gdb-script-font-lock-syntactic-keywords.
5378 (gdb-script-mode): Use it.
5380 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5381 (fortran--font-lock-syntactic-keywords): New var.
5382 (fortran-line-length): Update syntax-propertize-function and
5383 fortran--font-lock-syntactic-keywords.
5385 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5387 * progmodes/cfengine.el (cfengine-mode):
5388 Use syntax-propertize-function.
5389 (cfengine-font-lock-syntactic-keywords): Remove.
5391 * progmodes/autoconf.el (autoconf-mode):
5392 Use syntax-propertize-function.
5393 (autoconf-font-lock-syntactic-keywords): Remove.
5395 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5396 (ada-after-change-function, ada-initialize-syntax-table-properties)
5397 (ada-handle-syntax-table-properties): Only define when
5398 syntax-propertize is not available.
5399 (ada-mode): Use syntax-propertize-function.
5401 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5402 (font-lock-fontify-syntactic-keywords-region): Move handling of
5403 font-lock-syntactically-fontified to...
5404 (font-lock-default-fontify-region): ...here.
5405 Let syntax-propertize-function take precedence.
5406 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5408 * emacs-lisp/syntax.el (syntax-propertize-function)
5409 (syntax-propertize-chunk-size, syntax-propertize--done)
5410 (syntax-propertize-extend-region-functions): New vars.
5411 (syntax-propertize-wholelines, syntax-propertize-multiline)
5412 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5413 (syntax-propertize): New functions.
5414 (syntax-propertize-rules): New macro.
5415 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5416 (syntax-ppss): Call syntax-propertize.
5418 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5420 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5422 * textmodes/ispell.el (ispell-init-process): Improve comments.
5423 XEmacs compatibility changes regarding (add-hook) 'local option
5424 and (set-process-query-on-exit-flag).
5426 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5428 * net/tramp-cache.el (tramp-parse-connection-properties):
5429 Set tramp-autoload cookie.
5431 2010-09-09 Glenn Morris <rgm@gnu.org>
5433 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5434 (imagemagick-register-types): Doc fix.
5436 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5440 * progmodes/js.el (require): Require is already "eval-and-compile".
5441 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5442 (js--re-search-backward): Use js--re-search-forward.
5444 * progmodes/fortran.el (fortran-line-length): Don't recompute
5445 syntactic keywords redundantly a second time.
5447 * progmodes/ada-mode.el: Replace "(set '" with setq.
5448 (ada-mode): Simplify.
5449 (ada-create-case-exception, ada-adjust-case-interactive)
5450 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5451 (ada-search-ignore-string-comment, ada-move-to-start)
5452 (ada-move-to-end): Use with-syntax-table.
5454 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5455 (font-lock-unfontify-region, font-lock-default-fontify-region):
5456 Update usage correspondingly.
5457 (font-lock-fontify-syntactic-keywords-region):
5458 Set parse-sexp-lookup-properties buffer-locally here.
5459 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5461 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5463 2010-09-08 Glenn Morris <rgm@gnu.org>
5465 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5466 Error if not compiled with -DBYTE_CODE_METER.
5468 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5469 Ignore dir-locals-file.
5471 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5475 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5476 for the `gnu' messages.
5477 (compilation-set-skip-threshold): New command.
5478 (compilation-start): Use \' rather than $.
5479 (compilation-forget-errors): Use clrhash.
5481 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5483 * textmodes/ispell.el (ispell-valid-dictionary-list):
5486 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5488 Migrate to Tramp 2.2. Rearrange load dependencies.
5489 (Bug#1529, Bug#5448, Bug#5705)
5491 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5492 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5493 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5495 * net/tramp.el (top): Remove all other tramp-* loads except
5496 tramp-compat.el. Remove all changes to tramp-unload-hook for
5497 other tramp-* packages. Rearrange defun order. Change calls of
5498 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5499 `tramp-compat-octal-to-decimal' to new function names.
5500 (tramp-terminal-type, tramp-initial-end-of-output)
5501 (tramp-methods, tramp-foreign-file-name-handler-alist)
5502 (tramp-tramp-file-p, tramp-completion-mode-p)
5503 (tramp-send-command-and-check, tramp-get-remote-path)
5504 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5505 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5506 (with-file-property, with-connection-property): Move to
5508 (tramp-local-call-process, tramp-decimal-to-octal)
5509 (tramp-octal-to-decimal): Move to tramp-compat.el.
5510 (tramp-handle-shell-command): Do not require 'shell.
5511 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5513 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5515 * net/tramp-cache.el (top): Require 'tramp. Add to
5516 `tramp-unload-hook'.
5517 (tramp-cache-data, tramp-get-file-property)
5518 (tramp-set-file-property, tramp-flush-file-property)
5519 (tramp-flush-directory-property, tramp-get-connection-property)
5520 (tramp-set-connection-property, tramp-flush-connection-property)
5521 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5523 (with-file-property, with-connection-property): New defuns, moved
5525 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5528 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5529 (tramp-version): Set tramp-autoload cookie.
5531 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5532 changes to tramp-unload-hook for other tramp-* packages. Add to
5533 `tramp-unload-hook'.
5534 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5535 (tramp-compat-call-process): New defuns, moved from tramp.el.
5537 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5538 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5539 Add to `tramp-unload-hook'. Change call of
5540 `tramp-compat-decimal-to-octal' to new function name.
5541 (tramp-fish-method): Make it a defconst.
5542 (tramp-fish-file-name-p): Make it a defsubst.
5543 (tramp-fish-method, tramp-fish-file-name-handler)
5544 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5546 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5547 `tramp-foreign-file-name-handler-alist'. Add to
5548 `tramp-unload-hook'.
5549 (tramp-ftp-method): Make it a defconst.
5550 (tramp-ftp-file-name-p): Make it a defsubst.
5551 (tramp-ftp-method, tramp-ftp-file-name-handler)
5552 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5554 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5555 `tramp-foreign-file-name-handler-alist'. Add to
5556 `tramp-unload-hook'. Change checks, whether package can be
5558 (tramp-gvfs-file-name-p): Make it a defsubst.
5559 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5560 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5561 (tramp-gvfs-handle-file-directory-p): New defun.
5562 (tramp-gvfs-file-name-handler-alist): Use it.
5564 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5565 `tramp-foreign-file-name-handler-alist'. Add to
5566 `tramp-unload-hook'.
5567 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5568 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5570 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5571 (tramp-gw-open-connection): Set tramp-autoload cookie.
5573 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5574 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5575 Add to `tramp-unload-hook'. Change checks, whether package can be
5577 (tramp-imap-file-name-p): Make it a defsubst.
5578 (tramp-imap-method, tramp-imaps-method)
5579 (tramp-imap-file-name-handler)
5580 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5582 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5583 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5584 Add to `tramp-unload-hook'. Change checks, whether package can be
5585 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5587 (tramp-smb-tunnel-method): Make it a defconst.
5588 (tramp-smb-file-name-p): Make it a defsubst.
5589 (tramp-smb-method, tramp-smb-file-name-handler)
5590 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5592 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5593 (tramp-uuencode-region): Set tramp-autoload cookie.
5595 * net/trampver.el (top) Add to `tramp-unload-hook'.
5596 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5597 cookie. Update release number.
5599 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5601 * textmodes/ispell.el (ispell-start-process): Make sure original
5602 arg list is properly initialized (Bug#6993, Bug#6994).
5604 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5606 * files.el (directory-abbrev-alist): Use \` as default regexp.
5608 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5609 chars like - or ] (bug#6984).
5610 (rx-any-condense-range): Explode 2-char ranges.
5612 2010-09-06 Glenn Morris <rgm@gnu.org>
5614 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5616 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5618 * textmodes/bibtex.el:
5619 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5621 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5623 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5624 since no callers use it.
5625 (imap-message-get): Ditto.
5626 (imap-message-put): Ditto.
5627 (imap-mailbox-map): Ditto.
5628 (imap-mailbox-put): Ditto.
5629 (imap-mailbox-get): Ditto.
5630 (imap-mailbox-get): Revert last change for this function.
5632 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5634 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5635 callers to use `imap-fetch' instead. According to the comments, this
5636 should be safe, since all other IMAP clients use the 1:* syntax.
5637 (imap-enable-exchange-bug-workaround): Remove.
5638 (imap-debug): Remove -- doesn't seem very useful.
5640 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5642 * net/imap.el (imap-log): New convenience function used throughout
5643 instead of repeating the same code all over the place.
5645 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5647 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5648 when mouse-drag-copy-region is non-nil (Bug#6956).
5650 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5652 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5653 Improve regexps (Bug#6987).
5654 (dired-sort-toggle): Search more robustly for -t flag.
5656 * files.el (get-free-disk-space): Search more robustly for
5657 "available" column. Suggested by Ehud Karni
5658 <ehud@unix.mvs.co.il>.
5660 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5662 * international/uni-bidi.el:
5663 * international/uni-category.el:
5664 * international/uni-combining.el:
5665 * international/uni-decimal.el:
5666 * international/uni-mirrored.el:
5667 * international/uni-name.el: Regenerate.
5669 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * electric.el (electric-indent-post-self-insert-function):
5672 Don't reindent with a sloppy indentation function.
5674 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5675 border case in change-log-mode.
5677 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5680 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5681 Recognize leading tab in gcc-include regexp. Ignore names with
5682 leading "from" or "in" in gnu regexp (Bug#6937).
5684 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5686 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5687 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5688 (ispell-start-process): Avoid setq and simplify logic.
5689 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5690 (kill-buffer-hook): Don't use it globally with code that uses
5691 expand-file-name since that may call kill-buffer via
5692 code_conversion_restore.
5694 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5696 * emacs-lisp/package.el (package-directory-list): Only call
5697 file-name-nondirectory on a string.
5699 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5701 * emacs-lisp/package.el (package--download-one-archive):
5702 Ensure that archive-contents is valid before saving it.
5703 (package-activate-1, package-mark-obsolete, define-package)
5704 (package-compute-transaction, package-list-maybe-add): Use push.
5706 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5708 Use SMIE's blink-paren for octave-mode.
5709 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5710 Backslashes do not escape single-quotes, single-quotes do.
5711 (octave-block-else-regexp, octave-block-end-regexp)
5712 (octave-block-match-alist): Remove.
5713 (octave-smie-bnf-table): New var, with old content.
5714 (octave-smie-op-levels): Use it.
5715 (octave-smie-closer-alist): New var.
5716 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5717 (octave-blink-matching-block-open): Remove.
5718 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5719 (octave-electric-space): Let self-insert-command run expand-abbrev and
5722 * electric.el (electricity): New group.
5723 (electric-indent-chars): New var.
5724 (electric-indent-post-self-insert-function): New fun.
5725 (electric-indent-mode): New minor mode.
5726 (electric-pair-skip-self): New custom.
5727 (electric-pair-post-self-insert-function): New function.
5728 (electric-pair-mode): New minor mode.
5730 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5731 calcAlg-blink-matching-open.
5732 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5733 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5734 Use the new blink-matching-check-function.
5736 Provide blink-matching support to SMIE.
5737 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5738 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5739 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5741 * simple.el (newline): Fix last change to properly remove itself from
5744 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5746 * simple.el (newline): Eliminate optimization.
5747 Use post-self-insert-hook to set hard-newline and things before
5748 running post-self-insert-hook.
5749 (blink-matching-check-mismatch): New function.
5750 (blink-matching-check-function): New variable.
5751 (blink-matching-open): Use them.
5752 Skip back forward over prefix chars skipped by forward-sexp.
5753 Don't check if the parens are backslash escaped.
5754 (blink-paren-post-self-insert-function): Check backslash escaping here.
5756 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5758 * emacs-lisp/package.el (package-menu-mode-map):
5759 Change package-menu-revert bindings to revert-buffer.
5760 (package-menu-mode): Set revert-buffer-function.
5761 (package-menu-revert): Doc fix.
5763 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5765 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5766 `default-directory' unless using Ispell per-directory personal
5767 dictionaries and not in a mini-buffer under XEmacs.
5768 (kill-buffer-hook): Do not kill ispell process on exit when
5769 `ispell-process-directory' is "~/". (Bug#6143)
5771 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5773 * simple.el (kill-new): Call interprogram-cut-function with only
5776 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5777 Remove cut buffer from error message.
5779 * term/x-win.el (x-select-text):
5780 * term/pc-win.el (x-selection-value):
5781 * term/ns-win.el (x-selection-value):
5782 * eshell/em-term.el:
5783 * w32-fns.el (x-get-selection-value):
5784 * mouse-sel.el (mouse-sel-set-selection-function):
5785 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5787 * term/x-win.el: Update documentation for x-last-selected-text-*.
5788 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5789 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5790 (x-select-text): Remove argument PUSH, update documentation.
5791 Remove cut-buffer code.
5792 (x-selection-value-internal): Was previously x-selection-value.
5793 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5794 Update documentation, remove cut-buffer code.
5795 Call x-selection-value-internal.
5796 (x-clipboard-yank): Call x-selection-value-internal.
5797 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5799 * term/pc-win.el (x-last-selected-text):
5800 x-cut-buffer-or-selection-value renamed to x-selection-value
5801 (x-select-text): Remove argument PUSH, update documentation.
5803 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5804 x-cut-buffer-or-selection-value renamed to x-selection-value
5805 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5806 (x-select-text): Remove argument PUSH, update documentation.
5808 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5810 * w32-fns.el (x-last-selected-text):
5811 x-cut-buffer-or-selection-value renamed to x-selection-value.
5812 (x-cut-buffer-max): Remove.
5813 (x-select-text): Remove argument PUSH, update documentation.
5815 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5817 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5819 * mouse-sel.el (mouse-sel-get-selection-function):
5820 x-cut-buffer-or-selection-value renamed to x-selection-value.
5821 (x-select-text): Remove optional push.
5823 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5825 * simple.el (blink-paren-function): Move from C to here.
5826 (blink-paren-post-self-insert-function): New function.
5827 (post-self-insert-hook): Use it.
5829 * emacs-lisp/pcase.el (pcase-split-memq):
5830 Fix overenthusiastic optimisation.
5831 (pcase-u1): Handle the case of a lambda pred.
5833 2010-08-31 Kenichi Handa <handa@m17n.org>
5835 * international/mule-cmds.el (standard-display-european-internal):
5836 Setup standard-display-table for 8-bit characters by storing 8-bit
5837 characters in the element vector.
5839 * disp-table.el (standard-display-8bit):
5840 Setup standard-display-table for 8-bit characters by storing 8-bit
5841 characters in the element vector.
5842 (standard-display-european): Likewise.
5844 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5846 * textmodes/nroff-mode.el (nroff-view): New command.
5847 (nroff-mode-map): Bind it to C-c C-c.
5849 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5851 * emacs-lisp/smie.el (smie-down-list): New command.
5853 Remove old indentation and navigation code on octave-mode.
5854 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5855 smie-down-list rather than add a binding for octave-down-block.
5856 (octave-mark-block, octave-blink-matching-block-open):
5857 Rely on forward-sexp-function.
5858 (octave-fill-paragraph): Don't narrow, so you can use
5859 indent-according-to-mode.
5860 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5861 (octave-in-block-p, octave-re-search-forward-kw)
5862 (octave-re-search-backward-kw, octave-indent-calculate)
5863 (octave-end-as-array-index-p, octave-block-end-offset)
5864 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5865 (octave-down-block, octave-backward-up-block, octave-up-block)
5866 (octave-before-magic-comment-p, octave-indent-line): Remove.
5868 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5870 * emacs-lisp/package.el (package--read-archive-file): Just use
5871 `read', to avoid copying an additional string.
5872 (package-menu-mode): Set header-line-format here.
5873 (package-menu-refresh, package-menu-revert): Signal an error if
5874 not in the Package Menu.
5875 (package-menu-package-list): New var.
5876 (package--generate-package-list): Operate on the current buffer;
5877 don't assume that it is *Packages*, since the user may rename it.
5878 Allow persistent package listings and sort keys using
5879 package-menu-package-list and package-menu-package-sort-key.
5880 (package-menu--version-predicate): Fix version calculation.
5881 (package-menu-sort-by-column): Don't select the window.
5882 (package--list-packages): Create the *Packages* buffer.
5883 Set package-menu-package-list-key.
5884 (list-packages): Sorting by status is now the default.
5885 (package-buffer-info): Use match-string-no-properties.
5886 (define-package): Add a &rest argument for future proofing, but
5888 (package-install-from-buffer, package-install-buffer-internal):
5889 Merge into a single function, package-install-from-buffer.
5890 (package-install-file): Change caller.
5892 * finder.el: Load finder-inf using `require'.
5893 (finder-list-matches): Sorting by status is now the default.
5894 (finder-compile-keywords): Simpify printing.
5896 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5898 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5899 (octave-mode-map): Remove special bindings for forward/backward-block
5900 and octave-backward-up-block. Use smie-close-block.
5901 (octave-continuation-marker-regexp): New var.
5902 (octave-continuation-regexp): Use it.
5903 (octave-operator-table, octave-smie-op-levels)
5904 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5905 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5906 (octave-mode): Use SMIE.
5907 (octave-close-block): Delete.
5909 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5911 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5912 CLIPBOARD, not in PRIMARY. (Bug#6944)
5914 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5918 (smie-indent-column): Allow indirection through variables.
5920 * composite.el (save-buffer-state): Delete, unused.
5921 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5922 (font-lock-default-fontify-region): Use with-syntax-table.
5923 * jit-lock.el (with-buffer-unmodified): Remove.
5924 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5926 Use `declare' in defmacros.
5927 * window.el (save-selected-window):
5928 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5929 * progmodes/python.el (def-python-skeleton):
5930 * net/dbus.el (dbus-ignore-errors):
5931 * jka-cmpr-hook.el (with-auto-compression-mode):
5932 * international/mule.el (with-category-table):
5933 * emacs-lisp/timer.el (with-timeout):
5934 * emacs-lisp/lisp-mnt.el (lm-with-file):
5935 * emacs-lisp/eieio.el (with-slots):
5936 * emacs-lisp/easymenu.el (easy-menu-define):
5937 * emacs-lisp/debug.el (debugger-env-macro):
5938 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5939 (Multiple-value-call, Multiple-value-prog1):
5940 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5941 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5942 edebug rule to definition.
5943 * emacs-lisp/lisp-mode.el (save-selected-window)
5944 (with-current-buffer, combine-after-change-calls)
5945 (with-output-to-string, with-temp-file, with-temp-buffer)
5946 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5947 (dolist, dotimes, when, unless):
5948 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5950 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5952 * finder.el: Require `package'.
5953 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5954 (finder-package-info): Var deleted.
5955 (finder-keywords-hash, finder--builtins-alist): New vars.
5956 (finder-compile-keywords): Compute package--builtins and
5957 finder-keywords-hash instead of finder-keywords-hash, respecting
5958 the "Package" header.
5959 (finder-unknown-keywords, finder-list-matches):
5960 Use finder-keywords-hash and package--list-packages.
5961 (finder-mode): Don't set font-lock-defaults.
5962 (finder-exit): We don't use "*Finder-package*" and "*Finder
5963 Category*" buffers anymore.
5965 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5966 (package--builtins): Set default value to nil.
5967 (package-initialize): Load precomputed value of package--builtins
5969 (package-alist, package-compute-transaction)
5970 (package-download-transaction): Improve docstring.
5971 (package-read-all-archive-contents): Do not change
5972 package--builtins here.
5973 (list-packages): Make package-list-packages an alias for this.
5974 Sort by status by default.
5975 (package--list-packages): Add optional PACKAGES arg.
5976 (describe-package-1): Use font-lock-face property. For built-in
5977 packages, insert file commentary.
5978 (package--generate-package-list): Rename from
5979 package-list-packages-internal; all callers changed. Add optional
5980 PACKAGES arg. Add alphabetical sort fallbacks.
5981 (package-menu--version-predicate, package-menu--status-predicate)
5982 (package-menu--description-predicate)
5983 (package-menu--name-predicate): New functions.
5985 * info.el (Info-finder-find-node): Search package-alist instead of
5986 finder-package-info.
5988 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5990 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5992 (version-to-list): Handle versions like "10.3d".
5994 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5997 (macroexp-accumulate): Use `declare'.
5999 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6001 * whitespace.el (whitespace-style): Adjust type declaration.
6003 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6005 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6006 empty argument to gvfs-copy.
6008 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6010 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6011 handle new TRASH arg of `delete-file'.
6013 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6015 * net/tramp.el (tramp-handle-insert-directory): Don't use
6016 `forward-word', its default syntax could be changed.
6018 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6019 Michael Albinus <michael.albinus@gmx.de>
6021 Implement compression for inline methods.
6023 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6024 (tramp-copy-size-limit): Allow also nil.
6025 (tramp-inline-compress-commands): New defconst.
6026 (tramp-find-inline-compress, tramp-get-inline-compress)
6027 (tramp-get-inline-coding): New defuns.
6028 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6029 replaced by `tramp-get-inline-coding'.
6030 (tramp-handle-file-local-copy, tramp-handle-write-region)
6031 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6033 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6035 Detect ssh 'ControlMaster' argument automatically in some cases.
6037 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6038 (tramp-default-method): Use it.
6040 2010-08-26 Karel Klíč <kklic@redhat.com>
6042 * net/tramp.el (tramp-file-name-for-operation):
6043 Add file-selinux-context.
6045 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6047 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6049 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6051 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6054 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6056 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6057 (js-paren-indent-offset, js-square-indent-offset)
6058 (js-curly-indent-offset): New options.
6059 (js--proper-indentation): Use them.
6061 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6063 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6064 instead of inspecting font-lock properties (Bug#6916).
6066 2010-08-26 David Reitter <david.reitter@gmail.com>
6068 * server.el (server-visit-files): Run pre-command-hook and
6069 post-command-hook for each buffer while it is current (Bug#6910).
6070 (server-execute): Do not run hooks here.
6072 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6074 Sync with Tramp 2.1.19.
6076 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6077 (tramp-reporter-dump-variable, tramp-load-report-modules)
6078 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6079 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6081 * net/tramp-compat.el (top): Do not autoload
6082 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6083 only when `start-file-process' is not bound.
6084 (byte-compile-not-obsolete-vars): Define if not bound.
6085 (tramp-compat-funcall): New defmacro.
6086 (tramp-compat-line-beginning-position)
6087 (tramp-compat-line-end-position)
6088 (tramp-compat-temporary-file-directory)
6089 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6090 (tramp-compat-copy-file, tramp-compat-copy-directory)
6091 (tramp-compat-delete-file, tramp-compat-delete-directory)
6092 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6094 (tramp-advice-file-expand-wildcards): Do not use
6095 `tramp-handle-file-remote-p'.
6096 (tramp-compat-make-temp-file): Simplify fallback implementation.
6097 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6098 (tramp-compat-copy-tree): Remove function.
6099 (tramp-compat-delete-file): New defun.
6100 (tramp-compat-delete-directory): Provide implementation for older
6102 (tramp-compat-file-attributes): Handle only
6103 `wrong-number-of-arguments' error.
6105 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6106 Add PRESERVE_SELINUX_CONTEXT.
6107 (tramp-fish-handle-delete-file): Add TRASH arg.
6108 (tramp-fish-handle-directory-files-and-attributes):
6109 Do not use `tramp-fish-handle-file-attributes.
6110 (tramp-fish-handle-file-local-copy)
6111 (tramp-fish-handle-insert-file-contents)
6112 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6114 * net/tramp-gvfs.el (top): Require url-util.
6115 (tramp-gvfs-mount-point): Remove.
6116 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6117 and `set-file-selinux-context'.
6118 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6119 (tramp-gvfs-handle-file-selinux-context)
6120 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6121 (with-tramp-dbus-call-method): Format trace message.
6122 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6123 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6124 Implement backup call, when operation on local files fails.
6125 Use progress reporter. Flush properties of changed files.
6126 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6127 Use `tramp-compat-delete-file'.
6128 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6129 (tramp-gvfs-handle-make-directory): Make more traces.
6130 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6131 (tramp-gvfs-url-file-name): Hexify file name in url.
6132 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6133 into account for the resulting file name.
6134 (tramp-gvfs-handler-askquestion): Preserve current message, in
6135 order to let progress reporter continue afterwards. (Bug#6257)
6136 Return dummy mountpoint, when the answer is "no".
6137 See `tramp-gvfs-maybe-open-connection'.
6138 (tramp-gvfs-handler-mounted-unmounted)
6139 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6140 attribute "default_location". Set "prefix" property.
6141 Handle default-location.
6142 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6143 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6144 exists. Raise an error, if not (due to a corresponding answer
6145 "no" in interactive questions, for example).
6146 Use `tramp-compat-funcall'.
6148 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6149 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6150 (tramp-imap-do-copy-or-rename-file)
6151 (tramp-imap-handle-insert-file-contents)
6152 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6153 (tramp-imap-handle-delete-file): Add TRASH arg.
6155 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6156 Add PRESERVE-SELINUX-CONTEXT.
6157 (tramp-smb-handle-copy-file)
6158 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6159 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6160 Use `with-progress-reporter'.
6161 (tramp-smb-handle-delete-file): Add TRASH arg.
6163 * net/tramp.el (tramp-methods): Move hostname to the end in all
6164 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6166 (tramp-verbose): Describe verbose level 9.
6167 (tramp-completion-function-alist)
6168 (tramp-file-name-regexp, tramp-chunksize)
6169 (tramp-local-coding-commands, tramp-remote-coding-commands)
6170 (with-connection-property, tramp-completion-mode-p)
6171 (tramp-action-process-alive, tramp-action-out-of-band)
6172 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6173 (tramp-exists-file-name-handler): Fix docstring.
6174 (tramp-remote-process-environment): Use `format' instead of
6175 `concat'. Protect version string by apostroph.
6176 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6178 (tramp-file-name-regexp-unified)
6179 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6180 not regard the volume letter as remote filename. (Bug#5447)
6181 (tramp-perl-file-attributes)
6182 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6183 (tramp-vc-registered-read-file-names): Read input as
6184 here-document, otherwise the command could exceed maximum length
6186 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6187 `set-file-selinux-context'.
6188 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6189 backtrace functions.
6190 (tramp-error-with-buffer): Don't show the connection buffer when
6191 we are in completion mode.
6192 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6193 (tramp-handle-file-selinux-context)
6194 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6195 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6197 (with-progress-reporter): New defmacro.
6198 (tramp-debug-outline-regexp): New defconst.
6199 (top, tramp-rfn-eshadow-setup-minibuffer)
6200 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6201 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6202 (tramp-completion-mode-p, tramp-check-for-regexp)
6203 (tramp-open-connection-setup-interactive-shell)
6204 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6205 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6206 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6207 Use `tramp-compat-funcall'.
6208 (tramp-handle-make-symbolic-link): Flush file properties.
6209 (tramp-handle-load, tramp-handle-file-local-copy)
6210 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6211 (tramp-handle-vc-registered, tramp-maybe-send-script)
6212 (tramp-find-shell): Use `with-progress-reporter'.
6213 (tramp-do-file-attributes-with-stat): Add space in format string,
6214 in order to work around a bug in pdksh. Reported by Gilles Pion
6216 (tramp-handle-verify-visited-file-modtime): Do not send a command
6217 when the connection is not established.
6218 (tramp-handle-set-file-times): Simplify the check for utc.
6219 (tramp-handle-directory-files-and-attributes)
6220 (tramp-get-remote-path): Use `copy-tree'.
6221 (tramp-completion-handle-file-name-all-completions): Ensure, that
6222 non remote files are still checked. Oops.
6223 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6224 Handle PRESERVE-SELINUX-CONTEXT.
6225 (tramp-do-copy-or-rename-file): Add progress reporter.
6226 (tramp-do-copy-or-rename-file-directly): Do not use
6227 `tramp-handle-file-remote-p'.
6228 (tramp-do-copy-or-rename-file-out-of-band):
6229 Use `tramp-compat-delete-directory'.
6230 (tramp-do-copy-or-rename-file-out-of-band)
6231 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6232 Use `format-spec-make'.
6233 (tramp-handle-delete-file): Add TRASH arg.
6234 (tramp-handle-dired-uncache): Flush directory cache, not only file
6236 (tramp-handle-expand-file-name)
6237 (tramp-completion-handle-file-name-all-completions)
6238 (tramp-completion-handle-file-name-completion):
6239 Use `tramp-connectable-p'.
6240 (tramp-handle-start-file-process): Set connection property "vec".
6241 Use it, in order to invalidate file caches. Check only for
6242 `remote-tty' process property.
6243 Implement tty setting. (Bug#4604, Bug#6360)
6244 (tramp-file-name-for-operation): Add `call-process-region' and
6245 `set-file-selinux-context'.
6246 (tramp-find-foreign-file-name-handler)
6247 (tramp-advice-make-auto-save-file-name)
6248 (tramp-set-auto-save-file-modes): Remove superfluous check for
6249 `stringp'. This is done inside `tramp-tramp-file-p'.
6250 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6251 operations when we are in completion mode. This gives the user
6252 the chance to correct the file name in the minibuffer.
6253 (tramp-completion-mode-p): Use `non-essential'.
6254 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6255 compatibility: Use `completion-ignore-case' if
6256 `read-file-name-completion-ignore-case' does not exist.
6257 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6258 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6260 (tramp-action-password): Hide password prompt before next run.
6261 (tramp-process-actions): Widen connection buffer for the trace.
6262 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6263 process property. Trace stty settings if `tramp-verbose' >= 9.
6264 Apply workaround for IRIX64 bug. Move argument of last
6265 `tramp-send-command' where it belongs to.
6266 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6267 front of `login-args'.
6268 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6269 on "/dev/null" instead of "/".
6270 (tramp-get-ls-command-with-dired): Make test for "--dired"
6272 (tramp-set-auto-save-file-modes): Adapt version check.
6273 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6274 (tramp-handle-process-file): Call the program in a subshell, in
6275 order to preserve working directory.
6276 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6277 `tramp-remote-sh' from `tramp-methods'.
6278 (tramp-get-ls-command): Make test for "--color=never" stronger.
6279 (tramp-check-for-regexp): Use (forward-line 1).
6281 * net/trampver.el: Update release number.
6283 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6285 * help.el (help-map): Bind `C-h P' to describe-package.
6287 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6289 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6290 when downloading archives.
6291 (describe-package-1): Add package commentary.
6292 (package-install-button-action): New function.
6293 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6294 (package-menu-view-commentary): Function removed.
6295 (package-list-packages-internal): Hide the `package' package too.
6297 2010-08-25 Kenichi Handa <handa@m17n.org>
6299 * language/misc-lang.el ("Arabic"): New language environment.
6300 Setup composition-function-table for Arabic characters.
6302 * international/fontset.el (setup-default-fontset): Fix typo for
6303 arabic OTF spec (fini->fina).
6305 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6307 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6310 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6312 * whitespace.el: Allow cleaning up blanks without blank
6313 visualization (Bug#6651). Adjust help window for
6314 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6315 instead of whitespace-line-column (from EmacsWiki). New version
6317 (whitespace-style): Add new value 'face. Adjust docstring.
6318 (whitespace-space, whitespace-hspace, whitespace-tab):
6319 Adjust foreground property face.
6320 (whitespace-line-column): Adjust docstring and type declaration.
6321 (whitespace-style-value-list, whitespace-toggle-option-alist)
6322 (whitespace-help-text): Adjust const initialization.
6323 (whitespace-toggle-options, global-whitespace-toggle-options):
6325 (whitespace-display-window, whitespace-interactive-char)
6326 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6327 (whitespace-help-scroll): New fun.
6329 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6331 * emacs-lisp/package.el (list-packages): Alias for
6332 package-list-packages.
6334 2010-08-24 Kevin Ryde <user42@zip.com.au>
6336 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6339 * progmodes/ruby-mode.el (ruby): Add defgroup.
6341 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6343 * progmodes/python.el: Add Ipython support (Bug#5390).
6344 (python-shell-prompt-alist)
6345 (python-shell-continuation-prompt-alist): New options.
6346 (python--set-prompt-regexp): New function.
6347 (inferior-python-mode, run-python, python-shell):
6348 Require ansi-color. Use python--set-prompt-regexp to set the comint
6349 prompt based on the Python interpreter.
6350 (python--prompt-regexp): New var.
6351 (python-check-comint-prompt)
6352 (python-comint-output-filter-function): Use it.
6353 (run-python): Use a pipe (Bug#5694).
6355 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6357 * progmodes/python.el (python-send-region): Send a different
6358 Python command if Ipython is in use.
6359 (python-check-version): Use a Python command to find the version.
6361 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6363 * mouse.el (mouse-yank-primary): Avoid setting primary when
6364 deactivating the mark (Bug#6872).
6366 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6368 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6369 with "else" (Bug#3991).
6371 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6373 * net/dbus.el: Accept UNIX domain sockets as bus address.
6374 (top): Don't initialize `dbus-registered-objects-table' anymore,
6375 this is done in dbusbind,c.
6376 (dbus-check-event): Adapt test for bus.
6377 (dbus-return-values-table, dbus-unregister-service)
6378 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6381 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6383 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6385 2010-08-22 Juri Linkov <juri@jurta.org>
6387 * simple.el (read-extended-command): New function with the logic
6388 for `completing-read' moved to Elisp from `execute-extended-command'.
6389 Use `function-called-at-point' in `minibuffer-default-add-function'
6390 to get a command name for M-n (bug#5364, bug#5214).
6392 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6394 * startup.el (command-line-1): Issue warning for ignored arguments
6395 --unibyte, etc (Bug#6886).
6397 2010-08-22 Leo <sdl.web@gmail.com>
6399 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6400 (ignore, bright, dim, keyword): Split list of nicknames before
6401 passing to rcirc-add-or-remove (Bug#6894).
6403 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6405 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6407 2010-08-22 Leo <sdl.web@gmail.com>
6409 Fix buffer-list rename&refresh after killing a buffer in ido.
6410 * ido.el: Revert Óscar's.
6411 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6412 Remember the buffers at head, rather than their name.
6413 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6415 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6416 Stefan Monnier <monnier@iro.umontreal.ca>
6418 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6419 extra backslash added to each line (bug#6890).
6421 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6425 2010-08-22 Glenn Morris <rgm@gnu.org>
6427 * menu-bar.el (menu-bar-games-menu): Add landmark.
6429 2010-08-22 Glenn Morris <rgm@gnu.org>
6431 * align.el (align-regexp): Make group and spacing arguments
6432 use the interactive defaults when non-interactive. (Bug#6698)
6434 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6435 expansion, so as not to need sendmail.
6436 (mail-text-start): Remove declaration.
6437 (rmail-retry-failure): Require sendmail.
6439 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6441 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6443 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6445 * progmodes/flymake.el (flymake-start-syntax-check-process):
6446 Use `start-file-process' in order to let it run also on remote hosts.
6448 2010-08-22 Kenichi Handa <handa@m17n.org>
6450 * files.el: Add `word-wrap' as safe local variable.
6452 2010-08-22 Glenn Morris <rgm@gnu.org>
6454 * woman.el (woman-translate): Case matters. (Bug#6849)
6456 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6458 * simple.el (kill-region): Doc fix (Bug#6787).
6460 2010-08-22 Glenn Morris <rgm@gnu.org>
6462 * calendar/diary-lib.el (diary-header-line-format):
6463 Fit it to the window, not the frame.
6465 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6467 * subr.el (ignore-errors): Add debug declaration.
6469 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6471 * whitespace.el (whitespace-color-off): Remove post-command-hook
6474 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6478 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6480 * cus-edit.el (custom-group-value-create): Add extra newline
6481 before end line (Bug#6876).
6483 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6485 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6486 when extending it. Before killing on the second click, check if
6487 the buffer is the correct one. Doc fix.
6488 (mouse-secondary-save-then-kill): Allow usage without first
6489 calling mouse-start-secondary, by defaulting to point. Don't save
6490 an empty secondary selection. Doc fix.
6492 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6494 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6495 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6497 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6498 Adjust initialization.
6499 (whitespace-bob-marker, whitespace-eob-marker)
6500 (whitespace-buffer-changed): New vars.
6501 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6502 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6503 (whitespace-post-command-hook, whitespace-display-char-on):
6505 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6506 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6508 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * files.el (locate-file-completion-table): Only list the .el and .elc
6511 extensions if there's no other choice (bug#5955).
6513 * facemenu.el (facemenu-self-insert-data): New var.
6514 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6516 (facemenu-add-face): Use them.
6518 * simple.el (blink-matching-open): Obey forward-sexp-function.
6520 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * simple.el (prog-mode-map): New var.
6523 (prog-indent-sexp): New command.
6525 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6527 * progmodes/prolog.el (smie): Require.
6529 * emacs-lisp/smie.el (smie-default-backward-token)
6530 (smie-default-forward-token): Strip properties.
6531 (smie-next-sexp): Be more careful with associative operators.
6532 (smie-forward-sexp-command): Generalize.
6533 (smie-backward-sexp-command): Simplify.
6534 (smie-closer-alist): New var.
6535 (smie-close-block): New command.
6536 (smie-indent-debug-log): New var.
6537 (smie-indent-offset-rule): Add a few more cases.
6538 (smie-indent-column): New function.
6539 (smie-indent-after-keyword): Use it.
6540 (smie-indent-keyword): Use it.
6541 Fix up the opener code's point position.
6542 (smie-indent-comment): Only applies at BOL.
6543 (smie-indent-debug): New command.
6545 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6546 declarations that are useful before running the macro.
6548 2010-08-18 Joakim Verona <joakim@verona.se>
6550 * image.el (imagemagick-types-inhibit): New variable.
6551 (imagemagick-register-types): New function.
6552 * image-mode.el (image-transform-properties): New function.
6553 (image-transform-set-scale, image-transform-fit-to-height)
6554 (image-transform-set-rotation, image-transform-set-resize)
6555 (image-transform-fit-to-width, image-transform-fit-to-height):
6557 (image-toggle-display-image): Support image transforms.
6559 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6561 * image.el (create-animated-image): Don't add heuristic mask to image
6564 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6566 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6567 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6569 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6573 Font-lock '...' strings, plus various simplifications and fixes.
6574 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6575 (octave-font-lock-close-quotes): New function.
6576 (octave-font-lock-syntactic-keywords): New var.
6577 (octave-mode): Use it. Set beginning-of-defun-function.
6578 (octave-mode-map): Don't override the <foo>-defun commands.
6579 (octave-mode-menu): Pass it directly to easy-menu-define;
6580 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6581 (octave-block-match-alist): Fix up last change so that
6582 octave-close-block uses the more specific keyword.
6583 (info-lookup-mode): Silence byte-compiler.
6584 (octave-beginning-of-defun): Not interactive any more.
6586 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6587 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6588 (octave-completion-at-point-function): Make sure point is within
6590 (octave-reindent-then-newline-and-indent):
6591 Use reindent-then-newline-and-indent.
6592 (octave-add-octave-menu): Remove.
6594 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6596 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6597 (report-emacs-bug-can-use-xdg-email): New functions.
6598 (report-emacs-bug): Set can-xdg-email to result of
6599 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6600 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6603 * net/browse-url.el (browse-url-default-browser): Add cond
6604 for browse-url-xdg-open.
6605 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6607 2010-08-17 Glenn Morris <rgm@gnu.org>
6609 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6610 (c-fontify-recorded-types-and-refs): Define for compiler.
6611 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6614 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6617 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6619 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6621 (tramp-handle-process-file): Call the program in a subshell, in
6622 order to preserve working directory.
6623 (tramp-action-password): Hide password prompt before next run.
6624 (tramp-process-actions): Widen connection buffer for the trace.
6626 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6628 * net/rcirc.el (rcirc-log-process-buffers): New option.
6629 (rcirc-print): Use it.
6630 (rcirc-generate-log-filename): New function.
6631 (rcirc-log-filename-function): Change default to
6632 rcirc-generate-log-filename (Bug#6828).
6634 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6636 * simple.el (deactivate-mark): If select-active-regions is `only',
6637 only set selection for temporarily active regions.
6639 * cus-start.el: Change defcustom for select-active-regions.
6641 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6643 * mouse.el (mouse--drag-set-mark-and-point): New function.
6644 (mouse-drag-track): Use LOCATION arg to push-mark.
6645 Use mouse--drag-set-mark-and-point to take click-count into
6646 consideration when updating point and mark (Bug#6840).
6648 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6651 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6653 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6655 * font-lock.el (lisp-font-lock-keywords-2):
6656 Add combine-after-change-calls, condition-case-no-debug,
6657 with-demoted-errors, and with-silent-modifications (Bug#6025).
6659 2010-08-14 Kevin Ryde <user42@zip.com.au>
6661 * emacs-lisp/copyright.el (copyright-update-year)
6662 (copyright-update): Temporary switch-to-buffer to ensure the
6663 buffer change being queried is visible (Bug#5394).
6665 2010-08-14 Tom Tromey <tromey@redhat.com>
6667 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6670 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6672 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6675 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6677 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6678 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6679 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6680 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6681 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6682 Call menu-bar-set-tool-bar-position.
6684 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6686 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6687 comment style (bug#6834).
6688 * progmodes/scheme.el (scheme-mode-syntax-table):
6689 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6690 "b" flag in "' 14b" syntax.
6692 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6693 for (un)commenting the region and performing completion.
6694 (octave-mode-menu): Use standard commands for help and completion.
6695 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6696 (octave-mode): Use define-derived-mode.
6697 Set completion-at-point-functions and don't set columns.
6698 Don't disable adaptive-fill-regexp.
6699 (octave-describe-major-mode, octave-comment-region)
6700 (octave-uncomment-region, octave-comment-indent)
6701 (octave-indent-for-comment): Remove.
6702 (octave-indent-calculate): Rename from calculate-octave-indent.
6703 (octave-indent-line, octave-fill-paragraph): Update caller.
6704 (octave-initialize-completions): No need to make an alist.
6705 (octave-completion-at-point-function): New function.
6706 (octave-complete-symbol): Use it.
6707 (octave-insert-defun): Use define-skeleton.
6709 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6710 (octave-mode-map): Use comment-dwim (bug#6829).
6712 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6714 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6715 indentation of inserted comment.
6717 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6719 * faces.el (region): Add type gtk that uses gtk colors.
6721 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6722 Handle theme-name change.
6724 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6726 * progmodes/sql.el: Version 2.5
6727 (sql-product-alist): Add :prompt-cont-regexp property for several
6729 (sql-prompt-cont-regexp): New variable.
6730 (sql-output-newline-count, sql-output-by-send):
6731 New variables. Record number of newlines in input text.
6732 (sql-send-string): Handle multiple filters and count newlines.
6733 (sql-send-magic-terminator): Count terminator newline.
6734 (sql-interactive-remove-continuation-prompt): Filters output to
6735 remove continuation prompts; one for each newline.
6736 (sql-interactive-mode): Set up new variables, prompt regexp and
6738 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6739 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6741 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * emacs-lisp/pcase.el: New file.
6745 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6747 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6748 as here-document, otherwise the command could exceed maximum
6749 length of command line.
6750 (tramp-handle-vc-registered): Call script accordingly.
6751 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6753 2010-08-10 Kenichi Handa <handa@m17n.org>
6755 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6758 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6760 * emacs-lisp/package.el (package-version-split)
6761 (package--version-first-nonzero, package-version-compare):
6763 (package-directory-list, package-load-all-descriptors)
6764 (package--built-in, package-activate, define-package)
6765 (package-installed-p, package-compute-transaction)
6766 (package-read-all-archive-contents)
6767 (package--add-to-archive-contents, package-buffer-info)
6768 (package-tar-file-info, package-list-packages-internal):
6769 Use version-to-list and version-list-*.
6771 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6772 Use version-to-list.
6773 (package-upload-buffer-internal): Use version-list-<=.
6775 2010-08-09 Kenichi Handa <handa@m17n.org>
6777 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6780 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6782 * tutorial.el (tutorial--default-keys): C-d is now bound to
6783 delete-forward-char (Bug#6826).
6785 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6786 for `double' value of mouse-1-click-follows-link (Bug#6807).
6788 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6790 * replace.el (replace-highlight): Bind isearch-forward and
6791 isearch-error, ensuring that highlighting is updated if the user
6792 switches the search direction (Bug#6808).
6794 * isearch.el (isearch-lazy-highlight-forward): New var.
6795 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6796 (isearch-lazy-highlight-update): Use it.
6798 2010-08-08 Kenichi Handa <handa@m17n.org>
6800 * international/mule.el (define-charset): Store NAME as :base property.
6801 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6802 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6803 current priority. Force using the designation of the specific
6804 charset by adding `charset' text property. Improve the whole algorithm.
6806 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6808 * emulation/pc-select.el (pc-selection-mode-hook)
6809 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6810 (pc-selection-mode): Fix typos in docstrings.
6812 2010-08-08 Kenichi Handa <handa@m17n.org>
6814 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6815 ctext-non-standard-encodings-alist here.
6817 * international/mule.el (ctext-non-standard-encodings-alist):
6818 Add "koi8-r" and "microsoft-cp1251".
6819 (ctext-standard-encodings): New variable.
6820 (ctext-non-standard-encodings-table): List only elements for
6821 non-standard encodings.
6822 (ctext-pre-write-conversion): Adjust for the above change.
6823 Check ctext-standard-encodings.
6825 * international/mule-conf.el (compound-text): Doc fix.
6826 (ctext-no-compositions): Doc fix.
6827 (compound-text-with-extensions): Doc fix.
6829 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6833 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6835 * progmodes/which-func.el (which-func-format): Split help-echo text
6836 into lines, like other mode-line tooltips.
6838 * server.el (server-start): When using TCP sockets, force IPv4
6839 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6841 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6845 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6847 * term.el (term-delimiter-argument-list): Reflow docstring.
6848 (term-read-input-ring, term-write-input-ring, term-send-input)
6849 (term-bol, term-erase-in-display, serial-supported-or-barf):
6850 Fix typos in docstrings.
6852 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6854 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6856 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6858 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6860 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6862 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6863 Fix typo in docstring (bug#6747).
6865 2010-08-08 Leo <sdl.web@gmail.com>
6867 * eshell/esh-io.el (eshell-get-target): Better detection of
6868 read-only file (Bug#6762).
6870 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6872 * align.el (align-default-spacing): Doc fix.
6873 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6875 2010-08-08 Stephen Peters <speters@itasoftware.com>
6877 * calendar/icalendar.el
6878 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6879 (icalendar--get-weekday-numbers): New.
6880 (icalendar--convert-recurring-to-diary): Handle multiple byday
6881 values in weekly rules. (Bug#6766)
6883 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6885 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6886 (icalendar--create-uid, icalendar-export-region)
6887 (icalendar--parse-summary-and-rest): Code formatting.
6889 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6891 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6892 to italicize headers.
6893 (calc-highlight-selections-with-faces): New variable.
6894 (calc-selected-face, calc-nonselected-face): New faces.
6896 * calc/calccomp.el (math-comp-highlight-string): Use
6897 `calc-highlight-selections-with-faces' to determine how to highlight
6900 * calc/calc-sel.el (calc-show-selections): Change message to when
6901 using faces to highlight selections.
6903 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6905 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6906 Add SQLite 3 keywords, functions and datatypes.
6907 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6910 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6912 * simple.el (select-active-regions): Move to keyboard.c.
6913 (deactivate-mark): Used saved-region-selection.
6914 (select-active-region): Function removed.
6915 (activate-mark, set-mark, push-mark-command)
6916 (handle-shift-selection): Don't call it.
6917 (keyboard-quit): Avoid adding the region to the window selection.
6919 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6920 select-active-regions implementation.
6921 (mouse-yank-at-click): Doc fix.
6923 * cus-start.el: Add custom declaration for select-active-regions.
6925 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6927 * simple.el (delete-forward-char): Doc fix.
6929 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6930 after reading the tutorial.
6932 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6934 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6935 Fix for the case that a C style comment has its delimiters alone on
6936 their respective lines.
6938 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6940 * net/tramp.el (tramp-handle-start-file-process): Set connection
6942 (tramp-process-sentinel): Use it for flushing the cache.
6943 We cannot do it via the process buffer, the buffer could be deleted
6944 already when running the sentinel.
6946 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6948 * comint.el (comint-mode): Make directory tracking functions
6949 functional on remote files. (Bug#6764)
6951 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6953 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6955 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6957 * emacs-lisp/find-gc.el (find-gc-source-files):
6958 Rename unexec.c => unexcoff.c.
6960 * emacs-lisp/authors.el (authors-fixed-entries):
6961 Rename unexec.c => unexcoff.c.
6963 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6965 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6966 cache, not only file cache.
6967 (tramp-process-sentinel): New defun.
6968 (tramp-handle-start-file-process): Use it, in order to invalidate
6971 2010-08-03 Leo <sdl.web@gmail.com>
6973 * server.el (server-start): Simplify loop.
6975 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6977 * frame.el (screen-height, screen-width, set-screen-width)
6978 (set-screen-height): Remove ancient compatibility aliases.
6980 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6981 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6983 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6984 that change current buffer.
6986 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6988 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6989 beginning of the string. Use `string-match-p'. (Bug#6765)
6991 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6993 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6995 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6997 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6998 (package--builtins): Tweak descriptions.
6999 (package-print-package): Upcase descriptions if necessary.
7000 Show all built-in packages in font-lock-builtin-face.
7001 (package-list-packages-internal): Omit "emacs" package.
7002 Show status of built-in packages as "built-in".
7004 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7006 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7007 before killing to preserve the primary selection (Bug#6701).
7009 * term/x-win.el (x-select-text): Doc fix.
7011 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7013 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7014 (objc-font-lock-extra-types):
7015 * progmodes/cc-mode.el (c-basic-common-init):
7016 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7017 (c++-make-template-syntax-table)
7018 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7019 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7020 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7021 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7022 * progmodes/cc-fonts.el (c-make-inverse-face)
7023 (c-basic-matchers-after):
7024 * progmodes/cc-engine.el (c-forward-keyword-clause)
7025 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7026 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7027 (c-guess-continued-construct, c-guess-basic-syntax):
7028 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7029 The above functions were modified or created.
7031 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7033 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7035 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7037 * files.el (bidi-paragraph-direction): Define safe local values.
7039 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7040 language-info-alist. Remove outdated FIXME in a comment.
7042 2010-07-31 Alan Mackenzie <acm@muc.de>
7044 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7045 Auto-fill broken in C/C++ modes.
7047 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7049 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7050 (menu-bar-showhide-tool-bar-menu-customize-disable)
7051 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7052 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7053 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7054 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7055 make a menu for Options => toolbar that can move it.
7057 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7059 * emacs-lisp/package-x.el (package--make-rss-entry):
7060 (package-maint-add-news-item, package--update-news)
7061 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7063 * emacs-lisp/package.el (package-archive-url): Rename from
7065 (package-install): Doc fix.
7066 (package-download-single, package-download-tar, package-install)
7067 (package-menu-view-commentary): Callers changed.
7069 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp.el (tramp-handle-start-file-process): Check only for
7072 `remote-tty' process property.
7073 (tramp-open-shell): Don't check for tty.
7074 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7077 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7080 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7082 * emacs-lisp/package.el (package-load-list, package-archives)
7083 (package-archive-contents, package-user-dir)
7084 (package-directory-list, package--builtins, package-alist)
7085 (package-activated-list, package-obsolete-alist): Mark as risky.
7087 2010-07-28 Phil Hagelberg <phil@evri.com>
7089 Add support for non-default package repositories.
7090 * emacs-lisp/package.el (package-archive-base): Var deleted.
7091 (package-archives): New variable.
7092 (package-archive-contents): Doc fix.
7093 (package-load-descriptor): Do nothing if descriptor file is missing.
7094 (package--write-file-no-coding): New function.
7095 (package-unpack-single): Use it.
7096 (package-archive-id): New function.
7097 (package-download-single, package-download-tar)
7098 (package-menu-view-commentary): Use it.
7099 (package-installed-p): Make second argument optional.
7100 (package-read-all-archive-contents): New function.
7101 (package-initialize): Use it.
7102 (package-read-archive-contents): Add ARCHIVE argument.
7103 (package--add-to-archive-contents): New function.
7104 (package-install): Don't call package-read-archive-contents.
7105 (package--download-one-archive): Store archive file in a
7106 subdirectory of package-user-dir.
7107 (package-menu-execute): Remove spurious line movement.
7109 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7111 * cus-start.el (tool-bar-style): Add text-image-horiz.
7113 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7115 * progmodes/gud.el (gud-common-init): Check for remoteness of
7116 `file', and not of `default-directory'.
7118 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7120 * net/tramp.el (tramp-methods): Move hostname to the end in all
7121 ssh `tramp-login-args'.
7122 (tramp-verbose): Describe verbose level 9.
7123 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7124 (tramp-open-connection-setup-interactive-shell): Trace stty
7125 settings if `tramp-verbose' >= 9.
7126 (tramp-handle-start-file-process): Implement tty setting.
7127 (Bug#4604, Bug#6360)
7129 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7130 `tramp-verbose' to 9.
7132 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7134 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7135 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7136 Remove references to package `lisp-re' (bug#4369).
7138 2010-07-27 Tom Tromey <tromey@redhat.com>
7140 * progmodes/js.el (js-mode):
7141 * progmodes/make-mode.el (makefile-mode):
7142 * progmodes/simula.el (simula-mode):
7143 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7145 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7147 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7149 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7150 (display-time-world-buffer-name, display-time-world-mode-map):
7151 Fix typos in docstrings.
7153 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7155 * image-mode.el (image-display-size): New function.
7156 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7157 (image-mode-fit-frame): Use it (Bug#6639).
7159 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7161 * dired.el (dired-buffers-for-dir): Handle list values of
7162 dired-directory (Bug#6636).
7164 2010-07-26 Sam Steingold <sds@gnu.org>
7166 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7167 Do not call `x-get-selection' the second time, reuse the value.
7169 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7171 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7172 which consist of control chars only. Suggested by Richard Stallman.
7174 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7176 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7177 exists before passing an error to find-file-not-found-functions
7180 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7182 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7183 Remove leading nil element, adjust values.
7184 (tetris-shapes, tetris-shape-scores):
7185 Change representation of shapes and remove some redundancy.
7186 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7187 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7188 Adjust for working with new representation of shapes.
7189 (tetris-shape-rotations): New function.
7190 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7191 (tetris-rotate-prev, tetris-rotate-next):
7192 Adjust for working with the new version of tetris-test-shape.
7194 2010-07-23 Markus Triska <markus.triska@gmx.at>
7196 * progmodes/ps-mode.el: Use comint (bug#5954).
7197 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7198 (ps-mode-other-newline): Simplify.
7199 (ps-run-mode): Derive from comint-mode instead of
7200 fundamental-mode, yielding input history etc.
7201 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7202 (ps-run-send-string): Adapt for comint-mode.
7203 (ps-run-newline): Remove now unneeded function.
7205 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7207 * net/tramp.el (tramp-methods): Move hostname to the end in all
7208 plink `tramp-login-args'.
7210 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7212 * net/tramp.el (tramp-open-shell): New defun.
7213 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7216 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7218 * net/tramp.el (tramp-file-name-regexp-unified)
7219 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7220 not regard the volume letter as remote filename. (Bug#5447)
7222 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7224 * custom.el (custom-declare-variable): Give a clearer error message
7225 when the docstring is missing (bug#6476).
7227 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7229 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7230 (sql-login-params): New widget definition.
7231 (sql-oracle-login-params, sql-mysql-login-params)
7232 (sql-solid-login-params, sql-sybase-login-params)
7233 (sql-informix-login-params, sql-ingres-login-params)
7234 (sql-ms-login-params, sql-postgres-login-params)
7235 (sql-interbase-login-params, sql-db2-login-params)
7236 (sql-linter-login-params): Use it.
7237 (sql-sqlite-login-params): Use it; Define "database" parameter as
7239 (sql-sqlite-program): Change to "sqlite3".
7240 (sql-comint-sqlite): Make sure database name is complete.
7241 (sql-for-each-login): New function.
7242 (sql-connect, sql-save-connection): Use it.
7243 (sql-get-login-ext): New function.
7244 (sql-get-login): Use it.
7245 (sql-make-alternate-buffer-name): Handle :file parameters.
7247 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7249 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7250 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7252 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7254 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7256 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7258 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7260 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp.el (tramp-get-ls-command)
7263 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7266 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7268 * progmodes/sql.el: Version 2.3.
7269 (sql-connection-alist): Change keys from symbols to strings;
7270 enhanced the widget definition.
7271 (sql-mode-menu): Add submenu to select connections.
7272 (sql-interactive-mode-menu): Add "Save Connection" item.
7273 (sql-add-product): Fix menu item.
7274 (sql-get-product-feature): Improved error handling.
7275 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7276 (sql-make-alternate-buffer-name): Simplified.
7277 (sql-product-interactive): Handle missing product.
7278 (sql-connect): Support string keys, minor improvements.
7279 (sql-save-connection): New function.
7280 (sql-connection-menu-filter): New function.
7282 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7284 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7285 (tramp-open-connection-setup-interactive-shell):
7286 Apply workaround for IRIX64 bug. Move argument of last
7287 `tramp-send-command' where it belongs to.
7289 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7291 * net/tramp.el (tramp-perl-file-attributes)
7292 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7293 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7294 front of `login-args'.
7296 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7298 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7299 Set `show-trailing-whitespace' to nil.
7300 (display-time-world-display): Simplify.
7302 2010-07-18 Alan Mackenzie <acm@muc.de>
7304 Enhance `c-file-style' in file/directory local variables.
7305 * progmodes/cc-mode.el (c-count-cfss): New function.
7306 (c-before-hack-hook): Call `c-set-style' differently according to
7307 whether c-file-style was set in file or directory local
7310 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7312 * progmodes/sql.el: Version 2.2.
7313 (sql-product, sql-user, sql-database, sql-server, sql-port):
7314 Use defcustom :safe keyword rather than putting safe-local-variable
7316 (sql-password): Use defcustom :risky keyword rather than putting
7317 risky-local-variable property.
7318 (sql-oracle-login-params, sql-sqlite-login-params)
7319 (sql-solid-login-params, sql-sybase-login-params)
7320 (sql-informix-login-params, sql-ingres-login-params)
7321 (sql-ms-login-params, sql-postgres-login-params)
7322 (sql-interbase-login-params, sql-db2-login-params)
7323 (sql-linter-login-params): Add `port' option.
7324 (sql-get-product-feature): Add NO-INDIRECT parameter.
7325 (sql-comint-oracle, sql-comint-sybase)
7326 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7327 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7328 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7329 (sql-comint-linter): Rename sql-connect-* functions to
7331 (sql-product-alist, sql-mode-menu): Rename as above and
7332 :sqli-connect-func to :sqli-comint-func.
7333 (sql-connection): New variable.
7334 (sql-interactive-mode): Set it.
7335 (sql-connection-alist): New variable.
7336 (sql-connect): New function.
7337 (sql--alt-buffer-part, sql--alt-if-not-empty)
7338 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7340 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7342 * image-mode.el (image-bookmark-make-record): Do not set context
7343 in an image (Bug#6650).
7345 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7347 * simple.el (select-active-region): New function.
7348 (push-mark-command, set-mark, activate-mark)
7349 (handle-shift-selection): Use it.
7350 (deactivate-mark): Don't check for size of region.
7352 * mouse.el (mouse-drag-track): Use select-active-region.
7354 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7356 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7359 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7361 * term/x-win.el (x-select-enable-primary): Change default to nil.
7362 (x-select-enable-clipboard): Add :version keyword.
7364 * mouse.el (mouse-drag-copy-region):
7365 * simple.el (select-active-regions): Likewise.
7367 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7369 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7370 (vc-coding-system-for-diff): Use it to decide whether to inherit
7371 from the file the EOL format for reading the diffs of that file.
7374 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7376 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7377 unibyte, so compressed attachments are not compressed again.
7379 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7381 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7382 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7383 (tramp-find-shell): Simplify setting connection property.
7384 (tramp-get-ls-command): Make test for "--color=never" stronger.
7386 2010-07-15 Simon South <ssouth@member.fsf.org>
7388 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7389 blocks within record declarations (i.e. variant parts) correctly.
7391 2010-07-15 Simon South <ssouth@member.fsf.org>
7393 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7394 over literal tokens when parsing so newlines aren't "absorbed" by
7395 single-line comments. Corrects the indentation of case blocks
7396 that have a comment on the first line.
7398 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7400 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7401 by Drew Adams (Bug#5504).
7403 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7405 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7406 now that Unicode is used (Bug#6594).
7408 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7410 * term/x-win.el (x-select-enable-clipboard): Default to t.
7411 (x-initialize-window-system): Don't overwrite Paste menu item.
7413 * simple.el (select-active-regions): Default to t.
7414 (push-mark-command): Don't overwrite primary with empty string.
7416 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7417 (mouse-drag-copy-region): Default to nil.
7419 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7420 Cut/Copy/Paste menu bar items.
7422 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7424 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7425 Patch applied by Karl Fogel.
7427 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7428 and `bookmark-current-buffer' if they have been already set in
7429 another buffer (e.g gnus-art).
7431 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7432 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7434 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7436 * bookmark.el (bookmark-make-record-default): Allow unneeded
7437 information to be omitted from the record.
7439 Adjust declarations and calls:
7441 * info.el (bookmark-make-record-default): Adjust declaration.
7442 (Info-bookmark-make-record): Adjust call.
7444 * woman.el (bookmark-make-record-default): Adjust declaration.
7445 (woman-bookmark-make-record): Adjust call.
7447 * man.el (bookmark-make-record-default): Adjust declaration.
7448 (Man-bookmark-make-record): Adjust call.
7450 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7452 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7454 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7456 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7457 This is also from Thierry Volpiatto's patch in bug #6444. However,
7458 because it was extraneous to the functional change in that patch,
7459 and causes a re-indendation, I am committing it separately.
7461 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7463 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7464 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7465 Patch applied by Karl Fogel (Bug#6444).
7467 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7469 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7471 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7473 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7474 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7475 (ns-alternatives-map): Change S-tab binding to backtab
7478 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7481 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7483 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7486 * language/tv-util.el (tai-viet-re): Remove format.
7488 2010-07-12 Kenichi Handa <handa@m17n.org>
7490 * language/hebrew.el: Remove no-byte-compile declaration.
7491 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7492 composition-function-table for 3-character looking back.
7493 (hebrew-font-get-precomposed): New function.
7494 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7496 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7498 * mouse.el (mouse-drag-track): Handle select-active-regions
7501 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7503 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7504 empty argument to gvfs-copy.
7506 2010-07-10 Glenn Morris <rgm@gnu.org>
7508 * calendar/calendar.el (calendar-week-end-day): New function.
7509 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7510 Respect calendar-week-start-day. (Bug#6606)
7511 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7512 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7513 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7514 respect calendar-week-start-day.
7516 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7518 * simple.el (use-region-p): Doc fix (Bug#6607).
7520 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7522 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7523 Add regexps for cucumber and ruby.
7525 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7527 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7528 (epa-file-insert-file-contents): Hack to prevent
7529 find-file from opening empty buffer when decryption failed
7532 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7534 * textmodes/ispell.el (ispell-alternate-dictionary):
7535 Use file-readable-p.
7536 Return nil if no word-list is found at default locations.
7537 (ispell-complete-word-dict): Default to nil.
7538 (ispell-command-loop): Use 'word-list' when using lookup-words.
7539 (lookup-words): Use ispell-complete-word-dict or
7540 ispell-alternate-dictionary. Check for word-list availability
7541 and handle errors if needed with better messages (Bug#6539).
7542 (ispell-complete-word): Use ispell-complete-word-dict or
7543 ispell-alternate-dictionary.
7545 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7547 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7548 builtins (BufferError, BytesWarning, WindowsError; callables
7549 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7551 2010-07-07 Glenn Morris <rgm@gnu.org>
7553 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7554 (zone-shift-left): Ignore intangibility, and any errors from
7556 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7557 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7558 deleting, and copying text properties.
7559 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7560 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7561 to point-max is hard.
7562 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7563 (zone-fill-out-screen): Ignore intangibility.
7565 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7567 * menu-bar.el (menu-bar-mode):
7568 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7571 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7572 word/line selection (Bug#6565).
7574 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7576 * net/dbus.el (dbus-send-signal): Declare function.
7578 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7580 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7581 (dbus-register-property): New optional argument EMITS-SIGNAL.
7582 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7584 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7586 * mouse.el (mouse-drag-overlay): Variable deleted.
7587 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7588 (mouse--remap-link-click-p): New function.
7589 (mouse-drag-track): Handle dragging by using temporary Transient
7590 Mark mode, instead of a special overlay.
7591 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7594 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7597 2010-07-02 Juri Linkov <juri@jurta.org>
7599 * autoinsert.el (auto-insert-alist): Fix readability
7600 by using dotted pair notation for lambda.
7602 2010-07-02 Juri Linkov <juri@jurta.org>
7604 * faces.el (read-face-name): Rename arg `string-describing-default'
7605 to `default'. Doc fix. Display the default value in quotes
7606 in the prompt. With empty input, return the `default' arg,
7607 unless the default value is a string (in which case return nil).
7608 (describe-face): Replace the string `default' arg of `read-face-name'
7609 with the symbol `default'.
7611 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7613 * emulation/viper-cmd.el (viper-delete-backward-char)
7614 (viper-del-backward-char-in-insert)
7615 (viper-del-backward-char-in-replace, viper-change)
7616 (viper-backward-indent): Replace delete-backward-char with
7617 delete-char (Bug#6552).
7619 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7621 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7623 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7625 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7626 argument passed to frame-creation-function (Bug#5378).
7628 * faces.el (x-handle-named-frame-geometry)
7629 (x-handle-reverse-video, x-create-frame-with-faces)
7630 (face-set-after-frame-default, tty-create-frame-with-faces):
7631 Don't separately consult default-frame-alist. It is now passed as the
7634 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7636 * startup.el (command-line): Don't call tool-bar-setup in a
7639 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7641 * ruler-mode.el (ruler--save-header-line-format): New fun.
7642 (ruler-mode): Use it as a setter function, so as not to overwrite
7643 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7645 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7647 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7648 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7649 (vc-log-outgoing): Use it.
7650 (vc-diff-internal): Set diff-vc-backend.
7652 * vc/diff-mode.el (diff-vc-backend): New var.
7654 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7656 * dynamic-setting.el (font-setting-change-default-font):
7657 Remove call to message.
7659 2010-06-28 Kenichi Handa <handa@m17n.org>
7661 * international/quail.el (quail-insert-kbd-layout): Fix the
7662 showing of untranslated characters.
7664 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7666 * simple.el (delete-active-region): New option.
7667 (delete-backward-char): Implement in Lisp.
7668 (delete-forward-char): New command.
7670 * mouse.el (mouse-region-delete-keys): Deleted.
7671 (mouse-show-mark): Simplify.
7673 * bindings.el (global-map): Bind delete and DEL, the former to
7674 delete-forward-char.
7676 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7678 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7679 (ruby-mode): Bind indent-line-function (Bug#5119).
7681 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7683 * startup.el (command-line): Recognize "0" X resource value.
7685 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7687 * startup.el (command-line): Use X resources to set the value of
7688 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7690 * menu-bar.el (menu-bar-mode):
7691 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7692 Set init-value to t.
7694 * frame.el (frame-notice-user-settings): Don't change
7695 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7696 vice versa (Bug#2249).
7698 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7700 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7702 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7704 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7705 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7707 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7708 default directories are expanded (Bug#6143).
7710 2010-06-24 Juri Linkov <juri@jurta.org>
7712 * minibuffer.el (completions-format): Change default from nil to
7713 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7715 2010-06-24 Juri Linkov <juri@jurta.org>
7717 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7718 buffer-locally to lambda that re-runs the vc diff command.
7721 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7723 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7724 echo area is in use (Bug#3412).
7726 2010-06-22 Glenn Morris <rgm@gnu.org>
7728 * textmodes/texinfmt.el (texinfo-format-region)
7729 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7730 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7731 (texinfo-format-option, texinfo-noindent):
7732 Use line-beginning-position and line-end-position.
7734 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7735 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7736 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7739 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7741 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7742 forward-line fallout.
7744 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7746 * mouse.el (mouse-appearance-menu): Add docstring.
7748 * help.el (describe-key): Print up-event using key-description.
7750 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7752 * net/zeroconf.el (zeroconf-resolve-service)
7753 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7754 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7756 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7758 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7760 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7762 Avoid displaying files with a nil state in vc-dir.
7763 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7764 cases that cause insertion.
7765 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7768 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7770 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7772 2010-06-29 Leo <sdl.web@gmail.com>
7774 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7776 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7778 * generic-x.el (bat-generic-mode): Fix regexp for command line
7779 switches (Bug#5719).
7781 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7783 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7784 of nconc to avoid pure storage error (Bug#6239).
7786 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7788 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7789 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7790 bindings of bookmark-automatically-show-annotations (Bug#6515).
7792 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7794 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7795 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7797 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7799 * comint.el (make-comint, make-comint-in-buffer): Mention return
7800 value in the docstrings. (Bug#6498)
7802 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7804 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7805 since it is not present when using some non-default switches.
7807 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7809 * simple.el (compose-mail): Fix doc string to refer to
7810 `compose-mail-user-agent-warnings', instead of to the
7811 nonexistent `compose-mail-check-user-agent'.
7813 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7815 Fix an indentation bug:
7817 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7818 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7821 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7822 (c-clear->-pair-props-if-match-before): now return t when they've
7823 cleared properties, nil otherwise.
7824 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7825 by taking account of the existing value.
7827 * progmodes/cc-defs.el
7828 (c-clear-char-property-with-value-function): Fix this to clear the
7829 property rather than overwriting it with nil.
7831 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7833 * emacs-lisp/package.el (package-print-package): Add link to
7834 package description via describe-package.
7835 (describe-package-1): List package requirements. Add button to
7836 perform installation.
7837 (package-menu-describe-package): New command.
7839 * help-mode.el (help-package): New button type.
7841 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7843 * emacs-lisp/package.el: Move package-list-packages binding to
7845 (describe-package, describe-package-1, package--dir): New funs.
7846 (package-activate-1): Use package--dir.
7848 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7850 * help-mode.el (help-package-def): New button type.
7852 * menu-bar.el: Move package-list-packages binding here from
7855 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7857 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7859 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * emacs-lisp/edebug.el (edebug-read-list):
7862 Phase out old-style backquotes.
7864 2010-06-17 Juri Linkov <juri@jurta.org>
7866 * help-mode.el (help-mode): Set buffer-local variable
7867 revert-buffer-function to help-mode-revert-buffer.
7868 (help-mode-revert-buffer): New function.
7870 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7871 before popping to "*info*" (like in other Info functions).
7872 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7873 old-history-forward. Pop to old-buffer-name or "*info*" to
7874 recreate the killed buffer. Set Info-history-forward from
7875 old-history-forward.
7876 (Info-breadcrumbs-depth): Add :group and :version.
7878 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7880 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7882 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7884 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7885 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7887 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7889 * emacs-lisp/package.el (package-menu-mode-map):
7890 Move initialization into declaration.
7892 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7894 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7896 * emacs-lisp/package.el (package-archive-base): Point to
7898 (package-enable, package-load-list): New defcustoms.
7899 (package-user-dir, package-directory-list): Turn into defcustoms.
7900 Don't include package-user-dir in package-directory-list.
7901 (package--builtins-base): Don't include Emacs as a "package".
7902 (package-subdirectory-regexp): New var.
7903 (package-load-all-descriptors, package-compute-transaction)
7904 (package-download-transaction): Obey package-load-list.
7905 (package-activate-1): Rename from package-do-activate.
7906 (package-list-packages-internal): Check package-load-list.
7907 (package-load-descriptor, package-generate-autoloads)
7908 (package-unpack, package-unpack-single)
7909 (package--read-archive-file, package-delete):
7910 Use expand-file-name.
7912 * emacs-lisp/package-x.el: New file. Package uploading
7913 functionality split out from package.el.
7915 * startup.el (command-line): Load packages after reading init file.
7917 2010-06-17 Tom Tromey <tromey@redhat.com>
7919 * emacs-lisp/package.el: New file.
7921 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7923 Fix vc-annotate for renamed files when using Git.
7924 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7925 ls-files. Doe not pass the object as a file name to cat-file, it
7927 (vc-git-annotate-command): Pass the file name using -- to avoid
7928 ambiguity with the revision.
7929 (vc-git-previous-revision): Pass a relative file name.
7931 2010-06-22 Glenn Morris <rgm@gnu.org>
7933 * progmodes/js.el (js-mode-map): Use standard capitalization and
7934 ellipses for menu entries.
7936 * wid-edit.el (widget-complete): Doc fix.
7938 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7940 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7942 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7944 Fix annotating other revisions for renamed files in vc-annotate.
7945 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7946 VC backend. Use it when non-nil.
7947 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7950 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7951 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7952 Do not pass the file name to the 'previous-revision call when we
7953 don't want a file diff. (Bug#6489)
7955 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7957 Fix finding revisions for renamed files in vc-annotate.
7958 * vc/vc.el (vc-find-revision): Add an optional argument for
7959 the VC backend. Use it when non-nil.
7960 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7961 backend to vc-find-revision. (Bug#6487)
7963 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7965 Fix reading file names in Git annotate buffers.
7966 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7967 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7969 2010-06-20 Alan Mackenzie <acm@muc.de>
7971 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7972 in file local variables, set it first.
7974 2010-06-19 Glenn Morris <rgm@gnu.org>
7976 * descr-text.el (describe-char-unicode-data): Insert separating
7977 space when needed. (Bug#6422)
7979 * progmodes/idlwave.el (idlwave-action-and-binding):
7980 Fix typo in 2009-12-03 change. (Bug#6450)
7982 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7985 handling for `lambda' (misunderstanding).
7987 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7989 * calc/calc-poly.el (math-accum-factors): Make sure that
7990 constants aren't distributed after they are factored out.
7992 2010-06-16 Juri Linkov <juri@jurta.org>
7994 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7995 `list-colors-print'. (Bug#6332)
7997 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7999 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8001 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8002 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8004 * font-lock.el (font-lock-major-mode): Rename from
8005 font-lock-mode-major-mode to distinguish it from
8006 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8007 (font-lock-set-defaults):
8008 * font-core.el (font-lock-default-function): Adjust users.
8009 (font-lock-mode): Don't set it at all.
8011 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8015 2010-06-16 Glenn Morris <rgm@gnu.org>
8017 * calendar/appt.el (appt-time-msg-list): Doc fix.
8018 (appt-check): Let-bind appt-warn-time.
8019 (appt-add): Make the 3rd argument optional.
8020 Simplify argument names. Doc fix. Check for integer WARNTIME.
8021 Only add WARNTIME to the output list if non-nil.
8023 2010-06-16 Ivan Kanis <apple@kanis.eu>
8025 * calendar/appt.el (appt-check): Let the 3rd element of
8026 appt-time-msg-list specify the warning time.
8027 (appt-add): Add new argument with the warning time. (Bug#5176)
8029 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8031 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8032 older than version 1.6. (Bug#6361)
8034 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8036 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8037 used by cl-do-arglist. (Bug#6408)
8039 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8041 * textmodes/ispell.el (ispell-dictionary-base-alist):
8042 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8043 Suggested by Rolando Pereira (bug#6434).
8045 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8047 * facemenu.el (list-colors-sort): Doc fix.
8049 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8051 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8053 2010-06-14 Juri Linkov <juri@jurta.org>
8055 Add sort option `list-colors-sort'. (Bug#6332)
8056 * facemenu.el (color-rgb-to-hsv): New function.
8057 (list-colors-sort): New defcustom.
8058 (list-colors-sort-key): New function.
8059 (list-colors-display): Doc fix. Sort list according to the option
8061 (list-colors-print): Add HSV values to `help-echo' property of
8064 2010-06-14 Juri Linkov <juri@jurta.org>
8066 * compare-w.el: Move to the "vc" subdirectory.
8068 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * image-mode.el (image-mode-map): Remap left-char and right-char.
8072 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8074 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8076 * term/common-win.el (x-colors): Add all the color names defined
8077 in rgb.txt (Bug#6332).
8079 * facemenu.el (list-colors-print): Don't print extra names if it
8080 will overflow the window width.
8082 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8085 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8087 * files.el (make-directory): Doc fix (bug#6396).
8089 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8091 * net/tramp.el (tramp-remote-process-environment): Protect version
8092 string by apostroph.
8093 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8095 (tramp-file-name-for-operation): Add `call-process-region'.
8096 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8098 * net/tramp-compat.el (top): Do not autoload
8099 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8100 only when `start-file-process' is not bound.
8101 (tramp-advice-file-expand-wildcards): Do not use
8102 `tramp-handle-file-remote-p'.
8103 (tramp-compat-make-temp-file): Handle the case, that
8104 `make-temp-file' has no third argument EXTENSION.
8106 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8108 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8110 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8112 2010-06-11 Juri Linkov <juri@jurta.org>
8114 * finder.el (finder-known-keywords): Add keyword "vc"
8115 for version control.
8117 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8118 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8119 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8120 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8122 2010-06-11 Juri Linkov <juri@jurta.org>
8124 Move version control related files to the "vc" subdirectory.
8125 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8126 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8127 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8128 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8129 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8130 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8131 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8132 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8133 Move files to the "vc" subdirectory.
8135 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8137 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8140 2010-06-11 Stephen Eglen <stephen@gnu.org>
8142 * shell.el: Bind `shell-resync-dirs' to M-RET.
8144 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8146 * notifications.el: Move file from lisp/net, because it is
8147 supposed to talk locally to the user.
8149 2010-06-10 Julien Danjou <julien@danjou.info>
8151 * net/notifications.el (notifications-on-action-signal)
8152 (notifications-on-closed-signal): Pass notification id as first
8153 argument to the callback functions. Add docstrings.
8154 (notifications-notify): Fix docstring.
8156 2010-06-10 Glenn Morris <rgm@gnu.org>
8158 * emacs-lisp/authors.el (authors-ignored-files)
8159 (authors-valid-file-names): Add some files.
8161 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8163 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8164 merge conflict, giving preference to the emacs-23 version of the code.
8166 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8168 * emacs-lisp/advice.el (ad-compile-function):
8169 Define warning-suppress-types before we let-bind it (bug#6275).
8171 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8172 declare it, make it buffer-local and permanent-local (bug#6324).
8173 (vc-resynch-window): Adjust name.
8174 * vc-hooks.el (vc-find-file-hook): Adjust name.
8176 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8178 * net/notifications.el (notifications-notify): Fix docstring.
8180 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8182 Update to Unicode 6.0.0 beta.
8183 * international/charprop.el: Update copyright.
8184 * international/mule-cmds.el (ucs-names): Update character ranges.
8185 * international/uni-bidi.el:
8186 * international/uni-category.el:
8187 * international/uni-combining.el:
8188 * international/uni-comment.el:
8189 * international/uni-decimal.el:
8190 * international/uni-decomposition.el:
8191 * international/uni-digit.el:
8192 * international/uni-lowercase.el:
8193 * international/uni-mirrored.el:
8194 * international/uni-name.el:
8195 * international/uni-numeric.el:
8196 * international/uni-old-name.el:
8197 * international/uni-titlecase.el:
8198 * international/uni-uppercase.el: Regenerate.
8200 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8202 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8203 (smie-precs-precedence-table): Fix typo in docstring.
8205 * vc-mtn.el (log-edit-extract-headers): Declare function.
8207 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8209 * net/notifications.el (dbus-register-signal): Declare function.
8210 (notifications-notify): Fix typos and reflow docstring.
8212 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8214 Improve VC create/retrieve tag/branch.
8215 * vc.el (vc-create-tag): Do not read the directory name for VCs
8216 with repository revision granularity. Adjust the tag/branch
8217 prompt. Reset VC properties.
8218 (vc-retrieve-tag): Do not read the directory name for VCs
8219 with repository revision granularity. Reset VC properties.
8221 2010-06-09 Julien Danjou <julien@danjou.info>
8223 * net/notifications.el: New file.
8225 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8227 Add optional support for resetting VC properties.
8228 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8229 call vc-file-clearprops when true.
8230 (vc-resynch-buffer): Add new optional argument, pass it down.
8231 (vc-resynch-buffers-in-directory): Likewise.
8233 Improve support for special markup in the VC commit message.
8234 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8235 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8236 * vc-git.el (vc-git-checkin):
8237 * vc-bzr.el (vc-bzr-checkin): Likewise.
8239 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8241 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8242 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8244 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8246 * iimage.el: Remove images as soon as the underlying text is modified.
8247 (iimage-modification-hook): New function.
8248 (iimage-mode-buffer): Use it.
8250 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8253 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8254 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8255 (smie-indent-keyword): Add handling of open-paren keywords.
8256 (smie-indent-comment-continue): Don't assume comment-continue.
8258 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8260 * window.el (pop-to-buffer): Remove the conditional that
8261 compares new-window and old-window, so it will reselect
8262 the selected window unconditionally.
8263 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8265 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * emacs-lisp/smie.el (smie-indent-offset-after)
8268 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8269 (smie-indent-after-keyword): Use them.
8270 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8271 (smie-indent-keyword): Tweak the black magic.
8272 (smie-indent-comment-continue): Strip comment-continue before use.
8273 (smie-indent-functions): Indent comments before keywords.
8275 2010-06-06 Juri Linkov <juri@jurta.org>
8277 * isearch.el (isearch-lazy-highlight-search): Fix looping
8278 by checking for empty match. This syncs this loop with the
8279 similar loop in `isearch-search'. (Bug#6362)
8281 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8283 * net/dbus.el (dbus-register-method): Declare function.
8284 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8285 (dbus-introspect): Doc fix.
8286 (dbus-event-bus-name, dbus-introspect-get-interface)
8287 (dbus-introspect-get-argument): Reflow docstrings.
8289 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8291 vc-log-incoming/vc-log-outgoing fixes for Git.
8292 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8293 incoming/outgoing logs.
8294 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8295 instead of vc-git-compute-remote.
8296 (vc-git-compute-remote): Remove.
8298 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8300 * term/common-win.el (x-colors): Add "dark green" and "dark
8301 turquoise" (Bug#6332).
8303 2010-06-04 Juri Linkov <juri@jurta.org>
8305 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8306 Instead of setting `replace' to t and replacing the same string
8307 with itself, don't do certain actions when
8308 kill-do-not-save-duplicates is non-nil and string is equal to car
8309 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8310 interprogram-paste strings to kill-ring, and don't push the input
8311 argument `string' to kill-ring.
8312 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8314 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8316 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8318 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8320 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8321 (tramp-gvfs-handler-mounted-unmounted)
8322 (tramp-gvfs-connection-mounted-p): Handle default-location.
8324 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8325 move files to trash.
8327 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8329 * international/mule-cmds.el (nonascii-insert-offset)
8330 (nonascii-translation-table): Add obsolescence information.
8332 * international/mule.el (make-translation-table-from-vector): Doc fix.
8334 2010-06-03 Glenn Morris <rgm@gnu.org>
8336 * desktop.el (desktop-clear-preserve-buffers):
8337 Add "*Warnings*" buffer. (Bug#6336)
8339 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8341 vc-log-incoming/vc-log-outgoing improvements for Git.
8342 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8344 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8346 Add bindings for vc-log-incoming and vc-log-outgoing.
8347 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8348 and vc-log-outgoing.
8349 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8350 and vc-log-outgoing.
8352 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8354 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8355 (rcirc-handler-366): Always sort nicknames.
8357 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8359 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8361 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8363 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8365 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8367 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8368 (rcirc-sort-nicknames-join): Avoid setq.
8370 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8372 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8373 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8374 (rcirc-handler-366): Use them.
8376 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8378 Split smie-indent-calculate into more manageable chunks.
8379 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8380 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8381 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8382 (smie-indent-exps): Extract from smie-indent-calculate.
8383 (smie-indent-functions): New var.
8384 (smie-indent-functions): Use them.
8386 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8388 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8389 (smie-indent-calculate): Simplify and cleanup.
8391 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8393 * net/tramp-gvfs.el (top): Require url-util.
8394 (tramp-gvfs-mount-point): Remove.
8395 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8397 (with-tramp-dbus-call-method): Format trace message.
8398 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8399 Implement backup call, when operation on local files fails.
8400 Use progress reporter. Flush properties of changed files.
8401 (tramp-gvfs-handle-make-directory): Make more traces.
8402 (tramp-gvfs-url-file-name): Hexify file name in url.
8403 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8404 into account for the resulting file name.
8405 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8406 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8407 (tramp-gvfs-handler-mounted-unmounted)
8408 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8409 attribute "default_location". Set "prefix" property.
8410 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8411 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8412 exists. Raise an error, if not (due to a corresponding answer
8413 "no" in interactive questions, for example).
8415 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8417 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8419 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8421 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8424 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8426 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8427 * vc-git.el (vc-git-compute-remote): New function.
8428 (vc-git-log-outgoing): Use it instead of hard coding a value.
8429 (vc-git-log-incoming): New function.
8431 Improve state updating for VC tag commands.
8432 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8433 to update the state of all buffers in the directory.
8435 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8437 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8440 `file-directory-p' to the filename part rather than to the whole text.
8442 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8446 2010-05-31 Drew Adams <drew.adams@oracle.com>
8448 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8450 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8452 * subr.el (momentary-string-display): Just use read-event to read
8453 the exit event (Bug#6238).
8455 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8457 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8459 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8461 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8462 Suggested by Eli Zaretskii <eliz@gnu.org>.
8464 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8466 * minibuffer.el (completion-file-name-table): Don't return a boundary
8467 past the end of `string' (bug#6299).
8468 (completion--file-name-table): Delegate to completion-file-name-table
8469 for the `boundaries' case.
8471 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8473 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8476 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8477 `path-separator', but maintain compatibility with Emacs 20.2.
8479 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8481 * server.el (server-process-filter): Receive parent-id argument
8483 (server-create-window-system-frame): New arg. Pass parent-id as
8486 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8488 Bidi-sensitive word movement with arrow keys.
8489 * subr.el (right-arrow-command, left-arrow-command): Move to
8492 * bindings.el (right-char, left-char): Move from subr.el and
8493 rename from right-arrow-command and left-arrow-command.
8494 (right-word, left-word): New functions.
8495 (global-map) <right>: Bind to right-char.
8496 (global-map) <left>: Bind to left-char.
8497 (global-map) <C-right>: Bind to right-word.
8498 (global-map) <C-left>: Bind to left-word.
8500 * ls-lisp.el (ls-lisp-classify-file): New function.
8501 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8502 (ls-lisp-classify): Call ls-lisp-classify-file.
8503 (insert-directory): Remove blanks from switches.
8505 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8507 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8508 (ansi-color-drop-regexp): New constant.
8509 (ansi-color-apply, ansi-color-filter-region)
8510 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8511 (ansi-color-apply): Build string list before calling concat.
8513 2010-05-28 Juri Linkov <juri@jurta.org>
8515 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8516 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8519 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8521 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8522 to ignored backtrace functions.
8523 (with-progress-reporter): Expand docstring.
8524 (tramp-handle-delete-file): Implement TRASH argument.
8525 (tramp-get-remote-trash): New defun.
8527 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8529 * net/tramp-compat.el (tramp-compat-delete-file):
8530 Use `symbol-value' for backward compatibility.
8532 * net/tramp.el (tramp-handle-make-symbolic-link)
8534 (tramp-do-copy-or-rename-file-via-buffer)
8535 (tramp-do-copy-or-rename-file-directly)
8536 (tramp-do-copy-or-rename-file-out-of-band)
8537 (tramp-handle-process-file, tramp-handle-call-process-region)
8538 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8539 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8540 (tramp-delete-temp-file-function): Use `delete-file' instead
8541 of `tramp-compat-delete-file'.
8543 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8544 (tramp-fish-handle-make-symbolic-link)
8545 (tramp-fish-handle-process-file): Use `delete-file' instead
8546 of `tramp-compat-delete-file'.
8548 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8549 Use `delete-file' instead of `tramp-compat-delete-file'.
8551 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8552 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8553 `tramp-compat-delete-file'.
8555 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8556 Use `delete-file' instead of `tramp-compat-delete-file'.
8558 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8559 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8560 (tramp-smb-handle-write-region): Use `delete-file' instead of
8561 `tramp-compat-delete-file'.
8562 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8564 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8566 * dired.el (dired-delete-file): New arg TRASH.
8567 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8568 (dired-do-flagged-delete, dired-do-delete): Use trash.
8570 * speedbar.el (speedbar-item-delete): Allow trashing.
8572 * files.el (delete-directory): New arg TRASH.
8574 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8575 (ange-ftp-rename-remote-to-remote)
8576 (ange-ftp-rename-local-to-remote)
8577 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8578 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8580 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8583 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8584 handle new TRASH arg of `delete-file'.
8586 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8587 (tramp-handle-make-symbolic-link, tramp-handle-load)
8588 (tramp-do-copy-or-rename-file-via-buffer)
8589 (tramp-do-copy-or-rename-file-directly)
8590 (tramp-do-copy-or-rename-file-out-of-band)
8591 (tramp-handle-process-file, tramp-handle-call-process-region)
8592 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8593 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8594 (tramp-delete-temp-file-function): Use null TRASH arg in
8595 tramp-compat-delete-file call.
8597 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8598 (tramp-fish-handle-delete-file)
8599 (tramp-fish-handle-make-symbolic-link)
8600 (tramp-fish-handle-process-file): Use null TRASH arg in
8601 `tramp-compat-delete-file' call.
8603 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8604 arg in `tramp-compat-delete-file' call.
8606 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8607 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8608 `tramp-compat-delete-file' call.
8610 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8611 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8612 `tramp-compat-delete-file' call.
8614 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8615 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8616 (tramp-smb-handle-write-region): Use null TRASH arg in
8617 tramp-compat-delete-file call.
8618 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8619 (tramp-smb-handle-delete-file): Rename arg.
8621 * diff.el (diff-sentinel):
8622 * epg.el (epg--make-temp-file, epg-decrypt-string)
8623 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8624 * jka-compr.el (jka-compr-partial-uncompress)
8625 (jka-compr-call-process, jka-compr-write-region):
8626 * server.el (server-sentinel): Remove optional arg from
8627 delete-file, reverting 2010-05-03 change.
8629 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8631 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8632 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8634 2010-05-27 Kenichi Handa <handa@m17n.org>
8636 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8637 element of GSTRING is nil.
8639 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * emacs-lisp/smie.el (smie-forward-token-function)
8642 (smie-backward-token-function): New vars.
8643 (smie-backward-sexp, smie-forward-sexp)
8644 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8645 (smie-default-backward-token): Rename from smie-backward-token and
8647 (smie-default-forward-token): Rename from smie-forward-token and
8649 (smie-next-sexp): Handle nil results from next-token.
8650 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8652 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8654 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8655 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8657 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8659 * htmlfontify.el (hfy-face-resolve-face): New function.
8660 (hfy-face-to-style): Use it (Bug#6279).
8662 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8664 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8665 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8667 2010-05-26 Glenn Morris <rgm@gnu.org>
8669 * emulation/edt.el (edt-load-keys): Use locate-library.
8671 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8673 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8674 (log-edit-changelog-entries): Doc fix.
8675 (log-edit-changelog-insert-entries): Args changed.
8676 Rename relative filenames in ChangeLog entries. Delete tabs.
8677 (log-edit-insert-changelog-entries): Reorganize return value of
8678 `log-edit-changelog-entries' to pass filenames to
8679 log-edit-changelog-insert-entries.
8681 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8683 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8684 `image-dired-dired-insert-marked-thumbs' to
8685 `image-dired-dired-toggle-marked-thumbs'.
8687 * image-dired.el: Require cl when compiling.
8688 (image-dired-dired-toggle-marked-thumbs): Rename from
8689 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8690 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8691 to 'no-dir. Skip files whose names don't match
8692 `image-file-name-regexp'. When file has a thumbnail overlay,
8693 delete it. (Bug#5270)
8695 2010-05-25 Juri Linkov <juri@jurta.org>
8697 * image-mode.el (image-mode): Add image-after-revert-hook to
8699 (image-after-revert-hook): New function. (Bug#5669)
8701 2010-05-25 Juri Linkov <juri@jurta.org>
8703 * image.el (image-animated-p): When delay between animated images
8704 is 0, set it to 10 (0.1 sec). (Bug#6258)
8706 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8708 * net/tramp.el (tramp-handle-insert-directory): Don't use
8709 `forward-word', its default syntax could be changed.
8711 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8713 * net/tramp.el (tramp-progress-reporter-update): New defun.
8714 (with-progress-reporter): Use it.
8715 (tramp-process-actions):
8716 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8717 Preserve current message, in order to let progress reporter continue
8718 afterwards. (Bug#6257)
8720 2010-05-25 Glenn Morris <rgm@gnu.org>
8722 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8725 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8727 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8728 (rcirc-default-full-name): Change to "unknown".
8729 (rcirc-user-name-history): Add variable.
8731 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8732 Jonathan Rockway <jon@jrock.us>
8734 * net/rcirc.el (rcirc-server-alist): Add :pass.
8735 (rcirc): When prompting for connection parameters, also prompt for
8736 username and password.
8737 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8738 value to server when connecting.
8740 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8743 (smie-merge-prec2s): Pass the tables as separate args.
8744 (smie-bnf-precedence-table): Adjust call accordingly.
8745 (smie-prec2-levels): Set levels at the end.
8747 Replace Lisp calls to delete-backward-char by delete-char.
8748 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8749 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8750 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8751 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8752 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8753 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8754 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8755 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8756 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8757 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8758 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8759 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8760 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8761 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8762 delete-backward-char by calls to delete-char.
8764 2010-05-25 Kenichi Handa <handa@m17n.org>
8766 * language/hebrew.el (hebrew-shape-gstring): New function.
8767 Register it in composition-function-table for all Hebrew combining
8770 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8772 * epa.el (epa--select-keys): Don't explicitly delete the window since
8773 that can fail (e.g. sole window in frame). Use dedication instead.
8775 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8777 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8779 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8781 * image.el (image-refresh): Define as an alias for image-flush.
8783 * image-mode.el (image-toggle-display-image): Caller changed.
8785 2010-05-21 Juri Linkov <juri@jurta.org>
8787 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8788 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8789 whitespace, call wildcard-to-regexp on substrings and concat them
8790 with "\\|". (Bug#6114)
8792 2010-05-21 Alan Mackenzie <acm@muc.de>
8794 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8795 Replace parameter `here' with `here-' and `here-plus', which sandwich
8796 any pertinent CPP construct.
8797 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8798 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8799 CPP construct from taking part in the scanning.
8801 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8803 * net/tramp.el (tramp-do-copy-or-rename-file)
8804 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8805 Tune `with-progress-reporter' messages.
8806 (tramp-handle-vc-registered):
8807 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8808 (tramp-fish-handle-insert-file-contents)
8809 (tramp-fish-maybe-open-connection):
8810 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8811 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8812 (tramp-imap-handle-insert-file-contents)
8813 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8815 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8817 * add-log.el (change-log-font-lock-keywords):
8818 Highlight all authors in multi-author entries.
8820 * smerge-mode.el (smerge-refine-ignore-whitespace)
8821 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8822 Fix typos in docstrings.
8823 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8825 2010-05-21 Glenn Morris <rgm@gnu.org>
8827 * progmodes/fortran.el (fortran-mode):
8828 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8830 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8831 having a relative path in src/Makefile.in.
8833 2010-05-20 Kevin Ryde <user42@zip.com.au>
8835 * help-mode.el (help-make-xrefs): For Info node links turn
8836 newlines into spaces. Link node names with newlines are matched
8837 by help-xref-info-regexp and buttonized, this change ensures they
8838 can be followed successfully with RET. (Bug#6206)
8840 2010-05-20 Juri Linkov <juri@jurta.org>
8842 * locate.el (locate): Use pop-to-buffer instead of
8843 switch-to-buffer-other-window. (Bug#6204)
8845 2010-05-20 Juri Linkov <juri@jurta.org>
8847 * replace.el (replace-highlight): Fix lazy-highlighting
8848 for `M-s w str M-% str RET'.
8850 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8852 * isearch.el (isearch-yank-word-or-char): Pull next subword
8853 when `subword-mode' is activated. (Bug#6220)
8855 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8857 * isearch.el (isearch-update-post-hook): New hook.
8858 (isearch-update): Use the new hook. (Bug#6225)
8860 2010-05-20 Juri Linkov <juri@jurta.org>
8862 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8863 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8866 2010-05-20 Juri Linkov <juri@jurta.org>
8868 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8871 2010-05-20 Juri Linkov <juri@jurta.org>
8873 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8874 FILE-NAME to read from the minibuffer when called interactively
8875 with prefix argument instead of using buffer-file-name.
8876 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8878 * dired.el: Update autoloads.
8880 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8882 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8883 nxml-finish-element, for consistency with SGML mode.
8885 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8888 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8890 * composite.el: Require cl when compiling.
8891 (reference-point-alist, compose-gstring-for-graphic)
8892 (compose-gstring-for-terminal): Fix typos in docstrings.
8894 2010-05-19 Juri Linkov <juri@jurta.org>
8896 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8897 set-window-parameter.
8899 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8901 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8903 (tramp-maybe-open-connection): Use it.
8905 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8907 * simple.el (move-end-of-line): Make sure we are at line beginning
8908 before backing up to end of previous line.
8910 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8912 * password-cache.el (password-cache-remove): Fix docstring.
8914 * net/secrets.el: Autoload the widget functions.
8915 (secrets-search-items, secrets-create-item)
8916 (secrets-get-attributes, secrets-expand-item): Attributes will be
8917 stored on the password database without leading ":", as all other
8919 (secrets-mode): Fix docstring.
8920 (secrets-show-secrets): Provide it as autoloaded command only when
8921 D-Bus support is available. Check existence of Secret Service API.
8923 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * indent.el (indent-region): Deactivate region (bug#6200).
8927 2010-05-19 Glenn Morris <rgm@gnu.org>
8929 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8931 2010-05-19 Kenichi Handa <handa@m17n.org>
8933 * composite.el: Register compose-gstring-for-graphic in
8934 composition-function-table only for combining characters (Mn, Mc, Me).
8936 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8938 * calc/calc-trail.el (calc-trail-isearch-forward)
8939 (calc-trail-isearch-backward): Ensure that the new window
8940 point is set correctly.
8942 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * subr.el (read-quoted-char): Resolve modifiers after key
8945 remapping (bug#6212).
8947 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8949 Add visualization code for secrets.
8950 * net/secrets.el (secrets-mode): New major mode.
8951 (secrets-show-secrets, secrets-show-collections)
8952 (secrets-expand-collection, secrets-expand-item)
8953 (secrets-tree-widget-after-toggle-function)
8954 (secrets-tree-widget-show-password): New defuns.
8956 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8959 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8960 handled in smie-next-sexp.
8961 (smie-indent-calculate): Provide a starting indentation (so the
8962 recursion is well-founded ;-).
8964 Fix handling of non-associative equal levels.
8965 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8966 when it's not needed.
8967 (smie-op-left, smie-op-right): New functions.
8968 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8969 Better handle equal levels to distinguish the associative case from
8970 the "multi-keyword construct" case.
8971 (smie-backward-sexp, smie-forward-sexp): Use it.
8973 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8975 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8977 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8978 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8980 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8982 Provide a simple generic indentation engine and use it for Prolog.
8983 * emacs-lisp/smie.el: New file.
8984 * progmodes/prolog.el (prolog-smie-op-levels)
8985 (prolog-smie-indent-rules): New var.
8986 (prolog-mode-variables): Use them to configure SMIE.
8987 (prolog-indent-line, prolog-indent-level): Remove.
8989 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8991 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8992 order before computing the averages.
8994 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8996 * calc/calc-vec.el (calc-histogram):
8997 (calcFunc-histogram): Allow vectors as inputs.
8998 (math-vector-avg): New function.
9000 * calc/calc-ext.el (math-group-float): Have the number of digits
9001 being grouped depend on the radix (Bug#6189).
9003 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9005 * version.el (emacs-copyright, emacs-version): Don't define here,
9006 now that emacs.c defines it.
9008 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9010 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9011 "Describe Language Environment" menu item.
9013 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9015 Bidi-sensitive movement with arrow keys.
9016 * subr.el (right-arrow-command, left-arrow-command): New functions.
9018 * bindings.el (global-map): Bind them to right and left arrow keys.
9020 Don't override standard definition of convert-standard-filename.
9021 * files.el (convert-standard-filename):
9022 Call w32-convert-standard-filename and dos-convert-standard-filename on
9023 the corresponding systems.
9025 * w32-fns.el (w32-convert-standard-filename): Rename from
9026 convert-standard-filename. Doc fix.
9028 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9029 (convert-standard-filename): Don't defalias.
9030 (register-name-alist, make-register, register-value)
9031 (set-register-value, intdos): Obsolete aliases for the
9032 corresponding dos-* functions and variables.
9033 (dos-intdos): Add a doc string.
9035 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9037 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9038 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9039 (math-compose-tex-func):
9040 * calc/calccomp.el (math-compose-expr):
9041 * calc/calc-ext.el (math-format-flat-expr-fancy):
9042 * calc/calc-store.el (calc-read-var-name):
9043 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9045 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9046 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9047 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9048 (math-standard-units): Add units.
9050 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9052 * progmodes/asm-mode.el (asm-mode):
9053 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9055 * pcomplete.el (pcomplete-completions-at-point): New function,
9056 extracted from pcomplete-std-complete.
9057 (pcomplete-std-complete): Use it.
9059 2010-05-15 Glenn Morris <rgm@gnu.org>
9061 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9062 Remove references to CVS, RCS and Old directories.
9064 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9066 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9069 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9072 (sh-mode-syntax-table): Give it a default value instead.
9073 (sh-header-marker): Make buffer-local.
9074 (sh-mode): Move make-local-variable to the corresponding setq.
9075 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9076 Use complete-with-action.
9078 * simple.el (prog-mode): New (abstract) major mode.
9079 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9080 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9082 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9084 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9085 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9086 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9087 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9088 (sql-escape-newlines-filter, sql-input-sender)
9089 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9091 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9093 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9095 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9096 latex-open-block and C-c / to latex-close-block.
9098 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9099 and C-c C-e to sgml-close-tag.
9101 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9103 * net/tramp.el (with-progress-reporter): Create reporter object
9104 only when the message would be displayed. Handle nested calls.
9105 (tramp-handle-load, tramp-handle-file-local-copy)
9106 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9107 (tramp-maybe-send-script, tramp-find-shell):
9108 Use `with-progress-reporter'.
9109 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9112 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9113 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9114 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9115 Use `with-progress-reporter'.
9117 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9119 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9120 process everytime when spellchecking from the minibuffer (bug#6143).
9122 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9126 * dos-fns.el: Add "dos-" prefix for namespace control.
9127 (convert-standard-filename): Define as alias for
9128 dos-convert-standard-filename but only if applicable.
9130 2010-05-12 Alan Mackenzie <acm@muc.de>
9132 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9133 Push the mark at the start of these functions when appropriate.
9135 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9137 * minibuffer.el (completion-cycle-threshold): New custom var.
9138 (completion--do-completion): Use it.
9139 (minibuffer-complete): Use cycling if appropriate.
9141 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9143 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9144 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9146 2010-05-11 Juri Linkov <juri@jurta.org>
9148 * scroll-all.el (scroll-all-check-to-scroll):
9149 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9151 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9153 * iimage.el (iimage-mode-map): Move initialization into declaration.
9154 (iimage-mode-buffer): Use with-silent-modifications.
9155 Simplify calling convention. Adjust callers.
9156 (iimage-mode): Don't run hook redundantly.
9158 * minibuffer.el (completion-pcm--pattern->regex):
9159 Fix last change (bug#6160).
9161 2010-05-10 Juri Linkov <juri@jurta.org>
9163 Remove nodes visited during Isearch from the Info history.
9164 * info.el (Info-isearch-initial-history)
9165 (Info-isearch-initial-history-list): New variables.
9166 (Info-isearch-start): Record initial values of
9167 Info-isearch-initial-history and Info-isearch-initial-history-list.
9168 Add Info-isearch-end to isearch-mode-end-hook.
9169 (Info-isearch-end): New function.
9171 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9173 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9174 format string, in order to work around a bug in pdksh.
9175 Reported by Gilles Pion <gpion@lfdj.com>.
9176 (tramp-handle-verify-visited-file-modtime): Do not send a command
9177 when the connection is not established.
9178 (tramp-handle-set-file-times): Simplify the check for utc.
9180 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9182 Fix use of `filter-buffer-substring' (rework previous change).
9183 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9184 (cua-repeat-replace-region):
9185 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9186 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9187 (cua-cut-region-to-global-mark): Use it.
9189 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9191 * progmodes/sql.el: Version 2.1.
9192 (sql-product-alist): Redesign structure of product info.
9193 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9194 (sql-port, sql-port-history): New variables.
9195 (sql-interactive-product): New variable.
9196 (sql-send-terminator): New variable.
9197 (sql-imenu-generic-expression): Add "Types" imenu entry.
9198 (sql-oracle-login-params, sql-sqlite-login-params)
9199 (sql-mysql-login-params, sql-solid-login-params)
9200 (sql-sybase-login-params, sql-informix-login-params)
9201 (sql-ingres-login-params, sql-ms-login-params)
9202 (sql-postgres-login-params, sql-interbase-login-params)
9203 (sql-db2-login-params, sql-linter-login-params)
9204 (sql-oracle-scan-on): New variables.
9205 (sql-mode-map): Add C-c C-i to start interactive mode.
9206 (sql-mode-menu): Update existing menu entries.
9207 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9208 (sql-mode-oracle-font-lock-keywords)
9209 (sql-mode-postgres-font-lock-keywords)
9210 (sql-mode-ms-font-lock-keywords)
9211 (sql-mode-sybase-font-lock-keywords)
9212 (sql-mode-informix-font-lock-keywords)
9213 (sql-mode-interbase-font-lock-keywords)
9214 (sql-mode-ingres-font-lock-keywords)
9215 (sql-mode-solid-font-lock-keywords)
9216 (sql-mode-mysql-font-lock-keywords)
9217 (sql-mode-sqlite-font-lock-keywords)
9218 (sql-mode-db2-font-lock-keywords)
9219 (sql-mode-linter-font-lock-keywords): Update initialization to
9220 reduce run-time complexity.
9221 (sql-add-product, sql-del-product): New functions.
9222 (sql-set-product-feature, sql-get-product-feature): New functions.
9223 (sql-product-font-lock): Update product API.
9224 (sql-add-product-keywords): New function.
9225 (sql-highlight-product): Update product API.
9226 (sql-help-list-products): New function.
9227 (sql-help): Dynamically lists free and non-free products.
9228 (sql-get-login): Correct bug in handling history and added
9230 (sql-copy-column): Copy without properties.
9231 (sqli-input-sender): Apply filters to SQLi input.
9232 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9233 Implement as a filter.
9234 (sql-escape-newlines-filter): Implement as a filter.
9235 (sql-remove-tabs-filter): New function.
9236 (sql-send-magic-terminator): New function.
9237 (sql-send-string): Implement magic terminator.
9238 (sql-send-region): Use `sql-send-string'.
9239 (sql-interactive-mode): Use product API.
9240 (sql-product-interactive): Use product API.
9241 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9242 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9243 (sql-db2, sql-linter): Use `sql-product-interactive'.
9244 (sql-connect): New function.
9245 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9246 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9247 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9248 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9251 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9253 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9254 New custom variable.
9255 (completion-pcm--string->pattern): Use it.
9256 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9257 Make it handle any symbol as `any'.
9258 (completion-pcm--merge-completions): Extract common suffix for the new
9259 `prefix' symbol as well.
9260 (completion-substring--all-completions): Use the new `prefix' symbol.
9262 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9264 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9266 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9267 (tramp-compat-funcall): New defmacro.
9268 (tramp-compat-line-beginning-position)
9269 (tramp-compat-line-end-position)
9270 (tramp-compat-temporary-file-directory)
9271 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9272 (tramp-compat-copy-file, tramp-compat-copy-directory)
9273 (tramp-compat-delete-file, tramp-compat-delete-directory)
9274 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9275 * net/tramp.el (top, with-progress-reporter)
9276 (tramp-rfn-eshadow-setup-minibuffer)
9277 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9278 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9279 (tramp-completion-mode-p, tramp-check-for-regexp)
9280 (tramp-open-connection-setup-interactive-shell)
9281 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9282 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9283 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9284 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9285 (tramp-reporter-dump-variable, tramp-load-report-modules)
9286 (tramp-append-tramp-buffers)
9287 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9289 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9291 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9294 buffer-modtime. Adjust users.
9296 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9298 * international/mule.el (auto-coding-alist): Only purecopy
9299 car of each item, not the whole list (Bug#6083).
9301 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9303 * progmodes/js.el (js-mode): Make paragraph variables local before
9304 calling c-setup-paragraph-variables (Bug#6071).
9306 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9308 * composite.el (compose-region, reference-point-alist): Fix typos
9311 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9313 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9314 gnuplot's "set" command.
9316 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9318 * abbrev.el (last-abbrev-text): Doc fix.
9319 (abbrev-prefix-mark): Don't escape parenthesis.
9321 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9323 * composite.el (find-composition): Doc fix.
9325 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9327 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9328 (sql-oracle-program, sql-sqlite-options)
9329 (sql-query-placeholders-and-send): Doc fixes.
9330 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9331 (sql-imenu-generic-expression, sql-buffer)
9332 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9333 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9334 (sql-mode-sybase-font-lock-keywords)
9335 (sql-mode-informix-font-lock-keywords)
9336 (sql-mode-interbase-font-lock-keywords)
9337 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9338 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9339 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9340 (sql-product-feature, sql-highlight-product)
9341 (comint-line-beginning-position, sql-rename-buffer)
9342 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9343 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9344 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9345 Fix typos in docstrings.
9347 2010-05-08 Juri Linkov <juri@jurta.org>
9349 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9350 property instead of `invisible' and `after-string' (bug#5998).
9352 2010-05-08 Juri Linkov <juri@jurta.org>
9354 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9356 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9358 * filecache.el (file-cache-add-directory-list)
9359 (file-cache-add-directory-recursively): Fix typos in docstrings.
9361 2010-05-08 Kenichi Handa <handa@m17n.org>
9363 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9364 (gujarati-composable-pattern): Fix typo.
9366 2010-05-08 Kenichi Handa <handa@m17n.org>
9368 * language/indian.el (oriya-composable-pattern)
9369 (tamil-composable-pattern, malayalam-composable-pattern):
9370 Add two-part vowels to "v" (vowel sign).
9372 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9374 * files.el (copy-directory): Handle symlinks (Bug#5982).
9376 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9378 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9379 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9382 2010-05-08 Glenn Morris <rgm@gnu.org>
9384 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9386 * minibuffer.el (completion-at-point): Doc fix.
9388 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * electric.el (Electric-command-loop): Minor tweak.
9392 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9393 better with dedicated windows.
9395 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9397 * Version 23.2 released.
9399 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9400 Stefan Monnier <monnier@iro.umontreal.ca>
9402 Highlight vendor specific properties.
9403 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9404 (css-proprietary-property): New face.
9405 (css-font-lock-keywords): Use them.
9407 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9409 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9411 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9414 * files.el (auto-mode-alist): Remove redundant entries.
9416 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9417 * simple.el (auto-save-mode): Move from files.el.
9418 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9420 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9422 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9424 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9426 * mail/binhex.el (binhex-decode-region-internal)
9427 * mail/uudecode.el (uudecode-decode-region-internal)
9428 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9429 (dns-read-type, dns-query)
9430 * pgg-parse.el (pgg-parse-armor)
9431 * pgg.el (pgg-verify-region)
9432 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9435 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9437 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9439 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9441 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9442 * emulation/cua-base.el (cua-repeat-replace-region):
9443 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9444 (cua-cut-region-to-global-mark):
9445 Remove text properties with `set-text-properties'.
9447 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9449 * net/tramp.el (top, with-progress-reporter):
9450 Use `symbol-function' inside `funcall'.
9452 * net/tramp-compat.el (tramp-compat-file-attributes)
9453 (tramp-compat-delete-file, tramp-compat-delete-directory):
9454 Handle only `wrong-number-of-arguments' error.
9456 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9457 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9460 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9462 * minibuffer.el (completion--sreverse, completion--common-suffix):
9464 (completion-pcm--merge-completions): Extract common suffix when safe.
9466 * emacs-lisp/easy-mmode.el (define-minor-mode):
9467 Make :variable more flexible.
9468 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9470 2010-05-05 Juri Linkov <juri@jurta.org>
9472 Add `slow' and `history' tags to the desktop data.
9474 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9475 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9476 (Info-finder-find-node): Require `finder.el' to be able
9477 to restore node from the desktop.
9478 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9479 data `Info-history' and `slow' tag in the assoc list.
9480 (Info-restore-desktop-buffer): Don't restore nodes with the
9481 `slow' tag. Restore `Info-history'.
9483 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9485 Add FORCE argument to `delete-file'.
9487 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9488 forcing to delete the temporary file.
9489 (ange-ftp-delete-file): Add FORCE arg.
9490 (ange-ftp-rename-remote-to-remote)
9491 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9492 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9493 Force file deletion.
9495 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9497 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9498 (tramp-handle-make-symbolic-link, tramp-handle-load)
9499 (tramp-do-copy-or-rename-file-via-buffer)
9500 (tramp-do-copy-or-rename-file-directly)
9501 (tramp-do-copy-or-rename-file-out-of-band)
9502 (tramp-handle-process-file, tramp-handle-call-process-region)
9503 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9504 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9505 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9507 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9508 (tramp-fish-handle-make-symbolic-link)
9509 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9511 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9512 Use `tramp-compat-delete-file'.
9514 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9515 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9517 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9518 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9520 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9521 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9522 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9523 Use `tramp-compat-delete-file'.
9525 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * subr.el (add-minor-mode): Use push.
9529 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9530 * emulation/edt.el (edt-select-mode): Simplify.
9532 Use define-minor-mode in more cases.
9533 * term/tvi970.el (tvi970-set-keypad-mode):
9534 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9535 (normal-erase-is-backspace-mode):
9536 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9537 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9538 (get-scroll-bar-mode): New function.
9539 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9541 Use define-minor-mode for less obvious cases.
9542 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9543 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9544 * international/iso-ascii.el (iso-ascii-mode):
9545 * frame.el (auto-raise-mode, auto-lower-mode):
9546 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9548 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9550 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9551 in order to see error messages for failed logins.
9553 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9555 * diff.el (diff-sentinel):
9557 * epg.el (epg--make-temp-file, epg-decrypt-string)
9558 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9560 * jka-compr.el (jka-compr-partial-uncompress)
9561 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9563 * server.el (server-sentinel): Use delete-file's new FORCE arg
9566 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9568 Use define-minor-mode where applicable.
9569 * view.el (view-mode):
9570 * type-break.el (type-break-query-mode)
9571 (type-break-mode-line-message-mode):
9572 * textmodes/reftex.el (reftex-mode):
9573 * term/vt100.el (vt100-wide-mode):
9574 * tar-mode.el (tar-subfile-mode):
9575 * savehist.el (savehist-mode):
9576 * ibuf-ext.el (ibuffer-auto-mode):
9577 * composite.el (auto-composition-mode):
9578 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9579 Use define-minor-mode.
9580 (vhdl-mode): Use static mode-line format.
9581 (vhdl-mode-line-update): Delete.
9582 (vhdl-create-mode-menu, vhdl-activate-customizations)
9583 (vhdl-hs-minor-mode): Don't bother calling it.
9585 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * simple.el (with-wrapper-hook): Move.
9588 (buffer-substring-filters): Mark obsolete.
9589 (filter-buffer-substring-functions): New variable.
9590 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9592 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9593 Michael Albinus <michael.albinus@gmx.de>
9595 Implement compression for inline methods.
9597 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9598 (tramp-copy-size-limit): Allow also nil.
9599 (tramp-inline-compress-commands): New defconst.
9600 (tramp-find-inline-compress, tramp-get-inline-compress)
9601 (tramp-get-inline-coding): New defuns.
9602 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9603 replaced by `tramp-get-inline-coding'.
9604 (tramp-handle-file-local-copy, tramp-handle-write-region)
9605 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9607 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9609 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9610 Remove unused functions.
9612 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9613 Set find-tag-default-function as a variable rather than a property.
9615 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9616 * progmodes/etags.el (tags-completion-at-point-function):
9617 Remove left over interactive spec. Add autoloading stub.
9618 (complete-tag): Use tags-completion-at-point-function.
9620 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9622 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9624 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9626 * ido.el (ido-init-completion-maps): Remove C-v binding.
9627 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9629 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9631 * minibuffer.el (tags-completion-at-point-function): New function.
9632 (completion-at-point-functions): Use it.
9634 * progmodes/etags.el (complete-tag): Revert last change.
9636 2010-04-29 Alan Mackenzie <acm@muc.de>
9638 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9639 off-by-one error (in end of macro position).
9641 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9644 firefox is absent. Don't autoload.
9645 (browse-url-galeon-program): Don't autoload.
9647 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9649 * bindings.el (complete-symbol): Move into minibuffer.el.
9651 * minibuffer.el (complete-tag): Move from etags.el. If tags
9652 completion cannot be performed, return nil instead of signalling
9654 (completion-at-point): Make it an alias for complete-symbol.
9655 (complete-symbol): Move from bindings.el, and replace with the
9656 body of completion-at-point.
9658 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9660 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9662 * net/tramp.el (tramp-remote-selinux-p): New defun.
9663 (tramp-handle-file-selinux-context)
9664 (tramp-handle-set-file-selinux-context): Use it.
9666 2010-04-28 Sam Steingold <sds@gnu.org>
9668 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9669 `safe-local-variable' if the value is a string or a symbol with
9670 the property `bug-reference-url-format'.
9672 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9674 * progmodes/bug-reference.el (bug-reference-url-format):
9675 Revert 2010-04-27 change due to security risk.
9677 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9679 Make it possible to locally disable a globally enabled mode.
9680 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9681 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9682 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9684 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9685 that subsequent hooks get a chance to disable it.
9687 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9690 Avoid re-enabling a minor mode after the user turned the minor mode
9691 off if MODE-enable-in-buffers is run twice (typically once from
9692 fundamental-mode's after-change-major-mode-hook and a second time from
9693 run-mode-hook's own after-change-major-mode-hook).
9695 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9697 2010-04-27 Sam Steingold <sds@gnu.org>
9699 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9700 `safe-local-variable' if the value is a string or a function, as
9701 documented and implemented on 2010-04-02.
9703 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9705 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9706 when method is 'kill.
9708 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9710 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9711 condition in default directory check.
9712 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9713 Kill ispell process when killing its associated buffer.
9715 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9717 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9718 but we aren't using it.
9720 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9722 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9723 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9725 2010-04-24 Glenn Morris <rgm@gnu.org>
9727 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9728 Ignore VCS-ignore files, and deleted nextstep preferences files.
9729 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9730 (authors-ambiguous-files): New list.
9731 (authors-valid-file-names): Add some deleted files.
9732 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9733 (authors-disambiguate-file-name): New function. (Bug#5501)
9734 (authors-canonical-file-name): Doc fix.
9735 Don't warn about obsolete files.
9736 (authors-canonical-file-name, authors-scan-el):
9737 Use authors-disambiguate-file-name.
9739 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9740 Add autoload cookies.
9741 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9742 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9743 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9744 They have definitions / compiler macros in cl.el.
9745 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9746 Replace manual autoloads with generated ones.
9747 (htmlfontify-unload-rgb-file): Remove autoload.
9748 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9750 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9753 (byte-compile-setq-default): Optimize for the
9754 single-var case and don't call byte-compile-form in this case to avoid
9755 inf-loop with byte-compile-set-default.
9757 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9759 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9761 Implement SELINUX backends.
9763 * net/tramp.el (tramp-file-name-handler-alist):
9764 Add `file-selinux-context' and `set-file-selinux-context'.
9765 (tramp-handle-file-selinux-context)
9766 (tramp-handle-set-file-selinux-context): New defuns.
9767 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9768 Handle PRESERVE-SELINUX-CONTEXT.
9770 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9771 Add `file-selinux-context' and `set-file-selinux-context'.
9772 (tramp-gvfs-handle-file-selinux-context)
9773 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9774 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9776 * net/ange-ftp.el (ange-ftp-copy-file):
9777 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9778 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9779 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9780 Add PRESERVE-SELINUX-CONTEXT.
9782 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9784 Synchronize with Tramp repository.
9786 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9787 (tramp-action-process-alive, tramp-action-out-of-band)
9788 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9789 (tramp-exists-file-name-handler): Fix docstring.
9790 (with-progress-reporter): New defmacro.
9791 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9792 (tramp-maybe-open-connection): Use it.
9794 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9796 Detect ssh 'ControlMaster' argument automatically in some cases.
9798 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9799 (tramp-default-method): Use it.
9801 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9803 * net/tramp.el (tramp-handle-copy-file): Add new optional
9804 parameter `preserve-selinux-context'.
9805 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9807 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9809 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9810 Ensure, that non remote files are still checked. Oops.
9812 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9816 * icomplete.el (icomplete-completions): Use `non-essential'.
9818 * net/tramp.el (tramp-connectable-p): New defun.
9819 (tramp-handle-expand-file-name)
9820 (tramp-completion-handle-file-name-all-completions)
9821 (tramp-completion-handle-file-name-completion): Use it.
9823 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9827 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9829 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9831 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9833 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9836 * info.el (info-tool-bar-map): Add labels.
9838 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9840 * cus-edit.el (custom-commands): Add labels for tool bar.
9841 (custom-buffer-create-internal, Custom-mode): Adjust for
9842 labels in custom-commands.
9844 * dynamic-setting.el: Renamed from font-setting.el.
9846 2010-04-21 John Wiegley <jwiegley@gmail.com>
9848 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9849 toggles the use of virtual buffers.
9850 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9851 (ido-toggle-virtual-buffers): New function.
9853 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9855 Use `define-derived-mode'; fix window selection; doc fixes.
9856 * play/tetris.el (tetris, tetris-update-speed-function)
9857 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9858 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9859 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9860 (tetris-pause-game): Fix typos in docstrings.
9861 (tetris-mode-map, tetris-null-map):
9862 Move initialization into declaration.
9863 (tetris-mode): Define with `define-derived-mode';
9864 set show-trailing-whitespace to nil.
9865 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9867 2010-04-21 Karel Klíč <kklic@redhat.com>
9869 * files.el (backup-buffer): Handle SELinux context, and return it
9870 if a backup was made by renaming.
9871 (backup-buffer-copy): Set SELinux context to the target file.
9872 (basic-save-buffer): Set SELinux context of the newly written file.
9873 (basic-save-buffer-1): Now it also returns any SELinux context.
9874 (basic-save-buffer-2): Set SELinux context of the newly created file,
9876 * net/tramp.el (tramp-file-name-for-operation):
9877 Add file-selinux-context.
9879 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9881 Make the log-edit comments use RFC822 format throughout.
9883 * vc.el (vc-checkin, vc-modify-change-comment):
9884 Adjust to new vc-start/finish-logentry.
9885 (vc-find-conflicted-file): New command.
9886 (vc-transfer-file): Adjust to new vc-checkin.
9887 (vc-next-action): Improve scoping.
9889 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9890 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9892 * vc-git.el (vc-git-log-edit-mode): Remove.
9893 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9894 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9896 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9897 (vc-start-logentry): Remove argument `extra'.
9898 (vc-finish-logentry): Remove extra args.
9900 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9901 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9902 (vc-bzr-conflicted-files): New function.
9904 * log-edit.el (log-edit-extra-flags)
9905 (log-edit-before-checkin-process): Remove.
9906 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9907 (log-edit-headers-alist): New var.
9908 (log-edit-header-contents-regexp): New const.
9909 (log-edit-match-to-eoh): New function.
9910 (log-edit-font-lock-keywords): Use them.
9911 (log-edit): Insert a "Summary:" header as default.
9912 (log-edit-mode): Mark font-lock rules as case-insensitive.
9913 (log-edit-done): Cleanup headers.
9914 (log-view-process-buffer): Remove.
9915 (log-edit-extract-headers): New function to replace it.
9917 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9919 * subr.el (default-direction-reversed): Remove obsolescence info.
9921 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9926 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9927 I.e. include text after point in the completion region.
9928 Also, return nil when we're not after/in a symbol.
9930 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9931 default enable-multibyte-characters.
9933 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9935 * international/mule.el: Help the user choose a valid coding-system.
9936 (read-buffer-file-coding-system): New function.
9937 (set-buffer-file-coding-system): Use it. Prompt the user if the
9938 coding-system cannot encode all the chars.
9940 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9941 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9942 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9943 Don't use *vc-bzr-shelve*.
9945 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9947 Fix the version number for added files.
9948 * vc-hg.el (vc-hg-working-revision): Check if the file is
9949 registered after hg parent fails (Bug#5961).
9951 2010-04-19 Glenn Morris <rgm@gnu.org>
9953 * htmlfontify.el (htmlfontify-buffer)
9954 (htmlfontify-copy-and-link-dir): Autoload entry points.
9956 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9958 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9959 name relative to the project root (Bug#5960).
9961 2010-04-19 Glenn Morris <rgm@gnu.org>
9963 * vc-git.el (vc-git-print-log): Doc fix.
9965 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9967 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9969 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9971 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9972 default settings (Bug#5928).
9974 2010-04-19 Glenn Morris <rgm@gnu.org>
9976 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9978 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9980 2010-04-19 Kenichi Handa <handa@m17n.org>
9982 * language/indian.el (malayalam-composable-pattern): Fix previous
9983 change (add U+0D4D "SIGN VIRAMA").
9984 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9985 (tamil-composable-pattern): Fix typo in the regexp.
9986 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9987 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9988 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9990 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9992 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9993 paragraph-separate (Bug#5821).
9995 2010-04-19 Juri Linkov <juri@jurta.org>
9997 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9999 * info.el (Info-find-node-2): Comment out code that skips
10001 (Info-mouse-follow-link): New command.
10002 (Info-link-keymap): New keymap.
10003 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10004 Return a string with links instead of inserting breadcrumbs
10005 to the Info buffer.
10006 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10007 Instead of putting the `invisible' text property over the Info
10008 header, make an overlay over the Info header with the `invisible'
10009 property and `after-string' set to the string returned by
10010 `Info-breadcrumbs'.
10012 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10014 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10015 Reported by monkey@sandpframing.com.
10017 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10020 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10021 available in the "keyseq cache" any more.
10023 * custom.el (defcustom): Add edebug spec.
10025 2010-04-18 Juri Linkov <juri@jurta.org>
10027 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10029 * view.el (view-file, view-buffer): Move test for special mode-class
10030 from view-file to view-buffer.
10032 * tar-mode.el (tar-extract): Turn if's into one cond
10033 like in arc-mode.el.
10035 2010-04-18 Juri Linkov <juri@jurta.org>
10037 Add 7z archive format support (bug#5475).
10039 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10040 (archive-7z-extract): New defcustom.
10041 (archive-find-type): Add magic string for 7z.
10042 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10043 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10044 `buffer' arg of `call-process'.
10045 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10046 call the function `archive-7z-extract' with the variable
10047 `archive-7z-extract' let-bound to `archive-zip-extract'.
10048 (archive-7z-summarize, archive-7z-extract): New functions.
10050 * international/mule.el (auto-coding-alist):
10051 * files.el (auto-mode-alist): Add 7z file extension.
10053 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10055 * loadup.el: Setup hash-cons for pure data.
10057 Fix duplicate entries in cedet's loaddefs.el files.
10058 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10059 Should make most file-local generated-autoload-file unnecessary.
10060 (print-readably): Silence warnings.
10061 (autoload-find-destination): Take load-name as an arg to make sure
10062 it's the same as the one that will be in the file.
10063 (autoload-generate-file-autoloads): Adjust to above changes.
10064 Try to make the dataflow a bit simpler.
10066 * cvs-status.el (cvs-refontify): Remove unused.
10068 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10070 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10072 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10073 twos-complement mode.
10075 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10077 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10078 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10079 (calc-inverse): Add "Option" to message, as appropriate.
10080 (calc-hyperbolic): Add "Option" to message, as appropriate.
10081 (calc-option, calc-is-option): New functions.
10083 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10084 (calc-option-prefix-help): New function.
10086 * calc/calc-misc.el (calc-help): Add "Option" entry.
10088 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10089 (calc-option-flag): New variable.
10090 (calc-do): Set `calc-option-flag to nil.
10091 (calc-set-mode-line): Add "Opt " as appropriate.
10093 2010-04-16 Juri Linkov <juri@jurta.org>
10095 Move scrolling commands from simple.el to window.el
10096 because their primitives are implemented in window.c.
10098 * simple.el (scroll-error-top-bottom)
10099 (scroll-up-command, scroll-down-command, scroll-up-line)
10100 (scroll-down-line, scroll-other-window-down)
10101 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10102 * window.el (scroll-error-top-bottom)
10103 (scroll-up-command, scroll-down-command, scroll-up-line)
10104 (scroll-down-line, scroll-other-window-down)
10105 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10106 Move from simple.el to window.el because their primitives are
10107 implemented in window.c.
10109 2010-04-16 Juri Linkov <juri@jurta.org>
10111 * isearch.el (isearch-lookup-scroll-key): Check both
10112 `isearch-scroll' and `scroll-command' properties.
10113 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10115 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10117 * simple.el (scroll-up-command, scroll-down-command)
10118 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10120 2010-04-15 Juri Linkov <juri@jurta.org>
10122 * simple.el (scroll-up-command, scroll-down-command)
10123 (scroll-up-line, scroll-down-line): Put `scroll-command'
10124 property on the these symbols. Remove them from
10125 `scroll-preserve-screen-position-commands'.
10127 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10128 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10129 Remove it from `scroll-preserve-screen-position-commands'.
10131 * isearch.el (isearch-allow-scroll): Doc fix.
10133 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10135 * net/tramp.el (tramp-error-with-buffer): Don't show the
10136 connection buffer when we are in completion mode.
10137 (tramp-file-name-handler): Catch the error for some operations
10138 when we are in completion mode. This gives the user the chance to
10139 correct the file name in the minibuffer.
10141 2010-04-15 Glenn Morris <rgm@gnu.org>
10143 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10145 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10147 Simplify by using `define-derived-mode'.
10148 * info.el (Info-mode):
10149 * calendar/todo-mode.el (todo-mode):
10150 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10151 (gomoku-mode-map): Move initialization into declaration.
10153 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10156 * ido.el (ido-file-name-all-completions-1):
10157 * minibuffer.el (minibuffer-completion-help):
10158 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10160 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * simple.el (non-essential): New var.
10164 Add a new field `location' to bookmarks for non-file bookmarks.
10165 * bookmark.el (bookmark-location): Use the new field, if present.
10166 (bookmark-insert-location): Undo last change, not needed any more.
10167 * man.el (Man-bookmark-make-record):
10168 * woman.el (woman-bookmark-make-record): Add `location' field.
10170 2010-04-14 Juri Linkov <juri@jurta.org>
10172 * simple.el (scroll-error-top-bottom): New defcustom.
10173 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10175 * emulation/pc-select.el (pc-select-override-scroll-error):
10176 Obsolete in favor of `scroll-error-top-bottom'.
10178 2010-04-14 Juri Linkov <juri@jurta.org>
10180 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10181 `scroll-up-command' and `M-v' to `scroll-down-command'.
10183 * emulation/cua-rect.el (cua--init-rectangles):
10184 * forms.el (forms--change-commands):
10185 * image-mode.el (image-mode-map):
10186 Remap scroll-down-command and scroll-up-command
10187 in addition to scroll-down and scroll-up.
10189 2010-04-14 Juri Linkov <juri@jurta.org>
10191 * mwheel.el (scroll-preserve-screen-position-commands):
10192 Add mwheel-scroll to this list of commands.
10194 * simple.el (scroll-preserve-screen-position-commands):
10195 Add scroll-up-command, scroll-down-command, scroll-up-line,
10196 scroll-down-line to this list of commands.
10198 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10200 * obsolete/complete.el: Move from lisp/complete.el.
10202 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10204 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10205 to the minor mode function now turns the mode ON unconditionally.
10207 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * vc-dir.el (vc-dir-kill-line): New command.
10210 (vc-dir-mode-map): Bind it to C-k.
10212 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10214 * woman.el: Add bookmark declarations to silence the compiler.
10215 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10216 step to compatibility between man and woman bookmarks.
10217 Adjust for Man-default-bookmark-title renaming.
10218 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10220 * man.el: Add bookmark declarations to silence the compiler.
10221 (Man-name-local-regexp): Make it match NAME as well.
10222 (Man-getpage-in-background): Return the buffer.
10223 (Man-notify-when-ready): Use `case'.
10224 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10225 Don't hardcode "NAME". Simplify.
10226 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10227 Rename from Man-bookmark-make-record.
10228 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10229 we have the actual man-args. Use Man-getpage-in-background rather
10230 than `man' since the arg is already processed. Let bookmark.el do the
10231 window handling. Only wait for the relevant process.
10232 Don't forget to autoload.
10234 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10236 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10238 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10240 (woman-mode): Setup bookmark support.
10242 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10243 (man-bookmark-jump): New functions.
10244 (Man-mode): Setup bookmark support.
10246 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10248 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10249 recognize ssh-keygen prompt (Bug#2817).
10251 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10253 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10255 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10257 Synchronize with Tramp repository.
10259 * net/tramp.el (tramp-completion-function-alist)
10260 (tramp-file-name-regexp, tramp-chunksize)
10261 (tramp-local-coding-commands, tramp-remote-coding-commands):
10263 (tramp-remote-process-environment): Use `format' instead of `concat'.
10264 (tramp-handle-directory-files-and-attributes)
10265 (tramp-get-remote-path): Use `copy-tree'.
10266 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10267 compatibility: Use `completion-ignore-case' if
10268 `read-file-name-completion-ignore-case' does not exist.
10269 (tramp-do-copy-or-rename-file-directly): Do not use
10270 `tramp-handle-file-remote-p'.
10271 (tramp-do-copy-or-rename-file-out-of-band):
10272 Use `tramp-compat-delete-directory'.
10273 (tramp-do-copy-or-rename-file-out-of-band)
10274 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10275 Use `format-spec-make'.
10276 (tramp-find-foreign-file-name-handler)
10277 (tramp-advice-make-auto-save-file-name)
10278 (tramp-set-auto-save-file-modes): Remove superfluous check for
10279 `stringp'. This is done inside `tramp-tramp-file-p'.
10280 (tramp-debug-outline-regexp): New defconst.
10281 (tramp-get-debug-buffer): Use it.
10282 (tramp-check-for-regexp): Use (forward-line 1).
10283 (tramp-set-auto-save-file-modes): Adapt version check.
10285 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10286 Wrap call of `featurep' for 2nd argument.
10287 (tramp-compat-make-temp-file): Simplify fallback implementation.
10288 (tramp-compat-copy-tree): Remove function.
10289 (tramp-compat-delete-directory): Provide implementation for older
10292 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10293 Do not use `tramp-fish-handle-file-attributes.
10295 * net/trampver.el: Update release number.
10297 2010-04-10 Glenn Morris <rgm@gnu.org>
10299 * progmodes/compile.el (compilation-save-buffers-predicate):
10300 Add missing :version tag.
10302 2010-04-09 Sam Steingold <sds@gnu.org>
10304 * progmodes/compile.el (compilation-save-buffers-predicate):
10305 Remove the "autoload" cookie.
10307 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10308 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10309 and `bug-reference-prog-mode' can be used in hooks directly.
10311 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10313 Add --author support to git commit.
10314 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10315 (vc-git-log-edit-mode): New minor mode.
10316 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10319 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10321 * vc-hooks.el, vc-git.el: Improve documentation comments.
10323 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10325 Fix some of the problems in defsubst* (bug#5728).
10326 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10327 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10329 2010-04-07 Sam Steingold <sds@gnu.org>
10331 * progmodes/compile.el (compilation-save-buffers-predicate):
10332 New custom variable.
10333 (compile, recompile): Pass it to `save-some-buffers'.
10335 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10337 * wid-edit.el (widget-choose): Move cursor to the second line of
10338 the buffer (Bug#5695).
10340 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10342 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10343 * vc.el (vc-print-log-setup-buttons): New function split out from
10344 vc-print-log-internal.
10345 (vc-log-internal-common): New function, a parametrized version of
10346 vc-print-log-internal.
10347 (vc-print-log-internal): Just call vc-log-internal-common with the
10349 (vc-incoming-outgoing-internal):
10350 (vc-log-incoming, vc-log-outgoing): New functions.
10351 (vc-log-view-type): New permanent local variable.
10353 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10355 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10356 of the dynamic bound vc-short-log.
10357 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10359 * vc-git.el (vc-git-log-outgoing): New function.
10360 (vc-git-log-view-mode): Use vc-log-view-type instead
10361 of the dynamic bound vc-short-log.
10363 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10364 of the dynamic bound vc-short-log. Highlight the tag.
10365 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10366 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10367 (vc-hg-incoming-mode): Remove.
10368 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10370 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10372 Fix default-directory for vc-root-diff.
10373 * vc.el (vc-root-diff): Bind default-directory to the root
10374 directory for the diff command.
10376 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10378 * progmodes/verilog-mode.el (verilog-forward-sexp):
10379 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10380 word keywords, suggested by Steve Pearlmutter.
10381 (verilog-pretty-declarations): Support lineup of declarations in
10383 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10384 fix bug for /* / comments.
10385 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10386 Speed up and simplfy as this is never called with a bound.
10387 (verilog-pretty-declarations): Enhance to line up declarations
10388 inside a parameter list, suggested by Alan Morgan.
10389 (verilog-pretty-expr): Tune assignment regular expression match
10390 string for corner cases; also use markers instead of character
10391 number as indent changes the later.
10393 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10395 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10396 as missing keyword.
10397 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10398 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10399 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10400 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10402 (verilog-keywords):
10403 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10404 1800-2009 keywords, including "global.".
10406 2010-04-06 John Wiegley <jwiegley@gmail.com>
10408 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10409 appearing in buffer list (if a live buffer name matched a recentf
10410 file basename). Should use uniquify to offer a real solution.
10412 2010-04-06 John Wiegley <jwiegley@gmail.com>
10414 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10415 comment to code, and add a :version tag.
10416 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10418 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10420 Enable recentf-mode if using virtual buffers.
10421 * ido.el (recentf-list): Declare for byte-compiler.
10422 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10423 (ido-make-buffer-list): Simplify.
10424 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10426 2010-04-05 Juri Linkov <juri@jurta.org>
10428 Scrolling commands which scroll a line instead of full screen.
10429 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10431 * simple.el (scroll-up-line, scroll-down-line): New commands.
10432 Put property isearch-scroll=t on them.
10434 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10437 2010-04-05 Juri Linkov <juri@jurta.org>
10439 Scrolling commands which do not signal errors at top/bottom.
10440 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10442 * simple.el (scroll-up-command, scroll-down-command): New commands.
10443 Put property isearch-scroll=t on them.
10445 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10446 `scroll-down-command' and [next] from `scroll-up' to
10447 `scroll-up-command'.
10449 * emulation/cua-base.el: Put property CUA=move on
10450 `scroll-up-command' and `scroll-down-command'.
10451 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10452 and `scroll-down-command' to `cua-scroll-down'.
10454 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10456 * help.el (describe-mode): Return nil.
10458 2010-04-04 John Wiegley <jwiegley@gmail.com>
10460 * ido.el (ido-use-virtual-buffers): New variable to indicate
10461 whether "virtual buffer" support is enabled for IDO.
10462 (ido-virtual): Face used to indicate virtual buffers in the list.
10463 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10464 exists, but a virtual buffer of that name does (which would be why
10465 it was in the list), recreate the buffer by reopening the file.
10466 (ido-make-buffer-list): If virtual buffers are being used, call
10467 `ido-add-virtual-buffers-to-list' before the make list hook.
10468 (ido-virtual-buffers): New variable which contains a copy of the
10469 current contents of the `recentf-list', albeit pared down for the
10470 sake of speed, and with proper faces applied.
10471 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10472 create a list of "virtual buffers" to present to the user in
10473 addition to the currently open set. Note that this logic could
10474 get rather slow if that list is too large. With the default
10475 `recentf-max-saved-items' of 200, there is little speed penalty.
10477 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * font-lock.el: Require CL when compiling.
10480 (font-lock-turn-on-thing-lock): Use `case'.
10482 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10484 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10487 2010-04-02 Juri Linkov <juri@jurta.org>
10489 * ehelp.el (electric-help-orig-major-mode):
10490 New buffer-local variable.
10491 (electric-help-mode): Set it to original major-mode. Doc fix.
10492 (with-electric-help): Use `electric-help-orig-major-mode' instead
10493 of (default-value 'major-mode). Doc fix.
10494 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10496 2010-04-02 Sam Steingold <sds@gnu.org>
10498 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10499 `vc-hg-command' with a list of flags.
10501 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10502 Also accept "patch" and "RFE".
10503 (bug-reference-fontify): `bug-reference-url-format' can also be a
10504 function to be able to handle the bug kind.
10505 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10507 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10509 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10510 value to fboundp, it may not be a symbol.
10512 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10514 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10516 2010-03-31 Juri Linkov <juri@jurta.org>
10518 * simple.el (next-line, previous-line): Re-throw a signal
10519 with `signal' instead of using `ding'.
10520 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10522 2010-03-31 Juri Linkov <juri@jurta.org>
10524 * simple.el (keyboard-escape-quit): Raise deselecting the active
10525 region higher than exiting the minibuffer.
10526 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10528 2010-03-31 Juri Linkov <juri@jurta.org>
10530 * image.el (image-animated-p): Use `image-metadata' instead of
10531 `image-extension-data'. Get GIF extenstion data from metadata
10532 property `extension-data'.
10534 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * simple.el (append-to-buffer): Simplify.
10538 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10540 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10541 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10543 2010-03-31 Kenichi Handa <handa@m17n.org>
10545 * language/sinhala.el (composition-function-table): Fix regexp for
10546 the new Unicode specification.
10548 * language/indian.el (devanagari-composable-pattern)
10549 (tamil-composable-pattern, kannada-composable-pattern)
10550 (malayalam-composable-pattern): Adjust for the new Unicode
10552 (bengali-composable-pattern, gurmukhi-composable-pattern)
10553 (gujarati-composable-pattern, oriya-composable-pattern)
10554 (telugu-composable-pattern): New variables to cope with the new
10555 Unicode specification. Use them in composition-function-table.
10557 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10559 Make tmm-menubar work for the Buffers menu again (bug#5726).
10560 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10561 vectors rather than cons cells, as used in menu-bar-update-buffers.
10563 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10565 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10566 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10567 electric punctuation for "{}();,:" (Bug#5586).
10569 * mail/sendmail.el (mail-default-directory): Doc fix.
10571 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10573 * mail/sendmail.el (mail-default-directory): Doc fix.
10575 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10577 * subr.el (version-regexp-alist, version-to-list)
10578 (version-list-<, version-list-=, version-list-<=)
10579 (version-list-not-zero, version<, version<=, version=): Doc fix.
10582 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10584 * vc.el (vc-root-diff): Doc fix.
10586 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10588 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10590 * simple.el (append-to-buffer): Fix last change.
10592 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10594 * simple.el (append-to-buffer): Ensure that point is preserved if
10595 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10598 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10600 * files.el (auto-mode-case-fold): Change default to t.
10602 2010-03-30 Juri Linkov <juri@jurta.org>
10604 * dired-x.el (dired-omit-mode): Doc fix.
10606 2010-03-30 Juri Linkov <juri@jurta.org>
10608 * replace.el (occur-accumulate-lines): Move occur-engine related
10609 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10610 to be located after `occur-engine'.
10612 2010-03-30 Juri Linkov <juri@jurta.org>
10614 Make occur handle multi-line matches cleanly with context.
10615 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10617 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10618 (occur-engine): Add local variables `ret', `prev-after-lines',
10619 `prev-lines'. Use more arguments for `occur-context-lines'.
10620 Set first elem of its returned list to `data', and the second elem
10621 to `prev-after-lines'. Don't print the separator line.
10622 In the end, print remaining context after-lines.
10623 (occur-context-lines): Add new arguments `begpt', `endpt',
10624 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10625 after-lines of the previous match with before-lines of the
10626 current match and not overlap them. Return a list with two
10627 values: the output line and the list of context after-lines.
10629 2010-03-30 Juri Linkov <juri@jurta.org>
10631 * replace.el (occur-accumulate-lines): Fix a bug where the first
10632 context line at the beginning of the buffer was missing.
10634 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10636 * files.el: Make bidi-display-reordering safe variable for boolean
10639 2010-03-29 Phil Hagelberg <phil@evri.com>
10640 Chong Yidong <cyd@stupidchicken.com>
10642 * subr.el: Extend progress reporters to perform "spinning".
10643 (progress-reporter-update, progress-reporter-do-update):
10644 Handle non-numeric value arguments.
10645 (progress-reporter--pulse-characters): New var.
10647 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10649 * progmodes/compile.el (compilation-start): Fix regexp detection
10650 of initial cd command (Bug#5771).
10652 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10654 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10656 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10658 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10659 * progmodes/gdb-mi.el: Restore.
10660 * progmodes/gdb-ui.el: Remove.
10661 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10663 2010-03-25 Glenn Morris <rgm@gnu.org>
10665 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10666 all dired buffers, even tramp ones. (Bug#5755)
10668 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10670 Add "union tags" in mpc.el.
10671 * mpc.el: Remove backward compatibility code.
10672 (mpc-browser-tags): Change default.
10673 (mpc--find-memoize-union-tags): New var.
10674 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10675 (mpc-cmd-find): Handle the case where the playlist does not exist.
10677 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10678 (mpc-cmd-add): Use mpc-cmd-flush.
10679 (mpc-tagbrowser-tag-name): New fun.
10680 (mpc-tagbrowser-buf): Use it.
10681 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10683 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10687 Use replace-regexp-in-string.
10688 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10689 (makefile-imake-mode-syntax-table): Move init into defvar.
10690 (makefile-mode): Use define-derived-mode.
10692 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10693 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10694 not be present any more.
10696 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10698 * faces.el (set-face-attribute): Fix typo in docstring.
10699 (face-valid-attribute-values): Reflow docstring.
10701 2010-03-24 Glenn Morris <rgm@gnu.org>
10703 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10705 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10707 * indent.el (indent-for-tab-command): Doc fix.
10709 2010-03-24 Alan Mackenzie <acm@muc.de>
10711 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10712 Fix off-by-one error. Fixes bug #5747.
10714 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10716 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10717 (image-dired-read-comment): Doc fix.
10719 * json.el (json-object-type, json-array-type, json-key-type)
10720 (json-false, json-null, json-read-number):
10721 * minibuffer.el (completion-in-region-functions):
10722 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10723 (cal-tex-cursor-week):
10724 * emacs-lisp/trace.el (trace-function):
10725 * eshell/em-basic.el (eshell/printnl):
10726 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10727 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10728 * obsolete/levents.el (allocate-event, event-key, event-object)
10729 (event-point, event-process, event-timestamp, event-to-character)
10730 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10731 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10732 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10733 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10734 (reftex-highlight-selection): Fix typos in docstrings.
10736 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10738 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10740 2010-03-24 Glenn Morris <rgm@gnu.org>
10742 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10743 2008-02-13 without comment; mark it obsolete.
10744 (rmail-highlight-headers): Use rmail-highlight-face once more.
10746 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10748 * woman.el (woman2-process-escapes): Only consume the newline if
10749 the filler character is on a line by itself (Bug#5729).
10751 2010-03-24 Kenichi Handa <handa@m17n.org>
10753 * language/indian.el (devanagari-composable-pattern): Add more
10756 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10758 * net/trampver.el: Update release number.
10760 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10762 * net/tramp.el (tramp-find-executable):
10763 Use `tramp-get-connection-buffer'. Make the regexp for checking
10764 output of "wc -l" more robust.
10765 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10766 (tramp-open-connection-setup-interactive-shell): Remove workaround
10767 for OpenSolaris bug, it is not needed anymore.
10769 2010-03-24 Glenn Morris <rgm@gnu.org>
10771 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10773 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10775 * files.el (auto-mode-alist): Accept more verilog file patterns.
10777 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10781 2010-03-24 Glenn Morris <rgm@gnu.org>
10783 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10784 log-edit-before-checkin-process.
10786 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10788 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10790 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10791 (log-view-process-buffer, log-edit-extra-flags): Declare.
10793 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10795 2010-03-23 Sam Steingold <sds@gnu.org>
10797 Fix bug#5620: recalculate all markers on compilation buffer
10798 modifications, not on file modifications.
10799 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10800 variable: the buffer modification time, for buffers not associated with
10802 (compilation-mode): Create it.
10803 (compilation-filter): Update it.
10804 (compilation-next-error-function): Use it instead of
10805 `visited-file-modtime' for timestamp.
10807 2010-03-23 Juri Linkov <juri@jurta.org>
10809 Implement Occur multi-line matches.
10810 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10812 * replace.el (occur): Doc fix.
10813 (occur-engine): Set `begpt' to the beginning of the first line.
10814 Set `endpt' to the end of the last match line. At first, count
10815 line numbers between `origpt' and `begpt'. Split out code from
10816 `out-line' variable to new let-bindings `match-prefix' and
10817 `match-str'. In `out-line' add non-numeric prefix to all
10818 non-first lines of multi-line matches. Finally, count lines
10819 between `begpt' and `endpt' and add to `lines'.
10821 2010-03-23 Juri Linkov <juri@jurta.org>
10823 * replace.el (occur-accumulate-lines, occur-engine):
10824 Use `occur-engine-line' instead of duplicate code.
10825 (occur-engine-line): New function created from duplicate code
10826 in `occur-accumulate-lines' and `occur-engine'.
10828 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10829 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10831 2010-03-23 Juri Linkov <juri@jurta.org>
10833 * finder.el: Remove TODO tasks.
10835 * info.el (Info-finder-find-node): Add node "all"
10836 with all package info. Handle a list of multiple keywords
10837 separated by comma.
10838 (info-finder): In interactive use with a prefix argument,
10839 use `completing-read-multiple' to read a list of keywords
10840 separated by comma.
10842 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10844 Add a new completion style `substring'.
10845 * minibuffer.el (completion-basic--pattern): New function.
10846 (completion-basic-try-completion, completion-basic-all-completions):
10848 (completion-substring--all-completions)
10849 (completion-substring-try-completion)
10850 (completion-substring-all-completions): New functions.
10851 (completion-styles-alist): New style `substring'.
10853 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10855 Get rid of .elc files after removal of the corresponding .el.
10856 * Makefile.in (compile-clean): New target.
10857 (compile-main): Use it.
10859 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10861 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10862 don't do make there. When compiling with separate object dir, there
10863 is no Makefile there.
10865 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10867 Get rid of the ELCFILES abomination, again.
10868 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10869 (all, compile): Don't call compile-last.
10870 (compile-main): Build the "elcfiles" list dynamically.
10871 (compile-targets): New (internal) target.
10873 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10875 * Makefile.in (top_srcdir): Define.
10876 (abs_top_builddir): Define.
10877 (srcdir): Don't append `/..'.
10878 (EMACS): Use ${abs_top_builddir}.
10879 (all, compile, compile-always, compile-last): Don't set emacswd.
10880 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10882 (lisp): Use $(srcdir) instead of @srcdir@.
10884 2010-03-21 Juri Linkov <juri@jurta.org>
10886 Fix message of multi-line occur regexps and multi-buffer header lines.
10887 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10889 * replace.el (occur-1): Don't display regexp if it is longer
10890 than window-width. Use `query-replace-descr' to display regexp.
10891 (occur-engine): Don't display regexp in the buffer header for
10892 multi-buffer occur. Display a separate header line with total
10893 match count and regexp for multi-buffer occur.
10894 Use `query-replace-descr' to display regexp.
10896 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10898 * net/secrets.el: Fix parenthesis.
10899 (secrets-enabled): Fix parenthesis.
10901 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10903 Use more relative file and directory names.
10904 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10905 (setwins, setwins_almost, setwins_for_subdirs):
10906 Don't `cd'; output relative names.
10907 (all, compile, compile-always, compile-last): Set emacswd.
10908 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10909 Just cd to the lisp source dir so we can use relative file names.
10911 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10913 2010-03-20 Glenn Morris <rgm@gnu.org>
10915 * textmodes/rst.el: Use faces for font-lock customization, and make the
10916 old -face variables obsolete.
10917 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10918 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10919 (rst-block-face, rst-external-face, rst-definition-face)
10920 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10921 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10923 (rst-font-lock-keywords-function): Update for above changes.
10925 2010-03-20 Juri Linkov <juri@jurta.org>
10928 * obsolete/s-region.el: Move to obsolete.
10930 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10932 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10934 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10936 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10938 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10940 Add special markup processing for commit logs.
10941 * log-edit.el (log-edit-extra-flags): New variable.
10942 (log-edit): Add new argument MODE. Use that mode when non-nil
10943 instead of the log-view-mode.
10944 (log-view-process-buffer): New function.
10946 * vc.el: Document that the checkin method takes optional
10947 arguments. Document new backend specific method: log-view-mode.
10948 (vc-default-log-edit-mode): New function.
10949 (vc-checkin): Use a backend specific log-view-mode.
10950 Pass extra arguments to the checkin method.
10951 (vc-modify-change-comment): Pass a dummy extra argument.
10953 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10955 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10956 (vc-finish-logentry): Process the log buffer before passing it
10957 down. Pass log-edit-extra-flags.
10959 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10961 (log-edit-extra-flags, log-edit-before-checkin-process):
10964 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10966 (log-edit-extra-flags, log-edit-before-checkin-process):
10968 (vc-hg-log-edit-mode): New derived mode.
10970 * vc-arch.el (vc-arch-checkin):
10971 * vc-cvs.el (vc-cvs-checkin):
10972 * vc-git.el (vc-git-checkin):
10973 * vc-mtn.el (vc-mtn-checkin):
10974 * vc-rcs.el (vc-rcs-checkin):
10975 * vc-sccs.el (vc-sccs-checkin):
10976 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10978 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10980 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10983 2010-03-19 Glenn Morris <rgm@gnu.org>
10985 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10987 2010-03-18 Glenn Morris <rgm@gnu.org>
10989 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10991 * replace.el (query-replace-history): Give it a doc string.
10992 (map-query-replace-regexp): Use query-replace-from-history-variable
10993 and query-replace-to-history-variable.
10995 * mail/hashcash.el (declare-function): Remove duplicate definition.
10997 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10998 Make it an obsolete alias for report-emacs-bug-address.
10999 (message-strip-special-text-properties): Declare.
11000 (report-emacs-bug): Remove test for a pretest bug address.
11001 Combine message-mode-specific code.
11003 * mail/supercite.el: Don't require sendmail.
11004 (mh-in-header-p): Declare rather than using with-no-warnings.
11005 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11006 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11008 * calendar/cal-french.el: Convert to utf-8.
11010 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11013 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11015 * net/secrets.el (secrets-enabled): New variable. Use it instead
11018 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11020 * net/secrets.el (top): Register the D-Bus signals only when the
11021 service "org.freedesktop.secrets" can be pinged.
11022 Provide subfeature `enabled'.
11024 2010-03-14 Juri Linkov <juri@jurta.org>
11026 Add finder unknown keywords.
11028 * finder.el (finder-unknown-keywords): New function.
11030 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11031 to create a Finder node with unknown keywords.
11033 2010-03-14 Juri Linkov <juri@jurta.org>
11035 * finder.el (finder-compile-keywords): Replace `princ' with
11036 `prin1' on a list of symbols interned from keyword strings.
11038 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11039 a comma, then split keywords using a comma and optional whitespace.
11040 Otherwise, split by whitespace.
11048 * progmodes/mixal-mode.el: Fix keywords.
11050 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11052 * Makefile.in (ELCFILES): Add net/secrets.elc.
11054 * net/secrets.el: New file.
11056 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11058 * facemenu.el (list-colors-display, list-colors-print): New arg
11059 callback. Use it to allow selecting colors.
11061 * wid-edit.el (widget-image-insert): Insert image prop even if the
11062 current display is non-graphic.
11063 (widget-field-value-set): New fun.
11064 (editable-field): Use it.
11065 (widget-field-value-get): Clean up unused var.
11066 (widget-color-value-create, widget-color--choose-action):
11067 New funs. Allow using list-colors-display to choose color.
11069 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11071 * cus-edit.el: Resort topmost custom groups.
11072 (custom-buffer-sort-alphabetically): Default to t.
11073 (customize-apropos): Use apropos-parse-pattern.
11074 (custom-search-field): New var.
11075 (custom-buffer-create-internal): Add custom-apropos search field.
11076 (custom-add-parent-links): Don't display parent doc.
11077 (custom-group-value-create): Don't sort top-level custom group.
11078 (custom-magic-value-create): Show visibility button before option name.
11080 (custom-variable-state): New fun, from custom-variable-state-set.
11081 (custom-variable-state-set): Use it.
11082 (custom-group-value-create): Hide options with standard values
11083 using the :hidden-states property. Use progress reporter.
11085 (custom-show): Simplify.
11086 (custom-visibility): Disable images by default.
11087 (custom-variable): New property :hidden-states.
11088 (custom-variable-value-create): Enable images for
11089 custom-visibility widgets. Use :hidden-states property to
11090 determine initial visibility.
11092 * wid-edit.el (widget-image-find): Give images center ascent.
11093 (visibility): Add :on-image and :off-image properties.
11094 (widget-visibility-value-create): Use them.
11096 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11098 * cus-edit.el (processes): Remove from development group.
11099 (oop, hypermedia): Delete group.
11100 (comm): Promote to top-level group.
11102 * net/browse-url.el (browse-url):
11103 * net/xesam.el (xesam):
11104 * net/tramp.el (tramp):
11105 * net/goto-addr.el (goto-address):
11106 * net/ange-ftp.el (ange-ftp): Put in comm group.
11108 * view.el (view): Remove from editing group.
11110 * uniquify.el (uniquify): Put in files group.
11112 * net/browse-url.el (browse-url):
11113 * ps-print.el (postscript): Put in external group.
11115 * cus-edit.el (outlines):
11116 * textmodes/text-mode.el (text-mode-hook):
11117 * textmodes/table.el (table):
11118 * textmodes/picture.el (picture):
11119 * outline.el (outlines): Put in wp group.
11121 * nxml/nxml-mode.el (nxml): Remove from wp group.
11123 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11125 * mail/metamail.el (metamail): Remove from hypermedia group.
11127 * cus-edit.el (abbrev):
11128 * whitespace.el (whitespace):
11129 * vcursor.el (vcursor):
11130 * reveal.el (reveal):
11131 * hl-line.el (hl-line): Put in convenience group.
11133 * epg-config.el (epg): Put in data group.
11135 * emulation/pc-select.el (pc-select): Put in emulations group.
11137 * calculator.el (calculator): Put in applications group.
11139 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11141 Add .dir-locals.el support for file-less buffers.
11142 * files.el (hack-local-variables): Split out code to apply local
11143 variable settings ...
11144 (hack-local-variables-apply): ... here. New function.
11145 (hack-dir-local-variables): Use the default directory for when the
11146 buffer does not have an associated file.
11147 (hack-dir-local-variables-non-file-buffer): New function.
11148 * diff-mode.el (diff-mode):
11149 * vc-annotate.el (vc-annotate-mode):
11150 * vc-dir.el (vc-dir-mode):
11151 * log-edit.el (log-edit-mode):
11152 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11154 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11156 Add support for shelving snapshots and for showing shelves.
11157 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11158 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11160 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11161 (vc-bzr-extra-menu-map): Map them.
11163 2010-03-11 Glenn Morris <rgm@gnu.org>
11165 * cus-edit.el (customize-changed-options-previous-release):
11168 * image.el (image-animate-max-time): Fix :version tag.
11170 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11174 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * vc-git.el (vc-git-revision-table): Include remote branches.
11178 2010-03-10 Kim F. Storm <storm@cua.dk>
11180 Animated image API.
11181 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11183 * image.el (image-animate-max-time): New defcustom.
11184 (image-animated-types): New defconst.
11185 (create-animated-image, image-animate-timer)
11186 (image-animate-start, image-animate-stop, image-animate-timeout)
11187 (image-animated-p): New functions.
11189 * image-mode.el (image-toggle-display-image):
11190 Replace `create-image' with `create-animated-image'.
11192 2010-03-09 Miles Bader <miles@gnu.org>
11194 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11195 instead of "format:"; this ensures that the output is
11196 newline-terminated.
11198 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11200 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11201 that all errors are caught, and that the return value is always a
11204 2010-03-08 Kenichi Handa <handa@m17n.org>
11206 * language/misc-lang.el (windows-1256): New coding system.
11207 (cp1256): New alias of windows-1256 (bug#5690).
11209 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11211 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11212 call to rfc822-bad-address. (Bug#5692)
11214 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11216 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11217 Use vc-git-root as default directory for revision path (Bug#5657).
11219 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11221 * calculator.el (calculator): Don't bind split-window-keep-point
11224 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * vc-git.el: Re-flow to fit into 80 columns.
11227 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11228 Remove spurious `quote' element in each case alternative.
11229 (vc-git-show-log-entry): Use prog1.
11230 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11232 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11236 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11238 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11239 definition, not the name (Bug#5481).
11241 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11243 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11244 argument with a local variable. (Bug#5670)
11246 2010-03-02 Juri Linkov <juri@jurta.org>
11248 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11250 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11252 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11253 error when FILENAME and NEWNAME are existing remote directories.
11255 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11256 parameter DIR-FLAG.
11258 2010-03-02 Glenn Morris <rgm@gnu.org>
11260 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11261 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11263 2010-03-01 Kenichi Handa <handa@m17n.org>
11265 * language/burmese.el (burmese-composable-pattern): Rename from
11266 myanmar-composable-pattern.
11268 * international/characters.el (script-list):
11269 * international/fontset.el (script-representative-chars):
11270 Change myanmar to burmese.
11271 (otf-script-alist): Likewise.
11272 (setup-default-fontset): Likewise. Re-fix :otf spec.
11274 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11276 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11278 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11280 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11282 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11284 * net/tramp.el (tramp-handle-write-region): START can be a string.
11285 Take care in the checks. Reported by Dan Davison
11286 <davison@stats.ox.ac.uk>.
11288 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11290 * net/dbus.el (dbus-introspect, dbus-get-property)
11291 (dbus-set-property, dbus-get-all-properties):
11292 Use `dbus-call-method' when noninteractive. (Bug#5645)
11294 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11296 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11297 * emacs-lisp/elint.el (elint-add-required-env):
11298 * calendar/icalendar.el (icalendar--add-diary-entry):
11299 * calc/calcalg2.el (math-tracing-integral):
11300 * files.el (recover-session-finish): Use with-current-buffer
11301 instead of save-excursion.
11303 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11305 Fix in-buffer completion when after-change-functions modify the buffer.
11306 * minibuffer.el (completion--replace): New function.
11307 (completion--do-completion): Use it and use relative movement.
11309 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11311 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11313 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11315 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11316 Allow the characters _<> in the stack entry (Bug#5653).
11318 2010-02-26 Kenichi Handa <handa@m17n.org>
11320 * language/burmese.el: Fix entries in composition-function-table.
11321 (myanmar-composable-pattern): New variable.
11323 * international/fontset.el (setup-default-fontset): Add an entry
11326 * international/characters.el (script-list): Add Myanmar
11329 2010-02-26 Glenn Morris <rgm@gnu.org>
11331 * custom.el (custom-initialize-delay): Doc fix.
11333 * mail/sendmail.el (send-mail-function): Autoload the call
11334 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11336 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11338 * files.el (hack-local-variables-filter): For eval forms, also
11339 check safe-local-variable-p (Bug#5636).
11341 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11343 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11344 setting the modes by `ignore-errors'. It might fail, for example
11345 if the file is not owned by the user but the group.
11346 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11348 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11350 * files.el (directory-listing-before-filename-regexp):
11351 Use stricter matching for iso-style dates, to avoid false matches with
11352 date-like filenames (Bug#5597).
11354 * htmlfontify.el (htmlfontify): Doc fix.
11356 * eshell/eshell.el (eshell): Doc fix.
11358 * startup.el (fancy-about-screen): In mode-line, apply
11359 mode-line-buffer-id face only to the buffer name (Bug#5613).
11361 2010-02-20 Kevin Ryde <user42@zip.com.au>
11363 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11364 In `watcom' anchor regexp to start of line, to avoid slowness
11367 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11369 * subr.el (remove-yank-excluded-properties): Explain in a comment
11370 why `category' property is removed.
11372 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11374 * isearch.el (isearch-update-post-hook, isearch-update):
11375 Revert 2010-02-17 change.
11377 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11379 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11380 (icalendar--convert-weekly-to-ical)
11381 (icalendar--convert-yearly-to-ical)
11382 (icalendar--convert-block-to-ical)
11383 (icalendar--convert-cyclic-to-ical)
11384 (icalendar--convert-anniversary-to-ical): Take care of time
11385 specifications where hour has 1-digit only (Bug#5549).
11387 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11389 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11390 of disassemble output in GDB 7.1.
11392 2010-02-19 Glenn Morris <rgm@gnu.org>
11394 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11395 property. (Bug#5593)
11397 2010-02-18 Sam Steingold <sds@gnu.org>
11399 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11401 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11403 Use abbreviated file names in bookmarks (bug#5591).
11404 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11405 calls to expand-file-name.
11406 (bookmark-relocate): Use abbreviated file names in bookmarks.
11407 (bookmark-load): Use abbreviated file names in messages.
11409 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11411 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11412 expand "." and "..". Reported by Thierry Volpiatto
11413 <thierry.volpiatto@gmail.com>.
11415 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11417 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11418 permissions of the temporary file to "0600". In case the remote
11419 file has no read permissions for the owner, there might be
11420 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11422 22010-02-18 Glenn Morris <rgm@gnu.org>
11424 * emacs-lisp/authors.el (authors-renamed-files-alist):
11425 Add entries for INSTALL.CVS.
11427 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11429 * vc-bzr.el: Fix typo in Known Bugs section.
11431 * isearch.el (isearch-update-post-hook): New hook.
11432 (isearch-update): Use the new hook.
11434 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11436 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11437 Fix errors in copying directories.
11438 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11439 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11440 (tramp-handle-delete-file)
11441 (tramp-handle-dired-recursive-delete-directory)
11442 (tramp-handle-write-region): Flush also the cache for the upper
11445 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11447 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11449 * cus-edit.el (hardware): Doc fix.
11451 * man.el (man): Add to external custom group.
11453 * delim-col.el (columns): Move to wp custom group.
11455 * doc-view.el (doc-view): Add to data custom group.
11457 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11459 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11460 by ispell-parse-output (Bug#5575).
11462 2010-02-16 Kenichi Handa <handa@m17n.org>
11464 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11465 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11466 (skkdic-convert): Use `euc-japan' coding system for writing.
11468 2010-02-16 Glenn Morris <rgm@gnu.org>
11470 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11471 tex-main-file before using it. (Bug#5562)
11473 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11475 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11476 warnings, since it is annoying for the user to see them each time he
11479 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11481 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11482 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11483 instead of PROC for caching "first-password-request". Otherwise,
11484 new processes would not profit from passwords already entered.
11486 * net/tramp-cache.el (tramp-dump-connection-properties):
11487 Don't save "first-password-request" property.
11489 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11491 * outline.el (outline-head-from-level):
11492 * simple.el (with-wrapper-hook):
11493 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11494 (elint-defun, elint-buffer-env, elint-top-form-logged)
11495 (elint-unbound-variable):
11496 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11497 Fix typos in docstrings.
11499 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11501 * files.el (insert-directory): When WILDCARD-REGEXP and
11502 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11503 whole directory. (Bug#5551)
11505 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11506 dired's alignment sanity. (Bug#5516)
11508 2010-02-14 Juri Linkov <juri@jurta.org>
11510 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11511 Remove remaining ^H with their preceding chars. (Bug#5566)
11513 2010-02-13 Glenn Morris <rgm@gnu.org>
11515 * simple.el (transpose-subr): Give it a doc-string.
11517 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11520 2010-02-12 Juri Linkov <juri@jurta.org>
11522 * arc-mode.el (archive-unique-fname): Make directories for nested
11523 archives. (Bug#5540)
11525 2010-02-12 Juri Linkov <juri@jurta.org>
11527 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11529 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11531 * subr.el (copy-overlay): Handle deleted overlays.
11533 * man.el (Man-completion-table): Don't signal an error if we can't run
11534 manual-program (bug#4056).
11536 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11538 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11540 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11542 * info.el (Info-bookmark-jump): Simplify.
11544 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11545 (bookmark-default-handler): Accept new bookmark field `buffer'.
11547 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11549 * iswitchb.el (iswitchb-completions): Revert last change.
11551 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11553 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11554 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11555 This prevents file names like "~/" being listed literally.
11557 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11559 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11560 Remove dead code. (Bug#5546)
11562 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11564 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11565 correctly (Bug#5548).
11567 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11569 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11570 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11572 2010-02-08 Kenichi Handa <handa@m17n.org>
11574 * international/mule-util.el (with-coding-priority): Add autoload
11575 cookie for putting `lisp-indent-function'.
11577 2010-02-07 Glenn Morris <rgm@gnu.org>
11579 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11580 Move F2003 named interfaces from keywords-2 to keywords-1, and
11581 use function-name-face rather than constant-face.
11582 Simplify "abstract interface" regexp.
11584 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11586 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11587 ID-FORMAT. Pass it to `file-attributes'.
11589 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11591 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11593 * faces.el (set-face-attribute): Allow calling
11594 internal-set-lisp-face-attribute with 'unspecified family and
11595 foundry argument (Bug#5536).
11597 2010-02-07 Glenn Morris <rgm@gnu.org>
11599 * progmodes/f90.el (f90-font-lock-keywords-2)
11600 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11601 Handle F2003 named interfaces.
11603 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11605 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11606 beg and end before calling c-get-state-before-change-functions.
11608 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11610 * vc-bzr.el (vc-bzr-dir-extra-headers):
11611 Disable the pending merges header.
11613 2010-02-05 Juri Linkov <juri@jurta.org>
11615 * doc-view.el (doc-view-mode):
11616 * image-mode.el (image-mode): Put property mode-class=special.
11619 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11621 * vc-svn.el (vc-svn-revision-table): New function.
11623 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11625 * net/ange-ftp.el (ange-ftp-insert-directory):
11626 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11627 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11628 Handle also directories. (Bug#5478)
11630 2010-02-05 Glenn Morris <rgm@gnu.org>
11632 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11634 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11636 * startup.el (command-line-1): Convert options beginning with a
11637 single dash as well (Bug#5519).
11639 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11641 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11642 * minibuffer.el (completion-initials-expand): Only check the presence
11643 of delims *within* the boundaries, since otherwise the / delim is
11644 always found for files.
11646 Fix up various corner case problems.
11647 * doc-view.el (doc-view-last-page-number): New function.
11648 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11649 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11650 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11651 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11652 (doc-view-convert-current-doc): Don't create the resolution.el file
11654 (doc-view-pdf/ps->png): Do it here instead.
11655 (doc-view-already-converted-p): Check that resolution.el is present.
11656 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11657 windows that are not yet showing images.
11659 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11661 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11662 `dired-uncache' for every elemnt which is an absolute file name.
11664 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11665 directory, handle its directory component.
11666 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11667 function is called permanently and creates noise, otherwise.
11669 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11670 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11671 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11673 2010-02-04 David Burger <dburger@google.com> (tiny change)
11675 * macros.el (apply-macro-to-region-lines):
11676 Minor simplification. (Bug#5485)
11678 2010-02-04 Glenn Morris <rgm@gnu.org>
11680 * mail/rmail.el (rmail-show-message-1): Handle malformed
11681 quoted-printable text. (Bug#5441)
11683 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11685 * simple.el (visual-line-mode): Capitalize lighter.
11687 2010-02-03 John Wiegley <jwiegley@gmail.com>
11689 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11690 list of files considered for "virtual buffer" completions.
11692 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11694 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11695 also in case of (and (not full) (not wildcard)). This is needed
11696 when dired is called with a list of files, which are not in
11697 `default-directory'. (Bug#5478)
11699 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11701 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11703 2010-02-02 Juri Linkov <juri@jurta.org>
11705 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11706 from unidiff to allow function-line after @@.
11708 2010-02-02 Juri Linkov <juri@jurta.org>
11710 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11711 '(RCS SCCS) with inverted condition.
11713 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11715 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11718 2010-02-01 Juri Linkov <juri@jurta.org>
11720 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11721 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11722 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11723 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11725 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11727 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11728 (doc-view-revert-buffer): New command.
11729 (doc-view-mode-map): Use it.
11731 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11733 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11734 pending merge is detected.
11736 2010-01-31 Juri Linkov <juri@jurta.org>
11738 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11739 beginning of interactive spec like all other grep commands do.
11740 Put "all" in front of "gz". (Bug#5260)
11742 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11744 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11746 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11748 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11749 regexp is incorrect (Bug#5476).
11751 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11753 * net/tramp.el (tramp-handle-insert-directory): Handle also
11754 symlinks, when FILENAME is not in `default-directory'.
11756 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11758 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11759 FILE is not in `default-directory'. (Bug#5478)
11761 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11762 of SWITCHES. Handle the case, FILENAME is not in
11763 `default-directory'. (Bug#5478)
11764 (tramp-register-file-name-handlers): Add safe-magic property.
11766 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11768 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11771 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11773 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11774 (flymake-master-make-header-init): Add other C++ filename masks.
11775 (flymake-find-possible-master-files)
11776 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11778 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11780 Fix some busybox annoyances.
11782 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11783 not responding." string.
11784 (tramp-open-connection-setup-interactive-shell): Dump stty
11785 settings. Enable "neveropen" arg for all `tramp-send-command'
11786 calls. Handle "=" in variable values properly.
11787 (tramp-find-inline-encoding): Raise an error, when no encoding is
11789 (tramp-wait-for-output): Check, whether PROC buffer is available.
11790 Remove spurious " ^H" sequences, sent by busybox.
11791 (tramp-get-ls-command): Suppress coloring, if possible.
11793 2010-01-28 Glenn Morris <rgm@gnu.org>
11795 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11797 * log-edit.el (log-edit-strip-single-file-name): Add missing
11798 :safe, :group, and :version tags.
11800 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11802 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11803 buffers. (Bug#5477)
11805 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11807 * files.el (delete-directory): Handle moving to trash without
11808 first doing recursion (Bug#5436).
11810 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11812 * vc-hooks.el (vc-path): Mark as obsolete.
11814 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11816 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11819 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11821 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11823 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11825 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11827 * vc-bzr.el (vc-bzr-revision-table): New function.
11829 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11831 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11832 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11834 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11836 Remove support for adding --signoff on commit.
11837 Future support will use an incompatible generic mechanism.
11838 * vc-git.el (vc-git-add-signoff): Remove variable.
11839 (vc-git-toggle-signoff): Remove function.
11840 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11842 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11843 Rename from xterm-set-background-mode. Return t if the background mode
11845 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11846 earlier, call it again in case the background mode has changed.
11848 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11850 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11853 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11855 * emacs-lisp/assoc.el (aelement): Doc fix.
11856 (aput, adelete, amake): Use lexical-let (Bug#5450).
11858 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11860 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11861 is the same as subprogram call, not declaration. (Bug#5435).
11863 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11865 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11866 (tramp-smb-maybe-open-connection): Use it.
11868 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11870 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11872 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11875 just because we see "encoding: 8bit".
11876 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11878 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11880 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11882 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11884 * jka-compr.el (jka-compr-load): If load-file is not in
11885 load-history, try its file-truename version. (bug#5447)
11887 2010-01-21 Alan Mackenzie <acm@muc.de>
11889 Fix a situation where deletion of a cpp construct throws an error.
11890 * progmodes/cc-engine.el (c-invalidate-state-cache):
11891 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11892 special cpp construct is still in the buffer.
11893 (c-parse-state): Record the special cpp with markers, not numbers.
11895 2010-01-21 Kenichi Handa <handa@m17n.org>
11897 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11898 process last-command-event, as it is now decoded first (Bug#5380).
11900 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11902 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11904 2010-01-20 Glenn Morris <rgm@gnu.org>
11906 * indent.el (tab-always-indent): Fix custom-type.
11908 2010-01-19 Alan Mackenzie <acm@muc.de>
11910 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11911 buffer throws "args out of range".
11912 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11913 playing the role of delimiter.
11915 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11917 * progmodes/ada-mode.el: Fix bug#5400.
11918 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11919 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11920 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11921 Improve comments in "is" portion. Handle null procedure declaration.
11922 (ada-move-to-end): Improve doc string.
11924 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11926 * ido.el (ido-cur-list): Initialize to nil.
11927 Remove obsolete information from commentary.
11928 (ido-choice-list): Initialize to nil.
11929 (ido-get-bufname): Reject minibuffers.
11930 (ido-make-buffer-list): If "default" is a nonexistent
11931 buffer, ignore it, as per the function's comment.
11932 (ido-kill-buffer-internal): New function.
11933 (ido-kill-buffer-at-head): Use it.
11934 (ido-visit-buffer): Likewise.
11936 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11938 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11940 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11942 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11943 Fix typos in chart titles.
11945 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11946 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11947 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11948 (describe-class, eieio-describe-generic, describe-generic):
11949 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11950 (eieio-speedbar-expand):
11951 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11952 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11953 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11954 (viper-del-backward-char-in-replace, viper-backward-indent)
11955 (viper-brac-function, viper-register-to-point, viper-submit-report):
11956 * net/tramp.el (tramp-remote-coding-commands):
11957 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11958 Fix typos in docstrings.
11960 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11962 * mail/sendmail.el (mail-yank-original): Set the mark if the
11963 specified function for yanking does not do it.
11965 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11967 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11969 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11970 resyncing a directory.
11972 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11974 * progmodes/ada-mode.el: Fix bug#1920.
11975 (ada-ident-re): Delete ., allow multibyte characters.
11976 (ada-goto-label-re): New; matches goto labels.
11977 (ada-block-label-re): New; matches block labels.
11978 (ada-label-re): New; matches both.
11979 (ada-named-block-re): Deleted; callers changed to use
11980 `ada-block-label-re' instead.
11981 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11982 Use `ada-block-label-re'.
11983 (ada-indent-on-previous-lines): Improve handling of goto labels.
11984 (ada-get-indent-block-start): Special-case block label.
11985 (ada-get-indent-label): Split into `ada-indent-block-label' and
11986 `ada-indent-goto-label'.
11987 (ada-goto-stmt-start, ada-goto-next-non-ws):
11988 Optionally ignore goto labels.
11989 (ada-goto-next-word): Simplify.
11990 (ada-indent-newline-indent-conditional): Insert newline before
11991 trying to fix indentation; doc fix.
11993 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11995 * calc/calc.el (calc-command-flags): Give it an initial value.
11997 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11999 * files.el (minibuffer-with-setup-hook):
12000 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12001 (artist-key-draw-continously, artist-key-do-continously-continously)
12002 (artist-key-set-point-continously, artist-mouse-draw-continously):
12003 Fix typos in docstrings.
12005 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12007 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12008 Never return t (Bug#3898).
12010 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12012 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12013 can parse the output of the external commands (Bug#5279).
12015 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12017 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12019 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12021 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12023 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12025 * startup.el (command-line): Remove unused --icon-type arg.
12026 Handle --display arg, passing it to command-line-1 (Bug#5392).
12028 2010-01-16 Mario Lang <mlang@delysid.org>
12030 * emacs-lisp/chart.el (chart-translate-namezone):
12031 * textmodes/artist.el (artist-compute-popup-menu-table):
12032 Remove duplicated words in doc-strings.
12034 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12036 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12037 to mairix-search to suppress threading (Bug#5342).
12039 2010-01-15 Kenichi Handa <handa@m17n.org>
12041 * international/mule-cmds.el (canonicalize-coding-system-name):
12042 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12044 2010-01-15 Glenn Morris <rgm@gnu.org>
12046 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12048 * wid-edit.el (widget-keymap): Doc fix.
12050 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12051 former seems to be more widely accepted by various svn versions.
12053 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12055 * find-cmd.el (find-constituents):
12056 * vc-arch.el (vc-arch-root):
12057 * window.el (window-body-height, pop-up-frames):
12058 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12059 * progmodes/ada-stmt.el (ada-if):
12060 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12061 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12062 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12063 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12065 * progmodes/flymake.el (flymake-post-syntax-check):
12066 Fix typo in error message.
12068 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12070 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12071 which is always a string. (Bug#5313)
12073 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12075 * progmodes/ada-xref.el (ada-default-prj-properties):
12076 Simplify previous change.
12078 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12080 * progmodes/ada-xref.el (ada-default-prj-properties):
12081 Default ada_project_path to $ADA_PROJECT_PATH.
12083 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12085 * progmodes/ada-mode.el (ada-create-keymap):
12086 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12088 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12090 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12091 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12092 (ada-get-current-indent, ada-imenu-generic-expression)
12093 (ada-which-function): Check for it.
12095 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12097 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12098 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12100 2010-01-14 Glenn Morris <rgm@gnu.org>
12102 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12104 2010-01-14 Kenichi Handa <handa@m17n.org>
12106 * composite.el (auto-composition-mode): Make it a buffer local
12107 variable (permanent-local).
12108 (auto-composition-function): Set the default value to
12109 auto-compose-chars.
12110 (auto-composition-mode): Make it a simple function, not a minor mode.
12111 (global-auto-composition-mode): Likewise.
12112 (turn-on-auto-composition-if-enabled): Delete it.
12114 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12116 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12118 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12120 * files.el (copy-directory): Compute target for recursive
12121 directories with identical names. (Bug#5343)
12123 2010-01-12 Glenn Morris <rgm@gnu.org>
12125 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12126 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12128 2010-01-11 Sam Steingold <sds@gnu.org>
12130 * imenu.el (imenu-default-create-index-function): Detect infinite
12131 loops caused by imenu-prev-index-position-function.
12133 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12135 * htmlfontify.el (htmlfontify-load-rgb-file)
12136 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12137 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12138 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12139 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12140 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12141 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12142 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12143 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12144 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12145 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12146 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12147 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12148 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12149 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12150 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12151 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12152 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12153 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12154 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12155 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12156 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12157 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12158 backslash-quoting from parentheses, etc.
12160 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12162 * progmodes/js.el: Autoload javascript-mode alias.
12164 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12166 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12167 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12168 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12169 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12170 Fix typos in docstrings.
12171 (ffap-url-regexp): Doc fix.
12172 (ffap-at-mouse): Fix typo in message.
12174 2010-01-11 Glenn Morris <rgm@gnu.org>
12176 * version.el (emacs-copyright): Set copyright year to 2010.
12178 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * format.el (format-annotate-function): Only set
12181 write-region-post-annotation-function after running to-fn so as not to
12182 affect nested write-region calls (bug#5273).
12184 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12186 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12189 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12191 * man.el (Man-goto-section): Signal error if the section is not
12194 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12196 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12197 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12199 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12201 * progmodes/compile.el: Don't treat compile-command as safe if
12202 compilation-read-command might be nil (Bug#4218).
12204 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12206 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12209 2010-01-08 Kenichi Handa <handa@m17n.org>
12211 * international/fontset.el (build-default-fontset-data):
12212 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12214 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12216 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12217 to `create-file-buffer' as it expects, not just a buffer name.
12218 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12219 to help uniquify. (Bug#3224)
12221 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12223 * font-setting.el (font-setting-change-default-font): Use user-spec
12226 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12228 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12230 2010-01-05 Tom Tromey <tromey@redhat.com>
12232 * progmodes/python.el (python-font-lock-keywords):
12233 Handle qualified decorators (Bug#881).
12235 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12237 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12238 in a lightweight checkout.
12240 2010-01-05 Kenichi Handa <handa@m17n.org>
12242 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12244 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12246 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12248 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12250 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12251 checkouts. (Bug#618)
12252 (vc-bzr-log-view-mode): Also highlight the author.
12253 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12254 (vc-bzr-shelve-menu-map):
12255 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12256 (vc-bzr-shelve-apply): Make prompt more explicit.
12258 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12260 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12261 They are valid characters in URL paths (rfc3986), and at least
12262 Firefox does not understand the encoded version (Bug#3166).
12264 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12266 * progmodes/octave-mod.el (octave-end-keywords)
12267 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12268 Add "end" keyword (Bug#3061).
12269 (octave-end-as-array-index-p): New function.
12270 (calculate-octave-indent): Use it.
12272 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12274 * bookmark.el: Consistently put the text property on the bookmark name.
12275 (bookmark-bmenu-marks-width): Bump back to 2, to include
12277 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12278 property on the bookmark name, instead of not putting it at all.
12279 (bookmark-bmenu-list): Fix where we put the text property.
12281 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12283 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12284 for showing buffer modified state (as added in the previous change).
12286 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12288 * bookmark.el: Show modified state of bookmark buffer more accurately.
12289 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12290 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12291 (with-buffer-modified-unmodified): New macro.
12292 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12293 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12294 Use new macro to preserve the buffer modified state.
12296 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12298 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12299 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12300 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12301 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12302 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12303 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12304 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12306 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12308 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12309 Make the lines in the generated doc string shorter. (Bug#4668)
12311 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12313 * net/rcirc.el: Add follow-link binding (Bug#4738).
12315 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12317 * Makefile.in (bzr-update): Rename from cvs-update.
12318 (cvs-update): New target for backward compatibility.
12320 * makefile.w32-in (bzr-update): Rename from cvs-update.
12321 (cvs-update): New target for backward compatibility.
12323 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12325 * bookmark.el: Remove gratuitous gratitude.
12327 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12329 * bookmark.el (bookmark-bmenu-any-marks): New function.
12330 (bookmark-bmenu-save): Clear buffer modification if no marks.
12332 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12334 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12335 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12336 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12337 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12339 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12340 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12341 To: emacs-devel {_AT_} gnu.org
12342 Subject: bookmark.el bug report
12343 Date: Mon, 28 Dec 2009 14:19:16 +0800
12344 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12346 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12348 * bookmark.el: Improvements suggested by Drew Adams:
12349 (bookmark-bmenu-ensure-position): New name for
12350 `bookmark-bmenu-check-position'. Just ensure the position,
12351 don't return any meaningful value.
12352 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12355 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12357 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12358 (bookmark-yank-point, bookmark-bmenu-check-position):
12359 Fix typos in docstrings.
12360 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12361 (bookmark-name-from-full-record, bookmark-get-position)
12362 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12363 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12364 Remove useless quoting of parenthesis, etc. in docstrings.
12366 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12367 (ediff-append-custom-diff): Fix typo in error message.
12368 (ediff-meta-mark-equal-files): Fix typos in messages.
12370 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12372 * net/imap-hash.el (imap-hash-make): Doc fix.
12373 (imap-hash-test): Fix typo in error message; reflow docstring.
12374 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12375 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12376 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12377 Fix typos in docstrings.
12378 (imap-hash-open-connection): Fix typo in error message.
12380 * play/gomoku.el (gomoku): Fix typos in docstring.
12382 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12383 (gdb-jsonify-buffer): Fix typos in docstring.
12384 (gdb-goto-breakpoint): Fix typo in error message.
12385 ("Display Other Windows"): Fix typo in help message.
12386 (gdb-speedbar-expand-node): Fix typo in question.
12388 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12389 (idlwave-html-system-help-location, idlwave-html-help-location)
12390 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12391 (idlwave-help-browser-generic-args, idlwave-help-directory)
12392 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12393 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12394 (idlwave-online-help, idlwave-help-html-link)
12395 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12396 Fix typos in docstrings.
12397 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12399 (idlwave-help-assistant-start): Fix typo in error message.
12401 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12402 (octave-electric-space): Fix typos in docstrings.
12404 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12406 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12408 2010-01-01 Juri Linkov <juri@jurta.org>
12410 * comint.el (comint-input-ring-size): Make it a defcustom and
12411 increase the default to 500 (Bug#5148).
12413 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12415 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12416 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12417 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12419 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12421 Show working revision correctly for mercurial.
12422 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12423 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12425 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12427 Declare some functions for the byte-compiler.
12428 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12429 (speedbar-timer-fn, speedbar-change-expand-button-char)
12430 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12432 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12434 This changeset reverts GDB Graphical Interface to use annotations.
12435 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12437 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12439 Make vc-dir work on subdirectories of the bzr root.
12440 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12441 Return file names relative to it.
12442 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12443 relative directory to vc-bzr-after-dir-status.
12445 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12447 * font-lock.el (font-lock-refresh-defaults): New function, which
12448 can be used to let font-lock react to external changes in
12449 variables like font-lock-defaults and keywords.
12450 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12452 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12454 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12456 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12458 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12460 Supersede color.diff settings in git log (bug#5211).
12462 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12463 escape chars in its output when the user has color.diff set to `always'.
12464 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12466 2009-12-26 Kevin Ryde <user42@zip.com.au>
12468 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12469 node. Keep previous "Index" name to work with past coreutils too.
12471 * man.el (man): Revise docstring a bit to show -a and -l as
12472 examples. Add -k description since support for it has otherwise
12473 been a secret. (Further to bug#3717.)
12474 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12475 "no matches" rather than "Can't find manpage", as the latter reads
12476 like -k was interpreted as a page name, which is not so. (Bug#5431)
12478 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12480 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12481 switches. Check also for //SUBDIRED// line.
12483 2009-12-25 Kenichi Handa <handa@m17n.org>
12485 * language/indian.el (devanagari-composable-pattern): Fix to
12486 handle ZWNJ and ZWJ. Use it in composition-function-table for
12488 (malayalam-composable-pattern): Fix previous change.
12490 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12492 * ps-print.el (ps-face-attributes): It was not returning the
12493 attribute face for faces specified as string. Reported by harven
12494 <harven@free.fr>. (Bug#5254)
12495 (ps-print-version): New version 7.3.5.
12497 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12499 * calendar/icalendar.el (icalendar--convert-tz-offset):
12500 Fix timezone names.
12501 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12502 (icalendar--add-diary-entry): Remove the trailing blank that
12503 diary-make-entry inserts.
12505 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12507 Make `file-expand-wildcards' work for remote files.
12509 * files.el (file-expand-wildcards): In case of remote files, check
12510 only local file name part for wildcards. Provide feature 'files
12511 and subfeature 'remote-wildcards. (Bug#5198)
12513 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12514 if there is already an established connection.
12515 (tramp-advice-file-expand-wildcards): Remove it.
12517 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12518 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12519 Activate advice for older GNU Emacs versions. (Bug#5237)
12521 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12523 Some doc fixes (more needed).
12525 * find-cmd.el (find-constituents): Reflow docstring.
12526 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12527 (find-generic): Doc fix.
12529 2009-12-17 Juri Linkov <juri@jurta.org>
12531 Fix regression from 23.1 to allow multiple modes in Local Variables.
12533 * files.el (hack-local-variables-filter): While ignoring duplicates,
12534 don't take `mode' into account.
12535 (hack-local-variables-filter, hack-dir-local-variables):
12536 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12538 2009-12-17 Juri Linkov <juri@jurta.org>
12540 Make `dired-diff' safer. (Bug#5225)
12542 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12543 `current' or when `file' is a directory of the `current' file.
12545 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12547 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12548 unconditionally preloaded files.
12550 2009-12-16 Juri Linkov <juri@jurta.org>
12552 Revert to old 23.1 logic of using the file at the mark as default.
12553 * dired-aux.el (dired-diff): Use the file at the mark as default
12554 if it's not the same as the current file, and the target dir is
12555 the current dir or the mark is active. Add the current file
12556 as the arg of `dired-dwim-target-defaults'. Use the default file
12557 in the prompt. (Bug#5225)
12559 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12561 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12562 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12563 (tramp-check-for-regexp): Check also, when an echoing shell stops
12564 to echo sent commands.
12566 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12568 * Makefile.in: Revert last change (Bug#5191).
12570 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12572 * vc-hg.el (vc-hg-print-log): Fix argument order.
12573 (vc-hg-working-revision): Make sure the command is executed in a
12574 known environment so that we can parse the output. (Bug#4417)
12576 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12578 * progmodes/python.el (python-symbol-completions): Remove text
12579 properties from symbol string before calling python-send-receive.
12581 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12583 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12584 when there are values for both file and line. (Bug#5060)
12586 2009-12-14 Juri Linkov <juri@jurta.org>
12588 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12589 whitespace after the file name of the first line of unified format,
12590 because git-diff doesn't output whitespace and file modification time
12591 after the file name.
12593 2009-12-14 David Kastrup <dak@gnu.org>
12595 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12596 check if it already has the `display' property added by
12597 `Info-display-images-node', and not put the `invisible' property
12600 2009-12-13 Glenn Morris <rgm@gnu.org>
12602 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12603 (report-emacs-bug): In message-mode, sort manually before storing
12604 original report text. (Bug#5178)
12605 Remove superfluous save-excursion.
12607 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12609 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12610 when responding to "GetAll" properties.
12612 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12614 * simple.el (compose-mail): Remove mail-setup-with-from from
12615 customization checks.
12617 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12619 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12620 RAR archives created on Unix systems.
12622 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12624 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12625 the varalias that was accidentally removed by the 2009-11-19 change
12628 2009-12-12 Kenichi Handa <handa@m17n.org>
12630 * language/indian.el (indian-compose-regexp): New function.
12631 (malayalam-composable-pattern): Fix the pattern.
12632 (composition-function-table): Set malayalam-composable-pattern for
12633 Malayalam characters.
12635 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12637 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12638 rather than down-mouse-1, based on follow-link conventions.
12640 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12643 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12645 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12646 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12647 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12648 (verilog-leap-to-head, verilog-backward-token):
12649 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12651 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12653 * progmodes/verilog-mode.el (verilog-auto-lineup)
12654 (verilog-nameable-item-re): Cleanup user-visible spelling and
12655 documentation errors. One reported by Gary Delp.
12656 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12657 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12658 package, bug195. Reported by Pierre-David Pfister.
12660 2009-12-11 Glenn Morris <rgm@gnu.org>
12662 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12664 * mail/emacsbug.el: No longer require sendmail.
12665 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12666 (report-emacs-bug-orig-text): Doc fix.
12667 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12668 New local variables, to adapt to different mail-user-agents.
12669 (report-emacs-bug): Fix test for a gnu.org address.
12670 Use overlays for emphasis, since font-lock defeats 'face property.
12671 Pretest bugs also end up at the newsgroup these days.
12672 Stop message-mode stripping text properties.
12673 Set and use the new buffer-local variables.
12674 (report-emacs-bug-hook): Add doc-string.
12675 Remove some unnecessary save-excursions and simplify.
12676 Use the appropriate hook and send-command.
12678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12679 capitalization of some menu entries.
12681 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12683 * whitespace.el (whitespace-display-char-on):
12684 Ensure `buffer-display-table' is unique when two or more windows are
12685 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12688 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12690 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12691 characters in the Attribute field.
12693 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12695 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12697 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12699 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12700 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12701 Disregard autoload-excludes.
12702 (update-directory-autoloads): Obey autoload-excludes here instead.
12703 But don't store its contents in no-autoloads and remove entries that
12704 refer to excludes files.
12706 2009-12-10 Glenn Morris <rgm@gnu.org>
12708 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12709 (expand-mail-aliases): Define for compiler.
12711 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12712 Define for compiler.
12714 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12715 appropriate for the mail-user-agent in use.
12717 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12719 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12721 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12723 Fix short log parsing and fontification.
12724 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12725 Fix fontification for the [merge] label.
12727 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12729 Drop some properties to avoid surprises (bug#5002).
12730 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12731 (hfy-fontify-buffer): Use it.
12733 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12737 Adjust all callers.
12738 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12739 args compulsory. Adjust callers.
12740 (ffap-gopher-at-point): Remove unused var `name'.
12742 Get rid of the ELCFILES abomination.
12743 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12744 (compile-elcfiles): New phony target.
12745 (compile-main): Compute ELCFILES dynamically.
12746 (compile-clean): New target to remove left-over elc files.
12747 (compile, all): Use it.
12749 2009-12-09 Kenichi Handa <handa@etlken>
12751 * international/mule-diag.el: Require help-mode instead of help-fns.
12753 2009-12-09 Kenichi Handa <handa@m17n.org>
12755 * international/mule-cmds.el (ucs-names): Supply sufficiently
12756 fine ranges instead of pre-calculating accurate ranges.
12757 Iterate with bigger gc-cons-threshold.
12759 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12761 Add support for stashing a snapshot of the current tree.
12762 * vc-git.el (vc-git-stash-snapshot): New function.
12763 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12765 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12767 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12768 instead of `(beginning|end)-of-line'.
12770 2009-12-08 Glenn Morris <rgm@gnu.org>
12772 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12774 * Makefile.in (ELCFILES): Regenerate.
12776 2009-12-07 Juri Linkov <juri@jurta.org>
12778 Don't lazy-highlight the comint output in history Isearch mode.
12780 * comint.el (comint-history-isearch-search): Instead of
12781 `comint-line-beginning-position', use `comint-after-pmark-p'
12782 to check if point if before the process mark, and go to
12783 `process-mark' in this case.
12785 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12787 * textmodes/tex-mode.el (latex-complete)
12788 (latex-indent-or-complete): Remove.
12789 (latex-mode): Set completion-at-point-functions instead.
12791 Provide a standard completion command and hook it into TAB.
12792 * minibuffer.el (completion-at-point-functions): New var.
12793 (completion-at-point): New command.
12794 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12795 * progmodes/python.el (python-mode-map): Use completion-at-point.
12796 (python-completion-at-point): Rename from python-partial-symbol and
12797 adjust for use in completion-at-point-functions.
12798 (python-mode): Setup completion-at-point for Python completion.
12799 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12800 extracted from lisp-complete-symbol.
12801 (lisp-complete-symbol): Use it.
12802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12803 setup completion-at-point for Elisp completion.
12804 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12805 Use completion-at-point.
12806 * ielm.el (ielm-map): Use completion-at-point.
12807 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12808 * progmodes/sym-comp.el: Move to...
12809 * obsolete/sym-comp.el: Move from progmodes.
12811 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12813 Prevent save-buffer in Rmail buffers from using the coding-system
12814 of the current message, and from clobbering the encoding mnemonics
12815 in the mode line (Bug#4623).
12817 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12819 (rmail-message-encoding): New variable.
12820 (rmail-write-region-annotate): Record the encoding of the current
12821 message in rmail-message-encoding.
12822 (rmail-after-save-hook): New function, restores the encoding of
12823 the current message after the message collection is saved.
12825 2009-12-07 Juri Linkov <juri@jurta.org>
12827 * progmodes/grep.el (grep-read-files): Use `completing-read'
12828 instead of `read-string'. Set its `collection' arg to
12829 `read-file-name-internal'. (Bug#4301)
12831 2009-12-07 Juri Linkov <juri@jurta.org>
12833 Correctly restore original Isearch point. (Bug#4994)
12835 * isearch.el (isearch-mode): Move `isearch-push-state' after
12836 `(run-hooks 'isearch-mode-hook)'.
12837 (isearch-cancel): When `isearch-push-state-function' is defined,
12838 let-bind `isearch-cmds' to the first state (the last element of
12839 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12840 function and restores the original point). Otherwise, move point
12841 to `isearch-opoint'.
12843 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12845 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12846 chars that don't have names, so the table can be built much faster at
12849 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12851 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12852 change. Suggested by David Kastrup.
12854 * simple.el (compose-mail): Check for incompatibilities and warn.
12855 (compose-mail-user-agent-warnings): New option.
12857 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12859 Support showing a single log entry from vc-annotate.
12860 * vc.el (print-log): Add a new argument: START-REVISION.
12861 (vc-print-log-internal): Add a new optional argument and
12862 pass it to the backend.
12863 (vc-print-log, vc-print-root-log): Adjust callers.
12864 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12865 buffer already displays the requested log entry, use it.
12866 Otherwise display only the log entry in question.
12867 * vc-svn.el (vc-svn-print-log):
12868 * vc-mtn.el (vc-mtn-print-log):
12869 * vc-hg.el (vc-hg-state):
12870 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12871 (vc-git-show-log-entry): Return t on success.
12872 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12873 (vc-bzr-show-log-entry): Return t on success.
12874 * vc-rcs.el (vc-rcs-print-log):
12875 * vc-sccs.el (vc-sccs-print-log):
12876 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12878 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12880 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12881 Add menus to the meta mode. (Bug#5043)
12883 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12885 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12888 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12890 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12892 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12893 Berbain <raphael.berbain@gmail.com>.
12895 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12897 (tramp-initial-end-of-output): New defconst.
12898 (tramp-methods, tramp-find-shell)
12899 (tramp-open-connection-setup-interactive-shell)
12900 (tramp-maybe-open-connection): Use it.
12901 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12902 Handle existence of `#' and `$'.
12904 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12905 Use `tramp-initial-end-of-output'.
12907 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12909 Get the background mode from the terminal for xterm, and set
12911 * term/xterm.el (xterm-set-background-mode): New function.
12912 (terminal-init-xterm): Use it in case xterm supports background
12913 color queries. Recompute faces after getting the background
12916 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12918 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12919 number comment back on its own line, for easier parsing.
12921 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12923 Make it work for non-file buffers (bug#5102).
12924 * doc-view.el (doc-view-current-cache-dir):
12925 Use doc-view-buffer-file-name rather than buffer-file-name.
12926 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12928 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12930 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12931 author field is too short.
12933 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12935 * vc-git.el (vc-git-print-log): Handle a limit argument.
12936 Display the short log in graph form and with labels.
12937 (vc-git-log-view-mode): Handle labels.
12939 Make vc-revert change VC state from 'added to 'unregistered.
12940 * vc-git.el (vc-git-revert): Call git reset first.
12942 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12944 * net/newst-backend.el, net/newst-plainview.el:
12945 * net/newst-reader.el, net/newst-ticker.el:
12946 * net/newst-treeview.el, net/newsticker.el:
12947 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12949 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12951 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12953 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12954 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12955 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12956 Update annotation regexp.
12958 * simple.el (beginning-of-visual-line): Constrain to field
12959 boundaries (Bug#5106).
12961 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12963 * xml.el (xml-substitute-numeric-entities):
12964 Move newsticker--decode-numeric-entities in newst-backend.el to
12965 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12966 * net/newst-backend.el (newsticker--parse-generic-feed)
12967 (newsticker--parse-generic-items)
12968 (newsticker--decode-numeric-entities):
12969 Move newsticker--decode-numeric-entities in newst-backend.el to
12970 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12972 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12974 * progmodes/js.el (js--js-not): Add null to the list of values.
12976 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12978 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12980 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12982 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12983 delimiter if it is at the end of the current line.
12984 (bibtex-generate-url-list): Fix docstring.
12986 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12988 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12989 minibuffer's content with itself.
12990 Fold the confirm-after-completion case into the `confirm' case.
12991 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12993 2009-12-06 Kevin Ryde <user42@zip.com.au>
12995 * ffap.el (ffap-rfc-path): Make this a defcustom since
12996 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12998 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12999 manuals, similar to existing setup for help-mode. (Bug#3913.)
13001 2009-12-05 Juri Linkov <juri@jurta.org>
13003 Save and restore dired buffer's point positions too. (Bug#4880)
13005 * dired.el (dired-save-positions): Return in the first element
13006 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13008 (dired-restore-positions): First restore buffer's position.
13009 While restoring window's positions, check if window still displays
13010 the original buffer.
13012 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13014 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13017 * shell.el (shell): Require ansi-color (Bug#5113).
13019 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13021 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13023 2009-12-05 Alan Mackenzie <acm@muc.de>
13025 * progmodes/cc-mode.el (c-before-hack-hook)
13026 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13027 `c-file-style' to work again. This reversion restores the current
13028 software to its state in Emacs 23.1. (Bug#4146)
13030 2009-12-05 Kevin Ryde <user42@zip.com.au>
13032 * textmodes/sgml-mode.el (sgml-lexical-context):
13033 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13035 2009-12-05 Juri Linkov <juri@jurta.org>
13037 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13038 for virtual nodes. (Bug#4147)
13039 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13040 when moving from a virtual node.
13041 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13042 (Info-mode): Add `Info-virtual-index' to the docstring.
13044 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13046 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13047 track of the buffer position of the end of a BibTeX entry as this
13048 position may change during reformatting.
13049 (bibtex-format-entry): Remove whitespace before processing
13050 numerical fields so that we recognize the latter properly.
13051 (bibtex-reformat): Do not use push which changes the global value
13052 of bibtex-entry-format.
13053 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13054 (bibtex-field-re-init): Replace only space characters by regexp
13056 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13057 (bibtex-initialize): Also update bibtex-strings.
13058 (bibtex-kill-field): Preserve white space at end of entry.
13059 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13060 Update bibtex-reference-keys.
13062 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13064 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13065 point after a star, if that's the only place where modifications can
13068 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13070 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13073 2009-12-04 Juri Linkov <juri@jurta.org>
13075 * proced.el (proced): Call `(proced-update t)' to update process
13076 information instead of only running proced-post-display-hook.
13077 (proced-send-signal): Add a leading space to the buffer name
13078 " *Marked Processes*" to make this buffer ephemeral.
13080 2009-12-04 Juri Linkov <juri@jurta.org>
13082 * dired.el (dired-auto-revert-buffer): New defcustom.
13083 (dired-internal-noselect): Use it.
13085 2009-12-04 Juri Linkov <juri@jurta.org>
13087 Change roles of modes and functions in image-mode.el (Bug#5062).
13089 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13090 in `auto-mode-alist'.
13091 (image-mode-previous-major-mode): New variable.
13092 (image-minor-mode-map): Rename from `image-mode-text-map'.
13093 (image-mode): Move graceful error-handling code from
13094 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13095 (image-minor-mode): Remove all image-handling code.
13096 Replace `image-mode-text-map' with `image-minor-mode-map'.
13097 Check for `image-type' in mode-line format string.
13098 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13099 (image-mode-as-text): New function with most code from
13100 `image-mode-maybe'.
13101 (image-toggle-display-text): Move code that removes image
13102 properties from `image-toggle-display' to here.
13103 (image-toggle-display-image): New function with code that adds
13104 image properties copied from `image-toggle-display'.
13105 (image-toggle-display): Remove most code with leaving only code
13106 that toggles between `image-mode-as-text' and `image-mode'.
13108 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13110 * net/newst-treeview.el
13111 (newsticker--treeview-list-highlight-start): Restored call to
13112 save-excursion: Selected item was stuck.
13113 (newsticker--treeview-list-select): New.
13114 (newsticker--treeview-item-show-text)
13115 (newsticker--treeview-item-show)
13116 (newsticker--treeview-item-update): Use new
13117 newsticker-treeview-item-mode.
13118 (newsticker-treeview-update): Keep current item.
13119 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13120 (newsticker--treeview-first-feed): Doc change.
13121 (newsticker-treeview-list-menu)
13122 (newsticker-treeview-item-menu): Add menu entries.
13123 (newsticker-treeview-item-mode): New.
13125 * net/newst-backend.el (newsticker-customize): Delete other
13128 2009-12-04 Sam Steingold <sds@gnu.org>
13130 * log-view.el (log-view-mode-map): "q" calls quit-window,
13131 like in all the other non-self-insert buffers.
13133 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13136 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13137 key decoding rather than do it manually via last-input-event +
13139 (term-exec): Use delete-and-extract-region.
13140 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13141 (term-process-pager): Remove unused var `i'.
13142 (term-dynamic-simple-complete): Make obsolete.
13143 (serial-update-config-menu): Remove unused vars `y' and `str'.
13144 (term-update-mode-line): Remove unused var `temp'.
13146 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13148 Limit the number of log entries displayed by default.
13149 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13150 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13151 using a prefix argument.
13153 2009-12-03 Glenn Morris <rgm@gnu.org>
13155 * progmodes/idlwave.el (class): Restore still useful declaration.
13157 2009-12-03 Alan Mackenzie <acm@muc.de>
13159 Enhance `c-parse-state' to run efficiently in "brace deserts".
13161 * progmodes/cc-mode.el (c-basic-common-init):
13162 Call c-state-cache-init.
13163 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13164 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13165 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13167 * progmodes/cc-langs.el (c-before-font-lock-function):
13168 c-extend-and-neutralize-syntax-in-CPP has been renamed
13169 c-neutralize-syntax-in-and-mark-CPP.
13171 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13172 with `category' properties now, not `syntax-table' ones.
13174 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13175 enhanced (but slower) version of c-end-of-macro that won't land
13176 inside a literal or on another awkward character.
13177 (c-state-cache-too-far, c-state-cache-start)
13178 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13179 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13180 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13181 (c-state-min-scan-pos, c-state-brace-pair-desert)
13182 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13183 buffer local variables.
13184 (c-state-literal-at, c-state-lit-beg)
13185 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13186 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13187 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13188 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13189 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13190 (c-renarrow-state-cache)
13191 (c-append-lower-brace-pair-to-state-cache)
13192 (c-state-push-any-brace-pair, c-append-to-state-cache)
13193 (c-remove-stale-state-cache)
13194 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13195 (c-invalidate-state-cache-1, c-parse-state-1)
13196 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13197 (c-parse-state): Enhance and refactor.
13198 (c-debug-parse-state): Amend to deal with all the new variables.
13200 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13201 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13202 modify to use category text properties rather than syntax-table ones.
13203 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13204 to switch off/on the syntactic paren property of C++ template
13205 delimiters using the category property.
13206 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13207 template delims suppressed.
13208 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13209 New constant/macros which apply category properties to the start
13210 and end of preprocessor constructs.
13211 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13212 "comment out" the syntactic value of characters in preprocessor
13214 (c-with-cpps-commented-out)
13215 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13216 with characters in all or all but one preprocessor constructs
13219 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13221 * proced.el (proced-filter-alist): Use regexp-quote.
13223 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13226 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13227 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13228 arguments. Expand `default-directory'.
13230 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13231 the benefit of returning an expanded localname.
13232 (tramp-tramp-file-p): Handle the case NAME is not a string.
13234 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13236 Add support for bzr shelve/unshelve.
13237 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13238 (vc-bzr-extra-menu-map): New variables.
13239 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13240 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13241 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13242 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13243 (vc-bzr-dir-extra-headers): Display shelves.
13245 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13247 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13249 * textmodes/bibtex.el (bibtex-complete-internal):
13250 Use completion-in-region.
13251 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13253 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13255 Support applying stashes. Improve UI.
13256 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13257 (vc-git-stash-apply, vc-git-stash-pop)
13258 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13259 (vc-git-stash-menu): New functions.
13260 (vc-git-stash-menu-map): New variable.
13261 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13263 2009-12-03 Glenn Morris <rgm@gnu.org>
13265 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13266 (vc-print-log-internal): Fix previous change.
13267 (vc-revert): Correct pluralization.
13269 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13271 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13272 it to be an alist any more.
13273 (makefile-complete): Use completion-in-region.
13275 * progmodes/octave-mod.el (octave-complete-symbol):
13276 Use completion-in-region.
13279 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13280 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13281 (idlwave-complete-class): Don't quote lambda.
13282 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13283 (idlwave-mode-map): Move initialization into declaration.
13284 (idlwave-action-and-binding): Use backquotes.
13285 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13287 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13288 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13289 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13290 `parts', and `all-parts'.
13291 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13292 (idlwave-convert-xml-system-routine-info): Remove unused string
13294 (idlwave-display-user-catalog-widget): Use dolist.
13295 (idlwave-scanning-lib): Declare dynamically-scoped var.
13296 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13297 (completion-highlight-first-word-only): Declare to silence bytecomp.
13298 (idlwave-popup-select): Tighten scope of `resp'.
13299 (idlwave-find-struct-tag): Remove unused var `beg'.
13300 (idlwave-after-load-rinfo-hook): Declare.
13301 (idlwave-sintern-class-info): Remove unused var `taglist'.
13302 (idlwave-find-class-definition): Remove unused var `list'.
13303 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13304 (idlwave-what-module-find-class): Remove unused var `classes'.
13306 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13308 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13310 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13313 buffers visited. Remove redundant current-buffer-saving.
13315 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13317 Use completion-in-buffer and remove uses of dynamic scoping.
13318 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13319 (pascal-buffer-to-use, pascal-flag): Don't declare.
13320 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13321 (pascal-get-completion-decl, pascal-keyword-completion):
13322 Add `pascal-str' argument, save-excursion,
13323 return the found completions, and don't filter with pascal-pred.
13324 (pascal-completion-cache): New var.
13325 (pascal-completion): Don't switch buffer any more (it was never
13326 necessary). Don't save-excursion any more (it's done by the called
13327 subroutines). Use a cache to avoid redundant computations.
13328 Use complete-with-action rather than pascal-completion-response and
13329 let it apply the predicate as well.
13330 (pascal-complete-word): Use completion-in-buffer when
13331 pascal-toggle-completions is nil.
13332 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13334 (pascal-comp-defun): Don't change buffer any more.
13335 Use complete-with-action rather than pascal-completion-response and
13336 let it apply the predicate as well.
13337 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13340 2009-12-02 Kenichi Handa <handa@m17n.org>
13342 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13343 shape for all Indic scripts.
13345 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13347 Use completion-in-buffer.
13348 * wid-edit.el (widget-field-text-end): New function.
13349 (widget-field-value-get): Use it.
13350 (widget-string-complete, widget-file-complete)
13351 (widget-color-complete): Use it and completion-in-region.
13352 (widget-complete): Don't narrow the buffer.
13354 2009-12-02 Glenn Morris <rgm@gnu.org>
13356 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13357 (rmail-select-summary): Use rmail-pop-to-buffer.
13358 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13359 rmail-pop-to-buffer, to prevent horizontal splits.
13361 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13362 save-excursion with save-current-buffer.
13363 Widen before searching. (Bug#5093)
13364 (diary-list-sexp-entries): Remove superfluous save-excursion.
13366 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13368 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13371 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13373 * ido.el (ido-file-internal): Handle filenames at point that do
13374 not have a directory part. (Bug#5049)
13376 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13378 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13379 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13381 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13383 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13384 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13387 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * comint.el (comint-insert-input): Ignore clicks to the right of
13390 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13392 * vc.el (vc-print-log-internal): Don't wait for the process to
13393 terminate before setting up the major mode.
13395 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13398 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13401 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13403 2009-12-01 Glenn Morris <rgm@gnu.org>
13405 * window.el (window--display-buffer-2): Fix previous changes.
13407 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13409 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13411 2009-12-01 Glenn Morris <rgm@gnu.org>
13413 * Makefile.in (ELCFILES): Add mpc.elc.
13415 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * mpc.el: New file.
13419 2009-12-01 Glenn Morris <rgm@gnu.org>
13421 * window.el (window-to-use): Define for compiler.
13423 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13424 consistent with others (no final period).
13426 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13427 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13429 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13431 Make vc-print-log buttons work.
13432 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13434 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13436 * savehist.el (savehist-autosave-interval): Allow setting to nil
13437 through customize. (Bug#5056)
13439 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13441 Fix references to jit-lock properties.
13442 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13443 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13444 (perl-font-lock-special-syntactic-constructs):
13445 Quote jit-lock-defer-multiline property.
13447 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13449 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13451 2009-11-30 Juri Linkov <juri@jurta.org>
13453 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13454 value `buffer' of `multi-isearch-next-buffer-current-function'.
13455 Use `(current-buffer)' when `buffer' is nil.
13456 (multi-isearch-next-buffer-from-list): Don't fallback to
13457 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13459 2009-11-30 Juri Linkov <juri@jurta.org>
13461 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13462 of buffers with `get-buffer' to `multi-isearch-buffers'.
13463 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13464 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13465 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13466 FILES with `expand-file-name' converting relative file names
13467 to absolute. Doc fix. (Bug#4727)
13469 2009-11-30 Juri Linkov <juri@jurta.org>
13471 * misearch.el (multi-isearch-read-buffers)
13472 (multi-isearch-read-matching-buffers): New functions.
13473 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13474 Use them in the `interactive' spec. Doc fix.
13475 (multi-isearch-read-files, multi-isearch-read-matching-files):
13477 (multi-isearch-files, multi-isearch-files-regexp):
13478 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13480 2009-11-30 Juri Linkov <juri@jurta.org>
13482 * doc-view.el (doc-view-continuous):
13483 Rename from `doc-view-continuous-mode'.
13484 (doc-view-menu): Move "Toggle display" to the top.
13485 Add submenu "Continuous" with radio buttons "Off"/"On"
13486 and "Save as Default".
13487 (doc-view-scroll-up-or-next-page)
13488 (doc-view-scroll-down-or-previous-page)
13489 (doc-view-next-line-or-next-page)
13490 (doc-view-previous-line-or-previous-page):
13491 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13493 2009-11-30 Juri Linkov <juri@jurta.org>
13495 * comint.el (comint-mode-map): Rebind `M-r' from
13496 `comint-previous-matching-input' to
13497 `comint-history-isearch-backward-regexp'.
13498 Unbind `M-s' to allow global key binding `M-s'.
13499 Add menu items for `comint-history-isearch-backward' and
13500 `comint-history-isearch-backward-regexp'. (Bug#3746)
13502 2009-11-30 Juri Linkov <juri@jurta.org>
13504 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13505 For def=recenter, replace `recenter' with `recenter-top-bottom'
13506 that is called with `this-command' and `last-command' let-bound
13507 to `recenter-top-bottom'. When the last `def' was not `recenter',
13508 set `recenter-last-op' to nil. (Bug#4981)
13510 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13512 Minor cleanup and simplification.
13513 * filecache.el (file-cache-add-directory)
13514 (file-cache-add-directory-recursively)
13515 (file-cache-add-from-file-cache-buffer)
13516 (file-cache-delete-file-regexp, file-cache-delete-directory)
13517 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13518 (file-cache-temp-minibuffer-message): Delete function.
13519 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13521 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13522 Don't signal an error when bumping into EOB in tr, s, or y.
13524 2009-11-29 Juri Linkov <juri@jurta.org>
13526 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13529 * descr-text.el (describe-char-unidata-list): Use lowercase name
13530 for "Unicode name" like in other tags.
13532 2009-11-29 Juri Linkov <juri@jurta.org>
13534 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13535 New compatibility macro.
13536 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13538 2009-11-29 Juri Linkov <juri@jurta.org>
13540 Add defcustom to define the cycling order of `recenter-top-bottom'.
13543 * window.el (recenter-last-op): Doc fix.
13544 (recenter-positions): New defcustom.
13545 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13546 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13548 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13550 Improve integration of Tramp and ange-ftp in eshell.
13552 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13553 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13554 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13556 * eshell/esh-util.el (top): Require also Tramp when compiling.
13557 (eshell-directory-files-and-attributes): Check for FTP remote
13559 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13560 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13561 (eshell-file-attributes): Handle ".". Return `entry'.
13563 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13564 (ange-ftp-directory-files-and-attributes)
13565 (ange-ftp-real-directory-files-and-attributes): New defuns.
13567 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13568 shell with "exec" when possible. This prevents trailing prompts
13569 in `start-file-process'.
13571 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13573 Try and remove assumptions about point-min==1.
13574 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13575 (rng-compute-mode-line-string): Show the validation percentage in
13576 terms of the narrowed text, not the widened text.
13577 (rng-do-some-validation): Don't catch internal errors when debugging.
13578 (rng-first-error): Simplify.
13579 (rng-after-change-function): Remove work around. AFAIK the bug has
13580 been fixed a while ago.
13582 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13583 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13585 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13587 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13588 `cd' doesn't always do it for us (bug#5067).
13590 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13591 on 2009-10-25 as part of some other change (bug#5067).
13593 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13597 (byte-compile-warnings): Use byte-compile-warning-types.
13598 (byte-compile-save-excursion): Warn about use of set-buffer right
13599 after save-excursion.
13601 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13602 the excursion as well.
13604 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13606 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13607 providing a Tramp related implementation of "su" and "sudo".
13608 (eshell-unix-initialize): Add "su" and "sudo".
13610 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13612 * net/socks.el (socks-send-command): Convert binary request to
13613 unibyte before sending. This fixes mishandling of some port
13614 numbers such as 129.
13616 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13618 * help.el (describe-bindings-internal): Remove `interactive'.
13620 * man.el (Man-completion-table): Trim a terminating "(".
13621 Remove the space between name page a section.
13622 Add the command's description on the `help-echo' property.
13623 Remove `process-connection-type' binding since it's unused by
13625 Provide completion for the "<section> <name>" format as well.
13626 (Man-default-man-entry): Remove spurious var shadowing the argument.
13628 2009-11-26 Kevin Ryde <user42@zip.com.au>
13630 * log-view.el: Add "Keywords: tools", since its other keywords
13631 aren't in finder-known-keywords, and following vc.el.
13633 * sha1.el (sha1-string-external): default-directory "/" in case
13634 otherwise non-existent. process-connection-type pipe for touch of
13635 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13637 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13639 Misc coding convention cleanups.
13640 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13641 hfy-init-kludge-hooks.
13642 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13643 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13644 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13646 (hfy-slant, hfy-weight): Use tables rather than code.
13647 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13648 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13649 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13650 (hfy-face-to-css): Remove `nconc' with single arg.
13651 (hfy-p-to-face-lennart): Use `or'.
13652 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13653 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13654 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13655 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13656 (hfy-force-fontification): Use run-hooks.
13658 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13660 Various minor fixes.
13661 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13662 Javascript belongs in the header, not the body.
13663 (hfy-javascript): Remove.
13664 (hfy-fontify-buffer): Don't insert it any more.
13665 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13666 Fix bug in invis handling when there were no invis props in a chunk.
13668 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13672 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13674 * finder.el (finder-mode-map): Add a menu.
13676 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13678 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13679 "unsigned" structs.
13681 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13682 fork" statement better.
13684 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13686 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13687 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13688 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13689 Reported by Clay Douglass.
13691 (verilog-auto-inst, verilog-auto-star-safe)
13692 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13693 Fix removing "// Interfaces" when saving .* expansions.
13694 Reported by Pierre-David Pfister.
13696 2009-11-26 Glenn Morris <rgm@gnu.org>
13698 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13701 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13703 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13704 Really use previous revision.
13706 2009-11-25 Kevin Ryde <user42@zip.com.au>
13708 * man.el (Man-completion-table): default-directory "/" in case
13709 doesn't otherwise exist. process-environment COLUMNS=999 so as
13710 not to truncate long names. process-connection-type pipe to avoid
13711 any chance of hitting the pseudo-tty TIOCGWINSZ.
13712 (man): completion-ignore-case t for friendliness and since man
13713 itself is case-insensitive on the command line.
13714 Further to Bug#3717.
13716 * arc-mode.el: Add "Keywords: files", so the details in its
13717 commentary can be reached from finder-by-keyword.
13718 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13719 editing mode, but it's comms related and sgml-mode.el has "comm"
13721 * textmodes/bibtex-style.el: Add "Keywords: tex".
13722 * international/isearch-x.el, international/ja-dic-cnv.el:
13723 * international/ja-dic-utl.el, international/kkc.el:
13724 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13726 2009-11-25 Juri Linkov <juri@jurta.org>
13728 * man.el (Man-completion-table): Modify regexp to include
13729 section names to completion strings. (Bug#3717)
13731 2009-11-25 Juri Linkov <juri@jurta.org>
13733 Search recursively in gzipped files. (Bug#4982)
13735 * progmodes/grep.el (grep-highlight-matches): Add new options
13736 `always' and `auto'. Doc fix.
13737 (grep-process-setup): Check `grep-highlight-matches' for
13738 `auto-detect' to determine the need to compute grep defaults.
13739 Move Windows/DOS specific --colors settings handling
13740 to `grep-compute-defaults'. Check `grep-highlight-matches'
13741 to get the value of "--color=".
13742 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13743 has the value `auto-detect'. Move Windows/DOS specific settings
13744 from `grep-process-setup'.
13745 (zrgrep): New command with alias `rzgrep'.
13747 2009-11-25 Juri Linkov <juri@jurta.org>
13749 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13750 to nil instead of switching off view-mode. (Bug#4896)
13752 2009-11-25 Juri Linkov <juri@jurta.org>
13754 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13756 * mwheel.el (mwheel-scroll-up-function)
13757 (mwheel-scroll-down-function): New defvars.
13758 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13759 `scroll-up', and `mwheel-scroll-down-function' instead of
13762 * doc-view.el (doc-view-scroll-up-or-next-page)
13763 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13764 Use this ARG in the call to image-scroll-up/image-scroll-down.
13765 Change `interactive' spec to "P". Goto next/previous page only
13766 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13767 SPC/DEL case). Doc fix.
13768 (doc-view-next-line-or-next-page)
13769 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13771 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13772 `doc-view-scroll-up-or-next-page', and buffer-local
13773 `mwheel-scroll-down-function' to
13774 `doc-view-scroll-down-or-previous-page'.
13776 2009-11-25 Juri Linkov <juri@jurta.org>
13778 Provide additional default values (directories at other Dired
13779 windows) via M-n in the minibuffer of some Dired commands.
13781 * dired-aux.el (dired-diff, dired-compare-directories)
13782 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13783 `minibuffer-default' in `minibuffer-with-setup-hook'.
13784 (dired-dwim-target-directory): Find a window that displays Dired
13785 buffer instead of failing when the next window is not Dired.
13786 Use `get-window-with-predicate' to find for the next Dired window.
13787 (dired-dwim-target-defaults): New function.
13789 * ediff-util.el (ediff-read-file-name):
13790 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13791 in `minibuffer-with-setup-hook'.
13793 2009-11-25 Juri Linkov <juri@jurta.org>
13795 Provide additional default values (file name at point or at the
13796 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13798 * minibuffer.el (read-file-name-defaults): New function.
13799 (read-file-name): Reset `minibuffer-default' to nil when
13800 it duplicates initial input `insdef'.
13801 Bind `minibuffer-default-add-function' to lambda that
13802 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13803 (minibuffer-insert-file-name-at-point): New command.
13805 * files.el (file-name-at-point-functions): New defcustom.
13806 (find-file-default): Remove defvar.
13807 (find-file-read-args): Don't use `find-file-default'.
13808 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13809 to `read-file-name'.
13810 (find-file-literally): Use `read-file-name' with
13811 `confirm-nonexistent-file-or-buffer'.
13813 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13815 * dired.el (dired-read-dir-and-switches):
13816 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13817 to `read-file-name'.
13818 (dired-file-name-at-point): New function.
13819 (dired-mode): Add hook `dired-file-name-at-point' to
13820 `file-name-at-point-functions'.
13822 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13824 Really make the *Completions* window soft-dedicated (bug#5030).
13825 * window.el (window--display-buffer-2): Add `dedicated' argument.
13826 (display-buffer): Pass it when needed so the dedicated flag is set
13827 after calling set-window-buffer, which would otherwise reset it.
13829 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13831 * progmodes/meta-mode.el (meta-complete-symbol):
13832 * progmodes/etags.el (complete-tag):
13833 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13834 Use completion-in-region.
13836 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13837 (dabbrev-completion): Use completion-in-region.
13838 (dabbrev--abbrev-at-point): Simplify regexp.
13840 * abbrev.el (abbrev--before-point): Use word-motion functions
13841 if :regexp is not specified (bug#5031).
13843 * subr.el (string-prefix-p): New function.
13845 * man.el (Man-completion-cache): New var.
13846 (Man-completion-table): Use it.
13848 * vc.el (vc-print-log-internal): Make `limit' optional for better
13849 compatibility (e.g. with vc-annotate.el).
13851 2009-11-24 Kevin Ryde <user42@zip.com.au>
13853 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13854 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13856 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13857 when .el source file not found or other error.
13859 2009-11-24 Markus Triska <markus.triska@gmx.at>
13861 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13863 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13865 Handle the [back] button properly (bug#4979).
13866 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13867 Use help-setup-xref, help-buffer, and with-help-window.
13868 (describe-char): Add `buffer' argument.
13869 Pass proper command to help-setup-xref. Don't meddle with
13870 help-xref-stack-item directly.
13871 (describe-text-category): Use with-help-window and help-buffer.
13873 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13874 for the displayed buffer (bug#4887).
13876 * man.el (Man-completion-table): New function.
13879 2009-11-24 David Reitter <david.reitter@gmail.com>
13881 * vc-git.el (vc-git-registered): Use checkout directory (where
13882 .git is) rather than the file's directory and a relative path spec
13883 to work around a bug in git.
13885 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13887 Improve handling of processes on remote hosts.
13889 * eshell/esh-util.el (eshell-path-env): New defvar.
13890 (eshell-parse-colon-path): New defun.
13891 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13893 * eshell/esh-ext.el (eshell-search-path):
13894 Use `eshell-parse-colon-path'.
13895 (eshell-remote-command): Remove argument HANDLER.
13896 (eshell-external-command): Check for FTP remote connection.
13898 * eshell/esh-proc.el (eshell-gather-process-output):
13899 Use `file-truename', in order to start also symlinked files.
13900 Apply `start-file-process' instead of `start-process'.
13901 Shorten `command' to the local file name part.
13903 * eshell/em-cmpl.el (eshell-complete-commands-list):
13904 Use `eshell-parse-colon-path'.
13906 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13908 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13909 to `eshell-directory-change-hook'.
13911 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13913 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13914 because it could be enabled automatically if view-read-only is non-nil.
13916 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13918 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13919 made on 2009-11-22.
13921 2009-11-24 Glenn Morris <rgm@gnu.org>
13923 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13924 deleted variable bookmark-bmenu-bookmark-column.
13926 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13928 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13930 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13932 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13933 two slashes to the "file:" prefix.
13934 (browse-url-file-url): De-munge Cygwin filenames before passing
13935 them to Windows browser.
13936 (browse-url-default-windows-browser): Use call-process.
13938 2009-11-23 Juri Linkov <juri@jurta.org>
13940 Implement DocView Continuous mode. (Bug#4896)
13941 * doc-view.el (doc-view-continuous-mode): New defcustom.
13942 (doc-view-mode-map): Bind C-n/<down> to
13943 `doc-view-next-line-or-next-page', C-p/<up> to
13944 `doc-view-previous-line-or-previous-page'.
13945 (doc-view-next-line-or-next-page)
13946 (doc-view-previous-line-or-previous-page): New commands.
13948 2009-11-23 Juri Linkov <juri@jurta.org>
13950 Implement Isearch in comint input history. (Bug#3746)
13951 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13952 `isearch-mode-hook'.
13953 (comint-history-isearch): New defcustom.
13954 (comint-history-isearch-backward)
13955 (comint-history-isearch-backward-regexp): New commands.
13956 (comint-history-isearch-message-overlay): New buffer-local variable.
13957 (comint-history-isearch-setup, comint-history-isearch-end)
13958 (comint-goto-input, comint-history-isearch-search)
13959 (comint-history-isearch-message, comint-history-isearch-wrap)
13960 (comint-history-isearch-push-state)
13961 (comint-history-isearch-pop-state): New functions.
13963 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13965 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13967 (tramp-handle-make-symbolic-link)
13968 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13970 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13971 (tramp-handle-process-file): Use it.
13973 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13975 * window.el (move-to-window-line-last-op): Remove.
13976 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13978 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13980 Make M-r mirror the new cycling behavior of C-l.
13981 * window.el (move-to-window-line-last-op): New var.
13982 (move-to-window-line-top-bottom): New command.
13983 (global-map): Bind M-r move-to-window-line-top-bottom.
13985 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13987 * dired-x.el (dired-guess-shell-alist-default):
13988 Support xz format. (Bug#4953)
13990 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13992 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13993 last-command-char/last-command-event.
13994 (viper-prefix-arg-value): Do correct conversion of event-char for
13997 * emulation/viper-util.el, emulation/viper.el:
13998 Use viper-last-command-char instead of
13999 last-command-char/last-command-event.
14001 * ediff-init.el, ediff-mult.el, ediff-util.el:
14002 Replace last-command-char and last-command-event
14003 with (ediff-last-command-char) everywhere.
14005 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14006 created in fundamental mode.
14008 * ediff.el (ediff-version): Revert the change of interactive-p to
14009 called-interactively-p.
14011 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14013 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14014 generation from word-movement command names.
14016 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14018 * cus-start.el (all): Add native condition for font-use-system-font.
14020 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14022 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14023 Correct the patch from 2009-11-18. (Bug#3910)
14025 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14027 * progmodes/subword.el: Rename from lisp/subword.el.
14029 * subword.el: Rename to progmodes/subword.el.
14031 * Makefile.in (ELCFILES): Adapt to subword.el move.
14033 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14034 Stefan Monnier <monnier@iro.umontreal.ca>
14036 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14037 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14038 (bookmark-bmenu-show-filenames): Use push.
14039 (bookmark-bmenu-hide-filenames): Use local var instead of
14040 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14041 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14042 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14043 filenames now that the bookmark names are always available.
14045 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14048 (bookmark-search-pattern): Move and leave unbound.
14049 (bookmark-bmenu-mode-map): Change binding.
14050 (bookmark-read-search-input): Simplify.
14051 Don't use text-char-description. Don't error on non-char events.
14052 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14053 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14054 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14055 Use a local var for the timer.
14056 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14057 (i.e. bookmark-bmenu-search).
14059 2009-11-21 Glenn Morris <rgm@gnu.org>
14061 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14063 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14065 * net/browse-url.el (browse-url-default-windows-browser):
14066 Use cygstart for cygwin.
14068 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14070 * bookmark.el: Formatting and doc fixes only:
14071 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14072 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14073 Minor grammar and punctuation fixes in doc string.
14074 (bookmark-read-search-input): Adjust to fit within 80 columns.
14076 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14078 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14079 (c-backward-into-nomenclature): Adapt to subword renaming.
14081 * subword.el (subword-forward, subword-backward, subword-mark)
14082 (subword-kill, subword-backward-kill, subword-transpose)
14083 (subword-downcase, subword-upcase, subword-capitalize)
14084 (subword-forward-internal, subword-backward-internal):
14085 Rename from forward-subword, backward-subword, mark-subword,
14086 kill-subword, backward-kill-subword, transpose-subwords,
14087 downcase-subword, upcase-subword, capitalize-subword,
14088 forward-subword-internal, backward-subword-internal.
14090 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14092 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14094 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14096 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14097 (bookmark-bmenu-filter-alist-by-regexp)
14098 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14099 (bookmark-bmenu-search): New command.
14100 (bookmark-bmenu-mode-map): Bind it.
14102 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14104 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14105 backward-subword to quit the byte-compiler.
14107 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14109 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14111 * progmodes/cc-cmds.el (c-update-modeline)
14112 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14113 Refer to subword.el functions instead of cc-subword.el.
14115 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14116 subword.el functions instead of cc-subword.el.
14118 * progmodes/cc-subword.el: Rename to subword.el.
14119 * subword.el: Rename from progmodes/cc-subword.el.
14120 (subword-mode-map): Rename from c-subword-mode-map.
14121 (subword-mode): Rename from c-subword-mode.
14122 (global-subword-mode): New global minor mode.
14123 (forward-subword): Rename from c-forward-subword.
14124 (backward-subword): Rename from c-backward-subword.
14125 (mark-subword): Rename from c-mark-subword.
14126 (kill-subword): Rename from c-kill-subword.
14127 (backward-kill-subword): Rename from c-backward-kill-subword.
14128 (transpose-subwords): Rename from c-tranpose-subword.
14129 (downcase-subword): Rename from c-downcase-subword.
14130 (capitalize-subword): Rename from c-capitalize-subword.
14131 (forward-subword-internal): Rename from c-forward-subword-internal.
14132 (backward-subword-internal): Rename from c-backward-subword-internal.
14134 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14136 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14137 from a dired buffer.
14138 (vc-dired-deduce-fileset): New function.
14139 (vc-root-diff, vc-print-root-log): Use it.
14141 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14142 nil LIMIT argument to vc-print-log-internal.
14144 2009-11-20 Glenn Morris <rgm@gnu.org>
14146 * Makefile.in (ELCFILES): Regenerate.
14148 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14150 * calc/calc.el (calc-set-mode-line):
14151 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14152 (math-format-number): Rename `math-format-complement-signed' to
14153 `math-format-twos-complement'.
14155 * calc/calc-bin.el (math-format-twos-complement): Rename from
14156 math-format-complement-signed.
14157 (calc-radix): Rename `calc-complement-signed-mode' to
14158 `calc-twos-complement-mode'.
14159 (calc-octal-radix, calc-hex-radix): Add an argument for
14162 * calc/calc-embed.el (calc-embedded-mode-vars):
14163 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14165 * calc/calc-ext.el (calc-init-extensions):
14166 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14167 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14169 * calc/calc-units.el (math-build-units-table-buffer):
14170 Let `calc-twos-complement-mode' be nil.
14172 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14175 * calc/calc-vec.el (calcFunc-vunpack):
14176 * calc/calc-aent.el (calc-do-calc-eval):
14177 * calc/calc-forms.el (math-format-date):
14178 * calc/calc-graph.el (calc-graph-plot):
14179 * calc/calc-math.el (math-use-emacs-fn):
14180 * calc/calccomp.el (math-compose-expr):
14181 Let `calc-twos-complement-mode' be nil.
14183 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14186 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14187 * minibuffer.el (completion-in-region-functions): New hook.
14188 (completion-in-region): New function.
14189 * emacs-lisp/lisp.el (lisp-complete-symbol):
14190 * pcomplete.el (pcomplete-std-complete): Use it.
14192 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14195 (latex-complete-alist): New vars.
14196 (latex-string-prefix-p, latex-complete-bibtex-keys)
14197 (latex-complete-envnames, latex-complete-refkeys)
14198 (latex-complete-data): New functions.
14199 (latex-complete, latex-indent-or-complete): New commands.
14201 * window.el (display-buffer-mark-dedicated): New var.
14202 (display-buffer): Obey it.
14203 * minibuffer.el (minibuffer-completion-help): Use it.
14205 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14207 * filecache.el (file-cache-add-file): Use push and cons.
14208 (file-cache-delete-file-regexp): Use push.
14209 (file-cache-complete): Use completion-in-region.
14211 * simple.el (with-wrapper-hook): Fix thinko.
14213 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14214 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14215 Use with-current-buffer and string-to-number.
14216 (hfy-fallback-colour-values): Use assoc-string.
14217 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14218 (hfy-face-at): Remove unused var `found-face'.
14219 (hfy-compile-stylesheet): Remove unused var `css'.
14220 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14222 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14223 Use with-current-buffer.
14224 (hfy-text-p): Use expand-file-name and fewer setq.
14226 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14228 * htmlfontify.el, hfy-cmap.el: New files.
14230 2009-11-19 Juri Linkov <juri@jurta.org>
14232 * minibuffer.el (completions-format): New defcustom.
14233 (completion--insert-strings): Implement vertical format.
14235 * simple.el (switch-to-completions): Move point to the first
14236 completion when point was at the beginning of the buffer.
14238 2009-11-19 Juri Linkov <juri@jurta.org>
14240 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14242 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14244 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14246 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14247 (mail-signature): Change default to t.
14248 (mail-from-style): Deprecate `system-default' value.
14249 (mail-insert-from-field): For default value of mail-from-style,
14250 default to `angles' unless `angles' needs quoting and `parens'
14252 (mail-citation-prefix-regexp): Use citation regexp from
14255 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14257 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14258 Set variables for computing the prompt for reading password.
14260 2009-11-19 Glenn Morris <rgm@gnu.org>
14262 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14264 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14266 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14267 (newsticker-treeview-listwindow-height): Fix custom type.
14269 2009-11-19 Kenichi Handa <handa@m17n.org>
14271 * descr-text.el (describe-char-padded-string): Compose with TAB
14272 only if there's a font for CH.
14273 (describe-char): Fix the condition for detecting a trivial composition.
14275 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14277 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14278 more accurate version of the regexp. (Bug#3910)
14280 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14282 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14284 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14286 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14287 (font-setting-change-default-font): Fix typo in docstring.
14289 2009-11-18 Alan Mackenzie <acm@muc.de>
14291 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14293 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14295 * font-setting.el (font-use-system-font): Move ...
14297 * cus-start.el (all): ... to here.
14299 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14301 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14302 Don't set `ad-return-value' if `ad-do-it' doesn't.
14304 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14307 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14309 * menu-bar.el: Put "Use system font" in Option-menu.
14310 (menu-bar-options-save): Add font-use-system-font.
14312 * loadup.el: If feature system-font-setting or font-render-setting is
14313 there, load font-setting.
14315 * Makefile.in (ELCFILES): Add font-settings.el.
14316 * font-setting.el: New file.
14318 2009-11-17 Glenn Morris <rgm@gnu.org>
14320 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14322 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14323 Preserve point in the list buffer. (Bug#4939)
14325 (newsticker--treeview-list-update-highlight)
14326 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14328 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14330 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14333 * calc/calc-ext.el (calc-init-extensions): Remove references to
14336 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14338 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14339 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14342 2009-11-16 Kevin Ryde <user42@zip.com.au>
14344 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14345 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14347 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14348 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14349 Ignore trailing spaces by omit-nulls to split-string (fixing
14350 regression from Emacs 21 due to the incompatible split-string
14351 change). (Bug #4928.)
14353 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14355 * vc.el (vc-log-show-limit): Default to 2000.
14356 (vc-print-log-internal): Insert buttons to request more entries
14357 when limiting the output.
14359 * vc-sccs.el (vc-sccs-print-log):
14360 * vc-rcs.el (vc-rcs-print-log):
14361 * vc-cvs.el (vc-cvs-print-log):
14362 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14365 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14367 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14368 error when `tramp-gvfs-dbus-event-vector' is set.
14369 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14371 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14373 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14375 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14377 * net/dbus.el (dbus-unregister-service): New defun.
14378 (dbus-register-property): Register the handlers of
14379 "org.freedesktop.DBus.Properties" for SERVICE.
14380 (dbus-property-handler): Fix docstring.
14382 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14384 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14385 Quote doc string reference in defvaralias as it is not in special form.
14386 (byte-compile-output-docform): Doc fix.
14388 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14390 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14391 (calc-complement-signed-mode): New variables.
14392 (calc-set-mode-line): Add indicator for twos-complements.
14393 (math-format-number): Format twos-complement notation.
14395 * calc/calc-bin.el (calc-word-size): Reset the variables
14396 `math-2-word-size' and `math-half-2-word-size'.
14397 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14398 (calc-symclip): New functions.
14400 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14402 * calc/calc-embed.el (calc-embedded-mode-vars):
14403 Add `calc-complement-signed-mode' to the list of modes.
14405 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14406 (calc-b-oper-keys): Add `calc-symclip' to list.
14408 * calc/calc-ext.el (math-read-number-fancy): Read complement
14410 (calc-init-extensions): Add binding for `calc-symclip'.
14411 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14413 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14415 (calc-modes-menu): Add item for twos complement mode.
14417 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14419 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14421 * register.el (jump-to-register, insert-register): Handle Semantic
14422 tags. From commented-out advice in semantic/senator.el.
14424 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14426 * vc.el (vc-log-show-limit): New variable.
14427 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14428 when using a prefix argument.
14429 (vc-print-log-internal): Add new argument LIMIT.
14431 * vc-svn.el (vc-svn-print-log):
14432 * vc-mtn.el (vc-mtn-print-log):
14433 * vc-hg.el (vc-hg-print-log):
14434 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14435 pass it to the log command when set. Make the BUFFER argument
14438 * vc-sccs.el (vc-sccs-print-log):
14439 * vc-rcs.el (vc-rcs-print-log):
14440 * vc-git.el (vc-git-print-log):
14441 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14442 ignore it. Make the BUFFER argument non-optional
14444 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14446 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14448 * dired.el (dired-mode-map): Move encryption items to "Operate"
14451 * strokes.el (strokes-update-window-configuration): Make strokes
14452 buffer current before erasing (Bug#4906).
14454 2009-11-15 Juri Linkov <juri@jurta.org>
14456 * simple.el (set-mark-default-inactive): Add :type, :group
14457 and :version. (Bug#4876)
14459 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14461 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14462 (archive-unique-fname): ... here. (Bug#4929)
14464 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14466 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14469 * novice.el (disabled-command-function): Add useful args.
14470 Setup the help buffer so that [back] works.
14471 Remove redundant call to help-mode.
14472 (disabled-command-function): Use `case'.
14473 (en/disable-command): New function extracted from enable-command.
14474 (enable-command, disable-command): Use it.
14476 2009-11-14 Glenn Morris <rgm@gnu.org>
14478 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14479 constants. (Bug#4913)
14481 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14483 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14485 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14486 defined in C that have no doc-strings. (Bug#1063)
14488 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14490 * cus-edit.el (data, files):
14491 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14493 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14495 * simple.el (shell-command): Doc fix (Bug#4891).
14497 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14499 2009-11-14 Glenn Morris <rgm@gnu.org>
14501 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14502 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14503 If they are already loaded, eval-after-load will do the right thing.
14505 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14508 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14510 * simple.el (x-selection-owner-p): Declare.
14511 (read-mail-command): Use custom radio type rather than choice.
14512 (completion-no-auto-exit): Doc fix.
14514 * custom.el (defgroup):
14515 * epg-config.el (epg): Doc fixes.
14517 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14519 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14520 * international/ccl.el (define-ccl-program): Do not purecopy the
14521 docstring, defconst does it anyway.
14523 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14525 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14528 * x-dnd.el (x-dnd-maybe-call-test-function):
14529 * window.el (split-window-vertically):
14530 * whitespace.el (whitespace-help-on):
14531 * vc-rcs.el (vc-rcs-consult-headers):
14532 * userlock.el (ask-user-about-lock-help)
14533 (ask-user-about-supersession-help):
14534 * type-break.el (type-break-force-mode-line-update):
14535 * time-stamp.el (time-stamp-conv-warn):
14536 * terminal.el (te-set-output-log, te-more-break, te-filter)
14537 (te-sentinel, terminal-emulator):
14538 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14539 (term-write-input-ring, term-check-source, term-start-output-log):
14540 (term-display-buffer-line, term-dynamic-list-completions):
14541 (term-ansi-make-term, serial-term):
14542 * subr.el (selective-display):
14543 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14544 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14545 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14546 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14547 (speedbar-remove-localized-speedbar-support)
14548 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14549 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14550 (speedbar-buffers-line-directory):
14551 * simple.el (shell-command-on-region, append-to-buffer)
14552 (prepend-to-buffer):
14553 * shadowfile.el (shadow-save-todo-file):
14554 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14555 (scroll-bar-maybe-set-window-start):
14556 * sb-image.el (speedbar-image-dump):
14557 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14558 (load-save-place-alist-from-file):
14559 * ps-samp.el (ps-print-message-from-summary):
14560 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14561 (ps-background-image, ps-begin-job, ps-do-despool):
14562 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14563 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14564 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14565 (pr-call-process, pr-file-list, pr-interface-save):
14566 * novice.el (disabled-command-function)
14567 (enable-command, disable-command):
14568 * mouse.el (mouse-buffer-menu-alist):
14569 * mouse-copy.el (mouse-kill-preserving-secondary):
14570 * macros.el (kbd-macro-query):
14571 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14572 * informat.el (batch-info-validate):
14573 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14574 * hippie-exp.el (try-expand-dabbrev-visible):
14575 * help-mode.el (help-make-xrefs):
14576 * help-fns.el (describe-variable):
14577 * generic-x.el (bat-generic-mode-run-as-comint):
14578 * finder.el (finder-mouse-select):
14579 * find-dired.el (find-dired-sentinel):
14580 * filesets.el (filesets-file-close):
14581 * files.el (list-directory):
14582 * faces.el (list-faces-display, describe-face):
14583 * facemenu.el (list-colors-display):
14584 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14585 * epg.el (epg--process-filter, epg-cancel):
14586 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14587 (epa--read-signature-type):
14588 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14589 (emerge-file-names):
14590 * ehelp.el (electric-helpify):
14591 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14592 * ediff-vers.el (rcs-ediff-view-revision):
14593 * ediff-util.el (ediff-setup):
14594 * ediff-mult.el (ediff-append-custom-diff):
14595 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14597 * echistory.el (Electric-command-history-redo-expression):
14598 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14599 * disp-table.el (describe-display-table):
14600 * dired.el (dired-find-buffer-nocreate):
14601 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14602 * dabbrev.el (dabbrev--same-major-mode-p):
14603 * chistory.el (list-command-history):
14604 * apropos.el (apropos-documentation):
14605 * allout.el (allout-obtain-passphrase):
14606 (allout-copy-exposed-to-buffer):
14607 (allout-verify-passphrase): Use with-current-buffer.
14609 2009-11-13 Glenn Morris <rgm@gnu.org>
14611 * Makefile.in (ELCFILES): Regenerate.
14613 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14615 * net/dbus.el (dbus-registered-objects-table): Rename from
14616 `dbus-registered-functions-table', because it contains also properties.
14617 (dbus-unregister-object): Unregister also properties.
14618 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14619 Use a timeout of 500 msec, in order to not block.
14620 (dbus-register-property, dbus-property-handler): New defuns.
14622 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14624 * simple.el (minibuffer-default-add-completions): Drop deprecated
14627 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14629 * textmodes/artist.el (artist-mouse-choose-operation):
14630 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14631 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14632 (artist-compute-up-event-key): New function.
14633 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14635 2009-11-13 Kenichi Handa <handa@m17n.org>
14637 * language/japan-util.el: Make sure that the value of jisx0208
14638 property is jisx0208 character.
14640 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14642 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14643 car or each item, not the whole list.
14645 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14647 * minibuffer.el (minibuffer-completion-help):
14648 Use minibuffer-hide-completions.
14650 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14652 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14653 (dired-revert): Use them (bug#4880).
14655 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14657 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14659 2009-11-12 Juri Linkov <juri@jurta.org>
14661 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14663 (find-file-literally-at-point): Alias of `ffap-literally'.
14665 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14667 * textmodes/ispell.el (ispell-skip-region-alist):
14668 * textmodes/css-mode.el (auto-mode-alist):
14669 * progmodes/compile.el (auto-mode-alist):
14670 * international/mule.el (ctext-non-standard-encodings-alist)
14671 (ctext-non-standard-encodings-regexp):
14672 * simple.el (shell-command-switch, text-read-only):
14673 * replace.el (occur-mode-map):
14674 * paths.el (rmail-file-name):
14675 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14676 * find-file.el (ff-special-constructs):
14677 * files.el (file-name-handler-alist):
14678 * composite.el: Purecopy strings.
14680 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14682 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14684 * widget.el (define-widget): Purecopy the docstring.
14685 * international/mule-cmds.el (charset): Do not purecopy the
14686 docstring here, define-widget does it.
14688 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14689 * textmodes/bibtex-style.el (auto-mode-alist):
14690 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14691 * progmodes/compile.el (compile-command):
14692 * language/korea-util.el (default-korean-keyboard):
14693 * international/mule-conf.el (file-coding-system-alist):
14694 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14695 * tooltip.el (tooltip-frame-parameters):
14696 * newcomment.el (comment-end, comment-padding):
14697 * dired.el (dired-trivial-filenames):
14698 * comint.el (comint-file-name-prefix): Purecopy initial values.
14700 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14702 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14703 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14705 (tramp-advice-make-auto-save-file-name)
14706 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14707 after removing the advice.
14709 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14711 * progmodes/grep.el (grep-regexp-alist):
14712 * international/mule-cmds.el (iso-2022-control-alist):
14713 * emacs-lisp/timer.el (timer-duration-words):
14714 * subr.el (version-separator, version-regexp-alist):
14715 * minibuffer.el (completion-styles-alist):
14716 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14717 Change defvars to defconsts.
14719 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14720 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14721 * international/mule-conf.el: Allow to be byte compiled.
14723 * international/mule.el (define-charset): Purecopy props.
14724 (load-with-code-conversion): Purecopy doc string and file name.
14725 (put-charset-property): Purecopy strings.
14726 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14728 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14729 (define-char-code-property): Correctly purecopy the table.
14731 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14733 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14735 * subr.el (add-hook): Purecopy strings.
14736 (eval-after-load): Purecopy load-history-regexp and the form.
14738 * custom.el (custom-declare-group): Purecopy load-file-name.
14740 * subr.el (menu-bar-separator): New defconst.
14741 * net/eudc.el (eudc-tools-menu):
14742 * international/mule-cmds.el (set-coding-system-map)
14743 (mule-menu-keymap):
14744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14745 * vc-hooks.el (vc-menu-map):
14746 * replace.el (occur-mode-map):
14747 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14748 (menu-bar-edit-menu, menu-bar-goto-menu)
14749 (menu-bar-custom-menu, menu-bar-showhide-menu)
14750 (menu-bar-options-menu, menu-bar-tools-menu)
14751 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14752 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14753 (menu-bar-help-menu):
14754 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14755 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14757 * term/x-win.el (x-gtk-stock-map):
14758 * progmodes/vera-mode.el (auto-mode-alist):
14759 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14760 (inferior-lisp-program, inferior-lisp-load-command):
14761 * progmodes/hideshow.el (hs-special-modes-alist):
14762 * progmodes/gud.el (same-window-regexps):
14763 * progmodes/grep.el (grep-program, find-program, xargs-program):
14764 * net/telnet.el (same-window-regexps):
14765 * net/rlogin.el (same-window-regexps):
14766 * language/ethiopic.el (font-ccl-encoder-alist):
14767 * vc-sccs.el (vc-sccs-master-templates):
14768 * vc-rcs.el (vc-rcs-master-templates):
14769 * subr.el (cl-assertion-failed):
14770 * simple.el (next-error-overlay-arrow-position):
14771 * lpr.el (lpr-command):
14772 * locate.el (locate-ls-subdir-switches):
14773 * info.el (same-window-regexps, info)
14774 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14775 * image-mode.el (image-mode, auto-mode-alist):
14776 * hippie-exp.el (hippie-expand-ignore-buffers):
14777 * format.el (format-alist):
14778 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14780 * facemenu.el (facemenu-keybindings):
14781 * dired.el (dired-listing-switches, dired-chown-program):
14782 * diff.el (diff-switches, diff-command):
14783 * cus-edit.el (same-window-regexps):
14784 * bindings.el (mode-line-mule-info)
14785 (mode-line-buffer-identification): Purecopy strings.
14787 2009-11-11 Juri Linkov <juri@jurta.org>
14789 * simple.el (dired-get-filename) <declare-function>:
14790 Tell the byte-compiler about dired-get-filename.
14791 (shell-command): In Dired mode, get filename from the current line
14792 as the default value.
14794 2009-11-10 Glenn Morris <rgm@gnu.org>
14796 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14797 * calendar/holidays.el, progmodes/cperl-mode.el:
14798 Update x-popup-menu declarations.
14800 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14801 (list-load-path-shadows): Use dolist.
14802 (list-load-path-shadows): Use with-current-buffer.
14804 2009-11-10 Juri Linkov <juri@jurta.org>
14806 * minibuffer.el (read-file-name): Support a list of default values
14807 in `default-filename'. Use the first file name where only one
14808 element is required. Doc fix.
14810 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14812 * net/dbus.el (dbus-unregister-object): Release service, if no
14813 other method is registered for it.
14815 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14817 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14818 bookmark-sort-flag is non-nil (Bug#4653).
14820 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14822 * emulation/cua-base.el: Add CUA property to some CC mode commands
14825 2009-11-08 Kevin Ryde <user42@zip.com.au>
14827 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14828 at end of sentence (Bug#4818).
14830 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14833 Handle "see declaration of" MSFT statements (Bug#4100).
14835 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14837 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14838 (tramp-advice-file-expand-wildcards): Unload via
14839 `ad-remove-advice'.
14841 * net/trampver.el: Update release number.
14843 2009-11-08 Kevin Ryde <user42@zip.com.au>
14845 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14848 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14850 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14851 in order to keep context in SELinux.
14853 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14855 * dired-aux.el (dired-query): Place cursor in echo area and allow
14858 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14859 menu item if not on a directory (Bug#4701).
14861 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14863 Sync with Tramp 2.1.17.
14865 * net/tramp.el (tramp-handle-copy-directory): Don't use
14866 `file-remote-p' (due to compatibility).
14868 * net/tramp-compat.el (tramp-compat-copy-directory)
14869 (tramp-compat-delete-directory): New defuns.
14871 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14872 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14873 Use `tramp-compat-delete-directory'.
14875 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14876 (tramp-smb-handle-delete-directory):
14877 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14879 * net/trampver.el: Update release number.
14881 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14883 * tar-mode.el (tar-copy): Call write-region on the right buffer
14886 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14887 by hand, if necessary (Bug#4878).
14889 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14891 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14892 align size column (Bug#4839).
14894 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14897 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14899 * progmodes/ld-script.el (auto-mode-alist):
14900 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14902 * cus-face.el (custom-declare-face): Purecopy face spec.
14904 2009-11-06 Kenichi Handa <handa@m17n.org>
14906 * international/uni-bidi.el: Re-generated.
14907 * international/uni-category.el: Re-generated.
14908 * international/uni-combining.el: Re-generated.
14909 * international/uni-mirrored.el: Re-generated.
14911 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14913 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14914 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14915 (tex-start-options, slitex-run-command, latex-run-command)
14916 (tex-run-command, tex-directory):
14917 * textmodes/ispell.el (ispell-html-skip-alists)
14918 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14919 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14920 (adaptive-fill-regexp):
14921 * textmodes/dns-mode.el (auto-mode-alist):
14922 * progmodes/python.el (interpreter-mode-alist):
14923 * progmodes/etags.el (tags-compression-info-list):
14924 * progmodes/etags.el (tags-file-name):
14925 * net/browse-url.el (browse-url-galeon-program)
14926 (browse-url-firefox-program):
14927 * mail/sendmail.el (mail-signature-file)
14928 (mail-citation-prefix-regexp):
14929 * international/mule-conf.el (eight-bit):
14930 * international/latexenc.el (latex-inputenc-coding-alist):
14931 * international/fontset.el (x-pixel-size-width-font-regexp):
14932 * emacs-lisp/warnings.el (warning-type-format):
14933 * emacs-lisp/trace.el (trace-buffer):
14934 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14935 (emacs-lisp-mode-map):
14936 * calendar/holidays.el (holiday-solar-holidays)
14937 (holiday-bahai-holidays, holiday-islamic-holidays)
14938 (holiday-christian-holidays, holiday-hebrew-holidays)
14939 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14940 (hebrew-holidays-1, holiday-oriental-holidays)
14941 (holiday-general-holidays):
14942 * x-dnd.el (x-dnd-known-types):
14943 * tool-bar.el (tool-bar):
14944 * startup.el (site-run-file):
14945 * shell.el (shell-dumb-shell-regexp):
14946 * rfn-eshadow.el (file-name-shadow-tty-properties)
14947 (file-name-shadow-properties):
14948 * paths.el (remote-shell-program, news-directory):
14949 * mouse.el ([C-down-mouse-3]):
14950 * menu-bar.el (menu-bar-tools-menu):
14951 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14952 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14953 (jka-compr-compression-info-list):
14954 * isearch.el (search-whitespace-regexp):
14955 * image-file.el (image-file-name-extensions):
14956 * find-dired.el (find-ls-option):
14957 * files.el (directory-listing-before-filename-regexp)
14958 (directory-free-space-args, insert-directory-program)
14959 (list-directory-brief-switches, magic-fallback-mode-alist)
14960 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14961 (automount-dir-prefix):
14962 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14963 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14964 (face-font-registry-alternatives, face-font-registry-alternatives)
14965 (face-font-family-alternatives):
14966 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14967 (facemenu-foreground-menu, facemenu-face-menu):
14968 * epa-hook.el (epa-file-name-regexp):
14969 * dnd.el (dnd-protocol-alist):
14970 * textmodes/rst.el (auto-mode-alist):
14971 * button.el (default-button): Purecopy strings.
14973 2009-11-06 Glenn Morris <rgm@gnu.org>
14975 * Makefile.in (ELCFILES): Update.
14977 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14979 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14980 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14982 * nxml/xsd-regexp.el (xsdre-gen-categories):
14983 * nxml/xmltok.el (xmltok-parse-entity):
14984 * nxml/rng-parse.el (rng-parse-validate-file):
14985 * nxml/rng-maint.el (rng-format-manual)
14986 (rng-manual-output-force-new-line):
14987 * nxml/rng-loc.el (rng-save-schema-location-1):
14988 * nxml/rng-cmpct.el (rng-c-parse-file):
14989 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14990 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14992 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14994 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14995 Remove extra save-excursions and make-variable-buffer-local's.
14996 Suggested by Stefan Monnier.
14998 (verilog-getopt-file, verilog-module-inside-filename-p)
14999 (verilog-set-define): Merge GNU 1.35 and repair changes from
15000 switching to using with-current-buffer.
15002 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15003 being treated as a number and confusing AUTORESET.
15004 Reported by Dan Dever.
15006 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15007 Add verilog-auto-ignore-concat to fix backward compatibility with
15008 older verilog-modes. Reported by Dan Katz.
15010 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15011 containing closing anchors "...$".
15013 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15014 Reported by Wade Smith.
15016 (verilog-batch-execute-func): Comment on function usage.
15018 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15020 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15023 (verilog-label-re, verilog-calc-1): Support proper indent of named
15026 (verilog-backward-token, verilog-basic-complete-re)
15027 (verilog-beg-of-statement, verilog-indent-re): Support proper
15028 indent of the assert statement at the beginning of a block of text.
15030 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15031 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15034 2009-11-05 Glenn Morris <rgm@gnu.org>
15036 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15037 Emacs 19. (Bug#1531)
15038 (byte-compile-fix-header): Update for the above change.
15039 Drop test for epoch::version.
15041 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15042 * cus-dep.el (custom-make-dependencies):
15043 * finder.el (finder-compile-keywords):
15044 Use autoload-rubric's feature argument.
15046 * calendar/diary-lib.el (top-level): Make load behave more like require.
15048 * vc-git.el (vc-git-stash-map): Move definition before use.
15050 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15052 * custom.el (custom-declare-group): Purecopy standard-value.
15053 (custom-declare-group): Purecopy custom-prefix.
15055 * international/mule.el (load-with-code-conversion):
15056 Call do-after-load-evaluation unconditionally.
15058 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15060 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15062 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15064 2009-11-04 Glenn Morris <rgm@gnu.org>
15066 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15067 (byte-compile-compatibility): Remove option.
15068 (byte-compile-close-variables, byte-compile-fix-header)
15069 (byte-compile-insert-header, byte-compile-output-docform)
15070 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15071 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15072 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15073 (byte-compile-insert, byte-compile-defun):
15074 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15075 (byte-defop-compiler19): Remove.
15076 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15077 used by anything. Replace all calls with byte-defop-compiler.
15079 2009-11-04 Juri Linkov <juri@jurta.org>
15081 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15082 (menu-bar-options-menu): Don't quote the `prop' arg of
15083 `menu-bar-make-mm-toggle'.
15085 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15087 * calendar/calendar.el (cal-loaddefs):
15088 * calendar/diary-lib.el (diary-loaddefs):
15089 * calendar/holidays.el (hol-loaddefs):
15090 * eshell/esh-module.el (esh-groups): Load rather than require.
15092 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15094 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15096 (todo-top-priorities): Only display-buffer when called interactively.
15097 (todo-item-start): Don't save excursion point.
15098 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15099 (todo-insert-item-here, todo-file-item, todo-remove-item):
15100 Adjust uses of todo-item-start and todo-item-end.
15102 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15103 (autoload-rubric): Don't use any more.
15105 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15106 and only put a prop if it is non-nil.
15108 2009-11-03 Juri Linkov <juri@jurta.org>
15110 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15111 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15113 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15114 and "Menu" to make top-level menu item visually one unit (like
15115 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15116 multi-word menu items). Fix :help string for quit-window.
15118 2009-11-03 Glenn Morris <rgm@gnu.org>
15120 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15121 (byte-compile-file-form-define-abbrev-table)
15122 (byte-compile-file-form-custom-declare-variable)
15123 (byte-compile-variable-ref, byte-compile-defvar):
15124 Whether or not a warning is enabled should only affect whether we issue
15125 the warning, not whether or not we collect the relevant data.
15126 Eg warnings can be turned on and off throughout the course of a file.
15128 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15129 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15131 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15134 * play/mpuz.el (mpuz-create-buffer):
15135 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15136 (lm-print-y,s,noise, lm-print-w0, lm-init):
15137 * play/gomoku.el (gomoku-prompt-for-move):
15138 * play/fortune.el (fortune-in-buffer):
15139 * play/dissociate.el (dissociated-press):
15140 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15141 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15142 * mail/supercite.el (sc-eref-show):
15143 * mail/smtpmail.el (smtpmail-send-it):
15144 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15145 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15146 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15147 (rmail-summary-goto-msg, rmail-summary-expunge)
15148 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15149 (rmail-summary-add-label, rmail-summary-output-menu)
15150 (rmail-summary-output-body):
15151 * mail/rfc822.el (rfc822-addresses):
15152 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15153 * mail/mailpost.el (post-mail-send-it):
15154 * mail/hashcash.el (hashcash-generate-payment):
15155 * mail/feedmail.el (feedmail-run-the-queue)
15156 (feedmail-queue-send-edit-prompt-help-first)
15157 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15158 (feedmail-deduce-address-list):
15159 * eshell/esh-ext.el (eshell-remote-command):
15160 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15161 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15162 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15163 (viper-save-string-in-file, viper-valid-marker):
15164 * emulation/viper-keym.el (viper-toggle-key):
15165 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15166 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15167 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15168 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15169 (viper-exec-form-in-emacs, viper-brac-function):
15170 * emulation/viper.el (viper-delocalize-var):
15171 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15172 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15173 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15174 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15175 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15176 * emulation/edt.el (edt-electric-helpify):
15177 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15178 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15179 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15180 (cua-indent-to-global-mark-column):
15181 * calendar/diary-lib.el (calendar-mark-1):
15182 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15183 Use with-current-buffer.
15184 * emulation/viper.el (viper-delocalize-var): Use dolist.
15186 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15188 * comint.el (comint-replace-by-expanded-history-before-point):
15189 Replace !! with the previous input string literally (Bug#1795).
15191 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15193 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15194 to be made up of whitespace.
15196 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15198 * minibuffer.el (read-file-name): Don't use file dialogs for
15199 remote directories (Bug#99).
15201 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15203 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15205 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15207 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15208 instead of deleting the window or frame.
15210 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15212 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15213 Support face colors.
15215 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15216 New function. Support face colors (Bug#1168).
15217 (tex-common-initialization): Use it.
15219 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15220 mode allows it (Bug#1168).
15222 2009-10-31 Juri Linkov <juri@jurta.org>
15224 * facemenu.el (list-colors-display): Don't mark buffer as
15225 modified (Bug#3948).
15227 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15229 * international/mule-diag.el (list-character-sets-1):
15230 Minor message fix (Bug#3526).
15232 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15233 Fix face property (Bug#4834).
15234 (etags-list-tags, etags-tags-apropos-additional)
15235 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15238 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15241 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15243 * textmodes/two-column.el (2C-split):
15244 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15245 * textmodes/tex-mode.el (tex-set-buffer-directory):
15246 * textmodes/spell.el (spell-region, spell-string):
15247 * textmodes/reftex.el (reftex-erase-buffer):
15248 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15249 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15250 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15251 (reftex-select-item):
15252 * textmodes/reftex-ref.el (reftex-label-info-update)
15253 (reftex-offer-label-menu):
15254 * textmodes/reftex-index.el (reftex-index-change-entry)
15255 (reftex-index-phrases-info):
15256 * textmodes/reftex-global.el (reftex-create-tags-file)
15257 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15258 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15259 (reftex-view-crossref-from-bibtex):
15260 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15261 (reftex-extract-bib-entries-from-thebibliography)
15262 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15263 * textmodes/refbib.el (r2b-capitalize-title):
15264 (r2b-convert-buffer, r2b-help):
15265 * textmodes/page-ext.el (pages-directory)
15266 (pages-directory-goto-with-mouse):
15267 * textmodes/bibtex.el (bibtex-validate-globally):
15268 * textmodes/bib-mode.el (bib-capitalize-title):
15269 * textmodes/artist.el (artist-clear-buffer, artist-system):
15270 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15271 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15272 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15273 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15274 (xscheme-send-control-g-interrupt, xscheme-start-process)
15275 (xscheme-process-sentinel, xscheme-cd):
15276 * progmodes/verilog-mode.el (verilog-read-always-signals)
15277 (verilog-set-define, verilog-getopt-file)
15278 (verilog-module-inside-filename-p):
15279 * progmodes/sh-script.el:
15280 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15281 (python-pdbtrack-grub-for-buffer, python-execute-file):
15282 * progmodes/octave-inf.el (inferior-octave):
15283 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15284 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15285 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15286 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15287 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15288 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15289 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15290 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15291 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15292 (idlwave-shell-examine-display, idlwave-shell-run-region)
15293 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15294 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15295 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15296 (idlwave-help-get-help-buffer):
15297 * progmodes/gud.el (gud-basic-call, gud-find-class)
15298 (gud-tooltip-activate-mouse-motions-if-enabled):
15299 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15300 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15301 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15302 (ebrowse-tags-next-file):
15303 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15304 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15305 (ebnf-eps-finish-and-write):
15306 * progmodes/cpp.el (cpp-edit-save):
15307 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15308 * progmodes/cc-defs.el (c-emacs-features):
15309 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15310 (antlr-directory-dependencies):
15311 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15312 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15313 (ada-find-any-references, ada-make-filename-from-adaname)
15314 (ada-make-body-gnatstub):
15315 * obsolete/rnews.el (news-list-news-groups):
15316 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15317 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15318 * net/rcirc.el (rcirc-debug):
15319 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15320 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15321 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15322 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15323 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15324 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15325 (newsticker--treeview-list-clear-highlight)
15326 (newsticker--treeview-list-update-highlight)
15327 (newsticker--treeview-list-highlight-start)
15328 (newsticker--treeview-tree-update-highlight)
15329 (newsticker--treeview-get-selected-item)
15330 (newsticker-treeview-mark-list-items-old)
15331 (newsticker--treeview-set-current-node):
15332 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15333 * net/newst-backend.el (newsticker--get-news-by-funcall)
15334 (newsticker--get-news-by-wget, newsticker--image-get)
15335 (newsticker--image-sentinel):
15336 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15337 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15338 (eudc-ph-close-session):
15339 * net/eudc.el (eudc-save-options):
15340 * language/thai-word.el (thai-update-word-table):
15341 * language/japan-util.el (japanese-string-conversion):
15342 * international/titdic-cnv.el (tsang-quick-converter)
15343 (ziranma-converter, ctlau-converter):
15344 * international/mule-cmds.el (describe-language-environment):
15345 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15346 (skkdic-convert-postfix, skkdic-convert-prefix):
15347 (skkdic-convert-okuri-nasi, skkdic-convert):
15348 * emacs-lisp/re-builder.el (reb-update-overlays):
15349 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15350 * emacs-lisp/gulp.el (gulp-send-requests):
15351 * emacs-lisp/find-gc.el (trace-call-tree):
15352 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15353 (eieio-describe-generic):
15354 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15355 * emacs-lisp/edebug.el (edebug-outside-excursion):
15356 * emacs-lisp/debug.el (debugger-make-xrefs):
15357 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15358 * emacs-lisp/chart.el (chart-new-buffer):
15359 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15360 Use with-current-buffer.
15361 * textmodes/artist.el (artist-system): Don't call
15362 copy-sequence on a fresh string.
15363 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15365 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15367 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15368 is no item to edit. (Bug#4820)
15369 (todo-top-priorities): Restore point and restore narrowing in Todo
15372 2009-10-31 Glenn Morris <rgm@gnu.org>
15374 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15375 (comint-last-output-start, comint-last-input-start)
15376 (comint-last-input-end): Don't defvar when compiling.
15377 (ange-ftp-process-file): Use bound-and-true-p.
15379 * pcmpl-rpm.el (top-level): Move provide statement to end.
15380 (pcmpl-rpm): Remove unused custom group.
15382 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15384 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15386 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15387 (byte-compile-warnings): Add `constants' as an option.
15388 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15389 (display-call-tree): Update for byte-compile-fdefinition possibly
15390 returning `(macro lambda ...)'. (Bug#4778)
15391 (byte-compile-variable-ref, byte-compile-setq-default):
15392 Respect `constants' member of byte-compile-warnings.
15394 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15396 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15397 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15400 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15402 * textmodes/ispell.el (ispell-skip-region-alist):
15403 * international/mule-conf.el (eight-bit):
15404 * international/fontset.el (font-encoding-alist):
15405 * startup.el (pure-space-overflow-message):
15406 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15407 * paths.el (gnus-nntp-service, rmail-spool-directory)
15408 (term-file-prefix):
15409 * files.el (save-some-buffers-action-alist):
15410 * cmuscheme.el (same-window-buffer-names):
15411 * ielm.el (same-window-buffer-names):
15412 * shell.el (same-window-buffer-names):
15413 * mail/sendmail.el (same-window-buffer-names):
15414 * progmodes/inf-lisp.el (same-window-buffer-names):
15415 * bindings.el (mode-line-client)
15416 (mode-line-column-line-number-mode-map):
15417 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15418 (tibetan-precomposed-regexp): Purecopy string arguments.
15420 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15422 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15423 (calcDigit-nondigit):
15424 * calc/calc-yank.el (calc-copy-to-buffer):
15425 * calc/calc-units.el (calc-invalidate-units-table):
15426 * calc/calc-trail.el (calc-trail-yank):
15427 * calc/calc-store.el (calc-insert-variables):
15428 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15429 * calc/calc-prog.el (calc-read-parse-table):
15430 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15431 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15432 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15433 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15434 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15435 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15436 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15437 * calc/calc-ext.el (calc-realign):
15438 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15439 (calc-embedded-finish-edit, calc-embedded-make-info)
15440 (calc-embedded-finish-command, calc-embedded-stack-change):
15441 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15443 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15444 shell-dynamic-complete-filename in preference to
15445 comint-dynamic-complete-filename.
15447 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15448 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15449 Don't consider whether the display supports colors.
15450 (bookmark-import-new-list): Use dolist.
15451 (bookmark-bmenu-mode-map): Move initialization into declaration.
15452 (bookmark-bmenu-list): Use dolist, simplify.
15453 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15454 (menu-bar-final-items): Use push.
15456 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15458 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15459 it works on remote files.
15460 (vc-hg-diff): Don't pass any `--cwd' argument.
15462 2009-10-27 Kevin Ryde <user42@zip.com.au>
15464 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15465 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15466 (Further to Bug#3921).
15468 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15470 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15471 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15472 calling `tramp-imap-put-file'. Add file size to the call.
15473 (tramp-imap-get-file-entries): Compute also user name, file size,
15475 (tramp-imap-handle-insert-directory): Insert uid and gid.
15476 (tramp-imap-handle-file-attributes): Transform uid and gid
15477 according to `id-format'.
15478 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15479 size in header X-Size.
15481 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15483 * simple.el (transpose-subr): Give clearer error when the mark
15484 is not set. (Bug#4807)
15486 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15488 * net/tramp.el (tramp-perl-file-truename): New defconst.
15489 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15490 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15491 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15492 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15494 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15495 Ignore `dired-call-process'.
15496 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15498 2009-10-26 Julian Scheid <julians37@gmail.com>
15500 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15501 (tramp-get-remote-readlink): New defun.
15502 (tramp-handle-file-truename): Use it.
15503 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15504 file exists if cache value present.
15505 (tramp-check-cached-permissions): New defun.
15506 (tramp-handle-file-readable-p): Use it.
15507 (tramp-handle-file-writable-p): Likewise.
15508 (tramp-handle-file-executable-p): Likewise.
15509 (tramp-handle-file-name-all-completions): Try using Perl to get
15510 partial completions. When perl not available, combine `cd' and
15511 `ls' into single remote operation and use shell expansion to get
15512 partial remote directory contents. Set `file-exists-p' cache for
15513 directory and any files returned by ls. Change cache handling to
15514 support partial directory contents. Use error message emitted by
15515 remote `cd' or Perl code for local tramp-error.
15516 (tramp-do-copy-or-rename-file-directly): Avoid separate
15517 tramp-send-command-and-check call.
15518 (tramp-handle-process-file): Merge three remote ops into one.
15519 Do not flush all caches when `process-file-side-effects' is set.
15520 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15521 file-attributes shows uid/gid to be set already.
15523 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15525 * textmodes/tex-mode.el (tex-dvi-view-command)
15526 (tex-show-queue-command, tex-open-quote):
15527 * progmodes/ruby-mode.el (auto-mode-alist)
15528 (interpreter-mode-alist): Purecopy strings.
15530 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15532 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15533 string for the hook, keymap and abbrev table.
15535 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15537 * x-dnd.el (x-dnd-xdnd-to-action):
15538 * startup.el (fancy-startup-text, fancy-about-text): Change to
15539 defconst from defvar.
15541 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15543 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15544 Purecopy initialization strings.
15546 * mail/sendmail.el (mail-header-separator)
15547 (mail-personal-alias-file):
15548 * mail/rmail.el (rmail-default-dont-reply-to-names)
15549 (rmail-ignored-headers, rmail-retry-ignored-headers)
15550 (rmail-highlighted-headers, rmail-secondary-file-directory)
15551 (rmail-secondary-file-regexp):
15552 * files.el (null-device, file-name-invalid-regexp)
15553 (locate-dominating-stop-dir-regexp)
15554 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15555 (interpreter-mode-alist): Use mapcar instead of mapc.
15557 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15559 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15560 (completion-ignored-extensions):
15561 (debug-ignored-errors): Purecopy strings.
15563 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15565 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15566 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15567 (pcomplete--here): Use push.
15569 * subr.el (all-completions): Declare the 4th arg obsolete.
15571 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15573 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15574 (pcomplete-unquote-argument): New function.
15575 (pcomplete--common-suffix): Always pay attention to case.
15576 (pcomplete--table-subvert): Quote and unquote the text.
15577 (pcomplete--common-quoted-suffix): New function.
15578 (pcomplete-std-complete): Use it and pcomplete-begin.
15580 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15581 we're inside a dedicated or minibuffer window.
15583 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15585 * bookmark.el: Update documentation, especially documentation
15586 of `bookmark-alist' and of the bookmark file format.
15587 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15589 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15591 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15592 keybindings apply to the mail buffer (Bug#4003). Shrink help
15595 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15596 (global-whitespace-mode, global-whitespace-newline-mode)
15597 (whitespace-toggle-options, global-whitespace-toggle-options):
15598 Doc fix (Bug#3660).
15600 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15601 of xmltok-start before the end tag was inserted (Bug#2840).
15603 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15604 patterns that are preceded by an open-paren (Bug#1320).
15606 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15608 * files.el (delete-directory): Delete symlinks to directories with
15609 delete-file (Bug#4739).
15611 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15613 * vc.el (vc-backend-for-registration): Rename from
15614 vc-get-backend-for-registration. Update callers.
15616 * international/mule-cmds.el (set-language-info-alist):
15618 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15619 (charset): Purecopy the name.
15620 (define-char-code-property): Purecopy string arguments.
15622 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15623 Purecopy string arguments.
15625 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15626 * ediff-hook.el (menu-bar-ediff-menu):
15627 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15628 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15630 2009-10-24 Glenn Morris <rgm@gnu.org>
15632 * comint.el (comint-dynamic-list-completions):
15633 * term.el (term-dynamic-list-completions): Use choose-completion rather
15634 than obsolete alias mouse-choose-completion.
15636 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15637 file-cache-choose-completion.
15638 (file-cache-choose-completion): Handle an optional event argument.
15639 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15641 * progmodes/octave-mod.el (octave-complete-symbol):
15642 Use choose-completion if mouse-choose-completion is ever removed.
15644 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15647 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15650 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15652 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15654 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15655 Ignore `pred' now that we receive one.
15656 Handle test-completion specially.
15658 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15660 * vc.el (vc-responsible-backend): Throw an error if not backend is
15661 found. Remove the REGISTER argument. Move the code dealing with
15663 (vc-get-backend-for-registration): ... here. New function.
15664 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15665 of vc-responsible-backend, pass the file name instead of the
15668 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15670 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15672 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15673 (pcomplete-comint-setup): Don't modify a global var via
15674 accidental side-effects.
15675 (pcomplete-shell-setup): Adjust call accordingly.
15676 (pcomplete-parse-comint-arguments): Use push.
15678 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15680 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15681 Allow uncapitalized info node names (Bug#3921).
15683 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15684 to the DEBUG file (Bug#3781).
15686 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15688 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15689 dictionary entry (Bug#4579).
15691 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15693 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15694 from `rfn-eshadow-update-overlay-hook' when unloading.
15695 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15696 "rsyncc". Adjust doc string.
15697 (tramp-temp-buffer-file-name): New buffer-local defvar.
15698 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15699 Keep temporary file when indicated by method ("rsync" and
15701 (tramp-handle-write-region): Handle APPEND.
15702 (tramp-delete-temp-file-function): New defun. Added to
15703 `kill-buffer-hook'.
15705 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15707 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15709 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15711 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15712 (color-name-rgb-alist, tty-standard-colors)
15713 (tty-color-mode-alist): Change to defconst.
15715 * simple.el (mark-inactive): Purecopy message.
15717 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15718 (global-map, yank-menu):
15719 * textmodes/ispell.el (ispell-menu-map):
15720 * net/eudc.el (eudc-tools-menu):
15721 * international/mule-cmds.el (describe-language-environment-map)
15722 (setup-language-environment-map, set-coding-system-map)
15723 (mule-menu-keymap):
15724 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15725 * replace.el (occur-mode-map):
15726 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15728 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15730 * calc/calc.el (math-read-number, math-read-number-simple):
15731 Use `save-match-data'.
15733 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15735 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15736 rather than fiddling with global-map bindings, since it should only
15737 affect per-terminal settings.
15738 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15740 * minibuffer.el (completion-table-with-terminator): Allow to specify
15741 the terminator-regexp.
15743 * simple.el (switch-to-completions): Look for *Completions* in other
15746 * pcomplete.el: Allow the use of completion-tables.
15747 (pcomplete-std-complete): New command.
15748 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15749 (pcomplete--here): Use a function for `form' rather than an expression,
15750 so it can be byte-compiled.
15751 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15752 Add edebug declaration.
15753 (pcomplete-show-completions): Remove unused var `curbuf'.
15754 (pcomplete-do-complete, pcomplete-stub):
15755 Don't assume `completions' is a list of strings any more.
15757 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15759 * find-dired.el (find-name-arg): Fix typo in docstring.
15761 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15764 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15766 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15769 * comint.el (comint-read-input-ring, comint-write-input-ring)
15770 (comint-substitute-in-file-name)
15771 (comint-dynamic-complete-as-filename)
15772 (comint-dynamic-simple-complete)
15773 (comint-dynamic-list-filename-completions)
15774 (comint-dynamic-list-completions)
15775 (comint-redirect-results-list-from-process): Minor simplifications.
15777 2009-10-21 Kevin Ryde <user42@zip.com.au>
15779 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15780 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15781 the first form. And insert a blank line after ";;; Code" since
15782 that's usual style. (Bug#4612)
15784 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15786 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15788 * minibuffer.el (completion-table-with-terminator): Properly implement
15789 boundaries, in case `terminator' appears in the suffix.
15790 (completion--embedded-envvar-table): Don't return boundaries if
15791 there's no valid completion. Simplify.
15792 (completion-file-name-table): New completion table extracted from
15793 completion--file-name-table.
15794 (completion--file-name-table): Use it.
15795 (read-file-name-predicate): Declare obsolete.
15796 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15797 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15798 completion-file-name-table, and use the `pred' argument.
15799 * files.el (locate-file-completion-table): Use the `pred' arg rather
15800 than read-file-name-predicate.
15801 (abbreviate-file-name): Use \` rather than ^ for BOS.
15803 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15805 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15806 vc-responsible-backend to register, it causes problems.
15808 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15810 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15812 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15814 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15815 (tramp-smb-handle-file-attributes): Use it.
15816 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15817 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15818 `mapcar'. Use `tramp-smb-get-stat-capability'.
15819 Add `dired-filename' text properties.
15820 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15821 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15824 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15826 * subr.el (read-key-delay): Reduce to 0.01.
15827 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15830 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15834 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15835 (Info-menu): Remove unused vars `last' and `completions'.
15836 (Info-index-nodes): Remove unused var `node'.
15838 * info.el (Info-complete-menu-item): Use complete-with-action.
15840 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15842 Make vc-annotate work through copies and renames.
15843 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15844 Return the file name too.
15845 (vc-annotate-revision-at-line)
15846 (vc-annotate-find-revision-at-line)
15847 (vc-annotate-revision-previous-to-line)
15848 (vc-annotate-show-log-revision-at-line): Update to get the file
15849 name from vc-annotate-extract-revision-at-line.
15850 (vc-annotate-show-diff-revision-at-line-internal): Change the
15851 argument to mean whether to show a file diff or not. Get the file
15852 name from vc-annotate-extract-revision-at-line.
15853 (vc-annotate-show-diff-revision-at-line):
15854 Update vc-annotate-show-diff-revision-at-line call.
15855 (vc-annotate-warp-revision): Add an optional file argument.
15857 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15858 (vc-git-annotate-extract-revision-at-line): Also return the file
15861 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15862 command. Remove unused code.
15863 (vc-hg-annotate-re): Update to match --follow output.
15864 (vc-hg-annotate-extract-revision-at-line): Also return the file
15867 * vc.el: Update annotate-extract-revision-at-line documentation.
15869 2009-10-18 Kevin Ryde <user42@zip.com.au>
15871 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15872 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15874 * net/browse-url.el (browse-url): Identify alist with "consp and
15875 not functionp" and let all other things go down the `apply' leg,
15876 as suggested by Stefan. (Further to bug#4531.)
15878 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15880 * minibuffer.el (read-file-name): Check for repeat before putting
15881 a default argument in file-name-history (Bug#4657).
15883 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15884 read syntax (Bug#4737).
15886 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15888 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15890 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15891 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15892 entries and make note of obsolete tags.
15894 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15896 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15898 2009-10-18 Glenn Morris <rgm@gnu.org>
15900 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15901 grep, so that binary files (eg international/uni-bidi.el) can match.
15902 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15903 now, and in any case the file header format has changed.
15905 2009-10-17 Glenn Morris <rgm@gnu.org>
15907 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15908 (flyspell-get-word, flyspell-large-region)
15909 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15911 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15913 * Makefile.in (ELCFILES): Add ede/shell.
15915 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15917 * term/common-win.el (x-colors): Purecopy it.
15919 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15922 permissive for when the buffer is empty.
15923 (tar-header-block-tokenize): Decode the username and groupname.
15924 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15926 2009-10-17 Eric Ludlam <zappo@gnu.org>
15928 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15929 contains multibyte characters, choose first applicable coding
15930 system automatically.
15932 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * international/mule-cmds.el (select-safe-coding-system): If the file
15935 has a coding cookie, use it regardless of any other setting (bug#4712).
15937 2009-10-17 Glenn Morris <rgm@gnu.org>
15939 * foldout.el (foldout-mouse-swallow-events):
15940 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15942 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15943 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15944 (dired-keep-marker-symlink, dired-dwim-target)
15945 (dired-copy-preserve-time): Do not autoload these defcustoms.
15947 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15948 messages from messing up the file coding. (Bug#4623)
15950 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15952 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15953 if no match is found for the current dictionary. (Bug#4578)
15955 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15956 optional, since that is how it is documented, and this is often called
15957 with a nil argument. (Bug#4577)
15958 (flyspell-external-point-words, flyspell-auto-correct-word)
15959 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15960 (flyspell-word-search-backward): Remove nil argument in calls to
15961 flyspell-get-word, since it is not needed now.
15963 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15965 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15967 2009-10-16 Glenn Morris <rgm@gnu.org>
15969 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15971 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15973 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15974 (ange-ftp-file-size): New function.
15975 (ange-ftp-file-attributes): Use it.
15977 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15979 * net/tramp-smb.el (tramp-smb-version): New defvar.
15980 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15983 2009-10-16 Glenn Morris <rgm@gnu.org>
15985 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15986 Maybe copy some custom properties from old to new name. (Bug#4706)
15988 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15990 * subr.el (error, sit-for, start-process-shell-command)
15991 (start-file-process-shell-command): Set the calling convention
15992 after the function definition.
15994 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * subr.el (error, sit-for, start-process-shell-command)
15997 (start-file-process-shell-command): Use the new
15998 set-advertised-calling-convention feature.
16000 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16002 * international/ucs-normalize.el (ucs-normalize-version):
16004 (check-range): Adjust for Unicode 5.2.
16006 2009-10-15 Juri Linkov <juri@jurta.org>
16008 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16009 to the `menu-item' format.
16011 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16013 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16014 if the environment variable does not exist.
16016 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16017 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16019 (tramp-smb-handle-add-name-to-file)
16020 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16021 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16022 (tramp-smb-handle-file-attributes)
16023 (tramp-smb-do-file-attributes-with-stat)
16024 (tramp-smb-handle-file-local-copy)
16025 (tramp-smb-handle-insert-directory)
16026 (tramp-smb-handle-make-directory)
16027 (tramp-smb-handle-make-directory-internal)
16028 (tramp-smb-handle-make-symbolic-link)
16029 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16030 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16031 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16032 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16033 Handle long file names.
16034 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16035 process is running.
16036 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16037 Read share names with "-g" option.
16039 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16041 * net/rcirc.el (rcirc-view-log-file): New command.
16042 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16043 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16046 2009-10-15 Glenn Morris <rgm@gnu.org>
16048 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16049 from the second command-line argument.
16050 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16051 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16052 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16053 w32-batch-update-autoloads.
16054 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16055 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16057 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16058 the headers cannot be located. Simplify, subtracting superflous
16061 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16063 Replace completion-base-size by completion-base-position to fix bugs
16064 such as (bug#4699).
16065 * simple.el (completion-base-position): New var.
16066 (completion-base-size): Mark as obsolete.
16067 (choose-completion): Make it work for mouse events as well.
16068 Pass the new base-position to choose-completion-string.
16069 (choose-completion-guess-base-position): New function, extracted from
16070 choose-completion-delete-max-match.
16071 (choose-completion-delete-max-match): Use it. Make obsolete.
16072 (choose-completion-string): Use the new base-position info.
16073 (completion-root-regexp): Delete.
16074 (completion-setup-function): Preserve completion-base-position.
16075 Eliminate obsolete base-size manipulation.
16076 * minibuffer.el (display-completion-list): Don't mess with base-size.
16077 (minibuffer-completion-help): Set completion-base-position instead.
16078 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16080 * textmodes/bibtex.el (bibtex-complete):
16081 * emacs-lisp/crm.el (crm--choose-completion-string):
16082 Adjust to new calling convention.
16083 * complete.el (partial-completion-mode): Use minibufferp to avoid
16084 bumping into incompatible change to choose-completion-string-functions.
16085 * ido.el (ido-choose-completion-string): Make its calling convention
16087 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16088 base-size manipulation.
16089 (comint-dynamic-list-input-ring): Use dotimes and push.
16090 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16091 fundamental-mode. Use `or'.
16093 2009-10-14 Juri Linkov <juri@jurta.org>
16095 * misearch.el (multi-isearch-next-buffer-from-list)
16096 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16098 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16100 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16103 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16104 string we return is all made up of text from the completions rather
16105 than part from the completions and part from the input (bug#4219).
16107 * ido.el (ido-everywhere): Use define-minor-mode.
16109 * buff-menu.el (list-buffers, ctl-x-map):
16110 Mark the entry points with ;;;###autoload cookies.
16112 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16114 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16115 correctly in the detached head case.
16116 (vc-git-print-log): Remove unused binding.
16118 * vc.el (vc-responsible-backend): When a directory is passed for
16119 for registration create a VC repository if no backend is
16120 responsible for the directory argument.
16121 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16123 * vc.el: Move comments about RCS and SCCS ...
16125 * vc-sccs.el: ... here, respectively.
16127 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16129 * minibuffer.el (completion--file-name-table): Return nil if there's
16130 no file completion, even if substitute-in-file-name changed
16131 the string (bug#4708).
16133 2009-10-13 Juri Linkov <juri@jurta.org>
16135 * files-x.el (read-file-local-variable-value): Don't filter out
16136 minor modes from mode name completion (bug#4664).
16138 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16140 * international/mule-cmds.el (ucs-names): Remove exclusion of
16141 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16143 2009-10-13 Kenichi Handa <handa@m17n.org>
16145 * international/uni-name.el: Regenerated.
16147 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16149 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16150 should be automatically buffer-local, but isn't.)
16152 2009-10-12 Sam Steingold <sds@gnu.org>
16154 * progmodes/compile.el (compilation-next-error-function): Fix the
16155 timestamps if the buffer has been visited before.
16156 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16157 non-anchored patterns, like the perl one (bug#3928).
16159 2009-10-12 Glenn Morris <rgm@gnu.org>
16161 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16164 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16166 * proced.el (proced-unload-function): New function.
16168 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16169 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16172 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16174 2009-10-11 Juri Linkov <juri@jurta.org>
16176 * files-x.el (read-file-local-variable-value):
16177 Provide default value only for bound variables (bug#4664).
16179 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16181 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16182 connection methods like smb.
16184 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16187 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16188 (tramp-smb-file-name-handler-alist): Add handlers for
16189 `add-name-to-file', `make-symbolic-link'.
16190 (tramp-smb-handle-add-name-to-file)
16191 (tramp-smb-do-file-attributes-with-stat)
16192 (tramp-smb-handle-make-symbolic-link)
16193 (tramp-smb-get-cifs-capabilities): New defuns.
16194 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16195 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16196 (tramp-smb-handle-file-local-copy)
16197 (tramp-smb-handle-make-directory-internal)
16198 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16199 The file name syntax depends on cifs capabilities.
16200 (tramp-smb-handle-file-attributes):
16201 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16202 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16203 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16205 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16207 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16208 (eieio-defclass): Apply deftype handler and setf-method properties
16210 (eieio-add-new-slot): Avoid union function from cl library.
16211 (eieio--typep): New function.
16212 (eieio-perform-slot-validation): Use it.
16214 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16216 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16217 Update documentation to refer to the variables documented in r1.135.
16220 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16222 * bookmark.el (Info-suffix-list): Remove this unused variable.
16223 (bookmark-current-point): Remove this obsolete variable.
16224 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16225 Adjust for removal of bookmark-current-point.
16227 (bookmarks-already-loaded, bookmark-current-buffer)
16228 (bookmark-yank-point): Document. (Bug#4188)
16230 2009-10-10 Glenn Morris <rgm@gnu.org>
16232 * frame.el (frame-height): Doc fix.
16234 * calendar/calendar.el (calendar-split-width-threshold): New option.
16235 (calendar-basic-setup): Use calendar-split-width-threshold.
16237 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16239 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16240 Ideographic Supplement" range (U+1F200..U+1F2FF).
16242 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16244 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16245 since the list will have been rebuilt anyway. (Bug#4349)
16247 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16249 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16250 (bookmark-bmenu-execute-deletions): Don't save here, as
16251 bookmark-delete will now do so if necessary.
16252 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16255 2009-10-09 Glenn Morris <rgm@gnu.org>
16257 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16259 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16261 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16262 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16263 argument now, so the two function's behaviors will match. (Bug#3645)
16265 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16267 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16268 (tramp-file-name-real-host, tramp-file-name-port):
16269 Apply `save-match-data'.
16271 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16272 case both directories are remote.
16273 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16274 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16276 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16278 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16280 2009-10-07 Glenn Morris <rgm@gnu.org>
16282 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16285 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16287 * files-x.el (read-file-local-variable): Include some
16288 non-user-variables in the completion table (bug#4664).
16290 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16292 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16295 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16296 (tramp-smb-file-name-handler-alist): Add handler for
16297 `copy-directory', `expand-file-name', `set-file-modes'.
16298 (tramp-smb-handle-copy-directory)
16299 (tramp-smb-handle-expand-file-name)
16300 (tramp-smb-handle-set-file-modes): New defuns.
16301 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16302 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16304 (tramp-smb-handle-insert-directory): Don't flush the cache.
16305 (tramp-smb-maybe-open-connection): Check for samba client and
16308 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16310 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16311 to not error out of search for "^lisp=" fails.
16313 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16315 * makefile.w32-in (WINS_UPDATES): New macro.
16316 (custom-deps, finder-data, autoloads): Use it.
16318 2009-10-07 Glenn Morris <rgm@gnu.org>
16320 * Makefile.in (autoloads): Revert previous change.
16321 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16322 the list of preloaded files passed on the command-line, get
16323 it from src/Makefile.
16325 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16326 show the original buffer rather than a random one.
16328 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16330 * help.el (describe-no-warranty): Place point in a slightly better
16331 position in the GPLv3 text.
16333 2009-10-06 Sam Steingold <sds@gnu.org>
16335 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16336 the comm attribute is present before calling regexp-quote.
16338 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16340 * play/animate.el (animate-string): For good effect, make sure
16341 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16343 * play/animate.el (animate-sequence, animate-birthday-present):
16344 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16346 2009-10-06 Glenn Morris <rgm@gnu.org>
16348 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16350 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16351 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16352 (batch-update-autoloads): Process a string value of autoload-excludes,
16353 set during the build process.
16354 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16356 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16357 inside with-parsed... macro so that `v' is defined.
16359 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16360 * progmodes/fortran.el (fortran-end-of-block)
16361 (fortran-beginning-of-block):
16362 Also push mark in the macro case.
16364 * emerge.el (emerge-show-file-name):
16365 * calc/calc.el (calc-quit):
16366 * calc/calc-misc.el (calc-big-or-small):
16367 * calc/calc-graph.el (calc-graph-view):
16368 * calc/calc-ext.el (calc-reset):
16369 * calendar/calendar.el (calendar-basic-setup):
16370 Use window-full-height-p.
16372 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16373 header we don't understand, don't insert another. (Bug#4624)
16374 If changing mime charset, insert the new one in the right place.
16376 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16378 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16379 (cal-tex-cursor-month): Correctly increment the end date for diary and
16380 holiday listing. (Bug#4626)
16382 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16384 * help-fns.el (describe-function-1): Don't burp if the function is not
16387 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16389 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16390 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16391 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16392 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16394 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16395 (eieio-default-superclass): Reflow docstrings.
16396 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16397 (eieio-unbind-method-implementations, defmethod)
16398 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16399 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16400 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16401 (eieio-slot-originating-class-p, eieio-slot-name-index)
16402 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16403 (constructor, initialize-instance, no-next-method, object-print)
16404 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16405 Fix typos in docstrings.
16406 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16407 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16408 (next-method-p): Doc fixes.
16409 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16410 Fix typos in error messages.
16411 (eieio-defmethod): Fix typo in description of generic method.
16413 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16414 (eieio-persistent-save-interactive, slot-missing):
16415 Fix typos in docstrings.
16416 (eieio-instance-inheritor-slot-boundp): Doc fix.
16418 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16419 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16421 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16422 (eieio-custom-object-apply-reset):
16423 Fix typos in docstrings and error messages.
16425 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16426 Fix typo in docstring.
16428 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16429 (eieio-browse-tree): Doc fix.
16430 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16431 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16432 Fix typos in docstrings.
16434 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16435 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16436 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16437 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16440 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16442 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16443 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16444 Set log-view-vc-backend so that diff can work.
16446 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16448 (vc-diff-internal): Autoload this instead of vc-version-diff.
16450 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16452 * simple.el (eval-expression): Doc fix.
16454 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16456 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16458 * files.el (directory-files-no-dot-files-regexp): New defconst.
16459 (delete-directory): Use it.
16460 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16462 * net/tramp.el (tramp-verbose): Fix docstring.
16463 (tramp-methods): Add recursive option to `tramp-copy-args'.
16464 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16465 "scp1_old", "scp2_old", "rsync", "rsyncc".
16466 (tramp-default-method): Check also for `auth-source-user-or-password'.
16467 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16468 Add handler for `copy-directory'.
16469 (tramp-handle-copy-directory): New defun.
16470 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16471 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16472 Optimize sent command.
16474 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16476 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16477 window if necessary.
16479 * calendar/calendar.el (calendar-basic-setup): Don't call
16480 switch-to-buffer in a dedicated window.
16482 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16484 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16485 don't do anything related to relocating, just return nil.
16486 (bookmark-error-no-filename): New error.
16487 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16488 bookmark has no file. Don't even attempt to handle things that
16489 are not files; the whole point of custom handlers is to keep that
16490 knowledge elsewhere anyway. Tighten some comments.
16491 (bookmark-file-or-variation-thereof): Remove now-unused function.
16492 (bookmark-location): Doc string fix.
16495 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16497 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16498 don't use a file dialog, because they usually don't know how to read
16499 a directory target from the user. (Bug#4230)
16500 Also, make sure the prompt can display directories as well as files.
16502 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16504 * bookmark.el (bookmark-set, bookmark-buffer-name):
16505 Improve doc strings. (Bug#1193)
16507 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16509 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16510 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16511 (bookmark-get-annotation, bookmark-set-annotation)
16512 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16513 (bookmark-set-position, bookmark-get-front-context-string)
16514 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16515 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16516 (bookmark-jump-other-window, bookmark-handle-bookmark)
16517 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16518 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16519 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16520 Improve doc strings to say whether bookmark can be a string or
16521 a record or both, and make other consistency and clarity fixes.
16522 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16523 (bookmark-default-annotation-text, bookmark-yank-word)
16524 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16525 (bookmark-import-new-list, bookmark-maybe-rename)
16526 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16527 (bookmark-bmenu-bookmark): Give these doc strings.
16528 (bookmark-bmenu-check-position): Give this a doc string, but also
16529 add a FIXME comment about how the function may be pointless.
16530 (bookmark-default-handler): Rework doc string and change a
16531 parameter name, to clarify that this takes a bookmark record
16532 not a bookmark name.
16533 (bookmark-set): Change a parameter name to indicate its meaning,
16534 and improve the doc string a bit.
16537 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16539 * bookmark.el (bookmark-alist): Document the new `handler' element
16540 in the param alist.
16541 (bookmark-make-record-function): Adjust documentation for above.
16544 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16546 * info.el (Info-bookmark-make-record): Document this function.
16547 (Info-bookmark-jump): Document with a doc string, not just a comment.
16550 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16552 * files.el (copy-directory): New defun.
16554 * dired-aux.el (dired-copy-file-recursive): Use it.
16556 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16558 * files-x.el (modify-dir-local-variable)
16559 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16562 * recentf.el (recentf-unload-function): New function.
16564 2009-10-04 Glenn Morris <rgm@gnu.org>
16566 * window.el (window-full-height-p): Add doc string.
16568 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16570 * window.el (window-full-height-p): New function. (Bug#4543)
16572 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16574 * vc.el: Remove commented out code.
16575 (vc-derived-from-dir-mode): Remove, unused.
16576 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16578 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16580 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16581 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16582 there could be recursive loading when `default-directory' is a
16583 remote file name. (Bug#4614)
16585 2009-10-03 Glenn Morris <rgm@gnu.org>
16587 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16589 (calendar-generate-window): Test for shrinkability rather than width.
16591 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16592 reusing existing buffers, in case we happen to visit two files with the
16593 same basename. (Bug#4593)
16595 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16597 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16598 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16599 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16600 subdirs of cedet as well.
16601 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16603 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16605 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16606 Obey advertised-signature-table.
16608 * help-fns.el (help-function-arglist): Don't check
16609 advertised-signature-table.
16610 (describe-function-1): Do it here instead so it also applies to subrs.
16612 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16614 * simple.el (start-file-process): Say in the doc-string, that file
16615 handlers might not support pty association, if PROGRAM is nil.
16617 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16618 HOST and USER are strings. They are nil, when there are
16619 incomplete entries in ~/.netrc, for example.
16620 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16621 root directory ("device busy" error otherwise).
16623 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16624 Flush file properties of created directory.
16626 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16628 * makefile.w32-in (WINS_BASIC): Remove cedet.
16629 (WINS_CEDET): Add cedet.
16630 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16632 2009-10-02 Kevin Ryde <user42@zip.com.au>
16634 * net/browse-url.el (browse-url): Pass any symbol in
16635 browse-url-browser-function to `apply', since if you've mistakenly put
16636 an unbound symbol then the error is clearer. (Bug#4531)
16638 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16640 * allout.el (allout-init, allout-back-to-current-heading)
16641 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16642 (allout-ascend, allout-up-current-level, allout-end-of-level)
16643 (allout-previous-visible-heading, allout-forward-current-level)
16644 (allout-backward-current-level, allout-show-children):
16645 * apropos.el (apropos-describe-plist):
16646 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16647 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16648 * completion.el (add-completion, add-permanent-completion):
16649 * descr-text.el (describe-text-category, describe-char):
16650 * desktop.el (desktop-lazy-abort):
16651 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16652 * dired.el (dired-build-subdir-alist):
16653 * ediff.el (ediff-version):
16654 * elide-head.el (elide-head, elide-head-show):
16655 * emerge.el (emerge-version):
16657 * face-remap.el (variable-pitch-mode):
16658 * faces.el (describe-face):
16659 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16661 * files.el (find-file-existing, auto-save-mode):
16662 * font-lock.el (font-lock-fontify-buffer):
16663 * help-fns.el (describe-function, describe-variable)
16664 (describe-syntax, describe-categories):
16665 * help.el (view-lossage, describe-bindings, describe-key)
16667 * hexl.el (hexl-current-address):
16668 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16669 * info.el (Info-goto-emacs-key-command-node):
16670 * log-edit.el (log-edit-insert-cvs-template)
16671 (log-edit-insert-cvs-rcstemplate):
16672 * menu-bar.el (menu-bar-mode):
16673 * mouse.el (mouse-appearance-menu):
16674 * newcomment.el (comment-indent-new-line):
16675 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16676 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16677 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16678 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16679 * recentf.el (recentf-mode):
16680 * savehist.el (savehist-mode, savehist-save):
16681 * shadowfile.el (shadow-copy-files):
16682 * simple.el (kill-ring-save, next-line, previous-line)
16683 (normal-erase-is-backspace-mode):
16684 * strokes.el (strokes-update-window-configuration)
16685 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16686 (strokes-xpm-for-stroke):
16687 * time.el (emacs-uptime, emacs-init-time):
16688 * tutorial.el (tutorial--describe-nonstandard-key)
16689 (tutorial--detailed-help):
16690 * type-break.el (type-break-mode)
16691 (type-break-mode-line-message-mode, type-break-query-mode)
16692 (type-break-guesstimate-keystroke-threshold):
16693 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16694 * version.el (emacs-version):
16695 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16696 * winner.el (winner-mode):
16697 * calendar/timeclock.el (timeclock-in, timeclock-out)
16698 (timeclock-status-string, timeclock-change)
16699 (timeclock-workday-remaining-string)
16700 (timeclock-workday-elapsed-string)
16701 (timeclock-when-to-leave-string):
16702 * calendar/todo-mode.el (todo-add-category):
16703 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16704 * emacs-lisp/autoload.el (update-file-autoloads):
16705 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16706 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16707 (checkdoc-message-text, checkdoc-defun):
16708 * emacs-lisp/debug.el (debugger-list-functions):
16709 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16710 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16711 (eieio-describe-generic):
16712 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16713 * emacs-lisp/shadow.el (list-load-path-shadows):
16714 * emulation/cua-base.el (cua-mode):
16715 * emulation/edt.el (edt-set-scroll-margins):
16716 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16717 (tpu-toggle-regexp, tpu-toggle-search-direction)
16718 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16719 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16720 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16721 (viper-set-parsing-style-toggling-macro)
16722 (viper-set-emacs-state-searchstyle-macros):
16723 * emulation/viper.el (viper-set-hooks):
16724 * eshell/esh-mode.el (eshell-truncate-buffer):
16725 * international/mule-cmds.el (prefer-coding-system)
16726 (describe-input-method, describe-language-environment):
16727 * international/mule-diag.el (list-character-sets)
16728 (describe-character-set, describe-coding-system)
16729 (describe-fontset, list-fontsets, list-input-methods):
16730 * mail/sendmail.el (mail-signature):
16731 * net/ange-ftp.el (ange-ftp-copy-file):
16732 * net/browse-url.el (browse-url):
16733 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16734 * net/quickurl.el (quickurl-add-url):
16735 * net/rcirc.el (names, topic):
16736 * net/xesam.el (xesam-mode):
16737 * play/5x5.el (5x5-new-game):
16738 * play/yow.el (apropos-zippy):
16739 * progmodes/ada-mode.el (ada-mode-version):
16740 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16742 (f90-beginning-of-block):
16743 * progmodes/fortran.el (fortran-end-of-block)
16744 (fortran-beginning-of-block):
16745 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16746 * progmodes/python.el (python-describe-symbol, python-shell):
16747 * term/ns-win.el (ns-print-buffer):
16748 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16749 * textmodes/flyspell.el (flyspell-mode-on):
16750 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16751 (pages-directory-for-addresses):
16752 * textmodes/table.el (table-recognize-cell)
16753 (table-query-dimension, table-generate-source)
16754 (table-insert-sequence, table--warn-incompatibility):
16755 * textmodes/tex-mode.el (tex-validate-buffer):
16756 * textmodes/texinfmt.el (texinfmt-version)
16757 (texinfo-format-buffer):
16758 Use `called-interactively-p' instead of `interactive-p'.
16760 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16762 * image-mode.el (image-toggle-display):
16763 * emacs-lisp/elp.el (elp-instrument-function):
16764 * emacs-lisp/advice.el (ad-make-advised-definition):
16765 * emacs-lisp/easy-mmode.el (define-minor-mode):
16766 * net/browse-url.el (browse-url-maybe-new-window):
16767 * progmodes/sh-script.el (sh-learn-buffer-indent):
16768 Pass new argument 'any to `called-interactively-p'.
16770 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16772 * international/uni-bidi.el:
16773 * international/uni-category.el:
16774 * international/uni-combining.el:
16775 * international/uni-comment.el:
16776 * international/uni-decimal.el:
16777 * international/uni-decomposition.el:
16778 * international/uni-digit.el:
16779 * international/uni-lowercase.el:
16780 * international/uni-mirrored.el:
16781 * international/uni-name.el:
16782 * international/uni-numeric.el:
16783 * international/uni-old-name.el:
16784 * international/uni-titlecase.el:
16785 * international/uni-uppercase.el:
16786 Regenerate from Unicode 5.2.0 data.
16788 2009-10-01 Glenn Morris <rgm@gnu.org>
16790 * Makefile.in (ELCFILES): Regenerate.
16792 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16794 * subr.el (interactive-p): Mark obsolete.
16795 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16796 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16797 advertised-signature-table for subroutines as well.
16799 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16800 (set-advertised-calling-convention): New function.
16801 (make-obsolete, define-obsolete-function-alias)
16802 (make-obsolete-variable, define-obsolete-variable-alias):
16803 Make the optional-ness of `when' obsolete.
16804 (define-obsolete-face-alias): Make `when' non-optional.
16805 * help-fns.el (help-function-arglist):
16806 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16807 Use advertised-signature-table.
16809 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16811 * files.el (delete-directory): New defun. The original function
16812 in fileio.c has been renamed to `delete-directory-internal'.
16814 * dired.el (dired-delete-file): Call `delete-directory' with
16815 RECURSIVE parameter.
16817 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16818 parameter RECURSIVE. Implementation is missing.
16820 * net/tramp.el (tramp-handle-make-directory): Flush upper
16821 directory's file properties.
16822 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16823 (tramp-handle-dired-recursive-delete-directory): Flush directory
16824 properties after the remove command only.
16826 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16827 Handle optional parameter RECURSIVE.
16829 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16830 Handle optional parameter RECURSIVE.
16832 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16833 connection timeout.
16834 (tramp-smb-handle-delete-directory): Handle optional parameter
16837 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16840 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16841 (byte-compile-defmacro): Use backquotes.
16843 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16845 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16846 has no associated file.
16847 (vc-resynch-buffer): Use vc-dir-buffers.
16849 2009-10-01 Glenn Morris <rgm@gnu.org>
16851 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16852 (chart-file-count):
16853 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16854 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16855 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16856 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16857 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16858 (eieio-copy-parents-into-subclass, make-instance, class-children)
16859 (eieio-generic-form):
16861 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16862 match-data. (Bug#4555).
16864 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16865 rather than parsing it as a regexp. This relaxes the layout
16866 requirements and makes errors easier to detect.
16867 (check-declare-verify): Check file is regular.
16868 (check-declare-directory): Doc fix.
16869 * subr.el (declare-function): Doc fix.
16871 * ibuffer.el (ibuffer-format-qualifier):
16872 * isearch.el (hi-lock-regexp-okay):
16873 * calc/calc.el (math-zerop):
16874 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16875 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16876 Remove unused declarations.
16878 2009-09-30 Eric Ludlam <zappo@gnu.org>
16880 * emacs-lisp/eieio.el (boolean-p): Delete.
16882 2009-09-30 Glenn Morris <rgm@gnu.org>
16884 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16886 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16887 filename is not a string.
16889 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16891 * files.el (safe-local-eval-forms): Fix typo.
16893 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16895 * vc-hooks.el (vc-dir-buffers): New var.
16896 (vc-state-refresh): New function.
16897 (vc-state): Use it.
16898 (vc-after-save): Always ask the backend to recompute the new state.
16899 Always call vc-dir if necessary, using vc-dir-buffers.
16900 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16901 Use vc-dir-buffers.
16902 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16903 (vc-dir-prepare-status-buffer, vc-dir-update)
16904 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16905 Don't call expand-file-name on default-directory.
16907 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16909 * speedbar.el (speedbar-item-delete):
16910 * calc/calc-prog.el (calc-kbd-if):
16911 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16913 * epa.el (epa-key-list-mode-map):
16914 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16916 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16917 (hs-show-hook): Fix typo in docstring.
16919 2009-09-29 Glenn Morris <rgm@gnu.org>
16921 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16922 file-name-nondirectory call preventing location of cedet files.
16923 (check-declare-verify): Use literal search rather than re-search.
16924 Add basic defmethod and defclass, and define-overloadable-function.
16926 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16927 Use tramp-compat-file-attributes rather than nonexistent
16928 tramp-compat-handle-file-attributes.
16930 * Makefile.in (lisptagsfiles4): New.
16931 (AUTOGENEL): Add cedet loaddefs files.
16932 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16933 (update-elclist, compile-always, backup-compiled-files)
16934 (bootstrap-clean): Add yet another directory level.
16935 (update-elclist): Use LC_COLLATE rather than COLLATE.
16936 (ELCFILES): Update, via `make update-elclist'.
16938 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16940 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16941 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16942 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16944 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16946 * Makefile.in (lisptagsfiles3): Define.
16947 (TAGS, TAGS-LISP): Use it.
16948 (update-elclist): Add third directory level to look for elc files.
16949 (compile-always): Likewise.
16950 (backup-compiled-files): Likewise.
16951 (bootstrap-clean): Likewise.
16952 (ELCFILES): Update.
16954 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16956 * Makefile.in (ELCFILES): Add CEDET files.
16958 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16960 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16962 * net/tramp.el (top): Require tramp-imap.
16964 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16965 Use `tramp-compat-handle-file-attributes'.
16967 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16969 * net/tramp-imap.el: New package.
16971 2009-09-28 Eric Ludlam <zappo@gnu.org>
16973 * emacs-lisp/chart.el:
16974 * emacs-lisp/eieio-base.el:
16975 * emacs-lisp/eieio-comp.el:
16976 * emacs-lisp/eieio-custom.el:
16977 * emacs-lisp/eieio-datadebug.el:
16978 * emacs-lisp/eieio-opt.el:
16979 * emacs-lisp/eieio-speedbar.el:
16980 * emacs-lisp/eieio.el: New files.
16982 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16984 * whitespace.el (whitespace-trailing-regexp)
16985 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16988 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16990 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16993 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16994 menu-bar-ediff-menu.
16996 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16997 define-overloadable-function.
16999 * progmodes/autoconf.el: Provide autoconf as well, so that this
17000 file can be `require'd.
17002 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17004 * emacs-lisp/autoload.el (generated-autoload-feature)
17005 (generated-autoload-load-name): New vars.
17006 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17007 (make-autoload): Recognize define-overloadable-function and
17008 defclass forms (for EIEIO).
17010 * Makefile.in (update-subdirs): Exclude cedet directory.
17012 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17014 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17016 * faces.el: Default light-background background for region face to
17017 ns_selection_color under NS.
17019 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17021 * net/imap-hash.el: New library, see NEWS.
17023 * Makefile.in (ELCFILES): Add imap-hash.el.
17025 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17027 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17028 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17029 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17030 definition where the docstring could be taken for the return value.
17032 2009-09-26 Glenn Morris <rgm@gnu.org>
17034 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17035 Add option to only show images below a certain size.
17036 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17037 save-excursion calls.
17039 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17041 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17042 subdirectories) and eieio.
17044 2009-09-26 Alan Mackenzie <acm@muc.de>
17046 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17047 Correct buggy bracketing. (Bug#4289)
17049 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17050 character constants (as case labels). (Bug#4289)
17052 2009-09-25 Juri Linkov <juri@jurta.org>
17054 * files.el (safe-local-eval-forms): Allow time-stamp in
17055 before-save-hook (Bug#4554).
17057 2009-09-25 Drew Adams <drew.adams@oracle.com>
17059 * menu-bar.el (list-buffers-directory): Doc fix.
17061 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17063 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17064 Try and avoid copying twice the same paragraph.
17065 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17066 Remove save-excursion.
17067 (log-edit-changelog-entry): Do it here instead.
17069 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17071 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17072 when available, instead of hardcoding mode names. Doc fix.
17074 * menu-bar.el (list-buffers-directory): Add docstring.
17075 Make automatically buffer-local.
17077 * dired.el (dired-mode):
17078 * files.el (cd-absolute):
17079 * pcvs.el (cvs-temp-buffer):
17080 * pcvs-util.el (cvs-get-buffer-create):
17081 * shell.el (shell-mode):
17082 * vc-dir.el (vc-dir-mode):
17083 Don't make `list-buffers-directory' buffer local.
17085 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17087 * comint.el (comint-exec, comint-run, make-comint):
17088 Doc fixes (Bug#4542).
17090 2009-09-25 Glenn Morris <rgm@gnu.org>
17092 * mail/rmailmm.el (rmail-mime): New custom group.
17093 Move all defcustoms in this file into this group.
17094 (rmail-mime-media-type-handlers-alist): Revert previous change.
17095 (rmail-mime-show-images): New option.
17096 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17097 references to it, since it wasn't actually used for anything.
17098 (rmail-mime-insert-image): New function.
17099 (rmail-mime-image): Use rmail-mime-insert-image.
17100 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17101 obey the value of `rmail-mime-show-images' option. Print the size of
17104 2009-09-25 David Engster <deng@randomsample.de>
17106 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17108 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17110 * whitespace.el: Does not highlight trailing spaces While point is
17111 at end of line. Does not highligt spaces at beginning of buffer
17112 while point is at beginning of buffer. Does not highlight spaces
17113 at end of buffer while point is at end of buffer. (Bug#4177)
17115 (whitespace-display-mappings): Adjust initialization.
17116 (whitespace-point, whitespace-font-lock-refontify): New vars.
17117 (whitespace-color-on, whitespace-color-off): Adjust code.
17118 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17119 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17120 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17122 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17124 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17126 * textmodes/sgml-mode.el: Remove xml-mode alias.
17128 * files.el (auto-mode-alist, conf-mode-maybe)
17129 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17131 2009-09-24 Alan Mackenzie <acm@muc.de>
17133 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17134 c-forward-conditionals, but it doesn't move point and doesn't set
17136 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17137 (c-down-conditional-with-else, c-backward-conditional)
17138 (c-forward-conditional): Refactor to use c-scan-conditionals.
17140 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17142 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17143 (help-default-arg-highlight): Remove.
17144 (help-highlight-arg): New function.
17145 (help-do-arg-highlight): Use it.
17146 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17148 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17150 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17151 Undo last change, which didn't fix the problem and introduced others.
17153 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17155 * progmodes/gdb-mi.el: Don't require speedbar.
17156 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17158 2009-09-24 Glenn Morris <rgm@gnu.org>
17160 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17162 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17164 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17165 there is no newline after the final mime boundary. (Bug#4539)
17166 Move markers on insertion so that any buttons inserted don't end up in
17167 the next part of a multipart message.
17168 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17169 (rmail-mime-bulk-handler): Optionally handle images.
17170 (rmail-mime-image): New button action.
17171 (rmail-mime-image-handler): New function.
17172 (rmail-mime-mode): New mode.
17173 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17175 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17177 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17178 than just dropping elements from it (bug#4504).
17180 * term.el (term-set-scroll-region): Don't move cursor any more.
17181 (term-handle-ansi-escape): Call term-goto here instead.
17182 Suggested by Ivan Kanis <apple@kanis.eu>.
17184 * term.el: Require CL.
17185 (term-ansi-reset): New function.
17186 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17187 (term-handle-colors-array): Simplify.
17189 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17191 * allout.el (allout-overlay-interior-modification-handler)
17192 (allout-obtain-passphrase):
17193 * epa-file.el (epa-file-write-region):
17194 * ps-print.el (ps-begin-job):
17195 * vc-hooks.el (vc-toggle-read-only):
17196 * vc-rcs.el (vc-rcs-rollback):
17197 * vc-sccs.el (vc-sccs-rollback):
17198 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17199 (vc-version-diff, vc-revert, vc-rollback):
17200 * wdired.el (wdired-check-kill-buffer):
17201 * emacs-lisp/authors.el (authors):
17202 * net/socks.el (socks-open-connection):
17203 * net/zeroconf.el (zeroconf-service-add-hook):
17204 * obsolete/vc-mcvs.el (vc-mcvs-register):
17205 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17206 (gdb-select-frame):
17207 * progmodes/grep.el (lgrep, rgrep):
17208 * progmodes/idlw-help.el (idlwave-help-check-locations)
17209 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17210 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17211 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17212 (reftex-toc-rename-label): Fix typos in error messages.
17214 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17215 (dired-copy-how-to-fn): Doc fix.
17216 (dired-files-attributes, dired-read-shell-command):
17217 Fix typos in docstrings.
17219 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17220 (dired-x-find-file-other-window): Reflow docstrings.
17221 (dired-omit-marker-char, dired-read-shell-command)
17222 (dired-x-submit-report): Fix typos in docstrings.
17224 * shell.el (shell-mode-hook):
17225 * view.el (View-scroll-line-forward):
17226 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17227 Fix typos in docstrings.
17229 * net/dig.el (dig-invoke): Fix typo in docstring.
17230 (query-dig): Reflow docstring.
17232 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17233 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17234 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17235 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17236 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17237 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17238 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17239 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17240 (idlwave-completion-map, idlwave-current-indent)
17241 (idlwave-custom-ampersand-surround, idlwave-customize)
17242 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17243 (idlwave-define-abbrev, idlwave-determine-class-special)
17244 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17245 (idlwave-end-block-reg, idlwave-end-of-statement)
17246 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17247 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17248 (idlwave-explicit-class-listed, idlwave-file-header)
17249 (idlwave-fill-paragraph, idlwave-find-class-definition)
17250 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17251 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17252 (idlwave-in-quote, idlwave-indent-action-table)
17253 (idlwave-indent-expand-table, idlwave-indent-line)
17254 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17255 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17256 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17257 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17258 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17259 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17260 (idlwave-outlawed-buffers, idlwave-popup-select)
17261 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17262 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17263 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17264 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17265 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17266 (idlwave-statement-type, idlwave-struct-skip)
17267 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17268 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17269 (idlwave-what-module-find-class): Fix typos in docstrings.
17270 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17271 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17272 (idlwave-find-module, idlwave-find-structure-definition)
17273 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17274 (idlwave-list-load-path-shadows, idlwave-next-statement)
17275 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17276 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17277 (idlwave-template): Reflow docstrings.
17279 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17280 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17281 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17282 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17283 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17284 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17285 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17286 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17287 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17288 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17289 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17290 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17291 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17292 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17293 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17294 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17295 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17296 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17297 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17298 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17299 Fix typos in docstrings.
17300 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17301 (idlwave-shell-hide-output, idlwave-shell-mode)
17302 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17305 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17307 2009-09-24 Ivan Kanis <apple@kanis.eu>
17309 * term.el (term-bold-attribute): New var.
17310 (term-handle-colors-array): Use it.
17312 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17314 * progmodes/gdb-mi.el (gdb-version): New variable.
17315 (gdb-non-stop-handler): Set gdb-version.
17316 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17317 Condition "--thread" option on gdb-version.
17318 (gdb-invalidate-threads): Remove unused argument.
17320 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17322 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17323 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17325 2009-09-23 Glenn Morris <rgm@gnu.org>
17327 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17328 replying to mail without References or Message-Id. (Bug#4525)
17330 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17332 * term/ns-win.el (ns-reg-to-script): New variable.
17334 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17336 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17338 2009-09-22 Sam Steingold <sds@gnu.org>
17340 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17341 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17342 to 1 because hg returns status 1 when nothing is found.
17343 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17345 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17347 * textmodes/fill.el: Convert to utf-8 encoding.
17348 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17351 * add-log.el (change-log-fill-forward-paragraph): New function.
17352 (change-log-mode): Use it so fill-region DTRT.
17353 Set fill-indent-according-to-mode here rather than in
17354 change-log-fill-paragraph.
17355 (change-log-fill-paragraph): Remove.
17357 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17359 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17360 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17362 2009-09-22 Glenn Morris <rgm@gnu.org>
17364 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17365 the scroll-bar scroll the calendar window rather than the buffer.
17367 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17368 commands that move point (as opposed to scrolling).
17370 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17372 * emacs-lisp/elint.el (elint): New custom group.
17373 (elint-log-buffer): Make it a defcustom.
17374 (elint-scan-preloaded, elint-ignored-warnings)
17375 (elint-directory-skip-re): New options.
17376 (elint-builtin-variables): Doc fix.
17377 (elint-preloaded-env): New variable.
17378 (elint-unknown-builtin-args): Add an entry for encode-time.
17379 (elint-extra-errors): Make it a variable rather than a constant.
17380 (elint-preloaded-skip-re): New constant.
17381 (elint-directory): Skip files matching elint-directory-skip-re.
17382 (elint-features): New variable, local to linted buffers.
17383 (elint-update-env): Initialize elint-features. Possibly add
17384 elint-preloaded-env to the buffer's environment.
17385 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17387 (elint-init-form): New function, extracted from elint-init-env.
17388 Make non-list forms a warning rather than an error.
17389 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17390 easy-menu-define, put that adds an error-condition, and provide.
17391 When requiring cl, also require cl-macs. Really require cl, to handle
17392 some cl macros. Store required libraries in the list elint-features,
17393 so as not to re-load them. Treat cc-require like require.
17394 (elint-init-env): Call elint-init-form to do the work.
17395 Handle eval-and-compile and such like.
17396 (elint-add-required-env): Do not clear messages.
17397 (elint-special-forms): Add handlers for function, defalias, if, when,
17399 (elint-form): Add optional argument to ignore elint-special-forms,
17400 useful to prevent recursive calls from handlers. Doc fix.
17401 Respect elint-ignored-warnings.
17402 (elint-form): Respect elint-ignored-warnings.
17403 (elint-bound-variable, elint-bound-function): New variables.
17404 (elint-unbound-variable): Respect elint-bound-variable.
17405 (elint-get-args): Respect elint-bound-function.
17406 (elint-check-cond-form): Add some simple handling for (f)boundp and
17408 (elint-check-defalias-form): New handler.
17409 (elint-check-let-form): Make an empty let a warning rather than an
17411 (elint-check-setq-form): Make an empty setq a warning rather than an
17412 error. Respect elint-ignored-warnings.
17413 (elint-check-defvar-form): Accept null doc-strings.
17414 (elint-check-conditional-form): New handler. Does some simple-minded
17415 checking of featurep and (f)boundp tests.
17416 (elint-put-function-args): New function.
17417 (elint-initialize): Use elint-scan-doc-file rather than
17418 elint-find-builtin-variables. Use elint-put-function-args.
17419 Possibly scan preloaded-file-list.
17420 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17421 extend to handle functions as well.
17423 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17425 * linum.el (linum-delete-overlays, linum-update-window):
17426 Do not modify the right margin. (Bug#3971)
17428 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17430 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17431 Use nxml-mode instead of xml-mode.
17433 2009-09-21 Kevin Ryde <user42@zip.com.au>
17435 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17437 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17439 * net/dig.el (dig-mode): Use define-derived-mode.
17441 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17443 * vc-dispatcher.el (vc-do-command): Return the process object in
17444 the asynchronous case. Use when instead of if. Do not run
17445 vc-exec-after to display a message if not enabled. (Bug#4463)
17447 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17448 properties to the stash strings.
17449 (vc-git-stash-list): Return a list of strings.
17450 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17451 (vc-git-stash-show-at-point): New functions.
17452 (vc-git-stash-map): New keymap.
17454 * register.el (ctl-x-r-map): Define the keys here instead of
17457 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17459 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17460 list, to workaround performance problem (bug#4485).
17462 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17464 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17466 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17468 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17469 Document that this option is not recommended to use.
17471 2009-09-19 Glenn Morris <rgm@gnu.org>
17473 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17476 * calc/calc-alg.el (var):
17477 * calc/calcalg2.el (var): Define for compiler.
17479 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17481 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17482 Doc fix (Bug#3932).
17484 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17486 * time-stamp.el (time-stamp-month-dd-yyyy)
17487 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17488 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17489 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17490 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17491 Remove functions that have been obsolete since 1995 (Bug#4436).
17493 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17494 indent buffer only if called interactively (Bug#4452).
17496 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17497 Eli Zaretskii <eliz@gnu.org>
17499 This fixes bug#4197 (merged to bug#865, though not identical).
17500 * server.el (server-auth-dir): Add docstring note about FAT32.
17501 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17502 but warn against using them.
17504 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17506 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17507 older GDB where there is no has_more field.
17509 2009-09-19 Glenn Morris <rgm@gnu.org>
17511 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17513 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17515 * files.el (auto-mode-alist): Change default for XML files to nXML
17518 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17520 * server.el (server-ensure-safe-dir): Pass 'integer
17521 to `file-attributes', as suggested.
17523 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17525 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17526 (dired-query): Use read-key.
17528 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17530 * cus-start.el (ns-use-qd-smoothing): Remove.
17532 2009-09-18 Glenn Morris <rgm@gnu.org>
17534 * allout.el (top-level): Remove unnecessary progn.
17536 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17538 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17539 definition of abbrev table.
17541 * speedbar.el (speedbar-track-mouse):
17542 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17543 * net/eudc.el (eudc-expand-inline):
17544 * net/newst-backend.el (newsticker--cache-read-feed):
17545 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17546 condition-case handlers.
17548 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17550 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17551 (gdb-var-list): Add an element for has_more field.
17552 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17553 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17554 (gdb-var-update-handler-1): Parse output of dynamic variable
17555 objects (STL containers).
17556 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17557 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17559 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17561 (gud-speedbar-buttons): Make node expandable if expression "has more"
17564 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17566 * startup.el (emacs-quick-startup): Remove variable and all uses.
17567 (command-line): Set `inhibit-x-resources' instead.
17568 (command-line-1): Use `inhibit-x-resources' instead.
17570 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17572 * subr.el: Fix last change to avoid using the `unless' macro,
17573 which breaks bootstrapping.
17575 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17577 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17578 extended definitions, in case we reload subr.el after having
17580 (eval-next-after-load): Mark as obsolete.
17582 2009-09-17 Juri Linkov <juri@jurta.org>
17584 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17585 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17586 (menu-bar-showhide-menu, menu-bar-tools-menu)
17587 (menu-bar-describe-menu, menu-bar-help-menu)
17588 (minibuffer-local-completion-map, minibuffer-local-map):
17591 2009-09-17 Glenn Morris <rgm@gnu.org>
17593 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17594 arguments, whether or not it has a handler.
17596 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17598 * simple.el (hard-newline): Give it a doc-string.
17600 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17601 (lisp-mode-syntax-table): Give them doc-strings.
17603 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17605 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17606 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17607 (menu-bar-options-menu, menu-bar-showhide-menu)
17608 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17609 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17610 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17611 (menu-bar-options-menu, menu-bar-tools-menu)
17612 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17613 (menu-bar-help-menu):
17614 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17617 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17618 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17619 calls for the menu names and :help.
17621 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17623 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17624 to :minor-mode-function (bug#4455).
17626 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17628 * startup.el (command-line): Initialize the window-system after
17629 processing the command-line.
17631 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17632 page-delimiter matches the empty string.
17634 2009-09-16 Glenn Morris <rgm@gnu.org>
17636 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17637 byte-compile-not-obsolete-var. It's a list now.
17638 (byte-compile-not-obsolete-funcs): New variable.
17639 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17640 byte-compile-not-obsolete-funcs.
17641 (byte-compile-variable-ref, byte-compile-defvar): Update for
17642 byte-compile-not-obsolete-vars name-change and list nature.
17643 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17644 and variables behind (f)boundp tests.
17645 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17647 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17649 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17651 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17653 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17654 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17657 2009-09-15 Stephen Eglen <stephen@gnu.org>
17659 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17660 the virtual-buffers, use the name of the buffer specified by
17661 find-file-noselect, as the match may be a symlink. (This was a
17662 problem if the target and the symlink had different names.)
17664 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17666 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17668 * desktop.el (desktop-path): Check user-emacs-directory.
17670 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17672 * loadup.el: Use after-load-functions to GC after loading each file.
17673 Remove the explicit GC calls that used to be sprinkled around.
17675 * subr.el (after-load-functions): New hook.
17676 (do-after-load-evaluation): Run it. Use string-match-p to detect
17677 `obsolete' packages, rather than painfully extracting the relevant
17680 2009-09-15 Glenn Morris <rgm@gnu.org>
17682 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17683 free variable `doc'.
17685 * dired.el (dired-mode-map): Add menu entry for async shell command.
17687 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17688 variables, also consider the .elc files, since the .el files are
17689 normally gzipped (subsequent code locates the .el.gz from the .elc).
17691 * calc/calc-prog.el (arglist): Define for compiler.
17693 * calendar/diary-lib.el (diary-display-function): Change the default to
17695 (body): Define for compiler.
17697 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17698 (byte-compile-file-form, byte-compile-lambda)
17699 (byte-compile-top-level-body, byte-compile-form)
17700 (byte-compile-variable-ref, byte-compile-setq)
17701 (byte-compile-setq-default, byte-compile-body)
17702 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17703 (batch-byte-compile): Give some more local variables with common names
17704 a "bytecomp-" prefix to avoid masking warnings about free variables.
17706 * startup.el (command-line-1): Give local variables with common names a
17707 distinguishing prefix, so as not to hide free variable warnings during
17710 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17711 clever and add a suffix to make a unique name, just let the user decide
17712 whether or not to overwrite it. If the input is a directory, write the
17713 default filename to that directory. (Bug#4388)
17714 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17715 is a filename-as-a-directory.
17717 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17719 * textmodes/page.el (what-page): Don't move to beginning of line.
17720 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17722 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17724 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17726 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17728 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17729 * help.el (help-for-help-internal): Add purecopy calls for text.
17731 * vc.el (top): print-log method now takes an optional SHORTLOG
17732 argument. Add a new method: root.
17733 (vc-root-diff, vc-print-root-log): New functions.
17734 (vc-log-short-style): New variable.
17735 (vc-print-log-internal): Add support for showing short logs.
17737 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17738 vc-print-root-log and vc-print-root-diff.
17740 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17741 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17742 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17745 * vc-cvs.el (vc-cvs-print-log):
17746 * vc-mtn.el (vc-mtn-print-log):
17747 * vc-rcs.el (vc-rcs-print-log):
17748 * vc-sccs.el (vc-sccs-print-log):
17749 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17750 that is ignored for now.
17752 * vc-mtn.el (vc-mtn-annotate-command):
17753 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17755 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17757 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17758 to function-key-map, and give them ascii-character property.
17759 * term/x-win.el (x-alternatives-map):
17760 * term/ns-win.el (ns-alternatives-map):
17761 * term/internal.el (msdos-key-remapping-map):
17762 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17764 2009-09-14 Glenn Morris <rgm@gnu.org>
17766 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17767 temp-buffers (2009-09-12).
17769 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17771 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17772 the new read-key function.
17774 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17776 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17777 is defined (Bug#4405).
17779 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17781 * recentf.el (recentf-cleanup): Use a hash table to find
17782 duplicates (Bug#4407).
17784 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17786 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17787 kp-0 to ascii equivalents (Bug#4325).
17789 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17791 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17793 * eshell/em-hist.el:
17794 * eshell/em-dirs.el (eshell-complete-user-reference):
17795 Declare pcomplete functions and variables to avoid compiler warnings.
17797 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17799 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17800 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17801 * eshell/em-alias.el (eshell-aliases-file):
17802 * eshell/em-hist.el (eshell-history-file-name):
17803 Use expand-file-name instead of concat to make file names (Bug#4308).
17805 2009-09-13 Glenn Morris <rgm@gnu.org>
17807 * ediff-merg.el (ediff-do-merge):
17808 * filesets.el (filesets-run-cmd):
17809 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17810 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17811 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17812 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17813 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17814 Replace empty `let's with `progn'.
17816 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17818 * mail/sendmail.el (send-mail-function):
17819 * tooltip.el (tooltip-mode):
17820 * simple.el (transient-mark-mode):
17821 * rfn-eshadow.el (file-name-shadow-mode):
17822 * frame.el (blink-cursor-mode):
17823 * font-core.el (global-font-lock-mode):
17824 * files.el (temporary-file-directory)
17825 (small-temporary-file-directory, auto-save-file-name-transforms):
17826 * epa-hook.el (auto-encryption-mode):
17827 * composite.el (global-auto-composition-mode):
17828 Use custom-initialize-delay.
17829 * startup.el (command-line): Don't explicitly call
17830 custom-reevaluate-setting for all the above vars.
17831 * custom.el (custom-initialize-safe-set)
17832 (custom-initialize-safe-default): Delete.
17834 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17836 * term/x-win.el (x-initialize-window-system):
17837 * term/w32-win.el (w32-initialize-window-system):
17838 * term/ns-win.el (ns-initialize-window-system): Don't call
17839 mouse-wheel-mode since it's enabled globally by default already.
17841 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17842 actually define the variable, but only silences the byte-compiler.
17843 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17844 before looking it up.
17845 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17848 2009-09-12 Glenn Morris <rgm@gnu.org>
17850 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17852 (elint-add-required-env): Don't beep on error.
17853 (elint-forms): In case of error, return ENV unchanged.
17854 (elint-init-env): Skip non-list forms.
17855 (elint-log): Handle unknown file positions.
17857 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17859 * epg.el (epg-make-context): Add autoload cookie.
17860 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17861 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17862 (epg-verify-string, epg-start-sign, epg-sign-file)
17863 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17864 (epg-encrypt-string, epg-start-export-keys)
17865 (epg-export-keys-to-file, epg-export-keys-to-string)
17866 (epg-start-import-keys, epg-import-keys-from-file)
17867 (epg-import-keys-from-string, epg-start-receive-keys)
17868 (epg-receive-keys, epg-import-keys-from-server)
17869 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17870 (epg-sign-keys, epg-start-generate-key)
17871 (epg-generate-key-from-file, epg-generate-key-from-string):
17872 Remove autoload cookie.
17874 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17876 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17877 reevaluation of trash-directory.
17879 * mwheel.el: Fix last change.
17880 (mouse-wheel-mode): New defvar.
17881 (mouse-wheel-mode): Remove autoload cookie.
17883 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17885 * mwheel.el (mwheel-installed-bindings): New var.
17886 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17887 the bindings we set last time. Use custom-initialize-delay.
17888 * loadup.el: Load mwheel after term/*-win.el.
17889 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17890 and mouse-wheel-up-event now that their first evaluation is done
17891 sufficiently late to be correct.
17893 * startup.el (tutorial-directory): Make it a defcustom.
17894 Use custom-initialize-delay rather than eval-at-startup to set it.
17895 * image.el (image-load-path): Make it a defcustom.
17896 Use custom-initialize-delay rather than eval-at-startup to set it.
17897 * subr.el (eval-at-startup): Remove.
17898 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17900 * subr.el (do-after-load-evaluation): Warn the user after loading an
17903 2009-09-12 Glenn Morris <rgm@gnu.org>
17905 * proced.el (proced-mark-alt): Remove alias.
17906 (proced-mode-map): Remove proced-mark-alt.
17908 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17909 Elint file and directory. Remove initialization entry.
17911 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17913 (elint-current-buffer): Set mode-line-process.
17914 (elint-init-env): Handle define-derived-mode.
17915 Fix declare-function with unspecified arglist. Guard against odd
17916 defalias statements (eg iso-insert's 8859-1-map).
17917 (elint-add-required-env): Use a temp buffer.
17918 (elint-form): Just print the function/macro name, not the whole form.
17919 Return env unchanged if we fail to parse a macro.
17920 (elint-forms): Guard against parse errors.
17921 (elint-output): New function, to handle batch mode.
17922 (elint-log-message): Add optional argument. Use elint-output.
17923 (elint-set-mode-line): New function.
17925 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17927 * emacs-lisp/elp.el (elp-not-profilable): Add more
17928 functions (Bug#4233).
17930 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17932 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17933 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17935 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17937 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17938 (gdb-var-list-children): Use json parsing.
17940 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17942 * progmodes/js.el (js--proper-indentation): Handle the case where
17943 char-before is null. Reported by Deniz Dogan.
17945 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17947 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17949 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17951 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17952 (epg-digest-algorithm-alist): Add SHA224.
17953 (epg-context-set-passphrase-callback)
17954 (epg-context-set-progress-callback): Add description about
17957 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17959 * custom.el (custom-delayed-init-variables): New var.
17960 (custom-initialize-delay): New function.
17961 * startup.el (command-line): "Re"evaluate all vars in
17962 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17963 explicitly any more.
17964 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17965 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17967 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17969 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17971 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17972 (gdb-var-update-handler): Use json parsing.
17974 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17976 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17977 decode annotated text, regardless of language environment. (Bug#2741)
17979 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * Makefile.in (autoloads): Make rmail.el writable as well.
17983 2009-09-11 Glenn Morris <rgm@gnu.org>
17985 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17987 * dired.el: Regenerate with extracted autoloads.
17988 * Makefile.in (autoloads): Make dired.el writable.
17990 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17991 * ibuffer.el: Regenerate with extracted autoloads.
17992 * Makefile.in (autoloads): Make ibuffer.el writable.
17994 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17995 * version.el (emacs-copyright, emacs-major-version)
17996 (emacs-minor-version): Reformat doc-strings for make-docfile.
17998 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17999 functions and variables, since they must be stuff specific to some other
18001 (apropos-print): Make mouse-click message less specific about button.
18003 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18004 that records where a macro was defined.
18005 * help-fns.el (describe-function-1): Mention if a function has a
18007 * help-mode.el (help-function-cmacro): New button.
18009 * locate.el (top-level): Always require dired.
18010 (locate-mode-map): Initialize inside the defvar.
18012 * net/ange-ftp.el (dired-compress-file): Declare.
18013 (ange-ftp-dired-compress-file): Add doc string.
18015 * term/ns-win.el (x-display-name, x-setup-function-keys):
18016 Unify doc-strings with X versions.
18018 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18020 * emulation/crisp.el (crisp-mode-map): Move initialization
18022 (crisp-mode): Use define-minor-mode.
18024 * progmodes/xscheme.el (xscheme-evaluation-commands):
18025 Put a :advertised-binding property rather than using
18026 advertised-xscheme-send-previous-expression.
18027 (advertised-xscheme-send-previous-expression): Declare obsolete.
18028 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18030 (crisp-mode): Add corresponding bindings to
18031 undo's :advertised-binding instead.
18032 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18033 than using dired-advertised-find-file.
18034 (dired-advertised-find-file):
18035 * simple.el (advertised-undo):
18036 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18037 (widget-keymap): Put a :advertised-binding property rather
18038 than using advertised-widget-backward.
18039 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18040 than using advertised-undo.
18041 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18043 2009-09-10 Simon South <ssouth@slowcomputing.org>
18045 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18046 Mark mode is enabled and region is active; otherwise indent or
18047 insert TAB as usual.
18048 (delphi-mode): Update description of TAB-key binding.
18050 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18052 * subr.el (define-key-rebound-commands): Mark obsolete.
18053 * startup.el (precompute-menubar-bindings): Remove.
18054 (normal-top-level): Remove obsolete code that tried to precompute
18056 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18057 define-key-rebound-commands and precompute-menubar-bindings.
18059 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18061 * net/imap.el (imap-interactive-login): Better messages.
18062 (imap-open): Fix bug with renamed buffer on reconnect.
18063 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18064 for easier debugging and cleaner code. On successful (guessed based on
18065 server capabilities) secondary authentication, set imap-state
18067 (imap-last-authenticator): Define imap-last-authenticator as a variable
18070 2009-09-10 Glenn Morris <rgm@gnu.org>
18072 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18074 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18075 (byte-compile-file-form-autoload): Don't warn about unknown functions
18076 where the autoload statement comes after the use.
18077 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18078 that any handlers inside the body (eg require) are in turn respected.
18080 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18083 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18084 and syntax and abbrev tables basic docs, if they don't have any.
18086 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18088 * international/mule-cmds.el (top-level): Require cl when compiling.
18089 (view-hello-file): Use default-value rather than
18090 default-enable-multibyte-characters.
18092 * progmodes/fortran.el: Move all safe and risky properties into the
18095 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18096 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18097 * mail/undigest.el:
18098 Put autoloads in rmail.el rather than loaddefs.el.
18099 * mail/rmail.el: Regenerate with extracted autoloads.
18101 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18102 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18104 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18106 Reported in thread for Bug#4375.
18107 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18108 "-data-evaluate-expression" instead of print.
18109 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18110 (gdb-tooltip-print): Parse output from above MI command.
18111 (gdb): Revert 2009-08-11 change. User should detach inferior
18114 Remove the word "separate" from IO functions as inferior
18115 output is now never displayed in the GUD buffer.
18117 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18119 * startup.el (command-line-normalize-file-name): On Windows and
18120 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18122 2009-09-10 Juri Linkov <juri@jurta.org>
18124 * isearch.el (isearch-text-char-description): Propertize escape
18125 character sequences with the `escape-glyph' face. (Bug#4344)
18127 * simple.el (shell-command): Set asynchronous process filter to
18128 `comint-output-filter'. (Bug#4343)
18130 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18131 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18132 the list. Move "asm" to the bottom.
18133 (grep-find-ignored-directories): Add `choice' with nil value
18134 to empty the list easily.
18135 (grep-find-ignored-files): New option.
18136 (grep-files-history): Set to nil by default instead of '("ch" "el").
18137 (grep-compute-defaults): Add "<X>" to `grep-template'.
18138 (grep-read-files): Bind new local variables `default-alias' and
18139 `default-extension'. Use a list of default values for the file prompt.
18140 (lgrep): Add `--exclude=' command line options composed from
18141 `grep-find-ignored-files'.
18142 (rgrep): Add `-name' command line options composed from
18143 `grep-find-ignored-files'. (Bug#4301)
18145 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18150 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18152 * calendar/time-date.el (autoload):
18153 Expand define-obsolete-function-alias into defalias and make-obsolete
18154 for old Emacsen that Gnus supports.
18155 (with-no-warnings): Define it for old Emacsen.
18156 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18158 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18159 float-time is available; suppress compile warning for time-to-seconds.
18161 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18163 * net/imap.el (imap-message-map): Docstring fix.
18165 2009-09-09 Glenn Morris <rgm@gnu.org>
18167 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18168 line numbers too. (Bug#4374)
18170 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18172 * smerge-mode.el (smerge-remove-props, smerge-refine):
18173 Use with-silent-modifications (bug#4342).
18175 * subr.el (with-silent-modifications): New macro.
18177 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18179 * files.el (top-level): Require `cl' when compiling.
18181 2009-09-07 Glenn Morris <rgm@gnu.org>
18183 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18185 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18186 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18188 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18190 * vc-git.el (vc-git-annotate-command): Use separator to parse
18191 arguments correctly.
18193 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18195 * proced.el (proced-mode): Doc fix.
18197 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18199 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18201 (tramp-do-file-attributes-with-ls): Check for file existence at
18203 (tramp-do-file-attributes-with-stat): Likewise.
18204 (tramp-convert-file-attributes): Return nil when attr is nil.
18206 2009-09-05 Glenn Morris <rgm@gnu.org>
18208 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18209 properties to this button.
18210 (diary-fancy-display): Don't extend the button to the final newline.
18211 (diary-fancy-display-mode): Continue to define "q" as a local key.
18213 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18216 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18218 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18219 (byte-compile-dest-file-function): New option.
18220 (byte-compile-dest-file): Doc fix.
18221 Obey byte-compile-dest-file-function.
18222 (byte-compile-cl-file-p): New function.
18223 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18224 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18225 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18226 than for file being previously loaded.
18227 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18228 (byte-compile-file-form-require): Handle the case where requiring a file
18229 indirectly causes CL to be loaded.
18231 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18233 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18234 before killing the old buffer, since by the time `kill-buffer' is
18235 run so many buffer variables have been set to nil that it may not
18236 behave as expected. (Bug#4061)
18238 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18240 * files.el (find-alternate-file): If the old buffer is modified
18241 and visiting a file, behave similarly to `kill-buffer' when
18242 killing it, thus reverting to the pre-1.878 behavior; see
18243 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18244 for discussion. Also, consult `buffer-file-name' as a variable
18245 not as a function, for consistency with the rest of the code.
18247 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18249 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18250 also when adding a new directory.
18252 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18255 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18257 * files.el (locate-file-completion-table): Make it provide boundary
18258 information, so partial-completion works better.
18260 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18262 * mail/footnote.el (Footnote-text-under-cursor):
18263 Check footnote-text-marker-alist before using it (bug#4324).
18265 2009-09-04 Glenn Morris <rgm@gnu.org>
18267 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18268 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18269 * play/solitaire.el, play/tetris.el:
18270 Remove leading * from defcustom and defface docs.
18272 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18274 (diary-fancy-overriding-map): New variable.
18275 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18278 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18281 2009-09-03 Glenn Morris <rgm@gnu.org>
18283 * arc-mode.el (archive-mode):
18284 * dos-fns.el (set-default-process-coding-system):
18285 * man.el (Man-getpage-in-background):
18286 * menu-bar.el (menu-bar-describe-menu):
18287 * server.el (server-process-filter):
18288 * startup.el (command-line):
18289 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18290 * w32-fns.el (set-default-process-coding-system):
18291 * x-dnd.el (x-dnd-handle-file-name):
18292 * international/mule-cmds.el (mule-menu-keymap)
18293 (set-default-coding-systems, language-info-alist, set-language-info)
18294 (set-language-environment, standard-display-european-internal)
18295 (set-locale-environment):
18296 * international/mule-diag.el (mule-diag):
18297 * mail/emacsbug.el (report-emacs-bug):
18298 * mail/rmail.el (rmail-mode):
18299 * mail/sendmail.el (mail-setup):
18300 Use default-value rather than default-enable-multibyte-characters.
18302 * progmodes/f90.el: Move all safe properties into the defcustoms.
18303 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18305 * calendar/appt.el (appt-check):
18306 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18307 (diary-check-diary-file, diary-list-entries)
18308 (diary-include-other-diary-files, diary-simple-display)
18309 (diary-fancy-display, diary-print-entries)
18310 (diary-mark-included-diary-files, diary-make-entry):
18311 Don't call substitute-in-file-name on diary-file.
18313 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18314 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18317 (footnote-mode-map): Move initialization into the declaration.
18318 (footnote-minor-mode-map): Define it rather than changing global-map.
18319 (footnote-mode): Use define-minor-mode.
18321 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18323 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18324 (tramp-do-file-attributes-with-perl)
18325 (tramp-do-file-attributes-with-stat): Rename from
18326 `tramp-handle-file-attributes-with-*'.
18327 (tramp-handle-file-attributes): Use them.
18328 (tramp-do-directory-files-and-attributes-with-perl)
18329 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18330 `tramp-handle-directory-files-and-attributes-with-*'.
18331 (tramp-handle-directory-files-and-attributes): Use them.
18332 (tramp-method-out-of-band-p): Additional parameter SIZE.
18333 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18334 (tramp-handle-write-region): Use it.
18335 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18336 (tramp-handle-vc-registered): Check, whether the first run did
18337 return files to be tested.
18338 (tramp-advice-make-auto-save-file-name): Do not call directly
18339 `tramp-handle-make-auto-save-file-name', because this would bypass
18340 the locking mechanism.
18342 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18343 (file-remote-p, process-file, start-file-process, set-file-times)
18344 (tramp-compat-file-attributes): Compatibility functions shall not
18345 call directly `tramp-handle-*', because this would bypass the
18347 (tramp-compat-number-sequence): New defun.
18349 2009-09-02 Glenn Morris <rgm@gnu.org>
18351 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18352 alias for float-time.
18353 (time-to-number-of-days): In Emacs, use float-time.
18354 * net/newst-backend.el (time-add): Suppress warnings from compat
18356 * time.el (emacs-uptime, emacs-init-time):
18357 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18358 Use float-time rather than time-to-seconds.
18360 * minibuffer.el (completion-initials-expand): Fix typo.
18362 * faces.el (modeline, modeline-inactive, modeline-highlight)
18363 (modeline-buffer-id):
18364 * info.el (info-menu-5): Mark these face aliases as obsolete.
18366 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18368 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18370 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18371 no "--thread" option.
18372 (gdb-stopped): Don't print "Switched to thread" message when it is
18375 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18377 * minibuffer.el (completion-try-completion)
18378 (completion-all-completions): Remove ill-defined (and
18379 mistakenly installed and luckily never used nor documented)
18380 `completion-styles' property.
18381 (completion-initials-expand, completion-initials-all-completions)
18382 (completion-initials-try-completion): New functions.
18383 (completion-styles-alist): Add doc to each entry.
18384 Add new `initials' entry.
18386 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18388 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18389 MI command -var-evaluate-expression.
18390 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18391 and tweak for case of string child.
18392 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18394 2009-09-01 Glenn Morris <rgm@gnu.org>
18396 * add-log.el (change-log-date-face, change-log-name-face)
18397 (change-log-email-face, change-log-file-face, change-log-list-face)
18398 (change-log-conditionals-face, change-log-function-face)
18399 (change-log-acknowledgement-face):
18400 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18401 (custom-modified-face, custom-set-face, custom-changed-face)
18402 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18403 (custom-documentation-face, custom-state-face, custom-comment-face)
18404 (custom-comment-tag-face, custom-variable-tag-face)
18405 (custom-variable-button-face, custom-face-tag-face)
18406 (custom-group-tag-face-1, custom-group-tag-face):
18407 * diff-mode.el (diff-header-face, diff-file-header-face)
18408 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18409 (diff-added-face, diff-changed-face, diff-function-face)
18410 (diff-context-face, diff-nonexistent-face):
18411 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18412 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18413 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18414 (Info-title-4-face):
18415 * isearch.el (isearch-lazy-highlight-face):
18416 * log-view.el (log-view-file-face, log-view-message-face):
18417 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18418 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18419 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18421 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18422 (smerge-base-face, smerge-markers-face):
18423 * wid-edit.el (widget-documentation-face, widget-button-face)
18424 (widget-field-face, widget-single-line-field-face)
18425 (widget-inactive-face, widget-button-pressed-face):
18426 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18427 (woman-addition-face):
18428 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18429 (eshell-ls-executable-face, eshell-ls-readonly-face)
18430 (eshell-ls-unreadable-face, eshell-ls-special-face)
18431 (eshell-ls-missing-face, eshell-ls-archive-face)
18432 (eshell-ls-backup-face, eshell-ls-product-face)
18433 (eshell-ls-clutter-face):
18434 * eshell/em-prompt.el (eshell-prompt-face):
18435 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18436 * obsolete/old-whitespace.el (whitespace-highlight-face):
18437 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18438 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18439 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18440 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18441 (antlr-font-lock-literal-face):
18442 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18443 (ebrowse-root-class-face, ebrowse-file-name-face)
18444 (ebrowse-default-face, ebrowse-member-attribute-face)
18445 (ebrowse-member-class-face, ebrowse-progress-face):
18446 * progmodes/make-mode.el (makefile-space-face):
18447 * progmodes/sh-script.el (sh-heredoc-face):
18448 * textmodes/flyspell.el (flyspell-incorrect-face)
18449 (flyspell-duplicate-face):
18450 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18451 * textmodes/texinfo.el (texinfo-heading-face):
18452 Mark face aliases with "-face" suffix as obsolete.
18454 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18457 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18458 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18459 easy-menu-define wants to modify these.
18461 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18463 * net/browse-url.el (browse-url-file-url):
18464 * term/internal.el (dos-codepage-setup):
18465 Use default-value rather than default-enable-multibyte-characters.
18467 * progmodes/etags.el (etags-goto-tag-location):
18468 * progmodes/flymake.el (flymake-highlight-line)
18469 (flymake-goto-file-and-line, flymake-goto-line):
18470 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18471 (gdb-goto-breakpoint):
18472 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18473 * progmodes/python.el (python-find-function)
18474 (python-pdbtrack-track-stack-file):
18475 * progmodes/verilog-mode.el (verilog-surelint-off):
18476 * term/ns-win.el (ns-open-file-select-line):
18477 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18478 Use forward-line rather than goto-line.
18480 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18481 * textmodes/reftex-index.el (reftex-display-index):
18482 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18483 * textmodes/reftex-toc.el (reftex-toc):
18484 Remove unnecessary bindings of default-major-mode (all are followed by
18485 major-mode check and possible mode switch).
18487 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18489 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18490 Handle watchpoints (bug#4282).
18491 (def-gdb-thread-buffer-command): Enable thread to be selected by
18492 clicking without selecting threads buffer first.
18493 (gdb-current-context-command): Use selected frame so that "up",
18494 "down" etc work in the GUD buffer.
18495 (gdb-update): Find selected frame before rendering stack buffer.
18496 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18498 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18500 * progmodes/sym-comp.el (displayed-completions): Remove.
18501 (symbol-complete): Use minibuffer-complete.
18503 2009-08-31 Glenn Morris <rgm@gnu.org>
18505 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18507 * apropos.el (apropos-symbols-internal):
18508 Handle (obsolete) face aliases.
18510 * faces.el (describe-face): Adjust the output format to be more like
18511 describe-variable, and to mention (obsolete) face aliases.
18512 Adjust the whitespace so that help-setup-xref works.
18514 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18515 * calendar/diary-lib.el (diary-button-face):
18516 Mark these face aliases as obsolete.
18518 * calendar/calendar.el (calendar-today): Doc fix.
18520 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18522 * progmodes/gdb-mi.el (gdb-control-all-threads)
18523 (gdb-control-current-thread): Force tool bar update.
18524 (gdb-non-stop-handler): New function.
18525 (gdb-init-1): Use it to test if non-stop mode is supported.
18526 Remove unused gdbmi buffer type.
18528 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18530 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18531 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18533 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18535 * comint.el (comint-exec-1): Check command is non-null first.
18536 Part of gdb-mi.el change (2009-08-28).
18538 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18540 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18542 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18544 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18545 instead of `dolist' to avoid a recursive require when bootstrapping.
18547 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18549 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18551 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18553 * net/imap.el (imap-send-command): Simplify.
18554 (imap-wait-for-tag): point-max -> buffer-size.
18556 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18558 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18559 with constant argument.
18561 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18563 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18565 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18566 Change default, since most of our files don't have a history.
18567 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18570 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18573 * calc/calc.el: Improve commenting convention.
18574 (calc-digit-map, toplevel): Simplify.
18576 * comint.el (comint-insert-input): Be careful to only set point if we
18577 don't delegate to some other command.
18579 * proced.el (proced-signal-list): Make it an alist.
18580 (proced-grammar-alist): Capitalize names.
18581 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18582 Disable undo manually and make it read-only.
18583 Use completion-annotate-function.
18585 * minibuffer.el (minibuffer-message): If the current buffer is not
18586 a minibuffer, insert the message in the echo area rather than at the
18588 (completion-annotate-function): New variable.
18589 (minibuffer-completion-help): Use it.
18590 (completion--embedded-envvar-table): Environment vars are
18591 always case-sensitive.
18593 2009-08-30 Glenn Morris <rgm@gnu.org>
18595 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18596 from fortran-current-defun.
18597 (fortran-beginning-of-subprogram): Be more precise about finding the
18598 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18599 (fortran-end-of-subprogram): Simplify.
18600 (fortran-current-defun): Use fortran-start-prog-re.
18602 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18604 * subr.el (do-after-load-evaluation): Simplify.
18606 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18608 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18610 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18611 (vc-rcs-print-log): Use it.
18613 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18615 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18617 * paths.el (abbrev-file-name): Move to abbrev.el.
18618 * abbrev.el (abbrev-file-name): Move from paths.el.
18619 Obey user-emacs-directory.
18620 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18621 user-emacs-directory.
18622 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18623 abbrev-file-name and calc-settings-file any more.
18624 * startup.el (command-line): Recompute abbrev-file-name and
18625 abbreviated-home-dir.
18626 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18627 of the special code for when C-h bindings haven't been changed.
18628 (display-startup-echo-area-message): Use with-current-buffer.
18629 (command-line-1): Use a list of strings, rather than a list of lists
18630 of strings for longopts.
18632 * files.el (get-free-disk-space): Use / for default-directory.
18634 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18635 Use with-current-buffer.
18637 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18638 Recognize immutable variables like most-positive-fixnum.
18639 (byte-compile-setq-default): Check and warn if trying to assign
18640 to an immutable variable, or a non-variable.
18642 * progmodes/cc-vars.el (c-comment-continuation-stars):
18643 * progmodes/cc-engine.el (c-looking-at-bos):
18644 * progmodes/cc-cmds.el (c-toggle-auto-state)
18645 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18646 (c-comment-line-break-function): Add version of obsolescence.
18648 2009-08-28 Juri Linkov <juri@jurta.org>
18650 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18651 associated with `archive-mode'.
18653 * image.el (image-type-header-regexps): Use only JPEG magic number
18654 to determine JPEG images, and don't use `image-jpeg-p' because
18655 Emacs can display non-JFIF non-Exif JPEG images.
18657 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18659 * arc-mode.el (archive-mode):
18660 * emacs-lisp/re-builder.el (re-builder-unload-function):
18661 Protect against the default value of `major-mode' being nil.
18663 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18665 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18666 Fix typos in docstrings.
18668 * progmodes/js.el (js--macro-decl-re): Doc fix.
18669 (js--plain-method-re, js--split-name): Refloc docstring.
18670 (js--class-styles, js--make-merged-item, js--splice-into-items):
18671 Fix typos in docstrings; reflow docstrings.
18672 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18673 (js--variable-decl-matcher, js--inside-pitem-p)
18674 (js--parse-state-at-point, js--get-all-known-symbols)
18675 (js--symbol-history, js-find-symbol, js--js-references)
18676 (js--moz-interactor, js--js-encode-value, js--read-tab):
18677 Fix typos in docstrings.
18679 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18681 * textmodes/reftex.el (reftex-get-file-buffer-force):
18682 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18683 * emulation/viper.el (viper-go-away, viper-set-hooks):
18684 * emacs-lisp/re-builder.el (re-builder-unload-function):
18685 * emacs-lisp/bytecomp.el (byte-compile-file):
18686 * ses.el (ses-unload-function):
18687 * hexl.el (hexl-find-file):
18688 * files.el (normal-mode):
18689 * ehelp.el (with-electric-help):
18690 * autoinsert.el (auto-insert-alist):
18691 * arc-mode.el (archive-mode):
18692 Use (default-value 'major-mode) instead of default-major-mode.
18694 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18695 * international/mule.el (load-with-code-conversion):
18696 * emacs-lisp/debug.el (debug):
18697 * ediff-vers.el (ediff-rcs-get-output-buffer):
18698 * dired.el (dired-internal-noselect): Don't let-bind
18699 default-major-mode around code that doesn't use it.
18700 E.g. buffer creation via get-buffer-create doesn't use it.
18702 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18704 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18705 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18706 when writing the temp file. Otherwise, epa-file gets confused.
18707 (tramp-register-file-name-handlers): Make it a defun. Move also
18708 `epa-file-handler' to the front of `file-name-handler-alist'.
18710 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18712 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18713 start right after a ^M.
18714 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18715 (tramp-completion-file-name-regexp-separate)
18716 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18717 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18718 Don't modify last-coding-system-used by accident.
18719 (tramp-completion-file-name-handler): Apply the checks here,
18720 instead during registration.
18721 (tramp-register-file-name-handlers): Rename from
18722 `tramp-register-file-name-handler'. Register both
18723 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18724 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18726 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18728 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18729 Remove variable ...
18730 (gdb-init-1, gdb-display-separate-io-buffer)
18731 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18733 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18734 (gdb-inferior-filter): Use comint-output-filter to stop
18735 echoing and remove ^M characters.
18737 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18739 * emulation/viper-init.el (viper-restore-cursor-type):
18740 * emulation/cua-base.el (cua--update-indications):
18741 Replace default-cursor-type with (default-value 'cursor-type).
18743 * mail/sendmail.el (mail-recover-1):
18744 * international/mule-diag.el (describe-current-coding-system-briefly)
18745 (describe-current-coding-system):
18746 * international/mule-cmds.el (select-safe-coding-system)
18747 (select-message-coding-system)
18748 (set-language-environment-coding-systems, set-locale-environment):
18749 * hexl.el (hexl-insert-multibyte-char):
18750 * dos-w32.el (find-buffer-file-type-coding-system):
18751 * simple.el (what-cursor-position):
18752 Replace uses of default-buffer-file-coding-system
18753 with (default-value 'buffer-file-coding-system).
18755 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18756 Replace uses of default-cursor-in-non-selected-windows
18757 with (default-value 'cursor-in-non-selected-windows).
18758 Use with-current-buffer.
18760 * mail/feedmail.el: Use CL macros.
18761 (feedmail-run-the-queue, feedmail-send-it-immediately):
18762 * dos-w32.el (find-buffer-file-type): Replace uses of
18763 default-buffer-file-type with (default-value 'buffer-file-type).
18765 2009-08-28 Glenn Morris <rgm@gnu.org>
18767 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18768 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18769 Use default-value of major-mode rather than default-major-mode.
18771 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18773 * Makefile.in (update-elcfiles): Report left over elc files.
18775 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18776 expand-file-name and with-current-buffer.
18777 (mail-get-names, mail-directory): Use with-current-buffer.
18779 * vc.el (vc-read-revision): New function.
18780 (vc-version-diff, vc-merge): Use it.
18782 2009-08-27 Sam Steingold <sds@gnu.org>
18784 * simple.el (kill-do-not-save-duplicates): New user option.
18785 (kill-new): When it is non-nil, and the new string is the same as
18786 the latest kill, set replace to t to avoid duplicates in kill-ring.
18788 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18790 * net/tramp.el (tramp-handle-process-file): Do not flush all
18791 caches when `process-file-side-effects' is set.
18792 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18793 instead of `tramp-find-file-exists-command'.
18794 Unset `process-file-side-effects'.
18796 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18798 * net/tramp.el (tramp-methods): New method "rsyncc".
18799 (top): Add completion function for "rsyncc".
18800 (tramp-message-show-message): New defvar.
18801 (tramp-message, tramp-error): Use it.
18802 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18804 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18805 `tramp-methods' entry `copy-env' of "rsyncc".
18806 (tramp-vc-registered-read-file-names): New defconst.
18807 (tramp-vc-registered-file-names): New defvar.
18808 (tramp-handle-vc-registered): Implement optimization strategy.
18809 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18810 (tramp-vc-file-name-handler): New defun.
18811 (tramp-get-ls-command, tramp-get-test-command)
18812 (tramp-get-file-exists-command, tramp-get-remote-ln)
18813 (tramp-get-remote-perl, tramp-get-remote-stat)
18814 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18816 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18817 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18819 (tramp-get-file-property): Check for timestamps in
18820 `tramp-cache-inhibit-cache'.
18821 (tramp-set-file-property): Write timestamp.
18823 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18825 * language/japan-util.el (japanese-symbol-table): Add entries for
18828 * international/characters.el: Add category `j' to cp932-2-byte.
18830 2009-08-27 Kenichi Handa <handa@m17n.org>
18832 * international/fontset.el (build-default-fontset-data): New macro.
18833 (setup-default-fontset): Use build-default-fontset-data for CJK,
18834 tibetan, ethiopic, and ipa.
18836 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18838 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18839 (enable-multibyte-characters): Not customizable any more.
18841 * subr.el (default-mode-line-format, default-header-line-format)
18842 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18843 (default-direction-reversed, default-truncate-lines)
18844 (default-left-margin, default-tab-width, default-case-fold-search)
18845 (default-left-margin-width, default-right-margin-width)
18846 (default-left-fringe-width, default-right-fringe-width)
18847 (default-fringes-outside-margins, default-scroll-bar-width)
18848 (default-vertical-scroll-bar, default-indicate-empty-lines)
18849 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18850 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18851 (default-scroll-down-aggressively, default-fill-column)
18852 (default-cursor-type, default-buffer-file-type)
18853 (default-cursor-in-non-selected-windows)
18854 (default-buffer-file-coding-system, default-major-mode)
18855 (default-enable-multibyte-characters): Mark as obsolete.
18857 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18859 * vc-dir.el (vc-dir-update): Remove debug helper.
18861 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18863 2009-08-26 Sam Steingold <sds@gnu.org>
18865 * simple.el (save-interprogram-paste-before-kill): New user option.
18866 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18867 save the interprogram-paste into kill-ring before overriding it
18868 with the Emacs kill.
18870 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18872 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18873 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18874 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18875 and move to vc-rcs.el.
18876 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18878 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18879 (vc-rcs-update-changelog): Remove.
18880 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18881 and move to vc-rcs.el.
18883 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18884 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18886 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18887 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18888 vc.el, renamed to be RCS specific.
18890 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18892 (vc-cvs-update-changelog): Move here from vc.el.
18894 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18897 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18899 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18901 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18903 * vc-git.el (vc-git-register): Use "git add" for directories.
18904 (vc-git-stash, vc-git-stash-show): New functions.
18905 (vc-git-extra-menu-map): Bind them.
18907 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18908 directory correctly in case the item is a directory itself.
18910 * vc.el: Document the desired behavior for reverted files in the
18912 (vc-default-prettify-state-info): Remove function, unused.
18914 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18916 2009-08-26 Glenn Morris <rgm@gnu.org>
18918 * bindings.el (standard-mode-line-format): Reposition dashes in
18919 which-func entry. (Bug#4217)
18921 * files.el (enable-local-variables, enable-local-eval)
18922 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18924 (auto-mode-alist, ignored-local-variables)
18925 (save-some-buffers-action-alist): Move risky declarations to the
18927 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18928 (font-lock-defaults, format-alist, imenu--index-alist)
18929 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18930 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18931 (mode-line-modified, mode-line-mule-info, mode-line-position)
18932 (mode-line-process, mode-line-remote, outline-level)
18933 (parse-time-rules, rmail-output-file-alist)
18934 (special-display-buffer-names, vc-mode):
18935 Move risky declarations to the relevant files.
18936 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18937 (mode-line-modified, mode-line-process, mode-line-position)
18938 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18939 * font-core.el (font-lock-defaults):
18940 * format.el (format-alist):
18941 * vc-hooks.el (vc-mode):
18942 * window.el (special-display-buffer-names):
18943 * international/mule-cmds.el (input-method-alist):
18944 Define riskiness here (dumped file) rather than in files.el.
18945 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18946 * imenu.el (imenu-generic-expression, imenu--index-alist):
18947 * outline.el (outline-level):
18948 * time.el (display-time-string):
18949 * calendar/parse-time.el (parse-time-rules):
18950 * mail/rmailout.el (rmail-output-file-alist):
18951 Autoload riskiness here, rather than placing in files.el.
18953 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18955 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18957 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18959 * simple.el (process-file-side-effects): New defvar.
18961 * dired-aux.el (dired-show-file-type):
18962 * vc.el (vc-diff-internal):
18963 * vc-arch.el (vc-arch-diff):
18964 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18965 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18966 * vc-git.el (vc-git-registered, vc-git-working-revision)
18967 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18968 (vc-git--empty-db-p):
18969 * vc-hooks.el (vc-user-login-name):
18970 * vc-svn.el (vc-svn-registered, vc-svn-state)
18971 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18972 * progmodes/grep.el (grep-probe): Let-bind
18973 `process-file-side-effects' with nil.
18975 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18977 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18978 daemon. Replace ping by checking for running service for bluez
18979 and zeroconf. (Bug#4239)
18981 2009-08-25 Kevin Ryde <user42@zip.com.au>
18983 * net/dig.el (dig): Add autoload cookie.
18985 2009-08-25 Glenn Morris <rgm@gnu.org>
18987 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18988 load-history for absolute file-names.
18989 (byte-compile-file-form-require): Warn about use of the cl package.
18991 * format.el (format-alist): Doc fix.
18993 * play/bubbles.el (top-level): Don't require cl at run-time.
18995 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18998 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19000 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19002 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19004 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19006 * calc/calc-alg.el (math-trig-rewrite)
19007 (math-hyperbolic-trig-rewrite): New functions.
19008 (calc-simplify): Simplify trig functions when asked.
19010 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19012 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19014 2009-08-24 Kenichi Handa <handa@m17n.org>
19016 * language/ind-util.el (mapthread): Delete it.
19017 (combinatorial): New function.
19018 (indian--puthash-cv): Use combinatorial instead of mapthread.
19020 2009-08-22 Kevin Ryde <user42@zip.com.au>
19022 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19023 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19024 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19025 Clarify docstring that the value is strings not symbols.
19026 (checkdoc-list-of-strings-p): New function.
19028 2009-08-22 Glenn Morris <rgm@gnu.org>
19030 * files.el (auto-mode-alist):
19031 * hippie-exp.el (he-concat-directory-file-name):
19032 * lpr.el (lpr-windows-system, printer-name):
19033 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19034 * ps-print.el (ps-windows-system):
19035 * startup.el (command-line):
19036 * emulation/viper-ex.el (viper-glob-function):
19037 * international/mule-cmds.el (set-language-environment-coding-systems):
19038 * net/ange-ftp.el (ange-ftp-write-region):
19039 * obsolete/fast-lock.el (fast-lock-cache-name):
19040 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19041 unisoft-unix, vax-vms, win32, w32.
19043 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19044 given name if the pattern is not more specific.
19046 * calendar/lunar.el (lunar-phase-names): New option.
19047 (lunar-phase): Doc fix.
19048 (lunar-cycles-per-year): New constant.
19049 (lunar-index): New function.
19050 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19051 (lunar-phase-name): Use lunar-phase-names.
19052 (calendar-lunar-phases): Use format.
19053 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19055 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19056 Copy imenu-example--name-and-position function here for own use.
19057 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19059 * bs.el (bs--redisplay):
19060 * cus-edit.el (custom-redraw):
19061 * ibuffer.el (ibuffer-bury-buffer):
19062 * server.el (server-goto-line-column):
19063 * startup.el (command-line-1):
19064 * strokes.el (strokes-xpm-for-stroke):
19065 * term.el (term-display-buffer-line):
19066 * view.el (View-goto-line):
19067 * calc/calc.el (calc-do, calc-trail-buffer):
19068 * play/gamegrid.el (gamegrid-add-score-insecure):
19069 * progmodes/ada-mode.el (ada-compile-goto-error):
19070 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19071 (ebrowse-select-1st-to-9nth):
19072 * progmodes/cperl-mode.el (cperl-time-fontification):
19073 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19074 * progmodes/gud.el (gud-display-line):
19075 (idlwave-shell-display-line):
19076 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19077 * progmodes/make-mode.el (makefile-browser-toggle):
19078 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19079 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19080 * textmodes/picture.el (picture-draw-rectangle):
19081 * textmodes/reftex-index.el (reftex-index-goto-letter):
19082 (reftex-select-jump-to-previous):
19083 * textmodes/reftex-sel.el (reftex-find-start-point)
19084 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19085 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19086 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19087 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19088 * textmodes/two-column.el (2C-associated-buffer):
19089 Use forward-line rather than goto-line.
19091 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19094 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19095 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19096 (quick-check-list-to-regexp): Declare.
19098 * progmodes/make-mode.el (makefile-browser-insert-selection):
19099 Use goto-char rather than goto-line.
19101 * progmodes/prolog.el (compilation-error-regexp-alist)
19102 (compilation-forget-errors): Declare.
19104 2009-08-22 Juri Linkov <juri@jurta.org>
19106 * progmodes/grep.el (lgrep, rgrep): At the beginning
19107 set `dir' to `default-directory' unless `dir' is a non-nil
19108 readable directory. (Bug#4052)
19109 (lgrep, rgrep): Change a weird way to report an error
19110 from using `read-string' to using `error'.
19111 Instead of using interactive arguments in the function body,
19112 add new argument `confirm'.
19114 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19116 * textmodes/remember.el (remember-buffer):
19117 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19118 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19119 (icalendar-extract-ical-from-buffer):
19120 * net/newst-treeview.el (newsticker-groups-filename):
19121 * net/newst-backend.el (newsticker-cache-filename):
19122 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19123 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19124 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19125 (speedbar-buffers-line-path, speedbar-path-line)
19126 (speedbar-buffers-line-path):
19127 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19129 * epa.el (epa-display-verify-result):
19130 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19132 2009-08-21 Glenn Morris <rgm@gnu.org>
19134 * progmodes/js.el (inferior-moz-process): Fix declaration.
19136 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19138 * obsolete/rnewspost.el (news-mail-reply):
19139 Use goto-char rather than goto-line.
19141 * term/ns-win.el (ns-open-file-select-line):
19142 Use line-beginning-position rather than goto-line.
19144 * apropos.el (apropos-command):
19145 * ehelp.el (electric-helpify):
19146 * printing.el (pr-show-setup):
19147 * strokes.el (strokes-help):
19148 * tutorial.el (tutorial--describe-nonstandard-key)
19149 (tutorial--detailed-help):
19150 * woman.el (woman-mini-help, woman-display-extended-fonts):
19151 * calc/calc-help.el (calc-describe-key):
19152 * emulation/edt.el (edt-electric-helpify):
19153 * international/mule-diag.el (mule-diag):
19154 * play/yow.el (apropos-zippy):
19155 * progmodes/python.el (python-describe-symbol):
19156 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19157 * textmodes/table.el (*table--cell-describe-mode)
19158 (*table--cell-describe-bindings):
19159 Use help-print-return-message rather than the now obsolete alias.
19161 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19162 (calendar-cursor-to-visible-date):
19163 * play/5x5.el (5x5-position-cursor):
19164 * play/decipher.el (decipher):
19165 * play/gomoku.el (gomoku-goto-xy):
19166 * play/landmark.el (lm-goto-xy):
19167 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19168 (mpuz-paint-digit):
19169 Use forward-line, not goto-line.
19171 * mail/rmail.el (rmail-obsolete): Delete custom group.
19172 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19173 (rmail-remote-password, rmail-remote-password-required):
19174 Remove unneeded :set-after and :set properties.
19176 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19178 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19180 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19182 * loadup.el: Remove leftover macos code.
19184 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19185 Explicitly pass the date format to git blame so that user local
19186 so that the output format can be parsed.
19188 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19190 * net/dbus.el (top): Don't check for (getenv
19191 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19193 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19195 * log-edit.el (log-edit-strip-single-file-name): New var.
19196 (log-edit-insert-changelog): Use it. Bug#3571
19198 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19200 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19203 * help.el (help-print-return-message): Rename from
19204 print-help-return-message.
19206 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19207 cvs-mode-map parent hack.
19208 (log-view-mode): Derive from special-mode.
19210 * linum.el (linum-mode): window-size-change-functions is redundant.
19211 Adapt to new window-configuration-change-hook behavior.
19212 (linum-after-size, linum-after-config): Remove.
19214 * imenu.el (imenu-example--name-and-position)
19215 (imenu-example--lisp-extract-index-name)
19216 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19219 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19220 (inferior-prolog-mode): Use it.
19221 (inferior-prolog-load-file): Reset list of errors.
19223 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19225 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19227 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19229 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19231 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19232 is running already.
19234 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19236 * subr.el (listify-key-sequence-1): Use normal syntax since those
19237 integers are nowadays always represented by the same (positive) number
19239 (read-key-empty-map): New const.
19240 (read-key-delay): New var.
19241 (read-key): New function.
19242 (force-mode-line-update): Use with-current-buffer.
19243 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19244 (start-process-shell-command, start-file-process-shell-command):
19245 Discourage the use of command-args.
19247 2009-08-19 Glenn Morris <rgm@gnu.org>
19249 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19251 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19253 * simple.el (choose-completion-string): Don't rely on
19254 minibuffer-completing-file-name and ad-hoc checks to decide whether
19255 to continue completion or not.
19257 * minibuffer.el (minibuffer-hide-completions): New function.
19258 (completion--do-completion): Use it.
19259 (completions-annotations): New face.
19260 (completion--insert-strings): Use it.
19261 (completion-pcm--delim-wild-regex): Add docstring.
19262 (completion-pcm--string->pattern): Add support for 0-width delimiters
19263 in completion-pcm--delim-wild-regex.
19265 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19267 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19268 Remove unused var `buffer-modified-p'.
19270 * minibuffer.el (completion--do-completion): Move point for the #b001
19271 case as well (bug#4176).
19272 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19274 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19276 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19277 and :session buses.
19279 2009-08-18 Kenichi Handa <handa@m17n.org>
19281 * international/ucs-normalize.el (ucs-normalize-version):
19283 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19284 (utf-8-hfs): Make it perform normalization on encoding too.
19286 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19287 (sentence-end-without-space): Delete duplicated chars.
19288 (sentence-end-base): Likewise.
19290 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19291 (html-mode): Delete duplicated chars from sentence-end-base.
19293 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19294 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19296 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19298 * files.el (hack-one-local-variable): If the mode function is for
19299 a minor mode, pass it an argument (Bug#4148).
19301 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19303 * net/tramp.el (tramp-register-completion-file-name-handler):
19304 Check also for (member 'partial-completion completion-styles).
19306 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19308 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19311 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19313 * progmodes/cperl-mode.el: Merge upstream 6.2.
19314 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19315 (cperl-forward-re): Check cperl-brace-recursing.
19316 (cperl-highlight-charclass): New function.
19317 (cperl-find-pods-heres): Use it.
19318 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19319 (cperl-beautify-regexp-piece): Fix column calculation.
19320 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19321 (cperl-beautify-level): Don't process entire regexp.
19322 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19324 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19325 (cperl-init-faces): Build a list in the normal way.
19327 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19329 * calendar/parse-time.el (parse-time-string-chars): Save match
19332 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19334 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19335 (sql-product): Use it.
19336 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19337 (sql-set-product): Add completion.
19338 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19339 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19340 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19341 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19342 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19343 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19344 (sql-highlight-db2-keywords): Remove.
19345 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19346 (sql-highlight-product): Use derived-mode-p.
19347 (sql-set-sqli-buffer): Use with-current-buffer.
19348 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19351 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19353 * term.el: Fix commenting convention, turn comments into docstrings.
19355 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19357 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19359 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19361 * calendar/parse-time.el (parse-time-string-chars): Compute using
19362 character classes, to handle non-ascii characters (Bug#3190).
19364 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19366 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19367 another heredoc if the user adds another < (Bug#3226).
19369 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19370 Don't initialize based on window-system (Bug#4124).
19372 * facemenu.el (facemenu-read-color): Use a completion function
19373 that accepts any defined color, such as RGB triplets (Bug#3677).
19375 * files.el (get-free-disk-space): Change fallback default
19376 directory to /. Expand DIR argument before switching to fallback.
19377 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19379 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19381 * files.el (load-library): Doc fix.
19383 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19385 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19386 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19387 incremental search string.
19389 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19392 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19393 (ediff-merge-region-is-non-clash)
19394 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19395 Also check if the job is really a merge job.
19397 * ediff.el (ediff-current-file): New function.
19399 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19401 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19403 (js-insert-and-indent): Delete function.
19404 (js-mode-map): Don't bind keys to js-insert-and-indent.
19405 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19406 (js-end-of-defun): Rename from js--end-of-defun.
19407 (js-auto-indent-flag): Delete variable.
19409 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19411 * progmodes/js.el: Remove proclaim statement.
19412 Defvar which-func-imenu-joiner-function to silence compiler.
19414 * files.el (auto-mode-alist): Use js-mode for .js files.
19416 * progmodes/js2-mode.el: Remove file.
19418 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19420 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19422 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19424 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19425 Karl Landstrom <karl.landstrom@brgeight.se>
19427 * progmodes/js.el: New file.
19429 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19431 * timezone.el (timezone-parse-date): Add ability to understand ISO
19432 basic format (minimal separators) dates in addition to the
19433 already-supported extended format dates.
19435 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19437 * international/ucs-normalize.el: Add a `coding' file variable.
19439 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19441 2009-08-14 Sam Steingold <sds@gnu.org>
19443 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19445 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19447 * faces.el (help-argument-name): Define it here instead of
19448 help-fns.el, because in daemon mode help-fns.el may be loaded when
19449 faces are still uninitialized (Bug#1078).
19451 * help-fns.el (help-argument-name): Move defface to faces.el.
19453 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19455 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19456 create buffer with a pty but no process so that GDB can make the
19457 inferior the controlling process.
19459 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19461 * international/ucs-normalize.el: New file.
19463 2009-08-13 Richard Stallman <rms@gnu.org>
19465 * mail/rmail.el (rmail-get-attr-names):
19466 Accept an attribute header that is too short.
19468 * mail/rmail.el (rmail-forget-messages):
19469 Ignore nil elt in rmail-message-vector. Use dotimes.
19471 * progmodes/compile.el (compilation-goto-locus):
19472 Use next-error-move-function.
19474 * simple.el (next-error-move-function): New variable.
19476 2009-08-12 Juri Linkov <juri@jurta.org>
19478 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19479 always non-nil. (Bug#4052)
19481 * replace.el (read-regexp): Return empty string when
19482 `default-value' is nil.
19483 (keep-lines-read-args): Don't use empty string as the
19484 default value for `read-regexp'. (Bug#2495)
19486 2009-08-12 Juri Linkov <juri@jurta.org>
19488 * international/mule-cmds.el (ucs-insert): Change arguments
19489 from `arg' to `character', `count', `inherit' to be the same
19490 as in `insert-char'. Doc fix. (Bug#4039)
19492 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19494 2009-08-12 Juri Linkov <juri@jurta.org>
19496 * files-x.el: New file.
19498 * files.el: Move code that deals with adding/deleting
19499 file/directory-local variables to files-x.el.
19501 * Makefile.in (ELCFILES): Add files-x.elc.
19503 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19505 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19506 to use `goto-line'.
19507 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19509 (gdb-invalidate-disassembly): Do not refresh upon receiving
19510 'update signal. Instead, update all disassembly buffers only after
19512 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19513 (gdb-starting): Move -data-list-register-names...
19514 (gdb-stopped): ...here so it's sent when first thread stops.
19515 (gdb-registers-handler-custom): Do nothing if register names are
19518 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19519 from `gdb-mi.el' to avoid extra tangling.
19521 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19522 change which breaks `gud-def' definitions used in `gdb'.
19523 (gdb-update-gud-running): No extra fuss for updating frame number.
19525 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19527 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19528 (describe-language-environment-map, setup-language-environment-map)
19529 (set-coding-system-map): Move initialization into declaration.
19530 (set-language-info-alist): Last arg to define-key-after can be skipped.
19532 * international/quail.el (quail-completion-1): Simplify.
19533 (quail-define-rules): Use slightly more compact code.
19534 (quail-insert-decode-map): Propertize keys, compact columns.
19536 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19539 2009-08-10 Miles Bader <miles@gnu.org>
19541 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19542 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19543 (js2-instance-member, js2-private-member, js2-private-function-call)
19544 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19545 (js2-magic-paren, js2-external-variable):
19546 Remove "-face" suffix from face names.
19547 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19548 (js2-highlight-undeclared-vars, js2-peek-token)
19549 (js2-parse-function-params, js2-mode-show-errors)
19550 (js2-mode-show-warnings, js2-make-magic-delimiter)
19551 (js2-mode-highlight-magic-parens): Update to use new face names.
19553 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19555 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19556 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19558 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19560 * subr.el: Provide hashtable-print-readable.
19562 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19563 hs-c-like-adjust-block-beginning.
19564 (hs-hide-block-at-point): Stop hiding at the beginning of
19565 hs-block-end-regexp (Bug#700).
19567 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19569 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19571 (gdb-registers-handler-custom): Do not fail when register names
19574 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19576 * progmodes/gdb-mi.el (gdb-control-all-threads)
19577 (gdb-control-current-thread): Interactive setters for
19578 `gdb-gud-control-all-threads' to use in menu.
19579 (gdb-show-run-p): Show «Go» when process is not active.
19580 (gud-tool-bar-map): Add non-stop/A,T indicator.
19581 Uses gud/thread.xpm and gud/all.xpm.
19583 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19585 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19586 (nslookup-font-lock-keywords): Make it a variable.
19587 (net-utils-mode): New mode for viewing diagnostic network output.
19588 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19589 (net-utils-run-simple): New function.
19590 (ifconfig, iwconfig, netstat, arp, route): Use it.
19592 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19594 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19595 (gdb-memory-set-address, def-gdb-set-positive-number)
19596 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19597 after changing settings.
19598 (gdb-invalidate-disassembly): Update when first shown.
19599 (gdb-edit-locals-value): Fixed.
19600 (gdb-registers-handler-custom): Print registers in right order and
19601 allow changing register values (only for current thread yet).
19602 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19603 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19604 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19605 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19606 Thread info in mode name.
19607 (gdb-registers-mode-map): TAB to switch to locals.
19609 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19611 * mail/rmail.el (rmail-add-mbox-headers)
19612 (rmail-set-message-counters-counter): Search for
19613 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19615 2009-08-08 Glenn Morris <rgm@gnu.org>
19617 * Makefile.in (ELCFILES): Update.
19619 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19621 * mail/sendmail.el (mail-yank-original):
19622 Set buffer-file-coding-system from the one used by the message whose
19625 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19626 to "windows" when "pgnuplot" is used.
19627 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19628 Don't call accept-process-output if "pgnuplot" is used.
19629 (calc-graph-init): Don't send -display and -geometry to
19630 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19631 running "pgnuplot -V" with shell-command-to-string.
19633 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19636 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19638 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19641 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19643 * vc-dispatcher.el (vc-resynch-window): Update comment.
19645 * term.el (term-handle-ansi-escape): Add comments with the
19646 terminfo capabilities implemented.
19648 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19650 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19651 (gdb-var-create-handler): Rewritten using JSON parser.
19652 (gdb-propertize-header): Move earlier.
19653 (gdb-set-header): Remove to avoid duplication.
19654 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19655 Refresh disassembly buffers only after threads list have been
19657 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19660 2009-08-04 Juri Linkov <juri@jurta.org>
19662 * files.el: Commands to add/delete file/directory-local variables.
19663 (read-file-local-variable, read-file-local-variable-value)
19664 (read-file-local-variable-mode, modify-file-local-variable)
19665 (modify-file-local-variable-prop-line)
19666 (modify-dir-local-variable): New functions.
19667 (add-file-local-variable, delete-file-local-variable)
19668 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19669 (add-dir-local-variable, delete-dir-local-variable)
19670 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19671 (copy-dir-locals-to-file-locals-prop-line): New commands.
19673 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19675 * abbrev.el (insert-abbrev-table-description): Prettify output.
19676 Suggested by Karl Chen.
19678 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19680 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19681 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19682 (gdb-overlay-arrow-position, gdb-thread-position)
19683 (gdb-disassembly-position): Declare variables.
19684 (gdb-wait-for-pending): Function now.
19685 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19686 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19687 compilation goes smoothly.
19688 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19689 (gdb-non-stop-setting): New customization setting which replaces
19690 `gdb-non-stop' so changing it doesn't break active GDB session.
19691 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19692 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19693 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19694 (gdb-show-threads-by-default): New customization options.
19695 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19697 (gdb-get-buffer-create): Send buffers update signal when they are
19699 (gdb-invalidate-locals, gdb-invalidate-registers)
19700 (gdb-invalidate-breakpoints)
19701 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19702 (gdb-invalidate-memory): Accept update signal.
19703 (gdb-current-context-command): Use --frame option.
19704 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19705 Implement `gdb-frame-number' selection logic.
19706 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19707 whether to show GUD toolbar buttons.
19708 (gdb-thread-exited): Unselect current thread when it exits.
19709 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19710 (gdb-mark-line): Routine which sets overlay arrow or inverses
19711 video on fringeless displays.
19712 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19713 to build aligned columns of data in GDB buffers and set text
19714 properties line-by-line.
19715 (gdb-invalidate-breakpoints)
19716 (gdb-breakpoints-list-handler-custom)
19717 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19718 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19719 (gdb-registers-handler-custom): Align data columns.
19720 (gdb-locals-handler-custom): Now prints data like in variable
19722 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19723 Remove confusing buttons.
19724 (gdb-invalidate-threads): Append --frame.
19725 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19726 between breakpoints/threads buffers.
19727 (gdb-set-window-buffer): Now can ignore dedicated windows.
19728 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19729 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19730 (def-gdb-thread-buffer-gud-command): Replaces
19731 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19732 for fine thread control.
19733 (gdb-preempt-existing-or-display-buffer): New function used to
19734 display bound buffers without breaking window layout.
19735 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19736 (gdb-select-frame): New version of `gdb-frames-select' which now
19737 sets `gdb-frame-number' so commands may use --frame option instead
19738 of inner debugger state.
19739 (gdb-frame-handler): Do not set `gdb-frame-number'.
19740 (gdb-threads-mode-map): Select threads with mouse.
19742 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19743 avoid compilation warning.
19744 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19747 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19748 Argument `key' renamed to `buffer-type'.
19749 (gdb-current-context-buffer-name): Do not add thread info to
19750 buffer name when no thread is selected.
19751 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19752 command (bug 3794).
19753 (gdb-thread-selected): Handle `=thread-selected' notification.
19754 (gdb-wait-for-pending): New macro to deal with congestion problems.
19755 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19757 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19758 This fixes problem similar to one described in bug 3947.
19759 (gud-menu-map): More menu items.
19760 (gdb-init-1): Reset `gdb-thread-number' to nil.
19762 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19765 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19766 (gdb-current-context-command): Do not append --thread if
19767 `gdb-thread-number' is nil.
19768 (gdb-running-threads-count, gdb-stopped-threads-count):
19770 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19771 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19772 New customization options.
19773 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19775 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19776 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19777 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19778 set `gdb-thread-number' and update `gud-running' properly.
19779 (gdb-running): Update threads list when new threads appear.
19780 (gdb-stopped): Support non-stop operation and new thread switching
19782 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19783 (gdb-json-partial-output): New set of JSON routines.
19784 (def-gdb-auto-update-trigger): New `signal-list' optional
19786 (gdb-thread-list-handler-custom): Update `gud-running',
19787 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19788 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19789 (gdb-continue-thread, gdb-step-thread): New commands for fine
19790 thread execution control.
19791 (gud-menu-map): New menu items to switch non-stop options.
19792 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19793 (gdb-send): Mimic RET properly (bug 3794).
19795 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19796 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19798 (def-gdb-auto-update-handler): New nopreserve optional argument.
19799 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19801 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19802 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19803 (gdb-parent-mode): New mode to derive other GDB modes from.
19804 (gdb-display-disassembly-for-thread)
19805 (gdb-frame-disassembly-for-thread): New commands for threads
19808 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19809 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19810 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19811 (gdb-update): We now store all GDB buffers in a list so that they
19812 can be updated by traversing a list instead of calling invalidate
19813 triggers explicitly.
19814 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19815 pair for GDB buffer.
19816 (gdb-stack-buffer-name): Add thread information.
19817 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19818 handle pending triggers.
19819 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19820 (def-gdb-thread-buffer-simple-command)
19821 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19822 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19823 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19824 New commands which show buffers bound to thread.
19825 (gdb-stack-list-locals-regexp): Remove unused regexp.
19827 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19828 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19829 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19830 to (gud-comint-buffer) in *-buffer-name functions
19831 because (gdb-get-target-string) already does that.
19832 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19833 (gdb-changed-registers-handler): Rewritten without regexps.
19835 * progmodes/gdb-mi.el: Basic thread selection support.
19836 (gdb-thread-number): New variable.
19837 (gdb-current-context-command): New macro which adds --thread
19839 (gdb-threads-mode-map): Select thread with SPC.
19840 (gdb-thread-list-handler-custom): Mark current thread with overlay
19841 arrow. Synchronize GDB thread and Emacs thread.
19842 (gdb-select-thread): New command which selects current thread.
19843 (gdb-invalidate-frames, gdb-invalidate-locals)
19844 (gdb-invalidate-registers): Use --thread option.
19846 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19848 * net/tramp.el (top): Make check for tramp-gvfs loading more
19850 (tramp-handle-insert-file-contents): `unwind-protect' must be
19851 inside `with-parsed-tramp-file-name'.
19853 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19856 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19858 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19859 directory if CLASSPATH is not set.
19861 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19863 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19865 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19867 2009-08-02 Kevin Ryde <user42@zip.com.au>
19869 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19870 Update freshmeat link. Delete newsforge.com as it seems gone.
19872 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19874 * select.el (x-set-selection): Doc fix (Bug#4021).
19876 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19878 * help-fns.el (describe-variable): Treat list return values from
19879 dir-locals-find-file properly (Bug#4005).
19881 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19883 * net/tramp.el (tramp-debug-message): Print also microseconds.
19885 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19887 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19889 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19890 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19893 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19894 (tramp-get-file-property): Use it.
19896 * autorevert.el (auto-revert-handler):
19897 Allow `auto-revert-tail-mode' for remote files.
19899 2009-08-02 Jason Rumney <jasonr@gnu.org>
19901 * minibuffer.el (read-file-name): Treat confirm options to
19902 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19904 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19906 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19907 (font-lock-variable-name-face, font-lock-constant-face):
19908 Darken the colors for light backgrounds.
19910 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19912 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19913 month names. (Bug#3987)
19915 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19917 * simple.el (line-move-finish): Pass whole number to
19918 line-move-to-column.
19919 (line-move-visual): Perform hscroll to the recorded position.
19921 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19923 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19925 2009-07-29 Alan Mackenzie <acm@muc.de>
19927 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19929 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19931 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19932 (gdb-place-breakpoints): Use full path when setting breakpoints.
19934 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19936 * calc/calc.el (calc-mode-map): Add keybinding for
19937 `calc-transpose-lines'.
19939 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19941 * calc/calc-misc.el (calc-transpose-lines): New function.
19943 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19945 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19946 Simplify check for out-of-band methods.
19947 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19948 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19950 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19952 * vc-git.el (vc-git-checkin): Fix typo.
19954 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19956 * progmodes/js2-mode.el: New file.
19958 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19960 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19961 (gud-menu-map): Adjust tooltip accordingly.
19963 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19965 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19966 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19968 * add-log.el (change-log-mode-map): Add a menu.
19970 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19972 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19973 function returns nil.
19974 (dbus-handle-event): Handle special return value :ignore.
19975 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19977 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19979 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19982 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19986 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19988 * term/pc-win.el (x-display-name, x-colors)
19989 (x-select-enable-clipboard, x-select-text): Doc fix.
19991 * term/common-win.el (x-display-name, x-colors): Doc fix.
19993 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19994 (xw-defined-colors): Doc fix.
19996 * w32-fns.el (x-select-text, x-setup-function-keys)
19997 (x-get-selection, x-set-selection): Doc fix.
19999 * term/x-win.el (x-select-text, x-setup-function-keys)
20000 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20002 * select.el (x-set-selection): Doc fix.
20004 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20006 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20007 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20008 "IsNSSSupportAvailable" method is not available.
20009 Reported by Steve Youngs <steve@sxemacs.org>.
20011 2009-07-24 Kenichi Handa <handa@m17n.org>
20013 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20014 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20015 (build-unicode-category-table): Fix range checks.
20017 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20019 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20020 the buffer we try to sync is current when calling
20023 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20024 not show up to date files.
20026 2009-07-24 Glenn Morris <rgm@gnu.org>
20028 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20029 Add autoload cookies. If necessary, initialize.
20030 (elint-log): Handle non-file buffers.
20031 (elint-initialize): Add optional argument to reinitialize.
20032 (elint-find-builtin-variables): Save excursion.
20034 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20036 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20039 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20041 * vc.el (vc-print-log-internal): New function, split out from ...
20042 (vc-print-log): ... here.
20043 (vc-dir-move-to-goal-column): Declare.
20045 * vc-git.el (vc-git-add-signoff): New variable.
20046 (vc-git-checkin): Use it.
20047 (vc-git-toggle-signoff): New function.
20048 (vc-git-extra-menu-map): Bind it to menu.
20049 (vc-git--run-command-string): Accept a nil FILE argument.
20050 (vc-git-stash-list): New function.
20051 (vc-git-dir-extra-headers): Use it.
20053 2009-07-23 Glenn Morris <rgm@gnu.org>
20055 * help-fns.el (describe-variable): Describe ignored and risky local
20056 variables in a similar way to that in which we describe safe ones.
20058 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20059 (byte-compile-output-file-form, byte-compile-output-docform)
20060 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20061 Give some more local variables with common names a "bytecomp-" prefix,
20062 so as not to shadow things during compilation.
20063 * emacs-lisp/cl-macs.el (load-time-value)
20064 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20065 `outbuffer' to `bytecomp-outbuffer'.
20067 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20068 since the next two variables cover them automatically now.
20069 (elint-builtin-variables, elint-autoloaded-variables): New.
20070 (elint-unknown-builtin-args): Remove all members, since they can be
20071 parsed automatically now.
20072 (elint-extra-errors): New.
20073 (elint-env-add-env, elint-env-add-macro): Use cadr.
20074 (elint-current-buffer): Use or. Change final message.
20075 (elint-get-top-forms): Use line-end-position.
20076 (elint-init-env): Use cadr. Handle autoload, declare-function,
20078 (elint-add-required-env): Doc fix. Use or. Standardize error.
20079 (regexp-assoc): Remove unused function.
20080 (elint-top-form): Set elint-current-pos, to record the start of the
20081 top-level form, for compilation-mode.
20082 (elint-form): Trap errors in macro expansion. Use dolist.
20083 (elint-unbound-variable): Use elint-builtin-variables and
20084 elint-autoloaded-variables.
20085 (elint-get-args): Use cadr, or.
20086 (elint-check-cond-form): Use dolist, cadr.
20087 (elint-check-condition-case-form): Doc fix. Use cadr.
20088 Use elint-extra-errors.
20089 (elint-log): New function.
20090 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20091 Distinguish errors and warnings.
20092 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20093 Use a bytecomp-style format.
20094 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20095 (elint-get-log-buffer): Use compilation mode. Disable undo.
20096 Don't truncate lines.
20097 (elint-initialize): Set builtin and autoloaded variable lists.
20098 Only process elint-unknown-builtin-args if non-nil.
20099 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20101 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20103 2009-07-22 Kevin Ryde <user42@zip.com.au>
20105 * net/newst-backend.el (newsticker--parse-atom-1.0)
20106 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20107 (newsticker--parse-rss-1.0):
20108 * progmodes/idlwave.el (idlwave-mode):
20109 * progmodes/idlw-shell.el (idlwave-shell-mode):
20110 * progmodes/vera-mode.el (vera-mode):
20111 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20112 * progmodes/vhdl-mode.el (vhdl-mode):
20113 * textmodes/table.el (table-generate-source)
20114 (table--warn-incompatibility):
20115 Hyperlink urls in docstrings with URL `...'.
20117 2009-07-22 Glenn Morris <rgm@gnu.org>
20119 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20120 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20121 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20122 Remove leading * from defcustom docs.
20124 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20126 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20128 (list-load-path-shadows): Optionally, just return shadows as a string.
20130 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20132 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20134 * mail/rmailedit.el (rmail-edit-mode):
20135 Use auto-save-include-big-deletions.
20137 * mail/rmail.el (rmail-variables):
20138 Use auto-save-include-big-deletions.
20140 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20143 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20145 * calc/calc.el (calc-undo-length): New variable.
20146 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20148 2009-07-21 Richard Stallman <rms@gnu.org>
20150 * files.el (auto-save-mode): Handle buffer-save-size = -2
20153 2009-07-21 Glenn Morris <rgm@gnu.org>
20155 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20157 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20159 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20160 silence compiler. Instead...
20161 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20162 (ps-print-ensure-fontified): Update for above function name changes.
20164 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20165 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20166 silence compiler. Instead...
20167 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20168 (mh-show-buffer): Only define for compiler.
20169 (pr-mh-current-message): Update for above function name changes.
20171 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20173 (find-file-noselect, insert-file-1): Update for above change.
20175 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20177 * mail/mailclient.el (mailclient-send-it): Fix message.
20179 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20180 (edebug-eval): Check cl-debug-env is bound.
20181 (print-level, print-circle): Don't redefine built-in variables.
20183 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20184 (custom-print-vectors): Remove old comments from doc.
20186 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20187 (emerge-version): Make the variable an obsolete alias for the
20188 emacs-version variable. Make the function obsolete.
20189 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20190 Emerge options, rather than merging in into the main Options menu.
20191 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20192 and auto advance modes. Disable edit/fast items when not relevant.
20194 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20196 * term/vt420.el (terminal-init-vt420): Fix typo.
20198 2009-07-20 Sam Steingold <sds@gnu.org>
20200 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20201 variable (removed from compile.el on 2004-03-11).
20203 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20205 * files.el (hack-local-variables-filter): Fix last change.
20207 2009-07-19 Juri Linkov <juri@jurta.org>
20209 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20210 (dir-local-variables-alist): New buffer-local variable.
20211 (hack-local-variables-filter): If variable is not dir-local,
20212 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20213 because file-local overrides dir-local.
20214 (c-postprocess-file-styles) <declare-function>:
20215 Remove obsolete declaration.
20216 (hack-dir-local-variables): Add dir-local variable/value pair to
20217 `dir-local-variables-alist' and remove duplicates. Doc fix.
20219 * help-fns.el (describe-variable): Add information about
20220 file-local and dir-local variables.
20222 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20224 * files.el (hack-local-variables-filter): Rewrite.
20226 2009-07-19 Glenn Morris <rgm@gnu.org>
20228 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20229 Silence compiler by only defining on XEmacs.
20231 * international/mule.el (auto-coding-regexp-alist): Only match
20232 BABYL... at the start of buffer, not of lines. (Bug#3790)
20234 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20235 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20236 (cal-menu-context-mouse-menu): Doc fix.
20238 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20240 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20242 2009-07-18 Juri Linkov <juri@jurta.org>
20244 * info.el: Virtual Info keyword finder.
20245 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20246 (Info-finder-file): New variable.
20247 (Info-finder-find-file): New function.
20248 (finder-known-keywords, finder-package-info)
20249 (find-library-name, lm-commentary): Use defvar and
20250 declare-function to silence compiler warnings.
20251 (Info-finder-find-node): New function.
20252 (info-finder): New command.
20254 * subr.el (process-kill-buffer-query-function): New function.
20255 (add-hook)<kill-buffer-query-functions>: Add hook
20256 `process-kill-buffer-query-function'.
20258 2009-07-18 Alan Mackenzie <acm@muc.de>
20260 * progmodes/cc-mode.el (c-before-hack-hook)
20261 (c-postprocess-file-styles): Give invocation of `c-set-style'
20262 DONT-OVERRIDE parameter of t. Already set style variables will
20263 thus not be overridden by style settings given by `c-file-syle'.
20265 * files.el (hack-local-variables-filter): Remove entries with
20266 duplicate keys from `file-local-variables-alist'.
20268 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20270 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20271 x-set-selection if display-selections-p returns nil for the
20274 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20276 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20278 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20280 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20281 Accept nil in addition to a regexp.
20282 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20283 Accept nil in addition to a regexp.
20284 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20285 buffers that have an associated file. Handle nil values of
20286 desktop-buffers-not-to-save and desktop-files-not-to-save.
20289 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20290 (x-disown-selection-internal): New functions.
20292 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20294 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20296 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20297 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20299 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20301 * simple.el (set-mark): Revert last change.
20303 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20305 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20306 rendering of pngs is not possible instead of messaging a long
20309 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20311 * w32-fns.el (x-selection-owner-p): New function.
20313 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20314 (mouse-yank-at-click, mouse-yank-primary):
20315 If select-active-regions is non-nil, deactivate the mark before
20318 * simple.el (deactivate-mark, set-mark): Only save selection if we
20321 2009-07-17 Kenichi Handa <handa@m17n.org>
20323 * case-table.el (describe-buffer-case-table): Fix for the case
20324 that KEY is a cons.
20326 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20328 * vc-rcs.el (vc-rcs-find-file-hook):
20329 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20331 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20333 * net/tramp.el (tramp-wait-for-output): Handle the case when
20334 commands do not return a newline but a null byte before the shell
20337 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20339 * term/ns-win.el (ns-set-alpha): Don't declare.
20340 (ns-set-background-alpha): Remove function.
20342 2009-07-16 Kevin Ryde <user42@zip.com.au>
20344 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20345 y-or-n-p, for safety.
20347 2009-07-16 Richard Stallman <rms@gnu.org>
20349 * files.el (auto-save-mode): If buffer-saved-size is -2,
20352 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20353 (rmail-retry-ignored-headers): Add more uninteresting fields.
20355 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20357 * net/rcirc.el (rcirc): Use history variables.
20358 (rcirc-server-name-history, rcirc-nick-name-history)
20359 (rcirc-server-port-history): New variables.
20361 2009-07-15 Kenichi Handa <handa@m17n.org>
20363 * international/mule-cmds.el (set-language-environment-charset):
20364 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20367 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20368 Delete unibyte-display.
20370 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20372 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20374 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20376 * simple.el (deactivate-mark): Optional argument FORCE.
20377 (set-mark): Use deactivate-mark.
20379 * info.el (Info-search): No need to check transient-mark-mode
20380 before calling deactivate-mark.
20382 * select.el (x-set-selection): Doc fix.
20383 (x-valid-simple-selection-p): Allow buffer values.
20384 (xselect--selection-bounds): Handle buffer values.
20385 Suggested by David De La Harpe Golden.
20387 * mouse.el (mouse-set-region, mouse-drag-track):
20388 Call copy-region-as-kill before setting the mark, to let
20389 select-active-regions work.
20391 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20393 * simple.el (deactivate-mark): If select-active-regions is
20394 non-nil, copy the selection data into a string.
20395 (activate-mark): If select-active-regions is non-nil, set the
20396 selection to the current buffer.
20397 (set-mark): Update selection if select-active-regions is non-nil.
20399 * select.el (x-valid-simple-selection-p): Allow buffer values.
20401 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20403 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20404 and more featureful message-mode.
20406 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20408 * select.el (x-set-selection): Doc fix.
20409 (x-valid-simple-selection-p): Disallow selection data consisting
20410 of a list or cons of integers, since that is not used.
20411 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20412 (xselect-convert-to-string, xselect-convert-to-length)
20413 (xselect-convert-to-filename, xselect-convert-to-charpos)
20414 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20416 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20418 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20419 output in -break-info command (Emacs bug #3794).
20421 2009-07-14 Glenn Morris <rgm@gnu.org>
20423 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20424 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20425 (edebug-print-length, edebug-print-level, edebug-print-circle)
20426 (edebug-sit-for-seconds, edebug-view-outside)
20427 (edebug-bounce-point, edebug-set-global-break-condition)
20428 (edebug-Go-nonstop-mode, edebug-trace-mode)
20429 (edebug-Trace-fast-mode, edebug-continue-mode)
20430 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20431 (edebug-visit-eval-list): Doc fixes.
20433 * subr.el (def-edebug-spec): Doc fix.
20435 2009-07-14 Kenichi Handa <handa@m17n.org>
20437 * international/characters.el: Fix setting of category ?C.
20439 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20441 * term/ns-win.el (x-select-font): defalias x-select-font to
20442 ns-popup-font-panel instead of generate-fontset-menu.
20444 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20446 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20448 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20450 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20451 the PK\003\004 header (Bug#3770).
20453 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20455 * pcomplete.el (pcomplete-comint-setup): Check for
20456 shell-dynamic-complete-filename too.
20458 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20460 * simple.el (temporary-goal-column): Change the value for
20461 line-move-visual to a cons cell.
20462 (line-move-visual): Record or set the window hscroll, if
20463 necessary (Bug#3494).
20464 (line-move-1): Handle cons value of temporary-goal-column.
20466 2009-07-11 Kenichi Handa <handa@m17n.org>
20468 * international/mule-diag.el (describe-character-set): Don't show
20471 2009-07-10 Sam Steingold <sds@gnu.org>
20473 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20474 Omake sometimes indents the errors it prints, so allow all
20475 regexps to start with spaces.
20477 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20479 * cus-edit.el (customize-changed-options-previous-release):
20480 Bump value to 22.1. (Bug#3804)
20482 2009-07-08 Sam Steingold <sds@gnu.org>
20484 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20485 to be a cons cell (test . ignored-directory) to selectively ignore
20486 some directories depending on the location of the search.
20488 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20490 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20491 remote user is root, on the local host.
20492 (tramp-local-host-p): Either the local user or the remote user
20493 must be root. (Bug#3771)
20495 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20497 * progmodes/gdb-mi.el (gdb): Remove description of
20498 gdb-use-separate-io-buffer.
20499 (menu): Don't allow toggling of or enable
20500 gdb-use-separate-io-buffer from menubar.
20502 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20504 * mail/unrmail.el (unrmail): Make sure the message ends with two
20505 newlines (Bug#3769).
20507 2009-07-08 Glenn Morris <rgm@gnu.org>
20509 * calendar/calendar.el (calendar-current-date): Rework previous change.
20511 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20513 * calendar/calendar.el (calendar-current-date):
20514 Add an optional argument giving an offset from today.
20516 2009-07-08 Glenn Morris <rgm@gnu.org>
20518 * tutorial.el (tutorial--describe-nonstandard-key):
20519 Adjust the message for when a key has been unbound.
20520 (help-with-tutorial): Hide the arch-tag.
20522 2009-07-08 Kenichi Handa <handa@m17n.org>
20524 * international/fontset.el (setup-default-fontset): For each
20525 script, append (not set) font-specs.
20527 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20530 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20532 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20533 -data-list-register-names to ...
20534 (gdb-starting): ... here because GDB 7.0 requires execution to
20535 have started when using this MI command.
20536 (gdb-set-header): New function to distinguish select and
20537 unselected tabs in gdb buffers.
20538 (gdb-propertize-header): New macro that uses gdb-set-header.
20539 (gdb-breakpoints-header, gdb-locals-header): Use it.
20540 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20542 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20544 * Makefile.in (ELCFILES): Remove fadr.elc.
20546 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20548 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20549 may contain frame information, so `string-match' should be used.
20550 (gdb-update): Disassembly is invalidated through
20551 `gdb-get-selected-frame'.
20552 (gdb-pad-string): New function to pad string with spaces.
20553 (gdb-invalidate-disassembly): Invalidate only if the buffer
20555 (gdb-disassembly-handler-custom): Column alignment.
20556 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20558 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20560 (gdb-frame-handler): Match convention to for disassembly buffer
20562 (gdb-stack-list-frames-handler): Rewritten without regexps.
20563 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20564 not highlight breakpoints without line information.
20565 (gdb-input): Add trailing newline to command.
20567 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20569 (gdb-breakpoints-list-handler-custom): Replacement for
20570 `gdb-break-list-handler'. Using real parser instead of regexps
20572 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20573 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20574 to place breakpoints.
20575 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20577 (gdb-disassembly-handler-custom): Show overlay arrow.
20578 (gdb-disassembly-place-breakpoints): Show breakpoints in
20579 disassembly buffer.
20580 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20581 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20582 instead of parsing breakpoints buffer. Fixed old menu references
20587 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20588 (gdb-memory-address): New variable which holds top address of
20589 memory page shown in memory buffer.
20590 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20591 New customization variables.
20593 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20594 display the memory buffer.
20595 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20596 buffer display parameters.
20597 (def-gdb-memory-format, gdb-memory-format-binary)
20598 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20599 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20600 Functions for setting memory buffer format.
20601 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20602 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20603 unit size used in memory buffer.
20604 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20605 Switch to next/previous page of memory buffer.
20606 Now using (bindat-get-field) instead of fadr functions.
20608 2009-07-07 Sam Steingold <sds@gnu.org>
20610 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20611 non-top-level files.
20613 2009-07-07 Kenichi Handa <handa@m17n.org>
20615 * international/mule-cmds.el (reset-language-environment):
20616 Put the highset priority to the charset iso-8859-1.
20618 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20620 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20621 to the end of the line when locating the block (Bug#700).
20623 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20625 * net/tramp.el (tramp-handle-write-region): Flush file properties
20626 in case of short track.
20628 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20630 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20631 Coded custom representation of verilog error regular expressions
20632 to work with Emacs-22's new format.
20633 (verilog-error-regexp-xemacs-alist): Coded custom representation
20634 of verilog error regular expressions to work with XEmacs format.
20635 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20636 error recognition into XEmacs.
20637 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20638 error recognition into Emacs-22.
20640 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20642 * woman.el: Remove stand-alone closing parentheses.
20643 (woman-file-name, woman2-format-paragraphs)
20644 (woman-leave-blank-lines): Code cleanup.
20645 (woman-use-own-frame): Change default to nil.
20646 (woman-italic, woman-bold, woman-unknown, woman-addition):
20647 Change defaults to inherit from default faces.
20648 (woman2-process-escapes): Consume the newline after a stand-alone
20649 filler character (Bug#3651).
20651 2009-07-06 Glenn Morris <rgm@gnu.org>
20653 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20654 (top-level): Move provide to the end.
20655 (ffap): Remove defunct URL from custom group.
20657 * subr.el (eval-after-load): Doc fix.
20659 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20661 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20662 `calc-embedded-word' is called twice.
20664 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20666 * files.el (find-alternate-file-other-window, find-alternate-file):
20667 Obey confirm-nonexistent-file-or-buffer.
20669 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20671 * dired-aux.el (dired-show-file-type): Handle remote files.
20673 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20675 * desktop.el (desktop-globals-to-save):
20676 Add file-name-history (Bug#2750).
20678 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20680 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20682 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20684 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20685 property on entire argument since this is what eshell-lisp-command
20688 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20690 * net/tramp-gvfs.el (tramp-gvfs-methods)
20691 (tramp-gvfs-zeroconf-domain)
20692 (tramp-bluez-discover-devices-timeout): Add version flag.
20693 (tramp-gvfs-handler-mounted-unmounted)
20694 (tramp-gvfs-connection-mounted-p): Polish handling of
20695 incompatibilities between GVFS 0.2 and 1.0.
20697 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20699 * cus-start.el (all): Add make-pointer-invisible.
20701 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20703 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20704 formatted correctly.
20706 2009-07-02 Juri Linkov <juri@jurta.org>
20708 * info.el: Virtual Info files and nodes.
20709 (Info-virtual-files, Info-virtual-nodes): New variables.
20710 (Info-current-node-virtual): New variable.
20711 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20713 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20714 to check for a virtual file instead of checking a fixed list
20716 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20717 instead of ad-hoc processing of "dir" and (apropos history toc).
20718 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20719 instead of ad-hoc processing of "dir" and (apropos history toc).
20720 Reread a file when moving from a virtual node.
20721 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20722 (Info-directory-toc-nodes, Info-directory-find-file)
20723 (Info-directory-find-node): New functions.
20724 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20725 (Info-history): Move part of code to
20726 `Info-history-find-node'.
20727 (Info-history-toc-nodes, Info-history-find-file)
20728 (Info-history-find-node): New functions.
20729 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20730 (Info-toc): Move part of code to `Info-toc-find-node'.
20731 (Info-toc-find-node): New function.
20732 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20733 the current Info file name to references because now the node
20734 "*TOC*" belongs to the same Info manual.
20735 (Info-toc-build): Rename from `Info-build-toc'.
20736 (Info-toc-nodes): Rename input argument `file' to `filename'.
20737 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20738 instead of ad-hoc processing of ("dir" apropos history toc).
20739 (Info-index-nodes): Use Info-virtual-file-p
20740 to check for a virtual file instead of checking a fixed list
20742 (Info-index-node): Add check for `Info-current-node-virtual'.
20743 Raise `save-match-data' higher up the tree to contain
20744 `search-forward' too (bug fix).
20745 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20746 (Info-virtual-index-nodes): New variable.
20747 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20748 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20749 (Info-apropos-file, Info-apropos-nodes): New variables.
20750 (Info-apropos-toc-nodes, Info-apropos-find-file)
20751 (Info-apropos-find-node, Info-apropos-matches): New functions.
20752 (info-apropos): Move part of code to `Info-apropos-find-node' and
20753 `Info-apropos-matches'.
20754 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20755 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20756 for a virtual file instead of checking a fixed list of node names.
20758 * simple.el (async-shell-command): New command.
20760 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20762 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20763 instead of `mount-info'.
20765 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20767 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20768 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20770 2009-07-02 Kenichi Handa <handa@m17n.org>
20772 * international/mule.el (set-keyboard-coding-system): Force *-unix
20773 coding-system to avoid eol conversion.
20775 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20777 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20778 Add handler for `process-file', `shell-command' and
20779 `start-file-process'.
20780 (tramp-gvfs-handle-shell-command)
20781 (tramp-gvfs-handle-start-file-process)
20782 (tramp-gvfs-handle-process-file): New defuns.
20783 (tramp-synce-list-devices): Simplify check for existence of property.
20785 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20787 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20789 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20791 * language/korean.el (set-language-info-alist): Add korean-cp949,
20794 2009-07-01 Kenichi Handa <handa@m17n.org>
20796 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20798 * international/encoded-kb.el: Deleted.
20800 * international/mule.el (set-keyboard-coding-system): Perform the
20801 necessary setup here instead of calling encoded-kbd-setup-display.
20803 2009-07-01 Glenn Morris <rgm@gnu.org>
20805 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20807 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20809 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20811 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20813 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20814 Handle also the 'rename case, when setting file modes. (Bug#3712)
20815 (tramp-default-file-modes): Remove execute permissions.
20817 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20818 (top): Add a default for "synce" in `tramp-default-user-alist'.
20819 Add completion function for "synce" method.
20820 (tramp-hal-service, tramp-hal-path-manager)
20821 (tramp-hal-interface-manager, tramp-hal-interface-device):
20823 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20824 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20827 * net/trampver.el: Update release number.
20829 2009-06-30 Kenichi Handa <handa@m17n.org>
20831 * international/fontset.el (setup-default-fontset): Add CJK fonts
20832 for symbols and the other miscellaneous characters.
20834 * language/korea-util.el (setup-korean-environment-internal):
20835 Make char-width-table suitable for Korean environments.
20836 (exit-korean-environment): Cancel above.
20838 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20839 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20840 setup-function to make char-width-table suitable for respective
20841 environments, and an exit-function to cancel that.
20843 * language/japan-util.el (setup-japanese-environment-internal):
20844 Call use-cjk-char-width-table with arg `ja_JP'.
20846 * international/characters.el (cjk-char-width-table): Delete it.
20847 (cjk-char-width-table-list): New variable.
20848 (use-cjk-char-width-table): New arg local-name.
20849 (use-default-char-width-table): Fix for the case that Emacs is
20850 already using the default char-width-table.
20852 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20854 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20855 modes mandatory. (Bug#3712)
20857 2009-06-29 Alan Mackenzie <acm@muc.de>
20859 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20860 correction between the visible width of TABs and their number of bytes.
20862 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20864 * server.el (server-buffer-done): Prevent kill-buffer from
20865 prompting by clearing the buffer modification flag (Bug#3696).
20867 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20869 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20870 (verilog-endcomment-reason-re): Support unique case and priority case.
20871 (verilog-basic-complete-re): Support localparam lineup.
20872 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20873 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20875 (verilog-leap-to-case-head): Now support *nested* unique &
20876 priority case statements.
20877 (verilog-auto-lineup): Make just declarations the default (as it
20879 (verilog-leap-to-case-head): Support priority/unique case statements.
20880 (verilog-auto-lineup): Rework to give users radio buttons to
20881 select the various styles of automatic lineup.
20882 (verilog-error-regexp-alist): Rework to support the XEmacs style
20883 of error regular expressions from compilers, lint tools &
20884 simulators. Note that GNU Emacs has made it impossible for a mode
20885 to load such things.
20886 (electric-verilog-terminate-line, verilog-indent-declaration)
20887 (verilog-auto-wiure): Rework for radio button selection of
20888 auto-lineup selection of specification of auto lineup.
20889 (verilog-beg-of-statement-1): Redesign to support proper operation
20890 in additional code, based on testing with auto-lineup.
20891 (verilog-calculate-indent, assignments & declarations)
20892 (verilog-backward-token): Enhance to support auto-lineup of
20893 assignments & declarations.
20894 (verilog-in-directive-p, verilog-at-struct-p): New function for
20895 easy test of whether we are.
20896 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20897 to support safe execution at almost anyline.
20898 (verilog-calc-1): Properly support indenting deep inside generate
20900 (verilog-init-font): Remove definition & use of verilog-init-font,
20901 as it is redundant with font-lock-defaults.
20902 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20903 to avoid circular calls if syntax-ppss is a function (as is the
20904 case now in 22.x GNU Emacs) as that function would sometimes call
20905 itself, leading to (nearly) infinite recursion.
20906 (verilog-ovm-begin-re, verilog-ovm-end-re)
20907 (verilog-ovm-statement-re, verilog-leap-to-head)
20908 (verilog-backward-token): Add support for OVM macros. Some are
20909 complete statements, and others open and close scopes like begin
20911 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20912 (verilog-defun-level-generate-only-re): Really fix the defun-list
20914 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20915 coverpoint, constraint and cross statements.
20916 (verilog-defun-level-list, verilog-generate-defun-level-list)
20917 (verilog-all-defun-level-list): Redo these specifications - it is
20918 too hard to support eval-when compile aggregation of lists also
20919 built at when-compile time.
20920 (verilog-defun-level-list): Place defconsts of variables used in
20921 building regular expressions which are built in eval-when-compile
20922 bodies in the same eval-when-compile body to facilitate compile
20924 (verilog-beg-block-re-ordered): Support indenting
20925 virtual/protected tasks and functions.
20926 (verilog-defun-level-list, verilog-in-generate-region-p)
20927 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20928 indentation of some module items (generate items).
20929 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20930 across virtual/protected tasks and functions.
20932 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20934 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20935 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20936 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20937 in concatenations. Reported by Yishay Belkind.
20938 (verilog-auto-ascii-enum): Support one-hot state machines in
20939 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20940 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20941 modport in AUTOINST and add vl-modport for users.
20942 Reported by David Rogoff.
20943 (verilog-auto-inout-module, verilog-auto-inst)
20944 (verilog-decls-get-interfaces, verilog-insert-definition)
20945 (verilog-insert-one-definition, verilog-read-decls)
20946 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20947 (verilog-sig-modport, verilog-signals-combine-bus)
20948 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20949 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20950 Suggested by David Rogoff.
20951 (verilog-repair-open-comma): Fix non-insertion of comma when
20952 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20953 (verilog-make-width-expression): Simplify [A-1:0] expression
20954 widths to just {A{1'b0}}.
20955 (verilog-mode): Cleanup checkdoc warnings.
20956 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20957 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20958 inputs/outputs or data type. Suggested by Vasu Kandadi.
20959 (next-error-last-buffer): Fix byte-compiler warning.
20960 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20961 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20962 or shell command text during AUTO expansion. Suggested by Tad Truex.
20963 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20964 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20965 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20966 in AUTOINOUT. Reported by Matthew Lovell.
20967 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20968 causing use of <= assignments. Reported by Alex Reed.
20969 (verilog-read-decls): Fix triand, trior, wand, wor to be
20970 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20971 (verilog-extended-complete-re): Support import "DPI-C" functions.
20972 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20973 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20974 (verilog-insert-date, verilog-insert-year)
20975 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20976 Windows systems. Reported by Michael Potts.
20977 (verilog-read-module-name): Fix AUTOINST when the child module
20978 declaration's name is a tick define. Reported by Elliot Mednick.
20979 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20980 passed to next parameter's definition. Reported by Bruce T.
20981 (verilog-read-decls): Fix detecting "parameter int" when using
20982 AUTOINSTPARAM. Reported by Bruce T.
20983 (verilog-goto-defun): Fix goto not finding modules unless first
20984 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20985 (verilog-mode): Expand -f flag arguments on entry to mode so
20986 verilog-goto-defun will work. Reported by Lawrence Butcher.
20987 (verilog-getopt): Expand environment variables in -f file
20988 arguments. Suggested by Lawrence Butcher.
20989 (verilog-set-define): Fix "Symbol's value as variable is void"
20990 when reading enumerations.
20991 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20992 Suggested by Stephen Peltan.
20993 (verilog-read-defines): Fix reading of enumerations in include
20994 files. Reported by Steve Peltan.
20996 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20998 * files.el (trash-directory): Fix defcustom type.
21000 2009-06-28 Juri Linkov <juri@jurta.org>
21002 * help-fns.el (describe-function-1): Correctly locate adviced
21003 functions in hyperlink (Bug#2438).
21005 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21007 * files.el (trash-directory): Change default to nil.
21008 (move-file-to-trash): If trash-directory is nil and
21009 system-move-file-to-trash is unbound, perform freedesktop-style
21012 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21014 * files.el (move-file-to-trash): Add freedesktop trash
21017 2009-06-28 Glenn Morris <rgm@gnu.org>
21019 * autorevert.el (global-auto-revert-non-file-buffers)
21020 (global-auto-revert-mode): Doc fixes.
21022 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21024 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21026 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21028 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21029 opened an X connection before calling x-get-resource (Bug#3194).
21031 * play/doctor.el: Remove reference to obsolete website.
21032 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21034 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21036 Remove find-file-not-found-hook VC method. (Bug#2757)
21037 * vc-hooks.el (vc-file-not-found-hook)
21038 (vc-default-find-file-not-found-hook): Remove functions.
21039 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21040 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21043 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21045 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21047 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21048 compatibility function for `looking-back'.
21050 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21051 Use `ispell-looking-back'.
21053 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21055 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21056 rather than `filename'.
21058 2009-06-23 Miles Bader <miles@gnu.org>
21060 * face-remap.el (text-scale-set): New function.
21062 2009-06-23 Glenn Morris <rgm@gnu.org>
21064 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21066 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21068 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21070 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21072 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21073 Simplify Persian conditionals.
21075 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21076 variable `filename'.
21078 * comint.el (comint-insert-input): Doc fix.
21080 * Makefile.in (ELCFILES): Fix typo in previous change.
21082 2009-06-23 Miles Bader <miles@gnu.org>
21084 * cus-start.el: Add entry for `recenter-redisplay'.
21086 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21088 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21089 Add an optional argument for the backend, use it instead of
21090 calling vc-backend.
21091 (vc-mode-line): Add an optional argument for the backend.
21092 Pass the backend to vc-state and vc-working-revision. Move code for
21093 special handling for vc-state being a buffer to ...
21095 * vc-rcs.el (vc-rcs-find-file-hook):
21096 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21098 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21099 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21100 vc-stay-local-p and vc-mode-line calls.
21102 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21103 (vc-cvs-diff, vc-cvs-annotate-command)
21104 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21105 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21106 vc-mode-line calls.
21108 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21110 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21111 backend when calling vc-mode-line.
21112 (vc-register): Do not create a closure for calling the vc register
21113 function, call it directly.
21115 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21117 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21118 to make it obvious item can be clicked.
21120 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21122 2009-06-23 Kenichi Handa <handa@m17n.org>
21124 * language/korea-util.el (korean-key-bindings): Change the binding
21125 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21128 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21130 Sync with Tramp 2.1.16.
21132 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21134 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21135 when a loading of a package fails. Completion function for rsync
21136 is `tramp-completion-function-alist-ssh'.
21137 (all): Replace all calls of `split-string' and
21138 `tramp-split-string' by `tramp-compat-split-string'.
21139 (tramp-default-method): Use `tramp-compat-process-running-p'.
21140 (tramp-default-proxies-alist): Allow also Lisp forms.
21141 (tramp-remote-path): Add choice "Private Directories".
21142 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21143 (tramp-domain-regexp): Allow also "-", "_" and ".".
21144 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21145 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21146 (tramp-debug-message): Insert header line in debug buffer.
21147 (tramp-handle-directory-files-and-attributes-with-stat):
21148 Care about filenames with spaces, or starting with "-".
21149 (tramp-handle-dired-uncache): New defun.
21150 (tramp-handle-insert-directory): Don't flush the directory from
21151 cache, this is handled by `dired-uncache' now.
21152 (tramp-handle-insert-file-contents): Improve error handling.
21153 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21154 Quote `tramp-end-of-output'.
21155 (tramp-action-password): Improve trace message.
21156 (tramp-check-for-regexp): Both echoes must be present, before removing.
21157 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21158 (tramp-compute-multi-hops): Eval cons cells of
21159 `tramp-default-proxies-alist'.
21160 (tramp-maybe-open-connection): Use the same command pattern for
21161 first hop and further hops.
21162 (tramp-wait-for-output): Remove handling of newlines.
21163 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21164 (tramp-split-string): Remove function. It is handled in
21167 * net/tramp-cmds.el (tramp-bug):
21168 Recommend `tramp-cleanup-all-connections' in the bug mail.
21170 * net/tramp-compat.el (tramp-compat-split-string)
21171 (tramp-compat-process-running-p): New defuns.
21173 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21174 for `dired-uncache'.
21176 * net/tramp-gvfs.el: New package.
21178 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21179 Add handler for `dired-uncache'.
21180 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21182 * net/trampver.el: Update release number. Make version check fit
21185 2009-06-22 Jim Meyering <meyering@redhat.com>
21187 Automatically handle .xz suffix (XZ-compressed files), too.
21188 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21189 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21191 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21192 Nick Roberts <nickrob@snap.net.nz>
21194 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21195 repository (http://sphinx.net.ru/hg/gdb-mi/).
21197 2009-06-22 Glenn Morris <rgm@gnu.org>
21199 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21200 `mode' and `eval' entries. (Bug#3430)
21202 * Makefile.in (ELCFILES): Add fadr.elc.
21204 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21205 differing behavior of \n and ^ in strings. (Bug#3385)
21207 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21209 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21211 (lisp-indent-function): Make it a defcustom.
21213 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21215 * progmodes/gdb-ui.el: Replace with ...
21216 * progmodes/gdb-mi.el: ... this file.
21217 * progmodes/gud.el: Modify for gdb-mi.el.
21219 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21221 * fadr.el: New file.
21223 See ChangeLog.14 for earlier changes.
21225 ;; Local Variables:
21229 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21231 This file is part of GNU Emacs.
21233 GNU Emacs is free software: you can redistribute it and/or modify
21234 it under the terms of the GNU General Public License as published by
21235 the Free Software Foundation, either version 3 of the License, or
21236 (at your option) any later version.
21238 GNU Emacs is distributed in the hope that it will be useful,
21239 but WITHOUT ANY WARRANTY; without even the implied warranty of
21240 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21241 GNU General Public License for more details.
21243 You should have received a copy of the GNU General Public License
21244 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.