1 2008-06-05 Sam Steingold <sds@gnu.org>
3 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
4 subdirectory to be registered.
6 2008-06-05 Martin Rudalics <rudalics@gmx.at>
8 * window.el (display-buffer-function, special-display-p)
9 (special-display-buffer-names, special-display-regexps)
10 (special-display-function, same-window-p, same-window-buffer-names)
11 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
12 (pop-up-frame-function, pop-up-windows)
13 (split-window-preferred-function, split-height-threshold)
14 (split-width-threshold, window--splittable-p)
15 (window--try-to-split-window, window--frame-usable-p)
16 (even-window-heights, window--even-window-heights)
17 (window--display-buffer-1, window--display-buffer-2, display-buffer)
18 (pop-to-buffer): Move from window.c and buffer.c.
19 (split-window-preferred-horizontally): Remove.
20 * cus-start.el: Remove corresponding declarations.
22 2008-06-05 Sam Steingold <sds@gnu.org>
24 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
25 an error on modified buffers.
27 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
29 * progmodes/etags.el (tags-verify-table): Be careful to use and update
30 tags-file-name and tags-table-list from the right buffer.
31 (tags-table-check-computed-list, tags-table-extend-computed-list)
32 (find-tag-noselect): Use with-current-buffer.
34 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
37 * minibuffer.el (minibuffer-local-must-match-filename-map):
38 Declare obsolete alias for the old name.
40 * abbrev.el (unexpand-abbrev): Better preserve markers.
42 2008-06-05 Glenn Morris <rgm@gnu.org>
44 * emacs-lisp/autoload.el (autoload-rubric): New function,
45 extracted from autoload-ensure-default-file.
46 (autoload-ensure-default-file): Use autoload-rubric.
48 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
49 (custom-dependencies-no-scan-regexp): New variable.
50 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
51 Don't scan files matching custom-dependencies-no-scan-regexp.
52 Disable undo in the output buffer. Remove kept-new-versions wackiness.
54 * finder.el (finder-headmark): Initialize and add doc string.
55 (generated-finder-keywords-file): Doc fix.
56 (finder-no-scan-regexp): New variable.
57 (finder-compile-keywords): Use a single let binding.
58 Disable undo in the output buffer. Use autoload-rubric.
59 Use mapc rather than mapcar. Don't scan files matching
60 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
61 rather than concat. Use directory-files to do regexp matching.
62 No need to require jka-compr.
63 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
64 (finder-list-matches): Disable undo.
65 (finder-commentary): Use let rather than let*. Disable undo.
66 (finder-current-item): Use zerop.
67 (finder-mode): Use define-derived-mode.
68 (finder-exit): Doc fix. Use dolist.
70 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
71 (custom-deps): Don't require $(lisp)/cus-load.el.
72 (custom-deps, finder-data): Don't depend on autoloads.
73 Should not be needed now, and doing so was causing make install to
74 re-dump emacs post-bootstrap.
75 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
76 mid-build forces some things to be rebuilt.
78 2008-06-05 Miles Bader <miles@gnu.org>
81 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
82 (face-remap-remove-relative): Renamed from
83 `remove-relative-face-remapping'.
84 (face-remap-reset-base): Renamed from
85 `set-default-base-face-remapping'.
86 (face-remap-set-base): Renamed from `set-base-face-remapping'.
87 (text-scale-increase): Renamed from `increase-buffer-face-height'.
88 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
89 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
91 * face-remap.el (variable-pitch-mode): Autoload.
93 2008-06-04 Sam Steingold <sds@gnu.org>
95 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
96 Generate extra status headers for a Mercurial tree.
98 2008-06-04 John Paul Wallington <jpw@pobox.com>
100 * echistory.el (electric-history-map): Define within defvar.
103 * font-lock.el (font-lock-turn-off-thing-lock)
104 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
105 Use `bound-and-true-p'.
106 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
109 * international/ccl.el (define-ccl-program): Add `doc-string'
112 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
114 * face-remap.el (variable-pitch-mode): Reflow docstrings.
115 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
117 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
119 * emacs-lisp/rx.el (rx): Doc fix.
121 2008-06-04 Markus Triska <markus.triska@gmx.at>
123 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
125 2008-06-04 Miles Bader <miles@gnu.org>
127 * face-remap.el (adjust-buffer-face-height): New function.
128 Add autoloaded keybindings in ctl-x-map.
129 (increase-buffer-face-height, decrease-buffer-face-height):
130 Simplify interactive spec to just "p". Remove autoloaded keybindings.
132 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
134 * simple.el (line-move-1): If we did not move as far as desired,
135 ensure that point-left and point-entered hooks are called.
137 2008-06-03 Sam Steingold <sds@gnu.org>
139 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
141 2008-06-03 John Paul Wallington <jpw@pobox.com>
143 * progmodes/make-mode.el (makefile-cleanup-continuations)
144 (makefile-warn-suspicious-lines, makefile-warn-continuations):
145 Use `derived-mode-p'.
147 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
149 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
152 2008-06-03 Miles Bader <miles@gnu.org>
154 * face-remap.el: New file.
155 * Makefile.in (ELCFILES): Add face-remap.elc.
157 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
159 * progmodes/flymake.el (flymake-process-filter): Make sure the source
162 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
163 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
164 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
165 * obsolete/auto-show.el, obsolete/hscroll.el:
166 Remove packages that were obsolete in Emacs-20, or that were obsolete
167 in Emacs-21 and do not contain any more code.
169 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
170 vc-client-mode is not set.
172 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
173 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
175 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
176 yet a bit more clever at distinguishing / from /.
178 2008-06-03 Kenichi Handa <handa@m17n.org>
180 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
182 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
184 * language/hanja-util.el: New file.
186 2008-06-03 Glenn Morris <rgm@gnu.org>
188 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
189 Check that end-of-word follows "type".
191 2008-06-02 Daiki Ueno <ueno@unixuser.org>
193 * epa-file.el (epa-file-write-region): Write the entire buffer
194 content if START is nil.
196 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
198 * select.el (x-get-selection): Fix typo.
200 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
202 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
203 (describe-char): Use `looking-at-p', `string-match-p' when possible.
205 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
207 * tar-mode.el (tar-header-block-summarize): Ensure one space around
210 2008-05-31 John Paul Wallington <jpw@pobox.com>
212 * help-fns.el (describe-variable-custom-version-info):
213 Handle dotted `package-version' info.
215 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
217 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
219 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
221 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
222 names and improve support for unregistered files.
224 2008-05-31 Glenn Morris <rgm@gnu.org>
226 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
227 Remove shell variable `elc'. Split tests to hopefully be more portable.
228 Fix `sel' assignment.
230 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
232 * minibuffer.el (completion-table-dynamic): Doc fix.
234 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
236 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
237 Try and return `unregistered' when applicable.
239 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
240 Don't encourage naming variables with "-flag".
242 2008-05-30 Glenn Morris <rgm@gnu.org>
244 * Makefile.in (update-elclist): Hide the warning when it does not apply,
245 make it milder when it does.
246 (autogen-clean): New target.
247 (maintainer-clean): Use autogen-clean.
249 * calendar/diary-lib.el (diary-display-function): New name for
250 diary-display-hook. Keep old name as obsolete alias. Doc fix.
251 Change custom type and version.
252 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
253 (diary-fancy-display): Doc fixes.
254 (diary-list-entries, diary-include-other-diary-files)
255 (diary-mail-entries):
256 Use diary-display-function rather than diary-display-hook.
258 * calendar/appt.el (appt-check): Use diary-display-function rather than
260 * calendar/cal-x.el (calendar-dedicate-diary): Update for
261 diary-display-function replacing diary-display-hook.
262 * org/org-agenda.el (org-get-entries-from-diary): Also set
263 diary-display-function.
265 * calendar/cal-html.el (cal-html-list-diary-entries):
266 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
267 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
268 argument of diary-list-entries rather than setting diary-display-hook.
270 2008-05-30 Kenichi Handa <handa@m17n.org>
272 * international/mule-conf.el (utf-8-with-signature): Renamed from
274 (utf-8-auto): Adjusted for the above change.
276 * international/mule-diag.el (describe-font): Don't check fontset
277 here, and just call font-info. Get the default font by from the
280 2008-05-29 Kenichi Handa <handa@m17n.org>
282 * international/mule-conf.el (utf-8-sig, utf-8-auto):
285 * international/mule.el (define-coding-system): Accept :bom for utf-8.
287 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
289 * international/utf-7.el (utf-7-encode): Use the right escape char
290 depending on imap/nonimap encoding.
292 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
294 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
296 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
298 * icomplete.el (icomplete-prospects-height): Add :group.
300 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
302 * icomplete.el (icomplete-prospects-length): Make obsolete.
303 (icomplete-prospects-height): New var.
304 (icomplete-completions): Use it.
306 2008-05-29 David Kastrup <dak@gnu.org>
308 * autoinsert.el (auto-insert): Add :link.
310 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
312 * tar-mode.el (tar-header): New field `header-start'.
313 (tar-header-block-tokenize): Set it when useful.
314 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
315 (tar-header-data-end): New function.
316 (tar-summarize-buffer): Use it.
317 (tar-next-line): Fix goal column for long usernames.
318 (tar-expunge-internal): Use header-start.
319 (tar-rename-entry): Handle ustar-style long names.
320 (tar-alter-one-field): Add optional `descriptor' argument.
321 (tar-subfile-save-buffer): Use it.
323 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
325 * tar-mode.el (tar-header): New field `header-start'.
326 (tar-header-block-tokenize): Set header-start for longlink entries.
327 (tar-expunge-internal): Use header-start to expunge longlink entries.
329 * files.el (hack-local-variables): Don't signal an error if the local
330 variable section is not properly terminated.
332 * emacs-lisp/easymenu.el (easy-menu-convert-item)
333 (easy-menu-convert-item-1): Move the duplicate-generation outside of
334 the caching so it also works for identical entries.
336 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
337 (tar-mode): Use write-region-annotate-functions rather than
338 write-contents-functions.
339 (tar-extract): Remove unused var `pos'.
340 (tar-subfile-save-buffer): Remove unused var `following-descs'.
341 (tar-mode-write-file): Remove.
342 (tar-write-region-annotate): New function.
344 * progmodes/flymake.el (flymake-save-buffer-in-file):
345 * shadowfile.el (shadow-copy-file):
346 * arc-mode.el (archive-*-write-file-member):
347 * files.el (diff-buffer-with-file):
348 * subr.el (with-temp-file): Pass nil to write-region.
349 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
351 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
354 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
357 2008-05-28 Glenn Morris <rgm@gnu.org>
359 * Makefile.in (update-elclist): Work around non-portability of "\"
360 in various implementations of echo.
362 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
364 * international/mule-diag.el (describe-current-coding-system):
365 Don't assume selection-coding-system is always defined.
367 * tar-mode.el: Use defstruct and markers.
369 (tar-header): Use defstruct. Add `data-start' field.
370 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
371 (tar-desc-data-start): Remove (now called tar-header-data-start).
372 (tar-roundup-512): New fun.
373 (tar-header-block-tokenize): Receive a buffer position rather than
374 a string. Handle @longLink here, be more careful about it.
375 Create a marker for data-start.
376 (tar-summarize-buffer): Don't handle @LongLink here any more.
377 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
378 data-start on the following entries any more.
379 (tar-chown-entry, tar-chgrp-entry): Use read-number.
381 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
382 (tar-header-offset): Remove.
383 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
384 Not permanent any more.
385 (tar-data-buffer): New var.
386 (tar-data-swapped-p, tar-change-major-mode-hook)
387 (tar-mode-kill-buffer-hook): New funs.
388 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
389 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
390 (tar-clear-modification-flags, tar-alter-one-field)
391 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
394 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
396 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
397 (vc-dir-resynch-file): ... this. Update callers.
398 Use vc-string-prefix-p. Ignore directory args.
399 (vc-string-prefix-p): CSE.
400 (vc-resynch-buffer): Restore conditional.
402 * vc-hooks.el (vc-after-save): Improve test.
403 (vc-mode-line): Fix indentation.
405 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
407 * calendar/parse-time.el (parse-time-months)
408 (parse-time-weekdays): Add long-form month and day names.
410 2008-05-27 Glenn Morris <rgm@gnu.org>
412 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
414 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
416 * vc-dispatcher.el (vc-string-prefix-p): New function.
417 (vc-dir-parent-marked-p): Use it.
419 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
421 * vc.el (Problems): Remove fixed issues.
422 (vc-expand-dirs): Avoid returning directories.
423 (vc-dir): Fix C-x v v binding.
424 (vc-make-backend-object): Fix name.
425 (vc-dir-show-fileentry): Fix docstring.
426 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
427 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
428 Reset the state for directories.
429 (vc-dir-headers): Align labels.
430 (vc-default-status-printer): Do no call prettify-state-info.
431 (vc-deduce-fileset): Replace implementation with one based on a
432 working older version.
433 (vc-next-action): Use the new form of vc-deduce-fileset.
434 Fix dealing with unregistered files.
436 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
437 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
438 (vc-dir-child-files): New function.
439 (vc-dir-node-directory): New function.
440 (vc-dir-update, vc-dir-parent-marked-p)
441 (vc-dir-children-marked-p, vc-dir-mark-all-files)
442 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
444 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
446 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
448 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
449 (diff-font-lock-keywords, diff-context->unified)
450 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
451 (diff-hunk-text, diff-find-source-location): Use it.
452 (diff-post-command-hook): Let the user edit the hunk headers.
454 2008-05-26 Andreas Schwab <schwab@suse.de>
456 * vc.el (vc-default-prettify-state-info): Fix formatting of an
459 * tar-mode.el (tar-summarize-buffer): Comment fix.
461 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
463 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
465 2008-05-26 Glenn Morris <rgm@gnu.org>
467 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
469 2008-05-25 John Paul Wallington <jpw@pobox.com>
471 * proced.el (proced-next-line, proced-previous-line):
472 Avoid calling `next-line' and `previous-line' from Lisp code.
474 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
476 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
477 Use diary-ordinal-suffix.
479 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
481 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
482 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
483 (edebug-save-displayed-buffer-points, edebug-initial-mode)
484 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
485 (edebug-print-length, edebug-print-level, edebug-print-circle)
486 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
487 (edebug-global-break-condition, edebug-sit-for-seconds):
488 Remove spurious * from defcustom docstrings.
489 (edebug-unwrap*, edebug-signal, edebug-eval-display):
490 Improve argument/docstring consistency.
491 (edebug-test-coverage, edebug-gensym, edebug-read)
492 (edebug-top-level-nonstop, edebug-eval-result-list)
493 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
494 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
495 (edebug-display-freq-count): Reflow docstrings.
496 (edebug-restore-status): Doc fix.
498 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
500 * proced.el (proced-header-line): Use the :align-to 0 feature
501 rather than computing the corresponding position manually.
502 (proced-update): Don't hardcode point-min==1.
504 2008-05-24 Alan Mackenzie <acm@muc.de>
506 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
507 if c-file-style is set to a non-string.
509 (c-neutralize-CPP-line): Surround by `save-excursion'.
510 (c-neutralize-syntax-in-CPP): Optimize for speed.
512 2008-05-24 Glenn Morris <rgm@gnu.org>
514 * Makefile.in (update-elclist): New target, to update ELCFILES.
515 (bootstrap-after): Run update-elclist.
517 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
519 * icalendar.el (icalendar-version): Increase to "0.19".
520 (icalendar--date-style): New function.
521 (icalendar--datetime-to-diary-date): Doc fix.
522 Use icalendar--date-style.
523 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
524 (icalendar--convert-yearly-to-ical)
525 (icalendar--convert-recurring-to-diary): Handle iso date style,
526 use icalendar-date-style.
528 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
530 * vc.el (vc-delete-file): Make sure the buffer is deleted and
531 vc-dir buffers are updated.
533 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
535 * vc.el (vc-delete-file): Don't try to resynch the buffer.
537 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
539 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
540 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
541 (reftex-extra-bindings): Use it.
543 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
544 away from the user-reserved keys.
546 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
548 (ada-create-keymap): Use them.
550 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
552 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
553 a properly-grouped regexp.
555 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
557 * progmodes/cap-words.el (capitalized-words-mode):
558 Fix typos in docstring.
560 2008-05-23 Kenichi Handa <handa@m17n.org>
562 * international/mule-conf.el: Don't define the charset `emacs'
563 here, just put :docstring, :short-name, and :long-name.
565 2008-05-22 Kenichi Handa <handa@m17n.org>
567 * international/mule-diag.el (font-show-log): Limit each listing
570 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
572 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
573 (gdb-annotation-rules): New entry for "thread-changed".
574 (gdb-thread-changed): New function.
576 2008-05-23 Glenn Morris <rgm@gnu.org>
578 * Makefile.in (SOURCES): Remove, unused.
579 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
580 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
581 Exclude more '*loaddefs' files.
582 (compile-always): Simplify '.elc' deletion.
584 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
586 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
587 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
589 * minibuffer.el (completion-boundaries): Change calling
590 convention, so `string' has the same semantics as in
591 try-completion and all-completions.
592 (completion-table-with-context, completion--embedded-envvar-table)
593 (completion--file-name-table)
594 (completion-pcm--find-all-completions): Adjust code accordingly.
596 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
598 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
599 prune image-mode-winprops-alist, preventing it from growing
601 (image-mode-reapply-winprops): Use it.
603 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
605 * net/netrc.el (netrc-machine): Always match if the port is not given.
607 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
609 * minibuffer.el (completion-pcm--find-all-completions):
610 Don't add pseudo-completions.
612 * icomplete.el (icomplete-eoinput): Remove.
613 (icomplete-overlay): New var to replace it.
614 (icomplete-tidy): Rewrite.
615 (icomplete-exhibit): Use an overlay.
616 (icomplete-completions): Use completion-all-sorted-completions.
617 Obey completion-ignore-case.
619 * files.el (locate-dominating-file): Accept non-existing argument.
620 (project-find-settings-file): Rewrite, using locate-dominating-file.
622 2008-05-22 Kenichi Handa <handa@m17n.org>
624 * faces.el (font-weight-table, font-slant-table, font-width-table):
625 Delete them. Don't call internal-set-font-style-table.
627 * international/mule-diag.el (font-show-log): New function.
629 * international/fontset.el (script-representative-chars): Add more
630 chars for latin. Add data for symbol.
631 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
633 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
635 * minibuffer.el (completion-all-sorted-completions): New var.
636 (completion--flush-all-sorted-completions)
637 (completion-all-sorted-completions): New functions.
638 (minibuffer-force-complete): New command.
640 2008-05-21 Glenn Morris <rgm@gnu.org>
642 * files.el (c-postprocess-file-styles): Declare for compiler.
644 * Makefile.in: Allow for parallel byte-compiling.
645 (ELCFILES): New variable.
646 (.el.elc): Remove prerequisites from suffix rule. Print a message.
647 (compile-first, compile-main, compile-last): New targets.
648 (compile-always): Simplify - delete .elc files, then `make compile'.
650 * Makefile.in (compile-calc): Use glob rather than find.
651 ($(lisp)/progmodes/cc-mode.elc): Use $@.
653 * eshell/esh-module.el: No need for cl when compiling.
655 * eshell/eshell.el (eshell-defgroup): New alias.
656 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
657 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
658 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
659 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
660 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
661 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
662 Autoload the custom group. Set generated-autoload-file.
663 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
665 * eshell/esh-module.el (eshell-load-defgroups): Remove.
666 Require esh-groups rather than loading it.
668 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
670 * proced.el (proced-header-line): New variable and new function.
671 (proced-mode): Set header-line-format.
672 (proced-update): Set proced-header-line.
673 (proced-send-signal): Use proced-header-line.
675 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
677 * macros.el (insert-kbd-macro): Use prin1-char.
679 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
681 * minibuffer.el (completion-boundaries): New function.
682 (completion--some): Delay errors.
683 (complete-with-action, completion-table-with-context):
684 Handle `boundaries' case.
685 (completion--try-word-completion): Avoid partial-completion
686 when the user hasn't entered anything yet.
687 (minibuffer-local-map, minibuffer-local-filename-completion-map)
688 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
689 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
690 Setup default keybindings.
691 (completion--embedded-envvar-re): New var.
692 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
693 (completion--file-name-table): Handle `boundaries' case.
694 (completion-pcm--pattern->regex): Avoid pathological backtracking.
695 (completion-pcm--all-completions): Add a `prefix' arg.
696 (completion-pcm--find-all-completions): New function.
697 (completion-pcm-all-completions, completion-pcm-try-completion):
700 * icomplete.el (icomplete-completions): Don't use `predicate' with
701 a table of a different type than `candidates'.
703 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
705 * proced.el (proced-goal-column): Rename from proced-procname-column.
706 (proced-goal-header-re): Rename from proced-procname-column-regexp.
707 (proced-move-to-goal-column): Rename from proced-move-to-procname.
708 (proced-header-face, proced-header-regexp): Remove.
709 (proced-font-lock-keywords): Remove proced-header-face.
710 (proced-header-alist, proced-sorting-schemes-re): New variables.
711 (proced): Rename Proced buffer to *Proced*.
712 (proced-next-line, proced-previous-line): New commands.
713 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
714 (proced-hide-processes): Do not treat first line as special.
715 (proced-header-space): New function.
716 (proced-update): Use header-line-format.
717 Initialize proced-header-alist and proced-sorting-schemes-re.
718 Set proced-goal-column. Include proced-command in mode-name.
719 (proced-send-signal): Use header-line-format for *Marked
721 (proced-sort): Restrict minibuffer completion to applicable
723 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
725 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
727 * icomplete.el (icomplete-simple-completing-p):
728 Allow icomplete-with-completion-tables to say "use it everywhere".
729 (icomplete-completions): Obey completion-styles. Try to accommodate
730 partial-completion style.
732 2008-05-20 Michael Olson <mwolson@gnu.org>
734 * files.el (project-find-settings-file): Change concat to
737 2008-05-19 Tom Tromey <tromey@redhat.com>
739 * files.el (normal-mode): Call hack-project-variables.
740 (hack-local-variables-confirm): Add 'project' argument.
741 (hack-local-variables-apply): New function.
742 (hack-local-variables): Use it.
743 (project-class-alist, project-directory-alist): New variables.
744 (project-get-alist): New function.
745 (project-collect-bindings-from-alist)
746 (project-collect-binding-list, set-directory-project)
747 (project-find-settings-file, project-define-from-project-file)
748 (hack-project-variables): New functions.
750 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
752 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
754 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
756 * faces.el (font-weight-table): Fix typo in docstring.
758 2008-05-18 David Hull <david@snap.com> (tiny change)
760 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
761 (vc-hg-annotate-command): Allow white space before version number.
763 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
765 * calc/calc-yank.el (calc-register-alist): New variable.
766 (calc-set-register,calc-get-register,calc-copy-to-register)
767 (calc-insert-register,calc-add-to-register,calc-append-to-register)
768 (calc-prepend-to-register): New functions.
770 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
771 `calc-copy-to-register' and `calc-insert-register'.
772 Autoload new register functions.
774 * calc/calc-help.el (calc-r-prefix-help): Add help for register
777 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
779 * vc.el (Todo): Add known problems.
780 (vc-dir-backend): New variable.
782 (vc-make-backend-object, vc-generic-status-printer)
783 (vc-generic-state, vc-generic-status-fileinfo-extra)
784 (vc-dir-extra-menu): Use it.
785 (vc-generic-dir-headers): Remove, unused.
787 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
788 vc-dir-prev-directory for consistency with vc-dir-previous-line.
789 (vc-dir-mode-map): Fix bindings.
791 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
793 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
795 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
797 (calc-kill-region): Kill entire lines.
799 2008-05-17 Glenn Morris <rgm@gnu.org>
801 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
802 simplify initial value.
803 (defezimage): Drop support for Emacs without defimage, use a featurep
804 test rather than fboundp when defining, drop with-no-warnings.
805 (ezimage-insert-over-text): Move featurep test inside
808 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
810 * net/tramp.el (top-level): Load auth-source when compiling.
812 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
814 2008-05-17 Andreas Schwab <schwab@suse.de>
816 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
818 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
820 * vc.el (vc-annotate-show-diff-revision-at-line): Change
821 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
823 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
825 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
827 2008-05-17 Jim Meyering <meyering@redhat.com>
829 * ido.el (ido-save-history): Do not emit a trailing newline at the
830 end of the ido history file.
832 2008-05-16 John Paul Wallington <jpw@pobox.com>
834 * vc-dispatcher.el (top-level): Revert previous change: require cl
837 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
839 * vc.el (vc-default-status-printer)
840 (vc-default-prettify-state-info): Enhance the state prettyprinter
841 to deal better with unknown states and indirect through it when
842 painting vc-dir buffers.
844 2008-05-16 John Paul Wallington <jpw@pobox.com>
846 * vc-dispatcher.el (top-level): Don't require cl when compiling.
847 (vc-dir-mode-map): Fix backquote.
848 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
850 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
852 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
853 Reported by Glenn Morris <rgm@gnu.org>.
855 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
857 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
858 the end of the file, it was good work at one time but has been
859 stale since 1995 and may now be actively misleading.
860 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
861 CVS repository and module (assumptions for the latter a bit iffy).
862 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
865 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
867 * vc-rcs.el (vc-rcs-create-tag):
868 * vc-sccs.el (vc-sccs-create-tag):
869 Fix typo in error message and pass backend arg.
871 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
873 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
875 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
877 * net/tramp.el: Load auth-source library.
878 (tramp-read-passwd): Use it for password, not login.
880 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
882 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
883 (ses-print-cell): Use string-width, truncate-string-to-width,
884 delete-region rather than length, substring, delete-char.
885 (ses-setup): Set inhibit-point-motion-hooks to t.
886 Calculate position by actually moving point rather than just using
887 unibyte character length.
888 (ses-mode): Set indent-tabs-mode to nil.
889 (ses-center): Use string-width rather than length.
891 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
893 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
894 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
895 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
896 vc-*-create-tag and vc-*-retrieve-tag respectively.
898 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
901 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
903 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
906 2008-05-15 Glenn Morris <rgm@gnu.org>
908 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
910 * org/org-exp.el (org-infojs-options-inbuffer-template):
913 * progmodes/cc-mode.el (declare-function): Add compat definition.
914 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
916 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
918 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
919 list to a cons so the caller can get back both expanded and
921 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
922 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
923 Change handling of selection-set returns as required.
925 2008-05-15 John Paul Wallington <jpw@pobox.com>
927 * add-log.el (top-level): Don't require cl when compiling.
929 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
930 (archive-*-extract): Use `zerop'
931 (archive-*-write-file-member): Use `or', use `zerop'.
933 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
935 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
936 (ibuffer-mark-interactive, ibuffer-set-mark)
937 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
938 (ibuffer-map-lines, ibuffer-switch-format)
939 (ibuffer-update-title-and-summary)
940 (ibuffer-redisplay-engine): Use it.
942 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
943 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
944 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
945 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
946 (ibuffer-mark-read-only-buffers)
947 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
949 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
950 (define-ibuffer-column, define-ibuffer-sorter)
951 (define-ibuffer-op, define-ibuffer-filter): Add declarations
952 containing indentation specs, replacing equivalent top-level
953 forms that set `lisp-indent-function' properties.
954 (define-ibuffer-op): Use `derived-mode-p'.
955 (define-ibuffer-filter): Remove redundant `concat' call.
957 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
959 * net/tramp.el (tramp-echo-mark): Update docstring.
960 (tramp-echo-mark-marker): New defconst.
961 (tramp-check-for-regexp): Use it.
963 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
965 * vc.el (vc-deduce-fileset): Do the right thing when visting a
966 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
969 2008-05-14 John Paul Wallington <jpw@pobox.com>
971 * international/mule.el (convert-define-charset-argument):
972 Remove period from end of error message.
973 (coding-system-mnemonic): Doc fix.
974 (ctext-pre-write-conversion): Doc fix.
976 2008-05-14 Simon Marshall <simon@gnu.org>
978 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
979 from its default value and give it the risky-local-variable
980 property (CVE-2008-2142).
982 2008-05-14 Kenichi Handa <handa@m17n.org>
984 * language/korean.el ("Korean"): Set `iso639-language'
987 * language/japanese.el ("Japanese"): Set `iso639-language'
990 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
991 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
992 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
994 * international/mule-cmds.el (set-language-environment):
995 Set current-iso639-language.
997 * international/fontset.el (setup-default-fontset): For kana, han,
998 hangul, and cjk-misc, move an entry with font-spec at the end.
999 (generate-fontset-menu): Exclue fontset-auto* from the list.
1001 * composite.el (compose-chars-after): Assume that WINDOW is always
1004 * faces.el (font-weight-table, font-slant-table)
1005 (font-swidth-table): Declare them by defconst. Change the format
1006 of elements. Call internal-set-font-style-table after their
1008 (face-valid-attribute-values): Call font-family-list. Get values
1009 for width, weight, and slant from font-xxx-table.
1011 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
1013 2008-05-13 John Paul Wallington <jpw@pobox.com>
1015 * ibuffer.el (ibuffer-buffer-file-name): New function.
1016 (define-ibuffer-column filename): Use it.
1018 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
1020 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1022 * talk.el (talk): Simplify. Pass display arg to talk-add-display
1024 (talk-add-display): Simplify. Accept only string args.
1026 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
1028 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
1030 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * Makefile.in (bootstrap-prepare): Don't chmod files.
1033 (autoloads): Do it here instead, where it's actually needed.
1035 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1037 * tool-bar.el (tool-bar-make-keymap): Account for the optional
1038 KEY-BINDING-DATA field in menu-item list.
1040 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * dired.el (dired-read-dir-and-switches): Move things about to use less
1043 recursion during macroexpansion.
1045 * dired.el (dired-read-dir-and-switches): Use read-file-name.
1047 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
1048 completion-ignored-extension directories if there's something else.
1049 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
1050 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
1051 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
1052 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
1053 buffer-read-only -> inhibit-read-only.
1055 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
1057 * vc.el (vc-expand-dirs): Stop this function from tossing out
1058 explicitly specified files.
1060 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
1065 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
1067 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
1068 cons. Use vc-annotate-backend.
1069 (with-vc-file, edit-vc-file): Remove unused macros.
1071 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
1073 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
1074 (smtpmail-try-auth-methods): Use it.
1076 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
1079 (setf (nthcdr ..) ..) doesn't require CL at runtime.
1081 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
1083 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
1085 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
1088 (vc-bzr-revision-completion-table): Use process-file.
1089 (vc-bzr-working-revision): Pass relative file names.
1091 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
1093 2008-05-11 Juri Linkov <juri@jurta.org>
1095 * wid-edit.el (widget-image-directory): Change default image data
1096 subdirectory from "custom" to "images/custom".
1098 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
1099 before recursive call to `Info-next-preorder' to not add
1100 intermediate nodes to the history.
1102 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
1104 * emulation/cua-base.el: Put isearch-scroll property
1105 on cua-scroll-up and cua-scroll-down.
1107 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
1109 * vc-hooks.el (vc-recompute-state): Remove (dead code).
1111 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1113 * vc-dispatcher.el (ewoc): Require.
1114 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
1116 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
1118 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
1120 * term/w32-win.el (x-colors):
1121 * term/mac-win.el (x-colors):
1122 * term/x-win.el (x-colors): Re-order colors.
1124 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
1126 * smerge-mode.el (smerge-command-prefix): Fix custom type.
1128 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
1130 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
1131 New functions implementing motion to next and previous directory.
1133 * vc-arch.el (vc-arch-command):
1134 * vc-bzr.el (vc-bzr-command):
1135 * vc-cvs.el (vc-cvs-command):
1136 * vc-dispatcher.el (vc-do-command):
1137 * vc-git.el (vc-git-command):
1138 * vc-hg.el (vc-hg-command):
1139 * vc-mcvs.el (vc-mvcs-command):
1140 * vc-mtn.el (vc-mtn-command):
1141 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
1142 (vc-sccs-workfile-unchanged-p):
1143 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
1144 * vc-rcs.el (all methods): Remove assumption about what a nil
1145 argument to vc-do-command means. This means no buffer name needs
1146 to be hardcoded into the dispatcher layer, and it's better to be
1149 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1151 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1153 * vc.el: Update todo.
1155 * vc-sccs.el (vc-sccs-dir-status):
1156 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1157 backends and returning up to date files.
1159 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1161 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1164 * vc-hooks.el: Tweak the VC directory bindings. These are now
1165 documented in the manual.
1167 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1168 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1169 (vc-dispatcher-selection-set): Allow callers to pass in an
1170 observer flag that says no buffer sync is required.
1171 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1172 Use the observer flag.
1174 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
1176 * simple.el (start-file-process): Clarify docstring.
1178 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1180 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1181 Remove stub implementations of, and references to, wash-log.
1182 * vc-rcs.el (vc-rcs-comment-history):
1183 * vc-cvs.el (vc-cvs-comment-history):
1184 Inline the code that used to be wash-log.
1186 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1187 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1188 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1189 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1190 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1191 (vc-rcs-print-log): Grok directories.
1193 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * vc.el (vc-mark-resolved): Add `backend' argument.
1196 (vc-next-action): Pass it the backend.
1197 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1198 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1199 (vc-default-comment-history, vc-default-create-snapshot)
1200 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1201 (vc-annotate-revision-previous-to-line)
1202 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1203 * vc-svn.el (vc-svn-checkout):
1204 * vc-mcvs.el (vc-mcvs-checkout):
1205 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1206 (vc-working-revision, vc-before-save, vc-mode-line):
1207 Prefer vc-call-backend to vc-call so as not to recompute the backend.
1209 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1210 state to be consistent since it's often an unwarranted restriction.
1211 Don't return the state either.
1212 (vc-next-action): Check that the state is consistent.
1213 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1214 (vc-rollback, vc-update): Adapt to new return value of
1217 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1218 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1219 (vc-dispatcher-in-fileset-p): New fun.
1220 (vc-dispatcher-selection-set): Use it to properly handle directories.
1222 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
1224 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1225 (vc-update): Remove unused let bindings.
1227 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1229 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1230 (vc-diff, vc-revert, vc-rollback, vc-update):
1231 * vc-dispatcher.el (vc-dispatcher-selection-set):
1232 Get rid of 4 special cases in fileset selection. This involved
1233 changing the return value of (vc-deduce-fileset) so that it passes
1234 back a deduced state as well as a deduced back end.
1236 2008-05-08 Sam Steingold <sds@gnu.org>
1238 * progmodes/compile.el (compilation-minor-mode-map)
1239 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1240 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1241 to `compilation-minor-mode-map' (instead of an explicit `cons').
1243 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1245 * org/org.el (org-modules, org-format-latex-options):
1246 * org/org-archive.el (org-archive-stamp-time)
1247 (org-archive-save-context-info):
1248 * org/org-faces.el (org-hide):
1249 * org/org-irc.el (org-irc-parse-link):
1250 * org/org-macs.el (org-call-with-arg, org-autoload):
1251 * org/org-mew.el (org-mew-store-link):
1252 * org/org-remember.el (org-remember-store-without-prompt)
1253 (org-remember-templates): Fix typos in docstrings.
1255 * org/org-info.el (org-info-store-link): Remove leftover docstring.
1257 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1258 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1259 (org-bbdb-anniv-split): Fix typos in docstrings.
1261 * org/org-publish.el (org-publish-project-alist): Doc fixes.
1262 (org-publish-use-timestamps-flag): Reflow docstring.
1263 (org-publish-files-alist): Fix typos in docstring.
1265 2008-05-07 Sam Steingold <sds@gnu.org>
1267 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1268 appears to be too aggressive with window removal.
1270 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
1272 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1274 (verilog-pretty-expr): Support lining up assignments which include
1276 (verilog-mode): More portable check for the availability of
1278 (verilog-do-indent): Remove special indent for declarations inside
1279 a parenthetical list. The code is ill-advised, and doesn't work
1280 given the new user defined types.
1281 (verilog-set-auto-endcomments): Enhance function automatic
1282 endcomment to support functions that return user defined types.
1283 (verilog-mode): Add code to tell which-function-mode minor mode
1284 that Verilog supports this feature.
1286 2008-05-08 Eli Zaretskii <eliz@gnu.org>
1288 * epa-file.el: Require epa-hook.
1290 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1292 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1293 file-names clashes on 8+3 filesystems. Provide epa-hook.
1295 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1296 file-names clashes on 8+3 filesystems.
1298 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
1300 * org/org.el (org-read-date-get-relative): Interpret lone
1301 weekday abbreviation as relative to today.
1303 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1305 * abbrev.el (define-abbrev-table):
1306 * composite.el (toggle-auto-composition):
1307 * json.el (json-alist-p, json-plist-p):
1308 * minibuffer.el (completion-table-with-predicate):
1309 * ps-mule.el (ps-mule-external-libraries):
1310 * emacs-lisp/advice.el (ad-special-form-p):
1311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1312 * eshell/em-smart.el (eshell-review-quick-commands):
1313 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1314 (python-skip-out, python-check-comint-prompt):
1315 Don't use `iff' in docstrings.
1317 * international/robin.el (robin-package-alist): Fix typo in docstring.
1318 (robin-current-package-name): Doc fix.
1319 (robin-activate): Don't use `iff' in docstring.
1321 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
1323 * vc.el, vc-dispatcher.el: VC-Dired support removed.
1324 The code uses a ewoc-based implementation now.
1325 * vc-hooks.el: Support for Meta-CVS has been removed.
1327 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * tool-bar.el: Choose images dynamically.
1330 (tool-bar-make-keymap, tool-bar-find-image): New function.
1331 (tool-bar-find-image-cache): New var.
1332 (tool-bar-local-item, tool-bar-local-item-from-menu):
1333 Don't select the image yet, do it later in tool-bar-make-keymap.
1335 2008-05-07 Andreas Schwab <schwab@suse.de>
1337 * window.el: Require 'cl when compiling.
1339 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
1341 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1343 2008-05-07 Glenn Morris <rgm@gnu.org>
1345 * subr.el (ignore-errors): Move here from cl-macs.el.
1346 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1348 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1351 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
1353 * vc-hooks.el (vc-find-file-hook):
1354 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1356 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1358 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
1360 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1361 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1362 (verilog-auto-inout, verilog-auto-inout-module)
1363 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1364 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1365 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1366 (verilog-auto-sense-sigs, verilog-auto-tieoff)
1367 (verilog-auto-unused, verilog-auto-wire)
1368 (verilog-decls-get-assigns, verilog-decls-get-consts)
1369 (verilog-decls-get-gparams, verilog-decls-get-inouts)
1370 (verilog-decls-get-inputs, verilog-decls-get-outputs)
1371 (verilog-decls-get-ports, verilog-decls-get-regs)
1372 (verilog-decls-get-signals, verilog-decls-get-wires)
1373 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1374 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1375 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1376 (verilog-inject-sense, verilog-library-filenames)
1377 (verilog-mode-release-date, verilog-mode-version)
1378 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1379 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1380 (verilog-modi-get-assigns, verilog-modi-get-consts)
1381 (verilog-modi-get-gparams, verilog-modi-get-inouts)
1382 (verilog-modi-get-inputs, verilog-modi-get-outputs)
1383 (verilog-modi-get-ports, verilog-modi-get-regs)
1384 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1385 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1386 (verilog-modi-get-wires, verilog-preserve-cache)
1387 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1388 (verilog-read-sub-decls, verilog-read-sub-decls-line)
1389 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1390 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1391 Add caching of additional state, and rework signal extraction
1392 routines to improve AUTO expansion performance by 300%++.
1394 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
1396 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1397 Tweak Open Watcom regexp to distinguish between errors and warnings.
1399 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1401 * dired.el (dired-read-dir-and-switches): Fix up last change.
1403 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
1405 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1406 out of this function, move it to vc-dispatcher-selection-set.
1408 2008-05-05 Sam Steingold <sds@gnu.org>
1410 * window.el (delete-other-windows-vertically): New function.
1412 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1414 * dired.el (dired-read-dir-and-switches):
1415 Obey read-file-name-completion-ignore-case.
1417 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
1419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1420 Add regexp for Open Watcom compiler output.
1422 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
1424 * progmodes/python.el (python-block-pairs): Align finally with except.
1426 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1430 2008-05-05 Tom Tromey <tromey@redhat.com>
1432 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1433 looking at conflict marker.
1435 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1438 client-mode -> vc-client-object, and guess `funcall' was meant.
1439 (vc-dir-mode): Rename client-mode -> vc-client-mode.
1441 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1443 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1444 (dbus-debug): Move declarations outside eval-when-compile.
1446 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1448 * proced.el (proced-command-alist): Fix system-type values.
1450 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1451 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1452 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1453 (proced-update): Use proced-sorting-scheme. Update modeline.
1454 (proced-send-signal): Use nreverse.
1455 (proced-sorting-scheme-p): New function.
1457 2008-05-04 Andreas Schwab <schwab@suse.de>
1459 * vc.el: Require dired when compiling.
1461 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1463 2008-05-03 Glenn Morris <rgm@gnu.org>
1465 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1466 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1467 Simplify compilation requirements.
1468 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1471 2008-05-03 Dave Love <fx@gnu.org>
1473 * progmodes/python.el (python-beginning-of-statement):
1474 Loop at least once (fixes 2008-02-21 change).
1476 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1478 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1479 instead of `length' for comparing length of user and group names.
1481 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1483 * vc-dispatcher.el: New file, separates out the UI and command
1484 execution machinery from VCS-specific logic left in vc.el.
1485 The separation is not yet completely clean, but it's a good start.
1486 * vc.el: This file is about 1700 lines shorter now.
1487 Remove obsolete logentry-check from the backend API.
1488 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1489 implementation of the logentry-check method, and it guarded against
1490 a log length limit that has probably been obsolete for 15 years (!).
1492 2008-05-02 Sam Steingold <sds@gnu.org>
1494 * progmodes/compile.el (compilation-start): Move setting of
1495 compilation-directory after (funcall mode) as that resets local
1496 variables, this fixes recompile in grep buffers.
1497 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1499 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1501 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1502 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1503 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1504 has one of these and that all are called in compatible ways.
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-*-revision-granularity): Make sure every
1508 backend has one of these.
1510 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1513 initialization into define-abbrev-table. Use :regexp.
1514 (octave-mode-syntax-table): Don't set word syntax for `.
1516 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1519 * dired.el (dired-read-dir-and-switches):
1520 Set minibuffer-completing-file-name and call substitute-in-file-name.
1521 (dired-format-columns-of-files): Use completion--insert-strings.
1523 * minibuffer.el (completion-hilit-commonality): Revert last change:
1524 the leftover code was actually useful.
1525 (completion--insert-strings): Use string-width rather than length.
1527 2008-05-02 Sam Steingold <sds@gnu.org>
1529 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1530 (vc-at-event): New macro: run the body at the even location.
1531 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1532 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1533 * subr.el (mouse-event-p): Check if the even is mouse-related.
1535 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1537 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1538 Don't throw error if no file is found.
1540 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1542 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1543 (vc-default-state-heuristic): Doc fix.
1545 2008-05-02 Richard Sharman <rsharman@pobox.com>
1547 * hilit-chg.el (highlight-changes-mode): Remove references to
1548 hooks that no longer exist. Because define-minor-mode is used the
1549 hook highlight-changes-mode-hook exists and can do what both the
1550 old hooks used to do. The documentation at the top of the file
1551 was updated to demonstrate this.
1552 (highlight-changes-mode): Remove commented out call to a hook
1553 function that is no longer there.
1554 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1556 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1558 * vc.el (vc-default-dired-state-info): Change name of primitive
1559 to prettify-state-info, in preparation for ripping out dired mode.
1560 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1561 to prettify-state-info, in preparation for ripping out dired mode.
1562 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1563 tries this on a version-controlled buffer. It will do useless or
1564 actively bad things on any version control system newer than RCS.
1565 * vc-hooks.el (vc-dired-resynch-file):
1566 * vc.el (vc-dired-resynch-file): Change name of primitive to
1567 vc-directory-resynch-file, preparing to remove dired.
1569 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1571 * vc-rcs.el (vc-rcs-state): Fix typos.
1573 * vc.el (vc-register): Change argument order so that the prefix
1574 argument is assigned correctly.
1575 (vc-next-action, vc-dir-register): Update for the above change.
1577 2008-05-01 Juri Linkov <juri@jurta.org>
1579 * replace.el (occur-read-primary-args): Set default to the car of
1580 regexp-history and display it in the prompt, but don't add to the
1581 list of minibuffer defaults. Bind history-add-new-input to nil to
1582 not add automatically `default'. For empty input return `default'.
1583 Otherwise, add `input' to regexp-history and return it.
1584 (occur-1): Signal an error for the empty regexp.
1586 * progmodes/compile.el (compilation-auto-jump):
1587 Set window point to `pos' explicitly.
1589 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1591 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1593 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1594 we report the 'unregistered state reliably.
1595 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1596 we report the 'unregistered state reliably.
1597 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1598 we report the 'unregistered state reliably.
1599 * vc-hooks (vc-state): Document that vc-unregistered is
1600 now expected to be returned reliably.
1601 * vc.el (vc-default-dired-state): Change needs-patch state to
1602 needs-update, since the name now shows up in dir-status listings
1603 and was somewhat misleading.
1604 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1605 immediately after removing the file.
1606 * vc.el (vc-next-action): More informative messages when a fileset
1607 is in a mixed state or files are missing.
1609 2008-05-01 Sam Steingold <sds@gnu.org>
1611 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1613 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1617 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1619 * epa-file-hook.el: New file split from epa-file.el.
1620 * epa-file.el: Require 'epa-file-hook.
1621 (epa-file-handler): Add autoload cookie.
1622 * loadup.el: Load epa-file-hook.
1623 * startup.el (command-line): Eval the body of auto-encryption-mode.
1625 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1627 * vc.el (vc-dir-mode-map): Don't bind "r".
1629 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1630 (vc-hg-status-printer): New function.
1631 (vc-hg-after-dir-status): Deal with copied and renamed files.
1632 (vc-hg-dir-status): Add flag to show copied files.
1634 2008-05-01 John Paul Wallington <jpw@pobox.com>
1636 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1637 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1638 sorting mode was recency.
1640 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1641 reverse sorting order if last sorting mode was the sorter's.
1643 2008-05-01 Jason Rumney <jasonr@gnu.org>
1645 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1647 2008-04-30 John Paul Wallington <jpw@pobox.com>
1649 * ibuffer.el (define-ibuffer-column filename): When the major mode
1650 is `vc-dir-mode' show the buffer's default directory.
1652 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1653 major mode is `vc-dir-mode' use the buffer's default directory.
1655 2008-04-30 Sam Steingold <sds@gnu.org>
1657 * vc.el (vc-dir-delete-file): Add.
1658 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1659 (vc-delete-file): Do not barf when the file has been already deleted.
1661 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1663 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1665 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1667 * progmodes/octave-mod.el (octave-help): New function.
1668 * progmodes/octave-hlp.el: Delete.
1669 * info-look.el (octave-mode): Add operator index.
1671 * vc.el (vc-checkout): Typo.
1673 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1675 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1676 Add "..." in the appropriate places.
1678 * epa.el (epa-key-list-mode-map): Add more menu entries.
1679 Add "..." in the appropriate places.
1681 * dired.el (dired-mode-map): Add :help.
1683 * vc.el (vc-deduce-fileset): Add new parameter.
1684 (vc-dir-marked-only-files): New function.
1685 (vc-next-action): Don't ignore directories, look at the files
1687 (vc-dir-mode): Document how the mark/unmark commands work.
1689 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1692 Rule out trailing spaces in file and directory names as well.
1694 * minibuffer.el (completion--do-completion): Move point even if the
1695 completion makes no change.
1696 (completion-pcm-try-completion): Fix computation of new point.
1698 2008-04-30 David Hansen <david.hansen@gmx.net>
1700 * dired.el: Require 'cl.
1702 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1704 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1705 hollow if not in innermost frame.
1707 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1709 Make `checkout-model' apply to filesets.
1710 * vc-hooks.el (vc-checkout-model): Rewrite.
1711 (vc-before-save, vc-after-save): Adjust callers accordingly.
1712 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1713 (vc-transfer-file): Adjust callers accordingly.
1714 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1715 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1716 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1717 instead of vc-checkout-model.
1718 * vc-mcvs.el (vc-mcvs-revert):
1719 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1720 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1721 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1722 * vc-svn.el (vc-svn-checkout-model):
1723 * vc-hg.el (vc-hg-checkout-model):
1724 * vc-git.el (vc-git-checkout-model):
1725 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1727 * dired.el (dired-read-dir-and-switches): Replace last change with
1728 a new approach that mixes read-file-name and read-directory-name.
1730 * files.el (read-buffer-to-switch):
1731 Avoid making assumptions about `other-buffer'.
1733 2008-04-29 Sam Steingold <sds@gnu.org>
1735 * vc.el (vc-dir-mode-hook): Add normal hook.
1736 (vc-dir-mode): Run it.
1738 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1740 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1741 Always split windows.
1742 (gdb-speedbar-timer-fn): Only raise frame after user input.
1743 (gdb-same-frame): Reverse initial value.
1744 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1746 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1747 gdb-speedbar-timer-fn.
1749 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1753 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1755 * epa.el (epa-key-list-mode-map): Add menu.
1756 (epa-delete-keys, epa-import-keys): Fix typo.
1758 2008-04-29 Glenn Morris <rgm@gnu.org>
1760 * find-cmd.el (top-level): Does not need cl when compiling.
1762 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1764 * find-cmd.el: New file.
1766 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1769 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1770 (completion-pcm--hilit-commonality): New function.
1771 (completion-pcm-all-completions): Use it.
1773 * minibuffer.el (completion-common-substring): Mark obsolete.
1774 (completions-first-difference, completions-common-part):
1775 Move from simple.el.
1776 (completion-hilit-commonality): New fun.
1777 (display-completion-list, completion-emacs21-all-completions)
1778 (completion-emacs22-all-completions): Use it.
1779 * simple.el (completions-first-difference, completions-common-part):
1780 Move to minibuffer.el.
1781 (choose-completion-string): Use field functions and minibufferp.
1782 (completion-setup-function): Don't set completions faces.
1784 2008-04-29 Glenn Morris <rgm@gnu.org>
1786 * calendar/calendar.el (calendar-nth-named-absday)
1787 (calendar-nth-named-day):
1788 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1789 * calendar/holidays.el (holiday-float): Doc fixes.
1791 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1794 * org/org-agenda.el (calendar-iso-from-absolute):
1795 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1798 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1800 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1801 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1802 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1803 (gdb-assembler-custom): Be careful not to match other addresses.
1805 2008-04-29 Jason Rumney <jasonr@gnu.org>
1807 * battery.el (battery-status-function): Use w32-battery-status
1809 (battery-echo-area-format): Make apm format the general case.
1810 (battery-mode-line-format): Merge apm and pmset formats as the
1813 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1815 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1816 Use gud-tool-bar-item-visible-no-fringe.
1817 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1818 is already visible in frame. Remove optional size parameter
1819 and add optional frame parameter.
1821 * progmodes/gud.el (gud-display-line): Only consider visible
1822 frames when looking for source buffer.
1824 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1826 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1827 argument to get-char-property, in case the current buffer hasn't
1828 been assigned to that window yet.
1829 (doc-view-display): Default to selected window if the current
1830 buffer hasn't been assigned to a window yet.
1832 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1834 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1836 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1838 * net/tramp.el (tramp-mode): New defcustom.
1839 (tramp-file-name-handler, tramp-completion-file-name-handler):
1841 (tramp-replace-environment-variables): Handle "$$".
1843 2008-04-28 Sam Steingold <sds@gnu.org>
1845 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1847 2008-04-28 Bastien Guerry <bzg@altern.org>
1849 * whitespace.el (whitespace-trailing): Fix typo.
1851 2008-04-28 Sam Steingold <sds@gnu.org>
1853 * textmodes/remember.el (diary-make-entry): Update the autoload.
1855 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1860 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1862 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1864 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1866 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1867 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1868 (vc-dir-mark-file): Add an optional argument.
1869 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1871 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1873 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1874 rather than obsolete alias find-file-hooks.
1875 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1876 Use find-file-hook rather than obsolete alias find-file-hooks.
1877 Add to find-file-not-found-functions.
1878 (epa-file-handler): Put 'safe-magic and 'operations properties.
1880 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1881 (epa-menu-items): Remove.
1883 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1884 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1885 (epa-dired-mode, epa-global-dired-mode): Remove.
1887 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1889 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1891 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1893 2008-04-27 Glenn Morris <rgm@gnu.org>
1895 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1896 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1898 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1900 * org/org.el (org-html-level-start): Always have id's in HTML.
1901 (org-export-as-html): Use `org-link-protocols' to
1902 retrieve the export form of the link.
1903 (org-add-link-type): Final parameter renamed from PUBLISH.
1904 Better documentation of how it is to be used. Avoid double entries for
1906 (org-add-link-props): New function.
1907 (org-modules-loaded): New variable.
1908 (org-load-modules-maybe, org-set-modules): New function.
1909 (org-modules): New option.
1910 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1911 (orgtbl-mode, org-store-link, org-insert-link-global)
1912 (org-open-at-point): Call `org-load-modules-maybe'.
1913 (org-search-view): Add more text properties.
1914 (org-agenda-schedule, org-agenda-deadline): Allow also in
1915 search-type agendas.
1916 (org-search-view): Order of arguments has been changed.
1917 Interpret prefix-arg as TODO-ONLY.
1918 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1919 Take new argument order of `org-search-view' into account.
1920 (org-todo-only): New variable.
1921 (org-search-syntax-table): New variable and function.
1922 (org-search-view): Do the search with the special syntax table.
1923 (define-obsolete-function-alias): Make work with XEmacs.
1924 (org-add-planning-info): Use old date as default when modifying an
1925 existing deadline or scheduled item.
1926 (org-agenda-compute-time-span): Make argument N optional.
1927 (org-agenda-format-date-aligned): Require `cal-iso'.
1928 (org-agenda-list): Include week into agenda heading, don't
1929 list it at each date (only on Mondays).
1930 (org-read-date-analyze): Define local variable `iso-date'.
1931 (org-agenda-format-date-aligned): Remove dependency on
1932 `calendar-time-from-absolute'.
1933 (org-remember-apply-template, org-go-to-remember-target):
1934 Interpret filenames relative to `org-directory'.
1935 (org-complete): Silently fail when trying to complete
1936 keywords that don't have a default value.
1937 (org-get-current-options): Add a #+DATE: option.
1938 (org-additional-option-like-keywords): Remove "DATE:" from the
1939 list of additional keywords.
1940 (org-export-as-html): Remove (current-time) as unnecessary second
1941 argument of `format-time-string'.
1942 (org-clock-find-position): Handle special case at end of buffer.
1943 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1944 `org-agenda-change-time-span'.
1945 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1946 `org-agenda-change-time-span'.
1947 (org-agenda-month-view): New argument MONTH, pass it on to
1948 `org-agenda-change-time-span'.
1949 (org-agenda-year-view): New argument YEAR, pass it on to
1950 `org-agenda-change-time-span'.
1951 (org-agenda-change-time-span): New optional argument N, pass it on
1952 to `org-agenda-compute-time-span'.
1953 (org-agenda-compute-time-span): New argument N, interpret it by
1954 changing the starting day.
1955 (org-small-year-to-year): New function.
1956 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1957 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1958 into the future, and that the shift is at least one interval, never 0.
1959 (org-update-checkbox-count): Fix bug with checkbox counting.
1960 (org-add-note): New command.
1961 (org-add-log-setup): Rename from `org-add-log-maybe'.
1962 (org-log-note-headings): New entry for plain notes (i.e. notes not
1963 related to state changes or clocking).
1964 (org-get-org-file): Check for availability of `remember-data-file'.
1965 (org-cached-entry-get): Allow a regexp value for
1966 `org-use-property-inheritance'.
1967 (org-use-property-inheritance): Allow regexp value. Fix bug in
1969 (org-use-tag-inheritance): Allow a list and a regexp value for
1971 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1972 (org-entry-get): Respect value `selective' for the INHERIT argument.
1973 (org-tag-inherit-p, org-property-inherit-p): New functions.
1974 (org-agenda-format-date-aligned): Allow 10 characters for
1975 weekday, to acomodate German locale.
1976 (org-add-archive-files): New function.
1977 (org-agenda-files): New argument `ext', to get archive files as well.
1978 (org-tbl-menu): Protect the use of variables that
1979 are only available when org-table.el gets loaded.
1980 (org-read-agenda-file-list): Error if `org-agenda-files' is a
1982 (org-open-file): Allow a batch process to trigger
1983 waiting after executing a system command.
1984 (org-store-link): Link to headline when there is not
1985 target and no region in an org-mode buffer when creating a link.
1986 (org-link-types-re): New variable.
1987 (org-make-link-regexps): Compute `org-link-types-re'.
1988 (org-make-link-description-function): New option.
1989 (org-agenda-date, org-agenda-date-weekend): New faces.
1990 (org-archive-sibling-heading): New option.
1991 (org-archive-to-archive-sibling): New function.
1992 (org-iswitchb): New command.
1993 (org-buffer-list): New function.
1994 (org-agenda-columns): Also try the #+COLUMNS line in
1995 the buffer associated with the entry at point (or with the first
1996 entry in the agenda view).
1997 (org-modules): Add entry for org-bibtex.el.
1998 (org-completion-fallback-command): Move into `org-completion' group.
1999 (org-clock-heading-function): Move to `org-progress' group.
2000 (org-auto-repeat-maybe): Make sure that a note can
2001 be enforces if `org-log-repeat' is `note'.
2002 (org-modules): Allow additional symbols for external packages.
2003 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
2004 (org-clock-goto): Hide drawers after showing an
2005 entry with `org-clock-goto.'
2006 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
2007 Try also a clocktable block shift.
2008 (org-clocktable-try-shift): New function.
2009 (org-columns-hscoll-title): New function.
2010 (org-columns-previous-hscroll): New variable.
2011 (org-columns-full-header-line-format): New variable.
2012 (org-columns-display-here-title, org-columns-remove-overlays):
2013 Install `org-columns-hscoll-title' in post-command-hook.
2015 * org/org.el: Split into many small files.
2017 * org/org-agenda.el: New file, split off from org.el.
2019 * org/org-archive.el: New file, split off from org.el.
2021 * org/org-bbdb.el: New file.
2023 * org/org-bibtex.el: New file, split off from org.el.
2025 * org/org-clock.el: New file, split off from org.el.
2027 * org/org-colview.el: New file, split off from org.el.
2029 * org/org-compat.el: New file, split off from org.el.
2031 * org/org-exp.el: New file, split off from org.el.
2033 * org/org-faces.el: New file, split off from org.el.
2035 * org/org-gnus.el: New file, split off from org.el.
2037 * org/org-info.el: New file, split off from org.el.
2039 * org/org-infojs.el: New file.
2041 * org/org-irc.el: New file.
2043 * org/org-macs.el: New file, split off from org.el.
2045 * org/org-mew.el: New file.
2047 * org/org-mhe.el: New file, split off from org.el.
2049 * org/org-publish.el: New file, split off from org.el.
2051 * org/org-remember.el: New file, split off from org.el.
2053 * org/org-rmail.el: New file, split off from org.el.
2055 * org/org-table.el: New file, split off from org.el.
2057 * org/org-vm.el: New file, split off from org.el.
2059 * org/org-wl.el: New file, split off from org.el.
2061 2008-04-27 Jason Riedy <jason@acm.org>
2063 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
2064 parameter that supresses lines that evaluate to NIL.
2065 (orgtbl-get-fmt): New inline function for
2066 picking apart formats that may be lists.
2067 (orgtbl-apply-fmt): New inline function for applying formats that
2069 (orgtbl-eval-str): New inline function for strings that may be
2071 (orgtbl-format-line, orgtbl-to-generic): Use and document.
2072 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
2073 (*orgtbl-llfmt*, *orgtbl-llstart*)
2074 (*orgtbl-llend*): Dynamic variables for last-line formatting.
2075 (orgtbl-format-section): Shift formatting to support detecting the
2076 last line and formatting it specially.
2077 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
2078 formats unless overridden.
2079 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
2080 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
2081 bound variables to hold the input collection of lines and output
2083 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
2084 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
2086 (orgtbl-format-line): New function encapsulating formatting for a
2088 (orgtbl-format-section): Similar for each section. Rebinding the
2089 dynamic vars customizes the formatting for each section.
2090 (orgtbl-to-generic): Use orgtbl-format-line and
2091 orgtbl-format-section.
2092 (org-get-param): Now unused, so delete.
2093 (orgtbl-gather-send-defs): New function to
2094 gather all the SEND definitions before a table.
2095 (orgtbl-send-replace-tbl): New function to find the RECEIVE
2096 corresponding to the current name.
2097 (orgtbl-send-table): Use the previous two functions and implement
2098 multiple destinations for each table.
2100 * doc/org.texi (A LaTeX example): Note that fmt may be a
2101 one-argument function, and efmt may be a two-argument function.
2102 (Radio tables): Document multiple destinations.
2104 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
2106 * org/org-agenda.el (org-add-to-diary-list): New function.
2107 (org-prefix-has-effort): New variable.
2108 (org-sort-agenda-noeffort-is-high): New option.
2109 (org-agenda-columns-show-summaries)
2110 (org-agenda-columns-compute-summary-properties): New options.
2111 (org-format-agenda-item): Compute the duration of the item.
2112 (org-agenda-weekend-days): New variable.
2113 (org-agenda-list, org-timeline): Use the proper faces for dates in
2114 the agenda and timeline buffers.
2115 (org-agenda-archive-to-archive-sibling): New command.
2116 (org-agenda-start-with-clockreport-mode): New option.
2117 (org-agenda-clockreport-parameter-plist): New option.
2118 (org-agenda-clocktable-mode): New variable.
2119 (org-agenda-deadline-leaders): Allow a function value for the
2121 (org-agenda-get-deadlines): Deal with new function value.
2123 * lisp/org-clock.el (org-clock): New customization group.
2124 (org-clock-into-drawer, org-clock-out-when-done)
2125 (org-clock-in-switch-to-state, org-clock-heading-function):
2126 Move into the new group.
2127 (org-clock-out-remove-zero-time-clocks): New option.
2128 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
2129 (org-dblock-write:clocktable): Allow a Lisp form for the scope
2131 (org-dblock-write:clocktable): Fix bug with total time calculation.
2132 (org-dblock-write:clocktable): Request the unrestricted list of files.
2133 (org-get-clocktable): New function.
2134 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
2135 be strings but also integers (an absolute day number) and lists (m d y).
2137 * org/org-colview.el (org-columns-next-allowed-value)
2138 (org-columns-edit-value): Limit the effort for updating in the
2139 agenda to recomputing a single file.
2140 (org-columns-compute): Only write property value if it has changed.
2141 This avoids raising the buffer-change-flag unnecessarily.
2142 (org-agenda-colview-summarize)
2143 (org-agenda-colview-compute): New functions.
2144 (org-agenda-columns): Call `org-agenda-colview-summarize'.
2146 * org/org-exp.el (org-export-run-in-background): New option.
2147 (org-export-icalendar): Allow a batch process to trigger waiting
2148 after executing a system command.
2149 (org-export-preprocess-string): Rename from
2150 `org-cleaned-string-for-export'.
2151 (org-export-html-style): Made target class look like normal text.
2152 (org-export-as-html): Make use of the better proprocessing in
2153 `org-cleaned-string-for-export'.
2154 (org-cleaned-string-for-export): Better treatment of heuristic
2155 targets, many more internal links will now work in HTML export.
2156 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2157 (org-export-inbuffer-options-extra): New variable.
2158 (org-export-options-filters): New hook.
2159 (org-infile-export-plist): Find also the settings keywords in
2160 `org-export-inbuffer-options-extra'.
2161 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2162 multiple #+INFOJS_OPT lines.
2163 (org-export-html-handle-js-options): New function.
2164 (org-export-html-infojs-setup): New option.
2165 (org-export-as-html): Call `org-export-html-handle-js-options'.
2166 Add autoload to all entry points.
2167 (org-skip-comments): Function removed.
2169 * org/org-table.el (org-table-make-reference): Extra parenthesis
2170 around single fields, to make sure that algebraic formulas get
2171 correctly interpreted by calc.
2172 (org-table-current-column): No longer interactive.
2174 * org/org-export-latex.el (org-export-latex-preprocess):
2175 Rename from `org-export-latex-cleaned-string'.
2177 2008-04-27 Bastien Guerry <bzg@altern.org>
2179 * org/org-publish.el (org-publish-get-base-files-1): New function.
2180 (org-publish-get-base-files): Use it.
2181 (org-publish-temp-files): New variable.
2182 Don't require 'dired-aux anymore.
2183 (org-publish-initial-buffer): New variable.
2184 (org-publish-org-to, org-publish): Use it.
2185 (org-publish-get-base-files-1): Bug fix: get
2186 the proper list of files when recursing thru a directory.
2187 (org-publish-get-base-files): Use the :exclude property to skip
2188 both files and directories.
2190 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2192 * net/tramp.el (tramp-handle-make-symbolic-link)
2193 (tramp-handle-file-name-directory)
2194 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2195 (tramp-do-copy-or-rename-file-directly)
2196 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2197 (tramp-handle-substitute-in-file-name)
2198 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2199 * net/tramp-cache.el (tramp-get-file-property)
2200 (tramp-set-file-property, tramp-flush-file-property)
2201 (tramp-flush-directory-property)
2202 * net/tramp-compat.el (tramp-compat-make-temp-file)
2203 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2204 Disable `file-name-handler-alist' when handling localname.
2205 It could have a remote file syntax, like a VMS file name.
2207 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2209 * whitespace.el: New version 11.1.
2210 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2211 enclosed by \\( and \\)$. Docstring fix.
2212 (whitespace-trailing-regexp): Fun removed.
2213 (whitespace-report-list): Const initialization fix.
2214 (whitespace-color-on): Code fix.
2216 2008-04-27 Andreas Schwab <schwab@suse.de>
2218 * Makefile.el: Unbreak bootstrap.
2220 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2222 * net/tramp.el (tramp-replace-environment-variables): New defun.
2223 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2226 2008-04-27 Glenn Morris <rgm@gnu.org>
2228 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2230 * calculator.el (calculator-expt): Replace cl function `oddp'.
2232 2008-04-27 Johan Bockgård <bojohan@gnu.org>
2234 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2235 Simplify. Collect `defun' and `autoload' entries.
2236 Avoid modifying load-history.
2238 2008-04-26 Glenn Morris <rgm@gnu.org>
2240 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2242 * simple.el (quoted-insert, zap-to-char): Revert previous change.
2244 2008-04-26 John Paul Wallington <jpw@pobox.com>
2246 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2247 `hexl-mode-old-eldoc-documentation-function'.
2248 (hexl-mode-exit): Restore it.
2249 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2251 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2253 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
2255 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2256 (completion-pcm--all-completions): Doc fix.
2257 (completion-styles-alist, completion-all-completions):
2258 Fix typos in docstrings.
2260 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2262 * whitespace.el: There is now only one variable (whitespace-style) to
2263 specify which kind of blank is visualized. Doc and docstring fix.
2265 (whitespace-style): New option, replace whitespace-style-mark and
2266 whitespace-style-color.
2267 (whitespace-style-mark, whitespace-style-color): Options removed.
2268 (whitespace-hspace, whitespace-tab, whitespace-newline)
2269 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2270 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2271 (whitespace-hspace-regexp, whitespace-space-regexp)
2272 (whitespace-tab-regexp, whitespace-trailing-regexp)
2273 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2274 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2275 (whitespace-space-after-tab-regexp, whitespace-line-column)
2276 (whitespace-display-mappings, whitespace-report): Docstring fix.
2277 (whitespace-color-value-list, whitespace-mark-value-list)
2278 (whitespace-active-color, whitespace-active-mark)
2279 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2280 (whitespace-style-value-list, whitespace-active-style)
2281 (whitespace-toggle-style): New vars.
2282 (whitespace-toggle-option-alist, whitespace-help-text):
2283 Var initialization and docstring fix.
2284 (whitespace-toggle-options, global-whitespace-toggle-options)
2285 (whitespace-cleanup, whitespace-cleanup-region)
2286 (whitespace-report-region, whitespace-interactive-char)
2287 (whitespace-toggle-list): Docstring and code fix.
2288 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2289 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2290 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2291 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2293 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2295 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2296 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2297 (diff-sanity-check-hunk): Adjust code accordingly.
2299 2008-04-26 Glenn Morris <rgm@gnu.org>
2301 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2303 * forms-d2.dat: Move to ../etc.
2304 * forms-d2.el (forms-file): Adapt for above change.
2306 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2307 `translation-table-for-input'.
2309 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2310 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2312 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2313 to punctuation now it's not needed for abbrevs.
2314 (fortran-mode-abbrev-table): Remove defvar, make use of new
2315 define-abbrev-table :regexp feature.
2317 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2318 insert, now that translation-table-for-input is not needed.
2320 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
2322 * emacs-lisp/pp.el (pp-display-expression): New function,
2323 extracted from pp-eval-expression.
2324 (pp-eval-expression): Use pp-display-expression.
2325 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2326 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2327 (pp-eval-last-sexp): Use pp-last-sexp.
2329 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2331 * abbrev.el (define-abbrev-table): Apply props even if the table
2334 * minibuffer.el (completion-table-with-context): Fix `pred' for the
2335 various kinds of completion tables.
2336 (completion-emacs22-try-completion): Place cursor after the /, as was
2337 done in Emacs-22's minibuffer-complete-word.
2338 Fix bug reported by David Hansen <david.hansen@gmx.net>.
2339 (completion-emacs22-try-completion): Merge all mergable text rather
2341 (completion-pcm--delim-wild-regex): New var.
2342 (completion-pcm-word-delimiters): New custom.
2343 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2344 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2345 (completion-pcm--all-completions, completion-pcm-all-completions)
2346 (completion-pcm--merge-completions, completion-pcm--pattern->string)
2347 (completion-pcm-try-completion): New functions.
2348 (completion-styles-alist): Add them.
2349 (completion-styles): Add it to the default.
2351 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
2353 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2354 (gdb-var-create-handler): ...until here when there are values.
2355 (gdb-post-prompt): Don't do -var-update with no watch expressions.
2356 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2358 2008-04-25 Eli Zaretskii <eliz@gnu.org>
2360 * ls-lisp.el (ls-lisp-format): Fix last change.
2361 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2362 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2363 (ls-lisp-filesize-f-fmt): New defvars.
2364 (ls-lisp-insert-directory): Dynamically compute format specifiers
2365 for displaying UID, GID, and file size, and store them in the
2367 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2368 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2369 instead of constant format strings.
2370 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2371 ls-lisp-filesize-d-fmt instead of constant format strings.
2373 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
2375 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2376 value of addresses rather than (partial) string value.
2377 (gdb-frame-handler): Change regexp according to above change.
2378 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2379 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2380 (gdb-assembler-mode): Disable undo in these buffers.
2382 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
2384 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2385 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2387 2008-04-24 Sam Steingold <sds@gnu.org>
2389 * textmodes/remember.el (remember-diary-extract-entries): Use
2390 diary-make-entry instead of the obsolete make-diary-entry.
2392 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * subr.el (translation-table-for-input): Mark as obsolete.
2396 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2398 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2400 * textmodes/ispell.el (ispell-dictionary-alist-1)
2401 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2402 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2403 (ispell-dictionary-alist-6): Remove.
2404 (ispell-dictionary-base-alist): New var, merges the above.
2405 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2407 (ispell-dictionary-alist): Default to nil. Remove autoload.
2408 (ispell-local-dictionary-alist): Remove autoload.
2410 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2411 (f90-mode-abbrev-table): Use the new :regexp feature.
2412 Merge defvar and mapc into define-abbrev-table.
2413 (f90-imenu-type-matcher): Remove unused `l'.
2414 (f90-imenu-generic-expression): Remove unused `not-ib'.
2415 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2416 (f90-change-keywords): Use restore-buffer-modified-p.
2418 2008-04-24 Glenn Morris <rgm@gnu.org>
2420 * net/goto-addr.el (goto-address-prog-mode):
2421 * progmodes/bug-reference.el (bug-reference-prog-mode):
2422 Define for compiler.
2424 * minibuffer.el (x-file-dialog): Declare as function.
2426 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2427 dframe-update-speed rather than obsolete alias speedbar-update-speed.
2429 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2430 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2431 work with easymenu. Add :keys where needed.
2433 * calendar/cal-move.el (calendar-scroll-left): Handle case when
2436 * calendar/calendar.el (calendar-mode-map): Fix typo.
2438 2008-04-24 Tom Tromey <tromey@redhat.com>
2440 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2441 Document keywords. Add :suppress.
2442 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2444 * net/goto-addr.el (goto-address-unfontify): New function.
2445 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2446 (goto-address-fontify-region, goto-address-mode)
2447 (goto-address-prog-mode): New functions.
2449 * progmodes/bug-reference.el: New file.
2451 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2453 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2455 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2457 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2458 macros within lambdas.
2460 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * minibuffer.el (completion-try-completion): Add `point' argument.
2463 Change return value.
2464 (completion-all-completions): Add `point' argument.
2465 (minibuffer-completion-help): Pass the new `point' argument.
2466 (completion--do-completion): Pass the whole field to try-completion.
2467 (completion--try-word-completion): Rewrite, making fewer assumptions.
2468 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2469 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2470 (completion-basic-try-completion, completion-basic-all-completions):
2472 (completion-styles-alist): Use them.
2474 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2476 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2477 right params and dictionary alists are used after spellchecker changes.
2478 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2479 (ispell-initialize-spellchecker-hook): New variables and hook.
2480 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2481 (ispell-maybe-find-aspell-dictionaries): Remove.
2482 Calls replaced by (ispell-set-spellchecker-params) calls.
2483 (ispell-have-aspell-dictionaries): Remove.
2484 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2485 ispell-set-spellchecker-params.
2487 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2489 * complete.el (PC-do-completion): Be more robust in the presence of
2490 unexpected values in minibuffer-completion-predicate.
2492 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2493 Only abbreviate default-filename if it's a file.
2495 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2496 (read-file-name-completion-ignore-case, insert-default-directory):
2497 New vars, moved from fileio.c.
2498 (read-file-name): New fun, moved from fileio.c.
2499 * cus-start.el: Remove insert-default-directory and
2500 read-file-name-completion-ignore-case.
2502 2008-04-23 Magnus Henoch <mange@freemail.hu>
2504 * tar-mode.el (tar-untar-buffer): If the entry has directory
2505 link type, extract it as a directory even if its file name doesn't
2506 end with a slash. Fixes extraction of NetBSD tar archives.
2508 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * server.el (server-start): Also don't get confused by CRs since we
2513 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2515 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2516 (gdb-set-gud-minor-mode-existing-buffers)
2517 (gdb-info-breakpoints-custom, gdb-get-location)
2518 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2519 Previously gdb-create-define-alist wasn't always run and added to
2522 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2524 2008-04-23 Kevin Ryde <user42@zip.com.au>
2526 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2527 comments like unindented ones.
2529 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2531 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2534 2008-04-23 Kevin Ryde <user42@zip.com.au>
2536 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2537 Bind print-level to ensure output forms aren't truncated if
2538 print-level is set to eval-expression-print-level when going via
2539 eval-defun and friends, or has been otherwise fiddled with.
2541 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2544 font-lock-extend-after-change-region-function globally.
2546 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2548 * speedbar.el (speedbar-use-tool-tips-flag)
2549 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2550 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2551 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2552 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2553 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2554 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2555 (speedbar-separator-face): Fix typos in docstrings.
2556 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2557 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2558 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2559 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2560 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2561 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2562 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2563 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2564 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2565 (speedbar-recenter): Doc fixes.
2566 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2567 declaration and remove redundant info in docstring.
2569 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2571 * vc-git.el (vc-git-status-printer): Deal with directories.
2573 * vc.el (vc-next-action): Look at more than the first file to
2574 determine the state.
2576 2008-04-23 Glenn Morris <rgm@gnu.org>
2578 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2580 (dframe-update-speed): Drop support for XEmacs < 20.
2581 (dframe-frame-mode): Drop support for Emacs < 20.
2582 (dframe-set-timer-internal): Drop support for Emacs without timers.
2583 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2585 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2586 versions. Add doc-string. Mark as obsolete.
2588 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2590 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2591 rather than using an Emacs version test.
2593 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2594 rather than an Emacs version test.
2596 * calendar/cal-china.el (holiday-chinese-qingming)
2597 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2598 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2599 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2601 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2603 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2604 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2605 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2607 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2609 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2610 (gdb-previous-frame-pc-address): ...to this.
2611 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2612 of "info frame" with Gdb 6.4+.
2613 (gdb-stack-list-frames-regexp): New regexp.
2614 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2616 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2618 * tar-mode.el (tar-prefix-offset): New constant.
2619 (tar-header-block-tokenize): Support paths with long names
2620 which use the "ustar" standard.
2622 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2624 * image-dired.el (image-dired-track-original-file)
2625 (image-dired-modify-mark-on-thumb-original-file):
2626 Use `dired-goto-file' instead of `search-forward'. This solves
2627 a bug with finding files where the file name is a subset of other
2628 file names. Doc fix.
2630 2008-04-22 Juri Linkov <juri@jurta.org>
2632 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2633 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2634 (yank-menu-length): Change group name `mouse' to `menu'.
2635 (buffers-menu-buffer-name-length): New user option.
2636 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2637 instead of the hard-coded number 27.
2639 2008-04-22 Juri Linkov <juri@jurta.org>
2641 * isearch.el (eval-when-compile): Require `help-macro'.
2642 (isearch-help-for-help-internal): Isearch specific Help screen
2643 created by `make-help-screen'.
2644 (isearch-help-map): New variable that binds "b", "k", "m" to
2645 isearch-specific commands, and binds other keys to
2646 isearch-other-control-char, thus allowing other Help keys to
2647 exit isearch mode and execute their global definitions.
2648 (isearch-help-for-help, isearch-describe-bindings)
2649 (isearch-describe-key, isearch-describe-mode): New commands.
2650 (isearch-mode-help): Define alias to isearch-describe-mode
2651 and remove its old function definition.
2652 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2653 Remove old comments because this issue is settled now.
2654 (isearch-forward): Describe three new Help commands in the docstring.
2655 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2656 leave the single sentence at the first line of the docstring,
2657 and prepend the word "function" before `isearch-forward'
2658 to make the Help link to the function instead of variable.
2660 2008-04-22 Juri Linkov <juri@jurta.org>
2662 * isearch.el (isearch-success-function): New variable with default
2663 to `isearch-success-function-default'.
2664 (isearch-search): Call a function from `isearch-success-function'
2665 instead of calling the hard-coded `isearch-range-invisible'.
2666 (isearch-success-function-default): New function that calls
2667 `isearch-range-invisible' and inverts its return value.
2669 * info.el (Info-search): In two similar places that skip
2670 undesired search matches move code to Info-search-success-function,
2671 and call `isearch-success-function' instead.
2672 (Info-search-success-function): New function copied from code
2673 in Info-search. Replace isearch-range-invisible with
2674 text-property-not-all that checks for 'invisible and 'display
2675 properties to skip partially invisible matches (whose display
2676 properties were set by Info-fontify-node).
2677 (Info-mode): Set buffer-local isearch-success-function
2678 to Info-search-success-function.
2680 2008-04-22 Juri Linkov <juri@jurta.org>
2682 * minibuffer.el (internal-complete-buffer-except): New function.
2684 * files.el (read-buffer-to-switch): New function.
2685 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2686 Change interactive spec to call read-buffer-to-switch instead of
2687 using the letter "B".
2689 * simple.el (minibuffer-default-add-shell-commands): New function.
2690 Use declare-function for mailcap-file-default-commands from "mailcap".
2691 (shell-command): Set local minibuffer-default-add-function to
2692 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2693 before calling read-shell-command. Set 4th arg default-value of
2694 read-shell-command to relative buffer-file-name in file buffers.
2696 * dired-aux.el (dired-read-shell-command-default): Move it to
2697 gnus/mailcap.el and change its name to more general name
2698 mailcap-file-default-commands.
2699 (minibuffer-default-add-dired-shell-commands): New function.
2700 Use declare-function for mailcap-file-default-commands from "mailcap".
2701 (dired-read-shell-command): Set local minibuffer-default-add-function
2702 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2703 before calling read-shell-command. Remove dired-read-shell-command-default
2704 from the default value arg because default values are not set in
2705 minibuffer-default-add-dired-shell-commands. Doc fix.
2707 * dired-x.el (dired-smart-shell-command): Sync arguments and
2708 interactive spec with changes in `shell-command'.
2709 Use dired-get-filename to get the dired file name at point
2710 as the default value in dired mode.
2712 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2714 * info.el (Info-complete-menu-item): Add missing parenthesis.
2716 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * info.el (Info-complete-menu-item): Save point.
2720 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2722 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2724 2008-04-22 Andreas Schwab <schwab@suse.de>
2726 * Makefile.in (emacs-deps): Define.
2727 Use it instead of $(lisp)/subdirs.el.
2729 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2731 * vc.el (vc-next-action): Do not consider directories when
2732 checking for state compatibility.
2733 (vc-transfer-file): Use when not if.
2734 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2735 (vc-dir-mark-file): Use them.
2736 (vc-deduce-fileset): Also return the backend.
2737 (vc-diff-internal): Take as argument the value returned by
2738 vc-deduce-fileset instead of just the fileset.
2739 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2740 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2741 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2743 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2745 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2746 set-window-vscroll but image-scroll-down. Fixes a bug where a
2747 command following SPC scrolled up again.
2749 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2751 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2752 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2753 (gud-watch): Add "$" prefix when in registers buffer.
2755 2008-04-22 Glenn Morris <rgm@gnu.org>
2757 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2759 * whitespace.el (whitespace-display-table)
2760 (whitespace-display-table-was-local): Move definitions before use.
2762 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2763 (copyright-limit): Respect copyright-at-end-flag.
2764 (copyright-re-search, copyright-start-point)
2765 (copyright-offset-too-large-p): New functions.
2766 (copyright-update-year): Use copyright-re-search.
2767 (copyright-update, copyright-fix-years): Use copyright-start-point,
2768 and copyright-re-search.
2769 (copyright): Use copyright-offset-too-large-p.
2770 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2772 * add-log.el (top-level): Require 'cl when compiling.
2774 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2777 Treat minibuffer-completion-predicate as a predicate.
2779 * minibuffer.el (completion--file-name-table): Accept both the old
2780 `dir' arg or the new `pred' arg.
2782 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2783 `predicate' argument to pass non-predicate data.
2784 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2785 Use second arg as proper predicate.
2787 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2788 (vc-bzr-revision-completion-table): Use completion-table-with-context
2791 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2793 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2795 * term.el (term-emulate-terminal): Perform redisplay after the
2796 process filter has finished running.
2798 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2800 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2802 * minibuffer.el (completion-try-completion): Change magic symbol
2803 property name. Rename from minibuffer-try-completion.
2804 (completion-all-completions): Rename from minibuffer-all-completions.
2805 Remove hide-spaces argument.
2806 (completion--do-completion): Rename from minibuffer--do-completion.
2807 (minibuffer-complete-and-exit): Call just try-completion rather than
2808 completion-try-completion to fix up the case.
2809 (completion--try-word-completion): Try to add space or hyphen before
2810 making `string' a prefix of `completion'.
2811 (completion--insert-strings): Rename from minibuffer--insert-strings.
2813 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2815 * net/tls.el (tls-program): Add -ign_eof argument to call the
2817 (tls-checktrust): Ditto.
2819 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2821 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2823 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2824 (vc-check-master-templates, vc-file-not-found-hook)
2825 (vc-kill-buffer-hook):
2826 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2827 (vc-find-position-by-context, vc-buffer-context)
2828 (vc-restore-buffer-context, vc-responsible-backend)
2829 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2830 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2831 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2832 (vc-version-diff, vc-diff, vc-insert-headers)
2833 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2834 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2835 (vc-revert, vc-rollback, vc-version-backup-file)
2836 (vc-rename-master, vc-delete-file, vc-rename-file)
2837 (vc-branch-part, vc-default-retrieve-snapshot)
2838 (vc-annotate-display-autoscale, vc-annotate-display-select)
2839 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2840 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2841 (vc-dir-update): Handle directories.
2842 (vc-default-status-printer): Simplify.
2844 * progmodes/asm-mode.el (asm-mode-map):
2845 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2847 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2849 2008-04-21 Kenichi Handa <handa@m17n.org>
2851 * select.el (xselect-convert-to-string): Send a C_STRING only if
2852 the polymorphic target TEXT is requested.
2854 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2856 * minibuffer.el (completion-setup-hook, display-completion-list)
2857 (completion--file-name-table): Fix typos in docstrings.
2858 (completion-table-dynamic): Fix typo, and reflow docstring.
2860 2008-04-20 Andreas Schwab <schwab@suse.de>
2862 * server.el (server-switch-buffer): Also consider clients in the
2865 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2867 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2868 Select window clicked on first.
2869 (gdb): Display thread number in mode-line.
2870 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2871 (gdb-breakpoints-header): New variable.
2872 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2874 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2876 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2877 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2878 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2879 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2880 (vc-sccs-print-log): Use it.
2882 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2884 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2885 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2887 * tooltip.el (tooltip-previous-message): New var.
2888 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2889 the C code (avoid overwriting a minibuffer, restore previous echo
2891 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2894 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2896 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2897 (gdb-init-1): Initialise it.
2898 (gdb-annotation-rules): New entry for "new-thread".
2899 (gdb-thread-identification): New function to customize
2900 mode-line-buffer-identification.
2901 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2902 (gdb-assembler-mode): Use it.
2903 (gdb-threads-mode): Force "info threads" onto queue.
2905 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * files.el (locate-file-completion-table): Rename from
2908 locate-file-completion and make it use `pred' in the normal way.
2909 (locate-file-completion): New compatibility wrapper.
2910 (load-library): Use locate-file-completion-table.
2911 * finder.el (finder-commentary):
2912 * subr.el (locate-library):
2913 * emacs-lisp/find-func.el (find-library): Likewise.
2914 * info.el: Use with-current-buffer and inhibit-read-only.
2915 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2916 (Info-read-node-name-1): Adjust uses accordingly.
2918 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2919 (completion-table-with-terminator): Don't use complete-with-action
2920 since we have to distinguish all three cases anyway.
2921 (completion-table-with-predicate): New function.
2922 (dynamic-completion-table): Add obsolete alias.
2924 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2926 2008-04-18 Sam Steingold <sds@gnu.org>
2928 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2929 Use quit-window instead of bury-buffer.
2931 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * minibuffer.el (completion-table-with-terminator): Fix last fix.
2935 2008-04-18 Andreas Schwab <schwab@suse.de>
2937 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2938 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2939 Depend on $(lisp)/subdirs.el.
2941 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
2943 * descr-text.el (describe-char-after):
2944 Use `define-obsolete-function-alias'.
2946 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2948 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2950 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2951 Remove redundant obsolescence info in docstring.
2953 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2954 (vc-header-alist): Add WHEN to obsolescence declaration.
2955 (vc-state): Fix typo in docstring.
2957 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2958 Use `define-obsolete-variable-alias'.
2960 * emulation/tpu-edt.el (tpu-have-ispell):
2961 * international/codepage.el (codepage-setup):
2962 Fix typo in obsolescence declaration.
2964 * international/mule.el (char-coding-system-table):
2965 Remove redundant obsolescence info in docstring.
2966 (charset-list, generic-char-p, set-char-table-default):
2967 Fix typos in obsolescence decarations.
2969 * international/mule-diag.el (non-iso-charset-alist):
2970 Fix typo in obsolescence declaration.
2971 (decode-codepage-char): Remove redundant obsolescence info in docstring.
2973 * font-core.el (font-lock-defaults-alist):
2974 * font-lock.el (font-lock-reference-face):
2975 * frame.el (screen-height, screen-width, set-screen-width)
2976 (set-screen-height):
2977 * hilit-chg.el (highlight-changes-initial-state):
2978 * isearch.el (isearch-return-char):
2979 * log-edit.el (cvs-commit-buffer-require-final-newline)
2980 (cvs-changelog-full-paragraphs):
2981 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2982 (mouse-popup-menubar-stuff):
2983 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2984 (mouse-wheel-click-button):
2985 * outline.el (outline-visible):
2986 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2987 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2988 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2989 * progmodes/compile.el (compile-internal):
2990 Add WHEN to obsolescence declarations.
2992 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2995 is not better anyway.
2997 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2999 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
3002 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3004 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
3005 (python-use-skeletons): Remove, unused.
3006 (python-skeletons): Remove. Use the abbrev table instead.
3007 (python-mode-abbrev-table): Fix regexp;
3008 add enable-function and case-fixed.
3009 (def-python-skeleton): Simplify.
3010 (python-expand-template): Use the abbrev-table and abbrev-insert.
3011 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
3013 (python-mode): Don't set pre-abbrev-expand-hook.
3015 * skeleton.el: Set coding-tag.
3017 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
3018 (expand-abbrev): Use it.
3019 (abbrev-table-menu): New function.
3021 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
3023 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
3025 2008-04-17 Sam Steingold <sds@gnu.org>
3027 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
3028 idiosyncratic bury-buffer/delete-window logic.
3030 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
3032 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
3033 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
3035 2008-04-17 Kenichi Handa <handa@m17n.org>
3037 * international/characters.el: Don't make the width of U+00AD to 0.
3039 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
3041 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
3042 (gdb, gdb-starting, gdb-frames-mode): Use it.
3043 (gdb-invalidate-frames): Advise to call "info stack" only if
3044 execution has occurred.
3045 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
3046 selected frame if no execution has occurred.
3047 (gdb-frames-force-update): New interactive function.
3048 (gdb-frames-mode-map): Bind it to "F".
3050 2008-04-17 Michael Olson <mwolson@gnu.org>
3052 * textmodes/remember.el (remember-version): Release Remember 2.0.
3054 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
3056 * textmodes/artist.el:
3057 * progmodes/vhdl-mode.el:
3058 * progmodes/verilog-mode.el:
3059 * progmodes/vera-mode.el:
3060 * progmodes/simula.el:
3061 * progmodes/ps-mode.el:
3062 * progmodes/cmacexp.el:
3063 * obsolete/hilit19.el:
3064 * emulation/viper.el:
3065 * ediff.el: Cleanup the bug-report email addresses and make sure the
3066 maintainer is still willing to handle bug reports.
3068 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
3070 * vc.el (vc-dir-kill-query): Fix thinko.
3072 2008-04-16 Glenn Morris <rgm@gnu.org>
3074 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
3075 by diary-sexp-entry.
3077 2008-04-16 Markus Triska <markus.triska@gmx.at>
3079 * proced.el (proced-command-alist): Add support for darwin.
3081 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * proced.el (proced-mode): Redefine as just the major-mode.
3084 (proced): Separate it from proced-mode.
3086 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
3088 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3090 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
3091 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
3092 `tab-width' setting from user. New version 10.0. Doc and docstring
3094 (whitespace-style, whitespace-chars): Remove options.
3095 (whitespace-style-mark): New option, replace whitespace-style deleted
3096 option. Fix docstring.
3097 (whitespace-style-color): New option, replace whitespace-chars deleted
3098 option. Fix docstring.
3099 (whitespace-space, whitespace-hspace, whitespace-tab)
3100 (whitespace-newline, whitespace-trailing, whitespace-line)
3101 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3102 (whitespace-space-after-tab, whitespace-hspace-regexp)
3103 (whitespace-space-regexp, whitespace-tab-regexp)
3104 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3105 (whitespace-empty-at-eob-regexp, whitespace-line-column)
3106 (whitespace-toggle-option-alist): Fix docstring.
3107 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3108 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
3109 docstring and initialization.
3110 (global-whitespace-mode): Autoloaded global minor mode.
3111 (whitespace-chars-value-list, whitespace-style-value-list)
3112 (whitespace-active-chars, whitespace-active-style)
3113 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
3114 (whitespace-color-value-list): New var, replace
3115 whitespace-chars-value-list removed var.
3116 (whitespace-mark-value-list): New var, replace
3117 whitespace-style-value-list removed var.
3118 (whitespace-active-color): New var, replace whitespace-active-chars
3120 (whitespace-active-mark): New var, replace whitespace-active-style
3122 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
3124 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
3126 (whitespace-toggle-option-alist, whitespace-report-list)
3127 (whitespace-report-text, whitespace-help-text): Fix initialization.
3128 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
3129 (whitespace-toggle-options, global-whitespace-toggle-options)
3130 (whitespace-cleanup-region, whitespace-report-region)
3131 (whitespace-interactive-char): Fix docstring and code.
3132 (whitespace-cleanup, whitespace-report): Fix docstring.
3133 (whitespace-replace-spaces-by-tabs): Remove fun.
3134 (whitespace-replace-action): New fun, replace
3135 whitespace-replace-spaces-by-tabs removed fun.
3136 (whitespace-regexp, whitespace-indentation-regexp)
3137 (whitespace-space-after-tab-regexp, whitespace-insert-value)
3138 (whitespace-kill-buffer): New funs.
3139 (whitespace-insert-option-mark, whitespace-help-on)
3140 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
3141 (whitespace-color-on, whitespace-color-off)
3142 (whitespace-display-char-on): Fix code.
3144 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3146 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
3147 (mouse-throw-magnifier-with-mouse-movement): Remove.
3148 (mouse-throw-magnifier-base): New const.
3149 (mouse-drag-scroll-delta): New fun.
3150 (mouse-drag-throw): Use it.
3152 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
3154 * international/uni-bidi.el, international/uni-category.el:
3155 * international/uni-combining.el, international/uni-comment.el:
3156 * international/uni-decimal.el, international/uni-decomposition.el:
3157 * international/uni-digit.el, international/uni-lowercase.el:
3158 * international/uni-mirrored.el, international/uni-name.el:
3159 * international/uni-numeric.el, international/uni-old-name.el:
3160 * international/uni-titlecase.el, international/uni-uppercase.el:
3161 * international/charprop.el: Regenerate.
3163 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
3165 * vc.el (vc-status-fileinfo): Add new member directoryp.
3166 (vc-default-status-printer): Print directories.
3167 (vc-status-update): Sort files before subdirectories.
3169 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3170 Add alternative implementation based on "cvs update".
3172 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
3174 * doc-view.el: Changed requirements section to tell that only one
3175 of dvipdf or dvipdfm is needed.
3176 (doc-view-already-converted-p): Fix bug that forced reconversion
3177 if doc was already converted.
3179 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * minibuffer.el (minibuffer-message):
3182 Make sure we can put-text-property.
3184 * emacs-lisp/crm.el: Complete rewrite.
3186 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3187 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3188 case of an error in display-completion-list.
3190 * filecache.el (file-cache-completions-keymap): Move init from
3191 file-cache-completion-setup-function into declaration.
3192 (file-cache-minibuffer-complete): Simplify.
3193 (file-cache-completion-setup-function): Use standard-output,
3194 preserve current-buffer.
3196 * vc.el (vc-status-update): Fix typo.
3197 (vc-status-update): Set needs-update.
3198 (vc-status-refresh): η-reduce.
3200 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3202 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3205 2008-04-14 Alexandre Julliard <julliard@winehq.org>
3207 * vc.el (vc-status-update): Undo the previous revert.
3209 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3211 * minibuffer.el (completion-table-with-terminator): Those completions
3212 are never valid w.r.t test-completion.
3213 (completion--file-name-table):
3214 Check completion-all-completions-with-base-size.
3216 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3218 * doc-view.el (doc-view-dvipdf-program): New variable.
3219 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3220 (doc-view-mode-p): Check for doc-view-dvipdf-program as
3221 alternative for doc-view-dvipdfm-program.
3222 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3224 * doc-view.el (doc-view-start-process): Don't set
3225 default-directory to "~/" if the current value is valid.
3226 This broke PS files that run other files in the same directory.
3228 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
3230 * vc.el (vc-status-kill-query): New function.
3231 (vc-status-mode): Add it to kill-buffer-query-functions.
3232 (vc-status-show-fileentry): New function.
3233 (vc-status-menu-map): Bind it. Bind vc-next-action.
3235 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * minibuffer.el (minibuffer-message): Put cursor at the right place.
3239 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3241 * proced.el (proced-send-signal): Fix error recognition.
3243 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3245 * proced.el (proced-command-alist): Remove sort column.
3246 (proced-command, proced-procname-column):
3247 Use make-variable-buffer-local.
3248 (proced-signal-function): Rename from proced-kill-program.
3249 Allow for elisp symbols and string values representing system calls.
3250 (proced-marker-regexp, proced-success-message): New functions.
3251 (proced): Use defalias. Add autoload cookie.
3252 (proced-unmark-backward, proced-toggle-marks)
3253 (proced-hide-processes): New commands.
3254 (proced-do-mark): Simplify code.
3255 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3256 (proced-update): Remove sorting.
3257 (proced-send-signal): Display number of processes to operate on.
3258 Allow for system calls or elisp functions to send signals.
3259 Check if signal was sent successfully.
3261 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * minibuffer.el (completion-all-completion-with-base-size): New var.
3264 (completion--some): New function.
3265 (completion-table-with-context, completion--file-name-table):
3266 Return the base-size if requested.
3267 (completion-table-in-turn): Generalize to multiple arguments.
3268 (complete-in-turn): Compatibility alias.
3269 (completion-styles-alist): New var.
3270 (completion-styles): New customization.
3271 (minibuffer-try-completion, minibuffer-all-completions):
3273 (minibuffer--do-completion, minibuffer-complete-and-exit)
3274 (minibuffer-try-word-completion): Use them.
3275 (display-completion-list, minibuffer-completion-help): Use them.
3276 Handle all-completions's new base-size info to set completion-base-size.
3277 * info.el (Info-read-node-name-1): Use completion-table-with-context,
3278 completion-table-with-terminator and complete-with-action.
3279 Remove the now obsolete completion-base-size-function property.
3280 * simple.el (completion-list-mode-map): Move init into declaration.
3281 (completion-list-mode): Use define-derived-mode.
3282 (completion-setup-function): Use any completion-base-size that may
3283 have been set before. Remove handling of completion-base-size-function.
3284 * loadup.el: Move abbrev.el up earlier.
3286 2008-04-13 Alexandre Julliard <julliard@winehq.org>
3288 * vc-git.el (vc-git-after-dir-status-stage)
3289 (vc-git-dir-status-goto-stage): New functions.
3290 (vc-git-after-dir-status-stage1)
3291 (vc-git-after-dir-status-stage1-empty-db)
3292 (vc-git-after-dir-status-stage2): Remove, functionality moved
3293 into the new generic stage functions.
3294 (vc-git-dir-status-files): New function.
3296 * vc.el (vc-status-update): Revert an incorrect rewrite.
3298 (vc-status-refresh-files): New function.
3299 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3300 state of up-to-date files.
3301 (vc-default-dir-status-files): New function.
3303 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
3305 * minibuffer.el (completion--embedded-envvar-table)
3306 (read-file-name-internal): Fix typos in 2008-04-11 change.
3308 * faces.el (read-face-name): Use `completion-table-in-turn',
3309 not `complete-in-turn'.
3311 2008-04-13 Andreas Schwab <schwab@suse.de>
3313 * progmodes/etags.el: Require 'cl when compiling.
3315 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
3317 * progmodes/gud.el (gud-menu-map): Expand tooltip.
3319 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3320 (menu): Add/expand menu tooltips.
3322 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
3324 * progmodes/sh-script.el (sh-show-indent): Fix typo.
3325 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3327 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3328 considered registered.
3330 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
3332 * emacs-lisp/copyright.el (copyright-update-directory): New command.
3334 * ediff-wind.el (ediff-split-window-function)
3335 (ediff-merge-split-window-function): Improve custom type.
3337 2008-04-12 Eli Zaretskii <eliz@gnu.org>
3339 * loadup.el ("minibuffer"): Move after "faces".
3341 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3343 * progmodes/hideif.el (hif-factor): Handle unary minus.
3345 2008-04-12 Glenn Morris <rgm@gnu.org>
3347 * calendar/cal-china.el (chinese-calendar-time-zone):
3348 Mark obsolete name as risky too.
3350 * calendar/calendar.el (calendar-faces): New custom group.
3351 (calendar-today, diary, holiday): Doc fix.
3352 Move to calendar-faces group.
3353 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3354 (diary-button): Doc fix. Move to calendar-faces group.
3356 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3357 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3358 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3359 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3360 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3361 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3362 not in dumped files before the associated defcustom.
3364 2008-04-11 Johan Bockgård <bojohan@gnu.org>
3366 * minibuffer.el (lazy-completion-table): Fix debug spec.
3368 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3370 * minibuffer.el (complete-with-action, lazy-completion-table):
3372 (apply-partially, completion-table-dynamic)
3373 (completion-table-with-context, completion-table-with-terminator)
3374 (completion-table-in-turn): New funs.
3375 (completion--make-envvar-table, completion--embedded-envvar-table):
3377 (read-file-name-internal): Use them.
3378 (completion-setup-hook): Move from simple.el.
3379 * subr.el (complete-with-action, lazy-completion-table):
3380 * simple.el (completion-setup-hook): Move to minibuffer.el.
3382 2008-04-11 Glenn Morris <rgm@gnu.org>
3384 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3386 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3388 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3390 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3392 * textmodes/fill.el (fill-forward-paragraph-function): New var.
3393 (fill-forward-paragraph): New fun.
3394 (fill-paragraph, fill-region): Use it.
3396 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3397 (vc-status-create-fileinfo): Make `extra' optional.
3398 (vc-status-busy): New fun.
3399 (vc-status-menu-map): Use it.
3400 (vc-status-crt-marked): Remove.
3401 (vc-status-update): Rename from vc-status-add-entries.
3402 Add argument so as to prevent addition of entries. Rewrite.
3403 (vc-update-vc-status-buffer): Remove.
3404 (vc-status-refresh): Don't remove old entries, set them to
3405 up-to-date instead. Also do it after the update is complete.
3406 (vc-status-marked-files): η-reduce.
3408 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3411 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3413 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3415 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
3417 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3418 to t and don't truncate msg.
3420 2008-04-11 Glenn Morris <rgm@gnu.org>
3422 * calendar/calendar.el (diary, holidays):
3423 Move custom groups to other files.
3424 (holiday-general-holidays, holiday-oriental-holidays)
3425 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3426 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3427 (holiday-hebrew-holidays, holiday-christian-holidays)
3428 (holiday-islamic-holidays, holiday-bahai-holidays)
3429 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3430 * calendar/diary-lib.el: Move custom group here from calendar.el.
3431 * calendar/holidays-lib.el: Move custom group and variables here
3434 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3436 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3438 (calendar-current-time-zone-cache): Autoload riskiness.
3440 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3442 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3444 * woman.el (woman2-TH): Use string-equal instead of string-match.
3446 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3449 (smerge-resolve): Merge the "2-way refinement" case with one half of
3450 the "mere whitespace" resolution.
3452 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3454 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3456 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3458 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3459 Add WHEN to obsolescence declaration.
3461 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3463 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3465 * vc-hooks.el (vc-state): Add new state `conflict'.
3466 (vc-after-save): Use when not if.
3467 (vc-default-mode-line-string): Deal with the conflict state.
3468 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3470 * vc.el (vc-editable-p, vc-default-status-printer)
3471 (vc-next-action): Deal with the conflict state.
3472 (vc-mark-resolved): New function.
3473 (vc-status-mode): Fix mode name.
3474 (vc-default-comment-history): Use when not if.
3475 (Todo): Add new entries, remove old ones.
3477 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3478 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3479 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3480 Detect the conflict state.
3482 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3484 2008-04-10 Glenn Morris <rgm@gnu.org>
3486 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3487 Respect truncate-partial-width-windows in non-full windows,
3488 with regards to :toggle and :enable state.
3490 * simple.el (toggle-truncate-lines): Doc fix.
3492 * Makefile.in (MH_E_DIR): New variable.
3493 (MH_E_SRC): Restore variable removed 2008-03-13.
3494 (mh-loaddefs.el): Depend on $MH_E_SRC.
3495 (CAL_DIR, CAL_SRC): New variables.
3496 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3499 * calendar/calendar.el (calendar, diary): Add :prefix.
3500 (holidays): Change :prefix.
3501 (calendar-today, holiday, calendar-holiday-marker)
3502 (european-calendar-style): Change custom groups.
3504 * calendar/calendar.el (diary-hook, diary-display-hook):
3505 Move to diary-lib.el.
3506 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3507 Move here from calendar.el.
3508 * calendar/appt.el: Require diary-lib rather than calendar.
3509 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3511 * calendar/appt.el (appt): Add :prefix.
3513 * calendar/diary-lib.el (diary-hook): Doc fix.
3514 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3516 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3521 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3522 the arg to recursive calls.
3524 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3526 * minibuffer.el (completion-auto-help): Fix typo.
3528 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3532 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3534 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3535 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3537 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3541 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3542 (completion-auto-help): Move from C code.
3543 (minibuffer--maybe-completion-help): Remove.
3544 (minibuffer--bitset): New function.
3545 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3546 Renumber a bit. Really complete on string *before* point.
3547 Add argument used for word-completion.
3548 Join trailing / in completion with following text, as done in
3549 minibuffer-complete-word.
3550 Handle new value `lazy' for completion-auto-help.
3551 (minibuffer-try-word-completion): New function extracted from
3552 minibuffer-complete-word.
3553 (minibuffer-complete-word): Use minibuffer--do-completion.
3554 (minibuffer--insert-strings): Rename from
3555 minibuffer-complete-insert-strings.
3556 (exit-minibuffer): Fix typo.
3557 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3558 * cus-start.el: Remove completion-auto-help.
3560 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3562 * vc.el (vc-status-add-entries): New function.
3563 (vc-status-add-entry): Remove.
3564 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3565 Use vc-status-add-entries.
3567 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3570 2008-04-09 Jason Rumney <jasonr@gnu.org>
3572 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3573 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3574 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3575 (AUTOGENEL): New variable.
3576 (distclean, maintainer-clean): New targets.
3578 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3580 * emacs-lisp/regexp-opt.el (regexp-opt):
3581 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3583 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3585 * nxml/nxml-mode.el (nxml-cleanup): New function.
3586 (nxml-mode): Add it to change-major-mode-hook.
3588 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3590 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3592 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3594 * calc/.cvsignore: New file.
3596 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3598 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3600 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3601 show-help-function when turning tooltip off.
3602 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3603 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3605 2008-04-09 Alan Mackenzie <acm@muc.de>
3607 * font-lock.el (font-lock-extend-after-change-region-function):
3608 Make it buffer local.
3610 2008-04-09 Glenn Morris <rgm@gnu.org>
3612 * calendar/calendar.el (diary-file, european-calendar-style):
3613 Remove autoload cookies.
3615 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3617 * outline.el (outline-mode-menu-bar-map):
3618 * log-view.el (log-view-mode-menu):
3619 * log-edit.el (log-edit-menu): Add :help.
3621 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3623 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3624 Use substring-no-properties for correct handling of unibyte strings.
3626 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * add-log.el (change-log-next-buffer): Handle the case where version<
3631 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3632 mouse-major-mode-menu.
3633 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3634 (mouse-major-mode-menu, mouse-popup-menubar)
3635 (mouse-popup-menubar-stuff): Use them.
3636 (C-down-mouse-3): Bind to a dynamic map rather than to
3637 mouse-popup-menubar-stuff.
3639 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3640 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3642 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3644 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3645 file:// access method.
3647 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * minibuffer.el: New file.
3650 * loadup.el: Load it.
3652 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3655 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3657 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3658 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3659 Move initialization into declaration.
3660 * calc/calc-yank.el:
3661 * calc/calc-misc.el:
3662 * calc/calc-embed.el:
3663 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3665 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3667 * ps-samp.el (ps-add-printer, ps-remove-printer)
3668 (ps-make-dynamic-printer-menu): New functions.
3670 * net/zeroconf.el: New file.
3672 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3674 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3676 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3678 * vc-rcs.el (vc-rcs-modify-change-comment):
3679 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3681 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3683 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3685 * international/mule-cmds.el (set-locale-environment): Don't warn if
3686 coding system doesn't agree with system locale (this reverts changes
3687 by Dave Love, dated 2002-10-27 and 2002-10-09).
3689 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3690 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3692 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3694 2008-04-08 Glenn Morris <rgm@gnu.org>
3696 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3697 * textmodes/remember.el (remember-diary-convert-entry):
3700 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3701 diary-file, since it is the default for make-diary-entry anyway.
3703 * calendar/cal-menu.el (cal-menu-event-to-date):
3704 Rename calendar-event-to-date. Update callers.
3705 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3706 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3707 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3708 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3709 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3710 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3711 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3712 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3713 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3714 (calendar-mouse-tex-month-landscape):
3715 Rename cal-tex-mouse-month-landscape.
3716 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3717 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3718 (calendar-mouse-tex-year-landscape):
3719 Rename cal-tex-mouse-year-landscape.
3720 (cal-menu-context-mouse-menu): Update for above name changes.
3722 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3723 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3724 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3725 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3726 * calendar/holidays.el: Replace int-to-string with number-to-string.
3728 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3730 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3731 region if point moves.
3733 2008-04-08 Kenichi Handa <handa@m17n.org>
3735 * faces.el (font-slant-table): Change numeric values for `r',
3736 `roman', and `normal'.
3738 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3740 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3742 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3744 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3745 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3747 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3749 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3750 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3752 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3756 2008-04-07 Sam Steingold <sds@gnu.org>
3758 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3759 Add helper functions.
3760 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3761 lisp-compile-defun; DEFVAR forms reset the variables to the init
3762 values, just like in emacs-lisp mode eval-defun.
3763 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3764 (lisp-compile-region): Use lisp-compile-string.
3766 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3768 * subr.el (combine-and-quote-strings): Also quote strings that contain
3771 * pcvs-util.el (cvs-map): Avoid recursion :-(
3773 2008-04-07 Glenn Morris <rgm@gnu.org>
3775 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3777 * calendar.el (diary-view-entries-initially-flag): Rename
3778 view-diary-entries-initially. Keep old name as alias, update users.
3779 (calendar-mark-diary-entries-flag): Rename
3780 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3781 (calendar-view-holidays-initially-flag): Rename
3782 view-calendar-holidays-initially. Keep old name as alias, update users.
3783 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3784 Keep old name as alias, update users.
3785 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3786 Keep old name as alias, update users.
3787 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3788 Keep old name as alias, update users.
3789 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3790 Keep old name as alias, update users.
3791 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3792 (diary-american-date-forms): Rename american-date-diary-pattern.
3793 Keep old name as alias, update users.
3794 (diary-european-date-forms): Rename european-date-diary-pattern.
3795 Keep old name as alias, update users.
3796 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3797 Keep old name as alias, update users.
3798 (calendar-european-date-display-form): Rename
3799 european-calendar-display-form. Keep old name as alias, update users.
3800 (calendar-american-date-display-form): Rename
3801 european-calendar-display-form. Keep old name as alias, update users.
3802 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3803 Keep old name as alias, update users.
3804 (holiday-general-holidays): Rename general-holidays.
3805 Keep old name as alias, update users.
3806 (holiday-oriental-holidays): Rename oriental-holidays.
3807 Keep old name as alias, update users.
3808 (holiday-local-holidays): Rename local-holidays.
3809 Keep old name as alias, update users.
3810 (holiday-other-holidays): Rename other-holidays.
3811 Keep old name as alias, update users.
3812 (holiday-hebrew-holidays): Rename hebrew-holidays.
3813 Keep old name as alias, update users.
3814 (holiday-christian-holidays): Rename christian-holidays.
3815 Keep old name as alias, update users.
3816 (holiday-islamic-holidays): Rename islamic-holidays.
3817 Keep old name as alias, update users.
3818 (holiday-bahai-holidays): Rename bahai-holidays.
3819 Keep old name as alias, update users.
3820 (holiday-solar-holidays): Rename solar-holidays.
3821 Keep old name as alias, update users.
3822 (diary-fancy-buffer): Rename fancy-diary-buffer.
3823 Keep old name as alias, update users.
3824 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3826 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3828 (calendar-increment-month): Rename increment-calendar-month.
3829 Keep old name as alias, update callers.
3830 (calendar-increment-month-cons): Rename old calendar-increment-month.
3832 (calendar-extract-month): Rename extract-calendar-month.
3833 Keep old name as alias, update callers
3834 (calendar-extract-day): Rename extract-calendar-day.
3835 Keep old name as alias, update callers.
3836 (calendar-extract-year): Rename extract-calendar-year.
3837 Keep old name as alias, update callers.
3838 (calendar-generate-window): Rename generate-calendar-window.
3840 (calendar-generate): Rename generate-calendar. Update callers.
3841 (calendar-generate-month): Rename generate-calendar-month.
3843 (calendar-redraw): Rename redraw-calendar. Update callers.
3844 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3845 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3847 (calendar-update-mode-line): Rename update-calendar-mode-line.
3849 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3851 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3852 Keep old name as alias, update callers.
3853 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3854 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3855 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3856 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3857 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3858 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3859 * calendar/solar.el: Update for calendar.el name changes.
3860 * org/org.el (org-agenda-format-date-aligned)
3861 (org-agenda-execute-calendar-command): Access date elements directly
3862 rather than using calendar functions.
3863 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3864 Also set calendar-view-diary-initially-flag,
3865 calendar-view-holidays-initially-flag
3866 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3867 (org-agenda-execute-calendar-command): No need to set displayed-day.
3869 2008-04-06 Alan Mackenzie <acm@muc.de>
3871 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3872 typo in the doc string.
3874 * progmodes/cc-mode.el (c-basic-common-init):
3875 Set font-lock-extend-after-change-region-function.
3876 (c-extend-after-change-region): New function, used in
3877 font-lock-extend-after-change-region-function, thus superseding
3878 advice on the Font Lock after change functions.
3879 (c-advise-fl-for-region): Remove this macro.
3881 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3883 * textmodes/flyspell.el (flyspell-duplicate-distance):
3884 Improve custom type.
3886 2008-04-06 Glenn Morris <rgm@gnu.org>
3888 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3889 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3890 (diary-list-entries-hook): Rename list-diary-entries-hook.
3891 Keep old name as alias, update users.
3892 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3893 Keep old name as alias, update users.
3894 (diary-nongregorian-listing-hook): Rename
3895 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3896 (diary-nongregorian-marking-hook): Rename
3897 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3898 (diary-print-entries-hook): Rename print-diary-entries-hook.
3899 Keep old name as alias, update users.
3900 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3901 Keep old name as alias, update users.
3902 (diary-number-of-entries): Rename number-of-diary-entries.
3903 Keep old name as alias, update users.
3904 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3905 Give version of obsolescence.
3906 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3907 Keep old name as alias, update callers.
3908 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3910 (diary-include-other-diary-files): Rename include-other-diary-files.
3911 Keep old name as alias, update callers.
3912 (diary-simple-display): Rename simple-diary-display.
3913 Keep old name as alias, update callers.
3914 (diary-fancy-display): Rename fancy-diary-display.
3915 Keep old name as alias, update callers.
3916 (diary-print-entries): Rename print-diary-entries.
3917 Keep old name as alias, update callers.
3918 (diary-marking-entries-flag): Rename marking-diary-entries.
3920 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3921 (diary-mark-entries): Rename mark-diary-entries.
3922 Keep old name as alias, update callers.
3923 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3924 Keep old name as alias, update callers.
3925 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3926 Keep old name as alias, update callers.
3927 (calendar-mark-days-named): Rename mark-calendar-days-named.
3928 Keep old name as alias, update callers.
3929 (calendar-mark-month): Rename mark-calendar-month.
3930 Keep old name as alias, update callers.
3931 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3932 Keep old name as alias, update callers.
3933 (diary-sort-entries): Rename sort-diary-entries.
3934 Keep old name as alias, update callers.
3935 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3936 Keep old name as alias, update callers.
3937 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
3939 (diary-insert-entry): Rename insert-diary-entry.
3940 Keep old name as alias.
3941 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3942 Keep old name as alias.
3943 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3944 Keep old name as alias.
3945 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3946 Keep old name as alias.
3947 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3948 Keep old name as alias.
3949 (diary-insert-block-entry): Rename insert-block-diary-entry.
3950 Keep old name as alias.
3951 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3952 Keep old name as alias.
3953 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3954 Keep old name as alias, update users.
3955 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3956 Keep old name as alias, update callers.
3957 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3958 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3959 * calendar/icalendar.el: Update for diary-lib name changes.
3961 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
3963 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3965 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3966 for copy, move, and link operations.
3968 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
3970 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3971 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3973 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3974 'require' statements with 1-argument ones (wrapped in if's).
3975 For compatibility with the current stable version of XEmacs.
3977 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
3979 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3981 2008-04-06 Jason Rumney <jasonr@gnu.org>
3983 * language/burmese.el ("Burmese"): Make sample text consistent with
3986 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
3988 * progmodes/gdb-ui.el (gdb): New group.
3989 (gdb-debug-log-max, gdb-enable-debug)
3990 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3991 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3992 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3993 (gdb-show-changed-values, gdb-max-children)
3994 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3995 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3996 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3997 (gdb-memory-unit): Move to new group from GUD group.
3998 (menu): Allow customization from GDB-UI menu-item.
4000 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4002 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
4004 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
4007 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4008 Revision numbers can include ".".
4010 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
4011 "+" lines not accounted for by counting "-" and context lines.
4013 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4015 * term/mac-win.el (mac-service-open-file): Use file URL instead of
4018 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
4021 (vc-bzr-annotate-time): Accept space used to preserve alignment.
4023 2008-04-05 Richard Stallman <rms@gnu.org>
4025 * emacs-lisp/advice.el (defadvice): Add usage pattern.
4027 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
4029 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
4032 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
4034 * files.el (abort-if-file-too-large): Fix typo in docstring.
4036 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4038 * subr.el (functionp): Return nil for special forms.
4040 2008-04-05 Glenn Morris <rgm@gnu.org>
4042 * emacs-lisp/autoload.el (autoload-ensure-default-file):
4044 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
4045 Require loaddef file rather than loading it.
4046 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
4047 autoload-ensure-default-file provides a feature.
4049 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
4050 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
4051 (compile, compile-always, recompile): Use $LOADDEFS.
4052 (cal-autoloads): Remove.
4054 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
4055 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
4057 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4058 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
4060 * calendar/calendar.el (diary-hebrew-entry-symbol):
4061 Rename hebrew-diary-entry-symbol. Keep old name as alias.
4062 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
4063 Keep old name as alias.
4064 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
4065 Keep old name as alias.
4066 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
4067 to diary-bahai-entry-symbol.
4068 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
4069 to diary-hebrew-entry-symbol.
4070 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
4071 to diary-islamic-entry-symbol.
4072 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
4074 * calendar/solar.el (diary-sabbath-candles-minutes)
4075 (diary-sabbath-candles): Move to cal-hebrew.
4076 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
4077 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
4078 Doc fix. Keep old name as alias.
4079 (diary-hebrew-sabbath-candles): Simplify.
4080 (solar-setup, solar-sunrise-sunset, calendar-latitude)
4081 (calendar-longitude, calendar-time-zone): Declare for compiler.
4082 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
4085 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
4086 Rename coptic-calendar-month-name-array. Update callers.
4087 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
4088 (calendar-coptic-name): Rename coptic-name. Update callers.
4089 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
4091 (calendar-coptic-last-day-of-month):
4092 Rename coptic-calendar-last-day-of-month. Update callers.
4093 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
4094 Keep old name as alias, update callers.
4095 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
4096 Keep old name as alias, update callers.
4097 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
4098 Keep old name as alias.
4099 (calendar-ethiopic-month-name-array):
4100 Rename ethiopic-calendar-month-name-array. Update callers.
4101 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
4103 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
4104 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
4105 Keep old name as alias, update callers.
4106 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
4107 Keep old name as alias, update callers.
4108 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
4109 Keep old name as alias.
4111 * calendar/cal-french.el (calendar-french-epoch):
4112 Rename french-calendar-epoch. Update callers.
4113 (calendar-french-month-name-array): Rename variable and function
4114 french-calendar-month-name-array. Update callers.
4115 (calendar-french-multibyte-month-name-array):
4116 Rename french-calendar-multibyte-month-name-array. Update callers.
4117 (calendar-french-day-name-array): Rename variable and function
4118 french-calendar-day-name-array. Update callers.
4119 (calendar-french-special-days-array): Rename variable and function
4120 french-calendar-special-days-array. Update callers.
4121 (calendar-french-multibyte-special-days-array):
4122 Rename french-calendar-multibyte-special-days-array. Update callers.
4123 (calendar-french-accents-p): Rename french-calendar-accents.
4125 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
4127 (calendar-french-last-day-of-month):
4128 Rename french-calendar-last-day-of-month. Update callers.
4129 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
4130 Keep old name as alias, update callers.
4131 (calendar-french-print-date): Rename calendar-print-french-date.
4132 Keep old name as alias, update callers.
4133 (calendar-french-goto-date): Rename calendar-goto-french-date.
4134 Keep old name as alias.
4136 * calendar/cal-menu.el, calendar/calendar.el:
4137 Update for Coptic and French name changes.
4139 * calendar/cal-china.el (calendar-chinese): Rename custom group
4140 from chinese-calendar. Update users.
4141 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
4142 Keep old name as alias, update users.
4143 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
4144 Keep old name as alias.
4145 (calendar-chinese-daylight-time-offset):
4146 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
4148 (calendar-chinese-standard-time-zone-name):
4149 Rename chinese-calendar-standard-time-zone-name.
4150 Keep old name as alias, update users.
4151 (calendar-chinese-daylight-saving-start):
4152 Rename chinese-calendar-daylight-savings-starts.
4153 Keep old name as alias, update users.
4154 (calendar-chinese-daylight-saving-end):
4155 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
4157 (calendar-chinese-daylight-saving-start-time):
4158 Rename chinese-calendar-daylight-savings-starts-time.
4159 Keep old name as alias, update users.
4160 (calendar-chinese-daylight-saving-end-time):
4161 Rename chinese-calendar-daylight-savings-ends-time.
4162 Keep old name as alias, update users.
4163 (calendar-chinese-celestial-stem): Rename
4164 calendar-chinese-celestial-stem. Keep old name as alias, update users.
4165 (calendar-chinese-terrestrial-branch):
4166 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
4168 (calendar-chinese-zodiac-sign-on-or-after):
4169 Rename chinese-zodiac-sign-on-or-after. Update callers.
4170 (calendar-chinese-new-moon-on-or-after):
4171 Rename chinese-new-moon-on-or-after. Update callers.
4172 (calendar-chinese-month-list): Rename chinese-month-list.
4174 (calendar-chinese-number-months): Rename number-chinese-months.
4176 (calendar-chinese-compute-year): Rename compute-chinese-year.
4178 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
4179 (calendar-chinese-year): Rename chinese-year. Update callers.
4180 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4181 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4182 Keep old name as alias, update callers.
4183 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4184 Keep old name as alias, update callers.
4185 (calendar-chinese-months-to-alist):
4186 Rename make-chinese-month-assoc-list. Update callers.
4187 (calendar-chinese-months): Rename chinese-months. Update callers.
4188 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4189 Keep old name as alias, update callers.
4191 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4192 Rename hebrew-calendar-leap-year-p. Update callers.
4193 (calendar-hebrew-last-month-of-year):
4194 Rename hebrew-calendar-last-month-of-year. Update callers.
4195 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4197 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4199 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4201 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4203 (calendar-hebrew-last-day-of-month):
4204 Rename hebrew-calendar-last-day-of-month. Update callers.
4205 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4206 Keep old name as alias, update callers.
4207 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4208 Keep old name as alias, update callers.
4209 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4210 Keep old name as alias, update callers.
4211 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4212 Keep old name as alias.
4213 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4214 Keep old name as alias.
4215 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4216 Keep old name as alias.
4217 (holiday-hebrew-passover): Rename holiday-passover-etc.
4218 Keep old name as alias.
4219 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4220 Keep old name as alias, update callers.
4221 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4222 Keep old name as alias.
4223 (calendar-hebrew-mark-date-pattern):
4224 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
4226 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4227 Keep old name as alias.
4228 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4229 Keep old name as alias.
4230 (diary-hebrew-insert-monthly-entry):
4231 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
4232 (diary-hebrew-insert-yearly-entry):
4233 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
4234 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4235 Keep old name as alias.
4236 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
4237 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
4238 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4239 Keep old name as alias.
4240 (calendar-hebrew-parashiot-names):
4241 Rename hebrew-calendar-parashiot-names. Update callers.
4242 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4243 (calendar-hebrew-year-Saturday-incomplete-Sunday):
4244 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4245 (calendar-hebrew-year-Saturday-complete-Tuesday):
4246 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4247 (calendar-hebrew-year-Monday-incomplete-Tuesday):
4248 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4249 (calendar-hebrew-year-Monday-complete-Thursday):
4250 Rename hebrew-calendar-year-Monday-complete-Thursday.
4251 (calendar-hebrew-year-Tuesday-regular-Thursday):
4252 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4253 (calendar-hebrew-year-Thursday-regular-Saturday):
4254 Rename hebrew-calendar-year-Thursday-regular-Saturday.
4255 (calendar-hebrew-year-Thursday-complete-Sunday):
4256 Rename hebrew-calendar-year-Thursday-complete-Sunday.
4257 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4258 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4259 (calendar-hebrew-year-Saturday-complete-Thursday):
4260 Rename hebrew-calendar-year-Saturday-complete-Thursday.
4261 (calendar-hebrew-year-Monday-incomplete-Thursday):
4262 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4263 (calendar-hebrew-year-Monday-complete-Saturday):
4264 Rename hebrew-calendar-year-Monday-complete-Saturday.
4265 (calendar-hebrew-year-Tuesday-regular-Saturday):
4266 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4267 (calendar-hebrew-year-Thursday-incomplete-Sunday):
4268 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4269 (calendar-hebrew-year-Thursday-complete-Tuesday):
4270 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4271 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
4272 Update for above name changes of constants.
4274 * calendar/cal-menu.el, calendar/calendar.el:
4275 Update for chinese and hebrew name changes.
4276 * calendar/diary-lib.el: Update for hebrew name changes.
4278 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * subr.el (keymap-canonicalize): Correct thinko.
4282 * server.el: Undo part of the multi-tty change, which is only
4283 needed if server.el is preloaded, and broke server-running-p.
4284 (server-socket-dir): Initialize in the defvar, as before.
4285 (server-start): Remove initialization of server-socket-dir.
4287 2008-04-05 Eli Zaretskii <eliz@gnu.org>
4289 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4290 3-member cons cells.
4292 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4294 * cus-face.el (custom-face-attributes): Handle roman slant.
4296 * faces.el (default): Ensure the face-defface-spec property is set.
4298 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
4300 * files.el (abort-if-file-too-large): New function.
4301 (find-file-noselect, insert-file-1): Use it.
4303 2008-04-05 Reto Zimmermann <reto@gnu.org>
4305 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4306 Replace C-c[a-zA-Z] key bindings.
4308 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * progmodes/hideif.el (hif-token-alist): New var.
4311 (hif-token-regexp, hif-tokenize): Use it.
4312 (hif-mathify-binop): New macro.
4313 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4314 (hif-greater-equal, hif-less-equal): Use it.
4315 (hif-logior, hif-logand): New functions.
4316 (hif-math): Accept | and & as well.
4318 * progmodes/etags.el: Fix problem with completion for buffer-local
4319 tables. Reported by Radey Shouman <shouman@comcast.net>.
4320 (tags-complete-tag): Remove.
4321 (tags-lazy-completion-table): New function to replace it.
4322 (find-tag-tag, complete-tag): Update users.
4324 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
4326 * vc-rcs.el (vc-rcs-dir-status):
4327 * vc-sccs.el (vc-sccs-dir-status): New function.
4329 * outline.el (outline-mode-menu-bar-map):
4330 * term.el (terminal-signal-menu): Add :help.
4332 * net/eudc.el (eudc-mode-map): Declare and define in one step.
4333 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4335 * emacs-lisp/re-builder.el (reb-mode-map):
4336 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4338 * diff-mode.el (diff-file-junk-re): Recognize the git format for
4339 new files, deleted files and for changing permissions.
4340 (diff-mode): Set beginning-of-defun-function and
4341 end-of-defun-function.
4343 * vc-bzr.el (vc-bzr-state): Use when instead of if.
4345 * vc.el (vc-default-status-fileinfo-extra): New function.
4346 (vc-status-mark-buffer-changed): Use it.
4347 (vc-update-vc-status-buffer): Allow for partial updates.
4349 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * net/tramp.el (after-init-hook): Don't wrap a lambda around
4352 tramp-register-completion-file-name-handler.
4354 * subr.el (keymap-canonicalize): New function.
4355 * mouse.el (mouse-menu-non-singleton): Use it.
4356 (mouse-major-mode-menu): Remove hack made unnecessary.
4358 * simple.el (set-fill-column): Prompt rather than error by default.
4360 2008-04-04 Andreas Schwab <schwab@suse.de>
4362 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4363 Reset new-rules after each round.
4365 * Makefile.in (cal-autoloads): New target.
4366 (compile, compile-always, recompile): Depend on it.
4367 ($(lisp)/calendar/cal-loaddefs.el)
4368 ($(lisp)/calendar/diary-loaddefs.el)
4369 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4371 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
4373 * ediff*.el: Replace load with require in eval-when-compile.
4375 * ediff-hook: Delete all invocations of (autoload ...).
4377 * ediff-util.el (ediff-setup): Make window-min-height a local variable
4378 in ediff control window, and set its min height to 2.
4379 (ediff-setup-control-buffer): Dedicate the control window.
4380 (ediff-toggle-multiframe): Undedicate control window.
4381 Work directly with ediff-setup-windows-multiframe and
4382 ediff-setup-windows-plain.
4384 * ediff-wind (ediff-choose-window-setup-function-automatically):
4386 (ediff-window-setup-function): Change initialization.
4387 (ediff-setup-windows-automatic): Delete.
4388 (ediff-setup-windows-plain-merge): Make control window dedicated.
4389 (ediff-destroy-control-frame): Do not skip frames if working in a
4392 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4395 * emulation/viper-util.el: Move provide's forward, prevent recursion in
4398 2008-04-04 Glenn Morris <rgm@gnu.org>
4400 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4401 calendar-absolute-from-bahai. Update callers, keep old name as alias.
4403 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4404 Rename islamic-calendar-leap-year-p. Update callers.
4405 (calendar-islamic-last-day-of-month):
4406 Rename islamic-calendar-last-day-of-month. Update callers.
4407 (calendar-islamic-day-number):
4408 Rename islamic-calendar-day-number. Update callers.
4409 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4410 Update callers, keep old name as alias.
4411 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4412 Update callers, keep old name as alias.
4413 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4414 Keep old name as alias.
4415 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4416 Update callers, keep old name as alias.
4417 (calendar-islamic-mark-date-pattern):
4418 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
4420 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4421 Keep old name as alias.
4422 (diary-islamic-insert-monthly-entry):
4423 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
4424 (diary-islamic-insert-yearly-entry):
4425 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
4427 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4428 calendar-absolute-from-iso. Update callers, keep old name as alias.
4429 (calendar-iso-print-date): Rename calendar-print-iso-date.
4430 Update callers, keep old name as alias.
4431 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4432 Keep old name as alias.
4433 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4434 Keep old name as alias.
4436 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4437 calendar-absolute-from-julian. Update callers, keep old name as alias.
4438 (calendar-julian-print-date): Rename calendar-print-julian-date.
4439 Update callers, keep old name as alias.
4440 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4441 Update callers, keep old name as alias.
4442 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4443 Update callers, keep old name as alias.
4444 (calendar-astro-print-day-number):
4445 Rename calendar-print-astro-day-number. Update callers, keep old
4447 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4448 Update callers, keep old name as alias.
4450 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4451 Rename calendar-string-to-mayan-long-count. Update callers.
4452 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4453 Update callers, keep old name as alias.
4454 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4456 (calendar-mayan-read-tzolkin-date):
4457 Rename calendar-read-mayan-tzolkin-date. Update callers.
4458 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4459 Keep old name as alias.
4460 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4461 Keep old name as alias.
4462 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4463 Keep old name as alias.
4464 (calendar-mayan-previous-tzolkin-date):
4465 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4466 (calendar-mayan-next-round-date):
4467 Rename calendar-next-calendar-round-date. Keep old name as alias.
4468 (calendar-mayan-previous-round-date):
4469 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4470 (calendar-mayan-long-count-to-absolute): Rename
4471 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4472 (calendar-mayan-goto-long-count-date):
4473 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4475 * calendar/cal-persia.el (calendar-persian-month-name-array):
4476 Rename persian-calendar-month-name-array. Update callers.
4477 (calendar-persian-epoch): Rename persian-calendar-epoch.
4479 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4481 (calendar-persian-last-day-of-month):
4482 Rename persian-calendar-last-day-of-month. Update callers.
4483 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4484 Update callers, keep old name as alias.
4485 (calendar-persian-print-date): Rename calendar-print-persian-date.
4486 Update callers, keep old name as alias.
4487 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4488 Keep old name as alias.
4490 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4491 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4492 * calendar/solar.el: Update for cal-julian name changes.
4494 * calendar/cal-dst.el: Update for persian name changes.
4496 * calendar/cal-menu.el, calendar/calendar.el:
4497 Update for islamic, iso, julian, mayan, persian name changes.
4499 * calendar/diary-lib.el: Update for islamic name changes.
4501 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4502 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4504 (calendar-christian-all-holidays-flag):
4505 Rename all-christian-calendar-holidays. Update callers, keep old
4507 (calendar-islamic-all-holidays-flag):
4508 Rename all-islamic-calendar-holidays. Update callers, keep old
4510 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4511 Update callers, keep old name as alias.
4512 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4513 Update for the above name changes.
4515 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4517 * hilit-chg.el (global-highlight-changes-mode)
4518 (highlight-changes-passive-string, highlight-changes-active-string):
4519 Mark as obsolete since 23.1, not 22.1.
4521 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4523 * hilit-chg.el (highlight-changes-visibility-initial-state)
4524 (hilit-chg-update, highlight-changes-mode-turn-on):
4525 Fix typos in docstrings.
4527 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4529 * newcomment.el (comment-enter-backward): Be careful to restore
4530 position changed during narrowing.
4532 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4534 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4535 Recognize `sub ($$)'.
4537 2008-04-03 Richard Sharman <rsharman@pobox.com>
4539 * hilit-chg.el (highlight-changes-mode): Rename from
4540 highlight-changes; no longer uses sub-modes active and passive;
4541 implemented by define-minor-mode.
4542 (highlight-changes-toggle-visibility): New function, to replace
4543 the old passive/active submodes of global-highlight-changes-mode;
4544 implemented by define-minor-mode.
4545 (global-highlight-changes-mode): Rename from global-highlight-changes;
4546 rewrite using define-globalized-minor-mode.
4547 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4548 (hilit-chg-post-command-hook, hilit-chg-check-global)
4549 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4550 to use of define-globalized-minor-mode.
4551 (highlight-changes-global-initial-state): Change to be boolean.
4552 (highlight-changes-visible-string, highlight-changes-invisible-string):
4553 Rename from highlight-changes-active-string and
4554 highlight-changes-passive-string.
4555 (hilit-chg-update, hilit-chg-set): Use them.
4556 (global-highlight-changes-mode): Rename from global-highlight-changes.
4557 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4559 (hilit-chg-hide-changes): Rewrite to use dolist.
4560 (hilit-chg-set-face-on-change, hilit-chg-update)
4561 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4562 variable instead of testing highlight-changes-mode.
4563 (highlight-markup-buffers): Add require ediff-util; argument on calls
4564 to highlight-changes-mode changed.
4565 (highlight-compare-with-file): Fix problems with interactive
4566 call giving invalid default file.
4568 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4570 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4571 Fix in disassembly buffer (regression in 22.2).
4573 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4575 * emulation/viper-macs.el (viper-read-fast-keysequence):
4576 Use viper-read-event instead of viper-read-key.
4578 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4580 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4581 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4584 * emulation/viper-ex.el, emulation/viper-macs.el:
4585 * emulation/viper-mous.el:
4586 Replace load with require in eval-when-compile.
4588 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4590 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4592 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4593 (archive-try-jka-compr): New function.
4594 (archive-set-buffer-as-visiting-file): Use it.
4596 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4598 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4600 * simple.el (handle-shift-selection): New arg.
4602 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4604 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4606 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4608 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4610 * shell.el (shell-dynamic-complete-filename): New fun.
4611 (shell-dynamic-complete-functions): Use it.
4613 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4615 2008-04-03 Kenichi Handa <handa@m17n.org>
4617 * international/fontset.el (create-fontset-from-x-resource):
4618 Handle the error of X resource more gracefully.
4620 * international/latin1-disp.el (latin1-display): Don't use make-char.
4621 Fix the argument to set-char-table-range.
4622 (latin1-display-identities): Don't use make-char.
4623 (latin1-display-reset): Use map-charset-chars instead of directly
4624 calling standard-display-default.
4625 (latin1-display-check-font): Don't use make-char.
4626 (latin1-display-setup): Likewise.
4627 (latin1-display-ucs-per-lynx): Likewise.
4629 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4631 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4632 name the fields, to make the code clearer.
4633 Rewrite all `aset' and `aref' using the defined accessors.
4634 (timer--time): New pseudo-field.
4635 (timer-set-time, timer-set-idle-time, timer-inc-time)
4636 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4637 (timer--time-less-p): New function.
4638 (timer--activate): New function, extracted from timer-activate.
4639 (timer-activate-when-idle, timer-activate): Use it.
4640 (cancel-function-timers): Use dolist.
4642 2008-04-03 Glenn Morris <rgm@gnu.org>
4644 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4645 Remove declarations; no longer used.
4646 (c-cpp-define-name, c-defun-name): Declare as functions.
4648 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4649 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4651 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4652 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4653 Add optional argument. Simplify.
4654 (holiday-tisha-b-av-etc): Use memq rather than unless.
4655 (holiday-julian): Autoload it.
4656 (holiday-hebrew-misc): New function.
4658 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4660 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4661 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4662 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4663 all-hebrew-calendar-holidays.
4664 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4665 Simplify using new functions.
4666 (calendar-holidays): Doc fix.
4667 (generate-calendar-window): Use bound-and-true-p.
4669 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4671 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4672 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4673 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4674 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4676 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4678 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4680 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4682 * vc-bzr.el (vc-bzr-checkout): Simplify.
4684 * image-mode.el (image-mode-fit-frame): New command.
4686 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4687 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4688 (keyboard-escape-quit): Check region-active-p i.s.o
4689 transient-mark-mode.
4691 2008-04-02 Simon Josefsson <simon@josefsson.org>
4693 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4694 (imap-message-copyuid-1): Use it.
4695 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4697 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4699 2008-04-02 Alan Mackenzie <acm@muc.de>
4701 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4702 New optimised functions to get the name of the current defun/macro.
4704 * add-log.el (add-log-current-defun): Move the functionality which
4705 gets the current function name for C like modes to cc-cmds.el,
4706 thus optimising for speed.
4708 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4710 * simple.el (deactivate-mark): When the mark is temporarily
4711 active, restore the original value of transient-mark-mode.
4712 (set-mark-command): First deactivate the mark if was temporarily active.
4713 (exchange-point-and-mark): Reactivate the mark if it was
4715 (handle-shift-selection): New fun.
4716 (transient-mark-mode): Move var documentation here from buffer.c.
4717 (next-line, previous-line, backward-word, move-end-of-line)
4718 (move-beginning-of-line, forward-to-indentation)
4719 (backward-to-indentation, back-to-indentation)
4720 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4722 * mouse.el (mouse-set-region-1): Save the old value of
4723 transient-mark-mode.
4724 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4725 transient-mark-mode.
4727 * textmodes/paragraphs.el (forward-paragraph)
4728 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4731 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4733 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4735 * net/tramp.el (tramp-make-tramp-temp-file):
4736 Use `tramp-drop-volume-letter' for the local file name part.
4738 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4740 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4741 Add menu entries corresponding to all the key bindings.
4743 * emacs-lisp/debug.el (debugger-mode-map):
4744 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4745 (conf-align-assignments): Only work on the region if it is active.
4746 (conf-quote-normal): Use when instead of if. Remove redundant test.
4748 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4749 for tracing and re-builder.
4751 2008-04-02 Glenn Morris <rgm@gnu.org>
4753 * calendar/appt.el (appt-disp-window-function): Doc fix.
4754 (appt-display-message): Move beep before display.
4755 (appt-check): Make interactive. Reduce the number of lets.
4756 Use string-equal to compare mode-line strings.
4757 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4759 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4760 (appt-delete): Simplify.
4762 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4764 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4766 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4767 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4768 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4770 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4771 (calendar-holiday-marker, mark-visible-calendar-date):
4772 * calendar/diary-lib.el (fancy-diary-display):
4773 Check for font-lock-mode before using faces.
4775 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4776 (calendar-gregorian-from-absolute): Reduce the number of lets.
4777 (hebrew-holidays-4, generate-calendar-window): Simplify.
4778 (calendar-for-loop): Make obsolete.
4779 (calendar-nth-named-day): Doc fix.
4781 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4782 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4783 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4784 Reduce the number of lets.
4785 (mark-sexp-diary-entries, calendar-mark-complex):
4786 Expand calendar-for-loops.
4788 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4790 * find-dired.el (find-dired-filter): Fix last patch to handle
4791 multi-line process input. Pad link numbers too.
4793 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4795 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4797 2008-04-01 Jason Rumney <jasonr@gnu.org>
4799 * international/characters.el (script-list): Add phonetic script,
4800 covering IPA (previously Latin), Phonetic Extensions and
4801 Phonetic Extensions Supplement (both previously unassigned).
4803 * international/fontset.el (setup-default-fontset): Use unicode fonts
4804 that cover bopomofo script for bopomofo.
4805 Likewise for braille and mathematical.
4806 Use unicode scripts that cover the phonetic script for IPA.
4808 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4810 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4811 return the assigned value.
4813 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4815 * abbrev.el (abbrev-mode): Use define-minor-mode.
4817 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4818 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4820 (minor-mode-menu-from-indicator): Use it. Simplify.
4822 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4823 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4824 Bind the key directly to the menu.
4825 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4827 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4829 * epa.el (epa-decrypt-region): Explain the reason why this
4830 function should not be used in Lisp programs.
4831 (epa-decrypt-armor-in-region): Ditto.
4832 (epa-verify-region): Ditto.
4833 (epa-verify-cleartext-in-region): Ditto.
4834 (epa-sign-region): Ditto.
4835 (epa-encrypt-region): Ditto.
4837 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4839 * epa.el (epa-select-keys): Show menu even if there is no key in
4842 2008-04-01 Glenn Morris <rgm@gnu.org>
4844 * calendar/calendar.el (calendar-make-temp-face): New function.
4845 (mark-visible-calendar-date):
4846 * calendar/diary-lib.el (fancy-diary-display): Use it.
4848 * vc-hooks.el (vc-responsible-backend): Declare as function.
4850 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4851 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4852 * calendar/cal-julian.el (holiday-julian): Use it.
4854 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4855 (calendar-hebrew-date-is-visible-p): Extract some common code into
4857 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4859 * calendar/cal-menu.el (cal-menu-holidays-menu):
4860 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4861 rather than obsolete alias.
4863 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4864 for mark characters.
4865 (calendar-unmark): Unmark by removing all overlays, rather than
4867 (calendar-starred-day): Remove.
4868 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4869 (calendar-cursor-to-date): No need for special star handling now
4871 (calendar-star-date): Use overlays.
4873 * calendar/cal-french.el (calendar-goto-french-date):
4874 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4875 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4876 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4877 * calendar/cal-persia.el (calendar-persian-date-string):
4878 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4879 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4880 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4881 * calendar/solar.el (solar-equinoxes-solstices):
4882 Reduce nesting of some lets.
4884 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4885 (calendar-goto-mayan-long-count-date): Simplify.
4887 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4888 Simplify by using mapcar.
4889 (calendar-list-holidays): Return holiday-list.
4890 (list-holidays): Use let rather than let*. Remove un-needed locals
4892 (calendar-check-holidays): Return result from dolist.
4893 (holiday-float): Use a single let*. Simplify if-and to and.
4894 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4897 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4899 * calc/calc.el: Autoload `calc-yank'.
4900 (calc-mode-map): Add keybindings for `calc-yank'.
4901 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4902 assignments for `calc-yank'.
4904 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4906 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4907 (vc-status-mark-buffer-changed): Handle the extra field.
4909 * vc-bzr.el (vc-bzr-after-dir-status):
4910 * vc-cvs.el (vc-cvs-after-dir-status):
4911 * vc-hg.el (vc-hg-after-dir-status):
4912 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4914 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4916 * doc-view.el: Compute displayed pages first (in PDF).
4917 (doc-view-current-converter-processes): Rename from
4918 doc-view-current-converter-process. Update users.
4919 (doc-view-sentinel): Test buffer's liveness.
4920 (doc-view-pdf/ps->png-sentinel): Remove.
4921 (doc-view-start-process): New function.
4922 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4923 (doc-view-ps->pdf): Use it.
4924 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4926 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4927 (doc-view-mode): Kill the processes when leaving the mode.
4929 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
4931 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4932 Use `byte-compile-warning-types'. Add docstring.
4934 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4937 (smerge-resolve): Add various resolution heuristics.
4939 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4942 2008-03-31 Glenn Morris <rgm@gnu.org>
4944 * calendar/cal-bahai.el (diary-bahai-mark-entries):
4945 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4946 * calendar/cal-islam.el (mark-islamic-diary-entries):
4947 Fix argument order in call to diary-mark-entries-1.
4949 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4951 (holiday-bahai): Use an algorithm actually relevant to this calendar
4954 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4956 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4959 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4960 in the last fortnight in Julian October.
4962 * calendar/calendar.el (increment-calendar-month): Optionally handle
4963 systems without 12 months per year.
4965 (calendar-date-is-visible-p): Doc fix. Simplify.
4967 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4970 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
4972 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4973 (hi-lock-unload-function): New function.
4975 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
4977 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4978 overwriting when NEWNAME is a local file.
4980 * net/trampver.el: Update release number.
4982 2008-03-30 Alexandre Julliard <julliard@winehq.org>
4984 * vc-git.el: Make vc-status display information about copies,
4985 renames and permission changes.
4986 (vc-git-extra-fileinfo): New defstruct.
4987 (vc-git-escape-file-name, vc-git-file-type-as-string)
4988 (vc-git-rename-as-string, vc-git-permissions-as-string)
4989 (vc-git-status-printer): New functions.
4990 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4991 (vc-git-after-dir-status-stage1): Look for copies, renames and
4993 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4994 (vc-git-dir-status): Ask for staged files and renames.
4996 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
4998 * vc.el: Allow backends to display backend specific information in
4999 the vc-status listing.
5000 (vc-status-fileinfo): Add a field for backend specific information.
5001 (vc-status-printer): Rename to ...
5002 (vc-default-status-printer): ... this.
5003 (vc-status-printer): New function.
5004 (vc-update-vc-status-buffer): Set the backend specific file info
5007 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5009 * textmodes/remember.el (remember-diary-convert-entry): Revert last
5010 change (ill-conceived).
5012 2008-03-29 Glenn Morris <rgm@gnu.org>
5014 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
5015 * calendar/cal-julian.el (holiday-julian): Simplify.
5017 * calendar/holidays.el (list-holidays): Use or.
5019 2008-03-29 Juri Linkov <juri@jurta.org>
5021 * window.el (split-window-preferred-horizontally): New function.
5023 * cus-start.el (split-window-preferred-function):
5024 Set choice for "vertically" to nil instead of split-window.
5025 Set choice for "horizontally" to split-window-preferred-horizontally
5028 2008-03-29 Juri Linkov <juri@jurta.org>
5030 * simple.el (minibuffer-default-add-function): New variable with
5031 the default to minibuffer-default-add-completions.
5032 (minibuffer-default-add-done): New variable. Make it buffer-local.
5033 (minibuffer-default-add-completions): New function.
5034 (goto-history-element): Set minibuffer-default-add-done to t and
5035 call a function in minibuffer-default-add-function when the
5036 specified absolute history position is greater than the length of
5037 the minibuffer-default list and minibuffer-default-add-done is nil.
5038 Change "^End of history; no next item$" to "^End of defaults;
5041 * bindings.el (debug-ignored-errors): Change "^End of history;
5042 no next item$" to "^End of defaults; no next item$".
5044 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
5048 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
5049 to with-no-warnings.
5051 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
5053 Sync with Tramp 2.1.13.
5055 * net/tramp-ftp.el: Require 'cl when byte-compiling.
5057 * net/trampver.el: Update release number.
5059 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5061 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
5062 the current backend.
5064 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
5065 (vc-status-refresh): Create a temporary buffer and call the
5066 `dir-status' backend function from that buffer.
5068 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
5069 (vc-bzr-after-dir-status): Don't kill the buffer.
5071 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
5072 (vc-cvs-after-dir-status): Don't kill the buffer.
5074 * vc-git.el (vc-git-dir-status): Don't create a buffer.
5075 (vc-git-after-dir-status-stage2): Don't kill the buffer.
5077 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
5078 (vc-hg-after-dir-status): Don't kill the buffer.
5080 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
5081 (vc-svn-after-dir-status): Don't kill the buffer.
5083 2008-03-29 Glenn Morris <rgm@gnu.org>
5085 * calendar/calendar.el (diary-file, american-date-diary-pattern)
5086 (european-date-diary-pattern, european-calendar-display-form)
5087 (american-calendar-display-form, diary-display-hook): Doc fixes.
5088 (european-calendar-style): Doc fix. Use calendar-set-date-style for
5089 custom :set. Mark as obsolete.
5090 (calendar-date-style, iso-date-diary-pattern)
5091 (iso-calendar-display-form): New user variables.
5092 (diary-date-forms, calendar-date-display-form): Set using
5093 calendar-date-style. Doc fix.
5094 (calendar-set-date-style): New command.
5095 (european-calendar, american-calendar): Use calendar-set-date-style.
5098 * calendar/diary-lib.el (number): Move declaration where needed.
5099 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
5100 (diary-make-date): New function.
5101 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
5102 Use diary-make-date.
5103 (diary-date-display-form, diary-insert-entry-1): New functions.
5104 (insert-monthly-diary-entry, insert-yearly-diary-entry):
5105 Use diary-insert-entry-1.
5106 (insert-anniversary-diary-entry, insert-block-diary-entry)
5107 (insert-cyclic-diary-entry): Use diary-date-display-form.
5109 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5110 Autoload diary-insert-entry-1.
5111 * calendar/cal-bahai.el (diary-bahai-insert-entry)
5112 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5113 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
5114 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
5115 * calendar/cal-islam.el (insert-islamic-diary-entry)
5116 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
5117 Use diary-insert-entry-1.
5119 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
5120 (diary-yahrzeit): Doc fix. Use diary-make-date.
5122 * calendar/icalendar.el (icalendar--datetime-to-american-date):
5123 New name for icalendar--datetime-to-noneuropean-date. Make old name
5125 (icalendar--datetime-to-iso-date): New function.
5126 (icalendar--datetime-to-diary-date): Doc fix. Respect
5127 calendar-date-style if bound.
5129 * textmodes/remember.el (remember-diary-convert-entry):
5130 Respect calendar-date-style if bound.
5132 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5134 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
5135 (xterm-mouse-handle-delete-frame): Delete.
5137 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
5138 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
5139 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
5140 in xterm-modify-other-keys-terminal-list.
5142 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
5145 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5147 * vc.el (vc-update): Check if the buffer is unsaved only if it
5149 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
5152 2008-03-28 Magnus Henoch <mange@freemail.hu>
5154 * net/dns.el (dns-write): Use set-buffer-multibyte.
5156 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5158 * vc-bzr.el (vc-bzr-sha1): New fun.
5159 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5160 (vc-bzr-registered): Use it.
5162 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5164 * vc.el (vc-status-kill-dir-status-process): Simplify.
5165 (vc-status-refresh): Make sure the buffer is live.
5166 (ring): Don't require it, not used.
5168 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
5170 * progmodes/verilog-mode.el (verilog-auto-inout-module):
5171 Add optional regular expression to AUTOINOUTMODULE.
5172 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5173 (verilog-auto-inst-param, verilog-auto-reg)
5174 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5175 (verilog-auto-output-every, verilog-auto-input)
5176 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5177 (verilog-auto-unused, verilog-auto): Update documentation to use
5178 more obvious instance module names versus cell names.
5180 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
5182 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5183 kill if a process is running.
5185 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5187 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5189 * vc.el: Add new backend function 'status-extra-headers.
5190 (vc-default-status-extra-headers): New function.
5191 (vc-status-headers): Call 'status-extra-headers. Add colors.
5193 * vc-git.el (vc-git-status-extra-headers): New function.
5195 2008-03-28 Glenn Morris <rgm@gnu.org>
5197 * calendar/cal-menu.el (cal-menu-holidays-menu)
5198 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5199 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5200 holiday-list is optional.
5201 (calendar-mouse-holidays): Remove un-needed local `l'.
5203 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5204 Remove un-needed local `date'.
5205 (calendar-cursor-to-visible-date): Use let rather than let*.
5206 Remove un-needed local `first-of-month-weekday'.
5208 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5210 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5212 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
5213 (diary-header-line-flag, diary-header-line-format): Declare.
5214 (diary-pull-attrs): Check for multiple matches.
5215 (diary-list-entries-2): Simplify finding start of date.
5216 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5218 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5219 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5221 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
5223 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5227 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5231 * image-mode.el (image-mode-reapply-winprops): Fix last change.
5233 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
5235 * international/mule-conf.el (define-iso-single-byte-charset):
5236 Don't make latin-iso8859-* supplementary.
5237 (#'set-charset-priority): Don't change the priority of charsets
5238 `unicode' and `emacs'.
5240 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5242 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5245 2008-03-27 Glenn Morris <rgm@gnu.org>
5247 * calendar/cal-bahai.el (diary-bahai-list-entries):
5248 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5249 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5251 * calendar/calendar.el (diary-file): Doc fix.
5253 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5254 (list-diary-entries-hook, mark-diary-entries-hook)
5255 (include-other-diary-files, diary-mail-entries)
5256 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5257 (diary-set-header): New function.
5258 (diary-header-line-flag, diary-header-line-format):
5259 Use diary-set-header for custom :set function.
5260 (diary-set-maybe-redraw): Use symbol-value rather than eval.
5261 (diary-attrtype-convert): Use intern-soft rather than read.
5262 (diary-display-no-entries): New function.
5263 (simple-diary-display, fancy-diary-display): Use it.
5264 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
5265 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5267 * calendar/holidays.el (list-holidays): Doc fix.
5269 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
5271 * calc/calc-store.el (calc-read-var-name-history): New variable.
5272 (calc-read-var-name): Use `calc-read-var-name-history'.
5274 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * image-mode.el (image-mode-reapply-winprops): Simplify now that
5277 window-configuration-change-hook works buffer-locally.
5279 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5281 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5282 for Emacs Lisp, not Lisp.
5284 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
5286 * help-fns.el (describe-function-1, describe-variable):
5287 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5289 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5290 replacement is provided, don't print "use nil instead".
5292 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5294 * complete.el (PC-do-completion): Use regexp-quote.
5296 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
5298 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5299 Detect missing files.
5301 * vc-git.el (vc-git-extra-menu-map): New key map.
5302 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5305 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5308 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5310 * calendar/holidays.el (list-holidays): Make Y2 optional.
5312 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5313 buffers shown to the user.
5314 (appt-disp-window): Disable undo explicitly now that the leading space
5317 * simple.el (activate-mark): New function.
5318 (set-mark-command): Use it with region-active-p to clean up the code.
5319 (exchange-point-and-mark): Invert the meaning of C-u when
5320 transient-mark-mode is active.
5322 * dired-aux.el (dired-create-files): Use dolist.
5324 * bindings.el (mode-line-change-eol): Use with-selected-window.
5326 * apropos.el (apropos-command): Include macros.
5328 2008-03-26 Glenn Morris <rgm@gnu.org>
5330 * calendar/cal-bahai.el: Require calendar, not cal-julian.
5331 (calendar-bahai-epoch): Doc fix.
5333 * calendar/cal-china.el: Explicitly require calendar.
5335 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5336 Require calendar rather than cal-julian.
5337 Autoload calendar-absolute-from-julian.
5338 * calendar/cal-coptic.el (coptic-calendar-epoch):
5339 * calendar/cal-islam.el (calendar-islamic-epoch):
5340 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5342 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5344 * calendar/cal-dst.el: Don't require cal-persia.
5345 (calendar-absolute-from-persian): Autoload it.
5346 (dst-adjust-time): Doc fix.
5348 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5349 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5352 * calendar/cal-menu.el: Require calendar rather than declaring
5354 * calendar/calendar.el: Provide calendar before requiring cal-menu.
5356 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5357 calendar-after-frame-setup-hooks. Update callers, make old name an
5358 obsolete alias. Doc fix.
5359 (calendar-frame-1): Doc fix.
5361 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5363 * calendar/calendar.el (oriental-holidays, solar-holidays):
5364 * calendar/holidays.el (list-holidays): Assume atan always bound.
5366 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5367 Explicitly require calendar, not cal-julian.
5368 * calendar/lunar.el: Explicitly require cal-dst.
5370 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5374 * help-fns.el (describe-function-1, describe-variable): If no
5375 replacement is provided, don't print "use nil instead".
5377 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5379 * proced.el: New file.
5381 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
5383 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5385 2008-03-25 Juri Linkov <juri@jurta.org>
5387 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5388 in battery-mode-line-format.
5390 * bindings.el (minibuffer-local-map): For the command
5391 file-cache-minibuffer-complete replace keymap minibuffer-local-map
5392 with map which is already locally bound to minibuffer-local-map.
5394 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5397 Remove `sort-first' argument.
5399 * subr.el (redisplay-end-trigger-functions)
5400 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5401 (process-filter-multibyte-p, set-process-filter-multibyte):
5404 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
5406 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5407 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5408 use the LOCAL arg of `add-hook'.
5409 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5410 Remove spurious * from defcustom docstrings.
5411 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5412 Fix typos in messages.
5413 (reb-mode-buffer-p): New function.
5414 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
5415 (top, reb-show-subexp, reb-auto-update, reb-auto-update)
5416 (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
5417 (reb-update-overlays): Use `unless', `when'.
5418 (re-builder-unload-function): New function.
5420 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
5422 * vc-hooks.el (vc-state): Add documentation for 'missing.
5424 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
5426 * progmodes/verilog-mode.el (verilog-auto-output)
5427 (verilog-auto-input, verilog-auto-inout, verilog-auto)
5428 (verilog-delete-auto): Add optional regular expression to
5429 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5430 (verilog-signals-matching-regexp): New internal function for
5433 2008-03-25 Johan Bockgård <bojohan@gnu.org>
5435 * info.el (Info-isearch-search): Always return point.
5437 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * diff-mode.el (diff-remembered-defdir): New var.
5440 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5442 2008-03-25 Glenn Morris <rgm@gnu.org>
5444 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5445 calendar-bahai-prompt-for-date. Update callers, make old name an
5446 obsolete alias. Doc fix.
5447 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5448 coptic-prompt-for-date. Update callers, make old name an
5449 obsolete alias. Doc fix.
5450 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5451 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5452 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5453 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5454 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5455 calendar-iso-read-args. Update callers, make old name an obsolete
5457 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5458 persian-prompt-for-date. Update callers, make old name an
5459 obsolete alias. Doc fix. Move definition before use.
5461 * calendar/cal-x.el (diary-frame-parameters)
5462 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5463 (calendar-frame-1): Doc fixes.
5464 (make-fancy-diary-buffer): Remove declaration.
5465 (calendar-dedicate-diary): Replace call to deleted function
5466 make-fancy-diary-buffer.
5467 (calendar-frame-setup): New function.
5468 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5469 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5470 work, and mark as obsolete.
5471 (special-display-buffer-names): Don't mess with this; it's not our
5473 (cal-x-load-hook): Defvar it, and mark as obsolete.
5475 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5476 Default to t. Add to 'calendar group.
5477 (calendar): Doc fix. Use calendar-frame-setup.
5478 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5479 (generate-calendar-window): Doc fix.
5481 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5485 2008-03-24 Drew Adams <drew.adams@oracle.com>
5487 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5489 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5490 (finder-exit): Ignore errors rather than avoiding them.
5491 Kill *Finder-package* buffer also.
5493 2008-03-24 Andreas Schwab <schwab@suse.de>
5495 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5497 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5499 * vc-hg.el (vc-hg-after-dir-status):
5500 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5502 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5503 Detect removed files.
5505 * vc.el (vc-status-printer): Use a different face for missing files.
5506 (vc-status-hide-up-to-date): Rename from
5507 vc-status-remove-up-to-date. Update all callers.
5508 (vc-status-mode-map): Bind C-m.
5510 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5512 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5514 (vc-git--state-code): ... to this new function.
5515 (vc-git-state): Use it.
5517 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5519 * textmodes/remember.el (remember-mail-date)
5520 (remember-store-in-mailbox): Write date and From line in such a
5521 way that Mutt can read it.
5523 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5525 * simple.el (transient-mark-mode): Turn on by default.
5527 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5529 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5530 'unregistered for unregistered files.
5532 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5534 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5536 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5539 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5540 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5541 Add :enable for vc-status-refresh.
5542 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5543 (vc-status-tool-bar-map): Add binding for
5544 vc-status-kill-dir-status-process.
5545 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5546 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5547 Reset vc-status-process-buffer.
5548 (vc-status-refresh): Don't run two refreshes at a time.
5549 (vc-status): If the buffer is already in vc-status-mode only refresh.
5550 (vc-status-mark-buffer-changed): Add an optional file parameter.
5551 (vc-resynch-buffer): Use it.
5552 (vc-delete-file): Expand the file name before using it.
5553 Be careful to not create a new buffer with the old file contents.
5554 Update the VC state after performing the operation.
5556 2008-03-23 Andreas Schwab <schwab@suse.de>
5558 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5559 Fix radio button condition.
5561 [customize]: Add radio button.
5563 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5565 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5566 (calc-user-parse-tables, calc-gnuplot-default-device)
5567 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5568 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5569 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5570 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5571 (calc-undo-list, calc-redo-list, calc-main-buffer)
5572 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5573 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5574 (calc-said-hello, calc-executing-macro, calc-any-selections)
5575 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5576 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5577 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5578 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5579 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5580 (calc-create-buffer, calc-quit): Add docstrings.
5582 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5584 * makefile.w32-in (WINS_ALMOST): Add org.
5586 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5588 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5589 New functions to implement vc-status support.
5591 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5593 * vc.el (vc-status-prepare-status-buffer): New function.
5594 (vc-status): Use it.
5596 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5599 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5601 * vc-git.el (vc-git--empty-db-p)
5602 (vc-git-after-dir-status-stage1-empty-db): New functions.
5603 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5604 Add support for empty repositories.
5606 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5608 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5609 Allow "^" in a version name.
5611 * vc-mtn.el (vc-mtn-state): Support the added state.
5613 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5615 * org: New directory for Org-mode.
5617 * org/org-export-latex.el: Moved from lisp/texmodes.
5619 * org/org-irc.el: Moved from lisp/texmodes.
5621 * org/org-mac-message.el: Moved from lisp/texmodes.
5623 * org/org-mouse.el: Moved from lisp/texmodes.
5625 * org/org-publish.el: Moved from lisp/texmodes.
5627 2008-03-21 Juri Linkov <juri@jurta.org>
5629 * comint.el (comint-dynamic-simple-complete):
5630 Use variable `stub' for the second arg `common-substring'
5631 of `comint-dynamic-list-completions'.
5632 (comint-dynamic-list-filename-completions):
5633 Use variable `filenondir' for the second arg `common-substring'
5634 of `comint-dynamic-list-completions'.
5635 (comint-dynamic-list-completions): Add new optional arg
5636 `common-substring'. Add `common-substring' as the second arg of
5637 the call to `display-completion-list'. Doc fix.
5639 * comint.el (comint-dynamic-complete-as-filename)
5640 (comint-dynamic-list-filename-completions)
5641 (comint-dynamic-simple-complete): Use `minibuffer-message'
5642 to display message "No completions of %s" when a command
5643 is called in the minibuffer.
5644 (comint-dynamic-simple-complete): Don't display other
5645 completion messages when a command is called in the minibuffer.
5646 (comint-dynamic-list-completions): Use `minibuffer-message'
5647 to display message " [Type space to flush ...]" when a command
5648 is called in the minibuffer.
5650 * shell.el (shell-dynamic-complete-command)
5651 (shell-dynamic-complete-environment-variable): Don't display
5652 completion messages when command is called in the minibuffer.
5654 * emacs-lisp/lisp.el (lisp-complete-symbol):
5655 Use `minibuffer-message' to display message "No completions of %s"
5656 when this command is called in the minibuffer.
5658 * bindings.el (standard-mode-line-modes): Put special help-echo
5659 tooltip on recursive edit %[ %] mode-line constructs.
5661 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5662 "^No dynamic expansion for .* found$" to allow error messages like
5663 "No dynamic expansion for \"%s\" found in this-buffer".
5665 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5667 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5670 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5672 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5673 * vc.el (vc-default-dired-state-info): Use just "modified".
5674 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5675 (vc-cvs-mode-line-string): Make use of the better default.
5676 (vc-cvs-parse-entry): Use the new `added'.
5677 (vc-cvs-dired-state-info): Remove.
5678 * vc-svn.el (vc-svn-dired-state-info): Remove.
5679 * vc-hg.el (vc-hg-dired-state-info): Remove.
5680 * vc-git.el (vc-git-dired-state-info): Remove.
5682 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5684 * vc-git.el (vc-git-status-result): New variable.
5685 (vc-git-dir-status): Split out ...
5686 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5687 ... these new functions and work asynchronously.
5689 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5691 * vc-git.el (vc-git-after-dir-status): Remove.
5692 (vc-git-dired-state-info): Reimplement.
5694 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5696 * replace.el (occur-mode-map): Add :help.
5698 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5701 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5703 (vc-status-remove-up-to-date): New function.
5704 (vc-status-mode-map, vc-status-menu-map): Bind it.
5705 (vc-status-printer): Use a different face up-to-date files.
5706 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5707 (Todo): Remove solved entries.
5709 * vc-hg.el (vc-hg-state):
5710 * vc-git.el (vc-git-state):
5711 * vc-cvs.el (vc-cvs-parse-status):
5712 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5715 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5717 * progmodes/compile.el (compile):
5718 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5720 * simple.el (minibuffer-local-shell-command-map): New var.
5721 (minibuffer-complete-shell-command, read-shell-command): New funs.
5722 (shell-command, shell-command-on-region): Use them.
5724 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5726 * vc.el (vc-status-mark-buffer-changed): New function to implement
5727 updating of the *vc-status* buffer when a buffer is saved.
5728 (vc-status-mode): Use it for after-change-hook.
5729 (vc-add-to-vc-status-buffer): Rename to ...
5730 (vc-status-add-entry): ... this.
5731 (Todo): Add new entry.
5733 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5737 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5739 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5740 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5741 Remove spurious * from defcustom docstrings.
5742 (icomplete-compute-delay): Fix docstring and remove spurious *.
5743 (icomplete-delay-completions-threshold): Fix typo in docstring and
5745 (icomplete-completions): While collecting the list of prospective
5746 candidates, don't overshoot `icomplete-prospects-length'.
5748 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5750 * textmodes/refbib.el:
5751 * textmodes/reftex.el:
5752 * textmodes/reftex-global.el:
5753 * textmodes/reftex-vars.el:
5754 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5755 compiler pacifying defvars.
5756 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5757 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5760 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5762 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5763 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5764 (verilog-customize, verilog-font-customize)
5765 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5766 (verilog-mode): Update documentation strings to match tool tips.
5767 (verilog-auto-search-do, verilog-auto-re-search-do)
5768 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5769 expansion when a .* appears inside a string.
5770 (verilog-re-search-forward, verilog-re-search-backward):
5771 Add comment to recall how this works.
5772 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5774 2008-03-20 Glenn Morris <rgm@gnu.org>
5776 * calendar/calendar.el (calendar-other-dates): New function.
5777 (calendar-print-other-dates): Use calendar-other-dates.
5778 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5779 the declarations it replaces.
5780 (calendar-mouse-print-dates): Use calendar-other-dates.
5782 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5783 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5784 (calendar-absolute-from-bahai): Fix the leap-year case.
5785 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5786 (calendar-bahai-date-string, calendar-bahai-print-date):
5787 Handle pre-Bahai dates.
5789 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5790 (chinese-calendar-terrestrial-branch): Make defcustoms.
5792 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5793 (calendar-mouse-view-diary-entries): Use or.
5794 (calendar-mouse-chinese-date): Remove unused command.
5795 (cal-menu-load-hook): Mark as obsolete.
5797 * calendar/solar.el (calendar-location-name, calendar-latitude)
5798 (calendar-longitude, solar-arctan, sunrise-sunset)
5799 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5801 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5803 * calc/calc.el: Remove outdated comments.
5804 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5805 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5808 2008-03-19 Jason Rumney <jasonr@gnu.org>
5810 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5812 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5814 * net/tls.el (open-tls-stream): Reindent.
5816 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5818 * net/tramp.el (tramp-let-maybe): Removed.
5819 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5820 It does not exist under XEmacs.
5821 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5822 (tramp-completion-file-name-handler): Let-bind
5823 `directory-sep-char'.
5825 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5826 `directory-sep-char'.
5828 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5830 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5831 for autoloaded keymaps.
5833 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5834 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5835 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5836 (verilog-in-comment-p, verilog-in-star-comment-p)
5837 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5838 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5839 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5840 (verilog-skip-forward-comment-p): Use it.
5842 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5844 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5845 (org-remember-templates, org-time-stamp-rounding-minutes)
5846 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5847 (org-columns-new): Fix typos in docstrings.
5849 2008-03-19 Glenn Morris <rgm@gnu.org>
5851 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5852 (tramp-handle-shell-command): Use condition-case rather than
5855 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5857 * diff-mode.el (diff-header): Make the color louder.
5858 (diff-refine-change): Tone the color down.
5860 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5862 * descr-text.el (describe-char): When `describe-char-unidata-list'
5863 is set to show all properties, list them in the right order.
5865 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * international/mule.el (load-with-code-conversion): Avoid setting
5868 default-enable-multibyte-characters.
5870 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5872 * vc.el (vc-annotate-background): Fix custom type.
5874 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5876 * descr-text.el (describe-char-unidata-list): Allow specifying
5877 just all properties.
5878 (describe-char): Handle that new value.
5880 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5882 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5884 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5885 instead of file name extension to make docs with uncommon
5888 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5890 * doc-view.el (require): Require cl at compile time because
5893 2008-03-18 Glenn Morris <rgm@gnu.org>
5895 * calendar/calendar.el (initial-calendar-window-hook)
5896 (today-visible-calendar-hook): Doc fixes.
5898 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5900 * net/tramp.el (tramp-root-regexp): Simplify.
5901 (tramp-completion-file-name-regexp-separate): Don't insist on
5902 leading "[". This prevents method or user or host completion.
5903 (tramp-let-maybe): Autoload it.
5904 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5905 is an alias for `identity'.
5906 (tramp-handle-write-region): Protect `last-coding-system-used'
5907 over the trailing statements.
5908 (tramp-completion-file-name-handler-post-function): Remove.
5909 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5910 instead of calling `tramp-drop-volume-letter'.
5914 * net/trampver.el: Move coding cookie at the end.
5916 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5919 elements which may be something else than characters.
5921 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5923 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5924 New functions to implement vc-status support.
5926 * vc.el (vc-default-extra-status-menu)
5927 (vc-add-to-vc-status-buffer): New functions.
5929 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5932 2008-03-17 Glenn Morris <rgm@gnu.org>
5934 * calendar/cal-x.el (diary-frame-parameters)
5935 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5936 Fix custom type; add options.
5937 (calendar-frame, diary-frame): Doc fixes.
5938 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5940 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5941 Use calendar-frame-1 and calendar-dedicate-diary.
5942 (calendar-one-frame-setup): Also handle only-one-frame case.
5943 (calendar-only-one-frame-setup): Doc fix. Just call
5944 calendar-one-frame-setup.
5946 * calendar/diary-lib.el: Re-order some definitions before their use.
5947 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5948 (diary-list-entries): Doc fixes.
5949 (make-fancy-diary-display): Remove function.
5951 * calendar/calendar.el (calendar-today-marker)
5952 (initial-calendar-window-hook, today-visible-calendar-hook)
5953 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5954 (calendar-star-date, calendar-mark-today): Doc fixes.
5955 (today-visible-calendar-hook): Add options.
5956 (calendar-in-read-only-buffer): New macro.
5957 (calendar-basic-setup): Adapt for change in calendar-read-date.
5958 Place holiday let inside if.
5959 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5960 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5961 (calendar-print-other-dates): Use one let rather than many.
5963 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5964 (calendar-print-other-dates):
5965 * calendar/cal-hebrew.el (list-yahrzeit-dates):
5966 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5967 * calendar/holidays.el (calendar-list-holidays, list-holidays)
5968 (calendar-cursor-holidays):
5969 * calendar/lunar.el (calendar-phases-of-moon): Use
5970 calendar-in-read-only-buffer to replace previous code and disable undo.
5972 2008-03-16 Juri Linkov <juri@jurta.org>
5974 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5975 and regexp-search-ring-yank-pointer for the HISTPOS argument of
5976 read-from-minibuffer to provide the correct initial minibuffer
5977 history position in isearch-edit-string when it is called from
5978 isearch-ring-adjust.
5980 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5981 to check if the current buffer is the minibuffer, and in this case
5982 call abort-recursive-edit to kill the minibuffer. Doc fix.
5983 (kill-this-buffer-enabled-p): Allow this function to return non-nil
5984 when the current buffer is the minibuffer.
5986 * simple.el (goto-line): Leave mark at previous position. Doc fix.
5988 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
5990 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5991 Use non-nil PARENTS attribute of make-directory instead of
5992 explicitly checking existence the current cache directory.
5994 2008-03-16 Daiki Ueno <ueno@unixuser.org>
5996 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5997 M-x epa-file-select-keys.
5999 2008-03-16 Kenichi Handa <handa@m17n.org>
6001 * international/mule.el (auto-coding-alist):
6002 Use no-conversion-multibyte for archive files.
6004 2008-03-16 Glenn Morris <rgm@gnu.org>
6006 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
6008 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
6009 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
6010 Use calendar-mark-1.
6011 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
6012 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
6013 Use calendar-mark-complex.
6014 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
6015 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
6016 Use calendar-mark-1.
6018 * calendar/calendar.el (calendar-mod): Remove.
6019 * calendar/cal-china.el (calendar-chinese-from-absolute)
6020 (calendar-chinese-date-string): Expand calendar-mod calls.
6021 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
6022 Expand calendar-mod calls.
6024 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
6025 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6026 (diary-bahai-insert-yearly-entry): Use let rather than let*.
6027 Move obsolete aliases after the functions that replaced them.
6029 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
6030 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
6031 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
6032 Use let rather than let*.
6033 (calendar-hebrew-prompt-for-date): New function.
6034 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
6035 (holiday-tisha-b-av-etc): Use unless, let.
6037 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
6038 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
6040 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
6042 * calendar/calendar.el (calendar-for-loop): Add indent spec.
6044 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
6045 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
6047 (diary): Remove un-needed let.
6048 (view-other-diary-entries): Rename argument.
6049 (diary-list-entries-2): New function.
6050 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
6051 (print-diary-entries): Use unless.
6052 (diary-mark-entries-1): Change argument order, make all but
6053 markfunc optional. Handle the standard (Gregorian) case.
6054 Use match-string-no-properties. Handle marks.
6055 (mark-diary-entries): Use diary-mark-entries-1.
6056 (diary-font-lock-keywords-1): New macro.
6057 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
6059 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
6061 * icalendar.el (icalendar-version): Increase to 0.18.
6062 (icalendar-export-hidden-diary-entries): New variable.
6063 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
6064 In case of error, insert full error-val.
6065 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
6066 Use calendar-day-of-week. Return the day number.
6067 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
6069 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
6071 * icalendar.el (icalendar-recurring-start-year): New variable.
6072 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
6073 (icalendar-export-region): Ignore hidden diary entries.
6074 (icalendar--convert-ordinary-to-ical): Fix case where event
6075 spans across midnight boundary.
6076 (icalendar-first-weekday-of-year): New function.
6077 (icalendar--convert-weekly-to-ical): Allow user-selectable start
6078 year for recurring events (Mozilla calendars do not propagate
6079 recurring events forever, so year 2000 start date was not working).
6080 (icalendar--convert-yearly-to-ical): Remove extra spaces in
6081 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
6083 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
6085 * net/tramp.el (tramp-root-regexp): New defconst.
6086 (tramp-completion-file-name-regexp-unified)
6087 (tramp-completion-file-name-regexp-separate)
6088 (tramp-completion-file-name-regexp-url): Use it.
6089 (tramp-do-copy-or-rename-file-via-buffer):
6090 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
6091 t for `insert-file-contents-literally'.
6092 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
6094 (tramp-completion-file-name-handler-post-function): New defconst.
6095 (tramp-completion-file-name-handler): Use it.
6096 (tramp-maybe-open-connection): Update calls to
6097 `tramp-flush-connection-property' for removed 2nd argument.
6099 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
6102 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
6105 2008-03-15 Glenn Morris <rgm@gnu.org>
6107 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
6109 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
6110 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6111 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6112 (diary-bahai-list-entries): Use diary-list-entries-1.
6113 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
6114 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
6115 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6116 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6117 (list-hebrew-diary-entries): Use diary-list-entries-1.
6118 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
6119 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
6120 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6121 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6122 (list-islamic-diary-entries): Use diary-list-entries-1.
6123 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
6125 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
6127 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
6129 * calendar/cal-china.el (number-chinese-months)
6130 (calendar-chinese-from-absolute): Use nth, caar.
6132 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
6134 * calendar/cal-french.el (french-calendar-accents): Doc fix.
6136 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
6137 (calendar-hebrew-month-name-array-leap-year)
6138 (hebrew-calendar-parashiot-names): Make constants.
6139 (diary-parasha): Move definition after constants it uses.
6141 * calendar/cal-html.el (cal-html-insert-link-yearpage)
6142 (cal-html-htmlify-list): Doc fix.
6143 (cal-html-htmlify-entry): Use nth.
6145 * calendar/cal-islam.el (calendar-islamic-month-name-array)
6146 (calendar-islamic-epoch): Make constants.
6147 (calendar-islamic-epoch): Doc fix.
6149 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6151 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6152 (cal-tex-month-name): Doc fix.
6153 (cal-tex-last-blank-p): Use zerop.
6155 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6156 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6157 (calendar-cursor-to-date): Doc fix.
6158 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6159 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6160 (calendar-day-number): Use when.
6161 (generate-calendar-month): Use dotimes.
6162 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6163 (calendar-set-mark): Reverse conditional.
6164 (calendar-make-alist): Move definition before use.
6166 * calendar/diary-lib.el (diary-face-attrs)
6167 (diary-glob-file-regexp-prefix, diary-selective-display)
6168 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6169 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6170 (diary-anniversary, diary-cyclic)
6171 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6172 (diary-header-line-format): Change wording.
6173 (diary-list-entries): Set `date-start' in let.
6174 (include-other-diary-files, mark-included-diary-files): Use format.
6175 (simple-diary-display, fancy-diary-display): Use cadr, unless.
6176 (mark-diary-entries): Use 1+.
6177 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6178 (mark-calendar-month): Use dotimes.
6180 * calendar/holidays.el (displayed-month, displayed-year):
6181 Move declarations where needed.
6182 (calendar-list-holidays): Doc fix.
6184 * calendar/parse-time.el (parse-time-string): Simplify.
6186 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6188 (solar-sunrise-sunset): Rename some local variables for clarity.
6189 (sunrise-sunset): Use zerop.
6190 (solar-mean-equinoxes/solstices): Doc fix.
6192 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6194 (timeclock-completing-read, timeclock-generate-report): Use zerop.
6195 (timeclock-mean, timeclock-generate-report): Use dolist.
6197 * calendar/todo-mode.el (todo-add-category): Simplify.
6198 (todo-more-important-p, todo-delete-item, todo-file-item):
6200 (todo-top-priorities): Use zerop.
6202 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
6204 * buff-menu.el (list-buffers-noselect): Display buffer name in
6205 tooltip instead of mouse binding when it doesn't fit in the list.
6207 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6209 * faces.el (xw-defined-colors):
6210 * simple.el (widget-convert, shell-mode): Declare as functions
6211 instead of autoloading.
6217 * emacs-lisp/backquote.el:
6218 * emacs-lisp/timer.el:
6224 * textmodes/fill.el:
6225 * textmodes/paragraphs.el: Remove autoloads, redundant when the
6226 files are preloaded.
6228 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * desktop.el (desktop-create-buffer): Don't catch errors if
6231 debug-on-error is set.
6233 2008-03-14 Eli Zaretskii <eliz@gnu.org>
6235 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6236 ($(lisp)/calendar/diary-loaddefs.el)
6237 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6238 (LOADDEFS): New macro.
6239 (autoloads): Depend on $(LOADDEFS).
6241 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6243 * font-lock.el (featurep): Remove test, not useful anymore.
6244 (facemenu-keymap): Move key binding ...
6245 * facemenu.el (facemenu-keymap): ... here.
6247 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
6248 for each file in the list.
6249 (vc-bzr-log-view-mode): Recognize the file marker.
6251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6252 for checkdoc and profiling.
6254 2008-03-14 Bastien Guerry <bzg@altern.org>
6256 * textmodes/flyspell.el (nxml-mode): Add the right
6257 `flyspell-mode-predicate'.
6259 * wid-edit.el (link): Use 'mouse-face for :follow-link.
6261 2008-03-14 Glenn Morris <rgm@gnu.org>
6263 * calendar/solar.el: Reorder so that functions are defined before use.
6264 (displayed-month, displayed-year): Move declarations where needed.
6265 (solar-get-number): Move definition before use. Use unless.
6266 (solar-equatorial-coordinates): Simplify.
6267 (solar-sunrise-and-sunset): Use let rather than let*.
6268 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6270 * startup.el (command-line-1): Rename -internal-script back to
6271 -scriptload (reverts previous change).
6273 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6274 (calendar-bahai-leap-base): Add doc strings.
6275 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6276 Move definition before use.
6277 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6278 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6279 variables outside the loop. Use dolist.
6280 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6282 * calendar/cal-china.el: Re-order so that functions are defined before
6284 (displayed-month, displayed-year): Move declarations where needed.
6285 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6286 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6288 (chinese-year-cache): Recenter on 2010. Doc fix.
6289 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6291 (chinese-year-cache-init): New function.
6292 (compute-chinese-year, holiday-chinese-new-year)
6293 (calendar-chinese-date-string, calendar-goto-chinese-date)
6294 (make-chinese-month-assoc-list): Use cadr, nth.
6295 (chinese-months): Remove un-needed let.
6297 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6298 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6299 (coptic-prompt-for-date): Move definition before use.
6301 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6302 (calendar-dst-find-data, calendar-daylight-time-offset)
6303 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6304 (calendar-daylight-savings-starts-time)
6305 (calendar-daylight-savings-ends-time): Use cadr, nth.
6307 * calendar/cal-french.el (french-calendar-epoch)
6308 (calendar-goto-french-date): Doc fix.
6309 (french-calendar-month-name-array)
6310 (french-calendar-multibyte-month-name-array)
6311 (french-calendar-day-name-array, french-calendar-special-days-array):
6314 * calendar/cal-hebrew.el (displayed-month, displayed-year)
6315 (original-date): Move declarations where needed.
6316 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6318 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6319 constant variables outside the loop. Use dolist.
6321 * calendar/cal-islam.el (displayed-month, displayed-year)
6322 (original-date): Move declarations where needed.
6323 (islamic-calendar-day-number): Remove unused local variable `day'.
6324 (calendar-goto-islamic-date): Doc fix.
6325 (holiday-islamic): Use unless.
6326 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6327 constant variables outside the loop. Use dolist.
6328 (mark-islamic-calendar-date-pattern): Move definition before use.
6330 (mark-islamic-diary-entries): Doc fix.
6331 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6332 (insert-yearly-islamic-diary-entry): Use let rather than let*.
6334 * calendar/cal-julian.el (calendar-absolute-from-julian):
6335 Move definition before use. Remove un-needed local `day'.
6336 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6338 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6339 (calendar-mayan-tzolkin-names-array): Add doc strings.
6340 (calendar-mayan-long-count-from-absolute): Use a single let.
6341 (calendar-string-to-mayan-long-count): Simplify.
6342 (calendar-next-haab-date, calendar-previous-haab-date)
6343 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6344 (calendar-previous-calendar-round-date)
6345 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6347 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6348 (calendar-mayan-date-string, calendar-print-mayan-date)
6349 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6350 (calendar-mayan-long-count-common-era): Move definitions before use.
6352 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6353 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6355 (calendar-mouse-goto-date): Move definition before use.
6357 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6358 Move definition before use.
6359 (calendar-cursor-to-visible-date): Move definition before use.
6360 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
6361 and place inside the conditional.
6362 (calendar-forward-day): Simplify.
6363 (calendar-end-of-month): Use unless.
6364 (calendar-goto-day-of-year): Doc fix.
6365 Relocate obsolete aliases after their replacements.
6367 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6369 * calendar/diary-lib.el (mark-diary-entries): Move some constant
6370 variables outside the diary-date-forms loop.
6372 * calendar/calendar.el (diary-file): Doc fix.
6373 (calendar-buffer-list): Return buffers rather than strings (fixes
6375 (hebrew-holidays-4): Fix typo.
6377 * calendar/holidays.el (displayed-month, displayed-year):
6378 Move declarations where needed.
6379 (calendar-holiday-list, calendar-list-holidays)
6380 (holiday-filter-visible-calendar): Move definitions before use.
6381 (list-holidays): Use cadr.
6382 Relocate obsolete aliases after their replacements.
6384 * calendar/lunar.el (date, displayed-month, displayed-year):
6385 Move declarations where needed.
6386 (lunar-phase-list): Move definition after functions it uses.
6387 (calendar-phases-of-moon, diary-phases-of-moon)
6388 (lunar-new-moon-on-or-after): Use cadr, nth.
6389 (lunar-new-moon-on-or-after): Doc fix.
6391 * textmodes/org-irc.el (top-level): CL not required when compiling.
6392 (org-irc-visit-erc): Replace runtime CL functions.
6394 * textmodes/org-publish.el (declare-function): Add compatibility stub.
6395 (org-publish-delete-dups): Declare as function.
6397 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6399 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6400 (vc-bzr-show-log-entry): Make regexp match more cases.
6401 (vc-diff-switches-list): Remove autoload, not needed.
6403 2008-03-14 Juri Linkov <juri@jurta.org>
6405 * isearch.el (isearch-edit-string): Remove one call to
6406 `isearch-push-state' not to push an inconsistent state,
6407 but keep another correct call to `isearch-push-state'.
6408 (isearch-ring-adjust): Call `isearch-push-state' only when
6409 `search-ring-update' is non-nil since `isearch-edit-string'
6410 already pushes its state.
6411 (isearch-message): Improve matching the failed part by checking
6412 if the original message starts with the last successful message.
6414 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6415 (dired-perm-write): Rename from `dired-warn-writable'.
6416 Change parent face from `font-lock-warning-face' to
6417 `font-lock-comment-delimiter-face'.
6418 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6419 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6420 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6421 with `dired-perm-write-face'.
6423 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
6425 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6426 Create cache dir only if it doesn't already exist.
6428 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6430 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6433 2008-03-13 Johan Bockgård <bojohan@gnu.org>
6435 * net/browse-url.el (browse-url-text-xterm):
6436 Unquote browse-url-text-browser.
6438 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
6440 * textmodes/org-mouse.el: Version number change.
6442 * textmodes/org-publish.el (org-publish-expand-components):
6443 Remove null projects from the list of components.
6444 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6445 Remove unused retrieval of the :publishing-directory property.
6446 (org-publish-file): Bugfix: when using a relative directory as the
6447 publishing directory, convert it to a directory filename.
6448 (org-publish-project): New alias.
6449 (org-publish-get-files): Protect against empty p.
6450 (org-publish-file): Send an error when file is not part of any project.
6451 (org-publish-file): Offer to refresh the list of files in known
6452 project when the current file is not part of any project.
6453 (org-publish-before-export-hook)
6454 (org-publish-after-export-hook): New hooks.
6455 (org-publish-org-to): Use new hooks and kill buffers.
6456 (org-publish-file): Remove the code for killing buffers.
6457 (org-publish-initialize-files-alist): Use interactive.
6458 (org-publish-file): If the publishing function creates a new
6459 buffer, kill it after publishing.
6460 (org-publish-timestamp-filename): Protect ":" in file name path
6463 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6464 change that killed the LaTeX buffer.
6466 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6467 in the decision tree.
6468 (org-select-remember-template): Clean the code.
6469 (org-prepare-dblock): Add the extra :content parameter.
6470 (org-write-agenda): New output type ".ics" files.
6471 (org-write-agenda): Call `org-icalendar-verify-function', both for
6472 time stamps and for TODO entries.
6473 (org-agenda-collect-markers, org-create-marker-find-array)
6474 (org-check-agenda-marker-table): New functions.
6475 (org-agenda-marker-table): New variable.
6476 (org-export-as-html): Revert the change that killed the html
6477 buffer. Side effects first need to be studied carefully.
6478 (org-get-tags-at): Fix the structure of the condition-case statement.
6479 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6480 (org-timestamp-change): Fix regulear expressions to swallow the
6481 extra character for repeat-shift control.
6482 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6483 (org-get-legal-level): Alias to `org-get-valid-level'.
6484 (org-dblock-write:clocktable): Add a :link parameter, linking
6485 headlines to their location in the Org agenda files.
6486 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6487 throwing an error when getting tags before headlines.
6488 (org-timestamp-change, org-modify-ts-extra)
6489 (org-ts-regexp1): Fix timestamp editing.
6490 (org-agenda-custom-commands-local-options): New constant.
6491 (org-agenda-custom-commands):
6492 Use `org-agenda-custom-commands-local-options' to improve customize
6493 type. "htmlize": Removed hack to fix face problem with htmlize,
6494 it no longer seem necessary.
6495 (org-follow-link-hook): New hook.
6496 (org-agenda-custom-commands): Add "Component" as a tag for each
6497 item in a command serie.
6498 (org-open-at-point): Run `org-follow-link-hook'.
6499 (org-agenda-schedule): Bugfix: don't display marker type when it
6501 (org-store-link): org-irc required.
6502 (org-set-regexps-and-options): Parse the new logging options.
6503 (org-extract-log-state-settings): New function.
6504 (org-todo): Handle the new ways of recording state change stuff.
6505 (org-local-logging): New function.
6506 (org-columns-open-link): Fix bug with opening link in column view.
6507 (org-local-logging): New function
6508 (org-todo): Make sure that LOGGING properties are honoured.
6509 (org-todo-keywords): Improve docstring.
6510 (org-startup-options): Cleanup startup options.
6511 (org-set-regexps-and-options): Process the "!" markers.
6512 (org-todo): Respect the new logging stuff.
6513 (org-log-note-how): New variable.
6514 (org-add-log-maybe): New parameter HOW that defines how logging
6515 should be done and also overrides PURPOSE. Add a docstring.
6516 (org-add-log-note): Check if we really need to ask for a note.
6517 (org-get-current-options): Digest the new keyword.
6518 (org-agenda-reset-markers): Rename from
6519 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6520 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6521 function, without force argument.
6522 (org-buffer-property-keys): Bind local variables s and p.
6523 (org-make-tags-matcher): Allow "" to match an empty or
6524 non-existent property value.
6525 (org-export-as-html): Join unsorted lists when they directly
6526 follow each other. Such lists may be created by headlines that
6527 are converted to lists.
6528 (org-nofm-to-completion): New function.
6529 (org-export-as-html): Use :html-extension instead of
6530 org-export-html-extension.
6531 (org-store-link): Support for links from `rmail-summary-mode'.
6532 (org-columns-new, org-complete, org-set-property): Set the
6533 `include-columns' argument in the call to
6534 `org-buffer-property-keys'.
6535 (org-buffer-property-keys): New argument `include-columns', to
6536 include properties expected by any of the COLUMS formats in the
6538 (org-cleaned-string-for-export): Get rid of drawers first, so that
6539 they will be removed also in the text before the first headline.
6540 (org-clock-report): Show the clocktable when found.
6541 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6542 (org-version): With prefix argument, insert `org-version' at point.
6543 (org-agenda-goto): Recenter the window after finding the target
6544 location, to make sure the correct position will be displayed.
6545 (org-agenda-get-deadlines): Don't scale priority with the warning
6547 (org-insert-heading): Don't break line in the middle of the line.
6548 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6550 (org-update-checkbox-count): Revamp to deal with hierarchical
6551 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6552 (org-remove-timestamp-with-keyword): New function.
6553 (org-schedule, org-deadline):
6554 Use `org-remove-timestamp-with-keyword' to make sure all such time
6556 (org-mode): Support for `align'.
6557 (org-agenda-get-deadlines): Make sure priorities increase as the
6558 due date approaches and is passed.
6559 (org-remember-apply-template): Fix problem with tags that
6561 (org-make-link-regexps): Improve the regular expression for plain links.
6562 (org-agenda-get-closed): List each clocking entry.
6563 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6564 (org-special-ctrl-k): New option.
6565 (org-kill-line): New function.
6566 (org-archive-all-done): Fix incorrect number of stars in regexp.
6567 (org-refile-get-location): New function.
6568 (org-refile-goto-last-stored): New function.
6569 (org-global-tags-completion-table): Add the value of org-tag-alist
6570 in each buffer, to make sure that also unused tags will be
6571 available for completion.
6572 (org-columns-edit-value)
6573 (org-columns-next-allowed-value): Only update if not in agenda.
6574 (org-clocktable-steps): New function.
6575 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6576 (org-archive-subtree): Add the outline tree context as a property.
6577 (org-closest-date): New optional argument `prefer'.
6578 (org-goto-auto-isearch): New option.
6579 (org-goto-map, org-get-location): Implement auto-isearch.
6580 (org-goto-local-auto-isearch-map): New variable.
6581 (org-goto-local-search-forward-headings)
6582 (org-goto-local-auto-isearch): New functions.
6584 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6586 * textmodes/org-irc.el: New file.
6588 2008-03-13 John Wiegley <johnw@gnu.org>
6590 * textmodes/org-mac-message.el: New file.
6592 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6594 * font-lock.el (font-lock-comment-face): Set the foreground for
6595 the light background 8 colors case.
6597 2008-03-13 Glenn Morris <rgm@gnu.org>
6599 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6600 generate-autoload-cookie patterns.
6602 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6604 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6605 (MH_E_SRC): Remove variable.
6606 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6607 Simplify file header. Use $@ for generated-autoload-file.
6609 * Makefile.in (LOADDEFS): New variable.
6610 (AUTOGENEL): Use $LOADDEFS.
6611 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6612 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6613 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6614 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6615 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6616 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6617 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6618 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6619 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6620 Add calendar-specific autoload cookies, and remove any setting of
6621 generated-autoload-file.
6622 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6623 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6625 * calendar/holidays.el: Replace explicit autoloads with reading of
6628 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6629 (calendar-buffer-list): Simplify.
6630 (generate-calendar-window): Use calendar-mark-holidays rather than
6633 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6634 Use cal-hebrew-yahrzeit-buffer.
6636 * calendar/cal-x.el (calendar-only-one-frame-setup)
6637 (calendar-two-frame-setup): Doc fixes.
6638 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6640 * calendar/appt.el (appt-mode-string): Mark as risky.
6641 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6643 * calendar/cal-html.el (diary-list-entries):
6644 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6645 (calendar-iso-from-absolute): Fix autoloads.
6647 * calendar/cal-iso.el (calendar-absolute-from-iso)
6648 (calendar-iso-read-args): Simplify.
6649 (calendar-iso-date-string, calendar-iso-read-args)
6650 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6652 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6653 (displayed-month, displayed-year): Move declarations where needed.
6654 (calendar-print-astro-day-number): Doc fix.
6656 * calendar/cal-persia.el (persian-calendar-month-name-array)
6657 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6658 (persian-prompt-for-date): Remove local variable `today'.
6660 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6662 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6663 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6664 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6665 (diary-sabbath-candles, solar-equinoxes/solstices)
6666 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6667 (solar-time-equation, solar-date-to-et): Simplify.
6669 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6670 Replace `(car (cdr' with cadr'.
6672 * progmodes/f90.el (f90-font-lock-n): New function.
6673 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6674 Use f90-font-lock-n.
6675 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6677 * progmodes/f90.el (f90-mode-abbrev-table):
6678 * progmodes/fortran.el (fortran-mode-abbrev-table):
6679 Use newer form of define-abbrev, where supported. No need to bind
6680 abbrevs-changed for system abbrevs.
6682 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6684 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6685 delete-frame-functions.
6687 * bookmark.el (Info-current-node): Remove.
6689 2008-03-12 Juri Linkov <juri@jurta.org>
6691 * help.el (describe-project): Remove defaliases for view-todo and
6692 describe-project that are now unnecessary after the merge from
6693 emacs--rel--22 that added define-obsolete-function-alias.
6695 * startup.el (inhibit-startup-screen): Revert incomplete
6696 2008-03-10 merge from emacs--rel--22 that partly reverted
6697 2008-02-28 change that added initial message to *scratch* buffer
6698 regardless of the value of `inhibit-startup-screen'.
6699 Now keep this change in the trunk, but not in the 22 branch.
6701 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * international/quail.el (quail-setup-completion-buf, quail-help):
6704 * mail/binhex.el (binhex-decode-region-internal):
6705 * mail/uudecode.el (uudecode-decode-region-internal):
6706 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6707 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6708 setting default-enable-multibyte-characters.
6710 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6712 * comint.el: Fix up indentation and comment style. Remove `function'.
6714 * international/mule-cmds.el (reset-language-environment)
6715 (set-language-environment-nonascii-translation):
6716 Don't set-unibyte-charset.
6718 * doc-view.el: Remove all cb-args, use closures instead.
6719 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6720 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6721 doing an incorrect check). Update all callers to use the new name.
6722 (doc-view-doc->txt): Add missing `txt' argument.
6724 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6726 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6727 md5 sum calculation to single-byte.
6729 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * doc-view.el (doc-view-new-window-function): Add assertion.
6732 (doc-view-doc-type): New var.
6733 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6734 (doc-view-intersection): New fun.
6735 (doc-view-mode): Use it to set the new var.
6737 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6739 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6740 (doc-view-already-converted-p): New functions.
6741 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6742 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6743 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6744 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6745 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6746 (doc-view-convert-current-doc): Don't hardwire the functions the
6747 sentinels call. Now they're provided by two args CALLBACK and
6748 CB-ARGS to the functions.
6749 (doc-view-search): Use doc-view-doc->txt.
6750 (doc-view-initiate-display): Use doc-view-already-converted-p.
6751 Mention new binding C-c C-t if doc-view-mode doesn't work.
6753 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6755 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6757 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6759 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6760 Mark " outside of tags as punctuation.
6762 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * menu-bar.el (minibuffer-local-map): Use the same command for the
6765 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6766 Prefer RET over C-j for exit-minibuffer.
6768 * files.el (display-buffer-other-frame): Eliminate problematic code.
6770 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6771 (menu-bar-select-buffer): Remove.
6772 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6773 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6775 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6777 * icomplete.el (icomplete-completions): Remove obsolete code.
6779 * net/net-utils.el (iwconfig-program-options): Doc fix.
6780 (net-utils-run-program, run-network-program): Define as functions.
6782 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6784 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6786 2008-03-11 Glenn Morris <rgm@gnu.org>
6788 * faces.el (mode-line-emphasis): New face.
6789 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6791 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6793 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6795 * simple.el (set-mark-command): Doc fix.
6797 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6799 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6801 * emacs-lisp/autoload.el (autoload-find-destination):
6802 Don't force raw-text.
6804 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6805 * calendar/cal-loaddefs.el: Don't version control.
6807 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6809 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6810 entries and add :help to the existing ones.
6812 2008-03-10 Glenn Morris <rgm@gnu.org>
6814 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6815 to where they are needed.
6817 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6818 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6819 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6820 (calendar-version): Doc fixes.
6821 (calendar-absolute-from-gregorian): Use zerop.
6822 (calendar-mode-line-format): Make it a defcustom.
6824 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6825 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6826 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6827 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6828 (mark-included-diary-files, mark-calendar-days-named)
6829 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6830 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6831 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6832 (insert-anniversary-diary-entry, insert-block-diary-entry)
6833 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6834 (diary-font-lock-sexps): Doc fixes.
6835 (diary-remind-message, mark-calendar-month): Use zerop.
6836 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6837 (diary-list-entries): Revert let to let* (previous change).
6839 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6841 2008-03-10 Kim F. Storm <storm@cua.dk>
6843 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6844 function aliases for the old names.
6846 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6848 * iswitchb.el (iswitchb-use-faces): Doc fix.
6849 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6850 Fix typos in docstrings.
6852 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6854 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6856 (verilog-type-font-keywords): Reindent.
6858 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6860 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6861 grouping-keyword regular expression.
6862 (verilog-font-lock-keywords): Allow users to toggle special
6863 highlight of grouping-keywords.
6864 (verilog-highlight-grouping-keywords): The toggle for special
6865 highlighting of grouping keywords.
6867 2008-03-10 Juri Linkov <juri@jurta.org>
6869 * startup.el: Revert 2008-02-28 change that adds initial message
6870 to *scratch* buffer regardless of the value of
6871 `inhibit-startup-screen'.
6873 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6875 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6876 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6877 * progmodes/verilog-mode.el (verilog-mode):
6878 * net/socks.el (socks):
6879 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6881 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6884 (doc-view-bookmark-make-record): Use them.
6885 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6886 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6888 * bookmark.el (bookmark-make-record-function): Change expected return
6889 value to include a suggested bookmark name.
6890 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6891 Fix reversed `overwrite' semantics.
6892 (bookmark-set): Call bookmark-make-record before prompting the user.
6893 Then pass the result to bookmark-store later on.
6894 (bookmark-make-name-function): Remove.
6895 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6896 * info.el (bookmark-make-name-function): Remove.
6897 (Info-mode): Don't set it.
6898 (Info-bookmark-make-name): Remove.
6899 (Info-bookmark-make-record): Use Info-current-node as suggested default
6902 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6903 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6904 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6905 (bookmark-annotation-buffer, bookmark-annotation-file)
6906 (bookmark-annotation-point, bookmark-send-annotation)
6907 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6908 (bookmark-edit-annotation-text-func): Rename from
6909 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6910 (bookmark-edit-annotation-mode-map): Move initialization into
6913 * bookmark.el: Remove spurious * in docstrings.
6914 (bookmark-minibuffer-read-name-map): New var.
6915 (bookmark-set): Use it. Also pass the default value as it should.
6916 (bookmark-send-edited-annotation): Take no chances with text properties.
6917 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6918 (bookmark-insert-buffer-name): Remove.
6919 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6921 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6923 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6925 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6927 * diff-mode.el (diff-mode-menu): Add :help.
6929 2008-03-09 Glenn Morris <rgm@gnu.org>
6931 * calendar/calendar.el (general-holidays, oriental-holidays)
6932 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6933 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6934 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6935 (calendar-holidays): Restore autoload cookies, because people are
6936 used to using these variables without loading calendar.el.
6938 * calendar/cal-islam.el (diary-islamic-date): Move to end.
6939 (date, number): Declare where needed.
6941 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6942 (list-sexp-diary-entries): Doc fixes.
6943 (diary-list-entries): Doc fix. Remove free variable `entry'.
6944 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
6945 Simplify setting of `date-holiday-list'.
6946 (mark-diary-entries): Remove free variable `entry'.
6947 (diary-list-entries, include-other-diary-files, fancy-diary-display):
6948 Use let where let* is not needed.
6950 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6953 make-record function, instead paste it in afterwards.
6954 (bookmark-make-record-for-text-file):
6955 * doc-view.el (doc-view-bookmark-make-record):
6956 * info.el (Info-bookmark-make-record): Don't mess with annotations.
6958 2008-03-08 Glenn Morris <rgm@gnu.org>
6960 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6962 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * calendar/diary-lib.el (diary-list-entries)
6965 (include-other-diary-files, mark-diary-entries)
6966 (mark-sexp-diary-entries, mark-included-diary-files)
6967 (diary-entry-time, list-sexp-diary-entries): Remove the special
6968 handling of ^M that dates back to the use of selective-display.
6969 (simple-diary-display): Obey setting of pop-up-frames.
6970 (body, entry): Remove unnecessary declarations.
6972 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6973 (bookmark-get-annotation, bookmark-set-annotation)
6974 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6975 (bookmark-set-position, bookmark-get-front-context-string)
6976 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6977 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6978 * info.el (Info-bookmark-make-record): Don't bother recording point.
6979 (bookmark-get-filename, bookmark-get-front-context-string)
6980 (bookmark-get-rear-context-string, bookmark-get-position):
6981 Don't declare any more.
6982 (bookmark-get-info-node): Remove.
6983 (bookmark-prop-get): Declare.
6984 (Info-bookmark-jump): Use it.
6986 2008-03-08 Johan Bockgård <bojohan@gnu.org>
6988 * subr.el (while-no-input): Don't splice BODY directly into the
6991 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
6993 * diff-mode.el (diff-ignore-whitespace-hunk):
6994 Bind inhibit-read-only before trying to change the buffer.
6996 2008-03-08 Glenn Morris <rgm@gnu.org>
6998 * calendar/appt.el (appt): Move custom group here from calendar.el.
6999 (appt-disp-window, appt-convert-time): Doc fixes.
7001 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
7002 (calendar-bahai-mark-date-pattern):
7003 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
7004 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
7005 * calendar/cal-julian.el (calendar-absolute-from-julian):
7006 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
7008 * calendar/cal-china.el (chinese-calendar): Move custom group here from
7010 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7012 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
7013 (chinese-calendar-daylight-savings-starts)
7014 (chinese-calendar-daylight-savings-ends)
7015 (chinese-calendar-daylight-savings-starts-time)
7016 (chinese-calendar-daylight-savings-ends-time)
7017 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
7020 * calendar/cal-coptic.el (coptic-name): Add doc string.
7022 * calendar/cal-french.el (french-calendar-month-name-array)
7023 (french-calendar-day-name-array, french-calendar-special-days-array):
7026 * calendar/cal-bahai.el (diary-bahai-mark-entries)
7027 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7028 (diary-bahai-insert-yearly-entry):
7029 * calendar/cal-dst.el (calendar-next-time-zone-transition)
7030 (calendar-time-zone):
7031 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
7032 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
7033 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
7034 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
7035 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
7036 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
7037 (list-islamic-diary-entries, mark-islamic-diary-entries)
7038 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7039 (insert-yearly-islamic-diary-entry):
7040 * calendar/cal-iso.el (calendar-iso-read-args):
7041 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7042 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
7043 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7044 (calendar-next-calendar-round-date)
7045 (calendar-mayan-long-count-common-era):
7046 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
7047 (cal-menu-x-popup-menu, calendar-mouse-holidays)
7048 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
7049 (calendar-mouse-goto-date):
7050 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
7051 * calendar/holidays.el (holidays):
7052 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
7053 * calendar/time-date.el (date-to-time, time-subtract, time-add)
7054 (safe-date-to-time): Doc fixes.
7056 * calendar/cal-persia.el (persian-calendar-month-name-array)
7057 (persian-calendar-epoch): Make constants.
7059 * calendar/cal-tex.el (calendar-tex): Move custom group here from
7062 * calendar/cal-x.el (diary-frame-parameters)
7063 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7064 (calendar-after-frame-setup-hooks): Make defcustoms.
7065 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7066 (calendar-two-frame-setup): Doc fix.
7068 * calendar/cal-loaddefs.el: New file.
7070 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
7071 * calendar/cal-french.el, calendar/cal-html.el:
7072 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
7073 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
7074 * calendar/cal-tex.el, calendar/cal-x.el:
7075 Unquote lambda functions. Add autoload cookies to functions formerly
7076 autoloaded in calendar.el. Set `generated-autoload-file' to
7079 * calendar/calendar.el: Move many autoloads to separate file,
7080 cal-loaddefs.el. Move defcustoms to start and re-order.
7081 (calendar-month-name-array, calendar-starred-day): No need to
7082 declare for compiler.
7083 (cal-loaddefs): Require it.
7084 (appt, chinese-calendar, calendar-tex): Move custom groups to the
7086 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
7088 (diary-face, diary-file-name-prefix-function, diary-include-string)
7089 (diary-glob-file-regexp-prefix, diary-face-attrs)
7090 (diary-file-name-prefix, sexp-diary-entry-symbol)
7091 (print-diary-entries-hook, list-diary-entries-hook)
7092 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7093 (nongregorian-diary-marking-hook, diary-list-include-blanks):
7095 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7096 (all-bahai-calendar-holidays): Doc fix.
7097 (calendar-insert-indented): Doc fix. Use when rather than if.
7098 (exit-calendar): Use mapc rather than mapcar.
7099 (calendar-cursor-to-date): Use zerop.
7100 (calendar-mark-ring): Add doc-string.
7101 (calendar-starred-day): Defvar it.
7102 (calendar-mode): Make calendar-starred-day local.
7103 (calendar-star-date): No need to make calendar-starred-day local.
7105 * calendar/diary-lib.el: Move defcustoms to start.
7106 (diary-include-string, diary-list-include-blanks)
7107 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
7108 (diary-file-name-prefix, diary-file-name-prefix-function)
7109 (sexp-diary-entry-symbol, list-diary-entries-hook)
7110 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
7111 (nongregorian-diary-marking-hook, print-diary-entries-hook):
7112 Move here from calendar.el.
7113 (diary-file-name-prefix-function): Use 'identity.
7114 (diary-face): Make it a defcustom, and mark as obsolete.
7115 (top-level): No need to require cal-hebrew, cal-islam when compiling.
7116 (calendar-hebrew-month-name-array-leap-year)
7117 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
7118 Define for compiler.
7119 (diary-font-lock-keywords): Use format rather than concat.
7120 Add bahai-diary-entry-symbol.
7122 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
7123 * calendar/solar.el: Unquote lambda functions.
7125 * calendar/solar.el (calendar-location-name, calendar-latitude)
7126 (calendar-longitude, solar-setup, solar-sin-degrees)
7127 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
7128 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
7129 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
7130 (solar-exact-local-noon, solar-julian-ut-centuries)
7131 (solar-ephemeris-time, solar-date-next-longitude)
7132 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7133 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
7134 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
7135 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
7137 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7138 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
7139 (solar-ecliptic-coordinates): Use unless.
7140 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
7143 * calendar/timeclock.el: Add doc-strings to all functions.
7144 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
7145 (timeclock-entry-list-length, timeclock-entry-list-projects)
7146 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
7148 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
7150 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7151 (org-get-entries-from-diary): Require diary-lib.
7153 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
7155 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7156 Pacify byte-compiler.
7158 2008-03-07 Alan Mackenzie <acm@muc.de>
7160 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7161 paren/bracket pairs parsed, to solve performance problem.
7163 2008-03-07 Bastien Guerry <bzg@altern.org>
7165 * bookmark.el (bookmark-set): Don't check for
7166 `bookmark-make-name-function' since `bookmark-buffer-file-name'
7167 already takes care of this.
7168 (bookmark-buffer-name, bookmark-buffer-file-name):
7169 Remove Info-mode specific code.
7171 * info.el (bookmark-get-info-node): Define this function in
7172 info.el, not in bookmark.el.
7173 (Info-mode): Set `bookmark-make-name-function' to
7174 `Info-bookmark-make-name' locally.
7175 (Info-bookmark-make-name): New function.
7177 * bookmark.el (bookmark-make-name-function): New variable.
7179 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7181 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7182 buffer-local, not `bookmark-make-cell-function' (the old name).
7184 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
7186 * doc-view.el (doc-view-bookmark-make-record):
7187 * image-mode.el (image-bookmark-make-record):
7188 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7190 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
7192 * vc.el (vc-status-menu-map-filter): Return orig-binding if
7193 boundp 'vc-ignore-menu-filter.
7194 (vc-status-tool-bar-map): Make it defvar.
7195 (vc-status-mode): vc-status-tool-bar-map now variable.
7196 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7198 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7200 Give a better name to part of the bookmark interface.
7202 This was originally a much larger change, but halfway through I
7203 updated and discovered that Stefan Monnier had done the rest.
7204 It looks like he anticipated the new name too, because he used
7205 `the-record' instead of `the-cell' for some internal variable names.
7207 * bookmark.el (bookmark-make-record-function): Was
7208 `bookmark-make-cell-function'.
7209 (bookmark-make, bookmark-send-annotation): Update for above.
7210 (bookmark-make-record-for-text-file):
7211 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7213 * info.el: Adjust accordingly.
7214 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7216 * image-mode.el: Adjust accordingly.
7217 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7219 * doc-view.el: Adjust accordingly.
7220 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7222 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
7224 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7225 Move initialization into declaration.
7226 (bookmark-get-info-node, bookmark-set-info-node): Remove.
7227 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7228 (bookmark-info-current-node): Remove.
7229 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7230 Add relocation fallback. Set bookmark-current-bookmark.
7231 (bookmark-default-handler): Rename from bookmark-jump-noselect.
7232 Remove relocation fallback. Don't set bookmark-current-bookmark.
7233 (bookmark-set): Let it be used even if there's no buffer-file-name
7234 as long as there is a bookmark-make-cell-function.
7235 * info.el (Info-bookmark-jump): Remove relocation fallback.
7236 Don't set bookmark-current-bookmark.
7238 2008-03-07 Glenn Morris <rgm@gnu.org>
7240 * calendar/appt.el (appt-issue-message)
7241 (appt-message-warning-time, appt-audible, appt-visible)
7242 (appt-msg-window, appt-display-mode-line, appt-display-duration)
7243 (appt-display-diary): Remove autoload cookies.
7245 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7246 Remove leading `*' from defcustom doc-strings.
7248 * calendar/cal-dst.el (calendar-dst): New custom group.
7249 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7250 (calendar-time-zone, calendar-daylight-time-offset)
7251 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7252 (calendar-daylight-savings-starts-time)
7253 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7254 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7257 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7259 * calendar/calendar.el (calendar-version): Use emacs-version and
7260 make it obsolete. Move to end.
7261 (calendar-offset, view-diary-entries-initially)
7262 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7263 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7264 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7265 (all-bahai-calendar-holidays, calendar-load-hook)
7266 (initial-calendar-window-hook, today-visible-calendar-hook)
7267 (today-invisible-calendar-hook, calendar-move-hook)
7268 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7269 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7270 (diary-include-string, sexp-diary-entry-symbol)
7271 (abbreviated-calendar-year, american-date-diary-pattern)
7272 (european-date-diary-pattern, european-calendar-display-form)
7273 (american-calendar-display-form, print-diary-entries-hook)
7274 (list-diary-entries-hook, diary-hook, diary-display-hook)
7275 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7276 (nongregorian-diary-marking-hook, diary-list-include-blanks)
7277 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7278 (local-holidays, other-holidays, hebrew-holidays-1)
7279 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7280 (hebrew-holidays, christian-holidays, islamic-holidays)
7281 (bahai-holidays, solar-holidays, calendar-setup)
7282 (calendar-week-start-day): Remove autoload cookies.
7283 (diary-glob-file-regexp-prefix): Doc fix.
7284 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7285 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7286 (calendar-week-start-day, calendar-debug-sexp): Move to start.
7288 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7289 (calendar-time-display-form, calendar-latitude)
7290 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7292 (calendar-latitude, calendar-longitude): Move functions after
7294 (diary-sabbath-candles-minutes): Move to start.
7295 (solar-setup): Use or rather than if.
7296 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7297 Remove condition-case.
7298 (solar-atn2): Use zerop.
7299 (solar-equinoxes-solstices): Doc fix.
7301 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7302 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
7304 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7305 (calendar-longitude, calendar-latitude, calendar-location-name):
7306 Declare for compiler.
7308 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * arc-mode.el (archive-ar-file-header-re): New const.
7311 (archive-ar-summarize, archive-ar-extract): New funs.
7312 (archive-find-type): Recognize ar archives.
7314 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7317 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7319 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
7321 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7322 Replace :enable (mark-active) with :enable mark-active.
7324 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
7326 * vms-patch.el (make-legal-file-name): New obsolete alias.
7327 (make-valid-file-name): Rename from `make-legal-file-name'.
7328 (make-auto-save-file-name): Use it.
7330 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7331 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7332 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7334 * textmodes/org.el (org-export-html-style): Doc fix.
7335 (org-get-legal-level): New obsolete alias.
7336 (org-get-valid-level): Rename from `org-get-legal-level'.
7337 (org-promote, org-demote, org-archive-subtree)
7338 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7340 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
7342 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7344 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7345 (vc-status-toggle-mark): New functions.
7346 (vc-status-mode): Set tool bar map.
7348 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
7350 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7351 Reported by Drew Adams <drew.adams@oracle.com>.
7353 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
7355 * subr.el (read-quoted-char): Resolve modifers of the character
7358 * comint.el (comint-exec-1): Don't change the coding-system for
7359 decoding to dos-like EOL.
7360 (comint-carriage-motion): Fully rewrite.
7362 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
7364 * epg.el (epg-context-include-certs): Reflow docstring.
7365 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7366 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7367 (epg-context-set-signers, epg-context-set-sig-notations)
7368 (epg-make-import-status, epg-make-import-result)
7369 (epg-start-delete-keys): Fix typos in docstrings.
7370 (epg-start-sign-keys, epg-sign-keys):
7371 Fix typos in obsolescence declarations.
7373 * iswitchb.el: Don't check for `cadr' and `last'.
7374 (iswitchb-define-mode-map, iswitchb-default-keybindings):
7375 Add obsolescence declaration and remove redundant info from docstring.
7376 (iswitchb-set-common-completion, iswitchb-set-matches)
7377 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7378 (recentf-list, most-len, most-is-exact):
7379 Don't wrap defvars within `eval-when-compile'.
7381 2008-03-05 Glenn Morris <rgm@gnu.org>
7383 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7384 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7385 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7386 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7387 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7389 * ediff-hook.el (ediff-window-setup-function): Don't autoload
7390 declaration for compiler.
7391 (ediff-xemacs-init-menus): Use when rather than if.
7393 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7395 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7396 (ediff-delete-overlay): Move the XEmacs test inside the definition.
7398 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7400 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7401 test inside XEmacs test.
7402 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7403 since it was doing nothing on Emacs.
7404 (ediff-make-bullet-proof-overlay): Use when rather than if.
7406 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7407 (ediff-setup-control-frame): Remove
7408 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7409 a (featurep 'xemacs) test.
7411 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
7413 * calc/calc-ext.el (calc-extended-command-history): New variable.
7414 (calc-exectute-extended-command): Use `calc-extended-command-history'.
7416 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
7418 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
7419 (standard-mode-line-position): Add mouse-face.
7421 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7422 * progmodes/grep.el (grep-mode-map): Add :help.
7424 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7425 initialize in one step. Add :help. Use :enable to activate menu
7426 items. Show the key binding for edebug-defun.
7427 (lisp-interaction-mode-map): Add a menu.
7429 * term.el (term-mode-map): Define and initialize in one step.
7431 * ediff-init.el (ediff-color-display-p): Simplify.
7432 (Xor): Remove unused function.
7433 (ediff-with-syntax-table): Simplify for Emacs.
7435 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7436 menu-bar being loaded, it always is.
7438 2008-03-05 Glenn Morris <rgm@gnu.org>
7440 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7441 multiple definitions when compiling.
7443 2008-03-04 Alan Mackenzie <acm@muc.de>
7445 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7447 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7448 doc-string, "c-old-LEN" -> "c-old-END".
7450 2008-03-04 Jason Rumney <jasonr@gnu.org>
7452 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7455 2008-03-04 Glenn Morris <rgm@gnu.org>
7457 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7459 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7462 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7464 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7465 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7467 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7468 so that M-q can fill comments.
7469 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7470 commands implemented in elisp.
7471 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7472 (tex-format-cmd): New function.
7473 (tex-compile): Use it to let the user specify default arguments.
7474 (tex-cmd-bibtex-args): New var.
7475 (tex-cmd-doc-view): New function.
7477 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7479 * faces.el (face-spec-set): Fix typos in docstring.
7481 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7483 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7484 (standard-mode-line-position): Use it to add a menu for toggling
7485 column number and line number display.
7487 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7489 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7490 Remove optimization that was working around the form-code-walker bug.
7492 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7493 Walk into the body of lambdas after byte-compile-unfold-lambda.
7495 2008-03-03 Glenn Morris <rgm@gnu.org>
7497 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7498 value, if set, over frame value.
7500 * simple.el (transient-mark-mode): Don't turn on by default.
7502 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7503 accidentally removed by the 2007-12-05 merge from Gnus.
7505 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7507 * progmodes/compile.el (compilation-menu-map): Add menu entries
7510 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7511 Glenn Morris <rgm@gnu.org>
7513 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7514 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7515 Give a `bytecomp-' prefix to local variables with common names.
7517 2008-03-01 Glenn Morris <rgm@gnu.org>
7519 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7520 code commented out 2007-11-10.
7522 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7524 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7526 * emulation/viper-cmd.el, emulation/viper-ex.el:
7527 * emulation/viper-init.el, emulation/viper-keym.el:
7528 * emulation/viper-mous.el, emulation/viper-util.el:
7529 * emulation/viper.el:
7530 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7533 Replace obselete frame-local variables with frame-parameters.
7534 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7535 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7536 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7538 * emulation/viper-util.el (viper-frame-value): New macro.
7539 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7540 (viper-R-state-post-command-sentinel)
7541 (viper-replace-state-post-command-sentinel)
7542 (viper-change-state-to-insert, viper-change-state-to-emacs):
7543 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7544 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7545 (viper-get-saved-cursor-color-in-insert-mode)
7546 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7547 Use viper-frame-value for viper-replace-overlay-cursor-color,
7548 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7549 viper-vi-state-cursor-color values.
7551 * emulation/viper-cmd.el (zmacs-region-stays):
7552 * emulation/viper-util.el (zmacs-region-stays): No need to define
7555 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7558 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7561 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7564 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7566 * whitespace.el: New version 9.3. As the glyph code generation was
7567 fixed, it is possible now to use character code above ?\x1FFFF in the
7568 display table. Fix `whitespace-indentation-regexp' to not include an
7569 extra ending character. Reported by Michael Welsh Duggan
7570 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7571 the original whitespace package had. Suggested by Eric Cooper
7572 <ecc@cmu.edu>. Doc fix.
7573 (whitespace-action): New option.
7574 (whitespace-display-mappings): Changed default newline visualization to
7575 display downwards arrow, as the glyph code generation was fixed.
7576 (whitespace-unload-function): Assure that all local whitespace mode is
7578 (whitespace-global-modes): Fix type customization.
7579 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7580 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7581 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7583 (whitespace-buffer): Command removed.
7584 (whitespace-trailing-regexp, whitespace-mark-x)
7585 (whitespace-display-window, whitespace-action-when-on)
7586 (whitespace-add-local-hook, whitespace-remove-local-hook)
7587 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7588 (whitespace-action): New funs.
7589 (whitespace-report-list, whitespace-report-text)
7590 (whitespace-report-buffer-name): New consts.
7591 (whitespace-report, whitespace-report-region): New commands.
7593 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7595 * disp-table.el (make-glyph-code): Don't test the result of
7596 `face-id', which already signals an error for invalid faces.
7597 (glyph-face): Simplify.
7599 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7600 running `desktop-not-loaded-hook' to allow modifying it.
7601 Don't show warning message if `desktop-dirname' was modified.
7603 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7605 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7606 we still expect more lines.
7608 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7609 comment-paragraph filling if the commark doesn't match
7612 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7614 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7617 2008-03-01 Jason Rumney <jasonr@gnu.org>
7619 * files.el (make-auto-save-file-name): Encode more characters in
7620 non-file buffer names. Use url-encoding.
7622 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7624 * net/net-utils.el (ftp-program): Fix typo in docstring.
7625 (ifconfig-program-options, netstat-program-options)
7626 (arp-program-options, route-program-options, nslookup-program-options)
7627 (ftp-program-options, smbclient-program-options)
7628 (dns-lookup-program-options, arp, route): Doc fixes.
7630 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7631 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7632 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7633 Fix typos in docstrings.
7634 (gdb-pending-triggers): Reflow docstring.
7635 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7637 2008-03-01 Alan Mackenzie <acm@muc.de>
7639 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7642 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7644 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7646 2008-02-29 Kim F. Storm <storm@cua.dk>
7648 * emulation/cua-base.el (cua-remap-control-v)
7649 (cua-remap-control-z): New defcustoms.
7650 (cua-mode): Add them to set-after property.
7651 (cua--init-keymaps): Use them.
7652 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7654 * help.el (view-emacs-todo): Rename from view-todo.
7655 (describe-gnu-project): Rename from describe-project. Users changed.
7656 (view-help-file): New helper function.
7657 (describe-distribution, describe-copying, describe-gnu-project)
7658 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7659 (view-emacs-debugging, view-external-packages): New commands.
7660 (help-map): Move describe-distribution to C-h C-o (ordering).
7661 Move view-emacs-problems to C-h C-p (problems).
7662 Bind view-emacs-debugging to C-h C-d (debugging).
7663 Bind view-external-packages to C-h C-e (extras).
7664 (help-for-help-internal): Cleanup and align descriptions.
7665 Remove command names to reduce clutter.
7667 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7669 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7670 and quieter face (not a warning).
7672 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7674 * vc.el (vc-status-crt-marked): New variable.
7675 (vc-status-mode): Make it local.
7676 (vc-status-refresh): Use it to save the marked files.
7677 (vc-update-vc-status-buffer): Use it to restore the marked files.
7679 * vc-svn.el (vc-svn-after-dir-status):
7680 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7682 2008-02-29 Glenn Morris <rgm@gnu.org>
7684 * allout.el (allout-topic-encryption-bullet)
7685 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7686 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7689 * net/imap.el (imap-ping-server):
7690 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7691 Change defcustom :version from 23.0 to 23.1.
7693 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7695 * desktop.el (desktop-save): Save the buffer name if the
7696 uniquified base name is empty.
7698 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7700 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7701 correctly when user has "set print address off".
7703 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7705 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7706 version number of the next major Emacs release, not 23.0.
7708 * longlines.el (longlines-unload-function): New function.
7710 2008-02-28 Juri Linkov <juri@jurta.org>
7712 * startup.el (normal-splash-screen): Add argument `concise'.
7713 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7714 to the created buffer. If `concise' is non-nil, call
7715 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7716 (display-startup-screen): Add argument `concise' to the call to
7717 `normal-splash-screen'.
7719 2008-02-28 Kim F. Storm <storm@cua.dk>
7721 * startup.el (startup-echo-area-message): Check for about-emacs.
7723 2008-02-28 Juri Linkov <juri@jurta.org>
7725 * startup.el: Always add initial message to *scratch* buffer if
7726 `initial-scratch-message' is non-nil regardless of the value of
7727 `inhibit-startup-screen'.
7728 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7729 (command-line-1): Move code that inserts `initial-scratch-message'
7730 up before the if-form that checks for `inhibit-startup-screen'.
7731 Suggested by Jonathan Rockway <jon@jrock.us>.
7733 2008-02-28 Juri Linkov <juri@jurta.org>
7735 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7736 Rename `custom-mode' to `Custom-mode' in docstrings.
7737 (custom-buffer-create-internal, customize-browse):
7738 Rename `custom-mode' to `Custom-mode'.
7739 (custom-mode-hook): Rename to `Custom-mode-hook'.
7740 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7741 (custom-mode): Rename to `Custom-mode'.
7742 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7743 (custom-mode): Add backward-compatible non-interactive variant of
7744 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7745 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7747 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7749 * emulation/viper.el (viper-emacs-state-mode-list):
7750 Rename `custom-mode' to `Custom-mode'.
7752 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7753 Capitalize "Tagged Files".
7754 (minibuffer-local-map): Add menu items for next/previous
7755 history elements and isearch history forward/backward.
7757 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7758 `hs-isearch-open' with t instead of `comment' in :selected
7759 for "Code and Comment blocks" menu item.
7761 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7763 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7764 Should be done in desktop.el instead.
7766 2008-02-28 Glenn Morris <rgm@gnu.org>
7768 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7770 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7772 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7773 (Info-menu, Info-goto-node): Remove declarations.
7774 (report-emacs-bug-info): Use info rather than Info-goto-node.
7776 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7777 (idlwave-convert-xml-system-routine-info): Don't require xml.
7778 (idlwave-show-commentary, idlwave-shell-show-commentary):
7779 Don't require finder.
7780 (idlwave-info): Don't require info. Use info rather than
7783 * textmodes/org.el (Info-goto-node): Remove declaration.
7784 (org-info): Use info rather than Info-goto-node.
7786 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7787 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7789 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7791 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7794 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7795 (vc-finish-logentry): Check for vc-status-mode, not only for
7798 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7800 * isearch.el (isearch-printing-char): Don't check
7801 keyboard-coding-system.
7802 Call isearch-process-search-multibyte-characters only when
7803 current-input-method is non-nil.
7805 2008-02-27 Kim F. Storm <storm@cua.dk>
7807 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7808 (glyph-char, glyph-face): Handle cons encoding.
7810 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7812 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7813 empty string, return nil to allow the caller to default to the
7814 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7816 * tool-bar.el (tool-bar-setup): Doc fix.
7818 * mail/supercite.el (sc-describe):
7819 Fix typos in obsolescence declaration.
7821 2008-02-27 Glenn Morris <rgm@gnu.org>
7823 * autoinsert.el (auto-insert-alist): Change permission text to
7824 match FSF's GPLv3 form.
7826 * mail/supercite.el (sc-cite-original): Doc fix.
7827 (sc-version): Make obsolete.
7828 (sc-describe): Show the SC info page. Make obsolete.
7830 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7833 when using transient-mark-mode.
7834 (default-indicate-unused-lines): Remove unused var.
7836 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7838 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7841 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7843 2008-02-26 Glenn Morris <rgm@gnu.org>
7845 * net/net-utils.el (top-level): Don't require comint when compiling.
7846 (nslookup-font-lock-keywords): Don't require font-lock.
7847 Use font-lock faces rather than variables.
7848 (nslookup, ftp, smbclient, network-service-connection):
7849 Don't require comint.
7850 (comint-prompt-regexp, comint-input-autoexpand)
7851 (comint-input-ring): Declare for compiler.
7852 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7853 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7855 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7858 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7860 * doc-view.el (doc-view-current-page): Add a `win' argument.
7862 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7865 Demote it to plain defvar.
7866 (doc-view-conversion-refresh-interval): Reduce interval.
7867 (doc-view-goto-page): Allow moving to pages not yet rendered.
7868 (doc-view-goto-page): Construct a file name rather than extracting it
7869 from doc-view-current-files.
7870 (doc-view-kill-proc): Ignore errors from kill-process.
7871 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7872 (doc-view-insert-image): Use appropriate text if the page hasn't been
7873 rendered yet. Adjust scrolling so the text is displayed.
7874 (doc-view-display): Detect not just that a page is available, but also
7875 that it wasn't available before, so as to avoid refreshing all pages
7877 (doc-view-mode): Make doc-view-cache-directory if needed.
7879 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7881 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7884 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7885 refering to a missing required field with the OPT prefix.
7886 Make unwindform more robust.
7888 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7889 it duplicates the bibtex support in progmodes/hideshow.el.
7890 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7891 entries that do not start at the beginning of a line.
7893 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7895 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7897 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7899 * help-fns.el (describe-variable): Add phrases about
7900 initialization file with and without customization;
7901 use new button type help-info-variable.
7903 * help-mode.el (help-info-variable):
7904 New button able to read Info files for help-fns.el.
7906 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7908 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7909 (grep-mode): Use grep-mode-tool-bar-map.
7911 * progmodes/compile.el (tool-bar): Require tool-bar.
7912 (compilation-mode-tool-bar-map): New variable.
7913 (compilation-mode): Use compilation-mode-tool-bar-map.
7915 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7917 2008-02-25 Glenn Morris <rgm@gnu.org>
7919 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7921 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7923 * diff-mode.el (diff-file-junk-re): New const.
7924 (diff-beginning-of-file-and-junk): Use it.
7925 (diff-file-kill): Make sure we were really inside a file diff.
7927 * diff-mode.el: Make it more robust in the presence of empty context
7928 lines in unified hunks.
7929 (diff-valid-unified-empty-line): New var.
7930 (diff-unified->context, diff-sanity-check-hunk): Obey it.
7931 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
7932 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7933 (diff-hunk-header-re-unified): New const.
7934 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7935 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7936 (diff-sanity-check-hunk): Use it.
7938 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7939 Index: line, don't search backward for the previous one.
7941 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
7943 * international/fontset.el (setup-default-fontset): Add non-OTF
7944 lao font for lao script.
7946 * language/tibetan.el: Register tibetan-composition-function in
7947 composition-function-table.
7949 * language/tibet-util.el (tibetan-composition-function):
7950 Adjust for the new calling way (argument changed). Try font-shape-text
7953 * language/lao.el: Register lao-composition-function in
7954 composition-function-table.
7956 * language/lao-util.el (lao-composition-function): Adjust for the new
7957 calling way (argument changed). Try font-shape-text if possible.
7959 2008-02-25 Jason Rumney <jasonr@gnu.org>
7961 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7963 2008-02-25 Juri Linkov <juri@jurta.org>
7965 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7966 background, "red4" for a dark background, "red" for 16 and
7967 8 colors, "grey" for grayscale, and inverse video otherwise.
7969 (isearch-message): Keep the original isearch-message intact, and
7970 add text properties to it where necessary. Add `isearch-error' to
7971 the condition that checks if isearch is unsuccessful.
7973 2008-02-24 Juri Linkov <juri@jurta.org>
7975 * progmodes/compile.el (compilation-handle-exit):
7976 Use compilation-error face instead of font-lock-warning-face.
7977 Display the same message in the minibuffer as is inserted
7978 at the end of the compilation buffer.
7980 2008-02-24 Glenn Morris <rgm@gnu.org>
7982 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7985 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7987 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7988 multiple file case. Use a single `let' rather than two.
7990 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
7992 * progmodes/compile.el (compilation-start): Specify a face for
7994 (compilation-handle-exit): Specify a face and a tooltip for
7997 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
7999 * hilit-chg.el: Remove spurious * in defcustom docstrings.
8000 (hilit-chg-make-ov): Simplify.
8001 (hilit-chg-fixup): Use remove-overlays.
8002 (hilit-chg-set-face-on-change): Remove redundant call to
8003 `remove-text-properties'.
8005 * dired.el (dired-mark-prompt): Don't count/display the t element.
8006 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
8008 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8010 * progmodes/verilog-mode.el (eval-when-compile): Don't define
8012 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
8013 Remove. Move contents to the only use ...
8014 (verilog-menu): ... here.
8015 (verilog-statement-menu): Remove. Move contents to the only use ...
8016 (verilog-stmt-menu): ... here.
8017 (verilog-mark-defun): Simply call mark-defun for emacs.
8018 (occur-pos-list): Declare for byte compiler.
8019 (mode-popup-menu): Don't defvar.
8020 (verilog-add-statement-menu): Remove.
8021 (verilog-mode-hook): Don't add verilog-add-statement-menu.
8022 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
8024 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8026 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
8028 (verilog-font-grouping-keywords-face): Make the begin..end
8029 keywords standout more than other verilog keywords.
8030 (verilog-type-font-keywords): Move the begin..end out of this list
8031 to facilitate making them to (potentially) stand out more.
8032 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
8033 function & task blocks.
8034 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
8035 initial, function & task blocks.
8036 (verilog-forward-sexp): Handle the new "disable fork" statement of
8038 (verilog-beg-block-re-ordered): Handle the new "disable fork"
8039 statement of IEEE-1800 Verilog.
8040 (verilog-calc-1): Handle the new "disable fork" statement of
8042 (verilog-disable-fork-re): Add const to help handle the new
8043 "disable fork" statement of IEEE-1800 Verilog.
8044 (verilog-declaration-core-re): Add port directions by themselves,
8045 with no qualification, as base item of a declaration.
8046 (verilog-pretty-declarations): Add new flag to ask it to refrain
8047 from printing to the message buffer.
8048 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
8049 printing to the message buffer. Improve handling of the many
8050 types of expression line up.
8051 (verilog-just-one-space): Remove printing of an empty message.
8052 (verilog-get-lineup-indent): Rework to support the better handling
8053 of expression lineup for verilog-pretty-expr.
8054 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8056 2008-02-24 Alan Mackenzie <acm@muc.de>
8058 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
8061 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8063 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
8064 to mouse-set-point in buffers that aren't associated with files.
8066 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
8068 2008-02-24 Alan Mackenzie <acm@muc.de>
8070 Set of changes so that "obtrusive" syntactic elements in a
8071 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
8072 unmatched paren) don't interact syntactically with stuff outside
8075 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
8076 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
8078 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
8079 a bit of refactoring.
8080 (c-awk-extend-and-syntax-tablify-region): Takes some of the
8081 functionality of c-awk-advise-fl-for-awk-region, which has been
8084 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
8085 (c-clear-char-property-with-value): New function and macro which
8086 remove text-properties `equal' to a supplied value.
8088 * progmodes/cc-engine.el: Comment about text properties amended.
8090 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
8091 parens around "error\\|warning".
8093 * progmodes/cc-langs.el (c-get-state-before-change-function)
8094 (c-before-font-lock-function, c-anchored-cpp-prefix):
8095 New language variables.
8096 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
8098 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
8099 syntax-table text properties.
8100 (c-common-init): Call language specific before/after-change
8101 functions at mode initialisation.
8102 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
8103 (c-extend-region-for-CPP, c-neutralize-CPP-line)
8104 (c-neutralize-syntax-in-CPP): New functions.
8105 (c-before-change, c-after-change): Call the new language specific
8106 change functions defined in cc-langs.el.
8107 (c-advise-fl-for-region): New macro.
8108 (awk-mode): Remove AWK specific stuff which has been refactored
8109 into language independent stuff.
8111 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8113 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
8114 (gdb): (Re)set gdb-flush-pending-output to nil here...
8115 (gdb-init-1): ...instead of here (before gdb-prompt).
8117 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
8120 Recognize ''' just like any other char-constant.
8122 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
8125 careful enough. Detect the uid-change all within the main loop.
8127 2008-02-24 Stefan Monnier <monnier@pastel.home>
8129 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
8131 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * hilit-chg.el (highlight-save-buffer-state): New macro.
8134 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
8135 (hilit-chg-clear): Use it to preserve the modified-p flag.
8136 (highlight-changes-rotate-faces): Don't mess with the undo-list.
8138 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8140 * font-lock.el (font-lock-set-defaults): Unset previously set variables
8143 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
8145 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
8146 from gnus-button-url-regexp.
8148 2008-02-24 Eli Zaretskii <eliz@gnu.org>
8150 * progmodes/compile.el (compilation-next-error): Doc fix.
8151 (compilation-find-file): Doc fix.
8153 2008-02-24 Glenn Morris <rgm@gnu.org>
8155 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8156 Add obsolete aliases to the old names.
8158 2008-02-24 Richard Stallman <rms@gnu.org>
8160 * net/net-utils.el (ifconfig): Rename from ipconfig.
8161 (ipconfig): Alias to ifconfig.
8162 (ifconfig-program): Rename from ipconfig-program.
8163 (ifconfig-program-options): Rename from ipconfig-program-options.
8165 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8167 * progmodes/verilog-mode.el (verilog-declaration-core-re):
8168 Add port directions by themselves, with no qualification, as base
8169 item of a declaration.
8170 (verilog-pretty-declarations): Add new flag that inhibits printing
8171 to the message buffer.
8172 (verilog-pretty-expr): Add new flag that inhibits printing to the
8173 message buffer. Improve handling of the many types of expression
8175 (verilog-just-one-space): Don't print an empty message.
8176 (verilog-get-lineup-indent): Rework to support the better handling
8177 of expression lineup for verilog-pretty-expr.
8178 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8179 (verilog-mode-version, verilog-mode-release-date): Update.
8181 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * subr.el (cancel-change-group): Don't move point.
8185 2008-02-23 Markus Triska <markus.triska@gmx.at>
8187 * linum.el (linum-after-config): Update all visible windows.
8189 2008-02-23 Glenn Morris <rgm@gnu.org>
8191 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8192 Add :help for Solitaire and Tetris.
8194 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8196 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8197 (smtpmail-code-conv-from): Doc fix. Fix custom type.
8198 (smtpmail-queue-index-file): Make it a defcustom.
8199 (smtpmail-queue-index): Delete.
8200 (smtpmail-send-it, smtpmail-send-queued-mail):
8201 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8202 smtpmail-queue-index.
8204 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8207 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
8209 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8211 (iwconfig): New function.
8213 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
8215 * vc.el (vc-find-revision): Make vc-parent-buffer local before
8217 (vc-status-menu-map): Do not define using easy-menu.
8218 (vc-status-menu-map): New defalias.
8219 (vc-status-mode-map): Hook up the menu.
8220 (top-level): Update TODO.
8222 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8224 * vc-bzr.el (vc-bzr-init-version): Rename to ...
8225 (vc-bzr-init-revision): ... this.
8227 2008-02-23 Jason Rumney <jasonr@gnu.org>
8229 * makefile.w32-in (WINS_ALMOST): Remove term.
8230 (WINS): Add term here.
8231 (custom-deps, finder-data): Use WINS_ALMOST.
8233 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
8235 * faces.el (font-weight-table): Fix value of `semi-light'.
8237 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
8239 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8240 Make those tables bijective.
8242 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
8244 Finish pdbtrack integration cleanup, settling missing-functions
8245 byte compiler warnings appropriately.
8247 * progmodes/python.el (python-point): Remove this - beginning-of-line
8248 was all that was necessary for `python-pdbtrack-overlay-arrow'.
8249 (python-end-of-def-or-class, python-beginning-of-def-or-class)
8250 (python-goto-initial-line): Drop these - they were only needed for
8252 (python-comint-output-filter-function): Use condition-case and
8253 beginning-of-line directly, instead of python-mode.el functions
8254 which require all sorts of baggage.
8255 (point-safe): Unnecessary - we're using condition-case directly,
8257 (python-execute-file): Include for python-shell, which I'm leaving
8258 in keeping despite it being unnecessary for pdb tracking.
8260 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
8262 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8263 Add SRFI 11 support.
8264 (let-values, let*-values): Specify scheme-indent-function.
8266 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
8268 * vc.el (vc-exec-after): Move setting mode-line-process in the
8270 (vc-set-mode-line-busy-indicator): ... in this new function.
8271 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8272 (vc-update-vc-status-buffer): Reset mode-line-process.
8273 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8274 mark/unmark all the files with the same state as the current one.
8275 With a prefix argument mark/unmark all files.
8276 (vc-status-mode-menu): Adjust strings.
8277 (vc-update-vc-status-buffer): Only do something when the argument
8279 (vc-status-kill-dir-status-process): New function.
8280 (vc-status-mode-map): Bind it.
8281 (vc-status-process-buffer): New variable.
8282 (vc-status-mode): Make it local.
8283 (vc-status-refresh): Set it.
8285 * vc-hg.el (vc-hg-dir-status):
8286 * vc-git.el (vc-git-dir-status):
8287 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8290 2008-02-22 Glenn Morris <rgm@gnu.org>
8292 * json.el (top-level): No need to require thingatpt.
8293 (json-read-keyword): Use thing-at-point rather than word-at-point.
8295 * time.el (top-level): No need to require time-date when compiling.
8297 * emacs-lisp/copyright.el (copyright-update-year):
8298 Fix subexpression numbering for the case when years are split over
8299 lines, and for the replace case.
8301 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
8302 (tpu-caar, tpu-cadr): Delete functions.
8303 (zmacs-regions): No need to declare for compiler.
8304 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8305 (tpu-spell-check): Rewrite, and handle mark after point.
8306 (tpu-special-insert): Use or rather than if.
8308 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8309 rather than spell-region.
8311 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8312 warnings about spell-region.
8314 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
8316 * ldefs-boot.el: Regenerated.
8318 * loadup.el: Don't load language/devanagari, language/kannanda,
8319 language/malayalam, and language/tamil. Load language/sinhala.
8321 * language/indian.el (indian-font-foundry)
8322 (indian-script-language-alist, indian-font-char-index-table)
8323 (indian-font-char, indian-font-char-range, indian-script-table)
8324 (indian-default-script, indian-composable-pattern): Delete them.
8325 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8326 language environments moved to here.
8327 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8328 New language environments.
8330 * language/devanagari.el, language/devan-util.el,
8331 * language/kannanda.el, language/knd-util.el, language/malayalam.el,
8332 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8335 * language/sinhala.el: New file.
8337 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
8339 Update Nick Robert's port of pdb tracking from python-mode.el.
8341 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8343 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8344 tracking is happening.
8345 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8346 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8347 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8348 Tracking is plugged in to all comint buffers once python.el is loaded.
8349 (python-pdbtrack-overlay-arrow): Toggle activation of
8350 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8351 (python-pdbtrack-track-stack-file): Use new
8352 `python-pdbtrack-get-source-buffer' for more flexible access to
8353 debugging source files.
8354 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8355 according to pdb stack trace, optionally using new
8356 `python-pdbtrack-grub-for-buffer' if file is not locally available.
8357 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8358 named buffer, or having function with indicated name.
8359 (python-shell): Remove comint-output-filter-functions hook
8360 addition, it's being done elsewhere. Wrap long line.
8362 2008-02-21 Michael Olson <mwolson@gnu.org>
8364 * json.el: Replace XEmacs compatibility code to get rid of
8367 * time.el: Fix compiler warning.
8369 2008-02-21 Edward O'Connor <ted@oconnor.cx>
8371 * json.el: New file (JavaScript Object Notation parser / generator).
8373 2008-02-21 Dave Love <fx@gnu.org>
8375 * progmodes/sym-comp.el: New file.
8377 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8378 Require sym-comp. Add Python buffer to same-window-buffer-names.
8380 (python-font-lock-keywords): Add highlighting for Python builtins.
8381 (python-font-lock-syntactic-keywords): Rewrite.
8382 (python-quote-syntax): Use syntax-ppss-context instead of parsing
8384 (python-mode-map): Add binding for python-find-function.
8385 (python-calculate-indentation): Clean up the logic.
8386 (python-beginning-of-defun): Explicitly set return value.
8387 (python-beginning-of-statement): Stop looping if we get stuck
8389 (python-next-statement): Stop looping if we somehow end up inside
8390 a string while advancing.
8391 (python-preoutput-continuation, python-version-checked): New vars.
8392 (python-check-version): New function.
8393 (run-python): Set default command to python-command instead of
8394 python-python-command.
8395 (run-python): Use python-check-version. Give PYTHONPATH
8396 precedence over data-directory in the process environment.
8397 Load function definitions in python process after.
8398 (python-check-comint-prompt): New function.
8399 (python-send-command, python-send-receive): Use it.
8400 (python-complete-symbol, python-try-complete): Functions deleted.
8401 Use symbol-complete instead of python-complete-symbol throughout.
8402 (python-fill-paragraph): Further refine the fenced-string regexp.
8403 (def-python-skeleton): Expand to the original abbrev instead if in
8404 a comment or string. Tweak skeletons for `if', `while', `for',
8405 `try/except', `try/finally', `name'.
8406 (python-pea-hook, python-abbrev-pc-hook): New functions.
8407 (python-abbrev-syntax-table): New var.
8408 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8409 Use symbol-completion-try-complete for hippie expansion.
8410 Turn on font lock unconditionally.
8411 (python-mode-hook): Defcustom it. No need to use make-local
8412 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8413 option, since it's buffer-local.
8415 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
8417 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8419 2008-02-21 Drew Adams <drew.adams@oracle.com>
8421 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8422 "Turn off" and a "Help" entry when the minor mode has no menu.
8424 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
8426 * vc.el (vc-status-mark, vc-status-unmark): New functions.
8427 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8428 vc-status-mark-file and vc-status-unmark-file.
8429 (vc-status-mark-unmark): New function.
8430 (vc-status-previous-line, vc-status-next-line): No longer interactive.
8432 2008-02-21 Glenn Morris <rgm@gnu.org>
8434 * composite.el (encode-composition-rule): Fix typo in error message.
8435 (composition-function-table, auto-composition-mode): Doc fixes.
8437 * subr.el (sit-for): Fix obsolete form for nil second argument.
8439 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8440 (spell-string): Make obsolete, in favor of ispell.
8442 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8444 * language/devanagari.el: Don't setup composition-function-table
8446 ("Devanagari"): Change charset, coding-system, coding-priority to
8447 Unicode-based ones. Don't require the feature devan-util.
8449 * composite.el (compose-chars-after): Fix arguments for a function
8450 in composition-function-table.
8451 (auto-compose-region): Likewise.
8453 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8455 (ps-mule-plot-string): Ignore glyph-string based compositions.
8457 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * doc-view.el: Allow different windows to show different pages.
8460 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8461 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8462 add them back as macros instead, using image-mode-winprops instead.
8463 Update all users of those variables.
8464 (doc-view-new-window-function): New function to create a new overlay
8465 for each new window.
8466 (doc-view-mode): Use it and image-mode-setup-winprops.
8467 (doc-view-clone-buffer-hook): Rewrite accordingly.
8469 * image-mode.el: Extend [hv]scroll support to per-window properties.
8470 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8471 (image-mode-winprops-alist): New var to replace them.
8472 (image-mode-new-window-functions): New hook.
8473 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8475 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8476 Remove the `window' argument, update callers.
8477 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8478 Use the new functions.
8479 (image-mode-reapply-winprops): New fun.
8480 (image-mode): Use it.
8482 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8484 * calc/calc-math.el (math-sin-raw): Add optional argument
8485 to keep track of original argument.
8486 (math-cos-raw): Use optional argument when calling math-sin-raw.
8487 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8488 with close to original precision.
8490 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8492 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8493 args in calls of sit-for.
8495 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8497 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8498 (vc-svn-checkin): Fix typo in error message.
8500 * help-mode.el: Require easymenu when compiling.
8502 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8504 * help-mode.el (help-mode-menu): New menu.
8506 2008-02-20 Glenn Morris <rgm@gnu.org>
8508 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8511 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8513 * ps-mule.el (ps-mule-encode-region): Return a single string.
8514 (ps-mule-plot-string): Adjust for the above change.
8515 (ps-mule-encode-header-string): Likewise.
8517 * international/latin1-disp.el (latin1-display): Don't use
8518 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8519 standard-display-table.
8520 (latin1-display-identities): Adjust for the change of what is
8521 returned by (get-language-info charset 'charset).
8523 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8524 characters and terminal case.
8526 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8528 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8530 * progmodes/python.el: Also require comint when loading.
8531 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8532 Replace python-shell with run-python on menu bar.
8533 (python-shell-map): New map.
8534 (python-default-interpreter, python-python-command-args)
8535 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8537 (python-which-shell, python-which-args, python-which-bufname):
8538 New buffer local variables.
8539 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8541 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8542 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8547 (python-point, python-end-of-def-or-class)
8548 (python-beginning-of-def-or-class, python-goto-initial-line)
8549 (python-comint-output-filter-function)
8550 (python-pdbtrack-overlay-arrow)
8551 (python-pdbtrack-track-stack-file, python-toggle-shells)
8552 (python-shell, python-pdbtrack-toggle-stack-tracking)
8553 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8556 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8558 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8559 when the argument is nil.
8561 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8563 * vc.el (dir-status): Add a brief description.
8565 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8567 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8568 If non-nil, reverse the sense of the check.
8570 * vc-rcs.el (vc-rcs-root): New func.
8571 * vc-cvs.el (vc-cvs-root): New func.
8572 * vc-svn.el (vc-svn-root): New func.
8573 * vc-sccs.el (vc-sccs-root): New func.
8575 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8577 * language/japan-util.el (setup-japanese-environment-internal):
8578 Call use-cjk-char-width-table.
8580 * language/japanese.el ("Japanese"): Set exit-function to
8581 use-default-char-width-table.
8583 * international/characters.el: Delete occurrences of non-Unicode
8584 tibetan and ethiopic characters.
8585 (cjk-char-width-table): New variable.
8586 (use-cjk-char-width-table, use-default-char-width-table):
8589 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8591 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8592 (vc-status-mode-menu): Add a :filter.
8593 (vc-status-printer): Add faces.
8595 * vc-hg.el (vc-hg-extra-status-menu): New function.
8596 (vc-hg-dir-status): Clean up the buffer before using it.
8598 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8600 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8601 (gdb): Initialize it here instead.
8603 * files.el (locate-dominating-file): Fix thinko in last change.
8604 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8606 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8608 * vc.el (vc-status-mode-menu): New menu for vc-status.
8610 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8612 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8613 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8614 (verilog-mode-auto, verilog-indent-level-module)
8615 (verilog-minimum-comment-distance, verilog-library-flags)
8616 (verilog-library-directories, verilog-library-files)
8617 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8618 (verilog-xemacs-menu, verilog-set-compile-command)
8619 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8620 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8621 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8622 (verilog-batch-inject-auto, verilog-batch-indent)
8623 (verilog-continued-line, verilog-type-keywords)
8624 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8625 (verilog-read-inst-pins, verilog-read-arg-pins)
8626 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8627 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8628 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8629 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8630 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8631 (verilog-mode-version, verilog-mode-release-date)
8632 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8633 (verilog-simulator, verilog-compiler)
8634 (verilog-auto-sense-defines-constant, verilog-company)
8635 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8636 Fix typos in docstrings.
8637 (verilog-set-auto-endcomments, verilog-calculate-indent)
8638 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8640 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8641 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8642 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8643 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8644 (verilog-leap-to-head, verilog-current-indent-level)
8645 (verilog-case-indent-level, verilog-cpp-keywords)
8646 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8647 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8648 (verilog-signals-not-in, verilog-symbol-detick-text)
8649 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8650 (verilog-forward-close-paren, verilog-backward-open-paren)
8651 (verilog-backward-open-bracket): Doc fixes.
8653 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8654 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8655 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8656 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8657 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8658 Fix typos in docstrings.
8660 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8662 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8664 * info.el (Info-read-node-name): Removed unused `default' arg.
8666 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8668 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8670 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * image-mode.el (image-get-display-property): New fun.
8673 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8674 (image-mode, image-minor-mode, image-toggle-display-text)
8675 (image-toggle-display): Use it.
8677 2008-02-18 Jason Rumney <jasonr@gnu.org>
8679 * international/mule.el (xml-find-file-coding-system): Don't warn
8680 about utf-16 with BOM.
8682 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8684 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8685 warn if file encoding is not utf-8 and encoding not specified.
8686 (xml-find-file-coding-system): New function.
8687 * international/mule-conf.el (file-coding-system-alist): Use it.
8689 2008-02-17 Glenn Morris <rgm@gnu.org>
8691 * international/mule-cmds.el (set-locale-environment):
8692 Pass `frame' to getenv for LC_MESSAGES.
8694 2008-02-17 Juri Linkov <juri@jurta.org>
8696 * time.el (emacs-init-time): Use format instead of format-seconds.
8698 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8700 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8701 bibtex-find-entry. Add autoload cookie.
8702 (bibtex-find-entry): Alias for bibtex-search-entry.
8703 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8704 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8705 (bibtex-clean-entry): atomic-change-group removed.
8706 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8707 to locate buffer location where error occurred.
8708 Make error messages more specific.
8709 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8711 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8713 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8716 * simple.el (transient-mark-mode): Add an :init-value.
8718 * startup.el (command-line): Use custom-reevaluate-setting for
8719 transient-mark-mode.
8721 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8723 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8725 2008-02-16 Juri Linkov <juri@jurta.org>
8727 * startup.el (after-init-time): New variable.
8728 (command-line): Set `after-init-time' to the current time.
8730 * time.el (emacs-init-time): New function.
8732 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8734 * files.el (locate-dominating-file): Remove initial loop because it's
8735 not careful enough. Detect the uid-change all within the main loop.
8737 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8739 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8741 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8743 * vc.el (vc-annotate): Add new argument.
8744 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8746 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8747 Move make-variable-buffer-local code after the corresponding defvar.
8748 (hs-minor-mode-map): Define and initialize in one step.
8749 (hs-minor-mode): Change from defun to define-minor-mode.
8751 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8753 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8754 (gdb-ready): Move declaration...
8756 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8757 (gdb-early-user-input): New variable.
8758 (gdb): Reset gdb-flush-pending-output to nil and set
8759 comint-input-sender here (before gdb-prompt), instead of...
8760 (gdb-init-1): ...here.
8761 (gdb-send): If Emacs is not ready, defer user input to...
8762 (gdb-prompt): ...here.
8764 2008-02-16 Glenn Morris <rgm@gnu.org>
8766 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8768 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8769 (before-init-time): New name for `emacs-startup-time'.
8770 (command-line): Use before-init-time rather than emacs-startup-time.
8771 * time.el (emacs-uptime): Use before-init-time rather than
8774 * composite.el (composition-function-table): Doc fix.
8776 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8777 in favor of `%z' specifier.
8778 (emacs-uptime): Move to time.el.
8779 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8780 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8781 argument of format-seconds.
8783 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8785 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8787 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8789 * ielm.el (ielm-is-whitespace): Remove.
8790 (ielm-is-whitespace-or-comment): New function.
8791 (ielm-eval-input): Use it.
8793 2008-02-15 Jason Rumney <jasonr@gnu.org>
8795 * term/mac-win.el: Fix coding tag.
8797 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8799 * vc-hooks.el (vc-menu-map):
8800 * bindings.el (mode-line-mode-menu): Add tooltips.
8802 * bindings.el (help-echo): Add more tooltips. Use a less
8803 telegraphic style for existing tooltips.
8805 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8808 from the auto-generated one.
8810 2008-02-14 Glenn Morris <rgm@gnu.org>
8812 * mail/rmail-spam-filter.el (rmail-spam-filter):
8813 Let-bind message-spam-status.
8815 * mail/smtpmail.el (password-cache-add): Declare as function.
8817 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8819 * mail/smtpmail.el: Use password-cache.
8821 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8823 * uniquify.el (uniquify-buffer-base-name): New function.
8824 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8826 * desktop.el (uniquify-managed): Don't defvar.
8827 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8828 `uniquify-managed'. Return also the buffer's base name.
8829 (desktop-save): When saving the buffer info, filter out the base name,
8830 and save it as buffer name if the buffer is managed by uniquify.
8831 (uniquify-item-base): Don't declare; not called anymore.
8833 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8835 * vc.el (vc-annotate-find-revision-at-line): New function.
8836 (vc-annotate-mode-map): Bind it.
8837 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8840 2008-02-14 Glenn Morris <rgm@gnu.org>
8842 * calendar/time-date.el (format-seconds): New function.
8843 (emacs-uptime): Use format-seconds.
8845 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8846 Remove `LC_ALL=C', since it's included in $(emacs) now.
8848 2008-02-14 Zhang Wei <id.brep@gmail.com>
8850 * textmodes/org-publish.el (org-publish-timestamp-filename):
8851 Replace colon characters in filename too.
8853 2008-02-13 Bastien Guerry <bzg@altern.org>
8855 * mail/rmail.el (rmail-header-name): New face.
8856 (rmail-font-lock-keywords): Use rmail-header-name.
8858 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8859 against X-Spam-Status header field.
8860 (rmail-spam-filter): Also check X-Spam-Status header field.
8862 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8864 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8865 Add support for .pm files and .php files.
8866 (flymake-err-line-patterns): Add pattern for PHP errors.
8867 (flymake-php-init): New function. PHP support for flymake.
8869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8870 Add regular expression for PHP errors.
8872 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8874 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8875 This DTRT even on w32 machines.
8876 (ange-ftp-cf1): Quote FILENAME.
8878 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8880 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8881 (smerge-auto-combine): New fun.
8883 2008-02-12 Juri Linkov <juri@jurta.org>
8885 * startup.el (fancy-startup-screen, normal-splash-screen):
8886 Set default-directory to command-line-default-directory.
8888 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8889 after reading the desktop.
8891 * progmodes/compile.el (compilation-auto-jump):
8892 Call compile-goto-error only when compilation-auto-jump-to-first-error
8894 (compilation-scroll-output): Replace :type 'boolean with a choice
8895 that has three options including a third option `first-error'.
8897 (compilation-start, compilation-forget-errors): Add an alternate
8898 condition comparing compilation-scroll-output with `first-error'
8899 in addition to compilation-auto-jump-to-first-error (to call
8900 compilation-auto-jump in the proper place).
8902 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8904 * international/mule.el (sgml-html-meta-auto-coding-function):
8905 Make sure the search limit is ahead.
8907 * tar-mode.el: Fix broken indentation.
8908 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8909 Use with-current-buffer.
8911 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8913 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8914 it is already automatically buffer-local.
8916 2008-02-11 Drew Adams <drew.adams@oracle.com>
8918 * help.el (describe-key): Join some split lines to facilitate filling.
8919 * help-fns.el (describe-function-1): Fill text of overlong lines.
8921 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8923 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8924 Use unibyte-string instead of string-make-unibyte.
8926 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8928 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8931 works also for buffers w/o buffer-file-name. Update callers.
8932 (doc-view-clone-buffer-hook): New fun.
8933 (doc-view-mode): Use it for indirect clones. Mark the overlays with
8934 the `doc-view' property so they can be recognized.
8936 * simple.el (clone-indirect-buffer-hook): New hook.
8937 (clone-indirect-buffer): Run it.
8939 2008-02-11 Daiki Ueno <ueno@unixuser.org>
8941 * epa.el (epa-menu-mode): Merge into epa-mode.
8942 (epa-menu-items): Rename the label "EasyPG Assistant" to
8943 "Encryption/Decryption".
8945 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8946 (epa-dired-mode-map): Rename from epa-dired-map.
8947 (epa-global-dired-mode): Rename the global minor mode.
8949 2008-02-11 Drew Adams <drew.adams@oracle.com>
8951 * isearch.el (isearch-fail): New face.
8952 (isearch-message): Highlight failure part of input.
8954 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * ibuffer.el (ibuffer-header-line-format): New var.
8957 (ibuffer-mode): Set it instead of header-line-format.
8958 (ibuffer-update): Use it to set header-line-format.
8960 * international/mule-cmds.el (ucs-insert): Inherit surrounding
8961 properties like self-insert-command.
8963 2008-02-11 Drew Adams <drew.adams@oracle.com>
8965 * progmodes/etags.el: Add many doc strings.
8967 2008-02-11 Jason Rumney <jasonr@gnu.org>
8969 * ldefs-boot.el: Regenerated.
8971 2008-02-11 Glenn Morris <rgm@gnu.org>
8973 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8976 * ffap.el (ffap-rfc-directories): Add :version.
8978 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
8980 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8981 files, and backup files of same.
8983 2008-02-11 Kevin Ryde <user42@zip.com.au>
8985 * ffap.el (ffap-rfc-directories): New variable.
8986 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8988 * info.el (Info-next-reference, Info-prev-reference)
8989 (Info-try-follow-nearest-node): Move to and follow https:// links too.
8991 * simple.el (completion-list-mode): Show full completion-list-mode-map
8994 2008-02-11 Sam Steingold <sds@gnu.org>
8996 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8998 2008-02-11 Glenn Morris <rgm@gnu.org>
9000 * startup.el (emacs-startup-time): New variable.
9001 (command-line): Set emacs-startup-time.
9003 * calendar/time-date.el (emacs-uptime): New function.
9005 2008-02-10 Bastien Guerry <bzg@altern.org>
9007 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
9008 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
9011 2008-02-10 Daiki Ueno <ueno@unixuser.org>
9013 * epg-config.el: Expand the contents of epg-package-info.el.
9014 (epg-package-name): New constant.
9015 (epg-version-number): New constant.
9016 (epg-bug-report-address): New constant.
9018 * epa-mail.el (epa-mail-mode): Add autoload cookie.
9019 (epa-global-mail-mode): New global minor mode.
9021 * epa-file.el (epa-file-mode): New global minor mode.
9023 * epa-dired.el (epa-dired-mode): New global minor mode.
9025 * epa.el (epa-menu): New variable.
9026 (epa-menu-items): New variable.
9027 (epa-menu-mode): New global minor mode.
9028 (epa-global-minor-modes): New user option.
9029 (epa-mode): New global minor mode.
9031 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
9033 * net/dbus.el: Remove `no-byte-compile' cookie.
9034 (dbus-call-method, dbus-register-signal, dbus-debug)
9035 (dbus-registered-functions-table): Declare them with
9036 `declare-function' or `defvar', respectively.
9037 (top): Don't assert any longer. Require 'cl when compiling.
9038 Apply `ignore-errors' but `dbus-ignore-errors'.
9040 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9042 * diff-mode.el (diff-add-change-log-entries-other-window):
9043 Use add-change-log-entry.
9045 2008-02-09 Jason Rumney <jasonr@gnu.org>
9047 * button.el (button-map):
9048 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
9049 * ldefs-boot.el: Regenerate.
9051 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
9053 * epa.el (epa-faces, epa):
9054 * epa-file.el (epa-file):
9055 * epg-config.el (epg): Add :version.
9057 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
9059 * vc.el (vc-exec-after): Append CODE to previous fragments.
9060 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
9061 take MESSAGES instead of VERBOSE; use it when non-nil.
9062 (vc-diff-internal): Compute messages once; use them;
9063 update call to vc-diff-finish.
9065 2008-02-09 Michael Olson <mwolson@gnu.org>
9067 * net/tramp.el (tramp-process-sentinel): Avoid error when process
9068 buffer has been killed, such as by
9069 `tramp-cleanup-all-connections'.
9071 2008-02-09 Miles Bader <miles@gnu.org>
9073 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
9075 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
9077 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
9078 splitter in context hunks.
9080 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
9082 * international/fontset.el (setup-default-fontset): Fix arabic otf
9085 2008-02-08 Daiki Ueno <ueno@unixuser.org>
9093 * epg-package-info.el:
9094 * epg.el: Initial check-in of EasyPG.
9096 2008-02-08 Glenn Morris <rgm@gnu.org>
9098 * woman.el (woman-locale): New defcustom.
9099 (woman-expand-locale, woman-manpath-add-locales): New functions.
9100 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
9102 * international/mule-cmds.el (locale-translate): New function,
9103 with old code extracted from set-locale-environment.
9104 (set-locale-environment): Use locale-translate. Set woman-locale.
9106 * cus-start.el (selection-coding-system): Remove, since it's now
9107 defined in select.el rather than in xselect.c.
9108 * select.el (selection-coding-system): Make it a defcustom, and
9109 add the properties from cus-start.el. Bump :version.
9111 * custom.el (custom-theme-set-variables): Sort symbols that are
9112 dependencies before symbols that depend on them.
9113 (custom-enabled-themes): Set after custom-theme-directory.
9115 * pcmpl-unix.el (top-level): Move provide statement to end.
9116 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
9117 `*' from doc-string. Allow to be nil.
9118 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
9119 Allow to be nil. Add :version.
9120 (pcmpl-ssh-hosts): Move definition before use. Handle lines
9121 without hostnames, and multiple hostnames per line.
9123 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
9125 2008-02-08 Phil Hagelberg <phil@evri.com>
9127 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
9128 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
9130 2008-02-07 Timo Savola <timo.savola@iki.fi>
9132 * startup.el (command-line-x-option-alist): Add --parent-id.
9134 * term/x-win.el (x-handle-parent-id): New function.
9136 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
9138 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
9141 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
9143 * net/dbus.el (dbus-interface-peer): New defconst.
9144 (dbus-ping): New defun.
9146 2008-02-06 Sam Steingold <sds@gnu.org>
9148 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
9150 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9153 Just return nil and let the C code provide a fallback.
9155 2008-02-05 Glenn Morris <rgm@gnu.org>
9157 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9158 tramp-flush-connection-property for removed 2nd argument.
9160 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * diff-mode.el (diff-add-change-log-entries-other-window):
9163 Rename from diff-create-changelog. Change users.
9164 Minor change to hopefully work with plain diffs.
9165 (diff-mode-map): Add binding for it.
9167 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
9169 * diff-mode.el: Add new TODO entry.
9170 (diff-create-changelog): New function.
9171 (diff-mode-menu): Bind it.
9173 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
9175 * international/mule-diag.el (print-fontset-element): Handle the
9176 case of inhibiting the fallback fonts.
9178 2008-02-04 Kim F. Storm <storm@cua.dk>
9180 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9181 (ido-magic-delete-char): Use prefix arg.
9183 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
9185 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9186 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9187 of today, the most recent libpng is 1.2.24).
9189 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
9191 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9193 * net/dbus.el (top): Check (featurep 'dbusbind).
9195 * net/tramp.el (tramp-process-sentinel): New defun.
9196 (tramp-do-copy-or-rename-file-out-of-band)
9197 (tramp-maybe-open-connection): Use it as process sentinel.
9198 (tramp-handle-delete-directory): Don't use the "-f" option; it
9200 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9202 (tramp-handle-shell-command): Set `mode-line-process' in the
9205 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9207 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9208 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9209 Use `tramp-process-sentinel' as process sentinel.
9211 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
9213 * whitespace.el (global-whitespace-mode): Revert last change.
9214 (whitespace-unload-function): Force `global-whitespace-mode'
9215 to deactivate local modes in a slightly less intrusive way.
9217 2008-02-02 Eli Zaretskii <eliz@gnu.org>
9219 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9221 2008-02-02 Glenn Morris <rgm@gnu.org>
9223 * international/latin1-disp.el (latin1-display):
9224 * progmodes/fortran.el (fortran-comment-indent-char):
9225 * progmodes/idlw-shell.el (top-level):
9226 * term/mac-win.el (mac-keyboard-translate-char):
9227 * whitespace.el (whitespace-char-valid-p):
9228 * wid-edit.el (widget-key-sequence-read-event):
9229 Use characterp rather than char-valid-p.
9231 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9232 to capitalized-find-word-boundary. Doc fix. Update callers.
9233 (capitalized-next-word-boundary-function-table): Rename to
9234 capitalized-find-word-boundary-function-table. Doc fix. Update users.
9236 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9239 * ps-def.el (declare-function): Add compatibility definition.
9240 (ps-plot-with-face, ps-plot-string): Declare as functions.
9241 (ps-bold-faces, ps-italic-faces): Declare variables.
9243 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9244 (ps-mule-end-job): Declare as functions.
9246 * wid-edit.el (widget-string-complete): Use assoc-string rather
9247 than assoc-ignore-case.
9249 See ChangeLog.13 for earlier changes.
9253 ;; add-log-time-zone-rule: t
9256 Copyright (C) 2008 Free Software Foundation, Inc.
9258 This file is part of GNU Emacs.
9260 GNU Emacs is free software: you can redistribute it and/or modify
9261 it under the terms of the GNU General Public License as published by
9262 the Free Software Foundation, either version 3 of the License, or
9263 (at your option) any later version.
9265 GNU Emacs is distributed in the hope that it will be useful,
9266 but WITHOUT ANY WARRANTY; without even the implied warranty of
9267 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9268 GNU General Public License for more details.
9270 You should have received a copy of the GNU General Public License
9271 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9273 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc