1 2008-06-06 Miles Bader <miles@gnu.org>
3 * Makefile.in (ELCFILES): Add gnus/nndir.elc.
5 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
7 * menu-bar.el (menu-bar-options-menu): Add Menu entry for
10 * replace.el (replace-search-function)
11 (replace-re-search-function): New vars.
12 (perform-replace): Use them.
14 * longlines.el (longlines-re-search-forward): New function.
15 (longlines-mode): Bind replace-search-function and
16 replace-re-search-function, to ensure that replacement commands
17 treat newlines as spaces.
18 (longlines-show-effect): Default to a pilcrow sign.
20 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
22 * help.el (function-called-at-point):
23 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
24 even when calling find-tag-default.
26 2008-06-06 Daniel Colascione <danc@merrillpress.com>
28 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
29 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
30 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
31 (nxml-fontify-buffer, nxml-do-fontify):
32 Remove obsolete variables and functions.
33 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
34 (nxml-degrade, nxml-after-change, nxml-after-change1)
35 (nxml-extend-region, nxml-extend-after-change-region)
36 (nxml-extend-after-change-region1, nxml-fontify-matcher)
37 (nxml-toggle-char-ref-extra-display): Use font-lock, and
38 font-lock-extend-region-functions in particular, to fontify
40 (nxml-debug-region): New debugging helper function.
42 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
43 (nxml-scan-after-change, nxml-move-tag-backwards):
44 Adapt for font-lock changes.
46 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
47 (nxml-debug-set-inside, nxml-debug-clear-inside):
48 New debugging functions.
49 (nxml-with-degradation-on-error): New helper macro.
51 2008-06-06 Martin Rudalics <rudalics@gmx.at>
53 * window.el (display-buffer): Remove dead call to get-lru-window.
55 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
57 * mail/sendmail.el (mail-interactive): Change default.
59 2008-06-05 John Paul Wallington <jpw@pobox.com>
61 * bindings.el (completion-ignored-extensions):
62 Add .p64fsl, .d64fsl, and .dx64fsl.
64 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
66 * ffap.el (ffap-prompter): Don't use the region.
68 2008-06-05 Sam Steingold <sds@gnu.org>
70 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
71 subdirectory to be registered.
73 2008-06-05 Martin Rudalics <rudalics@gmx.at>
75 * window.el (display-buffer-function, special-display-p)
76 (special-display-buffer-names, special-display-regexps)
77 (special-display-function, same-window-p, same-window-buffer-names)
78 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
79 (pop-up-frame-function, pop-up-windows, even-window-heights)
80 (split-window-preferred-function, split-height-threshold)
81 (window--display-buffer-1, display-buffer, pop-to-buffer):
82 Move from window.c and buffer.c.
83 (window--splittable-p, window--try-to-split-window)
84 (window--frame-usable-p, window--display-buffer-2)
85 (window--even-window-heights): New functions.
86 (split-width-threshold): New option.
87 (split-window-preferred-horizontally): Remove.
89 * cus-start.el: Remove corresponding declarations.
91 2008-06-05 Sam Steingold <sds@gnu.org>
93 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
94 an error on modified buffers.
96 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
98 * progmodes/etags.el (tags-verify-table): Be careful to use and update
99 tags-file-name and tags-table-list from the right buffer.
100 (tags-table-check-computed-list, tags-table-extend-computed-list)
101 (find-tag-noselect): Use with-current-buffer.
103 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
106 * minibuffer.el (minibuffer-local-must-match-filename-map):
107 Declare obsolete alias for the old name.
109 * abbrev.el (unexpand-abbrev): Better preserve markers.
111 2008-06-05 Glenn Morris <rgm@gnu.org>
113 * emacs-lisp/autoload.el (autoload-rubric): New function,
114 extracted from autoload-ensure-default-file.
115 (autoload-ensure-default-file): Use autoload-rubric.
117 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
118 (custom-dependencies-no-scan-regexp): New variable.
119 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
120 Don't scan files matching custom-dependencies-no-scan-regexp.
121 Disable undo in the output buffer. Remove kept-new-versions wackiness.
123 * finder.el (finder-headmark): Initialize and add doc string.
124 (generated-finder-keywords-file): Doc fix.
125 (finder-no-scan-regexp): New variable.
126 (finder-compile-keywords): Use a single let binding.
127 Disable undo in the output buffer. Use autoload-rubric.
128 Use mapc rather than mapcar. Don't scan files matching
129 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
130 rather than concat. Use directory-files to do regexp matching.
131 No need to require jka-compr.
132 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
133 (finder-list-matches): Disable undo.
134 (finder-commentary): Use let rather than let*. Disable undo.
135 (finder-current-item): Use zerop.
136 (finder-mode): Use define-derived-mode.
137 (finder-exit): Doc fix. Use dolist.
139 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
140 (custom-deps): Don't require $(lisp)/cus-load.el.
141 (custom-deps, finder-data): Don't depend on autoloads.
142 Should not be needed now, and doing so was causing make install to
143 re-dump emacs post-bootstrap.
144 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
145 mid-build forces some things to be rebuilt.
147 2008-06-05 Miles Bader <miles@gnu.org>
150 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
151 (face-remap-remove-relative): Renamed from
152 `remove-relative-face-remapping'.
153 (face-remap-reset-base): Renamed from
154 `set-default-base-face-remapping'.
155 (face-remap-set-base): Renamed from `set-base-face-remapping'.
156 (text-scale-increase): Renamed from `increase-buffer-face-height'.
157 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
158 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
160 * face-remap.el (variable-pitch-mode): Autoload.
162 2008-06-04 Sam Steingold <sds@gnu.org>
164 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
165 Generate extra status headers for a Mercurial tree.
167 2008-06-04 John Paul Wallington <jpw@pobox.com>
169 * echistory.el (electric-history-map): Define within defvar.
172 * font-lock.el (font-lock-turn-off-thing-lock)
173 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
174 Use `bound-and-true-p'.
175 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
178 * international/ccl.el (define-ccl-program): Add `doc-string'
181 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
183 * face-remap.el (variable-pitch-mode): Reflow docstrings.
184 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
186 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
188 * emacs-lisp/rx.el (rx): Doc fix.
190 2008-06-04 Markus Triska <markus.triska@gmx.at>
192 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
194 2008-06-04 Miles Bader <miles@gnu.org>
196 * face-remap.el (adjust-buffer-face-height): New function.
197 Add autoloaded keybindings in ctl-x-map.
198 (increase-buffer-face-height, decrease-buffer-face-height):
199 Simplify interactive spec to just "p". Remove autoloaded keybindings.
201 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
203 * simple.el (line-move-1): If we did not move as far as desired,
204 ensure that point-left and point-entered hooks are called.
206 2008-06-03 Sam Steingold <sds@gnu.org>
208 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
210 2008-06-03 John Paul Wallington <jpw@pobox.com>
212 * progmodes/make-mode.el (makefile-cleanup-continuations)
213 (makefile-warn-suspicious-lines, makefile-warn-continuations):
214 Use `derived-mode-p'.
216 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
218 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
221 2008-06-03 Miles Bader <miles@gnu.org>
223 * face-remap.el: New file.
224 * Makefile.in (ELCFILES): Add face-remap.elc.
226 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
228 * progmodes/flymake.el (flymake-process-filter): Make sure the source
231 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
232 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
233 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
234 * obsolete/auto-show.el, obsolete/hscroll.el:
235 Remove packages that were obsolete in Emacs-20, or that were obsolete
236 in Emacs-21 and do not contain any more code.
238 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
239 vc-client-mode is not set.
241 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
242 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
244 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
245 yet a bit more clever at distinguishing / from /.
247 2008-06-03 Kenichi Handa <handa@m17n.org>
249 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
251 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
253 * language/hanja-util.el: New file.
255 2008-06-03 Glenn Morris <rgm@gnu.org>
257 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
258 Check that end-of-word follows "type".
260 2008-06-02 Daiki Ueno <ueno@unixuser.org>
262 * epa-file.el (epa-file-write-region): Write the entire buffer
263 content if START is nil.
265 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
267 * select.el (x-get-selection): Fix typo.
269 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
271 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
272 (describe-char): Use `looking-at-p', `string-match-p' when possible.
274 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
276 * tar-mode.el (tar-header-block-summarize): Ensure one space around
279 2008-05-31 John Paul Wallington <jpw@pobox.com>
281 * help-fns.el (describe-variable-custom-version-info):
282 Handle dotted `package-version' info.
284 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
286 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
288 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
290 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
291 names and improve support for unregistered files.
293 2008-05-31 Glenn Morris <rgm@gnu.org>
295 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
296 Remove shell variable `elc'. Split tests to hopefully be more portable.
297 Fix `sel' assignment.
299 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
301 * minibuffer.el (completion-table-dynamic): Doc fix.
303 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
305 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
306 Try and return `unregistered' when applicable.
308 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
309 Don't encourage naming variables with "-flag".
311 2008-05-30 Glenn Morris <rgm@gnu.org>
313 * Makefile.in (update-elclist): Hide the warning when it does not apply,
314 make it milder when it does.
315 (autogen-clean): New target.
316 (maintainer-clean): Use autogen-clean.
318 * calendar/diary-lib.el (diary-display-function): New name for
319 diary-display-hook. Keep old name as obsolete alias. Doc fix.
320 Change custom type and version.
321 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
322 (diary-fancy-display): Doc fixes.
323 (diary-list-entries, diary-include-other-diary-files)
324 (diary-mail-entries):
325 Use diary-display-function rather than diary-display-hook.
327 * calendar/appt.el (appt-check): Use diary-display-function rather than
329 * calendar/cal-x.el (calendar-dedicate-diary): Update for
330 diary-display-function replacing diary-display-hook.
331 * org/org-agenda.el (org-get-entries-from-diary): Also set
332 diary-display-function.
334 * calendar/cal-html.el (cal-html-list-diary-entries):
335 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
336 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
337 argument of diary-list-entries rather than setting diary-display-hook.
339 2008-05-30 Kenichi Handa <handa@m17n.org>
341 * international/mule-conf.el (utf-8-with-signature): Renamed from
343 (utf-8-auto): Adjusted for the above change.
345 * international/mule-diag.el (describe-font): Don't check fontset
346 here, and just call font-info. Get the default font by from the
349 2008-05-29 Kenichi Handa <handa@m17n.org>
351 * international/mule-conf.el (utf-8-sig, utf-8-auto):
354 * international/mule.el (define-coding-system): Accept :bom for utf-8.
356 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
358 * international/utf-7.el (utf-7-encode): Use the right escape char
359 depending on imap/nonimap encoding.
361 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
363 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
365 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
367 * icomplete.el (icomplete-prospects-height): Add :group.
369 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
371 * icomplete.el (icomplete-prospects-length): Make obsolete.
372 (icomplete-prospects-height): New var.
373 (icomplete-completions): Use it.
375 2008-05-29 David Kastrup <dak@gnu.org>
377 * autoinsert.el (auto-insert): Add :link.
379 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
381 * tar-mode.el (tar-header): New field `header-start'.
382 (tar-header-block-tokenize): Set it when useful.
383 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
384 (tar-header-data-end): New function.
385 (tar-summarize-buffer): Use it.
386 (tar-next-line): Fix goal column for long usernames.
387 (tar-expunge-internal): Use header-start.
388 (tar-rename-entry): Handle ustar-style long names.
389 (tar-alter-one-field): Add optional `descriptor' argument.
390 (tar-subfile-save-buffer): Use it.
392 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
394 * tar-mode.el (tar-header): New field `header-start'.
395 (tar-header-block-tokenize): Set header-start for longlink entries.
396 (tar-expunge-internal): Use header-start to expunge longlink entries.
398 * files.el (hack-local-variables): Don't signal an error if the local
399 variable section is not properly terminated.
401 * emacs-lisp/easymenu.el (easy-menu-convert-item)
402 (easy-menu-convert-item-1): Move the duplicate-generation outside of
403 the caching so it also works for identical entries.
405 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
406 (tar-mode): Use write-region-annotate-functions rather than
407 write-contents-functions.
408 (tar-extract): Remove unused var `pos'.
409 (tar-subfile-save-buffer): Remove unused var `following-descs'.
410 (tar-mode-write-file): Remove.
411 (tar-write-region-annotate): New function.
413 * progmodes/flymake.el (flymake-save-buffer-in-file):
414 * shadowfile.el (shadow-copy-file):
415 * arc-mode.el (archive-*-write-file-member):
416 * files.el (diff-buffer-with-file):
417 * subr.el (with-temp-file): Pass nil to write-region.
418 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
420 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
423 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
426 2008-05-28 Glenn Morris <rgm@gnu.org>
428 * Makefile.in (update-elclist): Work around non-portability of "\"
429 in various implementations of echo.
431 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
433 * international/mule-diag.el (describe-current-coding-system):
434 Don't assume selection-coding-system is always defined.
436 * tar-mode.el: Use defstruct and markers.
438 (tar-header): Use defstruct. Add `data-start' field.
439 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
440 (tar-desc-data-start): Remove (now called tar-header-data-start).
441 (tar-roundup-512): New fun.
442 (tar-header-block-tokenize): Receive a buffer position rather than
443 a string. Handle @longLink here, be more careful about it.
444 Create a marker for data-start.
445 (tar-summarize-buffer): Don't handle @LongLink here any more.
446 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
447 data-start on the following entries any more.
448 (tar-chown-entry, tar-chgrp-entry): Use read-number.
450 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
451 (tar-header-offset): Remove.
452 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
453 Not permanent any more.
454 (tar-data-buffer): New var.
455 (tar-data-swapped-p, tar-change-major-mode-hook)
456 (tar-mode-kill-buffer-hook): New funs.
457 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
458 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
459 (tar-clear-modification-flags, tar-alter-one-field)
460 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
463 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
465 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
466 (vc-dir-resynch-file): ... this. Update callers.
467 Use vc-string-prefix-p. Ignore directory args.
468 (vc-string-prefix-p): CSE.
469 (vc-resynch-buffer): Restore conditional.
471 * vc-hooks.el (vc-after-save): Improve test.
472 (vc-mode-line): Fix indentation.
474 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
476 * calendar/parse-time.el (parse-time-months)
477 (parse-time-weekdays): Add long-form month and day names.
479 2008-05-27 Glenn Morris <rgm@gnu.org>
481 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
483 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
485 * vc-dispatcher.el (vc-string-prefix-p): New function.
486 (vc-dir-parent-marked-p): Use it.
488 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
490 * vc.el (Problems): Remove fixed issues.
491 (vc-expand-dirs): Avoid returning directories.
492 (vc-dir): Fix C-x v v binding.
493 (vc-make-backend-object): Fix name.
494 (vc-dir-show-fileentry): Fix docstring.
495 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
496 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
497 Reset the state for directories.
498 (vc-dir-headers): Align labels.
499 (vc-default-status-printer): Do no call prettify-state-info.
500 (vc-deduce-fileset): Replace implementation with one based on a
501 working older version.
502 (vc-next-action): Use the new form of vc-deduce-fileset.
503 Fix dealing with unregistered files.
505 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
506 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
507 (vc-dir-child-files): New function.
508 (vc-dir-node-directory): New function.
509 (vc-dir-update, vc-dir-parent-marked-p)
510 (vc-dir-children-marked-p, vc-dir-mark-all-files)
511 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
513 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
515 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
517 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
518 (diff-font-lock-keywords, diff-context->unified)
519 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
520 (diff-hunk-text, diff-find-source-location): Use it.
521 (diff-post-command-hook): Let the user edit the hunk headers.
523 2008-05-26 Andreas Schwab <schwab@suse.de>
525 * vc.el (vc-default-prettify-state-info): Fix formatting of an
528 * tar-mode.el (tar-summarize-buffer): Comment fix.
530 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
532 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
534 2008-05-26 Glenn Morris <rgm@gnu.org>
536 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
538 2008-05-25 John Paul Wallington <jpw@pobox.com>
540 * proced.el (proced-next-line, proced-previous-line):
541 Avoid calling `next-line' and `previous-line' from Lisp code.
543 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
545 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
546 Use diary-ordinal-suffix.
548 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
550 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
551 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
552 (edebug-save-displayed-buffer-points, edebug-initial-mode)
553 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
554 (edebug-print-length, edebug-print-level, edebug-print-circle)
555 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
556 (edebug-global-break-condition, edebug-sit-for-seconds):
557 Remove spurious * from defcustom docstrings.
558 (edebug-unwrap*, edebug-signal, edebug-eval-display):
559 Improve argument/docstring consistency.
560 (edebug-test-coverage, edebug-gensym, edebug-read)
561 (edebug-top-level-nonstop, edebug-eval-result-list)
562 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
563 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
564 (edebug-display-freq-count): Reflow docstrings.
565 (edebug-restore-status): Doc fix.
567 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
569 * proced.el (proced-header-line): Use the :align-to 0 feature
570 rather than computing the corresponding position manually.
571 (proced-update): Don't hardcode point-min==1.
573 2008-05-24 Alan Mackenzie <acm@muc.de>
575 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
576 if c-file-style is set to a non-string.
578 (c-neutralize-CPP-line): Surround by `save-excursion'.
579 (c-neutralize-syntax-in-CPP): Optimize for speed.
581 2008-05-24 Glenn Morris <rgm@gnu.org>
583 * Makefile.in (update-elclist): New target, to update ELCFILES.
584 (bootstrap-after): Run update-elclist.
586 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
588 * icalendar.el (icalendar-version): Increase to "0.19".
589 (icalendar--date-style): New function.
590 (icalendar--datetime-to-diary-date): Doc fix.
591 Use icalendar--date-style.
592 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
593 (icalendar--convert-yearly-to-ical)
594 (icalendar--convert-recurring-to-diary): Handle iso date style,
595 use icalendar-date-style.
597 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
599 * vc.el (vc-delete-file): Make sure the buffer is deleted and
600 vc-dir buffers are updated.
602 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
604 * vc.el (vc-delete-file): Don't try to resynch the buffer.
606 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
608 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
609 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
610 (reftex-extra-bindings): Use it.
612 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
613 away from the user-reserved keys.
615 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
617 (ada-create-keymap): Use them.
619 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
621 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
622 a properly-grouped regexp.
624 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
626 * progmodes/cap-words.el (capitalized-words-mode):
627 Fix typos in docstring.
629 2008-05-23 Kenichi Handa <handa@m17n.org>
631 * international/mule-conf.el: Don't define the charset `emacs'
632 here, just put :docstring, :short-name, and :long-name.
634 2008-05-22 Kenichi Handa <handa@m17n.org>
636 * international/mule-diag.el (font-show-log): Limit each listing
639 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
641 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
642 (gdb-annotation-rules): New entry for "thread-changed".
643 (gdb-thread-changed): New function.
645 2008-05-23 Glenn Morris <rgm@gnu.org>
647 * Makefile.in (SOURCES): Remove, unused.
648 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
649 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
650 Exclude more '*loaddefs' files.
651 (compile-always): Simplify '.elc' deletion.
653 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
655 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
656 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
658 * minibuffer.el (completion-boundaries): Change calling
659 convention, so `string' has the same semantics as in
660 try-completion and all-completions.
661 (completion-table-with-context, completion--embedded-envvar-table)
662 (completion--file-name-table)
663 (completion-pcm--find-all-completions): Adjust code accordingly.
665 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
667 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
668 prune image-mode-winprops-alist, preventing it from growing
670 (image-mode-reapply-winprops): Use it.
672 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
674 * net/netrc.el (netrc-machine): Always match if the port is not given.
676 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
678 * minibuffer.el (completion-pcm--find-all-completions):
679 Don't add pseudo-completions.
681 * icomplete.el (icomplete-eoinput): Remove.
682 (icomplete-overlay): New var to replace it.
683 (icomplete-tidy): Rewrite.
684 (icomplete-exhibit): Use an overlay.
685 (icomplete-completions): Use completion-all-sorted-completions.
686 Obey completion-ignore-case.
688 * files.el (locate-dominating-file): Accept non-existing argument.
689 (project-find-settings-file): Rewrite, using locate-dominating-file.
691 2008-05-22 Kenichi Handa <handa@m17n.org>
693 * faces.el (font-weight-table, font-slant-table, font-width-table):
694 Delete them. Don't call internal-set-font-style-table.
696 * international/mule-diag.el (font-show-log): New function.
698 * international/fontset.el (script-representative-chars): Add more
699 chars for latin. Add data for symbol.
700 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
702 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
704 * minibuffer.el (completion-all-sorted-completions): New var.
705 (completion--flush-all-sorted-completions)
706 (completion-all-sorted-completions): New functions.
707 (minibuffer-force-complete): New command.
709 2008-05-21 Glenn Morris <rgm@gnu.org>
711 * files.el (c-postprocess-file-styles): Declare for compiler.
713 * Makefile.in: Allow for parallel byte-compiling.
714 (ELCFILES): New variable.
715 (.el.elc): Remove prerequisites from suffix rule. Print a message.
716 (compile-first, compile-main, compile-last): New targets.
717 (compile-always): Simplify - delete .elc files, then `make compile'.
719 * Makefile.in (compile-calc): Use glob rather than find.
720 ($(lisp)/progmodes/cc-mode.elc): Use $@.
722 * eshell/esh-module.el: No need for cl when compiling.
724 * eshell/eshell.el (eshell-defgroup): New alias.
725 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
726 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
727 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
728 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
729 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
730 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
731 Autoload the custom group. Set generated-autoload-file.
732 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
734 * eshell/esh-module.el (eshell-load-defgroups): Remove.
735 Require esh-groups rather than loading it.
737 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
739 * proced.el (proced-header-line): New variable and new function.
740 (proced-mode): Set header-line-format.
741 (proced-update): Set proced-header-line.
742 (proced-send-signal): Use proced-header-line.
744 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
746 * macros.el (insert-kbd-macro): Use prin1-char.
748 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
750 * minibuffer.el (completion-boundaries): New function.
751 (completion--some): Delay errors.
752 (complete-with-action, completion-table-with-context):
753 Handle `boundaries' case.
754 (completion--try-word-completion): Avoid partial-completion
755 when the user hasn't entered anything yet.
756 (minibuffer-local-map, minibuffer-local-filename-completion-map)
757 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
758 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
759 Setup default keybindings.
760 (completion--embedded-envvar-re): New var.
761 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
762 (completion--file-name-table): Handle `boundaries' case.
763 (completion-pcm--pattern->regex): Avoid pathological backtracking.
764 (completion-pcm--all-completions): Add a `prefix' arg.
765 (completion-pcm--find-all-completions): New function.
766 (completion-pcm-all-completions, completion-pcm-try-completion):
769 * icomplete.el (icomplete-completions): Don't use `predicate' with
770 a table of a different type than `candidates'.
772 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
774 * proced.el (proced-goal-column): Rename from proced-procname-column.
775 (proced-goal-header-re): Rename from proced-procname-column-regexp.
776 (proced-move-to-goal-column): Rename from proced-move-to-procname.
777 (proced-header-face, proced-header-regexp): Remove.
778 (proced-font-lock-keywords): Remove proced-header-face.
779 (proced-header-alist, proced-sorting-schemes-re): New variables.
780 (proced): Rename Proced buffer to *Proced*.
781 (proced-next-line, proced-previous-line): New commands.
782 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
783 (proced-hide-processes): Do not treat first line as special.
784 (proced-header-space): New function.
785 (proced-update): Use header-line-format.
786 Initialize proced-header-alist and proced-sorting-schemes-re.
787 Set proced-goal-column. Include proced-command in mode-name.
788 (proced-send-signal): Use header-line-format for *Marked
790 (proced-sort): Restrict minibuffer completion to applicable
792 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
794 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
796 * icomplete.el (icomplete-simple-completing-p):
797 Allow icomplete-with-completion-tables to say "use it everywhere".
798 (icomplete-completions): Obey completion-styles. Try to accommodate
799 partial-completion style.
801 2008-05-20 Michael Olson <mwolson@gnu.org>
803 * files.el (project-find-settings-file): Change concat to
806 2008-05-19 Tom Tromey <tromey@redhat.com>
808 * files.el (normal-mode): Call hack-project-variables.
809 (hack-local-variables-confirm): Add 'project' argument.
810 (hack-local-variables-apply): New function.
811 (hack-local-variables): Use it.
812 (project-class-alist, project-directory-alist): New variables.
813 (project-get-alist): New function.
814 (project-collect-bindings-from-alist)
815 (project-collect-binding-list, set-directory-project)
816 (project-find-settings-file, project-define-from-project-file)
817 (hack-project-variables): New functions.
819 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
821 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
823 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
825 * faces.el (font-weight-table): Fix typo in docstring.
827 2008-05-18 David Hull <david@snap.com> (tiny change)
829 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
830 (vc-hg-annotate-command): Allow white space before version number.
832 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
834 * calc/calc-yank.el (calc-register-alist): New variable.
835 (calc-set-register,calc-get-register,calc-copy-to-register)
836 (calc-insert-register,calc-add-to-register,calc-append-to-register)
837 (calc-prepend-to-register): New functions.
839 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
840 `calc-copy-to-register' and `calc-insert-register'.
841 Autoload new register functions.
843 * calc/calc-help.el (calc-r-prefix-help): Add help for register
846 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
848 * vc.el (Todo): Add known problems.
849 (vc-dir-backend): New variable.
851 (vc-make-backend-object, vc-generic-status-printer)
852 (vc-generic-state, vc-generic-status-fileinfo-extra)
853 (vc-dir-extra-menu): Use it.
854 (vc-generic-dir-headers): Remove, unused.
856 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
857 vc-dir-prev-directory for consistency with vc-dir-previous-line.
858 (vc-dir-mode-map): Fix bindings.
860 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
862 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
864 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
866 (calc-kill-region): Kill entire lines.
868 2008-05-17 Glenn Morris <rgm@gnu.org>
870 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
871 simplify initial value.
872 (defezimage): Drop support for Emacs without defimage, use a featurep
873 test rather than fboundp when defining, drop with-no-warnings.
874 (ezimage-insert-over-text): Move featurep test inside
877 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
879 * net/tramp.el (top-level): Load auth-source when compiling.
881 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
883 2008-05-17 Andreas Schwab <schwab@suse.de>
885 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
887 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
889 * vc.el (vc-annotate-show-diff-revision-at-line): Change
890 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
892 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
894 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
896 2008-05-17 Jim Meyering <meyering@redhat.com>
898 * ido.el (ido-save-history): Do not emit a trailing newline at the
899 end of the ido history file.
901 2008-05-16 John Paul Wallington <jpw@pobox.com>
903 * vc-dispatcher.el (top-level): Revert previous change: require cl
906 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
908 * vc.el (vc-default-status-printer)
909 (vc-default-prettify-state-info): Enhance the state prettyprinter
910 to deal better with unknown states and indirect through it when
911 painting vc-dir buffers.
913 2008-05-16 John Paul Wallington <jpw@pobox.com>
915 * vc-dispatcher.el (top-level): Don't require cl when compiling.
916 (vc-dir-mode-map): Fix backquote.
917 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
919 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
921 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
922 Reported by Glenn Morris <rgm@gnu.org>.
924 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
926 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
927 the end of the file, it was good work at one time but has been
928 stale since 1995 and may now be actively misleading.
929 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
930 CVS repository and module (assumptions for the latter a bit iffy).
931 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
934 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
936 * vc-rcs.el (vc-rcs-create-tag):
937 * vc-sccs.el (vc-sccs-create-tag):
938 Fix typo in error message and pass backend arg.
940 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
942 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
944 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
946 * net/tramp.el: Load auth-source library.
947 (tramp-read-passwd): Use it for password, not login.
949 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
951 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
952 (ses-print-cell): Use string-width, truncate-string-to-width,
953 delete-region rather than length, substring, delete-char.
954 (ses-setup): Set inhibit-point-motion-hooks to t.
955 Calculate position by actually moving point rather than just using
956 unibyte character length.
957 (ses-mode): Set indent-tabs-mode to nil.
958 (ses-center): Use string-width rather than length.
960 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
962 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
963 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
964 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
965 vc-*-create-tag and vc-*-retrieve-tag respectively.
967 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
970 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
972 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
975 2008-05-15 Glenn Morris <rgm@gnu.org>
977 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
979 * org/org-exp.el (org-infojs-options-inbuffer-template):
982 * progmodes/cc-mode.el (declare-function): Add compat definition.
983 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
985 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
987 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
988 list to a cons so the caller can get back both expanded and
990 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
991 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
992 Change handling of selection-set returns as required.
994 2008-05-15 John Paul Wallington <jpw@pobox.com>
996 * add-log.el (top-level): Don't require cl when compiling.
998 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
999 (archive-*-extract): Use `zerop'
1000 (archive-*-write-file-member): Use `or', use `zerop'.
1002 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
1004 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
1005 (ibuffer-mark-interactive, ibuffer-set-mark)
1006 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
1007 (ibuffer-map-lines, ibuffer-switch-format)
1008 (ibuffer-update-title-and-summary)
1009 (ibuffer-redisplay-engine): Use it.
1011 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
1012 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
1013 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
1014 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
1015 (ibuffer-mark-read-only-buffers)
1016 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
1018 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
1019 (define-ibuffer-column, define-ibuffer-sorter)
1020 (define-ibuffer-op, define-ibuffer-filter): Add declarations
1021 containing indentation specs, replacing equivalent top-level
1022 forms that set `lisp-indent-function' properties.
1023 (define-ibuffer-op): Use `derived-mode-p'.
1024 (define-ibuffer-filter): Remove redundant `concat' call.
1026 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
1028 * net/tramp.el (tramp-echo-mark): Update docstring.
1029 (tramp-echo-mark-marker): New defconst.
1030 (tramp-check-for-regexp): Use it.
1032 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
1034 * vc.el (vc-deduce-fileset): Do the right thing when visting a
1035 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
1038 2008-05-14 John Paul Wallington <jpw@pobox.com>
1040 * international/mule.el (convert-define-charset-argument):
1041 Remove period from end of error message.
1042 (coding-system-mnemonic): Doc fix.
1043 (ctext-pre-write-conversion): Doc fix.
1045 2008-05-14 Simon Marshall <simon@gnu.org>
1047 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
1048 from its default value and give it the risky-local-variable
1049 property (CVE-2008-2142).
1051 2008-05-14 Kenichi Handa <handa@m17n.org>
1053 * language/korean.el ("Korean"): Set `iso639-language'
1056 * language/japanese.el ("Japanese"): Set `iso639-language'
1059 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1060 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
1061 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
1063 * international/mule-cmds.el (set-language-environment):
1064 Set current-iso639-language.
1066 * international/fontset.el (setup-default-fontset): For kana, han,
1067 hangul, and cjk-misc, move an entry with font-spec at the end.
1068 (generate-fontset-menu): Exclue fontset-auto* from the list.
1070 * composite.el (compose-chars-after): Assume that WINDOW is always
1073 * faces.el (font-weight-table, font-slant-table)
1074 (font-swidth-table): Declare them by defconst. Change the format
1075 of elements. Call internal-set-font-style-table after their
1077 (face-valid-attribute-values): Call font-family-list. Get values
1078 for width, weight, and slant from font-xxx-table.
1080 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
1082 2008-05-13 John Paul Wallington <jpw@pobox.com>
1084 * ibuffer.el (ibuffer-buffer-file-name): New function.
1085 (define-ibuffer-column filename): Use it.
1087 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
1089 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1091 * talk.el (talk): Simplify. Pass display arg to talk-add-display
1093 (talk-add-display): Simplify. Accept only string args.
1095 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
1097 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
1099 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * Makefile.in (bootstrap-prepare): Don't chmod files.
1102 (autoloads): Do it here instead, where it's actually needed.
1104 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
1106 * tool-bar.el (tool-bar-make-keymap): Account for the optional
1107 KEY-BINDING-DATA field in menu-item list.
1109 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1111 * dired.el (dired-read-dir-and-switches): Move things about to use less
1112 recursion during macroexpansion.
1114 * dired.el (dired-read-dir-and-switches): Use read-file-name.
1116 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
1117 completion-ignored-extension directories if there's something else.
1118 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
1119 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
1120 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
1121 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
1122 buffer-read-only -> inhibit-read-only.
1124 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
1126 * vc.el (vc-expand-dirs): Stop this function from tossing out
1127 explicitly specified files.
1129 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
1134 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
1136 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
1137 cons. Use vc-annotate-backend.
1138 (with-vc-file, edit-vc-file): Remove unused macros.
1140 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
1142 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
1143 (smtpmail-try-auth-methods): Use it.
1145 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
1148 (setf (nthcdr ..) ..) doesn't require CL at runtime.
1150 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
1152 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
1154 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
1157 (vc-bzr-revision-completion-table): Use process-file.
1158 (vc-bzr-working-revision): Pass relative file names.
1160 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
1162 2008-05-11 Juri Linkov <juri@jurta.org>
1164 * wid-edit.el (widget-image-directory): Change default image data
1165 subdirectory from "custom" to "images/custom".
1167 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
1168 before recursive call to `Info-next-preorder' to not add
1169 intermediate nodes to the history.
1171 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
1173 * emulation/cua-base.el: Put isearch-scroll property
1174 on cua-scroll-up and cua-scroll-down.
1176 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
1178 * vc-hooks.el (vc-recompute-state): Remove (dead code).
1180 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1182 * vc-dispatcher.el (ewoc): Require.
1183 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
1185 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
1187 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
1189 * term/w32-win.el (x-colors):
1190 * term/mac-win.el (x-colors):
1191 * term/x-win.el (x-colors): Re-order colors.
1193 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
1195 * smerge-mode.el (smerge-command-prefix): Fix custom type.
1197 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
1199 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
1200 New functions implementing motion to next and previous directory.
1202 * vc-arch.el (vc-arch-command):
1203 * vc-bzr.el (vc-bzr-command):
1204 * vc-cvs.el (vc-cvs-command):
1205 * vc-dispatcher.el (vc-do-command):
1206 * vc-git.el (vc-git-command):
1207 * vc-hg.el (vc-hg-command):
1208 * vc-mcvs.el (vc-mvcs-command):
1209 * vc-mtn.el (vc-mtn-command):
1210 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
1211 (vc-sccs-workfile-unchanged-p):
1212 * vc-svn.el (vc-svn-command, vc-svn-create-repo),
1213 * vc-rcs.el (all methods): Remove assumption about what a nil
1214 argument to vc-do-command means. This means no buffer name needs
1215 to be hardcoded into the dispatcher layer, and it's better to be
1218 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1220 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
1222 * vc.el: Update todo.
1224 * vc-sccs.el (vc-sccs-dir-status):
1225 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1226 backends and returning up to date files.
1228 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1230 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1233 * vc-hooks.el: Tweak the VC directory bindings. These are now
1234 documented in the manual.
1236 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1237 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1238 (vc-dispatcher-selection-set): Allow callers to pass in an
1239 observer flag that says no buffer sync is required.
1240 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1241 Use the observer flag.
1243 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
1245 * simple.el (start-file-process): Clarify docstring.
1247 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1249 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1250 Remove stub implementations of, and references to, wash-log.
1251 * vc-rcs.el (vc-rcs-comment-history):
1252 * vc-cvs.el (vc-cvs-comment-history):
1253 Inline the code that used to be wash-log.
1255 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1256 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1257 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1258 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1259 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1260 (vc-rcs-print-log): Grok directories.
1262 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1264 * vc.el (vc-mark-resolved): Add `backend' argument.
1265 (vc-next-action): Pass it the backend.
1266 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1267 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1268 (vc-default-comment-history, vc-default-create-snapshot)
1269 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1270 (vc-annotate-revision-previous-to-line)
1271 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1272 * vc-svn.el (vc-svn-checkout):
1273 * vc-mcvs.el (vc-mcvs-checkout):
1274 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1275 (vc-working-revision, vc-before-save, vc-mode-line):
1276 Prefer vc-call-backend to vc-call so as not to recompute the backend.
1278 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1279 state to be consistent since it's often an unwarranted restriction.
1280 Don't return the state either.
1281 (vc-next-action): Check that the state is consistent.
1282 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1283 (vc-rollback, vc-update): Adapt to new return value of
1286 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1287 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1288 (vc-dispatcher-in-fileset-p): New fun.
1289 (vc-dispatcher-selection-set): Use it to properly handle directories.
1291 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
1293 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1294 (vc-update): Remove unused let bindings.
1296 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
1298 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1299 (vc-diff, vc-revert, vc-rollback, vc-update):
1300 * vc-dispatcher.el (vc-dispatcher-selection-set):
1301 Get rid of 4 special cases in fileset selection. This involved
1302 changing the return value of (vc-deduce-fileset) so that it passes
1303 back a deduced state as well as a deduced back end.
1305 2008-05-08 Sam Steingold <sds@gnu.org>
1307 * progmodes/compile.el (compilation-minor-mode-map)
1308 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1309 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1310 to `compilation-minor-mode-map' (instead of an explicit `cons').
1312 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1314 * org/org.el (org-modules, org-format-latex-options):
1315 * org/org-archive.el (org-archive-stamp-time)
1316 (org-archive-save-context-info):
1317 * org/org-faces.el (org-hide):
1318 * org/org-irc.el (org-irc-parse-link):
1319 * org/org-macs.el (org-call-with-arg, org-autoload):
1320 * org/org-mew.el (org-mew-store-link):
1321 * org/org-remember.el (org-remember-store-without-prompt)
1322 (org-remember-templates): Fix typos in docstrings.
1324 * org/org-info.el (org-info-store-link): Remove leftover docstring.
1326 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1327 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1328 (org-bbdb-anniv-split): Fix typos in docstrings.
1330 * org/org-publish.el (org-publish-project-alist): Doc fixes.
1331 (org-publish-use-timestamps-flag): Reflow docstring.
1332 (org-publish-files-alist): Fix typos in docstring.
1334 2008-05-07 Sam Steingold <sds@gnu.org>
1336 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1337 appears to be too aggressive with window removal.
1339 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
1341 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1343 (verilog-pretty-expr): Support lining up assignments which include
1345 (verilog-mode): More portable check for the availability of
1347 (verilog-do-indent): Remove special indent for declarations inside
1348 a parenthetical list. The code is ill-advised, and doesn't work
1349 given the new user defined types.
1350 (verilog-set-auto-endcomments): Enhance function automatic
1351 endcomment to support functions that return user defined types.
1352 (verilog-mode): Add code to tell which-function-mode minor mode
1353 that Verilog supports this feature.
1355 2008-05-08 Eli Zaretskii <eliz@gnu.org>
1357 * epa-file.el: Require epa-hook.
1359 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1361 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1362 file-names clashes on 8+3 filesystems. Provide epa-hook.
1364 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1365 file-names clashes on 8+3 filesystems.
1367 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
1369 * org/org.el (org-read-date-get-relative): Interpret lone
1370 weekday abbreviation as relative to today.
1372 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
1374 * abbrev.el (define-abbrev-table):
1375 * composite.el (toggle-auto-composition):
1376 * json.el (json-alist-p, json-plist-p):
1377 * minibuffer.el (completion-table-with-predicate):
1378 * ps-mule.el (ps-mule-external-libraries):
1379 * emacs-lisp/advice.el (ad-special-form-p):
1380 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1381 * eshell/em-smart.el (eshell-review-quick-commands):
1382 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1383 (python-skip-out, python-check-comint-prompt):
1384 Don't use `iff' in docstrings.
1386 * international/robin.el (robin-package-alist): Fix typo in docstring.
1387 (robin-current-package-name): Doc fix.
1388 (robin-activate): Don't use `iff' in docstring.
1390 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
1392 * vc.el, vc-dispatcher.el: VC-Dired support removed.
1393 The code uses a ewoc-based implementation now.
1394 * vc-hooks.el: Support for Meta-CVS has been removed.
1396 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * tool-bar.el: Choose images dynamically.
1399 (tool-bar-make-keymap, tool-bar-find-image): New function.
1400 (tool-bar-find-image-cache): New var.
1401 (tool-bar-local-item, tool-bar-local-item-from-menu):
1402 Don't select the image yet, do it later in tool-bar-make-keymap.
1404 2008-05-07 Andreas Schwab <schwab@suse.de>
1406 * window.el: Require 'cl when compiling.
1408 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
1410 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1412 2008-05-07 Glenn Morris <rgm@gnu.org>
1414 * subr.el (ignore-errors): Move here from cl-macs.el.
1415 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1417 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1420 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
1422 * vc-hooks.el (vc-find-file-hook):
1423 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1425 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1427 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
1429 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1430 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1431 (verilog-auto-inout, verilog-auto-inout-module)
1432 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1433 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1434 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1435 (verilog-auto-sense-sigs, verilog-auto-tieoff)
1436 (verilog-auto-unused, verilog-auto-wire)
1437 (verilog-decls-get-assigns, verilog-decls-get-consts)
1438 (verilog-decls-get-gparams, verilog-decls-get-inouts)
1439 (verilog-decls-get-inputs, verilog-decls-get-outputs)
1440 (verilog-decls-get-ports, verilog-decls-get-regs)
1441 (verilog-decls-get-signals, verilog-decls-get-wires)
1442 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1443 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1444 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1445 (verilog-inject-sense, verilog-library-filenames)
1446 (verilog-mode-release-date, verilog-mode-version)
1447 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1448 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1449 (verilog-modi-get-assigns, verilog-modi-get-consts)
1450 (verilog-modi-get-gparams, verilog-modi-get-inouts)
1451 (verilog-modi-get-inputs, verilog-modi-get-outputs)
1452 (verilog-modi-get-ports, verilog-modi-get-regs)
1453 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1454 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1455 (verilog-modi-get-wires, verilog-preserve-cache)
1456 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1457 (verilog-read-sub-decls, verilog-read-sub-decls-line)
1458 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1459 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1460 Add caching of additional state, and rework signal extraction
1461 routines to improve AUTO expansion performance by 300%++.
1463 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
1465 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1466 Tweak Open Watcom regexp to distinguish between errors and warnings.
1468 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * dired.el (dired-read-dir-and-switches): Fix up last change.
1472 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
1474 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1475 out of this function, move it to vc-dispatcher-selection-set.
1477 2008-05-05 Sam Steingold <sds@gnu.org>
1479 * window.el (delete-other-windows-vertically): New function.
1481 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * dired.el (dired-read-dir-and-switches):
1484 Obey read-file-name-completion-ignore-case.
1486 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
1488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1489 Add regexp for Open Watcom compiler output.
1491 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
1493 * progmodes/python.el (python-block-pairs): Align finally with except.
1495 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1499 2008-05-05 Tom Tromey <tromey@redhat.com>
1501 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1502 looking at conflict marker.
1504 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1507 client-mode -> vc-client-object, and guess `funcall' was meant.
1508 (vc-dir-mode): Rename client-mode -> vc-client-mode.
1510 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
1512 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1513 (dbus-debug): Move declarations outside eval-when-compile.
1515 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1517 * proced.el (proced-command-alist): Fix system-type values.
1519 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1520 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1521 (proced-sort-start, proced-sort, proced-sort-time): New commands.
1522 (proced-update): Use proced-sorting-scheme. Update modeline.
1523 (proced-send-signal): Use nreverse.
1524 (proced-sorting-scheme-p): New function.
1526 2008-05-04 Andreas Schwab <schwab@suse.de>
1528 * vc.el: Require dired when compiling.
1530 * minibuffer.el (completion--insert-strings): Don't delete past bol.
1532 2008-05-03 Glenn Morris <rgm@gnu.org>
1534 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1535 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1536 Simplify compilation requirements.
1537 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1540 2008-05-03 Dave Love <fx@gnu.org>
1542 * progmodes/python.el (python-beginning-of-statement):
1543 Loop at least once (fixes 2008-02-21 change).
1545 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1547 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1548 instead of `length' for comparing length of user and group names.
1550 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
1552 * vc-dispatcher.el: New file, separates out the UI and command
1553 execution machinery from VCS-specific logic left in vc.el.
1554 The separation is not yet completely clean, but it's a good start.
1555 * vc.el: This file is about 1700 lines shorter now.
1556 Remove obsolete logentry-check from the backend API.
1557 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
1558 implementation of the logentry-check method, and it guarded against
1559 a log length limit that has probably been obsolete for 15 years (!).
1561 2008-05-02 Sam Steingold <sds@gnu.org>
1563 * progmodes/compile.el (compilation-start): Move setting of
1564 compilation-directory after (funcall mode) as that resets local
1565 variables, this fixes recompile in grep buffers.
1566 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1568 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1570 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1571 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1572 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1573 has one of these and that all are called in compatible ways.
1574 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1575 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1576 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1577 backend has one of these.
1579 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1582 initialization into define-abbrev-table. Use :regexp.
1583 (octave-mode-syntax-table): Don't set word syntax for `.
1585 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1588 * dired.el (dired-read-dir-and-switches):
1589 Set minibuffer-completing-file-name and call substitute-in-file-name.
1590 (dired-format-columns-of-files): Use completion--insert-strings.
1592 * minibuffer.el (completion-hilit-commonality): Revert last change:
1593 the leftover code was actually useful.
1594 (completion--insert-strings): Use string-width rather than length.
1596 2008-05-02 Sam Steingold <sds@gnu.org>
1598 * vc.el (vc-dir-mode-map): Enable mouse bindings.
1599 (vc-at-event): New macro: run the body at the even location.
1600 (vc-dir-menu, vc-dir-toggle-mark): Use it.
1601 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1602 * subr.el (mouse-event-p): Check if the even is mouse-related.
1604 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
1606 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1607 Don't throw error if no file is found.
1609 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
1611 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1612 (vc-default-state-heuristic): Doc fix.
1614 2008-05-02 Richard Sharman <rsharman@pobox.com>
1616 * hilit-chg.el (highlight-changes-mode): Remove references to
1617 hooks that no longer exist. Because define-minor-mode is used the
1618 hook highlight-changes-mode-hook exists and can do what both the
1619 old hooks used to do. The documentation at the top of the file
1620 was updated to demonstrate this.
1621 (highlight-changes-mode): Remove commented out call to a hook
1622 function that is no longer there.
1623 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1625 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
1627 * vc.el (vc-default-dired-state-info): Change name of primitive
1628 to prettify-state-info, in preparation for ripping out dired mode.
1629 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1630 to prettify-state-info, in preparation for ripping out dired mode.
1631 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1632 tries this on a version-controlled buffer. It will do useless or
1633 actively bad things on any version control system newer than RCS.
1634 * vc-hooks.el (vc-dired-resynch-file):
1635 * vc.el (vc-dired-resynch-file): Change name of primitive to
1636 vc-directory-resynch-file, preparing to remove dired.
1638 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
1640 * vc-rcs.el (vc-rcs-state): Fix typos.
1642 * vc.el (vc-register): Change argument order so that the prefix
1643 argument is assigned correctly.
1644 (vc-next-action, vc-dir-register): Update for the above change.
1646 2008-05-01 Juri Linkov <juri@jurta.org>
1648 * replace.el (occur-read-primary-args): Set default to the car of
1649 regexp-history and display it in the prompt, but don't add to the
1650 list of minibuffer defaults. Bind history-add-new-input to nil to
1651 not add automatically `default'. For empty input return `default'.
1652 Otherwise, add `input' to regexp-history and return it.
1653 (occur-1): Signal an error for the empty regexp.
1655 * progmodes/compile.el (compilation-auto-jump):
1656 Set window point to `pos' explicitly.
1658 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
1660 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1662 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1663 we report the 'unregistered state reliably.
1664 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1665 we report the 'unregistered state reliably.
1666 * vc-git.el (vc-git-state): Call vc-git-unregistered so
1667 we report the 'unregistered state reliably.
1668 * vc-hooks (vc-state): Document that vc-unregistered is
1669 now expected to be returned reliably.
1670 * vc.el (vc-default-dired-state): Change needs-patch state to
1671 needs-update, since the name now shows up in dir-status listings
1672 and was somewhat misleading.
1673 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1674 immediately after removing the file.
1675 * vc.el (vc-next-action): More informative messages when a fileset
1676 is in a mixed state or files are missing.
1678 2008-05-01 Sam Steingold <sds@gnu.org>
1680 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1682 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1686 2008-05-01 Daiki Ueno <ueno@unixuser.org>
1688 * epa-file-hook.el: New file split from epa-file.el.
1689 * epa-file.el: Require 'epa-file-hook.
1690 (epa-file-handler): Add autoload cookie.
1691 * loadup.el: Load epa-file-hook.
1692 * startup.el (command-line): Eval the body of auto-encryption-mode.
1694 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
1696 * vc.el (vc-dir-mode-map): Don't bind "r".
1698 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1699 (vc-hg-status-printer): New function.
1700 (vc-hg-after-dir-status): Deal with copied and renamed files.
1701 (vc-hg-dir-status): Add flag to show copied files.
1703 2008-05-01 John Paul Wallington <jpw@pobox.com>
1705 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1706 (ibuffer-do-sort-by-recency): Reverse sorting order if last
1707 sorting mode was recency.
1709 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1710 reverse sorting order if last sorting mode was the sorter's.
1712 2008-05-01 Jason Rumney <jasonr@gnu.org>
1714 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1716 2008-04-30 John Paul Wallington <jpw@pobox.com>
1718 * ibuffer.el (define-ibuffer-column filename): When the major mode
1719 is `vc-dir-mode' show the buffer's default directory.
1721 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1722 major mode is `vc-dir-mode' use the buffer's default directory.
1724 2008-04-30 Sam Steingold <sds@gnu.org>
1726 * vc.el (vc-dir-delete-file): Add.
1727 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1728 (vc-delete-file): Do not barf when the file has been already deleted.
1730 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1732 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1734 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * progmodes/octave-mod.el (octave-help): New function.
1737 * progmodes/octave-hlp.el: Delete.
1738 * info-look.el (octave-mode): Add operator index.
1740 * vc.el (vc-checkout): Typo.
1742 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
1744 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1745 Add "..." in the appropriate places.
1747 * epa.el (epa-key-list-mode-map): Add more menu entries.
1748 Add "..." in the appropriate places.
1750 * dired.el (dired-mode-map): Add :help.
1752 * vc.el (vc-deduce-fileset): Add new parameter.
1753 (vc-dir-marked-only-files): New function.
1754 (vc-next-action): Don't ignore directories, look at the files
1756 (vc-dir-mode): Document how the mark/unmark commands work.
1758 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1761 Rule out trailing spaces in file and directory names as well.
1763 * minibuffer.el (completion--do-completion): Move point even if the
1764 completion makes no change.
1765 (completion-pcm-try-completion): Fix computation of new point.
1767 2008-04-30 David Hansen <david.hansen@gmx.net>
1769 * dired.el: Require 'cl.
1771 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
1773 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1774 hollow if not in innermost frame.
1776 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1778 Make `checkout-model' apply to filesets.
1779 * vc-hooks.el (vc-checkout-model): Rewrite.
1780 (vc-before-save, vc-after-save): Adjust callers accordingly.
1781 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1782 (vc-transfer-file): Adjust callers accordingly.
1783 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1784 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1785 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1786 instead of vc-checkout-model.
1787 * vc-mcvs.el (vc-mcvs-revert):
1788 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1789 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1790 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1791 * vc-svn.el (vc-svn-checkout-model):
1792 * vc-hg.el (vc-hg-checkout-model):
1793 * vc-git.el (vc-git-checkout-model):
1794 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1796 * dired.el (dired-read-dir-and-switches): Replace last change with
1797 a new approach that mixes read-file-name and read-directory-name.
1799 * files.el (read-buffer-to-switch):
1800 Avoid making assumptions about `other-buffer'.
1802 2008-04-29 Sam Steingold <sds@gnu.org>
1804 * vc.el (vc-dir-mode-hook): Add normal hook.
1805 (vc-dir-mode): Run it.
1807 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1809 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1810 Always split windows.
1811 (gdb-speedbar-timer-fn): Only raise frame after user input.
1812 (gdb-same-frame): Reverse initial value.
1813 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1815 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1816 gdb-speedbar-timer-fn.
1818 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1822 2008-04-29 Daiki Ueno <ueno@unixuser.org>
1824 * epa.el (epa-key-list-mode-map): Add menu.
1825 (epa-delete-keys, epa-import-keys): Fix typo.
1827 2008-04-29 Glenn Morris <rgm@gnu.org>
1829 * find-cmd.el (top-level): Does not need cl when compiling.
1831 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
1833 * find-cmd.el: New file.
1835 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1838 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1839 (completion-pcm--hilit-commonality): New function.
1840 (completion-pcm-all-completions): Use it.
1842 * minibuffer.el (completion-common-substring): Mark obsolete.
1843 (completions-first-difference, completions-common-part):
1844 Move from simple.el.
1845 (completion-hilit-commonality): New fun.
1846 (display-completion-list, completion-emacs21-all-completions)
1847 (completion-emacs22-all-completions): Use it.
1848 * simple.el (completions-first-difference, completions-common-part):
1849 Move to minibuffer.el.
1850 (choose-completion-string): Use field functions and minibufferp.
1851 (completion-setup-function): Don't set completions faces.
1853 2008-04-29 Glenn Morris <rgm@gnu.org>
1855 * calendar/calendar.el (calendar-nth-named-absday)
1856 (calendar-nth-named-day):
1857 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1858 * calendar/holidays.el (holiday-float): Doc fixes.
1860 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1863 * org/org-agenda.el (calendar-iso-from-absolute):
1864 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1867 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
1869 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1870 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1871 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1872 (gdb-assembler-custom): Be careful not to match other addresses.
1874 2008-04-29 Jason Rumney <jasonr@gnu.org>
1876 * battery.el (battery-status-function): Use w32-battery-status
1878 (battery-echo-area-format): Make apm format the general case.
1879 (battery-mode-line-format): Merge apm and pmset formats as the
1882 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
1884 * progmodes/gdb-ui.el (gdb-info-stack-custom):
1885 Use gud-tool-bar-item-visible-no-fringe.
1886 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1887 is already visible in frame. Remove optional size parameter
1888 and add optional frame parameter.
1890 * progmodes/gud.el (gud-display-line): Only consider visible
1891 frames when looking for source buffer.
1893 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
1895 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1896 argument to get-char-property, in case the current buffer hasn't
1897 been assigned to that window yet.
1898 (doc-view-display): Default to selected window if the current
1899 buffer hasn't been assigned to a window yet.
1901 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
1903 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1905 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
1907 * net/tramp.el (tramp-mode): New defcustom.
1908 (tramp-file-name-handler, tramp-completion-file-name-handler):
1910 (tramp-replace-environment-variables): Handle "$$".
1912 2008-04-28 Sam Steingold <sds@gnu.org>
1914 * vc-hg.el (vc-hg-rename-file): Fix argument order.
1916 2008-04-28 Bastien Guerry <bzg@altern.org>
1918 * whitespace.el (whitespace-trailing): Fix typo.
1920 2008-04-28 Sam Steingold <sds@gnu.org>
1922 * textmodes/remember.el (diary-make-entry): Update the autoload.
1924 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1929 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
1931 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1933 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
1935 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1936 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1937 (vc-dir-mark-file): Add an optional argument.
1938 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1940 2008-04-27 Daiki Ueno <ueno@unixuser.org>
1942 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1943 rather than obsolete alias find-file-hooks.
1944 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
1945 Use find-file-hook rather than obsolete alias find-file-hooks.
1946 Add to find-file-not-found-functions.
1947 (epa-file-handler): Put 'safe-magic and 'operations properties.
1949 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1950 (epa-menu-items): Remove.
1952 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1953 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1954 (epa-dired-mode, epa-global-dired-mode): Remove.
1956 * dired.el (dired-mode-map): Bind encryption/decryption commands.
1958 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1960 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1962 2008-04-27 Glenn Morris <rgm@gnu.org>
1964 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1965 Remove un-needed local `orig-list'. Replace cl `copy-list'.
1967 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
1969 * org/org.el (org-html-level-start): Always have id's in HTML.
1970 (org-export-as-html): Use `org-link-protocols' to
1971 retrieve the export form of the link.
1972 (org-add-link-type): Final parameter renamed from PUBLISH.
1973 Better documentation of how it is to be used. Avoid double entries for
1975 (org-add-link-props): New function.
1976 (org-modules-loaded): New variable.
1977 (org-load-modules-maybe, org-set-modules): New function.
1978 (org-modules): New option.
1979 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1980 (orgtbl-mode, org-store-link, org-insert-link-global)
1981 (org-open-at-point): Call `org-load-modules-maybe'.
1982 (org-search-view): Add more text properties.
1983 (org-agenda-schedule, org-agenda-deadline): Allow also in
1984 search-type agendas.
1985 (org-search-view): Order of arguments has been changed.
1986 Interpret prefix-arg as TODO-ONLY.
1987 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1988 Take new argument order of `org-search-view' into account.
1989 (org-todo-only): New variable.
1990 (org-search-syntax-table): New variable and function.
1991 (org-search-view): Do the search with the special syntax table.
1992 (define-obsolete-function-alias): Make work with XEmacs.
1993 (org-add-planning-info): Use old date as default when modifying an
1994 existing deadline or scheduled item.
1995 (org-agenda-compute-time-span): Make argument N optional.
1996 (org-agenda-format-date-aligned): Require `cal-iso'.
1997 (org-agenda-list): Include week into agenda heading, don't
1998 list it at each date (only on Mondays).
1999 (org-read-date-analyze): Define local variable `iso-date'.
2000 (org-agenda-format-date-aligned): Remove dependency on
2001 `calendar-time-from-absolute'.
2002 (org-remember-apply-template, org-go-to-remember-target):
2003 Interpret filenames relative to `org-directory'.
2004 (org-complete): Silently fail when trying to complete
2005 keywords that don't have a default value.
2006 (org-get-current-options): Add a #+DATE: option.
2007 (org-additional-option-like-keywords): Remove "DATE:" from the
2008 list of additional keywords.
2009 (org-export-as-html): Remove (current-time) as unnecessary second
2010 argument of `format-time-string'.
2011 (org-clock-find-position): Handle special case at end of buffer.
2012 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
2013 `org-agenda-change-time-span'.
2014 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
2015 `org-agenda-change-time-span'.
2016 (org-agenda-month-view): New argument MONTH, pass it on to
2017 `org-agenda-change-time-span'.
2018 (org-agenda-year-view): New argument YEAR, pass it on to
2019 `org-agenda-change-time-span'.
2020 (org-agenda-change-time-span): New optional argument N, pass it on
2021 to `org-agenda-compute-time-span'.
2022 (org-agenda-compute-time-span): New argument N, interpret it by
2023 changing the starting day.
2024 (org-small-year-to-year): New function.
2025 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
2026 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
2027 into the future, and that the shift is at least one interval, never 0.
2028 (org-update-checkbox-count): Fix bug with checkbox counting.
2029 (org-add-note): New command.
2030 (org-add-log-setup): Rename from `org-add-log-maybe'.
2031 (org-log-note-headings): New entry for plain notes (i.e. notes not
2032 related to state changes or clocking).
2033 (org-get-org-file): Check for availability of `remember-data-file'.
2034 (org-cached-entry-get): Allow a regexp value for
2035 `org-use-property-inheritance'.
2036 (org-use-property-inheritance): Allow regexp value. Fix bug in
2038 (org-use-tag-inheritance): Allow a list and a regexp value for
2040 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
2041 (org-entry-get): Respect value `selective' for the INHERIT argument.
2042 (org-tag-inherit-p, org-property-inherit-p): New functions.
2043 (org-agenda-format-date-aligned): Allow 10 characters for
2044 weekday, to acomodate German locale.
2045 (org-add-archive-files): New function.
2046 (org-agenda-files): New argument `ext', to get archive files as well.
2047 (org-tbl-menu): Protect the use of variables that
2048 are only available when org-table.el gets loaded.
2049 (org-read-agenda-file-list): Error if `org-agenda-files' is a
2051 (org-open-file): Allow a batch process to trigger
2052 waiting after executing a system command.
2053 (org-store-link): Link to headline when there is not
2054 target and no region in an org-mode buffer when creating a link.
2055 (org-link-types-re): New variable.
2056 (org-make-link-regexps): Compute `org-link-types-re'.
2057 (org-make-link-description-function): New option.
2058 (org-agenda-date, org-agenda-date-weekend): New faces.
2059 (org-archive-sibling-heading): New option.
2060 (org-archive-to-archive-sibling): New function.
2061 (org-iswitchb): New command.
2062 (org-buffer-list): New function.
2063 (org-agenda-columns): Also try the #+COLUMNS line in
2064 the buffer associated with the entry at point (or with the first
2065 entry in the agenda view).
2066 (org-modules): Add entry for org-bibtex.el.
2067 (org-completion-fallback-command): Move into `org-completion' group.
2068 (org-clock-heading-function): Move to `org-progress' group.
2069 (org-auto-repeat-maybe): Make sure that a note can
2070 be enforces if `org-log-repeat' is `note'.
2071 (org-modules): Allow additional symbols for external packages.
2072 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
2073 (org-clock-goto): Hide drawers after showing an
2074 entry with `org-clock-goto.'
2075 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
2076 Try also a clocktable block shift.
2077 (org-clocktable-try-shift): New function.
2078 (org-columns-hscoll-title): New function.
2079 (org-columns-previous-hscroll): New variable.
2080 (org-columns-full-header-line-format): New variable.
2081 (org-columns-display-here-title, org-columns-remove-overlays):
2082 Install `org-columns-hscoll-title' in post-command-hook.
2084 * org/org.el: Split into many small files.
2086 * org/org-agenda.el: New file, split off from org.el.
2088 * org/org-archive.el: New file, split off from org.el.
2090 * org/org-bbdb.el: New file.
2092 * org/org-bibtex.el: New file, split off from org.el.
2094 * org/org-clock.el: New file, split off from org.el.
2096 * org/org-colview.el: New file, split off from org.el.
2098 * org/org-compat.el: New file, split off from org.el.
2100 * org/org-exp.el: New file, split off from org.el.
2102 * org/org-faces.el: New file, split off from org.el.
2104 * org/org-gnus.el: New file, split off from org.el.
2106 * org/org-info.el: New file, split off from org.el.
2108 * org/org-infojs.el: New file.
2110 * org/org-irc.el: New file.
2112 * org/org-macs.el: New file, split off from org.el.
2114 * org/org-mew.el: New file.
2116 * org/org-mhe.el: New file, split off from org.el.
2118 * org/org-publish.el: New file, split off from org.el.
2120 * org/org-remember.el: New file, split off from org.el.
2122 * org/org-rmail.el: New file, split off from org.el.
2124 * org/org-table.el: New file, split off from org.el.
2126 * org/org-vm.el: New file, split off from org.el.
2128 * org/org-wl.el: New file, split off from org.el.
2130 2008-04-27 Jason Riedy <jason@acm.org>
2132 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
2133 parameter that supresses lines that evaluate to NIL.
2134 (orgtbl-get-fmt): New inline function for
2135 picking apart formats that may be lists.
2136 (orgtbl-apply-fmt): New inline function for applying formats that
2138 (orgtbl-eval-str): New inline function for strings that may be
2140 (orgtbl-format-line, orgtbl-to-generic): Use and document.
2141 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
2142 (*orgtbl-llfmt*, *orgtbl-llstart*)
2143 (*orgtbl-llend*): Dynamic variables for last-line formatting.
2144 (orgtbl-format-section): Shift formatting to support detecting the
2145 last line and formatting it specially.
2146 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
2147 formats unless overridden.
2148 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
2149 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
2150 bound variables to hold the input collection of lines and output
2152 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
2153 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
2155 (orgtbl-format-line): New function encapsulating formatting for a
2157 (orgtbl-format-section): Similar for each section. Rebinding the
2158 dynamic vars customizes the formatting for each section.
2159 (orgtbl-to-generic): Use orgtbl-format-line and
2160 orgtbl-format-section.
2161 (org-get-param): Now unused, so delete.
2162 (orgtbl-gather-send-defs): New function to
2163 gather all the SEND definitions before a table.
2164 (orgtbl-send-replace-tbl): New function to find the RECEIVE
2165 corresponding to the current name.
2166 (orgtbl-send-table): Use the previous two functions and implement
2167 multiple destinations for each table.
2169 * doc/org.texi (A LaTeX example): Note that fmt may be a
2170 one-argument function, and efmt may be a two-argument function.
2171 (Radio tables): Document multiple destinations.
2173 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
2175 * org/org-agenda.el (org-add-to-diary-list): New function.
2176 (org-prefix-has-effort): New variable.
2177 (org-sort-agenda-noeffort-is-high): New option.
2178 (org-agenda-columns-show-summaries)
2179 (org-agenda-columns-compute-summary-properties): New options.
2180 (org-format-agenda-item): Compute the duration of the item.
2181 (org-agenda-weekend-days): New variable.
2182 (org-agenda-list, org-timeline): Use the proper faces for dates in
2183 the agenda and timeline buffers.
2184 (org-agenda-archive-to-archive-sibling): New command.
2185 (org-agenda-start-with-clockreport-mode): New option.
2186 (org-agenda-clockreport-parameter-plist): New option.
2187 (org-agenda-clocktable-mode): New variable.
2188 (org-agenda-deadline-leaders): Allow a function value for the
2190 (org-agenda-get-deadlines): Deal with new function value.
2192 * lisp/org-clock.el (org-clock): New customization group.
2193 (org-clock-into-drawer, org-clock-out-when-done)
2194 (org-clock-in-switch-to-state, org-clock-heading-function):
2195 Move into the new group.
2196 (org-clock-out-remove-zero-time-clocks): New option.
2197 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
2198 (org-dblock-write:clocktable): Allow a Lisp form for the scope
2200 (org-dblock-write:clocktable): Fix bug with total time calculation.
2201 (org-dblock-write:clocktable): Request the unrestricted list of files.
2202 (org-get-clocktable): New function.
2203 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
2204 be strings but also integers (an absolute day number) and lists (m d y).
2206 * org/org-colview.el (org-columns-next-allowed-value)
2207 (org-columns-edit-value): Limit the effort for updating in the
2208 agenda to recomputing a single file.
2209 (org-columns-compute): Only write property value if it has changed.
2210 This avoids raising the buffer-change-flag unnecessarily.
2211 (org-agenda-colview-summarize)
2212 (org-agenda-colview-compute): New functions.
2213 (org-agenda-columns): Call `org-agenda-colview-summarize'.
2215 * org/org-exp.el (org-export-run-in-background): New option.
2216 (org-export-icalendar): Allow a batch process to trigger waiting
2217 after executing a system command.
2218 (org-export-preprocess-string): Rename from
2219 `org-cleaned-string-for-export'.
2220 (org-export-html-style): Made target class look like normal text.
2221 (org-export-as-html): Make use of the better proprocessing in
2222 `org-cleaned-string-for-export'.
2223 (org-cleaned-string-for-export): Better treatment of heuristic
2224 targets, many more internal links will now work in HTML export.
2225 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2226 (org-export-inbuffer-options-extra): New variable.
2227 (org-export-options-filters): New hook.
2228 (org-infile-export-plist): Find also the settings keywords in
2229 `org-export-inbuffer-options-extra'.
2230 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2231 multiple #+INFOJS_OPT lines.
2232 (org-export-html-handle-js-options): New function.
2233 (org-export-html-infojs-setup): New option.
2234 (org-export-as-html): Call `org-export-html-handle-js-options'.
2235 Add autoload to all entry points.
2236 (org-skip-comments): Function removed.
2238 * org/org-table.el (org-table-make-reference): Extra parenthesis
2239 around single fields, to make sure that algebraic formulas get
2240 correctly interpreted by calc.
2241 (org-table-current-column): No longer interactive.
2243 * org/org-export-latex.el (org-export-latex-preprocess):
2244 Rename from `org-export-latex-cleaned-string'.
2246 2008-04-27 Bastien Guerry <bzg@altern.org>
2248 * org/org-publish.el (org-publish-get-base-files-1): New function.
2249 (org-publish-get-base-files): Use it.
2250 (org-publish-temp-files): New variable.
2251 Don't require 'dired-aux anymore.
2252 (org-publish-initial-buffer): New variable.
2253 (org-publish-org-to, org-publish): Use it.
2254 (org-publish-get-base-files-1): Bug fix: get
2255 the proper list of files when recursing thru a directory.
2256 (org-publish-get-base-files): Use the :exclude property to skip
2257 both files and directories.
2259 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2261 * net/tramp.el (tramp-handle-make-symbolic-link)
2262 (tramp-handle-file-name-directory)
2263 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2264 (tramp-do-copy-or-rename-file-directly)
2265 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2266 (tramp-handle-substitute-in-file-name)
2267 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2268 * net/tramp-cache.el (tramp-get-file-property)
2269 (tramp-set-file-property, tramp-flush-file-property)
2270 (tramp-flush-directory-property)
2271 * net/tramp-compat.el (tramp-compat-make-temp-file)
2272 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2273 Disable `file-name-handler-alist' when handling localname.
2274 It could have a remote file syntax, like a VMS file name.
2276 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2278 * whitespace.el: New version 11.1.
2279 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2280 enclosed by \\( and \\)$. Docstring fix.
2281 (whitespace-trailing-regexp): Fun removed.
2282 (whitespace-report-list): Const initialization fix.
2283 (whitespace-color-on): Code fix.
2285 2008-04-27 Andreas Schwab <schwab@suse.de>
2287 * Makefile.el: Unbreak bootstrap.
2289 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
2291 * net/tramp.el (tramp-replace-environment-variables): New defun.
2292 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2295 2008-04-27 Glenn Morris <rgm@gnu.org>
2297 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2299 * calculator.el (calculator-expt): Replace cl function `oddp'.
2301 2008-04-27 Johan Bockgård <bojohan@gnu.org>
2303 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2304 Simplify. Collect `defun' and `autoload' entries.
2305 Avoid modifying load-history.
2307 2008-04-26 Glenn Morris <rgm@gnu.org>
2309 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2311 * simple.el (quoted-insert, zap-to-char): Revert previous change.
2313 2008-04-26 John Paul Wallington <jpw@pobox.com>
2315 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2316 `hexl-mode-old-eldoc-documentation-function'.
2317 (hexl-mode-exit): Restore it.
2318 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2320 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2322 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
2324 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2325 (completion-pcm--all-completions): Doc fix.
2326 (completion-styles-alist, completion-all-completions):
2327 Fix typos in docstrings.
2329 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2331 * whitespace.el: There is now only one variable (whitespace-style) to
2332 specify which kind of blank is visualized. Doc and docstring fix.
2334 (whitespace-style): New option, replace whitespace-style-mark and
2335 whitespace-style-color.
2336 (whitespace-style-mark, whitespace-style-color): Options removed.
2337 (whitespace-hspace, whitespace-tab, whitespace-newline)
2338 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2339 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2340 (whitespace-hspace-regexp, whitespace-space-regexp)
2341 (whitespace-tab-regexp, whitespace-trailing-regexp)
2342 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2343 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2344 (whitespace-space-after-tab-regexp, whitespace-line-column)
2345 (whitespace-display-mappings, whitespace-report): Docstring fix.
2346 (whitespace-color-value-list, whitespace-mark-value-list)
2347 (whitespace-active-color, whitespace-active-mark)
2348 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2349 (whitespace-style-value-list, whitespace-active-style)
2350 (whitespace-toggle-style): New vars.
2351 (whitespace-toggle-option-alist, whitespace-help-text):
2352 Var initialization and docstring fix.
2353 (whitespace-toggle-options, global-whitespace-toggle-options)
2354 (whitespace-cleanup, whitespace-cleanup-region)
2355 (whitespace-report-region, whitespace-interactive-char)
2356 (whitespace-toggle-list): Docstring and code fix.
2357 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2358 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2359 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2360 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2362 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2365 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2366 (diff-sanity-check-hunk): Adjust code accordingly.
2368 2008-04-26 Glenn Morris <rgm@gnu.org>
2370 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2372 * forms-d2.dat: Move to ../etc.
2373 * forms-d2.el (forms-file): Adapt for above change.
2375 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2376 `translation-table-for-input'.
2378 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2379 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2381 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2382 to punctuation now it's not needed for abbrevs.
2383 (fortran-mode-abbrev-table): Remove defvar, make use of new
2384 define-abbrev-table :regexp feature.
2386 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2387 insert, now that translation-table-for-input is not needed.
2389 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
2391 * emacs-lisp/pp.el (pp-display-expression): New function,
2392 extracted from pp-eval-expression.
2393 (pp-eval-expression): Use pp-display-expression.
2394 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2395 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2396 (pp-eval-last-sexp): Use pp-last-sexp.
2398 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * abbrev.el (define-abbrev-table): Apply props even if the table
2403 * minibuffer.el (completion-table-with-context): Fix `pred' for the
2404 various kinds of completion tables.
2405 (completion-emacs22-try-completion): Place cursor after the /, as was
2406 done in Emacs-22's minibuffer-complete-word.
2407 Fix bug reported by David Hansen <david.hansen@gmx.net>.
2408 (completion-emacs22-try-completion): Merge all mergable text rather
2410 (completion-pcm--delim-wild-regex): New var.
2411 (completion-pcm-word-delimiters): New custom.
2412 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2413 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2414 (completion-pcm--all-completions, completion-pcm-all-completions)
2415 (completion-pcm--merge-completions, completion-pcm--pattern->string)
2416 (completion-pcm-try-completion): New functions.
2417 (completion-styles-alist): Add them.
2418 (completion-styles): Add it to the default.
2420 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
2422 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2423 (gdb-var-create-handler): ...until here when there are values.
2424 (gdb-post-prompt): Don't do -var-update with no watch expressions.
2425 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2427 2008-04-25 Eli Zaretskii <eliz@gnu.org>
2429 * ls-lisp.el (ls-lisp-format): Fix last change.
2430 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2431 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2432 (ls-lisp-filesize-f-fmt): New defvars.
2433 (ls-lisp-insert-directory): Dynamically compute format specifiers
2434 for displaying UID, GID, and file size, and store them in the
2436 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2437 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2438 instead of constant format strings.
2439 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2440 ls-lisp-filesize-d-fmt instead of constant format strings.
2442 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
2444 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2445 value of addresses rather than (partial) string value.
2446 (gdb-frame-handler): Change regexp according to above change.
2447 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2448 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2449 (gdb-assembler-mode): Disable undo in these buffers.
2451 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
2453 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2454 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2456 2008-04-24 Sam Steingold <sds@gnu.org>
2458 * textmodes/remember.el (remember-diary-extract-entries): Use
2459 diary-make-entry instead of the obsolete make-diary-entry.
2461 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2463 * subr.el (translation-table-for-input): Mark as obsolete.
2465 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2467 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2469 * textmodes/ispell.el (ispell-dictionary-alist-1)
2470 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2471 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2472 (ispell-dictionary-alist-6): Remove.
2473 (ispell-dictionary-base-alist): New var, merges the above.
2474 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2476 (ispell-dictionary-alist): Default to nil. Remove autoload.
2477 (ispell-local-dictionary-alist): Remove autoload.
2479 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2480 (f90-mode-abbrev-table): Use the new :regexp feature.
2481 Merge defvar and mapc into define-abbrev-table.
2482 (f90-imenu-type-matcher): Remove unused `l'.
2483 (f90-imenu-generic-expression): Remove unused `not-ib'.
2484 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2485 (f90-change-keywords): Use restore-buffer-modified-p.
2487 2008-04-24 Glenn Morris <rgm@gnu.org>
2489 * net/goto-addr.el (goto-address-prog-mode):
2490 * progmodes/bug-reference.el (bug-reference-prog-mode):
2491 Define for compiler.
2493 * minibuffer.el (x-file-dialog): Declare as function.
2495 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2496 dframe-update-speed rather than obsolete alias speedbar-update-speed.
2498 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2499 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2500 work with easymenu. Add :keys where needed.
2502 * calendar/cal-move.el (calendar-scroll-left): Handle case when
2505 * calendar/calendar.el (calendar-mode-map): Fix typo.
2507 2008-04-24 Tom Tromey <tromey@redhat.com>
2509 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2510 Document keywords. Add :suppress.
2511 * pcvs-defs.el (cvs-mode-map): Use :suppress.
2513 * net/goto-addr.el (goto-address-unfontify): New function.
2514 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
2515 (goto-address-fontify-region, goto-address-mode)
2516 (goto-address-prog-mode): New functions.
2518 * progmodes/bug-reference.el: New file.
2520 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2522 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2524 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2527 macros within lambdas.
2529 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * minibuffer.el (completion-try-completion): Add `point' argument.
2532 Change return value.
2533 (completion-all-completions): Add `point' argument.
2534 (minibuffer-completion-help): Pass the new `point' argument.
2535 (completion--do-completion): Pass the whole field to try-completion.
2536 (completion--try-word-completion): Rewrite, making fewer assumptions.
2537 (completion-emacs21-try-completion, completion-emacs21-all-completions)
2538 (completion-emacs22-try-completion, completion-emacs22-all-completions)
2539 (completion-basic-try-completion, completion-basic-all-completions):
2541 (completion-styles-alist): Use them.
2543 2008-04-23 Agustin Martin <agustin.martin@hispalinux.es>
2545 * ispell.el (ispell-set-spellchecker-params): New function to make sure
2546 right params and dictionary alists are used after spellchecker changes.
2547 (ispell-aspell-dictionary-alist, ispell-last-program-name)
2548 (ispell-initialize-spellchecker-hook): New variables and hook.
2549 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2550 (ispell-maybe-find-aspell-dictionaries): Remove.
2551 Calls replaced by (ispell-set-spellchecker-params) calls.
2552 (ispell-have-aspell-dictionaries): Remove.
2553 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2554 ispell-set-spellchecker-params.
2556 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * complete.el (PC-do-completion): Be more robust in the presence of
2559 unexpected values in minibuffer-completion-predicate.
2561 * minibuffer.el (read-file-name): Don't let-bind default-directory.
2562 Only abbreviate default-filename if it's a file.
2564 * minibuffer.el (read-file-name-function, read-file-name-predicate)
2565 (read-file-name-completion-ignore-case, insert-default-directory):
2566 New vars, moved from fileio.c.
2567 (read-file-name): New fun, moved from fileio.c.
2568 * cus-start.el: Remove insert-default-directory and
2569 read-file-name-completion-ignore-case.
2571 2008-04-23 Magnus Henoch <mange@freemail.hu>
2573 * tar-mode.el (tar-untar-buffer): If the entry has directory
2574 link type, extract it as a directory even if its file name doesn't
2575 end with a slash. Fixes extraction of NetBSD tar archives.
2577 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * server.el (server-start): Also don't get confused by CRs since we
2582 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2584 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2585 (gdb-set-gud-minor-mode-existing-buffers)
2586 (gdb-info-breakpoints-custom, gdb-get-location)
2587 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2588 Previously gdb-create-define-alist wasn't always run and added to
2591 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2593 2008-04-23 Kevin Ryde <user42@zip.com.au>
2595 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2596 comments like unindented ones.
2598 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2600 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2603 2008-04-23 Kevin Ryde <user42@zip.com.au>
2605 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2606 Bind print-level to ensure output forms aren't truncated if
2607 print-level is set to eval-expression-print-level when going via
2608 eval-defun and friends, or has been otherwise fiddled with.
2610 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * progmodes/cc-mode.el (c-basic-common-init): Don't set
2613 font-lock-extend-after-change-region-function globally.
2615 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
2617 * speedbar.el (speedbar-use-tool-tips-flag)
2618 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2619 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2620 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2621 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2622 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2623 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2624 (speedbar-separator-face): Fix typos in docstrings.
2625 (speedbar-stealthy-function-list, speedbar-verbosity-level)
2626 (speedbar-supported-extension-expressions, speedbar-update-current-file)
2627 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2628 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2629 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2630 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2631 (speedbar-check-vc-this-line, speedbar-files-line-directory)
2632 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2633 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2634 (speedbar-recenter): Doc fixes.
2635 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2636 declaration and remove redundant info in docstring.
2638 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
2640 * vc-git.el (vc-git-status-printer): Deal with directories.
2642 * vc.el (vc-next-action): Look at more than the first file to
2643 determine the state.
2645 2008-04-23 Glenn Morris <rgm@gnu.org>
2647 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2649 (dframe-update-speed): Drop support for XEmacs < 20.
2650 (dframe-frame-mode): Drop support for Emacs < 20.
2651 (dframe-set-timer-internal): Drop support for Emacs without timers.
2652 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2654 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2655 versions. Add doc-string. Mark as obsolete.
2657 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2659 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2660 rather than using an Emacs version test.
2662 * tree-widget.el (tree-widget-image-enable): Use display-images-p
2663 rather than an Emacs version test.
2665 * calendar/cal-china.el (holiday-chinese-qingming)
2666 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2667 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2668 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2670 * calendar/cal-islam.el (holiday-islamic): Doc fix.
2672 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2673 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2674 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2676 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
2678 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2679 (gdb-previous-frame-pc-address): ...to this.
2680 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2681 of "info frame" with Gdb 6.4+.
2682 (gdb-stack-list-frames-regexp): New regexp.
2683 (gdb-frame-handler-1): Parse output of -stack-info-frame.
2685 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
2687 * tar-mode.el (tar-prefix-offset): New constant.
2688 (tar-header-block-tokenize): Support paths with long names
2689 which use the "ustar" standard.
2691 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
2693 * image-dired.el (image-dired-track-original-file)
2694 (image-dired-modify-mark-on-thumb-original-file):
2695 Use `dired-goto-file' instead of `search-forward'. This solves
2696 a bug with finding files where the file name is a subset of other
2697 file names. Doc fix.
2699 2008-04-22 Juri Linkov <juri@jurta.org>
2701 * menu-bar.el (buffers-menu-max-size): Move its definition down to
2702 the "Buffers Menu" section. Change group name `mouse' to `menu'.
2703 (yank-menu-length): Change group name `mouse' to `menu'.
2704 (buffers-menu-buffer-name-length): New user option.
2705 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2706 instead of the hard-coded number 27.
2708 2008-04-22 Juri Linkov <juri@jurta.org>
2710 * isearch.el (eval-when-compile): Require `help-macro'.
2711 (isearch-help-for-help-internal): Isearch specific Help screen
2712 created by `make-help-screen'.
2713 (isearch-help-map): New variable that binds "b", "k", "m" to
2714 isearch-specific commands, and binds other keys to
2715 isearch-other-control-char, thus allowing other Help keys to
2716 exit isearch mode and execute their global definitions.
2717 (isearch-help-for-help, isearch-describe-bindings)
2718 (isearch-describe-key, isearch-describe-mode): New commands.
2719 (isearch-mode-help): Define alias to isearch-describe-mode
2720 and remove its old function definition.
2721 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2722 Remove old comments because this issue is settled now.
2723 (isearch-forward): Describe three new Help commands in the docstring.
2724 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2725 leave the single sentence at the first line of the docstring,
2726 and prepend the word "function" before `isearch-forward'
2727 to make the Help link to the function instead of variable.
2729 2008-04-22 Juri Linkov <juri@jurta.org>
2731 * isearch.el (isearch-success-function): New variable with default
2732 to `isearch-success-function-default'.
2733 (isearch-search): Call a function from `isearch-success-function'
2734 instead of calling the hard-coded `isearch-range-invisible'.
2735 (isearch-success-function-default): New function that calls
2736 `isearch-range-invisible' and inverts its return value.
2738 * info.el (Info-search): In two similar places that skip
2739 undesired search matches move code to Info-search-success-function,
2740 and call `isearch-success-function' instead.
2741 (Info-search-success-function): New function copied from code
2742 in Info-search. Replace isearch-range-invisible with
2743 text-property-not-all that checks for 'invisible and 'display
2744 properties to skip partially invisible matches (whose display
2745 properties were set by Info-fontify-node).
2746 (Info-mode): Set buffer-local isearch-success-function
2747 to Info-search-success-function.
2749 2008-04-22 Juri Linkov <juri@jurta.org>
2751 * minibuffer.el (internal-complete-buffer-except): New function.
2753 * files.el (read-buffer-to-switch): New function.
2754 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2755 Change interactive spec to call read-buffer-to-switch instead of
2756 using the letter "B".
2758 * simple.el (minibuffer-default-add-shell-commands): New function.
2759 Use declare-function for mailcap-file-default-commands from "mailcap".
2760 (shell-command): Set local minibuffer-default-add-function to
2761 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2762 before calling read-shell-command. Set 4th arg default-value of
2763 read-shell-command to relative buffer-file-name in file buffers.
2765 * dired-aux.el (dired-read-shell-command-default): Move it to
2766 gnus/mailcap.el and change its name to more general name
2767 mailcap-file-default-commands.
2768 (minibuffer-default-add-dired-shell-commands): New function.
2769 Use declare-function for mailcap-file-default-commands from "mailcap".
2770 (dired-read-shell-command): Set local minibuffer-default-add-function
2771 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2772 before calling read-shell-command. Remove dired-read-shell-command-default
2773 from the default value arg because default values are not set in
2774 minibuffer-default-add-dired-shell-commands. Doc fix.
2776 * dired-x.el (dired-smart-shell-command): Sync arguments and
2777 interactive spec with changes in `shell-command'.
2778 Use dired-get-filename to get the dired file name at point
2779 as the default value in dired mode.
2781 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2783 * info.el (Info-complete-menu-item): Add missing parenthesis.
2785 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2787 * info.el (Info-complete-menu-item): Save point.
2789 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
2791 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2793 2008-04-22 Andreas Schwab <schwab@suse.de>
2795 * Makefile.in (emacs-deps): Define.
2796 Use it instead of $(lisp)/subdirs.el.
2798 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
2800 * vc.el (vc-next-action): Do not consider directories when
2801 checking for state compatibility.
2802 (vc-transfer-file): Use when not if.
2803 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2804 (vc-dir-mark-file): Use them.
2805 (vc-deduce-fileset): Also return the backend.
2806 (vc-diff-internal): Take as argument the value returned by
2807 vc-deduce-fileset instead of just the fileset.
2808 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2809 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2810 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2812 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
2814 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2815 set-window-vscroll but image-scroll-down. Fixes a bug where a
2816 command following SPC scrolled up again.
2818 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
2820 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2821 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2822 (gud-watch): Add "$" prefix when in registers buffer.
2824 2008-04-22 Glenn Morris <rgm@gnu.org>
2826 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2828 * whitespace.el (whitespace-display-table)
2829 (whitespace-display-table-was-local): Move definitions before use.
2831 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2832 (copyright-limit): Respect copyright-at-end-flag.
2833 (copyright-re-search, copyright-start-point)
2834 (copyright-offset-too-large-p): New functions.
2835 (copyright-update-year): Use copyright-re-search.
2836 (copyright-update, copyright-fix-years): Use copyright-start-point,
2837 and copyright-re-search.
2838 (copyright): Use copyright-offset-too-large-p.
2839 * add-log.el (change-log-mode): Set copyright-at-end-flag.
2841 * add-log.el (top-level): Require 'cl when compiling.
2843 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2846 Treat minibuffer-completion-predicate as a predicate.
2848 * minibuffer.el (completion--file-name-table): Accept both the old
2849 `dir' arg or the new `pred' arg.
2851 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2852 `predicate' argument to pass non-predicate data.
2853 (ffap-read-url-internal, ffap-read-file-or-url-internal):
2854 Use second arg as proper predicate.
2856 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2857 (vc-bzr-revision-completion-table): Use completion-table-with-context
2860 * simple.el (choose-completion-string): Use minibuffer-completion-table.
2862 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
2864 * term.el (term-emulate-terminal): Perform redisplay after the
2865 process filter has finished running.
2867 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2869 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2871 * minibuffer.el (completion-try-completion): Change magic symbol
2872 property name. Rename from minibuffer-try-completion.
2873 (completion-all-completions): Rename from minibuffer-all-completions.
2874 Remove hide-spaces argument.
2875 (completion--do-completion): Rename from minibuffer--do-completion.
2876 (minibuffer-complete-and-exit): Call just try-completion rather than
2877 completion-try-completion to fix up the case.
2878 (completion--try-word-completion): Try to add space or hyphen before
2879 making `string' a prefix of `completion'.
2880 (completion--insert-strings): Rename from minibuffer--insert-strings.
2882 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
2884 * net/tls.el (tls-program): Add -ign_eof argument to call the
2886 (tls-checktrust): Ditto.
2888 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
2890 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2892 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2893 (vc-check-master-templates, vc-file-not-found-hook)
2894 (vc-kill-buffer-hook):
2895 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2896 (vc-find-position-by-context, vc-buffer-context)
2897 (vc-restore-buffer-context, vc-responsible-backend)
2898 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2899 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2900 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2901 (vc-version-diff, vc-diff, vc-insert-headers)
2902 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2903 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2904 (vc-revert, vc-rollback, vc-version-backup-file)
2905 (vc-rename-master, vc-delete-file, vc-rename-file)
2906 (vc-branch-part, vc-default-retrieve-snapshot)
2907 (vc-annotate-display-autoscale, vc-annotate-display-select)
2908 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2909 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2910 (vc-dir-update): Handle directories.
2911 (vc-default-status-printer): Simplify.
2913 * progmodes/asm-mode.el (asm-mode-map):
2914 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2916 * progmodes/m4-mode.el (m4-mode-map): Add menu.
2918 2008-04-21 Kenichi Handa <handa@m17n.org>
2920 * select.el (xselect-convert-to-string): Send a C_STRING only if
2921 the polymorphic target TEXT is requested.
2923 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
2925 * minibuffer.el (completion-setup-hook, display-completion-list)
2926 (completion--file-name-table): Fix typos in docstrings.
2927 (completion-table-dynamic): Fix typo, and reflow docstring.
2929 2008-04-20 Andreas Schwab <schwab@suse.de>
2931 * server.el (server-switch-buffer): Also consider clients in the
2934 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2936 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2937 Select window clicked on first.
2938 (gdb): Display thread number in mode-line.
2939 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2940 (gdb-breakpoints-header): New variable.
2941 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2943 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
2946 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2947 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2948 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2949 (vc-sccs-print-log): Use it.
2951 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2953 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2954 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2956 * tooltip.el (tooltip-previous-message): New var.
2957 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2958 the C code (avoid overwriting a minibuffer, restore previous echo
2960 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2963 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
2965 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2966 (gdb-init-1): Initialise it.
2967 (gdb-annotation-rules): New entry for "new-thread".
2968 (gdb-thread-identification): New function to customize
2969 mode-line-buffer-identification.
2970 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2971 (gdb-assembler-mode): Use it.
2972 (gdb-threads-mode): Force "info threads" onto queue.
2974 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * files.el (locate-file-completion-table): Rename from
2977 locate-file-completion and make it use `pred' in the normal way.
2978 (locate-file-completion): New compatibility wrapper.
2979 (load-library): Use locate-file-completion-table.
2980 * finder.el (finder-commentary):
2981 * subr.el (locate-library):
2982 * emacs-lisp/find-func.el (find-library): Likewise.
2983 * info.el: Use with-current-buffer and inhibit-read-only.
2984 (Info-read-node-name-2): Change to use `predicate' in the normal way.
2985 (Info-read-node-name-1): Adjust uses accordingly.
2987 * minibuffer.el (completion-table-with-context): Add support for `pred'.
2988 (completion-table-with-terminator): Don't use complete-with-action
2989 since we have to distinguish all three cases anyway.
2990 (completion-table-with-predicate): New function.
2991 (dynamic-completion-table): Add obsolete alias.
2993 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2995 2008-04-18 Sam Steingold <sds@gnu.org>
2997 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2998 Use quit-window instead of bury-buffer.
3000 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
3002 * minibuffer.el (completion-table-with-terminator): Fix last fix.
3004 2008-04-18 Andreas Schwab <schwab@suse.de>
3006 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3007 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3008 Depend on $(lisp)/subdirs.el.
3010 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
3012 * descr-text.el (describe-char-after):
3013 Use `define-obsolete-function-alias'.
3015 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
3017 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
3019 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
3020 Remove redundant obsolescence info in docstring.
3022 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3023 (vc-header-alist): Add WHEN to obsolescence declaration.
3024 (vc-state): Fix typo in docstring.
3026 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
3027 Use `define-obsolete-variable-alias'.
3029 * emulation/tpu-edt.el (tpu-have-ispell):
3030 * international/codepage.el (codepage-setup):
3031 Fix typo in obsolescence declaration.
3033 * international/mule.el (char-coding-system-table):
3034 Remove redundant obsolescence info in docstring.
3035 (charset-list, generic-char-p, set-char-table-default):
3036 Fix typos in obsolescence decarations.
3038 * international/mule-diag.el (non-iso-charset-alist):
3039 Fix typo in obsolescence declaration.
3040 (decode-codepage-char): Remove redundant obsolescence info in docstring.
3042 * font-core.el (font-lock-defaults-alist):
3043 * font-lock.el (font-lock-reference-face):
3044 * frame.el (screen-height, screen-width, set-screen-width)
3045 (set-screen-height):
3046 * hilit-chg.el (highlight-changes-initial-state):
3047 * isearch.el (isearch-return-char):
3048 * log-edit.el (cvs-commit-buffer-require-final-newline)
3049 (cvs-changelog-full-paragraphs):
3050 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
3051 (mouse-popup-menubar-stuff):
3052 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
3053 (mouse-wheel-click-button):
3054 * outline.el (outline-visible):
3055 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
3056 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
3057 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
3058 * progmodes/compile.el (compile-internal):
3059 Add WHEN to obsolescence declarations.
3061 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
3064 is not better anyway.
3066 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3068 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
3071 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
3074 (python-use-skeletons): Remove, unused.
3075 (python-skeletons): Remove. Use the abbrev table instead.
3076 (python-mode-abbrev-table): Fix regexp;
3077 add enable-function and case-fixed.
3078 (def-python-skeleton): Simplify.
3079 (python-expand-template): Use the abbrev-table and abbrev-insert.
3080 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
3082 (python-mode): Don't set pre-abbrev-expand-hook.
3084 * skeleton.el: Set coding-tag.
3086 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
3087 (expand-abbrev): Use it.
3088 (abbrev-table-menu): New function.
3090 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
3092 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
3094 2008-04-17 Sam Steingold <sds@gnu.org>
3096 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
3097 idiosyncratic bury-buffer/delete-window logic.
3099 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
3101 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
3102 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
3104 2008-04-17 Kenichi Handa <handa@m17n.org>
3106 * international/characters.el: Don't make the width of U+00AD to 0.
3108 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
3110 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
3111 (gdb, gdb-starting, gdb-frames-mode): Use it.
3112 (gdb-invalidate-frames): Advise to call "info stack" only if
3113 execution has occurred.
3114 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
3115 selected frame if no execution has occurred.
3116 (gdb-frames-force-update): New interactive function.
3117 (gdb-frames-mode-map): Bind it to "F".
3119 2008-04-17 Michael Olson <mwolson@gnu.org>
3121 * textmodes/remember.el (remember-version): Release Remember 2.0.
3123 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
3125 * textmodes/artist.el:
3126 * progmodes/vhdl-mode.el:
3127 * progmodes/verilog-mode.el:
3128 * progmodes/vera-mode.el:
3129 * progmodes/simula.el:
3130 * progmodes/ps-mode.el:
3131 * progmodes/cmacexp.el:
3132 * obsolete/hilit19.el:
3133 * emulation/viper.el:
3134 * ediff.el: Cleanup the bug-report email addresses and make sure the
3135 maintainer is still willing to handle bug reports.
3137 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
3139 * vc.el (vc-dir-kill-query): Fix thinko.
3141 2008-04-16 Glenn Morris <rgm@gnu.org>
3143 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
3144 by diary-sexp-entry.
3146 2008-04-16 Markus Triska <markus.triska@gmx.at>
3148 * proced.el (proced-command-alist): Add support for darwin.
3150 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
3152 * proced.el (proced-mode): Redefine as just the major-mode.
3153 (proced): Separate it from proced-mode.
3155 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
3157 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3159 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
3160 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
3161 `tab-width' setting from user. New version 10.0. Doc and docstring
3163 (whitespace-style, whitespace-chars): Remove options.
3164 (whitespace-style-mark): New option, replace whitespace-style deleted
3165 option. Fix docstring.
3166 (whitespace-style-color): New option, replace whitespace-chars deleted
3167 option. Fix docstring.
3168 (whitespace-space, whitespace-hspace, whitespace-tab)
3169 (whitespace-newline, whitespace-trailing, whitespace-line)
3170 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3171 (whitespace-space-after-tab, whitespace-hspace-regexp)
3172 (whitespace-space-regexp, whitespace-tab-regexp)
3173 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3174 (whitespace-empty-at-eob-regexp, whitespace-line-column)
3175 (whitespace-toggle-option-alist): Fix docstring.
3176 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3177 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
3178 docstring and initialization.
3179 (global-whitespace-mode): Autoloaded global minor mode.
3180 (whitespace-chars-value-list, whitespace-style-value-list)
3181 (whitespace-active-chars, whitespace-active-style)
3182 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
3183 (whitespace-color-value-list): New var, replace
3184 whitespace-chars-value-list removed var.
3185 (whitespace-mark-value-list): New var, replace
3186 whitespace-style-value-list removed var.
3187 (whitespace-active-color): New var, replace whitespace-active-chars
3189 (whitespace-active-mark): New var, replace whitespace-active-style
3191 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
3193 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
3195 (whitespace-toggle-option-alist, whitespace-report-list)
3196 (whitespace-report-text, whitespace-help-text): Fix initialization.
3197 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
3198 (whitespace-toggle-options, global-whitespace-toggle-options)
3199 (whitespace-cleanup-region, whitespace-report-region)
3200 (whitespace-interactive-char): Fix docstring and code.
3201 (whitespace-cleanup, whitespace-report): Fix docstring.
3202 (whitespace-replace-spaces-by-tabs): Remove fun.
3203 (whitespace-replace-action): New fun, replace
3204 whitespace-replace-spaces-by-tabs removed fun.
3205 (whitespace-regexp, whitespace-indentation-regexp)
3206 (whitespace-space-after-tab-regexp, whitespace-insert-value)
3207 (whitespace-kill-buffer): New funs.
3208 (whitespace-insert-option-mark, whitespace-help-on)
3209 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
3210 (whitespace-color-on, whitespace-color-off)
3211 (whitespace-display-char-on): Fix code.
3213 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
3216 (mouse-throw-magnifier-with-mouse-movement): Remove.
3217 (mouse-throw-magnifier-base): New const.
3218 (mouse-drag-scroll-delta): New fun.
3219 (mouse-drag-throw): Use it.
3221 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
3223 * international/uni-bidi.el, international/uni-category.el:
3224 * international/uni-combining.el, international/uni-comment.el:
3225 * international/uni-decimal.el, international/uni-decomposition.el:
3226 * international/uni-digit.el, international/uni-lowercase.el:
3227 * international/uni-mirrored.el, international/uni-name.el:
3228 * international/uni-numeric.el, international/uni-old-name.el:
3229 * international/uni-titlecase.el, international/uni-uppercase.el:
3230 * international/charprop.el: Regenerate.
3232 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
3234 * vc.el (vc-status-fileinfo): Add new member directoryp.
3235 (vc-default-status-printer): Print directories.
3236 (vc-status-update): Sort files before subdirectories.
3238 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3239 Add alternative implementation based on "cvs update".
3241 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
3243 * doc-view.el: Changed requirements section to tell that only one
3244 of dvipdf or dvipdfm is needed.
3245 (doc-view-already-converted-p): Fix bug that forced reconversion
3246 if doc was already converted.
3248 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * minibuffer.el (minibuffer-message):
3251 Make sure we can put-text-property.
3253 * emacs-lisp/crm.el: Complete rewrite.
3255 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3256 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3257 case of an error in display-completion-list.
3259 * filecache.el (file-cache-completions-keymap): Move init from
3260 file-cache-completion-setup-function into declaration.
3261 (file-cache-minibuffer-complete): Simplify.
3262 (file-cache-completion-setup-function): Use standard-output,
3263 preserve current-buffer.
3265 * vc.el (vc-status-update): Fix typo.
3266 (vc-status-update): Set needs-update.
3267 (vc-status-refresh): η-reduce.
3269 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3271 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3274 2008-04-14 Alexandre Julliard <julliard@winehq.org>
3276 * vc.el (vc-status-update): Undo the previous revert.
3278 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * minibuffer.el (completion-table-with-terminator): Those completions
3281 are never valid w.r.t test-completion.
3282 (completion--file-name-table):
3283 Check completion-all-completions-with-base-size.
3285 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
3287 * doc-view.el (doc-view-dvipdf-program): New variable.
3288 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3289 (doc-view-mode-p): Check for doc-view-dvipdf-program as
3290 alternative for doc-view-dvipdfm-program.
3291 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3293 * doc-view.el (doc-view-start-process): Don't set
3294 default-directory to "~/" if the current value is valid.
3295 This broke PS files that run other files in the same directory.
3297 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
3299 * vc.el (vc-status-kill-query): New function.
3300 (vc-status-mode): Add it to kill-buffer-query-functions.
3301 (vc-status-show-fileentry): New function.
3302 (vc-status-menu-map): Bind it. Bind vc-next-action.
3304 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * minibuffer.el (minibuffer-message): Put cursor at the right place.
3308 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3310 * proced.el (proced-send-signal): Fix error recognition.
3312 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3314 * proced.el (proced-command-alist): Remove sort column.
3315 (proced-command, proced-procname-column):
3316 Use make-variable-buffer-local.
3317 (proced-signal-function): Rename from proced-kill-program.
3318 Allow for elisp symbols and string values representing system calls.
3319 (proced-marker-regexp, proced-success-message): New functions.
3320 (proced): Use defalias. Add autoload cookie.
3321 (proced-unmark-backward, proced-toggle-marks)
3322 (proced-hide-processes): New commands.
3323 (proced-do-mark): Simplify code.
3324 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3325 (proced-update): Remove sorting.
3326 (proced-send-signal): Display number of processes to operate on.
3327 Allow for system calls or elisp functions to send signals.
3328 Check if signal was sent successfully.
3330 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * minibuffer.el (completion-all-completion-with-base-size): New var.
3333 (completion--some): New function.
3334 (completion-table-with-context, completion--file-name-table):
3335 Return the base-size if requested.
3336 (completion-table-in-turn): Generalize to multiple arguments.
3337 (complete-in-turn): Compatibility alias.
3338 (completion-styles-alist): New var.
3339 (completion-styles): New customization.
3340 (minibuffer-try-completion, minibuffer-all-completions):
3342 (minibuffer--do-completion, minibuffer-complete-and-exit)
3343 (minibuffer-try-word-completion): Use them.
3344 (display-completion-list, minibuffer-completion-help): Use them.
3345 Handle all-completions's new base-size info to set completion-base-size.
3346 * info.el (Info-read-node-name-1): Use completion-table-with-context,
3347 completion-table-with-terminator and complete-with-action.
3348 Remove the now obsolete completion-base-size-function property.
3349 * simple.el (completion-list-mode-map): Move init into declaration.
3350 (completion-list-mode): Use define-derived-mode.
3351 (completion-setup-function): Use any completion-base-size that may
3352 have been set before. Remove handling of completion-base-size-function.
3353 * loadup.el: Move abbrev.el up earlier.
3355 2008-04-13 Alexandre Julliard <julliard@winehq.org>
3357 * vc-git.el (vc-git-after-dir-status-stage)
3358 (vc-git-dir-status-goto-stage): New functions.
3359 (vc-git-after-dir-status-stage1)
3360 (vc-git-after-dir-status-stage1-empty-db)
3361 (vc-git-after-dir-status-stage2): Remove, functionality moved
3362 into the new generic stage functions.
3363 (vc-git-dir-status-files): New function.
3365 * vc.el (vc-status-update): Revert an incorrect rewrite.
3367 (vc-status-refresh-files): New function.
3368 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3369 state of up-to-date files.
3370 (vc-default-dir-status-files): New function.
3372 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
3374 * minibuffer.el (completion--embedded-envvar-table)
3375 (read-file-name-internal): Fix typos in 2008-04-11 change.
3377 * faces.el (read-face-name): Use `completion-table-in-turn',
3378 not `complete-in-turn'.
3380 2008-04-13 Andreas Schwab <schwab@suse.de>
3382 * progmodes/etags.el: Require 'cl when compiling.
3384 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
3386 * progmodes/gud.el (gud-menu-map): Expand tooltip.
3388 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3389 (menu): Add/expand menu tooltips.
3391 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
3393 * progmodes/sh-script.el (sh-show-indent): Fix typo.
3394 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3396 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3397 considered registered.
3399 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
3401 * emacs-lisp/copyright.el (copyright-update-directory): New command.
3403 * ediff-wind.el (ediff-split-window-function)
3404 (ediff-merge-split-window-function): Improve custom type.
3406 2008-04-12 Eli Zaretskii <eliz@gnu.org>
3408 * loadup.el ("minibuffer"): Move after "faces".
3410 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * progmodes/hideif.el (hif-factor): Handle unary minus.
3414 2008-04-12 Glenn Morris <rgm@gnu.org>
3416 * calendar/cal-china.el (chinese-calendar-time-zone):
3417 Mark obsolete name as risky too.
3419 * calendar/calendar.el (calendar-faces): New custom group.
3420 (calendar-today, diary, holiday): Doc fix.
3421 Move to calendar-faces group.
3422 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3423 (diary-button): Doc fix. Move to calendar-faces group.
3425 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3426 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3427 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3428 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3429 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3430 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3431 not in dumped files before the associated defcustom.
3433 2008-04-11 Johan Bockgård <bojohan@gnu.org>
3435 * minibuffer.el (lazy-completion-table): Fix debug spec.
3437 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3439 * minibuffer.el (complete-with-action, lazy-completion-table):
3441 (apply-partially, completion-table-dynamic)
3442 (completion-table-with-context, completion-table-with-terminator)
3443 (completion-table-in-turn): New funs.
3444 (completion--make-envvar-table, completion--embedded-envvar-table):
3446 (read-file-name-internal): Use them.
3447 (completion-setup-hook): Move from simple.el.
3448 * subr.el (complete-with-action, lazy-completion-table):
3449 * simple.el (completion-setup-hook): Move to minibuffer.el.
3451 2008-04-11 Glenn Morris <rgm@gnu.org>
3453 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3455 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3459 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3461 * textmodes/fill.el (fill-forward-paragraph-function): New var.
3462 (fill-forward-paragraph): New fun.
3463 (fill-paragraph, fill-region): Use it.
3465 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3466 (vc-status-create-fileinfo): Make `extra' optional.
3467 (vc-status-busy): New fun.
3468 (vc-status-menu-map): Use it.
3469 (vc-status-crt-marked): Remove.
3470 (vc-status-update): Rename from vc-status-add-entries.
3471 Add argument so as to prevent addition of entries. Rewrite.
3472 (vc-update-vc-status-buffer): Remove.
3473 (vc-status-refresh): Don't remove old entries, set them to
3474 up-to-date instead. Also do it after the update is complete.
3475 (vc-status-marked-files): η-reduce.
3477 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3480 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3482 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3484 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
3486 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3487 to t and don't truncate msg.
3489 2008-04-11 Glenn Morris <rgm@gnu.org>
3491 * calendar/calendar.el (diary, holidays):
3492 Move custom groups to other files.
3493 (holiday-general-holidays, holiday-oriental-holidays)
3494 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3495 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3496 (holiday-hebrew-holidays, holiday-christian-holidays)
3497 (holiday-islamic-holidays, holiday-bahai-holidays)
3498 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3499 * calendar/diary-lib.el: Move custom group here from calendar.el.
3500 * calendar/holidays-lib.el: Move custom group and variables here
3503 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3505 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3507 (calendar-current-time-zone-cache): Autoload riskiness.
3509 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3511 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
3513 * woman.el (woman2-TH): Use string-equal instead of string-match.
3515 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3518 (smerge-resolve): Merge the "2-way refinement" case with one half of
3519 the "mere whitespace" resolution.
3521 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3523 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3525 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
3527 * subr.el (assoc-ignore-case, assoc-ignore-representation):
3528 Add WHEN to obsolescence declaration.
3530 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3532 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
3534 * vc-hooks.el (vc-state): Add new state `conflict'.
3535 (vc-after-save): Use when not if.
3536 (vc-default-mode-line-string): Deal with the conflict state.
3537 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3539 * vc.el (vc-editable-p, vc-default-status-printer)
3540 (vc-next-action): Deal with the conflict state.
3541 (vc-mark-resolved): New function.
3542 (vc-status-mode): Fix mode name.
3543 (vc-default-comment-history): Use when not if.
3544 (Todo): Add new entries, remove old ones.
3546 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3547 (vc-cvs-parse-status, vc-cvs-after-dir-status):
3548 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3549 Detect the conflict state.
3551 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3553 2008-04-10 Glenn Morris <rgm@gnu.org>
3555 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3556 Respect truncate-partial-width-windows in non-full windows,
3557 with regards to :toggle and :enable state.
3559 * simple.el (toggle-truncate-lines): Doc fix.
3561 * Makefile.in (MH_E_DIR): New variable.
3562 (MH_E_SRC): Restore variable removed 2008-03-13.
3563 (mh-loaddefs.el): Depend on $MH_E_SRC.
3564 (CAL_DIR, CAL_SRC): New variables.
3565 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3568 * calendar/calendar.el (calendar, diary): Add :prefix.
3569 (holidays): Change :prefix.
3570 (calendar-today, holiday, calendar-holiday-marker)
3571 (european-calendar-style): Change custom groups.
3573 * calendar/calendar.el (diary-hook, diary-display-hook):
3574 Move to diary-lib.el.
3575 * calendar/diary-lib.el (diary-hook, diary-display-hook):
3576 Move here from calendar.el.
3577 * calendar/appt.el: Require diary-lib rather than calendar.
3578 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3580 * calendar/appt.el (appt): Add :prefix.
3582 * calendar/diary-lib.el (diary-hook): Doc fix.
3583 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3585 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3587 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3590 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3591 the arg to recursive calls.
3593 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3595 * minibuffer.el (completion-auto-help): Fix typo.
3597 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3601 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
3603 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3604 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3606 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3610 * minibuffer.el (minibuffer): Move group from cus-edit.el.
3611 (completion-auto-help): Move from C code.
3612 (minibuffer--maybe-completion-help): Remove.
3613 (minibuffer--bitset): New function.
3614 (minibuffer--do-completion): Rename from minibuffer-do-completion.
3615 Renumber a bit. Really complete on string *before* point.
3616 Add argument used for word-completion.
3617 Join trailing / in completion with following text, as done in
3618 minibuffer-complete-word.
3619 Handle new value `lazy' for completion-auto-help.
3620 (minibuffer-try-word-completion): New function extracted from
3621 minibuffer-complete-word.
3622 (minibuffer-complete-word): Use minibuffer--do-completion.
3623 (minibuffer--insert-strings): Rename from
3624 minibuffer-complete-insert-strings.
3625 (exit-minibuffer): Fix typo.
3626 * cus-edit.el (minibuffer): Move group to minibuffer.el.
3627 * cus-start.el: Remove completion-auto-help.
3629 2008-04-09 Alexandre Julliard <julliard@winehq.org>
3631 * vc.el (vc-status-add-entries): New function.
3632 (vc-status-add-entry): Remove.
3633 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3634 Use vc-status-add-entries.
3636 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3639 2008-04-09 Jason Rumney <jasonr@gnu.org>
3641 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3642 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3643 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3644 (AUTOGENEL): New variable.
3645 (distclean, maintainer-clean): New targets.
3647 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3649 * emacs-lisp/regexp-opt.el (regexp-opt):
3650 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3652 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
3654 * nxml/nxml-mode.el (nxml-cleanup): New function.
3655 (nxml-mode): Add it to change-major-mode-hook.
3657 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3659 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3661 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
3663 * calc/.cvsignore: New file.
3665 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
3667 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3669 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3670 show-help-function when turning tooltip off.
3671 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3672 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3674 2008-04-09 Alan Mackenzie <acm@muc.de>
3676 * font-lock.el (font-lock-extend-after-change-region-function):
3677 Make it buffer local.
3679 2008-04-09 Glenn Morris <rgm@gnu.org>
3681 * calendar/calendar.el (diary-file, european-calendar-style):
3682 Remove autoload cookies.
3684 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3686 * outline.el (outline-mode-menu-bar-map):
3687 * log-view.el (log-view-mode-menu):
3688 * log-edit.el (log-edit-menu): Add :help.
3690 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
3692 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3693 Use substring-no-properties for correct handling of unibyte strings.
3695 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * add-log.el (change-log-next-buffer): Handle the case where version<
3700 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3701 mouse-major-mode-menu.
3702 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3703 (mouse-major-mode-menu, mouse-popup-menubar)
3704 (mouse-popup-menubar-stuff): Use them.
3705 (C-down-mouse-3): Bind to a dynamic map rather than to
3706 mouse-popup-menubar-stuff.
3708 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3709 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3711 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
3713 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3714 file:// access method.
3716 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * minibuffer.el: New file.
3719 * loadup.el: Load it.
3721 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3724 rather than subdirs.el. It introduces an ugly circular dependency, tho.
3726 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3727 (calc-mode-map, calc-digit-map, calc-dispatch-map):
3728 Move initialization into declaration.
3729 * calc/calc-yank.el:
3730 * calc/calc-misc.el:
3731 * calc/calc-embed.el:
3732 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
3734 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
3736 * ps-samp.el (ps-add-printer, ps-remove-printer)
3737 (ps-make-dynamic-printer-menu): New functions.
3739 * net/zeroconf.el: New file.
3741 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3745 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
3747 * vc-rcs.el (vc-rcs-modify-change-comment):
3748 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3750 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3752 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
3754 * international/mule-cmds.el (set-locale-environment): Don't warn if
3755 coding system doesn't agree with system locale (this reverts changes
3756 by Dave Love, dated 2002-10-27 and 2002-10-09).
3758 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3759 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3761 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3763 2008-04-08 Glenn Morris <rgm@gnu.org>
3765 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3766 * textmodes/remember.el (remember-diary-convert-entry):
3769 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3770 diary-file, since it is the default for make-diary-entry anyway.
3772 * calendar/cal-menu.el (cal-menu-event-to-date):
3773 Rename calendar-event-to-date. Update callers.
3774 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3775 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3776 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3777 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3778 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3779 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3780 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3781 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3782 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3783 (calendar-mouse-tex-month-landscape):
3784 Rename cal-tex-mouse-month-landscape.
3785 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3786 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3787 (calendar-mouse-tex-year-landscape):
3788 Rename cal-tex-mouse-year-landscape.
3789 (cal-menu-context-mouse-menu): Update for above name changes.
3791 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3792 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3793 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3794 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3795 * calendar/holidays.el: Replace int-to-string with number-to-string.
3797 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
3799 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3800 region if point moves.
3802 2008-04-08 Kenichi Handa <handa@m17n.org>
3804 * faces.el (font-slant-table): Change numeric values for `r',
3805 `roman', and `normal'.
3807 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
3809 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3811 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
3813 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3814 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
3816 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
3818 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3819 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
3821 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3825 2008-04-07 Sam Steingold <sds@gnu.org>
3827 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3828 Add helper functions.
3829 (lisp-do-defun): Extract the common part of lisp-eval-defun and
3830 lisp-compile-defun; DEFVAR forms reset the variables to the init
3831 values, just like in emacs-lisp mode eval-defun.
3832 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3833 (lisp-compile-region): Use lisp-compile-string.
3835 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * subr.el (combine-and-quote-strings): Also quote strings that contain
3840 * pcvs-util.el (cvs-map): Avoid recursion :-(
3842 2008-04-07 Glenn Morris <rgm@gnu.org>
3844 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3846 * calendar.el (diary-view-entries-initially-flag): Rename
3847 view-diary-entries-initially. Keep old name as alias, update users.
3848 (calendar-mark-diary-entries-flag): Rename
3849 mark-diary-entries-in-calendar. Keep old name as alias, update users.
3850 (calendar-view-holidays-initially-flag): Rename
3851 view-calendar-holidays-initially. Keep old name as alias, update users.
3852 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3853 Keep old name as alias, update users.
3854 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3855 Keep old name as alias, update users.
3856 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3857 Keep old name as alias, update users.
3858 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3859 Keep old name as alias, update users.
3860 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
3861 (diary-american-date-forms): Rename american-date-diary-pattern.
3862 Keep old name as alias, update users.
3863 (diary-european-date-forms): Rename european-date-diary-pattern.
3864 Keep old name as alias, update users.
3865 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3866 Keep old name as alias, update users.
3867 (calendar-european-date-display-form): Rename
3868 european-calendar-display-form. Keep old name as alias, update users.
3869 (calendar-american-date-display-form): Rename
3870 european-calendar-display-form. Keep old name as alias, update users.
3871 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3872 Keep old name as alias, update users.
3873 (holiday-general-holidays): Rename general-holidays.
3874 Keep old name as alias, update users.
3875 (holiday-oriental-holidays): Rename oriental-holidays.
3876 Keep old name as alias, update users.
3877 (holiday-local-holidays): Rename local-holidays.
3878 Keep old name as alias, update users.
3879 (holiday-other-holidays): Rename other-holidays.
3880 Keep old name as alias, update users.
3881 (holiday-hebrew-holidays): Rename hebrew-holidays.
3882 Keep old name as alias, update users.
3883 (holiday-christian-holidays): Rename christian-holidays.
3884 Keep old name as alias, update users.
3885 (holiday-islamic-holidays): Rename islamic-holidays.
3886 Keep old name as alias, update users.
3887 (holiday-bahai-holidays): Rename bahai-holidays.
3888 Keep old name as alias, update users.
3889 (holiday-solar-holidays): Rename solar-holidays.
3890 Keep old name as alias, update users.
3891 (diary-fancy-buffer): Rename fancy-diary-buffer.
3892 Keep old name as alias, update users.
3893 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3895 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3897 (calendar-increment-month): Rename increment-calendar-month.
3898 Keep old name as alias, update callers.
3899 (calendar-increment-month-cons): Rename old calendar-increment-month.
3901 (calendar-extract-month): Rename extract-calendar-month.
3902 Keep old name as alias, update callers
3903 (calendar-extract-day): Rename extract-calendar-day.
3904 Keep old name as alias, update callers.
3905 (calendar-extract-year): Rename extract-calendar-year.
3906 Keep old name as alias, update callers.
3907 (calendar-generate-window): Rename generate-calendar-window.
3909 (calendar-generate): Rename generate-calendar. Update callers.
3910 (calendar-generate-month): Rename generate-calendar-month.
3912 (calendar-redraw): Rename redraw-calendar. Update callers.
3913 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
3914 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3916 (calendar-update-mode-line): Rename update-calendar-mode-line.
3918 (calendar-exit): Rename exit-calendar. Keep old name as alias,
3920 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3921 Keep old name as alias, update callers.
3922 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3923 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3924 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3925 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3926 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3927 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3928 * calendar/solar.el: Update for calendar.el name changes.
3929 * org/org.el (org-agenda-format-date-aligned)
3930 (org-agenda-execute-calendar-command): Access date elements directly
3931 rather than using calendar functions.
3932 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3933 Also set calendar-view-diary-initially-flag,
3934 calendar-view-holidays-initially-flag
3935 (org-get-entries-from-diary): Also set diary-fancy-buffer.
3936 (org-agenda-execute-calendar-command): No need to set displayed-day.
3938 2008-04-06 Alan Mackenzie <acm@muc.de>
3940 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3941 typo in the doc string.
3943 * progmodes/cc-mode.el (c-basic-common-init):
3944 Set font-lock-extend-after-change-region-function.
3945 (c-extend-after-change-region): New function, used in
3946 font-lock-extend-after-change-region-function, thus superseding
3947 advice on the Font Lock after change functions.
3948 (c-advise-fl-for-region): Remove this macro.
3950 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
3952 * textmodes/flyspell.el (flyspell-duplicate-distance):
3953 Improve custom type.
3955 2008-04-06 Glenn Morris <rgm@gnu.org>
3957 * calendar/diary-lib.el (diary-sexp-entry-symbol):
3958 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
3959 (diary-list-entries-hook): Rename list-diary-entries-hook.
3960 Keep old name as alias, update users.
3961 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3962 Keep old name as alias, update users.
3963 (diary-nongregorian-listing-hook): Rename
3964 nongregorian-diary-listing-hook. Keep old name as alias, update users.
3965 (diary-nongregorian-marking-hook): Rename
3966 nongregorian-diary-marking-hook. Keep old name as alias, update users.
3967 (diary-print-entries-hook): Rename print-diary-entries-hook.
3968 Keep old name as alias, update users.
3969 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3970 Keep old name as alias, update users.
3971 (diary-number-of-entries): Rename number-of-diary-entries.
3972 Keep old name as alias, update users.
3973 (view-diary-entries, list-diary-entries, show-all-diary-entries):
3974 Give version of obsolescence.
3975 (diary-view-other-diary-entries): Rename view-other-diary-entries.
3976 Keep old name as alias, update callers.
3977 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
3979 (diary-include-other-diary-files): Rename include-other-diary-files.
3980 Keep old name as alias, update callers.
3981 (diary-simple-display): Rename simple-diary-display.
3982 Keep old name as alias, update callers.
3983 (diary-fancy-display): Rename fancy-diary-display.
3984 Keep old name as alias, update callers.
3985 (diary-print-entries): Rename print-diary-entries.
3986 Keep old name as alias, update callers.
3987 (diary-marking-entries-flag): Rename marking-diary-entries.
3989 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
3990 (diary-mark-entries): Rename mark-diary-entries.
3991 Keep old name as alias, update callers.
3992 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3993 Keep old name as alias, update callers.
3994 (diary-mark-included-diary-files): Rename mark-included-diary-files.
3995 Keep old name as alias, update callers.
3996 (calendar-mark-days-named): Rename mark-calendar-days-named.
3997 Keep old name as alias, update callers.
3998 (calendar-mark-month): Rename mark-calendar-month.
3999 Keep old name as alias, update callers.
4000 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
4001 Keep old name as alias, update callers.
4002 (diary-sort-entries): Rename sort-diary-entries.
4003 Keep old name as alias, update callers.
4004 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
4005 Keep old name as alias, update callers.
4006 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
4008 (diary-insert-entry): Rename insert-diary-entry.
4009 Keep old name as alias.
4010 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
4011 Keep old name as alias.
4012 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
4013 Keep old name as alias.
4014 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
4015 Keep old name as alias.
4016 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
4017 Keep old name as alias.
4018 (diary-insert-block-entry): Rename insert-block-diary-entry.
4019 Keep old name as alias.
4020 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
4021 Keep old name as alias.
4022 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
4023 Keep old name as alias, update users.
4024 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
4025 Keep old name as alias, update callers.
4026 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4027 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
4028 * calendar/icalendar.el: Update for diary-lib name changes.
4030 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
4032 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
4034 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
4035 for copy, move, and link operations.
4037 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
4039 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
4040 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
4042 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
4043 'require' statements with 1-argument ones (wrapped in if's).
4044 For compatibility with the current stable version of XEmacs.
4046 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
4048 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
4050 2008-04-06 Jason Rumney <jasonr@gnu.org>
4052 * language/burmese.el ("Burmese"): Make sample text consistent with
4055 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
4057 * progmodes/gdb-ui.el (gdb): New group.
4058 (gdb-debug-log-max, gdb-enable-debug)
4059 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
4060 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
4061 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
4062 (gdb-show-changed-values, gdb-max-children)
4063 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
4064 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
4065 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
4066 (gdb-memory-unit): Move to new group from GUD group.
4067 (menu): Allow customization from GDB-UI menu-item.
4069 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4071 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
4073 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
4076 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4077 Revision numbers can include ".".
4079 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
4080 "+" lines not accounted for by counting "-" and context lines.
4082 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4084 * term/mac-win.el (mac-service-open-file): Use file URL instead of
4087 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
4090 (vc-bzr-annotate-time): Accept space used to preserve alignment.
4092 2008-04-05 Richard Stallman <rms@gnu.org>
4094 * emacs-lisp/advice.el (defadvice): Add usage pattern.
4096 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
4098 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
4101 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
4103 * files.el (abort-if-file-too-large): Fix typo in docstring.
4105 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4107 * subr.el (functionp): Return nil for special forms.
4109 2008-04-05 Glenn Morris <rgm@gnu.org>
4111 * emacs-lisp/autoload.el (autoload-ensure-default-file):
4113 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
4114 Require loaddef file rather than loading it.
4115 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
4116 autoload-ensure-default-file provides a feature.
4118 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
4119 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
4120 (compile, compile-always, recompile): Use $LOADDEFS.
4121 (cal-autoloads): Remove.
4123 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
4124 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
4126 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4127 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
4129 * calendar/calendar.el (diary-hebrew-entry-symbol):
4130 Rename hebrew-diary-entry-symbol. Keep old name as alias.
4131 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
4132 Keep old name as alias.
4133 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
4134 Keep old name as alias.
4135 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
4136 to diary-bahai-entry-symbol.
4137 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
4138 to diary-hebrew-entry-symbol.
4139 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
4140 to diary-islamic-entry-symbol.
4141 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
4143 * calendar/solar.el (diary-sabbath-candles-minutes)
4144 (diary-sabbath-candles): Move to cal-hebrew.
4145 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
4146 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
4147 Doc fix. Keep old name as alias.
4148 (diary-hebrew-sabbath-candles): Simplify.
4149 (solar-setup, solar-sunrise-sunset, calendar-latitude)
4150 (calendar-longitude, calendar-time-zone): Declare for compiler.
4151 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
4154 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
4155 Rename coptic-calendar-month-name-array. Update callers.
4156 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
4157 (calendar-coptic-name): Rename coptic-name. Update callers.
4158 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
4160 (calendar-coptic-last-day-of-month):
4161 Rename coptic-calendar-last-day-of-month. Update callers.
4162 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
4163 Keep old name as alias, update callers.
4164 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
4165 Keep old name as alias, update callers.
4166 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
4167 Keep old name as alias.
4168 (calendar-ethiopic-month-name-array):
4169 Rename ethiopic-calendar-month-name-array. Update callers.
4170 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
4172 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
4173 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
4174 Keep old name as alias, update callers.
4175 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
4176 Keep old name as alias, update callers.
4177 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
4178 Keep old name as alias.
4180 * calendar/cal-french.el (calendar-french-epoch):
4181 Rename french-calendar-epoch. Update callers.
4182 (calendar-french-month-name-array): Rename variable and function
4183 french-calendar-month-name-array. Update callers.
4184 (calendar-french-multibyte-month-name-array):
4185 Rename french-calendar-multibyte-month-name-array. Update callers.
4186 (calendar-french-day-name-array): Rename variable and function
4187 french-calendar-day-name-array. Update callers.
4188 (calendar-french-special-days-array): Rename variable and function
4189 french-calendar-special-days-array. Update callers.
4190 (calendar-french-multibyte-special-days-array):
4191 Rename french-calendar-multibyte-special-days-array. Update callers.
4192 (calendar-french-accents-p): Rename french-calendar-accents.
4194 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
4196 (calendar-french-last-day-of-month):
4197 Rename french-calendar-last-day-of-month. Update callers.
4198 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
4199 Keep old name as alias, update callers.
4200 (calendar-french-print-date): Rename calendar-print-french-date.
4201 Keep old name as alias, update callers.
4202 (calendar-french-goto-date): Rename calendar-goto-french-date.
4203 Keep old name as alias.
4205 * calendar/cal-menu.el, calendar/calendar.el:
4206 Update for Coptic and French name changes.
4208 * calendar/cal-china.el (calendar-chinese): Rename custom group
4209 from chinese-calendar. Update users.
4210 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
4211 Keep old name as alias, update users.
4212 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
4213 Keep old name as alias.
4214 (calendar-chinese-daylight-time-offset):
4215 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
4217 (calendar-chinese-standard-time-zone-name):
4218 Rename chinese-calendar-standard-time-zone-name.
4219 Keep old name as alias, update users.
4220 (calendar-chinese-daylight-saving-start):
4221 Rename chinese-calendar-daylight-savings-starts.
4222 Keep old name as alias, update users.
4223 (calendar-chinese-daylight-saving-end):
4224 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
4226 (calendar-chinese-daylight-saving-start-time):
4227 Rename chinese-calendar-daylight-savings-starts-time.
4228 Keep old name as alias, update users.
4229 (calendar-chinese-daylight-saving-end-time):
4230 Rename chinese-calendar-daylight-savings-ends-time.
4231 Keep old name as alias, update users.
4232 (calendar-chinese-celestial-stem): Rename
4233 calendar-chinese-celestial-stem. Keep old name as alias, update users.
4234 (calendar-chinese-terrestrial-branch):
4235 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
4237 (calendar-chinese-zodiac-sign-on-or-after):
4238 Rename chinese-zodiac-sign-on-or-after. Update callers.
4239 (calendar-chinese-new-moon-on-or-after):
4240 Rename chinese-new-moon-on-or-after. Update callers.
4241 (calendar-chinese-month-list): Rename chinese-month-list.
4243 (calendar-chinese-number-months): Rename number-chinese-months.
4245 (calendar-chinese-compute-year): Rename compute-chinese-year.
4247 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
4248 (calendar-chinese-year): Rename chinese-year. Update callers.
4249 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4250 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4251 Keep old name as alias, update callers.
4252 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4253 Keep old name as alias, update callers.
4254 (calendar-chinese-months-to-alist):
4255 Rename make-chinese-month-assoc-list. Update callers.
4256 (calendar-chinese-months): Rename chinese-months. Update callers.
4257 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4258 Keep old name as alias, update callers.
4260 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4261 Rename hebrew-calendar-leap-year-p. Update callers.
4262 (calendar-hebrew-last-month-of-year):
4263 Rename hebrew-calendar-last-month-of-year. Update callers.
4264 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4266 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4268 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4270 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4272 (calendar-hebrew-last-day-of-month):
4273 Rename hebrew-calendar-last-day-of-month. Update callers.
4274 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4275 Keep old name as alias, update callers.
4276 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4277 Keep old name as alias, update callers.
4278 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4279 Keep old name as alias, update callers.
4280 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4281 Keep old name as alias.
4282 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4283 Keep old name as alias.
4284 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4285 Keep old name as alias.
4286 (holiday-hebrew-passover): Rename holiday-passover-etc.
4287 Keep old name as alias.
4288 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4289 Keep old name as alias, update callers.
4290 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4291 Keep old name as alias.
4292 (calendar-hebrew-mark-date-pattern):
4293 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
4295 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4296 Keep old name as alias.
4297 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4298 Keep old name as alias.
4299 (diary-hebrew-insert-monthly-entry):
4300 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
4301 (diary-hebrew-insert-yearly-entry):
4302 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
4303 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4304 Keep old name as alias.
4305 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
4306 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
4307 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4308 Keep old name as alias.
4309 (calendar-hebrew-parashiot-names):
4310 Rename hebrew-calendar-parashiot-names. Update callers.
4311 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4312 (calendar-hebrew-year-Saturday-incomplete-Sunday):
4313 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4314 (calendar-hebrew-year-Saturday-complete-Tuesday):
4315 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4316 (calendar-hebrew-year-Monday-incomplete-Tuesday):
4317 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4318 (calendar-hebrew-year-Monday-complete-Thursday):
4319 Rename hebrew-calendar-year-Monday-complete-Thursday.
4320 (calendar-hebrew-year-Tuesday-regular-Thursday):
4321 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4322 (calendar-hebrew-year-Thursday-regular-Saturday):
4323 Rename hebrew-calendar-year-Thursday-regular-Saturday.
4324 (calendar-hebrew-year-Thursday-complete-Sunday):
4325 Rename hebrew-calendar-year-Thursday-complete-Sunday.
4326 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4327 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4328 (calendar-hebrew-year-Saturday-complete-Thursday):
4329 Rename hebrew-calendar-year-Saturday-complete-Thursday.
4330 (calendar-hebrew-year-Monday-incomplete-Thursday):
4331 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4332 (calendar-hebrew-year-Monday-complete-Saturday):
4333 Rename hebrew-calendar-year-Monday-complete-Saturday.
4334 (calendar-hebrew-year-Tuesday-regular-Saturday):
4335 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4336 (calendar-hebrew-year-Thursday-incomplete-Sunday):
4337 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4338 (calendar-hebrew-year-Thursday-complete-Tuesday):
4339 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4340 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
4341 Update for above name changes of constants.
4343 * calendar/cal-menu.el, calendar/calendar.el:
4344 Update for chinese and hebrew name changes.
4345 * calendar/diary-lib.el: Update for hebrew name changes.
4347 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4349 * subr.el (keymap-canonicalize): Correct thinko.
4351 * server.el: Undo part of the multi-tty change, which is only
4352 needed if server.el is preloaded, and broke server-running-p.
4353 (server-socket-dir): Initialize in the defvar, as before.
4354 (server-start): Remove initialization of server-socket-dir.
4356 2008-04-05 Eli Zaretskii <eliz@gnu.org>
4358 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4359 3-member cons cells.
4361 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
4363 * cus-face.el (custom-face-attributes): Handle roman slant.
4365 * faces.el (default): Ensure the face-defface-spec property is set.
4367 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
4369 * files.el (abort-if-file-too-large): New function.
4370 (find-file-noselect, insert-file-1): Use it.
4372 2008-04-05 Reto Zimmermann <reto@gnu.org>
4374 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4375 Replace C-c[a-zA-Z] key bindings.
4377 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * progmodes/hideif.el (hif-token-alist): New var.
4380 (hif-token-regexp, hif-tokenize): Use it.
4381 (hif-mathify-binop): New macro.
4382 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4383 (hif-greater-equal, hif-less-equal): Use it.
4384 (hif-logior, hif-logand): New functions.
4385 (hif-math): Accept | and & as well.
4387 * progmodes/etags.el: Fix problem with completion for buffer-local
4388 tables. Reported by Radey Shouman <shouman@comcast.net>.
4389 (tags-complete-tag): Remove.
4390 (tags-lazy-completion-table): New function to replace it.
4391 (find-tag-tag, complete-tag): Update users.
4393 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
4395 * vc-rcs.el (vc-rcs-dir-status):
4396 * vc-sccs.el (vc-sccs-dir-status): New function.
4398 * outline.el (outline-mode-menu-bar-map):
4399 * term.el (terminal-signal-menu): Add :help.
4401 * net/eudc.el (eudc-mode-map): Declare and define in one step.
4402 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4404 * emacs-lisp/re-builder.el (reb-mode-map):
4405 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4407 * diff-mode.el (diff-file-junk-re): Recognize the git format for
4408 new files, deleted files and for changing permissions.
4409 (diff-mode): Set beginning-of-defun-function and
4410 end-of-defun-function.
4412 * vc-bzr.el (vc-bzr-state): Use when instead of if.
4414 * vc.el (vc-default-status-fileinfo-extra): New function.
4415 (vc-status-mark-buffer-changed): Use it.
4416 (vc-update-vc-status-buffer): Allow for partial updates.
4418 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4420 * net/tramp.el (after-init-hook): Don't wrap a lambda around
4421 tramp-register-completion-file-name-handler.
4423 * subr.el (keymap-canonicalize): New function.
4424 * mouse.el (mouse-menu-non-singleton): Use it.
4425 (mouse-major-mode-menu): Remove hack made unnecessary.
4427 * simple.el (set-fill-column): Prompt rather than error by default.
4429 2008-04-04 Andreas Schwab <schwab@suse.de>
4431 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4432 Reset new-rules after each round.
4434 * Makefile.in (cal-autoloads): New target.
4435 (compile, compile-always, recompile): Depend on it.
4436 ($(lisp)/calendar/cal-loaddefs.el)
4437 ($(lisp)/calendar/diary-loaddefs.el)
4438 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4440 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
4442 * ediff*.el: Replace load with require in eval-when-compile.
4444 * ediff-hook: Delete all invocations of (autoload ...).
4446 * ediff-util.el (ediff-setup): Make window-min-height a local variable
4447 in ediff control window, and set its min height to 2.
4448 (ediff-setup-control-buffer): Dedicate the control window.
4449 (ediff-toggle-multiframe): Undedicate control window.
4450 Work directly with ediff-setup-windows-multiframe and
4451 ediff-setup-windows-plain.
4453 * ediff-wind (ediff-choose-window-setup-function-automatically):
4455 (ediff-window-setup-function): Change initialization.
4456 (ediff-setup-windows-automatic): Delete.
4457 (ediff-setup-windows-plain-merge): Make control window dedicated.
4458 (ediff-destroy-control-frame): Do not skip frames if working in a
4461 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4464 * emulation/viper-util.el: Move provide's forward, prevent recursion in
4467 2008-04-04 Glenn Morris <rgm@gnu.org>
4469 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4470 calendar-absolute-from-bahai. Update callers, keep old name as alias.
4472 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4473 Rename islamic-calendar-leap-year-p. Update callers.
4474 (calendar-islamic-last-day-of-month):
4475 Rename islamic-calendar-last-day-of-month. Update callers.
4476 (calendar-islamic-day-number):
4477 Rename islamic-calendar-day-number. Update callers.
4478 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4479 Update callers, keep old name as alias.
4480 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4481 Update callers, keep old name as alias.
4482 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4483 Keep old name as alias.
4484 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4485 Update callers, keep old name as alias.
4486 (calendar-islamic-mark-date-pattern):
4487 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
4489 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4490 Keep old name as alias.
4491 (diary-islamic-insert-monthly-entry):
4492 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
4493 (diary-islamic-insert-yearly-entry):
4494 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
4496 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4497 calendar-absolute-from-iso. Update callers, keep old name as alias.
4498 (calendar-iso-print-date): Rename calendar-print-iso-date.
4499 Update callers, keep old name as alias.
4500 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4501 Keep old name as alias.
4502 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4503 Keep old name as alias.
4505 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4506 calendar-absolute-from-julian. Update callers, keep old name as alias.
4507 (calendar-julian-print-date): Rename calendar-print-julian-date.
4508 Update callers, keep old name as alias.
4509 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4510 Update callers, keep old name as alias.
4511 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4512 Update callers, keep old name as alias.
4513 (calendar-astro-print-day-number):
4514 Rename calendar-print-astro-day-number. Update callers, keep old
4516 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4517 Update callers, keep old name as alias.
4519 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4520 Rename calendar-string-to-mayan-long-count. Update callers.
4521 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4522 Update callers, keep old name as alias.
4523 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4525 (calendar-mayan-read-tzolkin-date):
4526 Rename calendar-read-mayan-tzolkin-date. Update callers.
4527 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4528 Keep old name as alias.
4529 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4530 Keep old name as alias.
4531 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4532 Keep old name as alias.
4533 (calendar-mayan-previous-tzolkin-date):
4534 Rename calendar-previous-tzolkin-date. Keep old name as alias.
4535 (calendar-mayan-next-round-date):
4536 Rename calendar-next-calendar-round-date. Keep old name as alias.
4537 (calendar-mayan-previous-round-date):
4538 Rename calendar-previous-calendar-round-date. Keep old name as alias.
4539 (calendar-mayan-long-count-to-absolute): Rename
4540 calendar-absolute-from-mayan-long-count. Keep old name as alias.
4541 (calendar-mayan-goto-long-count-date):
4542 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
4544 * calendar/cal-persia.el (calendar-persian-month-name-array):
4545 Rename persian-calendar-month-name-array. Update callers.
4546 (calendar-persian-epoch): Rename persian-calendar-epoch.
4548 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4550 (calendar-persian-last-day-of-month):
4551 Rename persian-calendar-last-day-of-month. Update callers.
4552 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4553 Update callers, keep old name as alias.
4554 (calendar-persian-print-date): Rename calendar-print-persian-date.
4555 Update callers, keep old name as alias.
4556 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4557 Keep old name as alias.
4559 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4560 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4561 * calendar/solar.el: Update for cal-julian name changes.
4563 * calendar/cal-dst.el: Update for persian name changes.
4565 * calendar/cal-menu.el, calendar/calendar.el:
4566 Update for islamic, iso, julian, mayan, persian name changes.
4568 * calendar/diary-lib.el: Update for islamic name changes.
4570 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4571 Rename all-hebrew-calendar-holidays. Update callers, keep old name
4573 (calendar-christian-all-holidays-flag):
4574 Rename all-christian-calendar-holidays. Update callers, keep old
4576 (calendar-islamic-all-holidays-flag):
4577 Rename all-islamic-calendar-holidays. Update callers, keep old
4579 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4580 Update callers, keep old name as alias.
4581 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4582 Update for the above name changes.
4584 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
4586 * hilit-chg.el (global-highlight-changes-mode)
4587 (highlight-changes-passive-string, highlight-changes-active-string):
4588 Mark as obsolete since 23.1, not 22.1.
4590 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
4592 * hilit-chg.el (highlight-changes-visibility-initial-state)
4593 (hilit-chg-update, highlight-changes-mode-turn-on):
4594 Fix typos in docstrings.
4596 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
4598 * newcomment.el (comment-enter-backward): Be careful to restore
4599 position changed during narrowing.
4601 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
4603 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4604 Recognize `sub ($$)'.
4606 2008-04-03 Richard Sharman <rsharman@pobox.com>
4608 * hilit-chg.el (highlight-changes-mode): Rename from
4609 highlight-changes; no longer uses sub-modes active and passive;
4610 implemented by define-minor-mode.
4611 (highlight-changes-toggle-visibility): New function, to replace
4612 the old passive/active submodes of global-highlight-changes-mode;
4613 implemented by define-minor-mode.
4614 (global-highlight-changes-mode): Rename from global-highlight-changes;
4615 rewrite using define-globalized-minor-mode.
4616 (hilit-chg-major-mode-hook, hilit-chg-check-global)
4617 (hilit-chg-post-command-hook, hilit-chg-check-global)
4618 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4619 to use of define-globalized-minor-mode.
4620 (highlight-changes-global-initial-state): Change to be boolean.
4621 (highlight-changes-visible-string, highlight-changes-invisible-string):
4622 Rename from highlight-changes-active-string and
4623 highlight-changes-passive-string.
4624 (hilit-chg-update, hilit-chg-set): Use them.
4625 (global-highlight-changes-mode): Rename from global-highlight-changes.
4626 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4628 (hilit-chg-hide-changes): Rewrite to use dolist.
4629 (hilit-chg-set-face-on-change, hilit-chg-update)
4630 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4631 variable instead of testing highlight-changes-mode.
4632 (highlight-markup-buffers): Add require ediff-util; argument on calls
4633 to highlight-changes-mode changed.
4634 (highlight-compare-with-file): Fix problems with interactive
4635 call giving invalid default file.
4637 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
4639 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4640 Fix in disassembly buffer (regression in 22.2).
4642 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
4644 * emulation/viper-macs.el (viper-read-fast-keysequence):
4645 Use viper-read-event instead of viper-read-key.
4647 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4649 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4650 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4653 * emulation/viper-ex.el, emulation/viper-macs.el:
4654 * emulation/viper-mous.el:
4655 Replace load with require in eval-when-compile.
4657 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4659 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4661 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4662 (archive-try-jka-compr): New function.
4663 (archive-set-buffer-as-visiting-file): Use it.
4665 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4667 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4669 * simple.el (handle-shift-selection): New arg.
4671 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4675 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4677 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
4679 * shell.el (shell-dynamic-complete-filename): New fun.
4680 (shell-dynamic-complete-functions): Use it.
4682 * help-fns.el (describe-variable): Undo 2008-02-25 change.
4684 2008-04-03 Kenichi Handa <handa@m17n.org>
4686 * international/fontset.el (create-fontset-from-x-resource):
4687 Handle the error of X resource more gracefully.
4689 * international/latin1-disp.el (latin1-display): Don't use make-char.
4690 Fix the argument to set-char-table-range.
4691 (latin1-display-identities): Don't use make-char.
4692 (latin1-display-reset): Use map-charset-chars instead of directly
4693 calling standard-display-default.
4694 (latin1-display-check-font): Don't use make-char.
4695 (latin1-display-setup): Likewise.
4696 (latin1-display-ucs-per-lynx): Likewise.
4698 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4701 name the fields, to make the code clearer.
4702 Rewrite all `aset' and `aref' using the defined accessors.
4703 (timer--time): New pseudo-field.
4704 (timer-set-time, timer-set-idle-time, timer-inc-time)
4705 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4706 (timer--time-less-p): New function.
4707 (timer--activate): New function, extracted from timer-activate.
4708 (timer-activate-when-idle, timer-activate): Use it.
4709 (cancel-function-timers): Use dolist.
4711 2008-04-03 Glenn Morris <rgm@gnu.org>
4713 * add-log.el (c-beginning-of-defun, c-end-of-defun):
4714 Remove declarations; no longer used.
4715 (c-cpp-define-name, c-defun-name): Declare as functions.
4717 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4718 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4720 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4721 (holiday-passover-etc, holiday-hanukkah): Doc fix.
4722 Add optional argument. Simplify.
4723 (holiday-tisha-b-av-etc): Use memq rather than unless.
4724 (holiday-julian): Autoload it.
4725 (holiday-hebrew-misc): New function.
4727 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4729 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4730 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4731 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4732 all-hebrew-calendar-holidays.
4733 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4734 Simplify using new functions.
4735 (calendar-holidays): Doc fix.
4736 (generate-calendar-window): Use bound-and-true-p.
4738 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4740 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4741 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
4742 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
4743 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4745 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4747 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4751 * vc-bzr.el (vc-bzr-checkout): Simplify.
4753 * image-mode.el (image-mode-fit-frame): New command.
4755 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4756 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4757 (keyboard-escape-quit): Check region-active-p i.s.o
4758 transient-mark-mode.
4760 2008-04-02 Simon Josefsson <simon@josefsson.org>
4762 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4763 (imap-message-copyuid-1): Use it.
4764 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
4766 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4768 2008-04-02 Alan Mackenzie <acm@muc.de>
4770 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4771 New optimised functions to get the name of the current defun/macro.
4773 * add-log.el (add-log-current-defun): Move the functionality which
4774 gets the current function name for C like modes to cc-cmds.el,
4775 thus optimising for speed.
4777 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
4779 * simple.el (deactivate-mark): When the mark is temporarily
4780 active, restore the original value of transient-mark-mode.
4781 (set-mark-command): First deactivate the mark if was temporarily active.
4782 (exchange-point-and-mark): Reactivate the mark if it was
4784 (handle-shift-selection): New fun.
4785 (transient-mark-mode): Move var documentation here from buffer.c.
4786 (next-line, previous-line, backward-word, move-end-of-line)
4787 (move-beginning-of-line, forward-to-indentation)
4788 (backward-to-indentation, back-to-indentation)
4789 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4791 * mouse.el (mouse-set-region-1): Save the old value of
4792 transient-mark-mode.
4793 (mouse-drag-track): Ignore the now-obsolete value `identity' for
4794 transient-mark-mode.
4796 * textmodes/paragraphs.el (forward-paragraph)
4797 (backward-paragraph, forward-sentence, backward-sentence): Add ^
4800 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4802 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
4804 * net/tramp.el (tramp-make-tramp-temp-file):
4805 Use `tramp-drop-volume-letter' for the local file name part.
4807 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
4809 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
4810 Add menu entries corresponding to all the key bindings.
4812 * emacs-lisp/debug.el (debugger-mode-map):
4813 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4814 (conf-align-assignments): Only work on the region if it is active.
4815 (conf-quote-normal): Use when instead of if. Remove redundant test.
4817 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4818 for tracing and re-builder.
4820 2008-04-02 Glenn Morris <rgm@gnu.org>
4822 * calendar/appt.el (appt-disp-window-function): Doc fix.
4823 (appt-display-message): Move beep before display.
4824 (appt-check): Make interactive. Reduce the number of lets.
4825 Use string-equal to compare mode-line strings.
4826 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
4828 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4829 (appt-delete): Simplify.
4831 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4833 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4835 * calendar/cal-hebrew.el (list-yahrzeit-dates):
4836 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4837 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4839 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4840 (calendar-holiday-marker, mark-visible-calendar-date):
4841 * calendar/diary-lib.el (fancy-diary-display):
4842 Check for font-lock-mode before using faces.
4844 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4845 (calendar-gregorian-from-absolute): Reduce the number of lets.
4846 (hebrew-holidays-4, generate-calendar-window): Simplify.
4847 (calendar-for-loop): Make obsolete.
4848 (calendar-nth-named-day): Doc fix.
4850 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4851 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4852 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4853 Reduce the number of lets.
4854 (mark-sexp-diary-entries, calendar-mark-complex):
4855 Expand calendar-for-loops.
4857 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
4859 * find-dired.el (find-dired-filter): Fix last patch to handle
4860 multi-line process input. Pad link numbers too.
4862 2008-04-01 Jari Aalto <jari.aalto@cante.net>
4864 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4866 2008-04-01 Jason Rumney <jasonr@gnu.org>
4868 * international/characters.el (script-list): Add phonetic script,
4869 covering IPA (previously Latin), Phonetic Extensions and
4870 Phonetic Extensions Supplement (both previously unassigned).
4872 * international/fontset.el (setup-default-fontset): Use unicode fonts
4873 that cover bopomofo script for bopomofo.
4874 Likewise for braille and mathematical.
4875 Use unicode scripts that cover the phonetic script for IPA.
4877 2008-04-01 Johan Bockgård <bojohan@gnu.org>
4879 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4880 return the assigned value.
4882 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * abbrev.el (abbrev-mode): Use define-minor-mode.
4886 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
4887 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4889 (minor-mode-menu-from-indicator): Use it. Simplify.
4891 * bindings.el (mode-line-mode-menu): Move before (new) first use.
4892 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4893 Bind the key directly to the menu.
4894 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4896 2008-04-01 Daiki Ueno <ueno@unixuser.org>
4898 * epa.el (epa-decrypt-region): Explain the reason why this
4899 function should not be used in Lisp programs.
4900 (epa-decrypt-armor-in-region): Ditto.
4901 (epa-verify-region): Ditto.
4902 (epa-verify-cleartext-in-region): Ditto.
4903 (epa-sign-region): Ditto.
4904 (epa-encrypt-region): Ditto.
4906 * epg.el (epg-start-receive-keys): Fix typo in docstring.
4908 * epa.el (epa-select-keys): Show menu even if there is no key in
4911 2008-04-01 Glenn Morris <rgm@gnu.org>
4913 * calendar/calendar.el (calendar-make-temp-face): New function.
4914 (mark-visible-calendar-date):
4915 * calendar/diary-lib.el (fancy-diary-display): Use it.
4917 * vc-hooks.el (vc-responsible-backend): Declare as function.
4919 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4920 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4921 * calendar/cal-julian.el (holiday-julian): Use it.
4923 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4924 (calendar-hebrew-date-is-visible-p): Extract some common code into
4926 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4928 * calendar/cal-menu.el (cal-menu-holidays-menu):
4929 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4930 rather than obsolete alias.
4932 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4933 for mark characters.
4934 (calendar-unmark): Unmark by removing all overlays, rather than
4936 (calendar-starred-day): Remove.
4937 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
4938 (calendar-cursor-to-date): No need for special star handling now
4940 (calendar-star-date): Use overlays.
4942 * calendar/cal-french.el (calendar-goto-french-date):
4943 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4944 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4945 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4946 * calendar/cal-persia.el (calendar-persian-date-string):
4947 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4948 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4949 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4950 * calendar/solar.el (solar-equinoxes-solstices):
4951 Reduce nesting of some lets.
4953 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4954 (calendar-goto-mayan-long-count-date): Simplify.
4956 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4957 Simplify by using mapcar.
4958 (calendar-list-holidays): Return holiday-list.
4959 (list-holidays): Use let rather than let*. Remove un-needed locals
4961 (calendar-check-holidays): Return result from dolist.
4962 (holiday-float): Use a single let*. Simplify if-and to and.
4963 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4966 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
4968 * calc/calc.el: Autoload `calc-yank'.
4969 (calc-mode-map): Add keybindings for `calc-yank'.
4970 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4971 assignments for `calc-yank'.
4973 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
4975 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4976 (vc-status-mark-buffer-changed): Handle the extra field.
4978 * vc-bzr.el (vc-bzr-after-dir-status):
4979 * vc-cvs.el (vc-cvs-after-dir-status):
4980 * vc-hg.el (vc-hg-after-dir-status):
4981 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4983 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4985 * doc-view.el: Compute displayed pages first (in PDF).
4986 (doc-view-current-converter-processes): Rename from
4987 doc-view-current-converter-process. Update users.
4988 (doc-view-sentinel): Test buffer's liveness.
4989 (doc-view-pdf/ps->png-sentinel): Remove.
4990 (doc-view-start-process): New function.
4991 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4992 (doc-view-ps->pdf): Use it.
4993 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4995 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4996 (doc-view-mode): Kill the processes when leaving the mode.
4998 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
5000 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
5001 Use `byte-compile-warning-types'. Add docstring.
5003 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
5006 (smerge-resolve): Add various resolution heuristics.
5008 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
5011 2008-03-31 Glenn Morris <rgm@gnu.org>
5013 * calendar/cal-bahai.el (diary-bahai-mark-entries):
5014 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
5015 * calendar/cal-islam.el (mark-islamic-diary-entries):
5016 Fix argument order in call to diary-mark-entries-1.
5018 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
5020 (holiday-bahai): Use an algorithm actually relevant to this calendar
5023 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
5025 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
5028 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
5029 in the last fortnight in Julian October.
5031 * calendar/calendar.el (increment-calendar-month): Optionally handle
5032 systems without 12 months per year.
5034 (calendar-date-is-visible-p): Doc fix. Simplify.
5036 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
5039 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
5041 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
5042 (hi-lock-unload-function): New function.
5044 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
5046 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
5047 overwriting when NEWNAME is a local file.
5049 * net/trampver.el: Update release number.
5051 2008-03-30 Alexandre Julliard <julliard@winehq.org>
5053 * vc-git.el: Make vc-status display information about copies,
5054 renames and permission changes.
5055 (vc-git-extra-fileinfo): New defstruct.
5056 (vc-git-escape-file-name, vc-git-file-type-as-string)
5057 (vc-git-rename-as-string, vc-git-permissions-as-string)
5058 (vc-git-status-printer): New functions.
5059 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
5060 (vc-git-after-dir-status-stage1): Look for copies, renames and
5062 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
5063 (vc-git-dir-status): Ask for staged files and renames.
5065 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
5067 * vc.el: Allow backends to display backend specific information in
5068 the vc-status listing.
5069 (vc-status-fileinfo): Add a field for backend specific information.
5070 (vc-status-printer): Rename to ...
5071 (vc-default-status-printer): ... this.
5072 (vc-status-printer): New function.
5073 (vc-update-vc-status-buffer): Set the backend specific file info
5076 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5078 * textmodes/remember.el (remember-diary-convert-entry): Revert last
5079 change (ill-conceived).
5081 2008-03-29 Glenn Morris <rgm@gnu.org>
5083 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
5084 * calendar/cal-julian.el (holiday-julian): Simplify.
5086 * calendar/holidays.el (list-holidays): Use or.
5088 2008-03-29 Juri Linkov <juri@jurta.org>
5090 * window.el (split-window-preferred-horizontally): New function.
5092 * cus-start.el (split-window-preferred-function):
5093 Set choice for "vertically" to nil instead of split-window.
5094 Set choice for "horizontally" to split-window-preferred-horizontally
5097 2008-03-29 Juri Linkov <juri@jurta.org>
5099 * simple.el (minibuffer-default-add-function): New variable with
5100 the default to minibuffer-default-add-completions.
5101 (minibuffer-default-add-done): New variable. Make it buffer-local.
5102 (minibuffer-default-add-completions): New function.
5103 (goto-history-element): Set minibuffer-default-add-done to t and
5104 call a function in minibuffer-default-add-function when the
5105 specified absolute history position is greater than the length of
5106 the minibuffer-default list and minibuffer-default-add-done is nil.
5107 Change "^End of history; no next item$" to "^End of defaults;
5110 * bindings.el (debug-ignored-errors): Change "^End of history;
5111 no next item$" to "^End of defaults; no next item$".
5113 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
5117 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
5118 to with-no-warnings.
5120 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
5122 Sync with Tramp 2.1.13.
5124 * net/tramp-ftp.el: Require 'cl when byte-compiling.
5126 * net/trampver.el: Update release number.
5128 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5130 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
5131 the current backend.
5133 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
5134 (vc-status-refresh): Create a temporary buffer and call the
5135 `dir-status' backend function from that buffer.
5137 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
5138 (vc-bzr-after-dir-status): Don't kill the buffer.
5140 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
5141 (vc-cvs-after-dir-status): Don't kill the buffer.
5143 * vc-git.el (vc-git-dir-status): Don't create a buffer.
5144 (vc-git-after-dir-status-stage2): Don't kill the buffer.
5146 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
5147 (vc-hg-after-dir-status): Don't kill the buffer.
5149 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
5150 (vc-svn-after-dir-status): Don't kill the buffer.
5152 2008-03-29 Glenn Morris <rgm@gnu.org>
5154 * calendar/calendar.el (diary-file, american-date-diary-pattern)
5155 (european-date-diary-pattern, european-calendar-display-form)
5156 (american-calendar-display-form, diary-display-hook): Doc fixes.
5157 (european-calendar-style): Doc fix. Use calendar-set-date-style for
5158 custom :set. Mark as obsolete.
5159 (calendar-date-style, iso-date-diary-pattern)
5160 (iso-calendar-display-form): New user variables.
5161 (diary-date-forms, calendar-date-display-form): Set using
5162 calendar-date-style. Doc fix.
5163 (calendar-set-date-style): New command.
5164 (european-calendar, american-calendar): Use calendar-set-date-style.
5167 * calendar/diary-lib.el (number): Move declaration where needed.
5168 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
5169 (diary-make-date): New function.
5170 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
5171 Use diary-make-date.
5172 (diary-date-display-form, diary-insert-entry-1): New functions.
5173 (insert-monthly-diary-entry, insert-yearly-diary-entry):
5174 Use diary-insert-entry-1.
5175 (insert-anniversary-diary-entry, insert-block-diary-entry)
5176 (insert-cyclic-diary-entry): Use diary-date-display-form.
5178 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5179 Autoload diary-insert-entry-1.
5180 * calendar/cal-bahai.el (diary-bahai-insert-entry)
5181 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5182 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
5183 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
5184 * calendar/cal-islam.el (insert-islamic-diary-entry)
5185 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
5186 Use diary-insert-entry-1.
5188 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
5189 (diary-yahrzeit): Doc fix. Use diary-make-date.
5191 * calendar/icalendar.el (icalendar--datetime-to-american-date):
5192 New name for icalendar--datetime-to-noneuropean-date. Make old name
5194 (icalendar--datetime-to-iso-date): New function.
5195 (icalendar--datetime-to-diary-date): Doc fix. Respect
5196 calendar-date-style if bound.
5198 * textmodes/remember.el (remember-diary-convert-entry):
5199 Respect calendar-date-style if bound.
5201 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
5203 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
5204 (xterm-mouse-handle-delete-frame): Delete.
5206 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
5207 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
5208 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
5209 in xterm-modify-other-keys-terminal-list.
5211 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
5214 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
5216 * vc.el (vc-update): Check if the buffer is unsaved only if it
5218 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
5221 2008-03-28 Magnus Henoch <mange@freemail.hu>
5223 * net/dns.el (dns-write): Use set-buffer-multibyte.
5225 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * vc-bzr.el (vc-bzr-sha1): New fun.
5228 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5229 (vc-bzr-registered): Use it.
5231 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5233 * vc.el (vc-status-kill-dir-status-process): Simplify.
5234 (vc-status-refresh): Make sure the buffer is live.
5235 (ring): Don't require it, not used.
5237 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
5239 * progmodes/verilog-mode.el (verilog-auto-inout-module):
5240 Add optional regular expression to AUTOINOUTMODULE.
5241 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5242 (verilog-auto-inst-param, verilog-auto-reg)
5243 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5244 (verilog-auto-output-every, verilog-auto-input)
5245 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5246 (verilog-auto-unused, verilog-auto): Update documentation to use
5247 more obvious instance module names versus cell names.
5249 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
5251 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5252 kill if a process is running.
5254 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5256 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
5258 * vc.el: Add new backend function 'status-extra-headers.
5259 (vc-default-status-extra-headers): New function.
5260 (vc-status-headers): Call 'status-extra-headers. Add colors.
5262 * vc-git.el (vc-git-status-extra-headers): New function.
5264 2008-03-28 Glenn Morris <rgm@gnu.org>
5266 * calendar/cal-menu.el (cal-menu-holidays-menu)
5267 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5268 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5269 holiday-list is optional.
5270 (calendar-mouse-holidays): Remove un-needed local `l'.
5272 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5273 Remove un-needed local `date'.
5274 (calendar-cursor-to-visible-date): Use let rather than let*.
5275 Remove un-needed local `first-of-month-weekday'.
5277 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5279 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5281 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
5282 (diary-header-line-flag, diary-header-line-format): Declare.
5283 (diary-pull-attrs): Check for multiple matches.
5284 (diary-list-entries-2): Simplify finding start of date.
5285 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5287 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5288 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5290 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
5292 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5294 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5296 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5300 * image-mode.el (image-mode-reapply-winprops): Fix last change.
5302 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
5304 * international/mule-conf.el (define-iso-single-byte-charset):
5305 Don't make latin-iso8859-* supplementary.
5306 (#'set-charset-priority): Don't change the priority of charsets
5307 `unicode' and `emacs'.
5309 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5314 2008-03-27 Glenn Morris <rgm@gnu.org>
5316 * calendar/cal-bahai.el (diary-bahai-list-entries):
5317 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5318 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5320 * calendar/calendar.el (diary-file): Doc fix.
5322 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5323 (list-diary-entries-hook, mark-diary-entries-hook)
5324 (include-other-diary-files, diary-mail-entries)
5325 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5326 (diary-set-header): New function.
5327 (diary-header-line-flag, diary-header-line-format):
5328 Use diary-set-header for custom :set function.
5329 (diary-set-maybe-redraw): Use symbol-value rather than eval.
5330 (diary-attrtype-convert): Use intern-soft rather than read.
5331 (diary-display-no-entries): New function.
5332 (simple-diary-display, fancy-diary-display): Use it.
5333 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
5334 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5336 * calendar/holidays.el (list-holidays): Doc fix.
5338 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
5340 * calc/calc-store.el (calc-read-var-name-history): New variable.
5341 (calc-read-var-name): Use `calc-read-var-name-history'.
5343 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * image-mode.el (image-mode-reapply-winprops): Simplify now that
5346 window-configuration-change-hook works buffer-locally.
5348 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5350 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5351 for Emacs Lisp, not Lisp.
5353 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
5355 * help-fns.el (describe-function-1, describe-variable):
5356 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5358 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5359 replacement is provided, don't print "use nil instead".
5361 2008-03-26 Johan Bockgård <bojohan@gnu.org>
5363 * complete.el (PC-do-completion): Use regexp-quote.
5365 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
5367 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5368 Detect missing files.
5370 * vc-git.el (vc-git-extra-menu-map): New key map.
5371 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5374 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5377 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5379 * calendar/holidays.el (list-holidays): Make Y2 optional.
5381 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5382 buffers shown to the user.
5383 (appt-disp-window): Disable undo explicitly now that the leading space
5386 * simple.el (activate-mark): New function.
5387 (set-mark-command): Use it with region-active-p to clean up the code.
5388 (exchange-point-and-mark): Invert the meaning of C-u when
5389 transient-mark-mode is active.
5391 * dired-aux.el (dired-create-files): Use dolist.
5393 * bindings.el (mode-line-change-eol): Use with-selected-window.
5395 * apropos.el (apropos-command): Include macros.
5397 2008-03-26 Glenn Morris <rgm@gnu.org>
5399 * calendar/cal-bahai.el: Require calendar, not cal-julian.
5400 (calendar-bahai-epoch): Doc fix.
5402 * calendar/cal-china.el: Explicitly require calendar.
5404 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5405 Require calendar rather than cal-julian.
5406 Autoload calendar-absolute-from-julian.
5407 * calendar/cal-coptic.el (coptic-calendar-epoch):
5408 * calendar/cal-islam.el (calendar-islamic-epoch):
5409 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5411 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5413 * calendar/cal-dst.el: Don't require cal-persia.
5414 (calendar-absolute-from-persian): Autoload it.
5415 (dst-adjust-time): Doc fix.
5417 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5418 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5421 * calendar/cal-menu.el: Require calendar rather than declaring
5423 * calendar/calendar.el: Provide calendar before requiring cal-menu.
5425 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5426 calendar-after-frame-setup-hooks. Update callers, make old name an
5427 obsolete alias. Doc fix.
5428 (calendar-frame-1): Doc fix.
5430 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5432 * calendar/calendar.el (oriental-holidays, solar-holidays):
5433 * calendar/holidays.el (list-holidays): Assume atan always bound.
5435 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5436 Explicitly require calendar, not cal-julian.
5437 * calendar/lunar.el: Explicitly require cal-dst.
5439 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5443 * help-fns.el (describe-function-1, describe-variable): If no
5444 replacement is provided, don't print "use nil instead".
5446 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
5448 * proced.el: New file.
5450 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
5452 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5454 2008-03-25 Juri Linkov <juri@jurta.org>
5456 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5457 in battery-mode-line-format.
5459 * bindings.el (minibuffer-local-map): For the command
5460 file-cache-minibuffer-complete replace keymap minibuffer-local-map
5461 with map which is already locally bound to minibuffer-local-map.
5463 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5465 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5466 Remove `sort-first' argument.
5468 * subr.el (redisplay-end-trigger-functions)
5469 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5470 (process-filter-multibyte-p, set-process-filter-multibyte):
5473 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
5475 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5476 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5477 use the LOCAL arg of `add-hook'.
5478 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5479 Remove spurious * from defcustom docstrings.
5480 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5481 Fix typos in messages.
5482 (reb-mode-buffer-p): New function.
5483 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
5484 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
5485 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
5486 Use `unless', `when'.
5487 (re-builder-unload-function): New function.
5489 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
5491 * vc-hooks.el (vc-state): Add documentation for 'missing.
5493 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
5495 * progmodes/verilog-mode.el (verilog-auto-output)
5496 (verilog-auto-input, verilog-auto-inout, verilog-auto)
5497 (verilog-delete-auto): Add optional regular expression to
5498 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5499 (verilog-signals-matching-regexp): New internal function for
5502 2008-03-25 Johan Bockgård <bojohan@gnu.org>
5504 * info.el (Info-isearch-search): Always return point.
5506 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * diff-mode.el (diff-remembered-defdir): New var.
5509 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5511 2008-03-25 Glenn Morris <rgm@gnu.org>
5513 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5514 calendar-bahai-prompt-for-date. Update callers, make old name an
5515 obsolete alias. Doc fix.
5516 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5517 coptic-prompt-for-date. Update callers, make old name an
5518 obsolete alias. Doc fix.
5519 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5520 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
5521 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5522 calendar-islamic-prompt-for-date. Update callers. Doc fix.
5523 * calendar/cal-iso.el (calendar-iso-read-date): New name for
5524 calendar-iso-read-args. Update callers, make old name an obsolete
5526 * calendar/cal-persia.el (calendar-persian-read-date): New name for
5527 persian-prompt-for-date. Update callers, make old name an
5528 obsolete alias. Doc fix. Move definition before use.
5530 * calendar/cal-x.el (diary-frame-parameters)
5531 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5532 (calendar-frame-1): Doc fixes.
5533 (make-fancy-diary-buffer): Remove declaration.
5534 (calendar-dedicate-diary): Replace call to deleted function
5535 make-fancy-diary-buffer.
5536 (calendar-frame-setup): New function.
5537 (calendar-one-frame-setup, calendar-only-one-frame-setup)
5538 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5539 work, and mark as obsolete.
5540 (special-display-buffer-names): Don't mess with this; it's not our
5542 (cal-x-load-hook): Defvar it, and mark as obsolete.
5544 * calendar/calendar.el (calendar-remove-frame-by-deleting):
5545 Default to t. Add to 'calendar group.
5546 (calendar): Doc fix. Use calendar-frame-setup.
5547 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
5548 (generate-calendar-window): Doc fix.
5550 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5554 2008-03-24 Drew Adams <drew.adams@oracle.com>
5556 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5558 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
5559 (finder-exit): Ignore errors rather than avoiding them.
5560 Kill *Finder-package* buffer also.
5562 2008-03-24 Andreas Schwab <schwab@suse.de>
5564 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5566 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
5568 * vc-hg.el (vc-hg-after-dir-status):
5569 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5571 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5572 Detect removed files.
5574 * vc.el (vc-status-printer): Use a different face for missing files.
5575 (vc-status-hide-up-to-date): Rename from
5576 vc-status-remove-up-to-date. Update all callers.
5577 (vc-status-mode-map): Bind C-m.
5579 2008-03-24 Alexandre Julliard <julliard@winehq.org>
5581 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5583 (vc-git--state-code): ... to this new function.
5584 (vc-git-state): Use it.
5586 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
5588 * textmodes/remember.el (remember-mail-date)
5589 (remember-store-in-mailbox): Write date and From line in such a
5590 way that Mutt can read it.
5592 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
5594 * simple.el (transient-mark-mode): Turn on by default.
5596 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5598 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5599 'unregistered for unregistered files.
5601 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5603 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5605 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5608 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5609 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5610 Add :enable for vc-status-refresh.
5611 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5612 (vc-status-tool-bar-map): Add binding for
5613 vc-status-kill-dir-status-process.
5614 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5615 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5616 Reset vc-status-process-buffer.
5617 (vc-status-refresh): Don't run two refreshes at a time.
5618 (vc-status): If the buffer is already in vc-status-mode only refresh.
5619 (vc-status-mark-buffer-changed): Add an optional file parameter.
5620 (vc-resynch-buffer): Use it.
5621 (vc-delete-file): Expand the file name before using it.
5622 Be careful to not create a new buffer with the old file contents.
5623 Update the VC state after performing the operation.
5625 2008-03-23 Andreas Schwab <schwab@suse.de>
5627 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5628 Fix radio button condition.
5630 [customize]: Add radio button.
5632 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
5634 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5635 (calc-user-parse-tables, calc-gnuplot-default-device)
5636 (calc-gnuplot-default-output, calc-gnuplot-print-device)
5637 (calc-gnuplot-print-output, calc-gnuplot-geometry)
5638 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5639 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5640 (calc-undo-list, calc-redo-list, calc-main-buffer)
5641 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5642 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5643 (calc-said-hello, calc-executing-macro, calc-any-selections)
5644 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5645 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5646 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5647 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5648 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5649 (calc-create-buffer, calc-quit): Add docstrings.
5651 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
5653 * makefile.w32-in (WINS_ALMOST): Add org.
5655 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
5657 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5658 New functions to implement vc-status support.
5660 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5662 * vc.el (vc-status-prepare-status-buffer): New function.
5663 (vc-status): Use it.
5665 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5668 2008-03-22 Alexandre Julliard <julliard@winehq.org>
5670 * vc-git.el (vc-git--empty-db-p)
5671 (vc-git-after-dir-status-stage1-empty-db): New functions.
5672 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5673 Add support for empty repositories.
5675 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
5677 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5678 Allow "^" in a version name.
5680 * vc-mtn.el (vc-mtn-state): Support the added state.
5682 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
5684 * org: New directory for Org-mode.
5686 * org/org-export-latex.el: Moved from lisp/texmodes.
5688 * org/org-irc.el: Moved from lisp/texmodes.
5690 * org/org-mac-message.el: Moved from lisp/texmodes.
5692 * org/org-mouse.el: Moved from lisp/texmodes.
5694 * org/org-publish.el: Moved from lisp/texmodes.
5696 2008-03-21 Juri Linkov <juri@jurta.org>
5698 * comint.el (comint-dynamic-simple-complete):
5699 Use variable `stub' for the second arg `common-substring'
5700 of `comint-dynamic-list-completions'.
5701 (comint-dynamic-list-filename-completions):
5702 Use variable `filenondir' for the second arg `common-substring'
5703 of `comint-dynamic-list-completions'.
5704 (comint-dynamic-list-completions): Add new optional arg
5705 `common-substring'. Add `common-substring' as the second arg of
5706 the call to `display-completion-list'. Doc fix.
5708 * comint.el (comint-dynamic-complete-as-filename)
5709 (comint-dynamic-list-filename-completions)
5710 (comint-dynamic-simple-complete): Use `minibuffer-message'
5711 to display message "No completions of %s" when a command
5712 is called in the minibuffer.
5713 (comint-dynamic-simple-complete): Don't display other
5714 completion messages when a command is called in the minibuffer.
5715 (comint-dynamic-list-completions): Use `minibuffer-message'
5716 to display message " [Type space to flush ...]" when a command
5717 is called in the minibuffer.
5719 * shell.el (shell-dynamic-complete-command)
5720 (shell-dynamic-complete-environment-variable): Don't display
5721 completion messages when command is called in the minibuffer.
5723 * emacs-lisp/lisp.el (lisp-complete-symbol):
5724 Use `minibuffer-message' to display message "No completions of %s"
5725 when this command is called in the minibuffer.
5727 * bindings.el (standard-mode-line-modes): Put special help-echo
5728 tooltip on recursive edit %[ %] mode-line constructs.
5730 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5731 "^No dynamic expansion for .* found$" to allow error messages like
5732 "No dynamic expansion for \"%s\" found in this-buffer".
5734 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
5736 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5739 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5741 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5742 * vc.el (vc-default-dired-state-info): Use just "modified".
5743 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5744 (vc-cvs-mode-line-string): Make use of the better default.
5745 (vc-cvs-parse-entry): Use the new `added'.
5746 (vc-cvs-dired-state-info): Remove.
5747 * vc-svn.el (vc-svn-dired-state-info): Remove.
5748 * vc-hg.el (vc-hg-dired-state-info): Remove.
5749 * vc-git.el (vc-git-dired-state-info): Remove.
5751 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5753 * vc-git.el (vc-git-status-result): New variable.
5754 (vc-git-dir-status): Split out ...
5755 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5756 ... these new functions and work asynchronously.
5758 2008-03-21 Alexandre Julliard <julliard@winehq.org>
5760 * vc-git.el (vc-git-after-dir-status): Remove.
5761 (vc-git-dired-state-info): Reimplement.
5763 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
5765 * replace.el (occur-mode-map): Add :help.
5767 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5770 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5772 (vc-status-remove-up-to-date): New function.
5773 (vc-status-mode-map, vc-status-menu-map): Bind it.
5774 (vc-status-printer): Use a different face up-to-date files.
5775 (vc-resynch-buffer): Update the vc-status buffer if it exists.
5776 (Todo): Remove solved entries.
5778 * vc-hg.el (vc-hg-state):
5779 * vc-git.el (vc-git-state):
5780 * vc-cvs.el (vc-cvs-parse-status):
5781 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5784 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * progmodes/compile.el (compile):
5787 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5789 * simple.el (minibuffer-local-shell-command-map): New var.
5790 (minibuffer-complete-shell-command, read-shell-command): New funs.
5791 (shell-command, shell-command-on-region): Use them.
5793 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5795 * vc.el (vc-status-mark-buffer-changed): New function to implement
5796 updating of the *vc-status* buffer when a buffer is saved.
5797 (vc-status-mode): Use it for after-change-hook.
5798 (vc-add-to-vc-status-buffer): Rename to ...
5799 (vc-status-add-entry): ... this.
5800 (Todo): Add new entry.
5802 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5806 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
5808 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5809 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5810 Remove spurious * from defcustom docstrings.
5811 (icomplete-compute-delay): Fix docstring and remove spurious *.
5812 (icomplete-delay-completions-threshold): Fix typo in docstring and
5814 (icomplete-completions): While collecting the list of prospective
5815 candidates, don't overshoot `icomplete-prospects-length'.
5817 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
5819 * textmodes/refbib.el:
5820 * textmodes/reftex.el:
5821 * textmodes/reftex-global.el:
5822 * textmodes/reftex-vars.el:
5823 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5824 compiler pacifying defvars.
5825 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5826 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5829 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
5831 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5832 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5833 (verilog-customize, verilog-font-customize)
5834 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5835 (verilog-mode): Update documentation strings to match tool tips.
5836 (verilog-auto-search-do, verilog-auto-re-search-do)
5837 (verilog-skip-forward-comment-or-string): Fix verilog-auto
5838 expansion when a .* appears inside a string.
5839 (verilog-re-search-forward, verilog-re-search-backward):
5840 Add comment to recall how this works.
5841 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5843 2008-03-20 Glenn Morris <rgm@gnu.org>
5845 * calendar/calendar.el (calendar-other-dates): New function.
5846 (calendar-print-other-dates): Use calendar-other-dates.
5847 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5848 the declarations it replaces.
5849 (calendar-mouse-print-dates): Use calendar-other-dates.
5851 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5852 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5853 (calendar-absolute-from-bahai): Fix the leap-year case.
5854 (calendar-bahai-from-absolute): Re-use the Gregorian month.
5855 (calendar-bahai-date-string, calendar-bahai-print-date):
5856 Handle pre-Bahai dates.
5858 * calendar/cal-china.el (chinese-calendar-celestial-stem)
5859 (chinese-calendar-terrestrial-branch): Make defcustoms.
5861 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5862 (calendar-mouse-view-diary-entries): Use or.
5863 (calendar-mouse-chinese-date): Remove unused command.
5864 (cal-menu-load-hook): Mark as obsolete.
5866 * calendar/solar.el (calendar-location-name, calendar-latitude)
5867 (calendar-longitude, solar-arctan, sunrise-sunset)
5868 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5870 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5872 * calc/calc.el: Remove outdated comments.
5873 (defcalcmodevar, calc-mode-var-list-restore-default-values)
5874 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5877 2008-03-19 Jason Rumney <jasonr@gnu.org>
5879 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5881 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
5883 * net/tls.el (open-tls-stream): Reindent.
5885 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
5887 * net/tramp.el (tramp-let-maybe): Removed.
5888 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5889 It does not exist under XEmacs.
5890 (tramp-handle-file-truename, tramp-handle-expand-file-name)
5891 (tramp-completion-file-name-handler): Let-bind
5892 `directory-sep-char'.
5894 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5895 `directory-sep-char'.
5897 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * help-fns.el (describe-function-1): Don't signal "missing arglist"
5900 for autoloaded keymaps.
5902 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5903 (electric-verilog-terminate-line, verilog-in-struct-region-p)
5904 (verilog-backward-ws&directives, verilog-forward-ws&directives)
5905 (verilog-in-comment-p, verilog-in-star-comment-p)
5906 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5907 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5908 (verilog-skip-forward-comment-or-string, verilog-in-paren)
5909 (verilog-skip-forward-comment-p): Use it.
5911 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5913 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5914 (org-remember-templates, org-time-stamp-rounding-minutes)
5915 (org-back-over-empty-lines, org-find-base-buffer-visiting)
5916 (org-columns-new): Fix typos in docstrings.
5918 2008-03-19 Glenn Morris <rgm@gnu.org>
5920 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5921 (tramp-handle-shell-command): Use condition-case rather than
5924 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5926 * diff-mode.el (diff-header): Make the color louder.
5927 (diff-refine-change): Tone the color down.
5929 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
5931 * descr-text.el (describe-char): When `describe-char-unidata-list'
5932 is set to show all properties, list them in the right order.
5934 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * international/mule.el (load-with-code-conversion): Avoid setting
5937 default-enable-multibyte-characters.
5939 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
5941 * vc.el (vc-annotate-background): Fix custom type.
5943 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * descr-text.el (describe-char-unidata-list): Allow specifying
5946 just all properties.
5947 (describe-char): Handle that new value.
5949 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5951 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5953 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5954 instead of file name extension to make docs with uncommon
5957 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
5959 * doc-view.el (require): Require cl at compile time because
5962 2008-03-18 Glenn Morris <rgm@gnu.org>
5964 * calendar/calendar.el (initial-calendar-window-hook)
5965 (today-visible-calendar-hook): Doc fixes.
5967 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
5969 * net/tramp.el (tramp-root-regexp): Simplify.
5970 (tramp-completion-file-name-regexp-separate): Don't insist on
5971 leading "[". This prevents method or user or host completion.
5972 (tramp-let-maybe): Autoload it.
5973 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
5974 is an alias for `identity'.
5975 (tramp-handle-write-region): Protect `last-coding-system-used'
5976 over the trailing statements.
5977 (tramp-completion-file-name-handler-post-function): Remove.
5978 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5979 instead of calling `tramp-drop-volume-letter'.
5983 * net/trampver.el: Move coding cookie at the end.
5985 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5988 elements which may be something else than characters.
5990 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
5992 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5993 New functions to implement vc-status support.
5995 * vc.el (vc-default-extra-status-menu)
5996 (vc-add-to-vc-status-buffer): New functions.
5998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6001 2008-03-17 Glenn Morris <rgm@gnu.org>
6003 * calendar/cal-x.el (diary-frame-parameters)
6004 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
6005 Fix custom type; add options.
6006 (calendar-frame, diary-frame): Doc fixes.
6007 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
6009 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
6010 Use calendar-frame-1 and calendar-dedicate-diary.
6011 (calendar-one-frame-setup): Also handle only-one-frame case.
6012 (calendar-only-one-frame-setup): Doc fix. Just call
6013 calendar-one-frame-setup.
6015 * calendar/diary-lib.el: Re-order some definitions before their use.
6016 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
6017 (diary-list-entries): Doc fixes.
6018 (make-fancy-diary-display): Remove function.
6020 * calendar/calendar.el (calendar-today-marker)
6021 (initial-calendar-window-hook, today-visible-calendar-hook)
6022 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
6023 (calendar-star-date, calendar-mark-today): Doc fixes.
6024 (today-visible-calendar-hook): Add options.
6025 (calendar-in-read-only-buffer): New macro.
6026 (calendar-basic-setup): Adapt for change in calendar-read-date.
6027 Place holiday let inside if.
6028 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
6029 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
6030 (calendar-print-other-dates): Use one let rather than many.
6032 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
6033 (calendar-print-other-dates):
6034 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6035 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
6036 * calendar/holidays.el (calendar-list-holidays, list-holidays)
6037 (calendar-cursor-holidays):
6038 * calendar/lunar.el (calendar-phases-of-moon): Use
6039 calendar-in-read-only-buffer to replace previous code and disable undo.
6041 2008-03-16 Juri Linkov <juri@jurta.org>
6043 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
6044 and regexp-search-ring-yank-pointer for the HISTPOS argument of
6045 read-from-minibuffer to provide the correct initial minibuffer
6046 history position in isearch-edit-string when it is called from
6047 isearch-ring-adjust.
6049 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
6050 to check if the current buffer is the minibuffer, and in this case
6051 call abort-recursive-edit to kill the minibuffer. Doc fix.
6052 (kill-this-buffer-enabled-p): Allow this function to return non-nil
6053 when the current buffer is the minibuffer.
6055 * simple.el (goto-line): Leave mark at previous position. Doc fix.
6057 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
6059 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6060 Use non-nil PARENTS attribute of make-directory instead of
6061 explicitly checking existence the current cache directory.
6063 2008-03-16 Daiki Ueno <ueno@unixuser.org>
6065 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
6066 M-x epa-file-select-keys.
6068 2008-03-16 Kenichi Handa <handa@m17n.org>
6070 * international/mule.el (auto-coding-alist):
6071 Use no-conversion-multibyte for archive files.
6073 2008-03-16 Glenn Morris <rgm@gnu.org>
6075 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
6077 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
6078 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
6079 Use calendar-mark-1.
6080 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
6081 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
6082 Use calendar-mark-complex.
6083 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
6084 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
6085 Use calendar-mark-1.
6087 * calendar/calendar.el (calendar-mod): Remove.
6088 * calendar/cal-china.el (calendar-chinese-from-absolute)
6089 (calendar-chinese-date-string): Expand calendar-mod calls.
6090 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
6091 Expand calendar-mod calls.
6093 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
6094 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6095 (diary-bahai-insert-yearly-entry): Use let rather than let*.
6096 Move obsolete aliases after the functions that replaced them.
6098 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
6099 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
6100 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
6101 Use let rather than let*.
6102 (calendar-hebrew-prompt-for-date): New function.
6103 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
6104 (holiday-tisha-b-av-etc): Use unless, let.
6106 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
6107 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
6109 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
6111 * calendar/calendar.el (calendar-for-loop): Add indent spec.
6113 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
6114 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
6116 (diary): Remove un-needed let.
6117 (view-other-diary-entries): Rename argument.
6118 (diary-list-entries-2): New function.
6119 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
6120 (print-diary-entries): Use unless.
6121 (diary-mark-entries-1): Change argument order, make all but
6122 markfunc optional. Handle the standard (Gregorian) case.
6123 Use match-string-no-properties. Handle marks.
6124 (mark-diary-entries): Use diary-mark-entries-1.
6125 (diary-font-lock-keywords-1): New macro.
6126 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
6128 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
6130 * icalendar.el (icalendar-version): Increase to 0.18.
6131 (icalendar-export-hidden-diary-entries): New variable.
6132 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
6133 In case of error, insert full error-val.
6134 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
6135 Use calendar-day-of-week. Return the day number.
6136 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
6138 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
6140 * icalendar.el (icalendar-recurring-start-year): New variable.
6141 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
6142 (icalendar-export-region): Ignore hidden diary entries.
6143 (icalendar--convert-ordinary-to-ical): Fix case where event
6144 spans across midnight boundary.
6145 (icalendar-first-weekday-of-year): New function.
6146 (icalendar--convert-weekly-to-ical): Allow user-selectable start
6147 year for recurring events (Mozilla calendars do not propagate
6148 recurring events forever, so year 2000 start date was not working).
6149 (icalendar--convert-yearly-to-ical): Remove extra spaces in
6150 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
6152 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
6154 * net/tramp.el (tramp-root-regexp): New defconst.
6155 (tramp-completion-file-name-regexp-unified)
6156 (tramp-completion-file-name-regexp-separate)
6157 (tramp-completion-file-name-regexp-url): Use it.
6158 (tramp-do-copy-or-rename-file-via-buffer):
6159 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
6160 t for `insert-file-contents-literally'.
6161 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
6163 (tramp-completion-file-name-handler-post-function): New defconst.
6164 (tramp-completion-file-name-handler): Use it.
6165 (tramp-maybe-open-connection): Update calls to
6166 `tramp-flush-connection-property' for removed 2nd argument.
6168 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6170 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
6171 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
6174 2008-03-15 Glenn Morris <rgm@gnu.org>
6176 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
6178 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
6179 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6180 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6181 (diary-bahai-list-entries): Use diary-list-entries-1.
6182 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
6183 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
6184 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6185 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6186 (list-hebrew-diary-entries): Use diary-list-entries-1.
6187 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
6188 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
6189 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6190 (diary-list-entries-1, diary-mark-entries-1): Autoload.
6191 (list-islamic-diary-entries): Use diary-list-entries-1.
6192 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
6194 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
6196 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
6198 * calendar/cal-china.el (number-chinese-months)
6199 (calendar-chinese-from-absolute): Use nth, caar.
6201 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
6203 * calendar/cal-french.el (french-calendar-accents): Doc fix.
6205 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
6206 (calendar-hebrew-month-name-array-leap-year)
6207 (hebrew-calendar-parashiot-names): Make constants.
6208 (diary-parasha): Move definition after constants it uses.
6210 * calendar/cal-html.el (cal-html-insert-link-yearpage)
6211 (cal-html-htmlify-list): Doc fix.
6212 (cal-html-htmlify-entry): Use nth.
6214 * calendar/cal-islam.el (calendar-islamic-month-name-array)
6215 (calendar-islamic-epoch): Make constants.
6216 (calendar-islamic-epoch): Doc fix.
6218 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6220 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6221 (cal-tex-month-name): Doc fix.
6222 (cal-tex-last-blank-p): Use zerop.
6224 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6225 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6226 (calendar-cursor-to-date): Doc fix.
6227 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6228 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6229 (calendar-day-number): Use when.
6230 (generate-calendar-month): Use dotimes.
6231 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6232 (calendar-set-mark): Reverse conditional.
6233 (calendar-make-alist): Move definition before use.
6235 * calendar/diary-lib.el (diary-face-attrs)
6236 (diary-glob-file-regexp-prefix, diary-selective-display)
6237 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6238 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6239 (diary-anniversary, diary-cyclic)
6240 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6241 (diary-header-line-format): Change wording.
6242 (diary-list-entries): Set `date-start' in let.
6243 (include-other-diary-files, mark-included-diary-files): Use format.
6244 (simple-diary-display, fancy-diary-display): Use cadr, unless.
6245 (mark-diary-entries): Use 1+.
6246 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6247 (mark-calendar-month): Use dotimes.
6249 * calendar/holidays.el (displayed-month, displayed-year):
6250 Move declarations where needed.
6251 (calendar-list-holidays): Doc fix.
6253 * calendar/parse-time.el (parse-time-string): Simplify.
6255 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6257 (solar-sunrise-sunset): Rename some local variables for clarity.
6258 (sunrise-sunset): Use zerop.
6259 (solar-mean-equinoxes/solstices): Doc fix.
6261 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6263 (timeclock-completing-read, timeclock-generate-report): Use zerop.
6264 (timeclock-mean, timeclock-generate-report): Use dolist.
6266 * calendar/todo-mode.el (todo-add-category): Simplify.
6267 (todo-more-important-p, todo-delete-item, todo-file-item):
6269 (todo-top-priorities): Use zerop.
6271 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
6273 * buff-menu.el (list-buffers-noselect): Display buffer name in
6274 tooltip instead of mouse binding when it doesn't fit in the list.
6276 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6278 * faces.el (xw-defined-colors):
6279 * simple.el (widget-convert, shell-mode): Declare as functions
6280 instead of autoloading.
6286 * emacs-lisp/backquote.el:
6287 * emacs-lisp/timer.el:
6293 * textmodes/fill.el:
6294 * textmodes/paragraphs.el: Remove autoloads, redundant when the
6295 files are preloaded.
6297 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * desktop.el (desktop-create-buffer): Don't catch errors if
6300 debug-on-error is set.
6302 2008-03-14 Eli Zaretskii <eliz@gnu.org>
6304 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6305 ($(lisp)/calendar/diary-loaddefs.el)
6306 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6307 (LOADDEFS): New macro.
6308 (autoloads): Depend on $(LOADDEFS).
6310 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6312 * font-lock.el (featurep): Remove test, not useful anymore.
6313 (facemenu-keymap): Move key binding ...
6314 * facemenu.el (facemenu-keymap): ... here.
6316 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
6317 for each file in the list.
6318 (vc-bzr-log-view-mode): Recognize the file marker.
6320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6321 for checkdoc and profiling.
6323 2008-03-14 Bastien Guerry <bzg@altern.org>
6325 * textmodes/flyspell.el (nxml-mode): Add the right
6326 `flyspell-mode-predicate'.
6328 * wid-edit.el (link): Use 'mouse-face for :follow-link.
6330 2008-03-14 Glenn Morris <rgm@gnu.org>
6332 * calendar/solar.el: Reorder so that functions are defined before use.
6333 (displayed-month, displayed-year): Move declarations where needed.
6334 (solar-get-number): Move definition before use. Use unless.
6335 (solar-equatorial-coordinates): Simplify.
6336 (solar-sunrise-and-sunset): Use let rather than let*.
6337 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6339 * startup.el (command-line-1): Rename -internal-script back to
6340 -scriptload (reverts previous change).
6342 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6343 (calendar-bahai-leap-base): Add doc strings.
6344 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6345 Move definition before use.
6346 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6347 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6348 variables outside the loop. Use dolist.
6349 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6351 * calendar/cal-china.el: Re-order so that functions are defined before
6353 (displayed-month, displayed-year): Move declarations where needed.
6354 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6355 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6357 (chinese-year-cache): Recenter on 2010. Doc fix.
6358 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6360 (chinese-year-cache-init): New function.
6361 (compute-chinese-year, holiday-chinese-new-year)
6362 (calendar-chinese-date-string, calendar-goto-chinese-date)
6363 (make-chinese-month-assoc-list): Use cadr, nth.
6364 (chinese-months): Remove un-needed let.
6366 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6367 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6368 (coptic-prompt-for-date): Move definition before use.
6370 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6371 (calendar-dst-find-data, calendar-daylight-time-offset)
6372 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6373 (calendar-daylight-savings-starts-time)
6374 (calendar-daylight-savings-ends-time): Use cadr, nth.
6376 * calendar/cal-french.el (french-calendar-epoch)
6377 (calendar-goto-french-date): Doc fix.
6378 (french-calendar-month-name-array)
6379 (french-calendar-multibyte-month-name-array)
6380 (french-calendar-day-name-array, french-calendar-special-days-array):
6383 * calendar/cal-hebrew.el (displayed-month, displayed-year)
6384 (original-date): Move declarations where needed.
6385 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6387 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6388 constant variables outside the loop. Use dolist.
6390 * calendar/cal-islam.el (displayed-month, displayed-year)
6391 (original-date): Move declarations where needed.
6392 (islamic-calendar-day-number): Remove unused local variable `day'.
6393 (calendar-goto-islamic-date): Doc fix.
6394 (holiday-islamic): Use unless.
6395 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6396 constant variables outside the loop. Use dolist.
6397 (mark-islamic-calendar-date-pattern): Move definition before use.
6399 (mark-islamic-diary-entries): Doc fix.
6400 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6401 (insert-yearly-islamic-diary-entry): Use let rather than let*.
6403 * calendar/cal-julian.el (calendar-absolute-from-julian):
6404 Move definition before use. Remove un-needed local `day'.
6405 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6407 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6408 (calendar-mayan-tzolkin-names-array): Add doc strings.
6409 (calendar-mayan-long-count-from-absolute): Use a single let.
6410 (calendar-string-to-mayan-long-count): Simplify.
6411 (calendar-next-haab-date, calendar-previous-haab-date)
6412 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6413 (calendar-previous-calendar-round-date)
6414 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6416 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6417 (calendar-mayan-date-string, calendar-print-mayan-date)
6418 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6419 (calendar-mayan-long-count-common-era): Move definitions before use.
6421 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6422 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6424 (calendar-mouse-goto-date): Move definition before use.
6426 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6427 Move definition before use.
6428 (calendar-cursor-to-visible-date): Move definition before use.
6429 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
6430 and place inside the conditional.
6431 (calendar-forward-day): Simplify.
6432 (calendar-end-of-month): Use unless.
6433 (calendar-goto-day-of-year): Doc fix.
6434 Relocate obsolete aliases after their replacements.
6436 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6438 * calendar/diary-lib.el (mark-diary-entries): Move some constant
6439 variables outside the diary-date-forms loop.
6441 * calendar/calendar.el (diary-file): Doc fix.
6442 (calendar-buffer-list): Return buffers rather than strings (fixes
6444 (hebrew-holidays-4): Fix typo.
6446 * calendar/holidays.el (displayed-month, displayed-year):
6447 Move declarations where needed.
6448 (calendar-holiday-list, calendar-list-holidays)
6449 (holiday-filter-visible-calendar): Move definitions before use.
6450 (list-holidays): Use cadr.
6451 Relocate obsolete aliases after their replacements.
6453 * calendar/lunar.el (date, displayed-month, displayed-year):
6454 Move declarations where needed.
6455 (lunar-phase-list): Move definition after functions it uses.
6456 (calendar-phases-of-moon, diary-phases-of-moon)
6457 (lunar-new-moon-on-or-after): Use cadr, nth.
6458 (lunar-new-moon-on-or-after): Doc fix.
6460 * textmodes/org-irc.el (top-level): CL not required when compiling.
6461 (org-irc-visit-erc): Replace runtime CL functions.
6463 * textmodes/org-publish.el (declare-function): Add compatibility stub.
6464 (org-publish-delete-dups): Declare as function.
6466 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
6468 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6469 (vc-bzr-show-log-entry): Make regexp match more cases.
6470 (vc-diff-switches-list): Remove autoload, not needed.
6472 2008-03-14 Juri Linkov <juri@jurta.org>
6474 * isearch.el (isearch-edit-string): Remove one call to
6475 `isearch-push-state' not to push an inconsistent state,
6476 but keep another correct call to `isearch-push-state'.
6477 (isearch-ring-adjust): Call `isearch-push-state' only when
6478 `search-ring-update' is non-nil since `isearch-edit-string'
6479 already pushes its state.
6480 (isearch-message): Improve matching the failed part by checking
6481 if the original message starts with the last successful message.
6483 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6484 (dired-perm-write): Rename from `dired-warn-writable'.
6485 Change parent face from `font-lock-warning-face' to
6486 `font-lock-comment-delimiter-face'.
6487 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6488 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6489 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6490 with `dired-perm-write-face'.
6492 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
6494 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6495 Create cache dir only if it doesn't already exist.
6497 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6502 2008-03-13 Johan Bockgård <bojohan@gnu.org>
6504 * net/browse-url.el (browse-url-text-xterm):
6505 Unquote browse-url-text-browser.
6507 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
6509 * textmodes/org-mouse.el: Version number change.
6511 * textmodes/org-publish.el (org-publish-expand-components):
6512 Remove null projects from the list of components.
6513 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6514 Remove unused retrieval of the :publishing-directory property.
6515 (org-publish-file): Bugfix: when using a relative directory as the
6516 publishing directory, convert it to a directory filename.
6517 (org-publish-project): New alias.
6518 (org-publish-get-files): Protect against empty p.
6519 (org-publish-file): Send an error when file is not part of any project.
6520 (org-publish-file): Offer to refresh the list of files in known
6521 project when the current file is not part of any project.
6522 (org-publish-before-export-hook)
6523 (org-publish-after-export-hook): New hooks.
6524 (org-publish-org-to): Use new hooks and kill buffers.
6525 (org-publish-file): Remove the code for killing buffers.
6526 (org-publish-initialize-files-alist): Use interactive.
6527 (org-publish-file): If the publishing function creates a new
6528 buffer, kill it after publishing.
6529 (org-publish-timestamp-filename): Protect ":" in file name path
6532 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6533 change that killed the LaTeX buffer.
6535 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6536 in the decision tree.
6537 (org-select-remember-template): Clean the code.
6538 (org-prepare-dblock): Add the extra :content parameter.
6539 (org-write-agenda): New output type ".ics" files.
6540 (org-write-agenda): Call `org-icalendar-verify-function', both for
6541 time stamps and for TODO entries.
6542 (org-agenda-collect-markers, org-create-marker-find-array)
6543 (org-check-agenda-marker-table): New functions.
6544 (org-agenda-marker-table): New variable.
6545 (org-export-as-html): Revert the change that killed the html
6546 buffer. Side effects first need to be studied carefully.
6547 (org-get-tags-at): Fix the structure of the condition-case statement.
6548 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6549 (org-timestamp-change): Fix regulear expressions to swallow the
6550 extra character for repeat-shift control.
6551 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6552 (org-get-legal-level): Alias to `org-get-valid-level'.
6553 (org-dblock-write:clocktable): Add a :link parameter, linking
6554 headlines to their location in the Org agenda files.
6555 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6556 throwing an error when getting tags before headlines.
6557 (org-timestamp-change, org-modify-ts-extra)
6558 (org-ts-regexp1): Fix timestamp editing.
6559 (org-agenda-custom-commands-local-options): New constant.
6560 (org-agenda-custom-commands):
6561 Use `org-agenda-custom-commands-local-options' to improve customize
6562 type. "htmlize": Removed hack to fix face problem with htmlize,
6563 it no longer seem necessary.
6564 (org-follow-link-hook): New hook.
6565 (org-agenda-custom-commands): Add "Component" as a tag for each
6566 item in a command serie.
6567 (org-open-at-point): Run `org-follow-link-hook'.
6568 (org-agenda-schedule): Bugfix: don't display marker type when it
6570 (org-store-link): org-irc required.
6571 (org-set-regexps-and-options): Parse the new logging options.
6572 (org-extract-log-state-settings): New function.
6573 (org-todo): Handle the new ways of recording state change stuff.
6574 (org-local-logging): New function.
6575 (org-columns-open-link): Fix bug with opening link in column view.
6576 (org-local-logging): New function
6577 (org-todo): Make sure that LOGGING properties are honoured.
6578 (org-todo-keywords): Improve docstring.
6579 (org-startup-options): Cleanup startup options.
6580 (org-set-regexps-and-options): Process the "!" markers.
6581 (org-todo): Respect the new logging stuff.
6582 (org-log-note-how): New variable.
6583 (org-add-log-maybe): New parameter HOW that defines how logging
6584 should be done and also overrides PURPOSE. Add a docstring.
6585 (org-add-log-note): Check if we really need to ask for a note.
6586 (org-get-current-options): Digest the new keyword.
6587 (org-agenda-reset-markers): Rename from
6588 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
6589 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6590 function, without force argument.
6591 (org-buffer-property-keys): Bind local variables s and p.
6592 (org-make-tags-matcher): Allow "" to match an empty or
6593 non-existent property value.
6594 (org-export-as-html): Join unsorted lists when they directly
6595 follow each other. Such lists may be created by headlines that
6596 are converted to lists.
6597 (org-nofm-to-completion): New function.
6598 (org-export-as-html): Use :html-extension instead of
6599 org-export-html-extension.
6600 (org-store-link): Support for links from `rmail-summary-mode'.
6601 (org-columns-new, org-complete, org-set-property): Set the
6602 `include-columns' argument in the call to
6603 `org-buffer-property-keys'.
6604 (org-buffer-property-keys): New argument `include-columns', to
6605 include properties expected by any of the COLUMS formats in the
6607 (org-cleaned-string-for-export): Get rid of drawers first, so that
6608 they will be removed also in the text before the first headline.
6609 (org-clock-report): Show the clocktable when found.
6610 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6611 (org-version): With prefix argument, insert `org-version' at point.
6612 (org-agenda-goto): Recenter the window after finding the target
6613 location, to make sure the correct position will be displayed.
6614 (org-agenda-get-deadlines): Don't scale priority with the warning
6616 (org-insert-heading): Don't break line in the middle of the line.
6617 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6619 (org-update-checkbox-count): Revamp to deal with hierarchical
6620 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
6621 (org-remove-timestamp-with-keyword): New function.
6622 (org-schedule, org-deadline):
6623 Use `org-remove-timestamp-with-keyword' to make sure all such time
6625 (org-mode): Support for `align'.
6626 (org-agenda-get-deadlines): Make sure priorities increase as the
6627 due date approaches and is passed.
6628 (org-remember-apply-template): Fix problem with tags that
6630 (org-make-link-regexps): Improve the regular expression for plain links.
6631 (org-agenda-get-closed): List each clocking entry.
6632 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6633 (org-special-ctrl-k): New option.
6634 (org-kill-line): New function.
6635 (org-archive-all-done): Fix incorrect number of stars in regexp.
6636 (org-refile-get-location): New function.
6637 (org-refile-goto-last-stored): New function.
6638 (org-global-tags-completion-table): Add the value of org-tag-alist
6639 in each buffer, to make sure that also unused tags will be
6640 available for completion.
6641 (org-columns-edit-value)
6642 (org-columns-next-allowed-value): Only update if not in agenda.
6643 (org-clocktable-steps): New function.
6644 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6645 (org-archive-subtree): Add the outline tree context as a property.
6646 (org-closest-date): New optional argument `prefer'.
6647 (org-goto-auto-isearch): New option.
6648 (org-goto-map, org-get-location): Implement auto-isearch.
6649 (org-goto-local-auto-isearch-map): New variable.
6650 (org-goto-local-search-forward-headings)
6651 (org-goto-local-auto-isearch): New functions.
6653 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
6655 * textmodes/org-irc.el: New file.
6657 2008-03-13 John Wiegley <johnw@gnu.org>
6659 * textmodes/org-mac-message.el: New file.
6661 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
6663 * font-lock.el (font-lock-comment-face): Set the foreground for
6664 the light background 8 colors case.
6666 2008-03-13 Glenn Morris <rgm@gnu.org>
6668 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6669 generate-autoload-cookie patterns.
6671 * startup.el (command-line-1): Rename -scriptload to -internal-script.
6673 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6674 (MH_E_SRC): Remove variable.
6675 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6676 Simplify file header. Use $@ for generated-autoload-file.
6678 * Makefile.in (LOADDEFS): New variable.
6679 (AUTOGENEL): Use $LOADDEFS.
6680 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6681 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6682 ($(lisp)/calendar/hol-loaddefs.el): New targets.
6683 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6684 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6685 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6686 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6687 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6688 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6689 Add calendar-specific autoload cookies, and remove any setting of
6690 generated-autoload-file.
6691 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6692 * calendar/diary-lib.el: Replace explicit autoloads with reading of
6694 * calendar/holidays.el: Replace explicit autoloads with reading of
6697 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6698 (calendar-buffer-list): Simplify.
6699 (generate-calendar-window): Use calendar-mark-holidays rather than
6702 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6703 Use cal-hebrew-yahrzeit-buffer.
6705 * calendar/cal-x.el (calendar-only-one-frame-setup)
6706 (calendar-two-frame-setup): Doc fixes.
6707 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6709 * calendar/appt.el (appt-mode-string): Mark as risky.
6710 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6712 * calendar/cal-html.el (diary-list-entries):
6713 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6714 (calendar-iso-from-absolute): Fix autoloads.
6716 * calendar/cal-iso.el (calendar-absolute-from-iso)
6717 (calendar-iso-read-args): Simplify.
6718 (calendar-iso-date-string, calendar-iso-read-args)
6719 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6721 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6722 (displayed-month, displayed-year): Move declarations where needed.
6723 (calendar-print-astro-day-number): Doc fix.
6725 * calendar/cal-persia.el (persian-calendar-month-name-array)
6726 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6727 (persian-prompt-for-date): Remove local variable `today'.
6729 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6731 * calendar/solar.el (solar-moment, solar-exact-local-noon)
6732 (solar-sunrise-sunset, solar-sunrise-sunset-string)
6733 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6734 (diary-sabbath-candles, solar-equinoxes/solstices)
6735 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6736 (solar-time-equation, solar-date-to-et): Simplify.
6738 * mail/supercite.el: Remove the `function' in `(function (lambda'.
6739 Replace `(car (cdr' with cadr'.
6741 * progmodes/f90.el (f90-font-lock-n): New function.
6742 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6743 Use f90-font-lock-n.
6744 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6746 * progmodes/f90.el (f90-mode-abbrev-table):
6747 * progmodes/fortran.el (fortran-mode-abbrev-table):
6748 Use newer form of define-abbrev, where supported. No need to bind
6749 abbrevs-changed for system abbrevs.
6751 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6754 delete-frame-functions.
6756 * bookmark.el (Info-current-node): Remove.
6758 2008-03-12 Juri Linkov <juri@jurta.org>
6760 * help.el (describe-project): Remove defaliases for view-todo and
6761 describe-project that are now unnecessary after the merge from
6762 emacs--rel--22 that added define-obsolete-function-alias.
6764 * startup.el (inhibit-startup-screen): Revert incomplete
6765 2008-03-10 merge from emacs--rel--22 that partly reverted
6766 2008-02-28 change that added initial message to *scratch* buffer
6767 regardless of the value of `inhibit-startup-screen'.
6768 Now keep this change in the trunk, but not in the 22 branch.
6770 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6772 * international/quail.el (quail-setup-completion-buf, quail-help):
6773 * mail/binhex.el (binhex-decode-region-internal):
6774 * mail/uudecode.el (uudecode-decode-region-internal):
6775 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6776 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6777 setting default-enable-multibyte-characters.
6779 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6781 * comint.el: Fix up indentation and comment style. Remove `function'.
6783 * international/mule-cmds.el (reset-language-environment)
6784 (set-language-environment-nonascii-translation):
6785 Don't set-unibyte-charset.
6787 * doc-view.el: Remove all cb-args, use closures instead.
6788 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6789 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6790 doing an incorrect check). Update all callers to use the new name.
6791 (doc-view-doc->txt): Add missing `txt' argument.
6793 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6795 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6796 md5 sum calculation to single-byte.
6798 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * doc-view.el (doc-view-new-window-function): Add assertion.
6801 (doc-view-doc-type): New var.
6802 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6803 (doc-view-intersection): New fun.
6804 (doc-view-mode): Use it to set the new var.
6806 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
6808 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6809 (doc-view-already-converted-p): New functions.
6810 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6811 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6812 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6813 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6814 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6815 (doc-view-convert-current-doc): Don't hardwire the functions the
6816 sentinels call. Now they're provided by two args CALLBACK and
6817 CB-ARGS to the functions.
6818 (doc-view-search): Use doc-view-doc->txt.
6819 (doc-view-initiate-display): Use doc-view-already-converted-p.
6820 Mention new binding C-c C-t if doc-view-mode doesn't work.
6822 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6824 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6826 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6829 Mark " outside of tags as punctuation.
6831 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * menu-bar.el (minibuffer-local-map): Use the same command for the
6834 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6835 Prefer RET over C-j for exit-minibuffer.
6837 * files.el (display-buffer-other-frame): Eliminate problematic code.
6839 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6840 (menu-bar-select-buffer): Remove.
6841 (menu-bar-select-frame): Make non-interactive and take a frame arg.
6842 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6844 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
6846 * icomplete.el (icomplete-completions): Remove obsolete code.
6848 * net/net-utils.el (iwconfig-program-options): Doc fix.
6849 (net-utils-run-program, run-network-program): Define as functions.
6851 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
6853 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6855 2008-03-11 Glenn Morris <rgm@gnu.org>
6857 * faces.el (mode-line-emphasis): New face.
6858 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6860 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6862 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
6864 * simple.el (set-mark-command): Doc fix.
6866 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6870 * emacs-lisp/autoload.el (autoload-find-destination):
6871 Don't force raw-text.
6873 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6874 * calendar/cal-loaddefs.el: Don't version control.
6876 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6878 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6879 entries and add :help to the existing ones.
6881 2008-03-10 Glenn Morris <rgm@gnu.org>
6883 * calendar/cal-hebrew.el (date, entry, number): Move declarations
6884 to where they are needed.
6886 * calendar/calendar.el (diary-file, hebrew-holidays-1)
6887 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6888 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6889 (calendar-version): Doc fixes.
6890 (calendar-absolute-from-gregorian): Use zerop.
6891 (calendar-mode-line-format): Make it a defcustom.
6893 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6894 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6895 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6896 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6897 (mark-included-diary-files, mark-calendar-days-named)
6898 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6899 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6900 (insert-monthly-diary-entry, insert-yearly-diary-entry)
6901 (insert-anniversary-diary-entry, insert-block-diary-entry)
6902 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6903 (diary-font-lock-sexps): Doc fixes.
6904 (diary-remind-message, mark-calendar-month): Use zerop.
6905 (diary-attrtype-convert, diary-pull-attrs): Simplify.
6906 (diary-list-entries): Revert let to let* (previous change).
6908 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6910 2008-03-10 Kim F. Storm <storm@cua.dk>
6912 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6913 function aliases for the old names.
6915 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
6917 * iswitchb.el (iswitchb-use-faces): Doc fix.
6918 (iswitchb-buffer-ignore, iswitchb-read-buffer):
6919 Fix typos in docstrings.
6921 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6923 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6925 (verilog-type-font-keywords): Reindent.
6927 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
6929 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6930 grouping-keyword regular expression.
6931 (verilog-font-lock-keywords): Allow users to toggle special
6932 highlight of grouping-keywords.
6933 (verilog-highlight-grouping-keywords): The toggle for special
6934 highlighting of grouping keywords.
6936 2008-03-10 Juri Linkov <juri@jurta.org>
6938 * startup.el: Revert 2008-02-28 change that adds initial message
6939 to *scratch* buffer regardless of the value of
6940 `inhibit-startup-screen'.
6942 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
6944 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6945 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6946 * progmodes/verilog-mode.el (verilog-mode):
6947 * net/socks.el (socks):
6948 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6950 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6953 (doc-view-bookmark-make-record): Use them.
6954 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
6955 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6957 * bookmark.el (bookmark-make-record-function): Change expected return
6958 value to include a suggested bookmark name.
6959 (bookmark-make): Split into bookmark-make-record and bookmark-store.
6960 Fix reversed `overwrite' semantics.
6961 (bookmark-set): Call bookmark-make-record before prompting the user.
6962 Then pass the result to bookmark-store later on.
6963 (bookmark-make-name-function): Remove.
6964 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6965 * info.el (bookmark-make-name-function): Remove.
6966 (Info-mode): Don't set it.
6967 (Info-bookmark-make-name): Remove.
6968 (Info-bookmark-make-record): Use Info-current-node as suggested default
6971 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6972 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6973 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6974 (bookmark-annotation-buffer, bookmark-annotation-file)
6975 (bookmark-annotation-point, bookmark-send-annotation)
6976 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6977 (bookmark-edit-annotation-text-func): Rename from
6978 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
6979 (bookmark-edit-annotation-mode-map): Move initialization into
6982 * bookmark.el: Remove spurious * in docstrings.
6983 (bookmark-minibuffer-read-name-map): New var.
6984 (bookmark-set): Use it. Also pass the default value as it should.
6985 (bookmark-send-edited-annotation): Take no chances with text properties.
6986 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6987 (bookmark-insert-buffer-name): Remove.
6988 (bookmark-buffer-file-name): Signal an error rather than returning nil.
6990 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
6992 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6994 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
6996 * diff-mode.el (diff-mode-menu): Add :help.
6998 2008-03-09 Glenn Morris <rgm@gnu.org>
7000 * calendar/calendar.el (general-holidays, oriental-holidays)
7001 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
7002 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
7003 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
7004 (calendar-holidays): Restore autoload cookies, because people are
7005 used to using these variables without loading calendar.el.
7007 * calendar/cal-islam.el (diary-islamic-date): Move to end.
7008 (date, number): Declare where needed.
7010 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
7011 (list-sexp-diary-entries): Doc fixes.
7012 (diary-list-entries): Doc fix. Remove free variable `entry'.
7013 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
7014 Simplify setting of `date-holiday-list'.
7015 (mark-diary-entries): Remove free variable `entry'.
7016 (diary-list-entries, include-other-diary-files, fancy-diary-display):
7017 Use let where let* is not needed.
7019 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
7022 make-record function, instead paste it in afterwards.
7023 (bookmark-make-record-for-text-file):
7024 * doc-view.el (doc-view-bookmark-make-record):
7025 * info.el (Info-bookmark-make-record): Don't mess with annotations.
7027 2008-03-08 Glenn Morris <rgm@gnu.org>
7029 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
7031 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
7033 * calendar/diary-lib.el (diary-list-entries)
7034 (include-other-diary-files, mark-diary-entries)
7035 (mark-sexp-diary-entries, mark-included-diary-files)
7036 (diary-entry-time, list-sexp-diary-entries): Remove the special
7037 handling of ^M that dates back to the use of selective-display.
7038 (simple-diary-display): Obey setting of pop-up-frames.
7039 (body, entry): Remove unnecessary declarations.
7041 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
7042 (bookmark-get-annotation, bookmark-set-annotation)
7043 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
7044 (bookmark-set-position, bookmark-get-front-context-string)
7045 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
7046 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
7047 * info.el (Info-bookmark-make-record): Don't bother recording point.
7048 (bookmark-get-filename, bookmark-get-front-context-string)
7049 (bookmark-get-rear-context-string, bookmark-get-position):
7050 Don't declare any more.
7051 (bookmark-get-info-node): Remove.
7052 (bookmark-prop-get): Declare.
7053 (Info-bookmark-jump): Use it.
7055 2008-03-08 Johan Bockgård <bojohan@gnu.org>
7057 * subr.el (while-no-input): Don't splice BODY directly into the
7060 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
7062 * diff-mode.el (diff-ignore-whitespace-hunk):
7063 Bind inhibit-read-only before trying to change the buffer.
7065 2008-03-08 Glenn Morris <rgm@gnu.org>
7067 * calendar/appt.el (appt): Move custom group here from calendar.el.
7068 (appt-disp-window, appt-convert-time): Doc fixes.
7070 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
7071 (calendar-bahai-mark-date-pattern):
7072 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
7073 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
7074 * calendar/cal-julian.el (calendar-absolute-from-julian):
7075 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
7077 * calendar/cal-china.el (chinese-calendar): Move custom group here from
7079 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7081 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
7082 (chinese-calendar-daylight-savings-starts)
7083 (chinese-calendar-daylight-savings-ends)
7084 (chinese-calendar-daylight-savings-starts-time)
7085 (chinese-calendar-daylight-savings-ends-time)
7086 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
7089 * calendar/cal-coptic.el (coptic-name): Add doc string.
7091 * calendar/cal-french.el (french-calendar-month-name-array)
7092 (french-calendar-day-name-array, french-calendar-special-days-array):
7095 * calendar/cal-bahai.el (diary-bahai-mark-entries)
7096 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7097 (diary-bahai-insert-yearly-entry):
7098 * calendar/cal-dst.el (calendar-next-time-zone-transition)
7099 (calendar-time-zone):
7100 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
7101 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
7102 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
7103 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
7104 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
7105 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
7106 (list-islamic-diary-entries, mark-islamic-diary-entries)
7107 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7108 (insert-yearly-islamic-diary-entry):
7109 * calendar/cal-iso.el (calendar-iso-read-args):
7110 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7111 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
7112 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7113 (calendar-next-calendar-round-date)
7114 (calendar-mayan-long-count-common-era):
7115 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
7116 (cal-menu-x-popup-menu, calendar-mouse-holidays)
7117 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
7118 (calendar-mouse-goto-date):
7119 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
7120 * calendar/holidays.el (holidays):
7121 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
7122 * calendar/time-date.el (date-to-time, time-subtract, time-add)
7123 (safe-date-to-time): Doc fixes.
7125 * calendar/cal-persia.el (persian-calendar-month-name-array)
7126 (persian-calendar-epoch): Make constants.
7128 * calendar/cal-tex.el (calendar-tex): Move custom group here from
7131 * calendar/cal-x.el (diary-frame-parameters)
7132 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7133 (calendar-after-frame-setup-hooks): Make defcustoms.
7134 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7135 (calendar-two-frame-setup): Doc fix.
7137 * calendar/cal-loaddefs.el: New file.
7139 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
7140 * calendar/cal-french.el, calendar/cal-html.el:
7141 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
7142 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
7143 * calendar/cal-tex.el, calendar/cal-x.el:
7144 Unquote lambda functions. Add autoload cookies to functions formerly
7145 autoloaded in calendar.el. Set `generated-autoload-file' to
7148 * calendar/calendar.el: Move many autoloads to separate file,
7149 cal-loaddefs.el. Move defcustoms to start and re-order.
7150 (calendar-month-name-array, calendar-starred-day): No need to
7151 declare for compiler.
7152 (cal-loaddefs): Require it.
7153 (appt, chinese-calendar, calendar-tex): Move custom groups to the
7155 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
7157 (diary-face, diary-file-name-prefix-function, diary-include-string)
7158 (diary-glob-file-regexp-prefix, diary-face-attrs)
7159 (diary-file-name-prefix, sexp-diary-entry-symbol)
7160 (print-diary-entries-hook, list-diary-entries-hook)
7161 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7162 (nongregorian-diary-marking-hook, diary-list-include-blanks):
7164 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7165 (all-bahai-calendar-holidays): Doc fix.
7166 (calendar-insert-indented): Doc fix. Use when rather than if.
7167 (exit-calendar): Use mapc rather than mapcar.
7168 (calendar-cursor-to-date): Use zerop.
7169 (calendar-mark-ring): Add doc-string.
7170 (calendar-starred-day): Defvar it.
7171 (calendar-mode): Make calendar-starred-day local.
7172 (calendar-star-date): No need to make calendar-starred-day local.
7174 * calendar/diary-lib.el: Move defcustoms to start.
7175 (diary-include-string, diary-list-include-blanks)
7176 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
7177 (diary-file-name-prefix, diary-file-name-prefix-function)
7178 (sexp-diary-entry-symbol, list-diary-entries-hook)
7179 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
7180 (nongregorian-diary-marking-hook, print-diary-entries-hook):
7181 Move here from calendar.el.
7182 (diary-file-name-prefix-function): Use 'identity.
7183 (diary-face): Make it a defcustom, and mark as obsolete.
7184 (top-level): No need to require cal-hebrew, cal-islam when compiling.
7185 (calendar-hebrew-month-name-array-leap-year)
7186 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
7187 Define for compiler.
7188 (diary-font-lock-keywords): Use format rather than concat.
7189 Add bahai-diary-entry-symbol.
7191 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
7192 * calendar/solar.el: Unquote lambda functions.
7194 * calendar/solar.el (calendar-location-name, calendar-latitude)
7195 (calendar-longitude, solar-setup, solar-sin-degrees)
7196 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
7197 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
7198 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
7199 (solar-exact-local-noon, solar-julian-ut-centuries)
7200 (solar-ephemeris-time, solar-date-next-longitude)
7201 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7202 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
7203 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
7204 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
7206 (solar-horizontal-coordinates, solar-equatorial-coordinates)
7207 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
7208 (solar-ecliptic-coordinates): Use unless.
7209 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
7212 * calendar/timeclock.el: Add doc-strings to all functions.
7213 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
7214 (timeclock-entry-list-length, timeclock-entry-list-projects)
7215 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
7217 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
7219 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7220 (org-get-entries-from-diary): Require diary-lib.
7222 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
7224 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7225 Pacify byte-compiler.
7227 2008-03-07 Alan Mackenzie <acm@muc.de>
7229 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7230 paren/bracket pairs parsed, to solve performance problem.
7232 2008-03-07 Bastien Guerry <bzg@altern.org>
7234 * bookmark.el (bookmark-set): Don't check for
7235 `bookmark-make-name-function' since `bookmark-buffer-file-name'
7236 already takes care of this.
7237 (bookmark-buffer-name, bookmark-buffer-file-name):
7238 Remove Info-mode specific code.
7240 * info.el (bookmark-get-info-node): Define this function in
7241 info.el, not in bookmark.el.
7242 (Info-mode): Set `bookmark-make-name-function' to
7243 `Info-bookmark-make-name' locally.
7244 (Info-bookmark-make-name): New function.
7246 * bookmark.el (bookmark-make-name-function): New variable.
7248 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7250 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7251 buffer-local, not `bookmark-make-cell-function' (the old name).
7253 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
7255 * doc-view.el (doc-view-bookmark-make-record):
7256 * image-mode.el (image-bookmark-make-record):
7257 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7259 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
7261 * vc.el (vc-status-menu-map-filter): Return orig-binding if
7262 boundp 'vc-ignore-menu-filter.
7263 (vc-status-tool-bar-map): Make it defvar.
7264 (vc-status-mode): vc-status-tool-bar-map now variable.
7265 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7267 2008-03-07 Karl Fogel <kfogel@red-bean.com>
7269 Give a better name to part of the bookmark interface.
7271 This was originally a much larger change, but halfway through I
7272 updated and discovered that Stefan Monnier had done the rest.
7273 It looks like he anticipated the new name too, because he used
7274 `the-record' instead of `the-cell' for some internal variable names.
7276 * bookmark.el (bookmark-make-record-function): Was
7277 `bookmark-make-cell-function'.
7278 (bookmark-make, bookmark-send-annotation): Update for above.
7279 (bookmark-make-record-for-text-file):
7280 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7282 * info.el: Adjust accordingly.
7283 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7285 * image-mode.el: Adjust accordingly.
7286 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7288 * doc-view.el: Adjust accordingly.
7289 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7291 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
7293 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7294 Move initialization into declaration.
7295 (bookmark-get-info-node, bookmark-set-info-node): Remove.
7296 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7297 (bookmark-info-current-node): Remove.
7298 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7299 Add relocation fallback. Set bookmark-current-bookmark.
7300 (bookmark-default-handler): Rename from bookmark-jump-noselect.
7301 Remove relocation fallback. Don't set bookmark-current-bookmark.
7302 (bookmark-set): Let it be used even if there's no buffer-file-name
7303 as long as there is a bookmark-make-cell-function.
7304 * info.el (Info-bookmark-jump): Remove relocation fallback.
7305 Don't set bookmark-current-bookmark.
7307 2008-03-07 Glenn Morris <rgm@gnu.org>
7309 * calendar/appt.el (appt-issue-message)
7310 (appt-message-warning-time, appt-audible, appt-visible)
7311 (appt-msg-window, appt-display-mode-line, appt-display-duration)
7312 (appt-display-diary): Remove autoload cookies.
7314 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7315 Remove leading `*' from defcustom doc-strings.
7317 * calendar/cal-dst.el (calendar-dst): New custom group.
7318 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7319 (calendar-time-zone, calendar-daylight-time-offset)
7320 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7321 (calendar-daylight-savings-starts-time)
7322 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7323 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7326 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7328 * calendar/calendar.el (calendar-version): Use emacs-version and
7329 make it obsolete. Move to end.
7330 (calendar-offset, view-diary-entries-initially)
7331 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7332 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7333 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7334 (all-bahai-calendar-holidays, calendar-load-hook)
7335 (initial-calendar-window-hook, today-visible-calendar-hook)
7336 (today-invisible-calendar-hook, calendar-move-hook)
7337 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7338 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7339 (diary-include-string, sexp-diary-entry-symbol)
7340 (abbreviated-calendar-year, american-date-diary-pattern)
7341 (european-date-diary-pattern, european-calendar-display-form)
7342 (american-calendar-display-form, print-diary-entries-hook)
7343 (list-diary-entries-hook, diary-hook, diary-display-hook)
7344 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7345 (nongregorian-diary-marking-hook, diary-list-include-blanks)
7346 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7347 (local-holidays, other-holidays, hebrew-holidays-1)
7348 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7349 (hebrew-holidays, christian-holidays, islamic-holidays)
7350 (bahai-holidays, solar-holidays, calendar-setup)
7351 (calendar-week-start-day): Remove autoload cookies.
7352 (diary-glob-file-regexp-prefix): Doc fix.
7353 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7354 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7355 (calendar-week-start-day, calendar-debug-sexp): Move to start.
7357 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7358 (calendar-time-display-form, calendar-latitude)
7359 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7361 (calendar-latitude, calendar-longitude): Move functions after
7363 (diary-sabbath-candles-minutes): Move to start.
7364 (solar-setup): Use or rather than if.
7365 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7366 Remove condition-case.
7367 (solar-atn2): Use zerop.
7368 (solar-equinoxes-solstices): Doc fix.
7370 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7371 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
7373 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7374 (calendar-longitude, calendar-latitude, calendar-location-name):
7375 Declare for compiler.
7377 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * arc-mode.el (archive-ar-file-header-re): New const.
7380 (archive-ar-summarize, archive-ar-extract): New funs.
7381 (archive-find-type): Recognize ar archives.
7383 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7386 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7388 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
7390 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7391 Replace :enable (mark-active) with :enable mark-active.
7393 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
7395 * vms-patch.el (make-legal-file-name): New obsolete alias.
7396 (make-valid-file-name): Rename from `make-legal-file-name'.
7397 (make-auto-save-file-name): Use it.
7399 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7400 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7401 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7403 * textmodes/org.el (org-export-html-style): Doc fix.
7404 (org-get-legal-level): New obsolete alias.
7405 (org-get-valid-level): Rename from `org-get-legal-level'.
7406 (org-promote, org-demote, org-archive-subtree)
7407 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7409 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
7411 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7413 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7414 (vc-status-toggle-mark): New functions.
7415 (vc-status-mode): Set tool bar map.
7417 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
7419 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7420 Reported by Drew Adams <drew.adams@oracle.com>.
7422 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
7424 * subr.el (read-quoted-char): Resolve modifers of the character
7427 * comint.el (comint-exec-1): Don't change the coding-system for
7428 decoding to dos-like EOL.
7429 (comint-carriage-motion): Fully rewrite.
7431 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
7433 * epg.el (epg-context-include-certs): Reflow docstring.
7434 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7435 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7436 (epg-context-set-signers, epg-context-set-sig-notations)
7437 (epg-make-import-status, epg-make-import-result)
7438 (epg-start-delete-keys): Fix typos in docstrings.
7439 (epg-start-sign-keys, epg-sign-keys):
7440 Fix typos in obsolescence declarations.
7442 * iswitchb.el: Don't check for `cadr' and `last'.
7443 (iswitchb-define-mode-map, iswitchb-default-keybindings):
7444 Add obsolescence declaration and remove redundant info from docstring.
7445 (iswitchb-set-common-completion, iswitchb-set-matches)
7446 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7447 (recentf-list, most-len, most-is-exact):
7448 Don't wrap defvars within `eval-when-compile'.
7450 2008-03-05 Glenn Morris <rgm@gnu.org>
7452 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7453 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7454 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7455 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7456 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7458 * ediff-hook.el (ediff-window-setup-function): Don't autoload
7459 declaration for compiler.
7460 (ediff-xemacs-init-menus): Use when rather than if.
7462 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7464 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7465 (ediff-delete-overlay): Move the XEmacs test inside the definition.
7467 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7469 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7470 test inside XEmacs test.
7471 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7472 since it was doing nothing on Emacs.
7473 (ediff-make-bullet-proof-overlay): Use when rather than if.
7475 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7476 (ediff-setup-control-frame): Remove
7477 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7478 a (featurep 'xemacs) test.
7480 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
7482 * calc/calc-ext.el (calc-extended-command-history): New variable.
7483 (calc-exectute-extended-command): Use `calc-extended-command-history'.
7485 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
7487 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
7488 (standard-mode-line-position): Add mouse-face.
7490 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7491 * progmodes/grep.el (grep-mode-map): Add :help.
7493 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7494 initialize in one step. Add :help. Use :enable to activate menu
7495 items. Show the key binding for edebug-defun.
7496 (lisp-interaction-mode-map): Add a menu.
7498 * term.el (term-mode-map): Define and initialize in one step.
7500 * ediff-init.el (ediff-color-display-p): Simplify.
7501 (Xor): Remove unused function.
7502 (ediff-with-syntax-table): Simplify for Emacs.
7504 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7505 menu-bar being loaded, it always is.
7507 2008-03-05 Glenn Morris <rgm@gnu.org>
7509 * textmodes/tex-mode.el (tex-mode): Suppress warning about
7510 multiple definitions when compiling.
7512 2008-03-04 Alan Mackenzie <acm@muc.de>
7514 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7516 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7517 doc-string, "c-old-LEN" -> "c-old-END".
7519 2008-03-04 Jason Rumney <jasonr@gnu.org>
7521 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7524 2008-03-04 Glenn Morris <rgm@gnu.org>
7526 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7528 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7531 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7534 (byte-compile-nilconstp): Can't use recursion in a defsubst.
7536 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7537 so that M-q can fill comments.
7538 (tex-executable-exists-p, tex-compile): Extend with special syntax for
7539 commands implemented in elisp.
7540 (tex-compile-commands): Add an entry to use doc-view for pdf files.
7541 (tex-format-cmd): New function.
7542 (tex-compile): Use it to let the user specify default arguments.
7543 (tex-cmd-bibtex-args): New var.
7544 (tex-cmd-doc-view): New function.
7546 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
7548 * faces.el (face-spec-set): Fix typos in docstring.
7550 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
7552 * bindings.el (mode-line-column-line-number-mode-map): New variable.
7553 (standard-mode-line-position): Use it to add a menu for toggling
7554 column number and line number display.
7556 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7559 Remove optimization that was working around the form-code-walker bug.
7561 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7562 Walk into the body of lambdas after byte-compile-unfold-lambda.
7564 2008-03-03 Glenn Morris <rgm@gnu.org>
7566 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7567 value, if set, over frame value.
7569 * simple.el (transient-mark-mode): Don't turn on by default.
7571 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7572 accidentally removed by the 2007-12-05 merge from Gnus.
7574 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
7576 * progmodes/compile.el (compilation-menu-map): Add menu entries
7579 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
7580 Glenn Morris <rgm@gnu.org>
7582 * emacs-lisp/bytecomp.el (byte-recompile-directory)
7583 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7584 Give a `bytecomp-' prefix to local variables with common names.
7586 2008-03-01 Glenn Morris <rgm@gnu.org>
7588 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7589 code commented out 2007-11-10.
7591 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7593 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7595 * emulation/viper-cmd.el, emulation/viper-ex.el:
7596 * emulation/viper-init.el, emulation/viper-keym.el:
7597 * emulation/viper-mous.el, emulation/viper-util.el:
7598 * emulation/viper.el:
7599 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7602 Replace obselete frame-local variables with frame-parameters.
7603 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7604 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7605 (viper-vi-state-cursor-color): Only call make-variable-frame-local
7607 * emulation/viper-util.el (viper-frame-value): New macro.
7608 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7609 (viper-R-state-post-command-sentinel)
7610 (viper-replace-state-post-command-sentinel)
7611 (viper-change-state-to-insert, viper-change-state-to-emacs):
7612 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7613 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7614 (viper-get-saved-cursor-color-in-insert-mode)
7615 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7616 Use viper-frame-value for viper-replace-overlay-cursor-color,
7617 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7618 viper-vi-state-cursor-color values.
7620 * emulation/viper-cmd.el (zmacs-region-stays):
7621 * emulation/viper-util.el (zmacs-region-stays): No need to define
7624 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7627 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7630 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7633 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7635 * whitespace.el: New version 9.3. As the glyph code generation was
7636 fixed, it is possible now to use character code above ?\x1FFFF in the
7637 display table. Fix `whitespace-indentation-regexp' to not include an
7638 extra ending character. Reported by Michael Welsh Duggan
7639 <mwd@cert.org>. Added hook actions when buffer is written or killed as
7640 the original whitespace package had. Suggested by Eric Cooper
7641 <ecc@cmu.edu>. Doc fix.
7642 (whitespace-action): New option.
7643 (whitespace-display-mappings): Changed default newline visualization to
7644 display downwards arrow, as the glyph code generation was fixed.
7645 (whitespace-unload-function): Assure that all local whitespace mode is
7647 (whitespace-global-modes): Fix type customization.
7648 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7649 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7650 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7652 (whitespace-buffer): Command removed.
7653 (whitespace-trailing-regexp, whitespace-mark-x)
7654 (whitespace-display-window, whitespace-action-when-on)
7655 (whitespace-add-local-hook, whitespace-remove-local-hook)
7656 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7657 (whitespace-action): New funs.
7658 (whitespace-report-list, whitespace-report-text)
7659 (whitespace-report-buffer-name): New consts.
7660 (whitespace-report, whitespace-report-region): New commands.
7662 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7664 * disp-table.el (make-glyph-code): Don't test the result of
7665 `face-id', which already signals an error for invalid faces.
7666 (glyph-face): Simplify.
7668 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7669 running `desktop-not-loaded-hook' to allow modifying it.
7670 Don't show warning message if `desktop-dirname' was modified.
7672 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
7674 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7675 we still expect more lines.
7677 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7678 comment-paragraph filling if the commark doesn't match
7681 2008-03-01 Daiki Ueno <ueno@unixuser.org>
7683 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7686 2008-03-01 Jason Rumney <jasonr@gnu.org>
7688 * files.el (make-auto-save-file-name): Encode more characters in
7689 non-file buffer names. Use url-encoding.
7691 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7693 * net/net-utils.el (ftp-program): Fix typo in docstring.
7694 (ifconfig-program-options, netstat-program-options)
7695 (arp-program-options, route-program-options, nslookup-program-options)
7696 (ftp-program-options, smbclient-program-options)
7697 (dns-lookup-program-options, arp, route): Doc fixes.
7699 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7700 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7701 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7702 Fix typos in docstrings.
7703 (gdb-pending-triggers): Reflow docstring.
7704 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7706 2008-03-01 Alan Mackenzie <acm@muc.de>
7708 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7711 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
7713 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7715 2008-02-29 Kim F. Storm <storm@cua.dk>
7717 * emulation/cua-base.el (cua-remap-control-v)
7718 (cua-remap-control-z): New defcustoms.
7719 (cua-mode): Add them to set-after property.
7720 (cua--init-keymaps): Use them.
7721 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7723 * help.el (view-emacs-todo): Rename from view-todo.
7724 (describe-gnu-project): Rename from describe-project. Users changed.
7725 (view-help-file): New helper function.
7726 (describe-distribution, describe-copying, describe-gnu-project)
7727 (view-todo, view-order-manuals, view-emacs-problems): Use it.
7728 (view-emacs-debugging, view-external-packages): New commands.
7729 (help-map): Move describe-distribution to C-h C-o (ordering).
7730 Move view-emacs-problems to C-h C-p (problems).
7731 Bind view-emacs-debugging to C-h C-d (debugging).
7732 Bind view-external-packages to C-h C-e (extras).
7733 (help-for-help-internal): Cleanup and align descriptions.
7734 Remove command names to reduce clutter.
7736 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7738 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7739 and quieter face (not a warning).
7741 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
7743 * vc.el (vc-status-crt-marked): New variable.
7744 (vc-status-mode): Make it local.
7745 (vc-status-refresh): Use it to save the marked files.
7746 (vc-update-vc-status-buffer): Use it to restore the marked files.
7748 * vc-svn.el (vc-svn-after-dir-status):
7749 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7751 2008-02-29 Glenn Morris <rgm@gnu.org>
7753 * allout.el (allout-topic-encryption-bullet)
7754 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7755 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7758 * net/imap.el (imap-ping-server):
7759 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7760 Change defcustom :version from 23.0 to 23.1.
7762 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
7764 * desktop.el (desktop-save): Save the buffer name if the
7765 uniquified base name is empty.
7767 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
7769 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7770 correctly when user has "set print address off".
7772 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
7774 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7775 version number of the next major Emacs release, not 23.0.
7777 * longlines.el (longlines-unload-function): New function.
7779 2008-02-28 Juri Linkov <juri@jurta.org>
7781 * startup.el (normal-splash-screen): Add argument `concise'.
7782 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
7783 to the created buffer. If `concise' is non-nil, call
7784 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
7785 (display-startup-screen): Add argument `concise' to the call to
7786 `normal-splash-screen'.
7788 2008-02-28 Kim F. Storm <storm@cua.dk>
7790 * startup.el (startup-echo-area-message): Check for about-emacs.
7792 2008-02-28 Juri Linkov <juri@jurta.org>
7794 * startup.el: Always add initial message to *scratch* buffer if
7795 `initial-scratch-message' is non-nil regardless of the value of
7796 `inhibit-startup-screen'.
7797 (inhibit-startup-screen, initial-scratch-message): Doc fix.
7798 (command-line-1): Move code that inserts `initial-scratch-message'
7799 up before the if-form that checks for `inhibit-startup-screen'.
7800 Suggested by Jonathan Rockway <jon@jrock.us>.
7802 2008-02-28 Juri Linkov <juri@jurta.org>
7804 * cus-edit.el (custom-mode-map, custom-mode-link-map):
7805 Rename `custom-mode' to `Custom-mode' in docstrings.
7806 (custom-buffer-create-internal, customize-browse):
7807 Rename `custom-mode' to `Custom-mode'.
7808 (custom-mode-hook): Rename to `Custom-mode-hook'.
7809 (Custom-mode-hook): Renamed from `custom-mode-hook'.
7810 (custom-mode): Rename to `Custom-mode'.
7811 (Custom-mode): Renamed from `custom-mode'. Doc fix.
7812 (custom-mode): Add backward-compatible non-interactive variant of
7813 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
7814 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7816 * info-look.el: Rename `custom-mode' to `Custom-mode'.
7818 * emulation/viper.el (viper-emacs-state-mode-list):
7819 Rename `custom-mode' to `Custom-mode'.
7821 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7822 Capitalize "Tagged Files".
7823 (minibuffer-local-map): Add menu items for next/previous
7824 history elements and isearch history forward/backward.
7826 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7827 `hs-isearch-open' with t instead of `comment' in :selected
7828 for "Code and Comment blocks" menu item.
7830 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * uniquify.el (uniquify-buffer-base-name): Undo last change.
7833 Should be done in desktop.el instead.
7835 2008-02-28 Glenn Morris <rgm@gnu.org>
7837 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7839 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7841 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7842 (Info-menu, Info-goto-node): Remove declarations.
7843 (report-emacs-bug-info): Use info rather than Info-goto-node.
7845 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7846 (idlwave-convert-xml-system-routine-info): Don't require xml.
7847 (idlwave-show-commentary, idlwave-shell-show-commentary):
7848 Don't require finder.
7849 (idlwave-info): Don't require info. Use info rather than
7852 * textmodes/org.el (Info-goto-node): Remove declaration.
7853 (org-info): Use info rather than Info-goto-node.
7855 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7856 (reftex-info): Don't require info. Use info rather than Info-goto-node.
7858 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
7860 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7863 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7864 (vc-finish-logentry): Check for vc-status-mode, not only for
7867 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
7869 * isearch.el (isearch-printing-char): Don't check
7870 keyboard-coding-system.
7871 Call isearch-process-search-multibyte-characters only when
7872 current-input-method is non-nil.
7874 2008-02-27 Kim F. Storm <storm@cua.dk>
7876 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7877 (glyph-char, glyph-face): Handle cons encoding.
7879 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
7881 * uniquify.el (uniquify-buffer-base-name): If the base name is an
7882 empty string, return nil to allow the caller to default to the
7883 buffer name. Reported by Martin Fischer <parozusa@web.de>.
7885 * tool-bar.el (tool-bar-setup): Doc fix.
7887 * mail/supercite.el (sc-describe):
7888 Fix typos in obsolescence declaration.
7890 2008-02-27 Glenn Morris <rgm@gnu.org>
7892 * autoinsert.el (auto-insert-alist): Change permission text to
7893 match FSF's GPLv3 form.
7895 * mail/supercite.el (sc-cite-original): Doc fix.
7896 (sc-version): Make obsolete.
7897 (sc-describe): Show the SC info page. Make obsolete.
7899 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7902 when using transient-mark-mode.
7903 (default-indicate-unused-lines): Remove unused var.
7905 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
7907 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7910 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7912 2008-02-26 Glenn Morris <rgm@gnu.org>
7914 * net/net-utils.el (top-level): Don't require comint when compiling.
7915 (nslookup-font-lock-keywords): Don't require font-lock.
7916 Use font-lock faces rather than variables.
7917 (nslookup, ftp, smbclient, network-service-connection):
7918 Don't require comint.
7919 (comint-prompt-regexp, comint-input-autoexpand)
7920 (comint-input-ring): Declare for compiler.
7921 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7922 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
7924 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7927 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * doc-view.el (doc-view-current-page): Add a `win' argument.
7931 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7934 Demote it to plain defvar.
7935 (doc-view-conversion-refresh-interval): Reduce interval.
7936 (doc-view-goto-page): Allow moving to pages not yet rendered.
7937 (doc-view-goto-page): Construct a file name rather than extracting it
7938 from doc-view-current-files.
7939 (doc-view-kill-proc): Ignore errors from kill-process.
7940 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7941 (doc-view-insert-image): Use appropriate text if the page hasn't been
7942 rendered yet. Adjust scrolling so the text is displayed.
7943 (doc-view-display): Detect not just that a page is available, but also
7944 that it wasn't available before, so as to avoid refreshing all pages
7946 (doc-view-mode): Make doc-view-cache-directory if needed.
7948 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7950 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7953 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7954 refering to a missing required field with the OPT prefix.
7955 Make unwindform more robust.
7957 * textmodes/bibtex.el: Remove support for hideshow minor mode as
7958 it duplicates the bibtex support in progmodes/hideshow.el.
7959 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7960 entries that do not start at the beginning of a line.
7962 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
7964 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7966 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
7968 * help-fns.el (describe-variable): Add phrases about
7969 initialization file with and without customization;
7970 use new button type help-info-variable.
7972 * help-mode.el (help-info-variable):
7973 New button able to read Info files for help-fns.el.
7975 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
7977 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7978 (grep-mode): Use grep-mode-tool-bar-map.
7980 * progmodes/compile.el (tool-bar): Require tool-bar.
7981 (compilation-mode-tool-bar-map): New variable.
7982 (compilation-mode): Use compilation-mode-tool-bar-map.
7984 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
7986 2008-02-25 Glenn Morris <rgm@gnu.org>
7988 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7990 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * diff-mode.el (diff-file-junk-re): New const.
7993 (diff-beginning-of-file-and-junk): Use it.
7994 (diff-file-kill): Make sure we were really inside a file diff.
7996 * diff-mode.el: Make it more robust in the presence of empty context
7997 lines in unified hunks.
7998 (diff-valid-unified-empty-line): New var.
7999 (diff-unified->context, diff-sanity-check-hunk): Obey it.
8000 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
8001 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
8002 (diff-hunk-header-re-unified): New const.
8003 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
8004 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
8005 (diff-sanity-check-hunk): Use it.
8007 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
8008 Index: line, don't search backward for the previous one.
8010 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
8012 * international/fontset.el (setup-default-fontset): Add non-OTF
8013 lao font for lao script.
8015 * language/tibetan.el: Register tibetan-composition-function in
8016 composition-function-table.
8018 * language/tibet-util.el (tibetan-composition-function):
8019 Adjust for the new calling way (argument changed). Try font-shape-text
8022 * language/lao.el: Register lao-composition-function in
8023 composition-function-table.
8025 * language/lao-util.el (lao-composition-function): Adjust for the new
8026 calling way (argument changed). Try font-shape-text if possible.
8028 2008-02-25 Jason Rumney <jasonr@gnu.org>
8030 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
8032 2008-02-25 Juri Linkov <juri@jurta.org>
8034 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
8035 background, "red4" for a dark background, "red" for 16 and
8036 8 colors, "grey" for grayscale, and inverse video otherwise.
8038 (isearch-message): Keep the original isearch-message intact, and
8039 add text properties to it where necessary. Add `isearch-error' to
8040 the condition that checks if isearch is unsuccessful.
8042 2008-02-24 Juri Linkov <juri@jurta.org>
8044 * progmodes/compile.el (compilation-handle-exit):
8045 Use compilation-error face instead of font-lock-warning-face.
8046 Display the same message in the minibuffer as is inserted
8047 at the end of the compilation buffer.
8049 2008-02-24 Glenn Morris <rgm@gnu.org>
8051 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
8054 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
8056 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
8057 multiple file case. Use a single `let' rather than two.
8059 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8061 * progmodes/compile.el (compilation-start): Specify a face for
8063 (compilation-handle-exit): Specify a face and a tooltip for
8066 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * hilit-chg.el: Remove spurious * in defcustom docstrings.
8069 (hilit-chg-make-ov): Simplify.
8070 (hilit-chg-fixup): Use remove-overlays.
8071 (hilit-chg-set-face-on-change): Remove redundant call to
8072 `remove-text-properties'.
8074 * dired.el (dired-mark-prompt): Don't count/display the t element.
8075 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
8077 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
8079 * progmodes/verilog-mode.el (eval-when-compile): Don't define
8081 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
8082 Remove. Move contents to the only use ...
8083 (verilog-menu): ... here.
8084 (verilog-statement-menu): Remove. Move contents to the only use ...
8085 (verilog-stmt-menu): ... here.
8086 (verilog-mark-defun): Simply call mark-defun for emacs.
8087 (occur-pos-list): Declare for byte compiler.
8088 (mode-popup-menu): Don't defvar.
8089 (verilog-add-statement-menu): Remove.
8090 (verilog-mode-hook): Don't add verilog-add-statement-menu.
8091 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
8093 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8095 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
8097 (verilog-font-grouping-keywords-face): Make the begin..end
8098 keywords standout more than other verilog keywords.
8099 (verilog-type-font-keywords): Move the begin..end out of this list
8100 to facilitate making them to (potentially) stand out more.
8101 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
8102 function & task blocks.
8103 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
8104 initial, function & task blocks.
8105 (verilog-forward-sexp): Handle the new "disable fork" statement of
8107 (verilog-beg-block-re-ordered): Handle the new "disable fork"
8108 statement of IEEE-1800 Verilog.
8109 (verilog-calc-1): Handle the new "disable fork" statement of
8111 (verilog-disable-fork-re): Add const to help handle the new
8112 "disable fork" statement of IEEE-1800 Verilog.
8113 (verilog-declaration-core-re): Add port directions by themselves,
8114 with no qualification, as base item of a declaration.
8115 (verilog-pretty-declarations): Add new flag to ask it to refrain
8116 from printing to the message buffer.
8117 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
8118 printing to the message buffer. Improve handling of the many
8119 types of expression line up.
8120 (verilog-just-one-space): Remove printing of an empty message.
8121 (verilog-get-lineup-indent): Rework to support the better handling
8122 of expression lineup for verilog-pretty-expr.
8123 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8125 2008-02-24 Alan Mackenzie <acm@muc.de>
8127 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
8130 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8132 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
8133 to mouse-set-point in buffers that aren't associated with files.
8135 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
8137 2008-02-24 Alan Mackenzie <acm@muc.de>
8139 Set of changes so that "obtrusive" syntactic elements in a
8140 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
8141 unmatched paren) don't interact syntactically with stuff outside
8144 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
8145 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
8147 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
8148 a bit of refactoring.
8149 (c-awk-extend-and-syntax-tablify-region): Takes some of the
8150 functionality of c-awk-advise-fl-for-awk-region, which has been
8153 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
8154 (c-clear-char-property-with-value): New function and macro which
8155 remove text-properties `equal' to a supplied value.
8157 * progmodes/cc-engine.el: Comment about text properties amended.
8159 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
8160 parens around "error\\|warning".
8162 * progmodes/cc-langs.el (c-get-state-before-change-function)
8163 (c-before-font-lock-function, c-anchored-cpp-prefix):
8164 New language variables.
8165 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
8167 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
8168 syntax-table text properties.
8169 (c-common-init): Call language specific before/after-change
8170 functions at mode initialisation.
8171 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
8172 (c-extend-region-for-CPP, c-neutralize-CPP-line)
8173 (c-neutralize-syntax-in-CPP): New functions.
8174 (c-before-change, c-after-change): Call the new language specific
8175 change functions defined in cc-langs.el.
8176 (c-advise-fl-for-region): New macro.
8177 (awk-mode): Remove AWK specific stuff which has been refactored
8178 into language independent stuff.
8180 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
8182 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
8183 (gdb): (Re)set gdb-flush-pending-output to nil here...
8184 (gdb-init-1): ...instead of here (before gdb-prompt).
8186 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
8189 Recognize ''' just like any other char-constant.
8191 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8193 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
8194 careful enough. Detect the uid-change all within the main loop.
8196 2008-02-24 Stefan Monnier <monnier@pastel.home>
8198 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
8200 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8202 * hilit-chg.el (highlight-save-buffer-state): New macro.
8203 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
8204 (hilit-chg-clear): Use it to preserve the modified-p flag.
8205 (highlight-changes-rotate-faces): Don't mess with the undo-list.
8207 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * font-lock.el (font-lock-set-defaults): Unset previously set variables
8212 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
8214 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
8215 from gnus-button-url-regexp.
8217 2008-02-24 Eli Zaretskii <eliz@gnu.org>
8219 * progmodes/compile.el (compilation-next-error): Doc fix.
8220 (compilation-find-file): Doc fix.
8222 2008-02-24 Glenn Morris <rgm@gnu.org>
8224 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8225 Add obsolete aliases to the old names.
8227 2008-02-24 Richard Stallman <rms@gnu.org>
8229 * net/net-utils.el (ifconfig): Rename from ipconfig.
8230 (ipconfig): Alias to ifconfig.
8231 (ifconfig-program): Rename from ipconfig-program.
8232 (ifconfig-program-options): Rename from ipconfig-program-options.
8234 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
8236 * progmodes/verilog-mode.el (verilog-declaration-core-re):
8237 Add port directions by themselves, with no qualification, as base
8238 item of a declaration.
8239 (verilog-pretty-declarations): Add new flag that inhibits printing
8240 to the message buffer.
8241 (verilog-pretty-expr): Add new flag that inhibits printing to the
8242 message buffer. Improve handling of the many types of expression
8244 (verilog-just-one-space): Don't print an empty message.
8245 (verilog-get-lineup-indent): Rework to support the better handling
8246 of expression lineup for verilog-pretty-expr.
8247 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8248 (verilog-mode-version, verilog-mode-release-date): Update.
8250 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * subr.el (cancel-change-group): Don't move point.
8254 2008-02-23 Markus Triska <markus.triska@gmx.at>
8256 * linum.el (linum-after-config): Update all visible windows.
8258 2008-02-23 Glenn Morris <rgm@gnu.org>
8260 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8261 Add :help for Solitaire and Tetris.
8263 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8265 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8266 (smtpmail-code-conv-from): Doc fix. Fix custom type.
8267 (smtpmail-queue-index-file): Make it a defcustom.
8268 (smtpmail-queue-index): Delete.
8269 (smtpmail-send-it, smtpmail-send-queued-mail):
8270 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8271 smtpmail-queue-index.
8273 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8276 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
8278 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8280 (iwconfig): New function.
8282 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
8284 * vc.el (vc-find-revision): Make vc-parent-buffer local before
8286 (vc-status-menu-map): Do not define using easy-menu.
8287 (vc-status-menu-map): New defalias.
8288 (vc-status-mode-map): Hook up the menu.
8289 (top-level): Update TODO.
8291 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8293 * vc-bzr.el (vc-bzr-init-version): Rename to ...
8294 (vc-bzr-init-revision): ... this.
8296 2008-02-23 Jason Rumney <jasonr@gnu.org>
8298 * makefile.w32-in (WINS_ALMOST): Remove term.
8299 (WINS): Add term here.
8300 (custom-deps, finder-data): Use WINS_ALMOST.
8302 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
8304 * faces.el (font-weight-table): Fix value of `semi-light'.
8306 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8309 Make those tables bijective.
8311 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
8313 Finish pdbtrack integration cleanup, settling missing-functions
8314 byte compiler warnings appropriately.
8316 * progmodes/python.el (python-point): Remove this - beginning-of-line
8317 was all that was necessary for `python-pdbtrack-overlay-arrow'.
8318 (python-end-of-def-or-class, python-beginning-of-def-or-class)
8319 (python-goto-initial-line): Drop these - they were only needed for
8321 (python-comint-output-filter-function): Use condition-case and
8322 beginning-of-line directly, instead of python-mode.el functions
8323 which require all sorts of baggage.
8324 (point-safe): Unnecessary - we're using condition-case directly,
8326 (python-execute-file): Include for python-shell, which I'm leaving
8327 in keeping despite it being unnecessary for pdb tracking.
8329 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
8331 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8332 Add SRFI 11 support.
8333 (let-values, let*-values): Specify scheme-indent-function.
8335 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
8337 * vc.el (vc-exec-after): Move setting mode-line-process in the
8339 (vc-set-mode-line-busy-indicator): ... in this new function.
8340 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8341 (vc-update-vc-status-buffer): Reset mode-line-process.
8342 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8343 mark/unmark all the files with the same state as the current one.
8344 With a prefix argument mark/unmark all files.
8345 (vc-status-mode-menu): Adjust strings.
8346 (vc-update-vc-status-buffer): Only do something when the argument
8348 (vc-status-kill-dir-status-process): New function.
8349 (vc-status-mode-map): Bind it.
8350 (vc-status-process-buffer): New variable.
8351 (vc-status-mode): Make it local.
8352 (vc-status-refresh): Set it.
8354 * vc-hg.el (vc-hg-dir-status):
8355 * vc-git.el (vc-git-dir-status):
8356 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8359 2008-02-22 Glenn Morris <rgm@gnu.org>
8361 * json.el (top-level): No need to require thingatpt.
8362 (json-read-keyword): Use thing-at-point rather than word-at-point.
8364 * time.el (top-level): No need to require time-date when compiling.
8366 * emacs-lisp/copyright.el (copyright-update-year):
8367 Fix subexpression numbering for the case when years are split over
8368 lines, and for the replace case.
8370 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
8371 (tpu-caar, tpu-cadr): Delete functions.
8372 (zmacs-regions): No need to declare for compiler.
8373 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8374 (tpu-spell-check): Rewrite, and handle mark after point.
8375 (tpu-special-insert): Use or rather than if.
8377 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8378 rather than spell-region.
8380 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8381 warnings about spell-region.
8383 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
8385 * ldefs-boot.el: Regenerated.
8387 * loadup.el: Don't load language/devanagari, language/kannada,
8388 language/malayalam, and language/tamil. Load language/sinhala.
8390 * language/indian.el (indian-font-foundry)
8391 (indian-script-language-alist, indian-font-char-index-table)
8392 (indian-font-char, indian-font-char-range, indian-script-table)
8393 (indian-default-script, indian-composable-pattern): Delete them.
8394 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8395 language environments moved to here.
8396 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8397 New language environments.
8399 * language/devanagari.el, language/devan-util.el,
8400 * language/kannada.el, language/knd-util.el, language/malayalam.el,
8401 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8404 * language/sinhala.el: New file.
8406 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
8408 Update Nick Robert's port of pdb tracking from python-mode.el.
8410 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8412 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8413 tracking is happening.
8414 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8415 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8416 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8417 Tracking is plugged in to all comint buffers once python.el is loaded.
8418 (python-pdbtrack-overlay-arrow): Toggle activation of
8419 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8420 (python-pdbtrack-track-stack-file): Use new
8421 `python-pdbtrack-get-source-buffer' for more flexible access to
8422 debugging source files.
8423 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8424 according to pdb stack trace, optionally using new
8425 `python-pdbtrack-grub-for-buffer' if file is not locally available.
8426 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8427 named buffer, or having function with indicated name.
8428 (python-shell): Remove comint-output-filter-functions hook
8429 addition, it's being done elsewhere. Wrap long line.
8431 2008-02-21 Michael Olson <mwolson@gnu.org>
8433 * json.el: Replace XEmacs compatibility code to get rid of
8436 * time.el: Fix compiler warning.
8438 2008-02-21 Edward O'Connor <ted@oconnor.cx>
8440 * json.el: New file (JavaScript Object Notation parser / generator).
8442 2008-02-21 Dave Love <fx@gnu.org>
8444 * progmodes/sym-comp.el: New file.
8446 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8447 Require sym-comp. Add Python buffer to same-window-buffer-names.
8449 (python-font-lock-keywords): Add highlighting for Python builtins.
8450 (python-font-lock-syntactic-keywords): Rewrite.
8451 (python-quote-syntax): Use syntax-ppss-context instead of parsing
8453 (python-mode-map): Add binding for python-find-function.
8454 (python-calculate-indentation): Clean up the logic.
8455 (python-beginning-of-defun): Explicitly set return value.
8456 (python-beginning-of-statement): Stop looping if we get stuck
8458 (python-next-statement): Stop looping if we somehow end up inside
8459 a string while advancing.
8460 (python-preoutput-continuation, python-version-checked): New vars.
8461 (python-check-version): New function.
8462 (run-python): Set default command to python-command instead of
8463 python-python-command.
8464 (run-python): Use python-check-version. Give PYTHONPATH
8465 precedence over data-directory in the process environment.
8466 Load function definitions in python process after.
8467 (python-check-comint-prompt): New function.
8468 (python-send-command, python-send-receive): Use it.
8469 (python-complete-symbol, python-try-complete): Functions deleted.
8470 Use symbol-complete instead of python-complete-symbol throughout.
8471 (python-fill-paragraph): Further refine the fenced-string regexp.
8472 (def-python-skeleton): Expand to the original abbrev instead if in
8473 a comment or string. Tweak skeletons for `if', `while', `for',
8474 `try/except', `try/finally', `name'.
8475 (python-pea-hook, python-abbrev-pc-hook): New functions.
8476 (python-abbrev-syntax-table): New var.
8477 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8478 Use symbol-completion-try-complete for hippie expansion.
8479 Turn on font lock unconditionally.
8480 (python-mode-hook): Defcustom it. No need to use make-local
8481 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8482 option, since it's buffer-local.
8484 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
8486 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8488 2008-02-21 Drew Adams <drew.adams@oracle.com>
8490 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8491 "Turn off" and a "Help" entry when the minor mode has no menu.
8493 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
8495 * vc.el (vc-status-mark, vc-status-unmark): New functions.
8496 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8497 vc-status-mark-file and vc-status-unmark-file.
8498 (vc-status-mark-unmark): New function.
8499 (vc-status-previous-line, vc-status-next-line): No longer interactive.
8501 2008-02-21 Glenn Morris <rgm@gnu.org>
8503 * composite.el (encode-composition-rule): Fix typo in error message.
8504 (composition-function-table, auto-composition-mode): Doc fixes.
8506 * subr.el (sit-for): Fix obsolete form for nil second argument.
8508 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8509 (spell-string): Make obsolete, in favor of ispell.
8511 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
8513 * language/devanagari.el: Don't setup composition-function-table
8515 ("Devanagari"): Change charset, coding-system, coding-priority to
8516 Unicode-based ones. Don't require the feature devan-util.
8518 * composite.el (compose-chars-after): Fix arguments for a function
8519 in composition-function-table.
8520 (auto-compose-region): Likewise.
8522 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8524 (ps-mule-plot-string): Ignore glyph-string based compositions.
8526 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * doc-view.el: Allow different windows to show different pages.
8529 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8530 (doc-view-current-image, doc-view-current-overlay): Remove variables,
8531 add them back as macros instead, using image-mode-winprops instead.
8532 Update all users of those variables.
8533 (doc-view-new-window-function): New function to create a new overlay
8534 for each new window.
8535 (doc-view-mode): Use it and image-mode-setup-winprops.
8536 (doc-view-clone-buffer-hook): Rewrite accordingly.
8538 * image-mode.el: Extend [hv]scroll support to per-window properties.
8539 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8540 (image-mode-winprops-alist): New var to replace them.
8541 (image-mode-new-window-functions): New hook.
8542 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8544 (image-set-window-vscroll, image-set-window-hscroll): Use them.
8545 Remove the `window' argument, update callers.
8546 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8547 Use the new functions.
8548 (image-mode-reapply-winprops): New fun.
8549 (image-mode): Use it.
8551 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
8553 * calc/calc-math.el (math-sin-raw): Add optional argument
8554 to keep track of original argument.
8555 (math-cos-raw): Use optional argument when calling math-sin-raw.
8556 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8557 with close to original precision.
8559 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8561 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8562 args in calls of sit-for.
8564 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
8566 * vc-svn.el (vc-svn-program): Fix typo in docstring.
8567 (vc-svn-checkin): Fix typo in error message.
8569 * help-mode.el: Require easymenu when compiling.
8571 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
8573 * help-mode.el (help-mode-menu): New menu.
8575 2008-02-20 Glenn Morris <rgm@gnu.org>
8577 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8580 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
8582 * ps-mule.el (ps-mule-encode-region): Return a single string.
8583 (ps-mule-plot-string): Adjust for the above change.
8584 (ps-mule-encode-header-string): Likewise.
8586 * international/latin1-disp.el (latin1-display): Don't use
8587 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
8588 standard-display-table.
8589 (latin1-display-identities): Adjust for the change of what is
8590 returned by (get-language-info charset 'charset).
8592 * international/mule-util.el (char-displayable-p): Fix for Latin-1
8593 characters and terminal case.
8595 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
8597 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8599 * progmodes/python.el: Also require comint when loading.
8600 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8601 Replace python-shell with run-python on menu bar.
8602 (python-shell-map): New map.
8603 (python-default-interpreter, python-python-command-args)
8604 (python-jython-command-args, python-pdbtrack-do-tracking-p):
8606 (python-which-shell, python-which-args, python-which-bufname):
8607 New buffer local variables.
8608 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8610 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8611 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8616 (python-point, python-end-of-def-or-class)
8617 (python-beginning-of-def-or-class, python-goto-initial-line)
8618 (python-comint-output-filter-function)
8619 (python-pdbtrack-overlay-arrow)
8620 (python-pdbtrack-track-stack-file, python-toggle-shells)
8621 (python-shell, python-pdbtrack-toggle-stack-tracking)
8622 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8625 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
8627 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8628 when the argument is nil.
8630 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8632 * vc.el (dir-status): Add a brief description.
8634 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
8636 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8637 If non-nil, reverse the sense of the check.
8639 * vc-rcs.el (vc-rcs-root): New func.
8640 * vc-cvs.el (vc-cvs-root): New func.
8641 * vc-svn.el (vc-svn-root): New func.
8642 * vc-sccs.el (vc-sccs-root): New func.
8644 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
8646 * language/japan-util.el (setup-japanese-environment-internal):
8647 Call use-cjk-char-width-table.
8649 * language/japanese.el ("Japanese"): Set exit-function to
8650 use-default-char-width-table.
8652 * international/characters.el: Delete occurrences of non-Unicode
8653 tibetan and ethiopic characters.
8654 (cjk-char-width-table): New variable.
8655 (use-cjk-char-width-table, use-default-char-width-table):
8658 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
8660 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8661 (vc-status-mode-menu): Add a :filter.
8662 (vc-status-printer): Add faces.
8664 * vc-hg.el (vc-hg-extra-status-menu): New function.
8665 (vc-hg-dir-status): Clean up the buffer before using it.
8667 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8670 (gdb): Initialize it here instead.
8672 * files.el (locate-dominating-file): Fix thinko in last change.
8673 Reported by Bruce Stephens <bruce.stephens@isode.com>.
8675 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
8677 * vc.el (vc-status-mode-menu): New menu for vc-status.
8679 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
8681 * progmodes/verilog-mode.el (customize): Fix typo in error message.
8682 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8683 (verilog-mode-auto, verilog-indent-level-module)
8684 (verilog-minimum-comment-distance, verilog-library-flags)
8685 (verilog-library-directories, verilog-library-files)
8686 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8687 (verilog-xemacs-menu, verilog-set-compile-command)
8688 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8689 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8690 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8691 (verilog-batch-inject-auto, verilog-batch-indent)
8692 (verilog-continued-line, verilog-type-keywords)
8693 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8694 (verilog-read-inst-pins, verilog-read-arg-pins)
8695 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8696 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8697 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8698 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8699 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8700 (verilog-mode-version, verilog-mode-release-date)
8701 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8702 (verilog-simulator, verilog-compiler)
8703 (verilog-auto-sense-defines-constant, verilog-company)
8704 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8705 Fix typos in docstrings.
8706 (verilog-set-auto-endcomments, verilog-calculate-indent)
8707 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8709 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8710 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8711 (electric-verilog-forward-sexp, verilog-in-case-region-p)
8712 (verilog-in-struct-region-p, verilog-in-generate-region-p)
8713 (verilog-leap-to-head, verilog-current-indent-level)
8714 (verilog-case-indent-level, verilog-cpp-keywords)
8715 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8716 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8717 (verilog-signals-not-in, verilog-symbol-detick-text)
8718 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8719 (verilog-forward-close-paren, verilog-backward-open-paren)
8720 (verilog-backward-open-bracket): Doc fixes.
8722 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8723 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8724 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8725 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8726 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8727 Fix typos in docstrings.
8729 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8731 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
8733 * info.el (Info-read-node-name): Removed unused `default' arg.
8735 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
8737 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8739 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * image-mode.el (image-get-display-property): New fun.
8742 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8743 (image-mode, image-minor-mode, image-toggle-display-text)
8744 (image-toggle-display): Use it.
8746 2008-02-18 Jason Rumney <jasonr@gnu.org>
8748 * international/mule.el (xml-find-file-coding-system): Don't warn
8749 about utf-16 with BOM.
8751 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8753 * international/mule.el (sgml-xml-auto-coding-function): Detect and
8754 warn if file encoding is not utf-8 and encoding not specified.
8755 (xml-find-file-coding-system): New function.
8756 * international/mule-conf.el (file-coding-system-alist): Use it.
8758 2008-02-17 Glenn Morris <rgm@gnu.org>
8760 * international/mule-cmds.el (set-locale-environment):
8761 Pass `frame' to getenv for LC_MESSAGES.
8763 2008-02-17 Juri Linkov <juri@jurta.org>
8765 * time.el (emacs-init-time): Use format instead of format-seconds.
8767 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8769 * textmodes/bibtex.el (bibtex-search-entry): Rename from
8770 bibtex-find-entry. Add autoload cookie.
8771 (bibtex-find-entry): Alias for bibtex-search-entry.
8772 (bibtex-search-crossref): Rename from bibtex-find-crossref.
8773 (bibtex-find-crossref): Alias for bibtex-search-crossref.
8774 (bibtex-clean-entry): atomic-change-group removed.
8775 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
8776 to locate buffer location where error occurred.
8777 Make error messages more specific.
8778 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8780 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
8782 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8785 * simple.el (transient-mark-mode): Add an :init-value.
8787 * startup.el (command-line): Use custom-reevaluate-setting for
8788 transient-mark-mode.
8790 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
8792 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8794 2008-02-16 Juri Linkov <juri@jurta.org>
8796 * startup.el (after-init-time): New variable.
8797 (command-line): Set `after-init-time' to the current time.
8799 * time.el (emacs-init-time): New function.
8801 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * files.el (locate-dominating-file): Remove initial loop because it's
8804 not careful enough. Detect the uid-change all within the main loop.
8806 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
8808 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8810 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8812 * vc.el (vc-annotate): Add new argument.
8813 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8815 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8816 Move make-variable-buffer-local code after the corresponding defvar.
8817 (hs-minor-mode-map): Define and initialize in one step.
8818 (hs-minor-mode): Change from defun to define-minor-mode.
8820 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
8822 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8823 (gdb-ready): Move declaration...
8825 * progmodes/gdb-ui.el (gdb-ready): ...to here.
8826 (gdb-early-user-input): New variable.
8827 (gdb): Reset gdb-flush-pending-output to nil and set
8828 comint-input-sender here (before gdb-prompt), instead of...
8829 (gdb-init-1): ...here.
8830 (gdb-send): If Emacs is not ready, defer user input to...
8831 (gdb-prompt): ...here.
8833 2008-02-16 Glenn Morris <rgm@gnu.org>
8835 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8837 * startup.el (emacs-startup-time): Rename to `before-init-time'.
8838 (before-init-time): New name for `emacs-startup-time'.
8839 (command-line): Use before-init-time rather than emacs-startup-time.
8840 * time.el (emacs-uptime): Use before-init-time rather than
8843 * composite.el (composition-function-table): Doc fix.
8845 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8846 in favor of `%z' specifier.
8847 (emacs-uptime): Move to time.el.
8848 * time.el (emacs-uptime): Move here from time-date.el. Add optional
8849 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
8850 argument of format-seconds.
8852 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
8854 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8856 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
8858 * ielm.el (ielm-is-whitespace): Remove.
8859 (ielm-is-whitespace-or-comment): New function.
8860 (ielm-eval-input): Use it.
8862 2008-02-15 Jason Rumney <jasonr@gnu.org>
8864 * term/mac-win.el: Fix coding tag.
8866 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
8868 * vc-hooks.el (vc-menu-map):
8869 * bindings.el (mode-line-mode-menu): Add tooltips.
8871 * bindings.el (help-echo): Add more tooltips. Use a less
8872 telegraphic style for existing tooltips.
8874 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
8876 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8877 from the auto-generated one.
8879 2008-02-14 Glenn Morris <rgm@gnu.org>
8881 * mail/rmail-spam-filter.el (rmail-spam-filter):
8882 Let-bind message-spam-status.
8884 * mail/smtpmail.el (password-cache-add): Declare as function.
8886 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
8888 * mail/smtpmail.el: Use password-cache.
8890 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
8892 * uniquify.el (uniquify-buffer-base-name): New function.
8893 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8895 * desktop.el (uniquify-managed): Don't defvar.
8896 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8897 `uniquify-managed'. Return also the buffer's base name.
8898 (desktop-save): When saving the buffer info, filter out the base name,
8899 and save it as buffer name if the buffer is managed by uniquify.
8900 (uniquify-item-base): Don't declare; not called anymore.
8902 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
8904 * vc.el (vc-annotate-find-revision-at-line): New function.
8905 (vc-annotate-mode-map): Bind it.
8906 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
8909 2008-02-14 Glenn Morris <rgm@gnu.org>
8911 * calendar/time-date.el (format-seconds): New function.
8912 (emacs-uptime): Use format-seconds.
8914 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8915 Remove `LC_ALL=C', since it's included in $(emacs) now.
8917 2008-02-14 Zhang Wei <id.brep@gmail.com>
8919 * textmodes/org-publish.el (org-publish-timestamp-filename):
8920 Replace colon characters in filename too.
8922 2008-02-13 Bastien Guerry <bzg@altern.org>
8924 * mail/rmail.el (rmail-header-name): New face.
8925 (rmail-font-lock-keywords): Use rmail-header-name.
8927 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8928 against X-Spam-Status header field.
8929 (rmail-spam-filter): Also check X-Spam-Status header field.
8931 2008-02-14 Mark A. Hershberger <mah@everybody.org>
8933 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8934 Add support for .pm files and .php files.
8935 (flymake-err-line-patterns): Add pattern for PHP errors.
8936 (flymake-php-init): New function. PHP support for flymake.
8938 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8939 Add regular expression for PHP errors.
8941 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
8943 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8944 This DTRT even on w32 machines.
8945 (ange-ftp-cf1): Quote FILENAME.
8947 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
8949 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8950 (smerge-auto-combine): New fun.
8952 2008-02-12 Juri Linkov <juri@jurta.org>
8954 * startup.el (fancy-startup-screen, normal-splash-screen):
8955 Set default-directory to command-line-default-directory.
8957 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8958 after reading the desktop.
8960 * progmodes/compile.el (compilation-auto-jump):
8961 Call compile-goto-error only when compilation-auto-jump-to-first-error
8963 (compilation-scroll-output): Replace :type 'boolean with a choice
8964 that has three options including a third option `first-error'.
8966 (compilation-start, compilation-forget-errors): Add an alternate
8967 condition comparing compilation-scroll-output with `first-error'
8968 in addition to compilation-auto-jump-to-first-error (to call
8969 compilation-auto-jump in the proper place).
8971 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * international/mule.el (sgml-html-meta-auto-coding-function):
8974 Make sure the search limit is ahead.
8976 * tar-mode.el: Fix broken indentation.
8977 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8978 Use with-current-buffer.
8980 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
8982 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8983 it is already automatically buffer-local.
8985 2008-02-11 Drew Adams <drew.adams@oracle.com>
8987 * help.el (describe-key): Join some split lines to facilitate filling.
8988 * help-fns.el (describe-function-1): Fill text of overlong lines.
8990 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8992 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8993 Use unibyte-string instead of string-make-unibyte.
8995 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8997 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
9000 works also for buffers w/o buffer-file-name. Update callers.
9001 (doc-view-clone-buffer-hook): New fun.
9002 (doc-view-mode): Use it for indirect clones. Mark the overlays with
9003 the `doc-view' property so they can be recognized.
9005 * simple.el (clone-indirect-buffer-hook): New hook.
9006 (clone-indirect-buffer): Run it.
9008 2008-02-11 Daiki Ueno <ueno@unixuser.org>
9010 * epa.el (epa-menu-mode): Merge into epa-mode.
9011 (epa-menu-items): Rename the label "EasyPG Assistant" to
9012 "Encryption/Decryption".
9014 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
9015 (epa-dired-mode-map): Rename from epa-dired-map.
9016 (epa-global-dired-mode): Rename the global minor mode.
9018 2008-02-11 Drew Adams <drew.adams@oracle.com>
9020 * isearch.el (isearch-fail): New face.
9021 (isearch-message): Highlight failure part of input.
9023 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9025 * ibuffer.el (ibuffer-header-line-format): New var.
9026 (ibuffer-mode): Set it instead of header-line-format.
9027 (ibuffer-update): Use it to set header-line-format.
9029 * international/mule-cmds.el (ucs-insert): Inherit surrounding
9030 properties like self-insert-command.
9032 2008-02-11 Drew Adams <drew.adams@oracle.com>
9034 * progmodes/etags.el: Add many doc strings.
9036 2008-02-11 Jason Rumney <jasonr@gnu.org>
9038 * ldefs-boot.el: Regenerated.
9040 2008-02-11 Glenn Morris <rgm@gnu.org>
9042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9045 * ffap.el (ffap-rfc-directories): Add :version.
9047 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
9049 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
9050 files, and backup files of same.
9052 2008-02-11 Kevin Ryde <user42@zip.com.au>
9054 * ffap.el (ffap-rfc-directories): New variable.
9055 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
9057 * info.el (Info-next-reference, Info-prev-reference)
9058 (Info-try-follow-nearest-node): Move to and follow https:// links too.
9060 * simple.el (completion-list-mode): Show full completion-list-mode-map
9063 2008-02-11 Sam Steingold <sds@gnu.org>
9065 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
9067 2008-02-11 Glenn Morris <rgm@gnu.org>
9069 * startup.el (emacs-startup-time): New variable.
9070 (command-line): Set emacs-startup-time.
9072 * calendar/time-date.el (emacs-uptime): New function.
9074 2008-02-10 Bastien Guerry <bzg@altern.org>
9076 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
9077 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
9080 2008-02-10 Daiki Ueno <ueno@unixuser.org>
9082 * epg-config.el: Expand the contents of epg-package-info.el.
9083 (epg-package-name): New constant.
9084 (epg-version-number): New constant.
9085 (epg-bug-report-address): New constant.
9087 * epa-mail.el (epa-mail-mode): Add autoload cookie.
9088 (epa-global-mail-mode): New global minor mode.
9090 * epa-file.el (epa-file-mode): New global minor mode.
9092 * epa-dired.el (epa-dired-mode): New global minor mode.
9094 * epa.el (epa-menu): New variable.
9095 (epa-menu-items): New variable.
9096 (epa-menu-mode): New global minor mode.
9097 (epa-global-minor-modes): New user option.
9098 (epa-mode): New global minor mode.
9100 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
9102 * net/dbus.el: Remove `no-byte-compile' cookie.
9103 (dbus-call-method, dbus-register-signal, dbus-debug)
9104 (dbus-registered-functions-table): Declare them with
9105 `declare-function' or `defvar', respectively.
9106 (top): Don't assert any longer. Require 'cl when compiling.
9107 Apply `ignore-errors' but `dbus-ignore-errors'.
9109 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9111 * diff-mode.el (diff-add-change-log-entries-other-window):
9112 Use add-change-log-entry.
9114 2008-02-09 Jason Rumney <jasonr@gnu.org>
9116 * button.el (button-map):
9117 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
9118 * ldefs-boot.el: Regenerate.
9120 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
9122 * epa.el (epa-faces, epa):
9123 * epa-file.el (epa-file):
9124 * epg-config.el (epg): Add :version.
9126 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
9128 * vc.el (vc-exec-after): Append CODE to previous fragments.
9129 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
9130 take MESSAGES instead of VERBOSE; use it when non-nil.
9131 (vc-diff-internal): Compute messages once; use them;
9132 update call to vc-diff-finish.
9134 2008-02-09 Michael Olson <mwolson@gnu.org>
9136 * net/tramp.el (tramp-process-sentinel): Avoid error when process
9137 buffer has been killed, such as by
9138 `tramp-cleanup-all-connections'.
9140 2008-02-09 Miles Bader <miles@gnu.org>
9142 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
9144 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
9147 splitter in context hunks.
9149 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
9151 * international/fontset.el (setup-default-fontset): Fix arabic otf
9154 2008-02-08 Daiki Ueno <ueno@unixuser.org>
9162 * epg-package-info.el:
9163 * epg.el: Initial check-in of EasyPG.
9165 2008-02-08 Glenn Morris <rgm@gnu.org>
9167 * woman.el (woman-locale): New defcustom.
9168 (woman-expand-locale, woman-manpath-add-locales): New functions.
9169 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
9171 * international/mule-cmds.el (locale-translate): New function,
9172 with old code extracted from set-locale-environment.
9173 (set-locale-environment): Use locale-translate. Set woman-locale.
9175 * cus-start.el (selection-coding-system): Remove, since it's now
9176 defined in select.el rather than in xselect.c.
9177 * select.el (selection-coding-system): Make it a defcustom, and
9178 add the properties from cus-start.el. Bump :version.
9180 * custom.el (custom-theme-set-variables): Sort symbols that are
9181 dependencies before symbols that depend on them.
9182 (custom-enabled-themes): Set after custom-theme-directory.
9184 * pcmpl-unix.el (top-level): Move provide statement to end.
9185 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
9186 `*' from doc-string. Allow to be nil.
9187 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
9188 Allow to be nil. Add :version.
9189 (pcmpl-ssh-hosts): Move definition before use. Handle lines
9190 without hostnames, and multiple hostnames per line.
9192 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
9194 2008-02-08 Phil Hagelberg <phil@evri.com>
9196 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
9197 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
9199 2008-02-07 Timo Savola <timo.savola@iki.fi>
9201 * startup.el (command-line-x-option-alist): Add --parent-id.
9203 * term/x-win.el (x-handle-parent-id): New function.
9205 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
9207 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
9210 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
9212 * net/dbus.el (dbus-interface-peer): New defconst.
9213 (dbus-ping): New defun.
9215 2008-02-06 Sam Steingold <sds@gnu.org>
9217 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
9219 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
9221 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9222 Just return nil and let the C code provide a fallback.
9224 2008-02-05 Glenn Morris <rgm@gnu.org>
9226 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9227 tramp-flush-connection-property for removed 2nd argument.
9229 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * diff-mode.el (diff-add-change-log-entries-other-window):
9232 Rename from diff-create-changelog. Change users.
9233 Minor change to hopefully work with plain diffs.
9234 (diff-mode-map): Add binding for it.
9236 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
9238 * diff-mode.el: Add new TODO entry.
9239 (diff-create-changelog): New function.
9240 (diff-mode-menu): Bind it.
9242 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
9244 * international/mule-diag.el (print-fontset-element): Handle the
9245 case of inhibiting the fallback fonts.
9247 2008-02-04 Kim F. Storm <storm@cua.dk>
9249 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9250 (ido-magic-delete-char): Use prefix arg.
9252 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
9254 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9255 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9256 of today, the most recent libpng is 1.2.24).
9258 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
9260 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9262 * net/dbus.el (top): Check (featurep 'dbusbind).
9264 * net/tramp.el (tramp-process-sentinel): New defun.
9265 (tramp-do-copy-or-rename-file-out-of-band)
9266 (tramp-maybe-open-connection): Use it as process sentinel.
9267 (tramp-handle-delete-directory): Don't use the "-f" option; it
9269 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9271 (tramp-handle-shell-command): Set `mode-line-process' in the
9274 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9276 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9277 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9278 Use `tramp-process-sentinel' as process sentinel.
9280 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
9282 * whitespace.el (global-whitespace-mode): Revert last change.
9283 (whitespace-unload-function): Force `global-whitespace-mode'
9284 to deactivate local modes in a slightly less intrusive way.
9286 2008-02-02 Eli Zaretskii <eliz@gnu.org>
9288 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9290 2008-02-02 Glenn Morris <rgm@gnu.org>
9292 * international/latin1-disp.el (latin1-display):
9293 * progmodes/fortran.el (fortran-comment-indent-char):
9294 * progmodes/idlw-shell.el (top-level):
9295 * term/mac-win.el (mac-keyboard-translate-char):
9296 * whitespace.el (whitespace-char-valid-p):
9297 * wid-edit.el (widget-key-sequence-read-event):
9298 Use characterp rather than char-valid-p.
9300 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9301 to capitalized-find-word-boundary. Doc fix. Update callers.
9302 (capitalized-next-word-boundary-function-table): Rename to
9303 capitalized-find-word-boundary-function-table. Doc fix. Update users.
9305 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9308 * ps-def.el (declare-function): Add compatibility definition.
9309 (ps-plot-with-face, ps-plot-string): Declare as functions.
9310 (ps-bold-faces, ps-italic-faces): Declare variables.
9312 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9313 (ps-mule-end-job): Declare as functions.
9315 * wid-edit.el (widget-string-complete): Use assoc-string rather
9316 than assoc-ignore-case.
9318 See ChangeLog.13 for earlier changes.
9322 ;; add-log-time-zone-rule: t
9325 Copyright (C) 2008 Free Software Foundation, Inc.
9327 This file is part of GNU Emacs.
9329 GNU Emacs is free software: you can redistribute it and/or modify
9330 it under the terms of the GNU General Public License as published by
9331 the Free Software Foundation, either version 3 of the License, or
9332 (at your option) any later version.
9334 GNU Emacs is distributed in the hope that it will be useful,
9335 but WITHOUT ANY WARRANTY; without even the implied warranty of
9336 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9337 GNU General Public License for more details.
9339 You should have received a copy of the GNU General Public License
9340 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9342 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc