1 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3 * ffap.el (ffap-prompter): Don't use the region.
5 2008-06-05 Sam Steingold <sds@gnu.org>
7 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
8 subdirectory to be registered.
10 2008-06-05 Martin Rudalics <rudalics@gmx.at>
12 * window.el (display-buffer-function, special-display-p)
13 (special-display-buffer-names, special-display-regexps)
14 (special-display-function, same-window-p, same-window-buffer-names)
15 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
16 (pop-up-frame-function, pop-up-windows)
17 (split-window-preferred-function, split-height-threshold)
18 (split-width-threshold, window--splittable-p)
19 (window--try-to-split-window, window--frame-usable-p)
20 (even-window-heights, window--even-window-heights)
21 (window--display-buffer-1, window--display-buffer-2, display-buffer)
22 (pop-to-buffer): Move from window.c and buffer.c.
23 (split-window-preferred-horizontally): Remove.
24 * cus-start.el: Remove corresponding declarations.
26 2008-06-05 Sam Steingold <sds@gnu.org>
28 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
29 an error on modified buffers.
31 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
33 * progmodes/etags.el (tags-verify-table): Be careful to use and update
34 tags-file-name and tags-table-list from the right buffer.
35 (tags-table-check-computed-list, tags-table-extend-computed-list)
36 (find-tag-noselect): Use with-current-buffer.
38 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
41 * minibuffer.el (minibuffer-local-must-match-filename-map):
42 Declare obsolete alias for the old name.
44 * abbrev.el (unexpand-abbrev): Better preserve markers.
46 2008-06-05 Glenn Morris <rgm@gnu.org>
48 * emacs-lisp/autoload.el (autoload-rubric): New function,
49 extracted from autoload-ensure-default-file.
50 (autoload-ensure-default-file): Use autoload-rubric.
52 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
53 (custom-dependencies-no-scan-regexp): New variable.
54 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
55 Don't scan files matching custom-dependencies-no-scan-regexp.
56 Disable undo in the output buffer. Remove kept-new-versions wackiness.
58 * finder.el (finder-headmark): Initialize and add doc string.
59 (generated-finder-keywords-file): Doc fix.
60 (finder-no-scan-regexp): New variable.
61 (finder-compile-keywords): Use a single let binding.
62 Disable undo in the output buffer. Use autoload-rubric.
63 Use mapc rather than mapcar. Don't scan files matching
64 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
65 rather than concat. Use directory-files to do regexp matching.
66 No need to require jka-compr.
67 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
68 (finder-list-matches): Disable undo.
69 (finder-commentary): Use let rather than let*. Disable undo.
70 (finder-current-item): Use zerop.
71 (finder-mode): Use define-derived-mode.
72 (finder-exit): Doc fix. Use dolist.
74 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
75 (custom-deps): Don't require $(lisp)/cus-load.el.
76 (custom-deps, finder-data): Don't depend on autoloads.
77 Should not be needed now, and doing so was causing make install to
78 re-dump emacs post-bootstrap.
79 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
80 mid-build forces some things to be rebuilt.
82 2008-06-05 Miles Bader <miles@gnu.org>
85 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
86 (face-remap-remove-relative): Renamed from
87 `remove-relative-face-remapping'.
88 (face-remap-reset-base): Renamed from
89 `set-default-base-face-remapping'.
90 (face-remap-set-base): Renamed from `set-base-face-remapping'.
91 (text-scale-increase): Renamed from `increase-buffer-face-height'.
92 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
93 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
95 * face-remap.el (variable-pitch-mode): Autoload.
97 2008-06-04 Sam Steingold <sds@gnu.org>
99 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
100 Generate extra status headers for a Mercurial tree.
102 2008-06-04 John Paul Wallington <jpw@pobox.com>
104 * echistory.el (electric-history-map): Define within defvar.
107 * font-lock.el (font-lock-turn-off-thing-lock)
108 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
109 Use `bound-and-true-p'.
110 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
113 * international/ccl.el (define-ccl-program): Add `doc-string'
116 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
118 * face-remap.el (variable-pitch-mode): Reflow docstrings.
119 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
121 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
123 * emacs-lisp/rx.el (rx): Doc fix.
125 2008-06-04 Markus Triska <markus.triska@gmx.at>
127 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
129 2008-06-04 Miles Bader <miles@gnu.org>
131 * face-remap.el (adjust-buffer-face-height): New function.
132 Add autoloaded keybindings in ctl-x-map.
133 (increase-buffer-face-height, decrease-buffer-face-height):
134 Simplify interactive spec to just "p". Remove autoloaded keybindings.
136 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
138 * simple.el (line-move-1): If we did not move as far as desired,
139 ensure that point-left and point-entered hooks are called.
141 2008-06-03 Sam Steingold <sds@gnu.org>
143 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
145 2008-06-03 John Paul Wallington <jpw@pobox.com>
147 * progmodes/make-mode.el (makefile-cleanup-continuations)
148 (makefile-warn-suspicious-lines, makefile-warn-continuations):
149 Use `derived-mode-p'.
151 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
153 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
156 2008-06-03 Miles Bader <miles@gnu.org>
158 * face-remap.el: New file.
159 * Makefile.in (ELCFILES): Add face-remap.elc.
161 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
163 * progmodes/flymake.el (flymake-process-filter): Make sure the source
166 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
167 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
168 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
169 * obsolete/auto-show.el, obsolete/hscroll.el:
170 Remove packages that were obsolete in Emacs-20, or that were obsolete
171 in Emacs-21 and do not contain any more code.
173 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
174 vc-client-mode is not set.
176 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
177 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
179 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
180 yet a bit more clever at distinguishing / from /.
182 2008-06-03 Kenichi Handa <handa@m17n.org>
184 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
186 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
188 * language/hanja-util.el: New file.
190 2008-06-03 Glenn Morris <rgm@gnu.org>
192 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
193 Check that end-of-word follows "type".
195 2008-06-02 Daiki Ueno <ueno@unixuser.org>
197 * epa-file.el (epa-file-write-region): Write the entire buffer
198 content if START is nil.
200 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
202 * select.el (x-get-selection): Fix typo.
204 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
206 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
207 (describe-char): Use `looking-at-p', `string-match-p' when possible.
209 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
211 * tar-mode.el (tar-header-block-summarize): Ensure one space around
214 2008-05-31 John Paul Wallington <jpw@pobox.com>
216 * help-fns.el (describe-variable-custom-version-info):
217 Handle dotted `package-version' info.
219 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
221 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
223 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
225 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
226 names and improve support for unregistered files.
228 2008-05-31 Glenn Morris <rgm@gnu.org>
230 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
231 Remove shell variable `elc'. Split tests to hopefully be more portable.
232 Fix `sel' assignment.
234 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
236 * minibuffer.el (completion-table-dynamic): Doc fix.
238 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
240 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
241 Try and return `unregistered' when applicable.
243 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
244 Don't encourage naming variables with "-flag".
246 2008-05-30 Glenn Morris <rgm@gnu.org>
248 * Makefile.in (update-elclist): Hide the warning when it does not apply,
249 make it milder when it does.
250 (autogen-clean): New target.
251 (maintainer-clean): Use autogen-clean.
253 * calendar/diary-lib.el (diary-display-function): New name for
254 diary-display-hook. Keep old name as obsolete alias. Doc fix.
255 Change custom type and version.
256 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
257 (diary-fancy-display): Doc fixes.
258 (diary-list-entries, diary-include-other-diary-files)
259 (diary-mail-entries):
260 Use diary-display-function rather than diary-display-hook.
262 * calendar/appt.el (appt-check): Use diary-display-function rather than
264 * calendar/cal-x.el (calendar-dedicate-diary): Update for
265 diary-display-function replacing diary-display-hook.
266 * org/org-agenda.el (org-get-entries-from-diary): Also set
267 diary-display-function.
269 * calendar/cal-html.el (cal-html-list-diary-entries):
270 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
271 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
272 argument of diary-list-entries rather than setting diary-display-hook.
274 2008-05-30 Kenichi Handa <handa@m17n.org>
276 * international/mule-conf.el (utf-8-with-signature): Renamed from
278 (utf-8-auto): Adjusted for the above change.
280 * international/mule-diag.el (describe-font): Don't check fontset
281 here, and just call font-info. Get the default font by from the
284 2008-05-29 Kenichi Handa <handa@m17n.org>
286 * international/mule-conf.el (utf-8-sig, utf-8-auto):
289 * international/mule.el (define-coding-system): Accept :bom for utf-8.
291 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
293 * international/utf-7.el (utf-7-encode): Use the right escape char
294 depending on imap/nonimap encoding.
296 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
298 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
300 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
302 * icomplete.el (icomplete-prospects-height): Add :group.
304 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
306 * icomplete.el (icomplete-prospects-length): Make obsolete.
307 (icomplete-prospects-height): New var.
308 (icomplete-completions): Use it.
310 2008-05-29 David Kastrup <dak@gnu.org>
312 * autoinsert.el (auto-insert): Add :link.
314 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
316 * tar-mode.el (tar-header): New field `header-start'.
317 (tar-header-block-tokenize): Set it when useful.
318 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
319 (tar-header-data-end): New function.
320 (tar-summarize-buffer): Use it.
321 (tar-next-line): Fix goal column for long usernames.
322 (tar-expunge-internal): Use header-start.
323 (tar-rename-entry): Handle ustar-style long names.
324 (tar-alter-one-field): Add optional `descriptor' argument.
325 (tar-subfile-save-buffer): Use it.
327 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
329 * tar-mode.el (tar-header): New field `header-start'.
330 (tar-header-block-tokenize): Set header-start for longlink entries.
331 (tar-expunge-internal): Use header-start to expunge longlink entries.
333 * files.el (hack-local-variables): Don't signal an error if the local
334 variable section is not properly terminated.
336 * emacs-lisp/easymenu.el (easy-menu-convert-item)
337 (easy-menu-convert-item-1): Move the duplicate-generation outside of
338 the caching so it also works for identical entries.
340 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
341 (tar-mode): Use write-region-annotate-functions rather than
342 write-contents-functions.
343 (tar-extract): Remove unused var `pos'.
344 (tar-subfile-save-buffer): Remove unused var `following-descs'.
345 (tar-mode-write-file): Remove.
346 (tar-write-region-annotate): New function.
348 * progmodes/flymake.el (flymake-save-buffer-in-file):
349 * shadowfile.el (shadow-copy-file):
350 * arc-mode.el (archive-*-write-file-member):
351 * files.el (diff-buffer-with-file):
352 * subr.el (with-temp-file): Pass nil to write-region.
353 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
355 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
358 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
361 2008-05-28 Glenn Morris <rgm@gnu.org>
363 * Makefile.in (update-elclist): Work around non-portability of "\"
364 in various implementations of echo.
366 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
368 * international/mule-diag.el (describe-current-coding-system):
369 Don't assume selection-coding-system is always defined.
371 * tar-mode.el: Use defstruct and markers.
373 (tar-header): Use defstruct. Add `data-start' field.
374 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
375 (tar-desc-data-start): Remove (now called tar-header-data-start).
376 (tar-roundup-512): New fun.
377 (tar-header-block-tokenize): Receive a buffer position rather than
378 a string. Handle @longLink here, be more careful about it.
379 Create a marker for data-start.
380 (tar-summarize-buffer): Don't handle @LongLink here any more.
381 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
382 data-start on the following entries any more.
383 (tar-chown-entry, tar-chgrp-entry): Use read-number.
385 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
386 (tar-header-offset): Remove.
387 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
388 Not permanent any more.
389 (tar-data-buffer): New var.
390 (tar-data-swapped-p, tar-change-major-mode-hook)
391 (tar-mode-kill-buffer-hook): New funs.
392 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
393 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
394 (tar-clear-modification-flags, tar-alter-one-field)
395 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
398 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
400 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
401 (vc-dir-resynch-file): ... this. Update callers.
402 Use vc-string-prefix-p. Ignore directory args.
403 (vc-string-prefix-p): CSE.
404 (vc-resynch-buffer): Restore conditional.
406 * vc-hooks.el (vc-after-save): Improve test.
407 (vc-mode-line): Fix indentation.
409 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
411 * calendar/parse-time.el (parse-time-months)
412 (parse-time-weekdays): Add long-form month and day names.
414 2008-05-27 Glenn Morris <rgm@gnu.org>
416 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
418 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
420 * vc-dispatcher.el (vc-string-prefix-p): New function.
421 (vc-dir-parent-marked-p): Use it.
423 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
425 * vc.el (Problems): Remove fixed issues.
426 (vc-expand-dirs): Avoid returning directories.
427 (vc-dir): Fix C-x v v binding.
428 (vc-make-backend-object): Fix name.
429 (vc-dir-show-fileentry): Fix docstring.
430 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
431 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
432 Reset the state for directories.
433 (vc-dir-headers): Align labels.
434 (vc-default-status-printer): Do no call prettify-state-info.
435 (vc-deduce-fileset): Replace implementation with one based on a
436 working older version.
437 (vc-next-action): Use the new form of vc-deduce-fileset.
438 Fix dealing with unregistered files.
440 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
441 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
442 (vc-dir-child-files): New function.
443 (vc-dir-node-directory): New function.
444 (vc-dir-update, vc-dir-parent-marked-p)
445 (vc-dir-children-marked-p, vc-dir-mark-all-files)
446 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
448 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
450 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
452 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
453 (diff-font-lock-keywords, diff-context->unified)
454 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
455 (diff-hunk-text, diff-find-source-location): Use it.
456 (diff-post-command-hook): Let the user edit the hunk headers.
458 2008-05-26 Andreas Schwab <schwab@suse.de>
460 * vc.el (vc-default-prettify-state-info): Fix formatting of an
463 * tar-mode.el (tar-summarize-buffer): Comment fix.
465 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
467 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
469 2008-05-26 Glenn Morris <rgm@gnu.org>
471 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
473 2008-05-25 John Paul Wallington <jpw@pobox.com>
475 * proced.el (proced-next-line, proced-previous-line):
476 Avoid calling `next-line' and `previous-line' from Lisp code.
478 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
480 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
481 Use diary-ordinal-suffix.
483 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
485 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
486 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
487 (edebug-save-displayed-buffer-points, edebug-initial-mode)
488 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
489 (edebug-print-length, edebug-print-level, edebug-print-circle)
490 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
491 (edebug-global-break-condition, edebug-sit-for-seconds):
492 Remove spurious * from defcustom docstrings.
493 (edebug-unwrap*, edebug-signal, edebug-eval-display):
494 Improve argument/docstring consistency.
495 (edebug-test-coverage, edebug-gensym, edebug-read)
496 (edebug-top-level-nonstop, edebug-eval-result-list)
497 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
498 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
499 (edebug-display-freq-count): Reflow docstrings.
500 (edebug-restore-status): Doc fix.
502 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
504 * proced.el (proced-header-line): Use the :align-to 0 feature
505 rather than computing the corresponding position manually.
506 (proced-update): Don't hardcode point-min==1.
508 2008-05-24 Alan Mackenzie <acm@muc.de>
510 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
511 if c-file-style is set to a non-string.
513 (c-neutralize-CPP-line): Surround by `save-excursion'.
514 (c-neutralize-syntax-in-CPP): Optimize for speed.
516 2008-05-24 Glenn Morris <rgm@gnu.org>
518 * Makefile.in (update-elclist): New target, to update ELCFILES.
519 (bootstrap-after): Run update-elclist.
521 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
523 * icalendar.el (icalendar-version): Increase to "0.19".
524 (icalendar--date-style): New function.
525 (icalendar--datetime-to-diary-date): Doc fix.
526 Use icalendar--date-style.
527 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
528 (icalendar--convert-yearly-to-ical)
529 (icalendar--convert-recurring-to-diary): Handle iso date style,
530 use icalendar-date-style.
532 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
534 * vc.el (vc-delete-file): Make sure the buffer is deleted and
535 vc-dir buffers are updated.
537 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
539 * vc.el (vc-delete-file): Don't try to resynch the buffer.
541 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
543 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
544 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
545 (reftex-extra-bindings): Use it.
547 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
548 away from the user-reserved keys.
550 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
552 (ada-create-keymap): Use them.
554 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
556 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
557 a properly-grouped regexp.
559 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
561 * progmodes/cap-words.el (capitalized-words-mode):
562 Fix typos in docstring.
564 2008-05-23 Kenichi Handa <handa@m17n.org>
566 * international/mule-conf.el: Don't define the charset `emacs'
567 here, just put :docstring, :short-name, and :long-name.
569 2008-05-22 Kenichi Handa <handa@m17n.org>
571 * international/mule-diag.el (font-show-log): Limit each listing
574 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
576 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
577 (gdb-annotation-rules): New entry for "thread-changed".
578 (gdb-thread-changed): New function.
580 2008-05-23 Glenn Morris <rgm@gnu.org>
582 * Makefile.in (SOURCES): Remove, unused.
583 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
584 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
585 Exclude more '*loaddefs' files.
586 (compile-always): Simplify '.elc' deletion.
588 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
590 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
591 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
593 * minibuffer.el (completion-boundaries): Change calling
594 convention, so `string' has the same semantics as in
595 try-completion and all-completions.
596 (completion-table-with-context, completion--embedded-envvar-table)
597 (completion--file-name-table)
598 (completion-pcm--find-all-completions): Adjust code accordingly.
600 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
602 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
603 prune image-mode-winprops-alist, preventing it from growing
605 (image-mode-reapply-winprops): Use it.
607 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
609 * net/netrc.el (netrc-machine): Always match if the port is not given.
611 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
613 * minibuffer.el (completion-pcm--find-all-completions):
614 Don't add pseudo-completions.
616 * icomplete.el (icomplete-eoinput): Remove.
617 (icomplete-overlay): New var to replace it.
618 (icomplete-tidy): Rewrite.
619 (icomplete-exhibit): Use an overlay.
620 (icomplete-completions): Use completion-all-sorted-completions.
621 Obey completion-ignore-case.
623 * files.el (locate-dominating-file): Accept non-existing argument.
624 (project-find-settings-file): Rewrite, using locate-dominating-file.
626 2008-05-22 Kenichi Handa <handa@m17n.org>
628 * faces.el (font-weight-table, font-slant-table, font-width-table):
629 Delete them. Don't call internal-set-font-style-table.
631 * international/mule-diag.el (font-show-log): New function.
633 * international/fontset.el (script-representative-chars): Add more
634 chars for latin. Add data for symbol.
635 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
637 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
639 * minibuffer.el (completion-all-sorted-completions): New var.
640 (completion--flush-all-sorted-completions)
641 (completion-all-sorted-completions): New functions.
642 (minibuffer-force-complete): New command.
644 2008-05-21 Glenn Morris <rgm@gnu.org>
646 * files.el (c-postprocess-file-styles): Declare for compiler.
648 * Makefile.in: Allow for parallel byte-compiling.
649 (ELCFILES): New variable.
650 (.el.elc): Remove prerequisites from suffix rule. Print a message.
651 (compile-first, compile-main, compile-last): New targets.
652 (compile-always): Simplify - delete .elc files, then `make compile'.
654 * Makefile.in (compile-calc): Use glob rather than find.
655 ($(lisp)/progmodes/cc-mode.elc): Use $@.
657 * eshell/esh-module.el: No need for cl when compiling.
659 * eshell/eshell.el (eshell-defgroup): New alias.
660 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
661 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
662 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
663 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
664 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
665 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
666 Autoload the custom group. Set generated-autoload-file.
667 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
669 * eshell/esh-module.el (eshell-load-defgroups): Remove.
670 Require esh-groups rather than loading it.
672 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
674 * proced.el (proced-header-line): New variable and new function.
675 (proced-mode): Set header-line-format.
676 (proced-update): Set proced-header-line.
677 (proced-send-signal): Use proced-header-line.
679 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
681 * macros.el (insert-kbd-macro): Use prin1-char.
683 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
685 * minibuffer.el (completion-boundaries): New function.
686 (completion--some): Delay errors.
687 (complete-with-action, completion-table-with-context):
688 Handle `boundaries' case.
689 (completion--try-word-completion): Avoid partial-completion
690 when the user hasn't entered anything yet.
691 (minibuffer-local-map, minibuffer-local-filename-completion-map)
692 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
693 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
694 Setup default keybindings.
695 (completion--embedded-envvar-re): New var.
696 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
697 (completion--file-name-table): Handle `boundaries' case.
698 (completion-pcm--pattern->regex): Avoid pathological backtracking.
699 (completion-pcm--all-completions): Add a `prefix' arg.
700 (completion-pcm--find-all-completions): New function.
701 (completion-pcm-all-completions, completion-pcm-try-completion):
704 * icomplete.el (icomplete-completions): Don't use `predicate' with
705 a table of a different type than `candidates'.
707 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
709 * proced.el (proced-goal-column): Rename from proced-procname-column.
710 (proced-goal-header-re): Rename from proced-procname-column-regexp.
711 (proced-move-to-goal-column): Rename from proced-move-to-procname.
712 (proced-header-face, proced-header-regexp): Remove.
713 (proced-font-lock-keywords): Remove proced-header-face.
714 (proced-header-alist, proced-sorting-schemes-re): New variables.
715 (proced): Rename Proced buffer to *Proced*.
716 (proced-next-line, proced-previous-line): New commands.
717 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
718 (proced-hide-processes): Do not treat first line as special.
719 (proced-header-space): New function.
720 (proced-update): Use header-line-format.
721 Initialize proced-header-alist and proced-sorting-schemes-re.
722 Set proced-goal-column. Include proced-command in mode-name.
723 (proced-send-signal): Use header-line-format for *Marked
725 (proced-sort): Restrict minibuffer completion to applicable
727 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
729 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
731 * icomplete.el (icomplete-simple-completing-p):
732 Allow icomplete-with-completion-tables to say "use it everywhere".
733 (icomplete-completions): Obey completion-styles. Try to accommodate
734 partial-completion style.
736 2008-05-20 Michael Olson <mwolson@gnu.org>
738 * files.el (project-find-settings-file): Change concat to
741 2008-05-19 Tom Tromey <tromey@redhat.com>
743 * files.el (normal-mode): Call hack-project-variables.
744 (hack-local-variables-confirm): Add 'project' argument.
745 (hack-local-variables-apply): New function.
746 (hack-local-variables): Use it.
747 (project-class-alist, project-directory-alist): New variables.
748 (project-get-alist): New function.
749 (project-collect-bindings-from-alist)
750 (project-collect-binding-list, set-directory-project)
751 (project-find-settings-file, project-define-from-project-file)
752 (hack-project-variables): New functions.
754 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
756 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
758 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
760 * faces.el (font-weight-table): Fix typo in docstring.
762 2008-05-18 David Hull <david@snap.com> (tiny change)
764 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
765 (vc-hg-annotate-command): Allow white space before version number.
767 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
769 * calc/calc-yank.el (calc-register-alist): New variable.
770 (calc-set-register,calc-get-register,calc-copy-to-register)
771 (calc-insert-register,calc-add-to-register,calc-append-to-register)
772 (calc-prepend-to-register): New functions.
774 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
775 `calc-copy-to-register' and `calc-insert-register'.
776 Autoload new register functions.
778 * calc/calc-help.el (calc-r-prefix-help): Add help for register
781 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
783 * vc.el (Todo): Add known problems.
784 (vc-dir-backend): New variable.
786 (vc-make-backend-object, vc-generic-status-printer)
787 (vc-generic-state, vc-generic-status-fileinfo-extra)
788 (vc-dir-extra-menu): Use it.
789 (vc-generic-dir-headers): Remove, unused.
791 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
792 vc-dir-prev-directory for consistency with vc-dir-previous-line.
793 (vc-dir-mode-map): Fix bindings.
795 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
797 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
799 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
801 (calc-kill-region): Kill entire lines.
803 2008-05-17 Glenn Morris <rgm@gnu.org>
805 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
806 simplify initial value.
807 (defezimage): Drop support for Emacs without defimage, use a featurep
808 test rather than fboundp when defining, drop with-no-warnings.
809 (ezimage-insert-over-text): Move featurep test inside
812 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
814 * net/tramp.el (top-level): Load auth-source when compiling.
816 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
818 2008-05-17 Andreas Schwab <schwab@suse.de>
820 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
822 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
824 * vc.el (vc-annotate-show-diff-revision-at-line): Change
825 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
827 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
829 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
831 2008-05-17 Jim Meyering <meyering@redhat.com>
833 * ido.el (ido-save-history): Do not emit a trailing newline at the
834 end of the ido history file.
836 2008-05-16 John Paul Wallington <jpw@pobox.com>
838 * vc-dispatcher.el (top-level): Revert previous change: require cl
841 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
843 * vc.el (vc-default-status-printer)
844 (vc-default-prettify-state-info): Enhance the state prettyprinter
845 to deal better with unknown states and indirect through it when
846 painting vc-dir buffers.
848 2008-05-16 John Paul Wallington <jpw@pobox.com>
850 * vc-dispatcher.el (top-level): Don't require cl when compiling.
851 (vc-dir-mode-map): Fix backquote.
852 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
854 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
856 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
857 Reported by Glenn Morris <rgm@gnu.org>.
859 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
861 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
862 the end of the file, it was good work at one time but has been
863 stale since 1995 and may now be actively misleading.
864 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
865 CVS repository and module (assumptions for the latter a bit iffy).
866 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
869 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
871 * vc-rcs.el (vc-rcs-create-tag):
872 * vc-sccs.el (vc-sccs-create-tag):
873 Fix typo in error message and pass backend arg.
875 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
879 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
881 * net/tramp.el: Load auth-source library.
882 (tramp-read-passwd): Use it for password, not login.
884 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
886 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
887 (ses-print-cell): Use string-width, truncate-string-to-width,
888 delete-region rather than length, substring, delete-char.
889 (ses-setup): Set inhibit-point-motion-hooks to t.
890 Calculate position by actually moving point rather than just using
891 unibyte character length.
892 (ses-mode): Set indent-tabs-mode to nil.
893 (ses-center): Use string-width rather than length.
895 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
897 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
898 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
899 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
900 vc-*-create-tag and vc-*-retrieve-tag respectively.
902 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
905 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
907 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
910 2008-05-15 Glenn Morris <rgm@gnu.org>
912 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
914 * org/org-exp.el (org-infojs-options-inbuffer-template):
917 * progmodes/cc-mode.el (declare-function): Add compat definition.
918 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
920 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
922 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
923 list to a cons so the caller can get back both expanded and
925 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
926 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
927 Change handling of selection-set returns as required.
929 2008-05-15 John Paul Wallington <jpw@pobox.com>
931 * add-log.el (top-level): Don't require cl when compiling.
933 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
934 (archive-*-extract): Use `zerop'
935 (archive-*-write-file-member): Use `or', use `zerop'.
937 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
939 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
940 (ibuffer-mark-interactive, ibuffer-set-mark)
941 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
942 (ibuffer-map-lines, ibuffer-switch-format)
943 (ibuffer-update-title-and-summary)
944 (ibuffer-redisplay-engine): Use it.
946 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
947 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
948 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
949 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
950 (ibuffer-mark-read-only-buffers)
951 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
953 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
954 (define-ibuffer-column, define-ibuffer-sorter)
955 (define-ibuffer-op, define-ibuffer-filter): Add declarations
956 containing indentation specs, replacing equivalent top-level
957 forms that set `lisp-indent-function' properties.
958 (define-ibuffer-op): Use `derived-mode-p'.
959 (define-ibuffer-filter): Remove redundant `concat' call.
961 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
963 * net/tramp.el (tramp-echo-mark): Update docstring.
964 (tramp-echo-mark-marker): New defconst.
965 (tramp-check-for-regexp): Use it.
967 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
969 * vc.el (vc-deduce-fileset): Do the right thing when visting a
970 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
973 2008-05-14 John Paul Wallington <jpw@pobox.com>
975 * international/mule.el (convert-define-charset-argument):
976 Remove period from end of error message.
977 (coding-system-mnemonic): Doc fix.
978 (ctext-pre-write-conversion): Doc fix.
980 2008-05-14 Simon Marshall <simon@gnu.org>
982 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
983 from its default value and give it the risky-local-variable
984 property (CVE-2008-2142).
986 2008-05-14 Kenichi Handa <handa@m17n.org>
988 * language/korean.el ("Korean"): Set `iso639-language'
991 * language/japanese.el ("Japanese"): Set `iso639-language'
994 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
995 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
996 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
998 * international/mule-cmds.el (set-language-environment):
999 Set current-iso639-language.
1001 * international/fontset.el (setup-default-fontset): For kana, han,
1002 hangul, and cjk-misc, move an entry with font-spec at the end.
1003 (generate-fontset-menu): Exclue fontset-auto* from the list.
1005 * composite.el (compose-chars-after): Assume that WINDOW is always
1008 * faces.el (font-weight-table, font-slant-table)
1009 (font-swidth-table): Declare them by defconst. Change the format
1010 of elements. Call internal-set-font-style-table after their
1012 (face-valid-attribute-values): Call font-family-list. Get values
1013 for width, weight, and slant from font-xxx-table.
1015 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
1017 2008-05-13 John Paul Wallington <jpw@pobox.com>
1019 * ibuffer.el (ibuffer-buffer-file-name): New function.
1020 (define-ibuffer-column filename): Use it.
1022 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
1024 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1026 * talk.el (talk): Simplify. Pass display arg to talk-add-display
1028 (talk-add-display): Simplify. Accept only string args.
1030 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
1032 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
1034 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * Makefile.in (bootstrap-prepare): Don't chmod files.
1037 (autoloads): Do it here instead, where it's actually needed.
1039 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1041 * tool-bar.el (tool-bar-make-keymap): Account for the optional
1042 KEY-BINDING-DATA field in menu-item list.
1044 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * dired.el (dired-read-dir-and-switches): Move things about to use less
1047 recursion during macroexpansion.
1049 * dired.el (dired-read-dir-and-switches): Use read-file-name.
1051 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
1052 completion-ignored-extension directories if there's something else.
1053 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
1054 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
1055 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
1056 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
1057 buffer-read-only -> inhibit-read-only.
1059 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
1061 * vc.el (vc-expand-dirs): Stop this function from tossing out
1062 explicitly specified files.
1064 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
1069 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
1071 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
1072 cons. Use vc-annotate-backend.
1073 (with-vc-file, edit-vc-file): Remove unused macros.
1075 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
1077 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
1078 (smtpmail-try-auth-methods): Use it.
1080 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
1083 (setf (nthcdr ..) ..) doesn't require CL at runtime.
1085 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
1087 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
1089 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
1092 (vc-bzr-revision-completion-table): Use process-file.
1093 (vc-bzr-working-revision): Pass relative file names.
1095 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
1097 2008-05-11 Juri Linkov <juri@jurta.org>
1099 * wid-edit.el (widget-image-directory): Change default image data
1100 subdirectory from "custom" to "images/custom".
1102 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
1103 before recursive call to `Info-next-preorder' to not add
1104 intermediate nodes to the history.
1106 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
1108 * emulation/cua-base.el: Put isearch-scroll property
1109 on cua-scroll-up and cua-scroll-down.
1111 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
1113 * vc-hooks.el (vc-recompute-state): Remove (dead code).
1115 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1117 * vc-dispatcher.el (ewoc): Require.
1118 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
1120 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
1122 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
1124 * term/w32-win.el (x-colors):
1125 * term/mac-win.el (x-colors):
1126 * term/x-win.el (x-colors): Re-order colors.
1128 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
1130 * smerge-mode.el (smerge-command-prefix): Fix custom type.
1132 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
1134 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
1135 New functions implementing motion to next and previous directory.
1137 * vc-arch.el (vc-arch-command):
1138 * vc-bzr.el (vc-bzr-command):
1139 * vc-cvs.el (vc-cvs-command):
1140 * vc-dispatcher.el (vc-do-command):
1141 * vc-git.el (vc-git-command):
1142 * vc-hg.el (vc-hg-command):
1143 * vc-mcvs.el (vc-mvcs-command):
1144 * vc-mtn.el (vc-mtn-command):
1145 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
1146 (vc-sccs-workfile-unchanged-p):
1147 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
1148 * vc-rcs.el (all methods): Remove assumption about what a nil
1149 argument to vc-do-command means. This means no buffer name needs
1150 to be hardcoded into the dispatcher layer, and it's better to be
1153 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1155 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1157 * vc.el: Update todo.
1159 * vc-sccs.el (vc-sccs-dir-status):
1160 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1161 backends and returning up to date files.
1163 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1165 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1168 * vc-hooks.el: Tweak the VC directory bindings. These are now
1169 documented in the manual.
1171 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1172 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1173 (vc-dispatcher-selection-set): Allow callers to pass in an
1174 observer flag that says no buffer sync is required.
1175 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1176 Use the observer flag.
1178 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
1180 * simple.el (start-file-process): Clarify docstring.
1182 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1184 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1185 Remove stub implementations of, and references to, wash-log.
1186 * vc-rcs.el (vc-rcs-comment-history):
1187 * vc-cvs.el (vc-cvs-comment-history):
1188 Inline the code that used to be wash-log.
1190 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1191 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1192 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1193 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1194 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1195 (vc-rcs-print-log): Grok directories.
1197 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * vc.el (vc-mark-resolved): Add `backend' argument.
1200 (vc-next-action): Pass it the backend.
1201 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1202 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1203 (vc-default-comment-history, vc-default-create-snapshot)
1204 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1205 (vc-annotate-revision-previous-to-line)
1206 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1207 * vc-svn.el (vc-svn-checkout):
1208 * vc-mcvs.el (vc-mcvs-checkout):
1209 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1210 (vc-working-revision, vc-before-save, vc-mode-line):
1211 Prefer vc-call-backend to vc-call so as not to recompute the backend.
1213 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1214 state to be consistent since it's often an unwarranted restriction.
1215 Don't return the state either.
1216 (vc-next-action): Check that the state is consistent.
1217 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1218 (vc-rollback, vc-update): Adapt to new return value of
1221 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1222 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1223 (vc-dispatcher-in-fileset-p): New fun.
1224 (vc-dispatcher-selection-set): Use it to properly handle directories.
1226 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
1228 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1229 (vc-update): Remove unused let bindings.
1231 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1233 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1234 (vc-diff, vc-revert, vc-rollback, vc-update):
1235 * vc-dispatcher.el (vc-dispatcher-selection-set):
1236 Get rid of 4 special cases in fileset selection. This involved
1237 changing the return value of (vc-deduce-fileset) so that it passes
1238 back a deduced state as well as a deduced back end.
1240 2008-05-08 Sam Steingold <sds@gnu.org>
1242 * progmodes/compile.el (compilation-minor-mode-map)
1243 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1244 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1245 to `compilation-minor-mode-map' (instead of an explicit `cons').
1247 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1249 * org/org.el (org-modules, org-format-latex-options):
1250 * org/org-archive.el (org-archive-stamp-time)
1251 (org-archive-save-context-info):
1252 * org/org-faces.el (org-hide):
1253 * org/org-irc.el (org-irc-parse-link):
1254 * org/org-macs.el (org-call-with-arg, org-autoload):
1255 * org/org-mew.el (org-mew-store-link):
1256 * org/org-remember.el (org-remember-store-without-prompt)
1257 (org-remember-templates): Fix typos in docstrings.
1259 * org/org-info.el (org-info-store-link): Remove leftover docstring.
1261 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1262 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1263 (org-bbdb-anniv-split): Fix typos in docstrings.
1265 * org/org-publish.el (org-publish-project-alist): Doc fixes.
1266 (org-publish-use-timestamps-flag): Reflow docstring.
1267 (org-publish-files-alist): Fix typos in docstring.
1269 2008-05-07 Sam Steingold <sds@gnu.org>
1271 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1272 appears to be too aggressive with window removal.
1274 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
1276 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1278 (verilog-pretty-expr): Support lining up assignments which include
1280 (verilog-mode): More portable check for the availability of
1282 (verilog-do-indent): Remove special indent for declarations inside
1283 a parenthetical list. The code is ill-advised, and doesn't work
1284 given the new user defined types.
1285 (verilog-set-auto-endcomments): Enhance function automatic
1286 endcomment to support functions that return user defined types.
1287 (verilog-mode): Add code to tell which-function-mode minor mode
1288 that Verilog supports this feature.
1290 2008-05-08 Eli Zaretskii <eliz@gnu.org>
1292 * epa-file.el: Require epa-hook.
1294 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1296 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1297 file-names clashes on 8+3 filesystems. Provide epa-hook.
1299 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1300 file-names clashes on 8+3 filesystems.
1302 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
1304 * org/org.el (org-read-date-get-relative): Interpret lone
1305 weekday abbreviation as relative to today.
1307 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1309 * abbrev.el (define-abbrev-table):
1310 * composite.el (toggle-auto-composition):
1311 * json.el (json-alist-p, json-plist-p):
1312 * minibuffer.el (completion-table-with-predicate):
1313 * ps-mule.el (ps-mule-external-libraries):
1314 * emacs-lisp/advice.el (ad-special-form-p):
1315 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1316 * eshell/em-smart.el (eshell-review-quick-commands):
1317 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1318 (python-skip-out, python-check-comint-prompt):
1319 Don't use `iff' in docstrings.
1321 * international/robin.el (robin-package-alist): Fix typo in docstring.
1322 (robin-current-package-name): Doc fix.
1323 (robin-activate): Don't use `iff' in docstring.
1325 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
1327 * vc.el, vc-dispatcher.el: VC-Dired support removed.
1328 The code uses a ewoc-based implementation now.
1329 * vc-hooks.el: Support for Meta-CVS has been removed.
1331 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * tool-bar.el: Choose images dynamically.
1334 (tool-bar-make-keymap, tool-bar-find-image): New function.
1335 (tool-bar-find-image-cache): New var.
1336 (tool-bar-local-item, tool-bar-local-item-from-menu):
1337 Don't select the image yet, do it later in tool-bar-make-keymap.
1339 2008-05-07 Andreas Schwab <schwab@suse.de>
1341 * window.el: Require 'cl when compiling.
1343 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
1345 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1347 2008-05-07 Glenn Morris <rgm@gnu.org>
1349 * subr.el (ignore-errors): Move here from cl-macs.el.
1350 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1352 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1355 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
1357 * vc-hooks.el (vc-find-file-hook):
1358 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1360 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1362 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
1364 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1365 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1366 (verilog-auto-inout, verilog-auto-inout-module)
1367 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1368 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1369 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1370 (verilog-auto-sense-sigs, verilog-auto-tieoff)
1371 (verilog-auto-unused, verilog-auto-wire)
1372 (verilog-decls-get-assigns, verilog-decls-get-consts)
1373 (verilog-decls-get-gparams, verilog-decls-get-inouts)
1374 (verilog-decls-get-inputs, verilog-decls-get-outputs)
1375 (verilog-decls-get-ports, verilog-decls-get-regs)
1376 (verilog-decls-get-signals, verilog-decls-get-wires)
1377 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1378 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1379 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1380 (verilog-inject-sense, verilog-library-filenames)
1381 (verilog-mode-release-date, verilog-mode-version)
1382 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1383 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1384 (verilog-modi-get-assigns, verilog-modi-get-consts)
1385 (verilog-modi-get-gparams, verilog-modi-get-inouts)
1386 (verilog-modi-get-inputs, verilog-modi-get-outputs)
1387 (verilog-modi-get-ports, verilog-modi-get-regs)
1388 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1389 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1390 (verilog-modi-get-wires, verilog-preserve-cache)
1391 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1392 (verilog-read-sub-decls, verilog-read-sub-decls-line)
1393 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1394 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1395 Add caching of additional state, and rework signal extraction
1396 routines to improve AUTO expansion performance by 300%++.
1398 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
1400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1401 Tweak Open Watcom regexp to distinguish between errors and warnings.
1403 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * dired.el (dired-read-dir-and-switches): Fix up last change.
1407 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
1409 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1410 out of this function, move it to vc-dispatcher-selection-set.
1412 2008-05-05 Sam Steingold <sds@gnu.org>
1414 * window.el (delete-other-windows-vertically): New function.
1416 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * dired.el (dired-read-dir-and-switches):
1419 Obey read-file-name-completion-ignore-case.
1421 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
1423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1424 Add regexp for Open Watcom compiler output.
1426 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
1428 * progmodes/python.el (python-block-pairs): Align finally with except.
1430 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1434 2008-05-05 Tom Tromey <tromey@redhat.com>
1436 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1437 looking at conflict marker.
1439 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1442 client-mode -> vc-client-object, and guess `funcall' was meant.
1443 (vc-dir-mode): Rename client-mode -> vc-client-mode.
1445 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1447 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1448 (dbus-debug): Move declarations outside eval-when-compile.
1450 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1452 * proced.el (proced-command-alist): Fix system-type values.
1454 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1455 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1456 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1457 (proced-update): Use proced-sorting-scheme. Update modeline.
1458 (proced-send-signal): Use nreverse.
1459 (proced-sorting-scheme-p): New function.
1461 2008-05-04 Andreas Schwab <schwab@suse.de>
1463 * vc.el: Require dired when compiling.
1465 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1467 2008-05-03 Glenn Morris <rgm@gnu.org>
1469 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1470 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1471 Simplify compilation requirements.
1472 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1475 2008-05-03 Dave Love <fx@gnu.org>
1477 * progmodes/python.el (python-beginning-of-statement):
1478 Loop at least once (fixes 2008-02-21 change).
1480 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1482 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1483 instead of `length' for comparing length of user and group names.
1485 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1487 * vc-dispatcher.el: New file, separates out the UI and command
1488 execution machinery from VCS-specific logic left in vc.el.
1489 The separation is not yet completely clean, but it's a good start.
1490 * vc.el: This file is about 1700 lines shorter now.
1491 Remove obsolete logentry-check from the backend API.
1492 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1493 implementation of the logentry-check method, and it guarded against
1494 a log length limit that has probably been obsolete for 15 years (!).
1496 2008-05-02 Sam Steingold <sds@gnu.org>
1498 * progmodes/compile.el (compilation-start): Move setting of
1499 compilation-directory after (funcall mode) as that resets local
1500 variables, this fixes recompile in grep buffers.
1501 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1503 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1505 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1506 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1507 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1508 has one of these and that all are called in compatible ways.
1509 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1510 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1511 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1512 backend has one of these.
1514 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1517 initialization into define-abbrev-table. Use :regexp.
1518 (octave-mode-syntax-table): Don't set word syntax for `.
1520 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1523 * dired.el (dired-read-dir-and-switches):
1524 Set minibuffer-completing-file-name and call substitute-in-file-name.
1525 (dired-format-columns-of-files): Use completion--insert-strings.
1527 * minibuffer.el (completion-hilit-commonality): Revert last change:
1528 the leftover code was actually useful.
1529 (completion--insert-strings): Use string-width rather than length.
1531 2008-05-02 Sam Steingold <sds@gnu.org>
1533 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1534 (vc-at-event): New macro: run the body at the even location.
1535 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1536 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1537 * subr.el (mouse-event-p): Check if the even is mouse-related.
1539 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1541 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1542 Don't throw error if no file is found.
1544 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1546 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1547 (vc-default-state-heuristic): Doc fix.
1549 2008-05-02 Richard Sharman <rsharman@pobox.com>
1551 * hilit-chg.el (highlight-changes-mode): Remove references to
1552 hooks that no longer exist. Because define-minor-mode is used the
1553 hook highlight-changes-mode-hook exists and can do what both the
1554 old hooks used to do. The documentation at the top of the file
1555 was updated to demonstrate this.
1556 (highlight-changes-mode): Remove commented out call to a hook
1557 function that is no longer there.
1558 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1560 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1562 * vc.el (vc-default-dired-state-info): Change name of primitive
1563 to prettify-state-info, in preparation for ripping out dired mode.
1564 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1565 to prettify-state-info, in preparation for ripping out dired mode.
1566 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1567 tries this on a version-controlled buffer. It will do useless or
1568 actively bad things on any version control system newer than RCS.
1569 * vc-hooks.el (vc-dired-resynch-file):
1570 * vc.el (vc-dired-resynch-file): Change name of primitive to
1571 vc-directory-resynch-file, preparing to remove dired.
1573 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1575 * vc-rcs.el (vc-rcs-state): Fix typos.
1577 * vc.el (vc-register): Change argument order so that the prefix
1578 argument is assigned correctly.
1579 (vc-next-action, vc-dir-register): Update for the above change.
1581 2008-05-01 Juri Linkov <juri@jurta.org>
1583 * replace.el (occur-read-primary-args): Set default to the car of
1584 regexp-history and display it in the prompt, but don't add to the
1585 list of minibuffer defaults. Bind history-add-new-input to nil to
1586 not add automatically `default'. For empty input return `default'.
1587 Otherwise, add `input' to regexp-history and return it.
1588 (occur-1): Signal an error for the empty regexp.
1590 * progmodes/compile.el (compilation-auto-jump):
1591 Set window point to `pos' explicitly.
1593 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1595 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1597 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1598 we report the 'unregistered state reliably.
1599 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1600 we report the 'unregistered state reliably.
1601 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1602 we report the 'unregistered state reliably.
1603 * vc-hooks (vc-state): Document that vc-unregistered is
1604 now expected to be returned reliably.
1605 * vc.el (vc-default-dired-state): Change needs-patch state to
1606 needs-update, since the name now shows up in dir-status listings
1607 and was somewhat misleading.
1608 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1609 immediately after removing the file.
1610 * vc.el (vc-next-action): More informative messages when a fileset
1611 is in a mixed state or files are missing.
1613 2008-05-01 Sam Steingold <sds@gnu.org>
1615 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1617 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1619 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1621 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1623 * epa-file-hook.el: New file split from epa-file.el.
1624 * epa-file.el: Require 'epa-file-hook.
1625 (epa-file-handler): Add autoload cookie.
1626 * loadup.el: Load epa-file-hook.
1627 * startup.el (command-line): Eval the body of auto-encryption-mode.
1629 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1631 * vc.el (vc-dir-mode-map): Don't bind "r".
1633 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1634 (vc-hg-status-printer): New function.
1635 (vc-hg-after-dir-status): Deal with copied and renamed files.
1636 (vc-hg-dir-status): Add flag to show copied files.
1638 2008-05-01 John Paul Wallington <jpw@pobox.com>
1640 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1641 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1642 sorting mode was recency.
1644 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1645 reverse sorting order if last sorting mode was the sorter's.
1647 2008-05-01 Jason Rumney <jasonr@gnu.org>
1649 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1651 2008-04-30 John Paul Wallington <jpw@pobox.com>
1653 * ibuffer.el (define-ibuffer-column filename): When the major mode
1654 is `vc-dir-mode' show the buffer's default directory.
1656 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1657 major mode is `vc-dir-mode' use the buffer's default directory.
1659 2008-04-30 Sam Steingold <sds@gnu.org>
1661 * vc.el (vc-dir-delete-file): Add.
1662 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1663 (vc-delete-file): Do not barf when the file has been already deleted.
1665 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1667 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1669 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1671 * progmodes/octave-mod.el (octave-help): New function.
1672 * progmodes/octave-hlp.el: Delete.
1673 * info-look.el (octave-mode): Add operator index.
1675 * vc.el (vc-checkout): Typo.
1677 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1679 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1680 Add "..." in the appropriate places.
1682 * epa.el (epa-key-list-mode-map): Add more menu entries.
1683 Add "..." in the appropriate places.
1685 * dired.el (dired-mode-map): Add :help.
1687 * vc.el (vc-deduce-fileset): Add new parameter.
1688 (vc-dir-marked-only-files): New function.
1689 (vc-next-action): Don't ignore directories, look at the files
1691 (vc-dir-mode): Document how the mark/unmark commands work.
1693 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1695 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1696 Rule out trailing spaces in file and directory names as well.
1698 * minibuffer.el (completion--do-completion): Move point even if the
1699 completion makes no change.
1700 (completion-pcm-try-completion): Fix computation of new point.
1702 2008-04-30 David Hansen <david.hansen@gmx.net>
1704 * dired.el: Require 'cl.
1706 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1708 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1709 hollow if not in innermost frame.
1711 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1713 Make `checkout-model' apply to filesets.
1714 * vc-hooks.el (vc-checkout-model): Rewrite.
1715 (vc-before-save, vc-after-save): Adjust callers accordingly.
1716 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1717 (vc-transfer-file): Adjust callers accordingly.
1718 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1719 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1720 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1721 instead of vc-checkout-model.
1722 * vc-mcvs.el (vc-mcvs-revert):
1723 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1724 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1725 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1726 * vc-svn.el (vc-svn-checkout-model):
1727 * vc-hg.el (vc-hg-checkout-model):
1728 * vc-git.el (vc-git-checkout-model):
1729 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1731 * dired.el (dired-read-dir-and-switches): Replace last change with
1732 a new approach that mixes read-file-name and read-directory-name.
1734 * files.el (read-buffer-to-switch):
1735 Avoid making assumptions about `other-buffer'.
1737 2008-04-29 Sam Steingold <sds@gnu.org>
1739 * vc.el (vc-dir-mode-hook): Add normal hook.
1740 (vc-dir-mode): Run it.
1742 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1744 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1745 Always split windows.
1746 (gdb-speedbar-timer-fn): Only raise frame after user input.
1747 (gdb-same-frame): Reverse initial value.
1748 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1750 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1751 gdb-speedbar-timer-fn.
1753 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1757 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1759 * epa.el (epa-key-list-mode-map): Add menu.
1760 (epa-delete-keys, epa-import-keys): Fix typo.
1762 2008-04-29 Glenn Morris <rgm@gnu.org>
1764 * find-cmd.el (top-level): Does not need cl when compiling.
1766 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1768 * find-cmd.el: New file.
1770 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1773 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1774 (completion-pcm--hilit-commonality): New function.
1775 (completion-pcm-all-completions): Use it.
1777 * minibuffer.el (completion-common-substring): Mark obsolete.
1778 (completions-first-difference, completions-common-part):
1779 Move from simple.el.
1780 (completion-hilit-commonality): New fun.
1781 (display-completion-list, completion-emacs21-all-completions)
1782 (completion-emacs22-all-completions): Use it.
1783 * simple.el (completions-first-difference, completions-common-part):
1784 Move to minibuffer.el.
1785 (choose-completion-string): Use field functions and minibufferp.
1786 (completion-setup-function): Don't set completions faces.
1788 2008-04-29 Glenn Morris <rgm@gnu.org>
1790 * calendar/calendar.el (calendar-nth-named-absday)
1791 (calendar-nth-named-day):
1792 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1793 * calendar/holidays.el (holiday-float): Doc fixes.
1795 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1798 * org/org-agenda.el (calendar-iso-from-absolute):
1799 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1802 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1804 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1805 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1806 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1807 (gdb-assembler-custom): Be careful not to match other addresses.
1809 2008-04-29 Jason Rumney <jasonr@gnu.org>
1811 * battery.el (battery-status-function): Use w32-battery-status
1813 (battery-echo-area-format): Make apm format the general case.
1814 (battery-mode-line-format): Merge apm and pmset formats as the
1817 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1819 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1820 Use gud-tool-bar-item-visible-no-fringe.
1821 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1822 is already visible in frame. Remove optional size parameter
1823 and add optional frame parameter.
1825 * progmodes/gud.el (gud-display-line): Only consider visible
1826 frames when looking for source buffer.
1828 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1830 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1831 argument to get-char-property, in case the current buffer hasn't
1832 been assigned to that window yet.
1833 (doc-view-display): Default to selected window if the current
1834 buffer hasn't been assigned to a window yet.
1836 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1838 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1840 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1842 * net/tramp.el (tramp-mode): New defcustom.
1843 (tramp-file-name-handler, tramp-completion-file-name-handler):
1845 (tramp-replace-environment-variables): Handle "$$".
1847 2008-04-28 Sam Steingold <sds@gnu.org>
1849 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1851 2008-04-28 Bastien Guerry <bzg@altern.org>
1853 * whitespace.el (whitespace-trailing): Fix typo.
1855 2008-04-28 Sam Steingold <sds@gnu.org>
1857 * textmodes/remember.el (diary-make-entry): Update the autoload.
1859 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1864 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1866 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1868 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1870 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1871 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1872 (vc-dir-mark-file): Add an optional argument.
1873 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1875 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1877 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1878 rather than obsolete alias find-file-hooks.
1879 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1880 Use find-file-hook rather than obsolete alias find-file-hooks.
1881 Add to find-file-not-found-functions.
1882 (epa-file-handler): Put 'safe-magic and 'operations properties.
1884 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1885 (epa-menu-items): Remove.
1887 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1888 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1889 (epa-dired-mode, epa-global-dired-mode): Remove.
1891 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1893 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1895 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1897 2008-04-27 Glenn Morris <rgm@gnu.org>
1899 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1900 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1902 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1904 * org/org.el (org-html-level-start): Always have id's in HTML.
1905 (org-export-as-html): Use `org-link-protocols' to
1906 retrieve the export form of the link.
1907 (org-add-link-type): Final parameter renamed from PUBLISH.
1908 Better documentation of how it is to be used. Avoid double entries for
1910 (org-add-link-props): New function.
1911 (org-modules-loaded): New variable.
1912 (org-load-modules-maybe, org-set-modules): New function.
1913 (org-modules): New option.
1914 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1915 (orgtbl-mode, org-store-link, org-insert-link-global)
1916 (org-open-at-point): Call `org-load-modules-maybe'.
1917 (org-search-view): Add more text properties.
1918 (org-agenda-schedule, org-agenda-deadline): Allow also in
1919 search-type agendas.
1920 (org-search-view): Order of arguments has been changed.
1921 Interpret prefix-arg as TODO-ONLY.
1922 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1923 Take new argument order of `org-search-view' into account.
1924 (org-todo-only): New variable.
1925 (org-search-syntax-table): New variable and function.
1926 (org-search-view): Do the search with the special syntax table.
1927 (define-obsolete-function-alias): Make work with XEmacs.
1928 (org-add-planning-info): Use old date as default when modifying an
1929 existing deadline or scheduled item.
1930 (org-agenda-compute-time-span): Make argument N optional.
1931 (org-agenda-format-date-aligned): Require `cal-iso'.
1932 (org-agenda-list): Include week into agenda heading, don't
1933 list it at each date (only on Mondays).
1934 (org-read-date-analyze): Define local variable `iso-date'.
1935 (org-agenda-format-date-aligned): Remove dependency on
1936 `calendar-time-from-absolute'.
1937 (org-remember-apply-template, org-go-to-remember-target):
1938 Interpret filenames relative to `org-directory'.
1939 (org-complete): Silently fail when trying to complete
1940 keywords that don't have a default value.
1941 (org-get-current-options): Add a #+DATE: option.
1942 (org-additional-option-like-keywords): Remove "DATE:" from the
1943 list of additional keywords.
1944 (org-export-as-html): Remove (current-time) as unnecessary second
1945 argument of `format-time-string'.
1946 (org-clock-find-position): Handle special case at end of buffer.
1947 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1948 `org-agenda-change-time-span'.
1949 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1950 `org-agenda-change-time-span'.
1951 (org-agenda-month-view): New argument MONTH, pass it on to
1952 `org-agenda-change-time-span'.
1953 (org-agenda-year-view): New argument YEAR, pass it on to
1954 `org-agenda-change-time-span'.
1955 (org-agenda-change-time-span): New optional argument N, pass it on
1956 to `org-agenda-compute-time-span'.
1957 (org-agenda-compute-time-span): New argument N, interpret it by
1958 changing the starting day.
1959 (org-small-year-to-year): New function.
1960 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1961 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1962 into the future, and that the shift is at least one interval, never 0.
1963 (org-update-checkbox-count): Fix bug with checkbox counting.
1964 (org-add-note): New command.
1965 (org-add-log-setup): Rename from `org-add-log-maybe'.
1966 (org-log-note-headings): New entry for plain notes (i.e. notes not
1967 related to state changes or clocking).
1968 (org-get-org-file): Check for availability of `remember-data-file'.
1969 (org-cached-entry-get): Allow a regexp value for
1970 `org-use-property-inheritance'.
1971 (org-use-property-inheritance): Allow regexp value. Fix bug in
1973 (org-use-tag-inheritance): Allow a list and a regexp value for
1975 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1976 (org-entry-get): Respect value `selective' for the INHERIT argument.
1977 (org-tag-inherit-p, org-property-inherit-p): New functions.
1978 (org-agenda-format-date-aligned): Allow 10 characters for
1979 weekday, to acomodate German locale.
1980 (org-add-archive-files): New function.
1981 (org-agenda-files): New argument `ext', to get archive files as well.
1982 (org-tbl-menu): Protect the use of variables that
1983 are only available when org-table.el gets loaded.
1984 (org-read-agenda-file-list): Error if `org-agenda-files' is a
1986 (org-open-file): Allow a batch process to trigger
1987 waiting after executing a system command.
1988 (org-store-link): Link to headline when there is not
1989 target and no region in an org-mode buffer when creating a link.
1990 (org-link-types-re): New variable.
1991 (org-make-link-regexps): Compute `org-link-types-re'.
1992 (org-make-link-description-function): New option.
1993 (org-agenda-date, org-agenda-date-weekend): New faces.
1994 (org-archive-sibling-heading): New option.
1995 (org-archive-to-archive-sibling): New function.
1996 (org-iswitchb): New command.
1997 (org-buffer-list): New function.
1998 (org-agenda-columns): Also try the #+COLUMNS line in
1999 the buffer associated with the entry at point (or with the first
2000 entry in the agenda view).
2001 (org-modules): Add entry for org-bibtex.el.
2002 (org-completion-fallback-command): Move into `org-completion' group.
2003 (org-clock-heading-function): Move to `org-progress' group.
2004 (org-auto-repeat-maybe): Make sure that a note can
2005 be enforces if `org-log-repeat' is `note'.
2006 (org-modules): Allow additional symbols for external packages.
2007 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
2008 (org-clock-goto): Hide drawers after showing an
2009 entry with `org-clock-goto.'
2010 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
2011 Try also a clocktable block shift.
2012 (org-clocktable-try-shift): New function.
2013 (org-columns-hscoll-title): New function.
2014 (org-columns-previous-hscroll): New variable.
2015 (org-columns-full-header-line-format): New variable.
2016 (org-columns-display-here-title, org-columns-remove-overlays):
2017 Install `org-columns-hscoll-title' in post-command-hook.
2019 * org/org.el: Split into many small files.
2021 * org/org-agenda.el: New file, split off from org.el.
2023 * org/org-archive.el: New file, split off from org.el.
2025 * org/org-bbdb.el: New file.
2027 * org/org-bibtex.el: New file, split off from org.el.
2029 * org/org-clock.el: New file, split off from org.el.
2031 * org/org-colview.el: New file, split off from org.el.
2033 * org/org-compat.el: New file, split off from org.el.
2035 * org/org-exp.el: New file, split off from org.el.
2037 * org/org-faces.el: New file, split off from org.el.
2039 * org/org-gnus.el: New file, split off from org.el.
2041 * org/org-info.el: New file, split off from org.el.
2043 * org/org-infojs.el: New file.
2045 * org/org-irc.el: New file.
2047 * org/org-macs.el: New file, split off from org.el.
2049 * org/org-mew.el: New file.
2051 * org/org-mhe.el: New file, split off from org.el.
2053 * org/org-publish.el: New file, split off from org.el.
2055 * org/org-remember.el: New file, split off from org.el.
2057 * org/org-rmail.el: New file, split off from org.el.
2059 * org/org-table.el: New file, split off from org.el.
2061 * org/org-vm.el: New file, split off from org.el.
2063 * org/org-wl.el: New file, split off from org.el.
2065 2008-04-27 Jason Riedy <jason@acm.org>
2067 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
2068 parameter that supresses lines that evaluate to NIL.
2069 (orgtbl-get-fmt): New inline function for
2070 picking apart formats that may be lists.
2071 (orgtbl-apply-fmt): New inline function for applying formats that
2073 (orgtbl-eval-str): New inline function for strings that may be
2075 (orgtbl-format-line, orgtbl-to-generic): Use and document.
2076 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
2077 (*orgtbl-llfmt*, *orgtbl-llstart*)
2078 (*orgtbl-llend*): Dynamic variables for last-line formatting.
2079 (orgtbl-format-section): Shift formatting to support detecting the
2080 last line and formatting it specially.
2081 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
2082 formats unless overridden.
2083 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
2084 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
2085 bound variables to hold the input collection of lines and output
2087 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
2088 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
2090 (orgtbl-format-line): New function encapsulating formatting for a
2092 (orgtbl-format-section): Similar for each section. Rebinding the
2093 dynamic vars customizes the formatting for each section.
2094 (orgtbl-to-generic): Use orgtbl-format-line and
2095 orgtbl-format-section.
2096 (org-get-param): Now unused, so delete.
2097 (orgtbl-gather-send-defs): New function to
2098 gather all the SEND definitions before a table.
2099 (orgtbl-send-replace-tbl): New function to find the RECEIVE
2100 corresponding to the current name.
2101 (orgtbl-send-table): Use the previous two functions and implement
2102 multiple destinations for each table.
2104 * doc/org.texi (A LaTeX example): Note that fmt may be a
2105 one-argument function, and efmt may be a two-argument function.
2106 (Radio tables): Document multiple destinations.
2108 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
2110 * org/org-agenda.el (org-add-to-diary-list): New function.
2111 (org-prefix-has-effort): New variable.
2112 (org-sort-agenda-noeffort-is-high): New option.
2113 (org-agenda-columns-show-summaries)
2114 (org-agenda-columns-compute-summary-properties): New options.
2115 (org-format-agenda-item): Compute the duration of the item.
2116 (org-agenda-weekend-days): New variable.
2117 (org-agenda-list, org-timeline): Use the proper faces for dates in
2118 the agenda and timeline buffers.
2119 (org-agenda-archive-to-archive-sibling): New command.
2120 (org-agenda-start-with-clockreport-mode): New option.
2121 (org-agenda-clockreport-parameter-plist): New option.
2122 (org-agenda-clocktable-mode): New variable.
2123 (org-agenda-deadline-leaders): Allow a function value for the
2125 (org-agenda-get-deadlines): Deal with new function value.
2127 * lisp/org-clock.el (org-clock): New customization group.
2128 (org-clock-into-drawer, org-clock-out-when-done)
2129 (org-clock-in-switch-to-state, org-clock-heading-function):
2130 Move into the new group.
2131 (org-clock-out-remove-zero-time-clocks): New option.
2132 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
2133 (org-dblock-write:clocktable): Allow a Lisp form for the scope
2135 (org-dblock-write:clocktable): Fix bug with total time calculation.
2136 (org-dblock-write:clocktable): Request the unrestricted list of files.
2137 (org-get-clocktable): New function.
2138 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
2139 be strings but also integers (an absolute day number) and lists (m d y).
2141 * org/org-colview.el (org-columns-next-allowed-value)
2142 (org-columns-edit-value): Limit the effort for updating in the
2143 agenda to recomputing a single file.
2144 (org-columns-compute): Only write property value if it has changed.
2145 This avoids raising the buffer-change-flag unnecessarily.
2146 (org-agenda-colview-summarize)
2147 (org-agenda-colview-compute): New functions.
2148 (org-agenda-columns): Call `org-agenda-colview-summarize'.
2150 * org/org-exp.el (org-export-run-in-background): New option.
2151 (org-export-icalendar): Allow a batch process to trigger waiting
2152 after executing a system command.
2153 (org-export-preprocess-string): Rename from
2154 `org-cleaned-string-for-export'.
2155 (org-export-html-style): Made target class look like normal text.
2156 (org-export-as-html): Make use of the better proprocessing in
2157 `org-cleaned-string-for-export'.
2158 (org-cleaned-string-for-export): Better treatment of heuristic
2159 targets, many more internal links will now work in HTML export.
2160 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2161 (org-export-inbuffer-options-extra): New variable.
2162 (org-export-options-filters): New hook.
2163 (org-infile-export-plist): Find also the settings keywords in
2164 `org-export-inbuffer-options-extra'.
2165 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2166 multiple #+INFOJS_OPT lines.
2167 (org-export-html-handle-js-options): New function.
2168 (org-export-html-infojs-setup): New option.
2169 (org-export-as-html): Call `org-export-html-handle-js-options'.
2170 Add autoload to all entry points.
2171 (org-skip-comments): Function removed.
2173 * org/org-table.el (org-table-make-reference): Extra parenthesis
2174 around single fields, to make sure that algebraic formulas get
2175 correctly interpreted by calc.
2176 (org-table-current-column): No longer interactive.
2178 * org/org-export-latex.el (org-export-latex-preprocess):
2179 Rename from `org-export-latex-cleaned-string'.
2181 2008-04-27 Bastien Guerry <bzg@altern.org>
2183 * org/org-publish.el (org-publish-get-base-files-1): New function.
2184 (org-publish-get-base-files): Use it.
2185 (org-publish-temp-files): New variable.
2186 Don't require 'dired-aux anymore.
2187 (org-publish-initial-buffer): New variable.
2188 (org-publish-org-to, org-publish): Use it.
2189 (org-publish-get-base-files-1): Bug fix: get
2190 the proper list of files when recursing thru a directory.
2191 (org-publish-get-base-files): Use the :exclude property to skip
2192 both files and directories.
2194 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2196 * net/tramp.el (tramp-handle-make-symbolic-link)
2197 (tramp-handle-file-name-directory)
2198 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2199 (tramp-do-copy-or-rename-file-directly)
2200 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2201 (tramp-handle-substitute-in-file-name)
2202 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2203 * net/tramp-cache.el (tramp-get-file-property)
2204 (tramp-set-file-property, tramp-flush-file-property)
2205 (tramp-flush-directory-property)
2206 * net/tramp-compat.el (tramp-compat-make-temp-file)
2207 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2208 Disable `file-name-handler-alist' when handling localname.
2209 It could have a remote file syntax, like a VMS file name.
2211 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2213 * whitespace.el: New version 11.1.
2214 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2215 enclosed by \\( and \\)$. Docstring fix.
2216 (whitespace-trailing-regexp): Fun removed.
2217 (whitespace-report-list): Const initialization fix.
2218 (whitespace-color-on): Code fix.
2220 2008-04-27 Andreas Schwab <schwab@suse.de>
2222 * Makefile.el: Unbreak bootstrap.
2224 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2226 * net/tramp.el (tramp-replace-environment-variables): New defun.
2227 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2230 2008-04-27 Glenn Morris <rgm@gnu.org>
2232 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2234 * calculator.el (calculator-expt): Replace cl function `oddp'.
2236 2008-04-27 Johan Bockgård <bojohan@gnu.org>
2238 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2239 Simplify. Collect `defun' and `autoload' entries.
2240 Avoid modifying load-history.
2242 2008-04-26 Glenn Morris <rgm@gnu.org>
2244 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2246 * simple.el (quoted-insert, zap-to-char): Revert previous change.
2248 2008-04-26 John Paul Wallington <jpw@pobox.com>
2250 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2251 `hexl-mode-old-eldoc-documentation-function'.
2252 (hexl-mode-exit): Restore it.
2253 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2255 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2257 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
2259 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2260 (completion-pcm--all-completions): Doc fix.
2261 (completion-styles-alist, completion-all-completions):
2262 Fix typos in docstrings.
2264 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2266 * whitespace.el: There is now only one variable (whitespace-style) to
2267 specify which kind of blank is visualized. Doc and docstring fix.
2269 (whitespace-style): New option, replace whitespace-style-mark and
2270 whitespace-style-color.
2271 (whitespace-style-mark, whitespace-style-color): Options removed.
2272 (whitespace-hspace, whitespace-tab, whitespace-newline)
2273 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2274 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2275 (whitespace-hspace-regexp, whitespace-space-regexp)
2276 (whitespace-tab-regexp, whitespace-trailing-regexp)
2277 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2278 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2279 (whitespace-space-after-tab-regexp, whitespace-line-column)
2280 (whitespace-display-mappings, whitespace-report): Docstring fix.
2281 (whitespace-color-value-list, whitespace-mark-value-list)
2282 (whitespace-active-color, whitespace-active-mark)
2283 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2284 (whitespace-style-value-list, whitespace-active-style)
2285 (whitespace-toggle-style): New vars.
2286 (whitespace-toggle-option-alist, whitespace-help-text):
2287 Var initialization and docstring fix.
2288 (whitespace-toggle-options, global-whitespace-toggle-options)
2289 (whitespace-cleanup, whitespace-cleanup-region)
2290 (whitespace-report-region, whitespace-interactive-char)
2291 (whitespace-toggle-list): Docstring and code fix.
2292 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2293 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2294 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2295 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2297 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2300 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2301 (diff-sanity-check-hunk): Adjust code accordingly.
2303 2008-04-26 Glenn Morris <rgm@gnu.org>
2305 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2307 * forms-d2.dat: Move to ../etc.
2308 * forms-d2.el (forms-file): Adapt for above change.
2310 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2311 `translation-table-for-input'.
2313 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2314 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2316 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2317 to punctuation now it's not needed for abbrevs.
2318 (fortran-mode-abbrev-table): Remove defvar, make use of new
2319 define-abbrev-table :regexp feature.
2321 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2322 insert, now that translation-table-for-input is not needed.
2324 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
2326 * emacs-lisp/pp.el (pp-display-expression): New function,
2327 extracted from pp-eval-expression.
2328 (pp-eval-expression): Use pp-display-expression.
2329 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2330 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2331 (pp-eval-last-sexp): Use pp-last-sexp.
2333 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * abbrev.el (define-abbrev-table): Apply props even if the table
2338 * minibuffer.el (completion-table-with-context): Fix `pred' for the
2339 various kinds of completion tables.
2340 (completion-emacs22-try-completion): Place cursor after the /, as was
2341 done in Emacs-22's minibuffer-complete-word.
2342 Fix bug reported by David Hansen <david.hansen@gmx.net>.
2343 (completion-emacs22-try-completion): Merge all mergable text rather
2345 (completion-pcm--delim-wild-regex): New var.
2346 (completion-pcm-word-delimiters): New custom.
2347 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2348 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2349 (completion-pcm--all-completions, completion-pcm-all-completions)
2350 (completion-pcm--merge-completions, completion-pcm--pattern->string)
2351 (completion-pcm-try-completion): New functions.
2352 (completion-styles-alist): Add them.
2353 (completion-styles): Add it to the default.
2355 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
2357 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2358 (gdb-var-create-handler): ...until here when there are values.
2359 (gdb-post-prompt): Don't do -var-update with no watch expressions.
2360 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2362 2008-04-25 Eli Zaretskii <eliz@gnu.org>
2364 * ls-lisp.el (ls-lisp-format): Fix last change.
2365 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2366 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2367 (ls-lisp-filesize-f-fmt): New defvars.
2368 (ls-lisp-insert-directory): Dynamically compute format specifiers
2369 for displaying UID, GID, and file size, and store them in the
2371 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2372 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2373 instead of constant format strings.
2374 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2375 ls-lisp-filesize-d-fmt instead of constant format strings.
2377 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
2379 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2380 value of addresses rather than (partial) string value.
2381 (gdb-frame-handler): Change regexp according to above change.
2382 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2383 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2384 (gdb-assembler-mode): Disable undo in these buffers.
2386 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
2388 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2389 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2391 2008-04-24 Sam Steingold <sds@gnu.org>
2393 * textmodes/remember.el (remember-diary-extract-entries): Use
2394 diary-make-entry instead of the obsolete make-diary-entry.
2396 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2398 * subr.el (translation-table-for-input): Mark as obsolete.
2400 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2402 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2404 * textmodes/ispell.el (ispell-dictionary-alist-1)
2405 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2406 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2407 (ispell-dictionary-alist-6): Remove.
2408 (ispell-dictionary-base-alist): New var, merges the above.
2409 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2411 (ispell-dictionary-alist): Default to nil. Remove autoload.
2412 (ispell-local-dictionary-alist): Remove autoload.
2414 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2415 (f90-mode-abbrev-table): Use the new :regexp feature.
2416 Merge defvar and mapc into define-abbrev-table.
2417 (f90-imenu-type-matcher): Remove unused `l'.
2418 (f90-imenu-generic-expression): Remove unused `not-ib'.
2419 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2420 (f90-change-keywords): Use restore-buffer-modified-p.
2422 2008-04-24 Glenn Morris <rgm@gnu.org>
2424 * net/goto-addr.el (goto-address-prog-mode):
2425 * progmodes/bug-reference.el (bug-reference-prog-mode):
2426 Define for compiler.
2428 * minibuffer.el (x-file-dialog): Declare as function.
2430 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2431 dframe-update-speed rather than obsolete alias speedbar-update-speed.
2433 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2434 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2435 work with easymenu. Add :keys where needed.
2437 * calendar/cal-move.el (calendar-scroll-left): Handle case when
2440 * calendar/calendar.el (calendar-mode-map): Fix typo.
2442 2008-04-24 Tom Tromey <tromey@redhat.com>
2444 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2445 Document keywords. Add :suppress.
2446 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2448 * net/goto-addr.el (goto-address-unfontify): New function.
2449 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2450 (goto-address-fontify-region, goto-address-mode)
2451 (goto-address-prog-mode): New functions.
2453 * progmodes/bug-reference.el: New file.
2455 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2457 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2459 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2462 macros within lambdas.
2464 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * minibuffer.el (completion-try-completion): Add `point' argument.
2467 Change return value.
2468 (completion-all-completions): Add `point' argument.
2469 (minibuffer-completion-help): Pass the new `point' argument.
2470 (completion--do-completion): Pass the whole field to try-completion.
2471 (completion--try-word-completion): Rewrite, making fewer assumptions.
2472 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2473 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2474 (completion-basic-try-completion, completion-basic-all-completions):
2476 (completion-styles-alist): Use them.
2478 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2480 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2481 right params and dictionary alists are used after spellchecker changes.
2482 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2483 (ispell-initialize-spellchecker-hook): New variables and hook.
2484 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2485 (ispell-maybe-find-aspell-dictionaries): Remove.
2486 Calls replaced by (ispell-set-spellchecker-params) calls.
2487 (ispell-have-aspell-dictionaries): Remove.
2488 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2489 ispell-set-spellchecker-params.
2491 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * complete.el (PC-do-completion): Be more robust in the presence of
2494 unexpected values in minibuffer-completion-predicate.
2496 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2497 Only abbreviate default-filename if it's a file.
2499 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2500 (read-file-name-completion-ignore-case, insert-default-directory):
2501 New vars, moved from fileio.c.
2502 (read-file-name): New fun, moved from fileio.c.
2503 * cus-start.el: Remove insert-default-directory and
2504 read-file-name-completion-ignore-case.
2506 2008-04-23 Magnus Henoch <mange@freemail.hu>
2508 * tar-mode.el (tar-untar-buffer): If the entry has directory
2509 link type, extract it as a directory even if its file name doesn't
2510 end with a slash. Fixes extraction of NetBSD tar archives.
2512 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2514 * server.el (server-start): Also don't get confused by CRs since we
2517 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2519 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2520 (gdb-set-gud-minor-mode-existing-buffers)
2521 (gdb-info-breakpoints-custom, gdb-get-location)
2522 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2523 Previously gdb-create-define-alist wasn't always run and added to
2526 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2528 2008-04-23 Kevin Ryde <user42@zip.com.au>
2530 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2531 comments like unindented ones.
2533 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2535 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2538 2008-04-23 Kevin Ryde <user42@zip.com.au>
2540 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2541 Bind print-level to ensure output forms aren't truncated if
2542 print-level is set to eval-expression-print-level when going via
2543 eval-defun and friends, or has been otherwise fiddled with.
2545 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2547 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2548 font-lock-extend-after-change-region-function globally.
2550 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2552 * speedbar.el (speedbar-use-tool-tips-flag)
2553 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2554 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2555 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2556 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2557 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2558 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2559 (speedbar-separator-face): Fix typos in docstrings.
2560 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2561 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2562 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2563 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2564 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2565 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2566 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2567 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2568 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2569 (speedbar-recenter): Doc fixes.
2570 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2571 declaration and remove redundant info in docstring.
2573 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2575 * vc-git.el (vc-git-status-printer): Deal with directories.
2577 * vc.el (vc-next-action): Look at more than the first file to
2578 determine the state.
2580 2008-04-23 Glenn Morris <rgm@gnu.org>
2582 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2584 (dframe-update-speed): Drop support for XEmacs < 20.
2585 (dframe-frame-mode): Drop support for Emacs < 20.
2586 (dframe-set-timer-internal): Drop support for Emacs without timers.
2587 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2589 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2590 versions. Add doc-string. Mark as obsolete.
2592 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2594 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2595 rather than using an Emacs version test.
2597 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2598 rather than an Emacs version test.
2600 * calendar/cal-china.el (holiday-chinese-qingming)
2601 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2602 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2603 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2605 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2607 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2608 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2609 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2611 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2613 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2614 (gdb-previous-frame-pc-address): ...to this.
2615 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2616 of "info frame" with Gdb 6.4+.
2617 (gdb-stack-list-frames-regexp): New regexp.
2618 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2620 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2622 * tar-mode.el (tar-prefix-offset): New constant.
2623 (tar-header-block-tokenize): Support paths with long names
2624 which use the "ustar" standard.
2626 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2628 * image-dired.el (image-dired-track-original-file)
2629 (image-dired-modify-mark-on-thumb-original-file):
2630 Use `dired-goto-file' instead of `search-forward'. This solves
2631 a bug with finding files where the file name is a subset of other
2632 file names. Doc fix.
2634 2008-04-22 Juri Linkov <juri@jurta.org>
2636 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2637 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2638 (yank-menu-length): Change group name `mouse' to `menu'.
2639 (buffers-menu-buffer-name-length): New user option.
2640 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2641 instead of the hard-coded number 27.
2643 2008-04-22 Juri Linkov <juri@jurta.org>
2645 * isearch.el (eval-when-compile): Require `help-macro'.
2646 (isearch-help-for-help-internal): Isearch specific Help screen
2647 created by `make-help-screen'.
2648 (isearch-help-map): New variable that binds "b", "k", "m" to
2649 isearch-specific commands, and binds other keys to
2650 isearch-other-control-char, thus allowing other Help keys to
2651 exit isearch mode and execute their global definitions.
2652 (isearch-help-for-help, isearch-describe-bindings)
2653 (isearch-describe-key, isearch-describe-mode): New commands.
2654 (isearch-mode-help): Define alias to isearch-describe-mode
2655 and remove its old function definition.
2656 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2657 Remove old comments because this issue is settled now.
2658 (isearch-forward): Describe three new Help commands in the docstring.
2659 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2660 leave the single sentence at the first line of the docstring,
2661 and prepend the word "function" before `isearch-forward'
2662 to make the Help link to the function instead of variable.
2664 2008-04-22 Juri Linkov <juri@jurta.org>
2666 * isearch.el (isearch-success-function): New variable with default
2667 to `isearch-success-function-default'.
2668 (isearch-search): Call a function from `isearch-success-function'
2669 instead of calling the hard-coded `isearch-range-invisible'.
2670 (isearch-success-function-default): New function that calls
2671 `isearch-range-invisible' and inverts its return value.
2673 * info.el (Info-search): In two similar places that skip
2674 undesired search matches move code to Info-search-success-function,
2675 and call `isearch-success-function' instead.
2676 (Info-search-success-function): New function copied from code
2677 in Info-search. Replace isearch-range-invisible with
2678 text-property-not-all that checks for 'invisible and 'display
2679 properties to skip partially invisible matches (whose display
2680 properties were set by Info-fontify-node).
2681 (Info-mode): Set buffer-local isearch-success-function
2682 to Info-search-success-function.
2684 2008-04-22 Juri Linkov <juri@jurta.org>
2686 * minibuffer.el (internal-complete-buffer-except): New function.
2688 * files.el (read-buffer-to-switch): New function.
2689 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2690 Change interactive spec to call read-buffer-to-switch instead of
2691 using the letter "B".
2693 * simple.el (minibuffer-default-add-shell-commands): New function.
2694 Use declare-function for mailcap-file-default-commands from "mailcap".
2695 (shell-command): Set local minibuffer-default-add-function to
2696 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2697 before calling read-shell-command. Set 4th arg default-value of
2698 read-shell-command to relative buffer-file-name in file buffers.
2700 * dired-aux.el (dired-read-shell-command-default): Move it to
2701 gnus/mailcap.el and change its name to more general name
2702 mailcap-file-default-commands.
2703 (minibuffer-default-add-dired-shell-commands): New function.
2704 Use declare-function for mailcap-file-default-commands from "mailcap".
2705 (dired-read-shell-command): Set local minibuffer-default-add-function
2706 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2707 before calling read-shell-command. Remove dired-read-shell-command-default
2708 from the default value arg because default values are not set in
2709 minibuffer-default-add-dired-shell-commands. Doc fix.
2711 * dired-x.el (dired-smart-shell-command): Sync arguments and
2712 interactive spec with changes in `shell-command'.
2713 Use dired-get-filename to get the dired file name at point
2714 as the default value in dired mode.
2716 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2718 * info.el (Info-complete-menu-item): Add missing parenthesis.
2720 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * info.el (Info-complete-menu-item): Save point.
2724 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2726 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2728 2008-04-22 Andreas Schwab <schwab@suse.de>
2730 * Makefile.in (emacs-deps): Define.
2731 Use it instead of $(lisp)/subdirs.el.
2733 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2735 * vc.el (vc-next-action): Do not consider directories when
2736 checking for state compatibility.
2737 (vc-transfer-file): Use when not if.
2738 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2739 (vc-dir-mark-file): Use them.
2740 (vc-deduce-fileset): Also return the backend.
2741 (vc-diff-internal): Take as argument the value returned by
2742 vc-deduce-fileset instead of just the fileset.
2743 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2744 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2745 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2747 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2749 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2750 set-window-vscroll but image-scroll-down. Fixes a bug where a
2751 command following SPC scrolled up again.
2753 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2755 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2756 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2757 (gud-watch): Add "$" prefix when in registers buffer.
2759 2008-04-22 Glenn Morris <rgm@gnu.org>
2761 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2763 * whitespace.el (whitespace-display-table)
2764 (whitespace-display-table-was-local): Move definitions before use.
2766 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2767 (copyright-limit): Respect copyright-at-end-flag.
2768 (copyright-re-search, copyright-start-point)
2769 (copyright-offset-too-large-p): New functions.
2770 (copyright-update-year): Use copyright-re-search.
2771 (copyright-update, copyright-fix-years): Use copyright-start-point,
2772 and copyright-re-search.
2773 (copyright): Use copyright-offset-too-large-p.
2774 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2776 * add-log.el (top-level): Require 'cl when compiling.
2778 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2781 Treat minibuffer-completion-predicate as a predicate.
2783 * minibuffer.el (completion--file-name-table): Accept both the old
2784 `dir' arg or the new `pred' arg.
2786 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2787 `predicate' argument to pass non-predicate data.
2788 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2789 Use second arg as proper predicate.
2791 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2792 (vc-bzr-revision-completion-table): Use completion-table-with-context
2795 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2797 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2799 * term.el (term-emulate-terminal): Perform redisplay after the
2800 process filter has finished running.
2802 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2804 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2806 * minibuffer.el (completion-try-completion): Change magic symbol
2807 property name. Rename from minibuffer-try-completion.
2808 (completion-all-completions): Rename from minibuffer-all-completions.
2809 Remove hide-spaces argument.
2810 (completion--do-completion): Rename from minibuffer--do-completion.
2811 (minibuffer-complete-and-exit): Call just try-completion rather than
2812 completion-try-completion to fix up the case.
2813 (completion--try-word-completion): Try to add space or hyphen before
2814 making `string' a prefix of `completion'.
2815 (completion--insert-strings): Rename from minibuffer--insert-strings.
2817 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2819 * net/tls.el (tls-program): Add -ign_eof argument to call the
2821 (tls-checktrust): Ditto.
2823 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2825 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2827 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2828 (vc-check-master-templates, vc-file-not-found-hook)
2829 (vc-kill-buffer-hook):
2830 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2831 (vc-find-position-by-context, vc-buffer-context)
2832 (vc-restore-buffer-context, vc-responsible-backend)
2833 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2834 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2835 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2836 (vc-version-diff, vc-diff, vc-insert-headers)
2837 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2838 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2839 (vc-revert, vc-rollback, vc-version-backup-file)
2840 (vc-rename-master, vc-delete-file, vc-rename-file)
2841 (vc-branch-part, vc-default-retrieve-snapshot)
2842 (vc-annotate-display-autoscale, vc-annotate-display-select)
2843 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2844 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2845 (vc-dir-update): Handle directories.
2846 (vc-default-status-printer): Simplify.
2848 * progmodes/asm-mode.el (asm-mode-map):
2849 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2851 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2853 2008-04-21 Kenichi Handa <handa@m17n.org>
2855 * select.el (xselect-convert-to-string): Send a C_STRING only if
2856 the polymorphic target TEXT is requested.
2858 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2860 * minibuffer.el (completion-setup-hook, display-completion-list)
2861 (completion--file-name-table): Fix typos in docstrings.
2862 (completion-table-dynamic): Fix typo, and reflow docstring.
2864 2008-04-20 Andreas Schwab <schwab@suse.de>
2866 * server.el (server-switch-buffer): Also consider clients in the
2869 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2871 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2872 Select window clicked on first.
2873 (gdb): Display thread number in mode-line.
2874 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2875 (gdb-breakpoints-header): New variable.
2876 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2878 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2880 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2881 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2882 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2883 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2884 (vc-sccs-print-log): Use it.
2886 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2888 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2889 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2891 * tooltip.el (tooltip-previous-message): New var.
2892 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2893 the C code (avoid overwriting a minibuffer, restore previous echo
2895 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2898 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2900 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2901 (gdb-init-1): Initialise it.
2902 (gdb-annotation-rules): New entry for "new-thread".
2903 (gdb-thread-identification): New function to customize
2904 mode-line-buffer-identification.
2905 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2906 (gdb-assembler-mode): Use it.
2907 (gdb-threads-mode): Force "info threads" onto queue.
2909 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * files.el (locate-file-completion-table): Rename from
2912 locate-file-completion and make it use `pred' in the normal way.
2913 (locate-file-completion): New compatibility wrapper.
2914 (load-library): Use locate-file-completion-table.
2915 * finder.el (finder-commentary):
2916 * subr.el (locate-library):
2917 * emacs-lisp/find-func.el (find-library): Likewise.
2918 * info.el: Use with-current-buffer and inhibit-read-only.
2919 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2920 (Info-read-node-name-1): Adjust uses accordingly.
2922 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2923 (completion-table-with-terminator): Don't use complete-with-action
2924 since we have to distinguish all three cases anyway.
2925 (completion-table-with-predicate): New function.
2926 (dynamic-completion-table): Add obsolete alias.
2928 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2930 2008-04-18 Sam Steingold <sds@gnu.org>
2932 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2933 Use quit-window instead of bury-buffer.
2935 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * minibuffer.el (completion-table-with-terminator): Fix last fix.
2939 2008-04-18 Andreas Schwab <schwab@suse.de>
2941 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2942 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2943 Depend on $(lisp)/subdirs.el.
2945 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
2947 * descr-text.el (describe-char-after):
2948 Use `define-obsolete-function-alias'.
2950 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2952 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2954 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2955 Remove redundant obsolescence info in docstring.
2957 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2958 (vc-header-alist): Add WHEN to obsolescence declaration.
2959 (vc-state): Fix typo in docstring.
2961 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2962 Use `define-obsolete-variable-alias'.
2964 * emulation/tpu-edt.el (tpu-have-ispell):
2965 * international/codepage.el (codepage-setup):
2966 Fix typo in obsolescence declaration.
2968 * international/mule.el (char-coding-system-table):
2969 Remove redundant obsolescence info in docstring.
2970 (charset-list, generic-char-p, set-char-table-default):
2971 Fix typos in obsolescence decarations.
2973 * international/mule-diag.el (non-iso-charset-alist):
2974 Fix typo in obsolescence declaration.
2975 (decode-codepage-char): Remove redundant obsolescence info in docstring.
2977 * font-core.el (font-lock-defaults-alist):
2978 * font-lock.el (font-lock-reference-face):
2979 * frame.el (screen-height, screen-width, set-screen-width)
2980 (set-screen-height):
2981 * hilit-chg.el (highlight-changes-initial-state):
2982 * isearch.el (isearch-return-char):
2983 * log-edit.el (cvs-commit-buffer-require-final-newline)
2984 (cvs-changelog-full-paragraphs):
2985 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2986 (mouse-popup-menubar-stuff):
2987 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2988 (mouse-wheel-click-button):
2989 * outline.el (outline-visible):
2990 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2991 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2992 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2993 * progmodes/compile.el (compile-internal):
2994 Add WHEN to obsolescence declarations.
2996 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2999 is not better anyway.
3001 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3003 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
3006 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
3009 (python-use-skeletons): Remove, unused.
3010 (python-skeletons): Remove. Use the abbrev table instead.
3011 (python-mode-abbrev-table): Fix regexp;
3012 add enable-function and case-fixed.
3013 (def-python-skeleton): Simplify.
3014 (python-expand-template): Use the abbrev-table and abbrev-insert.
3015 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
3017 (python-mode): Don't set pre-abbrev-expand-hook.
3019 * skeleton.el: Set coding-tag.
3021 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
3022 (expand-abbrev): Use it.
3023 (abbrev-table-menu): New function.
3025 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
3027 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
3029 2008-04-17 Sam Steingold <sds@gnu.org>
3031 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
3032 idiosyncratic bury-buffer/delete-window logic.
3034 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
3036 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
3037 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
3039 2008-04-17 Kenichi Handa <handa@m17n.org>
3041 * international/characters.el: Don't make the width of U+00AD to 0.
3043 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
3045 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
3046 (gdb, gdb-starting, gdb-frames-mode): Use it.
3047 (gdb-invalidate-frames): Advise to call "info stack" only if
3048 execution has occurred.
3049 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
3050 selected frame if no execution has occurred.
3051 (gdb-frames-force-update): New interactive function.
3052 (gdb-frames-mode-map): Bind it to "F".
3054 2008-04-17 Michael Olson <mwolson@gnu.org>
3056 * textmodes/remember.el (remember-version): Release Remember 2.0.
3058 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
3060 * textmodes/artist.el:
3061 * progmodes/vhdl-mode.el:
3062 * progmodes/verilog-mode.el:
3063 * progmodes/vera-mode.el:
3064 * progmodes/simula.el:
3065 * progmodes/ps-mode.el:
3066 * progmodes/cmacexp.el:
3067 * obsolete/hilit19.el:
3068 * emulation/viper.el:
3069 * ediff.el: Cleanup the bug-report email addresses and make sure the
3070 maintainer is still willing to handle bug reports.
3072 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
3074 * vc.el (vc-dir-kill-query): Fix thinko.
3076 2008-04-16 Glenn Morris <rgm@gnu.org>
3078 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
3079 by diary-sexp-entry.
3081 2008-04-16 Markus Triska <markus.triska@gmx.at>
3083 * proced.el (proced-command-alist): Add support for darwin.
3085 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * proced.el (proced-mode): Redefine as just the major-mode.
3088 (proced): Separate it from proced-mode.
3090 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
3092 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3094 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
3095 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
3096 `tab-width' setting from user. New version 10.0. Doc and docstring
3098 (whitespace-style, whitespace-chars): Remove options.
3099 (whitespace-style-mark): New option, replace whitespace-style deleted
3100 option. Fix docstring.
3101 (whitespace-style-color): New option, replace whitespace-chars deleted
3102 option. Fix docstring.
3103 (whitespace-space, whitespace-hspace, whitespace-tab)
3104 (whitespace-newline, whitespace-trailing, whitespace-line)
3105 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3106 (whitespace-space-after-tab, whitespace-hspace-regexp)
3107 (whitespace-space-regexp, whitespace-tab-regexp)
3108 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3109 (whitespace-empty-at-eob-regexp, whitespace-line-column)
3110 (whitespace-toggle-option-alist): Fix docstring.
3111 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3112 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
3113 docstring and initialization.
3114 (global-whitespace-mode): Autoloaded global minor mode.
3115 (whitespace-chars-value-list, whitespace-style-value-list)
3116 (whitespace-active-chars, whitespace-active-style)
3117 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
3118 (whitespace-color-value-list): New var, replace
3119 whitespace-chars-value-list removed var.
3120 (whitespace-mark-value-list): New var, replace
3121 whitespace-style-value-list removed var.
3122 (whitespace-active-color): New var, replace whitespace-active-chars
3124 (whitespace-active-mark): New var, replace whitespace-active-style
3126 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
3128 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
3130 (whitespace-toggle-option-alist, whitespace-report-list)
3131 (whitespace-report-text, whitespace-help-text): Fix initialization.
3132 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
3133 (whitespace-toggle-options, global-whitespace-toggle-options)
3134 (whitespace-cleanup-region, whitespace-report-region)
3135 (whitespace-interactive-char): Fix docstring and code.
3136 (whitespace-cleanup, whitespace-report): Fix docstring.
3137 (whitespace-replace-spaces-by-tabs): Remove fun.
3138 (whitespace-replace-action): New fun, replace
3139 whitespace-replace-spaces-by-tabs removed fun.
3140 (whitespace-regexp, whitespace-indentation-regexp)
3141 (whitespace-space-after-tab-regexp, whitespace-insert-value)
3142 (whitespace-kill-buffer): New funs.
3143 (whitespace-insert-option-mark, whitespace-help-on)
3144 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
3145 (whitespace-color-on, whitespace-color-off)
3146 (whitespace-display-char-on): Fix code.
3148 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
3151 (mouse-throw-magnifier-with-mouse-movement): Remove.
3152 (mouse-throw-magnifier-base): New const.
3153 (mouse-drag-scroll-delta): New fun.
3154 (mouse-drag-throw): Use it.
3156 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
3158 * international/uni-bidi.el, international/uni-category.el:
3159 * international/uni-combining.el, international/uni-comment.el:
3160 * international/uni-decimal.el, international/uni-decomposition.el:
3161 * international/uni-digit.el, international/uni-lowercase.el:
3162 * international/uni-mirrored.el, international/uni-name.el:
3163 * international/uni-numeric.el, international/uni-old-name.el:
3164 * international/uni-titlecase.el, international/uni-uppercase.el:
3165 * international/charprop.el: Regenerate.
3167 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
3169 * vc.el (vc-status-fileinfo): Add new member directoryp.
3170 (vc-default-status-printer): Print directories.
3171 (vc-status-update): Sort files before subdirectories.
3173 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3174 Add alternative implementation based on "cvs update".
3176 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
3178 * doc-view.el: Changed requirements section to tell that only one
3179 of dvipdf or dvipdfm is needed.
3180 (doc-view-already-converted-p): Fix bug that forced reconversion
3181 if doc was already converted.
3183 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3185 * minibuffer.el (minibuffer-message):
3186 Make sure we can put-text-property.
3188 * emacs-lisp/crm.el: Complete rewrite.
3190 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3191 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3192 case of an error in display-completion-list.
3194 * filecache.el (file-cache-completions-keymap): Move init from
3195 file-cache-completion-setup-function into declaration.
3196 (file-cache-minibuffer-complete): Simplify.
3197 (file-cache-completion-setup-function): Use standard-output,
3198 preserve current-buffer.
3200 * vc.el (vc-status-update): Fix typo.
3201 (vc-status-update): Set needs-update.
3202 (vc-status-refresh): η-reduce.
3204 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3206 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3209 2008-04-14 Alexandre Julliard <julliard@winehq.org>
3211 * vc.el (vc-status-update): Undo the previous revert.
3213 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * minibuffer.el (completion-table-with-terminator): Those completions
3216 are never valid w.r.t test-completion.
3217 (completion--file-name-table):
3218 Check completion-all-completions-with-base-size.
3220 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3222 * doc-view.el (doc-view-dvipdf-program): New variable.
3223 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3224 (doc-view-mode-p): Check for doc-view-dvipdf-program as
3225 alternative for doc-view-dvipdfm-program.
3226 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3228 * doc-view.el (doc-view-start-process): Don't set
3229 default-directory to "~/" if the current value is valid.
3230 This broke PS files that run other files in the same directory.
3232 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
3234 * vc.el (vc-status-kill-query): New function.
3235 (vc-status-mode): Add it to kill-buffer-query-functions.
3236 (vc-status-show-fileentry): New function.
3237 (vc-status-menu-map): Bind it. Bind vc-next-action.
3239 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * minibuffer.el (minibuffer-message): Put cursor at the right place.
3243 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3245 * proced.el (proced-send-signal): Fix error recognition.
3247 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3249 * proced.el (proced-command-alist): Remove sort column.
3250 (proced-command, proced-procname-column):
3251 Use make-variable-buffer-local.
3252 (proced-signal-function): Rename from proced-kill-program.
3253 Allow for elisp symbols and string values representing system calls.
3254 (proced-marker-regexp, proced-success-message): New functions.
3255 (proced): Use defalias. Add autoload cookie.
3256 (proced-unmark-backward, proced-toggle-marks)
3257 (proced-hide-processes): New commands.
3258 (proced-do-mark): Simplify code.
3259 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3260 (proced-update): Remove sorting.
3261 (proced-send-signal): Display number of processes to operate on.
3262 Allow for system calls or elisp functions to send signals.
3263 Check if signal was sent successfully.
3265 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * minibuffer.el (completion-all-completion-with-base-size): New var.
3268 (completion--some): New function.
3269 (completion-table-with-context, completion--file-name-table):
3270 Return the base-size if requested.
3271 (completion-table-in-turn): Generalize to multiple arguments.
3272 (complete-in-turn): Compatibility alias.
3273 (completion-styles-alist): New var.
3274 (completion-styles): New customization.
3275 (minibuffer-try-completion, minibuffer-all-completions):
3277 (minibuffer--do-completion, minibuffer-complete-and-exit)
3278 (minibuffer-try-word-completion): Use them.
3279 (display-completion-list, minibuffer-completion-help): Use them.
3280 Handle all-completions's new base-size info to set completion-base-size.
3281 * info.el (Info-read-node-name-1): Use completion-table-with-context,
3282 completion-table-with-terminator and complete-with-action.
3283 Remove the now obsolete completion-base-size-function property.
3284 * simple.el (completion-list-mode-map): Move init into declaration.
3285 (completion-list-mode): Use define-derived-mode.
3286 (completion-setup-function): Use any completion-base-size that may
3287 have been set before. Remove handling of completion-base-size-function.
3288 * loadup.el: Move abbrev.el up earlier.
3290 2008-04-13 Alexandre Julliard <julliard@winehq.org>
3292 * vc-git.el (vc-git-after-dir-status-stage)
3293 (vc-git-dir-status-goto-stage): New functions.
3294 (vc-git-after-dir-status-stage1)
3295 (vc-git-after-dir-status-stage1-empty-db)
3296 (vc-git-after-dir-status-stage2): Remove, functionality moved
3297 into the new generic stage functions.
3298 (vc-git-dir-status-files): New function.
3300 * vc.el (vc-status-update): Revert an incorrect rewrite.
3302 (vc-status-refresh-files): New function.
3303 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3304 state of up-to-date files.
3305 (vc-default-dir-status-files): New function.
3307 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
3309 * minibuffer.el (completion--embedded-envvar-table)
3310 (read-file-name-internal): Fix typos in 2008-04-11 change.
3312 * faces.el (read-face-name): Use `completion-table-in-turn',
3313 not `complete-in-turn'.
3315 2008-04-13 Andreas Schwab <schwab@suse.de>
3317 * progmodes/etags.el: Require 'cl when compiling.
3319 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
3321 * progmodes/gud.el (gud-menu-map): Expand tooltip.
3323 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3324 (menu): Add/expand menu tooltips.
3326 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
3328 * progmodes/sh-script.el (sh-show-indent): Fix typo.
3329 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3331 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3332 considered registered.
3334 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
3336 * emacs-lisp/copyright.el (copyright-update-directory): New command.
3338 * ediff-wind.el (ediff-split-window-function)
3339 (ediff-merge-split-window-function): Improve custom type.
3341 2008-04-12 Eli Zaretskii <eliz@gnu.org>
3343 * loadup.el ("minibuffer"): Move after "faces".
3345 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * progmodes/hideif.el (hif-factor): Handle unary minus.
3349 2008-04-12 Glenn Morris <rgm@gnu.org>
3351 * calendar/cal-china.el (chinese-calendar-time-zone):
3352 Mark obsolete name as risky too.
3354 * calendar/calendar.el (calendar-faces): New custom group.
3355 (calendar-today, diary, holiday): Doc fix.
3356 Move to calendar-faces group.
3357 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3358 (diary-button): Doc fix. Move to calendar-faces group.
3360 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3361 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3362 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3363 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3364 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3365 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3366 not in dumped files before the associated defcustom.
3368 2008-04-11 Johan Bockgård <bojohan@gnu.org>
3370 * minibuffer.el (lazy-completion-table): Fix debug spec.
3372 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3374 * minibuffer.el (complete-with-action, lazy-completion-table):
3376 (apply-partially, completion-table-dynamic)
3377 (completion-table-with-context, completion-table-with-terminator)
3378 (completion-table-in-turn): New funs.
3379 (completion--make-envvar-table, completion--embedded-envvar-table):
3381 (read-file-name-internal): Use them.
3382 (completion-setup-hook): Move from simple.el.
3383 * subr.el (complete-with-action, lazy-completion-table):
3384 * simple.el (completion-setup-hook): Move to minibuffer.el.
3386 2008-04-11 Glenn Morris <rgm@gnu.org>
3388 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3390 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3392 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3394 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3396 * textmodes/fill.el (fill-forward-paragraph-function): New var.
3397 (fill-forward-paragraph): New fun.
3398 (fill-paragraph, fill-region): Use it.
3400 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3401 (vc-status-create-fileinfo): Make `extra' optional.
3402 (vc-status-busy): New fun.
3403 (vc-status-menu-map): Use it.
3404 (vc-status-crt-marked): Remove.
3405 (vc-status-update): Rename from vc-status-add-entries.
3406 Add argument so as to prevent addition of entries. Rewrite.
3407 (vc-update-vc-status-buffer): Remove.
3408 (vc-status-refresh): Don't remove old entries, set them to
3409 up-to-date instead. Also do it after the update is complete.
3410 (vc-status-marked-files): η-reduce.
3412 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3415 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3417 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3419 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
3421 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3422 to t and don't truncate msg.
3424 2008-04-11 Glenn Morris <rgm@gnu.org>
3426 * calendar/calendar.el (diary, holidays):
3427 Move custom groups to other files.
3428 (holiday-general-holidays, holiday-oriental-holidays)
3429 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3430 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3431 (holiday-hebrew-holidays, holiday-christian-holidays)
3432 (holiday-islamic-holidays, holiday-bahai-holidays)
3433 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3434 * calendar/diary-lib.el: Move custom group here from calendar.el.
3435 * calendar/holidays-lib.el: Move custom group and variables here
3438 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3440 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3442 (calendar-current-time-zone-cache): Autoload riskiness.
3444 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3446 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3448 * woman.el (woman2-TH): Use string-equal instead of string-match.
3450 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3452 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3453 (smerge-resolve): Merge the "2-way refinement" case with one half of
3454 the "mere whitespace" resolution.
3456 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3458 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3460 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3462 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3463 Add WHEN to obsolescence declaration.
3465 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3467 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3469 * vc-hooks.el (vc-state): Add new state `conflict'.
3470 (vc-after-save): Use when not if.
3471 (vc-default-mode-line-string): Deal with the conflict state.
3472 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3474 * vc.el (vc-editable-p, vc-default-status-printer)
3475 (vc-next-action): Deal with the conflict state.
3476 (vc-mark-resolved): New function.
3477 (vc-status-mode): Fix mode name.
3478 (vc-default-comment-history): Use when not if.
3479 (Todo): Add new entries, remove old ones.
3481 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3482 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3483 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3484 Detect the conflict state.
3486 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3488 2008-04-10 Glenn Morris <rgm@gnu.org>
3490 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3491 Respect truncate-partial-width-windows in non-full windows,
3492 with regards to :toggle and :enable state.
3494 * simple.el (toggle-truncate-lines): Doc fix.
3496 * Makefile.in (MH_E_DIR): New variable.
3497 (MH_E_SRC): Restore variable removed 2008-03-13.
3498 (mh-loaddefs.el): Depend on $MH_E_SRC.
3499 (CAL_DIR, CAL_SRC): New variables.
3500 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3503 * calendar/calendar.el (calendar, diary): Add :prefix.
3504 (holidays): Change :prefix.
3505 (calendar-today, holiday, calendar-holiday-marker)
3506 (european-calendar-style): Change custom groups.
3508 * calendar/calendar.el (diary-hook, diary-display-hook):
3509 Move to diary-lib.el.
3510 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3511 Move here from calendar.el.
3512 * calendar/appt.el: Require diary-lib rather than calendar.
3513 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3515 * calendar/appt.el (appt): Add :prefix.
3517 * calendar/diary-lib.el (diary-hook): Doc fix.
3518 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3520 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3522 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3525 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3526 the arg to recursive calls.
3528 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3530 * minibuffer.el (completion-auto-help): Fix typo.
3532 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3536 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3538 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3539 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3541 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3545 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3546 (completion-auto-help): Move from C code.
3547 (minibuffer--maybe-completion-help): Remove.
3548 (minibuffer--bitset): New function.
3549 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3550 Renumber a bit. Really complete on string *before* point.
3551 Add argument used for word-completion.
3552 Join trailing / in completion with following text, as done in
3553 minibuffer-complete-word.
3554 Handle new value `lazy' for completion-auto-help.
3555 (minibuffer-try-word-completion): New function extracted from
3556 minibuffer-complete-word.
3557 (minibuffer-complete-word): Use minibuffer--do-completion.
3558 (minibuffer--insert-strings): Rename from
3559 minibuffer-complete-insert-strings.
3560 (exit-minibuffer): Fix typo.
3561 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3562 * cus-start.el: Remove completion-auto-help.
3564 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3566 * vc.el (vc-status-add-entries): New function.
3567 (vc-status-add-entry): Remove.
3568 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3569 Use vc-status-add-entries.
3571 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3574 2008-04-09 Jason Rumney <jasonr@gnu.org>
3576 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3577 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3578 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3579 (AUTOGENEL): New variable.
3580 (distclean, maintainer-clean): New targets.
3582 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3584 * emacs-lisp/regexp-opt.el (regexp-opt):
3585 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3587 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3589 * nxml/nxml-mode.el (nxml-cleanup): New function.
3590 (nxml-mode): Add it to change-major-mode-hook.
3592 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3594 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3596 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3598 * calc/.cvsignore: New file.
3600 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3602 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3604 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3605 show-help-function when turning tooltip off.
3606 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3607 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3609 2008-04-09 Alan Mackenzie <acm@muc.de>
3611 * font-lock.el (font-lock-extend-after-change-region-function):
3612 Make it buffer local.
3614 2008-04-09 Glenn Morris <rgm@gnu.org>
3616 * calendar/calendar.el (diary-file, european-calendar-style):
3617 Remove autoload cookies.
3619 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3621 * outline.el (outline-mode-menu-bar-map):
3622 * log-view.el (log-view-mode-menu):
3623 * log-edit.el (log-edit-menu): Add :help.
3625 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3627 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3628 Use substring-no-properties for correct handling of unibyte strings.
3630 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * add-log.el (change-log-next-buffer): Handle the case where version<
3635 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3636 mouse-major-mode-menu.
3637 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3638 (mouse-major-mode-menu, mouse-popup-menubar)
3639 (mouse-popup-menubar-stuff): Use them.
3640 (C-down-mouse-3): Bind to a dynamic map rather than to
3641 mouse-popup-menubar-stuff.
3643 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3644 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3646 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3648 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3649 file:// access method.
3651 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * minibuffer.el: New file.
3654 * loadup.el: Load it.
3656 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3659 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3661 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3662 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3663 Move initialization into declaration.
3664 * calc/calc-yank.el:
3665 * calc/calc-misc.el:
3666 * calc/calc-embed.el:
3667 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3669 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3671 * ps-samp.el (ps-add-printer, ps-remove-printer)
3672 (ps-make-dynamic-printer-menu): New functions.
3674 * net/zeroconf.el: New file.
3676 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3678 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3680 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3682 * vc-rcs.el (vc-rcs-modify-change-comment):
3683 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3685 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3687 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3689 * international/mule-cmds.el (set-locale-environment): Don't warn if
3690 coding system doesn't agree with system locale (this reverts changes
3691 by Dave Love, dated 2002-10-27 and 2002-10-09).
3693 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3694 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3696 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3698 2008-04-08 Glenn Morris <rgm@gnu.org>
3700 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3701 * textmodes/remember.el (remember-diary-convert-entry):
3704 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3705 diary-file, since it is the default for make-diary-entry anyway.
3707 * calendar/cal-menu.el (cal-menu-event-to-date):
3708 Rename calendar-event-to-date. Update callers.
3709 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3710 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3711 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3712 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3713 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3714 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3715 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3716 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3717 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3718 (calendar-mouse-tex-month-landscape):
3719 Rename cal-tex-mouse-month-landscape.
3720 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3721 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3722 (calendar-mouse-tex-year-landscape):
3723 Rename cal-tex-mouse-year-landscape.
3724 (cal-menu-context-mouse-menu): Update for above name changes.
3726 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3727 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3728 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3729 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3730 * calendar/holidays.el: Replace int-to-string with number-to-string.
3732 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3734 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3735 region if point moves.
3737 2008-04-08 Kenichi Handa <handa@m17n.org>
3739 * faces.el (font-slant-table): Change numeric values for `r',
3740 `roman', and `normal'.
3742 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3744 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3746 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3748 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3749 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3751 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3753 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3754 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3756 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3760 2008-04-07 Sam Steingold <sds@gnu.org>
3762 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3763 Add helper functions.
3764 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3765 lisp-compile-defun; DEFVAR forms reset the variables to the init
3766 values, just like in emacs-lisp mode eval-defun.
3767 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3768 (lisp-compile-region): Use lisp-compile-string.
3770 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * subr.el (combine-and-quote-strings): Also quote strings that contain
3775 * pcvs-util.el (cvs-map): Avoid recursion :-(
3777 2008-04-07 Glenn Morris <rgm@gnu.org>
3779 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3781 * calendar.el (diary-view-entries-initially-flag): Rename
3782 view-diary-entries-initially. Keep old name as alias, update users.
3783 (calendar-mark-diary-entries-flag): Rename
3784 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3785 (calendar-view-holidays-initially-flag): Rename
3786 view-calendar-holidays-initially. Keep old name as alias, update users.
3787 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3788 Keep old name as alias, update users.
3789 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3790 Keep old name as alias, update users.
3791 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3792 Keep old name as alias, update users.
3793 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3794 Keep old name as alias, update users.
3795 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3796 (diary-american-date-forms): Rename american-date-diary-pattern.
3797 Keep old name as alias, update users.
3798 (diary-european-date-forms): Rename european-date-diary-pattern.
3799 Keep old name as alias, update users.
3800 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3801 Keep old name as alias, update users.
3802 (calendar-european-date-display-form): Rename
3803 european-calendar-display-form. Keep old name as alias, update users.
3804 (calendar-american-date-display-form): Rename
3805 european-calendar-display-form. Keep old name as alias, update users.
3806 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3807 Keep old name as alias, update users.
3808 (holiday-general-holidays): Rename general-holidays.
3809 Keep old name as alias, update users.
3810 (holiday-oriental-holidays): Rename oriental-holidays.
3811 Keep old name as alias, update users.
3812 (holiday-local-holidays): Rename local-holidays.
3813 Keep old name as alias, update users.
3814 (holiday-other-holidays): Rename other-holidays.
3815 Keep old name as alias, update users.
3816 (holiday-hebrew-holidays): Rename hebrew-holidays.
3817 Keep old name as alias, update users.
3818 (holiday-christian-holidays): Rename christian-holidays.
3819 Keep old name as alias, update users.
3820 (holiday-islamic-holidays): Rename islamic-holidays.
3821 Keep old name as alias, update users.
3822 (holiday-bahai-holidays): Rename bahai-holidays.
3823 Keep old name as alias, update users.
3824 (holiday-solar-holidays): Rename solar-holidays.
3825 Keep old name as alias, update users.
3826 (diary-fancy-buffer): Rename fancy-diary-buffer.
3827 Keep old name as alias, update users.
3828 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3830 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3832 (calendar-increment-month): Rename increment-calendar-month.
3833 Keep old name as alias, update callers.
3834 (calendar-increment-month-cons): Rename old calendar-increment-month.
3836 (calendar-extract-month): Rename extract-calendar-month.
3837 Keep old name as alias, update callers
3838 (calendar-extract-day): Rename extract-calendar-day.
3839 Keep old name as alias, update callers.
3840 (calendar-extract-year): Rename extract-calendar-year.
3841 Keep old name as alias, update callers.
3842 (calendar-generate-window): Rename generate-calendar-window.
3844 (calendar-generate): Rename generate-calendar. Update callers.
3845 (calendar-generate-month): Rename generate-calendar-month.
3847 (calendar-redraw): Rename redraw-calendar. Update callers.
3848 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3849 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3851 (calendar-update-mode-line): Rename update-calendar-mode-line.
3853 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3855 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3856 Keep old name as alias, update callers.
3857 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3858 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3859 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3860 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3861 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3862 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3863 * calendar/solar.el: Update for calendar.el name changes.
3864 * org/org.el (org-agenda-format-date-aligned)
3865 (org-agenda-execute-calendar-command): Access date elements directly
3866 rather than using calendar functions.
3867 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3868 Also set calendar-view-diary-initially-flag,
3869 calendar-view-holidays-initially-flag
3870 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3871 (org-agenda-execute-calendar-command): No need to set displayed-day.
3873 2008-04-06 Alan Mackenzie <acm@muc.de>
3875 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3876 typo in the doc string.
3878 * progmodes/cc-mode.el (c-basic-common-init):
3879 Set font-lock-extend-after-change-region-function.
3880 (c-extend-after-change-region): New function, used in
3881 font-lock-extend-after-change-region-function, thus superseding
3882 advice on the Font Lock after change functions.
3883 (c-advise-fl-for-region): Remove this macro.
3885 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3887 * textmodes/flyspell.el (flyspell-duplicate-distance):
3888 Improve custom type.
3890 2008-04-06 Glenn Morris <rgm@gnu.org>
3892 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3893 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3894 (diary-list-entries-hook): Rename list-diary-entries-hook.
3895 Keep old name as alias, update users.
3896 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3897 Keep old name as alias, update users.
3898 (diary-nongregorian-listing-hook): Rename
3899 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3900 (diary-nongregorian-marking-hook): Rename
3901 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3902 (diary-print-entries-hook): Rename print-diary-entries-hook.
3903 Keep old name as alias, update users.
3904 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3905 Keep old name as alias, update users.
3906 (diary-number-of-entries): Rename number-of-diary-entries.
3907 Keep old name as alias, update users.
3908 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3909 Give version of obsolescence.
3910 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3911 Keep old name as alias, update callers.
3912 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3914 (diary-include-other-diary-files): Rename include-other-diary-files.
3915 Keep old name as alias, update callers.
3916 (diary-simple-display): Rename simple-diary-display.
3917 Keep old name as alias, update callers.
3918 (diary-fancy-display): Rename fancy-diary-display.
3919 Keep old name as alias, update callers.
3920 (diary-print-entries): Rename print-diary-entries.
3921 Keep old name as alias, update callers.
3922 (diary-marking-entries-flag): Rename marking-diary-entries.
3924 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3925 (diary-mark-entries): Rename mark-diary-entries.
3926 Keep old name as alias, update callers.
3927 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3928 Keep old name as alias, update callers.
3929 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3930 Keep old name as alias, update callers.
3931 (calendar-mark-days-named): Rename mark-calendar-days-named.
3932 Keep old name as alias, update callers.
3933 (calendar-mark-month): Rename mark-calendar-month.
3934 Keep old name as alias, update callers.
3935 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3936 Keep old name as alias, update callers.
3937 (diary-sort-entries): Rename sort-diary-entries.
3938 Keep old name as alias, update callers.
3939 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3940 Keep old name as alias, update callers.
3941 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
3943 (diary-insert-entry): Rename insert-diary-entry.
3944 Keep old name as alias.
3945 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3946 Keep old name as alias.
3947 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3948 Keep old name as alias.
3949 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3950 Keep old name as alias.
3951 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3952 Keep old name as alias.
3953 (diary-insert-block-entry): Rename insert-block-diary-entry.
3954 Keep old name as alias.
3955 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3956 Keep old name as alias.
3957 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3958 Keep old name as alias, update users.
3959 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3960 Keep old name as alias, update callers.
3961 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3962 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3963 * calendar/icalendar.el: Update for diary-lib name changes.
3965 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
3967 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3969 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3970 for copy, move, and link operations.
3972 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
3974 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3975 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3977 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3978 'require' statements with 1-argument ones (wrapped in if's).
3979 For compatibility with the current stable version of XEmacs.
3981 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
3983 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3985 2008-04-06 Jason Rumney <jasonr@gnu.org>
3987 * language/burmese.el ("Burmese"): Make sample text consistent with
3990 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
3992 * progmodes/gdb-ui.el (gdb): New group.
3993 (gdb-debug-log-max, gdb-enable-debug)
3994 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3995 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3996 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3997 (gdb-show-changed-values, gdb-max-children)
3998 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3999 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
4000 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
4001 (gdb-memory-unit): Move to new group from GUD group.
4002 (menu): Allow customization from GDB-UI menu-item.
4004 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4006 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
4008 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
4011 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4012 Revision numbers can include ".".
4014 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
4015 "+" lines not accounted for by counting "-" and context lines.
4017 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4019 * term/mac-win.el (mac-service-open-file): Use file URL instead of
4022 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
4025 (vc-bzr-annotate-time): Accept space used to preserve alignment.
4027 2008-04-05 Richard Stallman <rms@gnu.org>
4029 * emacs-lisp/advice.el (defadvice): Add usage pattern.
4031 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
4033 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
4036 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
4038 * files.el (abort-if-file-too-large): Fix typo in docstring.
4040 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * subr.el (functionp): Return nil for special forms.
4044 2008-04-05 Glenn Morris <rgm@gnu.org>
4046 * emacs-lisp/autoload.el (autoload-ensure-default-file):
4048 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
4049 Require loaddef file rather than loading it.
4050 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
4051 autoload-ensure-default-file provides a feature.
4053 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
4054 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
4055 (compile, compile-always, recompile): Use $LOADDEFS.
4056 (cal-autoloads): Remove.
4058 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
4059 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
4061 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4062 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
4064 * calendar/calendar.el (diary-hebrew-entry-symbol):
4065 Rename hebrew-diary-entry-symbol. Keep old name as alias.
4066 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
4067 Keep old name as alias.
4068 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
4069 Keep old name as alias.
4070 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
4071 to diary-bahai-entry-symbol.
4072 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
4073 to diary-hebrew-entry-symbol.
4074 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
4075 to diary-islamic-entry-symbol.
4076 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
4078 * calendar/solar.el (diary-sabbath-candles-minutes)
4079 (diary-sabbath-candles): Move to cal-hebrew.
4080 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
4081 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
4082 Doc fix. Keep old name as alias.
4083 (diary-hebrew-sabbath-candles): Simplify.
4084 (solar-setup, solar-sunrise-sunset, calendar-latitude)
4085 (calendar-longitude, calendar-time-zone): Declare for compiler.
4086 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
4089 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
4090 Rename coptic-calendar-month-name-array. Update callers.
4091 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
4092 (calendar-coptic-name): Rename coptic-name. Update callers.
4093 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
4095 (calendar-coptic-last-day-of-month):
4096 Rename coptic-calendar-last-day-of-month. Update callers.
4097 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
4098 Keep old name as alias, update callers.
4099 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
4100 Keep old name as alias, update callers.
4101 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
4102 Keep old name as alias.
4103 (calendar-ethiopic-month-name-array):
4104 Rename ethiopic-calendar-month-name-array. Update callers.
4105 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
4107 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
4108 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
4109 Keep old name as alias, update callers.
4110 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
4111 Keep old name as alias, update callers.
4112 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
4113 Keep old name as alias.
4115 * calendar/cal-french.el (calendar-french-epoch):
4116 Rename french-calendar-epoch. Update callers.
4117 (calendar-french-month-name-array): Rename variable and function
4118 french-calendar-month-name-array. Update callers.
4119 (calendar-french-multibyte-month-name-array):
4120 Rename french-calendar-multibyte-month-name-array. Update callers.
4121 (calendar-french-day-name-array): Rename variable and function
4122 french-calendar-day-name-array. Update callers.
4123 (calendar-french-special-days-array): Rename variable and function
4124 french-calendar-special-days-array. Update callers.
4125 (calendar-french-multibyte-special-days-array):
4126 Rename french-calendar-multibyte-special-days-array. Update callers.
4127 (calendar-french-accents-p): Rename french-calendar-accents.
4129 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
4131 (calendar-french-last-day-of-month):
4132 Rename french-calendar-last-day-of-month. Update callers.
4133 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
4134 Keep old name as alias, update callers.
4135 (calendar-french-print-date): Rename calendar-print-french-date.
4136 Keep old name as alias, update callers.
4137 (calendar-french-goto-date): Rename calendar-goto-french-date.
4138 Keep old name as alias.
4140 * calendar/cal-menu.el, calendar/calendar.el:
4141 Update for Coptic and French name changes.
4143 * calendar/cal-china.el (calendar-chinese): Rename custom group
4144 from chinese-calendar. Update users.
4145 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
4146 Keep old name as alias, update users.
4147 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
4148 Keep old name as alias.
4149 (calendar-chinese-daylight-time-offset):
4150 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
4152 (calendar-chinese-standard-time-zone-name):
4153 Rename chinese-calendar-standard-time-zone-name.
4154 Keep old name as alias, update users.
4155 (calendar-chinese-daylight-saving-start):
4156 Rename chinese-calendar-daylight-savings-starts.
4157 Keep old name as alias, update users.
4158 (calendar-chinese-daylight-saving-end):
4159 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
4161 (calendar-chinese-daylight-saving-start-time):
4162 Rename chinese-calendar-daylight-savings-starts-time.
4163 Keep old name as alias, update users.
4164 (calendar-chinese-daylight-saving-end-time):
4165 Rename chinese-calendar-daylight-savings-ends-time.
4166 Keep old name as alias, update users.
4167 (calendar-chinese-celestial-stem): Rename
4168 calendar-chinese-celestial-stem. Keep old name as alias, update users.
4169 (calendar-chinese-terrestrial-branch):
4170 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
4172 (calendar-chinese-zodiac-sign-on-or-after):
4173 Rename chinese-zodiac-sign-on-or-after. Update callers.
4174 (calendar-chinese-new-moon-on-or-after):
4175 Rename chinese-new-moon-on-or-after. Update callers.
4176 (calendar-chinese-month-list): Rename chinese-month-list.
4178 (calendar-chinese-number-months): Rename number-chinese-months.
4180 (calendar-chinese-compute-year): Rename compute-chinese-year.
4182 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
4183 (calendar-chinese-year): Rename chinese-year. Update callers.
4184 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4185 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4186 Keep old name as alias, update callers.
4187 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4188 Keep old name as alias, update callers.
4189 (calendar-chinese-months-to-alist):
4190 Rename make-chinese-month-assoc-list. Update callers.
4191 (calendar-chinese-months): Rename chinese-months. Update callers.
4192 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4193 Keep old name as alias, update callers.
4195 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4196 Rename hebrew-calendar-leap-year-p. Update callers.
4197 (calendar-hebrew-last-month-of-year):
4198 Rename hebrew-calendar-last-month-of-year. Update callers.
4199 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4201 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4203 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4205 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4207 (calendar-hebrew-last-day-of-month):
4208 Rename hebrew-calendar-last-day-of-month. Update callers.
4209 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4210 Keep old name as alias, update callers.
4211 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4212 Keep old name as alias, update callers.
4213 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4214 Keep old name as alias, update callers.
4215 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4216 Keep old name as alias.
4217 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4218 Keep old name as alias.
4219 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4220 Keep old name as alias.
4221 (holiday-hebrew-passover): Rename holiday-passover-etc.
4222 Keep old name as alias.
4223 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4224 Keep old name as alias, update callers.
4225 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4226 Keep old name as alias.
4227 (calendar-hebrew-mark-date-pattern):
4228 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
4230 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4231 Keep old name as alias.
4232 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4233 Keep old name as alias.
4234 (diary-hebrew-insert-monthly-entry):
4235 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
4236 (diary-hebrew-insert-yearly-entry):
4237 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
4238 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4239 Keep old name as alias.
4240 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
4241 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
4242 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4243 Keep old name as alias.
4244 (calendar-hebrew-parashiot-names):
4245 Rename hebrew-calendar-parashiot-names. Update callers.
4246 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4247 (calendar-hebrew-year-Saturday-incomplete-Sunday):
4248 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4249 (calendar-hebrew-year-Saturday-complete-Tuesday):
4250 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4251 (calendar-hebrew-year-Monday-incomplete-Tuesday):
4252 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4253 (calendar-hebrew-year-Monday-complete-Thursday):
4254 Rename hebrew-calendar-year-Monday-complete-Thursday.
4255 (calendar-hebrew-year-Tuesday-regular-Thursday):
4256 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4257 (calendar-hebrew-year-Thursday-regular-Saturday):
4258 Rename hebrew-calendar-year-Thursday-regular-Saturday.
4259 (calendar-hebrew-year-Thursday-complete-Sunday):
4260 Rename hebrew-calendar-year-Thursday-complete-Sunday.
4261 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4262 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4263 (calendar-hebrew-year-Saturday-complete-Thursday):
4264 Rename hebrew-calendar-year-Saturday-complete-Thursday.
4265 (calendar-hebrew-year-Monday-incomplete-Thursday):
4266 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4267 (calendar-hebrew-year-Monday-complete-Saturday):
4268 Rename hebrew-calendar-year-Monday-complete-Saturday.
4269 (calendar-hebrew-year-Tuesday-regular-Saturday):
4270 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4271 (calendar-hebrew-year-Thursday-incomplete-Sunday):
4272 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4273 (calendar-hebrew-year-Thursday-complete-Tuesday):
4274 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4275 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
4276 Update for above name changes of constants.
4278 * calendar/cal-menu.el, calendar/calendar.el:
4279 Update for chinese and hebrew name changes.
4280 * calendar/diary-lib.el: Update for hebrew name changes.
4282 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * subr.el (keymap-canonicalize): Correct thinko.
4286 * server.el: Undo part of the multi-tty change, which is only
4287 needed if server.el is preloaded, and broke server-running-p.
4288 (server-socket-dir): Initialize in the defvar, as before.
4289 (server-start): Remove initialization of server-socket-dir.
4291 2008-04-05 Eli Zaretskii <eliz@gnu.org>
4293 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4294 3-member cons cells.
4296 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4298 * cus-face.el (custom-face-attributes): Handle roman slant.
4300 * faces.el (default): Ensure the face-defface-spec property is set.
4302 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
4304 * files.el (abort-if-file-too-large): New function.
4305 (find-file-noselect, insert-file-1): Use it.
4307 2008-04-05 Reto Zimmermann <reto@gnu.org>
4309 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4310 Replace C-c[a-zA-Z] key bindings.
4312 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4314 * progmodes/hideif.el (hif-token-alist): New var.
4315 (hif-token-regexp, hif-tokenize): Use it.
4316 (hif-mathify-binop): New macro.
4317 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4318 (hif-greater-equal, hif-less-equal): Use it.
4319 (hif-logior, hif-logand): New functions.
4320 (hif-math): Accept | and & as well.
4322 * progmodes/etags.el: Fix problem with completion for buffer-local
4323 tables. Reported by Radey Shouman <shouman@comcast.net>.
4324 (tags-complete-tag): Remove.
4325 (tags-lazy-completion-table): New function to replace it.
4326 (find-tag-tag, complete-tag): Update users.
4328 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
4330 * vc-rcs.el (vc-rcs-dir-status):
4331 * vc-sccs.el (vc-sccs-dir-status): New function.
4333 * outline.el (outline-mode-menu-bar-map):
4334 * term.el (terminal-signal-menu): Add :help.
4336 * net/eudc.el (eudc-mode-map): Declare and define in one step.
4337 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4339 * emacs-lisp/re-builder.el (reb-mode-map):
4340 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4342 * diff-mode.el (diff-file-junk-re): Recognize the git format for
4343 new files, deleted files and for changing permissions.
4344 (diff-mode): Set beginning-of-defun-function and
4345 end-of-defun-function.
4347 * vc-bzr.el (vc-bzr-state): Use when instead of if.
4349 * vc.el (vc-default-status-fileinfo-extra): New function.
4350 (vc-status-mark-buffer-changed): Use it.
4351 (vc-update-vc-status-buffer): Allow for partial updates.
4353 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * net/tramp.el (after-init-hook): Don't wrap a lambda around
4356 tramp-register-completion-file-name-handler.
4358 * subr.el (keymap-canonicalize): New function.
4359 * mouse.el (mouse-menu-non-singleton): Use it.
4360 (mouse-major-mode-menu): Remove hack made unnecessary.
4362 * simple.el (set-fill-column): Prompt rather than error by default.
4364 2008-04-04 Andreas Schwab <schwab@suse.de>
4366 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4367 Reset new-rules after each round.
4369 * Makefile.in (cal-autoloads): New target.
4370 (compile, compile-always, recompile): Depend on it.
4371 ($(lisp)/calendar/cal-loaddefs.el)
4372 ($(lisp)/calendar/diary-loaddefs.el)
4373 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4375 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
4377 * ediff*.el: Replace load with require in eval-when-compile.
4379 * ediff-hook: Delete all invocations of (autoload ...).
4381 * ediff-util.el (ediff-setup): Make window-min-height a local variable
4382 in ediff control window, and set its min height to 2.
4383 (ediff-setup-control-buffer): Dedicate the control window.
4384 (ediff-toggle-multiframe): Undedicate control window.
4385 Work directly with ediff-setup-windows-multiframe and
4386 ediff-setup-windows-plain.
4388 * ediff-wind (ediff-choose-window-setup-function-automatically):
4390 (ediff-window-setup-function): Change initialization.
4391 (ediff-setup-windows-automatic): Delete.
4392 (ediff-setup-windows-plain-merge): Make control window dedicated.
4393 (ediff-destroy-control-frame): Do not skip frames if working in a
4396 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4399 * emulation/viper-util.el: Move provide's forward, prevent recursion in
4402 2008-04-04 Glenn Morris <rgm@gnu.org>
4404 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4405 calendar-absolute-from-bahai. Update callers, keep old name as alias.
4407 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4408 Rename islamic-calendar-leap-year-p. Update callers.
4409 (calendar-islamic-last-day-of-month):
4410 Rename islamic-calendar-last-day-of-month. Update callers.
4411 (calendar-islamic-day-number):
4412 Rename islamic-calendar-day-number. Update callers.
4413 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4414 Update callers, keep old name as alias.
4415 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4416 Update callers, keep old name as alias.
4417 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4418 Keep old name as alias.
4419 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4420 Update callers, keep old name as alias.
4421 (calendar-islamic-mark-date-pattern):
4422 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
4424 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4425 Keep old name as alias.
4426 (diary-islamic-insert-monthly-entry):
4427 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
4428 (diary-islamic-insert-yearly-entry):
4429 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
4431 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4432 calendar-absolute-from-iso. Update callers, keep old name as alias.
4433 (calendar-iso-print-date): Rename calendar-print-iso-date.
4434 Update callers, keep old name as alias.
4435 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4436 Keep old name as alias.
4437 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4438 Keep old name as alias.
4440 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4441 calendar-absolute-from-julian. Update callers, keep old name as alias.
4442 (calendar-julian-print-date): Rename calendar-print-julian-date.
4443 Update callers, keep old name as alias.
4444 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4445 Update callers, keep old name as alias.
4446 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4447 Update callers, keep old name as alias.
4448 (calendar-astro-print-day-number):
4449 Rename calendar-print-astro-day-number. Update callers, keep old
4451 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4452 Update callers, keep old name as alias.
4454 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4455 Rename calendar-string-to-mayan-long-count. Update callers.
4456 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4457 Update callers, keep old name as alias.
4458 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4460 (calendar-mayan-read-tzolkin-date):
4461 Rename calendar-read-mayan-tzolkin-date. Update callers.
4462 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4463 Keep old name as alias.
4464 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4465 Keep old name as alias.
4466 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4467 Keep old name as alias.
4468 (calendar-mayan-previous-tzolkin-date):
4469 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4470 (calendar-mayan-next-round-date):
4471 Rename calendar-next-calendar-round-date. Keep old name as alias.
4472 (calendar-mayan-previous-round-date):
4473 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4474 (calendar-mayan-long-count-to-absolute): Rename
4475 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4476 (calendar-mayan-goto-long-count-date):
4477 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4479 * calendar/cal-persia.el (calendar-persian-month-name-array):
4480 Rename persian-calendar-month-name-array. Update callers.
4481 (calendar-persian-epoch): Rename persian-calendar-epoch.
4483 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4485 (calendar-persian-last-day-of-month):
4486 Rename persian-calendar-last-day-of-month. Update callers.
4487 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4488 Update callers, keep old name as alias.
4489 (calendar-persian-print-date): Rename calendar-print-persian-date.
4490 Update callers, keep old name as alias.
4491 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4492 Keep old name as alias.
4494 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4495 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4496 * calendar/solar.el: Update for cal-julian name changes.
4498 * calendar/cal-dst.el: Update for persian name changes.
4500 * calendar/cal-menu.el, calendar/calendar.el:
4501 Update for islamic, iso, julian, mayan, persian name changes.
4503 * calendar/diary-lib.el: Update for islamic name changes.
4505 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4506 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4508 (calendar-christian-all-holidays-flag):
4509 Rename all-christian-calendar-holidays. Update callers, keep old
4511 (calendar-islamic-all-holidays-flag):
4512 Rename all-islamic-calendar-holidays. Update callers, keep old
4514 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4515 Update callers, keep old name as alias.
4516 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4517 Update for the above name changes.
4519 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4521 * hilit-chg.el (global-highlight-changes-mode)
4522 (highlight-changes-passive-string, highlight-changes-active-string):
4523 Mark as obsolete since 23.1, not 22.1.
4525 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4527 * hilit-chg.el (highlight-changes-visibility-initial-state)
4528 (hilit-chg-update, highlight-changes-mode-turn-on):
4529 Fix typos in docstrings.
4531 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4533 * newcomment.el (comment-enter-backward): Be careful to restore
4534 position changed during narrowing.
4536 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4538 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4539 Recognize `sub ($$)'.
4541 2008-04-03 Richard Sharman <rsharman@pobox.com>
4543 * hilit-chg.el (highlight-changes-mode): Rename from
4544 highlight-changes; no longer uses sub-modes active and passive;
4545 implemented by define-minor-mode.
4546 (highlight-changes-toggle-visibility): New function, to replace
4547 the old passive/active submodes of global-highlight-changes-mode;
4548 implemented by define-minor-mode.
4549 (global-highlight-changes-mode): Rename from global-highlight-changes;
4550 rewrite using define-globalized-minor-mode.
4551 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4552 (hilit-chg-post-command-hook, hilit-chg-check-global)
4553 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4554 to use of define-globalized-minor-mode.
4555 (highlight-changes-global-initial-state): Change to be boolean.
4556 (highlight-changes-visible-string, highlight-changes-invisible-string):
4557 Rename from highlight-changes-active-string and
4558 highlight-changes-passive-string.
4559 (hilit-chg-update, hilit-chg-set): Use them.
4560 (global-highlight-changes-mode): Rename from global-highlight-changes.
4561 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4563 (hilit-chg-hide-changes): Rewrite to use dolist.
4564 (hilit-chg-set-face-on-change, hilit-chg-update)
4565 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4566 variable instead of testing highlight-changes-mode.
4567 (highlight-markup-buffers): Add require ediff-util; argument on calls
4568 to highlight-changes-mode changed.
4569 (highlight-compare-with-file): Fix problems with interactive
4570 call giving invalid default file.
4572 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4574 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4575 Fix in disassembly buffer (regression in 22.2).
4577 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4579 * emulation/viper-macs.el (viper-read-fast-keysequence):
4580 Use viper-read-event instead of viper-read-key.
4582 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4584 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4585 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4588 * emulation/viper-ex.el, emulation/viper-macs.el:
4589 * emulation/viper-mous.el:
4590 Replace load with require in eval-when-compile.
4592 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4596 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4597 (archive-try-jka-compr): New function.
4598 (archive-set-buffer-as-visiting-file): Use it.
4600 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4602 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4604 * simple.el (handle-shift-selection): New arg.
4606 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4610 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4612 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4614 * shell.el (shell-dynamic-complete-filename): New fun.
4615 (shell-dynamic-complete-functions): Use it.
4617 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4619 2008-04-03 Kenichi Handa <handa@m17n.org>
4621 * international/fontset.el (create-fontset-from-x-resource):
4622 Handle the error of X resource more gracefully.
4624 * international/latin1-disp.el (latin1-display): Don't use make-char.
4625 Fix the argument to set-char-table-range.
4626 (latin1-display-identities): Don't use make-char.
4627 (latin1-display-reset): Use map-charset-chars instead of directly
4628 calling standard-display-default.
4629 (latin1-display-check-font): Don't use make-char.
4630 (latin1-display-setup): Likewise.
4631 (latin1-display-ucs-per-lynx): Likewise.
4633 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4636 name the fields, to make the code clearer.
4637 Rewrite all `aset' and `aref' using the defined accessors.
4638 (timer--time): New pseudo-field.
4639 (timer-set-time, timer-set-idle-time, timer-inc-time)
4640 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4641 (timer--time-less-p): New function.
4642 (timer--activate): New function, extracted from timer-activate.
4643 (timer-activate-when-idle, timer-activate): Use it.
4644 (cancel-function-timers): Use dolist.
4646 2008-04-03 Glenn Morris <rgm@gnu.org>
4648 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4649 Remove declarations; no longer used.
4650 (c-cpp-define-name, c-defun-name): Declare as functions.
4652 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4653 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4655 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4656 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4657 Add optional argument. Simplify.
4658 (holiday-tisha-b-av-etc): Use memq rather than unless.
4659 (holiday-julian): Autoload it.
4660 (holiday-hebrew-misc): New function.
4662 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4664 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4665 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4666 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4667 all-hebrew-calendar-holidays.
4668 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4669 Simplify using new functions.
4670 (calendar-holidays): Doc fix.
4671 (generate-calendar-window): Use bound-and-true-p.
4673 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4675 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4676 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4677 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4678 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4680 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4682 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4686 * vc-bzr.el (vc-bzr-checkout): Simplify.
4688 * image-mode.el (image-mode-fit-frame): New command.
4690 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4691 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4692 (keyboard-escape-quit): Check region-active-p i.s.o
4693 transient-mark-mode.
4695 2008-04-02 Simon Josefsson <simon@josefsson.org>
4697 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4698 (imap-message-copyuid-1): Use it.
4699 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4701 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4703 2008-04-02 Alan Mackenzie <acm@muc.de>
4705 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4706 New optimised functions to get the name of the current defun/macro.
4708 * add-log.el (add-log-current-defun): Move the functionality which
4709 gets the current function name for C like modes to cc-cmds.el,
4710 thus optimising for speed.
4712 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4714 * simple.el (deactivate-mark): When the mark is temporarily
4715 active, restore the original value of transient-mark-mode.
4716 (set-mark-command): First deactivate the mark if was temporarily active.
4717 (exchange-point-and-mark): Reactivate the mark if it was
4719 (handle-shift-selection): New fun.
4720 (transient-mark-mode): Move var documentation here from buffer.c.
4721 (next-line, previous-line, backward-word, move-end-of-line)
4722 (move-beginning-of-line, forward-to-indentation)
4723 (backward-to-indentation, back-to-indentation)
4724 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4726 * mouse.el (mouse-set-region-1): Save the old value of
4727 transient-mark-mode.
4728 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4729 transient-mark-mode.
4731 * textmodes/paragraphs.el (forward-paragraph)
4732 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4735 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4737 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4739 * net/tramp.el (tramp-make-tramp-temp-file):
4740 Use `tramp-drop-volume-letter' for the local file name part.
4742 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4744 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4745 Add menu entries corresponding to all the key bindings.
4747 * emacs-lisp/debug.el (debugger-mode-map):
4748 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4749 (conf-align-assignments): Only work on the region if it is active.
4750 (conf-quote-normal): Use when instead of if. Remove redundant test.
4752 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4753 for tracing and re-builder.
4755 2008-04-02 Glenn Morris <rgm@gnu.org>
4757 * calendar/appt.el (appt-disp-window-function): Doc fix.
4758 (appt-display-message): Move beep before display.
4759 (appt-check): Make interactive. Reduce the number of lets.
4760 Use string-equal to compare mode-line strings.
4761 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4763 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4764 (appt-delete): Simplify.
4766 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4768 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4770 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4771 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4772 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4774 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4775 (calendar-holiday-marker, mark-visible-calendar-date):
4776 * calendar/diary-lib.el (fancy-diary-display):
4777 Check for font-lock-mode before using faces.
4779 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4780 (calendar-gregorian-from-absolute): Reduce the number of lets.
4781 (hebrew-holidays-4, generate-calendar-window): Simplify.
4782 (calendar-for-loop): Make obsolete.
4783 (calendar-nth-named-day): Doc fix.
4785 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4786 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4787 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4788 Reduce the number of lets.
4789 (mark-sexp-diary-entries, calendar-mark-complex):
4790 Expand calendar-for-loops.
4792 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4794 * find-dired.el (find-dired-filter): Fix last patch to handle
4795 multi-line process input. Pad link numbers too.
4797 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4799 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4801 2008-04-01 Jason Rumney <jasonr@gnu.org>
4803 * international/characters.el (script-list): Add phonetic script,
4804 covering IPA (previously Latin), Phonetic Extensions and
4805 Phonetic Extensions Supplement (both previously unassigned).
4807 * international/fontset.el (setup-default-fontset): Use unicode fonts
4808 that cover bopomofo script for bopomofo.
4809 Likewise for braille and mathematical.
4810 Use unicode scripts that cover the phonetic script for IPA.
4812 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4814 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4815 return the assigned value.
4817 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4819 * abbrev.el (abbrev-mode): Use define-minor-mode.
4821 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4822 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4824 (minor-mode-menu-from-indicator): Use it. Simplify.
4826 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4827 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4828 Bind the key directly to the menu.
4829 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4831 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4833 * epa.el (epa-decrypt-region): Explain the reason why this
4834 function should not be used in Lisp programs.
4835 (epa-decrypt-armor-in-region): Ditto.
4836 (epa-verify-region): Ditto.
4837 (epa-verify-cleartext-in-region): Ditto.
4838 (epa-sign-region): Ditto.
4839 (epa-encrypt-region): Ditto.
4841 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4843 * epa.el (epa-select-keys): Show menu even if there is no key in
4846 2008-04-01 Glenn Morris <rgm@gnu.org>
4848 * calendar/calendar.el (calendar-make-temp-face): New function.
4849 (mark-visible-calendar-date):
4850 * calendar/diary-lib.el (fancy-diary-display): Use it.
4852 * vc-hooks.el (vc-responsible-backend): Declare as function.
4854 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4855 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4856 * calendar/cal-julian.el (holiday-julian): Use it.
4858 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4859 (calendar-hebrew-date-is-visible-p): Extract some common code into
4861 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4863 * calendar/cal-menu.el (cal-menu-holidays-menu):
4864 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4865 rather than obsolete alias.
4867 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4868 for mark characters.
4869 (calendar-unmark): Unmark by removing all overlays, rather than
4871 (calendar-starred-day): Remove.
4872 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4873 (calendar-cursor-to-date): No need for special star handling now
4875 (calendar-star-date): Use overlays.
4877 * calendar/cal-french.el (calendar-goto-french-date):
4878 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4879 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4880 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4881 * calendar/cal-persia.el (calendar-persian-date-string):
4882 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4883 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4884 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4885 * calendar/solar.el (solar-equinoxes-solstices):
4886 Reduce nesting of some lets.
4888 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4889 (calendar-goto-mayan-long-count-date): Simplify.
4891 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4892 Simplify by using mapcar.
4893 (calendar-list-holidays): Return holiday-list.
4894 (list-holidays): Use let rather than let*. Remove un-needed locals
4896 (calendar-check-holidays): Return result from dolist.
4897 (holiday-float): Use a single let*. Simplify if-and to and.
4898 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4901 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4903 * calc/calc.el: Autoload `calc-yank'.
4904 (calc-mode-map): Add keybindings for `calc-yank'.
4905 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4906 assignments for `calc-yank'.
4908 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4910 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4911 (vc-status-mark-buffer-changed): Handle the extra field.
4913 * vc-bzr.el (vc-bzr-after-dir-status):
4914 * vc-cvs.el (vc-cvs-after-dir-status):
4915 * vc-hg.el (vc-hg-after-dir-status):
4916 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4918 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * doc-view.el: Compute displayed pages first (in PDF).
4921 (doc-view-current-converter-processes): Rename from
4922 doc-view-current-converter-process. Update users.
4923 (doc-view-sentinel): Test buffer's liveness.
4924 (doc-view-pdf/ps->png-sentinel): Remove.
4925 (doc-view-start-process): New function.
4926 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4927 (doc-view-ps->pdf): Use it.
4928 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4930 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4931 (doc-view-mode): Kill the processes when leaving the mode.
4933 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
4935 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4936 Use `byte-compile-warning-types'. Add docstring.
4938 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4940 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4941 (smerge-resolve): Add various resolution heuristics.
4943 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4946 2008-03-31 Glenn Morris <rgm@gnu.org>
4948 * calendar/cal-bahai.el (diary-bahai-mark-entries):
4949 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4950 * calendar/cal-islam.el (mark-islamic-diary-entries):
4951 Fix argument order in call to diary-mark-entries-1.
4953 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4955 (holiday-bahai): Use an algorithm actually relevant to this calendar
4958 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4960 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4963 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4964 in the last fortnight in Julian October.
4966 * calendar/calendar.el (increment-calendar-month): Optionally handle
4967 systems without 12 months per year.
4969 (calendar-date-is-visible-p): Doc fix. Simplify.
4971 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4974 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
4976 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4977 (hi-lock-unload-function): New function.
4979 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
4981 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4982 overwriting when NEWNAME is a local file.
4984 * net/trampver.el: Update release number.
4986 2008-03-30 Alexandre Julliard <julliard@winehq.org>
4988 * vc-git.el: Make vc-status display information about copies,
4989 renames and permission changes.
4990 (vc-git-extra-fileinfo): New defstruct.
4991 (vc-git-escape-file-name, vc-git-file-type-as-string)
4992 (vc-git-rename-as-string, vc-git-permissions-as-string)
4993 (vc-git-status-printer): New functions.
4994 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4995 (vc-git-after-dir-status-stage1): Look for copies, renames and
4997 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4998 (vc-git-dir-status): Ask for staged files and renames.
5000 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
5002 * vc.el: Allow backends to display backend specific information in
5003 the vc-status listing.
5004 (vc-status-fileinfo): Add a field for backend specific information.
5005 (vc-status-printer): Rename to ...
5006 (vc-default-status-printer): ... this.
5007 (vc-status-printer): New function.
5008 (vc-update-vc-status-buffer): Set the backend specific file info
5011 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5013 * textmodes/remember.el (remember-diary-convert-entry): Revert last
5014 change (ill-conceived).
5016 2008-03-29 Glenn Morris <rgm@gnu.org>
5018 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
5019 * calendar/cal-julian.el (holiday-julian): Simplify.
5021 * calendar/holidays.el (list-holidays): Use or.
5023 2008-03-29 Juri Linkov <juri@jurta.org>
5025 * window.el (split-window-preferred-horizontally): New function.
5027 * cus-start.el (split-window-preferred-function):
5028 Set choice for "vertically" to nil instead of split-window.
5029 Set choice for "horizontally" to split-window-preferred-horizontally
5032 2008-03-29 Juri Linkov <juri@jurta.org>
5034 * simple.el (minibuffer-default-add-function): New variable with
5035 the default to minibuffer-default-add-completions.
5036 (minibuffer-default-add-done): New variable. Make it buffer-local.
5037 (minibuffer-default-add-completions): New function.
5038 (goto-history-element): Set minibuffer-default-add-done to t and
5039 call a function in minibuffer-default-add-function when the
5040 specified absolute history position is greater than the length of
5041 the minibuffer-default list and minibuffer-default-add-done is nil.
5042 Change "^End of history; no next item$" to "^End of defaults;
5045 * bindings.el (debug-ignored-errors): Change "^End of history;
5046 no next item$" to "^End of defaults; no next item$".
5048 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
5052 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
5053 to with-no-warnings.
5055 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
5057 Sync with Tramp 2.1.13.
5059 * net/tramp-ftp.el: Require 'cl when byte-compiling.
5061 * net/trampver.el: Update release number.
5063 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5065 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
5066 the current backend.
5068 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
5069 (vc-status-refresh): Create a temporary buffer and call the
5070 `dir-status' backend function from that buffer.
5072 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
5073 (vc-bzr-after-dir-status): Don't kill the buffer.
5075 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
5076 (vc-cvs-after-dir-status): Don't kill the buffer.
5078 * vc-git.el (vc-git-dir-status): Don't create a buffer.
5079 (vc-git-after-dir-status-stage2): Don't kill the buffer.
5081 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
5082 (vc-hg-after-dir-status): Don't kill the buffer.
5084 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
5085 (vc-svn-after-dir-status): Don't kill the buffer.
5087 2008-03-29 Glenn Morris <rgm@gnu.org>
5089 * calendar/calendar.el (diary-file, american-date-diary-pattern)
5090 (european-date-diary-pattern, european-calendar-display-form)
5091 (american-calendar-display-form, diary-display-hook): Doc fixes.
5092 (european-calendar-style): Doc fix. Use calendar-set-date-style for
5093 custom :set. Mark as obsolete.
5094 (calendar-date-style, iso-date-diary-pattern)
5095 (iso-calendar-display-form): New user variables.
5096 (diary-date-forms, calendar-date-display-form): Set using
5097 calendar-date-style. Doc fix.
5098 (calendar-set-date-style): New command.
5099 (european-calendar, american-calendar): Use calendar-set-date-style.
5102 * calendar/diary-lib.el (number): Move declaration where needed.
5103 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
5104 (diary-make-date): New function.
5105 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
5106 Use diary-make-date.
5107 (diary-date-display-form, diary-insert-entry-1): New functions.
5108 (insert-monthly-diary-entry, insert-yearly-diary-entry):
5109 Use diary-insert-entry-1.
5110 (insert-anniversary-diary-entry, insert-block-diary-entry)
5111 (insert-cyclic-diary-entry): Use diary-date-display-form.
5113 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5114 Autoload diary-insert-entry-1.
5115 * calendar/cal-bahai.el (diary-bahai-insert-entry)
5116 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5117 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
5118 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
5119 * calendar/cal-islam.el (insert-islamic-diary-entry)
5120 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
5121 Use diary-insert-entry-1.
5123 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
5124 (diary-yahrzeit): Doc fix. Use diary-make-date.
5126 * calendar/icalendar.el (icalendar--datetime-to-american-date):
5127 New name for icalendar--datetime-to-noneuropean-date. Make old name
5129 (icalendar--datetime-to-iso-date): New function.
5130 (icalendar--datetime-to-diary-date): Doc fix. Respect
5131 calendar-date-style if bound.
5133 * textmodes/remember.el (remember-diary-convert-entry):
5134 Respect calendar-date-style if bound.
5136 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
5139 (xterm-mouse-handle-delete-frame): Delete.
5141 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
5142 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
5143 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
5144 in xterm-modify-other-keys-terminal-list.
5146 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
5149 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5151 * vc.el (vc-update): Check if the buffer is unsaved only if it
5153 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
5156 2008-03-28 Magnus Henoch <mange@freemail.hu>
5158 * net/dns.el (dns-write): Use set-buffer-multibyte.
5160 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * vc-bzr.el (vc-bzr-sha1): New fun.
5163 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5164 (vc-bzr-registered): Use it.
5166 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5168 * vc.el (vc-status-kill-dir-status-process): Simplify.
5169 (vc-status-refresh): Make sure the buffer is live.
5170 (ring): Don't require it, not used.
5172 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
5174 * progmodes/verilog-mode.el (verilog-auto-inout-module):
5175 Add optional regular expression to AUTOINOUTMODULE.
5176 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5177 (verilog-auto-inst-param, verilog-auto-reg)
5178 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5179 (verilog-auto-output-every, verilog-auto-input)
5180 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5181 (verilog-auto-unused, verilog-auto): Update documentation to use
5182 more obvious instance module names versus cell names.
5184 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
5186 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5187 kill if a process is running.
5189 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5191 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5193 * vc.el: Add new backend function 'status-extra-headers.
5194 (vc-default-status-extra-headers): New function.
5195 (vc-status-headers): Call 'status-extra-headers. Add colors.
5197 * vc-git.el (vc-git-status-extra-headers): New function.
5199 2008-03-28 Glenn Morris <rgm@gnu.org>
5201 * calendar/cal-menu.el (cal-menu-holidays-menu)
5202 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5203 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5204 holiday-list is optional.
5205 (calendar-mouse-holidays): Remove un-needed local `l'.
5207 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5208 Remove un-needed local `date'.
5209 (calendar-cursor-to-visible-date): Use let rather than let*.
5210 Remove un-needed local `first-of-month-weekday'.
5212 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5214 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5216 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
5217 (diary-header-line-flag, diary-header-line-format): Declare.
5218 (diary-pull-attrs): Check for multiple matches.
5219 (diary-list-entries-2): Simplify finding start of date.
5220 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5222 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5223 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5225 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
5227 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5231 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5233 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5235 * image-mode.el (image-mode-reapply-winprops): Fix last change.
5237 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
5239 * international/mule-conf.el (define-iso-single-byte-charset):
5240 Don't make latin-iso8859-* supplementary.
5241 (#'set-charset-priority): Don't change the priority of charsets
5242 `unicode' and `emacs'.
5244 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5246 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5249 2008-03-27 Glenn Morris <rgm@gnu.org>
5251 * calendar/cal-bahai.el (diary-bahai-list-entries):
5252 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5253 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5255 * calendar/calendar.el (diary-file): Doc fix.
5257 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5258 (list-diary-entries-hook, mark-diary-entries-hook)
5259 (include-other-diary-files, diary-mail-entries)
5260 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5261 (diary-set-header): New function.
5262 (diary-header-line-flag, diary-header-line-format):
5263 Use diary-set-header for custom :set function.
5264 (diary-set-maybe-redraw): Use symbol-value rather than eval.
5265 (diary-attrtype-convert): Use intern-soft rather than read.
5266 (diary-display-no-entries): New function.
5267 (simple-diary-display, fancy-diary-display): Use it.
5268 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
5269 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5271 * calendar/holidays.el (list-holidays): Doc fix.
5273 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
5275 * calc/calc-store.el (calc-read-var-name-history): New variable.
5276 (calc-read-var-name): Use `calc-read-var-name-history'.
5278 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * image-mode.el (image-mode-reapply-winprops): Simplify now that
5281 window-configuration-change-hook works buffer-locally.
5283 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5285 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5286 for Emacs Lisp, not Lisp.
5288 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
5290 * help-fns.el (describe-function-1, describe-variable):
5291 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5293 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5294 replacement is provided, don't print "use nil instead".
5296 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5298 * complete.el (PC-do-completion): Use regexp-quote.
5300 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
5302 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5303 Detect missing files.
5305 * vc-git.el (vc-git-extra-menu-map): New key map.
5306 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5309 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5312 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5314 * calendar/holidays.el (list-holidays): Make Y2 optional.
5316 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5317 buffers shown to the user.
5318 (appt-disp-window): Disable undo explicitly now that the leading space
5321 * simple.el (activate-mark): New function.
5322 (set-mark-command): Use it with region-active-p to clean up the code.
5323 (exchange-point-and-mark): Invert the meaning of C-u when
5324 transient-mark-mode is active.
5326 * dired-aux.el (dired-create-files): Use dolist.
5328 * bindings.el (mode-line-change-eol): Use with-selected-window.
5330 * apropos.el (apropos-command): Include macros.
5332 2008-03-26 Glenn Morris <rgm@gnu.org>
5334 * calendar/cal-bahai.el: Require calendar, not cal-julian.
5335 (calendar-bahai-epoch): Doc fix.
5337 * calendar/cal-china.el: Explicitly require calendar.
5339 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5340 Require calendar rather than cal-julian.
5341 Autoload calendar-absolute-from-julian.
5342 * calendar/cal-coptic.el (coptic-calendar-epoch):
5343 * calendar/cal-islam.el (calendar-islamic-epoch):
5344 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5346 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5348 * calendar/cal-dst.el: Don't require cal-persia.
5349 (calendar-absolute-from-persian): Autoload it.
5350 (dst-adjust-time): Doc fix.
5352 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5353 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5356 * calendar/cal-menu.el: Require calendar rather than declaring
5358 * calendar/calendar.el: Provide calendar before requiring cal-menu.
5360 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5361 calendar-after-frame-setup-hooks. Update callers, make old name an
5362 obsolete alias. Doc fix.
5363 (calendar-frame-1): Doc fix.
5365 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5367 * calendar/calendar.el (oriental-holidays, solar-holidays):
5368 * calendar/holidays.el (list-holidays): Assume atan always bound.
5370 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5371 Explicitly require calendar, not cal-julian.
5372 * calendar/lunar.el: Explicitly require cal-dst.
5374 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5376 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5378 * help-fns.el (describe-function-1, describe-variable): If no
5379 replacement is provided, don't print "use nil instead".
5381 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5383 * proced.el: New file.
5385 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
5387 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5389 2008-03-25 Juri Linkov <juri@jurta.org>
5391 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5392 in battery-mode-line-format.
5394 * bindings.el (minibuffer-local-map): For the command
5395 file-cache-minibuffer-complete replace keymap minibuffer-local-map
5396 with map which is already locally bound to minibuffer-local-map.
5398 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5401 Remove `sort-first' argument.
5403 * subr.el (redisplay-end-trigger-functions)
5404 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5405 (process-filter-multibyte-p, set-process-filter-multibyte):
5408 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
5410 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5411 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5412 use the LOCAL arg of `add-hook'.
5413 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5414 Remove spurious * from defcustom docstrings.
5415 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5416 Fix typos in messages.
5417 (reb-mode-buffer-p): New function.
5418 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
5419 (top, reb-show-subexp, reb-auto-update, reb-auto-update)
5420 (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
5421 (reb-update-overlays): Use `unless', `when'.
5422 (re-builder-unload-function): New function.
5424 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
5426 * vc-hooks.el (vc-state): Add documentation for 'missing.
5428 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
5430 * progmodes/verilog-mode.el (verilog-auto-output)
5431 (verilog-auto-input, verilog-auto-inout, verilog-auto)
5432 (verilog-delete-auto): Add optional regular expression to
5433 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5434 (verilog-signals-matching-regexp): New internal function for
5437 2008-03-25 Johan Bockgård <bojohan@gnu.org>
5439 * info.el (Info-isearch-search): Always return point.
5441 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * diff-mode.el (diff-remembered-defdir): New var.
5444 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5446 2008-03-25 Glenn Morris <rgm@gnu.org>
5448 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5449 calendar-bahai-prompt-for-date. Update callers, make old name an
5450 obsolete alias. Doc fix.
5451 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5452 coptic-prompt-for-date. Update callers, make old name an
5453 obsolete alias. Doc fix.
5454 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5455 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5456 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5457 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5458 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5459 calendar-iso-read-args. Update callers, make old name an obsolete
5461 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5462 persian-prompt-for-date. Update callers, make old name an
5463 obsolete alias. Doc fix. Move definition before use.
5465 * calendar/cal-x.el (diary-frame-parameters)
5466 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5467 (calendar-frame-1): Doc fixes.
5468 (make-fancy-diary-buffer): Remove declaration.
5469 (calendar-dedicate-diary): Replace call to deleted function
5470 make-fancy-diary-buffer.
5471 (calendar-frame-setup): New function.
5472 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5473 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5474 work, and mark as obsolete.
5475 (special-display-buffer-names): Don't mess with this; it's not our
5477 (cal-x-load-hook): Defvar it, and mark as obsolete.
5479 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5480 Default to t. Add to 'calendar group.
5481 (calendar): Doc fix. Use calendar-frame-setup.
5482 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5483 (generate-calendar-window): Doc fix.
5485 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5489 2008-03-24 Drew Adams <drew.adams@oracle.com>
5491 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5493 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5494 (finder-exit): Ignore errors rather than avoiding them.
5495 Kill *Finder-package* buffer also.
5497 2008-03-24 Andreas Schwab <schwab@suse.de>
5499 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5501 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5503 * vc-hg.el (vc-hg-after-dir-status):
5504 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5506 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5507 Detect removed files.
5509 * vc.el (vc-status-printer): Use a different face for missing files.
5510 (vc-status-hide-up-to-date): Rename from
5511 vc-status-remove-up-to-date. Update all callers.
5512 (vc-status-mode-map): Bind C-m.
5514 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5516 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5518 (vc-git--state-code): ... to this new function.
5519 (vc-git-state): Use it.
5521 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5523 * textmodes/remember.el (remember-mail-date)
5524 (remember-store-in-mailbox): Write date and From line in such a
5525 way that Mutt can read it.
5527 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5529 * simple.el (transient-mark-mode): Turn on by default.
5531 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5533 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5534 'unregistered for unregistered files.
5536 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5538 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5540 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5543 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5544 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5545 Add :enable for vc-status-refresh.
5546 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5547 (vc-status-tool-bar-map): Add binding for
5548 vc-status-kill-dir-status-process.
5549 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5550 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5551 Reset vc-status-process-buffer.
5552 (vc-status-refresh): Don't run two refreshes at a time.
5553 (vc-status): If the buffer is already in vc-status-mode only refresh.
5554 (vc-status-mark-buffer-changed): Add an optional file parameter.
5555 (vc-resynch-buffer): Use it.
5556 (vc-delete-file): Expand the file name before using it.
5557 Be careful to not create a new buffer with the old file contents.
5558 Update the VC state after performing the operation.
5560 2008-03-23 Andreas Schwab <schwab@suse.de>
5562 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5563 Fix radio button condition.
5565 [customize]: Add radio button.
5567 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5569 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5570 (calc-user-parse-tables, calc-gnuplot-default-device)
5571 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5572 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5573 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5574 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5575 (calc-undo-list, calc-redo-list, calc-main-buffer)
5576 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5577 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5578 (calc-said-hello, calc-executing-macro, calc-any-selections)
5579 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5580 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5581 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5582 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5583 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5584 (calc-create-buffer, calc-quit): Add docstrings.
5586 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5588 * makefile.w32-in (WINS_ALMOST): Add org.
5590 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5592 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5593 New functions to implement vc-status support.
5595 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5597 * vc.el (vc-status-prepare-status-buffer): New function.
5598 (vc-status): Use it.
5600 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5603 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5605 * vc-git.el (vc-git--empty-db-p)
5606 (vc-git-after-dir-status-stage1-empty-db): New functions.
5607 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5608 Add support for empty repositories.
5610 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5612 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5613 Allow "^" in a version name.
5615 * vc-mtn.el (vc-mtn-state): Support the added state.
5617 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5619 * org: New directory for Org-mode.
5621 * org/org-export-latex.el: Moved from lisp/texmodes.
5623 * org/org-irc.el: Moved from lisp/texmodes.
5625 * org/org-mac-message.el: Moved from lisp/texmodes.
5627 * org/org-mouse.el: Moved from lisp/texmodes.
5629 * org/org-publish.el: Moved from lisp/texmodes.
5631 2008-03-21 Juri Linkov <juri@jurta.org>
5633 * comint.el (comint-dynamic-simple-complete):
5634 Use variable `stub' for the second arg `common-substring'
5635 of `comint-dynamic-list-completions'.
5636 (comint-dynamic-list-filename-completions):
5637 Use variable `filenondir' for the second arg `common-substring'
5638 of `comint-dynamic-list-completions'.
5639 (comint-dynamic-list-completions): Add new optional arg
5640 `common-substring'. Add `common-substring' as the second arg of
5641 the call to `display-completion-list'. Doc fix.
5643 * comint.el (comint-dynamic-complete-as-filename)
5644 (comint-dynamic-list-filename-completions)
5645 (comint-dynamic-simple-complete): Use `minibuffer-message'
5646 to display message "No completions of %s" when a command
5647 is called in the minibuffer.
5648 (comint-dynamic-simple-complete): Don't display other
5649 completion messages when a command is called in the minibuffer.
5650 (comint-dynamic-list-completions): Use `minibuffer-message'
5651 to display message " [Type space to flush ...]" when a command
5652 is called in the minibuffer.
5654 * shell.el (shell-dynamic-complete-command)
5655 (shell-dynamic-complete-environment-variable): Don't display
5656 completion messages when command is called in the minibuffer.
5658 * emacs-lisp/lisp.el (lisp-complete-symbol):
5659 Use `minibuffer-message' to display message "No completions of %s"
5660 when this command is called in the minibuffer.
5662 * bindings.el (standard-mode-line-modes): Put special help-echo
5663 tooltip on recursive edit %[ %] mode-line constructs.
5665 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5666 "^No dynamic expansion for .* found$" to allow error messages like
5667 "No dynamic expansion for \"%s\" found in this-buffer".
5669 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5671 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5674 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5677 * vc.el (vc-default-dired-state-info): Use just "modified".
5678 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5679 (vc-cvs-mode-line-string): Make use of the better default.
5680 (vc-cvs-parse-entry): Use the new `added'.
5681 (vc-cvs-dired-state-info): Remove.
5682 * vc-svn.el (vc-svn-dired-state-info): Remove.
5683 * vc-hg.el (vc-hg-dired-state-info): Remove.
5684 * vc-git.el (vc-git-dired-state-info): Remove.
5686 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5688 * vc-git.el (vc-git-status-result): New variable.
5689 (vc-git-dir-status): Split out ...
5690 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5691 ... these new functions and work asynchronously.
5693 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5695 * vc-git.el (vc-git-after-dir-status): Remove.
5696 (vc-git-dired-state-info): Reimplement.
5698 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5700 * replace.el (occur-mode-map): Add :help.
5702 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5705 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5707 (vc-status-remove-up-to-date): New function.
5708 (vc-status-mode-map, vc-status-menu-map): Bind it.
5709 (vc-status-printer): Use a different face up-to-date files.
5710 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5711 (Todo): Remove solved entries.
5713 * vc-hg.el (vc-hg-state):
5714 * vc-git.el (vc-git-state):
5715 * vc-cvs.el (vc-cvs-parse-status):
5716 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5719 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * progmodes/compile.el (compile):
5722 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5724 * simple.el (minibuffer-local-shell-command-map): New var.
5725 (minibuffer-complete-shell-command, read-shell-command): New funs.
5726 (shell-command, shell-command-on-region): Use them.
5728 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5730 * vc.el (vc-status-mark-buffer-changed): New function to implement
5731 updating of the *vc-status* buffer when a buffer is saved.
5732 (vc-status-mode): Use it for after-change-hook.
5733 (vc-add-to-vc-status-buffer): Rename to ...
5734 (vc-status-add-entry): ... this.
5735 (Todo): Add new entry.
5737 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5741 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5743 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5744 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5745 Remove spurious * from defcustom docstrings.
5746 (icomplete-compute-delay): Fix docstring and remove spurious *.
5747 (icomplete-delay-completions-threshold): Fix typo in docstring and
5749 (icomplete-completions): While collecting the list of prospective
5750 candidates, don't overshoot `icomplete-prospects-length'.
5752 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5754 * textmodes/refbib.el:
5755 * textmodes/reftex.el:
5756 * textmodes/reftex-global.el:
5757 * textmodes/reftex-vars.el:
5758 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5759 compiler pacifying defvars.
5760 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5761 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5764 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5766 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5767 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5768 (verilog-customize, verilog-font-customize)
5769 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5770 (verilog-mode): Update documentation strings to match tool tips.
5771 (verilog-auto-search-do, verilog-auto-re-search-do)
5772 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5773 expansion when a .* appears inside a string.
5774 (verilog-re-search-forward, verilog-re-search-backward):
5775 Add comment to recall how this works.
5776 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5778 2008-03-20 Glenn Morris <rgm@gnu.org>
5780 * calendar/calendar.el (calendar-other-dates): New function.
5781 (calendar-print-other-dates): Use calendar-other-dates.
5782 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5783 the declarations it replaces.
5784 (calendar-mouse-print-dates): Use calendar-other-dates.
5786 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5787 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5788 (calendar-absolute-from-bahai): Fix the leap-year case.
5789 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5790 (calendar-bahai-date-string, calendar-bahai-print-date):
5791 Handle pre-Bahai dates.
5793 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5794 (chinese-calendar-terrestrial-branch): Make defcustoms.
5796 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5797 (calendar-mouse-view-diary-entries): Use or.
5798 (calendar-mouse-chinese-date): Remove unused command.
5799 (cal-menu-load-hook): Mark as obsolete.
5801 * calendar/solar.el (calendar-location-name, calendar-latitude)
5802 (calendar-longitude, solar-arctan, sunrise-sunset)
5803 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5805 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5807 * calc/calc.el: Remove outdated comments.
5808 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5809 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5812 2008-03-19 Jason Rumney <jasonr@gnu.org>
5814 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5816 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5818 * net/tls.el (open-tls-stream): Reindent.
5820 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5822 * net/tramp.el (tramp-let-maybe): Removed.
5823 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5824 It does not exist under XEmacs.
5825 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5826 (tramp-completion-file-name-handler): Let-bind
5827 `directory-sep-char'.
5829 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5830 `directory-sep-char'.
5832 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5835 for autoloaded keymaps.
5837 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5838 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5839 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5840 (verilog-in-comment-p, verilog-in-star-comment-p)
5841 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5842 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5843 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5844 (verilog-skip-forward-comment-p): Use it.
5846 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5848 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5849 (org-remember-templates, org-time-stamp-rounding-minutes)
5850 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5851 (org-columns-new): Fix typos in docstrings.
5853 2008-03-19 Glenn Morris <rgm@gnu.org>
5855 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5856 (tramp-handle-shell-command): Use condition-case rather than
5859 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5861 * diff-mode.el (diff-header): Make the color louder.
5862 (diff-refine-change): Tone the color down.
5864 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5866 * descr-text.el (describe-char): When `describe-char-unidata-list'
5867 is set to show all properties, list them in the right order.
5869 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * international/mule.el (load-with-code-conversion): Avoid setting
5872 default-enable-multibyte-characters.
5874 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5876 * vc.el (vc-annotate-background): Fix custom type.
5878 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5880 * descr-text.el (describe-char-unidata-list): Allow specifying
5881 just all properties.
5882 (describe-char): Handle that new value.
5884 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5886 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5888 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5889 instead of file name extension to make docs with uncommon
5892 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5894 * doc-view.el (require): Require cl at compile time because
5897 2008-03-18 Glenn Morris <rgm@gnu.org>
5899 * calendar/calendar.el (initial-calendar-window-hook)
5900 (today-visible-calendar-hook): Doc fixes.
5902 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5904 * net/tramp.el (tramp-root-regexp): Simplify.
5905 (tramp-completion-file-name-regexp-separate): Don't insist on
5906 leading "[". This prevents method or user or host completion.
5907 (tramp-let-maybe): Autoload it.
5908 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5909 is an alias for `identity'.
5910 (tramp-handle-write-region): Protect `last-coding-system-used'
5911 over the trailing statements.
5912 (tramp-completion-file-name-handler-post-function): Remove.
5913 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5914 instead of calling `tramp-drop-volume-letter'.
5918 * net/trampver.el: Move coding cookie at the end.
5920 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5923 elements which may be something else than characters.
5925 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5927 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5928 New functions to implement vc-status support.
5930 * vc.el (vc-default-extra-status-menu)
5931 (vc-add-to-vc-status-buffer): New functions.
5933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5936 2008-03-17 Glenn Morris <rgm@gnu.org>
5938 * calendar/cal-x.el (diary-frame-parameters)
5939 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5940 Fix custom type; add options.
5941 (calendar-frame, diary-frame): Doc fixes.
5942 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5944 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5945 Use calendar-frame-1 and calendar-dedicate-diary.
5946 (calendar-one-frame-setup): Also handle only-one-frame case.
5947 (calendar-only-one-frame-setup): Doc fix. Just call
5948 calendar-one-frame-setup.
5950 * calendar/diary-lib.el: Re-order some definitions before their use.
5951 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5952 (diary-list-entries): Doc fixes.
5953 (make-fancy-diary-display): Remove function.
5955 * calendar/calendar.el (calendar-today-marker)
5956 (initial-calendar-window-hook, today-visible-calendar-hook)
5957 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5958 (calendar-star-date, calendar-mark-today): Doc fixes.
5959 (today-visible-calendar-hook): Add options.
5960 (calendar-in-read-only-buffer): New macro.
5961 (calendar-basic-setup): Adapt for change in calendar-read-date.
5962 Place holiday let inside if.
5963 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5964 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5965 (calendar-print-other-dates): Use one let rather than many.
5967 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5968 (calendar-print-other-dates):
5969 * calendar/cal-hebrew.el (list-yahrzeit-dates):
5970 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5971 * calendar/holidays.el (calendar-list-holidays, list-holidays)
5972 (calendar-cursor-holidays):
5973 * calendar/lunar.el (calendar-phases-of-moon): Use
5974 calendar-in-read-only-buffer to replace previous code and disable undo.
5976 2008-03-16 Juri Linkov <juri@jurta.org>
5978 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5979 and regexp-search-ring-yank-pointer for the HISTPOS argument of
5980 read-from-minibuffer to provide the correct initial minibuffer
5981 history position in isearch-edit-string when it is called from
5982 isearch-ring-adjust.
5984 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5985 to check if the current buffer is the minibuffer, and in this case
5986 call abort-recursive-edit to kill the minibuffer. Doc fix.
5987 (kill-this-buffer-enabled-p): Allow this function to return non-nil
5988 when the current buffer is the minibuffer.
5990 * simple.el (goto-line): Leave mark at previous position. Doc fix.
5992 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
5994 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5995 Use non-nil PARENTS attribute of make-directory instead of
5996 explicitly checking existence the current cache directory.
5998 2008-03-16 Daiki Ueno <ueno@unixuser.org>
6000 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
6001 M-x epa-file-select-keys.
6003 2008-03-16 Kenichi Handa <handa@m17n.org>
6005 * international/mule.el (auto-coding-alist):
6006 Use no-conversion-multibyte for archive files.
6008 2008-03-16 Glenn Morris <rgm@gnu.org>
6010 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
6012 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
6013 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
6014 Use calendar-mark-1.
6015 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
6016 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
6017 Use calendar-mark-complex.
6018 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
6019 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
6020 Use calendar-mark-1.
6022 * calendar/calendar.el (calendar-mod): Remove.
6023 * calendar/cal-china.el (calendar-chinese-from-absolute)
6024 (calendar-chinese-date-string): Expand calendar-mod calls.
6025 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
6026 Expand calendar-mod calls.
6028 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
6029 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6030 (diary-bahai-insert-yearly-entry): Use let rather than let*.
6031 Move obsolete aliases after the functions that replaced them.
6033 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
6034 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
6035 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
6036 Use let rather than let*.
6037 (calendar-hebrew-prompt-for-date): New function.
6038 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
6039 (holiday-tisha-b-av-etc): Use unless, let.
6041 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
6042 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
6044 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
6046 * calendar/calendar.el (calendar-for-loop): Add indent spec.
6048 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
6049 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
6051 (diary): Remove un-needed let.
6052 (view-other-diary-entries): Rename argument.
6053 (diary-list-entries-2): New function.
6054 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
6055 (print-diary-entries): Use unless.
6056 (diary-mark-entries-1): Change argument order, make all but
6057 markfunc optional. Handle the standard (Gregorian) case.
6058 Use match-string-no-properties. Handle marks.
6059 (mark-diary-entries): Use diary-mark-entries-1.
6060 (diary-font-lock-keywords-1): New macro.
6061 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
6063 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
6065 * icalendar.el (icalendar-version): Increase to 0.18.
6066 (icalendar-export-hidden-diary-entries): New variable.
6067 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
6068 In case of error, insert full error-val.
6069 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
6070 Use calendar-day-of-week. Return the day number.
6071 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
6073 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
6075 * icalendar.el (icalendar-recurring-start-year): New variable.
6076 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
6077 (icalendar-export-region): Ignore hidden diary entries.
6078 (icalendar--convert-ordinary-to-ical): Fix case where event
6079 spans across midnight boundary.
6080 (icalendar-first-weekday-of-year): New function.
6081 (icalendar--convert-weekly-to-ical): Allow user-selectable start
6082 year for recurring events (Mozilla calendars do not propagate
6083 recurring events forever, so year 2000 start date was not working).
6084 (icalendar--convert-yearly-to-ical): Remove extra spaces in
6085 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
6087 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
6089 * net/tramp.el (tramp-root-regexp): New defconst.
6090 (tramp-completion-file-name-regexp-unified)
6091 (tramp-completion-file-name-regexp-separate)
6092 (tramp-completion-file-name-regexp-url): Use it.
6093 (tramp-do-copy-or-rename-file-via-buffer):
6094 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
6095 t for `insert-file-contents-literally'.
6096 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
6098 (tramp-completion-file-name-handler-post-function): New defconst.
6099 (tramp-completion-file-name-handler): Use it.
6100 (tramp-maybe-open-connection): Update calls to
6101 `tramp-flush-connection-property' for removed 2nd argument.
6103 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6105 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
6106 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
6109 2008-03-15 Glenn Morris <rgm@gnu.org>
6111 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
6113 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
6114 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6115 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6116 (diary-bahai-list-entries): Use diary-list-entries-1.
6117 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
6118 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
6119 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6120 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6121 (list-hebrew-diary-entries): Use diary-list-entries-1.
6122 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
6123 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
6124 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6125 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6126 (list-islamic-diary-entries): Use diary-list-entries-1.
6127 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
6129 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
6131 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
6133 * calendar/cal-china.el (number-chinese-months)
6134 (calendar-chinese-from-absolute): Use nth, caar.
6136 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
6138 * calendar/cal-french.el (french-calendar-accents): Doc fix.
6140 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
6141 (calendar-hebrew-month-name-array-leap-year)
6142 (hebrew-calendar-parashiot-names): Make constants.
6143 (diary-parasha): Move definition after constants it uses.
6145 * calendar/cal-html.el (cal-html-insert-link-yearpage)
6146 (cal-html-htmlify-list): Doc fix.
6147 (cal-html-htmlify-entry): Use nth.
6149 * calendar/cal-islam.el (calendar-islamic-month-name-array)
6150 (calendar-islamic-epoch): Make constants.
6151 (calendar-islamic-epoch): Doc fix.
6153 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6155 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6156 (cal-tex-month-name): Doc fix.
6157 (cal-tex-last-blank-p): Use zerop.
6159 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6160 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6161 (calendar-cursor-to-date): Doc fix.
6162 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6163 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6164 (calendar-day-number): Use when.
6165 (generate-calendar-month): Use dotimes.
6166 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6167 (calendar-set-mark): Reverse conditional.
6168 (calendar-make-alist): Move definition before use.
6170 * calendar/diary-lib.el (diary-face-attrs)
6171 (diary-glob-file-regexp-prefix, diary-selective-display)
6172 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6173 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6174 (diary-anniversary, diary-cyclic)
6175 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6176 (diary-header-line-format): Change wording.
6177 (diary-list-entries): Set `date-start' in let.
6178 (include-other-diary-files, mark-included-diary-files): Use format.
6179 (simple-diary-display, fancy-diary-display): Use cadr, unless.
6180 (mark-diary-entries): Use 1+.
6181 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6182 (mark-calendar-month): Use dotimes.
6184 * calendar/holidays.el (displayed-month, displayed-year):
6185 Move declarations where needed.
6186 (calendar-list-holidays): Doc fix.
6188 * calendar/parse-time.el (parse-time-string): Simplify.
6190 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6192 (solar-sunrise-sunset): Rename some local variables for clarity.
6193 (sunrise-sunset): Use zerop.
6194 (solar-mean-equinoxes/solstices): Doc fix.
6196 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6198 (timeclock-completing-read, timeclock-generate-report): Use zerop.
6199 (timeclock-mean, timeclock-generate-report): Use dolist.
6201 * calendar/todo-mode.el (todo-add-category): Simplify.
6202 (todo-more-important-p, todo-delete-item, todo-file-item):
6204 (todo-top-priorities): Use zerop.
6206 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
6208 * buff-menu.el (list-buffers-noselect): Display buffer name in
6209 tooltip instead of mouse binding when it doesn't fit in the list.
6211 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6213 * faces.el (xw-defined-colors):
6214 * simple.el (widget-convert, shell-mode): Declare as functions
6215 instead of autoloading.
6221 * emacs-lisp/backquote.el:
6222 * emacs-lisp/timer.el:
6228 * textmodes/fill.el:
6229 * textmodes/paragraphs.el: Remove autoloads, redundant when the
6230 files are preloaded.
6232 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
6234 * desktop.el (desktop-create-buffer): Don't catch errors if
6235 debug-on-error is set.
6237 2008-03-14 Eli Zaretskii <eliz@gnu.org>
6239 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6240 ($(lisp)/calendar/diary-loaddefs.el)
6241 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6242 (LOADDEFS): New macro.
6243 (autoloads): Depend on $(LOADDEFS).
6245 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6247 * font-lock.el (featurep): Remove test, not useful anymore.
6248 (facemenu-keymap): Move key binding ...
6249 * facemenu.el (facemenu-keymap): ... here.
6251 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
6252 for each file in the list.
6253 (vc-bzr-log-view-mode): Recognize the file marker.
6255 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6256 for checkdoc and profiling.
6258 2008-03-14 Bastien Guerry <bzg@altern.org>
6260 * textmodes/flyspell.el (nxml-mode): Add the right
6261 `flyspell-mode-predicate'.
6263 * wid-edit.el (link): Use 'mouse-face for :follow-link.
6265 2008-03-14 Glenn Morris <rgm@gnu.org>
6267 * calendar/solar.el: Reorder so that functions are defined before use.
6268 (displayed-month, displayed-year): Move declarations where needed.
6269 (solar-get-number): Move definition before use. Use unless.
6270 (solar-equatorial-coordinates): Simplify.
6271 (solar-sunrise-and-sunset): Use let rather than let*.
6272 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6274 * startup.el (command-line-1): Rename -internal-script back to
6275 -scriptload (reverts previous change).
6277 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6278 (calendar-bahai-leap-base): Add doc strings.
6279 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6280 Move definition before use.
6281 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6282 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6283 variables outside the loop. Use dolist.
6284 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6286 * calendar/cal-china.el: Re-order so that functions are defined before
6288 (displayed-month, displayed-year): Move declarations where needed.
6289 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6290 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6292 (chinese-year-cache): Recenter on 2010. Doc fix.
6293 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6295 (chinese-year-cache-init): New function.
6296 (compute-chinese-year, holiday-chinese-new-year)
6297 (calendar-chinese-date-string, calendar-goto-chinese-date)
6298 (make-chinese-month-assoc-list): Use cadr, nth.
6299 (chinese-months): Remove un-needed let.
6301 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6302 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6303 (coptic-prompt-for-date): Move definition before use.
6305 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6306 (calendar-dst-find-data, calendar-daylight-time-offset)
6307 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6308 (calendar-daylight-savings-starts-time)
6309 (calendar-daylight-savings-ends-time): Use cadr, nth.
6311 * calendar/cal-french.el (french-calendar-epoch)
6312 (calendar-goto-french-date): Doc fix.
6313 (french-calendar-month-name-array)
6314 (french-calendar-multibyte-month-name-array)
6315 (french-calendar-day-name-array, french-calendar-special-days-array):
6318 * calendar/cal-hebrew.el (displayed-month, displayed-year)
6319 (original-date): Move declarations where needed.
6320 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6322 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6323 constant variables outside the loop. Use dolist.
6325 * calendar/cal-islam.el (displayed-month, displayed-year)
6326 (original-date): Move declarations where needed.
6327 (islamic-calendar-day-number): Remove unused local variable `day'.
6328 (calendar-goto-islamic-date): Doc fix.
6329 (holiday-islamic): Use unless.
6330 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6331 constant variables outside the loop. Use dolist.
6332 (mark-islamic-calendar-date-pattern): Move definition before use.
6334 (mark-islamic-diary-entries): Doc fix.
6335 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6336 (insert-yearly-islamic-diary-entry): Use let rather than let*.
6338 * calendar/cal-julian.el (calendar-absolute-from-julian):
6339 Move definition before use. Remove un-needed local `day'.
6340 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6342 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6343 (calendar-mayan-tzolkin-names-array): Add doc strings.
6344 (calendar-mayan-long-count-from-absolute): Use a single let.
6345 (calendar-string-to-mayan-long-count): Simplify.
6346 (calendar-next-haab-date, calendar-previous-haab-date)
6347 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6348 (calendar-previous-calendar-round-date)
6349 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6351 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6352 (calendar-mayan-date-string, calendar-print-mayan-date)
6353 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6354 (calendar-mayan-long-count-common-era): Move definitions before use.
6356 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6357 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6359 (calendar-mouse-goto-date): Move definition before use.
6361 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6362 Move definition before use.
6363 (calendar-cursor-to-visible-date): Move definition before use.
6364 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
6365 and place inside the conditional.
6366 (calendar-forward-day): Simplify.
6367 (calendar-end-of-month): Use unless.
6368 (calendar-goto-day-of-year): Doc fix.
6369 Relocate obsolete aliases after their replacements.
6371 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6373 * calendar/diary-lib.el (mark-diary-entries): Move some constant
6374 variables outside the diary-date-forms loop.
6376 * calendar/calendar.el (diary-file): Doc fix.
6377 (calendar-buffer-list): Return buffers rather than strings (fixes
6379 (hebrew-holidays-4): Fix typo.
6381 * calendar/holidays.el (displayed-month, displayed-year):
6382 Move declarations where needed.
6383 (calendar-holiday-list, calendar-list-holidays)
6384 (holiday-filter-visible-calendar): Move definitions before use.
6385 (list-holidays): Use cadr.
6386 Relocate obsolete aliases after their replacements.
6388 * calendar/lunar.el (date, displayed-month, displayed-year):
6389 Move declarations where needed.
6390 (lunar-phase-list): Move definition after functions it uses.
6391 (calendar-phases-of-moon, diary-phases-of-moon)
6392 (lunar-new-moon-on-or-after): Use cadr, nth.
6393 (lunar-new-moon-on-or-after): Doc fix.
6395 * textmodes/org-irc.el (top-level): CL not required when compiling.
6396 (org-irc-visit-erc): Replace runtime CL functions.
6398 * textmodes/org-publish.el (declare-function): Add compatibility stub.
6399 (org-publish-delete-dups): Declare as function.
6401 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6403 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6404 (vc-bzr-show-log-entry): Make regexp match more cases.
6405 (vc-diff-switches-list): Remove autoload, not needed.
6407 2008-03-14 Juri Linkov <juri@jurta.org>
6409 * isearch.el (isearch-edit-string): Remove one call to
6410 `isearch-push-state' not to push an inconsistent state,
6411 but keep another correct call to `isearch-push-state'.
6412 (isearch-ring-adjust): Call `isearch-push-state' only when
6413 `search-ring-update' is non-nil since `isearch-edit-string'
6414 already pushes its state.
6415 (isearch-message): Improve matching the failed part by checking
6416 if the original message starts with the last successful message.
6418 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6419 (dired-perm-write): Rename from `dired-warn-writable'.
6420 Change parent face from `font-lock-warning-face' to
6421 `font-lock-comment-delimiter-face'.
6422 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6423 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6424 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6425 with `dired-perm-write-face'.
6427 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
6429 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6430 Create cache dir only if it doesn't already exist.
6432 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6437 2008-03-13 Johan Bockgård <bojohan@gnu.org>
6439 * net/browse-url.el (browse-url-text-xterm):
6440 Unquote browse-url-text-browser.
6442 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
6444 * textmodes/org-mouse.el: Version number change.
6446 * textmodes/org-publish.el (org-publish-expand-components):
6447 Remove null projects from the list of components.
6448 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6449 Remove unused retrieval of the :publishing-directory property.
6450 (org-publish-file): Bugfix: when using a relative directory as the
6451 publishing directory, convert it to a directory filename.
6452 (org-publish-project): New alias.
6453 (org-publish-get-files): Protect against empty p.
6454 (org-publish-file): Send an error when file is not part of any project.
6455 (org-publish-file): Offer to refresh the list of files in known
6456 project when the current file is not part of any project.
6457 (org-publish-before-export-hook)
6458 (org-publish-after-export-hook): New hooks.
6459 (org-publish-org-to): Use new hooks and kill buffers.
6460 (org-publish-file): Remove the code for killing buffers.
6461 (org-publish-initialize-files-alist): Use interactive.
6462 (org-publish-file): If the publishing function creates a new
6463 buffer, kill it after publishing.
6464 (org-publish-timestamp-filename): Protect ":" in file name path
6467 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6468 change that killed the LaTeX buffer.
6470 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6471 in the decision tree.
6472 (org-select-remember-template): Clean the code.
6473 (org-prepare-dblock): Add the extra :content parameter.
6474 (org-write-agenda): New output type ".ics" files.
6475 (org-write-agenda): Call `org-icalendar-verify-function', both for
6476 time stamps and for TODO entries.
6477 (org-agenda-collect-markers, org-create-marker-find-array)
6478 (org-check-agenda-marker-table): New functions.
6479 (org-agenda-marker-table): New variable.
6480 (org-export-as-html): Revert the change that killed the html
6481 buffer. Side effects first need to be studied carefully.
6482 (org-get-tags-at): Fix the structure of the condition-case statement.
6483 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6484 (org-timestamp-change): Fix regulear expressions to swallow the
6485 extra character for repeat-shift control.
6486 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6487 (org-get-legal-level): Alias to `org-get-valid-level'.
6488 (org-dblock-write:clocktable): Add a :link parameter, linking
6489 headlines to their location in the Org agenda files.
6490 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6491 throwing an error when getting tags before headlines.
6492 (org-timestamp-change, org-modify-ts-extra)
6493 (org-ts-regexp1): Fix timestamp editing.
6494 (org-agenda-custom-commands-local-options): New constant.
6495 (org-agenda-custom-commands):
6496 Use `org-agenda-custom-commands-local-options' to improve customize
6497 type. "htmlize": Removed hack to fix face problem with htmlize,
6498 it no longer seem necessary.
6499 (org-follow-link-hook): New hook.
6500 (org-agenda-custom-commands): Add "Component" as a tag for each
6501 item in a command serie.
6502 (org-open-at-point): Run `org-follow-link-hook'.
6503 (org-agenda-schedule): Bugfix: don't display marker type when it
6505 (org-store-link): org-irc required.
6506 (org-set-regexps-and-options): Parse the new logging options.
6507 (org-extract-log-state-settings): New function.
6508 (org-todo): Handle the new ways of recording state change stuff.
6509 (org-local-logging): New function.
6510 (org-columns-open-link): Fix bug with opening link in column view.
6511 (org-local-logging): New function
6512 (org-todo): Make sure that LOGGING properties are honoured.
6513 (org-todo-keywords): Improve docstring.
6514 (org-startup-options): Cleanup startup options.
6515 (org-set-regexps-and-options): Process the "!" markers.
6516 (org-todo): Respect the new logging stuff.
6517 (org-log-note-how): New variable.
6518 (org-add-log-maybe): New parameter HOW that defines how logging
6519 should be done and also overrides PURPOSE. Add a docstring.
6520 (org-add-log-note): Check if we really need to ask for a note.
6521 (org-get-current-options): Digest the new keyword.
6522 (org-agenda-reset-markers): Rename from
6523 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6524 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6525 function, without force argument.
6526 (org-buffer-property-keys): Bind local variables s and p.
6527 (org-make-tags-matcher): Allow "" to match an empty or
6528 non-existent property value.
6529 (org-export-as-html): Join unsorted lists when they directly
6530 follow each other. Such lists may be created by headlines that
6531 are converted to lists.
6532 (org-nofm-to-completion): New function.
6533 (org-export-as-html): Use :html-extension instead of
6534 org-export-html-extension.
6535 (org-store-link): Support for links from `rmail-summary-mode'.
6536 (org-columns-new, org-complete, org-set-property): Set the
6537 `include-columns' argument in the call to
6538 `org-buffer-property-keys'.
6539 (org-buffer-property-keys): New argument `include-columns', to
6540 include properties expected by any of the COLUMS formats in the
6542 (org-cleaned-string-for-export): Get rid of drawers first, so that
6543 they will be removed also in the text before the first headline.
6544 (org-clock-report): Show the clocktable when found.
6545 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6546 (org-version): With prefix argument, insert `org-version' at point.
6547 (org-agenda-goto): Recenter the window after finding the target
6548 location, to make sure the correct position will be displayed.
6549 (org-agenda-get-deadlines): Don't scale priority with the warning
6551 (org-insert-heading): Don't break line in the middle of the line.
6552 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6554 (org-update-checkbox-count): Revamp to deal with hierarchical
6555 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6556 (org-remove-timestamp-with-keyword): New function.
6557 (org-schedule, org-deadline):
6558 Use `org-remove-timestamp-with-keyword' to make sure all such time
6560 (org-mode): Support for `align'.
6561 (org-agenda-get-deadlines): Make sure priorities increase as the
6562 due date approaches and is passed.
6563 (org-remember-apply-template): Fix problem with tags that
6565 (org-make-link-regexps): Improve the regular expression for plain links.
6566 (org-agenda-get-closed): List each clocking entry.
6567 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6568 (org-special-ctrl-k): New option.
6569 (org-kill-line): New function.
6570 (org-archive-all-done): Fix incorrect number of stars in regexp.
6571 (org-refile-get-location): New function.
6572 (org-refile-goto-last-stored): New function.
6573 (org-global-tags-completion-table): Add the value of org-tag-alist
6574 in each buffer, to make sure that also unused tags will be
6575 available for completion.
6576 (org-columns-edit-value)
6577 (org-columns-next-allowed-value): Only update if not in agenda.
6578 (org-clocktable-steps): New function.
6579 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6580 (org-archive-subtree): Add the outline tree context as a property.
6581 (org-closest-date): New optional argument `prefer'.
6582 (org-goto-auto-isearch): New option.
6583 (org-goto-map, org-get-location): Implement auto-isearch.
6584 (org-goto-local-auto-isearch-map): New variable.
6585 (org-goto-local-search-forward-headings)
6586 (org-goto-local-auto-isearch): New functions.
6588 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6590 * textmodes/org-irc.el: New file.
6592 2008-03-13 John Wiegley <johnw@gnu.org>
6594 * textmodes/org-mac-message.el: New file.
6596 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6598 * font-lock.el (font-lock-comment-face): Set the foreground for
6599 the light background 8 colors case.
6601 2008-03-13 Glenn Morris <rgm@gnu.org>
6603 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6604 generate-autoload-cookie patterns.
6606 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6608 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6609 (MH_E_SRC): Remove variable.
6610 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6611 Simplify file header. Use $@ for generated-autoload-file.
6613 * Makefile.in (LOADDEFS): New variable.
6614 (AUTOGENEL): Use $LOADDEFS.
6615 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6616 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6617 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6618 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6619 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6620 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6621 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6622 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6623 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6624 Add calendar-specific autoload cookies, and remove any setting of
6625 generated-autoload-file.
6626 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6627 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6629 * calendar/holidays.el: Replace explicit autoloads with reading of
6632 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6633 (calendar-buffer-list): Simplify.
6634 (generate-calendar-window): Use calendar-mark-holidays rather than
6637 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6638 Use cal-hebrew-yahrzeit-buffer.
6640 * calendar/cal-x.el (calendar-only-one-frame-setup)
6641 (calendar-two-frame-setup): Doc fixes.
6642 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6644 * calendar/appt.el (appt-mode-string): Mark as risky.
6645 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6647 * calendar/cal-html.el (diary-list-entries):
6648 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6649 (calendar-iso-from-absolute): Fix autoloads.
6651 * calendar/cal-iso.el (calendar-absolute-from-iso)
6652 (calendar-iso-read-args): Simplify.
6653 (calendar-iso-date-string, calendar-iso-read-args)
6654 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6656 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6657 (displayed-month, displayed-year): Move declarations where needed.
6658 (calendar-print-astro-day-number): Doc fix.
6660 * calendar/cal-persia.el (persian-calendar-month-name-array)
6661 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6662 (persian-prompt-for-date): Remove local variable `today'.
6664 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6666 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6667 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6668 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6669 (diary-sabbath-candles, solar-equinoxes/solstices)
6670 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6671 (solar-time-equation, solar-date-to-et): Simplify.
6673 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6674 Replace `(car (cdr' with cadr'.
6676 * progmodes/f90.el (f90-font-lock-n): New function.
6677 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6678 Use f90-font-lock-n.
6679 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6681 * progmodes/f90.el (f90-mode-abbrev-table):
6682 * progmodes/fortran.el (fortran-mode-abbrev-table):
6683 Use newer form of define-abbrev, where supported. No need to bind
6684 abbrevs-changed for system abbrevs.
6686 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6689 delete-frame-functions.
6691 * bookmark.el (Info-current-node): Remove.
6693 2008-03-12 Juri Linkov <juri@jurta.org>
6695 * help.el (describe-project): Remove defaliases for view-todo and
6696 describe-project that are now unnecessary after the merge from
6697 emacs--rel--22 that added define-obsolete-function-alias.
6699 * startup.el (inhibit-startup-screen): Revert incomplete
6700 2008-03-10 merge from emacs--rel--22 that partly reverted
6701 2008-02-28 change that added initial message to *scratch* buffer
6702 regardless of the value of `inhibit-startup-screen'.
6703 Now keep this change in the trunk, but not in the 22 branch.
6705 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6707 * international/quail.el (quail-setup-completion-buf, quail-help):
6708 * mail/binhex.el (binhex-decode-region-internal):
6709 * mail/uudecode.el (uudecode-decode-region-internal):
6710 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6711 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6712 setting default-enable-multibyte-characters.
6714 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6716 * comint.el: Fix up indentation and comment style. Remove `function'.
6718 * international/mule-cmds.el (reset-language-environment)
6719 (set-language-environment-nonascii-translation):
6720 Don't set-unibyte-charset.
6722 * doc-view.el: Remove all cb-args, use closures instead.
6723 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6724 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6725 doing an incorrect check). Update all callers to use the new name.
6726 (doc-view-doc->txt): Add missing `txt' argument.
6728 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6730 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6731 md5 sum calculation to single-byte.
6733 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * doc-view.el (doc-view-new-window-function): Add assertion.
6736 (doc-view-doc-type): New var.
6737 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6738 (doc-view-intersection): New fun.
6739 (doc-view-mode): Use it to set the new var.
6741 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6743 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6744 (doc-view-already-converted-p): New functions.
6745 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6746 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6747 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6748 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6749 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6750 (doc-view-convert-current-doc): Don't hardwire the functions the
6751 sentinels call. Now they're provided by two args CALLBACK and
6752 CB-ARGS to the functions.
6753 (doc-view-search): Use doc-view-doc->txt.
6754 (doc-view-initiate-display): Use doc-view-already-converted-p.
6755 Mention new binding C-c C-t if doc-view-mode doesn't work.
6757 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6759 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6761 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6764 Mark " outside of tags as punctuation.
6766 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * menu-bar.el (minibuffer-local-map): Use the same command for the
6769 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6770 Prefer RET over C-j for exit-minibuffer.
6772 * files.el (display-buffer-other-frame): Eliminate problematic code.
6774 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6775 (menu-bar-select-buffer): Remove.
6776 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6777 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6779 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6781 * icomplete.el (icomplete-completions): Remove obsolete code.
6783 * net/net-utils.el (iwconfig-program-options): Doc fix.
6784 (net-utils-run-program, run-network-program): Define as functions.
6786 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6788 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6790 2008-03-11 Glenn Morris <rgm@gnu.org>
6792 * faces.el (mode-line-emphasis): New face.
6793 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6795 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6797 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6799 * simple.el (set-mark-command): Doc fix.
6801 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6805 * emacs-lisp/autoload.el (autoload-find-destination):
6806 Don't force raw-text.
6808 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6809 * calendar/cal-loaddefs.el: Don't version control.
6811 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6813 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6814 entries and add :help to the existing ones.
6816 2008-03-10 Glenn Morris <rgm@gnu.org>
6818 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6819 to where they are needed.
6821 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6822 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6823 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6824 (calendar-version): Doc fixes.
6825 (calendar-absolute-from-gregorian): Use zerop.
6826 (calendar-mode-line-format): Make it a defcustom.
6828 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6829 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6830 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6831 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6832 (mark-included-diary-files, mark-calendar-days-named)
6833 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6834 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6835 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6836 (insert-anniversary-diary-entry, insert-block-diary-entry)
6837 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6838 (diary-font-lock-sexps): Doc fixes.
6839 (diary-remind-message, mark-calendar-month): Use zerop.
6840 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6841 (diary-list-entries): Revert let to let* (previous change).
6843 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6845 2008-03-10 Kim F. Storm <storm@cua.dk>
6847 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6848 function aliases for the old names.
6850 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6852 * iswitchb.el (iswitchb-use-faces): Doc fix.
6853 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6854 Fix typos in docstrings.
6856 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6858 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6860 (verilog-type-font-keywords): Reindent.
6862 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6864 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6865 grouping-keyword regular expression.
6866 (verilog-font-lock-keywords): Allow users to toggle special
6867 highlight of grouping-keywords.
6868 (verilog-highlight-grouping-keywords): The toggle for special
6869 highlighting of grouping keywords.
6871 2008-03-10 Juri Linkov <juri@jurta.org>
6873 * startup.el: Revert 2008-02-28 change that adds initial message
6874 to *scratch* buffer regardless of the value of
6875 `inhibit-startup-screen'.
6877 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6879 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6880 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6881 * progmodes/verilog-mode.el (verilog-mode):
6882 * net/socks.el (socks):
6883 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6885 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6887 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6888 (doc-view-bookmark-make-record): Use them.
6889 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6890 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6892 * bookmark.el (bookmark-make-record-function): Change expected return
6893 value to include a suggested bookmark name.
6894 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6895 Fix reversed `overwrite' semantics.
6896 (bookmark-set): Call bookmark-make-record before prompting the user.
6897 Then pass the result to bookmark-store later on.
6898 (bookmark-make-name-function): Remove.
6899 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6900 * info.el (bookmark-make-name-function): Remove.
6901 (Info-mode): Don't set it.
6902 (Info-bookmark-make-name): Remove.
6903 (Info-bookmark-make-record): Use Info-current-node as suggested default
6906 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6907 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6908 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6909 (bookmark-annotation-buffer, bookmark-annotation-file)
6910 (bookmark-annotation-point, bookmark-send-annotation)
6911 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6912 (bookmark-edit-annotation-text-func): Rename from
6913 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6914 (bookmark-edit-annotation-mode-map): Move initialization into
6917 * bookmark.el: Remove spurious * in docstrings.
6918 (bookmark-minibuffer-read-name-map): New var.
6919 (bookmark-set): Use it. Also pass the default value as it should.
6920 (bookmark-send-edited-annotation): Take no chances with text properties.
6921 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6922 (bookmark-insert-buffer-name): Remove.
6923 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6925 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6927 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6929 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6931 * diff-mode.el (diff-mode-menu): Add :help.
6933 2008-03-09 Glenn Morris <rgm@gnu.org>
6935 * calendar/calendar.el (general-holidays, oriental-holidays)
6936 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6937 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6938 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6939 (calendar-holidays): Restore autoload cookies, because people are
6940 used to using these variables without loading calendar.el.
6942 * calendar/cal-islam.el (diary-islamic-date): Move to end.
6943 (date, number): Declare where needed.
6945 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6946 (list-sexp-diary-entries): Doc fixes.
6947 (diary-list-entries): Doc fix. Remove free variable `entry'.
6948 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
6949 Simplify setting of `date-holiday-list'.
6950 (mark-diary-entries): Remove free variable `entry'.
6951 (diary-list-entries, include-other-diary-files, fancy-diary-display):
6952 Use let where let* is not needed.
6954 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6956 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6957 make-record function, instead paste it in afterwards.
6958 (bookmark-make-record-for-text-file):
6959 * doc-view.el (doc-view-bookmark-make-record):
6960 * info.el (Info-bookmark-make-record): Don't mess with annotations.
6962 2008-03-08 Glenn Morris <rgm@gnu.org>
6964 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6966 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * calendar/diary-lib.el (diary-list-entries)
6969 (include-other-diary-files, mark-diary-entries)
6970 (mark-sexp-diary-entries, mark-included-diary-files)
6971 (diary-entry-time, list-sexp-diary-entries): Remove the special
6972 handling of ^M that dates back to the use of selective-display.
6973 (simple-diary-display): Obey setting of pop-up-frames.
6974 (body, entry): Remove unnecessary declarations.
6976 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6977 (bookmark-get-annotation, bookmark-set-annotation)
6978 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6979 (bookmark-set-position, bookmark-get-front-context-string)
6980 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6981 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6982 * info.el (Info-bookmark-make-record): Don't bother recording point.
6983 (bookmark-get-filename, bookmark-get-front-context-string)
6984 (bookmark-get-rear-context-string, bookmark-get-position):
6985 Don't declare any more.
6986 (bookmark-get-info-node): Remove.
6987 (bookmark-prop-get): Declare.
6988 (Info-bookmark-jump): Use it.
6990 2008-03-08 Johan Bockgård <bojohan@gnu.org>
6992 * subr.el (while-no-input): Don't splice BODY directly into the
6995 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
6997 * diff-mode.el (diff-ignore-whitespace-hunk):
6998 Bind inhibit-read-only before trying to change the buffer.
7000 2008-03-08 Glenn Morris <rgm@gnu.org>
7002 * calendar/appt.el (appt): Move custom group here from calendar.el.
7003 (appt-disp-window, appt-convert-time): Doc fixes.
7005 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
7006 (calendar-bahai-mark-date-pattern):
7007 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
7008 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
7009 * calendar/cal-julian.el (calendar-absolute-from-julian):
7010 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
7012 * calendar/cal-china.el (chinese-calendar): Move custom group here from
7014 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7016 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
7017 (chinese-calendar-daylight-savings-starts)
7018 (chinese-calendar-daylight-savings-ends)
7019 (chinese-calendar-daylight-savings-starts-time)
7020 (chinese-calendar-daylight-savings-ends-time)
7021 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
7024 * calendar/cal-coptic.el (coptic-name): Add doc string.
7026 * calendar/cal-french.el (french-calendar-month-name-array)
7027 (french-calendar-day-name-array, french-calendar-special-days-array):
7030 * calendar/cal-bahai.el (diary-bahai-mark-entries)
7031 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7032 (diary-bahai-insert-yearly-entry):
7033 * calendar/cal-dst.el (calendar-next-time-zone-transition)
7034 (calendar-time-zone):
7035 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
7036 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
7037 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
7038 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
7039 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
7040 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
7041 (list-islamic-diary-entries, mark-islamic-diary-entries)
7042 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7043 (insert-yearly-islamic-diary-entry):
7044 * calendar/cal-iso.el (calendar-iso-read-args):
7045 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7046 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
7047 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7048 (calendar-next-calendar-round-date)
7049 (calendar-mayan-long-count-common-era):
7050 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
7051 (cal-menu-x-popup-menu, calendar-mouse-holidays)
7052 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
7053 (calendar-mouse-goto-date):
7054 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
7055 * calendar/holidays.el (holidays):
7056 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
7057 * calendar/time-date.el (date-to-time, time-subtract, time-add)
7058 (safe-date-to-time): Doc fixes.
7060 * calendar/cal-persia.el (persian-calendar-month-name-array)
7061 (persian-calendar-epoch): Make constants.
7063 * calendar/cal-tex.el (calendar-tex): Move custom group here from
7066 * calendar/cal-x.el (diary-frame-parameters)
7067 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7068 (calendar-after-frame-setup-hooks): Make defcustoms.
7069 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7070 (calendar-two-frame-setup): Doc fix.
7072 * calendar/cal-loaddefs.el: New file.
7074 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
7075 * calendar/cal-french.el, calendar/cal-html.el:
7076 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
7077 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
7078 * calendar/cal-tex.el, calendar/cal-x.el:
7079 Unquote lambda functions. Add autoload cookies to functions formerly
7080 autoloaded in calendar.el. Set `generated-autoload-file' to
7083 * calendar/calendar.el: Move many autoloads to separate file,
7084 cal-loaddefs.el. Move defcustoms to start and re-order.
7085 (calendar-month-name-array, calendar-starred-day): No need to
7086 declare for compiler.
7087 (cal-loaddefs): Require it.
7088 (appt, chinese-calendar, calendar-tex): Move custom groups to the
7090 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
7092 (diary-face, diary-file-name-prefix-function, diary-include-string)
7093 (diary-glob-file-regexp-prefix, diary-face-attrs)
7094 (diary-file-name-prefix, sexp-diary-entry-symbol)
7095 (print-diary-entries-hook, list-diary-entries-hook)
7096 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7097 (nongregorian-diary-marking-hook, diary-list-include-blanks):
7099 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7100 (all-bahai-calendar-holidays): Doc fix.
7101 (calendar-insert-indented): Doc fix. Use when rather than if.
7102 (exit-calendar): Use mapc rather than mapcar.
7103 (calendar-cursor-to-date): Use zerop.
7104 (calendar-mark-ring): Add doc-string.
7105 (calendar-starred-day): Defvar it.
7106 (calendar-mode): Make calendar-starred-day local.
7107 (calendar-star-date): No need to make calendar-starred-day local.
7109 * calendar/diary-lib.el: Move defcustoms to start.
7110 (diary-include-string, diary-list-include-blanks)
7111 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
7112 (diary-file-name-prefix, diary-file-name-prefix-function)
7113 (sexp-diary-entry-symbol, list-diary-entries-hook)
7114 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
7115 (nongregorian-diary-marking-hook, print-diary-entries-hook):
7116 Move here from calendar.el.
7117 (diary-file-name-prefix-function): Use 'identity.
7118 (diary-face): Make it a defcustom, and mark as obsolete.
7119 (top-level): No need to require cal-hebrew, cal-islam when compiling.
7120 (calendar-hebrew-month-name-array-leap-year)
7121 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
7122 Define for compiler.
7123 (diary-font-lock-keywords): Use format rather than concat.
7124 Add bahai-diary-entry-symbol.
7126 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
7127 * calendar/solar.el: Unquote lambda functions.
7129 * calendar/solar.el (calendar-location-name, calendar-latitude)
7130 (calendar-longitude, solar-setup, solar-sin-degrees)
7131 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
7132 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
7133 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
7134 (solar-exact-local-noon, solar-julian-ut-centuries)
7135 (solar-ephemeris-time, solar-date-next-longitude)
7136 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7137 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
7138 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
7139 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
7141 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7142 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
7143 (solar-ecliptic-coordinates): Use unless.
7144 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
7147 * calendar/timeclock.el: Add doc-strings to all functions.
7148 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
7149 (timeclock-entry-list-length, timeclock-entry-list-projects)
7150 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
7152 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
7154 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7155 (org-get-entries-from-diary): Require diary-lib.
7157 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
7159 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7160 Pacify byte-compiler.
7162 2008-03-07 Alan Mackenzie <acm@muc.de>
7164 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7165 paren/bracket pairs parsed, to solve performance problem.
7167 2008-03-07 Bastien Guerry <bzg@altern.org>
7169 * bookmark.el (bookmark-set): Don't check for
7170 `bookmark-make-name-function' since `bookmark-buffer-file-name'
7171 already takes care of this.
7172 (bookmark-buffer-name, bookmark-buffer-file-name):
7173 Remove Info-mode specific code.
7175 * info.el (bookmark-get-info-node): Define this function in
7176 info.el, not in bookmark.el.
7177 (Info-mode): Set `bookmark-make-name-function' to
7178 `Info-bookmark-make-name' locally.
7179 (Info-bookmark-make-name): New function.
7181 * bookmark.el (bookmark-make-name-function): New variable.
7183 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7185 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7186 buffer-local, not `bookmark-make-cell-function' (the old name).
7188 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
7190 * doc-view.el (doc-view-bookmark-make-record):
7191 * image-mode.el (image-bookmark-make-record):
7192 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7194 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
7196 * vc.el (vc-status-menu-map-filter): Return orig-binding if
7197 boundp 'vc-ignore-menu-filter.
7198 (vc-status-tool-bar-map): Make it defvar.
7199 (vc-status-mode): vc-status-tool-bar-map now variable.
7200 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7202 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7204 Give a better name to part of the bookmark interface.
7206 This was originally a much larger change, but halfway through I
7207 updated and discovered that Stefan Monnier had done the rest.
7208 It looks like he anticipated the new name too, because he used
7209 `the-record' instead of `the-cell' for some internal variable names.
7211 * bookmark.el (bookmark-make-record-function): Was
7212 `bookmark-make-cell-function'.
7213 (bookmark-make, bookmark-send-annotation): Update for above.
7214 (bookmark-make-record-for-text-file):
7215 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7217 * info.el: Adjust accordingly.
7218 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7220 * image-mode.el: Adjust accordingly.
7221 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7223 * doc-view.el: Adjust accordingly.
7224 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7226 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7229 Move initialization into declaration.
7230 (bookmark-get-info-node, bookmark-set-info-node): Remove.
7231 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7232 (bookmark-info-current-node): Remove.
7233 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7234 Add relocation fallback. Set bookmark-current-bookmark.
7235 (bookmark-default-handler): Rename from bookmark-jump-noselect.
7236 Remove relocation fallback. Don't set bookmark-current-bookmark.
7237 (bookmark-set): Let it be used even if there's no buffer-file-name
7238 as long as there is a bookmark-make-cell-function.
7239 * info.el (Info-bookmark-jump): Remove relocation fallback.
7240 Don't set bookmark-current-bookmark.
7242 2008-03-07 Glenn Morris <rgm@gnu.org>
7244 * calendar/appt.el (appt-issue-message)
7245 (appt-message-warning-time, appt-audible, appt-visible)
7246 (appt-msg-window, appt-display-mode-line, appt-display-duration)
7247 (appt-display-diary): Remove autoload cookies.
7249 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7250 Remove leading `*' from defcustom doc-strings.
7252 * calendar/cal-dst.el (calendar-dst): New custom group.
7253 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7254 (calendar-time-zone, calendar-daylight-time-offset)
7255 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7256 (calendar-daylight-savings-starts-time)
7257 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7258 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7261 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7263 * calendar/calendar.el (calendar-version): Use emacs-version and
7264 make it obsolete. Move to end.
7265 (calendar-offset, view-diary-entries-initially)
7266 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7267 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7268 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7269 (all-bahai-calendar-holidays, calendar-load-hook)
7270 (initial-calendar-window-hook, today-visible-calendar-hook)
7271 (today-invisible-calendar-hook, calendar-move-hook)
7272 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7273 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7274 (diary-include-string, sexp-diary-entry-symbol)
7275 (abbreviated-calendar-year, american-date-diary-pattern)
7276 (european-date-diary-pattern, european-calendar-display-form)
7277 (american-calendar-display-form, print-diary-entries-hook)
7278 (list-diary-entries-hook, diary-hook, diary-display-hook)
7279 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7280 (nongregorian-diary-marking-hook, diary-list-include-blanks)
7281 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7282 (local-holidays, other-holidays, hebrew-holidays-1)
7283 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7284 (hebrew-holidays, christian-holidays, islamic-holidays)
7285 (bahai-holidays, solar-holidays, calendar-setup)
7286 (calendar-week-start-day): Remove autoload cookies.
7287 (diary-glob-file-regexp-prefix): Doc fix.
7288 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7289 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7290 (calendar-week-start-day, calendar-debug-sexp): Move to start.
7292 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7293 (calendar-time-display-form, calendar-latitude)
7294 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7296 (calendar-latitude, calendar-longitude): Move functions after
7298 (diary-sabbath-candles-minutes): Move to start.
7299 (solar-setup): Use or rather than if.
7300 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7301 Remove condition-case.
7302 (solar-atn2): Use zerop.
7303 (solar-equinoxes-solstices): Doc fix.
7305 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7306 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
7308 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7309 (calendar-longitude, calendar-latitude, calendar-location-name):
7310 Declare for compiler.
7312 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * arc-mode.el (archive-ar-file-header-re): New const.
7315 (archive-ar-summarize, archive-ar-extract): New funs.
7316 (archive-find-type): Recognize ar archives.
7318 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7321 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7323 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
7325 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7326 Replace :enable (mark-active) with :enable mark-active.
7328 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
7330 * vms-patch.el (make-legal-file-name): New obsolete alias.
7331 (make-valid-file-name): Rename from `make-legal-file-name'.
7332 (make-auto-save-file-name): Use it.
7334 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7335 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7336 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7338 * textmodes/org.el (org-export-html-style): Doc fix.
7339 (org-get-legal-level): New obsolete alias.
7340 (org-get-valid-level): Rename from `org-get-legal-level'.
7341 (org-promote, org-demote, org-archive-subtree)
7342 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7344 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
7346 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7348 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7349 (vc-status-toggle-mark): New functions.
7350 (vc-status-mode): Set tool bar map.
7352 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
7354 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7355 Reported by Drew Adams <drew.adams@oracle.com>.
7357 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
7359 * subr.el (read-quoted-char): Resolve modifers of the character
7362 * comint.el (comint-exec-1): Don't change the coding-system for
7363 decoding to dos-like EOL.
7364 (comint-carriage-motion): Fully rewrite.
7366 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
7368 * epg.el (epg-context-include-certs): Reflow docstring.
7369 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7370 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7371 (epg-context-set-signers, epg-context-set-sig-notations)
7372 (epg-make-import-status, epg-make-import-result)
7373 (epg-start-delete-keys): Fix typos in docstrings.
7374 (epg-start-sign-keys, epg-sign-keys):
7375 Fix typos in obsolescence declarations.
7377 * iswitchb.el: Don't check for `cadr' and `last'.
7378 (iswitchb-define-mode-map, iswitchb-default-keybindings):
7379 Add obsolescence declaration and remove redundant info from docstring.
7380 (iswitchb-set-common-completion, iswitchb-set-matches)
7381 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7382 (recentf-list, most-len, most-is-exact):
7383 Don't wrap defvars within `eval-when-compile'.
7385 2008-03-05 Glenn Morris <rgm@gnu.org>
7387 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7388 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7389 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7390 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7391 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7393 * ediff-hook.el (ediff-window-setup-function): Don't autoload
7394 declaration for compiler.
7395 (ediff-xemacs-init-menus): Use when rather than if.
7397 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7399 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7400 (ediff-delete-overlay): Move the XEmacs test inside the definition.
7402 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7404 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7405 test inside XEmacs test.
7406 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7407 since it was doing nothing on Emacs.
7408 (ediff-make-bullet-proof-overlay): Use when rather than if.
7410 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7411 (ediff-setup-control-frame): Remove
7412 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7413 a (featurep 'xemacs) test.
7415 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
7417 * calc/calc-ext.el (calc-extended-command-history): New variable.
7418 (calc-exectute-extended-command): Use `calc-extended-command-history'.
7420 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
7422 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
7423 (standard-mode-line-position): Add mouse-face.
7425 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7426 * progmodes/grep.el (grep-mode-map): Add :help.
7428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7429 initialize in one step. Add :help. Use :enable to activate menu
7430 items. Show the key binding for edebug-defun.
7431 (lisp-interaction-mode-map): Add a menu.
7433 * term.el (term-mode-map): Define and initialize in one step.
7435 * ediff-init.el (ediff-color-display-p): Simplify.
7436 (Xor): Remove unused function.
7437 (ediff-with-syntax-table): Simplify for Emacs.
7439 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7440 menu-bar being loaded, it always is.
7442 2008-03-05 Glenn Morris <rgm@gnu.org>
7444 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7445 multiple definitions when compiling.
7447 2008-03-04 Alan Mackenzie <acm@muc.de>
7449 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7451 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7452 doc-string, "c-old-LEN" -> "c-old-END".
7454 2008-03-04 Jason Rumney <jasonr@gnu.org>
7456 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7459 2008-03-04 Glenn Morris <rgm@gnu.org>
7461 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7463 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7466 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7469 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7471 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7472 so that M-q can fill comments.
7473 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7474 commands implemented in elisp.
7475 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7476 (tex-format-cmd): New function.
7477 (tex-compile): Use it to let the user specify default arguments.
7478 (tex-cmd-bibtex-args): New var.
7479 (tex-cmd-doc-view): New function.
7481 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7483 * faces.el (face-spec-set): Fix typos in docstring.
7485 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7487 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7488 (standard-mode-line-position): Use it to add a menu for toggling
7489 column number and line number display.
7491 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7494 Remove optimization that was working around the form-code-walker bug.
7496 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7497 Walk into the body of lambdas after byte-compile-unfold-lambda.
7499 2008-03-03 Glenn Morris <rgm@gnu.org>
7501 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7502 value, if set, over frame value.
7504 * simple.el (transient-mark-mode): Don't turn on by default.
7506 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7507 accidentally removed by the 2007-12-05 merge from Gnus.
7509 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7511 * progmodes/compile.el (compilation-menu-map): Add menu entries
7514 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7515 Glenn Morris <rgm@gnu.org>
7517 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7518 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7519 Give a `bytecomp-' prefix to local variables with common names.
7521 2008-03-01 Glenn Morris <rgm@gnu.org>
7523 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7524 code commented out 2007-11-10.
7526 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7528 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7530 * emulation/viper-cmd.el, emulation/viper-ex.el:
7531 * emulation/viper-init.el, emulation/viper-keym.el:
7532 * emulation/viper-mous.el, emulation/viper-util.el:
7533 * emulation/viper.el:
7534 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7537 Replace obselete frame-local variables with frame-parameters.
7538 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7539 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7540 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7542 * emulation/viper-util.el (viper-frame-value): New macro.
7543 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7544 (viper-R-state-post-command-sentinel)
7545 (viper-replace-state-post-command-sentinel)
7546 (viper-change-state-to-insert, viper-change-state-to-emacs):
7547 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7548 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7549 (viper-get-saved-cursor-color-in-insert-mode)
7550 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7551 Use viper-frame-value for viper-replace-overlay-cursor-color,
7552 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7553 viper-vi-state-cursor-color values.
7555 * emulation/viper-cmd.el (zmacs-region-stays):
7556 * emulation/viper-util.el (zmacs-region-stays): No need to define
7559 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7562 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7565 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7568 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7570 * whitespace.el: New version 9.3. As the glyph code generation was
7571 fixed, it is possible now to use character code above ?\x1FFFF in the
7572 display table. Fix `whitespace-indentation-regexp' to not include an
7573 extra ending character. Reported by Michael Welsh Duggan
7574 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7575 the original whitespace package had. Suggested by Eric Cooper
7576 <ecc@cmu.edu>. Doc fix.
7577 (whitespace-action): New option.
7578 (whitespace-display-mappings): Changed default newline visualization to
7579 display downwards arrow, as the glyph code generation was fixed.
7580 (whitespace-unload-function): Assure that all local whitespace mode is
7582 (whitespace-global-modes): Fix type customization.
7583 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7584 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7585 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7587 (whitespace-buffer): Command removed.
7588 (whitespace-trailing-regexp, whitespace-mark-x)
7589 (whitespace-display-window, whitespace-action-when-on)
7590 (whitespace-add-local-hook, whitespace-remove-local-hook)
7591 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7592 (whitespace-action): New funs.
7593 (whitespace-report-list, whitespace-report-text)
7594 (whitespace-report-buffer-name): New consts.
7595 (whitespace-report, whitespace-report-region): New commands.
7597 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7599 * disp-table.el (make-glyph-code): Don't test the result of
7600 `face-id', which already signals an error for invalid faces.
7601 (glyph-face): Simplify.
7603 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7604 running `desktop-not-loaded-hook' to allow modifying it.
7605 Don't show warning message if `desktop-dirname' was modified.
7607 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7609 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7610 we still expect more lines.
7612 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7613 comment-paragraph filling if the commark doesn't match
7616 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7618 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7621 2008-03-01 Jason Rumney <jasonr@gnu.org>
7623 * files.el (make-auto-save-file-name): Encode more characters in
7624 non-file buffer names. Use url-encoding.
7626 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7628 * net/net-utils.el (ftp-program): Fix typo in docstring.
7629 (ifconfig-program-options, netstat-program-options)
7630 (arp-program-options, route-program-options, nslookup-program-options)
7631 (ftp-program-options, smbclient-program-options)
7632 (dns-lookup-program-options, arp, route): Doc fixes.
7634 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7635 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7636 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7637 Fix typos in docstrings.
7638 (gdb-pending-triggers): Reflow docstring.
7639 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7641 2008-03-01 Alan Mackenzie <acm@muc.de>
7643 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7646 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7648 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7650 2008-02-29 Kim F. Storm <storm@cua.dk>
7652 * emulation/cua-base.el (cua-remap-control-v)
7653 (cua-remap-control-z): New defcustoms.
7654 (cua-mode): Add them to set-after property.
7655 (cua--init-keymaps): Use them.
7656 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7658 * help.el (view-emacs-todo): Rename from view-todo.
7659 (describe-gnu-project): Rename from describe-project. Users changed.
7660 (view-help-file): New helper function.
7661 (describe-distribution, describe-copying, describe-gnu-project)
7662 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7663 (view-emacs-debugging, view-external-packages): New commands.
7664 (help-map): Move describe-distribution to C-h C-o (ordering).
7665 Move view-emacs-problems to C-h C-p (problems).
7666 Bind view-emacs-debugging to C-h C-d (debugging).
7667 Bind view-external-packages to C-h C-e (extras).
7668 (help-for-help-internal): Cleanup and align descriptions.
7669 Remove command names to reduce clutter.
7671 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7673 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7674 and quieter face (not a warning).
7676 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7678 * vc.el (vc-status-crt-marked): New variable.
7679 (vc-status-mode): Make it local.
7680 (vc-status-refresh): Use it to save the marked files.
7681 (vc-update-vc-status-buffer): Use it to restore the marked files.
7683 * vc-svn.el (vc-svn-after-dir-status):
7684 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7686 2008-02-29 Glenn Morris <rgm@gnu.org>
7688 * allout.el (allout-topic-encryption-bullet)
7689 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7690 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7693 * net/imap.el (imap-ping-server):
7694 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7695 Change defcustom :version from 23.0 to 23.1.
7697 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7699 * desktop.el (desktop-save): Save the buffer name if the
7700 uniquified base name is empty.
7702 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7704 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7705 correctly when user has "set print address off".
7707 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7709 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7710 version number of the next major Emacs release, not 23.0.
7712 * longlines.el (longlines-unload-function): New function.
7714 2008-02-28 Juri Linkov <juri@jurta.org>
7716 * startup.el (normal-splash-screen): Add argument `concise'.
7717 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7718 to the created buffer. If `concise' is non-nil, call
7719 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7720 (display-startup-screen): Add argument `concise' to the call to
7721 `normal-splash-screen'.
7723 2008-02-28 Kim F. Storm <storm@cua.dk>
7725 * startup.el (startup-echo-area-message): Check for about-emacs.
7727 2008-02-28 Juri Linkov <juri@jurta.org>
7729 * startup.el: Always add initial message to *scratch* buffer if
7730 `initial-scratch-message' is non-nil regardless of the value of
7731 `inhibit-startup-screen'.
7732 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7733 (command-line-1): Move code that inserts `initial-scratch-message'
7734 up before the if-form that checks for `inhibit-startup-screen'.
7735 Suggested by Jonathan Rockway <jon@jrock.us>.
7737 2008-02-28 Juri Linkov <juri@jurta.org>
7739 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7740 Rename `custom-mode' to `Custom-mode' in docstrings.
7741 (custom-buffer-create-internal, customize-browse):
7742 Rename `custom-mode' to `Custom-mode'.
7743 (custom-mode-hook): Rename to `Custom-mode-hook'.
7744 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7745 (custom-mode): Rename to `Custom-mode'.
7746 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7747 (custom-mode): Add backward-compatible non-interactive variant of
7748 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7749 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7751 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7753 * emulation/viper.el (viper-emacs-state-mode-list):
7754 Rename `custom-mode' to `Custom-mode'.
7756 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7757 Capitalize "Tagged Files".
7758 (minibuffer-local-map): Add menu items for next/previous
7759 history elements and isearch history forward/backward.
7761 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7762 `hs-isearch-open' with t instead of `comment' in :selected
7763 for "Code and Comment blocks" menu item.
7765 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7767 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7768 Should be done in desktop.el instead.
7770 2008-02-28 Glenn Morris <rgm@gnu.org>
7772 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7774 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7776 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7777 (Info-menu, Info-goto-node): Remove declarations.
7778 (report-emacs-bug-info): Use info rather than Info-goto-node.
7780 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7781 (idlwave-convert-xml-system-routine-info): Don't require xml.
7782 (idlwave-show-commentary, idlwave-shell-show-commentary):
7783 Don't require finder.
7784 (idlwave-info): Don't require info. Use info rather than
7787 * textmodes/org.el (Info-goto-node): Remove declaration.
7788 (org-info): Use info rather than Info-goto-node.
7790 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7791 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7793 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7795 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7798 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7799 (vc-finish-logentry): Check for vc-status-mode, not only for
7802 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7804 * isearch.el (isearch-printing-char): Don't check
7805 keyboard-coding-system.
7806 Call isearch-process-search-multibyte-characters only when
7807 current-input-method is non-nil.
7809 2008-02-27 Kim F. Storm <storm@cua.dk>
7811 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7812 (glyph-char, glyph-face): Handle cons encoding.
7814 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7816 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7817 empty string, return nil to allow the caller to default to the
7818 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7820 * tool-bar.el (tool-bar-setup): Doc fix.
7822 * mail/supercite.el (sc-describe):
7823 Fix typos in obsolescence declaration.
7825 2008-02-27 Glenn Morris <rgm@gnu.org>
7827 * autoinsert.el (auto-insert-alist): Change permission text to
7828 match FSF's GPLv3 form.
7830 * mail/supercite.el (sc-cite-original): Doc fix.
7831 (sc-version): Make obsolete.
7832 (sc-describe): Show the SC info page. Make obsolete.
7834 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7837 when using transient-mark-mode.
7838 (default-indicate-unused-lines): Remove unused var.
7840 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7842 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7845 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7847 2008-02-26 Glenn Morris <rgm@gnu.org>
7849 * net/net-utils.el (top-level): Don't require comint when compiling.
7850 (nslookup-font-lock-keywords): Don't require font-lock.
7851 Use font-lock faces rather than variables.
7852 (nslookup, ftp, smbclient, network-service-connection):
7853 Don't require comint.
7854 (comint-prompt-regexp, comint-input-autoexpand)
7855 (comint-input-ring): Declare for compiler.
7856 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7857 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7859 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7862 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * doc-view.el (doc-view-current-page): Add a `win' argument.
7866 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7869 Demote it to plain defvar.
7870 (doc-view-conversion-refresh-interval): Reduce interval.
7871 (doc-view-goto-page): Allow moving to pages not yet rendered.
7872 (doc-view-goto-page): Construct a file name rather than extracting it
7873 from doc-view-current-files.
7874 (doc-view-kill-proc): Ignore errors from kill-process.
7875 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7876 (doc-view-insert-image): Use appropriate text if the page hasn't been
7877 rendered yet. Adjust scrolling so the text is displayed.
7878 (doc-view-display): Detect not just that a page is available, but also
7879 that it wasn't available before, so as to avoid refreshing all pages
7881 (doc-view-mode): Make doc-view-cache-directory if needed.
7883 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7885 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7888 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7889 refering to a missing required field with the OPT prefix.
7890 Make unwindform more robust.
7892 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7893 it duplicates the bibtex support in progmodes/hideshow.el.
7894 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7895 entries that do not start at the beginning of a line.
7897 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7899 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7901 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7903 * help-fns.el (describe-variable): Add phrases about
7904 initialization file with and without customization;
7905 use new button type help-info-variable.
7907 * help-mode.el (help-info-variable):
7908 New button able to read Info files for help-fns.el.
7910 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7912 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7913 (grep-mode): Use grep-mode-tool-bar-map.
7915 * progmodes/compile.el (tool-bar): Require tool-bar.
7916 (compilation-mode-tool-bar-map): New variable.
7917 (compilation-mode): Use compilation-mode-tool-bar-map.
7919 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7921 2008-02-25 Glenn Morris <rgm@gnu.org>
7923 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7925 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * diff-mode.el (diff-file-junk-re): New const.
7928 (diff-beginning-of-file-and-junk): Use it.
7929 (diff-file-kill): Make sure we were really inside a file diff.
7931 * diff-mode.el: Make it more robust in the presence of empty context
7932 lines in unified hunks.
7933 (diff-valid-unified-empty-line): New var.
7934 (diff-unified->context, diff-sanity-check-hunk): Obey it.
7935 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
7936 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7937 (diff-hunk-header-re-unified): New const.
7938 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7939 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7940 (diff-sanity-check-hunk): Use it.
7942 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7943 Index: line, don't search backward for the previous one.
7945 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
7947 * international/fontset.el (setup-default-fontset): Add non-OTF
7948 lao font for lao script.
7950 * language/tibetan.el: Register tibetan-composition-function in
7951 composition-function-table.
7953 * language/tibet-util.el (tibetan-composition-function):
7954 Adjust for the new calling way (argument changed). Try font-shape-text
7957 * language/lao.el: Register lao-composition-function in
7958 composition-function-table.
7960 * language/lao-util.el (lao-composition-function): Adjust for the new
7961 calling way (argument changed). Try font-shape-text if possible.
7963 2008-02-25 Jason Rumney <jasonr@gnu.org>
7965 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7967 2008-02-25 Juri Linkov <juri@jurta.org>
7969 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7970 background, "red4" for a dark background, "red" for 16 and
7971 8 colors, "grey" for grayscale, and inverse video otherwise.
7973 (isearch-message): Keep the original isearch-message intact, and
7974 add text properties to it where necessary. Add `isearch-error' to
7975 the condition that checks if isearch is unsuccessful.
7977 2008-02-24 Juri Linkov <juri@jurta.org>
7979 * progmodes/compile.el (compilation-handle-exit):
7980 Use compilation-error face instead of font-lock-warning-face.
7981 Display the same message in the minibuffer as is inserted
7982 at the end of the compilation buffer.
7984 2008-02-24 Glenn Morris <rgm@gnu.org>
7986 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7989 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7991 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7992 multiple file case. Use a single `let' rather than two.
7994 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7996 * progmodes/compile.el (compilation-start): Specify a face for
7998 (compilation-handle-exit): Specify a face and a tooltip for
8001 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8003 * hilit-chg.el: Remove spurious * in defcustom docstrings.
8004 (hilit-chg-make-ov): Simplify.
8005 (hilit-chg-fixup): Use remove-overlays.
8006 (hilit-chg-set-face-on-change): Remove redundant call to
8007 `remove-text-properties'.
8009 * dired.el (dired-mark-prompt): Don't count/display the t element.
8010 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
8012 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8014 * progmodes/verilog-mode.el (eval-when-compile): Don't define
8016 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
8017 Remove. Move contents to the only use ...
8018 (verilog-menu): ... here.
8019 (verilog-statement-menu): Remove. Move contents to the only use ...
8020 (verilog-stmt-menu): ... here.
8021 (verilog-mark-defun): Simply call mark-defun for emacs.
8022 (occur-pos-list): Declare for byte compiler.
8023 (mode-popup-menu): Don't defvar.
8024 (verilog-add-statement-menu): Remove.
8025 (verilog-mode-hook): Don't add verilog-add-statement-menu.
8026 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
8028 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8030 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
8032 (verilog-font-grouping-keywords-face): Make the begin..end
8033 keywords standout more than other verilog keywords.
8034 (verilog-type-font-keywords): Move the begin..end out of this list
8035 to facilitate making them to (potentially) stand out more.
8036 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
8037 function & task blocks.
8038 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
8039 initial, function & task blocks.
8040 (verilog-forward-sexp): Handle the new "disable fork" statement of
8042 (verilog-beg-block-re-ordered): Handle the new "disable fork"
8043 statement of IEEE-1800 Verilog.
8044 (verilog-calc-1): Handle the new "disable fork" statement of
8046 (verilog-disable-fork-re): Add const to help handle the new
8047 "disable fork" statement of IEEE-1800 Verilog.
8048 (verilog-declaration-core-re): Add port directions by themselves,
8049 with no qualification, as base item of a declaration.
8050 (verilog-pretty-declarations): Add new flag to ask it to refrain
8051 from printing to the message buffer.
8052 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
8053 printing to the message buffer. Improve handling of the many
8054 types of expression line up.
8055 (verilog-just-one-space): Remove printing of an empty message.
8056 (verilog-get-lineup-indent): Rework to support the better handling
8057 of expression lineup for verilog-pretty-expr.
8058 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8060 2008-02-24 Alan Mackenzie <acm@muc.de>
8062 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
8065 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8067 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
8068 to mouse-set-point in buffers that aren't associated with files.
8070 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
8072 2008-02-24 Alan Mackenzie <acm@muc.de>
8074 Set of changes so that "obtrusive" syntactic elements in a
8075 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
8076 unmatched paren) don't interact syntactically with stuff outside
8079 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
8080 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
8082 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
8083 a bit of refactoring.
8084 (c-awk-extend-and-syntax-tablify-region): Takes some of the
8085 functionality of c-awk-advise-fl-for-awk-region, which has been
8088 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
8089 (c-clear-char-property-with-value): New function and macro which
8090 remove text-properties `equal' to a supplied value.
8092 * progmodes/cc-engine.el: Comment about text properties amended.
8094 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
8095 parens around "error\\|warning".
8097 * progmodes/cc-langs.el (c-get-state-before-change-function)
8098 (c-before-font-lock-function, c-anchored-cpp-prefix):
8099 New language variables.
8100 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
8102 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
8103 syntax-table text properties.
8104 (c-common-init): Call language specific before/after-change
8105 functions at mode initialisation.
8106 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
8107 (c-extend-region-for-CPP, c-neutralize-CPP-line)
8108 (c-neutralize-syntax-in-CPP): New functions.
8109 (c-before-change, c-after-change): Call the new language specific
8110 change functions defined in cc-langs.el.
8111 (c-advise-fl-for-region): New macro.
8112 (awk-mode): Remove AWK specific stuff which has been refactored
8113 into language independent stuff.
8115 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8117 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
8118 (gdb): (Re)set gdb-flush-pending-output to nil here...
8119 (gdb-init-1): ...instead of here (before gdb-prompt).
8121 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8123 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
8124 Recognize ''' just like any other char-constant.
8126 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
8129 careful enough. Detect the uid-change all within the main loop.
8131 2008-02-24 Stefan Monnier <monnier@pastel.home>
8133 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
8135 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * hilit-chg.el (highlight-save-buffer-state): New macro.
8138 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
8139 (hilit-chg-clear): Use it to preserve the modified-p flag.
8140 (highlight-changes-rotate-faces): Don't mess with the undo-list.
8142 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * font-lock.el (font-lock-set-defaults): Unset previously set variables
8147 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
8149 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
8150 from gnus-button-url-regexp.
8152 2008-02-24 Eli Zaretskii <eliz@gnu.org>
8154 * progmodes/compile.el (compilation-next-error): Doc fix.
8155 (compilation-find-file): Doc fix.
8157 2008-02-24 Glenn Morris <rgm@gnu.org>
8159 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8160 Add obsolete aliases to the old names.
8162 2008-02-24 Richard Stallman <rms@gnu.org>
8164 * net/net-utils.el (ifconfig): Rename from ipconfig.
8165 (ipconfig): Alias to ifconfig.
8166 (ifconfig-program): Rename from ipconfig-program.
8167 (ifconfig-program-options): Rename from ipconfig-program-options.
8169 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8171 * progmodes/verilog-mode.el (verilog-declaration-core-re):
8172 Add port directions by themselves, with no qualification, as base
8173 item of a declaration.
8174 (verilog-pretty-declarations): Add new flag that inhibits printing
8175 to the message buffer.
8176 (verilog-pretty-expr): Add new flag that inhibits printing to the
8177 message buffer. Improve handling of the many types of expression
8179 (verilog-just-one-space): Don't print an empty message.
8180 (verilog-get-lineup-indent): Rework to support the better handling
8181 of expression lineup for verilog-pretty-expr.
8182 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8183 (verilog-mode-version, verilog-mode-release-date): Update.
8185 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * subr.el (cancel-change-group): Don't move point.
8189 2008-02-23 Markus Triska <markus.triska@gmx.at>
8191 * linum.el (linum-after-config): Update all visible windows.
8193 2008-02-23 Glenn Morris <rgm@gnu.org>
8195 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8196 Add :help for Solitaire and Tetris.
8198 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8200 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8201 (smtpmail-code-conv-from): Doc fix. Fix custom type.
8202 (smtpmail-queue-index-file): Make it a defcustom.
8203 (smtpmail-queue-index): Delete.
8204 (smtpmail-send-it, smtpmail-send-queued-mail):
8205 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8206 smtpmail-queue-index.
8208 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8211 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
8213 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8215 (iwconfig): New function.
8217 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
8219 * vc.el (vc-find-revision): Make vc-parent-buffer local before
8221 (vc-status-menu-map): Do not define using easy-menu.
8222 (vc-status-menu-map): New defalias.
8223 (vc-status-mode-map): Hook up the menu.
8224 (top-level): Update TODO.
8226 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8228 * vc-bzr.el (vc-bzr-init-version): Rename to ...
8229 (vc-bzr-init-revision): ... this.
8231 2008-02-23 Jason Rumney <jasonr@gnu.org>
8233 * makefile.w32-in (WINS_ALMOST): Remove term.
8234 (WINS): Add term here.
8235 (custom-deps, finder-data): Use WINS_ALMOST.
8237 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
8239 * faces.el (font-weight-table): Fix value of `semi-light'.
8241 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8244 Make those tables bijective.
8246 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
8248 Finish pdbtrack integration cleanup, settling missing-functions
8249 byte compiler warnings appropriately.
8251 * progmodes/python.el (python-point): Remove this - beginning-of-line
8252 was all that was necessary for `python-pdbtrack-overlay-arrow'.
8253 (python-end-of-def-or-class, python-beginning-of-def-or-class)
8254 (python-goto-initial-line): Drop these - they were only needed for
8256 (python-comint-output-filter-function): Use condition-case and
8257 beginning-of-line directly, instead of python-mode.el functions
8258 which require all sorts of baggage.
8259 (point-safe): Unnecessary - we're using condition-case directly,
8261 (python-execute-file): Include for python-shell, which I'm leaving
8262 in keeping despite it being unnecessary for pdb tracking.
8264 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
8266 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8267 Add SRFI 11 support.
8268 (let-values, let*-values): Specify scheme-indent-function.
8270 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
8272 * vc.el (vc-exec-after): Move setting mode-line-process in the
8274 (vc-set-mode-line-busy-indicator): ... in this new function.
8275 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8276 (vc-update-vc-status-buffer): Reset mode-line-process.
8277 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8278 mark/unmark all the files with the same state as the current one.
8279 With a prefix argument mark/unmark all files.
8280 (vc-status-mode-menu): Adjust strings.
8281 (vc-update-vc-status-buffer): Only do something when the argument
8283 (vc-status-kill-dir-status-process): New function.
8284 (vc-status-mode-map): Bind it.
8285 (vc-status-process-buffer): New variable.
8286 (vc-status-mode): Make it local.
8287 (vc-status-refresh): Set it.
8289 * vc-hg.el (vc-hg-dir-status):
8290 * vc-git.el (vc-git-dir-status):
8291 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8294 2008-02-22 Glenn Morris <rgm@gnu.org>
8296 * json.el (top-level): No need to require thingatpt.
8297 (json-read-keyword): Use thing-at-point rather than word-at-point.
8299 * time.el (top-level): No need to require time-date when compiling.
8301 * emacs-lisp/copyright.el (copyright-update-year):
8302 Fix subexpression numbering for the case when years are split over
8303 lines, and for the replace case.
8305 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
8306 (tpu-caar, tpu-cadr): Delete functions.
8307 (zmacs-regions): No need to declare for compiler.
8308 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8309 (tpu-spell-check): Rewrite, and handle mark after point.
8310 (tpu-special-insert): Use or rather than if.
8312 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8313 rather than spell-region.
8315 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8316 warnings about spell-region.
8318 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
8320 * ldefs-boot.el: Regenerated.
8322 * loadup.el: Don't load language/devanagari, language/kannanda,
8323 language/malayalam, and language/tamil. Load language/sinhala.
8325 * language/indian.el (indian-font-foundry)
8326 (indian-script-language-alist, indian-font-char-index-table)
8327 (indian-font-char, indian-font-char-range, indian-script-table)
8328 (indian-default-script, indian-composable-pattern): Delete them.
8329 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8330 language environments moved to here.
8331 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8332 New language environments.
8334 * language/devanagari.el, language/devan-util.el,
8335 * language/kannanda.el, language/knd-util.el, language/malayalam.el,
8336 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8339 * language/sinhala.el: New file.
8341 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
8343 Update Nick Robert's port of pdb tracking from python-mode.el.
8345 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8347 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8348 tracking is happening.
8349 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8350 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8351 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8352 Tracking is plugged in to all comint buffers once python.el is loaded.
8353 (python-pdbtrack-overlay-arrow): Toggle activation of
8354 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8355 (python-pdbtrack-track-stack-file): Use new
8356 `python-pdbtrack-get-source-buffer' for more flexible access to
8357 debugging source files.
8358 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8359 according to pdb stack trace, optionally using new
8360 `python-pdbtrack-grub-for-buffer' if file is not locally available.
8361 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8362 named buffer, or having function with indicated name.
8363 (python-shell): Remove comint-output-filter-functions hook
8364 addition, it's being done elsewhere. Wrap long line.
8366 2008-02-21 Michael Olson <mwolson@gnu.org>
8368 * json.el: Replace XEmacs compatibility code to get rid of
8371 * time.el: Fix compiler warning.
8373 2008-02-21 Edward O'Connor <ted@oconnor.cx>
8375 * json.el: New file (JavaScript Object Notation parser / generator).
8377 2008-02-21 Dave Love <fx@gnu.org>
8379 * progmodes/sym-comp.el: New file.
8381 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8382 Require sym-comp. Add Python buffer to same-window-buffer-names.
8384 (python-font-lock-keywords): Add highlighting for Python builtins.
8385 (python-font-lock-syntactic-keywords): Rewrite.
8386 (python-quote-syntax): Use syntax-ppss-context instead of parsing
8388 (python-mode-map): Add binding for python-find-function.
8389 (python-calculate-indentation): Clean up the logic.
8390 (python-beginning-of-defun): Explicitly set return value.
8391 (python-beginning-of-statement): Stop looping if we get stuck
8393 (python-next-statement): Stop looping if we somehow end up inside
8394 a string while advancing.
8395 (python-preoutput-continuation, python-version-checked): New vars.
8396 (python-check-version): New function.
8397 (run-python): Set default command to python-command instead of
8398 python-python-command.
8399 (run-python): Use python-check-version. Give PYTHONPATH
8400 precedence over data-directory in the process environment.
8401 Load function definitions in python process after.
8402 (python-check-comint-prompt): New function.
8403 (python-send-command, python-send-receive): Use it.
8404 (python-complete-symbol, python-try-complete): Functions deleted.
8405 Use symbol-complete instead of python-complete-symbol throughout.
8406 (python-fill-paragraph): Further refine the fenced-string regexp.
8407 (def-python-skeleton): Expand to the original abbrev instead if in
8408 a comment or string. Tweak skeletons for `if', `while', `for',
8409 `try/except', `try/finally', `name'.
8410 (python-pea-hook, python-abbrev-pc-hook): New functions.
8411 (python-abbrev-syntax-table): New var.
8412 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8413 Use symbol-completion-try-complete for hippie expansion.
8414 Turn on font lock unconditionally.
8415 (python-mode-hook): Defcustom it. No need to use make-local
8416 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8417 option, since it's buffer-local.
8419 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
8421 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8423 2008-02-21 Drew Adams <drew.adams@oracle.com>
8425 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8426 "Turn off" and a "Help" entry when the minor mode has no menu.
8428 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
8430 * vc.el (vc-status-mark, vc-status-unmark): New functions.
8431 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8432 vc-status-mark-file and vc-status-unmark-file.
8433 (vc-status-mark-unmark): New function.
8434 (vc-status-previous-line, vc-status-next-line): No longer interactive.
8436 2008-02-21 Glenn Morris <rgm@gnu.org>
8438 * composite.el (encode-composition-rule): Fix typo in error message.
8439 (composition-function-table, auto-composition-mode): Doc fixes.
8441 * subr.el (sit-for): Fix obsolete form for nil second argument.
8443 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8444 (spell-string): Make obsolete, in favor of ispell.
8446 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8448 * language/devanagari.el: Don't setup composition-function-table
8450 ("Devanagari"): Change charset, coding-system, coding-priority to
8451 Unicode-based ones. Don't require the feature devan-util.
8453 * composite.el (compose-chars-after): Fix arguments for a function
8454 in composition-function-table.
8455 (auto-compose-region): Likewise.
8457 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8459 (ps-mule-plot-string): Ignore glyph-string based compositions.
8461 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * doc-view.el: Allow different windows to show different pages.
8464 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8465 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8466 add them back as macros instead, using image-mode-winprops instead.
8467 Update all users of those variables.
8468 (doc-view-new-window-function): New function to create a new overlay
8469 for each new window.
8470 (doc-view-mode): Use it and image-mode-setup-winprops.
8471 (doc-view-clone-buffer-hook): Rewrite accordingly.
8473 * image-mode.el: Extend [hv]scroll support to per-window properties.
8474 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8475 (image-mode-winprops-alist): New var to replace them.
8476 (image-mode-new-window-functions): New hook.
8477 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8479 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8480 Remove the `window' argument, update callers.
8481 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8482 Use the new functions.
8483 (image-mode-reapply-winprops): New fun.
8484 (image-mode): Use it.
8486 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8488 * calc/calc-math.el (math-sin-raw): Add optional argument
8489 to keep track of original argument.
8490 (math-cos-raw): Use optional argument when calling math-sin-raw.
8491 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8492 with close to original precision.
8494 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8496 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8497 args in calls of sit-for.
8499 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8501 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8502 (vc-svn-checkin): Fix typo in error message.
8504 * help-mode.el: Require easymenu when compiling.
8506 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8508 * help-mode.el (help-mode-menu): New menu.
8510 2008-02-20 Glenn Morris <rgm@gnu.org>
8512 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8515 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8517 * ps-mule.el (ps-mule-encode-region): Return a single string.
8518 (ps-mule-plot-string): Adjust for the above change.
8519 (ps-mule-encode-header-string): Likewise.
8521 * international/latin1-disp.el (latin1-display): Don't use
8522 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8523 standard-display-table.
8524 (latin1-display-identities): Adjust for the change of what is
8525 returned by (get-language-info charset 'charset).
8527 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8528 characters and terminal case.
8530 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8532 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8534 * progmodes/python.el: Also require comint when loading.
8535 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8536 Replace python-shell with run-python on menu bar.
8537 (python-shell-map): New map.
8538 (python-default-interpreter, python-python-command-args)
8539 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8541 (python-which-shell, python-which-args, python-which-bufname):
8542 New buffer local variables.
8543 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8545 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8546 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8551 (python-point, python-end-of-def-or-class)
8552 (python-beginning-of-def-or-class, python-goto-initial-line)
8553 (python-comint-output-filter-function)
8554 (python-pdbtrack-overlay-arrow)
8555 (python-pdbtrack-track-stack-file, python-toggle-shells)
8556 (python-shell, python-pdbtrack-toggle-stack-tracking)
8557 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8560 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8562 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8563 when the argument is nil.
8565 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8567 * vc.el (dir-status): Add a brief description.
8569 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8571 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8572 If non-nil, reverse the sense of the check.
8574 * vc-rcs.el (vc-rcs-root): New func.
8575 * vc-cvs.el (vc-cvs-root): New func.
8576 * vc-svn.el (vc-svn-root): New func.
8577 * vc-sccs.el (vc-sccs-root): New func.
8579 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8581 * language/japan-util.el (setup-japanese-environment-internal):
8582 Call use-cjk-char-width-table.
8584 * language/japanese.el ("Japanese"): Set exit-function to
8585 use-default-char-width-table.
8587 * international/characters.el: Delete occurrences of non-Unicode
8588 tibetan and ethiopic characters.
8589 (cjk-char-width-table): New variable.
8590 (use-cjk-char-width-table, use-default-char-width-table):
8593 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8595 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8596 (vc-status-mode-menu): Add a :filter.
8597 (vc-status-printer): Add faces.
8599 * vc-hg.el (vc-hg-extra-status-menu): New function.
8600 (vc-hg-dir-status): Clean up the buffer before using it.
8602 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8604 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8605 (gdb): Initialize it here instead.
8607 * files.el (locate-dominating-file): Fix thinko in last change.
8608 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8610 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8612 * vc.el (vc-status-mode-menu): New menu for vc-status.
8614 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8616 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8617 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8618 (verilog-mode-auto, verilog-indent-level-module)
8619 (verilog-minimum-comment-distance, verilog-library-flags)
8620 (verilog-library-directories, verilog-library-files)
8621 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8622 (verilog-xemacs-menu, verilog-set-compile-command)
8623 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8624 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8625 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8626 (verilog-batch-inject-auto, verilog-batch-indent)
8627 (verilog-continued-line, verilog-type-keywords)
8628 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8629 (verilog-read-inst-pins, verilog-read-arg-pins)
8630 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8631 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8632 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8633 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8634 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8635 (verilog-mode-version, verilog-mode-release-date)
8636 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8637 (verilog-simulator, verilog-compiler)
8638 (verilog-auto-sense-defines-constant, verilog-company)
8639 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8640 Fix typos in docstrings.
8641 (verilog-set-auto-endcomments, verilog-calculate-indent)
8642 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8644 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8645 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8646 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8647 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8648 (verilog-leap-to-head, verilog-current-indent-level)
8649 (verilog-case-indent-level, verilog-cpp-keywords)
8650 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8651 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8652 (verilog-signals-not-in, verilog-symbol-detick-text)
8653 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8654 (verilog-forward-close-paren, verilog-backward-open-paren)
8655 (verilog-backward-open-bracket): Doc fixes.
8657 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8658 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8659 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8660 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8661 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8662 Fix typos in docstrings.
8664 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8666 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8668 * info.el (Info-read-node-name): Removed unused `default' arg.
8670 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8672 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8674 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * image-mode.el (image-get-display-property): New fun.
8677 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8678 (image-mode, image-minor-mode, image-toggle-display-text)
8679 (image-toggle-display): Use it.
8681 2008-02-18 Jason Rumney <jasonr@gnu.org>
8683 * international/mule.el (xml-find-file-coding-system): Don't warn
8684 about utf-16 with BOM.
8686 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8688 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8689 warn if file encoding is not utf-8 and encoding not specified.
8690 (xml-find-file-coding-system): New function.
8691 * international/mule-conf.el (file-coding-system-alist): Use it.
8693 2008-02-17 Glenn Morris <rgm@gnu.org>
8695 * international/mule-cmds.el (set-locale-environment):
8696 Pass `frame' to getenv for LC_MESSAGES.
8698 2008-02-17 Juri Linkov <juri@jurta.org>
8700 * time.el (emacs-init-time): Use format instead of format-seconds.
8702 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8704 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8705 bibtex-find-entry. Add autoload cookie.
8706 (bibtex-find-entry): Alias for bibtex-search-entry.
8707 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8708 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8709 (bibtex-clean-entry): atomic-change-group removed.
8710 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8711 to locate buffer location where error occurred.
8712 Make error messages more specific.
8713 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8715 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8717 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8720 * simple.el (transient-mark-mode): Add an :init-value.
8722 * startup.el (command-line): Use custom-reevaluate-setting for
8723 transient-mark-mode.
8725 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8727 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8729 2008-02-16 Juri Linkov <juri@jurta.org>
8731 * startup.el (after-init-time): New variable.
8732 (command-line): Set `after-init-time' to the current time.
8734 * time.el (emacs-init-time): New function.
8736 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8738 * files.el (locate-dominating-file): Remove initial loop because it's
8739 not careful enough. Detect the uid-change all within the main loop.
8741 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8743 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8745 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8747 * vc.el (vc-annotate): Add new argument.
8748 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8750 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8751 Move make-variable-buffer-local code after the corresponding defvar.
8752 (hs-minor-mode-map): Define and initialize in one step.
8753 (hs-minor-mode): Change from defun to define-minor-mode.
8755 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8757 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8758 (gdb-ready): Move declaration...
8760 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8761 (gdb-early-user-input): New variable.
8762 (gdb): Reset gdb-flush-pending-output to nil and set
8763 comint-input-sender here (before gdb-prompt), instead of...
8764 (gdb-init-1): ...here.
8765 (gdb-send): If Emacs is not ready, defer user input to...
8766 (gdb-prompt): ...here.
8768 2008-02-16 Glenn Morris <rgm@gnu.org>
8770 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8772 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8773 (before-init-time): New name for `emacs-startup-time'.
8774 (command-line): Use before-init-time rather than emacs-startup-time.
8775 * time.el (emacs-uptime): Use before-init-time rather than
8778 * composite.el (composition-function-table): Doc fix.
8780 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8781 in favor of `%z' specifier.
8782 (emacs-uptime): Move to time.el.
8783 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8784 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8785 argument of format-seconds.
8787 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8789 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8791 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8793 * ielm.el (ielm-is-whitespace): Remove.
8794 (ielm-is-whitespace-or-comment): New function.
8795 (ielm-eval-input): Use it.
8797 2008-02-15 Jason Rumney <jasonr@gnu.org>
8799 * term/mac-win.el: Fix coding tag.
8801 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8803 * vc-hooks.el (vc-menu-map):
8804 * bindings.el (mode-line-mode-menu): Add tooltips.
8806 * bindings.el (help-echo): Add more tooltips. Use a less
8807 telegraphic style for existing tooltips.
8809 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8811 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8812 from the auto-generated one.
8814 2008-02-14 Glenn Morris <rgm@gnu.org>
8816 * mail/rmail-spam-filter.el (rmail-spam-filter):
8817 Let-bind message-spam-status.
8819 * mail/smtpmail.el (password-cache-add): Declare as function.
8821 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8823 * mail/smtpmail.el: Use password-cache.
8825 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8827 * uniquify.el (uniquify-buffer-base-name): New function.
8828 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8830 * desktop.el (uniquify-managed): Don't defvar.
8831 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8832 `uniquify-managed'. Return also the buffer's base name.
8833 (desktop-save): When saving the buffer info, filter out the base name,
8834 and save it as buffer name if the buffer is managed by uniquify.
8835 (uniquify-item-base): Don't declare; not called anymore.
8837 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8839 * vc.el (vc-annotate-find-revision-at-line): New function.
8840 (vc-annotate-mode-map): Bind it.
8841 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8844 2008-02-14 Glenn Morris <rgm@gnu.org>
8846 * calendar/time-date.el (format-seconds): New function.
8847 (emacs-uptime): Use format-seconds.
8849 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8850 Remove `LC_ALL=C', since it's included in $(emacs) now.
8852 2008-02-14 Zhang Wei <id.brep@gmail.com>
8854 * textmodes/org-publish.el (org-publish-timestamp-filename):
8855 Replace colon characters in filename too.
8857 2008-02-13 Bastien Guerry <bzg@altern.org>
8859 * mail/rmail.el (rmail-header-name): New face.
8860 (rmail-font-lock-keywords): Use rmail-header-name.
8862 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8863 against X-Spam-Status header field.
8864 (rmail-spam-filter): Also check X-Spam-Status header field.
8866 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8868 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8869 Add support for .pm files and .php files.
8870 (flymake-err-line-patterns): Add pattern for PHP errors.
8871 (flymake-php-init): New function. PHP support for flymake.
8873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8874 Add regular expression for PHP errors.
8876 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8878 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8879 This DTRT even on w32 machines.
8880 (ange-ftp-cf1): Quote FILENAME.
8882 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8885 (smerge-auto-combine): New fun.
8887 2008-02-12 Juri Linkov <juri@jurta.org>
8889 * startup.el (fancy-startup-screen, normal-splash-screen):
8890 Set default-directory to command-line-default-directory.
8892 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8893 after reading the desktop.
8895 * progmodes/compile.el (compilation-auto-jump):
8896 Call compile-goto-error only when compilation-auto-jump-to-first-error
8898 (compilation-scroll-output): Replace :type 'boolean with a choice
8899 that has three options including a third option `first-error'.
8901 (compilation-start, compilation-forget-errors): Add an alternate
8902 condition comparing compilation-scroll-output with `first-error'
8903 in addition to compilation-auto-jump-to-first-error (to call
8904 compilation-auto-jump in the proper place).
8906 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * international/mule.el (sgml-html-meta-auto-coding-function):
8909 Make sure the search limit is ahead.
8911 * tar-mode.el: Fix broken indentation.
8912 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8913 Use with-current-buffer.
8915 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8917 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8918 it is already automatically buffer-local.
8920 2008-02-11 Drew Adams <drew.adams@oracle.com>
8922 * help.el (describe-key): Join some split lines to facilitate filling.
8923 * help-fns.el (describe-function-1): Fill text of overlong lines.
8925 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8927 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8928 Use unibyte-string instead of string-make-unibyte.
8930 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8932 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8934 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8935 works also for buffers w/o buffer-file-name. Update callers.
8936 (doc-view-clone-buffer-hook): New fun.
8937 (doc-view-mode): Use it for indirect clones. Mark the overlays with
8938 the `doc-view' property so they can be recognized.
8940 * simple.el (clone-indirect-buffer-hook): New hook.
8941 (clone-indirect-buffer): Run it.
8943 2008-02-11 Daiki Ueno <ueno@unixuser.org>
8945 * epa.el (epa-menu-mode): Merge into epa-mode.
8946 (epa-menu-items): Rename the label "EasyPG Assistant" to
8947 "Encryption/Decryption".
8949 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8950 (epa-dired-mode-map): Rename from epa-dired-map.
8951 (epa-global-dired-mode): Rename the global minor mode.
8953 2008-02-11 Drew Adams <drew.adams@oracle.com>
8955 * isearch.el (isearch-fail): New face.
8956 (isearch-message): Highlight failure part of input.
8958 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * ibuffer.el (ibuffer-header-line-format): New var.
8961 (ibuffer-mode): Set it instead of header-line-format.
8962 (ibuffer-update): Use it to set header-line-format.
8964 * international/mule-cmds.el (ucs-insert): Inherit surrounding
8965 properties like self-insert-command.
8967 2008-02-11 Drew Adams <drew.adams@oracle.com>
8969 * progmodes/etags.el: Add many doc strings.
8971 2008-02-11 Jason Rumney <jasonr@gnu.org>
8973 * ldefs-boot.el: Regenerated.
8975 2008-02-11 Glenn Morris <rgm@gnu.org>
8977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8980 * ffap.el (ffap-rfc-directories): Add :version.
8982 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
8984 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8985 files, and backup files of same.
8987 2008-02-11 Kevin Ryde <user42@zip.com.au>
8989 * ffap.el (ffap-rfc-directories): New variable.
8990 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8992 * info.el (Info-next-reference, Info-prev-reference)
8993 (Info-try-follow-nearest-node): Move to and follow https:// links too.
8995 * simple.el (completion-list-mode): Show full completion-list-mode-map
8998 2008-02-11 Sam Steingold <sds@gnu.org>
9000 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
9002 2008-02-11 Glenn Morris <rgm@gnu.org>
9004 * startup.el (emacs-startup-time): New variable.
9005 (command-line): Set emacs-startup-time.
9007 * calendar/time-date.el (emacs-uptime): New function.
9009 2008-02-10 Bastien Guerry <bzg@altern.org>
9011 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
9012 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
9015 2008-02-10 Daiki Ueno <ueno@unixuser.org>
9017 * epg-config.el: Expand the contents of epg-package-info.el.
9018 (epg-package-name): New constant.
9019 (epg-version-number): New constant.
9020 (epg-bug-report-address): New constant.
9022 * epa-mail.el (epa-mail-mode): Add autoload cookie.
9023 (epa-global-mail-mode): New global minor mode.
9025 * epa-file.el (epa-file-mode): New global minor mode.
9027 * epa-dired.el (epa-dired-mode): New global minor mode.
9029 * epa.el (epa-menu): New variable.
9030 (epa-menu-items): New variable.
9031 (epa-menu-mode): New global minor mode.
9032 (epa-global-minor-modes): New user option.
9033 (epa-mode): New global minor mode.
9035 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
9037 * net/dbus.el: Remove `no-byte-compile' cookie.
9038 (dbus-call-method, dbus-register-signal, dbus-debug)
9039 (dbus-registered-functions-table): Declare them with
9040 `declare-function' or `defvar', respectively.
9041 (top): Don't assert any longer. Require 'cl when compiling.
9042 Apply `ignore-errors' but `dbus-ignore-errors'.
9044 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9046 * diff-mode.el (diff-add-change-log-entries-other-window):
9047 Use add-change-log-entry.
9049 2008-02-09 Jason Rumney <jasonr@gnu.org>
9051 * button.el (button-map):
9052 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
9053 * ldefs-boot.el: Regenerate.
9055 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
9057 * epa.el (epa-faces, epa):
9058 * epa-file.el (epa-file):
9059 * epg-config.el (epg): Add :version.
9061 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
9063 * vc.el (vc-exec-after): Append CODE to previous fragments.
9064 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
9065 take MESSAGES instead of VERBOSE; use it when non-nil.
9066 (vc-diff-internal): Compute messages once; use them;
9067 update call to vc-diff-finish.
9069 2008-02-09 Michael Olson <mwolson@gnu.org>
9071 * net/tramp.el (tramp-process-sentinel): Avoid error when process
9072 buffer has been killed, such as by
9073 `tramp-cleanup-all-connections'.
9075 2008-02-09 Miles Bader <miles@gnu.org>
9077 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
9079 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
9082 splitter in context hunks.
9084 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
9086 * international/fontset.el (setup-default-fontset): Fix arabic otf
9089 2008-02-08 Daiki Ueno <ueno@unixuser.org>
9097 * epg-package-info.el:
9098 * epg.el: Initial check-in of EasyPG.
9100 2008-02-08 Glenn Morris <rgm@gnu.org>
9102 * woman.el (woman-locale): New defcustom.
9103 (woman-expand-locale, woman-manpath-add-locales): New functions.
9104 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
9106 * international/mule-cmds.el (locale-translate): New function,
9107 with old code extracted from set-locale-environment.
9108 (set-locale-environment): Use locale-translate. Set woman-locale.
9110 * cus-start.el (selection-coding-system): Remove, since it's now
9111 defined in select.el rather than in xselect.c.
9112 * select.el (selection-coding-system): Make it a defcustom, and
9113 add the properties from cus-start.el. Bump :version.
9115 * custom.el (custom-theme-set-variables): Sort symbols that are
9116 dependencies before symbols that depend on them.
9117 (custom-enabled-themes): Set after custom-theme-directory.
9119 * pcmpl-unix.el (top-level): Move provide statement to end.
9120 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
9121 `*' from doc-string. Allow to be nil.
9122 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
9123 Allow to be nil. Add :version.
9124 (pcmpl-ssh-hosts): Move definition before use. Handle lines
9125 without hostnames, and multiple hostnames per line.
9127 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
9129 2008-02-08 Phil Hagelberg <phil@evri.com>
9131 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
9132 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
9134 2008-02-07 Timo Savola <timo.savola@iki.fi>
9136 * startup.el (command-line-x-option-alist): Add --parent-id.
9138 * term/x-win.el (x-handle-parent-id): New function.
9140 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
9142 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
9145 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
9147 * net/dbus.el (dbus-interface-peer): New defconst.
9148 (dbus-ping): New defun.
9150 2008-02-06 Sam Steingold <sds@gnu.org>
9152 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
9154 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9157 Just return nil and let the C code provide a fallback.
9159 2008-02-05 Glenn Morris <rgm@gnu.org>
9161 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9162 tramp-flush-connection-property for removed 2nd argument.
9164 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * diff-mode.el (diff-add-change-log-entries-other-window):
9167 Rename from diff-create-changelog. Change users.
9168 Minor change to hopefully work with plain diffs.
9169 (diff-mode-map): Add binding for it.
9171 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
9173 * diff-mode.el: Add new TODO entry.
9174 (diff-create-changelog): New function.
9175 (diff-mode-menu): Bind it.
9177 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
9179 * international/mule-diag.el (print-fontset-element): Handle the
9180 case of inhibiting the fallback fonts.
9182 2008-02-04 Kim F. Storm <storm@cua.dk>
9184 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9185 (ido-magic-delete-char): Use prefix arg.
9187 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
9189 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9190 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9191 of today, the most recent libpng is 1.2.24).
9193 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
9195 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9197 * net/dbus.el (top): Check (featurep 'dbusbind).
9199 * net/tramp.el (tramp-process-sentinel): New defun.
9200 (tramp-do-copy-or-rename-file-out-of-band)
9201 (tramp-maybe-open-connection): Use it as process sentinel.
9202 (tramp-handle-delete-directory): Don't use the "-f" option; it
9204 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9206 (tramp-handle-shell-command): Set `mode-line-process' in the
9209 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9211 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9212 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9213 Use `tramp-process-sentinel' as process sentinel.
9215 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
9217 * whitespace.el (global-whitespace-mode): Revert last change.
9218 (whitespace-unload-function): Force `global-whitespace-mode'
9219 to deactivate local modes in a slightly less intrusive way.
9221 2008-02-02 Eli Zaretskii <eliz@gnu.org>
9223 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9225 2008-02-02 Glenn Morris <rgm@gnu.org>
9227 * international/latin1-disp.el (latin1-display):
9228 * progmodes/fortran.el (fortran-comment-indent-char):
9229 * progmodes/idlw-shell.el (top-level):
9230 * term/mac-win.el (mac-keyboard-translate-char):
9231 * whitespace.el (whitespace-char-valid-p):
9232 * wid-edit.el (widget-key-sequence-read-event):
9233 Use characterp rather than char-valid-p.
9235 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9236 to capitalized-find-word-boundary. Doc fix. Update callers.
9237 (capitalized-next-word-boundary-function-table): Rename to
9238 capitalized-find-word-boundary-function-table. Doc fix. Update users.
9240 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9243 * ps-def.el (declare-function): Add compatibility definition.
9244 (ps-plot-with-face, ps-plot-string): Declare as functions.
9245 (ps-bold-faces, ps-italic-faces): Declare variables.
9247 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9248 (ps-mule-end-job): Declare as functions.
9250 * wid-edit.el (widget-string-complete): Use assoc-string rather
9251 than assoc-ignore-case.
9253 See ChangeLog.13 for earlier changes.
9257 ;; add-log-time-zone-rule: t
9260 Copyright (C) 2008 Free Software Foundation, Inc.
9262 This file is part of GNU Emacs.
9264 GNU Emacs is free software: you can redistribute it and/or modify
9265 it under the terms of the GNU General Public License as published by
9266 the Free Software Foundation, either version 3 of the License, or
9267 (at your option) any later version.
9269 GNU Emacs is distributed in the hope that it will be useful,
9270 but WITHOUT ANY WARRANTY; without even the implied warranty of
9271 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9272 GNU General Public License for more details.
9274 You should have received a copy of the GNU General Public License
9275 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9277 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc