1 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
3 * replace.el (replace-search-function)
4 (replace-re-search-function): New vars.
5 (perform-replace): Use them.
7 * longlines.el (longlines-re-search-forward): New function.
8 (longlines-mode): Bind replace-search-function and
9 replace-re-search-function, to ensure that replacement commands
10 treat newlines as spaces.
11 (longlines-show-effect): Default to a pilcrow sign.
13 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
15 * help.el (function-called-at-point):
16 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
17 even when calling find-tag-default.
19 2008-06-06 Daniel Colascione <danc@merrillpress.com>
21 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
22 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
23 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
24 (nxml-fontify-buffer, nxml-do-fontify):
25 Remove obsolete variables and functions.
26 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
27 (nxml-degrade, nxml-after-change, nxml-after-change1)
28 (nxml-extend-region, nxml-extend-after-change-region)
29 (nxml-extend-after-change-region1, nxml-fontify-matcher)
30 (nxml-toggle-char-ref-extra-display): Use font-lock, and
31 font-lock-extend-region-functions in particular, to fontify
33 (nxml-debug-region): New debugging helper function.
35 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
36 (nxml-scan-after-change, nxml-move-tag-backwards):
37 Adapt for font-lock changes.
39 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
40 (nxml-debug-set-inside, nxml-debug-clear-inside):
41 New debugging functions.
42 (nxml-with-degradation-on-error): New helper macro.
44 2008-06-06 Martin Rudalics <rudalics@gmx.at>
46 * window.el (display-buffer): Remove dead call to get-lru-window.
48 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
50 * mail/sendmail.el (mail-interactive): Change default.
52 2008-06-05 John Paul Wallington <jpw@pobox.com>
54 * bindings.el (completion-ignored-extensions):
55 Add .p64fsl, .d64fsl, and .dx64fsl.
57 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
59 * ffap.el (ffap-prompter): Don't use the region.
61 2008-06-05 Sam Steingold <sds@gnu.org>
63 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
64 subdirectory to be registered.
66 2008-06-05 Martin Rudalics <rudalics@gmx.at>
68 * window.el (display-buffer-function, special-display-p)
69 (special-display-buffer-names, special-display-regexps)
70 (special-display-function, same-window-p, same-window-buffer-names)
71 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
72 (pop-up-frame-function, pop-up-windows, even-window-heights)
73 (split-window-preferred-function, split-height-threshold)
74 (window--display-buffer-1, display-buffer, pop-to-buffer):
75 Move from window.c and buffer.c.
76 (window--splittable-p, window--try-to-split-window)
77 (window--frame-usable-p, window--display-buffer-2)
78 (window--even-window-heights): New functions.
79 (split-width-threshold): New option.
80 (split-window-preferred-horizontally): Remove.
82 * cus-start.el: Remove corresponding declarations.
84 2008-06-05 Sam Steingold <sds@gnu.org>
86 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
87 an error on modified buffers.
89 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
91 * progmodes/etags.el (tags-verify-table): Be careful to use and update
92 tags-file-name and tags-table-list from the right buffer.
93 (tags-table-check-computed-list, tags-table-extend-computed-list)
94 (find-tag-noselect): Use with-current-buffer.
96 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
99 * minibuffer.el (minibuffer-local-must-match-filename-map):
100 Declare obsolete alias for the old name.
102 * abbrev.el (unexpand-abbrev): Better preserve markers.
104 2008-06-05 Glenn Morris <rgm@gnu.org>
106 * emacs-lisp/autoload.el (autoload-rubric): New function,
107 extracted from autoload-ensure-default-file.
108 (autoload-ensure-default-file): Use autoload-rubric.
110 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
111 (custom-dependencies-no-scan-regexp): New variable.
112 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
113 Don't scan files matching custom-dependencies-no-scan-regexp.
114 Disable undo in the output buffer. Remove kept-new-versions wackiness.
116 * finder.el (finder-headmark): Initialize and add doc string.
117 (generated-finder-keywords-file): Doc fix.
118 (finder-no-scan-regexp): New variable.
119 (finder-compile-keywords): Use a single let binding.
120 Disable undo in the output buffer. Use autoload-rubric.
121 Use mapc rather than mapcar. Don't scan files matching
122 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
123 rather than concat. Use directory-files to do regexp matching.
124 No need to require jka-compr.
125 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
126 (finder-list-matches): Disable undo.
127 (finder-commentary): Use let rather than let*. Disable undo.
128 (finder-current-item): Use zerop.
129 (finder-mode): Use define-derived-mode.
130 (finder-exit): Doc fix. Use dolist.
132 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
133 (custom-deps): Don't require $(lisp)/cus-load.el.
134 (custom-deps, finder-data): Don't depend on autoloads.
135 Should not be needed now, and doing so was causing make install to
136 re-dump emacs post-bootstrap.
137 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
138 mid-build forces some things to be rebuilt.
140 2008-06-05 Miles Bader <miles@gnu.org>
143 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
144 (face-remap-remove-relative): Renamed from
145 `remove-relative-face-remapping'.
146 (face-remap-reset-base): Renamed from
147 `set-default-base-face-remapping'.
148 (face-remap-set-base): Renamed from `set-base-face-remapping'.
149 (text-scale-increase): Renamed from `increase-buffer-face-height'.
150 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
151 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
153 * face-remap.el (variable-pitch-mode): Autoload.
155 2008-06-04 Sam Steingold <sds@gnu.org>
157 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
158 Generate extra status headers for a Mercurial tree.
160 2008-06-04 John Paul Wallington <jpw@pobox.com>
162 * echistory.el (electric-history-map): Define within defvar.
165 * font-lock.el (font-lock-turn-off-thing-lock)
166 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
167 Use `bound-and-true-p'.
168 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
171 * international/ccl.el (define-ccl-program): Add `doc-string'
174 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
176 * face-remap.el (variable-pitch-mode): Reflow docstrings.
177 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
179 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
181 * emacs-lisp/rx.el (rx): Doc fix.
183 2008-06-04 Markus Triska <markus.triska@gmx.at>
185 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
187 2008-06-04 Miles Bader <miles@gnu.org>
189 * face-remap.el (adjust-buffer-face-height): New function.
190 Add autoloaded keybindings in ctl-x-map.
191 (increase-buffer-face-height, decrease-buffer-face-height):
192 Simplify interactive spec to just "p". Remove autoloaded keybindings.
194 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
196 * simple.el (line-move-1): If we did not move as far as desired,
197 ensure that point-left and point-entered hooks are called.
199 2008-06-03 Sam Steingold <sds@gnu.org>
201 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
203 2008-06-03 John Paul Wallington <jpw@pobox.com>
205 * progmodes/make-mode.el (makefile-cleanup-continuations)
206 (makefile-warn-suspicious-lines, makefile-warn-continuations):
207 Use `derived-mode-p'.
209 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
211 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
214 2008-06-03 Miles Bader <miles@gnu.org>
216 * face-remap.el: New file.
217 * Makefile.in (ELCFILES): Add face-remap.elc.
219 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
221 * progmodes/flymake.el (flymake-process-filter): Make sure the source
224 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
225 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
226 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
227 * obsolete/auto-show.el, obsolete/hscroll.el:
228 Remove packages that were obsolete in Emacs-20, or that were obsolete
229 in Emacs-21 and do not contain any more code.
231 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
232 vc-client-mode is not set.
234 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
235 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
237 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
238 yet a bit more clever at distinguishing / from /.
240 2008-06-03 Kenichi Handa <handa@m17n.org>
242 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
244 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
246 * language/hanja-util.el: New file.
248 2008-06-03 Glenn Morris <rgm@gnu.org>
250 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
251 Check that end-of-word follows "type".
253 2008-06-02 Daiki Ueno <ueno@unixuser.org>
255 * epa-file.el (epa-file-write-region): Write the entire buffer
256 content if START is nil.
258 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
260 * select.el (x-get-selection): Fix typo.
262 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
264 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
265 (describe-char): Use `looking-at-p', `string-match-p' when possible.
267 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
269 * tar-mode.el (tar-header-block-summarize): Ensure one space around
272 2008-05-31 John Paul Wallington <jpw@pobox.com>
274 * help-fns.el (describe-variable-custom-version-info):
275 Handle dotted `package-version' info.
277 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
279 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
281 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
283 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
284 names and improve support for unregistered files.
286 2008-05-31 Glenn Morris <rgm@gnu.org>
288 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
289 Remove shell variable `elc'. Split tests to hopefully be more portable.
290 Fix `sel' assignment.
292 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
294 * minibuffer.el (completion-table-dynamic): Doc fix.
296 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
298 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
299 Try and return `unregistered' when applicable.
301 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
302 Don't encourage naming variables with "-flag".
304 2008-05-30 Glenn Morris <rgm@gnu.org>
306 * Makefile.in (update-elclist): Hide the warning when it does not apply,
307 make it milder when it does.
308 (autogen-clean): New target.
309 (maintainer-clean): Use autogen-clean.
311 * calendar/diary-lib.el (diary-display-function): New name for
312 diary-display-hook. Keep old name as obsolete alias. Doc fix.
313 Change custom type and version.
314 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
315 (diary-fancy-display): Doc fixes.
316 (diary-list-entries, diary-include-other-diary-files)
317 (diary-mail-entries):
318 Use diary-display-function rather than diary-display-hook.
320 * calendar/appt.el (appt-check): Use diary-display-function rather than
322 * calendar/cal-x.el (calendar-dedicate-diary): Update for
323 diary-display-function replacing diary-display-hook.
324 * org/org-agenda.el (org-get-entries-from-diary): Also set
325 diary-display-function.
327 * calendar/cal-html.el (cal-html-list-diary-entries):
328 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
329 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
330 argument of diary-list-entries rather than setting diary-display-hook.
332 2008-05-30 Kenichi Handa <handa@m17n.org>
334 * international/mule-conf.el (utf-8-with-signature): Renamed from
336 (utf-8-auto): Adjusted for the above change.
338 * international/mule-diag.el (describe-font): Don't check fontset
339 here, and just call font-info. Get the default font by from the
342 2008-05-29 Kenichi Handa <handa@m17n.org>
344 * international/mule-conf.el (utf-8-sig, utf-8-auto):
347 * international/mule.el (define-coding-system): Accept :bom for utf-8.
349 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
351 * international/utf-7.el (utf-7-encode): Use the right escape char
352 depending on imap/nonimap encoding.
354 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
356 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
358 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
360 * icomplete.el (icomplete-prospects-height): Add :group.
362 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
364 * icomplete.el (icomplete-prospects-length): Make obsolete.
365 (icomplete-prospects-height): New var.
366 (icomplete-completions): Use it.
368 2008-05-29 David Kastrup <dak@gnu.org>
370 * autoinsert.el (auto-insert): Add :link.
372 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
374 * tar-mode.el (tar-header): New field `header-start'.
375 (tar-header-block-tokenize): Set it when useful.
376 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
377 (tar-header-data-end): New function.
378 (tar-summarize-buffer): Use it.
379 (tar-next-line): Fix goal column for long usernames.
380 (tar-expunge-internal): Use header-start.
381 (tar-rename-entry): Handle ustar-style long names.
382 (tar-alter-one-field): Add optional `descriptor' argument.
383 (tar-subfile-save-buffer): Use it.
385 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
387 * tar-mode.el (tar-header): New field `header-start'.
388 (tar-header-block-tokenize): Set header-start for longlink entries.
389 (tar-expunge-internal): Use header-start to expunge longlink entries.
391 * files.el (hack-local-variables): Don't signal an error if the local
392 variable section is not properly terminated.
394 * emacs-lisp/easymenu.el (easy-menu-convert-item)
395 (easy-menu-convert-item-1): Move the duplicate-generation outside of
396 the caching so it also works for identical entries.
398 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
399 (tar-mode): Use write-region-annotate-functions rather than
400 write-contents-functions.
401 (tar-extract): Remove unused var `pos'.
402 (tar-subfile-save-buffer): Remove unused var `following-descs'.
403 (tar-mode-write-file): Remove.
404 (tar-write-region-annotate): New function.
406 * progmodes/flymake.el (flymake-save-buffer-in-file):
407 * shadowfile.el (shadow-copy-file):
408 * arc-mode.el (archive-*-write-file-member):
409 * files.el (diff-buffer-with-file):
410 * subr.el (with-temp-file): Pass nil to write-region.
411 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
413 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
416 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
419 2008-05-28 Glenn Morris <rgm@gnu.org>
421 * Makefile.in (update-elclist): Work around non-portability of "\"
422 in various implementations of echo.
424 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
426 * international/mule-diag.el (describe-current-coding-system):
427 Don't assume selection-coding-system is always defined.
429 * tar-mode.el: Use defstruct and markers.
431 (tar-header): Use defstruct. Add `data-start' field.
432 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
433 (tar-desc-data-start): Remove (now called tar-header-data-start).
434 (tar-roundup-512): New fun.
435 (tar-header-block-tokenize): Receive a buffer position rather than
436 a string. Handle @longLink here, be more careful about it.
437 Create a marker for data-start.
438 (tar-summarize-buffer): Don't handle @LongLink here any more.
439 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
440 data-start on the following entries any more.
441 (tar-chown-entry, tar-chgrp-entry): Use read-number.
443 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
444 (tar-header-offset): Remove.
445 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
446 Not permanent any more.
447 (tar-data-buffer): New var.
448 (tar-data-swapped-p, tar-change-major-mode-hook)
449 (tar-mode-kill-buffer-hook): New funs.
450 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
451 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
452 (tar-clear-modification-flags, tar-alter-one-field)
453 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
456 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
458 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
459 (vc-dir-resynch-file): ... this. Update callers.
460 Use vc-string-prefix-p. Ignore directory args.
461 (vc-string-prefix-p): CSE.
462 (vc-resynch-buffer): Restore conditional.
464 * vc-hooks.el (vc-after-save): Improve test.
465 (vc-mode-line): Fix indentation.
467 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
469 * calendar/parse-time.el (parse-time-months)
470 (parse-time-weekdays): Add long-form month and day names.
472 2008-05-27 Glenn Morris <rgm@gnu.org>
474 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
476 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
478 * vc-dispatcher.el (vc-string-prefix-p): New function.
479 (vc-dir-parent-marked-p): Use it.
481 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
483 * vc.el (Problems): Remove fixed issues.
484 (vc-expand-dirs): Avoid returning directories.
485 (vc-dir): Fix C-x v v binding.
486 (vc-make-backend-object): Fix name.
487 (vc-dir-show-fileentry): Fix docstring.
488 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
489 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
490 Reset the state for directories.
491 (vc-dir-headers): Align labels.
492 (vc-default-status-printer): Do no call prettify-state-info.
493 (vc-deduce-fileset): Replace implementation with one based on a
494 working older version.
495 (vc-next-action): Use the new form of vc-deduce-fileset.
496 Fix dealing with unregistered files.
498 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
499 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
500 (vc-dir-child-files): New function.
501 (vc-dir-node-directory): New function.
502 (vc-dir-update, vc-dir-parent-marked-p)
503 (vc-dir-children-marked-p, vc-dir-mark-all-files)
504 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
506 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
508 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
510 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
511 (diff-font-lock-keywords, diff-context->unified)
512 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
513 (diff-hunk-text, diff-find-source-location): Use it.
514 (diff-post-command-hook): Let the user edit the hunk headers.
516 2008-05-26 Andreas Schwab <schwab@suse.de>
518 * vc.el (vc-default-prettify-state-info): Fix formatting of an
521 * tar-mode.el (tar-summarize-buffer): Comment fix.
523 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
525 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
527 2008-05-26 Glenn Morris <rgm@gnu.org>
529 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
531 2008-05-25 John Paul Wallington <jpw@pobox.com>
533 * proced.el (proced-next-line, proced-previous-line):
534 Avoid calling `next-line' and `previous-line' from Lisp code.
536 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
538 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
539 Use diary-ordinal-suffix.
541 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
543 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
544 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
545 (edebug-save-displayed-buffer-points, edebug-initial-mode)
546 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
547 (edebug-print-length, edebug-print-level, edebug-print-circle)
548 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
549 (edebug-global-break-condition, edebug-sit-for-seconds):
550 Remove spurious * from defcustom docstrings.
551 (edebug-unwrap*, edebug-signal, edebug-eval-display):
552 Improve argument/docstring consistency.
553 (edebug-test-coverage, edebug-gensym, edebug-read)
554 (edebug-top-level-nonstop, edebug-eval-result-list)
555 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
556 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
557 (edebug-display-freq-count): Reflow docstrings.
558 (edebug-restore-status): Doc fix.
560 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
562 * proced.el (proced-header-line): Use the :align-to 0 feature
563 rather than computing the corresponding position manually.
564 (proced-update): Don't hardcode point-min==1.
566 2008-05-24 Alan Mackenzie <acm@muc.de>
568 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
569 if c-file-style is set to a non-string.
571 (c-neutralize-CPP-line): Surround by `save-excursion'.
572 (c-neutralize-syntax-in-CPP): Optimize for speed.
574 2008-05-24 Glenn Morris <rgm@gnu.org>
576 * Makefile.in (update-elclist): New target, to update ELCFILES.
577 (bootstrap-after): Run update-elclist.
579 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
581 * icalendar.el (icalendar-version): Increase to "0.19".
582 (icalendar--date-style): New function.
583 (icalendar--datetime-to-diary-date): Doc fix.
584 Use icalendar--date-style.
585 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
586 (icalendar--convert-yearly-to-ical)
587 (icalendar--convert-recurring-to-diary): Handle iso date style,
588 use icalendar-date-style.
590 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
592 * vc.el (vc-delete-file): Make sure the buffer is deleted and
593 vc-dir buffers are updated.
595 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
597 * vc.el (vc-delete-file): Don't try to resynch the buffer.
599 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
601 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
602 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
603 (reftex-extra-bindings): Use it.
605 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
606 away from the user-reserved keys.
608 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
610 (ada-create-keymap): Use them.
612 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
614 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
615 a properly-grouped regexp.
617 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
619 * progmodes/cap-words.el (capitalized-words-mode):
620 Fix typos in docstring.
622 2008-05-23 Kenichi Handa <handa@m17n.org>
624 * international/mule-conf.el: Don't define the charset `emacs'
625 here, just put :docstring, :short-name, and :long-name.
627 2008-05-22 Kenichi Handa <handa@m17n.org>
629 * international/mule-diag.el (font-show-log): Limit each listing
632 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
634 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
635 (gdb-annotation-rules): New entry for "thread-changed".
636 (gdb-thread-changed): New function.
638 2008-05-23 Glenn Morris <rgm@gnu.org>
640 * Makefile.in (SOURCES): Remove, unused.
641 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
642 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
643 Exclude more '*loaddefs' files.
644 (compile-always): Simplify '.elc' deletion.
646 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
648 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
649 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
651 * minibuffer.el (completion-boundaries): Change calling
652 convention, so `string' has the same semantics as in
653 try-completion and all-completions.
654 (completion-table-with-context, completion--embedded-envvar-table)
655 (completion--file-name-table)
656 (completion-pcm--find-all-completions): Adjust code accordingly.
658 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
660 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
661 prune image-mode-winprops-alist, preventing it from growing
663 (image-mode-reapply-winprops): Use it.
665 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
667 * net/netrc.el (netrc-machine): Always match if the port is not given.
669 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
671 * minibuffer.el (completion-pcm--find-all-completions):
672 Don't add pseudo-completions.
674 * icomplete.el (icomplete-eoinput): Remove.
675 (icomplete-overlay): New var to replace it.
676 (icomplete-tidy): Rewrite.
677 (icomplete-exhibit): Use an overlay.
678 (icomplete-completions): Use completion-all-sorted-completions.
679 Obey completion-ignore-case.
681 * files.el (locate-dominating-file): Accept non-existing argument.
682 (project-find-settings-file): Rewrite, using locate-dominating-file.
684 2008-05-22 Kenichi Handa <handa@m17n.org>
686 * faces.el (font-weight-table, font-slant-table, font-width-table):
687 Delete them. Don't call internal-set-font-style-table.
689 * international/mule-diag.el (font-show-log): New function.
691 * international/fontset.el (script-representative-chars): Add more
692 chars for latin. Add data for symbol.
693 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
695 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
697 * minibuffer.el (completion-all-sorted-completions): New var.
698 (completion--flush-all-sorted-completions)
699 (completion-all-sorted-completions): New functions.
700 (minibuffer-force-complete): New command.
702 2008-05-21 Glenn Morris <rgm@gnu.org>
704 * files.el (c-postprocess-file-styles): Declare for compiler.
706 * Makefile.in: Allow for parallel byte-compiling.
707 (ELCFILES): New variable.
708 (.el.elc): Remove prerequisites from suffix rule. Print a message.
709 (compile-first, compile-main, compile-last): New targets.
710 (compile-always): Simplify - delete .elc files, then `make compile'.
712 * Makefile.in (compile-calc): Use glob rather than find.
713 ($(lisp)/progmodes/cc-mode.elc): Use $@.
715 * eshell/esh-module.el: No need for cl when compiling.
717 * eshell/eshell.el (eshell-defgroup): New alias.
718 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
719 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
720 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
721 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
722 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
723 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
724 Autoload the custom group. Set generated-autoload-file.
725 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
727 * eshell/esh-module.el (eshell-load-defgroups): Remove.
728 Require esh-groups rather than loading it.
730 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
732 * proced.el (proced-header-line): New variable and new function.
733 (proced-mode): Set header-line-format.
734 (proced-update): Set proced-header-line.
735 (proced-send-signal): Use proced-header-line.
737 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
739 * macros.el (insert-kbd-macro): Use prin1-char.
741 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
743 * minibuffer.el (completion-boundaries): New function.
744 (completion--some): Delay errors.
745 (complete-with-action, completion-table-with-context):
746 Handle `boundaries' case.
747 (completion--try-word-completion): Avoid partial-completion
748 when the user hasn't entered anything yet.
749 (minibuffer-local-map, minibuffer-local-filename-completion-map)
750 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
751 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
752 Setup default keybindings.
753 (completion--embedded-envvar-re): New var.
754 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
755 (completion--file-name-table): Handle `boundaries' case.
756 (completion-pcm--pattern->regex): Avoid pathological backtracking.
757 (completion-pcm--all-completions): Add a `prefix' arg.
758 (completion-pcm--find-all-completions): New function.
759 (completion-pcm-all-completions, completion-pcm-try-completion):
762 * icomplete.el (icomplete-completions): Don't use `predicate' with
763 a table of a different type than `candidates'.
765 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
767 * proced.el (proced-goal-column): Rename from proced-procname-column.
768 (proced-goal-header-re): Rename from proced-procname-column-regexp.
769 (proced-move-to-goal-column): Rename from proced-move-to-procname.
770 (proced-header-face, proced-header-regexp): Remove.
771 (proced-font-lock-keywords): Remove proced-header-face.
772 (proced-header-alist, proced-sorting-schemes-re): New variables.
773 (proced): Rename Proced buffer to *Proced*.
774 (proced-next-line, proced-previous-line): New commands.
775 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
776 (proced-hide-processes): Do not treat first line as special.
777 (proced-header-space): New function.
778 (proced-update): Use header-line-format.
779 Initialize proced-header-alist and proced-sorting-schemes-re.
780 Set proced-goal-column. Include proced-command in mode-name.
781 (proced-send-signal): Use header-line-format for *Marked
783 (proced-sort): Restrict minibuffer completion to applicable
785 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
787 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
789 * icomplete.el (icomplete-simple-completing-p):
790 Allow icomplete-with-completion-tables to say "use it everywhere".
791 (icomplete-completions): Obey completion-styles. Try to accommodate
792 partial-completion style.
794 2008-05-20 Michael Olson <mwolson@gnu.org>
796 * files.el (project-find-settings-file): Change concat to
799 2008-05-19 Tom Tromey <tromey@redhat.com>
801 * files.el (normal-mode): Call hack-project-variables.
802 (hack-local-variables-confirm): Add 'project' argument.
803 (hack-local-variables-apply): New function.
804 (hack-local-variables): Use it.
805 (project-class-alist, project-directory-alist): New variables.
806 (project-get-alist): New function.
807 (project-collect-bindings-from-alist)
808 (project-collect-binding-list, set-directory-project)
809 (project-find-settings-file, project-define-from-project-file)
810 (hack-project-variables): New functions.
812 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
816 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
818 * faces.el (font-weight-table): Fix typo in docstring.
820 2008-05-18 David Hull <david@snap.com> (tiny change)
822 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
823 (vc-hg-annotate-command): Allow white space before version number.
825 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
827 * calc/calc-yank.el (calc-register-alist): New variable.
828 (calc-set-register,calc-get-register,calc-copy-to-register)
829 (calc-insert-register,calc-add-to-register,calc-append-to-register)
830 (calc-prepend-to-register): New functions.
832 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
833 `calc-copy-to-register' and `calc-insert-register'.
834 Autoload new register functions.
836 * calc/calc-help.el (calc-r-prefix-help): Add help for register
839 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
841 * vc.el (Todo): Add known problems.
842 (vc-dir-backend): New variable.
844 (vc-make-backend-object, vc-generic-status-printer)
845 (vc-generic-state, vc-generic-status-fileinfo-extra)
846 (vc-dir-extra-menu): Use it.
847 (vc-generic-dir-headers): Remove, unused.
849 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
850 vc-dir-prev-directory for consistency with vc-dir-previous-line.
851 (vc-dir-mode-map): Fix bindings.
853 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
855 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
857 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
859 (calc-kill-region): Kill entire lines.
861 2008-05-17 Glenn Morris <rgm@gnu.org>
863 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
864 simplify initial value.
865 (defezimage): Drop support for Emacs without defimage, use a featurep
866 test rather than fboundp when defining, drop with-no-warnings.
867 (ezimage-insert-over-text): Move featurep test inside
870 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
872 * net/tramp.el (top-level): Load auth-source when compiling.
874 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
876 2008-05-17 Andreas Schwab <schwab@suse.de>
878 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
880 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
882 * vc.el (vc-annotate-show-diff-revision-at-line): Change
883 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
885 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
887 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
889 2008-05-17 Jim Meyering <meyering@redhat.com>
891 * ido.el (ido-save-history): Do not emit a trailing newline at the
892 end of the ido history file.
894 2008-05-16 John Paul Wallington <jpw@pobox.com>
896 * vc-dispatcher.el (top-level): Revert previous change: require cl
899 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
901 * vc.el (vc-default-status-printer)
902 (vc-default-prettify-state-info): Enhance the state prettyprinter
903 to deal better with unknown states and indirect through it when
904 painting vc-dir buffers.
906 2008-05-16 John Paul Wallington <jpw@pobox.com>
908 * vc-dispatcher.el (top-level): Don't require cl when compiling.
909 (vc-dir-mode-map): Fix backquote.
910 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
912 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
914 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
915 Reported by Glenn Morris <rgm@gnu.org>.
917 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
919 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
920 the end of the file, it was good work at one time but has been
921 stale since 1995 and may now be actively misleading.
922 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
923 CVS repository and module (assumptions for the latter a bit iffy).
924 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
927 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
929 * vc-rcs.el (vc-rcs-create-tag):
930 * vc-sccs.el (vc-sccs-create-tag):
931 Fix typo in error message and pass backend arg.
933 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
935 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
937 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
939 * net/tramp.el: Load auth-source library.
940 (tramp-read-passwd): Use it for password, not login.
942 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
944 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
945 (ses-print-cell): Use string-width, truncate-string-to-width,
946 delete-region rather than length, substring, delete-char.
947 (ses-setup): Set inhibit-point-motion-hooks to t.
948 Calculate position by actually moving point rather than just using
949 unibyte character length.
950 (ses-mode): Set indent-tabs-mode to nil.
951 (ses-center): Use string-width rather than length.
953 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
955 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
956 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
957 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
958 vc-*-create-tag and vc-*-retrieve-tag respectively.
960 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
963 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
965 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
968 2008-05-15 Glenn Morris <rgm@gnu.org>
970 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
972 * org/org-exp.el (org-infojs-options-inbuffer-template):
975 * progmodes/cc-mode.el (declare-function): Add compat definition.
976 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
978 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
980 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
981 list to a cons so the caller can get back both expanded and
983 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
984 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
985 Change handling of selection-set returns as required.
987 2008-05-15 John Paul Wallington <jpw@pobox.com>
989 * add-log.el (top-level): Don't require cl when compiling.
991 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
992 (archive-*-extract): Use `zerop'
993 (archive-*-write-file-member): Use `or', use `zerop'.
995 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
997 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
998 (ibuffer-mark-interactive, ibuffer-set-mark)
999 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
1000 (ibuffer-map-lines, ibuffer-switch-format)
1001 (ibuffer-update-title-and-summary)
1002 (ibuffer-redisplay-engine): Use it.
1004 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
1005 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
1006 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
1007 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
1008 (ibuffer-mark-read-only-buffers)
1009 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
1011 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
1012 (define-ibuffer-column, define-ibuffer-sorter)
1013 (define-ibuffer-op, define-ibuffer-filter): Add declarations
1014 containing indentation specs, replacing equivalent top-level
1015 forms that set `lisp-indent-function' properties.
1016 (define-ibuffer-op): Use `derived-mode-p'.
1017 (define-ibuffer-filter): Remove redundant `concat' call.
1019 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
1021 * net/tramp.el (tramp-echo-mark): Update docstring.
1022 (tramp-echo-mark-marker): New defconst.
1023 (tramp-check-for-regexp): Use it.
1025 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
1027 * vc.el (vc-deduce-fileset): Do the right thing when visting a
1028 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
1031 2008-05-14 John Paul Wallington <jpw@pobox.com>
1033 * international/mule.el (convert-define-charset-argument):
1034 Remove period from end of error message.
1035 (coding-system-mnemonic): Doc fix.
1036 (ctext-pre-write-conversion): Doc fix.
1038 2008-05-14 Simon Marshall <simon@gnu.org>
1040 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
1041 from its default value and give it the risky-local-variable
1042 property (CVE-2008-2142).
1044 2008-05-14 Kenichi Handa <handa@m17n.org>
1046 * language/korean.el ("Korean"): Set `iso639-language'
1049 * language/japanese.el ("Japanese"): Set `iso639-language'
1052 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1053 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
1054 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
1056 * international/mule-cmds.el (set-language-environment):
1057 Set current-iso639-language.
1059 * international/fontset.el (setup-default-fontset): For kana, han,
1060 hangul, and cjk-misc, move an entry with font-spec at the end.
1061 (generate-fontset-menu): Exclue fontset-auto* from the list.
1063 * composite.el (compose-chars-after): Assume that WINDOW is always
1066 * faces.el (font-weight-table, font-slant-table)
1067 (font-swidth-table): Declare them by defconst. Change the format
1068 of elements. Call internal-set-font-style-table after their
1070 (face-valid-attribute-values): Call font-family-list. Get values
1071 for width, weight, and slant from font-xxx-table.
1073 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
1075 2008-05-13 John Paul Wallington <jpw@pobox.com>
1077 * ibuffer.el (ibuffer-buffer-file-name): New function.
1078 (define-ibuffer-column filename): Use it.
1080 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
1082 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1084 * talk.el (talk): Simplify. Pass display arg to talk-add-display
1086 (talk-add-display): Simplify. Accept only string args.
1088 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
1090 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
1092 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * Makefile.in (bootstrap-prepare): Don't chmod files.
1095 (autoloads): Do it here instead, where it's actually needed.
1097 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1099 * tool-bar.el (tool-bar-make-keymap): Account for the optional
1100 KEY-BINDING-DATA field in menu-item list.
1102 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * dired.el (dired-read-dir-and-switches): Move things about to use less
1105 recursion during macroexpansion.
1107 * dired.el (dired-read-dir-and-switches): Use read-file-name.
1109 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
1110 completion-ignored-extension directories if there's something else.
1111 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
1112 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
1113 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
1114 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
1115 buffer-read-only -> inhibit-read-only.
1117 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
1119 * vc.el (vc-expand-dirs): Stop this function from tossing out
1120 explicitly specified files.
1122 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
1127 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
1129 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
1130 cons. Use vc-annotate-backend.
1131 (with-vc-file, edit-vc-file): Remove unused macros.
1133 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
1135 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
1136 (smtpmail-try-auth-methods): Use it.
1138 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
1141 (setf (nthcdr ..) ..) doesn't require CL at runtime.
1143 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
1145 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
1147 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
1150 (vc-bzr-revision-completion-table): Use process-file.
1151 (vc-bzr-working-revision): Pass relative file names.
1153 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
1155 2008-05-11 Juri Linkov <juri@jurta.org>
1157 * wid-edit.el (widget-image-directory): Change default image data
1158 subdirectory from "custom" to "images/custom".
1160 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
1161 before recursive call to `Info-next-preorder' to not add
1162 intermediate nodes to the history.
1164 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
1166 * emulation/cua-base.el: Put isearch-scroll property
1167 on cua-scroll-up and cua-scroll-down.
1169 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
1171 * vc-hooks.el (vc-recompute-state): Remove (dead code).
1173 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1175 * vc-dispatcher.el (ewoc): Require.
1176 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
1178 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
1180 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
1182 * term/w32-win.el (x-colors):
1183 * term/mac-win.el (x-colors):
1184 * term/x-win.el (x-colors): Re-order colors.
1186 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
1188 * smerge-mode.el (smerge-command-prefix): Fix custom type.
1190 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
1192 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
1193 New functions implementing motion to next and previous directory.
1195 * vc-arch.el (vc-arch-command):
1196 * vc-bzr.el (vc-bzr-command):
1197 * vc-cvs.el (vc-cvs-command):
1198 * vc-dispatcher.el (vc-do-command):
1199 * vc-git.el (vc-git-command):
1200 * vc-hg.el (vc-hg-command):
1201 * vc-mcvs.el (vc-mvcs-command):
1202 * vc-mtn.el (vc-mtn-command):
1203 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
1204 (vc-sccs-workfile-unchanged-p):
1205 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
1206 * vc-rcs.el (all methods): Remove assumption about what a nil
1207 argument to vc-do-command means. This means no buffer name needs
1208 to be hardcoded into the dispatcher layer, and it's better to be
1211 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1213 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1215 * vc.el: Update todo.
1217 * vc-sccs.el (vc-sccs-dir-status):
1218 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1219 backends and returning up to date files.
1221 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1223 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1226 * vc-hooks.el: Tweak the VC directory bindings. These are now
1227 documented in the manual.
1229 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1230 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1231 (vc-dispatcher-selection-set): Allow callers to pass in an
1232 observer flag that says no buffer sync is required.
1233 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1234 Use the observer flag.
1236 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
1238 * simple.el (start-file-process): Clarify docstring.
1240 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1242 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1243 Remove stub implementations of, and references to, wash-log.
1244 * vc-rcs.el (vc-rcs-comment-history):
1245 * vc-cvs.el (vc-cvs-comment-history):
1246 Inline the code that used to be wash-log.
1248 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1249 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1250 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1251 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1252 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1253 (vc-rcs-print-log): Grok directories.
1255 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * vc.el (vc-mark-resolved): Add `backend' argument.
1258 (vc-next-action): Pass it the backend.
1259 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1260 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1261 (vc-default-comment-history, vc-default-create-snapshot)
1262 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1263 (vc-annotate-revision-previous-to-line)
1264 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1265 * vc-svn.el (vc-svn-checkout):
1266 * vc-mcvs.el (vc-mcvs-checkout):
1267 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1268 (vc-working-revision, vc-before-save, vc-mode-line):
1269 Prefer vc-call-backend to vc-call so as not to recompute the backend.
1271 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1272 state to be consistent since it's often an unwarranted restriction.
1273 Don't return the state either.
1274 (vc-next-action): Check that the state is consistent.
1275 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1276 (vc-rollback, vc-update): Adapt to new return value of
1279 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1280 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1281 (vc-dispatcher-in-fileset-p): New fun.
1282 (vc-dispatcher-selection-set): Use it to properly handle directories.
1284 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
1286 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1287 (vc-update): Remove unused let bindings.
1289 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1291 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1292 (vc-diff, vc-revert, vc-rollback, vc-update):
1293 * vc-dispatcher.el (vc-dispatcher-selection-set):
1294 Get rid of 4 special cases in fileset selection. This involved
1295 changing the return value of (vc-deduce-fileset) so that it passes
1296 back a deduced state as well as a deduced back end.
1298 2008-05-08 Sam Steingold <sds@gnu.org>
1300 * progmodes/compile.el (compilation-minor-mode-map)
1301 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1302 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1303 to `compilation-minor-mode-map' (instead of an explicit `cons').
1305 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1307 * org/org.el (org-modules, org-format-latex-options):
1308 * org/org-archive.el (org-archive-stamp-time)
1309 (org-archive-save-context-info):
1310 * org/org-faces.el (org-hide):
1311 * org/org-irc.el (org-irc-parse-link):
1312 * org/org-macs.el (org-call-with-arg, org-autoload):
1313 * org/org-mew.el (org-mew-store-link):
1314 * org/org-remember.el (org-remember-store-without-prompt)
1315 (org-remember-templates): Fix typos in docstrings.
1317 * org/org-info.el (org-info-store-link): Remove leftover docstring.
1319 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1320 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1321 (org-bbdb-anniv-split): Fix typos in docstrings.
1323 * org/org-publish.el (org-publish-project-alist): Doc fixes.
1324 (org-publish-use-timestamps-flag): Reflow docstring.
1325 (org-publish-files-alist): Fix typos in docstring.
1327 2008-05-07 Sam Steingold <sds@gnu.org>
1329 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1330 appears to be too aggressive with window removal.
1332 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
1334 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1336 (verilog-pretty-expr): Support lining up assignments which include
1338 (verilog-mode): More portable check for the availability of
1340 (verilog-do-indent): Remove special indent for declarations inside
1341 a parenthetical list. The code is ill-advised, and doesn't work
1342 given the new user defined types.
1343 (verilog-set-auto-endcomments): Enhance function automatic
1344 endcomment to support functions that return user defined types.
1345 (verilog-mode): Add code to tell which-function-mode minor mode
1346 that Verilog supports this feature.
1348 2008-05-08 Eli Zaretskii <eliz@gnu.org>
1350 * epa-file.el: Require epa-hook.
1352 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1354 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1355 file-names clashes on 8+3 filesystems. Provide epa-hook.
1357 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1358 file-names clashes on 8+3 filesystems.
1360 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
1362 * org/org.el (org-read-date-get-relative): Interpret lone
1363 weekday abbreviation as relative to today.
1365 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1367 * abbrev.el (define-abbrev-table):
1368 * composite.el (toggle-auto-composition):
1369 * json.el (json-alist-p, json-plist-p):
1370 * minibuffer.el (completion-table-with-predicate):
1371 * ps-mule.el (ps-mule-external-libraries):
1372 * emacs-lisp/advice.el (ad-special-form-p):
1373 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1374 * eshell/em-smart.el (eshell-review-quick-commands):
1375 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1376 (python-skip-out, python-check-comint-prompt):
1377 Don't use `iff' in docstrings.
1379 * international/robin.el (robin-package-alist): Fix typo in docstring.
1380 (robin-current-package-name): Doc fix.
1381 (robin-activate): Don't use `iff' in docstring.
1383 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
1385 * vc.el, vc-dispatcher.el: VC-Dired support removed.
1386 The code uses a ewoc-based implementation now.
1387 * vc-hooks.el: Support for Meta-CVS has been removed.
1389 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * tool-bar.el: Choose images dynamically.
1392 (tool-bar-make-keymap, tool-bar-find-image): New function.
1393 (tool-bar-find-image-cache): New var.
1394 (tool-bar-local-item, tool-bar-local-item-from-menu):
1395 Don't select the image yet, do it later in tool-bar-make-keymap.
1397 2008-05-07 Andreas Schwab <schwab@suse.de>
1399 * window.el: Require 'cl when compiling.
1401 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
1403 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1405 2008-05-07 Glenn Morris <rgm@gnu.org>
1407 * subr.el (ignore-errors): Move here from cl-macs.el.
1408 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1410 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1413 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
1415 * vc-hooks.el (vc-find-file-hook):
1416 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1418 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1420 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
1422 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1423 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1424 (verilog-auto-inout, verilog-auto-inout-module)
1425 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1426 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1427 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1428 (verilog-auto-sense-sigs, verilog-auto-tieoff)
1429 (verilog-auto-unused, verilog-auto-wire)
1430 (verilog-decls-get-assigns, verilog-decls-get-consts)
1431 (verilog-decls-get-gparams, verilog-decls-get-inouts)
1432 (verilog-decls-get-inputs, verilog-decls-get-outputs)
1433 (verilog-decls-get-ports, verilog-decls-get-regs)
1434 (verilog-decls-get-signals, verilog-decls-get-wires)
1435 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1436 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1437 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1438 (verilog-inject-sense, verilog-library-filenames)
1439 (verilog-mode-release-date, verilog-mode-version)
1440 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1441 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1442 (verilog-modi-get-assigns, verilog-modi-get-consts)
1443 (verilog-modi-get-gparams, verilog-modi-get-inouts)
1444 (verilog-modi-get-inputs, verilog-modi-get-outputs)
1445 (verilog-modi-get-ports, verilog-modi-get-regs)
1446 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1447 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1448 (verilog-modi-get-wires, verilog-preserve-cache)
1449 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1450 (verilog-read-sub-decls, verilog-read-sub-decls-line)
1451 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1452 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1453 Add caching of additional state, and rework signal extraction
1454 routines to improve AUTO expansion performance by 300%++.
1456 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
1458 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1459 Tweak Open Watcom regexp to distinguish between errors and warnings.
1461 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1463 * dired.el (dired-read-dir-and-switches): Fix up last change.
1465 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
1467 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1468 out of this function, move it to vc-dispatcher-selection-set.
1470 2008-05-05 Sam Steingold <sds@gnu.org>
1472 * window.el (delete-other-windows-vertically): New function.
1474 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * dired.el (dired-read-dir-and-switches):
1477 Obey read-file-name-completion-ignore-case.
1479 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
1481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1482 Add regexp for Open Watcom compiler output.
1484 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
1486 * progmodes/python.el (python-block-pairs): Align finally with except.
1488 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1492 2008-05-05 Tom Tromey <tromey@redhat.com>
1494 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1495 looking at conflict marker.
1497 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1500 client-mode -> vc-client-object, and guess `funcall' was meant.
1501 (vc-dir-mode): Rename client-mode -> vc-client-mode.
1503 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1505 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1506 (dbus-debug): Move declarations outside eval-when-compile.
1508 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1510 * proced.el (proced-command-alist): Fix system-type values.
1512 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1513 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1514 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1515 (proced-update): Use proced-sorting-scheme. Update modeline.
1516 (proced-send-signal): Use nreverse.
1517 (proced-sorting-scheme-p): New function.
1519 2008-05-04 Andreas Schwab <schwab@suse.de>
1521 * vc.el: Require dired when compiling.
1523 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1525 2008-05-03 Glenn Morris <rgm@gnu.org>
1527 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1528 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1529 Simplify compilation requirements.
1530 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1533 2008-05-03 Dave Love <fx@gnu.org>
1535 * progmodes/python.el (python-beginning-of-statement):
1536 Loop at least once (fixes 2008-02-21 change).
1538 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1540 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1541 instead of `length' for comparing length of user and group names.
1543 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1545 * vc-dispatcher.el: New file, separates out the UI and command
1546 execution machinery from VCS-specific logic left in vc.el.
1547 The separation is not yet completely clean, but it's a good start.
1548 * vc.el: This file is about 1700 lines shorter now.
1549 Remove obsolete logentry-check from the backend API.
1550 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1551 implementation of the logentry-check method, and it guarded against
1552 a log length limit that has probably been obsolete for 15 years (!).
1554 2008-05-02 Sam Steingold <sds@gnu.org>
1556 * progmodes/compile.el (compilation-start): Move setting of
1557 compilation-directory after (funcall mode) as that resets local
1558 variables, this fixes recompile in grep buffers.
1559 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1561 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1563 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1564 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1565 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1566 has one of these and that all are called in compatible ways.
1567 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1568 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1569 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1570 backend has one of these.
1572 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1575 initialization into define-abbrev-table. Use :regexp.
1576 (octave-mode-syntax-table): Don't set word syntax for `.
1578 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1581 * dired.el (dired-read-dir-and-switches):
1582 Set minibuffer-completing-file-name and call substitute-in-file-name.
1583 (dired-format-columns-of-files): Use completion--insert-strings.
1585 * minibuffer.el (completion-hilit-commonality): Revert last change:
1586 the leftover code was actually useful.
1587 (completion--insert-strings): Use string-width rather than length.
1589 2008-05-02 Sam Steingold <sds@gnu.org>
1591 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1592 (vc-at-event): New macro: run the body at the even location.
1593 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1594 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1595 * subr.el (mouse-event-p): Check if the even is mouse-related.
1597 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1599 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1600 Don't throw error if no file is found.
1602 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1604 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1605 (vc-default-state-heuristic): Doc fix.
1607 2008-05-02 Richard Sharman <rsharman@pobox.com>
1609 * hilit-chg.el (highlight-changes-mode): Remove references to
1610 hooks that no longer exist. Because define-minor-mode is used the
1611 hook highlight-changes-mode-hook exists and can do what both the
1612 old hooks used to do. The documentation at the top of the file
1613 was updated to demonstrate this.
1614 (highlight-changes-mode): Remove commented out call to a hook
1615 function that is no longer there.
1616 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1618 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1620 * vc.el (vc-default-dired-state-info): Change name of primitive
1621 to prettify-state-info, in preparation for ripping out dired mode.
1622 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1623 to prettify-state-info, in preparation for ripping out dired mode.
1624 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1625 tries this on a version-controlled buffer. It will do useless or
1626 actively bad things on any version control system newer than RCS.
1627 * vc-hooks.el (vc-dired-resynch-file):
1628 * vc.el (vc-dired-resynch-file): Change name of primitive to
1629 vc-directory-resynch-file, preparing to remove dired.
1631 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1633 * vc-rcs.el (vc-rcs-state): Fix typos.
1635 * vc.el (vc-register): Change argument order so that the prefix
1636 argument is assigned correctly.
1637 (vc-next-action, vc-dir-register): Update for the above change.
1639 2008-05-01 Juri Linkov <juri@jurta.org>
1641 * replace.el (occur-read-primary-args): Set default to the car of
1642 regexp-history and display it in the prompt, but don't add to the
1643 list of minibuffer defaults. Bind history-add-new-input to nil to
1644 not add automatically `default'. For empty input return `default'.
1645 Otherwise, add `input' to regexp-history and return it.
1646 (occur-1): Signal an error for the empty regexp.
1648 * progmodes/compile.el (compilation-auto-jump):
1649 Set window point to `pos' explicitly.
1651 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1653 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1655 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1656 we report the 'unregistered state reliably.
1657 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1658 we report the 'unregistered state reliably.
1659 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1660 we report the 'unregistered state reliably.
1661 * vc-hooks (vc-state): Document that vc-unregistered is
1662 now expected to be returned reliably.
1663 * vc.el (vc-default-dired-state): Change needs-patch state to
1664 needs-update, since the name now shows up in dir-status listings
1665 and was somewhat misleading.
1666 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1667 immediately after removing the file.
1668 * vc.el (vc-next-action): More informative messages when a fileset
1669 is in a mixed state or files are missing.
1671 2008-05-01 Sam Steingold <sds@gnu.org>
1673 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1675 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1677 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1679 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1681 * epa-file-hook.el: New file split from epa-file.el.
1682 * epa-file.el: Require 'epa-file-hook.
1683 (epa-file-handler): Add autoload cookie.
1684 * loadup.el: Load epa-file-hook.
1685 * startup.el (command-line): Eval the body of auto-encryption-mode.
1687 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1689 * vc.el (vc-dir-mode-map): Don't bind "r".
1691 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1692 (vc-hg-status-printer): New function.
1693 (vc-hg-after-dir-status): Deal with copied and renamed files.
1694 (vc-hg-dir-status): Add flag to show copied files.
1696 2008-05-01 John Paul Wallington <jpw@pobox.com>
1698 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1699 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1700 sorting mode was recency.
1702 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1703 reverse sorting order if last sorting mode was the sorter's.
1705 2008-05-01 Jason Rumney <jasonr@gnu.org>
1707 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1709 2008-04-30 John Paul Wallington <jpw@pobox.com>
1711 * ibuffer.el (define-ibuffer-column filename): When the major mode
1712 is `vc-dir-mode' show the buffer's default directory.
1714 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1715 major mode is `vc-dir-mode' use the buffer's default directory.
1717 2008-04-30 Sam Steingold <sds@gnu.org>
1719 * vc.el (vc-dir-delete-file): Add.
1720 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1721 (vc-delete-file): Do not barf when the file has been already deleted.
1723 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1725 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1727 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * progmodes/octave-mod.el (octave-help): New function.
1730 * progmodes/octave-hlp.el: Delete.
1731 * info-look.el (octave-mode): Add operator index.
1733 * vc.el (vc-checkout): Typo.
1735 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1737 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1738 Add "..." in the appropriate places.
1740 * epa.el (epa-key-list-mode-map): Add more menu entries.
1741 Add "..." in the appropriate places.
1743 * dired.el (dired-mode-map): Add :help.
1745 * vc.el (vc-deduce-fileset): Add new parameter.
1746 (vc-dir-marked-only-files): New function.
1747 (vc-next-action): Don't ignore directories, look at the files
1749 (vc-dir-mode): Document how the mark/unmark commands work.
1751 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1754 Rule out trailing spaces in file and directory names as well.
1756 * minibuffer.el (completion--do-completion): Move point even if the
1757 completion makes no change.
1758 (completion-pcm-try-completion): Fix computation of new point.
1760 2008-04-30 David Hansen <david.hansen@gmx.net>
1762 * dired.el: Require 'cl.
1764 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1766 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1767 hollow if not in innermost frame.
1769 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1771 Make `checkout-model' apply to filesets.
1772 * vc-hooks.el (vc-checkout-model): Rewrite.
1773 (vc-before-save, vc-after-save): Adjust callers accordingly.
1774 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1775 (vc-transfer-file): Adjust callers accordingly.
1776 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1777 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1778 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1779 instead of vc-checkout-model.
1780 * vc-mcvs.el (vc-mcvs-revert):
1781 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1782 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1783 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1784 * vc-svn.el (vc-svn-checkout-model):
1785 * vc-hg.el (vc-hg-checkout-model):
1786 * vc-git.el (vc-git-checkout-model):
1787 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1789 * dired.el (dired-read-dir-and-switches): Replace last change with
1790 a new approach that mixes read-file-name and read-directory-name.
1792 * files.el (read-buffer-to-switch):
1793 Avoid making assumptions about `other-buffer'.
1795 2008-04-29 Sam Steingold <sds@gnu.org>
1797 * vc.el (vc-dir-mode-hook): Add normal hook.
1798 (vc-dir-mode): Run it.
1800 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1802 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1803 Always split windows.
1804 (gdb-speedbar-timer-fn): Only raise frame after user input.
1805 (gdb-same-frame): Reverse initial value.
1806 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1808 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1809 gdb-speedbar-timer-fn.
1811 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1815 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1817 * epa.el (epa-key-list-mode-map): Add menu.
1818 (epa-delete-keys, epa-import-keys): Fix typo.
1820 2008-04-29 Glenn Morris <rgm@gnu.org>
1822 * find-cmd.el (top-level): Does not need cl when compiling.
1824 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1826 * find-cmd.el: New file.
1828 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1831 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1832 (completion-pcm--hilit-commonality): New function.
1833 (completion-pcm-all-completions): Use it.
1835 * minibuffer.el (completion-common-substring): Mark obsolete.
1836 (completions-first-difference, completions-common-part):
1837 Move from simple.el.
1838 (completion-hilit-commonality): New fun.
1839 (display-completion-list, completion-emacs21-all-completions)
1840 (completion-emacs22-all-completions): Use it.
1841 * simple.el (completions-first-difference, completions-common-part):
1842 Move to minibuffer.el.
1843 (choose-completion-string): Use field functions and minibufferp.
1844 (completion-setup-function): Don't set completions faces.
1846 2008-04-29 Glenn Morris <rgm@gnu.org>
1848 * calendar/calendar.el (calendar-nth-named-absday)
1849 (calendar-nth-named-day):
1850 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1851 * calendar/holidays.el (holiday-float): Doc fixes.
1853 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1856 * org/org-agenda.el (calendar-iso-from-absolute):
1857 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1860 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1862 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1863 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1864 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1865 (gdb-assembler-custom): Be careful not to match other addresses.
1867 2008-04-29 Jason Rumney <jasonr@gnu.org>
1869 * battery.el (battery-status-function): Use w32-battery-status
1871 (battery-echo-area-format): Make apm format the general case.
1872 (battery-mode-line-format): Merge apm and pmset formats as the
1875 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1877 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1878 Use gud-tool-bar-item-visible-no-fringe.
1879 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1880 is already visible in frame. Remove optional size parameter
1881 and add optional frame parameter.
1883 * progmodes/gud.el (gud-display-line): Only consider visible
1884 frames when looking for source buffer.
1886 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1888 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1889 argument to get-char-property, in case the current buffer hasn't
1890 been assigned to that window yet.
1891 (doc-view-display): Default to selected window if the current
1892 buffer hasn't been assigned to a window yet.
1894 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1896 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1898 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1900 * net/tramp.el (tramp-mode): New defcustom.
1901 (tramp-file-name-handler, tramp-completion-file-name-handler):
1903 (tramp-replace-environment-variables): Handle "$$".
1905 2008-04-28 Sam Steingold <sds@gnu.org>
1907 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1909 2008-04-28 Bastien Guerry <bzg@altern.org>
1911 * whitespace.el (whitespace-trailing): Fix typo.
1913 2008-04-28 Sam Steingold <sds@gnu.org>
1915 * textmodes/remember.el (diary-make-entry): Update the autoload.
1917 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1922 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1924 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1926 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1928 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1929 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1930 (vc-dir-mark-file): Add an optional argument.
1931 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1933 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1935 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1936 rather than obsolete alias find-file-hooks.
1937 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1938 Use find-file-hook rather than obsolete alias find-file-hooks.
1939 Add to find-file-not-found-functions.
1940 (epa-file-handler): Put 'safe-magic and 'operations properties.
1942 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1943 (epa-menu-items): Remove.
1945 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1946 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1947 (epa-dired-mode, epa-global-dired-mode): Remove.
1949 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1951 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1953 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1955 2008-04-27 Glenn Morris <rgm@gnu.org>
1957 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1958 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1960 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1962 * org/org.el (org-html-level-start): Always have id's in HTML.
1963 (org-export-as-html): Use `org-link-protocols' to
1964 retrieve the export form of the link.
1965 (org-add-link-type): Final parameter renamed from PUBLISH.
1966 Better documentation of how it is to be used. Avoid double entries for
1968 (org-add-link-props): New function.
1969 (org-modules-loaded): New variable.
1970 (org-load-modules-maybe, org-set-modules): New function.
1971 (org-modules): New option.
1972 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1973 (orgtbl-mode, org-store-link, org-insert-link-global)
1974 (org-open-at-point): Call `org-load-modules-maybe'.
1975 (org-search-view): Add more text properties.
1976 (org-agenda-schedule, org-agenda-deadline): Allow also in
1977 search-type agendas.
1978 (org-search-view): Order of arguments has been changed.
1979 Interpret prefix-arg as TODO-ONLY.
1980 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1981 Take new argument order of `org-search-view' into account.
1982 (org-todo-only): New variable.
1983 (org-search-syntax-table): New variable and function.
1984 (org-search-view): Do the search with the special syntax table.
1985 (define-obsolete-function-alias): Make work with XEmacs.
1986 (org-add-planning-info): Use old date as default when modifying an
1987 existing deadline or scheduled item.
1988 (org-agenda-compute-time-span): Make argument N optional.
1989 (org-agenda-format-date-aligned): Require `cal-iso'.
1990 (org-agenda-list): Include week into agenda heading, don't
1991 list it at each date (only on Mondays).
1992 (org-read-date-analyze): Define local variable `iso-date'.
1993 (org-agenda-format-date-aligned): Remove dependency on
1994 `calendar-time-from-absolute'.
1995 (org-remember-apply-template, org-go-to-remember-target):
1996 Interpret filenames relative to `org-directory'.
1997 (org-complete): Silently fail when trying to complete
1998 keywords that don't have a default value.
1999 (org-get-current-options): Add a #+DATE: option.
2000 (org-additional-option-like-keywords): Remove "DATE:" from the
2001 list of additional keywords.
2002 (org-export-as-html): Remove (current-time) as unnecessary second
2003 argument of `format-time-string'.
2004 (org-clock-find-position): Handle special case at end of buffer.
2005 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
2006 `org-agenda-change-time-span'.
2007 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
2008 `org-agenda-change-time-span'.
2009 (org-agenda-month-view): New argument MONTH, pass it on to
2010 `org-agenda-change-time-span'.
2011 (org-agenda-year-view): New argument YEAR, pass it on to
2012 `org-agenda-change-time-span'.
2013 (org-agenda-change-time-span): New optional argument N, pass it on
2014 to `org-agenda-compute-time-span'.
2015 (org-agenda-compute-time-span): New argument N, interpret it by
2016 changing the starting day.
2017 (org-small-year-to-year): New function.
2018 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
2019 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
2020 into the future, and that the shift is at least one interval, never 0.
2021 (org-update-checkbox-count): Fix bug with checkbox counting.
2022 (org-add-note): New command.
2023 (org-add-log-setup): Rename from `org-add-log-maybe'.
2024 (org-log-note-headings): New entry for plain notes (i.e. notes not
2025 related to state changes or clocking).
2026 (org-get-org-file): Check for availability of `remember-data-file'.
2027 (org-cached-entry-get): Allow a regexp value for
2028 `org-use-property-inheritance'.
2029 (org-use-property-inheritance): Allow regexp value. Fix bug in
2031 (org-use-tag-inheritance): Allow a list and a regexp value for
2033 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
2034 (org-entry-get): Respect value `selective' for the INHERIT argument.
2035 (org-tag-inherit-p, org-property-inherit-p): New functions.
2036 (org-agenda-format-date-aligned): Allow 10 characters for
2037 weekday, to acomodate German locale.
2038 (org-add-archive-files): New function.
2039 (org-agenda-files): New argument `ext', to get archive files as well.
2040 (org-tbl-menu): Protect the use of variables that
2041 are only available when org-table.el gets loaded.
2042 (org-read-agenda-file-list): Error if `org-agenda-files' is a
2044 (org-open-file): Allow a batch process to trigger
2045 waiting after executing a system command.
2046 (org-store-link): Link to headline when there is not
2047 target and no region in an org-mode buffer when creating a link.
2048 (org-link-types-re): New variable.
2049 (org-make-link-regexps): Compute `org-link-types-re'.
2050 (org-make-link-description-function): New option.
2051 (org-agenda-date, org-agenda-date-weekend): New faces.
2052 (org-archive-sibling-heading): New option.
2053 (org-archive-to-archive-sibling): New function.
2054 (org-iswitchb): New command.
2055 (org-buffer-list): New function.
2056 (org-agenda-columns): Also try the #+COLUMNS line in
2057 the buffer associated with the entry at point (or with the first
2058 entry in the agenda view).
2059 (org-modules): Add entry for org-bibtex.el.
2060 (org-completion-fallback-command): Move into `org-completion' group.
2061 (org-clock-heading-function): Move to `org-progress' group.
2062 (org-auto-repeat-maybe): Make sure that a note can
2063 be enforces if `org-log-repeat' is `note'.
2064 (org-modules): Allow additional symbols for external packages.
2065 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
2066 (org-clock-goto): Hide drawers after showing an
2067 entry with `org-clock-goto.'
2068 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
2069 Try also a clocktable block shift.
2070 (org-clocktable-try-shift): New function.
2071 (org-columns-hscoll-title): New function.
2072 (org-columns-previous-hscroll): New variable.
2073 (org-columns-full-header-line-format): New variable.
2074 (org-columns-display-here-title, org-columns-remove-overlays):
2075 Install `org-columns-hscoll-title' in post-command-hook.
2077 * org/org.el: Split into many small files.
2079 * org/org-agenda.el: New file, split off from org.el.
2081 * org/org-archive.el: New file, split off from org.el.
2083 * org/org-bbdb.el: New file.
2085 * org/org-bibtex.el: New file, split off from org.el.
2087 * org/org-clock.el: New file, split off from org.el.
2089 * org/org-colview.el: New file, split off from org.el.
2091 * org/org-compat.el: New file, split off from org.el.
2093 * org/org-exp.el: New file, split off from org.el.
2095 * org/org-faces.el: New file, split off from org.el.
2097 * org/org-gnus.el: New file, split off from org.el.
2099 * org/org-info.el: New file, split off from org.el.
2101 * org/org-infojs.el: New file.
2103 * org/org-irc.el: New file.
2105 * org/org-macs.el: New file, split off from org.el.
2107 * org/org-mew.el: New file.
2109 * org/org-mhe.el: New file, split off from org.el.
2111 * org/org-publish.el: New file, split off from org.el.
2113 * org/org-remember.el: New file, split off from org.el.
2115 * org/org-rmail.el: New file, split off from org.el.
2117 * org/org-table.el: New file, split off from org.el.
2119 * org/org-vm.el: New file, split off from org.el.
2121 * org/org-wl.el: New file, split off from org.el.
2123 2008-04-27 Jason Riedy <jason@acm.org>
2125 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
2126 parameter that supresses lines that evaluate to NIL.
2127 (orgtbl-get-fmt): New inline function for
2128 picking apart formats that may be lists.
2129 (orgtbl-apply-fmt): New inline function for applying formats that
2131 (orgtbl-eval-str): New inline function for strings that may be
2133 (orgtbl-format-line, orgtbl-to-generic): Use and document.
2134 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
2135 (*orgtbl-llfmt*, *orgtbl-llstart*)
2136 (*orgtbl-llend*): Dynamic variables for last-line formatting.
2137 (orgtbl-format-section): Shift formatting to support detecting the
2138 last line and formatting it specially.
2139 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
2140 formats unless overridden.
2141 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
2142 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
2143 bound variables to hold the input collection of lines and output
2145 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
2146 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
2148 (orgtbl-format-line): New function encapsulating formatting for a
2150 (orgtbl-format-section): Similar for each section. Rebinding the
2151 dynamic vars customizes the formatting for each section.
2152 (orgtbl-to-generic): Use orgtbl-format-line and
2153 orgtbl-format-section.
2154 (org-get-param): Now unused, so delete.
2155 (orgtbl-gather-send-defs): New function to
2156 gather all the SEND definitions before a table.
2157 (orgtbl-send-replace-tbl): New function to find the RECEIVE
2158 corresponding to the current name.
2159 (orgtbl-send-table): Use the previous two functions and implement
2160 multiple destinations for each table.
2162 * doc/org.texi (A LaTeX example): Note that fmt may be a
2163 one-argument function, and efmt may be a two-argument function.
2164 (Radio tables): Document multiple destinations.
2166 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
2168 * org/org-agenda.el (org-add-to-diary-list): New function.
2169 (org-prefix-has-effort): New variable.
2170 (org-sort-agenda-noeffort-is-high): New option.
2171 (org-agenda-columns-show-summaries)
2172 (org-agenda-columns-compute-summary-properties): New options.
2173 (org-format-agenda-item): Compute the duration of the item.
2174 (org-agenda-weekend-days): New variable.
2175 (org-agenda-list, org-timeline): Use the proper faces for dates in
2176 the agenda and timeline buffers.
2177 (org-agenda-archive-to-archive-sibling): New command.
2178 (org-agenda-start-with-clockreport-mode): New option.
2179 (org-agenda-clockreport-parameter-plist): New option.
2180 (org-agenda-clocktable-mode): New variable.
2181 (org-agenda-deadline-leaders): Allow a function value for the
2183 (org-agenda-get-deadlines): Deal with new function value.
2185 * lisp/org-clock.el (org-clock): New customization group.
2186 (org-clock-into-drawer, org-clock-out-when-done)
2187 (org-clock-in-switch-to-state, org-clock-heading-function):
2188 Move into the new group.
2189 (org-clock-out-remove-zero-time-clocks): New option.
2190 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
2191 (org-dblock-write:clocktable): Allow a Lisp form for the scope
2193 (org-dblock-write:clocktable): Fix bug with total time calculation.
2194 (org-dblock-write:clocktable): Request the unrestricted list of files.
2195 (org-get-clocktable): New function.
2196 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
2197 be strings but also integers (an absolute day number) and lists (m d y).
2199 * org/org-colview.el (org-columns-next-allowed-value)
2200 (org-columns-edit-value): Limit the effort for updating in the
2201 agenda to recomputing a single file.
2202 (org-columns-compute): Only write property value if it has changed.
2203 This avoids raising the buffer-change-flag unnecessarily.
2204 (org-agenda-colview-summarize)
2205 (org-agenda-colview-compute): New functions.
2206 (org-agenda-columns): Call `org-agenda-colview-summarize'.
2208 * org/org-exp.el (org-export-run-in-background): New option.
2209 (org-export-icalendar): Allow a batch process to trigger waiting
2210 after executing a system command.
2211 (org-export-preprocess-string): Rename from
2212 `org-cleaned-string-for-export'.
2213 (org-export-html-style): Made target class look like normal text.
2214 (org-export-as-html): Make use of the better proprocessing in
2215 `org-cleaned-string-for-export'.
2216 (org-cleaned-string-for-export): Better treatment of heuristic
2217 targets, many more internal links will now work in HTML export.
2218 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2219 (org-export-inbuffer-options-extra): New variable.
2220 (org-export-options-filters): New hook.
2221 (org-infile-export-plist): Find also the settings keywords in
2222 `org-export-inbuffer-options-extra'.
2223 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2224 multiple #+INFOJS_OPT lines.
2225 (org-export-html-handle-js-options): New function.
2226 (org-export-html-infojs-setup): New option.
2227 (org-export-as-html): Call `org-export-html-handle-js-options'.
2228 Add autoload to all entry points.
2229 (org-skip-comments): Function removed.
2231 * org/org-table.el (org-table-make-reference): Extra parenthesis
2232 around single fields, to make sure that algebraic formulas get
2233 correctly interpreted by calc.
2234 (org-table-current-column): No longer interactive.
2236 * org/org-export-latex.el (org-export-latex-preprocess):
2237 Rename from `org-export-latex-cleaned-string'.
2239 2008-04-27 Bastien Guerry <bzg@altern.org>
2241 * org/org-publish.el (org-publish-get-base-files-1): New function.
2242 (org-publish-get-base-files): Use it.
2243 (org-publish-temp-files): New variable.
2244 Don't require 'dired-aux anymore.
2245 (org-publish-initial-buffer): New variable.
2246 (org-publish-org-to, org-publish): Use it.
2247 (org-publish-get-base-files-1): Bug fix: get
2248 the proper list of files when recursing thru a directory.
2249 (org-publish-get-base-files): Use the :exclude property to skip
2250 both files and directories.
2252 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2254 * net/tramp.el (tramp-handle-make-symbolic-link)
2255 (tramp-handle-file-name-directory)
2256 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2257 (tramp-do-copy-or-rename-file-directly)
2258 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2259 (tramp-handle-substitute-in-file-name)
2260 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2261 * net/tramp-cache.el (tramp-get-file-property)
2262 (tramp-set-file-property, tramp-flush-file-property)
2263 (tramp-flush-directory-property)
2264 * net/tramp-compat.el (tramp-compat-make-temp-file)
2265 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2266 Disable `file-name-handler-alist' when handling localname.
2267 It could have a remote file syntax, like a VMS file name.
2269 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2271 * whitespace.el: New version 11.1.
2272 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2273 enclosed by \\( and \\)$. Docstring fix.
2274 (whitespace-trailing-regexp): Fun removed.
2275 (whitespace-report-list): Const initialization fix.
2276 (whitespace-color-on): Code fix.
2278 2008-04-27 Andreas Schwab <schwab@suse.de>
2280 * Makefile.el: Unbreak bootstrap.
2282 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2284 * net/tramp.el (tramp-replace-environment-variables): New defun.
2285 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2288 2008-04-27 Glenn Morris <rgm@gnu.org>
2290 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2292 * calculator.el (calculator-expt): Replace cl function `oddp'.
2294 2008-04-27 Johan Bockgård <bojohan@gnu.org>
2296 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2297 Simplify. Collect `defun' and `autoload' entries.
2298 Avoid modifying load-history.
2300 2008-04-26 Glenn Morris <rgm@gnu.org>
2302 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2304 * simple.el (quoted-insert, zap-to-char): Revert previous change.
2306 2008-04-26 John Paul Wallington <jpw@pobox.com>
2308 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2309 `hexl-mode-old-eldoc-documentation-function'.
2310 (hexl-mode-exit): Restore it.
2311 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2313 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2315 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
2317 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2318 (completion-pcm--all-completions): Doc fix.
2319 (completion-styles-alist, completion-all-completions):
2320 Fix typos in docstrings.
2322 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2324 * whitespace.el: There is now only one variable (whitespace-style) to
2325 specify which kind of blank is visualized. Doc and docstring fix.
2327 (whitespace-style): New option, replace whitespace-style-mark and
2328 whitespace-style-color.
2329 (whitespace-style-mark, whitespace-style-color): Options removed.
2330 (whitespace-hspace, whitespace-tab, whitespace-newline)
2331 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2332 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2333 (whitespace-hspace-regexp, whitespace-space-regexp)
2334 (whitespace-tab-regexp, whitespace-trailing-regexp)
2335 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2336 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2337 (whitespace-space-after-tab-regexp, whitespace-line-column)
2338 (whitespace-display-mappings, whitespace-report): Docstring fix.
2339 (whitespace-color-value-list, whitespace-mark-value-list)
2340 (whitespace-active-color, whitespace-active-mark)
2341 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2342 (whitespace-style-value-list, whitespace-active-style)
2343 (whitespace-toggle-style): New vars.
2344 (whitespace-toggle-option-alist, whitespace-help-text):
2345 Var initialization and docstring fix.
2346 (whitespace-toggle-options, global-whitespace-toggle-options)
2347 (whitespace-cleanup, whitespace-cleanup-region)
2348 (whitespace-report-region, whitespace-interactive-char)
2349 (whitespace-toggle-list): Docstring and code fix.
2350 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2351 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2352 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2353 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2355 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2358 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2359 (diff-sanity-check-hunk): Adjust code accordingly.
2361 2008-04-26 Glenn Morris <rgm@gnu.org>
2363 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2365 * forms-d2.dat: Move to ../etc.
2366 * forms-d2.el (forms-file): Adapt for above change.
2368 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2369 `translation-table-for-input'.
2371 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2372 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2374 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2375 to punctuation now it's not needed for abbrevs.
2376 (fortran-mode-abbrev-table): Remove defvar, make use of new
2377 define-abbrev-table :regexp feature.
2379 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2380 insert, now that translation-table-for-input is not needed.
2382 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
2384 * emacs-lisp/pp.el (pp-display-expression): New function,
2385 extracted from pp-eval-expression.
2386 (pp-eval-expression): Use pp-display-expression.
2387 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2388 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2389 (pp-eval-last-sexp): Use pp-last-sexp.
2391 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2393 * abbrev.el (define-abbrev-table): Apply props even if the table
2396 * minibuffer.el (completion-table-with-context): Fix `pred' for the
2397 various kinds of completion tables.
2398 (completion-emacs22-try-completion): Place cursor after the /, as was
2399 done in Emacs-22's minibuffer-complete-word.
2400 Fix bug reported by David Hansen <david.hansen@gmx.net>.
2401 (completion-emacs22-try-completion): Merge all mergable text rather
2403 (completion-pcm--delim-wild-regex): New var.
2404 (completion-pcm-word-delimiters): New custom.
2405 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2406 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2407 (completion-pcm--all-completions, completion-pcm-all-completions)
2408 (completion-pcm--merge-completions, completion-pcm--pattern->string)
2409 (completion-pcm-try-completion): New functions.
2410 (completion-styles-alist): Add them.
2411 (completion-styles): Add it to the default.
2413 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
2415 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2416 (gdb-var-create-handler): ...until here when there are values.
2417 (gdb-post-prompt): Don't do -var-update with no watch expressions.
2418 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2420 2008-04-25 Eli Zaretskii <eliz@gnu.org>
2422 * ls-lisp.el (ls-lisp-format): Fix last change.
2423 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2424 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2425 (ls-lisp-filesize-f-fmt): New defvars.
2426 (ls-lisp-insert-directory): Dynamically compute format specifiers
2427 for displaying UID, GID, and file size, and store them in the
2429 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2430 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2431 instead of constant format strings.
2432 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2433 ls-lisp-filesize-d-fmt instead of constant format strings.
2435 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
2437 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2438 value of addresses rather than (partial) string value.
2439 (gdb-frame-handler): Change regexp according to above change.
2440 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2441 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2442 (gdb-assembler-mode): Disable undo in these buffers.
2444 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
2446 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2447 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2449 2008-04-24 Sam Steingold <sds@gnu.org>
2451 * textmodes/remember.el (remember-diary-extract-entries): Use
2452 diary-make-entry instead of the obsolete make-diary-entry.
2454 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2456 * subr.el (translation-table-for-input): Mark as obsolete.
2458 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2460 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2462 * textmodes/ispell.el (ispell-dictionary-alist-1)
2463 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2464 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2465 (ispell-dictionary-alist-6): Remove.
2466 (ispell-dictionary-base-alist): New var, merges the above.
2467 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2469 (ispell-dictionary-alist): Default to nil. Remove autoload.
2470 (ispell-local-dictionary-alist): Remove autoload.
2472 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2473 (f90-mode-abbrev-table): Use the new :regexp feature.
2474 Merge defvar and mapc into define-abbrev-table.
2475 (f90-imenu-type-matcher): Remove unused `l'.
2476 (f90-imenu-generic-expression): Remove unused `not-ib'.
2477 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2478 (f90-change-keywords): Use restore-buffer-modified-p.
2480 2008-04-24 Glenn Morris <rgm@gnu.org>
2482 * net/goto-addr.el (goto-address-prog-mode):
2483 * progmodes/bug-reference.el (bug-reference-prog-mode):
2484 Define for compiler.
2486 * minibuffer.el (x-file-dialog): Declare as function.
2488 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2489 dframe-update-speed rather than obsolete alias speedbar-update-speed.
2491 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2492 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2493 work with easymenu. Add :keys where needed.
2495 * calendar/cal-move.el (calendar-scroll-left): Handle case when
2498 * calendar/calendar.el (calendar-mode-map): Fix typo.
2500 2008-04-24 Tom Tromey <tromey@redhat.com>
2502 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2503 Document keywords. Add :suppress.
2504 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2506 * net/goto-addr.el (goto-address-unfontify): New function.
2507 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2508 (goto-address-fontify-region, goto-address-mode)
2509 (goto-address-prog-mode): New functions.
2511 * progmodes/bug-reference.el: New file.
2513 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2515 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2517 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2520 macros within lambdas.
2522 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * minibuffer.el (completion-try-completion): Add `point' argument.
2525 Change return value.
2526 (completion-all-completions): Add `point' argument.
2527 (minibuffer-completion-help): Pass the new `point' argument.
2528 (completion--do-completion): Pass the whole field to try-completion.
2529 (completion--try-word-completion): Rewrite, making fewer assumptions.
2530 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2531 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2532 (completion-basic-try-completion, completion-basic-all-completions):
2534 (completion-styles-alist): Use them.
2536 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2538 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2539 right params and dictionary alists are used after spellchecker changes.
2540 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2541 (ispell-initialize-spellchecker-hook): New variables and hook.
2542 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2543 (ispell-maybe-find-aspell-dictionaries): Remove.
2544 Calls replaced by (ispell-set-spellchecker-params) calls.
2545 (ispell-have-aspell-dictionaries): Remove.
2546 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2547 ispell-set-spellchecker-params.
2549 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2551 * complete.el (PC-do-completion): Be more robust in the presence of
2552 unexpected values in minibuffer-completion-predicate.
2554 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2555 Only abbreviate default-filename if it's a file.
2557 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2558 (read-file-name-completion-ignore-case, insert-default-directory):
2559 New vars, moved from fileio.c.
2560 (read-file-name): New fun, moved from fileio.c.
2561 * cus-start.el: Remove insert-default-directory and
2562 read-file-name-completion-ignore-case.
2564 2008-04-23 Magnus Henoch <mange@freemail.hu>
2566 * tar-mode.el (tar-untar-buffer): If the entry has directory
2567 link type, extract it as a directory even if its file name doesn't
2568 end with a slash. Fixes extraction of NetBSD tar archives.
2570 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * server.el (server-start): Also don't get confused by CRs since we
2575 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2577 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2578 (gdb-set-gud-minor-mode-existing-buffers)
2579 (gdb-info-breakpoints-custom, gdb-get-location)
2580 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2581 Previously gdb-create-define-alist wasn't always run and added to
2584 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2586 2008-04-23 Kevin Ryde <user42@zip.com.au>
2588 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2589 comments like unindented ones.
2591 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2593 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2596 2008-04-23 Kevin Ryde <user42@zip.com.au>
2598 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2599 Bind print-level to ensure output forms aren't truncated if
2600 print-level is set to eval-expression-print-level when going via
2601 eval-defun and friends, or has been otherwise fiddled with.
2603 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2606 font-lock-extend-after-change-region-function globally.
2608 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2610 * speedbar.el (speedbar-use-tool-tips-flag)
2611 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2612 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2613 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2614 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2615 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2616 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2617 (speedbar-separator-face): Fix typos in docstrings.
2618 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2619 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2620 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2621 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2622 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2623 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2624 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2625 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2626 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2627 (speedbar-recenter): Doc fixes.
2628 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2629 declaration and remove redundant info in docstring.
2631 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2633 * vc-git.el (vc-git-status-printer): Deal with directories.
2635 * vc.el (vc-next-action): Look at more than the first file to
2636 determine the state.
2638 2008-04-23 Glenn Morris <rgm@gnu.org>
2640 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2642 (dframe-update-speed): Drop support for XEmacs < 20.
2643 (dframe-frame-mode): Drop support for Emacs < 20.
2644 (dframe-set-timer-internal): Drop support for Emacs without timers.
2645 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2647 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2648 versions. Add doc-string. Mark as obsolete.
2650 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2652 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2653 rather than using an Emacs version test.
2655 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2656 rather than an Emacs version test.
2658 * calendar/cal-china.el (holiday-chinese-qingming)
2659 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2660 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2661 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2663 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2665 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2666 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2667 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2669 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2671 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2672 (gdb-previous-frame-pc-address): ...to this.
2673 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2674 of "info frame" with Gdb 6.4+.
2675 (gdb-stack-list-frames-regexp): New regexp.
2676 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2678 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2680 * tar-mode.el (tar-prefix-offset): New constant.
2681 (tar-header-block-tokenize): Support paths with long names
2682 which use the "ustar" standard.
2684 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2686 * image-dired.el (image-dired-track-original-file)
2687 (image-dired-modify-mark-on-thumb-original-file):
2688 Use `dired-goto-file' instead of `search-forward'. This solves
2689 a bug with finding files where the file name is a subset of other
2690 file names. Doc fix.
2692 2008-04-22 Juri Linkov <juri@jurta.org>
2694 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2695 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2696 (yank-menu-length): Change group name `mouse' to `menu'.
2697 (buffers-menu-buffer-name-length): New user option.
2698 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2699 instead of the hard-coded number 27.
2701 2008-04-22 Juri Linkov <juri@jurta.org>
2703 * isearch.el (eval-when-compile): Require `help-macro'.
2704 (isearch-help-for-help-internal): Isearch specific Help screen
2705 created by `make-help-screen'.
2706 (isearch-help-map): New variable that binds "b", "k", "m" to
2707 isearch-specific commands, and binds other keys to
2708 isearch-other-control-char, thus allowing other Help keys to
2709 exit isearch mode and execute their global definitions.
2710 (isearch-help-for-help, isearch-describe-bindings)
2711 (isearch-describe-key, isearch-describe-mode): New commands.
2712 (isearch-mode-help): Define alias to isearch-describe-mode
2713 and remove its old function definition.
2714 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2715 Remove old comments because this issue is settled now.
2716 (isearch-forward): Describe three new Help commands in the docstring.
2717 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2718 leave the single sentence at the first line of the docstring,
2719 and prepend the word "function" before `isearch-forward'
2720 to make the Help link to the function instead of variable.
2722 2008-04-22 Juri Linkov <juri@jurta.org>
2724 * isearch.el (isearch-success-function): New variable with default
2725 to `isearch-success-function-default'.
2726 (isearch-search): Call a function from `isearch-success-function'
2727 instead of calling the hard-coded `isearch-range-invisible'.
2728 (isearch-success-function-default): New function that calls
2729 `isearch-range-invisible' and inverts its return value.
2731 * info.el (Info-search): In two similar places that skip
2732 undesired search matches move code to Info-search-success-function,
2733 and call `isearch-success-function' instead.
2734 (Info-search-success-function): New function copied from code
2735 in Info-search. Replace isearch-range-invisible with
2736 text-property-not-all that checks for 'invisible and 'display
2737 properties to skip partially invisible matches (whose display
2738 properties were set by Info-fontify-node).
2739 (Info-mode): Set buffer-local isearch-success-function
2740 to Info-search-success-function.
2742 2008-04-22 Juri Linkov <juri@jurta.org>
2744 * minibuffer.el (internal-complete-buffer-except): New function.
2746 * files.el (read-buffer-to-switch): New function.
2747 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2748 Change interactive spec to call read-buffer-to-switch instead of
2749 using the letter "B".
2751 * simple.el (minibuffer-default-add-shell-commands): New function.
2752 Use declare-function for mailcap-file-default-commands from "mailcap".
2753 (shell-command): Set local minibuffer-default-add-function to
2754 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2755 before calling read-shell-command. Set 4th arg default-value of
2756 read-shell-command to relative buffer-file-name in file buffers.
2758 * dired-aux.el (dired-read-shell-command-default): Move it to
2759 gnus/mailcap.el and change its name to more general name
2760 mailcap-file-default-commands.
2761 (minibuffer-default-add-dired-shell-commands): New function.
2762 Use declare-function for mailcap-file-default-commands from "mailcap".
2763 (dired-read-shell-command): Set local minibuffer-default-add-function
2764 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2765 before calling read-shell-command. Remove dired-read-shell-command-default
2766 from the default value arg because default values are not set in
2767 minibuffer-default-add-dired-shell-commands. Doc fix.
2769 * dired-x.el (dired-smart-shell-command): Sync arguments and
2770 interactive spec with changes in `shell-command'.
2771 Use dired-get-filename to get the dired file name at point
2772 as the default value in dired mode.
2774 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2776 * info.el (Info-complete-menu-item): Add missing parenthesis.
2778 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * info.el (Info-complete-menu-item): Save point.
2782 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2784 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2786 2008-04-22 Andreas Schwab <schwab@suse.de>
2788 * Makefile.in (emacs-deps): Define.
2789 Use it instead of $(lisp)/subdirs.el.
2791 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2793 * vc.el (vc-next-action): Do not consider directories when
2794 checking for state compatibility.
2795 (vc-transfer-file): Use when not if.
2796 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2797 (vc-dir-mark-file): Use them.
2798 (vc-deduce-fileset): Also return the backend.
2799 (vc-diff-internal): Take as argument the value returned by
2800 vc-deduce-fileset instead of just the fileset.
2801 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2802 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2803 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2805 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2807 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2808 set-window-vscroll but image-scroll-down. Fixes a bug where a
2809 command following SPC scrolled up again.
2811 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2813 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2814 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2815 (gud-watch): Add "$" prefix when in registers buffer.
2817 2008-04-22 Glenn Morris <rgm@gnu.org>
2819 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2821 * whitespace.el (whitespace-display-table)
2822 (whitespace-display-table-was-local): Move definitions before use.
2824 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2825 (copyright-limit): Respect copyright-at-end-flag.
2826 (copyright-re-search, copyright-start-point)
2827 (copyright-offset-too-large-p): New functions.
2828 (copyright-update-year): Use copyright-re-search.
2829 (copyright-update, copyright-fix-years): Use copyright-start-point,
2830 and copyright-re-search.
2831 (copyright): Use copyright-offset-too-large-p.
2832 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2834 * add-log.el (top-level): Require 'cl when compiling.
2836 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2839 Treat minibuffer-completion-predicate as a predicate.
2841 * minibuffer.el (completion--file-name-table): Accept both the old
2842 `dir' arg or the new `pred' arg.
2844 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2845 `predicate' argument to pass non-predicate data.
2846 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2847 Use second arg as proper predicate.
2849 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2850 (vc-bzr-revision-completion-table): Use completion-table-with-context
2853 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2855 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2857 * term.el (term-emulate-terminal): Perform redisplay after the
2858 process filter has finished running.
2860 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2864 * minibuffer.el (completion-try-completion): Change magic symbol
2865 property name. Rename from minibuffer-try-completion.
2866 (completion-all-completions): Rename from minibuffer-all-completions.
2867 Remove hide-spaces argument.
2868 (completion--do-completion): Rename from minibuffer--do-completion.
2869 (minibuffer-complete-and-exit): Call just try-completion rather than
2870 completion-try-completion to fix up the case.
2871 (completion--try-word-completion): Try to add space or hyphen before
2872 making `string' a prefix of `completion'.
2873 (completion--insert-strings): Rename from minibuffer--insert-strings.
2875 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2877 * net/tls.el (tls-program): Add -ign_eof argument to call the
2879 (tls-checktrust): Ditto.
2881 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2883 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2885 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2886 (vc-check-master-templates, vc-file-not-found-hook)
2887 (vc-kill-buffer-hook):
2888 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2889 (vc-find-position-by-context, vc-buffer-context)
2890 (vc-restore-buffer-context, vc-responsible-backend)
2891 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2892 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2893 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2894 (vc-version-diff, vc-diff, vc-insert-headers)
2895 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2896 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2897 (vc-revert, vc-rollback, vc-version-backup-file)
2898 (vc-rename-master, vc-delete-file, vc-rename-file)
2899 (vc-branch-part, vc-default-retrieve-snapshot)
2900 (vc-annotate-display-autoscale, vc-annotate-display-select)
2901 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2902 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2903 (vc-dir-update): Handle directories.
2904 (vc-default-status-printer): Simplify.
2906 * progmodes/asm-mode.el (asm-mode-map):
2907 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2909 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2911 2008-04-21 Kenichi Handa <handa@m17n.org>
2913 * select.el (xselect-convert-to-string): Send a C_STRING only if
2914 the polymorphic target TEXT is requested.
2916 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2918 * minibuffer.el (completion-setup-hook, display-completion-list)
2919 (completion--file-name-table): Fix typos in docstrings.
2920 (completion-table-dynamic): Fix typo, and reflow docstring.
2922 2008-04-20 Andreas Schwab <schwab@suse.de>
2924 * server.el (server-switch-buffer): Also consider clients in the
2927 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2929 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2930 Select window clicked on first.
2931 (gdb): Display thread number in mode-line.
2932 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2933 (gdb-breakpoints-header): New variable.
2934 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2936 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2939 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2940 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2941 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2942 (vc-sccs-print-log): Use it.
2944 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2946 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2947 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2949 * tooltip.el (tooltip-previous-message): New var.
2950 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2951 the C code (avoid overwriting a minibuffer, restore previous echo
2953 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2956 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2958 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2959 (gdb-init-1): Initialise it.
2960 (gdb-annotation-rules): New entry for "new-thread".
2961 (gdb-thread-identification): New function to customize
2962 mode-line-buffer-identification.
2963 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2964 (gdb-assembler-mode): Use it.
2965 (gdb-threads-mode): Force "info threads" onto queue.
2967 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * files.el (locate-file-completion-table): Rename from
2970 locate-file-completion and make it use `pred' in the normal way.
2971 (locate-file-completion): New compatibility wrapper.
2972 (load-library): Use locate-file-completion-table.
2973 * finder.el (finder-commentary):
2974 * subr.el (locate-library):
2975 * emacs-lisp/find-func.el (find-library): Likewise.
2976 * info.el: Use with-current-buffer and inhibit-read-only.
2977 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2978 (Info-read-node-name-1): Adjust uses accordingly.
2980 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2981 (completion-table-with-terminator): Don't use complete-with-action
2982 since we have to distinguish all three cases anyway.
2983 (completion-table-with-predicate): New function.
2984 (dynamic-completion-table): Add obsolete alias.
2986 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2988 2008-04-18 Sam Steingold <sds@gnu.org>
2990 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2991 Use quit-window instead of bury-buffer.
2993 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2995 * minibuffer.el (completion-table-with-terminator): Fix last fix.
2997 2008-04-18 Andreas Schwab <schwab@suse.de>
2999 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3000 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3001 Depend on $(lisp)/subdirs.el.
3003 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
3005 * descr-text.el (describe-char-after):
3006 Use `define-obsolete-function-alias'.
3008 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
3010 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
3012 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
3013 Remove redundant obsolescence info in docstring.
3015 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3016 (vc-header-alist): Add WHEN to obsolescence declaration.
3017 (vc-state): Fix typo in docstring.
3019 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
3020 Use `define-obsolete-variable-alias'.
3022 * emulation/tpu-edt.el (tpu-have-ispell):
3023 * international/codepage.el (codepage-setup):
3024 Fix typo in obsolescence declaration.
3026 * international/mule.el (char-coding-system-table):
3027 Remove redundant obsolescence info in docstring.
3028 (charset-list, generic-char-p, set-char-table-default):
3029 Fix typos in obsolescence decarations.
3031 * international/mule-diag.el (non-iso-charset-alist):
3032 Fix typo in obsolescence declaration.
3033 (decode-codepage-char): Remove redundant obsolescence info in docstring.
3035 * font-core.el (font-lock-defaults-alist):
3036 * font-lock.el (font-lock-reference-face):
3037 * frame.el (screen-height, screen-width, set-screen-width)
3038 (set-screen-height):
3039 * hilit-chg.el (highlight-changes-initial-state):
3040 * isearch.el (isearch-return-char):
3041 * log-edit.el (cvs-commit-buffer-require-final-newline)
3042 (cvs-changelog-full-paragraphs):
3043 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
3044 (mouse-popup-menubar-stuff):
3045 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
3046 (mouse-wheel-click-button):
3047 * outline.el (outline-visible):
3048 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
3049 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
3050 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
3051 * progmodes/compile.el (compile-internal):
3052 Add WHEN to obsolescence declarations.
3054 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
3056 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
3057 is not better anyway.
3059 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3061 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
3064 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
3067 (python-use-skeletons): Remove, unused.
3068 (python-skeletons): Remove. Use the abbrev table instead.
3069 (python-mode-abbrev-table): Fix regexp;
3070 add enable-function and case-fixed.
3071 (def-python-skeleton): Simplify.
3072 (python-expand-template): Use the abbrev-table and abbrev-insert.
3073 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
3075 (python-mode): Don't set pre-abbrev-expand-hook.
3077 * skeleton.el: Set coding-tag.
3079 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
3080 (expand-abbrev): Use it.
3081 (abbrev-table-menu): New function.
3083 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
3085 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
3087 2008-04-17 Sam Steingold <sds@gnu.org>
3089 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
3090 idiosyncratic bury-buffer/delete-window logic.
3092 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
3094 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
3095 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
3097 2008-04-17 Kenichi Handa <handa@m17n.org>
3099 * international/characters.el: Don't make the width of U+00AD to 0.
3101 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
3103 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
3104 (gdb, gdb-starting, gdb-frames-mode): Use it.
3105 (gdb-invalidate-frames): Advise to call "info stack" only if
3106 execution has occurred.
3107 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
3108 selected frame if no execution has occurred.
3109 (gdb-frames-force-update): New interactive function.
3110 (gdb-frames-mode-map): Bind it to "F".
3112 2008-04-17 Michael Olson <mwolson@gnu.org>
3114 * textmodes/remember.el (remember-version): Release Remember 2.0.
3116 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
3118 * textmodes/artist.el:
3119 * progmodes/vhdl-mode.el:
3120 * progmodes/verilog-mode.el:
3121 * progmodes/vera-mode.el:
3122 * progmodes/simula.el:
3123 * progmodes/ps-mode.el:
3124 * progmodes/cmacexp.el:
3125 * obsolete/hilit19.el:
3126 * emulation/viper.el:
3127 * ediff.el: Cleanup the bug-report email addresses and make sure the
3128 maintainer is still willing to handle bug reports.
3130 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
3132 * vc.el (vc-dir-kill-query): Fix thinko.
3134 2008-04-16 Glenn Morris <rgm@gnu.org>
3136 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
3137 by diary-sexp-entry.
3139 2008-04-16 Markus Triska <markus.triska@gmx.at>
3141 * proced.el (proced-command-alist): Add support for darwin.
3143 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * proced.el (proced-mode): Redefine as just the major-mode.
3146 (proced): Separate it from proced-mode.
3148 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
3150 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3152 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
3153 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
3154 `tab-width' setting from user. New version 10.0. Doc and docstring
3156 (whitespace-style, whitespace-chars): Remove options.
3157 (whitespace-style-mark): New option, replace whitespace-style deleted
3158 option. Fix docstring.
3159 (whitespace-style-color): New option, replace whitespace-chars deleted
3160 option. Fix docstring.
3161 (whitespace-space, whitespace-hspace, whitespace-tab)
3162 (whitespace-newline, whitespace-trailing, whitespace-line)
3163 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3164 (whitespace-space-after-tab, whitespace-hspace-regexp)
3165 (whitespace-space-regexp, whitespace-tab-regexp)
3166 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3167 (whitespace-empty-at-eob-regexp, whitespace-line-column)
3168 (whitespace-toggle-option-alist): Fix docstring.
3169 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3170 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
3171 docstring and initialization.
3172 (global-whitespace-mode): Autoloaded global minor mode.
3173 (whitespace-chars-value-list, whitespace-style-value-list)
3174 (whitespace-active-chars, whitespace-active-style)
3175 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
3176 (whitespace-color-value-list): New var, replace
3177 whitespace-chars-value-list removed var.
3178 (whitespace-mark-value-list): New var, replace
3179 whitespace-style-value-list removed var.
3180 (whitespace-active-color): New var, replace whitespace-active-chars
3182 (whitespace-active-mark): New var, replace whitespace-active-style
3184 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
3186 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
3188 (whitespace-toggle-option-alist, whitespace-report-list)
3189 (whitespace-report-text, whitespace-help-text): Fix initialization.
3190 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
3191 (whitespace-toggle-options, global-whitespace-toggle-options)
3192 (whitespace-cleanup-region, whitespace-report-region)
3193 (whitespace-interactive-char): Fix docstring and code.
3194 (whitespace-cleanup, whitespace-report): Fix docstring.
3195 (whitespace-replace-spaces-by-tabs): Remove fun.
3196 (whitespace-replace-action): New fun, replace
3197 whitespace-replace-spaces-by-tabs removed fun.
3198 (whitespace-regexp, whitespace-indentation-regexp)
3199 (whitespace-space-after-tab-regexp, whitespace-insert-value)
3200 (whitespace-kill-buffer): New funs.
3201 (whitespace-insert-option-mark, whitespace-help-on)
3202 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
3203 (whitespace-color-on, whitespace-color-off)
3204 (whitespace-display-char-on): Fix code.
3206 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
3209 (mouse-throw-magnifier-with-mouse-movement): Remove.
3210 (mouse-throw-magnifier-base): New const.
3211 (mouse-drag-scroll-delta): New fun.
3212 (mouse-drag-throw): Use it.
3214 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
3216 * international/uni-bidi.el, international/uni-category.el:
3217 * international/uni-combining.el, international/uni-comment.el:
3218 * international/uni-decimal.el, international/uni-decomposition.el:
3219 * international/uni-digit.el, international/uni-lowercase.el:
3220 * international/uni-mirrored.el, international/uni-name.el:
3221 * international/uni-numeric.el, international/uni-old-name.el:
3222 * international/uni-titlecase.el, international/uni-uppercase.el:
3223 * international/charprop.el: Regenerate.
3225 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
3227 * vc.el (vc-status-fileinfo): Add new member directoryp.
3228 (vc-default-status-printer): Print directories.
3229 (vc-status-update): Sort files before subdirectories.
3231 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3232 Add alternative implementation based on "cvs update".
3234 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
3236 * doc-view.el: Changed requirements section to tell that only one
3237 of dvipdf or dvipdfm is needed.
3238 (doc-view-already-converted-p): Fix bug that forced reconversion
3239 if doc was already converted.
3241 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * minibuffer.el (minibuffer-message):
3244 Make sure we can put-text-property.
3246 * emacs-lisp/crm.el: Complete rewrite.
3248 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3249 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3250 case of an error in display-completion-list.
3252 * filecache.el (file-cache-completions-keymap): Move init from
3253 file-cache-completion-setup-function into declaration.
3254 (file-cache-minibuffer-complete): Simplify.
3255 (file-cache-completion-setup-function): Use standard-output,
3256 preserve current-buffer.
3258 * vc.el (vc-status-update): Fix typo.
3259 (vc-status-update): Set needs-update.
3260 (vc-status-refresh): η-reduce.
3262 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3264 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3267 2008-04-14 Alexandre Julliard <julliard@winehq.org>
3269 * vc.el (vc-status-update): Undo the previous revert.
3271 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * minibuffer.el (completion-table-with-terminator): Those completions
3274 are never valid w.r.t test-completion.
3275 (completion--file-name-table):
3276 Check completion-all-completions-with-base-size.
3278 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3280 * doc-view.el (doc-view-dvipdf-program): New variable.
3281 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3282 (doc-view-mode-p): Check for doc-view-dvipdf-program as
3283 alternative for doc-view-dvipdfm-program.
3284 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3286 * doc-view.el (doc-view-start-process): Don't set
3287 default-directory to "~/" if the current value is valid.
3288 This broke PS files that run other files in the same directory.
3290 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
3292 * vc.el (vc-status-kill-query): New function.
3293 (vc-status-mode): Add it to kill-buffer-query-functions.
3294 (vc-status-show-fileentry): New function.
3295 (vc-status-menu-map): Bind it. Bind vc-next-action.
3297 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * minibuffer.el (minibuffer-message): Put cursor at the right place.
3301 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3303 * proced.el (proced-send-signal): Fix error recognition.
3305 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3307 * proced.el (proced-command-alist): Remove sort column.
3308 (proced-command, proced-procname-column):
3309 Use make-variable-buffer-local.
3310 (proced-signal-function): Rename from proced-kill-program.
3311 Allow for elisp symbols and string values representing system calls.
3312 (proced-marker-regexp, proced-success-message): New functions.
3313 (proced): Use defalias. Add autoload cookie.
3314 (proced-unmark-backward, proced-toggle-marks)
3315 (proced-hide-processes): New commands.
3316 (proced-do-mark): Simplify code.
3317 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3318 (proced-update): Remove sorting.
3319 (proced-send-signal): Display number of processes to operate on.
3320 Allow for system calls or elisp functions to send signals.
3321 Check if signal was sent successfully.
3323 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * minibuffer.el (completion-all-completion-with-base-size): New var.
3326 (completion--some): New function.
3327 (completion-table-with-context, completion--file-name-table):
3328 Return the base-size if requested.
3329 (completion-table-in-turn): Generalize to multiple arguments.
3330 (complete-in-turn): Compatibility alias.
3331 (completion-styles-alist): New var.
3332 (completion-styles): New customization.
3333 (minibuffer-try-completion, minibuffer-all-completions):
3335 (minibuffer--do-completion, minibuffer-complete-and-exit)
3336 (minibuffer-try-word-completion): Use them.
3337 (display-completion-list, minibuffer-completion-help): Use them.
3338 Handle all-completions's new base-size info to set completion-base-size.
3339 * info.el (Info-read-node-name-1): Use completion-table-with-context,
3340 completion-table-with-terminator and complete-with-action.
3341 Remove the now obsolete completion-base-size-function property.
3342 * simple.el (completion-list-mode-map): Move init into declaration.
3343 (completion-list-mode): Use define-derived-mode.
3344 (completion-setup-function): Use any completion-base-size that may
3345 have been set before. Remove handling of completion-base-size-function.
3346 * loadup.el: Move abbrev.el up earlier.
3348 2008-04-13 Alexandre Julliard <julliard@winehq.org>
3350 * vc-git.el (vc-git-after-dir-status-stage)
3351 (vc-git-dir-status-goto-stage): New functions.
3352 (vc-git-after-dir-status-stage1)
3353 (vc-git-after-dir-status-stage1-empty-db)
3354 (vc-git-after-dir-status-stage2): Remove, functionality moved
3355 into the new generic stage functions.
3356 (vc-git-dir-status-files): New function.
3358 * vc.el (vc-status-update): Revert an incorrect rewrite.
3360 (vc-status-refresh-files): New function.
3361 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3362 state of up-to-date files.
3363 (vc-default-dir-status-files): New function.
3365 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
3367 * minibuffer.el (completion--embedded-envvar-table)
3368 (read-file-name-internal): Fix typos in 2008-04-11 change.
3370 * faces.el (read-face-name): Use `completion-table-in-turn',
3371 not `complete-in-turn'.
3373 2008-04-13 Andreas Schwab <schwab@suse.de>
3375 * progmodes/etags.el: Require 'cl when compiling.
3377 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
3379 * progmodes/gud.el (gud-menu-map): Expand tooltip.
3381 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3382 (menu): Add/expand menu tooltips.
3384 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
3386 * progmodes/sh-script.el (sh-show-indent): Fix typo.
3387 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3389 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3390 considered registered.
3392 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
3394 * emacs-lisp/copyright.el (copyright-update-directory): New command.
3396 * ediff-wind.el (ediff-split-window-function)
3397 (ediff-merge-split-window-function): Improve custom type.
3399 2008-04-12 Eli Zaretskii <eliz@gnu.org>
3401 * loadup.el ("minibuffer"): Move after "faces".
3403 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * progmodes/hideif.el (hif-factor): Handle unary minus.
3407 2008-04-12 Glenn Morris <rgm@gnu.org>
3409 * calendar/cal-china.el (chinese-calendar-time-zone):
3410 Mark obsolete name as risky too.
3412 * calendar/calendar.el (calendar-faces): New custom group.
3413 (calendar-today, diary, holiday): Doc fix.
3414 Move to calendar-faces group.
3415 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3416 (diary-button): Doc fix. Move to calendar-faces group.
3418 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3419 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3420 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3421 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3422 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3423 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3424 not in dumped files before the associated defcustom.
3426 2008-04-11 Johan Bockgård <bojohan@gnu.org>
3428 * minibuffer.el (lazy-completion-table): Fix debug spec.
3430 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * minibuffer.el (complete-with-action, lazy-completion-table):
3434 (apply-partially, completion-table-dynamic)
3435 (completion-table-with-context, completion-table-with-terminator)
3436 (completion-table-in-turn): New funs.
3437 (completion--make-envvar-table, completion--embedded-envvar-table):
3439 (read-file-name-internal): Use them.
3440 (completion-setup-hook): Move from simple.el.
3441 * subr.el (complete-with-action, lazy-completion-table):
3442 * simple.el (completion-setup-hook): Move to minibuffer.el.
3444 2008-04-11 Glenn Morris <rgm@gnu.org>
3446 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3448 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3450 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3452 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3454 * textmodes/fill.el (fill-forward-paragraph-function): New var.
3455 (fill-forward-paragraph): New fun.
3456 (fill-paragraph, fill-region): Use it.
3458 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3459 (vc-status-create-fileinfo): Make `extra' optional.
3460 (vc-status-busy): New fun.
3461 (vc-status-menu-map): Use it.
3462 (vc-status-crt-marked): Remove.
3463 (vc-status-update): Rename from vc-status-add-entries.
3464 Add argument so as to prevent addition of entries. Rewrite.
3465 (vc-update-vc-status-buffer): Remove.
3466 (vc-status-refresh): Don't remove old entries, set them to
3467 up-to-date instead. Also do it after the update is complete.
3468 (vc-status-marked-files): η-reduce.
3470 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3473 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3475 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3477 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
3479 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3480 to t and don't truncate msg.
3482 2008-04-11 Glenn Morris <rgm@gnu.org>
3484 * calendar/calendar.el (diary, holidays):
3485 Move custom groups to other files.
3486 (holiday-general-holidays, holiday-oriental-holidays)
3487 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3488 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3489 (holiday-hebrew-holidays, holiday-christian-holidays)
3490 (holiday-islamic-holidays, holiday-bahai-holidays)
3491 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3492 * calendar/diary-lib.el: Move custom group here from calendar.el.
3493 * calendar/holidays-lib.el: Move custom group and variables here
3496 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3498 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3500 (calendar-current-time-zone-cache): Autoload riskiness.
3502 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3504 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3506 * woman.el (woman2-TH): Use string-equal instead of string-match.
3508 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3511 (smerge-resolve): Merge the "2-way refinement" case with one half of
3512 the "mere whitespace" resolution.
3514 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3516 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3518 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3520 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3521 Add WHEN to obsolescence declaration.
3523 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3525 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3527 * vc-hooks.el (vc-state): Add new state `conflict'.
3528 (vc-after-save): Use when not if.
3529 (vc-default-mode-line-string): Deal with the conflict state.
3530 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3532 * vc.el (vc-editable-p, vc-default-status-printer)
3533 (vc-next-action): Deal with the conflict state.
3534 (vc-mark-resolved): New function.
3535 (vc-status-mode): Fix mode name.
3536 (vc-default-comment-history): Use when not if.
3537 (Todo): Add new entries, remove old ones.
3539 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3540 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3541 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3542 Detect the conflict state.
3544 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3546 2008-04-10 Glenn Morris <rgm@gnu.org>
3548 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3549 Respect truncate-partial-width-windows in non-full windows,
3550 with regards to :toggle and :enable state.
3552 * simple.el (toggle-truncate-lines): Doc fix.
3554 * Makefile.in (MH_E_DIR): New variable.
3555 (MH_E_SRC): Restore variable removed 2008-03-13.
3556 (mh-loaddefs.el): Depend on $MH_E_SRC.
3557 (CAL_DIR, CAL_SRC): New variables.
3558 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3561 * calendar/calendar.el (calendar, diary): Add :prefix.
3562 (holidays): Change :prefix.
3563 (calendar-today, holiday, calendar-holiday-marker)
3564 (european-calendar-style): Change custom groups.
3566 * calendar/calendar.el (diary-hook, diary-display-hook):
3567 Move to diary-lib.el.
3568 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3569 Move here from calendar.el.
3570 * calendar/appt.el: Require diary-lib rather than calendar.
3571 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3573 * calendar/appt.el (appt): Add :prefix.
3575 * calendar/diary-lib.el (diary-hook): Doc fix.
3576 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3578 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3583 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3584 the arg to recursive calls.
3586 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3588 * minibuffer.el (completion-auto-help): Fix typo.
3590 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3592 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3594 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3596 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3597 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3599 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3601 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3603 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3604 (completion-auto-help): Move from C code.
3605 (minibuffer--maybe-completion-help): Remove.
3606 (minibuffer--bitset): New function.
3607 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3608 Renumber a bit. Really complete on string *before* point.
3609 Add argument used for word-completion.
3610 Join trailing / in completion with following text, as done in
3611 minibuffer-complete-word.
3612 Handle new value `lazy' for completion-auto-help.
3613 (minibuffer-try-word-completion): New function extracted from
3614 minibuffer-complete-word.
3615 (minibuffer-complete-word): Use minibuffer--do-completion.
3616 (minibuffer--insert-strings): Rename from
3617 minibuffer-complete-insert-strings.
3618 (exit-minibuffer): Fix typo.
3619 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3620 * cus-start.el: Remove completion-auto-help.
3622 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3624 * vc.el (vc-status-add-entries): New function.
3625 (vc-status-add-entry): Remove.
3626 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3627 Use vc-status-add-entries.
3629 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3632 2008-04-09 Jason Rumney <jasonr@gnu.org>
3634 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3635 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3636 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3637 (AUTOGENEL): New variable.
3638 (distclean, maintainer-clean): New targets.
3640 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3642 * emacs-lisp/regexp-opt.el (regexp-opt):
3643 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3645 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3647 * nxml/nxml-mode.el (nxml-cleanup): New function.
3648 (nxml-mode): Add it to change-major-mode-hook.
3650 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3652 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3654 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3656 * calc/.cvsignore: New file.
3658 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3660 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3662 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3663 show-help-function when turning tooltip off.
3664 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3665 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3667 2008-04-09 Alan Mackenzie <acm@muc.de>
3669 * font-lock.el (font-lock-extend-after-change-region-function):
3670 Make it buffer local.
3672 2008-04-09 Glenn Morris <rgm@gnu.org>
3674 * calendar/calendar.el (diary-file, european-calendar-style):
3675 Remove autoload cookies.
3677 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3679 * outline.el (outline-mode-menu-bar-map):
3680 * log-view.el (log-view-mode-menu):
3681 * log-edit.el (log-edit-menu): Add :help.
3683 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3685 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3686 Use substring-no-properties for correct handling of unibyte strings.
3688 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * add-log.el (change-log-next-buffer): Handle the case where version<
3693 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3694 mouse-major-mode-menu.
3695 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3696 (mouse-major-mode-menu, mouse-popup-menubar)
3697 (mouse-popup-menubar-stuff): Use them.
3698 (C-down-mouse-3): Bind to a dynamic map rather than to
3699 mouse-popup-menubar-stuff.
3701 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3702 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3704 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3706 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3707 file:// access method.
3709 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * minibuffer.el: New file.
3712 * loadup.el: Load it.
3714 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3717 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3719 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3720 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3721 Move initialization into declaration.
3722 * calc/calc-yank.el:
3723 * calc/calc-misc.el:
3724 * calc/calc-embed.el:
3725 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3727 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3729 * ps-samp.el (ps-add-printer, ps-remove-printer)
3730 (ps-make-dynamic-printer-menu): New functions.
3732 * net/zeroconf.el: New file.
3734 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3736 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3738 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3740 * vc-rcs.el (vc-rcs-modify-change-comment):
3741 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3743 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3745 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3747 * international/mule-cmds.el (set-locale-environment): Don't warn if
3748 coding system doesn't agree with system locale (this reverts changes
3749 by Dave Love, dated 2002-10-27 and 2002-10-09).
3751 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3752 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3754 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3756 2008-04-08 Glenn Morris <rgm@gnu.org>
3758 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3759 * textmodes/remember.el (remember-diary-convert-entry):
3762 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3763 diary-file, since it is the default for make-diary-entry anyway.
3765 * calendar/cal-menu.el (cal-menu-event-to-date):
3766 Rename calendar-event-to-date. Update callers.
3767 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3768 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3769 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3770 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3771 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3772 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3773 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3774 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3775 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3776 (calendar-mouse-tex-month-landscape):
3777 Rename cal-tex-mouse-month-landscape.
3778 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3779 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3780 (calendar-mouse-tex-year-landscape):
3781 Rename cal-tex-mouse-year-landscape.
3782 (cal-menu-context-mouse-menu): Update for above name changes.
3784 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3785 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3786 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3787 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3788 * calendar/holidays.el: Replace int-to-string with number-to-string.
3790 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3792 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3793 region if point moves.
3795 2008-04-08 Kenichi Handa <handa@m17n.org>
3797 * faces.el (font-slant-table): Change numeric values for `r',
3798 `roman', and `normal'.
3800 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3802 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3804 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3806 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3807 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3809 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3811 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3812 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3814 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3818 2008-04-07 Sam Steingold <sds@gnu.org>
3820 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3821 Add helper functions.
3822 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3823 lisp-compile-defun; DEFVAR forms reset the variables to the init
3824 values, just like in emacs-lisp mode eval-defun.
3825 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3826 (lisp-compile-region): Use lisp-compile-string.
3828 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3830 * subr.el (combine-and-quote-strings): Also quote strings that contain
3833 * pcvs-util.el (cvs-map): Avoid recursion :-(
3835 2008-04-07 Glenn Morris <rgm@gnu.org>
3837 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3839 * calendar.el (diary-view-entries-initially-flag): Rename
3840 view-diary-entries-initially. Keep old name as alias, update users.
3841 (calendar-mark-diary-entries-flag): Rename
3842 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3843 (calendar-view-holidays-initially-flag): Rename
3844 view-calendar-holidays-initially. Keep old name as alias, update users.
3845 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3846 Keep old name as alias, update users.
3847 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3848 Keep old name as alias, update users.
3849 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3850 Keep old name as alias, update users.
3851 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3852 Keep old name as alias, update users.
3853 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3854 (diary-american-date-forms): Rename american-date-diary-pattern.
3855 Keep old name as alias, update users.
3856 (diary-european-date-forms): Rename european-date-diary-pattern.
3857 Keep old name as alias, update users.
3858 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3859 Keep old name as alias, update users.
3860 (calendar-european-date-display-form): Rename
3861 european-calendar-display-form. Keep old name as alias, update users.
3862 (calendar-american-date-display-form): Rename
3863 european-calendar-display-form. Keep old name as alias, update users.
3864 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3865 Keep old name as alias, update users.
3866 (holiday-general-holidays): Rename general-holidays.
3867 Keep old name as alias, update users.
3868 (holiday-oriental-holidays): Rename oriental-holidays.
3869 Keep old name as alias, update users.
3870 (holiday-local-holidays): Rename local-holidays.
3871 Keep old name as alias, update users.
3872 (holiday-other-holidays): Rename other-holidays.
3873 Keep old name as alias, update users.
3874 (holiday-hebrew-holidays): Rename hebrew-holidays.
3875 Keep old name as alias, update users.
3876 (holiday-christian-holidays): Rename christian-holidays.
3877 Keep old name as alias, update users.
3878 (holiday-islamic-holidays): Rename islamic-holidays.
3879 Keep old name as alias, update users.
3880 (holiday-bahai-holidays): Rename bahai-holidays.
3881 Keep old name as alias, update users.
3882 (holiday-solar-holidays): Rename solar-holidays.
3883 Keep old name as alias, update users.
3884 (diary-fancy-buffer): Rename fancy-diary-buffer.
3885 Keep old name as alias, update users.
3886 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3888 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3890 (calendar-increment-month): Rename increment-calendar-month.
3891 Keep old name as alias, update callers.
3892 (calendar-increment-month-cons): Rename old calendar-increment-month.
3894 (calendar-extract-month): Rename extract-calendar-month.
3895 Keep old name as alias, update callers
3896 (calendar-extract-day): Rename extract-calendar-day.
3897 Keep old name as alias, update callers.
3898 (calendar-extract-year): Rename extract-calendar-year.
3899 Keep old name as alias, update callers.
3900 (calendar-generate-window): Rename generate-calendar-window.
3902 (calendar-generate): Rename generate-calendar. Update callers.
3903 (calendar-generate-month): Rename generate-calendar-month.
3905 (calendar-redraw): Rename redraw-calendar. Update callers.
3906 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3907 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3909 (calendar-update-mode-line): Rename update-calendar-mode-line.
3911 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3913 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3914 Keep old name as alias, update callers.
3915 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3916 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3917 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3918 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3919 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3920 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3921 * calendar/solar.el: Update for calendar.el name changes.
3922 * org/org.el (org-agenda-format-date-aligned)
3923 (org-agenda-execute-calendar-command): Access date elements directly
3924 rather than using calendar functions.
3925 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3926 Also set calendar-view-diary-initially-flag,
3927 calendar-view-holidays-initially-flag
3928 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3929 (org-agenda-execute-calendar-command): No need to set displayed-day.
3931 2008-04-06 Alan Mackenzie <acm@muc.de>
3933 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3934 typo in the doc string.
3936 * progmodes/cc-mode.el (c-basic-common-init):
3937 Set font-lock-extend-after-change-region-function.
3938 (c-extend-after-change-region): New function, used in
3939 font-lock-extend-after-change-region-function, thus superseding
3940 advice on the Font Lock after change functions.
3941 (c-advise-fl-for-region): Remove this macro.
3943 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3945 * textmodes/flyspell.el (flyspell-duplicate-distance):
3946 Improve custom type.
3948 2008-04-06 Glenn Morris <rgm@gnu.org>
3950 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3951 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3952 (diary-list-entries-hook): Rename list-diary-entries-hook.
3953 Keep old name as alias, update users.
3954 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3955 Keep old name as alias, update users.
3956 (diary-nongregorian-listing-hook): Rename
3957 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3958 (diary-nongregorian-marking-hook): Rename
3959 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3960 (diary-print-entries-hook): Rename print-diary-entries-hook.
3961 Keep old name as alias, update users.
3962 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3963 Keep old name as alias, update users.
3964 (diary-number-of-entries): Rename number-of-diary-entries.
3965 Keep old name as alias, update users.
3966 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3967 Give version of obsolescence.
3968 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3969 Keep old name as alias, update callers.
3970 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3972 (diary-include-other-diary-files): Rename include-other-diary-files.
3973 Keep old name as alias, update callers.
3974 (diary-simple-display): Rename simple-diary-display.
3975 Keep old name as alias, update callers.
3976 (diary-fancy-display): Rename fancy-diary-display.
3977 Keep old name as alias, update callers.
3978 (diary-print-entries): Rename print-diary-entries.
3979 Keep old name as alias, update callers.
3980 (diary-marking-entries-flag): Rename marking-diary-entries.
3982 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3983 (diary-mark-entries): Rename mark-diary-entries.
3984 Keep old name as alias, update callers.
3985 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3986 Keep old name as alias, update callers.
3987 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3988 Keep old name as alias, update callers.
3989 (calendar-mark-days-named): Rename mark-calendar-days-named.
3990 Keep old name as alias, update callers.
3991 (calendar-mark-month): Rename mark-calendar-month.
3992 Keep old name as alias, update callers.
3993 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3994 Keep old name as alias, update callers.
3995 (diary-sort-entries): Rename sort-diary-entries.
3996 Keep old name as alias, update callers.
3997 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3998 Keep old name as alias, update callers.
3999 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
4001 (diary-insert-entry): Rename insert-diary-entry.
4002 Keep old name as alias.
4003 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
4004 Keep old name as alias.
4005 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
4006 Keep old name as alias.
4007 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
4008 Keep old name as alias.
4009 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
4010 Keep old name as alias.
4011 (diary-insert-block-entry): Rename insert-block-diary-entry.
4012 Keep old name as alias.
4013 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
4014 Keep old name as alias.
4015 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
4016 Keep old name as alias, update users.
4017 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
4018 Keep old name as alias, update callers.
4019 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4020 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
4021 * calendar/icalendar.el: Update for diary-lib name changes.
4023 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
4025 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
4027 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
4028 for copy, move, and link operations.
4030 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
4032 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
4033 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
4035 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
4036 'require' statements with 1-argument ones (wrapped in if's).
4037 For compatibility with the current stable version of XEmacs.
4039 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
4041 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
4043 2008-04-06 Jason Rumney <jasonr@gnu.org>
4045 * language/burmese.el ("Burmese"): Make sample text consistent with
4048 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
4050 * progmodes/gdb-ui.el (gdb): New group.
4051 (gdb-debug-log-max, gdb-enable-debug)
4052 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
4053 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
4054 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
4055 (gdb-show-changed-values, gdb-max-children)
4056 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
4057 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
4058 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
4059 (gdb-memory-unit): Move to new group from GUD group.
4060 (menu): Allow customization from GDB-UI menu-item.
4062 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4064 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
4066 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
4069 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4070 Revision numbers can include ".".
4072 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
4073 "+" lines not accounted for by counting "-" and context lines.
4075 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4077 * term/mac-win.el (mac-service-open-file): Use file URL instead of
4080 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
4083 (vc-bzr-annotate-time): Accept space used to preserve alignment.
4085 2008-04-05 Richard Stallman <rms@gnu.org>
4087 * emacs-lisp/advice.el (defadvice): Add usage pattern.
4089 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
4091 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
4094 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
4096 * files.el (abort-if-file-too-large): Fix typo in docstring.
4098 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * subr.el (functionp): Return nil for special forms.
4102 2008-04-05 Glenn Morris <rgm@gnu.org>
4104 * emacs-lisp/autoload.el (autoload-ensure-default-file):
4106 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
4107 Require loaddef file rather than loading it.
4108 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
4109 autoload-ensure-default-file provides a feature.
4111 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
4112 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
4113 (compile, compile-always, recompile): Use $LOADDEFS.
4114 (cal-autoloads): Remove.
4116 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
4117 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
4119 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4120 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
4122 * calendar/calendar.el (diary-hebrew-entry-symbol):
4123 Rename hebrew-diary-entry-symbol. Keep old name as alias.
4124 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
4125 Keep old name as alias.
4126 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
4127 Keep old name as alias.
4128 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
4129 to diary-bahai-entry-symbol.
4130 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
4131 to diary-hebrew-entry-symbol.
4132 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
4133 to diary-islamic-entry-symbol.
4134 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
4136 * calendar/solar.el (diary-sabbath-candles-minutes)
4137 (diary-sabbath-candles): Move to cal-hebrew.
4138 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
4139 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
4140 Doc fix. Keep old name as alias.
4141 (diary-hebrew-sabbath-candles): Simplify.
4142 (solar-setup, solar-sunrise-sunset, calendar-latitude)
4143 (calendar-longitude, calendar-time-zone): Declare for compiler.
4144 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
4147 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
4148 Rename coptic-calendar-month-name-array. Update callers.
4149 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
4150 (calendar-coptic-name): Rename coptic-name. Update callers.
4151 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
4153 (calendar-coptic-last-day-of-month):
4154 Rename coptic-calendar-last-day-of-month. Update callers.
4155 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
4156 Keep old name as alias, update callers.
4157 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
4158 Keep old name as alias, update callers.
4159 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
4160 Keep old name as alias.
4161 (calendar-ethiopic-month-name-array):
4162 Rename ethiopic-calendar-month-name-array. Update callers.
4163 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
4165 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
4166 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
4167 Keep old name as alias, update callers.
4168 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
4169 Keep old name as alias, update callers.
4170 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
4171 Keep old name as alias.
4173 * calendar/cal-french.el (calendar-french-epoch):
4174 Rename french-calendar-epoch. Update callers.
4175 (calendar-french-month-name-array): Rename variable and function
4176 french-calendar-month-name-array. Update callers.
4177 (calendar-french-multibyte-month-name-array):
4178 Rename french-calendar-multibyte-month-name-array. Update callers.
4179 (calendar-french-day-name-array): Rename variable and function
4180 french-calendar-day-name-array. Update callers.
4181 (calendar-french-special-days-array): Rename variable and function
4182 french-calendar-special-days-array. Update callers.
4183 (calendar-french-multibyte-special-days-array):
4184 Rename french-calendar-multibyte-special-days-array. Update callers.
4185 (calendar-french-accents-p): Rename french-calendar-accents.
4187 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
4189 (calendar-french-last-day-of-month):
4190 Rename french-calendar-last-day-of-month. Update callers.
4191 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
4192 Keep old name as alias, update callers.
4193 (calendar-french-print-date): Rename calendar-print-french-date.
4194 Keep old name as alias, update callers.
4195 (calendar-french-goto-date): Rename calendar-goto-french-date.
4196 Keep old name as alias.
4198 * calendar/cal-menu.el, calendar/calendar.el:
4199 Update for Coptic and French name changes.
4201 * calendar/cal-china.el (calendar-chinese): Rename custom group
4202 from chinese-calendar. Update users.
4203 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
4204 Keep old name as alias, update users.
4205 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
4206 Keep old name as alias.
4207 (calendar-chinese-daylight-time-offset):
4208 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
4210 (calendar-chinese-standard-time-zone-name):
4211 Rename chinese-calendar-standard-time-zone-name.
4212 Keep old name as alias, update users.
4213 (calendar-chinese-daylight-saving-start):
4214 Rename chinese-calendar-daylight-savings-starts.
4215 Keep old name as alias, update users.
4216 (calendar-chinese-daylight-saving-end):
4217 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
4219 (calendar-chinese-daylight-saving-start-time):
4220 Rename chinese-calendar-daylight-savings-starts-time.
4221 Keep old name as alias, update users.
4222 (calendar-chinese-daylight-saving-end-time):
4223 Rename chinese-calendar-daylight-savings-ends-time.
4224 Keep old name as alias, update users.
4225 (calendar-chinese-celestial-stem): Rename
4226 calendar-chinese-celestial-stem. Keep old name as alias, update users.
4227 (calendar-chinese-terrestrial-branch):
4228 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
4230 (calendar-chinese-zodiac-sign-on-or-after):
4231 Rename chinese-zodiac-sign-on-or-after. Update callers.
4232 (calendar-chinese-new-moon-on-or-after):
4233 Rename chinese-new-moon-on-or-after. Update callers.
4234 (calendar-chinese-month-list): Rename chinese-month-list.
4236 (calendar-chinese-number-months): Rename number-chinese-months.
4238 (calendar-chinese-compute-year): Rename compute-chinese-year.
4240 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
4241 (calendar-chinese-year): Rename chinese-year. Update callers.
4242 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4243 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4244 Keep old name as alias, update callers.
4245 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4246 Keep old name as alias, update callers.
4247 (calendar-chinese-months-to-alist):
4248 Rename make-chinese-month-assoc-list. Update callers.
4249 (calendar-chinese-months): Rename chinese-months. Update callers.
4250 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4251 Keep old name as alias, update callers.
4253 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4254 Rename hebrew-calendar-leap-year-p. Update callers.
4255 (calendar-hebrew-last-month-of-year):
4256 Rename hebrew-calendar-last-month-of-year. Update callers.
4257 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4259 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4261 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4263 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4265 (calendar-hebrew-last-day-of-month):
4266 Rename hebrew-calendar-last-day-of-month. Update callers.
4267 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4268 Keep old name as alias, update callers.
4269 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4270 Keep old name as alias, update callers.
4271 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4272 Keep old name as alias, update callers.
4273 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4274 Keep old name as alias.
4275 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4276 Keep old name as alias.
4277 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4278 Keep old name as alias.
4279 (holiday-hebrew-passover): Rename holiday-passover-etc.
4280 Keep old name as alias.
4281 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4282 Keep old name as alias, update callers.
4283 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4284 Keep old name as alias.
4285 (calendar-hebrew-mark-date-pattern):
4286 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
4288 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4289 Keep old name as alias.
4290 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4291 Keep old name as alias.
4292 (diary-hebrew-insert-monthly-entry):
4293 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
4294 (diary-hebrew-insert-yearly-entry):
4295 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
4296 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4297 Keep old name as alias.
4298 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
4299 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
4300 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4301 Keep old name as alias.
4302 (calendar-hebrew-parashiot-names):
4303 Rename hebrew-calendar-parashiot-names. Update callers.
4304 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4305 (calendar-hebrew-year-Saturday-incomplete-Sunday):
4306 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4307 (calendar-hebrew-year-Saturday-complete-Tuesday):
4308 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4309 (calendar-hebrew-year-Monday-incomplete-Tuesday):
4310 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4311 (calendar-hebrew-year-Monday-complete-Thursday):
4312 Rename hebrew-calendar-year-Monday-complete-Thursday.
4313 (calendar-hebrew-year-Tuesday-regular-Thursday):
4314 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4315 (calendar-hebrew-year-Thursday-regular-Saturday):
4316 Rename hebrew-calendar-year-Thursday-regular-Saturday.
4317 (calendar-hebrew-year-Thursday-complete-Sunday):
4318 Rename hebrew-calendar-year-Thursday-complete-Sunday.
4319 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4320 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4321 (calendar-hebrew-year-Saturday-complete-Thursday):
4322 Rename hebrew-calendar-year-Saturday-complete-Thursday.
4323 (calendar-hebrew-year-Monday-incomplete-Thursday):
4324 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4325 (calendar-hebrew-year-Monday-complete-Saturday):
4326 Rename hebrew-calendar-year-Monday-complete-Saturday.
4327 (calendar-hebrew-year-Tuesday-regular-Saturday):
4328 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4329 (calendar-hebrew-year-Thursday-incomplete-Sunday):
4330 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4331 (calendar-hebrew-year-Thursday-complete-Tuesday):
4332 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4333 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
4334 Update for above name changes of constants.
4336 * calendar/cal-menu.el, calendar/calendar.el:
4337 Update for chinese and hebrew name changes.
4338 * calendar/diary-lib.el: Update for hebrew name changes.
4340 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * subr.el (keymap-canonicalize): Correct thinko.
4344 * server.el: Undo part of the multi-tty change, which is only
4345 needed if server.el is preloaded, and broke server-running-p.
4346 (server-socket-dir): Initialize in the defvar, as before.
4347 (server-start): Remove initialization of server-socket-dir.
4349 2008-04-05 Eli Zaretskii <eliz@gnu.org>
4351 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4352 3-member cons cells.
4354 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4356 * cus-face.el (custom-face-attributes): Handle roman slant.
4358 * faces.el (default): Ensure the face-defface-spec property is set.
4360 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
4362 * files.el (abort-if-file-too-large): New function.
4363 (find-file-noselect, insert-file-1): Use it.
4365 2008-04-05 Reto Zimmermann <reto@gnu.org>
4367 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4368 Replace C-c[a-zA-Z] key bindings.
4370 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * progmodes/hideif.el (hif-token-alist): New var.
4373 (hif-token-regexp, hif-tokenize): Use it.
4374 (hif-mathify-binop): New macro.
4375 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4376 (hif-greater-equal, hif-less-equal): Use it.
4377 (hif-logior, hif-logand): New functions.
4378 (hif-math): Accept | and & as well.
4380 * progmodes/etags.el: Fix problem with completion for buffer-local
4381 tables. Reported by Radey Shouman <shouman@comcast.net>.
4382 (tags-complete-tag): Remove.
4383 (tags-lazy-completion-table): New function to replace it.
4384 (find-tag-tag, complete-tag): Update users.
4386 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
4388 * vc-rcs.el (vc-rcs-dir-status):
4389 * vc-sccs.el (vc-sccs-dir-status): New function.
4391 * outline.el (outline-mode-menu-bar-map):
4392 * term.el (terminal-signal-menu): Add :help.
4394 * net/eudc.el (eudc-mode-map): Declare and define in one step.
4395 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4397 * emacs-lisp/re-builder.el (reb-mode-map):
4398 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4400 * diff-mode.el (diff-file-junk-re): Recognize the git format for
4401 new files, deleted files and for changing permissions.
4402 (diff-mode): Set beginning-of-defun-function and
4403 end-of-defun-function.
4405 * vc-bzr.el (vc-bzr-state): Use when instead of if.
4407 * vc.el (vc-default-status-fileinfo-extra): New function.
4408 (vc-status-mark-buffer-changed): Use it.
4409 (vc-update-vc-status-buffer): Allow for partial updates.
4411 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * net/tramp.el (after-init-hook): Don't wrap a lambda around
4414 tramp-register-completion-file-name-handler.
4416 * subr.el (keymap-canonicalize): New function.
4417 * mouse.el (mouse-menu-non-singleton): Use it.
4418 (mouse-major-mode-menu): Remove hack made unnecessary.
4420 * simple.el (set-fill-column): Prompt rather than error by default.
4422 2008-04-04 Andreas Schwab <schwab@suse.de>
4424 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4425 Reset new-rules after each round.
4427 * Makefile.in (cal-autoloads): New target.
4428 (compile, compile-always, recompile): Depend on it.
4429 ($(lisp)/calendar/cal-loaddefs.el)
4430 ($(lisp)/calendar/diary-loaddefs.el)
4431 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4433 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
4435 * ediff*.el: Replace load with require in eval-when-compile.
4437 * ediff-hook: Delete all invocations of (autoload ...).
4439 * ediff-util.el (ediff-setup): Make window-min-height a local variable
4440 in ediff control window, and set its min height to 2.
4441 (ediff-setup-control-buffer): Dedicate the control window.
4442 (ediff-toggle-multiframe): Undedicate control window.
4443 Work directly with ediff-setup-windows-multiframe and
4444 ediff-setup-windows-plain.
4446 * ediff-wind (ediff-choose-window-setup-function-automatically):
4448 (ediff-window-setup-function): Change initialization.
4449 (ediff-setup-windows-automatic): Delete.
4450 (ediff-setup-windows-plain-merge): Make control window dedicated.
4451 (ediff-destroy-control-frame): Do not skip frames if working in a
4454 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4457 * emulation/viper-util.el: Move provide's forward, prevent recursion in
4460 2008-04-04 Glenn Morris <rgm@gnu.org>
4462 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4463 calendar-absolute-from-bahai. Update callers, keep old name as alias.
4465 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4466 Rename islamic-calendar-leap-year-p. Update callers.
4467 (calendar-islamic-last-day-of-month):
4468 Rename islamic-calendar-last-day-of-month. Update callers.
4469 (calendar-islamic-day-number):
4470 Rename islamic-calendar-day-number. Update callers.
4471 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4472 Update callers, keep old name as alias.
4473 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4474 Update callers, keep old name as alias.
4475 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4476 Keep old name as alias.
4477 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4478 Update callers, keep old name as alias.
4479 (calendar-islamic-mark-date-pattern):
4480 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
4482 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4483 Keep old name as alias.
4484 (diary-islamic-insert-monthly-entry):
4485 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
4486 (diary-islamic-insert-yearly-entry):
4487 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
4489 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4490 calendar-absolute-from-iso. Update callers, keep old name as alias.
4491 (calendar-iso-print-date): Rename calendar-print-iso-date.
4492 Update callers, keep old name as alias.
4493 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4494 Keep old name as alias.
4495 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4496 Keep old name as alias.
4498 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4499 calendar-absolute-from-julian. Update callers, keep old name as alias.
4500 (calendar-julian-print-date): Rename calendar-print-julian-date.
4501 Update callers, keep old name as alias.
4502 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4503 Update callers, keep old name as alias.
4504 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4505 Update callers, keep old name as alias.
4506 (calendar-astro-print-day-number):
4507 Rename calendar-print-astro-day-number. Update callers, keep old
4509 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4510 Update callers, keep old name as alias.
4512 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4513 Rename calendar-string-to-mayan-long-count. Update callers.
4514 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4515 Update callers, keep old name as alias.
4516 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4518 (calendar-mayan-read-tzolkin-date):
4519 Rename calendar-read-mayan-tzolkin-date. Update callers.
4520 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4521 Keep old name as alias.
4522 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4523 Keep old name as alias.
4524 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4525 Keep old name as alias.
4526 (calendar-mayan-previous-tzolkin-date):
4527 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4528 (calendar-mayan-next-round-date):
4529 Rename calendar-next-calendar-round-date. Keep old name as alias.
4530 (calendar-mayan-previous-round-date):
4531 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4532 (calendar-mayan-long-count-to-absolute): Rename
4533 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4534 (calendar-mayan-goto-long-count-date):
4535 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4537 * calendar/cal-persia.el (calendar-persian-month-name-array):
4538 Rename persian-calendar-month-name-array. Update callers.
4539 (calendar-persian-epoch): Rename persian-calendar-epoch.
4541 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4543 (calendar-persian-last-day-of-month):
4544 Rename persian-calendar-last-day-of-month. Update callers.
4545 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4546 Update callers, keep old name as alias.
4547 (calendar-persian-print-date): Rename calendar-print-persian-date.
4548 Update callers, keep old name as alias.
4549 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4550 Keep old name as alias.
4552 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4553 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4554 * calendar/solar.el: Update for cal-julian name changes.
4556 * calendar/cal-dst.el: Update for persian name changes.
4558 * calendar/cal-menu.el, calendar/calendar.el:
4559 Update for islamic, iso, julian, mayan, persian name changes.
4561 * calendar/diary-lib.el: Update for islamic name changes.
4563 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4564 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4566 (calendar-christian-all-holidays-flag):
4567 Rename all-christian-calendar-holidays. Update callers, keep old
4569 (calendar-islamic-all-holidays-flag):
4570 Rename all-islamic-calendar-holidays. Update callers, keep old
4572 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4573 Update callers, keep old name as alias.
4574 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4575 Update for the above name changes.
4577 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4579 * hilit-chg.el (global-highlight-changes-mode)
4580 (highlight-changes-passive-string, highlight-changes-active-string):
4581 Mark as obsolete since 23.1, not 22.1.
4583 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4585 * hilit-chg.el (highlight-changes-visibility-initial-state)
4586 (hilit-chg-update, highlight-changes-mode-turn-on):
4587 Fix typos in docstrings.
4589 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4591 * newcomment.el (comment-enter-backward): Be careful to restore
4592 position changed during narrowing.
4594 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4596 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4597 Recognize `sub ($$)'.
4599 2008-04-03 Richard Sharman <rsharman@pobox.com>
4601 * hilit-chg.el (highlight-changes-mode): Rename from
4602 highlight-changes; no longer uses sub-modes active and passive;
4603 implemented by define-minor-mode.
4604 (highlight-changes-toggle-visibility): New function, to replace
4605 the old passive/active submodes of global-highlight-changes-mode;
4606 implemented by define-minor-mode.
4607 (global-highlight-changes-mode): Rename from global-highlight-changes;
4608 rewrite using define-globalized-minor-mode.
4609 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4610 (hilit-chg-post-command-hook, hilit-chg-check-global)
4611 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4612 to use of define-globalized-minor-mode.
4613 (highlight-changes-global-initial-state): Change to be boolean.
4614 (highlight-changes-visible-string, highlight-changes-invisible-string):
4615 Rename from highlight-changes-active-string and
4616 highlight-changes-passive-string.
4617 (hilit-chg-update, hilit-chg-set): Use them.
4618 (global-highlight-changes-mode): Rename from global-highlight-changes.
4619 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4621 (hilit-chg-hide-changes): Rewrite to use dolist.
4622 (hilit-chg-set-face-on-change, hilit-chg-update)
4623 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4624 variable instead of testing highlight-changes-mode.
4625 (highlight-markup-buffers): Add require ediff-util; argument on calls
4626 to highlight-changes-mode changed.
4627 (highlight-compare-with-file): Fix problems with interactive
4628 call giving invalid default file.
4630 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4632 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4633 Fix in disassembly buffer (regression in 22.2).
4635 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4637 * emulation/viper-macs.el (viper-read-fast-keysequence):
4638 Use viper-read-event instead of viper-read-key.
4640 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4642 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4643 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4646 * emulation/viper-ex.el, emulation/viper-macs.el:
4647 * emulation/viper-mous.el:
4648 Replace load with require in eval-when-compile.
4650 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4652 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4654 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4655 (archive-try-jka-compr): New function.
4656 (archive-set-buffer-as-visiting-file): Use it.
4658 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4660 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4662 * simple.el (handle-shift-selection): New arg.
4664 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4668 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4670 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4672 * shell.el (shell-dynamic-complete-filename): New fun.
4673 (shell-dynamic-complete-functions): Use it.
4675 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4677 2008-04-03 Kenichi Handa <handa@m17n.org>
4679 * international/fontset.el (create-fontset-from-x-resource):
4680 Handle the error of X resource more gracefully.
4682 * international/latin1-disp.el (latin1-display): Don't use make-char.
4683 Fix the argument to set-char-table-range.
4684 (latin1-display-identities): Don't use make-char.
4685 (latin1-display-reset): Use map-charset-chars instead of directly
4686 calling standard-display-default.
4687 (latin1-display-check-font): Don't use make-char.
4688 (latin1-display-setup): Likewise.
4689 (latin1-display-ucs-per-lynx): Likewise.
4691 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4694 name the fields, to make the code clearer.
4695 Rewrite all `aset' and `aref' using the defined accessors.
4696 (timer--time): New pseudo-field.
4697 (timer-set-time, timer-set-idle-time, timer-inc-time)
4698 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4699 (timer--time-less-p): New function.
4700 (timer--activate): New function, extracted from timer-activate.
4701 (timer-activate-when-idle, timer-activate): Use it.
4702 (cancel-function-timers): Use dolist.
4704 2008-04-03 Glenn Morris <rgm@gnu.org>
4706 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4707 Remove declarations; no longer used.
4708 (c-cpp-define-name, c-defun-name): Declare as functions.
4710 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4711 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4713 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4714 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4715 Add optional argument. Simplify.
4716 (holiday-tisha-b-av-etc): Use memq rather than unless.
4717 (holiday-julian): Autoload it.
4718 (holiday-hebrew-misc): New function.
4720 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4722 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4723 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4724 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4725 all-hebrew-calendar-holidays.
4726 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4727 Simplify using new functions.
4728 (calendar-holidays): Doc fix.
4729 (generate-calendar-window): Use bound-and-true-p.
4731 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4733 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4734 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4735 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4736 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4738 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4740 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4744 * vc-bzr.el (vc-bzr-checkout): Simplify.
4746 * image-mode.el (image-mode-fit-frame): New command.
4748 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4749 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4750 (keyboard-escape-quit): Check region-active-p i.s.o
4751 transient-mark-mode.
4753 2008-04-02 Simon Josefsson <simon@josefsson.org>
4755 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4756 (imap-message-copyuid-1): Use it.
4757 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4759 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4761 2008-04-02 Alan Mackenzie <acm@muc.de>
4763 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4764 New optimised functions to get the name of the current defun/macro.
4766 * add-log.el (add-log-current-defun): Move the functionality which
4767 gets the current function name for C like modes to cc-cmds.el,
4768 thus optimising for speed.
4770 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4772 * simple.el (deactivate-mark): When the mark is temporarily
4773 active, restore the original value of transient-mark-mode.
4774 (set-mark-command): First deactivate the mark if was temporarily active.
4775 (exchange-point-and-mark): Reactivate the mark if it was
4777 (handle-shift-selection): New fun.
4778 (transient-mark-mode): Move var documentation here from buffer.c.
4779 (next-line, previous-line, backward-word, move-end-of-line)
4780 (move-beginning-of-line, forward-to-indentation)
4781 (backward-to-indentation, back-to-indentation)
4782 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4784 * mouse.el (mouse-set-region-1): Save the old value of
4785 transient-mark-mode.
4786 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4787 transient-mark-mode.
4789 * textmodes/paragraphs.el (forward-paragraph)
4790 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4793 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4795 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4797 * net/tramp.el (tramp-make-tramp-temp-file):
4798 Use `tramp-drop-volume-letter' for the local file name part.
4800 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4802 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4803 Add menu entries corresponding to all the key bindings.
4805 * emacs-lisp/debug.el (debugger-mode-map):
4806 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4807 (conf-align-assignments): Only work on the region if it is active.
4808 (conf-quote-normal): Use when instead of if. Remove redundant test.
4810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4811 for tracing and re-builder.
4813 2008-04-02 Glenn Morris <rgm@gnu.org>
4815 * calendar/appt.el (appt-disp-window-function): Doc fix.
4816 (appt-display-message): Move beep before display.
4817 (appt-check): Make interactive. Reduce the number of lets.
4818 Use string-equal to compare mode-line strings.
4819 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4821 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4822 (appt-delete): Simplify.
4824 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4826 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4828 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4829 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4830 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4832 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4833 (calendar-holiday-marker, mark-visible-calendar-date):
4834 * calendar/diary-lib.el (fancy-diary-display):
4835 Check for font-lock-mode before using faces.
4837 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4838 (calendar-gregorian-from-absolute): Reduce the number of lets.
4839 (hebrew-holidays-4, generate-calendar-window): Simplify.
4840 (calendar-for-loop): Make obsolete.
4841 (calendar-nth-named-day): Doc fix.
4843 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4844 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4845 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4846 Reduce the number of lets.
4847 (mark-sexp-diary-entries, calendar-mark-complex):
4848 Expand calendar-for-loops.
4850 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4852 * find-dired.el (find-dired-filter): Fix last patch to handle
4853 multi-line process input. Pad link numbers too.
4855 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4857 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4859 2008-04-01 Jason Rumney <jasonr@gnu.org>
4861 * international/characters.el (script-list): Add phonetic script,
4862 covering IPA (previously Latin), Phonetic Extensions and
4863 Phonetic Extensions Supplement (both previously unassigned).
4865 * international/fontset.el (setup-default-fontset): Use unicode fonts
4866 that cover bopomofo script for bopomofo.
4867 Likewise for braille and mathematical.
4868 Use unicode scripts that cover the phonetic script for IPA.
4870 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4872 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4873 return the assigned value.
4875 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * abbrev.el (abbrev-mode): Use define-minor-mode.
4879 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4880 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4882 (minor-mode-menu-from-indicator): Use it. Simplify.
4884 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4885 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4886 Bind the key directly to the menu.
4887 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4889 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4891 * epa.el (epa-decrypt-region): Explain the reason why this
4892 function should not be used in Lisp programs.
4893 (epa-decrypt-armor-in-region): Ditto.
4894 (epa-verify-region): Ditto.
4895 (epa-verify-cleartext-in-region): Ditto.
4896 (epa-sign-region): Ditto.
4897 (epa-encrypt-region): Ditto.
4899 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4901 * epa.el (epa-select-keys): Show menu even if there is no key in
4904 2008-04-01 Glenn Morris <rgm@gnu.org>
4906 * calendar/calendar.el (calendar-make-temp-face): New function.
4907 (mark-visible-calendar-date):
4908 * calendar/diary-lib.el (fancy-diary-display): Use it.
4910 * vc-hooks.el (vc-responsible-backend): Declare as function.
4912 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4913 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4914 * calendar/cal-julian.el (holiday-julian): Use it.
4916 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4917 (calendar-hebrew-date-is-visible-p): Extract some common code into
4919 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4921 * calendar/cal-menu.el (cal-menu-holidays-menu):
4922 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4923 rather than obsolete alias.
4925 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4926 for mark characters.
4927 (calendar-unmark): Unmark by removing all overlays, rather than
4929 (calendar-starred-day): Remove.
4930 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4931 (calendar-cursor-to-date): No need for special star handling now
4933 (calendar-star-date): Use overlays.
4935 * calendar/cal-french.el (calendar-goto-french-date):
4936 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4937 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4938 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4939 * calendar/cal-persia.el (calendar-persian-date-string):
4940 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4941 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4942 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4943 * calendar/solar.el (solar-equinoxes-solstices):
4944 Reduce nesting of some lets.
4946 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4947 (calendar-goto-mayan-long-count-date): Simplify.
4949 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4950 Simplify by using mapcar.
4951 (calendar-list-holidays): Return holiday-list.
4952 (list-holidays): Use let rather than let*. Remove un-needed locals
4954 (calendar-check-holidays): Return result from dolist.
4955 (holiday-float): Use a single let*. Simplify if-and to and.
4956 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4959 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4961 * calc/calc.el: Autoload `calc-yank'.
4962 (calc-mode-map): Add keybindings for `calc-yank'.
4963 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4964 assignments for `calc-yank'.
4966 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4968 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4969 (vc-status-mark-buffer-changed): Handle the extra field.
4971 * vc-bzr.el (vc-bzr-after-dir-status):
4972 * vc-cvs.el (vc-cvs-after-dir-status):
4973 * vc-hg.el (vc-hg-after-dir-status):
4974 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4976 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * doc-view.el: Compute displayed pages first (in PDF).
4979 (doc-view-current-converter-processes): Rename from
4980 doc-view-current-converter-process. Update users.
4981 (doc-view-sentinel): Test buffer's liveness.
4982 (doc-view-pdf/ps->png-sentinel): Remove.
4983 (doc-view-start-process): New function.
4984 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4985 (doc-view-ps->pdf): Use it.
4986 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4988 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4989 (doc-view-mode): Kill the processes when leaving the mode.
4991 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
4993 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4994 Use `byte-compile-warning-types'. Add docstring.
4996 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4999 (smerge-resolve): Add various resolution heuristics.
5001 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
5004 2008-03-31 Glenn Morris <rgm@gnu.org>
5006 * calendar/cal-bahai.el (diary-bahai-mark-entries):
5007 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
5008 * calendar/cal-islam.el (mark-islamic-diary-entries):
5009 Fix argument order in call to diary-mark-entries-1.
5011 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
5013 (holiday-bahai): Use an algorithm actually relevant to this calendar
5016 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
5018 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
5021 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
5022 in the last fortnight in Julian October.
5024 * calendar/calendar.el (increment-calendar-month): Optionally handle
5025 systems without 12 months per year.
5027 (calendar-date-is-visible-p): Doc fix. Simplify.
5029 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
5032 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
5034 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
5035 (hi-lock-unload-function): New function.
5037 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
5039 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
5040 overwriting when NEWNAME is a local file.
5042 * net/trampver.el: Update release number.
5044 2008-03-30 Alexandre Julliard <julliard@winehq.org>
5046 * vc-git.el: Make vc-status display information about copies,
5047 renames and permission changes.
5048 (vc-git-extra-fileinfo): New defstruct.
5049 (vc-git-escape-file-name, vc-git-file-type-as-string)
5050 (vc-git-rename-as-string, vc-git-permissions-as-string)
5051 (vc-git-status-printer): New functions.
5052 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
5053 (vc-git-after-dir-status-stage1): Look for copies, renames and
5055 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
5056 (vc-git-dir-status): Ask for staged files and renames.
5058 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
5060 * vc.el: Allow backends to display backend specific information in
5061 the vc-status listing.
5062 (vc-status-fileinfo): Add a field for backend specific information.
5063 (vc-status-printer): Rename to ...
5064 (vc-default-status-printer): ... this.
5065 (vc-status-printer): New function.
5066 (vc-update-vc-status-buffer): Set the backend specific file info
5069 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * textmodes/remember.el (remember-diary-convert-entry): Revert last
5072 change (ill-conceived).
5074 2008-03-29 Glenn Morris <rgm@gnu.org>
5076 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
5077 * calendar/cal-julian.el (holiday-julian): Simplify.
5079 * calendar/holidays.el (list-holidays): Use or.
5081 2008-03-29 Juri Linkov <juri@jurta.org>
5083 * window.el (split-window-preferred-horizontally): New function.
5085 * cus-start.el (split-window-preferred-function):
5086 Set choice for "vertically" to nil instead of split-window.
5087 Set choice for "horizontally" to split-window-preferred-horizontally
5090 2008-03-29 Juri Linkov <juri@jurta.org>
5092 * simple.el (minibuffer-default-add-function): New variable with
5093 the default to minibuffer-default-add-completions.
5094 (minibuffer-default-add-done): New variable. Make it buffer-local.
5095 (minibuffer-default-add-completions): New function.
5096 (goto-history-element): Set minibuffer-default-add-done to t and
5097 call a function in minibuffer-default-add-function when the
5098 specified absolute history position is greater than the length of
5099 the minibuffer-default list and minibuffer-default-add-done is nil.
5100 Change "^End of history; no next item$" to "^End of defaults;
5103 * bindings.el (debug-ignored-errors): Change "^End of history;
5104 no next item$" to "^End of defaults; no next item$".
5106 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
5110 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
5111 to with-no-warnings.
5113 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
5115 Sync with Tramp 2.1.13.
5117 * net/tramp-ftp.el: Require 'cl when byte-compiling.
5119 * net/trampver.el: Update release number.
5121 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5123 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
5124 the current backend.
5126 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
5127 (vc-status-refresh): Create a temporary buffer and call the
5128 `dir-status' backend function from that buffer.
5130 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
5131 (vc-bzr-after-dir-status): Don't kill the buffer.
5133 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
5134 (vc-cvs-after-dir-status): Don't kill the buffer.
5136 * vc-git.el (vc-git-dir-status): Don't create a buffer.
5137 (vc-git-after-dir-status-stage2): Don't kill the buffer.
5139 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
5140 (vc-hg-after-dir-status): Don't kill the buffer.
5142 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
5143 (vc-svn-after-dir-status): Don't kill the buffer.
5145 2008-03-29 Glenn Morris <rgm@gnu.org>
5147 * calendar/calendar.el (diary-file, american-date-diary-pattern)
5148 (european-date-diary-pattern, european-calendar-display-form)
5149 (american-calendar-display-form, diary-display-hook): Doc fixes.
5150 (european-calendar-style): Doc fix. Use calendar-set-date-style for
5151 custom :set. Mark as obsolete.
5152 (calendar-date-style, iso-date-diary-pattern)
5153 (iso-calendar-display-form): New user variables.
5154 (diary-date-forms, calendar-date-display-form): Set using
5155 calendar-date-style. Doc fix.
5156 (calendar-set-date-style): New command.
5157 (european-calendar, american-calendar): Use calendar-set-date-style.
5160 * calendar/diary-lib.el (number): Move declaration where needed.
5161 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
5162 (diary-make-date): New function.
5163 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
5164 Use diary-make-date.
5165 (diary-date-display-form, diary-insert-entry-1): New functions.
5166 (insert-monthly-diary-entry, insert-yearly-diary-entry):
5167 Use diary-insert-entry-1.
5168 (insert-anniversary-diary-entry, insert-block-diary-entry)
5169 (insert-cyclic-diary-entry): Use diary-date-display-form.
5171 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5172 Autoload diary-insert-entry-1.
5173 * calendar/cal-bahai.el (diary-bahai-insert-entry)
5174 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5175 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
5176 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
5177 * calendar/cal-islam.el (insert-islamic-diary-entry)
5178 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
5179 Use diary-insert-entry-1.
5181 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
5182 (diary-yahrzeit): Doc fix. Use diary-make-date.
5184 * calendar/icalendar.el (icalendar--datetime-to-american-date):
5185 New name for icalendar--datetime-to-noneuropean-date. Make old name
5187 (icalendar--datetime-to-iso-date): New function.
5188 (icalendar--datetime-to-diary-date): Doc fix. Respect
5189 calendar-date-style if bound.
5191 * textmodes/remember.el (remember-diary-convert-entry):
5192 Respect calendar-date-style if bound.
5194 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
5197 (xterm-mouse-handle-delete-frame): Delete.
5199 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
5200 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
5201 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
5202 in xterm-modify-other-keys-terminal-list.
5204 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
5207 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5209 * vc.el (vc-update): Check if the buffer is unsaved only if it
5211 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
5214 2008-03-28 Magnus Henoch <mange@freemail.hu>
5216 * net/dns.el (dns-write): Use set-buffer-multibyte.
5218 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * vc-bzr.el (vc-bzr-sha1): New fun.
5221 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5222 (vc-bzr-registered): Use it.
5224 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5226 * vc.el (vc-status-kill-dir-status-process): Simplify.
5227 (vc-status-refresh): Make sure the buffer is live.
5228 (ring): Don't require it, not used.
5230 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
5232 * progmodes/verilog-mode.el (verilog-auto-inout-module):
5233 Add optional regular expression to AUTOINOUTMODULE.
5234 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5235 (verilog-auto-inst-param, verilog-auto-reg)
5236 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5237 (verilog-auto-output-every, verilog-auto-input)
5238 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5239 (verilog-auto-unused, verilog-auto): Update documentation to use
5240 more obvious instance module names versus cell names.
5242 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
5244 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5245 kill if a process is running.
5247 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5249 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5251 * vc.el: Add new backend function 'status-extra-headers.
5252 (vc-default-status-extra-headers): New function.
5253 (vc-status-headers): Call 'status-extra-headers. Add colors.
5255 * vc-git.el (vc-git-status-extra-headers): New function.
5257 2008-03-28 Glenn Morris <rgm@gnu.org>
5259 * calendar/cal-menu.el (cal-menu-holidays-menu)
5260 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5261 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5262 holiday-list is optional.
5263 (calendar-mouse-holidays): Remove un-needed local `l'.
5265 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5266 Remove un-needed local `date'.
5267 (calendar-cursor-to-visible-date): Use let rather than let*.
5268 Remove un-needed local `first-of-month-weekday'.
5270 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5272 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5274 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
5275 (diary-header-line-flag, diary-header-line-format): Declare.
5276 (diary-pull-attrs): Check for multiple matches.
5277 (diary-list-entries-2): Simplify finding start of date.
5278 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5280 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5281 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5283 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
5285 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5287 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5289 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5291 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5293 * image-mode.el (image-mode-reapply-winprops): Fix last change.
5295 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
5297 * international/mule-conf.el (define-iso-single-byte-charset):
5298 Don't make latin-iso8859-* supplementary.
5299 (#'set-charset-priority): Don't change the priority of charsets
5300 `unicode' and `emacs'.
5302 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5307 2008-03-27 Glenn Morris <rgm@gnu.org>
5309 * calendar/cal-bahai.el (diary-bahai-list-entries):
5310 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5311 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5313 * calendar/calendar.el (diary-file): Doc fix.
5315 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5316 (list-diary-entries-hook, mark-diary-entries-hook)
5317 (include-other-diary-files, diary-mail-entries)
5318 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5319 (diary-set-header): New function.
5320 (diary-header-line-flag, diary-header-line-format):
5321 Use diary-set-header for custom :set function.
5322 (diary-set-maybe-redraw): Use symbol-value rather than eval.
5323 (diary-attrtype-convert): Use intern-soft rather than read.
5324 (diary-display-no-entries): New function.
5325 (simple-diary-display, fancy-diary-display): Use it.
5326 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
5327 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5329 * calendar/holidays.el (list-holidays): Doc fix.
5331 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
5333 * calc/calc-store.el (calc-read-var-name-history): New variable.
5334 (calc-read-var-name): Use `calc-read-var-name-history'.
5336 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * image-mode.el (image-mode-reapply-winprops): Simplify now that
5339 window-configuration-change-hook works buffer-locally.
5341 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5343 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5344 for Emacs Lisp, not Lisp.
5346 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
5348 * help-fns.el (describe-function-1, describe-variable):
5349 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5351 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5352 replacement is provided, don't print "use nil instead".
5354 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5356 * complete.el (PC-do-completion): Use regexp-quote.
5358 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
5360 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5361 Detect missing files.
5363 * vc-git.el (vc-git-extra-menu-map): New key map.
5364 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5367 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5370 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * calendar/holidays.el (list-holidays): Make Y2 optional.
5374 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5375 buffers shown to the user.
5376 (appt-disp-window): Disable undo explicitly now that the leading space
5379 * simple.el (activate-mark): New function.
5380 (set-mark-command): Use it with region-active-p to clean up the code.
5381 (exchange-point-and-mark): Invert the meaning of C-u when
5382 transient-mark-mode is active.
5384 * dired-aux.el (dired-create-files): Use dolist.
5386 * bindings.el (mode-line-change-eol): Use with-selected-window.
5388 * apropos.el (apropos-command): Include macros.
5390 2008-03-26 Glenn Morris <rgm@gnu.org>
5392 * calendar/cal-bahai.el: Require calendar, not cal-julian.
5393 (calendar-bahai-epoch): Doc fix.
5395 * calendar/cal-china.el: Explicitly require calendar.
5397 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5398 Require calendar rather than cal-julian.
5399 Autoload calendar-absolute-from-julian.
5400 * calendar/cal-coptic.el (coptic-calendar-epoch):
5401 * calendar/cal-islam.el (calendar-islamic-epoch):
5402 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5404 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5406 * calendar/cal-dst.el: Don't require cal-persia.
5407 (calendar-absolute-from-persian): Autoload it.
5408 (dst-adjust-time): Doc fix.
5410 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5411 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5414 * calendar/cal-menu.el: Require calendar rather than declaring
5416 * calendar/calendar.el: Provide calendar before requiring cal-menu.
5418 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5419 calendar-after-frame-setup-hooks. Update callers, make old name an
5420 obsolete alias. Doc fix.
5421 (calendar-frame-1): Doc fix.
5423 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5425 * calendar/calendar.el (oriental-holidays, solar-holidays):
5426 * calendar/holidays.el (list-holidays): Assume atan always bound.
5428 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5429 Explicitly require calendar, not cal-julian.
5430 * calendar/lunar.el: Explicitly require cal-dst.
5432 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5436 * help-fns.el (describe-function-1, describe-variable): If no
5437 replacement is provided, don't print "use nil instead".
5439 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5441 * proced.el: New file.
5443 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
5445 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5447 2008-03-25 Juri Linkov <juri@jurta.org>
5449 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5450 in battery-mode-line-format.
5452 * bindings.el (minibuffer-local-map): For the command
5453 file-cache-minibuffer-complete replace keymap minibuffer-local-map
5454 with map which is already locally bound to minibuffer-local-map.
5456 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5459 Remove `sort-first' argument.
5461 * subr.el (redisplay-end-trigger-functions)
5462 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5463 (process-filter-multibyte-p, set-process-filter-multibyte):
5466 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
5468 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5469 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5470 use the LOCAL arg of `add-hook'.
5471 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5472 Remove spurious * from defcustom docstrings.
5473 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5474 Fix typos in messages.
5475 (reb-mode-buffer-p): New function.
5476 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
5477 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
5478 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
5479 Use `unless', `when'.
5480 (re-builder-unload-function): New function.
5482 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
5484 * vc-hooks.el (vc-state): Add documentation for 'missing.
5486 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
5488 * progmodes/verilog-mode.el (verilog-auto-output)
5489 (verilog-auto-input, verilog-auto-inout, verilog-auto)
5490 (verilog-delete-auto): Add optional regular expression to
5491 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5492 (verilog-signals-matching-regexp): New internal function for
5495 2008-03-25 Johan Bockgård <bojohan@gnu.org>
5497 * info.el (Info-isearch-search): Always return point.
5499 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * diff-mode.el (diff-remembered-defdir): New var.
5502 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5504 2008-03-25 Glenn Morris <rgm@gnu.org>
5506 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5507 calendar-bahai-prompt-for-date. Update callers, make old name an
5508 obsolete alias. Doc fix.
5509 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5510 coptic-prompt-for-date. Update callers, make old name an
5511 obsolete alias. Doc fix.
5512 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5513 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5514 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5515 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5516 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5517 calendar-iso-read-args. Update callers, make old name an obsolete
5519 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5520 persian-prompt-for-date. Update callers, make old name an
5521 obsolete alias. Doc fix. Move definition before use.
5523 * calendar/cal-x.el (diary-frame-parameters)
5524 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5525 (calendar-frame-1): Doc fixes.
5526 (make-fancy-diary-buffer): Remove declaration.
5527 (calendar-dedicate-diary): Replace call to deleted function
5528 make-fancy-diary-buffer.
5529 (calendar-frame-setup): New function.
5530 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5531 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5532 work, and mark as obsolete.
5533 (special-display-buffer-names): Don't mess with this; it's not our
5535 (cal-x-load-hook): Defvar it, and mark as obsolete.
5537 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5538 Default to t. Add to 'calendar group.
5539 (calendar): Doc fix. Use calendar-frame-setup.
5540 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5541 (generate-calendar-window): Doc fix.
5543 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5545 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5547 2008-03-24 Drew Adams <drew.adams@oracle.com>
5549 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5551 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5552 (finder-exit): Ignore errors rather than avoiding them.
5553 Kill *Finder-package* buffer also.
5555 2008-03-24 Andreas Schwab <schwab@suse.de>
5557 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5559 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5561 * vc-hg.el (vc-hg-after-dir-status):
5562 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5564 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5565 Detect removed files.
5567 * vc.el (vc-status-printer): Use a different face for missing files.
5568 (vc-status-hide-up-to-date): Rename from
5569 vc-status-remove-up-to-date. Update all callers.
5570 (vc-status-mode-map): Bind C-m.
5572 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5574 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5576 (vc-git--state-code): ... to this new function.
5577 (vc-git-state): Use it.
5579 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5581 * textmodes/remember.el (remember-mail-date)
5582 (remember-store-in-mailbox): Write date and From line in such a
5583 way that Mutt can read it.
5585 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5587 * simple.el (transient-mark-mode): Turn on by default.
5589 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5591 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5592 'unregistered for unregistered files.
5594 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5596 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5598 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5601 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5602 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5603 Add :enable for vc-status-refresh.
5604 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5605 (vc-status-tool-bar-map): Add binding for
5606 vc-status-kill-dir-status-process.
5607 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5608 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5609 Reset vc-status-process-buffer.
5610 (vc-status-refresh): Don't run two refreshes at a time.
5611 (vc-status): If the buffer is already in vc-status-mode only refresh.
5612 (vc-status-mark-buffer-changed): Add an optional file parameter.
5613 (vc-resynch-buffer): Use it.
5614 (vc-delete-file): Expand the file name before using it.
5615 Be careful to not create a new buffer with the old file contents.
5616 Update the VC state after performing the operation.
5618 2008-03-23 Andreas Schwab <schwab@suse.de>
5620 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5621 Fix radio button condition.
5623 [customize]: Add radio button.
5625 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5627 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5628 (calc-user-parse-tables, calc-gnuplot-default-device)
5629 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5630 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5631 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5632 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5633 (calc-undo-list, calc-redo-list, calc-main-buffer)
5634 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5635 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5636 (calc-said-hello, calc-executing-macro, calc-any-selections)
5637 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5638 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5639 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5640 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5641 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5642 (calc-create-buffer, calc-quit): Add docstrings.
5644 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5646 * makefile.w32-in (WINS_ALMOST): Add org.
5648 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5650 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5651 New functions to implement vc-status support.
5653 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5655 * vc.el (vc-status-prepare-status-buffer): New function.
5656 (vc-status): Use it.
5658 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5661 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5663 * vc-git.el (vc-git--empty-db-p)
5664 (vc-git-after-dir-status-stage1-empty-db): New functions.
5665 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5666 Add support for empty repositories.
5668 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5670 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5671 Allow "^" in a version name.
5673 * vc-mtn.el (vc-mtn-state): Support the added state.
5675 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5677 * org: New directory for Org-mode.
5679 * org/org-export-latex.el: Moved from lisp/texmodes.
5681 * org/org-irc.el: Moved from lisp/texmodes.
5683 * org/org-mac-message.el: Moved from lisp/texmodes.
5685 * org/org-mouse.el: Moved from lisp/texmodes.
5687 * org/org-publish.el: Moved from lisp/texmodes.
5689 2008-03-21 Juri Linkov <juri@jurta.org>
5691 * comint.el (comint-dynamic-simple-complete):
5692 Use variable `stub' for the second arg `common-substring'
5693 of `comint-dynamic-list-completions'.
5694 (comint-dynamic-list-filename-completions):
5695 Use variable `filenondir' for the second arg `common-substring'
5696 of `comint-dynamic-list-completions'.
5697 (comint-dynamic-list-completions): Add new optional arg
5698 `common-substring'. Add `common-substring' as the second arg of
5699 the call to `display-completion-list'. Doc fix.
5701 * comint.el (comint-dynamic-complete-as-filename)
5702 (comint-dynamic-list-filename-completions)
5703 (comint-dynamic-simple-complete): Use `minibuffer-message'
5704 to display message "No completions of %s" when a command
5705 is called in the minibuffer.
5706 (comint-dynamic-simple-complete): Don't display other
5707 completion messages when a command is called in the minibuffer.
5708 (comint-dynamic-list-completions): Use `minibuffer-message'
5709 to display message " [Type space to flush ...]" when a command
5710 is called in the minibuffer.
5712 * shell.el (shell-dynamic-complete-command)
5713 (shell-dynamic-complete-environment-variable): Don't display
5714 completion messages when command is called in the minibuffer.
5716 * emacs-lisp/lisp.el (lisp-complete-symbol):
5717 Use `minibuffer-message' to display message "No completions of %s"
5718 when this command is called in the minibuffer.
5720 * bindings.el (standard-mode-line-modes): Put special help-echo
5721 tooltip on recursive edit %[ %] mode-line constructs.
5723 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5724 "^No dynamic expansion for .* found$" to allow error messages like
5725 "No dynamic expansion for \"%s\" found in this-buffer".
5727 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5729 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5732 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5735 * vc.el (vc-default-dired-state-info): Use just "modified".
5736 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5737 (vc-cvs-mode-line-string): Make use of the better default.
5738 (vc-cvs-parse-entry): Use the new `added'.
5739 (vc-cvs-dired-state-info): Remove.
5740 * vc-svn.el (vc-svn-dired-state-info): Remove.
5741 * vc-hg.el (vc-hg-dired-state-info): Remove.
5742 * vc-git.el (vc-git-dired-state-info): Remove.
5744 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5746 * vc-git.el (vc-git-status-result): New variable.
5747 (vc-git-dir-status): Split out ...
5748 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5749 ... these new functions and work asynchronously.
5751 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5753 * vc-git.el (vc-git-after-dir-status): Remove.
5754 (vc-git-dired-state-info): Reimplement.
5756 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5758 * replace.el (occur-mode-map): Add :help.
5760 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5763 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5765 (vc-status-remove-up-to-date): New function.
5766 (vc-status-mode-map, vc-status-menu-map): Bind it.
5767 (vc-status-printer): Use a different face up-to-date files.
5768 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5769 (Todo): Remove solved entries.
5771 * vc-hg.el (vc-hg-state):
5772 * vc-git.el (vc-git-state):
5773 * vc-cvs.el (vc-cvs-parse-status):
5774 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5777 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5779 * progmodes/compile.el (compile):
5780 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5782 * simple.el (minibuffer-local-shell-command-map): New var.
5783 (minibuffer-complete-shell-command, read-shell-command): New funs.
5784 (shell-command, shell-command-on-region): Use them.
5786 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5788 * vc.el (vc-status-mark-buffer-changed): New function to implement
5789 updating of the *vc-status* buffer when a buffer is saved.
5790 (vc-status-mode): Use it for after-change-hook.
5791 (vc-add-to-vc-status-buffer): Rename to ...
5792 (vc-status-add-entry): ... this.
5793 (Todo): Add new entry.
5795 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5799 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5801 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5802 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5803 Remove spurious * from defcustom docstrings.
5804 (icomplete-compute-delay): Fix docstring and remove spurious *.
5805 (icomplete-delay-completions-threshold): Fix typo in docstring and
5807 (icomplete-completions): While collecting the list of prospective
5808 candidates, don't overshoot `icomplete-prospects-length'.
5810 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5812 * textmodes/refbib.el:
5813 * textmodes/reftex.el:
5814 * textmodes/reftex-global.el:
5815 * textmodes/reftex-vars.el:
5816 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5817 compiler pacifying defvars.
5818 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5819 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5822 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5824 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5825 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5826 (verilog-customize, verilog-font-customize)
5827 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5828 (verilog-mode): Update documentation strings to match tool tips.
5829 (verilog-auto-search-do, verilog-auto-re-search-do)
5830 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5831 expansion when a .* appears inside a string.
5832 (verilog-re-search-forward, verilog-re-search-backward):
5833 Add comment to recall how this works.
5834 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5836 2008-03-20 Glenn Morris <rgm@gnu.org>
5838 * calendar/calendar.el (calendar-other-dates): New function.
5839 (calendar-print-other-dates): Use calendar-other-dates.
5840 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5841 the declarations it replaces.
5842 (calendar-mouse-print-dates): Use calendar-other-dates.
5844 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5845 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5846 (calendar-absolute-from-bahai): Fix the leap-year case.
5847 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5848 (calendar-bahai-date-string, calendar-bahai-print-date):
5849 Handle pre-Bahai dates.
5851 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5852 (chinese-calendar-terrestrial-branch): Make defcustoms.
5854 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5855 (calendar-mouse-view-diary-entries): Use or.
5856 (calendar-mouse-chinese-date): Remove unused command.
5857 (cal-menu-load-hook): Mark as obsolete.
5859 * calendar/solar.el (calendar-location-name, calendar-latitude)
5860 (calendar-longitude, solar-arctan, sunrise-sunset)
5861 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5863 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5865 * calc/calc.el: Remove outdated comments.
5866 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5867 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5870 2008-03-19 Jason Rumney <jasonr@gnu.org>
5872 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5874 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5876 * net/tls.el (open-tls-stream): Reindent.
5878 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5880 * net/tramp.el (tramp-let-maybe): Removed.
5881 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5882 It does not exist under XEmacs.
5883 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5884 (tramp-completion-file-name-handler): Let-bind
5885 `directory-sep-char'.
5887 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5888 `directory-sep-char'.
5890 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5892 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5893 for autoloaded keymaps.
5895 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5896 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5897 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5898 (verilog-in-comment-p, verilog-in-star-comment-p)
5899 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5900 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5901 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5902 (verilog-skip-forward-comment-p): Use it.
5904 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5906 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5907 (org-remember-templates, org-time-stamp-rounding-minutes)
5908 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5909 (org-columns-new): Fix typos in docstrings.
5911 2008-03-19 Glenn Morris <rgm@gnu.org>
5913 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5914 (tramp-handle-shell-command): Use condition-case rather than
5917 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5919 * diff-mode.el (diff-header): Make the color louder.
5920 (diff-refine-change): Tone the color down.
5922 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5924 * descr-text.el (describe-char): When `describe-char-unidata-list'
5925 is set to show all properties, list them in the right order.
5927 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * international/mule.el (load-with-code-conversion): Avoid setting
5930 default-enable-multibyte-characters.
5932 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5934 * vc.el (vc-annotate-background): Fix custom type.
5936 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * descr-text.el (describe-char-unidata-list): Allow specifying
5939 just all properties.
5940 (describe-char): Handle that new value.
5942 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5944 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5946 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5947 instead of file name extension to make docs with uncommon
5950 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5952 * doc-view.el (require): Require cl at compile time because
5955 2008-03-18 Glenn Morris <rgm@gnu.org>
5957 * calendar/calendar.el (initial-calendar-window-hook)
5958 (today-visible-calendar-hook): Doc fixes.
5960 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5962 * net/tramp.el (tramp-root-regexp): Simplify.
5963 (tramp-completion-file-name-regexp-separate): Don't insist on
5964 leading "[". This prevents method or user or host completion.
5965 (tramp-let-maybe): Autoload it.
5966 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5967 is an alias for `identity'.
5968 (tramp-handle-write-region): Protect `last-coding-system-used'
5969 over the trailing statements.
5970 (tramp-completion-file-name-handler-post-function): Remove.
5971 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5972 instead of calling `tramp-drop-volume-letter'.
5976 * net/trampver.el: Move coding cookie at the end.
5978 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5981 elements which may be something else than characters.
5983 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5985 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5986 New functions to implement vc-status support.
5988 * vc.el (vc-default-extra-status-menu)
5989 (vc-add-to-vc-status-buffer): New functions.
5991 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5994 2008-03-17 Glenn Morris <rgm@gnu.org>
5996 * calendar/cal-x.el (diary-frame-parameters)
5997 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5998 Fix custom type; add options.
5999 (calendar-frame, diary-frame): Doc fixes.
6000 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
6002 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
6003 Use calendar-frame-1 and calendar-dedicate-diary.
6004 (calendar-one-frame-setup): Also handle only-one-frame case.
6005 (calendar-only-one-frame-setup): Doc fix. Just call
6006 calendar-one-frame-setup.
6008 * calendar/diary-lib.el: Re-order some definitions before their use.
6009 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
6010 (diary-list-entries): Doc fixes.
6011 (make-fancy-diary-display): Remove function.
6013 * calendar/calendar.el (calendar-today-marker)
6014 (initial-calendar-window-hook, today-visible-calendar-hook)
6015 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
6016 (calendar-star-date, calendar-mark-today): Doc fixes.
6017 (today-visible-calendar-hook): Add options.
6018 (calendar-in-read-only-buffer): New macro.
6019 (calendar-basic-setup): Adapt for change in calendar-read-date.
6020 Place holiday let inside if.
6021 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
6022 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
6023 (calendar-print-other-dates): Use one let rather than many.
6025 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
6026 (calendar-print-other-dates):
6027 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6028 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
6029 * calendar/holidays.el (calendar-list-holidays, list-holidays)
6030 (calendar-cursor-holidays):
6031 * calendar/lunar.el (calendar-phases-of-moon): Use
6032 calendar-in-read-only-buffer to replace previous code and disable undo.
6034 2008-03-16 Juri Linkov <juri@jurta.org>
6036 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
6037 and regexp-search-ring-yank-pointer for the HISTPOS argument of
6038 read-from-minibuffer to provide the correct initial minibuffer
6039 history position in isearch-edit-string when it is called from
6040 isearch-ring-adjust.
6042 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
6043 to check if the current buffer is the minibuffer, and in this case
6044 call abort-recursive-edit to kill the minibuffer. Doc fix.
6045 (kill-this-buffer-enabled-p): Allow this function to return non-nil
6046 when the current buffer is the minibuffer.
6048 * simple.el (goto-line): Leave mark at previous position. Doc fix.
6050 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
6052 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6053 Use non-nil PARENTS attribute of make-directory instead of
6054 explicitly checking existence the current cache directory.
6056 2008-03-16 Daiki Ueno <ueno@unixuser.org>
6058 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
6059 M-x epa-file-select-keys.
6061 2008-03-16 Kenichi Handa <handa@m17n.org>
6063 * international/mule.el (auto-coding-alist):
6064 Use no-conversion-multibyte for archive files.
6066 2008-03-16 Glenn Morris <rgm@gnu.org>
6068 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
6070 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
6071 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
6072 Use calendar-mark-1.
6073 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
6074 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
6075 Use calendar-mark-complex.
6076 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
6077 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
6078 Use calendar-mark-1.
6080 * calendar/calendar.el (calendar-mod): Remove.
6081 * calendar/cal-china.el (calendar-chinese-from-absolute)
6082 (calendar-chinese-date-string): Expand calendar-mod calls.
6083 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
6084 Expand calendar-mod calls.
6086 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
6087 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6088 (diary-bahai-insert-yearly-entry): Use let rather than let*.
6089 Move obsolete aliases after the functions that replaced them.
6091 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
6092 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
6093 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
6094 Use let rather than let*.
6095 (calendar-hebrew-prompt-for-date): New function.
6096 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
6097 (holiday-tisha-b-av-etc): Use unless, let.
6099 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
6100 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
6102 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
6104 * calendar/calendar.el (calendar-for-loop): Add indent spec.
6106 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
6107 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
6109 (diary): Remove un-needed let.
6110 (view-other-diary-entries): Rename argument.
6111 (diary-list-entries-2): New function.
6112 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
6113 (print-diary-entries): Use unless.
6114 (diary-mark-entries-1): Change argument order, make all but
6115 markfunc optional. Handle the standard (Gregorian) case.
6116 Use match-string-no-properties. Handle marks.
6117 (mark-diary-entries): Use diary-mark-entries-1.
6118 (diary-font-lock-keywords-1): New macro.
6119 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
6121 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
6123 * icalendar.el (icalendar-version): Increase to 0.18.
6124 (icalendar-export-hidden-diary-entries): New variable.
6125 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
6126 In case of error, insert full error-val.
6127 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
6128 Use calendar-day-of-week. Return the day number.
6129 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
6131 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
6133 * icalendar.el (icalendar-recurring-start-year): New variable.
6134 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
6135 (icalendar-export-region): Ignore hidden diary entries.
6136 (icalendar--convert-ordinary-to-ical): Fix case where event
6137 spans across midnight boundary.
6138 (icalendar-first-weekday-of-year): New function.
6139 (icalendar--convert-weekly-to-ical): Allow user-selectable start
6140 year for recurring events (Mozilla calendars do not propagate
6141 recurring events forever, so year 2000 start date was not working).
6142 (icalendar--convert-yearly-to-ical): Remove extra spaces in
6143 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
6145 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
6147 * net/tramp.el (tramp-root-regexp): New defconst.
6148 (tramp-completion-file-name-regexp-unified)
6149 (tramp-completion-file-name-regexp-separate)
6150 (tramp-completion-file-name-regexp-url): Use it.
6151 (tramp-do-copy-or-rename-file-via-buffer):
6152 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
6153 t for `insert-file-contents-literally'.
6154 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
6156 (tramp-completion-file-name-handler-post-function): New defconst.
6157 (tramp-completion-file-name-handler): Use it.
6158 (tramp-maybe-open-connection): Update calls to
6159 `tramp-flush-connection-property' for removed 2nd argument.
6161 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
6164 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
6167 2008-03-15 Glenn Morris <rgm@gnu.org>
6169 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
6171 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
6172 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6173 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6174 (diary-bahai-list-entries): Use diary-list-entries-1.
6175 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
6176 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
6177 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6178 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6179 (list-hebrew-diary-entries): Use diary-list-entries-1.
6180 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
6181 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
6182 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6183 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6184 (list-islamic-diary-entries): Use diary-list-entries-1.
6185 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
6187 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
6189 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
6191 * calendar/cal-china.el (number-chinese-months)
6192 (calendar-chinese-from-absolute): Use nth, caar.
6194 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
6196 * calendar/cal-french.el (french-calendar-accents): Doc fix.
6198 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
6199 (calendar-hebrew-month-name-array-leap-year)
6200 (hebrew-calendar-parashiot-names): Make constants.
6201 (diary-parasha): Move definition after constants it uses.
6203 * calendar/cal-html.el (cal-html-insert-link-yearpage)
6204 (cal-html-htmlify-list): Doc fix.
6205 (cal-html-htmlify-entry): Use nth.
6207 * calendar/cal-islam.el (calendar-islamic-month-name-array)
6208 (calendar-islamic-epoch): Make constants.
6209 (calendar-islamic-epoch): Doc fix.
6211 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6213 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6214 (cal-tex-month-name): Doc fix.
6215 (cal-tex-last-blank-p): Use zerop.
6217 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6218 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6219 (calendar-cursor-to-date): Doc fix.
6220 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6221 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6222 (calendar-day-number): Use when.
6223 (generate-calendar-month): Use dotimes.
6224 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6225 (calendar-set-mark): Reverse conditional.
6226 (calendar-make-alist): Move definition before use.
6228 * calendar/diary-lib.el (diary-face-attrs)
6229 (diary-glob-file-regexp-prefix, diary-selective-display)
6230 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6231 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6232 (diary-anniversary, diary-cyclic)
6233 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6234 (diary-header-line-format): Change wording.
6235 (diary-list-entries): Set `date-start' in let.
6236 (include-other-diary-files, mark-included-diary-files): Use format.
6237 (simple-diary-display, fancy-diary-display): Use cadr, unless.
6238 (mark-diary-entries): Use 1+.
6239 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6240 (mark-calendar-month): Use dotimes.
6242 * calendar/holidays.el (displayed-month, displayed-year):
6243 Move declarations where needed.
6244 (calendar-list-holidays): Doc fix.
6246 * calendar/parse-time.el (parse-time-string): Simplify.
6248 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6250 (solar-sunrise-sunset): Rename some local variables for clarity.
6251 (sunrise-sunset): Use zerop.
6252 (solar-mean-equinoxes/solstices): Doc fix.
6254 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6256 (timeclock-completing-read, timeclock-generate-report): Use zerop.
6257 (timeclock-mean, timeclock-generate-report): Use dolist.
6259 * calendar/todo-mode.el (todo-add-category): Simplify.
6260 (todo-more-important-p, todo-delete-item, todo-file-item):
6262 (todo-top-priorities): Use zerop.
6264 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
6266 * buff-menu.el (list-buffers-noselect): Display buffer name in
6267 tooltip instead of mouse binding when it doesn't fit in the list.
6269 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6271 * faces.el (xw-defined-colors):
6272 * simple.el (widget-convert, shell-mode): Declare as functions
6273 instead of autoloading.
6279 * emacs-lisp/backquote.el:
6280 * emacs-lisp/timer.el:
6286 * textmodes/fill.el:
6287 * textmodes/paragraphs.el: Remove autoloads, redundant when the
6288 files are preloaded.
6290 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * desktop.el (desktop-create-buffer): Don't catch errors if
6293 debug-on-error is set.
6295 2008-03-14 Eli Zaretskii <eliz@gnu.org>
6297 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6298 ($(lisp)/calendar/diary-loaddefs.el)
6299 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6300 (LOADDEFS): New macro.
6301 (autoloads): Depend on $(LOADDEFS).
6303 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6305 * font-lock.el (featurep): Remove test, not useful anymore.
6306 (facemenu-keymap): Move key binding ...
6307 * facemenu.el (facemenu-keymap): ... here.
6309 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
6310 for each file in the list.
6311 (vc-bzr-log-view-mode): Recognize the file marker.
6313 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6314 for checkdoc and profiling.
6316 2008-03-14 Bastien Guerry <bzg@altern.org>
6318 * textmodes/flyspell.el (nxml-mode): Add the right
6319 `flyspell-mode-predicate'.
6321 * wid-edit.el (link): Use 'mouse-face for :follow-link.
6323 2008-03-14 Glenn Morris <rgm@gnu.org>
6325 * calendar/solar.el: Reorder so that functions are defined before use.
6326 (displayed-month, displayed-year): Move declarations where needed.
6327 (solar-get-number): Move definition before use. Use unless.
6328 (solar-equatorial-coordinates): Simplify.
6329 (solar-sunrise-and-sunset): Use let rather than let*.
6330 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6332 * startup.el (command-line-1): Rename -internal-script back to
6333 -scriptload (reverts previous change).
6335 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6336 (calendar-bahai-leap-base): Add doc strings.
6337 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6338 Move definition before use.
6339 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6340 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6341 variables outside the loop. Use dolist.
6342 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6344 * calendar/cal-china.el: Re-order so that functions are defined before
6346 (displayed-month, displayed-year): Move declarations where needed.
6347 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6348 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6350 (chinese-year-cache): Recenter on 2010. Doc fix.
6351 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6353 (chinese-year-cache-init): New function.
6354 (compute-chinese-year, holiday-chinese-new-year)
6355 (calendar-chinese-date-string, calendar-goto-chinese-date)
6356 (make-chinese-month-assoc-list): Use cadr, nth.
6357 (chinese-months): Remove un-needed let.
6359 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6360 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6361 (coptic-prompt-for-date): Move definition before use.
6363 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6364 (calendar-dst-find-data, calendar-daylight-time-offset)
6365 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6366 (calendar-daylight-savings-starts-time)
6367 (calendar-daylight-savings-ends-time): Use cadr, nth.
6369 * calendar/cal-french.el (french-calendar-epoch)
6370 (calendar-goto-french-date): Doc fix.
6371 (french-calendar-month-name-array)
6372 (french-calendar-multibyte-month-name-array)
6373 (french-calendar-day-name-array, french-calendar-special-days-array):
6376 * calendar/cal-hebrew.el (displayed-month, displayed-year)
6377 (original-date): Move declarations where needed.
6378 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6380 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6381 constant variables outside the loop. Use dolist.
6383 * calendar/cal-islam.el (displayed-month, displayed-year)
6384 (original-date): Move declarations where needed.
6385 (islamic-calendar-day-number): Remove unused local variable `day'.
6386 (calendar-goto-islamic-date): Doc fix.
6387 (holiday-islamic): Use unless.
6388 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6389 constant variables outside the loop. Use dolist.
6390 (mark-islamic-calendar-date-pattern): Move definition before use.
6392 (mark-islamic-diary-entries): Doc fix.
6393 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6394 (insert-yearly-islamic-diary-entry): Use let rather than let*.
6396 * calendar/cal-julian.el (calendar-absolute-from-julian):
6397 Move definition before use. Remove un-needed local `day'.
6398 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6400 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6401 (calendar-mayan-tzolkin-names-array): Add doc strings.
6402 (calendar-mayan-long-count-from-absolute): Use a single let.
6403 (calendar-string-to-mayan-long-count): Simplify.
6404 (calendar-next-haab-date, calendar-previous-haab-date)
6405 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6406 (calendar-previous-calendar-round-date)
6407 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6409 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6410 (calendar-mayan-date-string, calendar-print-mayan-date)
6411 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6412 (calendar-mayan-long-count-common-era): Move definitions before use.
6414 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6415 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6417 (calendar-mouse-goto-date): Move definition before use.
6419 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6420 Move definition before use.
6421 (calendar-cursor-to-visible-date): Move definition before use.
6422 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
6423 and place inside the conditional.
6424 (calendar-forward-day): Simplify.
6425 (calendar-end-of-month): Use unless.
6426 (calendar-goto-day-of-year): Doc fix.
6427 Relocate obsolete aliases after their replacements.
6429 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6431 * calendar/diary-lib.el (mark-diary-entries): Move some constant
6432 variables outside the diary-date-forms loop.
6434 * calendar/calendar.el (diary-file): Doc fix.
6435 (calendar-buffer-list): Return buffers rather than strings (fixes
6437 (hebrew-holidays-4): Fix typo.
6439 * calendar/holidays.el (displayed-month, displayed-year):
6440 Move declarations where needed.
6441 (calendar-holiday-list, calendar-list-holidays)
6442 (holiday-filter-visible-calendar): Move definitions before use.
6443 (list-holidays): Use cadr.
6444 Relocate obsolete aliases after their replacements.
6446 * calendar/lunar.el (date, displayed-month, displayed-year):
6447 Move declarations where needed.
6448 (lunar-phase-list): Move definition after functions it uses.
6449 (calendar-phases-of-moon, diary-phases-of-moon)
6450 (lunar-new-moon-on-or-after): Use cadr, nth.
6451 (lunar-new-moon-on-or-after): Doc fix.
6453 * textmodes/org-irc.el (top-level): CL not required when compiling.
6454 (org-irc-visit-erc): Replace runtime CL functions.
6456 * textmodes/org-publish.el (declare-function): Add compatibility stub.
6457 (org-publish-delete-dups): Declare as function.
6459 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6461 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6462 (vc-bzr-show-log-entry): Make regexp match more cases.
6463 (vc-diff-switches-list): Remove autoload, not needed.
6465 2008-03-14 Juri Linkov <juri@jurta.org>
6467 * isearch.el (isearch-edit-string): Remove one call to
6468 `isearch-push-state' not to push an inconsistent state,
6469 but keep another correct call to `isearch-push-state'.
6470 (isearch-ring-adjust): Call `isearch-push-state' only when
6471 `search-ring-update' is non-nil since `isearch-edit-string'
6472 already pushes its state.
6473 (isearch-message): Improve matching the failed part by checking
6474 if the original message starts with the last successful message.
6476 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6477 (dired-perm-write): Rename from `dired-warn-writable'.
6478 Change parent face from `font-lock-warning-face' to
6479 `font-lock-comment-delimiter-face'.
6480 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6481 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6482 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6483 with `dired-perm-write-face'.
6485 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
6487 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6488 Create cache dir only if it doesn't already exist.
6490 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6492 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6495 2008-03-13 Johan Bockgård <bojohan@gnu.org>
6497 * net/browse-url.el (browse-url-text-xterm):
6498 Unquote browse-url-text-browser.
6500 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
6502 * textmodes/org-mouse.el: Version number change.
6504 * textmodes/org-publish.el (org-publish-expand-components):
6505 Remove null projects from the list of components.
6506 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6507 Remove unused retrieval of the :publishing-directory property.
6508 (org-publish-file): Bugfix: when using a relative directory as the
6509 publishing directory, convert it to a directory filename.
6510 (org-publish-project): New alias.
6511 (org-publish-get-files): Protect against empty p.
6512 (org-publish-file): Send an error when file is not part of any project.
6513 (org-publish-file): Offer to refresh the list of files in known
6514 project when the current file is not part of any project.
6515 (org-publish-before-export-hook)
6516 (org-publish-after-export-hook): New hooks.
6517 (org-publish-org-to): Use new hooks and kill buffers.
6518 (org-publish-file): Remove the code for killing buffers.
6519 (org-publish-initialize-files-alist): Use interactive.
6520 (org-publish-file): If the publishing function creates a new
6521 buffer, kill it after publishing.
6522 (org-publish-timestamp-filename): Protect ":" in file name path
6525 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6526 change that killed the LaTeX buffer.
6528 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6529 in the decision tree.
6530 (org-select-remember-template): Clean the code.
6531 (org-prepare-dblock): Add the extra :content parameter.
6532 (org-write-agenda): New output type ".ics" files.
6533 (org-write-agenda): Call `org-icalendar-verify-function', both for
6534 time stamps and for TODO entries.
6535 (org-agenda-collect-markers, org-create-marker-find-array)
6536 (org-check-agenda-marker-table): New functions.
6537 (org-agenda-marker-table): New variable.
6538 (org-export-as-html): Revert the change that killed the html
6539 buffer. Side effects first need to be studied carefully.
6540 (org-get-tags-at): Fix the structure of the condition-case statement.
6541 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6542 (org-timestamp-change): Fix regulear expressions to swallow the
6543 extra character for repeat-shift control.
6544 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6545 (org-get-legal-level): Alias to `org-get-valid-level'.
6546 (org-dblock-write:clocktable): Add a :link parameter, linking
6547 headlines to their location in the Org agenda files.
6548 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6549 throwing an error when getting tags before headlines.
6550 (org-timestamp-change, org-modify-ts-extra)
6551 (org-ts-regexp1): Fix timestamp editing.
6552 (org-agenda-custom-commands-local-options): New constant.
6553 (org-agenda-custom-commands):
6554 Use `org-agenda-custom-commands-local-options' to improve customize
6555 type. "htmlize": Removed hack to fix face problem with htmlize,
6556 it no longer seem necessary.
6557 (org-follow-link-hook): New hook.
6558 (org-agenda-custom-commands): Add "Component" as a tag for each
6559 item in a command serie.
6560 (org-open-at-point): Run `org-follow-link-hook'.
6561 (org-agenda-schedule): Bugfix: don't display marker type when it
6563 (org-store-link): org-irc required.
6564 (org-set-regexps-and-options): Parse the new logging options.
6565 (org-extract-log-state-settings): New function.
6566 (org-todo): Handle the new ways of recording state change stuff.
6567 (org-local-logging): New function.
6568 (org-columns-open-link): Fix bug with opening link in column view.
6569 (org-local-logging): New function
6570 (org-todo): Make sure that LOGGING properties are honoured.
6571 (org-todo-keywords): Improve docstring.
6572 (org-startup-options): Cleanup startup options.
6573 (org-set-regexps-and-options): Process the "!" markers.
6574 (org-todo): Respect the new logging stuff.
6575 (org-log-note-how): New variable.
6576 (org-add-log-maybe): New parameter HOW that defines how logging
6577 should be done and also overrides PURPOSE. Add a docstring.
6578 (org-add-log-note): Check if we really need to ask for a note.
6579 (org-get-current-options): Digest the new keyword.
6580 (org-agenda-reset-markers): Rename from
6581 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6582 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6583 function, without force argument.
6584 (org-buffer-property-keys): Bind local variables s and p.
6585 (org-make-tags-matcher): Allow "" to match an empty or
6586 non-existent property value.
6587 (org-export-as-html): Join unsorted lists when they directly
6588 follow each other. Such lists may be created by headlines that
6589 are converted to lists.
6590 (org-nofm-to-completion): New function.
6591 (org-export-as-html): Use :html-extension instead of
6592 org-export-html-extension.
6593 (org-store-link): Support for links from `rmail-summary-mode'.
6594 (org-columns-new, org-complete, org-set-property): Set the
6595 `include-columns' argument in the call to
6596 `org-buffer-property-keys'.
6597 (org-buffer-property-keys): New argument `include-columns', to
6598 include properties expected by any of the COLUMS formats in the
6600 (org-cleaned-string-for-export): Get rid of drawers first, so that
6601 they will be removed also in the text before the first headline.
6602 (org-clock-report): Show the clocktable when found.
6603 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6604 (org-version): With prefix argument, insert `org-version' at point.
6605 (org-agenda-goto): Recenter the window after finding the target
6606 location, to make sure the correct position will be displayed.
6607 (org-agenda-get-deadlines): Don't scale priority with the warning
6609 (org-insert-heading): Don't break line in the middle of the line.
6610 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6612 (org-update-checkbox-count): Revamp to deal with hierarchical
6613 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6614 (org-remove-timestamp-with-keyword): New function.
6615 (org-schedule, org-deadline):
6616 Use `org-remove-timestamp-with-keyword' to make sure all such time
6618 (org-mode): Support for `align'.
6619 (org-agenda-get-deadlines): Make sure priorities increase as the
6620 due date approaches and is passed.
6621 (org-remember-apply-template): Fix problem with tags that
6623 (org-make-link-regexps): Improve the regular expression for plain links.
6624 (org-agenda-get-closed): List each clocking entry.
6625 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6626 (org-special-ctrl-k): New option.
6627 (org-kill-line): New function.
6628 (org-archive-all-done): Fix incorrect number of stars in regexp.
6629 (org-refile-get-location): New function.
6630 (org-refile-goto-last-stored): New function.
6631 (org-global-tags-completion-table): Add the value of org-tag-alist
6632 in each buffer, to make sure that also unused tags will be
6633 available for completion.
6634 (org-columns-edit-value)
6635 (org-columns-next-allowed-value): Only update if not in agenda.
6636 (org-clocktable-steps): New function.
6637 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6638 (org-archive-subtree): Add the outline tree context as a property.
6639 (org-closest-date): New optional argument `prefer'.
6640 (org-goto-auto-isearch): New option.
6641 (org-goto-map, org-get-location): Implement auto-isearch.
6642 (org-goto-local-auto-isearch-map): New variable.
6643 (org-goto-local-search-forward-headings)
6644 (org-goto-local-auto-isearch): New functions.
6646 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6648 * textmodes/org-irc.el: New file.
6650 2008-03-13 John Wiegley <johnw@gnu.org>
6652 * textmodes/org-mac-message.el: New file.
6654 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6656 * font-lock.el (font-lock-comment-face): Set the foreground for
6657 the light background 8 colors case.
6659 2008-03-13 Glenn Morris <rgm@gnu.org>
6661 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6662 generate-autoload-cookie patterns.
6664 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6666 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6667 (MH_E_SRC): Remove variable.
6668 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6669 Simplify file header. Use $@ for generated-autoload-file.
6671 * Makefile.in (LOADDEFS): New variable.
6672 (AUTOGENEL): Use $LOADDEFS.
6673 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6674 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6675 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6676 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6677 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6678 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6679 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6680 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6681 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6682 Add calendar-specific autoload cookies, and remove any setting of
6683 generated-autoload-file.
6684 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6685 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6687 * calendar/holidays.el: Replace explicit autoloads with reading of
6690 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6691 (calendar-buffer-list): Simplify.
6692 (generate-calendar-window): Use calendar-mark-holidays rather than
6695 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6696 Use cal-hebrew-yahrzeit-buffer.
6698 * calendar/cal-x.el (calendar-only-one-frame-setup)
6699 (calendar-two-frame-setup): Doc fixes.
6700 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6702 * calendar/appt.el (appt-mode-string): Mark as risky.
6703 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6705 * calendar/cal-html.el (diary-list-entries):
6706 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6707 (calendar-iso-from-absolute): Fix autoloads.
6709 * calendar/cal-iso.el (calendar-absolute-from-iso)
6710 (calendar-iso-read-args): Simplify.
6711 (calendar-iso-date-string, calendar-iso-read-args)
6712 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6714 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6715 (displayed-month, displayed-year): Move declarations where needed.
6716 (calendar-print-astro-day-number): Doc fix.
6718 * calendar/cal-persia.el (persian-calendar-month-name-array)
6719 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6720 (persian-prompt-for-date): Remove local variable `today'.
6722 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6724 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6725 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6726 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6727 (diary-sabbath-candles, solar-equinoxes/solstices)
6728 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6729 (solar-time-equation, solar-date-to-et): Simplify.
6731 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6732 Replace `(car (cdr' with cadr'.
6734 * progmodes/f90.el (f90-font-lock-n): New function.
6735 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6736 Use f90-font-lock-n.
6737 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6739 * progmodes/f90.el (f90-mode-abbrev-table):
6740 * progmodes/fortran.el (fortran-mode-abbrev-table):
6741 Use newer form of define-abbrev, where supported. No need to bind
6742 abbrevs-changed for system abbrevs.
6744 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6746 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6747 delete-frame-functions.
6749 * bookmark.el (Info-current-node): Remove.
6751 2008-03-12 Juri Linkov <juri@jurta.org>
6753 * help.el (describe-project): Remove defaliases for view-todo and
6754 describe-project that are now unnecessary after the merge from
6755 emacs--rel--22 that added define-obsolete-function-alias.
6757 * startup.el (inhibit-startup-screen): Revert incomplete
6758 2008-03-10 merge from emacs--rel--22 that partly reverted
6759 2008-02-28 change that added initial message to *scratch* buffer
6760 regardless of the value of `inhibit-startup-screen'.
6761 Now keep this change in the trunk, but not in the 22 branch.
6763 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * international/quail.el (quail-setup-completion-buf, quail-help):
6766 * mail/binhex.el (binhex-decode-region-internal):
6767 * mail/uudecode.el (uudecode-decode-region-internal):
6768 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6769 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6770 setting default-enable-multibyte-characters.
6772 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6774 * comint.el: Fix up indentation and comment style. Remove `function'.
6776 * international/mule-cmds.el (reset-language-environment)
6777 (set-language-environment-nonascii-translation):
6778 Don't set-unibyte-charset.
6780 * doc-view.el: Remove all cb-args, use closures instead.
6781 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6782 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6783 doing an incorrect check). Update all callers to use the new name.
6784 (doc-view-doc->txt): Add missing `txt' argument.
6786 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6788 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6789 md5 sum calculation to single-byte.
6791 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6793 * doc-view.el (doc-view-new-window-function): Add assertion.
6794 (doc-view-doc-type): New var.
6795 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6796 (doc-view-intersection): New fun.
6797 (doc-view-mode): Use it to set the new var.
6799 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6801 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6802 (doc-view-already-converted-p): New functions.
6803 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6804 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6805 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6806 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6807 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6808 (doc-view-convert-current-doc): Don't hardwire the functions the
6809 sentinels call. Now they're provided by two args CALLBACK and
6810 CB-ARGS to the functions.
6811 (doc-view-search): Use doc-view-doc->txt.
6812 (doc-view-initiate-display): Use doc-view-already-converted-p.
6813 Mention new binding C-c C-t if doc-view-mode doesn't work.
6815 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6817 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6819 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6821 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6822 Mark " outside of tags as punctuation.
6824 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6826 * menu-bar.el (minibuffer-local-map): Use the same command for the
6827 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6828 Prefer RET over C-j for exit-minibuffer.
6830 * files.el (display-buffer-other-frame): Eliminate problematic code.
6832 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6833 (menu-bar-select-buffer): Remove.
6834 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6835 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6837 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6839 * icomplete.el (icomplete-completions): Remove obsolete code.
6841 * net/net-utils.el (iwconfig-program-options): Doc fix.
6842 (net-utils-run-program, run-network-program): Define as functions.
6844 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6846 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6848 2008-03-11 Glenn Morris <rgm@gnu.org>
6850 * faces.el (mode-line-emphasis): New face.
6851 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6853 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6855 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6857 * simple.el (set-mark-command): Doc fix.
6859 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6863 * emacs-lisp/autoload.el (autoload-find-destination):
6864 Don't force raw-text.
6866 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6867 * calendar/cal-loaddefs.el: Don't version control.
6869 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6871 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6872 entries and add :help to the existing ones.
6874 2008-03-10 Glenn Morris <rgm@gnu.org>
6876 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6877 to where they are needed.
6879 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6880 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6881 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6882 (calendar-version): Doc fixes.
6883 (calendar-absolute-from-gregorian): Use zerop.
6884 (calendar-mode-line-format): Make it a defcustom.
6886 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6887 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6888 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6889 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6890 (mark-included-diary-files, mark-calendar-days-named)
6891 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6892 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6893 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6894 (insert-anniversary-diary-entry, insert-block-diary-entry)
6895 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6896 (diary-font-lock-sexps): Doc fixes.
6897 (diary-remind-message, mark-calendar-month): Use zerop.
6898 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6899 (diary-list-entries): Revert let to let* (previous change).
6901 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6903 2008-03-10 Kim F. Storm <storm@cua.dk>
6905 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6906 function aliases for the old names.
6908 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6910 * iswitchb.el (iswitchb-use-faces): Doc fix.
6911 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6912 Fix typos in docstrings.
6914 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6916 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6918 (verilog-type-font-keywords): Reindent.
6920 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6922 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6923 grouping-keyword regular expression.
6924 (verilog-font-lock-keywords): Allow users to toggle special
6925 highlight of grouping-keywords.
6926 (verilog-highlight-grouping-keywords): The toggle for special
6927 highlighting of grouping keywords.
6929 2008-03-10 Juri Linkov <juri@jurta.org>
6931 * startup.el: Revert 2008-02-28 change that adds initial message
6932 to *scratch* buffer regardless of the value of
6933 `inhibit-startup-screen'.
6935 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6937 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6938 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6939 * progmodes/verilog-mode.el (verilog-mode):
6940 * net/socks.el (socks):
6941 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6943 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6946 (doc-view-bookmark-make-record): Use them.
6947 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6948 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6950 * bookmark.el (bookmark-make-record-function): Change expected return
6951 value to include a suggested bookmark name.
6952 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6953 Fix reversed `overwrite' semantics.
6954 (bookmark-set): Call bookmark-make-record before prompting the user.
6955 Then pass the result to bookmark-store later on.
6956 (bookmark-make-name-function): Remove.
6957 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6958 * info.el (bookmark-make-name-function): Remove.
6959 (Info-mode): Don't set it.
6960 (Info-bookmark-make-name): Remove.
6961 (Info-bookmark-make-record): Use Info-current-node as suggested default
6964 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6965 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6966 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6967 (bookmark-annotation-buffer, bookmark-annotation-file)
6968 (bookmark-annotation-point, bookmark-send-annotation)
6969 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6970 (bookmark-edit-annotation-text-func): Rename from
6971 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6972 (bookmark-edit-annotation-mode-map): Move initialization into
6975 * bookmark.el: Remove spurious * in docstrings.
6976 (bookmark-minibuffer-read-name-map): New var.
6977 (bookmark-set): Use it. Also pass the default value as it should.
6978 (bookmark-send-edited-annotation): Take no chances with text properties.
6979 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6980 (bookmark-insert-buffer-name): Remove.
6981 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6983 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6985 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6987 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6989 * diff-mode.el (diff-mode-menu): Add :help.
6991 2008-03-09 Glenn Morris <rgm@gnu.org>
6993 * calendar/calendar.el (general-holidays, oriental-holidays)
6994 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6995 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6996 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6997 (calendar-holidays): Restore autoload cookies, because people are
6998 used to using these variables without loading calendar.el.
7000 * calendar/cal-islam.el (diary-islamic-date): Move to end.
7001 (date, number): Declare where needed.
7003 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
7004 (list-sexp-diary-entries): Doc fixes.
7005 (diary-list-entries): Doc fix. Remove free variable `entry'.
7006 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
7007 Simplify setting of `date-holiday-list'.
7008 (mark-diary-entries): Remove free variable `entry'.
7009 (diary-list-entries, include-other-diary-files, fancy-diary-display):
7010 Use let where let* is not needed.
7012 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
7015 make-record function, instead paste it in afterwards.
7016 (bookmark-make-record-for-text-file):
7017 * doc-view.el (doc-view-bookmark-make-record):
7018 * info.el (Info-bookmark-make-record): Don't mess with annotations.
7020 2008-03-08 Glenn Morris <rgm@gnu.org>
7022 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
7024 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
7026 * calendar/diary-lib.el (diary-list-entries)
7027 (include-other-diary-files, mark-diary-entries)
7028 (mark-sexp-diary-entries, mark-included-diary-files)
7029 (diary-entry-time, list-sexp-diary-entries): Remove the special
7030 handling of ^M that dates back to the use of selective-display.
7031 (simple-diary-display): Obey setting of pop-up-frames.
7032 (body, entry): Remove unnecessary declarations.
7034 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
7035 (bookmark-get-annotation, bookmark-set-annotation)
7036 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
7037 (bookmark-set-position, bookmark-get-front-context-string)
7038 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
7039 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
7040 * info.el (Info-bookmark-make-record): Don't bother recording point.
7041 (bookmark-get-filename, bookmark-get-front-context-string)
7042 (bookmark-get-rear-context-string, bookmark-get-position):
7043 Don't declare any more.
7044 (bookmark-get-info-node): Remove.
7045 (bookmark-prop-get): Declare.
7046 (Info-bookmark-jump): Use it.
7048 2008-03-08 Johan Bockgård <bojohan@gnu.org>
7050 * subr.el (while-no-input): Don't splice BODY directly into the
7053 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
7055 * diff-mode.el (diff-ignore-whitespace-hunk):
7056 Bind inhibit-read-only before trying to change the buffer.
7058 2008-03-08 Glenn Morris <rgm@gnu.org>
7060 * calendar/appt.el (appt): Move custom group here from calendar.el.
7061 (appt-disp-window, appt-convert-time): Doc fixes.
7063 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
7064 (calendar-bahai-mark-date-pattern):
7065 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
7066 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
7067 * calendar/cal-julian.el (calendar-absolute-from-julian):
7068 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
7070 * calendar/cal-china.el (chinese-calendar): Move custom group here from
7072 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7074 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
7075 (chinese-calendar-daylight-savings-starts)
7076 (chinese-calendar-daylight-savings-ends)
7077 (chinese-calendar-daylight-savings-starts-time)
7078 (chinese-calendar-daylight-savings-ends-time)
7079 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
7082 * calendar/cal-coptic.el (coptic-name): Add doc string.
7084 * calendar/cal-french.el (french-calendar-month-name-array)
7085 (french-calendar-day-name-array, french-calendar-special-days-array):
7088 * calendar/cal-bahai.el (diary-bahai-mark-entries)
7089 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7090 (diary-bahai-insert-yearly-entry):
7091 * calendar/cal-dst.el (calendar-next-time-zone-transition)
7092 (calendar-time-zone):
7093 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
7094 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
7095 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
7096 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
7097 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
7098 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
7099 (list-islamic-diary-entries, mark-islamic-diary-entries)
7100 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7101 (insert-yearly-islamic-diary-entry):
7102 * calendar/cal-iso.el (calendar-iso-read-args):
7103 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7104 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
7105 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7106 (calendar-next-calendar-round-date)
7107 (calendar-mayan-long-count-common-era):
7108 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
7109 (cal-menu-x-popup-menu, calendar-mouse-holidays)
7110 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
7111 (calendar-mouse-goto-date):
7112 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
7113 * calendar/holidays.el (holidays):
7114 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
7115 * calendar/time-date.el (date-to-time, time-subtract, time-add)
7116 (safe-date-to-time): Doc fixes.
7118 * calendar/cal-persia.el (persian-calendar-month-name-array)
7119 (persian-calendar-epoch): Make constants.
7121 * calendar/cal-tex.el (calendar-tex): Move custom group here from
7124 * calendar/cal-x.el (diary-frame-parameters)
7125 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7126 (calendar-after-frame-setup-hooks): Make defcustoms.
7127 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7128 (calendar-two-frame-setup): Doc fix.
7130 * calendar/cal-loaddefs.el: New file.
7132 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
7133 * calendar/cal-french.el, calendar/cal-html.el:
7134 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
7135 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
7136 * calendar/cal-tex.el, calendar/cal-x.el:
7137 Unquote lambda functions. Add autoload cookies to functions formerly
7138 autoloaded in calendar.el. Set `generated-autoload-file' to
7141 * calendar/calendar.el: Move many autoloads to separate file,
7142 cal-loaddefs.el. Move defcustoms to start and re-order.
7143 (calendar-month-name-array, calendar-starred-day): No need to
7144 declare for compiler.
7145 (cal-loaddefs): Require it.
7146 (appt, chinese-calendar, calendar-tex): Move custom groups to the
7148 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
7150 (diary-face, diary-file-name-prefix-function, diary-include-string)
7151 (diary-glob-file-regexp-prefix, diary-face-attrs)
7152 (diary-file-name-prefix, sexp-diary-entry-symbol)
7153 (print-diary-entries-hook, list-diary-entries-hook)
7154 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7155 (nongregorian-diary-marking-hook, diary-list-include-blanks):
7157 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7158 (all-bahai-calendar-holidays): Doc fix.
7159 (calendar-insert-indented): Doc fix. Use when rather than if.
7160 (exit-calendar): Use mapc rather than mapcar.
7161 (calendar-cursor-to-date): Use zerop.
7162 (calendar-mark-ring): Add doc-string.
7163 (calendar-starred-day): Defvar it.
7164 (calendar-mode): Make calendar-starred-day local.
7165 (calendar-star-date): No need to make calendar-starred-day local.
7167 * calendar/diary-lib.el: Move defcustoms to start.
7168 (diary-include-string, diary-list-include-blanks)
7169 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
7170 (diary-file-name-prefix, diary-file-name-prefix-function)
7171 (sexp-diary-entry-symbol, list-diary-entries-hook)
7172 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
7173 (nongregorian-diary-marking-hook, print-diary-entries-hook):
7174 Move here from calendar.el.
7175 (diary-file-name-prefix-function): Use 'identity.
7176 (diary-face): Make it a defcustom, and mark as obsolete.
7177 (top-level): No need to require cal-hebrew, cal-islam when compiling.
7178 (calendar-hebrew-month-name-array-leap-year)
7179 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
7180 Define for compiler.
7181 (diary-font-lock-keywords): Use format rather than concat.
7182 Add bahai-diary-entry-symbol.
7184 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
7185 * calendar/solar.el: Unquote lambda functions.
7187 * calendar/solar.el (calendar-location-name, calendar-latitude)
7188 (calendar-longitude, solar-setup, solar-sin-degrees)
7189 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
7190 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
7191 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
7192 (solar-exact-local-noon, solar-julian-ut-centuries)
7193 (solar-ephemeris-time, solar-date-next-longitude)
7194 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7195 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
7196 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
7197 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
7199 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7200 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
7201 (solar-ecliptic-coordinates): Use unless.
7202 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
7205 * calendar/timeclock.el: Add doc-strings to all functions.
7206 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
7207 (timeclock-entry-list-length, timeclock-entry-list-projects)
7208 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
7210 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
7212 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7213 (org-get-entries-from-diary): Require diary-lib.
7215 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
7217 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7218 Pacify byte-compiler.
7220 2008-03-07 Alan Mackenzie <acm@muc.de>
7222 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7223 paren/bracket pairs parsed, to solve performance problem.
7225 2008-03-07 Bastien Guerry <bzg@altern.org>
7227 * bookmark.el (bookmark-set): Don't check for
7228 `bookmark-make-name-function' since `bookmark-buffer-file-name'
7229 already takes care of this.
7230 (bookmark-buffer-name, bookmark-buffer-file-name):
7231 Remove Info-mode specific code.
7233 * info.el (bookmark-get-info-node): Define this function in
7234 info.el, not in bookmark.el.
7235 (Info-mode): Set `bookmark-make-name-function' to
7236 `Info-bookmark-make-name' locally.
7237 (Info-bookmark-make-name): New function.
7239 * bookmark.el (bookmark-make-name-function): New variable.
7241 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7243 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7244 buffer-local, not `bookmark-make-cell-function' (the old name).
7246 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
7248 * doc-view.el (doc-view-bookmark-make-record):
7249 * image-mode.el (image-bookmark-make-record):
7250 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7252 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
7254 * vc.el (vc-status-menu-map-filter): Return orig-binding if
7255 boundp 'vc-ignore-menu-filter.
7256 (vc-status-tool-bar-map): Make it defvar.
7257 (vc-status-mode): vc-status-tool-bar-map now variable.
7258 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7260 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7262 Give a better name to part of the bookmark interface.
7264 This was originally a much larger change, but halfway through I
7265 updated and discovered that Stefan Monnier had done the rest.
7266 It looks like he anticipated the new name too, because he used
7267 `the-record' instead of `the-cell' for some internal variable names.
7269 * bookmark.el (bookmark-make-record-function): Was
7270 `bookmark-make-cell-function'.
7271 (bookmark-make, bookmark-send-annotation): Update for above.
7272 (bookmark-make-record-for-text-file):
7273 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7275 * info.el: Adjust accordingly.
7276 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7278 * image-mode.el: Adjust accordingly.
7279 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7281 * doc-view.el: Adjust accordingly.
7282 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7284 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7287 Move initialization into declaration.
7288 (bookmark-get-info-node, bookmark-set-info-node): Remove.
7289 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7290 (bookmark-info-current-node): Remove.
7291 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7292 Add relocation fallback. Set bookmark-current-bookmark.
7293 (bookmark-default-handler): Rename from bookmark-jump-noselect.
7294 Remove relocation fallback. Don't set bookmark-current-bookmark.
7295 (bookmark-set): Let it be used even if there's no buffer-file-name
7296 as long as there is a bookmark-make-cell-function.
7297 * info.el (Info-bookmark-jump): Remove relocation fallback.
7298 Don't set bookmark-current-bookmark.
7300 2008-03-07 Glenn Morris <rgm@gnu.org>
7302 * calendar/appt.el (appt-issue-message)
7303 (appt-message-warning-time, appt-audible, appt-visible)
7304 (appt-msg-window, appt-display-mode-line, appt-display-duration)
7305 (appt-display-diary): Remove autoload cookies.
7307 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7308 Remove leading `*' from defcustom doc-strings.
7310 * calendar/cal-dst.el (calendar-dst): New custom group.
7311 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7312 (calendar-time-zone, calendar-daylight-time-offset)
7313 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7314 (calendar-daylight-savings-starts-time)
7315 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7316 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7319 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7321 * calendar/calendar.el (calendar-version): Use emacs-version and
7322 make it obsolete. Move to end.
7323 (calendar-offset, view-diary-entries-initially)
7324 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7325 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7326 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7327 (all-bahai-calendar-holidays, calendar-load-hook)
7328 (initial-calendar-window-hook, today-visible-calendar-hook)
7329 (today-invisible-calendar-hook, calendar-move-hook)
7330 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7331 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7332 (diary-include-string, sexp-diary-entry-symbol)
7333 (abbreviated-calendar-year, american-date-diary-pattern)
7334 (european-date-diary-pattern, european-calendar-display-form)
7335 (american-calendar-display-form, print-diary-entries-hook)
7336 (list-diary-entries-hook, diary-hook, diary-display-hook)
7337 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7338 (nongregorian-diary-marking-hook, diary-list-include-blanks)
7339 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7340 (local-holidays, other-holidays, hebrew-holidays-1)
7341 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7342 (hebrew-holidays, christian-holidays, islamic-holidays)
7343 (bahai-holidays, solar-holidays, calendar-setup)
7344 (calendar-week-start-day): Remove autoload cookies.
7345 (diary-glob-file-regexp-prefix): Doc fix.
7346 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7347 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7348 (calendar-week-start-day, calendar-debug-sexp): Move to start.
7350 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7351 (calendar-time-display-form, calendar-latitude)
7352 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7354 (calendar-latitude, calendar-longitude): Move functions after
7356 (diary-sabbath-candles-minutes): Move to start.
7357 (solar-setup): Use or rather than if.
7358 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7359 Remove condition-case.
7360 (solar-atn2): Use zerop.
7361 (solar-equinoxes-solstices): Doc fix.
7363 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7364 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
7366 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7367 (calendar-longitude, calendar-latitude, calendar-location-name):
7368 Declare for compiler.
7370 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * arc-mode.el (archive-ar-file-header-re): New const.
7373 (archive-ar-summarize, archive-ar-extract): New funs.
7374 (archive-find-type): Recognize ar archives.
7376 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7379 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7381 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
7383 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7384 Replace :enable (mark-active) with :enable mark-active.
7386 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
7388 * vms-patch.el (make-legal-file-name): New obsolete alias.
7389 (make-valid-file-name): Rename from `make-legal-file-name'.
7390 (make-auto-save-file-name): Use it.
7392 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7393 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7394 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7396 * textmodes/org.el (org-export-html-style): Doc fix.
7397 (org-get-legal-level): New obsolete alias.
7398 (org-get-valid-level): Rename from `org-get-legal-level'.
7399 (org-promote, org-demote, org-archive-subtree)
7400 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7402 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
7404 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7406 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7407 (vc-status-toggle-mark): New functions.
7408 (vc-status-mode): Set tool bar map.
7410 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
7412 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7413 Reported by Drew Adams <drew.adams@oracle.com>.
7415 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
7417 * subr.el (read-quoted-char): Resolve modifers of the character
7420 * comint.el (comint-exec-1): Don't change the coding-system for
7421 decoding to dos-like EOL.
7422 (comint-carriage-motion): Fully rewrite.
7424 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
7426 * epg.el (epg-context-include-certs): Reflow docstring.
7427 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7428 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7429 (epg-context-set-signers, epg-context-set-sig-notations)
7430 (epg-make-import-status, epg-make-import-result)
7431 (epg-start-delete-keys): Fix typos in docstrings.
7432 (epg-start-sign-keys, epg-sign-keys):
7433 Fix typos in obsolescence declarations.
7435 * iswitchb.el: Don't check for `cadr' and `last'.
7436 (iswitchb-define-mode-map, iswitchb-default-keybindings):
7437 Add obsolescence declaration and remove redundant info from docstring.
7438 (iswitchb-set-common-completion, iswitchb-set-matches)
7439 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7440 (recentf-list, most-len, most-is-exact):
7441 Don't wrap defvars within `eval-when-compile'.
7443 2008-03-05 Glenn Morris <rgm@gnu.org>
7445 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7446 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7447 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7448 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7449 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7451 * ediff-hook.el (ediff-window-setup-function): Don't autoload
7452 declaration for compiler.
7453 (ediff-xemacs-init-menus): Use when rather than if.
7455 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7457 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7458 (ediff-delete-overlay): Move the XEmacs test inside the definition.
7460 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7462 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7463 test inside XEmacs test.
7464 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7465 since it was doing nothing on Emacs.
7466 (ediff-make-bullet-proof-overlay): Use when rather than if.
7468 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7469 (ediff-setup-control-frame): Remove
7470 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7471 a (featurep 'xemacs) test.
7473 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
7475 * calc/calc-ext.el (calc-extended-command-history): New variable.
7476 (calc-exectute-extended-command): Use `calc-extended-command-history'.
7478 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
7480 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
7481 (standard-mode-line-position): Add mouse-face.
7483 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7484 * progmodes/grep.el (grep-mode-map): Add :help.
7486 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7487 initialize in one step. Add :help. Use :enable to activate menu
7488 items. Show the key binding for edebug-defun.
7489 (lisp-interaction-mode-map): Add a menu.
7491 * term.el (term-mode-map): Define and initialize in one step.
7493 * ediff-init.el (ediff-color-display-p): Simplify.
7494 (Xor): Remove unused function.
7495 (ediff-with-syntax-table): Simplify for Emacs.
7497 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7498 menu-bar being loaded, it always is.
7500 2008-03-05 Glenn Morris <rgm@gnu.org>
7502 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7503 multiple definitions when compiling.
7505 2008-03-04 Alan Mackenzie <acm@muc.de>
7507 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7509 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7510 doc-string, "c-old-LEN" -> "c-old-END".
7512 2008-03-04 Jason Rumney <jasonr@gnu.org>
7514 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7517 2008-03-04 Glenn Morris <rgm@gnu.org>
7519 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7521 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7524 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7527 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7529 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7530 so that M-q can fill comments.
7531 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7532 commands implemented in elisp.
7533 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7534 (tex-format-cmd): New function.
7535 (tex-compile): Use it to let the user specify default arguments.
7536 (tex-cmd-bibtex-args): New var.
7537 (tex-cmd-doc-view): New function.
7539 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7541 * faces.el (face-spec-set): Fix typos in docstring.
7543 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7545 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7546 (standard-mode-line-position): Use it to add a menu for toggling
7547 column number and line number display.
7549 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7552 Remove optimization that was working around the form-code-walker bug.
7554 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7555 Walk into the body of lambdas after byte-compile-unfold-lambda.
7557 2008-03-03 Glenn Morris <rgm@gnu.org>
7559 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7560 value, if set, over frame value.
7562 * simple.el (transient-mark-mode): Don't turn on by default.
7564 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7565 accidentally removed by the 2007-12-05 merge from Gnus.
7567 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7569 * progmodes/compile.el (compilation-menu-map): Add menu entries
7572 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7573 Glenn Morris <rgm@gnu.org>
7575 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7576 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7577 Give a `bytecomp-' prefix to local variables with common names.
7579 2008-03-01 Glenn Morris <rgm@gnu.org>
7581 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7582 code commented out 2007-11-10.
7584 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7586 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7588 * emulation/viper-cmd.el, emulation/viper-ex.el:
7589 * emulation/viper-init.el, emulation/viper-keym.el:
7590 * emulation/viper-mous.el, emulation/viper-util.el:
7591 * emulation/viper.el:
7592 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7595 Replace obselete frame-local variables with frame-parameters.
7596 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7597 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7598 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7600 * emulation/viper-util.el (viper-frame-value): New macro.
7601 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7602 (viper-R-state-post-command-sentinel)
7603 (viper-replace-state-post-command-sentinel)
7604 (viper-change-state-to-insert, viper-change-state-to-emacs):
7605 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7606 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7607 (viper-get-saved-cursor-color-in-insert-mode)
7608 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7609 Use viper-frame-value for viper-replace-overlay-cursor-color,
7610 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7611 viper-vi-state-cursor-color values.
7613 * emulation/viper-cmd.el (zmacs-region-stays):
7614 * emulation/viper-util.el (zmacs-region-stays): No need to define
7617 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7620 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7623 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7626 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7628 * whitespace.el: New version 9.3. As the glyph code generation was
7629 fixed, it is possible now to use character code above ?\x1FFFF in the
7630 display table. Fix `whitespace-indentation-regexp' to not include an
7631 extra ending character. Reported by Michael Welsh Duggan
7632 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7633 the original whitespace package had. Suggested by Eric Cooper
7634 <ecc@cmu.edu>. Doc fix.
7635 (whitespace-action): New option.
7636 (whitespace-display-mappings): Changed default newline visualization to
7637 display downwards arrow, as the glyph code generation was fixed.
7638 (whitespace-unload-function): Assure that all local whitespace mode is
7640 (whitespace-global-modes): Fix type customization.
7641 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7642 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7643 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7645 (whitespace-buffer): Command removed.
7646 (whitespace-trailing-regexp, whitespace-mark-x)
7647 (whitespace-display-window, whitespace-action-when-on)
7648 (whitespace-add-local-hook, whitespace-remove-local-hook)
7649 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7650 (whitespace-action): New funs.
7651 (whitespace-report-list, whitespace-report-text)
7652 (whitespace-report-buffer-name): New consts.
7653 (whitespace-report, whitespace-report-region): New commands.
7655 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7657 * disp-table.el (make-glyph-code): Don't test the result of
7658 `face-id', which already signals an error for invalid faces.
7659 (glyph-face): Simplify.
7661 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7662 running `desktop-not-loaded-hook' to allow modifying it.
7663 Don't show warning message if `desktop-dirname' was modified.
7665 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7668 we still expect more lines.
7670 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7671 comment-paragraph filling if the commark doesn't match
7674 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7676 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7679 2008-03-01 Jason Rumney <jasonr@gnu.org>
7681 * files.el (make-auto-save-file-name): Encode more characters in
7682 non-file buffer names. Use url-encoding.
7684 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7686 * net/net-utils.el (ftp-program): Fix typo in docstring.
7687 (ifconfig-program-options, netstat-program-options)
7688 (arp-program-options, route-program-options, nslookup-program-options)
7689 (ftp-program-options, smbclient-program-options)
7690 (dns-lookup-program-options, arp, route): Doc fixes.
7692 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7693 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7694 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7695 Fix typos in docstrings.
7696 (gdb-pending-triggers): Reflow docstring.
7697 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7699 2008-03-01 Alan Mackenzie <acm@muc.de>
7701 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7704 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7706 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7708 2008-02-29 Kim F. Storm <storm@cua.dk>
7710 * emulation/cua-base.el (cua-remap-control-v)
7711 (cua-remap-control-z): New defcustoms.
7712 (cua-mode): Add them to set-after property.
7713 (cua--init-keymaps): Use them.
7714 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7716 * help.el (view-emacs-todo): Rename from view-todo.
7717 (describe-gnu-project): Rename from describe-project. Users changed.
7718 (view-help-file): New helper function.
7719 (describe-distribution, describe-copying, describe-gnu-project)
7720 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7721 (view-emacs-debugging, view-external-packages): New commands.
7722 (help-map): Move describe-distribution to C-h C-o (ordering).
7723 Move view-emacs-problems to C-h C-p (problems).
7724 Bind view-emacs-debugging to C-h C-d (debugging).
7725 Bind view-external-packages to C-h C-e (extras).
7726 (help-for-help-internal): Cleanup and align descriptions.
7727 Remove command names to reduce clutter.
7729 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7731 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7732 and quieter face (not a warning).
7734 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7736 * vc.el (vc-status-crt-marked): New variable.
7737 (vc-status-mode): Make it local.
7738 (vc-status-refresh): Use it to save the marked files.
7739 (vc-update-vc-status-buffer): Use it to restore the marked files.
7741 * vc-svn.el (vc-svn-after-dir-status):
7742 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7744 2008-02-29 Glenn Morris <rgm@gnu.org>
7746 * allout.el (allout-topic-encryption-bullet)
7747 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7748 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7751 * net/imap.el (imap-ping-server):
7752 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7753 Change defcustom :version from 23.0 to 23.1.
7755 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7757 * desktop.el (desktop-save): Save the buffer name if the
7758 uniquified base name is empty.
7760 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7762 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7763 correctly when user has "set print address off".
7765 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7767 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7768 version number of the next major Emacs release, not 23.0.
7770 * longlines.el (longlines-unload-function): New function.
7772 2008-02-28 Juri Linkov <juri@jurta.org>
7774 * startup.el (normal-splash-screen): Add argument `concise'.
7775 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7776 to the created buffer. If `concise' is non-nil, call
7777 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7778 (display-startup-screen): Add argument `concise' to the call to
7779 `normal-splash-screen'.
7781 2008-02-28 Kim F. Storm <storm@cua.dk>
7783 * startup.el (startup-echo-area-message): Check for about-emacs.
7785 2008-02-28 Juri Linkov <juri@jurta.org>
7787 * startup.el: Always add initial message to *scratch* buffer if
7788 `initial-scratch-message' is non-nil regardless of the value of
7789 `inhibit-startup-screen'.
7790 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7791 (command-line-1): Move code that inserts `initial-scratch-message'
7792 up before the if-form that checks for `inhibit-startup-screen'.
7793 Suggested by Jonathan Rockway <jon@jrock.us>.
7795 2008-02-28 Juri Linkov <juri@jurta.org>
7797 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7798 Rename `custom-mode' to `Custom-mode' in docstrings.
7799 (custom-buffer-create-internal, customize-browse):
7800 Rename `custom-mode' to `Custom-mode'.
7801 (custom-mode-hook): Rename to `Custom-mode-hook'.
7802 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7803 (custom-mode): Rename to `Custom-mode'.
7804 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7805 (custom-mode): Add backward-compatible non-interactive variant of
7806 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7807 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7809 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7811 * emulation/viper.el (viper-emacs-state-mode-list):
7812 Rename `custom-mode' to `Custom-mode'.
7814 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7815 Capitalize "Tagged Files".
7816 (minibuffer-local-map): Add menu items for next/previous
7817 history elements and isearch history forward/backward.
7819 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7820 `hs-isearch-open' with t instead of `comment' in :selected
7821 for "Code and Comment blocks" menu item.
7823 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7826 Should be done in desktop.el instead.
7828 2008-02-28 Glenn Morris <rgm@gnu.org>
7830 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7832 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7834 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7835 (Info-menu, Info-goto-node): Remove declarations.
7836 (report-emacs-bug-info): Use info rather than Info-goto-node.
7838 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7839 (idlwave-convert-xml-system-routine-info): Don't require xml.
7840 (idlwave-show-commentary, idlwave-shell-show-commentary):
7841 Don't require finder.
7842 (idlwave-info): Don't require info. Use info rather than
7845 * textmodes/org.el (Info-goto-node): Remove declaration.
7846 (org-info): Use info rather than Info-goto-node.
7848 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7849 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7851 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7853 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7856 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7857 (vc-finish-logentry): Check for vc-status-mode, not only for
7860 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7862 * isearch.el (isearch-printing-char): Don't check
7863 keyboard-coding-system.
7864 Call isearch-process-search-multibyte-characters only when
7865 current-input-method is non-nil.
7867 2008-02-27 Kim F. Storm <storm@cua.dk>
7869 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7870 (glyph-char, glyph-face): Handle cons encoding.
7872 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7874 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7875 empty string, return nil to allow the caller to default to the
7876 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7878 * tool-bar.el (tool-bar-setup): Doc fix.
7880 * mail/supercite.el (sc-describe):
7881 Fix typos in obsolescence declaration.
7883 2008-02-27 Glenn Morris <rgm@gnu.org>
7885 * autoinsert.el (auto-insert-alist): Change permission text to
7886 match FSF's GPLv3 form.
7888 * mail/supercite.el (sc-cite-original): Doc fix.
7889 (sc-version): Make obsolete.
7890 (sc-describe): Show the SC info page. Make obsolete.
7892 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7895 when using transient-mark-mode.
7896 (default-indicate-unused-lines): Remove unused var.
7898 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7900 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7903 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7905 2008-02-26 Glenn Morris <rgm@gnu.org>
7907 * net/net-utils.el (top-level): Don't require comint when compiling.
7908 (nslookup-font-lock-keywords): Don't require font-lock.
7909 Use font-lock faces rather than variables.
7910 (nslookup, ftp, smbclient, network-service-connection):
7911 Don't require comint.
7912 (comint-prompt-regexp, comint-input-autoexpand)
7913 (comint-input-ring): Declare for compiler.
7914 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7915 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7917 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7920 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * doc-view.el (doc-view-current-page): Add a `win' argument.
7924 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7927 Demote it to plain defvar.
7928 (doc-view-conversion-refresh-interval): Reduce interval.
7929 (doc-view-goto-page): Allow moving to pages not yet rendered.
7930 (doc-view-goto-page): Construct a file name rather than extracting it
7931 from doc-view-current-files.
7932 (doc-view-kill-proc): Ignore errors from kill-process.
7933 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7934 (doc-view-insert-image): Use appropriate text if the page hasn't been
7935 rendered yet. Adjust scrolling so the text is displayed.
7936 (doc-view-display): Detect not just that a page is available, but also
7937 that it wasn't available before, so as to avoid refreshing all pages
7939 (doc-view-mode): Make doc-view-cache-directory if needed.
7941 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7943 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7946 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7947 refering to a missing required field with the OPT prefix.
7948 Make unwindform more robust.
7950 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7951 it duplicates the bibtex support in progmodes/hideshow.el.
7952 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7953 entries that do not start at the beginning of a line.
7955 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7957 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7959 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7961 * help-fns.el (describe-variable): Add phrases about
7962 initialization file with and without customization;
7963 use new button type help-info-variable.
7965 * help-mode.el (help-info-variable):
7966 New button able to read Info files for help-fns.el.
7968 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7970 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7971 (grep-mode): Use grep-mode-tool-bar-map.
7973 * progmodes/compile.el (tool-bar): Require tool-bar.
7974 (compilation-mode-tool-bar-map): New variable.
7975 (compilation-mode): Use compilation-mode-tool-bar-map.
7977 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7979 2008-02-25 Glenn Morris <rgm@gnu.org>
7981 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7983 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * diff-mode.el (diff-file-junk-re): New const.
7986 (diff-beginning-of-file-and-junk): Use it.
7987 (diff-file-kill): Make sure we were really inside a file diff.
7989 * diff-mode.el: Make it more robust in the presence of empty context
7990 lines in unified hunks.
7991 (diff-valid-unified-empty-line): New var.
7992 (diff-unified->context, diff-sanity-check-hunk): Obey it.
7993 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
7994 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7995 (diff-hunk-header-re-unified): New const.
7996 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7997 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7998 (diff-sanity-check-hunk): Use it.
8000 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
8001 Index: line, don't search backward for the previous one.
8003 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
8005 * international/fontset.el (setup-default-fontset): Add non-OTF
8006 lao font for lao script.
8008 * language/tibetan.el: Register tibetan-composition-function in
8009 composition-function-table.
8011 * language/tibet-util.el (tibetan-composition-function):
8012 Adjust for the new calling way (argument changed). Try font-shape-text
8015 * language/lao.el: Register lao-composition-function in
8016 composition-function-table.
8018 * language/lao-util.el (lao-composition-function): Adjust for the new
8019 calling way (argument changed). Try font-shape-text if possible.
8021 2008-02-25 Jason Rumney <jasonr@gnu.org>
8023 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
8025 2008-02-25 Juri Linkov <juri@jurta.org>
8027 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
8028 background, "red4" for a dark background, "red" for 16 and
8029 8 colors, "grey" for grayscale, and inverse video otherwise.
8031 (isearch-message): Keep the original isearch-message intact, and
8032 add text properties to it where necessary. Add `isearch-error' to
8033 the condition that checks if isearch is unsuccessful.
8035 2008-02-24 Juri Linkov <juri@jurta.org>
8037 * progmodes/compile.el (compilation-handle-exit):
8038 Use compilation-error face instead of font-lock-warning-face.
8039 Display the same message in the minibuffer as is inserted
8040 at the end of the compilation buffer.
8042 2008-02-24 Glenn Morris <rgm@gnu.org>
8044 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
8047 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
8049 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
8050 multiple file case. Use a single `let' rather than two.
8052 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8054 * progmodes/compile.el (compilation-start): Specify a face for
8056 (compilation-handle-exit): Specify a face and a tooltip for
8059 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8061 * hilit-chg.el: Remove spurious * in defcustom docstrings.
8062 (hilit-chg-make-ov): Simplify.
8063 (hilit-chg-fixup): Use remove-overlays.
8064 (hilit-chg-set-face-on-change): Remove redundant call to
8065 `remove-text-properties'.
8067 * dired.el (dired-mark-prompt): Don't count/display the t element.
8068 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
8070 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8072 * progmodes/verilog-mode.el (eval-when-compile): Don't define
8074 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
8075 Remove. Move contents to the only use ...
8076 (verilog-menu): ... here.
8077 (verilog-statement-menu): Remove. Move contents to the only use ...
8078 (verilog-stmt-menu): ... here.
8079 (verilog-mark-defun): Simply call mark-defun for emacs.
8080 (occur-pos-list): Declare for byte compiler.
8081 (mode-popup-menu): Don't defvar.
8082 (verilog-add-statement-menu): Remove.
8083 (verilog-mode-hook): Don't add verilog-add-statement-menu.
8084 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
8086 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8088 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
8090 (verilog-font-grouping-keywords-face): Make the begin..end
8091 keywords standout more than other verilog keywords.
8092 (verilog-type-font-keywords): Move the begin..end out of this list
8093 to facilitate making them to (potentially) stand out more.
8094 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
8095 function & task blocks.
8096 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
8097 initial, function & task blocks.
8098 (verilog-forward-sexp): Handle the new "disable fork" statement of
8100 (verilog-beg-block-re-ordered): Handle the new "disable fork"
8101 statement of IEEE-1800 Verilog.
8102 (verilog-calc-1): Handle the new "disable fork" statement of
8104 (verilog-disable-fork-re): Add const to help handle the new
8105 "disable fork" statement of IEEE-1800 Verilog.
8106 (verilog-declaration-core-re): Add port directions by themselves,
8107 with no qualification, as base item of a declaration.
8108 (verilog-pretty-declarations): Add new flag to ask it to refrain
8109 from printing to the message buffer.
8110 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
8111 printing to the message buffer. Improve handling of the many
8112 types of expression line up.
8113 (verilog-just-one-space): Remove printing of an empty message.
8114 (verilog-get-lineup-indent): Rework to support the better handling
8115 of expression lineup for verilog-pretty-expr.
8116 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8118 2008-02-24 Alan Mackenzie <acm@muc.de>
8120 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
8123 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8125 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
8126 to mouse-set-point in buffers that aren't associated with files.
8128 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
8130 2008-02-24 Alan Mackenzie <acm@muc.de>
8132 Set of changes so that "obtrusive" syntactic elements in a
8133 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
8134 unmatched paren) don't interact syntactically with stuff outside
8137 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
8138 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
8140 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
8141 a bit of refactoring.
8142 (c-awk-extend-and-syntax-tablify-region): Takes some of the
8143 functionality of c-awk-advise-fl-for-awk-region, which has been
8146 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
8147 (c-clear-char-property-with-value): New function and macro which
8148 remove text-properties `equal' to a supplied value.
8150 * progmodes/cc-engine.el: Comment about text properties amended.
8152 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
8153 parens around "error\\|warning".
8155 * progmodes/cc-langs.el (c-get-state-before-change-function)
8156 (c-before-font-lock-function, c-anchored-cpp-prefix):
8157 New language variables.
8158 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
8160 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
8161 syntax-table text properties.
8162 (c-common-init): Call language specific before/after-change
8163 functions at mode initialisation.
8164 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
8165 (c-extend-region-for-CPP, c-neutralize-CPP-line)
8166 (c-neutralize-syntax-in-CPP): New functions.
8167 (c-before-change, c-after-change): Call the new language specific
8168 change functions defined in cc-langs.el.
8169 (c-advise-fl-for-region): New macro.
8170 (awk-mode): Remove AWK specific stuff which has been refactored
8171 into language independent stuff.
8173 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8175 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
8176 (gdb): (Re)set gdb-flush-pending-output to nil here...
8177 (gdb-init-1): ...instead of here (before gdb-prompt).
8179 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8181 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
8182 Recognize ''' just like any other char-constant.
8184 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8186 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
8187 careful enough. Detect the uid-change all within the main loop.
8189 2008-02-24 Stefan Monnier <monnier@pastel.home>
8191 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
8193 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * hilit-chg.el (highlight-save-buffer-state): New macro.
8196 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
8197 (hilit-chg-clear): Use it to preserve the modified-p flag.
8198 (highlight-changes-rotate-faces): Don't mess with the undo-list.
8200 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8202 * font-lock.el (font-lock-set-defaults): Unset previously set variables
8205 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
8207 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
8208 from gnus-button-url-regexp.
8210 2008-02-24 Eli Zaretskii <eliz@gnu.org>
8212 * progmodes/compile.el (compilation-next-error): Doc fix.
8213 (compilation-find-file): Doc fix.
8215 2008-02-24 Glenn Morris <rgm@gnu.org>
8217 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8218 Add obsolete aliases to the old names.
8220 2008-02-24 Richard Stallman <rms@gnu.org>
8222 * net/net-utils.el (ifconfig): Rename from ipconfig.
8223 (ipconfig): Alias to ifconfig.
8224 (ifconfig-program): Rename from ipconfig-program.
8225 (ifconfig-program-options): Rename from ipconfig-program-options.
8227 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8229 * progmodes/verilog-mode.el (verilog-declaration-core-re):
8230 Add port directions by themselves, with no qualification, as base
8231 item of a declaration.
8232 (verilog-pretty-declarations): Add new flag that inhibits printing
8233 to the message buffer.
8234 (verilog-pretty-expr): Add new flag that inhibits printing to the
8235 message buffer. Improve handling of the many types of expression
8237 (verilog-just-one-space): Don't print an empty message.
8238 (verilog-get-lineup-indent): Rework to support the better handling
8239 of expression lineup for verilog-pretty-expr.
8240 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8241 (verilog-mode-version, verilog-mode-release-date): Update.
8243 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8245 * subr.el (cancel-change-group): Don't move point.
8247 2008-02-23 Markus Triska <markus.triska@gmx.at>
8249 * linum.el (linum-after-config): Update all visible windows.
8251 2008-02-23 Glenn Morris <rgm@gnu.org>
8253 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8254 Add :help for Solitaire and Tetris.
8256 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8258 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8259 (smtpmail-code-conv-from): Doc fix. Fix custom type.
8260 (smtpmail-queue-index-file): Make it a defcustom.
8261 (smtpmail-queue-index): Delete.
8262 (smtpmail-send-it, smtpmail-send-queued-mail):
8263 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8264 smtpmail-queue-index.
8266 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8269 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
8271 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8273 (iwconfig): New function.
8275 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
8277 * vc.el (vc-find-revision): Make vc-parent-buffer local before
8279 (vc-status-menu-map): Do not define using easy-menu.
8280 (vc-status-menu-map): New defalias.
8281 (vc-status-mode-map): Hook up the menu.
8282 (top-level): Update TODO.
8284 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8286 * vc-bzr.el (vc-bzr-init-version): Rename to ...
8287 (vc-bzr-init-revision): ... this.
8289 2008-02-23 Jason Rumney <jasonr@gnu.org>
8291 * makefile.w32-in (WINS_ALMOST): Remove term.
8292 (WINS): Add term here.
8293 (custom-deps, finder-data): Use WINS_ALMOST.
8295 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
8297 * faces.el (font-weight-table): Fix value of `semi-light'.
8299 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8302 Make those tables bijective.
8304 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
8306 Finish pdbtrack integration cleanup, settling missing-functions
8307 byte compiler warnings appropriately.
8309 * progmodes/python.el (python-point): Remove this - beginning-of-line
8310 was all that was necessary for `python-pdbtrack-overlay-arrow'.
8311 (python-end-of-def-or-class, python-beginning-of-def-or-class)
8312 (python-goto-initial-line): Drop these - they were only needed for
8314 (python-comint-output-filter-function): Use condition-case and
8315 beginning-of-line directly, instead of python-mode.el functions
8316 which require all sorts of baggage.
8317 (point-safe): Unnecessary - we're using condition-case directly,
8319 (python-execute-file): Include for python-shell, which I'm leaving
8320 in keeping despite it being unnecessary for pdb tracking.
8322 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
8324 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8325 Add SRFI 11 support.
8326 (let-values, let*-values): Specify scheme-indent-function.
8328 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
8330 * vc.el (vc-exec-after): Move setting mode-line-process in the
8332 (vc-set-mode-line-busy-indicator): ... in this new function.
8333 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8334 (vc-update-vc-status-buffer): Reset mode-line-process.
8335 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8336 mark/unmark all the files with the same state as the current one.
8337 With a prefix argument mark/unmark all files.
8338 (vc-status-mode-menu): Adjust strings.
8339 (vc-update-vc-status-buffer): Only do something when the argument
8341 (vc-status-kill-dir-status-process): New function.
8342 (vc-status-mode-map): Bind it.
8343 (vc-status-process-buffer): New variable.
8344 (vc-status-mode): Make it local.
8345 (vc-status-refresh): Set it.
8347 * vc-hg.el (vc-hg-dir-status):
8348 * vc-git.el (vc-git-dir-status):
8349 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8352 2008-02-22 Glenn Morris <rgm@gnu.org>
8354 * json.el (top-level): No need to require thingatpt.
8355 (json-read-keyword): Use thing-at-point rather than word-at-point.
8357 * time.el (top-level): No need to require time-date when compiling.
8359 * emacs-lisp/copyright.el (copyright-update-year):
8360 Fix subexpression numbering for the case when years are split over
8361 lines, and for the replace case.
8363 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
8364 (tpu-caar, tpu-cadr): Delete functions.
8365 (zmacs-regions): No need to declare for compiler.
8366 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8367 (tpu-spell-check): Rewrite, and handle mark after point.
8368 (tpu-special-insert): Use or rather than if.
8370 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8371 rather than spell-region.
8373 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8374 warnings about spell-region.
8376 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
8378 * ldefs-boot.el: Regenerated.
8380 * loadup.el: Don't load language/devanagari, language/kannada,
8381 language/malayalam, and language/tamil. Load language/sinhala.
8383 * language/indian.el (indian-font-foundry)
8384 (indian-script-language-alist, indian-font-char-index-table)
8385 (indian-font-char, indian-font-char-range, indian-script-table)
8386 (indian-default-script, indian-composable-pattern): Delete them.
8387 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8388 language environments moved to here.
8389 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8390 New language environments.
8392 * language/devanagari.el, language/devan-util.el,
8393 * language/kannada.el, language/knd-util.el, language/malayalam.el,
8394 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8397 * language/sinhala.el: New file.
8399 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
8401 Update Nick Robert's port of pdb tracking from python-mode.el.
8403 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8405 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8406 tracking is happening.
8407 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8408 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8409 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8410 Tracking is plugged in to all comint buffers once python.el is loaded.
8411 (python-pdbtrack-overlay-arrow): Toggle activation of
8412 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8413 (python-pdbtrack-track-stack-file): Use new
8414 `python-pdbtrack-get-source-buffer' for more flexible access to
8415 debugging source files.
8416 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8417 according to pdb stack trace, optionally using new
8418 `python-pdbtrack-grub-for-buffer' if file is not locally available.
8419 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8420 named buffer, or having function with indicated name.
8421 (python-shell): Remove comint-output-filter-functions hook
8422 addition, it's being done elsewhere. Wrap long line.
8424 2008-02-21 Michael Olson <mwolson@gnu.org>
8426 * json.el: Replace XEmacs compatibility code to get rid of
8429 * time.el: Fix compiler warning.
8431 2008-02-21 Edward O'Connor <ted@oconnor.cx>
8433 * json.el: New file (JavaScript Object Notation parser / generator).
8435 2008-02-21 Dave Love <fx@gnu.org>
8437 * progmodes/sym-comp.el: New file.
8439 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8440 Require sym-comp. Add Python buffer to same-window-buffer-names.
8442 (python-font-lock-keywords): Add highlighting for Python builtins.
8443 (python-font-lock-syntactic-keywords): Rewrite.
8444 (python-quote-syntax): Use syntax-ppss-context instead of parsing
8446 (python-mode-map): Add binding for python-find-function.
8447 (python-calculate-indentation): Clean up the logic.
8448 (python-beginning-of-defun): Explicitly set return value.
8449 (python-beginning-of-statement): Stop looping if we get stuck
8451 (python-next-statement): Stop looping if we somehow end up inside
8452 a string while advancing.
8453 (python-preoutput-continuation, python-version-checked): New vars.
8454 (python-check-version): New function.
8455 (run-python): Set default command to python-command instead of
8456 python-python-command.
8457 (run-python): Use python-check-version. Give PYTHONPATH
8458 precedence over data-directory in the process environment.
8459 Load function definitions in python process after.
8460 (python-check-comint-prompt): New function.
8461 (python-send-command, python-send-receive): Use it.
8462 (python-complete-symbol, python-try-complete): Functions deleted.
8463 Use symbol-complete instead of python-complete-symbol throughout.
8464 (python-fill-paragraph): Further refine the fenced-string regexp.
8465 (def-python-skeleton): Expand to the original abbrev instead if in
8466 a comment or string. Tweak skeletons for `if', `while', `for',
8467 `try/except', `try/finally', `name'.
8468 (python-pea-hook, python-abbrev-pc-hook): New functions.
8469 (python-abbrev-syntax-table): New var.
8470 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8471 Use symbol-completion-try-complete for hippie expansion.
8472 Turn on font lock unconditionally.
8473 (python-mode-hook): Defcustom it. No need to use make-local
8474 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8475 option, since it's buffer-local.
8477 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
8479 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8481 2008-02-21 Drew Adams <drew.adams@oracle.com>
8483 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8484 "Turn off" and a "Help" entry when the minor mode has no menu.
8486 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
8488 * vc.el (vc-status-mark, vc-status-unmark): New functions.
8489 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8490 vc-status-mark-file and vc-status-unmark-file.
8491 (vc-status-mark-unmark): New function.
8492 (vc-status-previous-line, vc-status-next-line): No longer interactive.
8494 2008-02-21 Glenn Morris <rgm@gnu.org>
8496 * composite.el (encode-composition-rule): Fix typo in error message.
8497 (composition-function-table, auto-composition-mode): Doc fixes.
8499 * subr.el (sit-for): Fix obsolete form for nil second argument.
8501 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8502 (spell-string): Make obsolete, in favor of ispell.
8504 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8506 * language/devanagari.el: Don't setup composition-function-table
8508 ("Devanagari"): Change charset, coding-system, coding-priority to
8509 Unicode-based ones. Don't require the feature devan-util.
8511 * composite.el (compose-chars-after): Fix arguments for a function
8512 in composition-function-table.
8513 (auto-compose-region): Likewise.
8515 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8517 (ps-mule-plot-string): Ignore glyph-string based compositions.
8519 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * doc-view.el: Allow different windows to show different pages.
8522 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8523 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8524 add them back as macros instead, using image-mode-winprops instead.
8525 Update all users of those variables.
8526 (doc-view-new-window-function): New function to create a new overlay
8527 for each new window.
8528 (doc-view-mode): Use it and image-mode-setup-winprops.
8529 (doc-view-clone-buffer-hook): Rewrite accordingly.
8531 * image-mode.el: Extend [hv]scroll support to per-window properties.
8532 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8533 (image-mode-winprops-alist): New var to replace them.
8534 (image-mode-new-window-functions): New hook.
8535 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8537 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8538 Remove the `window' argument, update callers.
8539 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8540 Use the new functions.
8541 (image-mode-reapply-winprops): New fun.
8542 (image-mode): Use it.
8544 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8546 * calc/calc-math.el (math-sin-raw): Add optional argument
8547 to keep track of original argument.
8548 (math-cos-raw): Use optional argument when calling math-sin-raw.
8549 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8550 with close to original precision.
8552 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8554 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8555 args in calls of sit-for.
8557 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8559 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8560 (vc-svn-checkin): Fix typo in error message.
8562 * help-mode.el: Require easymenu when compiling.
8564 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8566 * help-mode.el (help-mode-menu): New menu.
8568 2008-02-20 Glenn Morris <rgm@gnu.org>
8570 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8573 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8575 * ps-mule.el (ps-mule-encode-region): Return a single string.
8576 (ps-mule-plot-string): Adjust for the above change.
8577 (ps-mule-encode-header-string): Likewise.
8579 * international/latin1-disp.el (latin1-display): Don't use
8580 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8581 standard-display-table.
8582 (latin1-display-identities): Adjust for the change of what is
8583 returned by (get-language-info charset 'charset).
8585 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8586 characters and terminal case.
8588 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8590 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8592 * progmodes/python.el: Also require comint when loading.
8593 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8594 Replace python-shell with run-python on menu bar.
8595 (python-shell-map): New map.
8596 (python-default-interpreter, python-python-command-args)
8597 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8599 (python-which-shell, python-which-args, python-which-bufname):
8600 New buffer local variables.
8601 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8603 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8604 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8609 (python-point, python-end-of-def-or-class)
8610 (python-beginning-of-def-or-class, python-goto-initial-line)
8611 (python-comint-output-filter-function)
8612 (python-pdbtrack-overlay-arrow)
8613 (python-pdbtrack-track-stack-file, python-toggle-shells)
8614 (python-shell, python-pdbtrack-toggle-stack-tracking)
8615 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8618 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8620 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8621 when the argument is nil.
8623 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8625 * vc.el (dir-status): Add a brief description.
8627 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8629 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8630 If non-nil, reverse the sense of the check.
8632 * vc-rcs.el (vc-rcs-root): New func.
8633 * vc-cvs.el (vc-cvs-root): New func.
8634 * vc-svn.el (vc-svn-root): New func.
8635 * vc-sccs.el (vc-sccs-root): New func.
8637 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8639 * language/japan-util.el (setup-japanese-environment-internal):
8640 Call use-cjk-char-width-table.
8642 * language/japanese.el ("Japanese"): Set exit-function to
8643 use-default-char-width-table.
8645 * international/characters.el: Delete occurrences of non-Unicode
8646 tibetan and ethiopic characters.
8647 (cjk-char-width-table): New variable.
8648 (use-cjk-char-width-table, use-default-char-width-table):
8651 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8653 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8654 (vc-status-mode-menu): Add a :filter.
8655 (vc-status-printer): Add faces.
8657 * vc-hg.el (vc-hg-extra-status-menu): New function.
8658 (vc-hg-dir-status): Clean up the buffer before using it.
8660 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8663 (gdb): Initialize it here instead.
8665 * files.el (locate-dominating-file): Fix thinko in last change.
8666 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8668 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8670 * vc.el (vc-status-mode-menu): New menu for vc-status.
8672 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8674 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8675 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8676 (verilog-mode-auto, verilog-indent-level-module)
8677 (verilog-minimum-comment-distance, verilog-library-flags)
8678 (verilog-library-directories, verilog-library-files)
8679 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8680 (verilog-xemacs-menu, verilog-set-compile-command)
8681 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8682 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8683 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8684 (verilog-batch-inject-auto, verilog-batch-indent)
8685 (verilog-continued-line, verilog-type-keywords)
8686 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8687 (verilog-read-inst-pins, verilog-read-arg-pins)
8688 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8689 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8690 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8691 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8692 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8693 (verilog-mode-version, verilog-mode-release-date)
8694 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8695 (verilog-simulator, verilog-compiler)
8696 (verilog-auto-sense-defines-constant, verilog-company)
8697 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8698 Fix typos in docstrings.
8699 (verilog-set-auto-endcomments, verilog-calculate-indent)
8700 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8702 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8703 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8704 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8705 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8706 (verilog-leap-to-head, verilog-current-indent-level)
8707 (verilog-case-indent-level, verilog-cpp-keywords)
8708 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8709 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8710 (verilog-signals-not-in, verilog-symbol-detick-text)
8711 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8712 (verilog-forward-close-paren, verilog-backward-open-paren)
8713 (verilog-backward-open-bracket): Doc fixes.
8715 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8716 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8717 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8718 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8719 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8720 Fix typos in docstrings.
8722 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8724 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8726 * info.el (Info-read-node-name): Removed unused `default' arg.
8728 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8730 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8732 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8734 * image-mode.el (image-get-display-property): New fun.
8735 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8736 (image-mode, image-minor-mode, image-toggle-display-text)
8737 (image-toggle-display): Use it.
8739 2008-02-18 Jason Rumney <jasonr@gnu.org>
8741 * international/mule.el (xml-find-file-coding-system): Don't warn
8742 about utf-16 with BOM.
8744 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8746 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8747 warn if file encoding is not utf-8 and encoding not specified.
8748 (xml-find-file-coding-system): New function.
8749 * international/mule-conf.el (file-coding-system-alist): Use it.
8751 2008-02-17 Glenn Morris <rgm@gnu.org>
8753 * international/mule-cmds.el (set-locale-environment):
8754 Pass `frame' to getenv for LC_MESSAGES.
8756 2008-02-17 Juri Linkov <juri@jurta.org>
8758 * time.el (emacs-init-time): Use format instead of format-seconds.
8760 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8762 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8763 bibtex-find-entry. Add autoload cookie.
8764 (bibtex-find-entry): Alias for bibtex-search-entry.
8765 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8766 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8767 (bibtex-clean-entry): atomic-change-group removed.
8768 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8769 to locate buffer location where error occurred.
8770 Make error messages more specific.
8771 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8773 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8775 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8778 * simple.el (transient-mark-mode): Add an :init-value.
8780 * startup.el (command-line): Use custom-reevaluate-setting for
8781 transient-mark-mode.
8783 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8785 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8787 2008-02-16 Juri Linkov <juri@jurta.org>
8789 * startup.el (after-init-time): New variable.
8790 (command-line): Set `after-init-time' to the current time.
8792 * time.el (emacs-init-time): New function.
8794 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8796 * files.el (locate-dominating-file): Remove initial loop because it's
8797 not careful enough. Detect the uid-change all within the main loop.
8799 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8801 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8803 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8805 * vc.el (vc-annotate): Add new argument.
8806 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8808 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8809 Move make-variable-buffer-local code after the corresponding defvar.
8810 (hs-minor-mode-map): Define and initialize in one step.
8811 (hs-minor-mode): Change from defun to define-minor-mode.
8813 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8815 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8816 (gdb-ready): Move declaration...
8818 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8819 (gdb-early-user-input): New variable.
8820 (gdb): Reset gdb-flush-pending-output to nil and set
8821 comint-input-sender here (before gdb-prompt), instead of...
8822 (gdb-init-1): ...here.
8823 (gdb-send): If Emacs is not ready, defer user input to...
8824 (gdb-prompt): ...here.
8826 2008-02-16 Glenn Morris <rgm@gnu.org>
8828 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8830 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8831 (before-init-time): New name for `emacs-startup-time'.
8832 (command-line): Use before-init-time rather than emacs-startup-time.
8833 * time.el (emacs-uptime): Use before-init-time rather than
8836 * composite.el (composition-function-table): Doc fix.
8838 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8839 in favor of `%z' specifier.
8840 (emacs-uptime): Move to time.el.
8841 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8842 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8843 argument of format-seconds.
8845 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8847 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8849 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8851 * ielm.el (ielm-is-whitespace): Remove.
8852 (ielm-is-whitespace-or-comment): New function.
8853 (ielm-eval-input): Use it.
8855 2008-02-15 Jason Rumney <jasonr@gnu.org>
8857 * term/mac-win.el: Fix coding tag.
8859 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8861 * vc-hooks.el (vc-menu-map):
8862 * bindings.el (mode-line-mode-menu): Add tooltips.
8864 * bindings.el (help-echo): Add more tooltips. Use a less
8865 telegraphic style for existing tooltips.
8867 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8869 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8870 from the auto-generated one.
8872 2008-02-14 Glenn Morris <rgm@gnu.org>
8874 * mail/rmail-spam-filter.el (rmail-spam-filter):
8875 Let-bind message-spam-status.
8877 * mail/smtpmail.el (password-cache-add): Declare as function.
8879 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8881 * mail/smtpmail.el: Use password-cache.
8883 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8885 * uniquify.el (uniquify-buffer-base-name): New function.
8886 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8888 * desktop.el (uniquify-managed): Don't defvar.
8889 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8890 `uniquify-managed'. Return also the buffer's base name.
8891 (desktop-save): When saving the buffer info, filter out the base name,
8892 and save it as buffer name if the buffer is managed by uniquify.
8893 (uniquify-item-base): Don't declare; not called anymore.
8895 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8897 * vc.el (vc-annotate-find-revision-at-line): New function.
8898 (vc-annotate-mode-map): Bind it.
8899 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8902 2008-02-14 Glenn Morris <rgm@gnu.org>
8904 * calendar/time-date.el (format-seconds): New function.
8905 (emacs-uptime): Use format-seconds.
8907 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8908 Remove `LC_ALL=C', since it's included in $(emacs) now.
8910 2008-02-14 Zhang Wei <id.brep@gmail.com>
8912 * textmodes/org-publish.el (org-publish-timestamp-filename):
8913 Replace colon characters in filename too.
8915 2008-02-13 Bastien Guerry <bzg@altern.org>
8917 * mail/rmail.el (rmail-header-name): New face.
8918 (rmail-font-lock-keywords): Use rmail-header-name.
8920 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8921 against X-Spam-Status header field.
8922 (rmail-spam-filter): Also check X-Spam-Status header field.
8924 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8926 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8927 Add support for .pm files and .php files.
8928 (flymake-err-line-patterns): Add pattern for PHP errors.
8929 (flymake-php-init): New function. PHP support for flymake.
8931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8932 Add regular expression for PHP errors.
8934 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8936 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8937 This DTRT even on w32 machines.
8938 (ange-ftp-cf1): Quote FILENAME.
8940 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8942 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8943 (smerge-auto-combine): New fun.
8945 2008-02-12 Juri Linkov <juri@jurta.org>
8947 * startup.el (fancy-startup-screen, normal-splash-screen):
8948 Set default-directory to command-line-default-directory.
8950 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8951 after reading the desktop.
8953 * progmodes/compile.el (compilation-auto-jump):
8954 Call compile-goto-error only when compilation-auto-jump-to-first-error
8956 (compilation-scroll-output): Replace :type 'boolean with a choice
8957 that has three options including a third option `first-error'.
8959 (compilation-start, compilation-forget-errors): Add an alternate
8960 condition comparing compilation-scroll-output with `first-error'
8961 in addition to compilation-auto-jump-to-first-error (to call
8962 compilation-auto-jump in the proper place).
8964 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * international/mule.el (sgml-html-meta-auto-coding-function):
8967 Make sure the search limit is ahead.
8969 * tar-mode.el: Fix broken indentation.
8970 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8971 Use with-current-buffer.
8973 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8975 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8976 it is already automatically buffer-local.
8978 2008-02-11 Drew Adams <drew.adams@oracle.com>
8980 * help.el (describe-key): Join some split lines to facilitate filling.
8981 * help-fns.el (describe-function-1): Fill text of overlong lines.
8983 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8985 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8986 Use unibyte-string instead of string-make-unibyte.
8988 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8990 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8992 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8993 works also for buffers w/o buffer-file-name. Update callers.
8994 (doc-view-clone-buffer-hook): New fun.
8995 (doc-view-mode): Use it for indirect clones. Mark the overlays with
8996 the `doc-view' property so they can be recognized.
8998 * simple.el (clone-indirect-buffer-hook): New hook.
8999 (clone-indirect-buffer): Run it.
9001 2008-02-11 Daiki Ueno <ueno@unixuser.org>
9003 * epa.el (epa-menu-mode): Merge into epa-mode.
9004 (epa-menu-items): Rename the label "EasyPG Assistant" to
9005 "Encryption/Decryption".
9007 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
9008 (epa-dired-mode-map): Rename from epa-dired-map.
9009 (epa-global-dired-mode): Rename the global minor mode.
9011 2008-02-11 Drew Adams <drew.adams@oracle.com>
9013 * isearch.el (isearch-fail): New face.
9014 (isearch-message): Highlight failure part of input.
9016 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9018 * ibuffer.el (ibuffer-header-line-format): New var.
9019 (ibuffer-mode): Set it instead of header-line-format.
9020 (ibuffer-update): Use it to set header-line-format.
9022 * international/mule-cmds.el (ucs-insert): Inherit surrounding
9023 properties like self-insert-command.
9025 2008-02-11 Drew Adams <drew.adams@oracle.com>
9027 * progmodes/etags.el: Add many doc strings.
9029 2008-02-11 Jason Rumney <jasonr@gnu.org>
9031 * ldefs-boot.el: Regenerated.
9033 2008-02-11 Glenn Morris <rgm@gnu.org>
9035 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9038 * ffap.el (ffap-rfc-directories): Add :version.
9040 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
9042 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
9043 files, and backup files of same.
9045 2008-02-11 Kevin Ryde <user42@zip.com.au>
9047 * ffap.el (ffap-rfc-directories): New variable.
9048 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
9050 * info.el (Info-next-reference, Info-prev-reference)
9051 (Info-try-follow-nearest-node): Move to and follow https:// links too.
9053 * simple.el (completion-list-mode): Show full completion-list-mode-map
9056 2008-02-11 Sam Steingold <sds@gnu.org>
9058 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
9060 2008-02-11 Glenn Morris <rgm@gnu.org>
9062 * startup.el (emacs-startup-time): New variable.
9063 (command-line): Set emacs-startup-time.
9065 * calendar/time-date.el (emacs-uptime): New function.
9067 2008-02-10 Bastien Guerry <bzg@altern.org>
9069 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
9070 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
9073 2008-02-10 Daiki Ueno <ueno@unixuser.org>
9075 * epg-config.el: Expand the contents of epg-package-info.el.
9076 (epg-package-name): New constant.
9077 (epg-version-number): New constant.
9078 (epg-bug-report-address): New constant.
9080 * epa-mail.el (epa-mail-mode): Add autoload cookie.
9081 (epa-global-mail-mode): New global minor mode.
9083 * epa-file.el (epa-file-mode): New global minor mode.
9085 * epa-dired.el (epa-dired-mode): New global minor mode.
9087 * epa.el (epa-menu): New variable.
9088 (epa-menu-items): New variable.
9089 (epa-menu-mode): New global minor mode.
9090 (epa-global-minor-modes): New user option.
9091 (epa-mode): New global minor mode.
9093 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
9095 * net/dbus.el: Remove `no-byte-compile' cookie.
9096 (dbus-call-method, dbus-register-signal, dbus-debug)
9097 (dbus-registered-functions-table): Declare them with
9098 `declare-function' or `defvar', respectively.
9099 (top): Don't assert any longer. Require 'cl when compiling.
9100 Apply `ignore-errors' but `dbus-ignore-errors'.
9102 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9104 * diff-mode.el (diff-add-change-log-entries-other-window):
9105 Use add-change-log-entry.
9107 2008-02-09 Jason Rumney <jasonr@gnu.org>
9109 * button.el (button-map):
9110 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
9111 * ldefs-boot.el: Regenerate.
9113 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
9115 * epa.el (epa-faces, epa):
9116 * epa-file.el (epa-file):
9117 * epg-config.el (epg): Add :version.
9119 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
9121 * vc.el (vc-exec-after): Append CODE to previous fragments.
9122 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
9123 take MESSAGES instead of VERBOSE; use it when non-nil.
9124 (vc-diff-internal): Compute messages once; use them;
9125 update call to vc-diff-finish.
9127 2008-02-09 Michael Olson <mwolson@gnu.org>
9129 * net/tramp.el (tramp-process-sentinel): Avoid error when process
9130 buffer has been killed, such as by
9131 `tramp-cleanup-all-connections'.
9133 2008-02-09 Miles Bader <miles@gnu.org>
9135 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
9137 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
9139 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
9140 splitter in context hunks.
9142 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
9144 * international/fontset.el (setup-default-fontset): Fix arabic otf
9147 2008-02-08 Daiki Ueno <ueno@unixuser.org>
9155 * epg-package-info.el:
9156 * epg.el: Initial check-in of EasyPG.
9158 2008-02-08 Glenn Morris <rgm@gnu.org>
9160 * woman.el (woman-locale): New defcustom.
9161 (woman-expand-locale, woman-manpath-add-locales): New functions.
9162 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
9164 * international/mule-cmds.el (locale-translate): New function,
9165 with old code extracted from set-locale-environment.
9166 (set-locale-environment): Use locale-translate. Set woman-locale.
9168 * cus-start.el (selection-coding-system): Remove, since it's now
9169 defined in select.el rather than in xselect.c.
9170 * select.el (selection-coding-system): Make it a defcustom, and
9171 add the properties from cus-start.el. Bump :version.
9173 * custom.el (custom-theme-set-variables): Sort symbols that are
9174 dependencies before symbols that depend on them.
9175 (custom-enabled-themes): Set after custom-theme-directory.
9177 * pcmpl-unix.el (top-level): Move provide statement to end.
9178 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
9179 `*' from doc-string. Allow to be nil.
9180 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
9181 Allow to be nil. Add :version.
9182 (pcmpl-ssh-hosts): Move definition before use. Handle lines
9183 without hostnames, and multiple hostnames per line.
9185 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
9187 2008-02-08 Phil Hagelberg <phil@evri.com>
9189 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
9190 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
9192 2008-02-07 Timo Savola <timo.savola@iki.fi>
9194 * startup.el (command-line-x-option-alist): Add --parent-id.
9196 * term/x-win.el (x-handle-parent-id): New function.
9198 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
9200 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
9203 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
9205 * net/dbus.el (dbus-interface-peer): New defconst.
9206 (dbus-ping): New defun.
9208 2008-02-06 Sam Steingold <sds@gnu.org>
9210 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
9212 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9215 Just return nil and let the C code provide a fallback.
9217 2008-02-05 Glenn Morris <rgm@gnu.org>
9219 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9220 tramp-flush-connection-property for removed 2nd argument.
9222 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9224 * diff-mode.el (diff-add-change-log-entries-other-window):
9225 Rename from diff-create-changelog. Change users.
9226 Minor change to hopefully work with plain diffs.
9227 (diff-mode-map): Add binding for it.
9229 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
9231 * diff-mode.el: Add new TODO entry.
9232 (diff-create-changelog): New function.
9233 (diff-mode-menu): Bind it.
9235 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
9237 * international/mule-diag.el (print-fontset-element): Handle the
9238 case of inhibiting the fallback fonts.
9240 2008-02-04 Kim F. Storm <storm@cua.dk>
9242 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9243 (ido-magic-delete-char): Use prefix arg.
9245 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
9247 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9248 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9249 of today, the most recent libpng is 1.2.24).
9251 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
9253 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9255 * net/dbus.el (top): Check (featurep 'dbusbind).
9257 * net/tramp.el (tramp-process-sentinel): New defun.
9258 (tramp-do-copy-or-rename-file-out-of-band)
9259 (tramp-maybe-open-connection): Use it as process sentinel.
9260 (tramp-handle-delete-directory): Don't use the "-f" option; it
9262 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9264 (tramp-handle-shell-command): Set `mode-line-process' in the
9267 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9269 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9270 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9271 Use `tramp-process-sentinel' as process sentinel.
9273 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
9275 * whitespace.el (global-whitespace-mode): Revert last change.
9276 (whitespace-unload-function): Force `global-whitespace-mode'
9277 to deactivate local modes in a slightly less intrusive way.
9279 2008-02-02 Eli Zaretskii <eliz@gnu.org>
9281 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9283 2008-02-02 Glenn Morris <rgm@gnu.org>
9285 * international/latin1-disp.el (latin1-display):
9286 * progmodes/fortran.el (fortran-comment-indent-char):
9287 * progmodes/idlw-shell.el (top-level):
9288 * term/mac-win.el (mac-keyboard-translate-char):
9289 * whitespace.el (whitespace-char-valid-p):
9290 * wid-edit.el (widget-key-sequence-read-event):
9291 Use characterp rather than char-valid-p.
9293 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9294 to capitalized-find-word-boundary. Doc fix. Update callers.
9295 (capitalized-next-word-boundary-function-table): Rename to
9296 capitalized-find-word-boundary-function-table. Doc fix. Update users.
9298 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9301 * ps-def.el (declare-function): Add compatibility definition.
9302 (ps-plot-with-face, ps-plot-string): Declare as functions.
9303 (ps-bold-faces, ps-italic-faces): Declare variables.
9305 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9306 (ps-mule-end-job): Declare as functions.
9308 * wid-edit.el (widget-string-complete): Use assoc-string rather
9309 than assoc-ignore-case.
9311 See ChangeLog.13 for earlier changes.
9315 ;; add-log-time-zone-rule: t
9318 Copyright (C) 2008 Free Software Foundation, Inc.
9320 This file is part of GNU Emacs.
9322 GNU Emacs is free software: you can redistribute it and/or modify
9323 it under the terms of the GNU General Public License as published by
9324 the Free Software Foundation, either version 3 of the License, or
9325 (at your option) any later version.
9327 GNU Emacs is distributed in the hope that it will be useful,
9328 but WITHOUT ANY WARRANTY; without even the implied warranty of
9329 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9330 GNU General Public License for more details.
9332 You should have received a copy of the GNU General Public License
9333 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9335 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc