(electric-history-map): Define within defvar. Add docstring.
[emacs.git] / lisp / ChangeLog
blob9bd20fc99561a9d2b274ff0175a3100ba7df825c
1 2008-06-04  John Paul Wallington  <jpw@pobox.com>
3         * echistory.el (electric-history-map): Define within defvar.
4         Add docstring.
6 2008-06-04  Juanma Barranquero  <lekktu@gmail.com>
8         * face-remap.el (variable-pitch-mode): Reflow docstrings.
9         (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
11 2008-06-04  Trent W. Buck  <trentbuck@gmail.com>  (tiny change)
13         * emacs-lisp/rx.el (rx): Doc fix.
15 2008-06-04  Markus Triska  <markus.triska@gmx.at>
17         * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
19 2008-06-04  Miles Bader  <miles@gnu.org>
21         * face-remap.el (adjust-buffer-face-height): New function.
22         Add autoloaded keybindings in ctl-x-map.
23         (increase-buffer-face-height, decrease-buffer-face-height):
24         Simplify interactive spec to just "p".  Remove autoloaded keybindings.
26 2008-06-03  Chong Yidong  <cyd@stupidchicken.com>
28         * simple.el (line-move-1): If we did not move as far as desired,
29         ensure that point-left and point-entered hooks are called.
31 2008-06-03  Sam Steingold  <sds@gnu.org>
33         * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
35 2008-06-03  John Paul Wallington  <jpw@pobox.com>
37         * progmodes/make-mode.el (makefile-cleanup-continuations)
38         (makefile-warn-suspicious-lines, makefile-warn-continuations):
39         Use `derived-mode-p'.
41 2008-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
43         * Makefile.in (update-elclist): Impose a fixed collation for sorting.
44         (ELCFILES): Update.
46 2008-06-03  Miles Bader  <miles@gnu.org>
48         * face-remap.el: New file.
49         * Makefile.in (ELCFILES): Add face-remap.elc.
51 2008-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
53         * progmodes/flymake.el (flymake-process-filter): Make sure the source
54         buffer isn't dead.
56         * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
57         * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
58         * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
59         * obsolete/auto-show.el, obsolete/hscroll.el:
60         Remove packages that were obsolete in Emacs-20, or that were obsolete
61         in Emacs-21 and do not contain any more code.
63         * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
64         vc-client-mode is not set.
66         * image-mode.el (image-mode-map): Suppress key map and bind `q'.
67         * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
69         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
70         yet a bit more clever at distinguishing / from /.
72 2008-06-03  Kenichi Handa  <handa@m17n.org>
74         * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
76 2008-06-03  Jihyun Cho  <jihyun.jo@gmail.com>
78         * language/hanja-util.el: New file.
80 2008-06-03  Glenn Morris  <rgm@gnu.org>
82         * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
83         Check that end-of-word follows "type".
85 2008-06-02  Daiki Ueno  <ueno@unixuser.org>
87         * epa-file.el (epa-file-write-region): Write the entire buffer
88         content if START is nil.
90 2008-06-01  Thomas Morgan  <tlm@thomasmorgan.net>  (tiny change)
92         * select.el (x-get-selection): Fix typo.
94 2008-06-01  Juanma Barranquero  <lekktu@gmail.com>
96         * descr-text.el (describe-text-sexp): Use `string-match-p'.  Simplify.
97         (describe-char): Use `looking-at-p', `string-match-p' when possible.
99 2008-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
101         * tar-mode.el (tar-header-block-summarize): Ensure one space around
102         user&group.
104 2008-05-31  John Paul Wallington  <jpw@pobox.com>
106         * help-fns.el (describe-variable-custom-version-info):
107         Handle dotted `package-version' info.
109 2008-05-31  Juanma Barranquero  <lekktu@gmail.com>
111         * icomplete.el (icomplete-get-keys): Doc fix.  Use `when'.
113 2008-05-31  Dan Nicolaescu  <dann@ics.uci.edu>
115         * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
116         names and improve support for unregistered files.
118 2008-05-31  Glenn Morris  <rgm@gnu.org>
120         * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
121         Remove shell variable `elc'.  Split tests to hopefully be more portable.
122         Fix `sel' assignment.
124 2008-05-30  Juanma Barranquero  <lekktu@gmail.com>
126         * minibuffer.el (completion-table-dynamic): Doc fix.
128 2008-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
130         * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
131         Try and return `unregistered' when applicable.
133         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
134         Don't encourage naming variables with "-flag".
136 2008-05-30  Glenn Morris  <rgm@gnu.org>
138         * Makefile.in (update-elclist): Hide the warning when it does not apply,
139         make it milder when it does.
140         (autogen-clean): New target.
141         (maintainer-clean): Use autogen-clean.
143         * calendar/diary-lib.el (diary-display-function): New name for
144         diary-display-hook.  Keep old name as obsolete alias.  Doc fix.
145         Change custom type and version.
146         (diary-list-entries-hook, diary-list-entries, diary-simple-display)
147         (diary-fancy-display): Doc fixes.
148         (diary-list-entries, diary-include-other-diary-files)
149         (diary-mail-entries):
150         Use diary-display-function rather than diary-display-hook.
152         * calendar/appt.el (appt-check): Use diary-display-function rather than
153         diary-display-hook.
154         * calendar/cal-x.el (calendar-dedicate-diary): Update for
155         diary-display-function replacing diary-display-hook.
156         * org/org-agenda.el (org-get-entries-from-diary): Also set
157         diary-display-function.
159         * calendar/cal-html.el (cal-html-list-diary-entries):
160         * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
161         * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
162         argument of diary-list-entries rather than setting diary-display-hook.
164 2008-05-30  Kenichi Handa  <handa@m17n.org>
166         * international/mule-conf.el (utf-8-with-signature): Renamed from
167         utf-8-sig.
168         (utf-8-auto): Adjusted for the above change.
170         * international/mule-diag.el (describe-font): Don't check fontset
171         here, and just call font-info.  Get the default font by from the
172         default face.
174 2008-05-29  Kenichi Handa  <handa@m17n.org>
176         * international/mule-conf.el (utf-8-sig, utf-8-auto):
177         New coding systems.
179         * international/mule.el (define-coding-system): Accept :bom for utf-8.
181 2008-05-29  Espen Wiborg  <espen.wiborg@telio.no>  (tiny change)
183         * international/utf-7.el (utf-7-encode): Use the right escape char
184         depending on imap/nonimap encoding.
186 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
188         * minibuffer.el (completion-pcm-all-completions): Add the base-size.
190 2008-05-29  Juanma Barranquero  <lekktu@gmail.com>
192         * icomplete.el (icomplete-prospects-height): Add :group.
194 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * icomplete.el (icomplete-prospects-length): Make obsolete.
197         (icomplete-prospects-height): New var.
198         (icomplete-completions): Use it.
200 2008-05-29  David Kastrup  <dak@gnu.org>
202         * autoinsert.el (auto-insert): Add :link.
204 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
206         * tar-mode.el (tar-header): New field `header-start'.
207         (tar-header-block-tokenize): Set it when useful.
208         Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
209         (tar-header-data-end): New function.
210         (tar-summarize-buffer): Use it.
211         (tar-next-line): Fix goal column for long usernames.
212         (tar-expunge-internal): Use header-start.
213         (tar-rename-entry): Handle ustar-style long names.
214         (tar-alter-one-field): Add optional `descriptor' argument.
215         (tar-subfile-save-buffer): Use it.
217 2008-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
219         * tar-mode.el (tar-header): New field `header-start'.
220         (tar-header-block-tokenize): Set header-start for longlink entries.
221         (tar-expunge-internal): Use header-start to expunge longlink entries.
223         * files.el (hack-local-variables): Don't signal an error if the local
224         variable section is not properly terminated.
226         * emacs-lisp/easymenu.el (easy-menu-convert-item)
227         (easy-menu-convert-item-1): Move the duplicate-generation outside of
228         the caching so it also works for identical entries.
230         * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
231         (tar-mode): Use write-region-annotate-functions rather than
232         write-contents-functions.
233         (tar-extract): Remove unused var `pos'.
234         (tar-subfile-save-buffer): Remove unused var `following-descs'.
235         (tar-mode-write-file): Remove.
236         (tar-write-region-annotate): New function.
238         * progmodes/flymake.el (flymake-save-buffer-in-file):
239         * shadowfile.el (shadow-copy-file):
240         * arc-mode.el (archive-*-write-file-member):
241         * files.el (diff-buffer-with-file):
242         * subr.el (with-temp-file): Pass nil to write-region.
243         * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
245         * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
246         the custom.
248         * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
249         to write-region.
251 2008-05-28  Glenn Morris  <rgm@gnu.org>
253         * Makefile.in (update-elclist): Work around non-portability of "\"
254         in various implementations of echo.
256 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
258         * international/mule-diag.el (describe-current-coding-system):
259         Don't assume selection-coding-system is always defined.
261         * tar-mode.el: Use defstruct and markers.
262         (tar-setf): Remove.
263         (tar-header): Use defstruct.  Add `data-start' field.
264         (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
265         (tar-desc-data-start): Remove (now called tar-header-data-start).
266         (tar-roundup-512): New fun.
267         (tar-header-block-tokenize): Receive a buffer position rather than
268         a string.  Handle @longLink here, be more careful about it.
269         Create a marker for data-start.
270         (tar-summarize-buffer): Don't handle @LongLink here any more.
271         (tar-expunge-internal, tar-subfile-save-buffer): Don't update
272         data-start on the following entries any more.
273         (tar-chown-entry, tar-chgrp-entry): Use read-number.
275         * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
276         (tar-header-offset): Remove.
277         (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
278         Not permanent any more.
279         (tar-data-buffer): New var.
280         (tar-data-swapped-p, tar-change-major-mode-hook)
281         (tar-mode-kill-buffer-hook): New funs.
282         (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
283         (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
284         (tar-clear-modification-flags, tar-alter-one-field)
285         (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
286         Change accordingly.
288 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
290         * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
291         (vc-dir-resynch-file): ... this.  Update callers.
292         Use vc-string-prefix-p.  Ignore directory args.
293         (vc-string-prefix-p): CSE.
294         (vc-resynch-buffer): Restore conditional.
296         * vc-hooks.el (vc-after-save): Improve test.
297         (vc-mode-line): Fix indentation.
299 2008-05-27  Chong Yidong  <cyd@stupidchicken.com>
301         * calendar/parse-time.el (parse-time-months)
302         (parse-time-weekdays): Add long-form month and day names.
304 2008-05-27  Glenn Morris  <rgm@gnu.org>
306         * Makefile.in (update-elclist): Make errors in final sed non-fatal.
308 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
310         * vc-dispatcher.el (vc-string-prefix-p): New function.
311         (vc-dir-parent-marked-p): Use it.
313 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
315         * vc.el (Problems): Remove fixed issues.
316         (vc-expand-dirs): Avoid returning directories.
317         (vc-dir): Fix C-x v v binding.
318         (vc-make-backend-object): Fix name.
319         (vc-dir-show-fileentry): Fix docstring.
320         (vc-dir-refresh): Use vc-dir-backend.  Fix docstring.
321         (vc-dir-refresh-files): Use vc-dir-backend.  Fix docstring.
322         Reset the state for directories.
323         (vc-dir-headers): Align labels.
324         (vc-default-status-printer): Do no call prettify-state-info.
325         (vc-deduce-fileset): Replace implementation with one based on a
326         working older version.
327         (vc-next-action): Use the new form of vc-deduce-fileset.
328         Fix dealing with unregistered files.
330         * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
331         (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
332         (vc-dir-child-files): New function.
333         (vc-dir-node-directory): New function.
334         (vc-dir-update, vc-dir-parent-marked-p)
335         (vc-dir-children-marked-p, vc-dir-mark-all-files)
336         (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
338         * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
340 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
342         * diff-mode.el (diff-context-mid-hunk-header-re): New const.
343         (diff-font-lock-keywords, diff-context->unified)
344         (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
345         (diff-hunk-text, diff-find-source-location): Use it.
346         (diff-post-command-hook): Let the user edit the hunk headers.
348 2008-05-26  Andreas Schwab  <schwab@suse.de>
350         * vc.el (vc-default-prettify-state-info): Fix formatting of an
351         unknown state.
353         * tar-mode.el (tar-summarize-buffer): Comment fix.
355 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
357         * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
359 2008-05-26  Glenn Morris  <rgm@gnu.org>
361         * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
363 2008-05-25  John Paul Wallington  <jpw@pobox.com>
365         * proced.el (proced-next-line, proced-previous-line):
366         Avoid calling `next-line' and `previous-line' from Lisp code.
368 2008-05-25  Ed Reingold  <reingold@emr.cs.iit.edu>
370         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
371         Use diary-ordinal-suffix.
373 2008-05-24  Juanma Barranquero  <lekktu@gmail.com>
375         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
376         (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
377         (edebug-save-displayed-buffer-points, edebug-initial-mode)
378         (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
379         (edebug-print-length, edebug-print-level, edebug-print-circle)
380         (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
381         (edebug-global-break-condition, edebug-sit-for-seconds):
382         Remove spurious * from defcustom docstrings.
383         (edebug-unwrap*, edebug-signal, edebug-eval-display):
384         Improve argument/docstring consistency.
385         (edebug-test-coverage, edebug-gensym, edebug-read)
386         (edebug-top-level-nonstop, edebug-eval-result-list)
387         (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
388         (edebug-eval-defun, edebug-eval-top-level-form, edebug)
389         (edebug-display-freq-count): Reflow docstrings.
390         (edebug-restore-status): Doc fix.
392 2008-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
394         * proced.el (proced-header-line): Use the :align-to 0 feature
395         rather than computing the corresponding position manually.
396         (proced-update): Don't hardcode point-min==1.
398 2008-05-24  Alan Mackenzie  <acm@muc.de>
400         * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
401         if c-file-style is set to a non-string.
403         (c-neutralize-CPP-line): Surround by `save-excursion'.
404         (c-neutralize-syntax-in-CPP): Optimize for speed.
406 2008-05-24  Glenn Morris  <rgm@gnu.org>
408         * Makefile.in (update-elclist): New target, to update ELCFILES.
409         (bootstrap-after): Run update-elclist.
411 2008-05-24  Ulf Jasper  <ulf.jasper@web.de>
413         * icalendar.el (icalendar-version): Increase to "0.19".
414         (icalendar--date-style): New function.
415         (icalendar--datetime-to-diary-date): Doc fix.
416         Use icalendar--date-style.
417         (icalendar--datestring-to-isodate): Doc fix.  Handle iso date style.
418         (icalendar--convert-yearly-to-ical)
419         (icalendar--convert-recurring-to-diary): Handle iso date style,
420         use icalendar-date-style.
422 2008-05-23  Dan Nicolaescu  <dann@ics.uci.edu>
424         * vc.el (vc-delete-file): Make sure the buffer is deleted and
425         vc-dir buffers are updated.
427 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * vc.el (vc-delete-file): Don't try to resynch the buffer.
431 2008-05-23  Paul Rivier  <paul.r.ml@gmail.com>
433         * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
434         * textmodes/reftex.el (reftex-extra-bindings-map): New var.
435         (reftex-extra-bindings): Use it.
437         * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
438         away from the user-reserved keys.
440         * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
441         New vars.
442         (ada-create-keymap): Use them.
444 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
446         * emacs-lisp/regexp-opt.el (regexp-opt): Always return
447         a properly-grouped regexp.
449 2008-05-23  Juanma Barranquero  <lekktu@gmail.com>
451         * progmodes/cap-words.el (capitalized-words-mode):
452         Fix typos in docstring.
454 2008-05-23  Kenichi Handa  <handa@m17n.org>
456         * international/mule-conf.el: Don't define the charset `emacs'
457         here, just put :docstring, :short-name, and :long-name.
459 2008-05-22  Kenichi Handa  <handa@m17n.org>
461         * international/mule-diag.el (font-show-log): Limit each listing
462         to 20 items.
464 2008-05-23  Nick Roberts  <nickrob@snap.net.nz>
466         * progmodes/gdb-ui.el (gdb-enable-debug): New function.
467         (gdb-annotation-rules): New entry for "thread-changed".
468         (gdb-thread-changed): New function.
470 2008-05-23  Glenn Morris  <rgm@gnu.org>
472         * Makefile.in (SOURCES): Remove, unused.
473         (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
474         (TAGS, TAGS-LISP): Use a single rule with multiple targets.
475         Exclude more '*loaddefs' files.
476         (compile-always): Simplify '.elc' deletion.
478 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
480         * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
481         (vc-bzr-revision-completion-table): Handle `boundaries' argument.
483         * minibuffer.el (completion-boundaries): Change calling
484         convention, so `string' has the same semantics as in
485         try-completion and all-completions.
486         (completion-table-with-context, completion--embedded-envvar-table)
487         (completion--file-name-table)
488         (completion-pcm--find-all-completions): Adjust code accordingly.
490 2008-05-22  Chong Yidong  <cyd@stupidchicken.com>
492         * image-mode.el (image-mode-winprops): Add argument CLEANUP to
493         prune image-mode-winprops-alist, preventing it from growing
494         indefinitely.
495         (image-mode-reapply-winprops): Use it.
497 2008-05-22  Teodor Zlatanov  <tzz@lifelogs.com>
499         * net/netrc.el (netrc-machine): Always match if the port is not given.
501 2008-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * minibuffer.el (completion-pcm--find-all-completions):
504         Don't add pseudo-completions.
506         * icomplete.el (icomplete-eoinput): Remove.
507         (icomplete-overlay): New var to replace it.
508         (icomplete-tidy): Rewrite.
509         (icomplete-exhibit): Use an overlay.
510         (icomplete-completions): Use completion-all-sorted-completions.
511         Obey completion-ignore-case.
513         * files.el (locate-dominating-file): Accept non-existing argument.
514         (project-find-settings-file): Rewrite, using locate-dominating-file.
516 2008-05-22  Kenichi Handa  <handa@m17n.org>
518         * faces.el (font-weight-table, font-slant-table, font-width-table):
519         Delete them.  Don't call internal-set-font-style-table.
521         * international/mule-diag.el (font-show-log): New function.
523         * international/fontset.el (script-representative-chars): Add more
524         chars for latin.  Add data for symbol.
525         (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
527 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
529         * minibuffer.el (completion-all-sorted-completions): New var.
530         (completion--flush-all-sorted-completions)
531         (completion-all-sorted-completions): New functions.
532         (minibuffer-force-complete): New command.
534 2008-05-21  Glenn Morris  <rgm@gnu.org>
536         * files.el (c-postprocess-file-styles): Declare for compiler.
538         * Makefile.in: Allow for parallel byte-compiling.
539         (ELCFILES): New variable.
540         (.el.elc): Remove prerequisites from suffix rule.  Print a message.
541         (compile-first, compile-main, compile-last): New targets.
542         (compile-always): Simplify - delete .elc files, then `make compile'.
544         * Makefile.in (compile-calc): Use glob rather than find.
545         ($(lisp)/progmodes/cc-mode.elc): Use $@.
547         * eshell/esh-module.el: No need for cl when compiling.
549         * eshell/eshell.el (eshell-defgroup): New alias.
550         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
551         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
552         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
553         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
554         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
555         * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
556         Autoload the custom group.  Set generated-autoload-file.
557         * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
558         for eshell-defgroup.
559         * eshell/esh-module.el (eshell-load-defgroups): Remove.
560         Require esh-groups rather than loading it.
562 2008-05-21  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
564         * proced.el (proced-header-line): New variable and new function.
565         (proced-mode): Set header-line-format.
566         (proced-update): Set proced-header-line.
567         (proced-send-signal): Use proced-header-line.
569 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
571         * macros.el (insert-kbd-macro): Use prin1-char.
573 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
575         * minibuffer.el (completion-boundaries): New function.
576         (completion--some): Delay errors.
577         (complete-with-action, completion-table-with-context):
578         Handle `boundaries' case.
579         (completion--try-word-completion): Avoid partial-completion
580         when the user hasn't entered anything yet.
581         (minibuffer-local-map, minibuffer-local-filename-completion-map)
582         (minibuffer-local-must-match-map, minibuffer-local-completion-map)
583         (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
584         Setup default keybindings.
585         (completion--embedded-envvar-re): New var.
586         (completion--embedded-envvar-table): Use it.  Handle `boundaries' case.
587         (completion--file-name-table): Handle `boundaries' case.
588         (completion-pcm--pattern->regex): Avoid pathological backtracking.
589         (completion-pcm--all-completions): Add a `prefix' arg.
590         (completion-pcm--find-all-completions): New function.
591         (completion-pcm-all-completions, completion-pcm-try-completion):
592         Use it.
594         * icomplete.el (icomplete-completions): Don't use `predicate' with
595         a table of a different type than `candidates'.
597 2008-05-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
599         * proced.el (proced-goal-column): Rename from proced-procname-column.
600         (proced-goal-header-re): Rename from proced-procname-column-regexp.
601         (proced-move-to-goal-column): Rename from proced-move-to-procname.
602         (proced-header-face, proced-header-regexp): Remove.
603         (proced-font-lock-keywords): Remove proced-header-face.
604         (proced-header-alist, proced-sorting-schemes-re): New variables.
605         (proced): Rename Proced buffer to *Proced*.
606         (proced-next-line, proced-previous-line): New commands.
607         (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
608         (proced-hide-processes): Do not treat first line as special.
609         (proced-header-space): New function.
610         (proced-update): Use header-line-format.
611         Initialize proced-header-alist and proced-sorting-schemes-re.
612         Set proced-goal-column.  Include proced-command in mode-name.
613         (proced-send-signal): Use header-line-format for *Marked
614         Processes* buffer.
615         (proced-sort): Restrict minibuffer completion to applicable
616         sorting schemes.
617         (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
619 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * icomplete.el (icomplete-simple-completing-p):
622         Allow icomplete-with-completion-tables to say "use it everywhere".
623         (icomplete-completions): Obey completion-styles.  Try to accommodate
624         partial-completion style.
626 2008-05-20  Michael Olson  <mwolson@gnu.org>
628         * files.el (project-find-settings-file): Change concat to
629         expand-file-name.
631 2008-05-19  Tom Tromey  <tromey@redhat.com>
633         * files.el (normal-mode): Call hack-project-variables.
634         (hack-local-variables-confirm): Add 'project' argument.
635         (hack-local-variables-apply): New function.
636         (hack-local-variables): Use it.
637         (project-class-alist, project-directory-alist): New variables.
638         (project-get-alist): New function.
639         (project-collect-bindings-from-alist)
640         (project-collect-binding-list, set-directory-project)
641         (project-find-settings-file, project-define-from-project-file)
642         (hack-project-variables): New functions.
644 2008-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
646         * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
648 2008-05-19  Juanma Barranquero  <lekktu@gmail.com>
650         * faces.el (font-weight-table): Fix typo in docstring.
652 2008-05-18  David Hull  <david@snap.com>  (tiny change)
654         * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
655         (vc-hg-annotate-command): Allow white space before version number.
657 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
659         * calc/calc-yank.el (calc-register-alist): New variable.
660         (calc-set-register,calc-get-register,calc-copy-to-register)
661         (calc-insert-register,calc-add-to-register,calc-append-to-register)
662         (calc-prepend-to-register): New functions.
664         * calc/calc-ext.el (calc-init-extensions): Add keybindings for
665         `calc-copy-to-register' and `calc-insert-register'.
666         Autoload new register functions.
668         * calc/calc-help.el (calc-r-prefix-help): Add help for register
669         functions.
671 2008-05-18  Dan Nicolaescu  <dann@ics.uci.edu>
673         * vc.el (Todo): Add known problems.
674         (vc-dir-backend): New variable.
675         (vc-dir): Set it.
676         (vc-make-backend-object, vc-generic-status-printer)
677         (vc-generic-state, vc-generic-status-fileinfo-extra)
678         (vc-dir-extra-menu): Use it.
679         (vc-generic-dir-headers): Remove, unused.
681         * vc-dispatcher.el (vc-dir-previous-directory): Rename from
682         vc-dir-prev-directory for consistency with vc-dir-previous-line.
683         (vc-dir-mode-map): Fix bindings.
685         * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
687 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
689         * calc/calc-yank.el (calc-kill): Make sure that only the stack is
690         operated on.
691         (calc-kill-region): Kill entire lines.
693 2008-05-17  Glenn Morris  <rgm@gnu.org>
695         * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
696         simplify initial value.
697         (defezimage): Drop support for Emacs without defimage, use a featurep
698         test rather than fboundp when defining, drop with-no-warnings.
699         (ezimage-insert-over-text): Move featurep test inside
700         add-text-properties.
702         * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
704         * net/tramp.el (top-level): Load auth-source when compiling.
706         * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
708 2008-05-17  Andreas Schwab  <schwab@suse.de>
710         * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
712 2008-05-17  Dan Nicolaescu  <dann@ics.uci.edu>
714         * vc.el (vc-annotate-show-diff-revision-at-line): Change
715         vc-diff-internal arg to match what vc-deduce-fileseset returns now.
717 2008-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
719         * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
721 2008-05-17  Jim Meyering  <meyering@redhat.com>
723         * ido.el (ido-save-history): Do not emit a trailing newline at the
724         end of the ido history file.
726 2008-05-16  John Paul Wallington  <jpw@pobox.com>
728         * vc-dispatcher.el (top-level): Revert previous change: require cl
729         when compiling.
731 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
733         * vc.el (vc-default-status-printer)
734         (vc-default-prettify-state-info): Enhance the state prettyprinter
735         to deal better with unknown states and indirect through it when
736         painting vc-dir buffers.
738 2008-05-16  John Paul Wallington  <jpw@pobox.com>
740         * vc-dispatcher.el (top-level): Don't require cl when compiling.
741         (vc-dir-mode-map): Fix backquote.
742         (vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.
744 2008-05-16  Michael Albinus  <michael.albinus@gmx.de>
746         * net/tramp.el (tramp-handle-write-region): Fix check for short track.
747         Reported by Glenn Morris <rgm@gnu.org>.
749 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
751         * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
752         the end of the file, it was good work at one time but has been
753         stale since 1995 and may now be actively misleading.
754         * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
755         CVS repository and module (assumptions for the latter a bit iffy).
756         * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
757         SVN repository.
759 2008-05-16  Juanma Barranquero  <lekktu@gmail.com>
761         * vc-rcs.el (vc-rcs-create-tag):
762         * vc-sccs.el (vc-sccs-create-tag):
763         Fix typo in error message and pass backend arg.
765 2008-05-15  Michael Albinus  <michael.albinus@gmx.de>
767         * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
769 2008-05-15  Teodor Zlatanov  <tzz@lifelogs.com>
771         * net/tramp.el: Load auth-source library.
772         (tramp-read-passwd): Use it for password, not login.
774 2008-05-15  Shigeru Fukaya  <shugeru.fukaya@gmail.com>
776         * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
777         (ses-print-cell): Use string-width, truncate-string-to-width,
778         delete-region rather than length, substring, delete-char.
779         (ses-setup): Set inhibit-point-motion-hooks to t.
780         Calculate position by actually moving point rather than just using
781         unibyte character length.
782         (ses-mode): Set indent-tabs-mode to nil.
783         (ses-center): Use string-width rather than length.
785 2008-05-15  Eric S. Raymond  <esr@snark.thyrsus.com>
787         * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
788         * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
789         Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
790         vc-*-create-tag and vc-*-retrieve-tag respectively.
792         * vc-dispatcher.el: Fix an incorrect buffer name and remove an
793         unneeded defalias.
795         * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
797         * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
798         about buffer names.
800 2008-05-15  Glenn Morris  <rgm@gnu.org>
802         * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
804         * org/org-exp.el (org-infojs-options-inbuffer-template):
805         Fix declaration.
807         * progmodes/cc-mode.el (declare-function): Add compat definition.
808         (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
810 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
812         * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
813         list to a cons so the caller can get back both expanded and
814         unexpanded filesets.
815         * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
816         (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
817         Change handling of selection-set returns as required.
819 2008-05-15  John Paul Wallington  <jpw@pobox.com>
821         * add-log.el (top-level): Don't require cl when compiling.
823         * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
824         (archive-*-extract): Use `zerop'
825         (archive-*-write-file-member): Use `or', use `zerop'.
827         * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
829         * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
830         (ibuffer-mark-interactive, ibuffer-set-mark)
831         (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
832         (ibuffer-map-lines, ibuffer-switch-format)
833         (ibuffer-update-title-and-summary)
834         (ibuffer-redisplay-engine): Use it.
836         * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
837         (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
838         (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
839         (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
840         (ibuffer-mark-read-only-buffers)
841         (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
843         * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
844         (define-ibuffer-column, define-ibuffer-sorter)
845         (define-ibuffer-op, define-ibuffer-filter): Add declarations
846         containing indentation specs, replacing equivalent top-level
847         forms that set `lisp-indent-function' properties.
848         (define-ibuffer-op): Use `derived-mode-p'.
849         (define-ibuffer-filter): Remove redundant `concat' call.
851 2008-05-14  Michael Albinus  <michael.albinus@gmx.de>
853         * net/tramp.el (tramp-echo-mark): Update docstring.
854         (tramp-echo-mark-marker): New defconst.
855         (tramp-check-for-regexp): Use it.
857 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
859         * vc.el (vc-deduce-fileset): Do the right thing when visting a
860         buffer (say, a log buffer or diff buffer) with a vc-dir buffer
861         as parent.
863 2008-05-14  John Paul Wallington  <jpw@pobox.com>
865         * international/mule.el (convert-define-charset-argument):
866         Remove period from end of error message.
867         (coding-system-mnemonic): Doc fix.
868         (ctext-pre-write-conversion): Doc fix.
870 2008-05-14  Simon Marshall  <simon@gnu.org>
872         * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
873         from its default value and give it the risky-local-variable
874         property (CVE-2008-2142).
876 2008-05-14  Kenichi Handa  <handa@m17n.org>
878         * language/korean.el ("Korean"): Set `iso639-language'
879         property to `ko'.
881         * language/japanese.el ("Japanese"): Set `iso639-language'
882         property to `ja'.
884         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
885         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
886         ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
888         * international/mule-cmds.el (set-language-environment):
889         Set current-iso639-language.
891         * international/fontset.el (setup-default-fontset): For kana, han,
892         hangul, and cjk-misc, move an entry with font-spec at the end.
893         (generate-fontset-menu): Exclue fontset-auto* from the list.
895         * composite.el (compose-chars-after): Assume that WINDOW is always
896         non-nil.
898         * faces.el (font-weight-table, font-slant-table)
899         (font-swidth-table): Declare them by defconst.  Change the format
900         of elements.  Call internal-set-font-style-table after their
901         declaration.
902         (face-valid-attribute-values): Call font-family-list.  Get values
903         for width, weight, and slant from font-xxx-table.
905         * cus-face.el (custom-face-attributes): Add "thin" for :weight.
907 2008-05-13  John Paul Wallington  <jpw@pobox.com>
909         * ibuffer.el (ibuffer-buffer-file-name): New function.
910         (define-ibuffer-column filename): Use it.
912         * ibuf-ext.el (define-ibuffer-filter filename): Use it.
914 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
916         * talk.el (talk): Simplify.  Pass display arg to talk-add-display
917         as a string.
918         (talk-add-display): Simplify.  Accept only string args.
920 2008-05-13  Jay Belanger  <jay.p.belanger@gmail.com>
922         * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
924 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * Makefile.in (bootstrap-prepare): Don't chmod files.
927         (autoloads): Do it here instead, where it's actually needed.
929 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
931         * tool-bar.el (tool-bar-make-keymap): Account for the optional
932         KEY-BINDING-DATA field in menu-item list.
934 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
936         * dired.el (dired-read-dir-and-switches): Move things about to use less
937         recursion during macroexpansion.
939         * dired.el (dired-read-dir-and-switches): Use read-file-name.
941         * dired.el (dired-read-dir-and-switches): Ignore ., .., and
942         completion-ignored-extension directories if there's something else.
943         (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
944         (dired-remember-marks, dired-undo, dired-build-subdir-alist)
945         (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
946         (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
947         buffer-read-only -> inhibit-read-only.
949 2008-05-12  Eric S. Raymond  <esr@snark.thyrsus.com>
951         * vc.el (vc-expand-dirs): Stop this function from tossing out
952         explicitly specified files.
954 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
956         * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
957         to `insert'.
959 2008-05-12  Dan Nicolaescu  <dann@ics.uci.edu>
961         * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
962         cons.  Use vc-annotate-backend.
963         (with-vc-file, edit-vc-file): Remove unused macros.
965 2008-05-12  Teodor Zlatanov  <tzz@lifelogs.com>
967         * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
968         (smtpmail-try-auth-methods): Use it.
970 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
973         (setf (nthcdr ..) ..) doesn't require CL at runtime.
975 2008-05-11  Carsten Dominik  <dominik@science.uva.nl>
977         * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
979 2008-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
982         (vc-bzr-revision-completion-table): Use process-file.
983         (vc-bzr-working-revision): Pass relative file names.
985         * diff-mode.el (diff-hunk-header-re): Refine the regexp.
987 2008-05-11  Juri Linkov  <juri@jurta.org>
989         * wid-edit.el (widget-image-directory): Change default image data
990         subdirectory from "custom" to "images/custom".
992         * info.el (Info-next-preorder): Let-bind `Info-history' to nil
993         before recursive call to `Info-next-preorder' to not add
994         intermediate nodes to the history.
996         * isearch.el: Put isearch-scroll property on recenter-top-bottom.
998         * emulation/cua-base.el: Put isearch-scroll property
999         on cua-scroll-up and cua-scroll-down.
1001 2008-05-11  Eric S. Raymond  <esr@snark.thyrsus.com>
1003         * vc-hooks.el (vc-recompute-state): Remove (dead code).
1005 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
1007         * vc-dispatcher.el (ewoc): Require.
1008         (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
1010         * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
1012 2008-05-10  Chong Yidong  <cyd@stupidchicken.com>
1014         * term/w32-win.el (x-colors):
1015         * term/mac-win.el (x-colors):
1016         * term/x-win.el (x-colors): Re-order colors.
1018 2008-05-10  Reiner Steib  <reiner.steib@gmx.de>
1020         * smerge-mode.el (smerge-command-prefix): Fix custom type.
1022 2008-05-10  Eric S. Raymond  <esr@snark.thyrsus.com>
1024         * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
1025         New functions implementing motion to next and previous directory.
1027         * vc-arch.el (vc-arch-command):
1028         * vc-bzr.el (vc-bzr-command):
1029         * vc-cvs.el (vc-cvs-command):
1030         * vc-dispatcher.el (vc-do-command):
1031         * vc-git.el (vc-git-command):
1032         * vc-hg.el (vc-hg-command):
1033         * vc-mcvs.el (vc-mvcs-command):
1034         * vc-mtn.el (vc-mtn-command):
1035         * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
1036         (vc-sccs-workfile-unchanged-p):
1037         * vc-svn.el (vc-svn-command, vc-svn-create-repo),
1038         * vc-rcs.el (all methods): Remove assumption about what a nil
1039         argument to vc-do-command means.  This means no buffer name needs
1040         to be hardcoded into the dispatcher layer, and it's better to be
1041         explicit anyway.
1043         * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1045 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
1047         * vc.el: Update todo.
1049         * vc-sccs.el (vc-sccs-dir-status):
1050         * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1051         backends and returning up to date files.
1053         * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1055 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1057         * vc.el (vc-dir):
1058         * vc-hooks.el: Tweak the VC directory bindings.  These are now
1059         documented in the manual.
1061         * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1062         (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1063         (vc-dispatcher-selection-set): Allow callers to pass in an
1064         observer flag that says no buffer sync is required.
1065         * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1066         Use the observer flag.
1068 2008-05-09  Michael Albinus  <michael.albinus@gmx.de>
1070         * simple.el (start-file-process): Clarify docstring.
1072 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1074         * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1075         Remove stub implementations of, and references to, wash-log.
1076         * vc-rcs.el (vc-rcs-comment-history):
1077         * vc-cvs.el (vc-cvs-comment-history):
1078         Inline the code that used to be wash-log.
1080         * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1081         (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1082         (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1083         * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1084         (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1085         (vc-rcs-print-log): Grok directories.
1087 2008-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * vc.el (vc-mark-resolved): Add `backend' argument.
1090         (vc-next-action): Pass it the backend.
1091         (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1092         (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1093         (vc-default-comment-history, vc-default-create-snapshot)
1094         (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1095         (vc-annotate-revision-previous-to-line)
1096         (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1097         * vc-svn.el (vc-svn-checkout):
1098         * vc-mcvs.el (vc-mcvs-checkout):
1099         * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1100         (vc-working-revision, vc-before-save, vc-mode-line):
1101         Prefer vc-call-backend to vc-call so as not to recompute the backend.
1103         * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1104         state to be consistent since it's often an unwarranted restriction.
1105         Don't return the state either.
1106         (vc-next-action): Check that the state is consistent.
1107         (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1108         (vc-rollback, vc-update): Adapt to new return value of
1109         vc-deduce-fileset.
1111         * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1112         (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1113         (vc-dispatcher-in-fileset-p): New fun.
1114         (vc-dispatcher-selection-set): Use it to properly handle directories.
1116 2008-05-09  Dan Nicolaescu  <dann@ics.uci.edu>
1118         * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1119         (vc-update): Remove unused let bindings.
1121 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1123         * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1124         (vc-diff, vc-revert, vc-rollback, vc-update):
1125         * vc-dispatcher.el (vc-dispatcher-selection-set):
1126         Get rid of 4 special cases in fileset selection.  This involved
1127         changing the return value of (vc-deduce-fileset) so that it passes
1128         back a deduced state as well as a deduced back end.
1130 2008-05-08  Sam Steingold  <sds@gnu.org>
1132         * progmodes/compile.el (compilation-minor-mode-map)
1133         (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1134         * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1135         to `compilation-minor-mode-map' (instead of an explicit `cons').
1137 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
1139         * org/org.el (org-modules, org-format-latex-options):
1140         * org/org-archive.el (org-archive-stamp-time)
1141         (org-archive-save-context-info):
1142         * org/org-faces.el (org-hide):
1143         * org/org-irc.el (org-irc-parse-link):
1144         * org/org-macs.el (org-call-with-arg, org-autoload):
1145         * org/org-mew.el (org-mew-store-link):
1146         * org/org-remember.el (org-remember-store-without-prompt)
1147         (org-remember-templates): Fix typos in docstrings.
1149         * org/org-info.el (org-info-store-link): Remove leftover docstring.
1151         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1152         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1153         (org-bbdb-anniv-split): Fix typos in docstrings.
1155         * org/org-publish.el (org-publish-project-alist): Doc fixes.
1156         (org-publish-use-timestamps-flag): Reflow docstring.
1157         (org-publish-files-alist): Fix typos in docstring.
1159 2008-05-07  Sam Steingold  <sds@gnu.org>
1161         * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1162         appears to be too aggressive with window removal.
1164 2008-05-08  Michael McNamara  <mac@mail.brushroad.com>
1166         * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1167         as pragma keywords.
1168         (verilog-pretty-expr): Support lining up assignments which include
1169         part selects.
1170         (verilog-mode): More portable check for the availability of
1171         hideshow support.
1172         (verilog-do-indent): Remove special indent for declarations inside
1173         a parenthetical list.  The code is ill-advised, and doesn't work
1174         given the new user defined types.
1175         (verilog-set-auto-endcomments): Enhance function automatic
1176         endcomment to support functions that return user defined types.
1177         (verilog-mode): Add code to tell which-function-mode minor mode
1178         that Verilog supports this feature.
1180 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
1182         * epa-file.el: Require epa-hook.
1184         * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1186         * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1187         file-names clashes on 8+3 filesystems.  Provide epa-hook.
1189         * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1190         file-names clashes on 8+3 filesystems.
1192 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
1194         * org/org.el (org-read-date-get-relative): Interpret lone
1195         weekday abbreviation as relative to today.
1197 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
1199         * abbrev.el (define-abbrev-table):
1200         * composite.el (toggle-auto-composition):
1201         * json.el (json-alist-p, json-plist-p):
1202         * minibuffer.el (completion-table-with-predicate):
1203         * ps-mule.el (ps-mule-external-libraries):
1204         * emacs-lisp/advice.el (ad-special-form-p):
1205         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1206         * eshell/em-smart.el (eshell-review-quick-commands):
1207         * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1208         (python-skip-out, python-check-comint-prompt):
1209         Don't use `iff' in docstrings.
1211         * international/robin.el (robin-package-alist): Fix typo in docstring.
1212         (robin-current-package-name): Doc fix.
1213         (robin-activate): Don't use `iff' in docstring.
1215 2008-05-07  Eric S. Raymond  <esr@snark.thyrsus.com>
1217         * vc.el, vc-dispatcher.el: VC-Dired support removed.
1218         The code uses a ewoc-based implementation now.
1219         * vc-hooks.el: Support for Meta-CVS has been removed.
1221 2008-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1223         * tool-bar.el: Choose images dynamically.
1224         (tool-bar-make-keymap, tool-bar-find-image): New function.
1225         (tool-bar-find-image-cache): New var.
1226         (tool-bar-local-item, tool-bar-local-item-from-menu):
1227         Don't select the image yet, do it later in tool-bar-make-keymap.
1229 2008-05-07  Andreas Schwab  <schwab@suse.de>
1231         * window.el: Require 'cl when compiling.
1233 2008-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
1235         * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1237 2008-05-07  Glenn Morris  <rgm@gnu.org>
1239         * subr.el (ignore-errors): Move here from cl-macs.el.
1240         * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1242         * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1243         oddness.
1245 2008-05-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1247         * vc-hooks.el (vc-find-file-hook):
1248         * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1249         further from vc.el.
1250         * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1252 2008-05-06  Wilson Snyder  <wsnyder@wsnyder.org>
1254         * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1255         (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1256         (verilog-auto-inout, verilog-auto-inout-module)
1257         (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1258         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1259         (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1260         (verilog-auto-sense-sigs, verilog-auto-tieoff)
1261         (verilog-auto-unused, verilog-auto-wire)
1262         (verilog-decls-get-assigns, verilog-decls-get-consts)
1263         (verilog-decls-get-gparams, verilog-decls-get-inouts)
1264         (verilog-decls-get-inputs, verilog-decls-get-outputs)
1265         (verilog-decls-get-ports, verilog-decls-get-regs)
1266         (verilog-decls-get-signals, verilog-decls-get-wires)
1267         (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1268         (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1269         (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1270         (verilog-inject-sense, verilog-library-filenames)
1271         (verilog-mode-release-date, verilog-mode-version)
1272         (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1273         (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1274         (verilog-modi-get-assigns, verilog-modi-get-consts)
1275         (verilog-modi-get-gparams, verilog-modi-get-inouts)
1276         (verilog-modi-get-inputs, verilog-modi-get-outputs)
1277         (verilog-modi-get-ports, verilog-modi-get-regs)
1278         (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1279         (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1280         (verilog-modi-get-wires, verilog-preserve-cache)
1281         (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1282         (verilog-read-sub-decls, verilog-read-sub-decls-line)
1283         (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1284         (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1285         Add caching of additional state, and rework signal extraction
1286         routines to improve AUTO expansion performance by 300%++.
1288 2008-05-06  Chong Yidong  <cyd@stupidchicken.com>
1290         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1291         Tweak Open Watcom regexp to distinguish between errors and warnings.
1293 2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * dired.el (dired-read-dir-and-switches): Fix up last change.
1297 2008-05-05  Eric S. Raymond  <esr@snark.thyrsus.com>
1299         * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1300         out of this function, move it to vc-dispatcher-selection-set.
1302 2008-05-05  Sam Steingold  <sds@gnu.org>
1304         * window.el (delete-other-windows-vertically): New function.
1306 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1308         * dired.el (dired-read-dir-and-switches):
1309         Obey read-file-name-completion-ignore-case.
1311 2008-05-05  Nick Roberts  <nickrob@snap.net.nz>
1313         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1314         Add regexp for Open Watcom compiler output.
1316 2008-05-05  Phil Sung  <psung@mit.edu>  (tiny change)
1318         * progmodes/python.el (python-block-pairs): Align finally with except.
1320 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1322         * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1324 2008-05-05  Tom Tromey  <tromey@redhat.com>
1326         * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1327         looking at conflict marker.
1329 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1331         * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1332         client-mode -> vc-client-object, and guess `funcall' was meant.
1333         (vc-dir-mode): Rename client-mode -> vc-client-mode.
1335 2008-05-05  Dan Nicolaescu  <dann@ics.uci.edu>
1337         * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1338         (dbus-debug): Move declarations outside eval-when-compile.
1340 2008-05-04  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
1342         * proced.el (proced-command-alist): Fix system-type values.
1343         Fix defcustom.
1344         (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1345         (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1346         (proced-sort-start, proced-sort, proced-sort-time): New commands.
1347         (proced-update): Use proced-sorting-scheme.  Update modeline.
1348         (proced-send-signal): Use nreverse.
1349         (proced-sorting-scheme-p): New function.
1351 2008-05-04  Andreas Schwab  <schwab@suse.de>
1353         * vc.el: Require dired when compiling.
1355         * minibuffer.el (completion--insert-strings): Don't delete past bol.
1357 2008-05-03  Glenn Morris  <rgm@gnu.org>
1359         * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1360         * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1361         Simplify compilation requirements.
1362         * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1363         declarations.
1365 2008-05-03  Dave Love  <fx@gnu.org>
1367         * progmodes/python.el (python-beginning-of-statement):
1368         Loop at least once (fixes 2008-02-21 change).
1370 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
1372         * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1373         instead of `length' for comparing length of user and group names.
1375 2008-05-03  Eric S. Raymond  <esr@snark.thyrsus.com>
1377         * vc-dispatcher.el: New file, separates out the UI and command
1378         execution machinery from VCS-specific logic left in vc.el.
1379         The separation is not yet completely clean, but it's a good start.
1380         * vc.el: This file is about 1700 lines shorter now.
1381         Remove obsolete logentry-check from the backend API.
1382         * vc-sccs.el (vc-sccs-logentry-check): Remove.  This was the only
1383         implementation of the logentry-check method, and it guarded against
1384         a log length limit that has probably been obsolete for 15 years (!).
1386 2008-05-02  Sam Steingold  <sds@gnu.org>
1388         * progmodes/compile.el (compilation-start): Move setting of
1389         compilation-directory after (funcall mode) as that resets local
1390         variables, this fixes recompile in grep buffers.
1391         * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1393 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1395         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1396         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1397         * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1398         has one of these and that all are called in compatible ways.
1399         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1400         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1401         * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1402         backend has one of these.
1404 2008-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1406         * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1407         initialization into define-abbrev-table.  Use :regexp.
1408         (octave-mode-syntax-table): Don't set word syntax for `.
1410         * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1411         than only value.
1413         * dired.el (dired-read-dir-and-switches):
1414         Set minibuffer-completing-file-name and call substitute-in-file-name.
1415         (dired-format-columns-of-files): Use completion--insert-strings.
1417         * minibuffer.el (completion-hilit-commonality): Revert last change:
1418         the leftover code was actually useful.
1419         (completion--insert-strings): Use string-width rather than length.
1421 2008-05-02  Sam Steingold  <sds@gnu.org>
1423         * vc.el (vc-dir-mode-map): Enable mouse bindings.
1424         (vc-at-event): New macro: run the body at the even location.
1425         (vc-dir-menu, vc-dir-toggle-mark): Use it.
1426         (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1427         * subr.el (mouse-event-p): Check if the even is mouse-related.
1429 2008-05-02  Nick Roberts  <nickrob@snap.net.nz>
1431         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1432         Don't throw error if no file is found.
1434 2008-05-02  Juanma Barranquero  <lekktu@gmail.com>
1436         * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1437         (vc-default-state-heuristic): Doc fix.
1439 2008-05-02  Richard Sharman  <rsharman@pobox.com>
1441         * hilit-chg.el (highlight-changes-mode): Remove references to
1442         hooks that no longer exist.  Because define-minor-mode is used the
1443         hook highlight-changes-mode-hook exists and can do what both the
1444         old hooks used to do.  The documentation at the top of the file
1445         was updated to demonstrate this.
1446         (highlight-changes-mode): Remove commented out call to a hook
1447         function that is no longer there.
1448         (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1450 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1452         * vc.el (vc-default-dired-state-info): Change name of primitive
1453         to prettify-state-info, in preparation for ripping out dired mode.
1454         * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1455         to prettify-state-info, in preparation for ripping out dired mode.
1456         * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1457         tries this on a version-controlled buffer.  It will do useless or
1458         actively bad things on any version control system newer than RCS.
1459         * vc-hooks.el (vc-dired-resynch-file):
1460         * vc.el (vc-dired-resynch-file): Change name of primitive to
1461         vc-directory-resynch-file, preparing to remove dired.
1463 2008-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
1465         * vc-rcs.el (vc-rcs-state): Fix typos.
1467         * vc.el (vc-register): Change argument order so that the prefix
1468         argument is assigned correctly.
1469         (vc-next-action, vc-dir-register): Update for the above change.
1471 2008-05-01  Juri Linkov  <juri@jurta.org>
1473         * replace.el (occur-read-primary-args): Set default to the car of
1474         regexp-history and display it in the prompt, but don't add to the
1475         list of minibuffer defaults.  Bind history-add-new-input to nil to
1476         not add automatically `default'.  For empty input return `default'.
1477         Otherwise, add `input' to regexp-history and return it.
1478         (occur-1): Signal an error for the empty regexp.
1480         * progmodes/compile.el (compilation-auto-jump):
1481         Set window point to `pos' explicitly.
1483 2008-05-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1485         * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1486         when appropriate.
1487         * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1488         we report the 'unregistered state reliably.
1489         * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1490         we report the 'unregistered state reliably.
1491         * vc-git.el (vc-git-state): Call vc-git-unregistered so
1492         we report the 'unregistered state reliably.
1493         * vc-hooks (vc-state): Document that vc-unregistered is
1494         now expected to be returned reliably.
1495         * vc.el (vc-default-dired-state): Change needs-patch state to
1496         needs-update, since the name now shows up in dir-status listings
1497         and was somewhat misleading.
1498         * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1499         immediately after removing the file.
1500         * vc.el (vc-next-action): More informative messages when a fileset
1501         is in a mixed state or files are missing.
1503 2008-05-01  Sam Steingold  <sds@gnu.org>
1505         * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1507 2008-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1509         * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1511 2008-05-01  Daiki Ueno  <ueno@unixuser.org>
1513         * epa-file-hook.el: New file split from epa-file.el.
1514         * epa-file.el: Require 'epa-file-hook.
1515         (epa-file-handler): Add autoload cookie.
1516         * loadup.el: Load epa-file-hook.
1517         * startup.el (command-line): Eval the body of auto-encryption-mode.
1519 2008-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
1521         * vc.el (vc-dir-mode-map): Don't bind "r".
1523         * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1524         (vc-hg-status-printer): New function.
1525         (vc-hg-after-dir-status): Deal with copied and renamed files.
1526         (vc-hg-dir-status): Add flag to show copied files.
1528 2008-05-01  John Paul Wallington  <jpw@pobox.com>
1530         * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1531         (ibuffer-do-sort-by-recency): Reverse sorting order if last
1532         sorting mode was recency.
1534         * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1535         reverse sorting order if last sorting mode was the sorter's.
1537 2008-05-01  Jason Rumney  <jasonr@gnu.org>
1539         * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1541 2008-04-30  John Paul Wallington  <jpw@pobox.com>
1543         * ibuffer.el (define-ibuffer-column filename): When the major mode
1544         is `vc-dir-mode' show the buffer's default directory.
1546         * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1547         major mode is `vc-dir-mode' use the buffer's default directory.
1549 2008-04-30  Sam Steingold  <sds@gnu.org>
1551         * vc.el (vc-dir-delete-file): Add.
1552         (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1553         (vc-delete-file): Do not barf when the file has been already deleted.
1555 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1557         * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1559 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1561         * progmodes/octave-mod.el (octave-help): New function.
1562         * progmodes/octave-hlp.el: Delete.
1563         * info-look.el (octave-mode): Add operator index.
1565         * vc.el (vc-checkout): Typo.
1567 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1569         * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1570         Add "..." in the appropriate places.
1572         * epa.el (epa-key-list-mode-map): Add more menu entries.
1573         Add "..." in the appropriate places.
1575         * dired.el (dired-mode-map): Add :help.
1577         * vc.el (vc-deduce-fileset): Add new parameter.
1578         (vc-dir-marked-only-files): New function.
1579         (vc-next-action): Don't ignore directories, look at the files
1580         inside them.
1581         (vc-dir-mode): Document how the mark/unmark commands work.
1583 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1585         * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1586         Rule out trailing spaces in file and directory names as well.
1588         * minibuffer.el (completion--do-completion): Move point even if the
1589         completion makes no change.
1590         (completion-pcm-try-completion): Fix computation of new point.
1592 2008-04-30  David Hansen  <david.hansen@gmx.net>
1594         * dired.el: Require 'cl.
1596 2008-04-30  Nick Roberts  <nickrob@snap.net.nz>
1598         * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1599         hollow if not in innermost frame.
1601 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1603         Make `checkout-model' apply to filesets.
1604         * vc-hooks.el (vc-checkout-model): Rewrite.
1605         (vc-before-save, vc-after-save): Adjust callers accordingly.
1606         * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1607         (vc-transfer-file): Adjust callers accordingly.
1608         * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1609         (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1610         (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1611         instead of vc-checkout-model.
1612         * vc-mcvs.el (vc-mcvs-revert):
1613         Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1614         * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1615         (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1616         * vc-svn.el (vc-svn-checkout-model):
1617         * vc-hg.el (vc-hg-checkout-model):
1618         * vc-git.el (vc-git-checkout-model):
1619         * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1621         * dired.el (dired-read-dir-and-switches): Replace last change with
1622         a new approach that mixes read-file-name and read-directory-name.
1624         * files.el (read-buffer-to-switch):
1625         Avoid making assumptions about `other-buffer'.
1627 2008-04-29  Sam Steingold  <sds@gnu.org>
1629         * vc.el (vc-dir-mode-hook): Add normal hook.
1630         (vc-dir-mode): Run it.
1632 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1634         * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1635         Always split windows.
1636         (gdb-speedbar-timer-fn): Only raise frame after user input.
1637         (gdb-same-frame): Reverse initial value.
1638         (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1640         * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1641         gdb-speedbar-timer-fn.
1643 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1645         * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1647 2008-04-29  Daiki Ueno  <ueno@unixuser.org>
1649         * epa.el (epa-key-list-mode-map): Add menu.
1650         (epa-delete-keys, epa-import-keys): Fix typo.
1652 2008-04-29  Glenn Morris  <rgm@gnu.org>
1654         * find-cmd.el (top-level): Does not need cl when compiling.
1656 2008-04-29  Phil Jackson  <phil@shellarchive.co.uk>
1658         * find-cmd.el: New file.
1660 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1662         * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1663         (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1664         (completion-pcm--hilit-commonality): New function.
1665         (completion-pcm-all-completions): Use it.
1667         * minibuffer.el (completion-common-substring): Mark obsolete.
1668         (completions-first-difference, completions-common-part):
1669         Move from simple.el.
1670         (completion-hilit-commonality): New fun.
1671         (display-completion-list, completion-emacs21-all-completions)
1672         (completion-emacs22-all-completions): Use it.
1673         * simple.el (completions-first-difference, completions-common-part):
1674         Move to minibuffer.el.
1675         (choose-completion-string): Use field functions and minibufferp.
1676         (completion-setup-function): Don't set completions faces.
1678 2008-04-29  Glenn Morris  <rgm@gnu.org>
1680         * calendar/calendar.el (calendar-nth-named-absday)
1681         (calendar-nth-named-day):
1682         * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1683         * calendar/holidays.el (holiday-float): Doc fixes.
1685         * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1686         the `full' case.
1688         * org/org-agenda.el (calendar-iso-from-absolute):
1689         * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1690         Fix declarations.
1692 2008-04-28  Nick Roberts  <nickrob@snap.net.nz>
1694         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1695         icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1696         (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1697         (gdb-assembler-custom): Be careful not to match other addresses.
1699 2008-04-29  Jason Rumney  <jasonr@gnu.org>
1701         * battery.el (battery-status-function): Use w32-battery-status
1702         on Windows.
1703         (battery-echo-area-format): Make apm format the general case.
1704         (battery-mode-line-format): Merge apm and pmset formats as the
1705         general case.
1707 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1709         * progmodes/gdb-ui.el (gdb-info-stack-custom):
1710         Use gud-tool-bar-item-visible-no-fringe.
1711         (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1712         is already visible in frame.  Remove optional size parameter
1713         and add optional frame parameter.
1715         * progmodes/gud.el (gud-display-line): Only consider visible
1716         frames when looking for source buffer.
1718 2008-04-28  Chong Yidong  <cyd@stupidchicken.com>
1720         * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1721         argument to get-char-property, in case the current buffer hasn't
1722         been assigned to that window yet.
1723         (doc-view-display): Default to selected window if the current
1724         buffer hasn't been assigned to a window yet.
1726 2008-04-28  Vinicius Jose Latorre  <bzg@altern.org>
1728         * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1730 2008-04-28  Michael Albinus  <michael.albinus@gmx.de>
1732         * net/tramp.el (tramp-mode): New defcustom.
1733         (tramp-file-name-handler, tramp-completion-file-name-handler):
1734         Use it.
1735         (tramp-replace-environment-variables): Handle "$$".
1737 2008-04-28  Sam Steingold  <sds@gnu.org>
1739         * vc-hg.el (vc-hg-rename-file): Fix argument order.
1741 2008-04-28  Bastien Guerry  <bzg@altern.org>
1743         * whitespace.el (whitespace-trailing): Fix typo.
1745 2008-04-28  Sam Steingold  <sds@gnu.org>
1747         * textmodes/remember.el (diary-make-entry): Update the autoload.
1749 2008-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1751         * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1752         all-completions.
1754 2008-04-28  Juanma Barranquero  <lekktu@gmail.com>
1756         * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1758 2008-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
1760         * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1761         (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1762         (vc-dir-mark-file): Add an optional argument.
1763         (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1765 2008-04-27  Daiki Ueno  <ueno@unixuser.org>
1767         * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1768         rather than obsolete alias find-file-hooks.
1769         (auto-encryption-mode): Rename from epa-file-mode.  Default to on.
1770         Use find-file-hook rather than obsolete alias find-file-hooks.
1771         Add to find-file-not-found-functions.
1772         (epa-file-handler): Put 'safe-magic and 'operations properties.
1774         * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1775         (epa-menu-items): Remove.
1777         * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1778         (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1779         (epa-dired-mode, epa-global-dired-mode): Remove.
1781         * dired.el (dired-mode-map): Bind encryption/decryption commands.
1783         * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1785         * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1787 2008-04-27  Glenn Morris  <rgm@gnu.org>
1789         * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1790         Remove un-needed local `orig-list'.  Replace cl `copy-list'.
1792 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
1794         * org/org.el (org-html-level-start): Always have id's in HTML.
1795         (org-export-as-html): Use `org-link-protocols' to
1796         retrieve the export form of the link.
1797         (org-add-link-type): Final parameter renamed from PUBLISH.
1798         Better documentation of how it is to be used.  Avoid double entries for
1799         the same link type.
1800         (org-add-link-props): New function.
1801         (org-modules-loaded): New variable.
1802         (org-load-modules-maybe, org-set-modules): New function.
1803         (org-modules): New option.
1804         (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1805         (orgtbl-mode, org-store-link, org-insert-link-global)
1806         (org-open-at-point): Call `org-load-modules-maybe'.
1807         (org-search-view): Add more text properties.
1808         (org-agenda-schedule, org-agenda-deadline): Allow also in
1809         search-type agendas.
1810         (org-search-view): Order of arguments has been changed.
1811         Interpret prefix-arg as TODO-ONLY.
1812         (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1813         Take new argument order of `org-search-view' into account.
1814         (org-todo-only): New variable.
1815         (org-search-syntax-table): New variable and function.
1816         (org-search-view): Do the search with the special syntax table.
1817         (define-obsolete-function-alias): Make work with XEmacs.
1818         (org-add-planning-info): Use old date as default when modifying an
1819         existing deadline or scheduled item.
1820         (org-agenda-compute-time-span): Make argument N optional.
1821         (org-agenda-format-date-aligned): Require `cal-iso'.
1822         (org-agenda-list): Include week into agenda heading, don't
1823         list it at each date (only on Mondays).
1824         (org-read-date-analyze): Define local variable `iso-date'.
1825         (org-agenda-format-date-aligned): Remove dependency on
1826         `calendar-time-from-absolute'.
1827         (org-remember-apply-template, org-go-to-remember-target):
1828         Interpret filenames relative to `org-directory'.
1829         (org-complete): Silently fail when trying to complete
1830         keywords that don't have a default value.
1831         (org-get-current-options): Add a #+DATE: option.
1832         (org-additional-option-like-keywords): Remove "DATE:" from the
1833         list of additional keywords.
1834         (org-export-as-html): Remove (current-time) as unnecessary second
1835         argument of `format-time-string'.
1836         (org-clock-find-position): Handle special case at end of buffer.
1837         (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1838         `org-agenda-change-time-span'.
1839         (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1840         `org-agenda-change-time-span'.
1841         (org-agenda-month-view): New argument MONTH, pass it on to
1842         `org-agenda-change-time-span'.
1843         (org-agenda-year-view): New argument YEAR, pass it on to
1844         `org-agenda-change-time-span'.
1845         (org-agenda-change-time-span): New optional argument N, pass it on
1846         to `org-agenda-compute-time-span'.
1847         (org-agenda-compute-time-span): New argument N, interpret it by
1848         changing the starting day.
1849         (org-small-year-to-year): New function.
1850         (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1851         (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1852         into the future, and that the shift is at least one interval, never 0.
1853         (org-update-checkbox-count): Fix bug with checkbox counting.
1854         (org-add-note): New command.
1855         (org-add-log-setup): Rename from `org-add-log-maybe'.
1856         (org-log-note-headings): New entry for plain notes (i.e. notes not
1857         related to state changes or clocking).
1858         (org-get-org-file): Check for availability of `remember-data-file'.
1859         (org-cached-entry-get): Allow a regexp value for
1860         `org-use-property-inheritance'.
1861         (org-use-property-inheritance): Allow regexp value.  Fix bug in
1862         customization type.
1863         (org-use-tag-inheritance): Allow a list and a regexp value for
1864         this variable.
1865         (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1866         (org-entry-get): Respect value `selective' for the INHERIT argument.
1867         (org-tag-inherit-p, org-property-inherit-p): New functions.
1868         (org-agenda-format-date-aligned): Allow 10 characters for
1869         weekday, to acomodate German locale.
1870         (org-add-archive-files): New function.
1871         (org-agenda-files): New argument `ext', to get archive files as well.
1872         (org-tbl-menu): Protect the use of variables that
1873         are only available when org-table.el gets loaded.
1874         (org-read-agenda-file-list): Error if `org-agenda-files' is a
1875         single directory.
1876         (org-open-file): Allow a batch process to trigger
1877         waiting after executing a system command.
1878         (org-store-link): Link to headline when there is not
1879         target and no region in an org-mode buffer when creating a link.
1880         (org-link-types-re): New variable.
1881         (org-make-link-regexps): Compute `org-link-types-re'.
1882         (org-make-link-description-function): New option.
1883         (org-agenda-date, org-agenda-date-weekend): New faces.
1884         (org-archive-sibling-heading): New option.
1885         (org-archive-to-archive-sibling): New function.
1886         (org-iswitchb): New command.
1887         (org-buffer-list): New function.
1888         (org-agenda-columns): Also try the #+COLUMNS line in
1889         the buffer associated with the entry at point (or with the first
1890         entry in the agenda view).
1891         (org-modules): Add entry for org-bibtex.el.
1892         (org-completion-fallback-command): Move into `org-completion' group.
1893         (org-clock-heading-function): Move to `org-progress' group.
1894         (org-auto-repeat-maybe): Make sure that a note can
1895         be enforces if `org-log-repeat' is `note'.
1896         (org-modules): Allow additional symbols for external packages.
1897         (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
1898         (org-clock-goto): Hide drawers after showing an
1899         entry with `org-clock-goto.'
1900         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
1901         Try also a clocktable block shift.
1902         (org-clocktable-try-shift): New function.
1903         (org-columns-hscoll-title): New function.
1904         (org-columns-previous-hscroll): New variable.
1905         (org-columns-full-header-line-format): New variable.
1906         (org-columns-display-here-title, org-columns-remove-overlays):
1907         Install `org-columns-hscoll-title' in post-command-hook.
1909         * org/org.el: Split into many small files.
1911         * org/org-agenda.el: New file, split off from org.el.
1913         * org/org-archive.el: New file, split off from org.el.
1915         * org/org-bbdb.el: New file.
1917         * org/org-bibtex.el: New file, split off from org.el.
1919         * org/org-clock.el: New file, split off from org.el.
1921         * org/org-colview.el: New file, split off from org.el.
1923         * org/org-compat.el: New file, split off from org.el.
1925         * org/org-exp.el: New file, split off from org.el.
1927         * org/org-faces.el: New file, split off from org.el.
1929         * org/org-gnus.el: New file, split off from org.el.
1931         * org/org-info.el: New file, split off from org.el.
1933         * org/org-infojs.el: New file.
1935         * org/org-irc.el: New file.
1937         * org/org-macs.el: New file, split off from org.el.
1939         * org/org-mew.el: New file.
1941         * org/org-mhe.el: New file, split off from org.el.
1943         * org/org-publish.el: New file, split off from org.el.
1945         * org/org-remember.el: New file, split off from org.el.
1947         * org/org-rmail.el: New file, split off from org.el.
1949         * org/org-table.el: New file, split off from org.el.
1951         * org/org-vm.el: New file, split off from org.el.
1953         * org/org-wl.el: New file, split off from org.el.
1955 2008-04-27  Jason Riedy  <jason@acm.org>
1957         * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
1958         parameter that supresses lines that evaluate to NIL.
1959         (orgtbl-get-fmt): New inline function for
1960         picking apart formats that may be lists.
1961         (orgtbl-apply-fmt): New inline function for applying formats that
1962         may be functions.
1963         (orgtbl-eval-str): New inline function for strings that may be
1964         functions.
1965         (orgtbl-format-line, orgtbl-to-generic): Use and document.
1966         (orgtbl-to-latex, orgtbl-to-texinfo): Document.
1967         (*orgtbl-llfmt*, *orgtbl-llstart*)
1968         (*orgtbl-llend*): Dynamic variables for last-line formatting.
1969         (orgtbl-format-section): Shift formatting to support detecting the
1970         last line and formatting it specially.
1971         (orgtbl-to-generic): Document :ll* formats.  Set to the non-ll
1972         formats unless overridden.
1973         (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
1974         (*orgtbl-table*, *orgtbl-rtn*): Dynamically
1975         bound variables to hold the input collection of lines and output
1976         formatted text.
1977         (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
1978         (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
1979         format parameters.
1980         (orgtbl-format-line): New function encapsulating formatting for a
1981         single line.
1982         (orgtbl-format-section): Similar for each section.  Rebinding the
1983         dynamic vars customizes the formatting for each section.
1984         (orgtbl-to-generic): Use orgtbl-format-line and
1985         orgtbl-format-section.
1986         (org-get-param): Now unused, so delete.
1987         (orgtbl-gather-send-defs): New function to
1988         gather all the SEND definitions before a table.
1989         (orgtbl-send-replace-tbl): New function to find the RECEIVE
1990         corresponding to the current name.
1991         (orgtbl-send-table): Use the previous two functions and implement
1992         multiple destinations for each table.
1994         * doc/org.texi (A LaTeX example): Note that fmt may be a
1995         one-argument function, and efmt may be a two-argument function.
1996         (Radio tables): Document multiple destinations.
1998 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
2000         * org/org-agenda.el (org-add-to-diary-list): New function.
2001         (org-prefix-has-effort): New variable.
2002         (org-sort-agenda-noeffort-is-high): New option.
2003         (org-agenda-columns-show-summaries)
2004         (org-agenda-columns-compute-summary-properties): New options.
2005         (org-format-agenda-item): Compute the duration of the item.
2006         (org-agenda-weekend-days): New variable.
2007         (org-agenda-list, org-timeline): Use the proper faces for dates in
2008         the agenda and timeline buffers.
2009         (org-agenda-archive-to-archive-sibling): New command.
2010         (org-agenda-start-with-clockreport-mode): New option.
2011         (org-agenda-clockreport-parameter-plist): New option.
2012         (org-agenda-clocktable-mode): New variable.
2013         (org-agenda-deadline-leaders): Allow a function value for the
2014         deadline leader.
2015         (org-agenda-get-deadlines): Deal with new function value.
2017         * lisp/org-clock.el (org-clock): New customization group.
2018         (org-clock-into-drawer, org-clock-out-when-done)
2019         (org-clock-in-switch-to-state, org-clock-heading-function):
2020         Move into the new group.
2021         (org-clock-out-remove-zero-time-clocks): New option.
2022         (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
2023         (org-dblock-write:clocktable): Allow a Lisp form for the scope
2024         parameter.
2025         (org-dblock-write:clocktable): Fix bug with total time calculation.
2026         (org-dblock-write:clocktable): Request the unrestricted list of files.
2027         (org-get-clocktable): New function.
2028         (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
2029         be strings but also integers (an absolute day number) and lists (m d y).
2031         * org/org-colview.el (org-columns-next-allowed-value)
2032         (org-columns-edit-value): Limit the effort for updating in the
2033         agenda to recomputing a single file.
2034         (org-columns-compute): Only write property value if it has changed.
2035         This avoids raising the buffer-change-flag unnecessarily.
2036         (org-agenda-colview-summarize)
2037         (org-agenda-colview-compute): New functions.
2038         (org-agenda-columns): Call `org-agenda-colview-summarize'.
2040         * org/org-exp.el (org-export-run-in-background): New option.
2041         (org-export-icalendar): Allow a batch process to trigger waiting
2042         after executing a system command.
2043         (org-export-preprocess-string): Rename from
2044         `org-cleaned-string-for-export'.
2045         (org-export-html-style): Made target class look like normal text.
2046         (org-export-as-html): Make use of the better proprocessing in
2047         `org-cleaned-string-for-export'.
2048         (org-cleaned-string-for-export): Better treatment of heuristic
2049         targets, many more internal links will now work in HTML export.
2050         (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2051         (org-export-inbuffer-options-extra): New variable.
2052         (org-export-options-filters): New hook.
2053         (org-infile-export-plist): Find also the settings keywords in
2054         `org-export-inbuffer-options-extra'.
2055         (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2056         multiple #+INFOJS_OPT lines.
2057         (org-export-html-handle-js-options): New function.
2058         (org-export-html-infojs-setup): New option.
2059         (org-export-as-html): Call `org-export-html-handle-js-options'.
2060         Add autoload to all entry points.
2061         (org-skip-comments): Function removed.
2063         * org/org-table.el (org-table-make-reference): Extra parenthesis
2064         around single fields, to make sure that algebraic formulas get
2065         correctly interpreted by calc.
2066         (org-table-current-column): No longer interactive.
2068         * org/org-export-latex.el (org-export-latex-preprocess):
2069         Rename from `org-export-latex-cleaned-string'.
2071 2008-04-27  Bastien Guerry  <bzg@altern.org>
2073         * org/org-publish.el (org-publish-get-base-files-1): New function.
2074         (org-publish-get-base-files): Use it.
2075         (org-publish-temp-files): New variable.
2076         Don't require 'dired-aux anymore.
2077         (org-publish-initial-buffer): New variable.
2078         (org-publish-org-to, org-publish): Use it.
2079         (org-publish-get-base-files-1): Bug fix: get
2080         the proper list of files when recursing thru a directory.
2081         (org-publish-get-base-files): Use the :exclude property to skip
2082         both files and directories.
2084 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
2086         * net/tramp.el (tramp-handle-make-symbolic-link)
2087         (tramp-handle-file-name-directory)
2088         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2089         (tramp-do-copy-or-rename-file-directly)
2090         (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2091         (tramp-handle-substitute-in-file-name)
2092         (tramp-handle-insert-file-contents, tramp-handle-write-region)
2093         * net/tramp-cache.el (tramp-get-file-property)
2094         (tramp-set-file-property, tramp-flush-file-property)
2095         (tramp-flush-directory-property)
2096         * net/tramp-compat.el (tramp-compat-make-temp-file)
2097         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2098         Disable `file-name-handler-alist' when handling localname.
2099         It could have a remote file syntax, like a VMS file name.
2101 2008-04-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2103         * whitespace.el: New version 11.1.
2104         (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2105         enclosed by \\( and \\)$.  Docstring fix.
2106         (whitespace-trailing-regexp): Fun removed.
2107         (whitespace-report-list): Const initialization fix.
2108         (whitespace-color-on): Code fix.
2110 2008-04-27  Andreas Schwab  <schwab@suse.de>
2112         * Makefile.el: Unbreak bootstrap.
2114 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
2116         * net/tramp.el (tramp-replace-environment-variables): New defun.
2117         (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2118         Use it.
2120 2008-04-27  Glenn Morris  <rgm@gnu.org>
2122         * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2124         * calculator.el (calculator-expt): Replace cl function `oddp'.
2126 2008-04-27  Johan BockgÃ¥rd  <bojohan@gnu.org>
2128         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2129         Simplify.  Collect `defun' and `autoload' entries.
2130         Avoid modifying load-history.
2132 2008-04-26  Glenn Morris  <rgm@gnu.org>
2134         * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2136         * simple.el (quoted-insert, zap-to-char): Revert previous change.
2138 2008-04-26  John Paul Wallington  <jpw@pobox.com>
2140         * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2141         `hexl-mode-old-eldoc-documentation-function'.
2142         (hexl-mode-exit): Restore it.
2143         (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2145         * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2147 2008-04-26  Juanma Barranquero  <lekktu@gmail.com>
2149         * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2150         (completion-pcm--all-completions): Doc fix.
2151         (completion-styles-alist, completion-all-completions):
2152         Fix typos in docstrings.
2154 2008-04-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2156         * whitespace.el: There is now only one variable (whitespace-style) to
2157         specify which kind of blank is visualized.  Doc and docstring fix.
2158         New version 11.0.
2159         (whitespace-style): New option, replace whitespace-style-mark and
2160         whitespace-style-color.
2161         (whitespace-style-mark, whitespace-style-color): Options removed.
2162         (whitespace-hspace, whitespace-tab, whitespace-newline)
2163         (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2164         (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2165         (whitespace-hspace-regexp, whitespace-space-regexp)
2166         (whitespace-tab-regexp, whitespace-trailing-regexp)
2167         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2168         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2169         (whitespace-space-after-tab-regexp, whitespace-line-column)
2170         (whitespace-display-mappings, whitespace-report): Docstring fix.
2171         (whitespace-color-value-list, whitespace-mark-value-list)
2172         (whitespace-active-color, whitespace-active-mark)
2173         (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2174         (whitespace-style-value-list, whitespace-active-style)
2175         (whitespace-toggle-style): New vars.
2176         (whitespace-toggle-option-alist, whitespace-help-text):
2177         Var initialization and docstring fix.
2178         (whitespace-toggle-options, global-whitespace-toggle-options)
2179         (whitespace-cleanup, whitespace-cleanup-region)
2180         (whitespace-report-region, whitespace-interactive-char)
2181         (whitespace-toggle-list): Docstring and code fix.
2182         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2183         (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2184         (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2185         (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2187 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2189         * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2190         (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2191         (diff-sanity-check-hunk): Adjust code accordingly.
2193 2008-04-26  Glenn Morris  <rgm@gnu.org>
2195         * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2197         * forms-d2.dat: Move to ../etc.
2198         * forms-d2.el (forms-file): Adapt for above change.
2200         * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2201         `translation-table-for-input'.
2203         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2204         (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2206         * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2207         to punctuation now it's not needed for abbrevs.
2208         (fortran-mode-abbrev-table): Remove defvar, make use of new
2209         define-abbrev-table :regexp feature.
2211         * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2212         insert, now that translation-table-for-input is not needed.
2214 2008-04-26  Johannes Weiner  <hannes@saeurebad.de>
2216         * emacs-lisp/pp.el (pp-display-expression): New function,
2217         extracted from pp-eval-expression.
2218         (pp-eval-expression): Use pp-display-expression.
2219         (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2220         (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2221         (pp-eval-last-sexp): Use pp-last-sexp.
2223 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2225         * abbrev.el (define-abbrev-table): Apply props even if the table
2226         exists already.
2228         * minibuffer.el (completion-table-with-context): Fix `pred' for the
2229         various kinds of completion tables.
2230         (completion-emacs22-try-completion): Place cursor after the /, as was
2231         done in Emacs-22's minibuffer-complete-word.
2232         Fix bug reported by David Hansen <david.hansen@gmx.net>.
2233         (completion-emacs22-try-completion): Merge all mergable text rather
2234         than just /.
2235         (completion-pcm--delim-wild-regex): New var.
2236         (completion-pcm-word-delimiters): New custom.
2237         (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2238         (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2239         (completion-pcm--all-completions, completion-pcm-all-completions)
2240         (completion-pcm--merge-completions, completion-pcm--pattern->string)
2241         (completion-pcm-try-completion): New functions.
2242         (completion-styles-alist): Add them.
2243         (completion-styles): Add it to the default.
2245 2008-04-25  Nick Roberts  <nickrob@snap.net.nz>
2247         * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2248         (gdb-var-create-handler): ...until here when there are values.
2249         (gdb-post-prompt): Don't do -var-update with no watch expressions.
2250         (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2252 2008-04-25  Eli Zaretskii  <eliz@gnu.org>
2254         * ls-lisp.el (ls-lisp-format): Fix last change.
2255         (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2256         (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2257         (ls-lisp-filesize-f-fmt): New defvars.
2258         (ls-lisp-insert-directory): Dynamically compute format specifiers
2259         for displaying UID, GID, and file size, and store them in the
2260         above variables.
2261         (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2262         ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2263         instead of constant format strings.
2264         (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2265         ls-lisp-filesize-d-fmt instead of constant format strings.
2267 2008-04-24  Nick Roberts  <nickrob@snap.net.nz>
2269         * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2270         value of addresses rather than (partial) string value.
2271         (gdb-frame-handler): Change regexp according to above change.
2272         (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2273         (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2274         (gdb-assembler-mode): Disable undo in these buffers.
2276 2008-04-24  Michael Albinus  <michael.albinus@gmx.de>
2278         * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2279         Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2281 2008-04-24  Sam Steingold  <sds@gnu.org>
2283         * textmodes/remember.el (remember-diary-extract-entries): Use
2284         diary-make-entry instead of the obsolete make-diary-entry.
2286 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2288         * subr.el (translation-table-for-input): Mark as obsolete.
2290         * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2292         * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2294         * textmodes/ispell.el (ispell-dictionary-alist-1)
2295         (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2296         (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2297         (ispell-dictionary-alist-6): Remove.
2298         (ispell-dictionary-base-alist): New var, merges the above.
2299         (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2300         Use it.
2301         (ispell-dictionary-alist): Default to nil.  Remove autoload.
2302         (ispell-local-dictionary-alist): Remove autoload.
2304         * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2305         (f90-mode-abbrev-table): Use the new :regexp feature.
2306         Merge defvar and mapc into define-abbrev-table.
2307         (f90-imenu-type-matcher): Remove unused `l'.
2308         (f90-imenu-generic-expression): Remove unused `not-ib'.
2309         (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2310         (f90-change-keywords): Use restore-buffer-modified-p.
2312 2008-04-24  Glenn Morris  <rgm@gnu.org>
2314         * net/goto-addr.el (goto-address-prog-mode):
2315         * progmodes/bug-reference.el (bug-reference-prog-mode):
2316         Define for compiler.
2318         * minibuffer.el (x-file-dialog): Declare as function.
2320         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2321         dframe-update-speed rather than obsolete alias speedbar-update-speed.
2323         * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2324         (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2325         work with easymenu.  Add :keys where needed.
2327         * calendar/cal-move.el (calendar-scroll-left): Handle case when
2328         event-start is nil.
2330         * calendar/calendar.el (calendar-mode-map): Fix typo.
2332 2008-04-24  Tom Tromey  <tromey@redhat.com>
2334         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2335         Document keywords.  Add :suppress.
2336         * pcvs-defs.el (cvs-mode-map): Use :suppress.
2338         * net/goto-addr.el (goto-address-unfontify): New function.
2339         (goto-address-fontify): Use it.  Respect goto-address-prog-mode.
2340         (goto-address-fontify-region, goto-address-mode)
2341         (goto-address-prog-mode): New functions.
2343         * progmodes/bug-reference.el: New file.
2345 2008-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2347         * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2349 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2352         macros within lambdas.
2354 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2356         * minibuffer.el (completion-try-completion): Add `point' argument.
2357         Change return value.
2358         (completion-all-completions): Add `point' argument.
2359         (minibuffer-completion-help): Pass the new `point' argument.
2360         (completion--do-completion): Pass the whole field to try-completion.
2361         (completion--try-word-completion): Rewrite, making fewer assumptions.
2362         (completion-emacs21-try-completion, completion-emacs21-all-completions)
2363         (completion-emacs22-try-completion, completion-emacs22-all-completions)
2364         (completion-basic-try-completion, completion-basic-all-completions):
2365         New functions.
2366         (completion-styles-alist): Use them.
2368 2008-04-23  Agustin Martin  <agustin.martin@hispalinux.es>
2370         * ispell.el (ispell-set-spellchecker-params): New function to make sure
2371         right params and dictionary alists are used after spellchecker changes.
2372         (ispell-aspell-dictionary-alist, ispell-last-program-name)
2373         (ispell-initialize-spellchecker-hook): New variables and hook.
2374         (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2375         (ispell-maybe-find-aspell-dictionaries): Remove.
2376         Calls replaced by (ispell-set-spellchecker-params) calls.
2377         (ispell-have-aspell-dictionaries): Remove.
2378         * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2379         ispell-set-spellchecker-params.
2381 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2383         * complete.el (PC-do-completion): Be more robust in the presence of
2384         unexpected values in minibuffer-completion-predicate.
2386         * minibuffer.el (read-file-name): Don't let-bind default-directory.
2387         Only abbreviate default-filename if it's a file.
2389         * minibuffer.el (read-file-name-function, read-file-name-predicate)
2390         (read-file-name-completion-ignore-case, insert-default-directory):
2391         New vars, moved from fileio.c.
2392         (read-file-name): New fun, moved from fileio.c.
2393         * cus-start.el: Remove insert-default-directory and
2394         read-file-name-completion-ignore-case.
2396 2008-04-23  Magnus Henoch  <mange@freemail.hu>
2398         * tar-mode.el (tar-untar-buffer): If the entry has directory
2399         link type, extract it as a directory even if its file name doesn't
2400         end with a slash.  Fixes extraction of NetBSD tar archives.
2402 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2404         * server.el (server-start): Also don't get confused by CRs since we
2405         don't quote them.
2407 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2409         * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2410         (gdb-set-gud-minor-mode-existing-buffers)
2411         (gdb-info-breakpoints-custom, gdb-get-location)
2412         (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2413         Previously gdb-create-define-alist wasn't always run and added to
2414         after-save-hook.
2416         * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2418 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2420         * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2421         comments like unindented ones.
2423 2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2425         * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2426         parameter origins.
2428 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2430         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2431         Bind print-level to ensure output forms aren't truncated if
2432         print-level is set to eval-expression-print-level when going via
2433         eval-defun and friends, or has been otherwise fiddled with.
2435 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2437         * progmodes/cc-mode.el (c-basic-common-init): Don't set
2438         font-lock-extend-after-change-region-function globally.
2440 2008-04-23  Juanma Barranquero  <lekktu@gmail.com>
2442         * speedbar.el (speedbar-use-tool-tips-flag)
2443         (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2444         (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2445         (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2446         (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2447         (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2448         (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2449         (speedbar-separator-face): Fix typos in docstrings.
2450         (speedbar-stealthy-function-list, speedbar-verbosity-level)
2451         (speedbar-supported-extension-expressions, speedbar-update-current-file)
2452         (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2453         (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2454         (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2455         (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2456         (speedbar-check-vc-this-line, speedbar-files-line-directory)
2457         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2458         (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2459         (speedbar-recenter): Doc fixes.
2460         (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2461         declaration and remove redundant info in docstring.
2463 2008-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
2465         * vc-git.el (vc-git-status-printer): Deal with directories.
2467         * vc.el (vc-next-action): Look at more than the first file to
2468         determine the state.
2470 2008-04-23  Glenn Morris  <rgm@gnu.org>
2472         * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2473         timers.  Doc fix.
2474         (dframe-update-speed): Drop support for XEmacs < 20.
2475         (dframe-frame-mode): Drop support for Emacs < 20.
2476         (dframe-set-timer-internal): Drop support for Emacs without timers.
2477         (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2479         * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2480         versions.  Add doc-string.  Mark as obsolete.
2482         * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2484         * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2485         rather than using an Emacs version test.
2487         * tree-widget.el (tree-widget-image-enable): Use display-images-p
2488         rather than an Emacs version test.
2490         * calendar/cal-china.el (holiday-chinese-qingming)
2491         (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2492         * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2493         * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2495         * calendar/cal-islam.el (holiday-islamic): Doc fix.
2497         * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2498         (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2499         Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2501 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2503         * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2504         (gdb-previous-frame-pc-address): ...to this.
2505         (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2506         of "info frame" with Gdb 6.4+.
2507         (gdb-stack-list-frames-regexp): New regexp.
2508         (gdb-frame-handler-1): Parse output of -stack-info-frame.
2510 2008-04-22  David Glasser  <glasser@davidglasser.net>  (tiny change)
2512         * tar-mode.el (tar-prefix-offset): New constant.
2513         (tar-header-block-tokenize): Support paths with long names
2514         which use the "ustar" standard.
2516 2008-04-22  Mathias Dahl  <mathias.dahl@gmail.com>
2518         * image-dired.el (image-dired-track-original-file)
2519         (image-dired-modify-mark-on-thumb-original-file):
2520         Use `dired-goto-file' instead of `search-forward'.  This solves
2521         a bug with finding files where the file name is a subset of other
2522         file names.  Doc fix.
2524 2008-04-22  Juri Linkov  <juri@jurta.org>
2526         * menu-bar.el (buffers-menu-max-size): Move its definition down to
2527         the "Buffers Menu" section.  Change group name `mouse' to `menu'.
2528         (yank-menu-length): Change group name `mouse' to `menu'.
2529         (buffers-menu-buffer-name-length): New user option.
2530         (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2531         instead of the hard-coded number 27.
2533 2008-04-22  Juri Linkov  <juri@jurta.org>
2535         * isearch.el (eval-when-compile): Require `help-macro'.
2536         (isearch-help-for-help-internal): Isearch specific Help screen
2537         created by `make-help-screen'.
2538         (isearch-help-map): New variable that binds "b", "k", "m" to
2539         isearch-specific commands, and binds other keys to
2540         isearch-other-control-char, thus allowing other Help keys to
2541         exit isearch mode and execute their global definitions.
2542         (isearch-help-for-help, isearch-describe-bindings)
2543         (isearch-describe-key, isearch-describe-mode): New commands.
2544         (isearch-mode-help): Define alias to isearch-describe-mode
2545         and remove its old function definition.
2546         (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2547         Remove old comments because this issue is settled now.
2548         (isearch-forward): Describe three new Help commands in the docstring.
2549         (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2550         leave the single sentence at the first line of the docstring,
2551         and prepend the word "function" before `isearch-forward'
2552         to make the Help link to the function instead of variable.
2554 2008-04-22  Juri Linkov  <juri@jurta.org>
2556         * isearch.el (isearch-success-function): New variable with default
2557         to `isearch-success-function-default'.
2558         (isearch-search): Call a function from `isearch-success-function'
2559         instead of calling the hard-coded `isearch-range-invisible'.
2560         (isearch-success-function-default): New function that calls
2561         `isearch-range-invisible' and inverts its return value.
2563         * info.el (Info-search): In two similar places that skip
2564         undesired search matches move code to Info-search-success-function,
2565         and call `isearch-success-function' instead.
2566         (Info-search-success-function): New function copied from code
2567         in Info-search.  Replace isearch-range-invisible with
2568         text-property-not-all that checks for 'invisible and 'display
2569         properties to skip partially invisible matches (whose display
2570         properties were set by Info-fontify-node).
2571         (Info-mode): Set buffer-local isearch-success-function
2572         to Info-search-success-function.
2574 2008-04-22  Juri Linkov  <juri@jurta.org>
2576         * minibuffer.el (internal-complete-buffer-except): New function.
2578         * files.el (read-buffer-to-switch): New function.
2579         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2580         Change interactive spec to call read-buffer-to-switch instead of
2581         using the letter "B".
2583         * simple.el (minibuffer-default-add-shell-commands): New function.
2584         Use declare-function for mailcap-file-default-commands from "mailcap".
2585         (shell-command): Set local minibuffer-default-add-function to
2586         minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2587         before calling read-shell-command.  Set 4th arg default-value of
2588         read-shell-command to relative buffer-file-name in file buffers.
2590         * dired-aux.el (dired-read-shell-command-default): Move it to
2591         gnus/mailcap.el and change its name to more general name
2592         mailcap-file-default-commands.
2593         (minibuffer-default-add-dired-shell-commands): New function.
2594         Use declare-function for mailcap-file-default-commands from "mailcap".
2595         (dired-read-shell-command): Set local minibuffer-default-add-function
2596         to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2597         before calling read-shell-command.  Remove dired-read-shell-command-default
2598         from the default value arg because default values are not set in
2599         minibuffer-default-add-dired-shell-commands.  Doc fix.
2601         * dired-x.el (dired-smart-shell-command): Sync arguments and
2602         interactive spec with changes in `shell-command'.
2603         Use dired-get-filename to get the dired file name at point
2604         as the default value in dired mode.
2606 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2608         * info.el (Info-complete-menu-item): Add missing parenthesis.
2610 2008-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2612         * info.el (Info-complete-menu-item): Save point.
2614 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2616         * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2618 2008-04-22  Andreas Schwab  <schwab@suse.de>
2620         * Makefile.in (emacs-deps): Define.
2621         Use it instead of $(lisp)/subdirs.el.
2623 2008-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
2625         * vc.el (vc-next-action): Do not consider directories when
2626         checking for state compatibility.
2627         (vc-transfer-file): Use when not if.
2628         (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2629         (vc-dir-mark-file): Use them.
2630         (vc-deduce-fileset): Also return the backend.
2631         (vc-diff-internal): Take as argument the value returned by
2632         vc-deduce-fileset instead of just the fileset.
2633         (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2634         (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2635         (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2637 2008-04-22  Tassilo Horn  <tassilo@member.fsf.org>
2639         * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2640         set-window-vscroll but image-scroll-down.  Fixes a bug where a
2641         command following SPC scrolled up again.
2643 2008-04-22  Nick Roberts  <nickrob@snap.net.nz>
2645         * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2646         (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2647         (gud-watch): Add "$" prefix when in registers buffer.
2649 2008-04-22  Glenn Morris  <rgm@gnu.org>
2651         * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2653         * whitespace.el (whitespace-display-table)
2654         (whitespace-display-table-was-local): Move definitions before use.
2656         * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2657         (copyright-limit): Respect copyright-at-end-flag.
2658         (copyright-re-search, copyright-start-point)
2659         (copyright-offset-too-large-p): New functions.
2660         (copyright-update-year): Use copyright-re-search.
2661         (copyright-update, copyright-fix-years): Use copyright-start-point,
2662         and copyright-re-search.
2663         (copyright): Use copyright-offset-too-large-p.
2664         * add-log.el (change-log-mode): Set copyright-at-end-flag.
2666         * add-log.el (top-level): Require 'cl when compiling.
2668 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2670         * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2671         Treat minibuffer-completion-predicate as a predicate.
2673         * minibuffer.el (completion--file-name-table): Accept both the old
2674         `dir' arg or the new `pred' arg.
2676         * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2677         `predicate' argument to pass non-predicate data.
2678         (ffap-read-url-internal, ffap-read-file-or-url-internal):
2679         Use second arg as proper predicate.
2681         * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2682         (vc-bzr-revision-completion-table): Use completion-table-with-context
2683         instead.
2685         * simple.el (choose-completion-string): Use minibuffer-completion-table.
2687 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
2689         * term.el (term-emulate-terminal): Perform redisplay after the
2690         process filter has finished running.
2692 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2694         * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2696         * minibuffer.el (completion-try-completion): Change magic symbol
2697         property name.  Rename from minibuffer-try-completion.
2698         (completion-all-completions): Rename from minibuffer-all-completions.
2699         Remove hide-spaces argument.
2700         (completion--do-completion): Rename from minibuffer--do-completion.
2701         (minibuffer-complete-and-exit): Call just try-completion rather than
2702         completion-try-completion to fix up the case.
2703         (completion--try-word-completion): Try to add space or hyphen before
2704         making `string' a prefix of `completion'.
2705         (completion--insert-strings): Rename from minibuffer--insert-strings.
2707 2008-04-22  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
2709         * net/tls.el (tls-program): Add -ign_eof argument to call the
2710         openssl commands.
2711         (tls-checktrust): Ditto.
2713 2008-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
2715         * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2717         * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2718         (vc-check-master-templates, vc-file-not-found-hook)
2719         (vc-kill-buffer-hook):
2720         * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2721         (vc-find-position-by-context, vc-buffer-context)
2722         (vc-restore-buffer-context, vc-responsible-backend)
2723         (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2724         (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2725         (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2726         (vc-version-diff, vc-diff, vc-insert-headers)
2727         (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2728         (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2729         (vc-revert, vc-rollback, vc-version-backup-file)
2730         (vc-rename-master, vc-delete-file, vc-rename-file)
2731         (vc-branch-part, vc-default-retrieve-snapshot)
2732         (vc-annotate-display-autoscale, vc-annotate-display-select)
2733         (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2734         (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2735         (vc-dir-update): Handle directories.
2736         (vc-default-status-printer): Simplify.
2738         * progmodes/asm-mode.el (asm-mode-map):
2739         * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2741         * progmodes/m4-mode.el (m4-mode-map): Add menu.
2743 2008-04-21  Kenichi Handa  <handa@m17n.org>
2745         * select.el (xselect-convert-to-string): Send a C_STRING only if
2746         the polymorphic target TEXT is requested.
2748 2008-04-21  Juanma Barranquero  <lekktu@gmail.com>
2750         * minibuffer.el (completion-setup-hook, display-completion-list)
2751         (completion--file-name-table): Fix typos in docstrings.
2752         (completion-table-dynamic): Fix typo, and reflow docstring.
2754 2008-04-20  Andreas Schwab  <schwab@suse.de>
2756         * server.el (server-switch-buffer): Also consider clients in the
2757         selected frame.
2759 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2761         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2762         Select window clicked on first.
2763         (gdb): Display thread number in mode-line.
2764         (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2765         (gdb-breakpoints-header): New variable.
2766         (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2768 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * vc-sccs.el (vc-sccs-do-command): New fun.  Use the "sccs" command.
2771         (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2772         (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2773         (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2774         (vc-sccs-print-log): Use it.
2776         * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2778         * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2779         * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2781         * tooltip.el (tooltip-previous-message): New var.
2782         (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2783         the C code (avoid overwriting a minibuffer, restore previous echo
2784         message, ...).
2785         (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2786         Simplify.
2788 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2790         * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2791         (gdb-init-1): Initialise it.
2792         (gdb-annotation-rules): New entry for "new-thread".
2793         (gdb-thread-identification): New function to customize
2794         mode-line-buffer-identification.
2795         (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2796         (gdb-assembler-mode): Use it.
2797         (gdb-threads-mode): Force "info threads" onto queue.
2799 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2801         * files.el (locate-file-completion-table): Rename from
2802         locate-file-completion and make it use `pred' in the normal way.
2803         (locate-file-completion): New compatibility wrapper.
2804         (load-library): Use locate-file-completion-table.
2805         * finder.el (finder-commentary):
2806         * subr.el (locate-library):
2807         * emacs-lisp/find-func.el (find-library): Likewise.
2808         * info.el: Use with-current-buffer and inhibit-read-only.
2809         (Info-read-node-name-2): Change to use `predicate' in the normal way.
2810         (Info-read-node-name-1): Adjust uses accordingly.
2812         * minibuffer.el (completion-table-with-context): Add support for `pred'.
2813         (completion-table-with-terminator): Don't use complete-with-action
2814         since we have to distinguish all three cases anyway.
2815         (completion-table-with-predicate): New function.
2816         (dynamic-completion-table): Add obsolete alias.
2818         * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2820 2008-04-18  Sam Steingold  <sds@gnu.org>
2822         * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2823         Use quit-window instead of bury-buffer.
2825 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2827         * minibuffer.el (completion-table-with-terminator): Fix last fix.
2829 2008-04-18  Andreas Schwab  <schwab@suse.de>
2831         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2832         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2833         Depend on $(lisp)/subdirs.el.
2835 2008-04-18  Juanma Barranquero  <lekktu@gmail.com>
2837         * descr-text.el (describe-char-after):
2838         Use `define-obsolete-function-alias'.
2840         * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2842         * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2844         * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2845         Remove redundant obsolescence info in docstring.
2847         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2848         (vc-header-alist): Add WHEN to obsolescence declaration.
2849         (vc-state): Fix typo in docstring.
2851         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2852         Use `define-obsolete-variable-alias'.
2854         * emulation/tpu-edt.el (tpu-have-ispell):
2855         * international/codepage.el (codepage-setup):
2856         Fix typo in obsolescence declaration.
2858         * international/mule.el (char-coding-system-table):
2859         Remove redundant obsolescence info in docstring.
2860         (charset-list, generic-char-p, set-char-table-default):
2861         Fix typos in obsolescence decarations.
2863         * international/mule-diag.el (non-iso-charset-alist):
2864         Fix typo in obsolescence declaration.
2865         (decode-codepage-char): Remove redundant obsolescence info in docstring.
2867         * font-core.el (font-lock-defaults-alist):
2868         * font-lock.el (font-lock-reference-face):
2869         * frame.el (screen-height, screen-width, set-screen-width)
2870         (set-screen-height):
2871         * hilit-chg.el (highlight-changes-initial-state):
2872         * isearch.el (isearch-return-char):
2873         * log-edit.el (cvs-commit-buffer-require-final-newline)
2874         (cvs-changelog-full-paragraphs):
2875         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2876         (mouse-popup-menubar-stuff):
2877         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2878         (mouse-wheel-click-button):
2879         * outline.el (outline-visible):
2880         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2881         * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2882         * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2883         * progmodes/compile.el (compile-internal):
2884         Add WHEN to obsolescence declarations.
2886 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2888         * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2889         is not better anyway.
2891 2008-04-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2893         * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
2894         properly.
2896 2008-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2898         * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
2899         (python-use-skeletons): Remove, unused.
2900         (python-skeletons): Remove.  Use the abbrev table instead.
2901         (python-mode-abbrev-table): Fix regexp;
2902         add enable-function and case-fixed.
2903         (def-python-skeleton): Simplify.
2904         (python-expand-template): Use the abbrev-table and abbrev-insert.
2905         (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2906         Remove.
2907         (python-mode): Don't set pre-abbrev-expand-hook.
2909         * skeleton.el: Set coding-tag.
2911         * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
2912         (expand-abbrev): Use it.
2913         (abbrev-table-menu): New function.
2915         * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
2917         * minibuffer.el (completion-table-with-terminator): Fix paren typo.
2919 2008-04-17  Sam Steingold  <sds@gnu.org>
2921         * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
2922         idiosyncratic bury-buffer/delete-window logic.
2924 2008-04-17  Juanma Barranquero  <lekktu@gmail.com>
2926         * emacs-lisp/crm.el (crm-completion-help, crm-complete)
2927         (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
2929 2008-04-17  Kenichi Handa  <handa@m17n.org>
2931         * international/characters.el: Don't make the width of U+00AD to 0.
2933 2008-04-17  Nick Roberts  <nickrob@snap.net.nz>
2935         * progmodes/gdb-ui.el (gdb-stack-update): New variable.
2936         (gdb, gdb-starting, gdb-frames-mode): Use it.
2937         (gdb-invalidate-frames): Advise to call "info stack" only if
2938         execution has occurred.
2939         (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
2940         selected frame if no execution has occurred.
2941         (gdb-frames-force-update): New interactive function.
2942         (gdb-frames-mode-map): Bind it to "F".
2944 2008-04-17  Michael Olson  <mwolson@gnu.org>
2946         * textmodes/remember.el (remember-version): Release Remember 2.0.
2948 2008-04-16  Yoni Rabkin  <yoni@rabkins.net>
2950         * textmodes/artist.el:
2951         * progmodes/vhdl-mode.el:
2952         * progmodes/verilog-mode.el:
2953         * progmodes/vera-mode.el:
2954         * progmodes/simula.el:
2955         * progmodes/ps-mode.el:
2956         * progmodes/cmacexp.el:
2957         * obsolete/hilit19.el:
2958         * emulation/viper.el:
2959         * ediff.el: Cleanup the bug-report email addresses and make sure the
2960         maintainer is still willing to handle bug reports.
2962 2008-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
2964         * vc.el (vc-dir-kill-query): Fix thinko.
2966 2008-04-16  Glenn Morris  <rgm@gnu.org>
2968         * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
2969         by diary-sexp-entry.
2971 2008-04-16  Markus Triska  <markus.triska@gmx.at>
2973         * proced.el (proced-command-alist): Add support for darwin.
2975 2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2977         * proced.el (proced-mode): Redefine as just the major-mode.
2978         (proced): Separate it from proced-mode.
2980         * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
2982 2008-04-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2984         * whitespace.el: Honor the `indent-tabs-mode' setting from user.
2985         Suggested by Stephen Deasey <sdeasey@gmail.com>.  Honor also the
2986         `tab-width' setting from user.  New version 10.0.  Doc and docstring
2987         fix.
2988         (whitespace-style, whitespace-chars): Remove options.
2989         (whitespace-style-mark): New option, replace whitespace-style deleted
2990         option.  Fix docstring.
2991         (whitespace-style-color): New option, replace whitespace-chars deleted
2992         option.  Fix docstring.
2993         (whitespace-space, whitespace-hspace, whitespace-tab)
2994         (whitespace-newline, whitespace-trailing, whitespace-line)
2995         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2996         (whitespace-space-after-tab, whitespace-hspace-regexp)
2997         (whitespace-space-regexp, whitespace-tab-regexp)
2998         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2999         (whitespace-empty-at-eob-regexp, whitespace-line-column)
3000         (whitespace-toggle-option-alist): Fix docstring.
3001         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3002         (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
3003         docstring and initialization.
3004         (global-whitespace-mode): Autoloaded global minor mode.
3005         (whitespace-chars-value-list, whitespace-style-value-list)
3006         (whitespace-active-chars, whitespace-active-style)
3007         (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
3008         (whitespace-color-value-list): New var, replace
3009         whitespace-chars-value-list removed var.
3010         (whitespace-mark-value-list): New var, replace
3011         whitespace-style-value-list removed var.
3012         (whitespace-active-color): New var, replace whitespace-active-chars
3013         removed var.
3014         (whitespace-active-mark): New var, replace whitespace-active-style
3015         removed var.
3016         (whitespace-toggle-color): New var, replace whitespace-toggle-chars
3017         removed var.
3018         (whitespace-toggle-mark): New var, replace whitespace-toggle-style
3019         removed var.
3020         (whitespace-toggle-option-alist, whitespace-report-list)
3021         (whitespace-report-text, whitespace-help-text): Fix initialization.
3022         (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
3023         (whitespace-toggle-options, global-whitespace-toggle-options)
3024         (whitespace-cleanup-region, whitespace-report-region)
3025         (whitespace-interactive-char): Fix docstring and code.
3026         (whitespace-cleanup, whitespace-report): Fix docstring.
3027         (whitespace-replace-spaces-by-tabs): Remove fun.
3028         (whitespace-replace-action): New fun, replace
3029         whitespace-replace-spaces-by-tabs removed fun.
3030         (whitespace-regexp, whitespace-indentation-regexp)
3031         (whitespace-space-after-tab-regexp, whitespace-insert-value)
3032         (whitespace-kill-buffer): New funs.
3033         (whitespace-insert-option-mark, whitespace-help-on)
3034         (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
3035         (whitespace-color-on, whitespace-color-off)
3036         (whitespace-display-char-on): Fix code.
3038 2008-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3040         * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
3041         (mouse-throw-magnifier-with-mouse-movement): Remove.
3042         (mouse-throw-magnifier-base): New const.
3043         (mouse-drag-scroll-delta): New fun.
3044         (mouse-drag-throw): Use it.
3046 2008-04-15  Juanma Barranquero  <lekktu@gmail.com>
3048         * international/uni-bidi.el, international/uni-category.el:
3049         * international/uni-combining.el, international/uni-comment.el:
3050         * international/uni-decimal.el, international/uni-decomposition.el:
3051         * international/uni-digit.el, international/uni-lowercase.el:
3052         * international/uni-mirrored.el, international/uni-name.el:
3053         * international/uni-numeric.el, international/uni-old-name.el:
3054         * international/uni-titlecase.el, international/uni-uppercase.el:
3055         * international/charprop.el: Regenerate.
3057 2008-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
3059         * vc.el (vc-status-fileinfo): Add new member directoryp.
3060         (vc-default-status-printer): Print directories.
3061         (vc-status-update): Sort files before subdirectories.
3063         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3064         Add alternative implementation based on "cvs update".
3066 2008-04-15  Tassilo Horn  <tassilo@member.fsf.org>
3068         * doc-view.el: Changed requirements section to tell that only one
3069         of dvipdf or dvipdfm is needed.
3070         (doc-view-already-converted-p): Fix bug that forced reconversion
3071         if doc was already converted.
3073 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3075         * minibuffer.el (minibuffer-message):
3076         Make sure we can put-text-property.
3078         * emacs-lisp/crm.el: Complete rewrite.
3080         * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3081         (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3082         case of an error in display-completion-list.
3084         * filecache.el (file-cache-completions-keymap): Move init from
3085         file-cache-completion-setup-function into declaration.
3086         (file-cache-minibuffer-complete): Simplify.
3087         (file-cache-completion-setup-function): Use standard-output,
3088         preserve current-buffer.
3090         * vc.el (vc-status-update): Fix typo.
3091         (vc-status-update): Set needs-update.
3092         (vc-status-refresh): Î·-reduce.
3094 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
3096         * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3097         to image-eol.
3099 2008-04-14  Alexandre Julliard  <julliard@winehq.org>
3101         * vc.el (vc-status-update): Undo the previous revert.
3103 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * minibuffer.el (completion-table-with-terminator): Those completions
3106         are never valid w.r.t test-completion.
3107         (completion--file-name-table):
3108         Check completion-all-completions-with-base-size.
3110 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
3112         * doc-view.el (doc-view-dvipdf-program): New variable.
3113         (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3114         (doc-view-mode-p): Check for doc-view-dvipdf-program as
3115         alternative for doc-view-dvipdfm-program.
3116         (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3118         * doc-view.el (doc-view-start-process): Don't set
3119         default-directory to "~/" if the current value is valid.
3120         This broke PS files that run other files in the same directory.
3122 2008-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
3124         * vc.el (vc-status-kill-query): New function.
3125         (vc-status-mode): Add it to kill-buffer-query-functions.
3126         (vc-status-show-fileentry): New function.
3127         (vc-status-menu-map): Bind it.  Bind vc-next-action.
3129 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3131         * minibuffer.el (minibuffer-message): Put cursor at the right place.
3133 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3135         * proced.el (proced-send-signal): Fix error recognition.
3137 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3139         * proced.el (proced-command-alist): Remove sort column.
3140         (proced-command, proced-procname-column):
3141         Use make-variable-buffer-local.
3142         (proced-signal-function): Rename from proced-kill-program.
3143         Allow for elisp symbols and string values representing system calls.
3144         (proced-marker-regexp, proced-success-message): New functions.
3145         (proced): Use defalias.  Add autoload cookie.
3146         (proced-unmark-backward, proced-toggle-marks)
3147         (proced-hide-processes): New commands.
3148         (proced-do-mark): Simplify code.
3149         (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3150         (proced-update): Remove sorting.
3151         (proced-send-signal): Display number of processes to operate on.
3152         Allow for system calls or elisp functions to send signals.
3153         Check if signal was sent successfully.
3155 2008-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3157         * minibuffer.el (completion-all-completion-with-base-size): New var.
3158         (completion--some): New function.
3159         (completion-table-with-context, completion--file-name-table):
3160         Return the base-size if requested.
3161         (completion-table-in-turn): Generalize to multiple arguments.
3162         (complete-in-turn): Compatibility alias.
3163         (completion-styles-alist): New var.
3164         (completion-styles): New customization.
3165         (minibuffer-try-completion, minibuffer-all-completions):
3166         New functions.
3167         (minibuffer--do-completion, minibuffer-complete-and-exit)
3168         (minibuffer-try-word-completion): Use them.
3169         (display-completion-list, minibuffer-completion-help): Use them.
3170         Handle all-completions's new base-size info to set completion-base-size.
3171         * info.el (Info-read-node-name-1): Use completion-table-with-context,
3172         completion-table-with-terminator and complete-with-action.
3173         Remove the now obsolete completion-base-size-function property.
3174         * simple.el (completion-list-mode-map): Move init into declaration.
3175         (completion-list-mode): Use define-derived-mode.
3176         (completion-setup-function): Use any completion-base-size that may
3177         have been set before.  Remove handling of completion-base-size-function.
3178         * loadup.el: Move abbrev.el up earlier.
3180 2008-04-13  Alexandre Julliard  <julliard@winehq.org>
3182         * vc-git.el (vc-git-after-dir-status-stage)
3183         (vc-git-dir-status-goto-stage): New functions.
3184         (vc-git-after-dir-status-stage1)
3185         (vc-git-after-dir-status-stage1-empty-db)
3186         (vc-git-after-dir-status-stage2): Remove, functionality moved
3187         into the new generic stage functions.
3188         (vc-git-dir-status-files): New function.
3190         * vc.el (vc-status-update): Revert an incorrect rewrite.
3191         Add some comments.
3192         (vc-status-refresh-files): New function.
3193         (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3194         state of up-to-date files.
3195         (vc-default-dir-status-files): New function.
3197 2008-04-13  Juanma Barranquero  <lekktu@gmail.com>
3199         * minibuffer.el (completion--embedded-envvar-table)
3200         (read-file-name-internal): Fix typos in 2008-04-11 change.
3202         * faces.el (read-face-name): Use `completion-table-in-turn',
3203         not `complete-in-turn'.
3205 2008-04-13  Andreas Schwab  <schwab@suse.de>
3207         * progmodes/etags.el: Require 'cl when compiling.
3209 2008-04-12  Nick Roberts  <nickrob@snap.net.nz>
3211         * progmodes/gud.el (gud-menu-map): Expand tooltip.
3213         * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3214         (menu): Add/expand menu tooltips.
3216 2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
3218         * progmodes/sh-script.el (sh-show-indent): Fix typo.
3219         (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3221         * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3222         considered registered.
3224 2008-04-12  Reiner Steib  <Reiner.Steib@gmx.de>
3226         * emacs-lisp/copyright.el (copyright-update-directory): New command.
3228         * ediff-wind.el (ediff-split-window-function)
3229         (ediff-merge-split-window-function): Improve custom type.
3231 2008-04-12  Eli Zaretskii  <eliz@gnu.org>
3233         * loadup.el ("minibuffer"): Move after "faces".
3235 2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         * progmodes/hideif.el (hif-factor): Handle unary minus.
3239 2008-04-12  Glenn Morris  <rgm@gnu.org>
3241         * calendar/cal-china.el (chinese-calendar-time-zone):
3242         Mark obsolete name as risky too.
3244         * calendar/calendar.el (calendar-faces): New custom group.
3245         (calendar-today, diary, holiday): Doc fix.
3246         Move to calendar-faces group.
3247         * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3248         (diary-button): Doc fix.  Move to calendar-faces group.
3250         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3251         * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3252         * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3253         * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3254         * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3255         Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3256         not in dumped files before the associated defcustom.
3258 2008-04-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
3260         * minibuffer.el (lazy-completion-table): Fix debug spec.
3262 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3264         * minibuffer.el (complete-with-action, lazy-completion-table):
3265         Move from subr.el.
3266         (apply-partially, completion-table-dynamic)
3267         (completion-table-with-context, completion-table-with-terminator)
3268         (completion-table-in-turn): New funs.
3269         (completion--make-envvar-table, completion--embedded-envvar-table):
3270         New funs.
3271         (read-file-name-internal): Use them.
3272         (completion-setup-hook): Move from simple.el.
3273         * subr.el (complete-with-action, lazy-completion-table):
3274         * simple.el (completion-setup-hook): Move to minibuffer.el.
3276 2008-04-11  Glenn Morris  <rgm@gnu.org>
3278         * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3280 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3282         * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3284         * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3286         * textmodes/fill.el (fill-forward-paragraph-function): New var.
3287         (fill-forward-paragraph): New fun.
3288         (fill-paragraph, fill-region): Use it.
3290         * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3291         (vc-status-create-fileinfo): Make `extra' optional.
3292         (vc-status-busy): New fun.
3293         (vc-status-menu-map): Use it.
3294         (vc-status-crt-marked): Remove.
3295         (vc-status-update): Rename from vc-status-add-entries.
3296         Add argument so as to prevent addition of entries.  Rewrite.
3297         (vc-update-vc-status-buffer): Remove.
3298         (vc-status-refresh): Don't remove old entries, set them to
3299         up-to-date instead.  Also do it after the update is complete.
3300         (vc-status-marked-files): Î·-reduce.
3302         * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3303         for non-dialogs.
3305         * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3307         * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3309 2008-04-11  Jan Djärv  <jan.h.d@swipnet.se>
3311         * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3312         to t and don't truncate msg.
3314 2008-04-11  Glenn Morris  <rgm@gnu.org>
3316         * calendar/calendar.el (diary, holidays):
3317         Move custom groups to other files.
3318         (holiday-general-holidays, holiday-oriental-holidays)
3319         (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3320         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3321         (holiday-hebrew-holidays, holiday-christian-holidays)
3322         (holiday-islamic-holidays, holiday-bahai-holidays)
3323         (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3324         * calendar/diary-lib.el: Move custom group here from calendar.el.
3325         * calendar/holidays-lib.el: Move custom group and variables here
3326         from calendar.el.
3328         * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3330         * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3331         Fix custom group.
3332         (calendar-current-time-zone-cache): Autoload riskiness.
3334         * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3336 2008-04-11  Chong Yidong  <cyd@stupidchicken.com>
3338         * woman.el (woman2-TH): Use string-equal instead of string-match.
3340 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3342         * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3343         (smerge-resolve): Merge the "2-way refinement" case with one half of
3344         the "mere whitespace" resolution.
3346 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3348         * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3350 2008-04-10  Juanma Barranquero  <lekktu@gmail.com>
3352         * subr.el (assoc-ignore-case, assoc-ignore-representation):
3353         Add WHEN to obsolescence declaration.
3355         * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3357 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3359         * vc-hooks.el (vc-state): Add new state `conflict'.
3360         (vc-after-save): Use when not if.
3361         (vc-default-mode-line-string): Deal with the conflict state.
3362         (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3364         * vc.el (vc-editable-p, vc-default-status-printer)
3365         (vc-next-action): Deal with the conflict state.
3366         (vc-mark-resolved): New function.
3367         (vc-status-mode): Fix mode name.
3368         (vc-default-comment-history): Use when not if.
3369         (Todo): Add new entries, remove old ones.
3371         * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3372         (vc-cvs-parse-status, vc-cvs-after-dir-status):
3373         * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3374         Detect the conflict state.
3376         * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3378 2008-04-10  Glenn Morris  <rgm@gnu.org>
3380         * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3381         Respect truncate-partial-width-windows in non-full windows,
3382         with regards to :toggle and :enable state.
3384         * simple.el (toggle-truncate-lines): Doc fix.
3386         * Makefile.in (MH_E_DIR): New variable.
3387         (MH_E_SRC): Restore variable removed 2008-03-13.
3388         (mh-loaddefs.el): Depend on $MH_E_SRC.
3389         (CAL_DIR, CAL_SRC): New variables.
3390         (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3391         Depend on CAL_SRC.
3393         * calendar/calendar.el (calendar, diary): Add :prefix.
3394         (holidays): Change :prefix.
3395         (calendar-today, holiday, calendar-holiday-marker)
3396         (european-calendar-style): Change custom groups.
3398         * calendar/calendar.el (diary-hook, diary-display-hook):
3399         Move to diary-lib.el.
3400         * calendar/diary-lib.el (diary-hook, diary-display-hook):
3401         Move here from calendar.el.
3402         * calendar/appt.el: Require diary-lib rather than calendar.
3403         * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3405         * calendar/appt.el (appt): Add :prefix.
3407         * calendar/diary-lib.el (diary-hook): Doc fix.
3408         (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3410 2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3412         * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3413         New functions.
3415         * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3416         the arg to recursive calls.
3418 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3420         * minibuffer.el (completion-auto-help): Fix typo.
3422 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3424         * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3426 2008-04-09  Michael Albinus  <michael.albinus@gmx.de>
3428         * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3429         (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3431 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3433         * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3435         * minibuffer.el (minibuffer): Move group from cus-edit.el.
3436         (completion-auto-help): Move from C code.
3437         (minibuffer--maybe-completion-help): Remove.
3438         (minibuffer--bitset): New function.
3439         (minibuffer--do-completion): Rename from minibuffer-do-completion.
3440         Renumber a bit.  Really complete on string *before* point.
3441         Add argument used for word-completion.
3442         Join trailing / in completion with following text, as done in
3443         minibuffer-complete-word.
3444         Handle new value `lazy' for completion-auto-help.
3445         (minibuffer-try-word-completion): New function extracted from
3446         minibuffer-complete-word.
3447         (minibuffer-complete-word): Use minibuffer--do-completion.
3448         (minibuffer--insert-strings): Rename from
3449         minibuffer-complete-insert-strings.
3450         (exit-minibuffer): Fix typo.
3451         * cus-edit.el (minibuffer): Move group to minibuffer.el.
3452         * cus-start.el: Remove completion-auto-help.
3454 2008-04-09  Alexandre Julliard  <julliard@winehq.org>
3456         * vc.el (vc-status-add-entries): New function.
3457         (vc-status-add-entry): Remove.
3458         (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3459         Use vc-status-add-entries.
3461         * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3462         order.
3464 2008-04-09  Jason Rumney  <jasonr@gnu.org>
3466         * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3467         ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3468         (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3469         (AUTOGENEL): New variable.
3470         (distclean, maintainer-clean): New targets.
3472 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3474         * emacs-lisp/regexp-opt.el (regexp-opt):
3475         Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3477 2008-04-09  Lennart Borgman  <lennart.borgman@gmail.com>
3479         * nxml/nxml-mode.el (nxml-cleanup): New function.
3480         (nxml-mode): Add it to change-major-mode-hook.
3482 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3484         * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3486 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3488         * calc/.cvsignore: New file.
3490 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3492         * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3494         * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3495         show-help-function when turning tooltip off.
3496         (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3497         (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3499 2008-04-09  Alan Mackenzie  <acm@muc.de>
3501         * font-lock.el (font-lock-extend-after-change-region-function):
3502         Make it buffer local.
3504 2008-04-09  Glenn Morris  <rgm@gnu.org>
3506         * calendar/calendar.el (diary-file, european-calendar-style):
3507         Remove autoload cookies.
3509 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3511         * outline.el (outline-mode-menu-bar-map):
3512         * log-view.el (log-view-mode-menu):
3513         * log-edit.el (log-edit-menu): Add :help.
3515 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3517         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3518         Use substring-no-properties for correct handling of unibyte strings.
3520 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3522         * add-log.el (change-log-next-buffer): Handle the case where version<
3523         signals an error.
3525         * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3526         mouse-major-mode-menu.
3527         (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3528         (mouse-major-mode-menu, mouse-popup-menubar)
3529         (mouse-popup-menubar-stuff): Use them.
3530         (C-down-mouse-3): Bind to a dynamic map rather than to
3531         mouse-popup-menubar-stuff.
3533         * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3534         to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3536 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3538         * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3539         file:// access method.
3541 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3543         * minibuffer.el: New file.
3544         * loadup.el: Load it.
3546 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3549         rather than subdirs.el.  It introduces an ugly circular dependency, tho.
3551         * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3552         (calc-mode-map, calc-digit-map, calc-dispatch-map):
3553         Move initialization into declaration.
3554         * calc/calc-yank.el:
3555         * calc/calc-misc.el:
3556         * calc/calc-embed.el:
3557         * calc/calc-aent.el: Add autoload cookies.  Set generated-autoload-file.
3559 2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
3561         * ps-samp.el (ps-add-printer, ps-remove-printer)
3562         (ps-make-dynamic-printer-menu): New functions.
3564         * net/zeroconf.el: New file.
3566 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3568         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3570 2008-04-08  Dan Nicolaescu  <dann@ics.uci.edu>
3572         * vc-rcs.el (vc-rcs-modify-change-comment):
3573         * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3575         * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3577 2008-04-08  Juanma Barranquero  <lekktu@gmail.com>
3579         * international/mule-cmds.el (set-locale-environment): Don't warn if
3580         coding system doesn't agree with system locale (this reverts changes
3581         by Dave Love, dated 2002-10-27 and 2002-10-09).
3583         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3584         * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3586         * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3588 2008-04-08  Glenn Morris  <rgm@gnu.org>
3590         * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3591         * textmodes/remember.el (remember-diary-convert-entry):
3592         Require calendar.
3594         * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3595         diary-file, since it is the default for make-diary-entry anyway.
3597         * calendar/cal-menu.el (cal-menu-event-to-date):
3598         Rename calendar-event-to-date.  Update callers.
3599         (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3600         (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3601         (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3602         (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3603         (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3604         (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3605         (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3606         (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3607         (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3608         (calendar-mouse-tex-month-landscape):
3609         Rename cal-tex-mouse-month-landscape.
3610         (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3611         (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3612         (calendar-mouse-tex-year-landscape):
3613         Rename cal-tex-mouse-year-landscape.
3614         (cal-menu-context-mouse-menu): Update for above name changes.
3616         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3617         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3618         * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3619         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3620         * calendar/holidays.el: Replace int-to-string with number-to-string.
3622 2008-04-08  Chong Yidong  <cyd@stupidchicken.com>
3624         * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3625         region if point moves.
3627 2008-04-08  Kenichi Handa  <handa@m17n.org>
3629         * faces.el (font-slant-table): Change numeric values for `r',
3630         `roman', and `normal'.
3632 2008-04-07  Vincent Belaïche  <vincent.b.1@hotmail.fr>
3634         * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3636 2008-04-07  Jay Belanger  <jay.p.belanger@gmail.com>
3638         * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3639         `calcFunc-kron' to autoloads.  Add keybinding for `calc-kron'.
3641 2008-04-07  Michael Albinus  <michael.albinus@gmx.de>
3643         * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3644         "pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
3646 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3650 2008-04-07  Sam Steingold  <sds@gnu.org>
3652         * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3653         Add helper functions.
3654         (lisp-do-defun): Extract the common part of lisp-eval-defun and
3655         lisp-compile-defun; DEFVAR forms reset the variables to the init
3656         values, just like in emacs-lisp mode eval-defun.
3657         (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3658         (lisp-compile-region): Use lisp-compile-string.
3660 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3662         * subr.el (combine-and-quote-strings): Also quote strings that contain
3663         the separator.
3665         * pcvs-util.el (cvs-map): Avoid recursion :-(
3667 2008-04-07  Glenn Morris  <rgm@gnu.org>
3669         * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3671         * calendar.el (diary-view-entries-initially-flag): Rename
3672         view-diary-entries-initially.  Keep old name as alias, update users.
3673         (calendar-mark-diary-entries-flag): Rename
3674         mark-diary-entries-in-calendar.  Keep old name as alias, update users.
3675         (calendar-view-holidays-initially-flag): Rename
3676         view-calendar-holidays-initially.  Keep old name as alias, update users.
3677         (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3678         Keep old name as alias, update users.
3679         (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3680         Keep old name as alias, update users.
3681         (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3682         Keep old name as alias, update users.
3683         (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3684         Keep old name as alias, update users.
3685         (diary-iso-date-forms): Rename iso-date-diary-pattern.  Update users.
3686         (diary-american-date-forms): Rename american-date-diary-pattern.
3687         Keep old name as alias, update users.
3688         (diary-european-date-forms): Rename european-date-diary-pattern.
3689         Keep old name as alias, update users.
3690         (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3691         Keep old name as alias, update users.
3692         (calendar-european-date-display-form): Rename
3693         european-calendar-display-form.  Keep old name as alias, update users.
3694         (calendar-american-date-display-form): Rename
3695         european-calendar-display-form.  Keep old name as alias, update users.
3696         (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3697         Keep old name as alias, update users.
3698         (holiday-general-holidays): Rename general-holidays.
3699         Keep old name as alias, update users.
3700         (holiday-oriental-holidays): Rename oriental-holidays.
3701         Keep old name as alias, update users.
3702         (holiday-local-holidays): Rename local-holidays.
3703         Keep old name as alias, update users.
3704         (holiday-other-holidays): Rename other-holidays.
3705         Keep old name as alias, update users.
3706         (holiday-hebrew-holidays): Rename hebrew-holidays.
3707         Keep old name as alias, update users.
3708         (holiday-christian-holidays): Rename christian-holidays.
3709         Keep old name as alias, update users.
3710         (holiday-islamic-holidays): Rename islamic-holidays.
3711         Keep old name as alias, update users.
3712         (holiday-bahai-holidays): Rename bahai-holidays.
3713         Keep old name as alias, update users.
3714         (holiday-solar-holidays): Rename solar-holidays.
3715         Keep old name as alias, update users.
3716         (diary-fancy-buffer): Rename fancy-diary-buffer.
3717         Keep old name as alias, update users.
3718         (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3719         Update users.
3720         (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3721         Update users.
3722         (calendar-increment-month): Rename increment-calendar-month.
3723         Keep old name as alias, update callers.
3724         (calendar-increment-month-cons): Rename old calendar-increment-month.
3725         Update callers.
3726         (calendar-extract-month): Rename extract-calendar-month.
3727         Keep old name as alias, update callers
3728         (calendar-extract-day): Rename extract-calendar-day.
3729         Keep old name as alias, update callers.
3730         (calendar-extract-year): Rename extract-calendar-year.
3731         Keep old name as alias, update callers.
3732         (calendar-generate-window): Rename generate-calendar-window.
3733         Update callers.
3734         (calendar-generate): Rename generate-calendar.  Update callers.
3735         (calendar-generate-month): Rename generate-calendar-month.
3736         Update callers.
3737         (calendar-redraw): Rename redraw-calendar.  Update callers.
3738         (calendar-describe-mode): Rename describe-calendar-mode.  Update uses.
3739         (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3740         Update callers.
3741         (calendar-update-mode-line): Rename update-calendar-mode-line.
3742         Update callers.
3743         (calendar-exit): Rename exit-calendar.  Keep old name as alias,
3744         update callers.
3745         (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3746         Keep old name as alias, update callers.
3747         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3748         * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3749         * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3750         * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3751         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3752         * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3753         * calendar/solar.el: Update for calendar.el name changes.
3754         * org/org.el (org-agenda-format-date-aligned)
3755         (org-agenda-execute-calendar-command): Access date elements directly
3756         rather than using calendar functions.
3757         (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3758         Also set calendar-view-diary-initially-flag,
3759         calendar-view-holidays-initially-flag
3760         (org-get-entries-from-diary): Also set diary-fancy-buffer.
3761         (org-agenda-execute-calendar-command): No need to set displayed-day.
3763 2008-04-06  Alan Mackenzie  <acm@muc.de>
3765         * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3766         typo in the doc string.
3768         * progmodes/cc-mode.el (c-basic-common-init):
3769         Set font-lock-extend-after-change-region-function.
3770         (c-extend-after-change-region): New function, used in
3771         font-lock-extend-after-change-region-function, thus superseding
3772         advice on the Font Lock after change functions.
3773         (c-advise-fl-for-region): Remove this macro.
3775 2008-04-06  Reiner Steib  <Reiner.Steib@gmx.de>
3777         * textmodes/flyspell.el (flyspell-duplicate-distance):
3778         Improve custom type.
3780 2008-04-06  Glenn Morris  <rgm@gnu.org>
3782         * calendar/diary-lib.el (diary-sexp-entry-symbol):
3783         Rename sexp-diary-entry-symbol.  Keep old name as alias, update users.
3784         (diary-list-entries-hook): Rename list-diary-entries-hook.
3785         Keep old name as alias, update users.
3786         (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3787         Keep old name as alias, update users.
3788         (diary-nongregorian-listing-hook): Rename
3789         nongregorian-diary-listing-hook.  Keep old name as alias, update users.
3790         (diary-nongregorian-marking-hook): Rename
3791         nongregorian-diary-marking-hook.  Keep old name as alias, update users.
3792         (diary-print-entries-hook): Rename print-diary-entries-hook.
3793         Keep old name as alias, update users.
3794         (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3795         Keep old name as alias, update users.
3796         (diary-number-of-entries): Rename number-of-diary-entries.
3797         Keep old name as alias, update users.
3798         (view-diary-entries, list-diary-entries, show-all-diary-entries):
3799         Give version of obsolescence.
3800         (diary-view-other-diary-entries): Rename view-other-diary-entries.
3801         Keep old name as alias, update callers.
3802         (diary-add-to-list): Rename add-to-diary-list.  Keep old name as alias,
3803         update callers.
3804         (diary-include-other-diary-files): Rename include-other-diary-files.
3805         Keep old name as alias, update callers.
3806         (diary-simple-display): Rename simple-diary-display.
3807         Keep old name as alias, update callers.
3808         (diary-fancy-display): Rename fancy-diary-display.
3809         Keep old name as alias, update callers.
3810         (diary-print-entries): Rename print-diary-entries.
3811         Keep old name as alias, update callers.
3812         (diary-marking-entries-flag): Rename marking-diary-entries.
3813         Update users.
3814         (diary-marking-entry-flag): Rename marking-diary-entry.  Update users.
3815         (diary-mark-entries): Rename mark-diary-entries.
3816         Keep old name as alias, update callers.
3817         (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3818         Keep old name as alias, update callers.
3819         (diary-mark-included-diary-files): Rename mark-included-diary-files.
3820         Keep old name as alias, update callers.
3821         (calendar-mark-days-named): Rename mark-calendar-days-named.
3822         Keep old name as alias, update callers.
3823         (calendar-mark-month): Rename mark-calendar-month.
3824         Keep old name as alias, update callers.
3825         (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3826         Keep old name as alias, update callers.
3827         (diary-sort-entries): Rename sort-diary-entries.
3828         Keep old name as alias, update callers.
3829         (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3830         Keep old name as alias, update callers.
3831         (diary-make-entry): Rename make-diary-entry.  Keep old name as alias,
3832         update callers.
3833         (diary-insert-entry): Rename insert-diary-entry.
3834         Keep old name as alias.
3835         (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3836         Keep old name as alias.
3837         (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3838         Keep old name as alias.
3839         (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3840         Keep old name as alias.
3841         (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3842         Keep old name as alias.
3843         (diary-insert-block-entry): Rename insert-block-diary-entry.
3844         Keep old name as alias.
3845         (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3846         Keep old name as alias.
3847         (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3848         Keep old name as alias, update users.
3849         (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3850         Keep old name as alias, update callers.
3851         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3852         * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3853         * calendar/icalendar.el: Update for diary-lib name changes.
3855 2008-04-06  Chong Yidong  <cyd@stupidchicken.com>
3857         * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3859         * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3860         for copy, move, and link operations.
3862 2008-04-06  Michael Kifer  <kifer@cs.stonybrook.edu>
3864         * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3865         (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3867         * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3868         'require' statements with 1-argument ones (wrapped in if's).
3869         For compatibility with the current stable version of XEmacs.
3871 2008-04-06  Dan Nicolaescu  <dann@ics.uci.edu>
3873         * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3875 2008-04-06  Jason Rumney  <jasonr@gnu.org>
3877         * language/burmese.el ("Burmese"): Make sample text consistent with
3878         language name.
3880 2008-04-06  Nick Roberts  <nickrob@snap.net.nz>
3882         * progmodes/gdb-ui.el (gdb): New group.
3883         (gdb-debug-log-max, gdb-enable-debug)
3884         (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3885         (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3886         (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3887         (gdb-show-changed-values, gdb-max-children)
3888         (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3889         (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3890         (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3891         (gdb-memory-unit): Move to new group from GUD group.
3892         (menu): Allow customization from GDB-UI menu-item.
3894 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
3896         * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
3898 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3900         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
3901         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3902         Revision numbers can include ".".
3904         * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
3905         "+" lines not accounted for by counting "-" and context lines.
3907 2008-04-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3909         * term/mac-win.el (mac-service-open-file): Use file URL instead of
3910         file name string.
3912 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3914         * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
3915         (vc-bzr-annotate-time): Accept space used to preserve alignment.
3917 2008-04-05  Richard Stallman  <rms@gnu.org>
3919         * emacs-lisp/advice.el (defadvice): Add usage pattern.
3921 2008-04-05  Nick Roberts  <nickrob@snap.net.nz>
3923         * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
3924         thread in [h-e-w]).
3926 2008-04-05  Juanma Barranquero  <lekktu@gmail.com>
3928         * files.el (abort-if-file-too-large): Fix typo in docstring.
3930 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3932         * subr.el (functionp): Return nil for special forms.
3934 2008-04-05  Glenn Morris  <rgm@gnu.org>
3936         * emacs-lisp/autoload.el (autoload-ensure-default-file):
3937         Provide a feature.
3938         * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
3939         Require loaddef file rather than loading it.
3940         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
3941         autoload-ensure-default-file provides a feature.
3943         * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
3944         (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
3945         (compile, compile-always, recompile): Use $LOADDEFS.
3946         (cal-autoloads): Remove.
3948         * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
3949         than buffer-live-p.  Reported by David Koppelman <koppel@ece.lsu.edu>.
3951         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
3952         (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
3954         * calendar/calendar.el (diary-hebrew-entry-symbol):
3955         Rename hebrew-diary-entry-symbol.  Keep old name as alias.
3956         (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
3957         Keep old name as alias.
3958         (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
3959         Keep old name as alias.
3960         * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
3961         to diary-bahai-entry-symbol.
3962         * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
3963         to diary-hebrew-entry-symbol.
3964         * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
3965         to diary-islamic-entry-symbol.
3966         * calendar/diary-lib.el: Update for diary-entry-symbol renames.
3968         * calendar/solar.el (diary-sabbath-candles-minutes)
3969         (diary-sabbath-candles): Move to cal-hebrew.
3970         * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
3971         (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
3972         Doc fix.  Keep old name as alias.
3973         (diary-hebrew-sabbath-candles): Simplify.
3974         (solar-setup, solar-sunrise-sunset, calendar-latitude)
3975         (calendar-longitude, calendar-time-zone): Declare for compiler.
3976         * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
3977         rename.
3979         * calendar/cal-coptic.el (calendar-coptic-month-name-array):
3980         Rename coptic-calendar-month-name-array.  Update callers.
3981         (calendar-coptic-epoch): Rename coptic-calendar-epoch.  Update callers.
3982         (calendar-coptic-name): Rename coptic-name.  Update callers.
3983         (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
3984         Update callers.
3985         (calendar-coptic-last-day-of-month):
3986         Rename coptic-calendar-last-day-of-month.  Update callers.
3987         (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
3988         Keep old name as alias, update callers.
3989         (calendar-coptic-print-date): Rename calendar-print-coptic-date.
3990         Keep old name as alias, update callers.
3991         (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
3992         Keep old name as alias.
3993         (calendar-ethiopic-month-name-array):
3994         Rename ethiopic-calendar-month-name-array.  Update callers.
3995         (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
3996         Update callers.
3997         (calendar-ethiopic-name): Rename ethiopic-name.  Update callers.
3998         (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
3999         Keep old name as alias, update callers.
4000         (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
4001         Keep old name as alias, update callers.
4002         (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
4003         Keep old name as alias.
4005         * calendar/cal-french.el (calendar-french-epoch):
4006         Rename french-calendar-epoch.  Update callers.
4007         (calendar-french-month-name-array): Rename variable and function
4008         french-calendar-month-name-array.  Update callers.
4009         (calendar-french-multibyte-month-name-array):
4010         Rename french-calendar-multibyte-month-name-array.  Update callers.
4011         (calendar-french-day-name-array): Rename variable and function
4012         french-calendar-day-name-array.  Update callers.
4013         (calendar-french-special-days-array): Rename variable and function
4014         french-calendar-special-days-array.  Update callers.
4015         (calendar-french-multibyte-special-days-array):
4016         Rename french-calendar-multibyte-special-days-array.  Update callers.
4017         (calendar-french-accents-p): Rename french-calendar-accents.
4018         Update callers.
4019         (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
4020         Update callers.
4021         (calendar-french-last-day-of-month):
4022         Rename french-calendar-last-day-of-month.  Update callers.
4023         (calendar-french-to-absolute): Rename calendar-absolute-from-french.
4024         Keep old name as alias, update callers.
4025         (calendar-french-print-date): Rename calendar-print-french-date.
4026         Keep old name as alias, update callers.
4027         (calendar-french-goto-date): Rename calendar-goto-french-date.
4028         Keep old name as alias.
4030         * calendar/cal-menu.el, calendar/calendar.el:
4031         Update for Coptic and French name changes.
4033         * calendar/cal-china.el (calendar-chinese): Rename custom group
4034         from chinese-calendar.  Update users.
4035         (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
4036         Keep old name as alias, update users.
4037         (calendar-chinese-location-name): Rename chinese-calendar-location-name.
4038         Keep old name as alias.
4039         (calendar-chinese-daylight-time-offset):
4040         Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
4041         update users.
4042         (calendar-chinese-standard-time-zone-name):
4043         Rename chinese-calendar-standard-time-zone-name.
4044         Keep old name as alias, update users.
4045         (calendar-chinese-daylight-saving-start):
4046         Rename chinese-calendar-daylight-savings-starts.
4047         Keep old name as alias, update users.
4048         (calendar-chinese-daylight-saving-end):
4049         Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
4050         update users.
4051         (calendar-chinese-daylight-saving-start-time):
4052         Rename chinese-calendar-daylight-savings-starts-time.
4053         Keep old name as alias, update users.
4054         (calendar-chinese-daylight-saving-end-time):
4055         Rename chinese-calendar-daylight-savings-ends-time.
4056         Keep old name as alias, update users.
4057         (calendar-chinese-celestial-stem): Rename
4058         calendar-chinese-celestial-stem.  Keep old name as alias, update users.
4059         (calendar-chinese-terrestrial-branch):
4060         Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
4061         update users.
4062         (calendar-chinese-zodiac-sign-on-or-after):
4063         Rename chinese-zodiac-sign-on-or-after.  Update callers.
4064         (calendar-chinese-new-moon-on-or-after):
4065         Rename chinese-new-moon-on-or-after.  Update callers.
4066         (calendar-chinese-month-list): Rename chinese-month-list.
4067         Update callers.
4068         (calendar-chinese-number-months): Rename number-chinese-months.
4069         Update callers.
4070         (calendar-chinese-compute-year): Rename compute-chinese-year.
4071         Update callers.
4072         (calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
4073         (calendar-chinese-year): Rename chinese-year.  Update callers.
4074         (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4075         (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4076         Keep old name as alias, update callers.
4077         (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4078         Keep old name as alias, update callers.
4079         (calendar-chinese-months-to-alist):
4080         Rename make-chinese-month-assoc-list.  Update callers.
4081         (calendar-chinese-months): Rename chinese-months.  Update callers.
4082         (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4083         Keep old name as alias, update callers.
4085         * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4086         Rename hebrew-calendar-leap-year-p.  Update callers.
4087         (calendar-hebrew-last-month-of-year):
4088         Rename hebrew-calendar-last-month-of-year.  Update callers.
4089         (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4090         Update callers.
4091         (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4092         Update callers.
4093         (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4094         Update callers.
4095         (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4096         Update callers.
4097         (calendar-hebrew-last-day-of-month):
4098         Rename hebrew-calendar-last-day-of-month.  Update callers.
4099         (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4100         Keep old name as alias, update callers.
4101         (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4102         Keep old name as alias, update callers.
4103         (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4104         Keep old name as alias, update callers.
4105         (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4106         Keep old name as alias.
4107         (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4108         Keep old name as alias.
4109         (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4110         Keep old name as alias.
4111         (holiday-hebrew-passover): Rename holiday-passover-etc.
4112         Keep old name as alias.
4113         (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4114         Keep old name as alias, update callers.
4115         (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4116         Keep old name as alias.
4117         (calendar-hebrew-mark-date-pattern):
4118         Rename mark-hebrew-calendar-date-pattern.  Keep old name as alias,
4119         update callers.
4120         (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4121         Keep old name as alias.
4122         (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4123         Keep old name as alias.
4124         (diary-hebrew-insert-monthly-entry):
4125         Rename insert-monthly-hebrew-diary-entry.  Keep old name as alias.
4126         (diary-hebrew-insert-yearly-entry):
4127         Rename insert-yearly-hebrew-diary-entry.  Keep old name as alias.
4128         (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4129         Keep old name as alias.
4130         (diary-hebrew-omer): Rename diary-omer.  Keep old name as alias.
4131         (diary-hebrew-yahrzeit): Rename diary-yahrzeit.  Keep old name as alias.
4132         (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4133         Keep old name as alias.
4134         (calendar-hebrew-parashiot-names):
4135         Rename hebrew-calendar-parashiot-names.  Update callers.
4136         (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4137         (calendar-hebrew-year-Saturday-incomplete-Sunday):
4138         Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4139         (calendar-hebrew-year-Saturday-complete-Tuesday):
4140         Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4141         (calendar-hebrew-year-Monday-incomplete-Tuesday):
4142         Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4143         (calendar-hebrew-year-Monday-complete-Thursday):
4144         Rename hebrew-calendar-year-Monday-complete-Thursday.
4145         (calendar-hebrew-year-Tuesday-regular-Thursday):
4146         Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4147         (calendar-hebrew-year-Thursday-regular-Saturday):
4148         Rename hebrew-calendar-year-Thursday-regular-Saturday.
4149         (calendar-hebrew-year-Thursday-complete-Sunday):
4150         Rename hebrew-calendar-year-Thursday-complete-Sunday.
4151         (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4152         Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4153         (calendar-hebrew-year-Saturday-complete-Thursday):
4154         Rename hebrew-calendar-year-Saturday-complete-Thursday.
4155         (calendar-hebrew-year-Monday-incomplete-Thursday):
4156         Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4157         (calendar-hebrew-year-Monday-complete-Saturday):
4158         Rename hebrew-calendar-year-Monday-complete-Saturday.
4159         (calendar-hebrew-year-Tuesday-regular-Saturday):
4160         Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4161         (calendar-hebrew-year-Thursday-incomplete-Sunday):
4162         Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4163         (calendar-hebrew-year-Thursday-complete-Tuesday):
4164         Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4165         (diary-hebrew-parasha): Rename diary-parasha.  Keep old name as alias.
4166         Update for above name changes of constants.
4168         * calendar/cal-menu.el, calendar/calendar.el:
4169         Update for chinese and hebrew name changes.
4170         * calendar/diary-lib.el: Update for hebrew name changes.
4172 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4174         * subr.el (keymap-canonicalize): Correct thinko.
4176         * server.el: Undo part of the multi-tty change, which is only
4177         needed if server.el is preloaded, and broke server-running-p.
4178         (server-socket-dir): Initialize in the defvar, as before.
4179         (server-start): Remove initialization of server-socket-dir.
4181 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
4183         * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4184         3-member cons cells.
4186 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
4188         * cus-face.el (custom-face-attributes): Handle roman slant.
4190         * faces.el (default): Ensure the face-defface-spec property is set.
4192 2008-04-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
4194         * files.el (abort-if-file-too-large): New function.
4195         (find-file-noselect, insert-file-1): Use it.
4197 2008-04-05  Reto Zimmermann  <reto@gnu.org>
4199         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4200         Replace C-c[a-zA-Z] key bindings.
4202 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4204         * progmodes/hideif.el (hif-token-alist): New var.
4205         (hif-token-regexp, hif-tokenize): Use it.
4206         (hif-mathify-binop): New macro.
4207         (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4208         (hif-greater-equal, hif-less-equal): Use it.
4209         (hif-logior, hif-logand): New functions.
4210         (hif-math): Accept | and & as well.
4212         * progmodes/etags.el: Fix problem with completion for buffer-local
4213         tables.  Reported by Radey Shouman <shouman@comcast.net>.
4214         (tags-complete-tag): Remove.
4215         (tags-lazy-completion-table): New function to replace it.
4216         (find-tag-tag, complete-tag): Update users.
4218 2008-04-04  Dan Nicolaescu  <dann@ics.uci.edu>
4220         * vc-rcs.el (vc-rcs-dir-status):
4221         * vc-sccs.el (vc-sccs-dir-status): New function.
4223         * outline.el (outline-mode-menu-bar-map):
4224         * term.el (terminal-signal-menu): Add :help.
4226         * net/eudc.el (eudc-mode-map): Declare and define in one step.
4227         (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4229         * emacs-lisp/re-builder.el (reb-mode-map):
4230         * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4232         * diff-mode.el (diff-file-junk-re): Recognize the git format for
4233         new files, deleted files and for changing permissions.
4234         (diff-mode): Set beginning-of-defun-function and
4235         end-of-defun-function.
4237         * vc-bzr.el (vc-bzr-state): Use when instead of if.
4239         * vc.el (vc-default-status-fileinfo-extra): New function.
4240         (vc-status-mark-buffer-changed): Use it.
4241         (vc-update-vc-status-buffer): Allow for partial updates.
4243 2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4245         * net/tramp.el (after-init-hook): Don't wrap a lambda around
4246         tramp-register-completion-file-name-handler.
4248         * subr.el (keymap-canonicalize): New function.
4249         * mouse.el (mouse-menu-non-singleton): Use it.
4250         (mouse-major-mode-menu): Remove hack made unnecessary.
4252         * simple.el (set-fill-column): Prompt rather than error by default.
4254 2008-04-04  Andreas Schwab  <schwab@suse.de>
4256         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4257         Reset new-rules after each round.
4259         * Makefile.in (cal-autoloads): New target.
4260         (compile, compile-always, recompile): Depend on it.
4261         ($(lisp)/calendar/cal-loaddefs.el)
4262         ($(lisp)/calendar/diary-loaddefs.el)
4263         ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4265 2008-04-04  Michael Kifer  <kifer@cs.stonybrook.edu>
4267         * ediff*.el: Replace load with require in eval-when-compile.
4269         * ediff-hook: Delete all invocations of (autoload ...).
4271         * ediff-util.el (ediff-setup): Make window-min-height a local variable
4272         in ediff control window, and set its min height to 2.
4273         (ediff-setup-control-buffer): Dedicate the control window.
4274         (ediff-toggle-multiframe): Undedicate control window.
4275         Work directly with ediff-setup-windows-multiframe and
4276         ediff-setup-windows-plain.
4278         * ediff-wind (ediff-choose-window-setup-function-automatically):
4279         New function.
4280         (ediff-window-setup-function): Change initialization.
4281         (ediff-setup-windows-automatic): Delete.
4282         (ediff-setup-windows-plain-merge): Make control window dedicated.
4283         (ediff-destroy-control-frame): Do not skip frames if working in a
4284         single frame.
4286         * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4287         eval-when-compile.
4289         * emulation/viper-util.el: Move provide's forward, prevent recursion in
4290         eval-when-compile.
4292 2008-04-04  Glenn Morris  <rgm@gnu.org>
4294         * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4295         calendar-absolute-from-bahai.  Update callers, keep old name as alias.
4297         * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4298         Rename islamic-calendar-leap-year-p.  Update callers.
4299         (calendar-islamic-last-day-of-month):
4300         Rename islamic-calendar-last-day-of-month.  Update callers.
4301         (calendar-islamic-day-number):
4302         Rename islamic-calendar-day-number.  Update callers.
4303         (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4304         Update callers, keep old name as alias.
4305         (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4306         Update callers, keep old name as alias.
4307         (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4308         Keep old name as alias.
4309         (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4310         Update callers, keep old name as alias.
4311         (calendar-islamic-mark-date-pattern):
4312         Rename mark-islamic-calendar-date-pattern.  Update callers, keep old
4313         name as alias.
4314         (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4315         Keep old name as alias.
4316         (diary-islamic-insert-monthly-entry):
4317         Rename insert-monthly-islamic-diary-entry.  Keep old name as alias.
4318         (diary-islamic-insert-yearly-entry):
4319         Rename insert-yearly-islamic-diary-entry.  Keep old name as alias.
4321         * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4322         calendar-absolute-from-iso.  Update callers, keep old name as alias.
4323         (calendar-iso-print-date): Rename calendar-print-iso-date.
4324         Update callers, keep old name as alias.
4325         (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4326         Keep old name as alias.
4327         (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4328         Keep old name as alias.
4330         * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4331         calendar-absolute-from-julian.  Update callers, keep old name as alias.
4332         (calendar-julian-print-date): Rename calendar-print-julian-date.
4333         Update callers, keep old name as alias.
4334         (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4335         Update callers, keep old name as alias.
4336         (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4337         Update callers, keep old name as alias.
4338         (calendar-astro-print-day-number):
4339         Rename calendar-print-astro-day-number.  Update callers, keep old
4340         name as alias.
4341         (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4342         Update callers, keep old name as alias.
4344         * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4345         Rename calendar-string-to-mayan-long-count.  Update callers.
4346         (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4347         Update callers, keep old name as alias.
4348         (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4349         Update callers.
4350         (calendar-mayan-read-tzolkin-date):
4351         Rename calendar-read-mayan-tzolkin-date.  Update callers.
4352         (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4353         Keep old name as alias.
4354         (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4355         Keep old name as alias.
4356         (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4357         Keep old name as alias.
4358         (calendar-mayan-previous-tzolkin-date):
4359         Rename calendar-previous-tzolkin-date.  Keep old name as alias.
4360         (calendar-mayan-next-round-date):
4361         Rename calendar-next-calendar-round-date.  Keep old name as alias.
4362         (calendar-mayan-previous-round-date):
4363         Rename calendar-previous-calendar-round-date.  Keep old name as alias.
4364         (calendar-mayan-long-count-to-absolute): Rename
4365         calendar-absolute-from-mayan-long-count.  Keep old name as alias.
4366         (calendar-mayan-goto-long-count-date):
4367         Rename calendar-goto-mayan-long-count-date.  Keep old name as alias.
4369         * calendar/cal-persia.el (calendar-persian-month-name-array):
4370         Rename persian-calendar-month-name-array.  Update callers.
4371         (calendar-persian-epoch): Rename persian-calendar-epoch.
4372         Update callers.
4373         (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4374         Update callers.
4375         (calendar-persian-last-day-of-month):
4376         Rename persian-calendar-last-day-of-month.  Update callers.
4377         (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4378         Update callers, keep old name as alias.
4379         (calendar-persian-print-date): Rename calendar-print-persian-date.
4380         Update callers, keep old name as alias.
4381         (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4382         Keep old name as alias.
4384         * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4385         * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4386         * calendar/solar.el: Update for cal-julian name changes.
4388         * calendar/cal-dst.el: Update for persian name changes.
4390         * calendar/cal-menu.el, calendar/calendar.el:
4391         Update for islamic, iso, julian, mayan, persian name changes.
4393         * calendar/diary-lib.el: Update for islamic name changes.
4395         * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4396         Rename all-hebrew-calendar-holidays.  Update callers, keep old name
4397         as alias.
4398         (calendar-christian-all-holidays-flag):
4399         Rename all-christian-calendar-holidays.  Update callers, keep old
4400         name as alias.
4401         (calendar-islamic-all-holidays-flag):
4402         Rename all-islamic-calendar-holidays.  Update callers, keep old
4403         name as alias.
4404         (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4405         Update callers, keep old name as alias.
4406         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4407         Update for the above name changes.
4409 2008-04-04  Juanma Barranquero  <lekktu@gmail.com>
4411         * hilit-chg.el (global-highlight-changes-mode)
4412         (highlight-changes-passive-string, highlight-changes-active-string):
4413         Mark as obsolete since 23.1, not 22.1.
4415 2008-04-03  Juanma Barranquero  <lekktu@gmail.com>
4417         * hilit-chg.el (highlight-changes-visibility-initial-state)
4418         (hilit-chg-update, highlight-changes-mode-turn-on):
4419         Fix typos in docstrings.
4421 2008-04-03  Stephen Berman  <Stephen.Berman@gmx.net>
4423         * newcomment.el (comment-enter-backward): Be careful to restore
4424         position changed during narrowing.
4426 2008-04-03  Giuliano Procida  <giuliano.procida@googlemail.com>  (tiny change)
4428         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4429         Recognize `sub ($$)'.
4431 2008-04-03  Richard Sharman  <rsharman@pobox.com>
4433         * hilit-chg.el (highlight-changes-mode): Rename from
4434         highlight-changes; no longer uses sub-modes active and passive;
4435         implemented by define-minor-mode.
4436         (highlight-changes-toggle-visibility): New function, to replace
4437         the old passive/active submodes of global-highlight-changes-mode;
4438         implemented by define-minor-mode.
4439         (global-highlight-changes-mode): Rename from global-highlight-changes;
4440         rewrite using define-globalized-minor-mode.
4441         (hilit-chg-major-mode-hook, hilit-chg-check-global)
4442         (hilit-chg-post-command-hook, hilit-chg-check-global)
4443         (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4444         to use of define-globalized-minor-mode.
4445         (highlight-changes-global-initial-state): Change to be boolean.
4446         (highlight-changes-visible-string, highlight-changes-invisible-string):
4447         Rename from highlight-changes-active-string and
4448         highlight-changes-passive-string.
4449         (hilit-chg-update, hilit-chg-set): Use them.
4450         (global-highlight-changes-mode): Rename from global-highlight-changes.
4451         (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4452         docstring.
4453         (hilit-chg-hide-changes): Rewrite to use dolist.
4454         (hilit-chg-set-face-on-change, hilit-chg-update)
4455         (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4456         variable instead of testing highlight-changes-mode.
4457         (highlight-markup-buffers): Add require ediff-util; argument on calls
4458         to highlight-changes-mode changed.
4459         (highlight-compare-with-file): Fix problems with interactive
4460         call giving invalid default file.
4462 2008-04-03  Nick Roberts  <nickrob@snap.net.nz>
4464         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4465         Fix in disassembly buffer (regression in 22.2).
4467 2008-04-03  Michael Kifer  <kifer@cs.stonybrook.edu>
4469         * emulation/viper-macs.el (viper-read-fast-keysequence):
4470         Use viper-read-event instead of viper-read-key.
4472         * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4474         * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4475         (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4476         let-statements.
4478         * emulation/viper-ex.el, emulation/viper-macs.el:
4479         * emulation/viper-mous.el:
4480         Replace load with require in eval-when-compile.
4482 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4484         * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4486         * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4487         (archive-try-jka-compr): New function.
4488         (archive-set-buffer-as-visiting-file): Use it.
4490         * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4492 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4494         * simple.el (handle-shift-selection): New arg.
4496 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4498         * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4500         * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4502 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4504         * shell.el (shell-dynamic-complete-filename): New fun.
4505         (shell-dynamic-complete-functions): Use it.
4507         * help-fns.el (describe-variable): Undo 2008-02-25 change.
4509 2008-04-03  Kenichi Handa  <handa@m17n.org>
4511         * international/fontset.el (create-fontset-from-x-resource):
4512         Handle the error of X resource more gracefully.
4514         * international/latin1-disp.el (latin1-display): Don't use make-char.
4515         Fix the argument to set-char-table-range.
4516         (latin1-display-identities): Don't use make-char.
4517         (latin1-display-reset): Use map-charset-chars instead of directly
4518         calling standard-display-default.
4519         (latin1-display-check-font): Don't use make-char.
4520         (latin1-display-setup): Likewise.
4521         (latin1-display-ucs-per-lynx): Likewise.
4523 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4526         name the fields, to make the code clearer.
4527         Rewrite all `aset' and `aref' using the defined accessors.
4528         (timer--time): New pseudo-field.
4529         (timer-set-time, timer-set-idle-time, timer-inc-time)
4530         (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4531         (timer--time-less-p): New function.
4532         (timer--activate): New function, extracted from timer-activate.
4533         (timer-activate-when-idle, timer-activate): Use it.
4534         (cancel-function-timers): Use dolist.
4536 2008-04-03  Glenn Morris  <rgm@gnu.org>
4538         * add-log.el (c-beginning-of-defun, c-end-of-defun):
4539         Remove declarations; no longer used.
4540         (c-cpp-define-name, c-defun-name): Declare as functions.
4542         * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4543         (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4545         * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4546         (holiday-passover-etc, holiday-hanukkah): Doc fix.
4547         Add optional argument.  Simplify.
4548         (holiday-tisha-b-av-etc): Use memq rather than unless.
4549         (holiday-julian): Autoload it.
4550         (holiday-hebrew-misc): New function.
4552         * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4554         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4555         (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4556         (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4557         all-hebrew-calendar-holidays.
4558         (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4559         Simplify using new functions.
4560         (calendar-holidays): Doc fix.
4561         (generate-calendar-window): Use bound-and-true-p.
4563         * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4565         * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4566         (holiday-filter-visible-calendar): Doc fix.  Use mapcar.
4567         (holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
4568         Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4570         * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4572 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4574         * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4576         * vc-bzr.el (vc-bzr-checkout): Simplify.
4578         * image-mode.el (image-mode-fit-frame): New command.
4580         * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4581         (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4582         (keyboard-escape-quit): Check region-active-p i.s.o
4583         transient-mark-mode.
4585 2008-04-02  Simon Josefsson  <simon@josefsson.org>
4587         * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4588         (imap-message-copyuid-1): Use it.
4589         (imap-message-appenduid-1): Likewise.  Based on patch by Nathan
4590         J. Williams in
4591         <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4593 2008-04-02  Alan Mackenzie  <acm@muc.de>
4595         * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4596         New optimised functions to get the name of the current defun/macro.
4598         * add-log.el (add-log-current-defun): Move the functionality which
4599         gets the current function name for C like modes to cc-cmds.el,
4600         thus optimising for speed.
4602 2008-04-02  Chong Yidong  <cyd@stupidchicken.com>
4604         * simple.el (deactivate-mark): When the mark is temporarily
4605         active, restore the original value of transient-mark-mode.
4606         (set-mark-command): First deactivate the mark if was temporarily active.
4607         (exchange-point-and-mark): Reactivate the mark if it was
4608         temporarily active.
4609         (handle-shift-selection): New fun.
4610         (transient-mark-mode): Move var documentation here from buffer.c.
4611         (next-line, previous-line, backward-word, move-end-of-line)
4612         (move-beginning-of-line, forward-to-indentation)
4613         (backward-to-indentation, back-to-indentation)
4614         (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4616         * mouse.el (mouse-set-region-1): Save the old value of
4617         transient-mark-mode.
4618         (mouse-drag-track): Ignore the now-obsolete value `identity' for
4619         transient-mark-mode.
4621         * textmodes/paragraphs.el (forward-paragraph)
4622         (backward-paragraph, forward-sentence, backward-sentence): Add ^
4623         interactive spec.
4625         * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4627 2008-04-02  Michael Albinus  <michael.albinus@gmx.de>
4629         * net/tramp.el (tramp-make-tramp-temp-file):
4630         Use `tramp-drop-volume-letter' for the local file name part.
4632 2008-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
4634         * progmodes/sh-script.el (sh-mode-map): Rename the menu.  Add :help.
4635         Add menu entries corresponding to all the key bindings.
4637         * emacs-lisp/debug.el (debugger-mode-map):
4638         * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4639         (conf-align-assignments): Only work on the region if it is active.
4640         (conf-quote-normal): Use when instead of if.  Remove redundant test.
4642         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4643         for tracing and re-builder.
4645 2008-04-02  Glenn Morris  <rgm@gnu.org>
4647         * calendar/appt.el (appt-disp-window-function): Doc fix.
4648         (appt-display-message): Move beep before display.
4649         (appt-check): Make interactive.  Reduce the number of lets.
4650         Use string-equal to compare mode-line strings.
4651         (appt-disp-window): Pluralize "minute" as needed.  Make appt buffer
4652         read-only.
4653         (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4654         (appt-delete): Simplify.
4656         * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4658         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4660         * calendar/cal-hebrew.el (list-yahrzeit-dates):
4661         * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4662         (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4664         * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4665         (calendar-holiday-marker, mark-visible-calendar-date):
4666         * calendar/diary-lib.el (fancy-diary-display):
4667         Check for font-lock-mode before using faces.
4669         * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4670         (calendar-gregorian-from-absolute): Reduce the number of lets.
4671         (hebrew-holidays-4, generate-calendar-window): Simplify.
4672         (calendar-for-loop): Make obsolete.
4673         (calendar-nth-named-day): Doc fix.
4675         * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4676         (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4677         (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4678         Reduce the number of lets.
4679         (mark-sexp-diary-entries, calendar-mark-complex):
4680         Expand calendar-for-loops.
4682 2008-04-01  Chong Yidong  <cyd@stupidchicken.com>
4684         * find-dired.el (find-dired-filter): Fix last patch to handle
4685         multi-line process input.  Pad link numbers too.
4687 2008-04-01  Jari Aalto  <jari.aalto@cante.net>
4689         * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4691 2008-04-01  Jason Rumney  <jasonr@gnu.org>
4693         * international/characters.el (script-list): Add phonetic script,
4694         covering IPA (previously Latin), Phonetic Extensions and
4695         Phonetic Extensions Supplement (both previously unassigned).
4697         * international/fontset.el (setup-default-fontset): Use unicode fonts
4698         that cover bopomofo script for bopomofo.
4699         Likewise for braille and mathematical.
4700         Use unicode scripts that cover the phonetic script for IPA.
4702 2008-04-01  Johan BockgÃ¥rd  <bojohan@gnu.org>
4704         * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4705         return the assigned value.
4707 2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4709         * abbrev.el (abbrev-mode): Use define-minor-mode.
4711         * mouse.el (mouse-major-mode-menu-prefix): Remove.  Remove uses.
4712         (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4713         Use map-keymap.
4714         (minor-mode-menu-from-indicator): Use it.  Simplify.
4716         * bindings.el (mode-line-mode-menu): Move before (new) first use.
4717         (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4718         Bind the key directly to the menu.
4719         (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4721 2008-04-01  Daiki Ueno  <ueno@unixuser.org>
4723         * epa.el (epa-decrypt-region): Explain the reason why this
4724         function should not be used in Lisp programs.
4725         (epa-decrypt-armor-in-region): Ditto.
4726         (epa-verify-region): Ditto.
4727         (epa-verify-cleartext-in-region): Ditto.
4728         (epa-sign-region): Ditto.
4729         (epa-encrypt-region): Ditto.
4731         * epg.el (epg-start-receive-keys): Fix typo in docstring.
4733         * epa.el (epa-select-keys): Show menu even if there is no key in
4734         GnuPG's keyring.
4736 2008-04-01  Glenn Morris  <rgm@gnu.org>
4738         * calendar/calendar.el (calendar-make-temp-face): New function.
4739         (mark-visible-calendar-date):
4740         * calendar/diary-lib.el (fancy-diary-display): Use it.
4742         * vc-hooks.el (vc-responsible-backend): Declare as function.
4744         * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4745         * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4746         * calendar/cal-julian.el (holiday-julian): Use it.
4748         * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4749         (calendar-hebrew-date-is-visible-p): Extract some common code into
4750         separate function.
4751         (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4753         * calendar/cal-menu.el (cal-menu-holidays-menu):
4754         * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4755         rather than obsolete alias.
4757         * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4758         for mark characters.
4759         (calendar-unmark): Unmark by removing all overlays, rather than
4760         redrawing.
4761         (calendar-starred-day): Remove.
4762         (calendar-mode): Disable undo.  Don't make calendar-starred-day local.
4763         (calendar-cursor-to-date): No need for special star handling now
4764         using overlays.
4765         (calendar-star-date): Use overlays.
4767         * calendar/cal-french.el (calendar-goto-french-date):
4768         * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4769         (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4770         * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4771         * calendar/cal-persia.el (calendar-persian-date-string):
4772         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4773         (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4774         * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4775         * calendar/solar.el (solar-equinoxes-solstices):
4776         Reduce nesting of some lets.
4778         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4779         (calendar-goto-mayan-long-count-date): Simplify.
4781         * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4782         Simplify by using mapcar.
4783         (calendar-list-holidays): Return holiday-list.
4784         (list-holidays): Use let rather than let*.  Remove un-needed locals
4785         `d', `never'.
4786         (calendar-check-holidays): Return result from dolist.
4787         (holiday-float): Use a single let*.  Simplify if-and to and.
4788         (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4789         single let*.
4791 2008-04-01  Jay Belanger  <jay.p.belanger@gmail.com>
4793         * calc/calc.el: Autoload `calc-yank'.
4794         (calc-mode-map): Add keybindings for `calc-yank'.
4795         * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4796         assignments for `calc-yank'.
4798 2008-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
4800         * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4801         (vc-status-mark-buffer-changed): Handle the extra field.
4803         * vc-bzr.el (vc-bzr-after-dir-status):
4804         * vc-cvs.el (vc-cvs-after-dir-status):
4805         * vc-hg.el (vc-hg-after-dir-status):
4806         * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4808 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4810         * doc-view.el: Compute displayed pages first (in PDF).
4811         (doc-view-current-converter-processes): Rename from
4812         doc-view-current-converter-process.  Update users.
4813         (doc-view-sentinel): Test buffer's liveness.
4814         (doc-view-pdf/ps->png-sentinel): Remove.
4815         (doc-view-start-process): New function.
4816         (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4817         (doc-view-ps->pdf): Use it.
4818         (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4819         New functions.
4820         (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4821         (doc-view-mode): Kill the processes when leaving the mode.
4823 2008-03-31  Juanma Barranquero  <lekktu@gmail.com>
4825         * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4826         Use `byte-compile-warning-types'.  Add docstring.
4828 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4830         * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4831         (smerge-resolve): Add various resolution heuristics.
4833         * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4834         in 3-way conflicts.
4836 2008-03-31  Glenn Morris  <rgm@gnu.org>
4838         * calendar/cal-bahai.el (diary-bahai-mark-entries):
4839         * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4840         * calendar/cal-islam.el (mark-islamic-diary-entries):
4841         Fix argument order in call to diary-mark-entries-1.
4843         * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4844         pre-Bahai dates.
4845         (holiday-bahai): Use an algorithm actually relevant to this calendar
4846         system.
4848         * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4850         * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4851         Use and.
4853         * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4854         in the last fortnight in Julian October.
4856         * calendar/calendar.el (increment-calendar-month): Optionally handle
4857         systems without 12 months per year.
4859         (calendar-date-is-visible-p): Doc fix.  Simplify.
4861         * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4862         from dolist.
4864 2008-03-30  Juanma Barranquero  <lekktu@gmail.com>
4866         * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4867         (hi-lock-unload-function): New function.
4869 2008-03-30  Michael Albinus  <michael.albinus@gmx.de>
4871         * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4872         overwriting when NEWNAME is a local file.
4874         * net/trampver.el: Update release number.
4876 2008-03-30  Alexandre Julliard  <julliard@winehq.org>
4878         * vc-git.el: Make vc-status display information about copies,
4879         renames and permission changes.
4880         (vc-git-extra-fileinfo): New defstruct.
4881         (vc-git-escape-file-name, vc-git-file-type-as-string)
4882         (vc-git-rename-as-string, vc-git-permissions-as-string)
4883         (vc-git-status-printer): New functions.
4884         (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4885         (vc-git-after-dir-status-stage1): Look for copies, renames and
4886         permission changes.
4887         (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4888         (vc-git-dir-status): Ask for staged files and renames.
4890 2008-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
4892         * vc.el: Allow backends to display backend specific information in
4893         the vc-status listing.
4894         (vc-status-fileinfo): Add a field for backend specific information.
4895         (vc-status-printer): Rename to ...
4896         (vc-default-status-printer): ... this.
4897         (vc-status-printer): New function.
4898         (vc-update-vc-status-buffer): Set the backend specific file info
4899         if provided.
4901 2008-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4903         * textmodes/remember.el (remember-diary-convert-entry): Revert last
4904         change (ill-conceived).
4906 2008-03-29  Glenn Morris  <rgm@gnu.org>
4908         * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4909         * calendar/cal-julian.el (holiday-julian): Simplify.
4911         * calendar/holidays.el (list-holidays): Use or.
4913 2008-03-29  Juri Linkov  <juri@jurta.org>
4915         * window.el (split-window-preferred-horizontally): New function.
4917         * cus-start.el (split-window-preferred-function):
4918         Set choice for "vertically" to nil instead of split-window.
4919         Set choice for "horizontally" to split-window-preferred-horizontally
4920         instead of lambda.
4922 2008-03-29  Juri Linkov  <juri@jurta.org>
4924         * simple.el (minibuffer-default-add-function): New variable with
4925         the default to minibuffer-default-add-completions.
4926         (minibuffer-default-add-done): New variable.  Make it buffer-local.
4927         (minibuffer-default-add-completions): New function.
4928         (goto-history-element): Set minibuffer-default-add-done to t and
4929         call a function in minibuffer-default-add-function when the
4930         specified absolute history position is greater than the length of
4931         the minibuffer-default list and minibuffer-default-add-done is nil.
4932         Change "^End of history; no next item$" to "^End of defaults;
4933         no next item$".
4935         * bindings.el (debug-ignored-errors): Change "^End of history;
4936         no next item$" to "^End of defaults; no next item$".
4938 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4940         * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
4942         * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
4943         to with-no-warnings.
4945 2008-03-29  Michael Albinus  <michael.albinus@gmx.de>
4947         Sync with Tramp 2.1.13.
4949         * net/tramp-ftp.el: Require 'cl when byte-compiling.
4951         * net/trampver.el: Update release number.
4953 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
4955         * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
4956         the current backend.
4958         * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
4959         (vc-status-refresh): Create a temporary buffer and call the
4960         `dir-status' backend function from that buffer.
4962         * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
4963         (vc-bzr-after-dir-status): Don't kill the buffer.
4965         * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
4966         (vc-cvs-after-dir-status): Don't kill the buffer.
4968         * vc-git.el (vc-git-dir-status): Don't create a buffer.
4969         (vc-git-after-dir-status-stage2): Don't kill the buffer.
4971         * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
4972         (vc-hg-after-dir-status): Don't kill the buffer.
4974         * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
4975         (vc-svn-after-dir-status): Don't kill the buffer.
4977 2008-03-29  Glenn Morris  <rgm@gnu.org>
4979         * calendar/calendar.el (diary-file, american-date-diary-pattern)
4980         (european-date-diary-pattern, european-calendar-display-form)
4981         (american-calendar-display-form, diary-display-hook): Doc fixes.
4982         (european-calendar-style): Doc fix.  Use calendar-set-date-style for
4983         custom :set.  Mark as obsolete.
4984         (calendar-date-style, iso-date-diary-pattern)
4985         (iso-calendar-display-form): New user variables.
4986         (diary-date-forms, calendar-date-display-form): Set using
4987         calendar-date-style.  Doc fix.
4988         (calendar-set-date-style): New command.
4989         (european-calendar, american-calendar): Use calendar-set-date-style.
4990         Mark as obsolete.
4992         * calendar/diary-lib.el (number): Move declaration where needed.
4993         (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
4994         (diary-make-date): New function.
4995         (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
4996         Use diary-make-date.
4997         (diary-date-display-form, diary-insert-entry-1): New functions.
4998         (insert-monthly-diary-entry, insert-yearly-diary-entry):
4999         Use diary-insert-entry-1.
5000         (insert-anniversary-diary-entry, insert-block-diary-entry)
5001         (insert-cyclic-diary-entry): Use diary-date-display-form.
5003         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5004         Autoload diary-insert-entry-1.
5005         * calendar/cal-bahai.el (diary-bahai-insert-entry)
5006         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
5007         * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
5008         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
5009         * calendar/cal-islam.el (insert-islamic-diary-entry)
5010         (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
5011         Use diary-insert-entry-1.
5013         * calendar/cal-hebrew.el (diary-make-date): Autoload it.
5014         (diary-yahrzeit): Doc fix.  Use diary-make-date.
5016         * calendar/icalendar.el (icalendar--datetime-to-american-date):
5017         New name for icalendar--datetime-to-noneuropean-date.  Make old name
5018         obsolete alias.
5019         (icalendar--datetime-to-iso-date): New function.
5020         (icalendar--datetime-to-diary-date): Doc fix.  Respect
5021         calendar-date-style if bound.
5023         * textmodes/remember.el (remember-diary-convert-entry):
5024         Respect calendar-date-style if bound.
5026 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5028         * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
5029         (xterm-mouse-handle-delete-frame): Delete.
5031         * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
5032         (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
5033         (xterm-remove-modify-other-keys): Lookup terminal rather than frame
5034         in xterm-modify-other-keys-terminal-list.
5036         * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
5037         are conflicts.
5039 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
5041         * vc.el (vc-update): Check if the buffer is unsaved only if it
5042         actually exists.
5043         (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
5044         vc-print-log.
5046 2008-03-28  Magnus Henoch  <mange@freemail.hu>
5048         * net/dns.el (dns-write): Use set-buffer-multibyte.
5050 2008-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5052         * vc-bzr.el (vc-bzr-sha1): New fun.
5053         (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5054         (vc-bzr-registered): Use it.
5056 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
5058         * vc.el (vc-status-kill-dir-status-process): Simplify.
5059         (vc-status-refresh): Make sure the buffer is live.
5060         (ring): Don't require it, not used.
5062 2008-03-28  Wilson Snyder  <wsnyder@wsnyder.org>
5064         * progmodes/verilog-mode.el (verilog-auto-inout-module):
5065         Add optional regular expression to AUTOINOUTMODULE.
5066         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5067         (verilog-auto-inst-param, verilog-auto-reg)
5068         (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5069         (verilog-auto-output-every, verilog-auto-input)
5070         (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5071         (verilog-auto-unused, verilog-auto): Update documentation to use
5072         more obvious instance module names versus cell names.
5074 2008-03-28  Jan Djärv  <jan.h.d@swipnet.se>
5076         * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5077         kill if a process is running.
5079         * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5081 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
5083         * vc.el: Add new backend function 'status-extra-headers.
5084         (vc-default-status-extra-headers): New function.
5085         (vc-status-headers): Call 'status-extra-headers.  Add colors.
5087         * vc-git.el (vc-git-status-extra-headers): New function.
5089 2008-03-28  Glenn Morris  <rgm@gnu.org>
5091         * calendar/cal-menu.el (cal-menu-holidays-menu)
5092         (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5093         (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5094         holiday-list is optional.
5095         (calendar-mouse-holidays): Remove un-needed local `l'.
5097         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5098         Remove un-needed local `date'.
5099         (calendar-cursor-to-visible-date): Use let rather than let*.
5100         Remove un-needed local `first-of-month-weekday'.
5102         * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5104         * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5105         Doc fixes.
5106         (abbreviated-calendar-year): Move here from calendar.el.  Doc fix.
5107         (diary-header-line-flag, diary-header-line-format): Declare.
5108         (diary-pull-attrs): Check for multiple matches.
5109         (diary-list-entries-2): Simplify finding start of date.
5110         (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5111         pop-up-frames.
5112         (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5113         (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5115 2008-03-27  Dan Nicolaescu  <dann@ics.uci.edu>
5117         * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5119         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5121 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5123         * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5125         * image-mode.el (image-mode-reapply-winprops): Fix last change.
5127 2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
5129         * international/mule-conf.el (define-iso-single-byte-charset):
5130         Don't make latin-iso8859-* supplementary.
5131         (#'set-charset-priority): Don't change the priority of charsets
5132         `unicode' and `emacs'.
5134 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5136         * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5137         temp buffer.
5139 2008-03-27  Glenn Morris  <rgm@gnu.org>
5141         * calendar/cal-bahai.el (diary-bahai-list-entries):
5142         * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5143         * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5145         * calendar/calendar.el (diary-file): Doc fix.
5147         * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5148         (list-diary-entries-hook, mark-diary-entries-hook)
5149         (include-other-diary-files, diary-mail-entries)
5150         (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5151         (diary-set-header): New function.
5152         (diary-header-line-flag, diary-header-line-format):
5153         Use diary-set-header for custom :set function.
5154         (diary-set-maybe-redraw): Use symbol-value rather than eval.
5155         (diary-attrtype-convert): Use intern-soft rather than read.
5156         (diary-display-no-entries): New function.
5157         (simple-diary-display, fancy-diary-display): Use it.
5158         (fancy-diary-display): Doc fix.  Remove unneeded local entry-list.
5159         (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5161         * calendar/holidays.el (list-holidays): Doc fix.
5163 2008-03-26  Jay Belanger  <jay.p.belanger@gmail.com>
5165         * calc/calc-store.el (calc-read-var-name-history): New variable.
5166         (calc-read-var-name): Use `calc-read-var-name-history'.
5168 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5170         * image-mode.el (image-mode-reapply-winprops): Simplify now that
5171         window-configuration-change-hook works buffer-locally.
5173 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
5175         * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5176         for Emacs Lisp, not Lisp.
5178 2008-03-26  Juanma Barranquero  <lekktu@gmail.com>
5180         * help-fns.el (describe-function-1, describe-variable):
5181         If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5183         * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5184         replacement is provided, don't print "use nil instead".
5186 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
5188         * complete.el (PC-do-completion): Use regexp-quote.
5190 2008-03-26  Dan Nicolaescu  <dann@ics.uci.edu>
5192         * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5193         Detect missing files.
5195         * vc-git.el (vc-git-extra-menu-map): New key map.
5196         (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5197         New functions.
5199         * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5200         and 'missing files.
5202 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5204         * calendar/holidays.el (list-holidays): Make Y2 optional.
5206         * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5207         buffers shown to the user.
5208         (appt-disp-window): Disable undo explicitly now that the leading space
5209         is gone.
5211         * simple.el (activate-mark): New function.
5212         (set-mark-command): Use it with region-active-p to clean up the code.
5213         (exchange-point-and-mark): Invert the meaning of C-u when
5214         transient-mark-mode is active.
5216         * dired-aux.el (dired-create-files): Use dolist.
5218         * bindings.el (mode-line-change-eol): Use with-selected-window.
5220         * apropos.el (apropos-command): Include macros.
5222 2008-03-26  Glenn Morris  <rgm@gnu.org>
5224         * calendar/cal-bahai.el: Require calendar, not cal-julian.
5225         (calendar-bahai-epoch): Doc fix.
5227         * calendar/cal-china.el: Explicitly require calendar.
5229         * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5230         Require calendar rather than cal-julian.
5231         Autoload calendar-absolute-from-julian.
5232         * calendar/cal-coptic.el (coptic-calendar-epoch):
5233         * calendar/cal-islam.el (calendar-islamic-epoch):
5234         * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5236         * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5238         * calendar/cal-dst.el: Don't require cal-persia.
5239         (calendar-absolute-from-persian): Autoload it.
5240         (dst-adjust-time): Doc fix.
5242         * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5243         cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5244         calendar.
5246         * calendar/cal-menu.el: Require calendar rather than declaring
5247         functions.
5248         * calendar/calendar.el: Provide calendar before requiring cal-menu.
5250         * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5251         calendar-after-frame-setup-hooks.  Update callers, make old name an
5252         obsolete alias.  Doc fix.
5253         (calendar-frame-1): Doc fix.
5255         * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5257         * calendar/calendar.el (oriental-holidays, solar-holidays):
5258         * calendar/holidays.el (list-holidays): Assume atan always bound.
5260         * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5261         Explicitly require calendar, not cal-julian.
5262         * calendar/lunar.el: Explicitly require cal-dst.
5264 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5266         * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5268         * help-fns.el (describe-function-1, describe-variable): If no
5269         replacement is provided, don't print "use nil instead".
5271 2008-03-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
5273         * proced.el: New file.
5275 2008-03-25  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
5277         * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5279 2008-03-25  Juri Linkov  <juri@jurta.org>
5281         * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5282         in battery-mode-line-format.
5284         * bindings.el (minibuffer-local-map): For the command
5285         file-cache-minibuffer-complete replace keymap minibuffer-local-map
5286         with map which is already locally bound to minibuffer-local-map.
5288 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5290         * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5291         Remove `sort-first' argument.
5293         * subr.el (redisplay-end-trigger-functions)
5294         (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5295         (process-filter-multibyte-p, set-process-filter-multibyte):
5296         Mark as obsolete.
5298 2008-03-25  Juanma Barranquero  <lekktu@gmail.com>
5300         * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5301         bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5302         use the LOCAL arg of `add-hook'.
5303         (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5304         Remove spurious * from defcustom docstrings.
5305         (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5306         Fix typos in messages.
5307         (reb-mode-buffer-p): New function.
5308         (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'.  Use `when'.
5309         (top, reb-show-subexp, reb-auto-update, reb-auto-update)
5310         (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
5311         (reb-update-overlays): Use `unless', `when'.
5312         (re-builder-unload-function): New function.
5314 2008-03-25  Dan Nicolaescu  <dann@ics.uci.edu>
5316         * vc-hooks.el (vc-state): Add documentation for 'missing.
5318 2008-03-25  Wilson Snyder  <wsnyder@wsnyder.org>
5320         * progmodes/verilog-mode.el (verilog-auto-output)
5321         (verilog-auto-input, verilog-auto-inout, verilog-auto)
5322         (verilog-delete-auto): Add optional regular expression to
5323         AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5324         (verilog-signals-matching-regexp): New internal function for
5325         signal matching.
5327 2008-03-25  Johan BockgÃ¥rd  <bojohan@gnu.org>
5329         * info.el (Info-isearch-search): Always return point.
5331 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5333         * diff-mode.el (diff-remembered-defdir): New var.
5334         (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5336 2008-03-25  Glenn Morris  <rgm@gnu.org>
5338         * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5339         calendar-bahai-prompt-for-date.  Update callers, make old name an
5340         obsolete alias.  Doc fix.
5341         * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5342         coptic-prompt-for-date.  Update callers, make old name an
5343         obsolete alias.  Doc fix.
5344         * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5345         calendar-hebrew-prompt-for-date.  Update callers.  Doc fix.
5346         * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5347         calendar-islamic-prompt-for-date.  Update callers.  Doc fix.
5348         * calendar/cal-iso.el (calendar-iso-read-date): New name for
5349         calendar-iso-read-args.  Update callers, make old name an obsolete
5350         alias.
5351         * calendar/cal-persia.el (calendar-persian-read-date): New name for
5352         persian-prompt-for-date.  Update callers, make old name an
5353         obsolete alias.  Doc fix.  Move definition before use.
5355         * calendar/cal-x.el (diary-frame-parameters)
5356         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5357         (calendar-frame-1): Doc fixes.
5358         (make-fancy-diary-buffer): Remove declaration.
5359         (calendar-dedicate-diary): Replace call to deleted function
5360         make-fancy-diary-buffer.
5361         (calendar-frame-setup): New function.
5362         (calendar-one-frame-setup, calendar-only-one-frame-setup)
5363         (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5364         work, and mark as obsolete.
5365         (special-display-buffer-names): Don't mess with this; it's not our
5366         business.
5367         (cal-x-load-hook): Defvar it, and mark as obsolete.
5369         * calendar/calendar.el (calendar-remove-frame-by-deleting):
5370         Default to t.  Add to 'calendar group.
5371         (calendar): Doc fix.  Use calendar-frame-setup.
5372         (calendar-basic-setup): Doc fix.  Add optional NODISPLAY argument.
5373         (generate-calendar-window): Doc fix.
5375 2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5377         * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5379 2008-03-24  Drew Adams  <drew.adams@oracle.com>
5381         * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5382         New variables.
5383         (finder-mode): Use finder-mode-syntax-table.  Set font-lock-defaults.
5384         (finder-exit): Ignore errors rather than avoiding them.
5385         Kill *Finder-package* buffer also.
5387 2008-03-24  Andreas Schwab  <schwab@suse.de>
5389         * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5391 2008-03-24  Dan Nicolaescu  <dann@ics.uci.edu>
5393         * vc-hg.el (vc-hg-after-dir-status):
5394         * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5396         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5397         Detect removed files.
5399         * vc.el (vc-status-printer): Use a different face for missing files.
5400         (vc-status-hide-up-to-date): Rename from
5401         vc-status-remove-up-to-date.  Update all callers.
5402         (vc-status-mode-map): Bind C-m.
5404 2008-03-24  Alexandre Julliard  <julliard@winehq.org>
5406         * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5407         code ...
5408         (vc-git--state-code): ... to this new function.
5409         (vc-git-state): Use it.
5411 2008-03-24  Trent Buck  <trentbuck@gmail.com>  (tiny change)
5413         * textmodes/remember.el (remember-mail-date)
5414         (remember-store-in-mailbox): Write date and From line in such a
5415         way that Mutt can read it.
5417 2008-03-23  Chong Yidong  <cyd@stupidchicken.com>
5419         * simple.el (transient-mark-mode): Turn on by default.
5421 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5423         * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5424         'unregistered for unregistered files.
5426         * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5428         * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5430         * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5431         subdirectories.
5433         * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5434         (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5435         Add :enable for vc-status-refresh.
5436         (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5437         (vc-status-tool-bar-map): Add binding for
5438         vc-status-kill-dir-status-process.
5439         Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5440         (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5441         Reset vc-status-process-buffer.
5442         (vc-status-refresh): Don't run two refreshes at a time.
5443         (vc-status): If the buffer is already in vc-status-mode only refresh.
5444         (vc-status-mark-buffer-changed): Add an optional file parameter.
5445         (vc-resynch-buffer): Use it.
5446         (vc-delete-file): Expand the file name before using it.
5447         Be careful to not create a new buffer with the old file contents.
5448         Update the VC state after performing the operation.
5450 2008-03-23  Andreas Schwab  <schwab@suse.de>
5452         * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5453         Fix radio button condition.
5454         [box]: Likewise.
5455         [customize]: Add radio button.
5457 2008-03-23  Jay Belanger  <jay.p.belanger@gmail.com>
5459         * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5460         (calc-user-parse-tables, calc-gnuplot-default-device)
5461         (calc-gnuplot-default-output, calc-gnuplot-print-device)
5462         (calc-gnuplot-print-output, calc-gnuplot-geometry)
5463         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5464         (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5465         (calc-undo-list, calc-redo-list, calc-main-buffer)
5466         (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5467         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5468         (calc-said-hello, calc-executing-macro, calc-any-selections)
5469         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5470         (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5471         (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5472         (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5473         (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5474         (calc-create-buffer, calc-quit): Add docstrings.
5476 2008-03-23  Juanma Barranquero  <lekktu@gmail.com>
5478         * makefile.w32-in (WINS_ALMOST): Add org.
5480 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5482         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5483         New functions to implement vc-status support.
5485 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5487         * vc.el (vc-status-prepare-status-buffer): New function.
5488         (vc-status): Use it.
5490         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5491         appropriate.
5493 2008-03-22  Alexandre Julliard  <julliard@winehq.org>
5495         * vc-git.el (vc-git--empty-db-p)
5496         (vc-git-after-dir-status-stage1-empty-db): New functions.
5497         (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5498         Add support for empty repositories.
5500 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5502         * vc-git.el (vc-git-annotate-extract-revision-at-line):
5503         Allow "^" in a version name.
5505         * vc-mtn.el (vc-mtn-state): Support the added state.
5507 2008-03-22  Carsten Dominik  <dominik@science.uva.nl>
5509         * org: New directory for Org-mode.
5511         * org/org-export-latex.el: Moved from lisp/texmodes.
5513         * org/org-irc.el: Moved from lisp/texmodes.
5515         * org/org-mac-message.el: Moved from lisp/texmodes.
5517         * org/org-mouse.el: Moved from lisp/texmodes.
5519         * org/org-publish.el: Moved from lisp/texmodes.
5521 2008-03-21  Juri Linkov  <juri@jurta.org>
5523         * comint.el (comint-dynamic-simple-complete):
5524         Use variable `stub' for the second arg `common-substring'
5525         of `comint-dynamic-list-completions'.
5526         (comint-dynamic-list-filename-completions):
5527         Use variable `filenondir' for the second arg `common-substring'
5528         of `comint-dynamic-list-completions'.
5529         (comint-dynamic-list-completions): Add new optional arg
5530         `common-substring'.  Add `common-substring' as the second arg of
5531         the call to `display-completion-list'.  Doc fix.
5533         * comint.el (comint-dynamic-complete-as-filename)
5534         (comint-dynamic-list-filename-completions)
5535         (comint-dynamic-simple-complete): Use `minibuffer-message'
5536         to display message "No completions of %s" when a command
5537         is called in the minibuffer.
5538         (comint-dynamic-simple-complete): Don't display other
5539         completion messages when a command is called in the minibuffer.
5540         (comint-dynamic-list-completions): Use `minibuffer-message'
5541         to display message " [Type space to flush ...]" when a command
5542         is called in the minibuffer.
5544         * shell.el (shell-dynamic-complete-command)
5545         (shell-dynamic-complete-environment-variable): Don't display
5546         completion messages when command is called in the minibuffer.
5548         * emacs-lisp/lisp.el (lisp-complete-symbol):
5549         Use `minibuffer-message' to display message "No completions of %s"
5550         when this command is called in the minibuffer.
5552         * bindings.el (standard-mode-line-modes): Put special help-echo
5553         tooltip on recursive edit %[ %] mode-line constructs.
5555         * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5556         "^No dynamic expansion for .* found$" to allow error messages like
5557         "No dynamic expansion for \"%s\" found in this-buffer".
5559 2008-03-21  Michael Albinus  <michael.albinus@gmx.de>
5561         * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5562         "psftp".
5564 2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5566         * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5567         * vc.el (vc-default-dired-state-info): Use just "modified".
5568         * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5569         (vc-cvs-mode-line-string): Make use of the better default.
5570         (vc-cvs-parse-entry): Use the new `added'.
5571         (vc-cvs-dired-state-info): Remove.
5572         * vc-svn.el (vc-svn-dired-state-info): Remove.
5573         * vc-hg.el (vc-hg-dired-state-info): Remove.
5574         * vc-git.el (vc-git-dired-state-info): Remove.
5576 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5578         * vc-git.el (vc-git-status-result): New variable.
5579         (vc-git-dir-status): Split out ...
5580         (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5581         ... these new functions and work asynchronously.
5583 2008-03-21  Alexandre Julliard  <julliard@winehq.org>
5585         * vc-git.el (vc-git-after-dir-status): Remove.
5586         (vc-git-dired-state-info): Reimplement.
5588 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5590         * replace.el (occur-mode-map): Add :help.
5592         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5593         for disassemble.
5595         * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5596         the 'added state.
5597         (vc-status-remove-up-to-date): New function.
5598         (vc-status-mode-map, vc-status-menu-map): Bind it.
5599         (vc-status-printer): Use a different face up-to-date files.
5600         (vc-resynch-buffer): Update the vc-status buffer if it exists.
5601         (Todo): Remove solved entries.
5603         * vc-hg.el (vc-hg-state):
5604         * vc-git.el (vc-git-state):
5605         * vc-cvs.el (vc-cvs-parse-status):
5606         * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5607         state.
5609 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5611         * progmodes/compile.el (compile):
5612         * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5614         * simple.el (minibuffer-local-shell-command-map): New var.
5615         (minibuffer-complete-shell-command, read-shell-command): New funs.
5616         (shell-command, shell-command-on-region): Use them.
5618 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5620         * vc.el (vc-status-mark-buffer-changed): New function to implement
5621         updating of the *vc-status* buffer when a buffer is saved.
5622         (vc-status-mode): Use it for after-change-hook.
5623         (vc-add-to-vc-status-buffer): Rename to ...
5624         (vc-status-add-entry): ... this.
5625         (Todo): Add new entry.
5627 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5631 2008-03-20  Juanma Barranquero  <lekktu@gmail.com>
5633         * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5634         (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5635         Remove spurious * from defcustom docstrings.
5636         (icomplete-compute-delay): Fix docstring and remove spurious *.
5637         (icomplete-delay-completions-threshold): Fix typo in docstring and
5638         remove spurious *.
5639         (icomplete-completions): While collecting the list of prospective
5640         candidates, don't overshoot `icomplete-prospects-length'.
5642 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5644         * textmodes/refbib.el:
5645         * textmodes/reftex.el:
5646         * textmodes/reftex-global.el:
5647         * textmodes/reftex-vars.el:
5648         * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5649         compiler pacifying defvars.
5650         (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5651         * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5652         not needed.
5654 2008-03-20  Wilson Snyder  <wsnyder@wsnyder.org>
5656         * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5657         (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5658         (verilog-customize, verilog-font-customize)
5659         (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5660         (verilog-mode): Update documentation strings to match tool tips.
5661         (verilog-auto-search-do, verilog-auto-re-search-do)
5662         (verilog-skip-forward-comment-or-string): Fix verilog-auto
5663         expansion when a .* appears inside a string.
5664         (verilog-re-search-forward, verilog-re-search-backward):
5665         Add comment to recall how this works.
5666         (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5668 2008-03-20  Glenn Morris  <rgm@gnu.org>
5670         * calendar/calendar.el (calendar-other-dates): New function.
5671         (calendar-print-other-dates): Use calendar-other-dates.
5672         * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5673         the declarations it replaces.
5674         (calendar-mouse-print-dates): Use calendar-other-dates.
5676         * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5677         (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5678         (calendar-absolute-from-bahai): Fix the leap-year case.
5679         (calendar-bahai-from-absolute): Re-use the Gregorian month.
5680         (calendar-bahai-date-string, calendar-bahai-print-date):
5681         Handle pre-Bahai dates.
5683         * calendar/cal-china.el (chinese-calendar-celestial-stem)
5684         (chinese-calendar-terrestrial-branch): Make defcustoms.
5686         * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5687         (calendar-mouse-view-diary-entries): Use or.
5688         (calendar-mouse-chinese-date): Remove unused command.
5689         (cal-menu-load-hook): Mark as obsolete.
5691         * calendar/solar.el (calendar-location-name, calendar-latitude)
5692         (calendar-longitude, solar-arctan, sunrise-sunset)
5693         (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5695 2008-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
5697         * calc/calc.el: Remove outdated comments.
5698         (defcalcmodevar, calc-mode-var-list-restore-default-values)
5699         (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5700         Add docstrings.
5702 2008-03-19  Jason Rumney  <jasonr@gnu.org>
5704         * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5706 2008-03-19  Reiner Steib  <Reiner.Steib@gmx.de>
5708         * net/tls.el (open-tls-stream): Reindent.
5710 2008-03-19  Michael Albinus  <michael.albinus@gmx.de>
5712         * net/tramp.el (tramp-let-maybe): Removed.
5713         (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5714         It does not exist under XEmacs.
5715         (tramp-handle-file-truename, tramp-handle-expand-file-name)
5716         (tramp-completion-file-name-handler): Let-bind
5717         `directory-sep-char'.
5719         * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5720         `directory-sep-char'.
5722 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5724         * help-fns.el (describe-function-1): Don't signal "missing arglist"
5725         for autoloaded keymaps.
5727         * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5728         (electric-verilog-terminate-line, verilog-in-struct-region-p)
5729         (verilog-backward-ws&directives, verilog-forward-ws&directives)
5730         (verilog-in-comment-p, verilog-in-star-comment-p)
5731         (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5732         (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5733         (verilog-skip-forward-comment-or-string, verilog-in-paren)
5734         (verilog-skip-forward-comment-p): Use it.
5736 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5738         * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5739         (org-remember-templates, org-time-stamp-rounding-minutes)
5740         (org-back-over-empty-lines, org-find-base-buffer-visiting)
5741         (org-columns-new): Fix typos in docstrings.
5743 2008-03-19  Glenn Morris  <rgm@gnu.org>
5745         * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5746         (tramp-handle-shell-command): Use condition-case rather than
5747         ignore-errors.
5749 2008-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
5751         * diff-mode.el (diff-header): Make the color louder.
5752         (diff-refine-change): Tone the color down.
5754 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5756         * descr-text.el (describe-char): When `describe-char-unidata-list'
5757         is set to show all properties, list them in the right order.
5759 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5761         * international/mule.el (load-with-code-conversion): Avoid setting
5762         default-enable-multibyte-characters.
5764 2008-03-19  Gustav HÃ¥llberg  <gustav@virtutech.com>  (tiny change)
5766         * vc.el (vc-annotate-background): Fix custom type.
5768 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5770         * descr-text.el (describe-char-unidata-list): Allow specifying
5771         just all properties.
5772         (describe-char): Handle that new value.
5774         * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5776 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5778         * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5779         instead of file name extension to make docs with uncommon
5780         extensions work.
5782 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5784         * doc-view.el (require): Require cl at compile time because
5785         `assert' needs it.
5787 2008-03-18  Glenn Morris  <rgm@gnu.org>
5789         * calendar/calendar.el (initial-calendar-window-hook)
5790         (today-visible-calendar-hook): Doc fixes.
5792 2008-03-17  Michael Albinus  <michael.albinus@gmx.de>
5794         * net/tramp.el (tramp-root-regexp): Simplify.
5795         (tramp-completion-file-name-regexp-separate): Don't insist on
5796         leading "[".  This prevents method or user or host completion.
5797         (tramp-let-maybe): Autoload it.
5798         (tramp-drop-volume-letter): Don't autoload.  When not on W32, it
5799         is an alias for `identity'.
5800         (tramp-handle-write-region): Protect `last-coding-system-used'
5801         over the trailing statements.
5802         (tramp-completion-file-name-handler-post-function): Remove.
5803         (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5804         instead of calling `tramp-drop-volume-letter'.
5806         * net/tramp.el:
5807         * net/tramp-uu.el:
5808         * net/trampver.el: Move coding cookie at the end.
5810 2008-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5812         * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5813         elements which may be something else than characters.
5815 2008-03-17  Dan Nicolaescu  <dann@ics.uci.edu>
5817         * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5818         New functions to implement vc-status support.
5820         * vc.el (vc-default-extra-status-menu)
5821         (vc-add-to-vc-status-buffer): New functions.
5823         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5824         for eldoc and ielm.
5826 2008-03-17  Glenn Morris  <rgm@gnu.org>
5828         * calendar/cal-x.el (diary-frame-parameters)
5829         (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5830         Fix custom type; add options.
5831         (calendar-frame, diary-frame): Doc fixes.
5832         (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5833         new functions.
5834         (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5835         Use calendar-frame-1 and calendar-dedicate-diary.
5836         (calendar-one-frame-setup): Also handle only-one-frame case.
5837         (calendar-only-one-frame-setup): Doc fix.  Just call
5838         calendar-one-frame-setup.
5840         * calendar/diary-lib.el: Re-order some definitions before their use.
5841         (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5842         (diary-list-entries): Doc fixes.
5843         (make-fancy-diary-display): Remove function.
5845         * calendar/calendar.el (calendar-today-marker)
5846         (initial-calendar-window-hook, today-visible-calendar-hook)
5847         (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5848         (calendar-star-date, calendar-mark-today): Doc fixes.
5849         (today-visible-calendar-hook): Add options.
5850         (calendar-in-read-only-buffer): New macro.
5851         (calendar-basic-setup): Adapt for change in calendar-read-date.
5852         Place holiday let inside if.
5853         (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5854         (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5855         (calendar-print-other-dates): Use one let rather than many.
5857         * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5858         (calendar-print-other-dates):
5859         * calendar/cal-hebrew.el (list-yahrzeit-dates):
5860         * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5861         * calendar/holidays.el (calendar-list-holidays, list-holidays)
5862         (calendar-cursor-holidays):
5863         * calendar/lunar.el (calendar-phases-of-moon): Use
5864         calendar-in-read-only-buffer to replace previous code and disable undo.
5866 2008-03-16  Juri Linkov  <juri@jurta.org>
5868         * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5869         and regexp-search-ring-yank-pointer for the HISTPOS argument of
5870         read-from-minibuffer to provide the correct initial minibuffer
5871         history position in isearch-edit-string when it is called from
5872         isearch-ring-adjust.
5874         * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5875         to check if the current buffer is the minibuffer, and in this case
5876         call abort-recursive-edit to kill the minibuffer.  Doc fix.
5877         (kill-this-buffer-enabled-p): Allow this function to return non-nil
5878         when the current buffer is the minibuffer.
5880         * simple.el (goto-line): Leave mark at previous position.  Doc fix.
5882 2008-03-16  Tassilo Horn  <tassilo@member.fsf.org>
5884         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5885         Use non-nil PARENTS attribute of make-directory instead of
5886         explicitly checking existence the current cache directory.
5888 2008-03-16  Daiki Ueno  <ueno@unixuser.org>
5890         * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5891         M-x epa-file-select-keys.
5893 2008-03-16  Kenichi Handa  <handa@m17n.org>
5895         * international/mule.el (auto-coding-alist):
5896         Use no-conversion-multibyte for archive files.
5898 2008-03-16  Glenn Morris  <rgm@gnu.org>
5900         * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
5901         New functions.
5902         * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
5903         (calendar-bahai-mark-date-pattern): Add optional argument `color'.
5904         Use calendar-mark-1.
5905         * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
5906         (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
5907         Use calendar-mark-complex.
5908         * calendar/cal-islam.el (calendar-mark-1): Autoload it.
5909         (mark-islamic-calendar-date-pattern): Add optional argument `color'.
5910         Use calendar-mark-1.
5912         * calendar/calendar.el (calendar-mod): Remove.
5913         * calendar/cal-china.el (calendar-chinese-from-absolute)
5914         (calendar-chinese-date-string): Expand calendar-mod calls.
5915         * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
5916         Expand calendar-mod calls.
5918         * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
5919         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
5920         (diary-bahai-insert-yearly-entry): Use let rather than let*.
5921         Move obsolete aliases after the functions that replaced them.
5923         * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
5924         (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
5925         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
5926         Use let rather than let*.
5927         (calendar-hebrew-prompt-for-date): New function.
5928         (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
5929         (holiday-tisha-b-av-etc): Use unless, let.
5931         * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
5932         (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
5934         * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
5936         * calendar/calendar.el (calendar-for-loop): Add indent spec.
5938         * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
5939         (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
5940         than concat.
5941         (diary): Remove un-needed let.
5942         (view-other-diary-entries): Rename argument.
5943         (diary-list-entries-2): New function.
5944         (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
5945         (print-diary-entries): Use unless.
5946         (diary-mark-entries-1): Change argument order, make all but
5947         markfunc optional.  Handle the standard (Gregorian) case.
5948         Use match-string-no-properties.  Handle marks.
5949         (mark-diary-entries): Use diary-mark-entries-1.
5950         (diary-font-lock-keywords-1): New macro.
5951         (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
5953 2008-03-16  Ulf Jasper  <ulf.jasper@web.de>
5955         * icalendar.el (icalendar-version): Increase to 0.18.
5956         (icalendar-export-hidden-diary-entries): New variable.
5957         (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
5958         In case of error, insert full error-val.
5959         (icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
5960         Use calendar-day-of-week.  Return the day number.
5961         (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
5963 2008-03-16  Craig Markwardt  <Craig.Markwardt@nasa.gov>
5965         * icalendar.el (icalendar-recurring-start-year): New variable.
5966         (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
5967         (icalendar-export-region): Ignore hidden diary entries.
5968         (icalendar--convert-ordinary-to-ical): Fix case where event
5969         spans across midnight boundary.
5970         (icalendar-first-weekday-of-year): New function.
5971         (icalendar--convert-weekly-to-ical): Allow user-selectable start
5972         year for recurring events (Mozilla calendars do not propagate
5973         recurring events forever, so year 2000 start date was not working).
5974         (icalendar--convert-yearly-to-ical): Remove extra spaces in
5975         formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
5977 2008-03-15  Michael Albinus  <michael.albinus@gmx.de>
5979         * net/tramp.el (tramp-root-regexp): New defconst.
5980         (tramp-completion-file-name-regexp-unified)
5981         (tramp-completion-file-name-regexp-separate)
5982         (tramp-completion-file-name-regexp-url): Use it.
5983         (tramp-do-copy-or-rename-file-via-buffer):
5984         Set `enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
5985         t for `insert-file-contents-literally'.
5986         (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
5987         Autoload it.
5988         (tramp-completion-file-name-handler-post-function): New defconst.
5989         (tramp-completion-file-name-handler): Use it.
5990         (tramp-maybe-open-connection): Update calls to
5991         `tramp-flush-connection-property' for removed 2nd argument.
5993 2008-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5995         * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
5996         (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
5997         New functions.
5999 2008-03-15  Glenn Morris  <rgm@gnu.org>
6001         * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
6002         New functions.
6003         * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
6004         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6005         (diary-list-entries-1, diary-mark-entries-1): Autoload.
6006         (diary-bahai-list-entries): Use diary-list-entries-1.
6007         (diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.
6008         * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
6009         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6010         (diary-list-entries-1, diary-mark-entries-1): Autoload.
6011         (list-hebrew-diary-entries): Use diary-list-entries-1.
6012         (mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.
6013         * calendar/cal-islam.el (number, original-date, add-to-diary-list)
6014         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
6015         (diary-list-entries-1, diary-mark-entries-1): Autoload.
6016         (list-islamic-diary-entries): Use diary-list-entries-1.
6017         (mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.
6019         * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
6021         * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
6023         * calendar/cal-china.el (number-chinese-months)
6024         (calendar-chinese-from-absolute): Use nth, caar.
6026         * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
6028         * calendar/cal-french.el (french-calendar-accents): Doc fix.
6030         * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
6031         (calendar-hebrew-month-name-array-leap-year)
6032         (hebrew-calendar-parashiot-names): Make constants.
6033         (diary-parasha): Move definition after constants it uses.
6035         * calendar/cal-html.el (cal-html-insert-link-yearpage)
6036         (cal-html-htmlify-list): Doc fix.
6037         (cal-html-htmlify-entry): Use nth.
6039         * calendar/cal-islam.el (calendar-islamic-month-name-array)
6040         (calendar-islamic-epoch): Make constants.
6041         (calendar-islamic-epoch): Doc fix.
6043         * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6045         * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6046         (cal-tex-month-name): Doc fix.
6047         (cal-tex-last-blank-p): Use zerop.
6049         * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6050         (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6051         (calendar-cursor-to-date): Doc fix.
6052         (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6053         (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6054         (calendar-day-number): Use when.
6055         (generate-calendar-month): Use dotimes.
6056         (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6057         (calendar-set-mark): Reverse conditional.
6058         (calendar-make-alist): Move definition before use.
6060         * calendar/diary-lib.el (diary-face-attrs)
6061         (diary-glob-file-regexp-prefix, diary-selective-display)
6062         (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6063         (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6064         (diary-anniversary, diary-cyclic)
6065         (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6066         (diary-header-line-format): Change wording.
6067         (diary-list-entries): Set `date-start' in let.
6068         (include-other-diary-files, mark-included-diary-files): Use format.
6069         (simple-diary-display, fancy-diary-display): Use cadr, unless.
6070         (mark-diary-entries): Use 1+.
6071         (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6072         (mark-calendar-month): Use dotimes.
6074         * calendar/holidays.el (displayed-month, displayed-year):
6075         Move declarations where needed.
6076         (calendar-list-holidays): Doc fix.
6078         * calendar/parse-time.el (parse-time-string): Simplify.
6080         * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6081         Make constants.
6082         (solar-sunrise-sunset): Rename some local variables for clarity.
6083         (sunrise-sunset): Use zerop.
6084         (solar-mean-equinoxes/solstices): Doc fix.
6086         * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6087         Use nth.
6088         (timeclock-completing-read, timeclock-generate-report): Use zerop.
6089         (timeclock-mean, timeclock-generate-report): Use dolist.
6091         * calendar/todo-mode.el (todo-add-category): Simplify.
6092         (todo-more-important-p, todo-delete-item, todo-file-item):
6093         Use unless, when.
6094         (todo-top-priorities): Use zerop.
6096 2008-03-14  Nick Roberts  <nickrob@snap.net.nz>
6098         * buff-menu.el (list-buffers-noselect): Display buffer name in
6099         tooltip instead of mouse binding when it doesn't fit in the list.
6101 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6103         * faces.el (xw-defined-colors):
6104         * simple.el (widget-convert, shell-mode): Declare as functions
6105         instead of autoloading.
6107         * abbrev.el:
6108         * button.el:
6109         * cus-face.el:
6110         * ediff-hook.el:
6111         * emacs-lisp/backquote.el:
6112         * emacs-lisp/timer.el:
6113         * facemenu.el:
6114         * faces.el:
6115         * menu-bar.el:
6116         * simple.el:
6117         * subr.el:
6118         * textmodes/fill.el:
6119         * textmodes/paragraphs.el: Remove autoloads, redundant when the
6120         files are preloaded.
6122 2008-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6124         * desktop.el (desktop-create-buffer): Don't catch errors if
6125         debug-on-error is set.
6127 2008-03-14  Eli Zaretskii  <eliz@gnu.org>
6129         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6130         ($(lisp)/calendar/diary-loaddefs.el)
6131         ($(lisp)/calendar/hol-loaddefs.el): New targets.
6132         (LOADDEFS): New macro.
6133         (autoloads): Depend on $(LOADDEFS).
6135 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6137         * font-lock.el (featurep): Remove test, not useful anymore.
6138         (facemenu-keymap): Move key binding ...
6139         * facemenu.el (facemenu-keymap): ... here.
6141         * vc-bzr.el (vc-bzr-print-log): Insert a file marker.  Run the log
6142         for each file in the list.
6143         (vc-bzr-log-view-mode): Recognize the file marker.
6145         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6146         for checkdoc and profiling.
6148 2008-03-14  Bastien Guerry  <bzg@altern.org>
6150         * textmodes/flyspell.el (nxml-mode): Add the right
6151         `flyspell-mode-predicate'.
6153         * wid-edit.el (link): Use 'mouse-face for :follow-link.
6155 2008-03-14  Glenn Morris  <rgm@gnu.org>
6157         * calendar/solar.el: Reorder so that functions are defined before use.
6158         (displayed-month, displayed-year): Move declarations where needed.
6159         (solar-get-number): Move definition before use.  Use unless.
6160         (solar-equatorial-coordinates): Simplify.
6161         (solar-sunrise-and-sunset): Use let rather than let*.
6162         (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6164         * startup.el (command-line-1): Rename -internal-script back to
6165         -scriptload (reverts previous change).
6167         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6168         (calendar-bahai-leap-base): Add doc strings.
6169         (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6170         Move definition before use.
6171         (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6172         (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6173         variables outside the loop.  Use dolist.
6174         (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6176         * calendar/cal-china.el: Re-order so that functions are defined before
6177         use.
6178         (displayed-month, displayed-year): Move declarations where needed.
6179         (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6180         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6181         Add doc strings.
6182         (chinese-year-cache): Recenter on 2010.  Doc fix.
6183         (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6184         Doc fix.  Simplify.
6185         (chinese-year-cache-init): New function.
6186         (compute-chinese-year, holiday-chinese-new-year)
6187         (calendar-chinese-date-string, calendar-goto-chinese-date)
6188         (make-chinese-month-assoc-list): Use cadr, nth.
6189         (chinese-months): Remove un-needed let.
6191         * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6192         (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6193         (coptic-prompt-for-date): Move definition before use.
6195         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6196         (calendar-dst-find-data, calendar-daylight-time-offset)
6197         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6198         (calendar-daylight-savings-starts-time)
6199         (calendar-daylight-savings-ends-time): Use cadr, nth.
6201         * calendar/cal-french.el (french-calendar-epoch)
6202         (calendar-goto-french-date): Doc fix.
6203         (french-calendar-month-name-array)
6204         (french-calendar-multibyte-month-name-array)
6205         (french-calendar-day-name-array, french-calendar-special-days-array):
6206         Add doc strings.
6208         * calendar/cal-hebrew.el (displayed-month, displayed-year)
6209         (original-date): Move declarations where needed.
6210         (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6211         Doc fix.
6212         (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6213         constant variables outside the loop.  Use dolist.
6215         * calendar/cal-islam.el (displayed-month, displayed-year)
6216         (original-date): Move declarations where needed.
6217         (islamic-calendar-day-number): Remove unused local variable `day'.
6218         (calendar-goto-islamic-date): Doc fix.
6219         (holiday-islamic): Use unless.
6220         (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6221         constant variables outside the loop.  Use dolist.
6222         (mark-islamic-calendar-date-pattern): Move definition before use.
6223         Use unless.
6224         (mark-islamic-diary-entries): Doc fix.
6225         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6226         (insert-yearly-islamic-diary-entry): Use let rather than let*.
6228         * calendar/cal-julian.el (calendar-absolute-from-julian):
6229         Move definition before use.  Remove un-needed local `day'.
6230         (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6232         * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6233         (calendar-mayan-tzolkin-names-array): Add doc strings.
6234         (calendar-mayan-long-count-from-absolute): Use a single let.
6235         (calendar-string-to-mayan-long-count): Simplify.
6236         (calendar-next-haab-date, calendar-previous-haab-date)
6237         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6238         (calendar-previous-calendar-round-date)
6239         (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6240         Doc fix.
6241         (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6242         (calendar-mayan-date-string, calendar-print-mayan-date)
6243         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6244         (calendar-mayan-long-count-common-era): Move definitions before use.
6246         * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6247         (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6248         Doc fix.
6249         (calendar-mouse-goto-date): Move definition before use.
6251         * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6252         Move definition before use.
6253         (calendar-cursor-to-visible-date): Move definition before use.
6254         (calendar-scroll-left): Use unless and zerop.  Combine lets into one,
6255         and place inside the conditional.
6256         (calendar-forward-day): Simplify.
6257         (calendar-end-of-month): Use unless.
6258         (calendar-goto-day-of-year): Doc fix.
6259         Relocate obsolete aliases after their replacements.
6261         * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6263         * calendar/diary-lib.el (mark-diary-entries): Move some constant
6264         variables outside the diary-date-forms loop.
6266         * calendar/calendar.el (diary-file): Doc fix.
6267         (calendar-buffer-list): Return buffers rather than strings (fixes
6268         previous change).
6269         (hebrew-holidays-4): Fix typo.
6271         * calendar/holidays.el (displayed-month, displayed-year):
6272         Move declarations where needed.
6273         (calendar-holiday-list, calendar-list-holidays)
6274         (holiday-filter-visible-calendar): Move definitions before use.
6275         (list-holidays): Use cadr.
6276         Relocate obsolete aliases after their replacements.
6278         * calendar/lunar.el (date, displayed-month, displayed-year):
6279         Move declarations where needed.
6280         (lunar-phase-list): Move definition after functions it uses.
6281         (calendar-phases-of-moon, diary-phases-of-moon)
6282         (lunar-new-moon-on-or-after): Use cadr, nth.
6283         (lunar-new-moon-on-or-after): Doc fix.
6285         * textmodes/org-irc.el (top-level): CL not required when compiling.
6286         (org-irc-visit-erc): Replace runtime CL functions.
6288         * textmodes/org-publish.el (declare-function): Add compatibility stub.
6289         (org-publish-delete-dups): Declare as function.
6291 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6293         * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6294         (vc-bzr-show-log-entry): Make regexp match more cases.
6295         (vc-diff-switches-list): Remove autoload, not needed.
6297 2008-03-14  Juri Linkov  <juri@jurta.org>
6299         * isearch.el (isearch-edit-string): Remove one call to
6300         `isearch-push-state' not to push an inconsistent state,
6301         but keep another correct call to `isearch-push-state'.
6302         (isearch-ring-adjust): Call `isearch-push-state' only when
6303         `search-ring-update' is non-nil since `isearch-edit-string'
6304         already pushes its state.
6305         (isearch-message): Improve matching the failed part by checking
6306         if the original message starts with the last successful message.
6308         * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6309         (dired-perm-write): Rename from `dired-warn-writable'.
6310         Change parent face from `font-lock-warning-face' to
6311         `font-lock-comment-delimiter-face'.
6312         (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6313         (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6314         (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6315         with `dired-perm-write-face'.
6317 2008-03-13  Tassilo Horn  <tassilo@member.fsf.org>
6319         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6320         Create cache dir only if it doesn't already exist.
6322 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6324         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6325         of \ and '.
6327 2008-03-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6329         * net/browse-url.el (browse-url-text-xterm):
6330         Unquote browse-url-text-browser.
6332 2008-03-13  Carsten Dominik  <dominik@science.uva.nl>
6334         * textmodes/org-mouse.el: Version number change.
6336         * textmodes/org-publish.el (org-publish-expand-components):
6337         Remove null projects from the list of components.
6338         (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6339         Remove unused retrieval of the :publishing-directory property.
6340         (org-publish-file): Bugfix: when using a relative directory as the
6341         publishing directory, convert it to a directory filename.
6342         (org-publish-project): New alias.
6343         (org-publish-get-files): Protect against empty p.
6344         (org-publish-file): Send an error when file is not part of any project.
6345         (org-publish-file): Offer to refresh the list of files in known
6346         project when the current file is not part of any project.
6347         (org-publish-before-export-hook)
6348         (org-publish-after-export-hook): New hooks.
6349         (org-publish-org-to): Use new hooks and kill buffers.
6350         (org-publish-file): Remove the code for killing buffers.
6351         (org-publish-initialize-files-alist): Use interactive.
6352         (org-publish-file): If the publishing function creates a new
6353         buffer, kill it after publishing.
6354         (org-publish-timestamp-filename): Protect ":" in file name path
6355         under windows.
6357         * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6358         change that killed the LaTeX buffer.
6360         * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6361         in the decision tree.
6362         (org-select-remember-template): Clean the code.
6363         (org-prepare-dblock): Add the extra :content parameter.
6364         (org-write-agenda): New output type ".ics" files.
6365         (org-write-agenda): Call `org-icalendar-verify-function', both for
6366         time stamps and for TODO entries.
6367         (org-agenda-collect-markers, org-create-marker-find-array)
6368         (org-check-agenda-marker-table): New functions.
6369         (org-agenda-marker-table): New variable.
6370         (org-export-as-html): Revert the change that killed the html
6371         buffer.  Side effects first need to be studied carefully.
6372         (org-get-tags-at): Fix the structure of the condition-case statement.
6373         (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6374         (org-timestamp-change): Fix regulear expressions to swallow the
6375         extra character for repeat-shift control.
6376         (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6377         (org-get-legal-level): Alias to `org-get-valid-level'.
6378         (org-dblock-write:clocktable): Add a :link parameter, linking
6379         headlines to their location in the Org agenda files.
6380         (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6381         throwing an error when getting tags before headlines.
6382         (org-timestamp-change, org-modify-ts-extra)
6383         (org-ts-regexp1): Fix timestamp editing.
6384         (org-agenda-custom-commands-local-options): New constant.
6385         (org-agenda-custom-commands):
6386         Use `org-agenda-custom-commands-local-options' to improve customize
6387         type.  "htmlize": Removed hack to fix face problem with htmlize,
6388         it no longer seem necessary.
6389         (org-follow-link-hook): New hook.
6390         (org-agenda-custom-commands): Add "Component" as a tag for each
6391         item in a command serie.
6392         (org-open-at-point): Run `org-follow-link-hook'.
6393         (org-agenda-schedule): Bugfix: don't display marker type when it
6394         is nil.
6395         (org-store-link): org-irc required.
6396         (org-set-regexps-and-options): Parse the new logging options.
6397         (org-extract-log-state-settings): New function.
6398         (org-todo): Handle the new ways of recording state change stuff.
6399         (org-local-logging): New function.
6400         (org-columns-open-link): Fix bug with opening link in column view.
6401         (org-local-logging): New function
6402         (org-todo): Make sure that LOGGING properties are honoured.
6403         (org-todo-keywords): Improve docstring.
6404         (org-startup-options): Cleanup startup options.
6405         (org-set-regexps-and-options): Process the "!" markers.
6406         (org-todo): Respect the new logging stuff.
6407         (org-log-note-how): New variable.
6408         (org-add-log-maybe): New parameter HOW that defines how logging
6409         should be done and also overrides PURPOSE.  Add a docstring.
6410         (org-add-log-note): Check if we really need to ask for a note.
6411         (org-get-current-options): Digest the new keyword.
6412         (org-agenda-reset-markers): Rename from
6413         `org-agenda-maybe-reset-markers'.  Remove FORCE argument.
6414         (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6415         function, without force argument.
6416         (org-buffer-property-keys): Bind local variables s and p.
6417         (org-make-tags-matcher): Allow "" to match an empty or
6418         non-existent property value.
6419         (org-export-as-html): Join unsorted lists when they directly
6420         follow each other.  Such lists may be created by headlines that
6421         are converted to lists.
6422         (org-nofm-to-completion): New function.
6423         (org-export-as-html): Use :html-extension instead of
6424         org-export-html-extension.
6425         (org-store-link): Support for links from `rmail-summary-mode'.
6426         (org-columns-new, org-complete, org-set-property): Set the
6427         `include-columns' argument in the call to
6428         `org-buffer-property-keys'.
6429         (org-buffer-property-keys): New argument `include-columns', to
6430         include properties expected by any of the COLUMS formats in the
6431         current buffer.
6432         (org-cleaned-string-for-export): Get rid of drawers first, so that
6433         they will be removed also in the text before the first headline.
6434         (org-clock-report): Show the clocktable when found.
6435         (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6436         (org-version): With prefix argument, insert `org-version' at point.
6437         (org-agenda-goto): Recenter the window after finding the target
6438         location, to make sure the correct position will be displayed.
6439         (org-agenda-get-deadlines): Don't scale priority with the warning
6440         period.
6441         (org-insert-heading): Don't break line in the middle of the line.
6442         (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6443         be 0.
6444         (org-update-checkbox-count): Revamp to deal with hierarchical
6445         beckboxes.  This was a patch from Miguel A. Figueroa-Villanueva.
6446         (org-remove-timestamp-with-keyword): New function.
6447         (org-schedule, org-deadline):
6448         Use `org-remove-timestamp-with-keyword' to make sure all such time
6449         stamps are removed.
6450         (org-mode): Support for `align'.
6451         (org-agenda-get-deadlines): Make sure priorities increase as the
6452         due date approaches and is passed.
6453         (org-remember-apply-template): Fix problem with tags that
6454         contain "_" or "@".
6455         (org-make-link-regexps): Improve the regular expression for plain links.
6456         (org-agenda-get-closed): List each clocking entry.
6457         (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6458         (org-special-ctrl-k): New option.
6459         (org-kill-line): New function.
6460         (org-archive-all-done): Fix incorrect number of stars in regexp.
6461         (org-refile-get-location): New function.
6462         (org-refile-goto-last-stored): New function.
6463         (org-global-tags-completion-table): Add the value of org-tag-alist
6464         in each buffer, to make sure that also unused tags will be
6465         available for completion.
6466         (org-columns-edit-value)
6467         (org-columns-next-allowed-value): Only update if not in agenda.
6468         (org-clocktable-steps): New function.
6469         (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6470         (org-archive-subtree): Add the outline tree context as a property.
6471         (org-closest-date): New optional argument `prefer'.
6472         (org-goto-auto-isearch): New option.
6473         (org-goto-map, org-get-location): Implement auto-isearch.
6474         (org-goto-local-auto-isearch-map): New variable.
6475         (org-goto-local-search-forward-headings)
6476         (org-goto-local-auto-isearch): New functions.
6478 2008-03-13  Philip Jackson  <emacs@shellarchive.co.uk>
6480         * textmodes/org-irc.el: New file.
6482 2008-03-13  John Wiegley  <johnw@gnu.org>
6484         * textmodes/org-mac-message.el: New file.
6486 2008-03-13  Dan Nicolaescu  <dann@ics.uci.edu>
6488         * font-lock.el (font-lock-comment-face): Set the foreground for
6489         the light background 8 colors case.
6491 2008-03-13  Glenn Morris  <rgm@gnu.org>
6493         * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6494         generate-autoload-cookie patterns.
6496         * startup.el (command-line-1): Rename -scriptload to -internal-script.
6498         * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6499         (MH_E_SRC): Remove variable.
6500         ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6501         Simplify file header.  Use $@ for generated-autoload-file.
6503         * Makefile.in (LOADDEFS): New variable.
6504         (AUTOGENEL): Use $LOADDEFS.
6505         (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6506         ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6507         ($(lisp)/calendar/hol-loaddefs.el): New targets.
6508         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6509         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6510         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6511         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6512         * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6513         * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6514         Add calendar-specific autoload cookies, and remove any setting of
6515         generated-autoload-file.
6516         * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6517         * calendar/diary-lib.el: Replace explicit autoloads with reading of
6518         diary-loaddefs.
6519         * calendar/holidays.el: Replace explicit autoloads with reading of
6520         hol-loaddefs.
6522         * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6523         (calendar-buffer-list): Simplify.
6524         (generate-calendar-window): Use calendar-mark-holidays rather than
6525         obsolete alias.
6527         * calendar/cal-hebrew.el (list-yahrzeit-dates):
6528         Use cal-hebrew-yahrzeit-buffer.
6530         * calendar/cal-x.el (calendar-only-one-frame-setup)
6531         (calendar-two-frame-setup): Doc fixes.
6532         (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6534         * calendar/appt.el (appt-mode-string): Mark as risky.
6535         (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6537         * calendar/cal-html.el (diary-list-entries):
6538         * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6539         (calendar-iso-from-absolute): Fix autoloads.
6541         * calendar/cal-iso.el (calendar-absolute-from-iso)
6542         (calendar-iso-read-args): Simplify.
6543         (calendar-iso-date-string, calendar-iso-read-args)
6544         (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6546         * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6547         (displayed-month, displayed-year): Move declarations where needed.
6548         (calendar-print-astro-day-number): Doc fix.
6550         * calendar/cal-persia.el (persian-calendar-month-name-array)
6551         (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6552         (persian-prompt-for-date): Remove local variable `today'.
6554         * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6556         * calendar/solar.el (solar-moment, solar-exact-local-noon)
6557         (solar-sunrise-sunset, solar-sunrise-sunset-string)
6558         (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6559         (diary-sabbath-candles, solar-equinoxes/solstices)
6560         (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6561         (solar-time-equation, solar-date-to-et): Simplify.
6563         * mail/supercite.el: Remove the `function' in `(function (lambda'.
6564         Replace `(car (cdr' with cadr'.
6566         * progmodes/f90.el (f90-font-lock-n): New function.
6567         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6568         Use f90-font-lock-n.
6569         (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6571         * progmodes/f90.el (f90-mode-abbrev-table):
6572         * progmodes/fortran.el (fortran-mode-abbrev-table):
6573         Use newer form of define-abbrev, where supported.  No need to bind
6574         abbrevs-changed for system abbrevs.
6576 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6578         * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6579         delete-frame-functions.
6581         * bookmark.el (Info-current-node): Remove.
6583 2008-03-12  Juri Linkov  <juri@jurta.org>
6585         * help.el (describe-project): Remove defaliases for view-todo and
6586         describe-project that are now unnecessary after the merge from
6587         emacs--rel--22 that added define-obsolete-function-alias.
6589         * startup.el (inhibit-startup-screen): Revert incomplete
6590         2008-03-10 merge from emacs--rel--22 that partly reverted
6591         2008-02-28 change that added initial message to *scratch* buffer
6592         regardless of the value of `inhibit-startup-screen'.
6593         Now keep this change in the trunk, but not in the 22 branch.
6595 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6597         * international/quail.el (quail-setup-completion-buf, quail-help):
6598         * mail/binhex.el (binhex-decode-region-internal):
6599         * mail/uudecode.el (uudecode-decode-region-internal):
6600         * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6601         * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6602         setting default-enable-multibyte-characters.
6604         * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6606         * comint.el: Fix up indentation and comment style.  Remove `function'.
6608         * international/mule-cmds.el (reset-language-environment)
6609         (set-language-environment-nonascii-translation):
6610         Don't set-unibyte-charset.
6612         * doc-view.el: Remove all cb-args, use closures instead.
6613         (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6614         doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6615         doing an incorrect check).  Update all callers to use the new name.
6616         (doc-view-doc->txt): Add missing `txt' argument.
6618 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6620         * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6621         md5 sum calculation to single-byte.
6623 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6625         * doc-view.el (doc-view-new-window-function): Add assertion.
6626         (doc-view-doc-type): New var.
6627         (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6628         (doc-view-intersection): New fun.
6629         (doc-view-mode): Use it to set the new var.
6631 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6633         * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6634         (doc-view-already-converted-p): New functions.
6635         (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6636         (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6637         (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6638         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6639         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6640         (doc-view-convert-current-doc): Don't hardwire the functions the
6641         sentinels call.  Now they're provided by two args CALLBACK and
6642         CB-ARGS to the functions.
6643         (doc-view-search): Use doc-view-doc->txt.
6644         (doc-view-initiate-display): Use doc-view-already-converted-p.
6645         Mention new binding C-c C-t if doc-view-mode doesn't work.
6647 2008-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6649         * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6651 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6653         * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6654         Mark " outside of tags as punctuation.
6656 2008-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6658         * menu-bar.el (minibuffer-local-map): Use the same command for the
6659         "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6660         Prefer RET over C-j for exit-minibuffer.
6662         * files.el (display-buffer-other-frame): Eliminate problematic code.
6664         * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6665         (menu-bar-select-buffer): Remove.
6666         (menu-bar-select-frame): Make non-interactive and take a frame arg.
6667         (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6669 2008-03-11  Juanma Barranquero  <lekktu@gmail.com>
6671         * icomplete.el (icomplete-completions): Remove obsolete code.
6673         * net/net-utils.el (iwconfig-program-options): Doc fix.
6674         (net-utils-run-program, run-network-program): Define as functions.
6676 2008-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
6678         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6680 2008-03-11  Glenn Morris  <rgm@gnu.org>
6682         * faces.el (mode-line-emphasis): New face.
6683         * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6685         * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6687 2008-03-11  Chong Yidong  <cyd@stupidchicken.com>
6689         * simple.el (set-mark-command): Doc fix.
6691 2008-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6693         * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6695         * emacs-lisp/autoload.el (autoload-find-destination):
6696         Don't force raw-text.
6698         * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6699         * calendar/cal-loaddefs.el: Don't version control.
6701 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6703         * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6704         entries and add :help to the existing ones.
6706 2008-03-10  Glenn Morris  <rgm@gnu.org>
6708         * calendar/cal-hebrew.el (date, entry, number): Move declarations
6709         to where they are needed.
6711         * calendar/calendar.el (diary-file, hebrew-holidays-1)
6712         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6713         (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6714         (calendar-version): Doc fixes.
6715         (calendar-absolute-from-gregorian): Use zerop.
6716         (calendar-mode-line-format): Make it a defcustom.
6718         * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6719         (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6720         (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6721         (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6722         (mark-included-diary-files, mark-calendar-days-named)
6723         (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6724         (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6725         (insert-monthly-diary-entry, insert-yearly-diary-entry)
6726         (insert-anniversary-diary-entry, insert-block-diary-entry)
6727         (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6728         (diary-font-lock-sexps): Doc fixes.
6729         (diary-remind-message, mark-calendar-month): Use zerop.
6730         (diary-attrtype-convert, diary-pull-attrs): Simplify.
6731         (diary-list-entries): Revert let to let* (previous change).
6733         * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6735 2008-03-10  Kim F. Storm  <storm@cua.dk>
6737         * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6738         function aliases for the old names.
6740 2008-03-10  Juanma Barranquero  <lekktu@gmail.com>
6742         * iswitchb.el (iswitchb-use-faces): Doc fix.
6743         (iswitchb-buffer-ignore, iswitchb-read-buffer):
6744         Fix typos in docstrings.
6746 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6748         * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6749         Fix typo.
6750         (verilog-type-font-keywords): Reindent.
6752 2008-03-10  Michael McNamara  <mac@mail.brushroad.com>
6754         * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6755         grouping-keyword regular expression.
6756         (verilog-font-lock-keywords): Allow users to toggle special
6757         highlight of grouping-keywords.
6758         (verilog-highlight-grouping-keywords): The toggle for special
6759         highlighting of grouping keywords.
6761 2008-03-10  Juri Linkov  <juri@jurta.org>
6763         * startup.el: Revert 2008-02-28 change that adds initial message
6764         to *scratch* buffer regardless of the value of
6765         `inhibit-startup-screen'.
6767 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6769         * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6770         * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6771         * progmodes/verilog-mode.el (verilog-mode):
6772         * net/socks.el (socks):
6773         * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6775 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6777         * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6778         (doc-view-bookmark-make-record): Use them.
6779         (doc-view-bookmark-jump): Use them.  Fix find-file ->find-file-noselect.
6780         (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6782         * bookmark.el (bookmark-make-record-function): Change expected return
6783         value to include a suggested bookmark name.
6784         (bookmark-make): Split into bookmark-make-record and bookmark-store.
6785         Fix reversed `overwrite' semantics.
6786         (bookmark-set): Call bookmark-make-record before prompting the user.
6787         Then pass the result to bookmark-store later on.
6788         (bookmark-make-name-function): Remove.
6789         (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6790         * info.el (bookmark-make-name-function): Remove.
6791         (Info-mode): Don't set it.
6792         (Info-bookmark-make-name): Remove.
6793         (Info-bookmark-make-record): Use Info-current-node as suggested default
6794         bookmark name.
6796         * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6797         I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6798         (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6799         (bookmark-annotation-buffer, bookmark-annotation-file)
6800         (bookmark-annotation-point, bookmark-send-annotation)
6801         (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6802         (bookmark-edit-annotation-text-func): Rename from
6803         bookmark-read-annotation-text-func.  Keep old name as an obsolete alias.
6804         (bookmark-edit-annotation-mode-map): Move initialization into
6805         declaration.
6807         * bookmark.el: Remove spurious * in docstrings.
6808         (bookmark-minibuffer-read-name-map): New var.
6809         (bookmark-set): Use it.  Also pass the default value as it should.
6810         (bookmark-send-edited-annotation): Take no chances with text properties.
6811         (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6812         (bookmark-insert-buffer-name): Remove.
6813         (bookmark-buffer-file-name): Signal an error rather than returning nil.
6815 2008-03-09  Thomas Hühn  <xf27@arcor.de>  (tiny change)
6817         * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6819 2008-03-09  Dan Nicolaescu  <dann@ics.uci.edu>
6821         * diff-mode.el (diff-mode-menu): Add :help.
6823 2008-03-09  Glenn Morris  <rgm@gnu.org>
6825         * calendar/calendar.el (general-holidays, oriental-holidays)
6826         (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6827         (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6828         (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6829         (calendar-holidays): Restore autoload cookies, because people are
6830         used to using these variables without loading calendar.el.
6832         * calendar/cal-islam.el (diary-islamic-date): Move to end.
6833         (date, number): Declare where needed.
6835         * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6836         (list-sexp-diary-entries): Doc fixes.
6837         (diary-list-entries): Doc fix.  Remove free variable `entry'.
6838         (fancy-diary-display): Use dolist, bobp.  Remove free variable `entry'.
6839         Simplify setting of `date-holiday-list'.
6840         (mark-diary-entries): Remove free variable `entry'.
6841         (diary-list-entries, include-other-diary-files, fancy-diary-display):
6842         Use let where let* is not needed.
6844 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6846         * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6847         make-record function, instead paste it in afterwards.
6848         (bookmark-make-record-for-text-file):
6849         * doc-view.el (doc-view-bookmark-make-record):
6850         * info.el (Info-bookmark-make-record): Don't mess with annotations.
6852 2008-03-08  Glenn Morris  <rgm@gnu.org>
6854         * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6856 2008-03-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6858         * calendar/diary-lib.el (diary-list-entries)
6859         (include-other-diary-files, mark-diary-entries)
6860         (mark-sexp-diary-entries, mark-included-diary-files)
6861         (diary-entry-time, list-sexp-diary-entries): Remove the special
6862         handling of ^M that dates back to the use of selective-display.
6863         (simple-diary-display): Obey setting of pop-up-frames.
6864         (body, entry): Remove unnecessary declarations.
6866         * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6867         (bookmark-get-annotation, bookmark-set-annotation)
6868         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6869         (bookmark-set-position, bookmark-get-front-context-string)
6870         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6871         (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6872         * info.el (Info-bookmark-make-record): Don't bother recording point.
6873         (bookmark-get-filename, bookmark-get-front-context-string)
6874         (bookmark-get-rear-context-string, bookmark-get-position):
6875         Don't declare any more.
6876         (bookmark-get-info-node): Remove.
6877         (bookmark-prop-get): Declare.
6878         (Info-bookmark-jump): Use it.
6880 2008-03-08  Johan BockgÃ¥rd  <bojohan@gnu.org>
6882         * subr.el (while-no-input): Don't splice BODY directly into the
6883         `or' form.
6885 2008-03-08  Dan Nicolaescu  <dann@ics.uci.edu>
6887         * diff-mode.el (diff-ignore-whitespace-hunk):
6888         Bind inhibit-read-only before trying to change the buffer.
6890 2008-03-08  Glenn Morris  <rgm@gnu.org>
6892         * calendar/appt.el (appt): Move custom group here from calendar.el.
6893         (appt-disp-window, appt-convert-time): Doc fixes.
6895         * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
6896         (calendar-bahai-mark-date-pattern):
6897         * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
6898         * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
6899         * calendar/cal-julian.el (calendar-absolute-from-julian):
6900         * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
6902         * calendar/cal-china.el (chinese-calendar): Move custom group here from
6903         calendar.el.
6904         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6905         Make constants.
6906         (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
6907         (chinese-calendar-daylight-savings-starts)
6908         (chinese-calendar-daylight-savings-ends)
6909         (chinese-calendar-daylight-savings-starts-time)
6910         (chinese-calendar-daylight-savings-ends-time)
6911         (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
6912         Doc fixes.
6914         * calendar/cal-coptic.el (coptic-name): Add doc string.
6916         * calendar/cal-french.el (french-calendar-month-name-array)
6917         (french-calendar-day-name-array, french-calendar-special-days-array):
6918         Add doc strings.
6920         * calendar/cal-bahai.el (diary-bahai-mark-entries)
6921         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6922         (diary-bahai-insert-yearly-entry):
6923         * calendar/cal-dst.el (calendar-next-time-zone-transition)
6924         (calendar-time-zone):
6925         * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
6926         (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
6927         (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
6928         (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
6929         (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
6930         * calendar/cal-islam.el (islamic-calendar-leap-year-p)
6931         (list-islamic-diary-entries, mark-islamic-diary-entries)
6932         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6933         (insert-yearly-islamic-diary-entry):
6934         * calendar/cal-iso.el (calendar-iso-read-args):
6935         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6936         (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
6937         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6938         (calendar-next-calendar-round-date)
6939         (calendar-mayan-long-count-common-era):
6940         * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
6941         (cal-menu-x-popup-menu, calendar-mouse-holidays)
6942         (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
6943         (calendar-mouse-goto-date):
6944         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
6945         * calendar/holidays.el (holidays):
6946         * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
6947         * calendar/time-date.el (date-to-time, time-subtract, time-add)
6948         (safe-date-to-time): Doc fixes.
6950         * calendar/cal-persia.el (persian-calendar-month-name-array)
6951         (persian-calendar-epoch): Make constants.
6953         * calendar/cal-tex.el (calendar-tex): Move custom group here from
6954         calendar.el.
6956         * calendar/cal-x.el (diary-frame-parameters)
6957         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6958         (calendar-after-frame-setup-hooks): Make defcustoms.
6959         (calendar-one-frame-setup, calendar-only-one-frame-setup)
6960         (calendar-two-frame-setup): Doc fix.
6962         * calendar/cal-loaddefs.el: New file.
6964         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6965         * calendar/cal-french.el, calendar/cal-html.el:
6966         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6967         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6968         * calendar/cal-tex.el, calendar/cal-x.el:
6969         Unquote lambda functions.  Add autoload cookies to functions formerly
6970         autoloaded in calendar.el.  Set `generated-autoload-file' to
6971         "cal-loaddefs.el".
6973         * calendar/calendar.el: Move many autoloads to separate file,
6974         cal-loaddefs.el.  Move defcustoms to start and re-order.
6975         (calendar-month-name-array, calendar-starred-day): No need to
6976         declare for compiler.
6977         (cal-loaddefs): Require it.
6978         (appt, chinese-calendar, calendar-tex): Move custom groups to the
6979         appropriate file.
6980         (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
6981         Reverse logic.
6982         (diary-face, diary-file-name-prefix-function, diary-include-string)
6983         (diary-glob-file-regexp-prefix, diary-face-attrs)
6984         (diary-file-name-prefix, sexp-diary-entry-symbol)
6985         (print-diary-entries-hook, list-diary-entries-hook)
6986         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6987         (nongregorian-diary-marking-hook, diary-list-include-blanks):
6988         Move to diary-lib.
6989         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6990         (all-bahai-calendar-holidays): Doc fix.
6991         (calendar-insert-indented): Doc fix.  Use when rather than if.
6992         (exit-calendar): Use mapc rather than mapcar.
6993         (calendar-cursor-to-date): Use zerop.
6994         (calendar-mark-ring): Add doc-string.
6995         (calendar-starred-day): Defvar it.
6996         (calendar-mode): Make calendar-starred-day local.
6997         (calendar-star-date): No need to make calendar-starred-day local.
6999         * calendar/diary-lib.el: Move defcustoms to start.
7000         (diary-include-string, diary-list-include-blanks)
7001         (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
7002         (diary-file-name-prefix, diary-file-name-prefix-function)
7003         (sexp-diary-entry-symbol, list-diary-entries-hook)
7004         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
7005         (nongregorian-diary-marking-hook, print-diary-entries-hook):
7006         Move here from calendar.el.
7007         (diary-file-name-prefix-function): Use 'identity.
7008         (diary-face): Make it a defcustom, and mark as obsolete.
7009         (top-level): No need to require cal-hebrew, cal-islam when compiling.
7010         (calendar-hebrew-month-name-array-leap-year)
7011         (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
7012         Define for compiler.
7013         (diary-font-lock-keywords): Use format rather than concat.
7014         Add bahai-diary-entry-symbol.
7016         * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
7017         * calendar/solar.el: Unquote lambda functions.
7019         * calendar/solar.el (calendar-location-name, calendar-latitude)
7020         (calendar-longitude, solar-setup, solar-sin-degrees)
7021         (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
7022         (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
7023         (solar-sunrise-and-sunset, solar-moment, solar-daylight)
7024         (solar-exact-local-noon, solar-julian-ut-centuries)
7025         (solar-ephemeris-time, solar-date-next-longitude)
7026         (solar-horizontal-coordinates, solar-equatorial-coordinates)
7027         (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
7028         (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
7029         (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
7030         Doc fixes.
7031         (solar-horizontal-coordinates, solar-equatorial-coordinates)
7032         (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
7033         (solar-ecliptic-coordinates): Use unless.
7034         (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
7035         Use or.
7037         * calendar/timeclock.el: Add doc-strings to all functions.
7038         (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
7039         (timeclock-entry-list-length, timeclock-entry-list-projects)
7040         (timeclock-day-list-projects, timeclock-day-list): Use dolist.
7042         * calendar/todo-mode.el: Remove un-needed eval-when-compile.
7044         * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7045         (org-get-entries-from-diary): Require diary-lib.
7047 2008-03-08  Juanma Barranquero  <lekktu@gmail.com>
7049         * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7050         Pacify byte-compiler.
7052 2008-03-07  Alan Mackenzie  <acm@muc.de>
7054         * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7055         paren/bracket pairs parsed, to solve performance problem.
7057 2008-03-07  Bastien Guerry  <bzg@altern.org>
7059         * bookmark.el (bookmark-set): Don't check for
7060         `bookmark-make-name-function' since `bookmark-buffer-file-name'
7061         already takes care of this.
7062         (bookmark-buffer-name, bookmark-buffer-file-name):
7063         Remove Info-mode specific code.
7065         * info.el (bookmark-get-info-node): Define this function in
7066         info.el, not in bookmark.el.
7067         (Info-mode): Set `bookmark-make-name-function' to
7068         `Info-bookmark-make-name' locally.
7069         (Info-bookmark-make-name): New function.
7071         * bookmark.el (bookmark-make-name-function): New variable.
7073 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
7075         * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7076         buffer-local, not `bookmark-make-cell-function' (the old name).
7078 2008-03-07  Tassilo Horn  <tassilo@member.fsf.org>
7080         * doc-view.el (doc-view-bookmark-make-record):
7081         * image-mode.el (image-bookmark-make-record):
7082         * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7084 2008-03-07  Jan Djärv  <jan.h.d@swipnet.se>
7086         * vc.el (vc-status-menu-map-filter): Return orig-binding if
7087         boundp 'vc-ignore-menu-filter.
7088         (vc-status-tool-bar-map): Make it defvar.
7089         (vc-status-mode): vc-status-tool-bar-map now variable.
7090         (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7092 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
7094         Give a better name to part of the bookmark interface.
7096         This was originally a much larger change, but halfway through I
7097         updated and discovered that Stefan Monnier had done the rest.
7098         It looks like he anticipated the new name too, because he used
7099         `the-record' instead of `the-cell' for some internal variable names.
7101         * bookmark.el (bookmark-make-record-function): Was
7102         `bookmark-make-cell-function'.
7103         (bookmark-make, bookmark-send-annotation): Update for above.
7104         (bookmark-make-record-for-text-file):
7105         Was `bookmark-make-cell-for-text-file'.  Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7107         * info.el: Adjust accordingly.
7108         (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7110         * image-mode.el: Adjust accordingly.
7111         (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7113         * doc-view.el: Adjust accordingly.
7114         (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7116 2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7118         * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7119         Move initialization into declaration.
7120         (bookmark-get-info-node, bookmark-set-info-node): Remove.
7121         (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7122         (bookmark-info-current-node): Remove.
7123         (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7124         Add relocation fallback.  Set bookmark-current-bookmark.
7125         (bookmark-default-handler): Rename from bookmark-jump-noselect.
7126         Remove relocation fallback.  Don't set bookmark-current-bookmark.
7127         (bookmark-set): Let it be used even if there's no buffer-file-name
7128         as long as there is a bookmark-make-cell-function.
7129         * info.el (Info-bookmark-jump): Remove relocation fallback.
7130         Don't set bookmark-current-bookmark.
7132 2008-03-07  Glenn Morris  <rgm@gnu.org>
7134         * calendar/appt.el (appt-issue-message)
7135         (appt-message-warning-time, appt-audible, appt-visible)
7136         (appt-msg-window, appt-display-mode-line, appt-display-duration)
7137         (appt-display-diary): Remove autoload cookies.
7139         * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7140         Remove leading `*' from defcustom doc-strings.
7142         * calendar/cal-dst.el (calendar-dst): New custom group.
7143         (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7144         (calendar-time-zone, calendar-daylight-time-offset)
7145         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7146         (calendar-daylight-savings-starts-time)
7147         (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7148         (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7149         Move to start.
7151         * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7153         * calendar/calendar.el (calendar-version): Use emacs-version and
7154         make it obsolete.  Move to end.
7155         (calendar-offset, view-diary-entries-initially)
7156         (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7157         (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7158         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7159         (all-bahai-calendar-holidays, calendar-load-hook)
7160         (initial-calendar-window-hook, today-visible-calendar-hook)
7161         (today-invisible-calendar-hook, calendar-move-hook)
7162         (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7163         (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7164         (diary-include-string, sexp-diary-entry-symbol)
7165         (abbreviated-calendar-year, american-date-diary-pattern)
7166         (european-date-diary-pattern, european-calendar-display-form)
7167         (american-calendar-display-form, print-diary-entries-hook)
7168         (list-diary-entries-hook, diary-hook, diary-display-hook)
7169         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7170         (nongregorian-diary-marking-hook, diary-list-include-blanks)
7171         (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7172         (local-holidays, other-holidays, hebrew-holidays-1)
7173         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7174         (hebrew-holidays, christian-holidays, islamic-holidays)
7175         (bahai-holidays, solar-holidays, calendar-setup)
7176         (calendar-week-start-day): Remove autoload cookies.
7177         (diary-glob-file-regexp-prefix): Doc fix.
7178         (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7179         (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7180         (calendar-week-start-day, calendar-debug-sexp): Move to start.
7182         * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7183         (calendar-time-display-form, calendar-latitude)
7184         (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7185         cookies.
7186         (calendar-latitude, calendar-longitude): Move functions after
7187         variables.
7188         (diary-sabbath-candles-minutes): Move to start.
7189         (solar-setup): Use or rather than if.
7190         (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7191         Remove condition-case.
7192         (solar-atn2): Use zerop.
7193         (solar-equinoxes-solstices): Doc fix.
7195         * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7196         (sc-mode-map-prefix): Doc fix.  Make it a defcustom.
7198         * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7199         (calendar-longitude, calendar-latitude, calendar-location-name):
7200         Declare for compiler.
7202 2008-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7204         * arc-mode.el (archive-ar-file-header-re): New const.
7205         (archive-ar-summarize, archive-ar-extract): New funs.
7206         (archive-find-type): Recognize ar archives.
7208         * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7209         New functions.
7211         * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7213 2008-03-06  Lennart Borgman  <lennart.borgman@gmail.com>
7215         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7216         Replace :enable (mark-active) with :enable mark-active.
7218 2008-03-06  Juanma Barranquero  <lekktu@gmail.com>
7220         * vms-patch.el (make-legal-file-name): New obsolete alias.
7221         (make-valid-file-name): Rename from `make-legal-file-name'.
7222         (make-auto-save-file-name): Use it.
7224         * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7225         (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7226         (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7228         * textmodes/org.el (org-export-html-style): Doc fix.
7229         (org-get-legal-level): New obsolete alias.
7230         (org-get-valid-level): Rename from `org-get-legal-level'.
7231         (org-promote, org-demote, org-archive-subtree)
7232         (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7234 2008-03-06  Jan Djärv  <jan.h.d@swipnet.se>
7236         * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7238         * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7239         (vc-status-toggle-mark): New functions.
7240         (vc-status-mode): Set tool bar map.
7242 2008-03-05  Chong Yidong  <cyd@stupidchicken.com>
7244         * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7245         Reported by Drew Adams <drew.adams@oracle.com>.
7247 2008-03-05  Kenichi Handa  <handa@ni.aist.go.jp>
7249         * subr.el (read-quoted-char): Resolve modifers of the character
7250         event.
7252         * comint.el (comint-exec-1): Don't change the coding-system for
7253         decoding to dos-like EOL.
7254         (comint-carriage-motion): Fully rewrite.
7256 2008-03-05  Juanma Barranquero  <lekktu@gmail.com>
7258         * epg.el (epg-context-include-certs): Reflow docstring.
7259         (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7260         (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7261         (epg-context-set-signers, epg-context-set-sig-notations)
7262         (epg-make-import-status, epg-make-import-result)
7263         (epg-start-delete-keys): Fix typos in docstrings.
7264         (epg-start-sign-keys, epg-sign-keys):
7265         Fix typos in obsolescence declarations.
7267         * iswitchb.el: Don't check for `cadr' and `last'.
7268         (iswitchb-define-mode-map, iswitchb-default-keybindings):
7269         Add obsolescence declaration and remove redundant info from docstring.
7270         (iswitchb-set-common-completion, iswitchb-set-matches)
7271         (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7272         (recentf-list, most-len, most-is-exact):
7273         Don't wrap defvars within `eval-when-compile'.
7275 2008-03-05  Glenn Morris  <rgm@gnu.org>
7277         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7278         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7279         * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7280         * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7281         ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7283         * ediff-hook.el (ediff-window-setup-function): Don't autoload
7284         declaration for compiler.
7285         (ediff-xemacs-init-menus): Use when rather than if.
7287         * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7288         if+and to just and.
7289         (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7290         (ediff-delete-overlay): Move the XEmacs test inside the definition.
7292         * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7294         * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7295         test inside XEmacs test.
7296         (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7297         since it was doing nothing on Emacs.
7298         (ediff-make-bullet-proof-overlay): Use when rather than if.
7300         * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7301         (ediff-setup-control-frame): Remove
7302         ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7303         a (featurep 'xemacs) test.
7305 2008-03-05  Jay Belanger  <jay.p.belanger@gmail.com>
7307         * calc/calc-ext.el (calc-extended-command-history): New variable.
7308         (calc-exectute-extended-command): Use `calc-extended-command-history'.
7310 2008-03-05  Dan Nicolaescu  <dann@ics.uci.edu>
7312         * bindings.el (mode-line-remote): Add mouse-face.  Improve tooltip.
7313         (standard-mode-line-position): Add mouse-face.
7315         * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7316         * progmodes/grep.el (grep-mode-map): Add :help.
7318         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7319         initialize in one step.  Add :help.  Use :enable to activate menu
7320         items.  Show the key binding for edebug-defun.
7321         (lisp-interaction-mode-map): Add a menu.
7323         * term.el (term-mode-map): Define and initialize in one step.
7325         * ediff-init.el (ediff-color-display-p): Simplify.
7326         (Xor): Remove unused function.
7327         (ediff-with-syntax-table): Simplify for Emacs.
7329         * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7330         menu-bar being loaded, it always is.
7332 2008-03-05  Glenn Morris  <rgm@gnu.org>
7334         * textmodes/tex-mode.el (tex-mode): Suppress warning about
7335         multiple definitions when compiling.
7337 2008-03-04  Alan Mackenzie  <acm@muc.de>
7339         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7341         * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7342         doc-string, "c-old-LEN" -> "c-old-END".
7344 2008-03-04  Jason Rumney  <jasonr@gnu.org>
7346         * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7347         namespaces.
7349 2008-03-04  Glenn Morris  <rgm@gnu.org>
7351         * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7353         * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7354         than mapcar.
7356 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7358         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7359         (byte-compile-nilconstp): Can't use recursion in a defsubst.
7361         * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7362         so that M-q can fill comments.
7363         (tex-executable-exists-p, tex-compile): Extend with special syntax for
7364         commands implemented in elisp.
7365         (tex-compile-commands): Add an entry to use doc-view for pdf files.
7366         (tex-format-cmd): New function.
7367         (tex-compile): Use it to let the user specify default arguments.
7368         (tex-cmd-bibtex-args): New var.
7369         (tex-cmd-doc-view): New function.
7371 2008-03-03  Juanma Barranquero  <lekktu@gmail.com>
7373         * faces.el (face-spec-set): Fix typos in docstring.
7375 2008-03-03  Dan Nicolaescu  <dann@ics.uci.edu>
7377         * bindings.el (mode-line-column-line-number-mode-map): New variable.
7378         (standard-mode-line-position): Use it to add a menu for toggling
7379         column number and line number display.
7381 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7383         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7384         Remove optimization that was working around the form-code-walker bug.
7386         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7387         Walk into the body of lambdas after byte-compile-unfold-lambda.
7389 2008-03-03  Glenn Morris  <rgm@gnu.org>
7391         * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7392         value, if set, over frame value.
7394         * simple.el (transient-mark-mode): Don't turn on by default.
7396         * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7397         accidentally removed by the 2007-12-05 merge from Gnus.
7399 2008-03-02  Dan Nicolaescu  <dann@ics.uci.edu>
7401         * progmodes/compile.el (compilation-menu-map): Add menu entries
7402         for useful options.
7404 2008-03-01  Dan Nicolaescu  <dann@ics.uci.edu>
7405             Glenn Morris  <rgm@gnu.org>
7407         * emacs-lisp/bytecomp.el (byte-recompile-directory)
7408         (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7409         Give a `bytecomp-' prefix to local variables with common names.
7411 2008-03-01  Glenn Morris  <rgm@gnu.org>
7413         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7414         code commented out 2007-11-10.
7416         * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7418         * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7419         Delete macro.
7420         * emulation/viper-cmd.el, emulation/viper-ex.el:
7421         * emulation/viper-init.el, emulation/viper-keym.el:
7422         * emulation/viper-mous.el, emulation/viper-util.el:
7423         * emulation/viper.el:
7424         Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7425         featurep test.
7427         Replace obselete frame-local variables with frame-parameters.
7428         * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7429         (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7430         (viper-vi-state-cursor-color): Only call make-variable-frame-local
7431         on XEmacs.
7432         * emulation/viper-util.el (viper-frame-value): New macro.
7433         * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7434         (viper-R-state-post-command-sentinel)
7435         (viper-replace-state-post-command-sentinel)
7436         (viper-change-state-to-insert, viper-change-state-to-emacs):
7437         * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7438         (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7439         (viper-get-saved-cursor-color-in-insert-mode)
7440         (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7441         Use viper-frame-value for viper-replace-overlay-cursor-color,
7442         viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7443         viper-vi-state-cursor-color values.
7445         * emulation/viper-cmd.el (zmacs-region-stays):
7446         * emulation/viper-util.el (zmacs-region-stays): No need to define
7447         for compiler.
7449         * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7450         mapcar on Emacs.
7452         * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7453         on XEmacs.
7455         * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7456         rather than if.
7458 2008-03-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7460         * whitespace.el: New version 9.3.  As the glyph code generation was
7461         fixed, it is possible now to use character code above ?\x1FFFF in the
7462         display table.  Fix `whitespace-indentation-regexp' to not include an
7463         extra ending character.  Reported by Michael Welsh Duggan
7464         <mwd@cert.org>.  Added hook actions when buffer is written or killed as
7465         the original whitespace package had.  Suggested by Eric Cooper
7466         <ecc@cmu.edu>.  Doc fix.
7467         (whitespace-action): New option.
7468         (whitespace-display-mappings): Changed default newline visualization to
7469         display downwards arrow, as the glyph code generation was fixed.
7470         (whitespace-unload-function): Assure that all local whitespace mode is
7471         turned off.
7472         (whitespace-global-modes): Fix type customization.
7473         (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7474         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7475         (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7476         Fix code.
7477         (whitespace-buffer): Command removed.
7478         (whitespace-trailing-regexp, whitespace-mark-x)
7479         (whitespace-display-window, whitespace-action-when-on)
7480         (whitespace-add-local-hook, whitespace-remove-local-hook)
7481         (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7482         (whitespace-action): New funs.
7483         (whitespace-report-list, whitespace-report-text)
7484         (whitespace-report-buffer-name): New consts.
7485         (whitespace-report, whitespace-report-region): New commands.
7487 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7489         * disp-table.el (make-glyph-code): Don't test the result of
7490         `face-id', which already signals an error for invalid faces.
7491         (glyph-face): Simplify.
7493         * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7494         running `desktop-not-loaded-hook' to allow modifying it.
7495         Don't show warning message if `desktop-dirname' was modified.
7497 2008-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7499         * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7500         we still expect more lines.
7502         * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7503         comment-paragraph filling if the commark doesn't match
7504         comment-start-skip.
7506 2008-03-01  Daiki Ueno  <ueno@unixuser.org>
7508         * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7509         the `imap' variant.
7511 2008-03-01  Jason Rumney  <jasonr@gnu.org>
7513         * files.el (make-auto-save-file-name): Encode more characters in
7514         non-file buffer names.  Use url-encoding.
7516 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7518         * net/net-utils.el (ftp-program): Fix typo in docstring.
7519         (ifconfig-program-options, netstat-program-options)
7520         (arp-program-options, route-program-options, nslookup-program-options)
7521         (ftp-program-options, smbclient-program-options)
7522         (dns-lookup-program-options, arp, route): Doc fixes.
7524         * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7525         (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7526         (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7527         Fix typos in docstrings.
7528         (gdb-pending-triggers): Reflow docstring.
7529         (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7531 2008-03-01  Alan Mackenzie  <acm@muc.de>
7533         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7534         typing "#" at EOB.
7536 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7538         * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7540 2008-02-29  Kim F. Storm  <storm@cua.dk>
7542         * emulation/cua-base.el (cua-remap-control-v)
7543         (cua-remap-control-z): New defcustoms.
7544         (cua-mode): Add them to set-after property.
7545         (cua--init-keymaps): Use them.
7546         Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7548         * help.el (view-emacs-todo): Rename from view-todo.
7549         (describe-gnu-project): Rename from describe-project.  Users changed.
7550         (view-help-file): New helper function.
7551         (describe-distribution, describe-copying, describe-gnu-project)
7552         (view-todo, view-order-manuals, view-emacs-problems): Use it.
7553         (view-emacs-debugging, view-external-packages): New commands.
7554         (help-map): Move describe-distribution to C-h C-o (ordering).
7555         Move view-emacs-problems to C-h C-p (problems).
7556         Bind view-emacs-debugging to C-h C-d (debugging).
7557         Bind view-external-packages to C-h C-e (extras).
7558         (help-for-help-internal): Cleanup and align descriptions.
7559         Remove command names to reduce clutter.
7561 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7563         * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7564         and quieter face (not a warning).
7566 2008-02-29  Dan Nicolaescu  <dann@ics.uci.edu>
7568         * vc.el (vc-status-crt-marked): New variable.
7569         (vc-status-mode): Make it local.
7570         (vc-status-refresh): Use it to save the marked files.
7571         (vc-update-vc-status-buffer): Use it to restore the marked files.
7573         * vc-svn.el (vc-svn-after-dir-status):
7574         * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7576 2008-02-29  Glenn Morris  <rgm@gnu.org>
7578         * allout.el (allout-topic-encryption-bullet)
7579         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7580         (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7581         from 22.0 to 22.1.
7583         * net/imap.el (imap-ping-server):
7584         * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7585         Change defcustom :version from 23.0 to 23.1.
7587 2008-02-29  Juanma Barranquero  <lekktu@gmail.com>
7589         * desktop.el (desktop-save): Save the buffer name if the
7590         uniquified base name is empty.
7592 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7594         * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7595         correctly when user has "set print address off".
7597 2008-02-28  Juanma Barranquero  <lekktu@gmail.com>
7599         * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7600         version number of the next major Emacs release, not 23.0.
7602         * longlines.el (longlines-unload-function): New function.
7604 2008-02-28  Juri Linkov  <juri@jurta.org>
7606         * startup.el (normal-splash-screen): Add argument `concise'.
7607         Remove unused binding `prev-buffer'.  Let-bind `splash-buffer'
7608         to the created buffer.  If `concise' is non-nil, call
7609         `display-buffer', otherwise `switch-to-buffer'.  Doc fix.
7610         (display-startup-screen): Add argument `concise' to the call to
7611         `normal-splash-screen'.
7613 2008-02-28  Kim F. Storm  <storm@cua.dk>
7615         * startup.el (startup-echo-area-message): Check for about-emacs.
7617 2008-02-28  Juri Linkov  <juri@jurta.org>
7619         * startup.el: Always add initial message to *scratch* buffer if
7620         `initial-scratch-message' is non-nil regardless of the value of
7621         `inhibit-startup-screen'.
7622         (inhibit-startup-screen, initial-scratch-message): Doc fix.
7623         (command-line-1): Move code that inserts `initial-scratch-message'
7624         up before the if-form that checks for `inhibit-startup-screen'.
7625         Suggested by Jonathan Rockway <jon@jrock.us>.
7627 2008-02-28  Juri Linkov  <juri@jurta.org>
7629         * cus-edit.el (custom-mode-map, custom-mode-link-map):
7630         Rename `custom-mode' to `Custom-mode' in docstrings.
7631         (custom-buffer-create-internal, customize-browse):
7632         Rename `custom-mode' to `Custom-mode'.
7633         (custom-mode-hook): Rename to `Custom-mode-hook'.
7634         (Custom-mode-hook): Renamed from `custom-mode-hook'.
7635         (custom-mode): Rename to `Custom-mode'.
7636         (Custom-mode): Renamed from `custom-mode'.  Doc fix.
7637         (custom-mode): Add backward-compatible non-interactive variant of
7638         `Custom-mode' that simply calls `Custom-mode'.  Mark it obsoleted.
7639         (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7641         * info-look.el: Rename `custom-mode' to `Custom-mode'.
7643         * emulation/viper.el (viper-emacs-state-mode-list):
7644         Rename `custom-mode' to `Custom-mode'.
7646         * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7647         Capitalize "Tagged Files".
7648         (minibuffer-local-map): Add menu items for next/previous
7649         history elements and isearch history forward/backward.
7651         * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7652         `hs-isearch-open' with t instead of `comment' in :selected
7653         for "Code and Comment blocks" menu item.
7655 2008-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7657         * uniquify.el (uniquify-buffer-base-name): Undo last change.
7658         Should be done in desktop.el instead.
7660 2008-02-28  Glenn Morris  <rgm@gnu.org>
7662         * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7664         * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7666         * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7667         (Info-menu, Info-goto-node): Remove declarations.
7668         (report-emacs-bug-info): Use info rather than Info-goto-node.
7670         * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7671         (idlwave-convert-xml-system-routine-info): Don't require xml.
7672         (idlwave-show-commentary, idlwave-shell-show-commentary):
7673         Don't require finder.
7674         (idlwave-info): Don't require info.  Use info rather than
7675         Info-goto-node.
7677         * textmodes/org.el (Info-goto-node): Remove declaration.
7678         (org-info): Use info rather than Info-goto-node.
7680         * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7681         (reftex-info): Don't require info.  Use info rather than Info-goto-node.
7683 2008-02-28  Dan Nicolaescu  <dann@ics.uci.edu>
7685         * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7686         the menu.
7688         * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7689         (vc-finish-logentry): Check for vc-status-mode, not only for
7690         vc-dired-mode.
7692 2008-02-28  Kenichi Handa  <handa@ni.aist.go.jp>
7694         * isearch.el (isearch-printing-char): Don't check
7695         keyboard-coding-system.
7696         Call isearch-process-search-multibyte-characters only when
7697         current-input-method is non-nil.
7699 2008-02-27  Kim F. Storm  <storm@cua.dk>
7701         * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7702         (glyph-char, glyph-face): Handle cons encoding.
7704 2008-02-27  Juanma Barranquero  <lekktu@gmail.com>
7706         * uniquify.el (uniquify-buffer-base-name): If the base name is an
7707         empty string, return nil to allow the caller to default to the
7708         buffer name.  Reported by Martin Fischer <parozusa@web.de>.
7710         * tool-bar.el (tool-bar-setup): Doc fix.
7712         * mail/supercite.el (sc-describe):
7713         Fix typos in obsolescence declaration.
7715 2008-02-27  Glenn Morris  <rgm@gnu.org>
7717         * autoinsert.el (auto-insert-alist): Change permission text to
7718         match FSF's GPLv3 form.
7720         * mail/supercite.el (sc-cite-original): Doc fix.
7721         (sc-version): Make obsolete.
7722         (sc-describe): Show the SC info page.  Make obsolete.
7724 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7726         * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7727         when using transient-mark-mode.
7728         (default-indicate-unused-lines): Remove unused var.
7730 2008-02-26  Jan Djärv  <jan.h.d@swipnet.se>
7732         * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7733         and previous.
7735         * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7737 2008-02-26  Glenn Morris  <rgm@gnu.org>
7739         * net/net-utils.el (top-level): Don't require comint when compiling.
7740         (nslookup-font-lock-keywords): Don't require font-lock.
7741         Use font-lock faces rather than variables.
7742         (nslookup, ftp, smbclient, network-service-connection):
7743         Don't require comint.
7744         (comint-prompt-regexp, comint-input-autoexpand)
7745         (comint-input-ring): Declare for compiler.
7746         (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7747         (dns-lookup-host): Don't require ffap.  Remove `with-no-warnings'.
7749         * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7750         doc-string.
7752 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7754         * doc-view.el (doc-view-current-page): Add a `win' argument.
7756 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7758         * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7759         Demote it to plain defvar.
7760         (doc-view-conversion-refresh-interval): Reduce interval.
7761         (doc-view-goto-page): Allow moving to pages not yet rendered.
7762         (doc-view-goto-page): Construct a file name rather than extracting it
7763         from doc-view-current-files.
7764         (doc-view-kill-proc): Ignore errors from kill-process.
7765         (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7766         (doc-view-insert-image): Use appropriate text if the page hasn't been
7767         rendered yet.  Adjust scrolling so the text is displayed.
7768         (doc-view-display): Detect not just that a page is available, but also
7769         that it wasn't available before, so as to avoid refreshing all pages
7770         repeatedly.
7771         (doc-view-mode): Make doc-view-cache-directory if needed.
7773 2008-02-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
7775         * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7776         toggle-read-only.
7778         * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7779         refering to a missing required field with the OPT prefix.
7780         Make unwindform more robust.
7782         * textmodes/bibtex.el: Remove support for hideshow minor mode as
7783         it duplicates the bibtex support in progmodes/hideshow.el.
7784         * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7785         entries that do not start at the beginning of a line.
7787 2008-02-25  Chong Yidong  <cyd@stupidchicken.com>
7789         * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7791 2008-02-25  Robert J. Chassell  <bob@rattlesnake.com>
7793         * help-fns.el (describe-variable): Add phrases about
7794         initialization file with and without customization;
7795         use new button type help-info-variable.
7797         * help-mode.el (help-info-variable):
7798         New button able to read Info files for help-fns.el.
7800 2008-02-25  Jan Djärv  <jan.h.d@swipnet.se>
7802         * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7803         (grep-mode): Use grep-mode-tool-bar-map.
7805         * progmodes/compile.el (tool-bar): Require tool-bar.
7806         (compilation-mode-tool-bar-map): New variable.
7807         (compilation-mode): Use compilation-mode-tool-bar-map.
7809         * term/x-win.el (x-gtk-stock-map): Add cancel.  Remove extensions.
7811 2008-02-25  Glenn Morris  <rgm@gnu.org>
7813         * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7815 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7817         * diff-mode.el (diff-file-junk-re): New const.
7818         (diff-beginning-of-file-and-junk): Use it.
7819         (diff-file-kill): Make sure we were really inside a file diff.
7821         * diff-mode.el: Make it more robust in the presence of empty context
7822         lines in unified hunks.
7823         (diff-valid-unified-empty-line): New var.
7824         (diff-unified->context, diff-sanity-check-hunk): Obey it.
7825         (diff-end-of-hunk): Obey it.  New arg `donttrustheader'.
7826         (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7827         (diff-hunk-header-re-unified): New const.
7828         (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7829         (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7830         (diff-sanity-check-hunk): Use it.
7832         * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7833         Index: line, don't search backward for the previous one.
7835 2008-02-25  Kenichi Handa  <handa@ni.aist.go.jp>
7837         * international/fontset.el (setup-default-fontset): Add non-OTF
7838         lao font for lao script.
7840         * language/tibetan.el: Register tibetan-composition-function in
7841         composition-function-table.
7843         * language/tibet-util.el (tibetan-composition-function):
7844         Adjust for the new calling way (argument changed).  Try font-shape-text
7845         if possible.
7847         * language/lao.el: Register lao-composition-function in
7848         composition-function-table.
7850         * language/lao-util.el (lao-composition-function): Adjust for the new
7851         calling way (argument changed).  Try font-shape-text if possible.
7853 2008-02-25  Jason Rumney  <jasonr@gnu.org>
7855         * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7857 2008-02-25  Juri Linkov  <juri@jurta.org>
7859         * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7860         background, "red4" for a dark background, "red" for 16 and
7861         8 colors, "grey" for grayscale, and inverse video otherwise.
7862         Add :version tag.
7863         (isearch-message): Keep the original isearch-message intact, and
7864         add text properties to it where necessary.  Add `isearch-error' to
7865         the condition that checks if isearch is unsuccessful.
7867 2008-02-24  Juri Linkov  <juri@jurta.org>
7869         * progmodes/compile.el (compilation-handle-exit):
7870         Use compilation-error face instead of font-lock-warning-face.
7871         Display the same message in the minibuffer as is inserted
7872         at the end of the compilation buffer.
7874 2008-02-24  Glenn Morris  <rgm@gnu.org>
7876         * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7877         multiple file case.
7879         * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7881         * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7882         multiple file case.  Use a single `let' rather than two.
7884 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7886         * progmodes/compile.el (compilation-start): Specify a face for
7887         mode-line-process.
7888         (compilation-handle-exit): Specify a face and a tooltip for
7889         mode-line-process.
7891 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7893         * hilit-chg.el: Remove spurious * in defcustom docstrings.
7894         (hilit-chg-make-ov): Simplify.
7895         (hilit-chg-fixup): Use remove-overlays.
7896         (hilit-chg-set-face-on-change): Remove redundant call to
7897         `remove-text-properties'.
7899         * dired.el (dired-mark-prompt): Don't count/display the t element.
7900         Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
7902 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7904         * progmodes/verilog-mode.el (eval-when-compile): Don't define
7905         add-submenu.
7906         (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
7907         Remove.  Move contents to the only use ...
7908         (verilog-menu): ... here.
7909         (verilog-statement-menu): Remove.  Move contents to the only use ...
7910         (verilog-stmt-menu): ... here.
7911         (verilog-mark-defun): Simply call mark-defun for emacs.
7912         (occur-pos-list): Declare for byte compiler.
7913         (mode-popup-menu): Don't defvar.
7914         (verilog-add-statement-menu): Remove.
7915         (verilog-mode-hook): Don't add verilog-add-statement-menu.
7916         (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
7918 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
7920         * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
7921         conditional.
7922         (verilog-font-grouping-keywords-face): Make the begin..end
7923         keywords standout more than other verilog keywords.
7924         (verilog-type-font-keywords): Move the begin..end out of this list
7925         to facilitate making them to (potentially) stand out more.
7926         (verilog-backward-token): Fix indent of bare always{_*}?, initial,
7927         function & task blocks.
7928         (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
7929         initial, function & task blocks.
7930         (verilog-forward-sexp): Handle the new "disable fork" statement of
7931         IEEE-1800 Verilog.
7932         (verilog-beg-block-re-ordered): Handle the new "disable fork"
7933         statement of IEEE-1800 Verilog.
7934         (verilog-calc-1): Handle the new "disable fork" statement of
7935         IEEE-1800 Verilog.
7936         (verilog-disable-fork-re): Add const to help handle the new
7937         "disable fork" statement of IEEE-1800 Verilog.
7938         (verilog-declaration-core-re): Add port directions by themselves,
7939         with no qualification, as base item of a declaration.
7940         (verilog-pretty-declarations): Add new flag to ask it to refrain
7941         from printing to the message buffer.
7942         (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
7943         printing to the message buffer.  Improve handling of the many
7944         types of expression line up.
7945         (verilog-just-one-space): Remove printing of an empty message.
7946         (verilog-get-lineup-indent): Rework to support the better handling
7947         of expression lineup for verilog-pretty-expr.
7948         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7950 2008-02-24  Alan Mackenzie  <acm@muc.de>
7952         * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
7953         yesterday's commit.
7955 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
7957         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
7958         to mouse-set-point in buffers that aren't associated with files.
7960         * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
7962 2008-02-24  Alan Mackenzie  <acm@muc.de>
7964         Set of changes so that "obtrusive" syntactic elements in a
7965         C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
7966         unmatched paren) don't interact syntactically with stuff outside
7967         the CPP line.
7969         * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
7970         Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
7971         off-by-one bug.
7972         (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
7973         a bit of refactoring.
7974         (c-awk-extend-and-syntax-tablify-region): Takes some of the
7975         functionality of c-awk-advise-fl-for-awk-region, which has been
7976         refactored away.
7978         * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
7979         (c-clear-char-property-with-value): New function and macro which
7980         remove text-properties `equal' to a supplied value.
7982         * progmodes/cc-engine.el: Comment about text properties amended.
7984         * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
7985         parens around "error\\|warning".
7987         * progmodes/cc-langs.el (c-get-state-before-change-function)
7988         (c-before-font-lock-function, c-anchored-cpp-prefix):
7989         New language variables.
7990         (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
7992         * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
7993         syntax-table text properties.
7994         (c-common-init): Call language specific before/after-change
7995         functions at mode initialisation.
7996         (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
7997         (c-extend-region-for-CPP, c-neutralize-CPP-line)
7998         (c-neutralize-syntax-in-CPP): New functions.
7999         (c-before-change, c-after-change): Call the new language specific
8000         change functions defined in cc-langs.el.
8001         (c-advise-fl-for-region): New macro.
8002         (awk-mode): Remove AWK specific stuff which has been refactored
8003         into language independent stuff.
8005 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
8007         * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
8008         (gdb): (Re)set gdb-flush-pending-output to nil here...
8009         (gdb-init-1): ...instead of here (before gdb-prompt).
8011 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8013         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
8014         Recognize ''' just like any other char-constant.
8016 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8018         * vc-hooks.el (vc-find-root): Remove initial loop because it's not
8019         careful enough.  Detect the uid-change all within the main loop.
8021 2008-02-24  Stefan Monnier  <monnier@pastel.home>
8023         * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
8025 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8027         * hilit-chg.el (highlight-save-buffer-state): New macro.
8028         (highlight-save-buffer-state, hilit-chg-set-face-on-change)
8029         (hilit-chg-clear): Use it to preserve the modified-p flag.
8030         (highlight-changes-rotate-faces): Don't mess with the undo-list.
8032 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8034         * font-lock.el (font-lock-set-defaults): Unset previously set variables
8035         when needed.
8037 2008-02-24  Ã†var Arnfjörð Bjarmason  <avar@cpan.org>  (tiny change)
8039         * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
8040         from gnus-button-url-regexp.
8042 2008-02-24  Eli Zaretskii  <eliz@gnu.org>
8044         * progmodes/compile.el (compilation-next-error): Doc fix.
8045         (compilation-find-file): Doc fix.
8047 2008-02-24  Glenn Morris  <rgm@gnu.org>
8049         * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8050         Add obsolete aliases to the old names.
8052 2008-02-24  Richard Stallman  <rms@gnu.org>
8054         * net/net-utils.el (ifconfig): Rename from ipconfig.
8055         (ipconfig): Alias to ifconfig.
8056         (ifconfig-program): Rename from ipconfig-program.
8057         (ifconfig-program-options): Rename from ipconfig-program-options.
8059 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
8061         * progmodes/verilog-mode.el (verilog-declaration-core-re):
8062         Add port directions by themselves, with no qualification, as base
8063         item of a declaration.
8064         (verilog-pretty-declarations): Add new flag that inhibits printing
8065         to the message buffer.
8066         (verilog-pretty-expr): Add new flag that inhibits printing to the
8067         message buffer.  Improve handling of the many types of expression
8068         line up.
8069         (verilog-just-one-space): Don't print an empty message.
8070         (verilog-get-lineup-indent): Rework to support the better handling
8071         of expression lineup for verilog-pretty-expr.
8072         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8073         (verilog-mode-version, verilog-mode-release-date): Update.
8075 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8077         * subr.el (cancel-change-group): Don't move point.
8079 2008-02-23  Markus Triska  <markus.triska@gmx.at>
8081         * linum.el (linum-after-config): Update all visible windows.
8083 2008-02-23  Glenn Morris  <rgm@gnu.org>
8085         * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8086         Add :help for Solitaire and Tetris.
8088         * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8090         * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8091         (smtpmail-code-conv-from): Doc fix.  Fix custom type.
8092         (smtpmail-queue-index-file): Make it a defcustom.
8093         (smtpmail-queue-index): Delete.
8094         (smtpmail-send-it, smtpmail-send-queued-mail):
8095         Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8096         smtpmail-queue-index.
8098         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8099         Add :version.
8101 2008-02-23  Yoni Rabkin  <yoni@rabkins.net>  (tiny change)
8103         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8104         New variables.
8105         (iwconfig): New function.
8107 2008-02-23  Dan Nicolaescu  <dann@ics.uci.edu>
8109         * vc.el (vc-find-revision): Make vc-parent-buffer local before
8110         setting it.
8111         (vc-status-menu-map): Do not define using easy-menu.
8112         (vc-status-menu-map): New defalias.
8113         (vc-status-mode-map): Hook up the menu.
8114         (top-level): Update TODO.
8116         * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8118         * vc-bzr.el (vc-bzr-init-version): Rename to ...
8119         (vc-bzr-init-revision): ... this.
8121 2008-02-23  Jason Rumney  <jasonr@gnu.org>
8123         * makefile.w32-in (WINS_ALMOST): Remove term.
8124         (WINS): Add term here.
8125         (custom-deps, finder-data): Use WINS_ALMOST.
8127 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
8129         * faces.el (font-weight-table): Fix value of `semi-light'.
8131 2008-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8133         * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8134         Make those tables bijective.
8136 2008-02-22  Ken Manheimer  <ken.manheimer@gmail.com>
8138         Finish pdbtrack integration cleanup, settling missing-functions
8139         byte compiler warnings appropriately.
8141         * progmodes/python.el (python-point): Remove this - beginning-of-line
8142         was all that was necessary for `python-pdbtrack-overlay-arrow'.
8143         (python-end-of-def-or-class, python-beginning-of-def-or-class)
8144         (python-goto-initial-line): Drop these - they were only needed for
8145         python-point.
8146         (python-comint-output-filter-function): Use condition-case and
8147         beginning-of-line directly, instead of python-mode.el functions
8148         which require all sorts of baggage.
8149         (point-safe): Unnecessary - we're using condition-case directly,
8150         instead.
8151         (python-execute-file): Include for python-shell, which I'm leaving
8152         in keeping despite it being unnecessary for pdb tracking.
8154 2008-02-22  Peter Danenberg  <pcd@wikitex.org>  (tiny change)
8156         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8157         Add SRFI 11 support.
8158         (let-values, let*-values): Specify scheme-indent-function.
8160 2008-02-22  Dan Nicolaescu  <dann@ics.uci.edu>
8162         * vc.el (vc-exec-after): Move setting mode-line-process in the
8163         busy case ...
8164         (vc-set-mode-line-busy-indicator): ... in this new function.
8165         (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8166         (vc-update-vc-status-buffer): Reset mode-line-process.
8167         (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8168         mark/unmark all the files with the same state as the current one.
8169         With a prefix argument mark/unmark all files.
8170         (vc-status-mode-menu): Adjust strings.
8171         (vc-update-vc-status-buffer): Only do something when the argument
8172         is not nil.
8173         (vc-status-kill-dir-status-process): New function.
8174         (vc-status-mode-map): Bind it.
8175         (vc-status-process-buffer): New variable.
8176         (vc-status-mode): Make it local.
8177         (vc-status-refresh): Set it.
8179         * vc-hg.el (vc-hg-dir-status):
8180         * vc-git.el (vc-git-dir-status):
8181         * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8182         command is run.
8184 2008-02-22  Glenn Morris  <rgm@gnu.org>
8186         * json.el (top-level): No need to require thingatpt.
8187         (json-read-keyword): Use thing-at-point rather than word-at-point.
8189         * time.el (top-level): No need to require time-date when compiling.
8191         * emacs-lisp/copyright.el (copyright-update-year):
8192         Fix subexpression numbering for the case when years are split over
8193         lines, and for the replace case.
8195         * emulation/tpu-edt.el (tpu-have-ispell): Doc fix.  Make obsolete.
8196         (tpu-caar, tpu-cadr): Delete functions.
8197         (zmacs-regions): No need to declare for compiler.
8198         (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8199         (tpu-spell-check): Rewrite, and handle mark after point.
8200         (tpu-special-insert): Use or rather than if.
8202         * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8203         rather than spell-region.
8205         * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8206         warnings about spell-region.
8208 2008-02-22  Kenichi Handa  <handa@ni.aist.go.jp>
8210         * ldefs-boot.el: Regenerated.
8212         * loadup.el: Don't load language/devanagari, language/kannanda,
8213         language/malayalam, and language/tamil.  Load language/sinhala.
8215         * language/indian.el (indian-font-foundry)
8216         (indian-script-language-alist, indian-font-char-index-table)
8217         (indian-font-char, indian-font-char-range, indian-script-table)
8218         (indian-default-script, indian-composable-pattern): Delete them.
8219         ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8220         language environments moved to here.
8221         ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8222         New language environments.
8224         * language/devanagari.el, language/devan-util.el,
8225         * language/kannanda.el, language/knd-util.el, language/malayalam.el,
8226         * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8227         Delete them.
8229         * language/sinhala.el: New file.
8231 2008-02-21  Ken Manheimer  <ken.manheimer@gmail.com>
8233         Update Nick Robert's port of pdb tracking from python-mode.el.
8235         * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8236         Clarify docstring.
8237         (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8238         tracking is happening.
8239         (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8240         (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8241         (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8242         Tracking is plugged in to all comint buffers once python.el is loaded.
8243         (python-pdbtrack-overlay-arrow): Toggle activation of
8244         `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8245         (python-pdbtrack-track-stack-file): Use new
8246         `python-pdbtrack-get-source-buffer' for more flexible access to
8247         debugging source files.
8248         (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8249         according to pdb stack trace, optionally using new
8250         `python-pdbtrack-grub-for-buffer' if file is not locally available.
8251         (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8252         named buffer, or having function with indicated name.
8253         (python-shell): Remove comint-output-filter-functions hook
8254         addition, it's being done elsewhere.  Wrap long line.
8256 2008-02-21  Michael Olson  <mwolson@gnu.org>
8258         * json.el: Replace XEmacs compatibility code to get rid of
8259         compiler warnings.
8261         * time.el: Fix compiler warning.
8263 2008-02-21  Edward O'Connor  <ted@oconnor.cx>
8265         * json.el: New file (JavaScript Object Notation parser / generator).
8267 2008-02-21  Dave Love  <fx@gnu.org>
8269         * progmodes/sym-comp.el: New file.
8271         * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8272         Require sym-comp.  Add Python buffer to same-window-buffer-names.
8273         Fixup whitespaces.
8274         (python-font-lock-keywords): Add highlighting for Python builtins.
8275         (python-font-lock-syntactic-keywords): Rewrite.
8276         (python-quote-syntax): Use syntax-ppss-context instead of parsing
8277         ppss directly.
8278         (python-mode-map): Add binding for python-find-function.
8279         (python-calculate-indentation): Clean up the logic.
8280         (python-beginning-of-defun): Explicitly set return value.
8281         (python-beginning-of-statement): Stop looping if we get stuck
8282         going backwards.
8283         (python-next-statement): Stop looping if we somehow end up inside
8284         a string while advancing.
8285         (python-preoutput-continuation, python-version-checked): New vars.
8286         (python-check-version): New function.
8287         (run-python): Set default command to python-command instead of
8288         python-python-command.
8289         (run-python): Use python-check-version.  Give PYTHONPATH
8290         precedence over data-directory in the process environment.
8291         Load function definitions in python process after.
8292         (python-check-comint-prompt): New function.
8293         (python-send-command, python-send-receive): Use it.
8294         (python-complete-symbol, python-try-complete): Functions deleted.
8295         Use symbol-complete instead of python-complete-symbol throughout.
8296         (python-fill-paragraph): Further refine the fenced-string regexp.
8297         (def-python-skeleton): Expand to the original abbrev instead if in
8298         a comment or string.  Tweak skeletons for `if', `while', `for',
8299         `try/except', `try/finally', `name'.
8300         (python-pea-hook, python-abbrev-pc-hook): New functions.
8301         (python-abbrev-syntax-table): New var.
8302         (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8303         Use symbol-completion-try-complete for hippie expansion.
8304         Turn on font lock unconditionally.
8305         (python-mode-hook): Defcustom it.  No need to use make-local
8306         variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8307         option, since it's buffer-local.
8309 2008-02-21  Juanma Barranquero  <lekktu@gmail.com>
8311         * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8313 2008-02-21  Drew Adams  <drew.adams@oracle.com>
8315         * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8316         "Turn off" and a "Help" entry when the minor mode has no menu.
8318 2008-02-21  Dan Nicolaescu  <dann@ics.uci.edu>
8320         * vc.el (vc-status-mark, vc-status-unmark): New functions.
8321         (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8322         vc-status-mark-file and vc-status-unmark-file.
8323         (vc-status-mark-unmark): New function.
8324         (vc-status-previous-line, vc-status-next-line): No longer interactive.
8326 2008-02-21  Glenn Morris  <rgm@gnu.org>
8328         * composite.el (encode-composition-rule): Fix typo in error message.
8329         (composition-function-table, auto-composition-mode): Doc fixes.
8331         * subr.el (sit-for): Fix obsolete form for nil second argument.
8333         * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8334         (spell-string): Make obsolete, in favor of ispell.
8336 2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
8338         * language/devanagari.el: Don't setup composition-function-table
8339         here.
8340         ("Devanagari"): Change charset, coding-system, coding-priority to
8341         Unicode-based ones.  Don't require the feature devan-util.
8343         * composite.el (compose-chars-after): Fix arguments for a function
8344         in composition-function-table.
8345         (auto-compose-region): Likewise.
8347         * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8348         for Ethiopic.
8349         (ps-mule-plot-string): Ignore glyph-string based compositions.
8351 2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8353         * doc-view.el: Allow different windows to show different pages.
8354         (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8355         (doc-view-current-image, doc-view-current-overlay): Remove variables,
8356         add them back as macros instead, using image-mode-winprops instead.
8357         Update all users of those variables.
8358         (doc-view-new-window-function): New function to create a new overlay
8359         for each new window.
8360         (doc-view-mode): Use it and image-mode-setup-winprops.
8361         (doc-view-clone-buffer-hook): Rewrite accordingly.
8363         * image-mode.el: Extend [hv]scroll support to per-window properties.
8364         (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8365         (image-mode-winprops-alist): New var to replace them.
8366         (image-mode-new-window-functions): New hook.
8367         (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8368         New funs.
8369         (image-set-window-vscroll, image-set-window-hscroll): Use them.
8370         Remove the `window' argument, update callers.
8371         (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8372         Use the new functions.
8373         (image-mode-reapply-winprops): New fun.
8374         (image-mode): Use it.
8376 2008-02-20  Jay Belanger  <jay.p.belanger@gmail.com>
8378         * calc/calc-math.el (math-sin-raw): Add optional argument
8379         to keep track of original argument.
8380         (math-cos-raw): Use optional argument when calling math-sin-raw.
8381         (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8382         with close to original precision.
8384 2008-02-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8386         * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8387         args in calls of sit-for.
8389 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
8391         * vc-svn.el (vc-svn-program): Fix typo in docstring.
8392         (vc-svn-checkin): Fix typo in error message.
8394         * help-mode.el: Require easymenu when compiling.
8396 2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
8398         * help-mode.el (help-mode-menu): New menu.
8400 2008-02-20  Glenn Morris  <rgm@gnu.org>
8402         * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8403         on Windows.
8405 2008-02-20  Kenichi Handa  <handa@ni.aist.go.jp>
8407         * ps-mule.el (ps-mule-encode-region): Return a single string.
8408         (ps-mule-plot-string): Adjust for the above change.
8409         (ps-mule-encode-header-string): Likewise.
8411         * international/latin1-disp.el (latin1-display): Don't use
8412         ucs-mule-8859-to-mule-unicode.  Fix the way of resetting
8413         standard-display-table.
8414         (latin1-display-identities): Adjust for the change of what is
8415         returned by (get-language-info charset 'charset).
8417         * international/mule-util.el (char-displayable-p): Fix for Latin-1
8418         characters and terminal case.
8420 2008-02-19  Ken Manheimer  <ken.manheimer@gmail.com>
8422         Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8424         * progmodes/python.el: Also require comint when loading.
8425         (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8426         Replace python-shell with run-python on menu bar.
8427         (python-shell-map): New map.
8428         (python-default-interpreter, python-python-command-args)
8429         (python-jython-command-args, python-pdbtrack-do-tracking-p):
8430         New options.
8431         (python-which-shell, python-which-args, python-which-bufname):
8432         New buffer local variables.
8433         (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8435         * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8436         (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8437         New constants.
8439         Pdbtrack features:
8441         (python-point, python-end-of-def-or-class)
8442         (python-beginning-of-def-or-class, python-goto-initial-line)
8443         (python-comint-output-filter-function)
8444         (python-pdbtrack-overlay-arrow)
8445         (python-pdbtrack-track-stack-file, python-toggle-shells)
8446         (python-shell, python-pdbtrack-toggle-stack-tracking)
8447         (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8448         New functions.
8450 2008-02-19  Katsumi Yamaoka  <yamaoka@jpl.org>
8452         * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8453         when the argument is nil.
8455 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8457         * vc.el (dir-status): Add a brief description.
8459 2008-02-19  Thien-Thi Nguyen  <ttn@gnuvola.org>
8461         * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8462         If non-nil, reverse the sense of the check.
8464         * vc-rcs.el (vc-rcs-root): New func.
8465         * vc-cvs.el (vc-cvs-root): New func.
8466         * vc-svn.el (vc-svn-root): New func.
8467         * vc-sccs.el (vc-sccs-root): New func.
8469 2008-02-18  Kenichi Handa  <handa@ni.aist.go.jp>
8471         * language/japan-util.el (setup-japanese-environment-internal):
8472         Call use-cjk-char-width-table.
8474         * language/japanese.el ("Japanese"): Set exit-function to
8475         use-default-char-width-table.
8477         * international/characters.el: Delete occurrences of non-Unicode
8478         tibetan and ethiopic characters.
8479         (cjk-char-width-table): New variable.
8480         (use-cjk-char-width-table, use-default-char-width-table):
8481         New functions.
8483 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8485         * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8486         (vc-status-mode-menu): Add a :filter.
8487         (vc-status-printer): Add faces.
8489         * vc-hg.el (vc-hg-extra-status-menu): New function.
8490         (vc-hg-dir-status): Clean up the buffer before using it.
8492 2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8494         * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8495         (gdb): Initialize it here instead.
8497         * files.el (locate-dominating-file): Fix thinko in last change.
8498         Reported by Bruce Stephens <bruce.stephens@isode.com>.
8500 2008-02-18  Dan Nicolaescu  <dann@ics.uci.edu>
8502         * vc.el (vc-status-mode-menu): New menu for vc-status.
8504 2008-02-18  Juanma Barranquero  <lekktu@gmail.com>
8506         * progmodes/verilog-mode.el (customize): Fix typo in error message.
8507         (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8508         (verilog-mode-auto, verilog-indent-level-module)
8509         (verilog-minimum-comment-distance, verilog-library-flags)
8510         (verilog-library-directories, verilog-library-files)
8511         (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8512         (verilog-xemacs-menu, verilog-set-compile-command)
8513         (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8514         (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8515         (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8516         (verilog-batch-inject-auto, verilog-batch-indent)
8517         (verilog-continued-line, verilog-type-keywords)
8518         (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8519         (verilog-read-inst-pins, verilog-read-arg-pins)
8520         (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8521         (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8522         (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8523         (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8524         (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8525         (verilog-mode-version, verilog-mode-release-date)
8526         (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8527         (verilog-simulator, verilog-compiler)
8528         (verilog-auto-sense-defines-constant, verilog-company)
8529         (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8530         Fix typos in docstrings.
8531         (verilog-set-auto-endcomments, verilog-calculate-indent)
8532         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8533         Reflow docstrings.
8534         (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8535         (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8536         (electric-verilog-forward-sexp, verilog-in-case-region-p)
8537         (verilog-in-struct-region-p, verilog-in-generate-region-p)
8538         (verilog-leap-to-head, verilog-current-indent-level)
8539         (verilog-case-indent-level, verilog-cpp-keywords)
8540         (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8541         (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8542         (verilog-signals-not-in, verilog-symbol-detick-text)
8543         (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8544         (verilog-forward-close-paren, verilog-backward-open-paren)
8545         (verilog-backward-open-bracket): Doc fixes.
8547         * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8548         (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8549         (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8550         (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8551         (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8552         Fix typos in docstrings.
8554         * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8556 2008-02-18  Bastien Guerry  <Bastien.Guerry@ens.fr>
8558         * info.el (Info-read-node-name): Removed unused `default' arg.
8560 2008-02-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
8562         * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8564 2008-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8566         * image-mode.el (image-get-display-property): New fun.
8567         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8568         (image-mode, image-minor-mode, image-toggle-display-text)
8569         (image-toggle-display): Use it.
8571 2008-02-18  Jason Rumney  <jasonr@gnu.org>
8573         * international/mule.el (xml-find-file-coding-system): Don't warn
8574         about utf-16 with BOM.
8576         * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8578         * international/mule.el (sgml-xml-auto-coding-function): Detect and
8579         warn if file encoding is not utf-8 and encoding not specified.
8580         (xml-find-file-coding-system): New function.
8581         * international/mule-conf.el (file-coding-system-alist): Use it.
8583 2008-02-17  Glenn Morris  <rgm@gnu.org>
8585         * international/mule-cmds.el (set-locale-environment):
8586         Pass `frame' to getenv for LC_MESSAGES.
8588 2008-02-17  Juri Linkov  <juri@jurta.org>
8590         * time.el (emacs-init-time): Use format instead of format-seconds.
8592 2008-02-17  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8594         * textmodes/bibtex.el (bibtex-search-entry): Rename from
8595         bibtex-find-entry.  Add autoload cookie.
8596         (bibtex-find-entry): Alias for bibtex-search-entry.
8597         (bibtex-search-crossref): Rename from bibtex-find-crossref.
8598         (bibtex-find-crossref): Alias for bibtex-search-crossref.
8599         (bibtex-clean-entry): atomic-change-group removed.
8600         (bibtex-format-entry): Use atomic-change-group.  Use unwind-protect
8601         to locate buffer location where error occurred.
8602         Make error messages more specific.
8603         (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8605 2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
8607         * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8608         top level.
8610         * simple.el (transient-mark-mode): Add an :init-value.
8612         * startup.el (command-line): Use custom-reevaluate-setting for
8613         transient-mark-mode.
8615 2008-02-17  Michaël Cadilhac  <michael@cadilhac.name>
8617         * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8619 2008-02-16  Juri Linkov  <juri@jurta.org>
8621         * startup.el (after-init-time): New variable.
8622         (command-line): Set `after-init-time' to the current time.
8624         * time.el (emacs-init-time): New function.
8626 2008-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8628         * files.el (locate-dominating-file): Remove initial loop because it's
8629         not careful enough.  Detect the uid-change all within the main loop.
8631 2008-02-16  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8633         * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8635 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8637         * vc.el (vc-annotate): Add new argument.
8638         (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8640         * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8641         Move make-variable-buffer-local code after the corresponding defvar.
8642         (hs-minor-mode-map): Define and initialize in one step.
8643         (hs-minor-mode): Change from defun to define-minor-mode.
8645 2008-02-16  Nick Roberts  <nickrob@snap.net.nz>
8647         * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8648         (gdb-ready): Move declaration...
8650         * progmodes/gdb-ui.el (gdb-ready): ...to here.
8651         (gdb-early-user-input): New variable.
8652         (gdb): Reset gdb-flush-pending-output to nil and set
8653         comint-input-sender here (before gdb-prompt), instead of...
8654         (gdb-init-1): ...here.
8655         (gdb-send): If Emacs is not ready, defer user input to...
8656         (gdb-prompt): ...here.
8658 2008-02-16  Glenn Morris  <rgm@gnu.org>
8660         * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8662         * startup.el (emacs-startup-time): Rename to `before-init-time'.
8663         (before-init-time): New name for `emacs-startup-time'.
8664         (command-line): Use before-init-time rather than emacs-startup-time.
8665         * time.el (emacs-uptime): Use before-init-time rather than
8666         emacs-startup-time.
8668         * composite.el (composition-function-table): Doc fix.
8670         * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8671         in favor of `%z' specifier.
8672         (emacs-uptime): Move to time.el.
8673         * time.el (emacs-uptime): Move here from time-date.el.  Add optional
8674         `format' argument.  Doc fix.  Use `%z' rather than removed `nonzero'
8675         argument of format-seconds.
8677 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8679         * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8681 2008-02-15  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8683         * ielm.el (ielm-is-whitespace): Remove.
8684         (ielm-is-whitespace-or-comment): New function.
8685         (ielm-eval-input): Use it.
8687 2008-02-15  Jason Rumney  <jasonr@gnu.org>
8689         * term/mac-win.el: Fix coding tag.
8691 2008-02-15  Dan Nicolaescu  <dann@ics.uci.edu>
8693         * vc-hooks.el (vc-menu-map):
8694         * bindings.el (mode-line-mode-menu): Add tooltips.
8696         * bindings.el (help-echo): Add more tooltips.  Use a less
8697         telegraphic style for existing tooltips.
8699 2008-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8701         * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8702         from the auto-generated one.
8704 2008-02-14  Glenn Morris  <rgm@gnu.org>
8706         * mail/rmail-spam-filter.el (rmail-spam-filter):
8707         Let-bind message-spam-status.
8709         * mail/smtpmail.el (password-cache-add): Declare as function.
8711 2008-02-14  Justus Piater  <Justus-bulk@Piater.name>  (tiny change)
8713         * mail/smtpmail.el: Use password-cache.
8715 2008-02-14  Juanma Barranquero  <lekktu@gmail.com>
8717         * uniquify.el (uniquify-buffer-base-name): New function.
8718         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8720         * desktop.el (uniquify-managed): Don't defvar.
8721         (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8722         `uniquify-managed'.  Return also the buffer's base name.
8723         (desktop-save): When saving the buffer info, filter out the base name,
8724         and save it as buffer name if the buffer is managed by uniquify.
8725         (uniquify-item-base): Don't declare; not called anymore.
8727 2008-02-14  Dan Nicolaescu  <dann@ics.uci.edu>
8729         * vc.el (vc-annotate-find-revision-at-line): New function.
8730         (vc-annotate-mode-map): Bind it.
8731         (vc-annotate-mode-menu): Add a menu entry for it.  Add :help for
8732         some entries.
8734 2008-02-14  Glenn Morris  <rgm@gnu.org>
8736         * calendar/time-date.el (format-seconds): New function.
8737         (emacs-uptime): Use format-seconds.
8739         * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8740         Remove `LC_ALL=C', since it's included in $(emacs) now.
8742 2008-02-14  Zhang Wei  <id.brep@gmail.com>
8744         * textmodes/org-publish.el (org-publish-timestamp-filename):
8745         Replace colon characters in filename too.
8747 2008-02-13  Bastien Guerry  <bzg@altern.org>
8749         * mail/rmail.el (rmail-header-name): New face.
8750         (rmail-font-lock-keywords): Use rmail-header-name.
8752         * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8753         against X-Spam-Status header field.
8754         (rmail-spam-filter): Also check X-Spam-Status header field.
8756 2008-02-14  Mark A. Hershberger  <mah@everybody.org>
8758         * progmodes/flymake.el (flymake-allowed-file-name-masks):
8759         Add support for .pm files and .php files.
8760         (flymake-err-line-patterns): Add pattern for PHP errors.
8761         (flymake-php-init): New function.  PHP support for flymake.
8763         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8764         Add regular expression for PHP errors.
8766 2008-02-13  Michael Albinus  <michael.albinus@gmx.de>
8768         * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8769         This DTRT even on w32 machines.
8770         (ange-ftp-cf1): Quote FILENAME.
8772 2008-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8774         * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8775         (smerge-auto-combine): New fun.
8777 2008-02-12  Juri Linkov  <juri@jurta.org>
8779         * startup.el (fancy-startup-screen, normal-splash-screen):
8780         Set default-directory to command-line-default-directory.
8782         * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8783         after reading the desktop.
8785         * progmodes/compile.el (compilation-auto-jump):
8786         Call compile-goto-error only when compilation-auto-jump-to-first-error
8787         is non-nil.
8788         (compilation-scroll-output): Replace :type 'boolean with a choice
8789         that has three options including a third option `first-error'.
8790         Doc fix.
8791         (compilation-start, compilation-forget-errors): Add an alternate
8792         condition comparing compilation-scroll-output with `first-error'
8793         in addition to compilation-auto-jump-to-first-error (to call
8794         compilation-auto-jump in the proper place).
8796 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8798         * international/mule.el (sgml-html-meta-auto-coding-function):
8799         Make sure the search limit is ahead.
8801         * tar-mode.el: Fix broken indentation.
8802         (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8803         Use with-current-buffer.
8805 2008-02-12  Juanma Barranquero  <lekktu@gmail.com>
8807         * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8808         it is already automatically buffer-local.
8810 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8812         * help.el (describe-key): Join some split lines to facilitate filling.
8813         * help-fns.el (describe-function-1): Fill text of overlong lines.
8815 2008-02-12  Kenichi Handa  <handa@ni.aist.go.jp>
8817         * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8818         Use unibyte-string instead of string-make-unibyte.
8820         * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8822 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8824         * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8825         works also for buffers w/o buffer-file-name.  Update callers.
8826         (doc-view-clone-buffer-hook): New fun.
8827         (doc-view-mode): Use it for indirect clones.  Mark the overlays with
8828         the `doc-view' property so they can be recognized.
8830         * simple.el (clone-indirect-buffer-hook): New hook.
8831         (clone-indirect-buffer): Run it.
8833 2008-02-11  Daiki Ueno  <ueno@unixuser.org>
8835         * epa.el (epa-menu-mode): Merge into epa-mode.
8836         (epa-menu-items): Rename the label "EasyPG Assistant" to
8837         "Encryption/Decryption".
8839         * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8840         (epa-dired-mode-map): Rename from epa-dired-map.
8841         (epa-global-dired-mode): Rename the global minor mode.
8843 2008-02-11 Drew Adams  <drew.adams@oracle.com>
8845         * isearch.el (isearch-fail): New face.
8846         (isearch-message): Highlight failure part of input.
8848 2008-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8850         * ibuffer.el (ibuffer-header-line-format): New var.
8851         (ibuffer-mode): Set it instead of header-line-format.
8852         (ibuffer-update): Use it to set header-line-format.
8854         * international/mule-cmds.el (ucs-insert): Inherit surrounding
8855         properties like self-insert-command.
8857 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8859         * progmodes/etags.el: Add many doc strings.
8861 2008-02-11  Jason Rumney  <jasonr@gnu.org>
8863         * ldefs-boot.el: Regenerated.
8865 2008-02-11  Glenn Morris  <rgm@gnu.org>
8867         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8868         Shorten some names.
8870         * ffap.el (ffap-rfc-directories): Add :version.
8872 2008-02-11  Chris Moore  <christopher.ian.moore@gmail.com>
8874         * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8875         files, and backup files of same.
8877 2008-02-11  Kevin Ryde  <user42@zip.com.au>
8879         * ffap.el (ffap-rfc-directories): New variable.
8880         (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8882         * info.el (Info-next-reference, Info-prev-reference)
8883         (Info-try-follow-nearest-node): Move to and follow https:// links too.
8885         * simple.el (completion-list-mode): Show full completion-list-mode-map
8886         in the docstring.
8888 2008-02-11  Sam Steingold  <sds@gnu.org>
8890         * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8892 2008-02-11  Glenn Morris  <rgm@gnu.org>
8894         * startup.el (emacs-startup-time): New variable.
8895         (command-line): Set emacs-startup-time.
8897         * calendar/time-date.el (emacs-uptime): New function.
8899 2008-02-10  Bastien Guerry  <bzg@altern.org>
8901         * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
8902         (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
8903         it is nil.
8905 2008-02-10  Daiki Ueno  <ueno@unixuser.org>
8907         * epg-config.el: Expand the contents of epg-package-info.el.
8908         (epg-package-name): New constant.
8909         (epg-version-number): New constant.
8910         (epg-bug-report-address): New constant.
8912         * epa-mail.el (epa-mail-mode): Add autoload cookie.
8913         (epa-global-mail-mode): New global minor mode.
8915         * epa-file.el (epa-file-mode): New global minor mode.
8917         * epa-dired.el (epa-dired-mode): New global minor mode.
8919         * epa.el (epa-menu): New variable.
8920         (epa-menu-items): New variable.
8921         (epa-menu-mode): New global minor mode.
8922         (epa-global-minor-modes): New user option.
8923         (epa-mode): New global minor mode.
8925 2008-02-10  Michael Albinus  <michael.albinus@gmx.de>
8927         * net/dbus.el: Remove `no-byte-compile' cookie.
8928         (dbus-call-method, dbus-register-signal, dbus-debug)
8929         (dbus-registered-functions-table): Declare them with
8930         `declare-function' or `defvar', respectively.
8931         (top): Don't assert any longer.  Require 'cl when compiling.
8932         Apply `ignore-errors' but `dbus-ignore-errors'.
8934 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8936         * diff-mode.el (diff-add-change-log-entries-other-window):
8937         Use add-change-log-entry.
8939 2008-02-09  Jason Rumney  <jasonr@gnu.org>
8941         * button.el (button-map):
8942         * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
8943         * ldefs-boot.el: Regenerate.
8945 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
8947         * epa.el (epa-faces, epa):
8948         * epa-file.el (epa-file):
8949         * epg-config.el (epg): Add :version.
8951 2008-02-09  Thien-Thi Nguyen  <ttn@gnuvola.org>
8953         * vc.el (vc-exec-after): Append CODE to previous fragments.
8954         (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
8955         take MESSAGES instead of VERBOSE; use it when non-nil.
8956         (vc-diff-internal): Compute messages once; use them;
8957         update call to vc-diff-finish.
8959 2008-02-09  Michael Olson  <mwolson@gnu.org>
8961         * net/tramp.el (tramp-process-sentinel): Avoid error when process
8962         buffer has been killed, such as by
8963         `tramp-cleanup-all-connections'.
8965 2008-02-09  Miles Bader  <miles@gnu.org>
8967         * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
8969 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
8972         splitter in context hunks.
8974 2008-02-08  Kenichi Handa  <handa@ni.aist.go.jp>
8976         * international/fontset.el (setup-default-fontset): Fix arabic otf
8977         font specification.
8979 2008-02-08  Daiki Ueno  <ueno@unixuser.org>
8981         * epa-dired.el:
8982         * epa-file.el:
8983         * epa-mail.el:
8984         * epa-setup.el:
8985         * epa.el:
8986         * epg-config.el:
8987         * epg-package-info.el:
8988         * epg.el: Initial check-in of EasyPG.
8990 2008-02-08  Glenn Morris  <rgm@gnu.org>
8992         * woman.el (woman-locale): New defcustom.
8993         (woman-expand-locale, woman-manpath-add-locales): New functions.
8994         (woman-manpath): Call woman-manpath-add-locales.  Bump :version.
8996         * international/mule-cmds.el (locale-translate): New function,
8997         with old code extracted from set-locale-environment.
8998         (set-locale-environment): Use locale-translate.  Set woman-locale.
9000         * cus-start.el (selection-coding-system): Remove, since it's now
9001         defined in select.el rather than in xselect.c.
9002         * select.el (selection-coding-system): Make it a defcustom, and
9003         add the properties from cus-start.el.  Bump :version.
9005         * custom.el (custom-theme-set-variables): Sort symbols that are
9006         dependencies before symbols that depend on them.
9007         (custom-enabled-themes): Set after custom-theme-directory.
9009         * pcmpl-unix.el (top-level): Move provide statement to end.
9010         (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
9011         `*' from doc-string.  Allow to be nil.
9012         (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
9013         Allow to be nil.  Add :version.
9014         (pcmpl-ssh-hosts): Move definition before use.  Handle lines
9015         without hostnames, and multiple hostnames per line.
9017         * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
9019 2008-02-08  Phil Hagelberg  <phil@evri.com>
9021         * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
9022         (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
9024 2008-02-07  Timo Savola  <timo.savola@iki.fi>
9026         * startup.el (command-line-x-option-alist): Add --parent-id.
9028         * term/x-win.el (x-handle-parent-id): New function.
9030 2008-02-07  Chris Moore  <christopher.ian.moore@gmail.com>
9032         * mouse.el (x-fixed-font-alist): Use consistent capitalization for
9033         "Font Menu".
9035 2008-02-06  Michael Albinus  <michael.albinus@gmx.de>
9037         * net/dbus.el (dbus-interface-peer): New defconst.
9038         (dbus-ping): New defun.
9040 2008-02-06  Sam Steingold  <sds@gnu.org>
9042         * vc-hooks.el (vc-prefix-key): New user-customizable variable.
9044 2008-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9046         * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9047         Just return nil and let the C code provide a fallback.
9049 2008-02-05  Glenn Morris  <rgm@gnu.org>
9051         * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9052         tramp-flush-connection-property for removed 2nd argument.
9054 2008-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9056         * diff-mode.el (diff-add-change-log-entries-other-window):
9057         Rename from diff-create-changelog.  Change users.
9058         Minor change to hopefully work with plain diffs.
9059         (diff-mode-map): Add binding for it.
9061 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
9063         * diff-mode.el: Add new TODO entry.
9064         (diff-create-changelog): New function.
9065         (diff-mode-menu): Bind it.
9067 2008-02-04  Kenichi Handa  <handa@ni.aist.go.jp>
9069         * international/mule-diag.el (print-fontset-element): Handle the
9070         case of inhibiting the fallback fonts.
9072 2008-02-04  Kim F. Storm  <storm@cua.dk>
9074         * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9075         (ido-magic-delete-char): Use prefix arg.
9077 2008-02-03  Juanma Barranquero  <lekktu@gmail.com>
9079         * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9080         because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9081         of today, the most recent libpng is 1.2.24).
9083 2008-02-03  Michael Albinus  <michael.albinus@gmx.de>
9085         * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9087         * net/dbus.el (top): Check (featurep 'dbusbind).
9089         * net/tramp.el (tramp-process-sentinel): New defun.
9090         (tramp-do-copy-or-rename-file-out-of-band)
9091         (tramp-maybe-open-connection): Use it as process sentinel.
9092         (tramp-handle-delete-directory): Don't use the "-f" option; it
9093         isn't portable.
9094         (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9095         after the command.
9096         (tramp-handle-shell-command): Set `mode-line-process' in the
9097         asynchronous case.
9099         * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9101         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9102         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9103         Use `tramp-process-sentinel' as process sentinel.
9105 2008-02-02  Juanma Barranquero  <lekktu@gmail.com>
9107         * whitespace.el (global-whitespace-mode): Revert last change.
9108         (whitespace-unload-function): Force `global-whitespace-mode'
9109         to deactivate local modes in a slightly less intrusive way.
9111 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
9113         * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9115 2008-02-02  Glenn Morris  <rgm@gnu.org>
9117         * international/latin1-disp.el (latin1-display):
9118         * progmodes/fortran.el (fortran-comment-indent-char):
9119         * progmodes/idlw-shell.el (top-level):
9120         * term/mac-win.el (mac-keyboard-translate-char):
9121         * whitespace.el (whitespace-char-valid-p):
9122         * wid-edit.el (widget-key-sequence-read-event):
9123         Use characterp rather than char-valid-p.
9125         * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9126         to capitalized-find-word-boundary.  Doc fix.  Update callers.
9127         (capitalized-next-word-boundary-function-table): Rename to
9128         capitalized-find-word-boundary-function-table.  Doc fix.  Update users.
9130         * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9131         string-to-int.
9133         * ps-def.el (declare-function): Add compatibility definition.
9134         (ps-plot-with-face, ps-plot-string): Declare as functions.
9135         (ps-bold-faces, ps-italic-faces): Declare variables.
9137         * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9138         (ps-mule-end-job): Declare as functions.
9140         * wid-edit.el (widget-string-complete): Use assoc-string rather
9141         than assoc-ignore-case.
9143 See ChangeLog.13 for earlier changes.
9145 ;; Local Variables:
9146 ;; coding: utf-8
9147 ;; add-log-time-zone-rule: t
9148 ;; End:
9150     Copyright (C) 2008  Free Software Foundation, Inc.
9152   This file is part of GNU Emacs.
9154   GNU Emacs is free software: you can redistribute it and/or modify
9155   it under the terms of the GNU General Public License as published by
9156   the Free Software Foundation, either version 3 of the License, or
9157   (at your option) any later version.
9159   GNU Emacs is distributed in the hope that it will be useful,
9160   but WITHOUT ANY WARRANTY; without even the implied warranty of
9161   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9162   GNU General Public License for more details.
9164   You should have received a copy of the GNU General Public License
9165   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
9167 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc