Add lisp/face-remap.el and associated documentation
[emacs.git] / lisp / ChangeLog
blob33a7651ad93d2817ec5e7876cbdbc40eef349ccb
1 2008-06-03  Miles Bader  <miles@gnu.org>
3         * face-remap.el: New file.
4         * Makefile.in (ELCFILES): Add face-remap.elc.
6 2008-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * progmodes/flymake.el (flymake-process-filter): Make sure the source
9         buffer isn't dead.
11         * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
12         * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
13         * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
14         * obsolete/auto-show.el, obsolete/hscroll.el:
15         Remove packages that were obsolete in Emacs-20, or that were obsolete
16         in Emacs-21 and do not contain any more code.
18         * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
19         vc-client-mode is not set.
21         * image-mode.el (image-mode-map): Suppress key map and bind `q'.
22         * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
24         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
25         yet a bit more clever at distinguishing / from /.
27 2008-06-03  Kenichi Handa  <handa@m17n.org>
29         * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
31 2008-06-03 Jihyun Cho  <jihyun.jo@gmail.com>
33         * language/hanja-util.el: New file.
35 2008-06-03  Glenn Morris  <rgm@gnu.org>
37         * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
38         Check that end-of-word follows "type".
40 2008-06-02  Daiki Ueno  <ueno@unixuser.org>
42         * epa-file.el (epa-file-write-region): Write the entire buffer
43         content if START is nil.
45 2008-06-01  Thomas Morgan  <tlm@thomasmorgan.net>  (tiny change)
47         * select.el (x-get-selection): Fix typo.
49 2008-06-01  Juanma Barranquero  <lekktu@gmail.com>
51         * descr-text.el (describe-text-sexp): Use `string-match-p'.  Simplify.
52         (describe-char): Use `looking-at-p', `string-match-p' when possible.
54 2008-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
56         * tar-mode.el (tar-header-block-summarize): Ensure one space around
57         user&group.
59 2008-05-31  John Paul Wallington  <jpw@pobox.com>
61         * help-fns.el (describe-variable-custom-version-info):
62         Handle dotted `package-version' info.
64 2008-05-31  Juanma Barranquero  <lekktu@gmail.com>
66         * icomplete.el (icomplete-get-keys): Doc fix.  Use `when'.
68 2008-05-31  Dan Nicolaescu  <dann@ics.uci.edu>
70         * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
71         names and improve support for unregistered files.
73 2008-05-31  Glenn Morris  <rgm@gnu.org>
75         * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
76         Remove shell variable `elc'.  Split tests to hopefully be more portable.
77         Fix `sel' assignment.
79 2008-05-30  Juanma Barranquero  <lekktu@gmail.com>
81         * minibuffer.el (completion-table-dynamic): Doc fix.
83 2008-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
85         * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
86         Try and return `unregistered' when applicable.
88         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
89         Don't encourage naming variables with "-flag".
91 2008-05-30  Glenn Morris  <rgm@gnu.org>
93         * Makefile.in (update-elclist): Hide the warning when it does not apply,
94         make it milder when it does.
95         (autogen-clean): New target.
96         (maintainer-clean): Use autogen-clean.
98         * calendar/diary-lib.el (diary-display-function): New name for
99         diary-display-hook.  Keep old name as obsolete alias.  Doc fix.
100         Change custom type and version.
101         (diary-list-entries-hook, diary-list-entries, diary-simple-display)
102         (diary-fancy-display): Doc fixes.
103         (diary-list-entries, diary-include-other-diary-files)
104         (diary-mail-entries):
105         Use diary-display-function rather than diary-display-hook.
107         * calendar/appt.el (appt-check): Use diary-display-function rather than
108         diary-display-hook.
109         * calendar/cal-x.el (calendar-dedicate-diary): Update for
110         diary-display-function replacing diary-display-hook.
111         * org/org-agenda.el (org-get-entries-from-diary): Also set
112         diary-display-function.
114         * calendar/cal-html.el (cal-html-list-diary-entries):
115         * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
116         * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
117         argument of diary-list-entries rather than setting diary-display-hook.
119 2008-05-30  Kenichi Handa  <handa@m17n.org>
121         * international/mule-conf.el (utf-8-with-signature): Renamed from
122         utf-8-sig.
123         (utf-8-auto): Adjusted for the above change.
125         * international/mule-diag.el (describe-font): Don't check fontset
126         here, and just call font-info.  Get the default font by from the
127         default face.
129 2008-05-29  Kenichi Handa  <handa@m17n.org>
131         * international/mule-conf.el (utf-8-sig, utf-8-auto):
132         New coding systems.
134         * international/mule.el (define-coding-system): Accept :bom for utf-8.
136 2008-05-29  Espen Wiborg  <espen.wiborg@telio.no>  (tiny change)
138         * international/utf-7.el (utf-7-encode): Use the right escape char
139         depending on imap/nonimap encoding.
141 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
143         * minibuffer.el (completion-pcm-all-completions): Add the base-size.
145 2008-05-29  Juanma Barranquero  <lekktu@gmail.com>
147         * icomplete.el (icomplete-prospects-height): Add :group.
149 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
151         * icomplete.el (icomplete-prospects-length): Make obsolete.
152         (icomplete-prospects-height): New var.
153         (icomplete-completions): Use it.
155 2008-05-29  David Kastrup  <dak@gnu.org>
157         * autoinsert.el (auto-insert): Add :link.
159 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
161         * tar-mode.el (tar-header): New field `header-start'.
162         (tar-header-block-tokenize): Set it when useful.
163         Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
164         (tar-header-data-end): New function.
165         (tar-summarize-buffer): Use it.
166         (tar-next-line): Fix goal column for long usernames.
167         (tar-expunge-internal): Use header-start.
168         (tar-rename-entry): Handle ustar-style long names.
169         (tar-alter-one-field): Add optional `descriptor' argument.
170         (tar-subfile-save-buffer): Use it.
172 2008-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
174         * tar-mode.el (tar-header): New field `header-start'.
175         (tar-header-block-tokenize): Set header-start for longlink entries.
176         (tar-expunge-internal): Use header-start to expunge longlink entries.
178         * files.el (hack-local-variables): Don't signal an error if the local
179         variable section is not properly terminated.
181         * emacs-lisp/easymenu.el (easy-menu-convert-item)
182         (easy-menu-convert-item-1): Move the duplicate-generation outside of
183         the caching so it also works for identical entries.
185         * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
186         (tar-mode): Use write-region-annotate-functions rather than
187         write-contents-functions.
188         (tar-extract): Remove unused var `pos'.
189         (tar-subfile-save-buffer): Remove unused var `following-descs'.
190         (tar-mode-write-file): Remove.
191         (tar-write-region-annotate): New function.
193         * progmodes/flymake.el (flymake-save-buffer-in-file):
194         * shadowfile.el (shadow-copy-file):
195         * arc-mode.el (archive-*-write-file-member):
196         * files.el (diff-buffer-with-file):
197         * subr.el (with-temp-file): Pass nil to write-region.
198         * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
200         * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
201         the custom.
203         * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
204         to write-region.
206 2008-05-28  Glenn Morris  <rgm@gnu.org>
208         * Makefile.in (update-elclist): Work around non-portability of "\"
209         in various implementations of echo.
211 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
213         * international/mule-diag.el (describe-current-coding-system):
214         Don't assume selection-coding-system is always defined.
216         * tar-mode.el: Use defstruct and markers.
217         (tar-setf): Remove.
218         (tar-header): Use defstruct.  Add `data-start' field.
219         (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
220         (tar-desc-data-start): Remove (now called tar-header-data-start).
221         (tar-roundup-512): New fun.
222         (tar-header-block-tokenize): Receive a buffer position rather than
223         a string.  Handle @longLink here, be more careful about it.
224         Create a marker for data-start.
225         (tar-summarize-buffer): Don't handle @LongLink here any more.
226         (tar-expunge-internal, tar-subfile-save-buffer): Don't update
227         data-start on the following entries any more.
228         (tar-chown-entry, tar-chgrp-entry): Use read-number.
230         * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
231         (tar-header-offset): Remove.
232         (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
233         Not permanent any more.
234         (tar-data-buffer): New var.
235         (tar-data-swapped-p, tar-change-major-mode-hook)
236         (tar-mode-kill-buffer-hook): New funs.
237         (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
238         (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
239         (tar-clear-modification-flags, tar-alter-one-field)
240         (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
241         Change accordingly.
243 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
245         * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
246         (vc-dir-resynch-file): ... this.  Update callers.
247         Use vc-string-prefix-p.  Ignore directory args.
248         (vc-string-prefix-p): CSE.
249         (vc-resynch-buffer): Restore conditional.
251         * vc-hooks.el (vc-after-save): Improve test.
252         (vc-mode-line): Fix indentation.
254 2008-05-27  Chong Yidong  <cyd@stupidchicken.com>
256         * calendar/parse-time.el (parse-time-months)
257         (parse-time-weekdays): Add long-form month and day names.
259 2008-05-27  Glenn Morris  <rgm@gnu.org>
261         * Makefile.in (update-elclist): Make errors in final sed non-fatal.
263 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
265         * vc-dispatcher.el (vc-string-prefix-p): New function.
266         (vc-dir-parent-marked-p): Use it.
268 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
270         * vc.el (Problems): Remove fixed issues.
271         (vc-expand-dirs): Avoid returning directories.
272         (vc-dir): Fix C-x v v binding.
273         (vc-make-backend-object): Fix name.
274         (vc-dir-show-fileentry): Fix docstring.
275         (vc-dir-refresh): Use vc-dir-backend.  Fix docstring.
276         (vc-dir-refresh-files): Use vc-dir-backend.  Fix docstring.
277         Reset the state for directories.
278         (vc-dir-headers): Align labels.
279         (vc-default-status-printer): Do no call prettify-state-info.
280         (vc-deduce-fileset): Replace implementation with one based on a
281         working older version.
282         (vc-next-action): Use the new form of vc-deduce-fileset.
283         Fix dealing with unregistered files.
285         * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
286         (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
287         (vc-dir-child-files): New function.
288         (vc-dir-node-directory): New function.
289         (vc-dir-update, vc-dir-parent-marked-p)
290         (vc-dir-children-marked-p, vc-dir-mark-all-files)
291         (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
293         * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
295 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
297         * diff-mode.el (diff-context-mid-hunk-header-re): New const.
298         (diff-font-lock-keywords, diff-context->unified)
299         (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
300         (diff-hunk-text, diff-find-source-location): Use it.
301         (diff-post-command-hook): Let the user edit the hunk headers.
303 2008-05-26  Andreas Schwab  <schwab@suse.de>
305         * vc.el (vc-default-prettify-state-info): Fix formatting of an
306         unknown state.
308         * tar-mode.el (tar-summarize-buffer): Comment fix.
310 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
312         * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
314 2008-05-26  Glenn Morris  <rgm@gnu.org>
316         * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
318 2008-05-25  John Paul Wallington  <jpw@pobox.com>
320         * proced.el (proced-next-line, proced-previous-line):
321         Avoid calling `next-line' and `previous-line' from Lisp code.
323 2008-05-25  Ed Reingold  <reingold@emr.cs.iit.edu>
325         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
326         Use diary-ordinal-suffix.
328 2008-05-24  Juanma Barranquero  <lekktu@gmail.com>
330         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
331         (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
332         (edebug-save-displayed-buffer-points, edebug-initial-mode)
333         (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
334         (edebug-print-length, edebug-print-level, edebug-print-circle)
335         (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
336         (edebug-global-break-condition, edebug-sit-for-seconds):
337         Remove spurious * from defcustom docstrings.
338         (edebug-unwrap*, edebug-signal, edebug-eval-display):
339         Improve argument/docstring consistency.
340         (edebug-test-coverage, edebug-gensym, edebug-read)
341         (edebug-top-level-nonstop, edebug-eval-result-list)
342         (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
343         (edebug-eval-defun, edebug-eval-top-level-form, edebug)
344         (edebug-display-freq-count): Reflow docstrings.
345         (edebug-restore-status): Doc fix.
347 2008-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
349         * proced.el (proced-header-line): Use the :align-to 0 feature
350         rather than computing the corresponding position manually.
351         (proced-update): Don't hardcode point-min==1.
353 2008-05-24  Alan Mackenzie  <acm@muc.de>
355         * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
356         if c-file-style is set to a non-string.
358         (c-neutralize-CPP-line): Surround by `save-excursion'.
359         (c-neutralize-syntax-in-CPP): Optimize for speed.
361 2008-05-24  Glenn Morris  <rgm@gnu.org>
363         * Makefile.in (update-elclist): New target, to update ELCFILES.
364         (bootstrap-after): Run update-elclist.
366 2008-05-24  Ulf Jasper  <ulf.jasper@web.de>
368         * icalendar.el (icalendar-version): Increase to "0.19".
369         (icalendar--date-style): New function.
370         (icalendar--datetime-to-diary-date): Doc fix.
371         Use icalendar--date-style.
372         (icalendar--datestring-to-isodate): Doc fix.  Handle iso date style.
373         (icalendar--convert-yearly-to-ical)
374         (icalendar--convert-recurring-to-diary): Handle iso date style,
375         use icalendar-date-style.
377 2008-05-23  Dan Nicolaescu  <dann@ics.uci.edu>
379         * vc.el (vc-delete-file): Make sure the buffer is deleted and
380         vc-dir buffers are updated.
382 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
384         * vc.el (vc-delete-file): Don't try to resynch the buffer.
386 2008-05-23  Paul Rivier  <paul.r.ml@gmail.com>
388         * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
389         * textmodes/reftex.el (reftex-extra-bindings-map): New var.
390         (reftex-extra-bindings): Use it.
392         * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
393         away from the user-reserved keys.
395         * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
396         New vars.
397         (ada-create-keymap): Use them.
399 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
401         * emacs-lisp/regexp-opt.el (regexp-opt): Always return
402         a properly-grouped regexp.
404 2008-05-23  Juanma Barranquero  <lekktu@gmail.com>
406         * progmodes/cap-words.el (capitalized-words-mode):
407         Fix typos in docstring.
409 2008-05-23  Kenichi Handa  <handa@m17n.org>
411         * international/mule-conf.el: Don't define the charset `emacs'
412         here, just put :docstring, :short-name, and :long-name.
414 2008-05-22  Kenichi Handa  <handa@m17n.org>
416         * international/mule-diag.el (font-show-log): Limit each listing
417         to 20 items.
419 2008-05-23  Nick Roberts  <nickrob@snap.net.nz>
421         * progmodes/gdb-ui.el (gdb-enable-debug): New function.
422         (gdb-annotation-rules): New entry for "thread-changed".
423         (gdb-thread-changed): New function.
425 2008-05-23  Glenn Morris  <rgm@gnu.org>
427         * Makefile.in (SOURCES): Remove, unused.
428         (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
429         (TAGS, TAGS-LISP): Use a single rule with multiple targets.
430         Exclude more '*loaddefs' files.
431         (compile-always): Simplify '.elc' deletion.
433 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
435         * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
436         (vc-bzr-revision-completion-table): Handle `boundaries' argument.
438         * minibuffer.el (completion-boundaries): Change calling
439         convention, so `string' has the same semantics as in
440         try-completion and all-completions.
441         (completion-table-with-context, completion--embedded-envvar-table)
442         (completion--file-name-table)
443         (completion-pcm--find-all-completions): Adjust code accordingly.
445 2008-05-22  Chong Yidong  <cyd@stupidchicken.com>
447         * image-mode.el (image-mode-winprops): Add argument CLEANUP to
448         prune image-mode-winprops-alist, preventing it from growing
449         indefinitely.
450         (image-mode-reapply-winprops): Use it.
452 2008-05-22  Teodor Zlatanov  <tzz@lifelogs.com>
454         * net/netrc.el (netrc-machine): Always match if the port is not given.
456 2008-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
458         * minibuffer.el (completion-pcm--find-all-completions):
459         Don't add pseudo-completions.
461         * icomplete.el (icomplete-eoinput): Remove.
462         (icomplete-overlay): New var to replace it.
463         (icomplete-tidy): Rewrite.
464         (icomplete-exhibit): Use an overlay.
465         (icomplete-completions): Use completion-all-sorted-completions.
466         Obey completion-ignore-case.
468         * files.el (locate-dominating-file): Accept non-existing argument.
469         (project-find-settings-file): Rewrite, using locate-dominating-file.
471 2008-05-22  Kenichi Handa  <handa@m17n.org>
473         * faces.el (font-weight-table, font-slant-table, font-width-table):
474         Delete them.  Don't call internal-set-font-style-table.
476         * international/mule-diag.el (font-show-log): New function.
478         * international/fontset.el (script-representative-chars): Add more
479         chars for latin.  Add data for symbol.
480         (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
482 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
484         * minibuffer.el (completion-all-sorted-completions): New var.
485         (completion--flush-all-sorted-completions)
486         (completion-all-sorted-completions): New functions.
487         (minibuffer-force-complete): New command.
489 2008-05-21  Glenn Morris  <rgm@gnu.org>
491         * files.el (c-postprocess-file-styles): Declare for compiler.
493         * Makefile.in: Allow for parallel byte-compiling.
494         (ELCFILES): New variable.
495         (.el.elc): Remove prerequisites from suffix rule.  Print a message.
496         (compile-first, compile-main, compile-last): New targets.
497         (compile-always): Simplify - delete .elc files, then `make compile'.
499         * Makefile.in (compile-calc): Use glob rather than find.
500         ($(lisp)/progmodes/cc-mode.elc): Use $@.
502         * eshell/esh-module.el: No need for cl when compiling.
504         * eshell/eshell.el (eshell-defgroup): New alias.
505         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
506         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
507         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
508         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
509         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
510         * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
511         Autoload the custom group.  Set generated-autoload-file.
512         * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
513         for eshell-defgroup.
514         * eshell/esh-module.el (eshell-load-defgroups): Remove.
515         Require esh-groups rather than loading it.
517 2008-05-21  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
519         * proced.el (proced-header-line): New variable and new function.
520         (proced-mode): Set header-line-format.
521         (proced-update): Set proced-header-line.
522         (proced-send-signal): Use proced-header-line.
524 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
526         * macros.el (insert-kbd-macro): Use prin1-char.
528 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
530         * minibuffer.el (completion-boundaries): New function.
531         (completion--some): Delay errors.
532         (complete-with-action, completion-table-with-context):
533         Handle `boundaries' case.
534         (completion--try-word-completion): Avoid partial-completion
535         when the user hasn't entered anything yet.
536         (minibuffer-local-map, minibuffer-local-filename-completion-map)
537         (minibuffer-local-must-match-map, minibuffer-local-completion-map)
538         (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
539         Setup default keybindings.
540         (completion--embedded-envvar-re): New var.
541         (completion--embedded-envvar-table): Use it.  Handle `boundaries' case.
542         (completion--file-name-table): Handle `boundaries' case.
543         (completion-pcm--pattern->regex): Avoid pathological backtracking.
544         (completion-pcm--all-completions): Add a `prefix' arg.
545         (completion-pcm--find-all-completions): New function.
546         (completion-pcm-all-completions, completion-pcm-try-completion):
547         Use it.
549         * icomplete.el (icomplete-completions): Don't use `predicate' with
550         a table of a different type than `candidates'.
552 2008-05-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
554         * proced.el (proced-goal-column): Rename from proced-procname-column.
555         (proced-goal-header-re): Rename from proced-procname-column-regexp.
556         (proced-move-to-goal-column): Rename from proced-move-to-procname.
557         (proced-header-face, proced-header-regexp): Remove.
558         (proced-font-lock-keywords): Remove proced-header-face.
559         (proced-header-alist, proced-sorting-schemes-re): New variables.
560         (proced): Rename Proced buffer to *Proced*.
561         (proced-next-line, proced-previous-line): New commands.
562         (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
563         (proced-hide-processes): Do not treat first line as special.
564         (proced-header-space): New function.
565         (proced-update): Use header-line-format.
566         Initialize proced-header-alist and proced-sorting-schemes-re.
567         Set proced-goal-column.  Include proced-command in mode-name.
568         (proced-send-signal): Use header-line-format for *Marked
569         Processes* buffer.
570         (proced-sort): Restrict minibuffer completion to applicable
571         sorting schemes.
572         (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
574 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
576         * icomplete.el (icomplete-simple-completing-p):
577         Allow icomplete-with-completion-tables to say "use it everywhere".
578         (icomplete-completions): Obey completion-styles.  Try to accommodate
579         partial-completion style.
581 2008-05-20  Michael Olson  <mwolson@gnu.org>
583         * files.el (project-find-settings-file): Change concat to
584         expand-file-name.
586 2008-05-19  Tom Tromey  <tromey@redhat.com>
588         * files.el (normal-mode): Call hack-project-variables.
589         (hack-local-variables-confirm): Add 'project' argument.
590         (hack-local-variables-apply): New function.
591         (hack-local-variables): Use it.
592         (project-class-alist, project-directory-alist): New variables.
593         (project-get-alist): New function.
594         (project-collect-bindings-from-alist)
595         (project-collect-binding-list, set-directory-project)
596         (project-find-settings-file, project-define-from-project-file)
597         (hack-project-variables): New functions.
599 2008-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
601         * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
603 2008-05-19  Juanma Barranquero  <lekktu@gmail.com>
605         * faces.el (font-weight-table): Fix typo in docstring.
607 2008-05-18  David Hull  <david@snap.com>  (tiny change)
609         * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
610         (vc-hg-annotate-command): Allow white space before version number.
612 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
614         * calc/calc-yank.el (calc-register-alist): New variable.
615         (calc-set-register,calc-get-register,calc-copy-to-register)
616         (calc-insert-register,calc-add-to-register,calc-append-to-register)
617         (calc-prepend-to-register): New functions.
619         * calc/calc-ext.el (calc-init-extensions): Add keybindings for
620         `calc-copy-to-register' and `calc-insert-register'.
621         Autoload new register functions.
623         * calc/calc-help.el (calc-r-prefix-help): Add help for register
624         functions.
626 2008-05-18  Dan Nicolaescu  <dann@ics.uci.edu>
628         * vc.el (Todo): Add known problems.
629         (vc-dir-backend): New variable.
630         (vc-dir): Set it.
631         (vc-make-backend-object, vc-generic-status-printer)
632         (vc-generic-state, vc-generic-status-fileinfo-extra)
633         (vc-dir-extra-menu): Use it.
634         (vc-generic-dir-headers): Remove, unused.
636         * vc-dispatcher.el (vc-dir-previous-directory): Rename from
637         vc-dir-prev-directory for consistency with vc-dir-previous-line.
638         (vc-dir-mode-map): Fix bindings.
640         * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
642 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
644         * calc/calc-yank.el (calc-kill): Make sure that only the stack is
645         operated on.
646         (calc-kill-region): Kill entire lines.
648 2008-05-17  Glenn Morris  <rgm@gnu.org>
650         * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
651         simplify initial value.
652         (defezimage): Drop support for Emacs without defimage, use a featurep
653         test rather than fboundp when defining, drop with-no-warnings.
654         (ezimage-insert-over-text): Move featurep test inside
655         add-text-properties.
657         * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
659         * net/tramp.el (top-level): Load auth-source when compiling.
661         * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
663 2008-05-17  Andreas Schwab  <schwab@suse.de>
665         * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
667 2008-05-17  Dan Nicolaescu  <dann@ics.uci.edu>
669         * vc.el (vc-annotate-show-diff-revision-at-line): Change
670         vc-diff-internal arg to match what vc-deduce-fileseset returns now.
672 2008-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
674         * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
676 2008-05-17  Jim Meyering  <meyering@redhat.com>
678         * ido.el (ido-save-history): Do not emit a trailing newline at the
679         end of the ido history file.
681 2008-05-16  John Paul Wallington  <jpw@pobox.com>
683         * vc-dispatcher.el (top-level): Revert previous change: require cl
684         when compiling.
686 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
688         * vc.el (vc-default-status-printer)
689         (vc-default-prettify-state-info): Enhance the state prettyprinter
690         to deal better with unknown states and indirect through it when
691         painting vc-dir buffers.
693 2008-05-16  John Paul Wallington  <jpw@pobox.com>
695         * vc-dispatcher.el (top-level): Don't require cl when compiling.
696         (vc-dir-mode-map): Fix backquote.
697         (vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.
699 2008-05-16  Michael Albinus  <michael.albinus@gmx.de>
701         * net/tramp.el (tramp-handle-write-region): Fix check for short track.
702         Reported by Glenn Morris <rgm@gnu.org>.
704 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
706         * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
707         the end of the file, it was good work at one time but has been
708         stale since 1995 and may now be actively misleading.
709         * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
710         CVS repository and module (assumptions for the latter a bit iffy).
711         * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
712         SVN repository.
714 2008-05-16  Juanma Barranquero  <lekktu@gmail.com>
716         * vc-rcs.el (vc-rcs-create-tag):
717         * vc-sccs.el (vc-sccs-create-tag):
718         Fix typo in error message and pass backend arg.
720 2008-05-15  Michael Albinus  <michael.albinus@gmx.de>
722         * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
724 2008-05-15  Teodor Zlatanov  <tzz@lifelogs.com>
726         * net/tramp.el: Load auth-source library.
727         (tramp-read-passwd): Use it for password, not login.
729 2008-05-15  Shigeru Fukaya  <shugeru.fukaya@gmail.com>
731         * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
732         (ses-print-cell): Use string-width, truncate-string-to-width,
733         delete-region rather than length, substring, delete-char.
734         (ses-setup): Set inhibit-point-motion-hooks to t.
735         Calculate position by actually moving point rather than just using
736         unibyte character length.
737         (ses-mode): Set indent-tabs-mode to nil.
738         (ses-center): Use string-width rather than length.
740 2008-05-15  Eric S. Raymond  <esr@snark.thyrsus.com>
742         * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
743         * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
744         Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
745         vc-*-create-tag and vc-*-retrieve-tag respectively.
747         * vc-dispatcher.el: Fix an incorrect buffer name and remove an
748         unneeded defalias.
750         * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
752         * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
753         about buffer names.
755 2008-05-15  Glenn Morris  <rgm@gnu.org>
757         * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
759         * org/org-exp.el (org-infojs-options-inbuffer-template):
760         Fix declaration.
762         * progmodes/cc-mode.el (declare-function): Add compat definition.
763         (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
765 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
767         * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
768         list to a cons so the caller can get back both expanded and
769         unexpanded filesets.
770         * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
771         (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
772         Change handling of selection-set returns as required.
774 2008-05-15  John Paul Wallington  <jpw@pobox.com>
776         * add-log.el (top-level): Don't require cl when compiling.
778         * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
779         (archive-*-extract): Use `zerop'
780         (archive-*-write-file-member): Use `or', use `zerop'.
782         * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
784         * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
785         (ibuffer-mark-interactive, ibuffer-set-mark)
786         (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
787         (ibuffer-map-lines, ibuffer-switch-format)
788         (ibuffer-update-title-and-summary)
789         (ibuffer-redisplay-engine): Use it.
791         * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
792         (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
793         (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
794         (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
795         (ibuffer-mark-read-only-buffers)
796         (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
798         * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
799         (define-ibuffer-column, define-ibuffer-sorter)
800         (define-ibuffer-op, define-ibuffer-filter): Add declarations
801         containing indentation specs, replacing equivalent top-level
802         forms that set `lisp-indent-function' properties.
803         (define-ibuffer-op): Use `derived-mode-p'.
804         (define-ibuffer-filter): Remove redundant `concat' call.
806 2008-05-14  Michael Albinus  <michael.albinus@gmx.de>
808         * net/tramp.el (tramp-echo-mark): Update docstring.
809         (tramp-echo-mark-marker): New defconst.
810         (tramp-check-for-regexp): Use it.
812 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
814         * vc.el (vc-deduce-fileset): Do the right thing when visting a
815         buffer (say, a log buffer or diff buffer) with a vc-dir buffer
816         as parent.
818 2008-05-14  John Paul Wallington  <jpw@pobox.com>
820         * international/mule.el (convert-define-charset-argument):
821         Remove period from end of error message.
822         (coding-system-mnemonic): Doc fix.
823         (ctext-pre-write-conversion): Doc fix.
825 2008-05-14  Simon Marshall  <simon@gnu.org>
827         * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
828         from its default value and give it the risky-local-variable
829         property (CVE-2008-2142).
831 2008-05-14  Kenichi Handa  <handa@m17n.org>
833         * language/korean.el ("Korean"): Set `iso639-language'
834         property to `ko'.
836         * language/japanese.el ("Japanese"): Set `iso639-language'
837         property to `ja'.
839         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
840         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
841         ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
843         * international/mule-cmds.el (set-language-environment):
844         Set current-iso639-language.
846         * international/fontset.el (setup-default-fontset): For kana, han,
847         hangul, and cjk-misc, move an entry with font-spec at the end.
848         (generate-fontset-menu): Exclue fontset-auto* from the list.
850         * composite.el (compose-chars-after): Assume that WINDOW is always
851         non-nil.
853         * faces.el (font-weight-table, font-slant-table)
854         (font-swidth-table): Declare them by defconst.  Change the format
855         of elements.  Call internal-set-font-style-table after their
856         declaration.
857         (face-valid-attribute-values): Call font-family-list.  Get values
858         for width, weight, and slant from font-xxx-table.
860         * cus-face.el (custom-face-attributes): Add "thin" for :weight.
862 2008-05-13  John Paul Wallington  <jpw@pobox.com>
864         * ibuffer.el (ibuffer-buffer-file-name): New function.
865         (define-ibuffer-column filename): Use it.
867         * ibuf-ext.el (define-ibuffer-filter filename): Use it.
869 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
871         * talk.el (talk): Simplify.  Pass display arg to talk-add-display
872         as a string.
873         (talk-add-display): Simplify.  Accept only string args.
875 2008-05-13  Jay Belanger  <jay.p.belanger@gmail.com>
877         * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
879 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * Makefile.in (bootstrap-prepare): Don't chmod files.
882         (autoloads): Do it here instead, where it's actually needed.
884 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
886         * tool-bar.el (tool-bar-make-keymap): Account for the optional
887         KEY-BINDING-DATA field in menu-item list.
889 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
891         * dired.el (dired-read-dir-and-switches): Move things about to use less
892         recursion during macroexpansion.
894         * dired.el (dired-read-dir-and-switches): Use read-file-name.
896         * dired.el (dired-read-dir-and-switches): Ignore ., .., and
897         completion-ignored-extension directories if there's something else.
898         (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
899         (dired-remember-marks, dired-undo, dired-build-subdir-alist)
900         (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
901         (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
902         buffer-read-only -> inhibit-read-only.
904 2008-05-12  Eric S. Raymond  <esr@snark.thyrsus.com>
906         * vc.el (vc-expand-dirs): Stop this function from tossing out
907         explicitly specified files.
909 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
911         * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
912         to `insert'.
914 2008-05-12  Dan Nicolaescu  <dann@ics.uci.edu>
916         * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
917         cons.  Use vc-annotate-backend.
918         (with-vc-file, edit-vc-file): Remove unused macros.
920 2008-05-12  Teodor Zlatanov  <tzz@lifelogs.com>
922         * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
923         (smtpmail-try-auth-methods): Use it.
925 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
927         * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
928         (setf (nthcdr ..) ..) doesn't require CL at runtime.
930 2008-05-11  Carsten Dominik  <dominik@science.uva.nl>
932         * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
934 2008-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
936         * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
937         (vc-bzr-revision-completion-table): Use process-file.
938         (vc-bzr-working-revision): Pass relative file names.
940         * diff-mode.el (diff-hunk-header-re): Refine the regexp.
942 2008-05-11  Juri Linkov  <juri@jurta.org>
944         * wid-edit.el (widget-image-directory): Change default image data
945         subdirectory from "custom" to "images/custom".
947         * info.el (Info-next-preorder): Let-bind `Info-history' to nil
948         before recursive call to `Info-next-preorder' to not add
949         intermediate nodes to the history.
951         * isearch.el: Put isearch-scroll property on recenter-top-bottom.
953         * emulation/cua-base.el: Put isearch-scroll property
954         on cua-scroll-up and cua-scroll-down.
956 2008-05-11  Eric S. Raymond  <esr@snark.thyrsus.com>
958         * vc-hooks.el (vc-recompute-state): Remove (dead code).
960 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
962         * vc-dispatcher.el (ewoc): Require.
963         (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
965         * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
967 2008-05-10  Chong Yidong  <cyd@stupidchicken.com>
969         * term/w32-win.el (x-colors):
970         * term/mac-win.el (x-colors):
971         * term/x-win.el (x-colors): Re-order colors.
973 2008-05-10  Reiner Steib  <reiner.steib@gmx.de>
975         * smerge-mode.el (smerge-command-prefix): Fix custom type.
977 2008-05-10  Eric S. Raymond  <esr@snark.thyrsus.com>
979         * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
980         New functions implementing motion to next and previous directory.
982         * vc-arch.el (vc-arch-command):
983         * vc-bzr.el (vc-bzr-command):
984         * vc-cvs.el (vc-cvs-command):
985         * vc-dispatcher.el (vc-do-command):
986         * vc-git.el (vc-git-command):
987         * vc-hg.el (vc-hg-command):
988         * vc-mcvs.el (vc-mvcs-command):
989         * vc-mtn.el (vc-mtn-command):
990         * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
991         (vc-sccs-workfile-unchanged-p):
992         * vc-svn.el (vc-svn-command, vc-svn-create-repo),
993         * vc-rcs.el (all methods): Remove assumption about what a nil
994         argument to vc-do-command means.  This means no buffer name needs
995         to be hardcoded into the dispatcher layer, and it's better to be
996         explicit anyway.
998         * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
1000 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
1002         * vc.el: Update todo.
1004         * vc-sccs.el (vc-sccs-dir-status):
1005         * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
1006         backends and returning up to date files.
1008         * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
1010 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1012         * vc.el (vc-dir):
1013         * vc-hooks.el: Tweak the VC directory bindings.  These are now
1014         documented in the manual.
1016         * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
1017         (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
1018         (vc-dispatcher-selection-set): Allow callers to pass in an
1019         observer flag that says no buffer sync is required.
1020         * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
1021         Use the observer flag.
1023 2008-05-09  Michael Albinus  <michael.albinus@gmx.de>
1025         * simple.el (start-file-process): Clarify docstring.
1027 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1029         * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
1030         Remove stub implementations of, and references to, wash-log.
1031         * vc-rcs.el (vc-rcs-comment-history):
1032         * vc-cvs.el (vc-cvs-comment-history):
1033         Inline the code that used to be wash-log.
1035         * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
1036         (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
1037         (vc-sccs-print-log, vc-sccs-diff): Grok directories.
1038         * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
1039         (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
1040         (vc-rcs-print-log): Grok directories.
1042 2008-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1044         * vc.el (vc-mark-resolved): Add `backend' argument.
1045         (vc-next-action): Pass it the backend.
1046         (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
1047         (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
1048         (vc-default-comment-history, vc-default-create-snapshot)
1049         (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
1050         (vc-annotate-revision-previous-to-line)
1051         (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
1052         * vc-svn.el (vc-svn-checkout):
1053         * vc-mcvs.el (vc-mcvs-checkout):
1054         * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
1055         (vc-working-revision, vc-before-save, vc-mode-line):
1056         Prefer vc-call-backend to vc-call so as not to recompute the backend.
1058         * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
1059         state to be consistent since it's often an unwarranted restriction.
1060         Don't return the state either.
1061         (vc-next-action): Check that the state is consistent.
1062         (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
1063         (vc-rollback, vc-update): Adapt to new return value of
1064         vc-deduce-fileset.
1066         * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
1067         (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
1068         (vc-dispatcher-in-fileset-p): New fun.
1069         (vc-dispatcher-selection-set): Use it to properly handle directories.
1071 2008-05-09  Dan Nicolaescu  <dann@ics.uci.edu>
1073         * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
1074         (vc-update): Remove unused let bindings.
1076 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1078         * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
1079         (vc-diff, vc-revert, vc-rollback, vc-update):
1080         * vc-dispatcher.el (vc-dispatcher-selection-set):
1081         Get rid of 4 special cases in fileset selection.  This involved
1082         changing the return value of (vc-deduce-fileset) so that it passes
1083         back a deduced state as well as a deduced back end.
1085 2008-05-08  Sam Steingold  <sds@gnu.org>
1087         * progmodes/compile.el (compilation-minor-mode-map)
1088         (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
1089         * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
1090         to `compilation-minor-mode-map' (instead of an explicit `cons').
1092 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
1094         * org/org.el (org-modules, org-format-latex-options):
1095         * org/org-archive.el (org-archive-stamp-time)
1096         (org-archive-save-context-info):
1097         * org/org-faces.el (org-hide):
1098         * org/org-irc.el (org-irc-parse-link):
1099         * org/org-macs.el (org-call-with-arg, org-autoload):
1100         * org/org-mew.el (org-mew-store-link):
1101         * org/org-remember.el (org-remember-store-without-prompt)
1102         (org-remember-templates): Fix typos in docstrings.
1104         * org/org-info.el (org-info-store-link): Remove leftover docstring.
1106         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1107         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1108         (org-bbdb-anniv-split): Fix typos in docstrings.
1110         * org/org-publish.el (org-publish-project-alist): Doc fixes.
1111         (org-publish-use-timestamps-flag): Reflow docstring.
1112         (org-publish-files-alist): Fix typos in docstring.
1114 2008-05-07  Sam Steingold  <sds@gnu.org>
1116         * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
1117         appears to be too aggressive with window removal.
1119 2008-05-08  Michael McNamara  <mac@mail.brushroad.com>
1121         * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
1122         as pragma keywords.
1123         (verilog-pretty-expr): Support lining up assignments which include
1124         part selects.
1125         (verilog-mode): More portable check for the availability of
1126         hideshow support.
1127         (verilog-do-indent): Remove special indent for declarations inside
1128         a parenthetical list.  The code is ill-advised, and doesn't work
1129         given the new user defined types.
1130         (verilog-set-auto-endcomments): Enhance function automatic
1131         endcomment to support functions that return user defined types.
1132         (verilog-mode): Add code to tell which-function-mode minor mode
1133         that Verilog supports this feature.
1135 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
1137         * epa-file.el: Require epa-hook.
1139         * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
1141         * epa-hook.el: Renamed from epa-file-hook.el, to avoid
1142         file-names clashes on 8+3 filesystems.  Provide epa-hook.
1144         * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
1145         file-names clashes on 8+3 filesystems.
1147 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
1149         * org/org.el (org-read-date-get-relative): Interpret lone
1150         weekday abbreviation as relative to today.
1152 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
1154         * abbrev.el (define-abbrev-table):
1155         * composite.el (toggle-auto-composition):
1156         * json.el (json-alist-p, json-plist-p):
1157         * minibuffer.el (completion-table-with-predicate):
1158         * ps-mule.el (ps-mule-external-libraries):
1159         * emacs-lisp/advice.el (ad-special-form-p):
1160         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1161         * eshell/em-smart.el (eshell-review-quick-commands):
1162         * progmodes/python.el (python-comment-line-p, python-blank-line-p)
1163         (python-skip-out, python-check-comint-prompt):
1164         Don't use `iff' in docstrings.
1166         * international/robin.el (robin-package-alist): Fix typo in docstring.
1167         (robin-current-package-name): Doc fix.
1168         (robin-activate): Don't use `iff' in docstring.
1170 2008-05-07  Eric S. Raymond  <esr@snark.thyrsus.com>
1172         * vc.el, vc-dispatcher.el: VC-Dired support removed.
1173         The code uses a ewoc-based implementation now.
1174         * vc-hooks.el: Support for Meta-CVS has been removed.
1176 2008-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * tool-bar.el: Choose images dynamically.
1179         (tool-bar-make-keymap, tool-bar-find-image): New function.
1180         (tool-bar-find-image-cache): New var.
1181         (tool-bar-local-item, tool-bar-local-item-from-menu):
1182         Don't select the image yet, do it later in tool-bar-make-keymap.
1184 2008-05-07  Andreas Schwab  <schwab@suse.de>
1186         * window.el: Require 'cl when compiling.
1188 2008-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
1190         * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1192 2008-05-07  Glenn Morris  <rgm@gnu.org>
1194         * subr.el (ignore-errors): Move here from cl-macs.el.
1195         * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1197         * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1198         oddness.
1200 2008-05-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1202         * vc-hooks.el (vc-find-file-hook):
1203         * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1204         further from vc.el.
1205         * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1207 2008-05-06  Wilson Snyder  <wsnyder@wsnyder.org>
1209         * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1210         (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1211         (verilog-auto-inout, verilog-auto-inout-module)
1212         (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1213         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1214         (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1215         (verilog-auto-sense-sigs, verilog-auto-tieoff)
1216         (verilog-auto-unused, verilog-auto-wire)
1217         (verilog-decls-get-assigns, verilog-decls-get-consts)
1218         (verilog-decls-get-gparams, verilog-decls-get-inouts)
1219         (verilog-decls-get-inputs, verilog-decls-get-outputs)
1220         (verilog-decls-get-ports, verilog-decls-get-regs)
1221         (verilog-decls-get-signals, verilog-decls-get-wires)
1222         (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1223         (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1224         (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1225         (verilog-inject-sense, verilog-library-filenames)
1226         (verilog-mode-release-date, verilog-mode-version)
1227         (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1228         (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1229         (verilog-modi-get-assigns, verilog-modi-get-consts)
1230         (verilog-modi-get-gparams, verilog-modi-get-inouts)
1231         (verilog-modi-get-inputs, verilog-modi-get-outputs)
1232         (verilog-modi-get-ports, verilog-modi-get-regs)
1233         (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1234         (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1235         (verilog-modi-get-wires, verilog-preserve-cache)
1236         (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1237         (verilog-read-sub-decls, verilog-read-sub-decls-line)
1238         (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1239         (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1240         Add caching of additional state, and rework signal extraction
1241         routines to improve AUTO expansion performance by 300%++.
1243 2008-05-06  Chong Yidong  <cyd@stupidchicken.com>
1245         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1246         Tweak Open Watcom regexp to distinguish between errors and warnings.
1248 2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1250         * dired.el (dired-read-dir-and-switches): Fix up last change.
1252 2008-05-05  Eric S. Raymond  <esr@snark.thyrsus.com>
1254         * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1255         out of this function, move it to vc-dispatcher-selection-set.
1257 2008-05-05  Sam Steingold  <sds@gnu.org>
1259         * window.el (delete-other-windows-vertically): New function.
1261 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * dired.el (dired-read-dir-and-switches):
1264         Obey read-file-name-completion-ignore-case.
1266 2008-05-05  Nick Roberts  <nickrob@snap.net.nz>
1268         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1269         Add regexp for Open Watcom compiler output.
1271 2008-05-05  Phil Sung  <psung@mit.edu>  (tiny change)
1273         * progmodes/python.el (python-block-pairs): Align finally with except.
1275 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1277         * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1279 2008-05-05  Tom Tromey  <tromey@redhat.com>
1281         * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1282         looking at conflict marker.
1284 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1286         * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1287         client-mode -> vc-client-object, and guess `funcall' was meant.
1288         (vc-dir-mode): Rename client-mode -> vc-client-mode.
1290 2008-05-05  Dan Nicolaescu  <dann@ics.uci.edu>
1292         * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1293         (dbus-debug): Move declarations outside eval-when-compile.
1295 2008-05-04  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
1297         * proced.el (proced-command-alist): Fix system-type values.
1298         Fix defcustom.
1299         (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1300         (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1301         (proced-sort-start, proced-sort, proced-sort-time): New commands.
1302         (proced-update): Use proced-sorting-scheme.  Update modeline.
1303         (proced-send-signal): Use nreverse.
1304         (proced-sorting-scheme-p): New function.
1306 2008-05-04  Andreas Schwab  <schwab@suse.de>
1308         * vc.el: Require dired when compiling.
1310         * minibuffer.el (completion--insert-strings): Don't delete past bol.
1312 2008-05-03  Glenn Morris  <rgm@gnu.org>
1314         * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1315         * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1316         Simplify compilation requirements.
1317         * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1318         declarations.
1320 2008-05-03  Dave Love  <fx@gnu.org>
1322         * progmodes/python.el (python-beginning-of-statement):
1323         Loop at least once (fixes 2008-02-21 change).
1325 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
1327         * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1328         instead of `length' for comparing length of user and group names.
1330 2008-05-03  Eric S. Raymond  <esr@snark.thyrsus.com>
1332         * vc-dispatcher.el: New file, separates out the UI and command
1333         execution machinery from VCS-specific logic left in vc.el.
1334         The separation is not yet completely clean, but it's a good start.
1335         * vc.el: This file is about 1700 lines shorter now.
1336         Remove obsolete logentry-check from the backend API.
1337         * vc-sccs.el (vc-sccs-logentry-check): Remove.  This was the only
1338         implementation of the logentry-check method, and it guarded against
1339         a log length limit that has probably been obsolete for 15 years (!).
1341 2008-05-02  Sam Steingold  <sds@gnu.org>
1343         * progmodes/compile.el (compilation-start): Move setting of
1344         compilation-directory after (funcall mode) as that resets local
1345         variables, this fixes recompile in grep buffers.
1346         * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1348 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1350         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1351         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1352         * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1353         has one of these and that all are called in compatible ways.
1354         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1355         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1356         * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1357         backend has one of these.
1359 2008-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1361         * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1362         initialization into define-abbrev-table.  Use :regexp.
1363         (octave-mode-syntax-table): Don't set word syntax for `.
1365         * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1366         than only value.
1368         * dired.el (dired-read-dir-and-switches):
1369         Set minibuffer-completing-file-name and call substitute-in-file-name.
1370         (dired-format-columns-of-files): Use completion--insert-strings.
1372         * minibuffer.el (completion-hilit-commonality): Revert last change:
1373         the leftover code was actually useful.
1374         (completion--insert-strings): Use string-width rather than length.
1376 2008-05-02  Sam Steingold  <sds@gnu.org>
1378         * vc.el (vc-dir-mode-map): Enable mouse bindings.
1379         (vc-at-event): New macro: run the body at the even location.
1380         (vc-dir-menu, vc-dir-toggle-mark): Use it.
1381         (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1382         * subr.el (mouse-event-p): Check if the even is mouse-related.
1384 2008-05-02  Nick Roberts  <nickrob@snap.net.nz>
1386         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1387         Don't throw error if no file is found.
1389 2008-05-02  Juanma Barranquero  <lekktu@gmail.com>
1391         * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1392         (vc-default-state-heuristic): Doc fix.
1394 2008-05-02  Richard Sharman  <rsharman@pobox.com>
1396         * hilit-chg.el (highlight-changes-mode): Remove references to
1397         hooks that no longer exist.  Because define-minor-mode is used the
1398         hook highlight-changes-mode-hook exists and can do what both the
1399         old hooks used to do.  The documentation at the top of the file
1400         was updated to demonstrate this.
1401         (highlight-changes-mode): Remove commented out call to a hook
1402         function that is no longer there.
1403         (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1405 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1407         * vc.el (vc-default-dired-state-info): Change name of primitive
1408         to prettify-state-info, in preparation for ripping out dired mode.
1409         * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1410         to prettify-state-info, in preparation for ripping out dired mode.
1411         * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1412         tries this on a version-controlled buffer.  It will do useless or
1413         actively bad things on any version control system newer than RCS.
1414         * vc-hooks.el (vc-dired-resynch-file):
1415         * vc.el (vc-dired-resynch-file): Change name of primitive to
1416         vc-directory-resynch-file, preparing to remove dired.
1418 2008-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
1420         * vc-rcs.el (vc-rcs-state): Fix typos.
1422         * vc.el (vc-register): Change argument order so that the prefix
1423         argument is assigned correctly.
1424         (vc-next-action, vc-dir-register): Update for the above change.
1426 2008-05-01  Juri Linkov  <juri@jurta.org>
1428         * replace.el (occur-read-primary-args): Set default to the car of
1429         regexp-history and display it in the prompt, but don't add to the
1430         list of minibuffer defaults.  Bind history-add-new-input to nil to
1431         not add automatically `default'.  For empty input return `default'.
1432         Otherwise, add `input' to regexp-history and return it.
1433         (occur-1): Signal an error for the empty regexp.
1435         * progmodes/compile.el (compilation-auto-jump):
1436         Set window point to `pos' explicitly.
1438 2008-05-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1440         * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1441         when appropriate.
1442         * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1443         we report the 'unregistered state reliably.
1444         * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1445         we report the 'unregistered state reliably.
1446         * vc-git.el (vc-git-state): Call vc-git-unregistered so
1447         we report the 'unregistered state reliably.
1448         * vc-hooks (vc-state): Document that vc-unregistered is
1449         now expected to be returned reliably.
1450         * vc.el (vc-default-dired-state): Change needs-patch state to
1451         needs-update, since the name now shows up in dir-status listings
1452         and was somewhat misleading.
1453         * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1454         immediately after removing the file.
1455         * vc.el (vc-next-action): More informative messages when a fileset
1456         is in a mixed state or files are missing.
1458 2008-05-01  Sam Steingold  <sds@gnu.org>
1460         * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1462 2008-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1464         * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1466 2008-05-01  Daiki Ueno  <ueno@unixuser.org>
1468         * epa-file-hook.el: New file split from epa-file.el.
1469         * epa-file.el: Require 'epa-file-hook.
1470         (epa-file-handler): Add autoload cookie.
1471         * loadup.el: Load epa-file-hook.
1472         * startup.el (command-line): Eval the body of auto-encryption-mode.
1474 2008-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
1476         * vc.el (vc-dir-mode-map): Don't bind "r".
1478         * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1479         (vc-hg-status-printer): New function.
1480         (vc-hg-after-dir-status): Deal with copied and renamed files.
1481         (vc-hg-dir-status): Add flag to show copied files.
1483 2008-05-01  John Paul Wallington  <jpw@pobox.com>
1485         * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1486         (ibuffer-do-sort-by-recency): Reverse sorting order if last
1487         sorting mode was recency.
1489         * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1490         reverse sorting order if last sorting mode was the sorter's.
1492 2008-05-01  Jason Rumney  <jasonr@gnu.org>
1494         * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1496 2008-04-30  John Paul Wallington  <jpw@pobox.com>
1498         * ibuffer.el (define-ibuffer-column filename): When the major mode
1499         is `vc-dir-mode' show the buffer's default directory.
1501         * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1502         major mode is `vc-dir-mode' use the buffer's default directory.
1504 2008-04-30  Sam Steingold  <sds@gnu.org>
1506         * vc.el (vc-dir-delete-file): Add.
1507         (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1508         (vc-delete-file): Do not barf when the file has been already deleted.
1510 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1512         * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1514 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1516         * progmodes/octave-mod.el (octave-help): New function.
1517         * progmodes/octave-hlp.el: Delete.
1518         * info-look.el (octave-mode): Add operator index.
1520         * vc.el (vc-checkout): Typo.
1522 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1524         * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1525         Add "..." in the appropriate places.
1527         * epa.el (epa-key-list-mode-map): Add more menu entries.
1528         Add "..." in the appropriate places.
1530         * dired.el (dired-mode-map): Add :help.
1532         * vc.el (vc-deduce-fileset): Add new parameter.
1533         (vc-dir-marked-only-files): New function.
1534         (vc-next-action): Don't ignore directories, look at the files
1535         inside them.
1536         (vc-dir-mode): Document how the mark/unmark commands work.
1538 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1540         * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1541         Rule out trailing spaces in file and directory names as well.
1543         * minibuffer.el (completion--do-completion): Move point even if the
1544         completion makes no change.
1545         (completion-pcm-try-completion): Fix computation of new point.
1547 2008-04-30  David Hansen  <david.hansen@gmx.net>
1549         * dired.el: Require 'cl.
1551 2008-04-30  Nick Roberts  <nickrob@snap.net.nz>
1553         * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1554         hollow if not in innermost frame.
1556 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1558         Make `checkout-model' apply to filesets.
1559         * vc-hooks.el (vc-checkout-model): Rewrite.
1560         (vc-before-save, vc-after-save): Adjust callers accordingly.
1561         * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1562         (vc-transfer-file): Adjust callers accordingly.
1563         * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1564         (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1565         (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1566         instead of vc-checkout-model.
1567         * vc-mcvs.el (vc-mcvs-revert):
1568         Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1569         * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1570         (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1571         * vc-svn.el (vc-svn-checkout-model):
1572         * vc-hg.el (vc-hg-checkout-model):
1573         * vc-git.el (vc-git-checkout-model):
1574         * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1576         * dired.el (dired-read-dir-and-switches): Replace last change with
1577         a new approach that mixes read-file-name and read-directory-name.
1579         * files.el (read-buffer-to-switch):
1580         Avoid making assumptions about `other-buffer'.
1582 2008-04-29  Sam Steingold  <sds@gnu.org>
1584         * vc.el (vc-dir-mode-hook): Add normal hook.
1585         (vc-dir-mode): Run it.
1587 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1589         * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1590         Always split windows.
1591         (gdb-speedbar-timer-fn): Only raise frame after user input.
1592         (gdb-same-frame): Reverse initial value.
1593         (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1595         * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1596         gdb-speedbar-timer-fn.
1598 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1600         * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1602 2008-04-29  Daiki Ueno  <ueno@unixuser.org>
1604         * epa.el (epa-key-list-mode-map): Add menu.
1605         (epa-delete-keys, epa-import-keys): Fix typo.
1607 2008-04-29  Glenn Morris  <rgm@gnu.org>
1609         * find-cmd.el (top-level): Does not need cl when compiling.
1611 2008-04-29  Phil Jackson  <phil@shellarchive.co.uk>
1613         * find-cmd.el: New file.
1615 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1617         * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1618         (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1619         (completion-pcm--hilit-commonality): New function.
1620         (completion-pcm-all-completions): Use it.
1622         * minibuffer.el (completion-common-substring): Mark obsolete.
1623         (completions-first-difference, completions-common-part):
1624         Move from simple.el.
1625         (completion-hilit-commonality): New fun.
1626         (display-completion-list, completion-emacs21-all-completions)
1627         (completion-emacs22-all-completions): Use it.
1628         * simple.el (completions-first-difference, completions-common-part):
1629         Move to minibuffer.el.
1630         (choose-completion-string): Use field functions and minibufferp.
1631         (completion-setup-function): Don't set completions faces.
1633 2008-04-29  Glenn Morris  <rgm@gnu.org>
1635         * calendar/calendar.el (calendar-nth-named-absday)
1636         (calendar-nth-named-day):
1637         * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1638         * calendar/holidays.el (holiday-float): Doc fixes.
1640         * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1641         the `full' case.
1643         * org/org-agenda.el (calendar-iso-from-absolute):
1644         * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1645         Fix declarations.
1647 2008-04-28  Nick Roberts  <nickrob@snap.net.nz>
1649         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1650         icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1651         (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1652         (gdb-assembler-custom): Be careful not to match other addresses.
1654 2008-04-29  Jason Rumney  <jasonr@gnu.org>
1656         * battery.el (battery-status-function): Use w32-battery-status
1657         on Windows.
1658         (battery-echo-area-format): Make apm format the general case.
1659         (battery-mode-line-format): Merge apm and pmset formats as the
1660         general case.
1662 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1664         * progmodes/gdb-ui.el (gdb-info-stack-custom):
1665         Use gud-tool-bar-item-visible-no-fringe.
1666         (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1667         is already visible in frame.  Remove optional size parameter
1668         and add optional frame parameter.
1670         * progmodes/gud.el (gud-display-line): Only consider visible
1671         frames when looking for source buffer.
1673 2008-04-28  Chong Yidong  <cyd@stupidchicken.com>
1675         * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1676         argument to get-char-property, in case the current buffer hasn't
1677         been assigned to that window yet.
1678         (doc-view-display): Default to selected window if the current
1679         buffer hasn't been assigned to a window yet.
1681 2008-04-28  Vinicius Jose Latorre  <bzg@altern.org>
1683         * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1685 2008-04-28  Michael Albinus  <michael.albinus@gmx.de>
1687         * net/tramp.el (tramp-mode): New defcustom.
1688         (tramp-file-name-handler, tramp-completion-file-name-handler):
1689         Use it.
1690         (tramp-replace-environment-variables): Handle "$$".
1692 2008-04-28  Sam Steingold  <sds@gnu.org>
1694         * vc-hg.el (vc-hg-rename-file): Fix argument order.
1696 2008-04-28  Bastien Guerry  <bzg@altern.org>
1698         * whitespace.el (whitespace-trailing): Fix typo.
1700 2008-04-28  Sam Steingold  <sds@gnu.org>
1702         * textmodes/remember.el (diary-make-entry): Update the autoload.
1704 2008-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1706         * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1707         all-completions.
1709 2008-04-28  Juanma Barranquero  <lekktu@gmail.com>
1711         * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1713 2008-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
1715         * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1716         (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1717         (vc-dir-mark-file): Add an optional argument.
1718         (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1720 2008-04-27  Daiki Ueno  <ueno@unixuser.org>
1722         * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1723         rather than obsolete alias find-file-hooks.
1724         (auto-encryption-mode): Rename from epa-file-mode.  Default to on.
1725         Use find-file-hook rather than obsolete alias find-file-hooks.
1726         Add to find-file-not-found-functions.
1727         (epa-file-handler): Put 'safe-magic and 'operations properties.
1729         * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1730         (epa-menu-items): Remove.
1732         * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1733         (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1734         (epa-dired-mode, epa-global-dired-mode): Remove.
1736         * dired.el (dired-mode-map): Bind encryption/decryption commands.
1738         * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1740         * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1742 2008-04-27  Glenn Morris  <rgm@gnu.org>
1744         * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1745         Remove un-needed local `orig-list'.  Replace cl `copy-list'.
1747 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
1749         * org/org.el (org-html-level-start): Always have id's in HTML.
1750         (org-export-as-html): Use `org-link-protocols' to
1751         retrieve the export form of the link.
1752         (org-add-link-type): Final parameter renamed from PUBLISH.
1753         Better documentation of how it is to be used.  Avoid double entries for
1754         the same link type.
1755         (org-add-link-props): New function.
1756         (org-modules-loaded): New variable.
1757         (org-load-modules-maybe, org-set-modules): New function.
1758         (org-modules): New option.
1759         (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1760         (orgtbl-mode, org-store-link, org-insert-link-global)
1761         (org-open-at-point): Call `org-load-modules-maybe'.
1762         (org-search-view): Add more text properties.
1763         (org-agenda-schedule, org-agenda-deadline): Allow also in
1764         search-type agendas.
1765         (org-search-view): Order of arguments has been changed.
1766         Interpret prefix-arg as TODO-ONLY.
1767         (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1768         Take new argument order of `org-search-view' into account.
1769         (org-todo-only): New variable.
1770         (org-search-syntax-table): New variable and function.
1771         (org-search-view): Do the search with the special syntax table.
1772         (define-obsolete-function-alias): Make work with XEmacs.
1773         (org-add-planning-info): Use old date as default when modifying an
1774         existing deadline or scheduled item.
1775         (org-agenda-compute-time-span): Make argument N optional.
1776         (org-agenda-format-date-aligned): Require `cal-iso'.
1777         (org-agenda-list): Include week into agenda heading, don't
1778         list it at each date (only on Mondays).
1779         (org-read-date-analyze): Define local variable `iso-date'.
1780         (org-agenda-format-date-aligned): Remove dependency on
1781         `calendar-time-from-absolute'.
1782         (org-remember-apply-template, org-go-to-remember-target):
1783         Interpret filenames relative to `org-directory'.
1784         (org-complete): Silently fail when trying to complete
1785         keywords that don't have a default value.
1786         (org-get-current-options): Add a #+DATE: option.
1787         (org-additional-option-like-keywords): Remove "DATE:" from the
1788         list of additional keywords.
1789         (org-export-as-html): Remove (current-time) as unnecessary second
1790         argument of `format-time-string'.
1791         (org-clock-find-position): Handle special case at end of buffer.
1792         (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1793         `org-agenda-change-time-span'.
1794         (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1795         `org-agenda-change-time-span'.
1796         (org-agenda-month-view): New argument MONTH, pass it on to
1797         `org-agenda-change-time-span'.
1798         (org-agenda-year-view): New argument YEAR, pass it on to
1799         `org-agenda-change-time-span'.
1800         (org-agenda-change-time-span): New optional argument N, pass it on
1801         to `org-agenda-compute-time-span'.
1802         (org-agenda-compute-time-span): New argument N, interpret it by
1803         changing the starting day.
1804         (org-small-year-to-year): New function.
1805         (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1806         (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1807         into the future, and that the shift is at least one interval, never 0.
1808         (org-update-checkbox-count): Fix bug with checkbox counting.
1809         (org-add-note): New command.
1810         (org-add-log-setup): Rename from `org-add-log-maybe'.
1811         (org-log-note-headings): New entry for plain notes (i.e. notes not
1812         related to state changes or clocking).
1813         (org-get-org-file): Check for availability of `remember-data-file'.
1814         (org-cached-entry-get): Allow a regexp value for
1815         `org-use-property-inheritance'.
1816         (org-use-property-inheritance): Allow regexp value.  Fix bug in
1817         customization type.
1818         (org-use-tag-inheritance): Allow a list and a regexp value for
1819         this variable.
1820         (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1821         (org-entry-get): Respect value `selective' for the INHERIT argument.
1822         (org-tag-inherit-p, org-property-inherit-p): New functions.
1823         (org-agenda-format-date-aligned): Allow 10 characters for
1824         weekday, to acomodate German locale.
1825         (org-add-archive-files): New function.
1826         (org-agenda-files): New argument `ext', to get archive files as well.
1827         (org-tbl-menu): Protect the use of variables that
1828         are only available when org-table.el gets loaded.
1829         (org-read-agenda-file-list): Error if `org-agenda-files' is a
1830         single directory.
1831         (org-open-file): Allow a batch process to trigger
1832         waiting after executing a system command.
1833         (org-store-link): Link to headline when there is not
1834         target and no region in an org-mode buffer when creating a link.
1835         (org-link-types-re): New variable.
1836         (org-make-link-regexps): Compute `org-link-types-re'.
1837         (org-make-link-description-function): New option.
1838         (org-agenda-date, org-agenda-date-weekend): New faces.
1839         (org-archive-sibling-heading): New option.
1840         (org-archive-to-archive-sibling): New function.
1841         (org-iswitchb): New command.
1842         (org-buffer-list): New function.
1843         (org-agenda-columns): Also try the #+COLUMNS line in
1844         the buffer associated with the entry at point (or with the first
1845         entry in the agenda view).
1846         (org-modules): Add entry for org-bibtex.el.
1847         (org-completion-fallback-command): Move into `org-completion' group.
1848         (org-clock-heading-function): Move to `org-progress' group.
1849         (org-auto-repeat-maybe): Make sure that a note can
1850         be enforces if `org-log-repeat' is `note'.
1851         (org-modules): Allow additional symbols for external packages.
1852         (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
1853         (org-clock-goto): Hide drawers after showing an
1854         entry with `org-clock-goto.'
1855         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
1856         Try also a clocktable block shift.
1857         (org-clocktable-try-shift): New function.
1858         (org-columns-hscoll-title): New function.
1859         (org-columns-previous-hscroll): New variable.
1860         (org-columns-full-header-line-format): New variable.
1861         (org-columns-display-here-title, org-columns-remove-overlays):
1862         Install `org-columns-hscoll-title' in post-command-hook.
1864         * org/org.el: Split into many small files.
1866         * org/org-agenda.el: New file, split off from org.el.
1868         * org/org-archive.el: New file, split off from org.el.
1870         * org/org-bbdb.el: New file.
1872         * org/org-bibtex.el: New file, split off from org.el.
1874         * org/org-clock.el: New file, split off from org.el.
1876         * org/org-colview.el: New file, split off from org.el.
1878         * org/org-compat.el: New file, split off from org.el.
1880         * org/org-exp.el: New file, split off from org.el.
1882         * org/org-faces.el: New file, split off from org.el.
1884         * org/org-gnus.el: New file, split off from org.el.
1886         * org/org-info.el: New file, split off from org.el.
1888         * org/org-infojs.el: New file.
1890         * org/org-irc.el: New file.
1892         * org/org-macs.el: New file, split off from org.el.
1894         * org/org-mew.el: New file.
1896         * org/org-mhe.el: New file, split off from org.el.
1898         * org/org-publish.el: New file, split off from org.el.
1900         * org/org-remember.el: New file, split off from org.el.
1902         * org/org-rmail.el: New file, split off from org.el.
1904         * org/org-table.el: New file, split off from org.el.
1906         * org/org-vm.el: New file, split off from org.el.
1908         * org/org-wl.el: New file, split off from org.el.
1910 2008-04-27  Jason Riedy  <jason@acm.org>
1912         * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
1913         parameter that supresses lines that evaluate to NIL.
1914         (orgtbl-get-fmt): New inline function for
1915         picking apart formats that may be lists.
1916         (orgtbl-apply-fmt): New inline function for applying formats that
1917         may be functions.
1918         (orgtbl-eval-str): New inline function for strings that may be
1919         functions.
1920         (orgtbl-format-line, orgtbl-to-generic): Use and document.
1921         (orgtbl-to-latex, orgtbl-to-texinfo): Document.
1922         (*orgtbl-llfmt*, *orgtbl-llstart*)
1923         (*orgtbl-llend*): Dynamic variables for last-line formatting.
1924         (orgtbl-format-section): Shift formatting to support detecting the
1925         last line and formatting it specially.
1926         (orgtbl-to-generic): Document :ll* formats.  Set to the non-ll
1927         formats unless overridden.
1928         (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
1929         (*orgtbl-table*, *orgtbl-rtn*): Dynamically
1930         bound variables to hold the input collection of lines and output
1931         formatted text.
1932         (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
1933         (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
1934         format parameters.
1935         (orgtbl-format-line): New function encapsulating formatting for a
1936         single line.
1937         (orgtbl-format-section): Similar for each section.  Rebinding the
1938         dynamic vars customizes the formatting for each section.
1939         (orgtbl-to-generic): Use orgtbl-format-line and
1940         orgtbl-format-section.
1941         (org-get-param): Now unused, so delete.
1942         (orgtbl-gather-send-defs): New function to
1943         gather all the SEND definitions before a table.
1944         (orgtbl-send-replace-tbl): New function to find the RECEIVE
1945         corresponding to the current name.
1946         (orgtbl-send-table): Use the previous two functions and implement
1947         multiple destinations for each table.
1949         * doc/org.texi (A LaTeX example): Note that fmt may be a
1950         one-argument function, and efmt may be a two-argument function.
1951         (Radio tables): Document multiple destinations.
1953 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
1955         * org/org-agenda.el (org-add-to-diary-list): New function.
1956         (org-prefix-has-effort): New variable.
1957         (org-sort-agenda-noeffort-is-high): New option.
1958         (org-agenda-columns-show-summaries)
1959         (org-agenda-columns-compute-summary-properties): New options.
1960         (org-format-agenda-item): Compute the duration of the item.
1961         (org-agenda-weekend-days): New variable.
1962         (org-agenda-list, org-timeline): Use the proper faces for dates in
1963         the agenda and timeline buffers.
1964         (org-agenda-archive-to-archive-sibling): New command.
1965         (org-agenda-start-with-clockreport-mode): New option.
1966         (org-agenda-clockreport-parameter-plist): New option.
1967         (org-agenda-clocktable-mode): New variable.
1968         (org-agenda-deadline-leaders): Allow a function value for the
1969         deadline leader.
1970         (org-agenda-get-deadlines): Deal with new function value.
1972         * lisp/org-clock.el (org-clock): New customization group.
1973         (org-clock-into-drawer, org-clock-out-when-done)
1974         (org-clock-in-switch-to-state, org-clock-heading-function):
1975         Move into the new group.
1976         (org-clock-out-remove-zero-time-clocks): New option.
1977         (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
1978         (org-dblock-write:clocktable): Allow a Lisp form for the scope
1979         parameter.
1980         (org-dblock-write:clocktable): Fix bug with total time calculation.
1981         (org-dblock-write:clocktable): Request the unrestricted list of files.
1982         (org-get-clocktable): New function.
1983         (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
1984         be strings but also integers (an absolute day number) and lists (m d y).
1986         * org/org-colview.el (org-columns-next-allowed-value)
1987         (org-columns-edit-value): Limit the effort for updating in the
1988         agenda to recomputing a single file.
1989         (org-columns-compute): Only write property value if it has changed.
1990         This avoids raising the buffer-change-flag unnecessarily.
1991         (org-agenda-colview-summarize)
1992         (org-agenda-colview-compute): New functions.
1993         (org-agenda-columns): Call `org-agenda-colview-summarize'.
1995         * org/org-exp.el (org-export-run-in-background): New option.
1996         (org-export-icalendar): Allow a batch process to trigger waiting
1997         after executing a system command.
1998         (org-export-preprocess-string): Rename from
1999         `org-cleaned-string-for-export'.
2000         (org-export-html-style): Made target class look like normal text.
2001         (org-export-as-html): Make use of the better proprocessing in
2002         `org-cleaned-string-for-export'.
2003         (org-cleaned-string-for-export): Better treatment of heuristic
2004         targets, many more internal links will now work in HTML export.
2005         (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
2006         (org-export-inbuffer-options-extra): New variable.
2007         (org-export-options-filters): New hook.
2008         (org-infile-export-plist): Find also the settings keywords in
2009         `org-export-inbuffer-options-extra'.
2010         (org-infile-export-plist): Allow multiple #+OPTIONS lines and
2011         multiple #+INFOJS_OPT lines.
2012         (org-export-html-handle-js-options): New function.
2013         (org-export-html-infojs-setup): New option.
2014         (org-export-as-html): Call `org-export-html-handle-js-options'.
2015         Add autoload to all entry points.
2016         (org-skip-comments): Function removed.
2018         * org/org-table.el (org-table-make-reference): Extra parenthesis
2019         around single fields, to make sure that algebraic formulas get
2020         correctly interpreted by calc.
2021         (org-table-current-column): No longer interactive.
2023         * org/org-export-latex.el (org-export-latex-preprocess):
2024         Rename from `org-export-latex-cleaned-string'.
2026 2008-04-27  Bastien Guerry  <bzg@altern.org>
2028         * org/org-publish.el (org-publish-get-base-files-1): New function.
2029         (org-publish-get-base-files): Use it.
2030         (org-publish-temp-files): New variable.
2031         Don't require 'dired-aux anymore.
2032         (org-publish-initial-buffer): New variable.
2033         (org-publish-org-to, org-publish): Use it.
2034         (org-publish-get-base-files-1): Bug fix: get
2035         the proper list of files when recursing thru a directory.
2036         (org-publish-get-base-files): Use the :exclude property to skip
2037         both files and directories.
2039 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
2041         * net/tramp.el (tramp-handle-make-symbolic-link)
2042         (tramp-handle-file-name-directory)
2043         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2044         (tramp-do-copy-or-rename-file-directly)
2045         (tramp-handle-insert-directory, tramp-handle-expand-file-name)
2046         (tramp-handle-substitute-in-file-name)
2047         (tramp-handle-insert-file-contents, tramp-handle-write-region)
2048         * net/tramp-cache.el (tramp-get-file-property)
2049         (tramp-set-file-property, tramp-flush-file-property)
2050         (tramp-flush-directory-property)
2051         * net/tramp-compat.el (tramp-compat-make-temp-file)
2052         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
2053         Disable `file-name-handler-alist' when handling localname.
2054         It could have a remote file syntax, like a VMS file name.
2056 2008-04-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2058         * whitespace.el: New version 11.1.
2059         (whitespace-trailing-regexp): Option fix, now trailing regexp must be
2060         enclosed by \\( and \\)$.  Docstring fix.
2061         (whitespace-trailing-regexp): Fun removed.
2062         (whitespace-report-list): Const initialization fix.
2063         (whitespace-color-on): Code fix.
2065 2008-04-27  Andreas Schwab  <schwab@suse.de>
2067         * Makefile.el: Unbreak bootstrap.
2069 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
2071         * net/tramp.el (tramp-replace-environment-variables): New defun.
2072         (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
2073         Use it.
2075 2008-04-27  Glenn Morris  <rgm@gnu.org>
2077         * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
2079         * calculator.el (calculator-expt): Replace cl function `oddp'.
2081 2008-04-27  Johan BockgÃ¥rd  <bojohan@gnu.org>
2083         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
2084         Simplify.  Collect `defun' and `autoload' entries.
2085         Avoid modifying load-history.
2087 2008-04-26  Glenn Morris  <rgm@gnu.org>
2089         * textmodes/ispell.el (ispell-insert-word): Revert previous change.
2091         * simple.el (quoted-insert, zap-to-char): Revert previous change.
2093 2008-04-26  John Paul Wallington  <jpw@pobox.com>
2095         * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
2096         `hexl-mode-old-eldoc-documentation-function'.
2097         (hexl-mode-exit): Restore it.
2098         (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
2100         * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
2102 2008-04-26  Juanma Barranquero  <lekktu@gmail.com>
2104         * minibuffer.el (completion-pcm-word-delimiters): Add :group.
2105         (completion-pcm--all-completions): Doc fix.
2106         (completion-styles-alist, completion-all-completions):
2107         Fix typos in docstrings.
2109 2008-04-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2111         * whitespace.el: There is now only one variable (whitespace-style) to
2112         specify which kind of blank is visualized.  Doc and docstring fix.
2113         New version 11.0.
2114         (whitespace-style): New option, replace whitespace-style-mark and
2115         whitespace-style-color.
2116         (whitespace-style-mark, whitespace-style-color): Options removed.
2117         (whitespace-hspace, whitespace-tab, whitespace-newline)
2118         (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
2119         (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
2120         (whitespace-hspace-regexp, whitespace-space-regexp)
2121         (whitespace-tab-regexp, whitespace-trailing-regexp)
2122         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2123         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2124         (whitespace-space-after-tab-regexp, whitespace-line-column)
2125         (whitespace-display-mappings, whitespace-report): Docstring fix.
2126         (whitespace-color-value-list, whitespace-mark-value-list)
2127         (whitespace-active-color, whitespace-active-mark)
2128         (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
2129         (whitespace-style-value-list, whitespace-active-style)
2130         (whitespace-toggle-style): New vars.
2131         (whitespace-toggle-option-alist, whitespace-help-text):
2132         Var initialization and docstring fix.
2133         (whitespace-toggle-options, global-whitespace-toggle-options)
2134         (whitespace-cleanup, whitespace-cleanup-region)
2135         (whitespace-report-region, whitespace-interactive-char)
2136         (whitespace-toggle-list): Docstring and code fix.
2137         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
2138         (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
2139         (whitespace-display-char-on, whitespace-display-char-off): Code fix.
2140         (whitespace-style-face-p, whitespace-style-mark-p): New fun.
2142 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2144         * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
2145         (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
2146         (diff-sanity-check-hunk): Adjust code accordingly.
2148 2008-04-26  Glenn Morris  <rgm@gnu.org>
2150         * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
2152         * forms-d2.dat: Move to ../etc.
2153         * forms-d2.el (forms-file): Adapt for above change.
2155         * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
2156         `translation-table-for-input'.
2158         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
2159         (byte-compile-obsolete, byte-compile-variable-ref): Use it.
2161         * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
2162         to punctuation now it's not needed for abbrevs.
2163         (fortran-mode-abbrev-table): Remove defvar, make use of new
2164         define-abbrev-table :regexp feature.
2166         * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
2167         insert, now that translation-table-for-input is not needed.
2169 2008-04-26  Johannes Weiner  <hannes@saeurebad.de>
2171         * emacs-lisp/pp.el (pp-display-expression): New function,
2172         extracted from pp-eval-expression.
2173         (pp-eval-expression): Use pp-display-expression.
2174         (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
2175         (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
2176         (pp-eval-last-sexp): Use pp-last-sexp.
2178 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2180         * abbrev.el (define-abbrev-table): Apply props even if the table
2181         exists already.
2183         * minibuffer.el (completion-table-with-context): Fix `pred' for the
2184         various kinds of completion tables.
2185         (completion-emacs22-try-completion): Place cursor after the /, as was
2186         done in Emacs-22's minibuffer-complete-word.
2187         Fix bug reported by David Hansen <david.hansen@gmx.net>.
2188         (completion-emacs22-try-completion): Merge all mergable text rather
2189         than just /.
2190         (completion-pcm--delim-wild-regex): New var.
2191         (completion-pcm-word-delimiters): New custom.
2192         (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2193         (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2194         (completion-pcm--all-completions, completion-pcm-all-completions)
2195         (completion-pcm--merge-completions, completion-pcm--pattern->string)
2196         (completion-pcm-try-completion): New functions.
2197         (completion-styles-alist): Add them.
2198         (completion-styles): Add it to the default.
2200 2008-04-25  Nick Roberts  <nickrob@snap.net.nz>
2202         * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2203         (gdb-var-create-handler): ...until here when there are values.
2204         (gdb-post-prompt): Don't do -var-update with no watch expressions.
2205         (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2207 2008-04-25  Eli Zaretskii  <eliz@gnu.org>
2209         * ls-lisp.el (ls-lisp-format): Fix last change.
2210         (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2211         (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2212         (ls-lisp-filesize-f-fmt): New defvars.
2213         (ls-lisp-insert-directory): Dynamically compute format specifiers
2214         for displaying UID, GID, and file size, and store them in the
2215         above variables.
2216         (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2217         ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2218         instead of constant format strings.
2219         (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2220         ls-lisp-filesize-d-fmt instead of constant format strings.
2222 2008-04-24  Nick Roberts  <nickrob@snap.net.nz>
2224         * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2225         value of addresses rather than (partial) string value.
2226         (gdb-frame-handler): Change regexp according to above change.
2227         (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2228         (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2229         (gdb-assembler-mode): Disable undo in these buffers.
2231 2008-04-24  Michael Albinus  <michael.albinus@gmx.de>
2233         * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2234         Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2236 2008-04-24  Sam Steingold  <sds@gnu.org>
2238         * textmodes/remember.el (remember-diary-extract-entries): Use
2239         diary-make-entry instead of the obsolete make-diary-entry.
2241 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2243         * subr.el (translation-table-for-input): Mark as obsolete.
2245         * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2247         * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2249         * textmodes/ispell.el (ispell-dictionary-alist-1)
2250         (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2251         (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2252         (ispell-dictionary-alist-6): Remove.
2253         (ispell-dictionary-base-alist): New var, merges the above.
2254         (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2255         Use it.
2256         (ispell-dictionary-alist): Default to nil.  Remove autoload.
2257         (ispell-local-dictionary-alist): Remove autoload.
2259         * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2260         (f90-mode-abbrev-table): Use the new :regexp feature.
2261         Merge defvar and mapc into define-abbrev-table.
2262         (f90-imenu-type-matcher): Remove unused `l'.
2263         (f90-imenu-generic-expression): Remove unused `not-ib'.
2264         (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2265         (f90-change-keywords): Use restore-buffer-modified-p.
2267 2008-04-24  Glenn Morris  <rgm@gnu.org>
2269         * net/goto-addr.el (goto-address-prog-mode):
2270         * progmodes/bug-reference.el (bug-reference-prog-mode):
2271         Define for compiler.
2273         * minibuffer.el (x-file-dialog): Declare as function.
2275         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2276         dframe-update-speed rather than obsolete alias speedbar-update-speed.
2278         * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2279         (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2280         work with easymenu.  Add :keys where needed.
2282         * calendar/cal-move.el (calendar-scroll-left): Handle case when
2283         event-start is nil.
2285         * calendar/calendar.el (calendar-mode-map): Fix typo.
2287 2008-04-24  Tom Tromey  <tromey@redhat.com>
2289         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2290         Document keywords.  Add :suppress.
2291         * pcvs-defs.el (cvs-mode-map): Use :suppress.
2293         * net/goto-addr.el (goto-address-unfontify): New function.
2294         (goto-address-fontify): Use it.  Respect goto-address-prog-mode.
2295         (goto-address-fontify-region, goto-address-mode)
2296         (goto-address-prog-mode): New functions.
2298         * progmodes/bug-reference.el: New file.
2300 2008-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2302         * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2304 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2306         * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2307         macros within lambdas.
2309 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * minibuffer.el (completion-try-completion): Add `point' argument.
2312         Change return value.
2313         (completion-all-completions): Add `point' argument.
2314         (minibuffer-completion-help): Pass the new `point' argument.
2315         (completion--do-completion): Pass the whole field to try-completion.
2316         (completion--try-word-completion): Rewrite, making fewer assumptions.
2317         (completion-emacs21-try-completion, completion-emacs21-all-completions)
2318         (completion-emacs22-try-completion, completion-emacs22-all-completions)
2319         (completion-basic-try-completion, completion-basic-all-completions):
2320         New functions.
2321         (completion-styles-alist): Use them.
2323 2008-04-23  Agustin Martin  <agustin.martin@hispalinux.es>
2325         * ispell.el (ispell-set-spellchecker-params): New function to make sure
2326         right params and dictionary alists are used after spellchecker changes.
2327         (ispell-aspell-dictionary-alist, ispell-last-program-name)
2328         (ispell-initialize-spellchecker-hook): New variables and hook.
2329         (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2330         (ispell-maybe-find-aspell-dictionaries): Remove.
2331         Calls replaced by (ispell-set-spellchecker-params) calls.
2332         (ispell-have-aspell-dictionaries): Remove.
2333         * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2334         ispell-set-spellchecker-params.
2336 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2338         * complete.el (PC-do-completion): Be more robust in the presence of
2339         unexpected values in minibuffer-completion-predicate.
2341         * minibuffer.el (read-file-name): Don't let-bind default-directory.
2342         Only abbreviate default-filename if it's a file.
2344         * minibuffer.el (read-file-name-function, read-file-name-predicate)
2345         (read-file-name-completion-ignore-case, insert-default-directory):
2346         New vars, moved from fileio.c.
2347         (read-file-name): New fun, moved from fileio.c.
2348         * cus-start.el: Remove insert-default-directory and
2349         read-file-name-completion-ignore-case.
2351 2008-04-23  Magnus Henoch  <mange@freemail.hu>
2353         * tar-mode.el (tar-untar-buffer): If the entry has directory
2354         link type, extract it as a directory even if its file name doesn't
2355         end with a slash.  Fixes extraction of NetBSD tar archives.
2357 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2359         * server.el (server-start): Also don't get confused by CRs since we
2360         don't quote them.
2362 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2364         * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2365         (gdb-set-gud-minor-mode-existing-buffers)
2366         (gdb-info-breakpoints-custom, gdb-get-location)
2367         (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2368         Previously gdb-create-define-alist wasn't always run and added to
2369         after-save-hook.
2371         * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2373 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2375         * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2376         comments like unindented ones.
2378 2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2380         * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2381         parameter origins.
2383 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2385         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2386         Bind print-level to ensure output forms aren't truncated if
2387         print-level is set to eval-expression-print-level when going via
2388         eval-defun and friends, or has been otherwise fiddled with.
2390 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2392         * progmodes/cc-mode.el (c-basic-common-init): Don't set
2393         font-lock-extend-after-change-region-function globally.
2395 2008-04-23  Juanma Barranquero  <lekktu@gmail.com>
2397         * speedbar.el (speedbar-use-tool-tips-flag)
2398         (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2399         (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2400         (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2401         (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2402         (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2403         (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2404         (speedbar-separator-face): Fix typos in docstrings.
2405         (speedbar-stealthy-function-list, speedbar-verbosity-level)
2406         (speedbar-supported-extension-expressions, speedbar-update-current-file)
2407         (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2408         (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2409         (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2410         (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2411         (speedbar-check-vc-this-line, speedbar-files-line-directory)
2412         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2413         (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2414         (speedbar-recenter): Doc fixes.
2415         (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2416         declaration and remove redundant info in docstring.
2418 2008-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
2420         * vc-git.el (vc-git-status-printer): Deal with directories.
2422         * vc.el (vc-next-action): Look at more than the first file to
2423         determine the state.
2425 2008-04-23  Glenn Morris  <rgm@gnu.org>
2427         * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2428         timers.  Doc fix.
2429         (dframe-update-speed): Drop support for XEmacs < 20.
2430         (dframe-frame-mode): Drop support for Emacs < 20.
2431         (dframe-set-timer-internal): Drop support for Emacs without timers.
2432         (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2434         * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2435         versions.  Add doc-string.  Mark as obsolete.
2437         * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2439         * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2440         rather than using an Emacs version test.
2442         * tree-widget.el (tree-widget-image-enable): Use display-images-p
2443         rather than an Emacs version test.
2445         * calendar/cal-china.el (holiday-chinese-qingming)
2446         (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2447         * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2448         * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2450         * calendar/cal-islam.el (holiday-islamic): Doc fix.
2452         * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2453         (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2454         Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2456 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2458         * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2459         (gdb-previous-frame-pc-address): ...to this.
2460         (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2461         of "info frame" with Gdb 6.4+.
2462         (gdb-stack-list-frames-regexp): New regexp.
2463         (gdb-frame-handler-1): Parse output of -stack-info-frame.
2465 2008-04-22  David Glasser  <glasser@davidglasser.net>  (tiny change)
2467         * tar-mode.el (tar-prefix-offset): New constant.
2468         (tar-header-block-tokenize): Support paths with long names
2469         which use the "ustar" standard.
2471 2008-04-22  Mathias Dahl  <mathias.dahl@gmail.com>
2473         * image-dired.el (image-dired-track-original-file)
2474         (image-dired-modify-mark-on-thumb-original-file):
2475         Use `dired-goto-file' instead of `search-forward'.  This solves
2476         a bug with finding files where the file name is a subset of other
2477         file names.  Doc fix.
2479 2008-04-22  Juri Linkov  <juri@jurta.org>
2481         * menu-bar.el (buffers-menu-max-size): Move its definition down to
2482         the "Buffers Menu" section.  Change group name `mouse' to `menu'.
2483         (yank-menu-length): Change group name `mouse' to `menu'.
2484         (buffers-menu-buffer-name-length): New user option.
2485         (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2486         instead of the hard-coded number 27.
2488 2008-04-22  Juri Linkov  <juri@jurta.org>
2490         * isearch.el (eval-when-compile): Require `help-macro'.
2491         (isearch-help-for-help-internal): Isearch specific Help screen
2492         created by `make-help-screen'.
2493         (isearch-help-map): New variable that binds "b", "k", "m" to
2494         isearch-specific commands, and binds other keys to
2495         isearch-other-control-char, thus allowing other Help keys to
2496         exit isearch mode and execute their global definitions.
2497         (isearch-help-for-help, isearch-describe-bindings)
2498         (isearch-describe-key, isearch-describe-mode): New commands.
2499         (isearch-mode-help): Define alias to isearch-describe-mode
2500         and remove its old function definition.
2501         (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2502         Remove old comments because this issue is settled now.
2503         (isearch-forward): Describe three new Help commands in the docstring.
2504         (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2505         leave the single sentence at the first line of the docstring,
2506         and prepend the word "function" before `isearch-forward'
2507         to make the Help link to the function instead of variable.
2509 2008-04-22  Juri Linkov  <juri@jurta.org>
2511         * isearch.el (isearch-success-function): New variable with default
2512         to `isearch-success-function-default'.
2513         (isearch-search): Call a function from `isearch-success-function'
2514         instead of calling the hard-coded `isearch-range-invisible'.
2515         (isearch-success-function-default): New function that calls
2516         `isearch-range-invisible' and inverts its return value.
2518         * info.el (Info-search): In two similar places that skip
2519         undesired search matches move code to Info-search-success-function,
2520         and call `isearch-success-function' instead.
2521         (Info-search-success-function): New function copied from code
2522         in Info-search.  Replace isearch-range-invisible with
2523         text-property-not-all that checks for 'invisible and 'display
2524         properties to skip partially invisible matches (whose display
2525         properties were set by Info-fontify-node).
2526         (Info-mode): Set buffer-local isearch-success-function
2527         to Info-search-success-function.
2529 2008-04-22  Juri Linkov  <juri@jurta.org>
2531         * minibuffer.el (internal-complete-buffer-except): New function.
2533         * files.el (read-buffer-to-switch): New function.
2534         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2535         Change interactive spec to call read-buffer-to-switch instead of
2536         using the letter "B".
2538         * simple.el (minibuffer-default-add-shell-commands): New function.
2539         Use declare-function for mailcap-file-default-commands from "mailcap".
2540         (shell-command): Set local minibuffer-default-add-function to
2541         minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2542         before calling read-shell-command.  Set 4th arg default-value of
2543         read-shell-command to relative buffer-file-name in file buffers.
2545         * dired-aux.el (dired-read-shell-command-default): Move it to
2546         gnus/mailcap.el and change its name to more general name
2547         mailcap-file-default-commands.
2548         (minibuffer-default-add-dired-shell-commands): New function.
2549         Use declare-function for mailcap-file-default-commands from "mailcap".
2550         (dired-read-shell-command): Set local minibuffer-default-add-function
2551         to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2552         before calling read-shell-command.  Remove dired-read-shell-command-default
2553         from the default value arg because default values are not set in
2554         minibuffer-default-add-dired-shell-commands.  Doc fix.
2556         * dired-x.el (dired-smart-shell-command): Sync arguments and
2557         interactive spec with changes in `shell-command'.
2558         Use dired-get-filename to get the dired file name at point
2559         as the default value in dired mode.
2561 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2563         * info.el (Info-complete-menu-item): Add missing parenthesis.
2565 2008-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * info.el (Info-complete-menu-item): Save point.
2569 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2571         * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2573 2008-04-22  Andreas Schwab  <schwab@suse.de>
2575         * Makefile.in (emacs-deps): Define.
2576         Use it instead of $(lisp)/subdirs.el.
2578 2008-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
2580         * vc.el (vc-next-action): Do not consider directories when
2581         checking for state compatibility.
2582         (vc-transfer-file): Use when not if.
2583         (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2584         (vc-dir-mark-file): Use them.
2585         (vc-deduce-fileset): Also return the backend.
2586         (vc-diff-internal): Take as argument the value returned by
2587         vc-deduce-fileset instead of just the fileset.
2588         (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2589         (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2590         (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2592 2008-04-22  Tassilo Horn  <tassilo@member.fsf.org>
2594         * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2595         set-window-vscroll but image-scroll-down.  Fixes a bug where a
2596         command following SPC scrolled up again.
2598 2008-04-22  Nick Roberts  <nickrob@snap.net.nz>
2600         * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2601         (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2602         (gud-watch): Add "$" prefix when in registers buffer.
2604 2008-04-22  Glenn Morris  <rgm@gnu.org>
2606         * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2608         * whitespace.el (whitespace-display-table)
2609         (whitespace-display-table-was-local): Move definitions before use.
2611         * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2612         (copyright-limit): Respect copyright-at-end-flag.
2613         (copyright-re-search, copyright-start-point)
2614         (copyright-offset-too-large-p): New functions.
2615         (copyright-update-year): Use copyright-re-search.
2616         (copyright-update, copyright-fix-years): Use copyright-start-point,
2617         and copyright-re-search.
2618         (copyright): Use copyright-offset-too-large-p.
2619         * add-log.el (change-log-mode): Set copyright-at-end-flag.
2621         * add-log.el (top-level): Require 'cl when compiling.
2623 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2625         * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2626         Treat minibuffer-completion-predicate as a predicate.
2628         * minibuffer.el (completion--file-name-table): Accept both the old
2629         `dir' arg or the new `pred' arg.
2631         * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2632         `predicate' argument to pass non-predicate data.
2633         (ffap-read-url-internal, ffap-read-file-or-url-internal):
2634         Use second arg as proper predicate.
2636         * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2637         (vc-bzr-revision-completion-table): Use completion-table-with-context
2638         instead.
2640         * simple.el (choose-completion-string): Use minibuffer-completion-table.
2642 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
2644         * term.el (term-emulate-terminal): Perform redisplay after the
2645         process filter has finished running.
2647 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2649         * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2651         * minibuffer.el (completion-try-completion): Change magic symbol
2652         property name.  Rename from minibuffer-try-completion.
2653         (completion-all-completions): Rename from minibuffer-all-completions.
2654         Remove hide-spaces argument.
2655         (completion--do-completion): Rename from minibuffer--do-completion.
2656         (minibuffer-complete-and-exit): Call just try-completion rather than
2657         completion-try-completion to fix up the case.
2658         (completion--try-word-completion): Try to add space or hyphen before
2659         making `string' a prefix of `completion'.
2660         (completion--insert-strings): Rename from minibuffer--insert-strings.
2662 2008-04-22  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
2664         * net/tls.el (tls-program): Add -ign_eof argument to call the
2665         openssl commands.
2666         (tls-checktrust): Ditto.
2668 2008-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
2670         * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2672         * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2673         (vc-check-master-templates, vc-file-not-found-hook)
2674         (vc-kill-buffer-hook):
2675         * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2676         (vc-find-position-by-context, vc-buffer-context)
2677         (vc-restore-buffer-context, vc-responsible-backend)
2678         (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2679         (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2680         (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2681         (vc-version-diff, vc-diff, vc-insert-headers)
2682         (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2683         (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2684         (vc-revert, vc-rollback, vc-version-backup-file)
2685         (vc-rename-master, vc-delete-file, vc-rename-file)
2686         (vc-branch-part, vc-default-retrieve-snapshot)
2687         (vc-annotate-display-autoscale, vc-annotate-display-select)
2688         (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2689         (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2690         (vc-dir-update): Handle directories.
2691         (vc-default-status-printer): Simplify.
2693         * progmodes/asm-mode.el (asm-mode-map):
2694         * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2696         * progmodes/m4-mode.el (m4-mode-map): Add menu.
2698 2008-04-21  Kenichi Handa  <handa@m17n.org>
2700         * select.el (xselect-convert-to-string): Send a C_STRING only if
2701         the polymorphic target TEXT is requested.
2703 2008-04-21  Juanma Barranquero  <lekktu@gmail.com>
2705         * minibuffer.el (completion-setup-hook, display-completion-list)
2706         (completion--file-name-table): Fix typos in docstrings.
2707         (completion-table-dynamic): Fix typo, and reflow docstring.
2709 2008-04-20  Andreas Schwab  <schwab@suse.de>
2711         * server.el (server-switch-buffer): Also consider clients in the
2712         selected frame.
2714 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2716         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2717         Select window clicked on first.
2718         (gdb): Display thread number in mode-line.
2719         (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2720         (gdb-breakpoints-header): New variable.
2721         (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2723 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2725         * vc-sccs.el (vc-sccs-do-command): New fun.  Use the "sccs" command.
2726         (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2727         (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2728         (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2729         (vc-sccs-print-log): Use it.
2731         * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2733         * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2734         * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2736         * tooltip.el (tooltip-previous-message): New var.
2737         (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2738         the C code (avoid overwriting a minibuffer, restore previous echo
2739         message, ...).
2740         (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2741         Simplify.
2743 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2745         * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2746         (gdb-init-1): Initialise it.
2747         (gdb-annotation-rules): New entry for "new-thread".
2748         (gdb-thread-identification): New function to customize
2749         mode-line-buffer-identification.
2750         (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2751         (gdb-assembler-mode): Use it.
2752         (gdb-threads-mode): Force "info threads" onto queue.
2754 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2756         * files.el (locate-file-completion-table): Rename from
2757         locate-file-completion and make it use `pred' in the normal way.
2758         (locate-file-completion): New compatibility wrapper.
2759         (load-library): Use locate-file-completion-table.
2760         * finder.el (finder-commentary):
2761         * subr.el (locate-library):
2762         * emacs-lisp/find-func.el (find-library): Likewise.
2763         * info.el: Use with-current-buffer and inhibit-read-only.
2764         (Info-read-node-name-2): Change to use `predicate' in the normal way.
2765         (Info-read-node-name-1): Adjust uses accordingly.
2767         * minibuffer.el (completion-table-with-context): Add support for `pred'.
2768         (completion-table-with-terminator): Don't use complete-with-action
2769         since we have to distinguish all three cases anyway.
2770         (completion-table-with-predicate): New function.
2771         (dynamic-completion-table): Add obsolete alias.
2773         * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2775 2008-04-18  Sam Steingold  <sds@gnu.org>
2777         * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2778         Use quit-window instead of bury-buffer.
2780 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2782         * minibuffer.el (completion-table-with-terminator): Fix last fix.
2784 2008-04-18  Andreas Schwab  <schwab@suse.de>
2786         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2787         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2788         Depend on $(lisp)/subdirs.el.
2790 2008-04-18  Juanma Barranquero  <lekktu@gmail.com>
2792         * descr-text.el (describe-char-after):
2793         Use `define-obsolete-function-alias'.
2795         * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2797         * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2799         * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2800         Remove redundant obsolescence info in docstring.
2802         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2803         (vc-header-alist): Add WHEN to obsolescence declaration.
2804         (vc-state): Fix typo in docstring.
2806         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2807         Use `define-obsolete-variable-alias'.
2809         * emulation/tpu-edt.el (tpu-have-ispell):
2810         * international/codepage.el (codepage-setup):
2811         Fix typo in obsolescence declaration.
2813         * international/mule.el (char-coding-system-table):
2814         Remove redundant obsolescence info in docstring.
2815         (charset-list, generic-char-p, set-char-table-default):
2816         Fix typos in obsolescence decarations.
2818         * international/mule-diag.el (non-iso-charset-alist):
2819         Fix typo in obsolescence declaration.
2820         (decode-codepage-char): Remove redundant obsolescence info in docstring.
2822         * font-core.el (font-lock-defaults-alist):
2823         * font-lock.el (font-lock-reference-face):
2824         * frame.el (screen-height, screen-width, set-screen-width)
2825         (set-screen-height):
2826         * hilit-chg.el (highlight-changes-initial-state):
2827         * isearch.el (isearch-return-char):
2828         * log-edit.el (cvs-commit-buffer-require-final-newline)
2829         (cvs-changelog-full-paragraphs):
2830         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2831         (mouse-popup-menubar-stuff):
2832         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2833         (mouse-wheel-click-button):
2834         * outline.el (outline-visible):
2835         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2836         * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2837         * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2838         * progmodes/compile.el (compile-internal):
2839         Add WHEN to obsolescence declarations.
2841 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2844         is not better anyway.
2846 2008-04-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2848         * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
2849         properly.
2851 2008-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2853         * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
2854         (python-use-skeletons): Remove, unused.
2855         (python-skeletons): Remove.  Use the abbrev table instead.
2856         (python-mode-abbrev-table): Fix regexp;
2857         add enable-function and case-fixed.
2858         (def-python-skeleton): Simplify.
2859         (python-expand-template): Use the abbrev-table and abbrev-insert.
2860         (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2861         Remove.
2862         (python-mode): Don't set pre-abbrev-expand-hook.
2864         * skeleton.el: Set coding-tag.
2866         * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
2867         (expand-abbrev): Use it.
2868         (abbrev-table-menu): New function.
2870         * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
2872         * minibuffer.el (completion-table-with-terminator): Fix paren typo.
2874 2008-04-17  Sam Steingold  <sds@gnu.org>
2876         * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
2877         idiosyncratic bury-buffer/delete-window logic.
2879 2008-04-17  Juanma Barranquero  <lekktu@gmail.com>
2881         * emacs-lisp/crm.el (crm-completion-help, crm-complete)
2882         (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
2884 2008-04-17  Kenichi Handa  <handa@m17n.org>
2886         * international/characters.el: Don't make the width of U+00AD to 0.
2888 2008-04-17  Nick Roberts  <nickrob@snap.net.nz>
2890         * progmodes/gdb-ui.el (gdb-stack-update): New variable.
2891         (gdb, gdb-starting, gdb-frames-mode): Use it.
2892         (gdb-invalidate-frames): Advise to call "info stack" only if
2893         execution has occurred.
2894         (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
2895         selected frame if no execution has occurred.
2896         (gdb-frames-force-update): New interactive function.
2897         (gdb-frames-mode-map): Bind it to "F".
2899 2008-04-17  Michael Olson  <mwolson@gnu.org>
2901         * textmodes/remember.el (remember-version): Release Remember 2.0.
2903 2008-04-16  Yoni Rabkin  <yoni@rabkins.net>
2905         * textmodes/artist.el:
2906         * progmodes/vhdl-mode.el:
2907         * progmodes/verilog-mode.el:
2908         * progmodes/vera-mode.el:
2909         * progmodes/simula.el:
2910         * progmodes/ps-mode.el:
2911         * progmodes/cmacexp.el:
2912         * obsolete/hilit19.el:
2913         * emulation/viper.el:
2914         * ediff.el: Cleanup the bug-report email addresses and make sure the
2915         maintainer is still willing to handle bug reports.
2917 2008-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
2919         * vc.el (vc-dir-kill-query): Fix thinko.
2921 2008-04-16  Glenn Morris  <rgm@gnu.org>
2923         * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
2924         by diary-sexp-entry.
2926 2008-04-16  Markus Triska  <markus.triska@gmx.at>
2928         * proced.el (proced-command-alist): Add support for darwin.
2930 2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2932         * proced.el (proced-mode): Redefine as just the major-mode.
2933         (proced): Separate it from proced-mode.
2935         * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
2937 2008-04-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2939         * whitespace.el: Honor the `indent-tabs-mode' setting from user.
2940         Suggested by Stephen Deasey <sdeasey@gmail.com>.  Honor also the
2941         `tab-width' setting from user.  New version 10.0.  Doc and docstring
2942         fix.
2943         (whitespace-style, whitespace-chars): Remove options.
2944         (whitespace-style-mark): New option, replace whitespace-style deleted
2945         option.  Fix docstring.
2946         (whitespace-style-color): New option, replace whitespace-chars deleted
2947         option.  Fix docstring.
2948         (whitespace-space, whitespace-hspace, whitespace-tab)
2949         (whitespace-newline, whitespace-trailing, whitespace-line)
2950         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2951         (whitespace-space-after-tab, whitespace-hspace-regexp)
2952         (whitespace-space-regexp, whitespace-tab-regexp)
2953         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2954         (whitespace-empty-at-eob-regexp, whitespace-line-column)
2955         (whitespace-toggle-option-alist): Fix docstring.
2956         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2957         (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
2958         docstring and initialization.
2959         (global-whitespace-mode): Autoloaded global minor mode.
2960         (whitespace-chars-value-list, whitespace-style-value-list)
2961         (whitespace-active-chars, whitespace-active-style)
2962         (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
2963         (whitespace-color-value-list): New var, replace
2964         whitespace-chars-value-list removed var.
2965         (whitespace-mark-value-list): New var, replace
2966         whitespace-style-value-list removed var.
2967         (whitespace-active-color): New var, replace whitespace-active-chars
2968         removed var.
2969         (whitespace-active-mark): New var, replace whitespace-active-style
2970         removed var.
2971         (whitespace-toggle-color): New var, replace whitespace-toggle-chars
2972         removed var.
2973         (whitespace-toggle-mark): New var, replace whitespace-toggle-style
2974         removed var.
2975         (whitespace-toggle-option-alist, whitespace-report-list)
2976         (whitespace-report-text, whitespace-help-text): Fix initialization.
2977         (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
2978         (whitespace-toggle-options, global-whitespace-toggle-options)
2979         (whitespace-cleanup-region, whitespace-report-region)
2980         (whitespace-interactive-char): Fix docstring and code.
2981         (whitespace-cleanup, whitespace-report): Fix docstring.
2982         (whitespace-replace-spaces-by-tabs): Remove fun.
2983         (whitespace-replace-action): New fun, replace
2984         whitespace-replace-spaces-by-tabs removed fun.
2985         (whitespace-regexp, whitespace-indentation-regexp)
2986         (whitespace-space-after-tab-regexp, whitespace-insert-value)
2987         (whitespace-kill-buffer): New funs.
2988         (whitespace-insert-option-mark, whitespace-help-on)
2989         (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
2990         (whitespace-color-on, whitespace-color-off)
2991         (whitespace-display-char-on): Fix code.
2993 2008-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2995         * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
2996         (mouse-throw-magnifier-with-mouse-movement): Remove.
2997         (mouse-throw-magnifier-base): New const.
2998         (mouse-drag-scroll-delta): New fun.
2999         (mouse-drag-throw): Use it.
3001 2008-04-15  Juanma Barranquero  <lekktu@gmail.com>
3003         * international/uni-bidi.el, international/uni-category.el:
3004         * international/uni-combining.el, international/uni-comment.el:
3005         * international/uni-decimal.el, international/uni-decomposition.el:
3006         * international/uni-digit.el, international/uni-lowercase.el:
3007         * international/uni-mirrored.el, international/uni-name.el:
3008         * international/uni-numeric.el, international/uni-old-name.el:
3009         * international/uni-titlecase.el, international/uni-uppercase.el:
3010         * international/charprop.el: Regenerate.
3012 2008-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
3014         * vc.el (vc-status-fileinfo): Add new member directoryp.
3015         (vc-default-status-printer): Print directories.
3016         (vc-status-update): Sort files before subdirectories.
3018         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
3019         Add alternative implementation based on "cvs update".
3021 2008-04-15  Tassilo Horn  <tassilo@member.fsf.org>
3023         * doc-view.el: Changed requirements section to tell that only one
3024         of dvipdf or dvipdfm is needed.
3025         (doc-view-already-converted-p): Fix bug that forced reconversion
3026         if doc was already converted.
3028 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3030         * minibuffer.el (minibuffer-message):
3031         Make sure we can put-text-property.
3033         * emacs-lisp/crm.el: Complete rewrite.
3035         * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
3036         (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
3037         case of an error in display-completion-list.
3039         * filecache.el (file-cache-completions-keymap): Move init from
3040         file-cache-completion-setup-function into declaration.
3041         (file-cache-minibuffer-complete): Simplify.
3042         (file-cache-completion-setup-function): Use standard-output,
3043         preserve current-buffer.
3045         * vc.el (vc-status-update): Fix typo.
3046         (vc-status-update): Set needs-update.
3047         (vc-status-refresh): Î·-reduce.
3049 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
3051         * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
3052         to image-eol.
3054 2008-04-14  Alexandre Julliard  <julliard@winehq.org>
3056         * vc.el (vc-status-update): Undo the previous revert.
3058 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3060         * minibuffer.el (completion-table-with-terminator): Those completions
3061         are never valid w.r.t test-completion.
3062         (completion--file-name-table):
3063         Check completion-all-completions-with-base-size.
3065 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
3067         * doc-view.el (doc-view-dvipdf-program): New variable.
3068         (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
3069         (doc-view-mode-p): Check for doc-view-dvipdf-program as
3070         alternative for doc-view-dvipdfm-program.
3071         (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
3073         * doc-view.el (doc-view-start-process): Don't set
3074         default-directory to "~/" if the current value is valid.
3075         This broke PS files that run other files in the same directory.
3077 2008-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
3079         * vc.el (vc-status-kill-query): New function.
3080         (vc-status-mode): Add it to kill-buffer-query-functions.
3081         (vc-status-show-fileentry): New function.
3082         (vc-status-menu-map): Bind it.  Bind vc-next-action.
3084 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3086         * minibuffer.el (minibuffer-message): Put cursor at the right place.
3088 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3090         * proced.el (proced-send-signal): Fix error recognition.
3092 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3094         * proced.el (proced-command-alist): Remove sort column.
3095         (proced-command, proced-procname-column):
3096         Use make-variable-buffer-local.
3097         (proced-signal-function): Rename from proced-kill-program.
3098         Allow for elisp symbols and string values representing system calls.
3099         (proced-marker-regexp, proced-success-message): New functions.
3100         (proced): Use defalias.  Add autoload cookie.
3101         (proced-unmark-backward, proced-toggle-marks)
3102         (proced-hide-processes): New commands.
3103         (proced-do-mark): Simplify code.
3104         (proced-insert-mark): Use optional arg BACKWARD instead of line number.
3105         (proced-update): Remove sorting.
3106         (proced-send-signal): Display number of processes to operate on.
3107         Allow for system calls or elisp functions to send signals.
3108         Check if signal was sent successfully.
3110 2008-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3112         * minibuffer.el (completion-all-completion-with-base-size): New var.
3113         (completion--some): New function.
3114         (completion-table-with-context, completion--file-name-table):
3115         Return the base-size if requested.
3116         (completion-table-in-turn): Generalize to multiple arguments.
3117         (complete-in-turn): Compatibility alias.
3118         (completion-styles-alist): New var.
3119         (completion-styles): New customization.
3120         (minibuffer-try-completion, minibuffer-all-completions):
3121         New functions.
3122         (minibuffer--do-completion, minibuffer-complete-and-exit)
3123         (minibuffer-try-word-completion): Use them.
3124         (display-completion-list, minibuffer-completion-help): Use them.
3125         Handle all-completions's new base-size info to set completion-base-size.
3126         * info.el (Info-read-node-name-1): Use completion-table-with-context,
3127         completion-table-with-terminator and complete-with-action.
3128         Remove the now obsolete completion-base-size-function property.
3129         * simple.el (completion-list-mode-map): Move init into declaration.
3130         (completion-list-mode): Use define-derived-mode.
3131         (completion-setup-function): Use any completion-base-size that may
3132         have been set before.  Remove handling of completion-base-size-function.
3133         * loadup.el: Move abbrev.el up earlier.
3135 2008-04-13  Alexandre Julliard  <julliard@winehq.org>
3137         * vc-git.el (vc-git-after-dir-status-stage)
3138         (vc-git-dir-status-goto-stage): New functions.
3139         (vc-git-after-dir-status-stage1)
3140         (vc-git-after-dir-status-stage1-empty-db)
3141         (vc-git-after-dir-status-stage2): Remove, functionality moved
3142         into the new generic stage functions.
3143         (vc-git-dir-status-files): New function.
3145         * vc.el (vc-status-update): Revert an incorrect rewrite.
3146         Add some comments.
3147         (vc-status-refresh-files): New function.
3148         (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
3149         state of up-to-date files.
3150         (vc-default-dir-status-files): New function.
3152 2008-04-13  Juanma Barranquero  <lekktu@gmail.com>
3154         * minibuffer.el (completion--embedded-envvar-table)
3155         (read-file-name-internal): Fix typos in 2008-04-11 change.
3157         * faces.el (read-face-name): Use `completion-table-in-turn',
3158         not `complete-in-turn'.
3160 2008-04-13  Andreas Schwab  <schwab@suse.de>
3162         * progmodes/etags.el: Require 'cl when compiling.
3164 2008-04-12  Nick Roberts  <nickrob@snap.net.nz>
3166         * progmodes/gud.el (gud-menu-map): Expand tooltip.
3168         * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
3169         (menu): Add/expand menu tooltips.
3171 2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
3173         * progmodes/sh-script.el (sh-show-indent): Fix typo.
3174         (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
3176         * vc-cvs.el (vc-cvs-registered): Allow removed files to be
3177         considered registered.
3179 2008-04-12  Reiner Steib  <Reiner.Steib@gmx.de>
3181         * emacs-lisp/copyright.el (copyright-update-directory): New command.
3183         * ediff-wind.el (ediff-split-window-function)
3184         (ediff-merge-split-window-function): Improve custom type.
3186 2008-04-12  Eli Zaretskii  <eliz@gnu.org>
3188         * loadup.el ("minibuffer"): Move after "faces".
3190 2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3192         * progmodes/hideif.el (hif-factor): Handle unary minus.
3194 2008-04-12  Glenn Morris  <rgm@gnu.org>
3196         * calendar/cal-china.el (chinese-calendar-time-zone):
3197         Mark obsolete name as risky too.
3199         * calendar/calendar.el (calendar-faces): New custom group.
3200         (calendar-today, diary, holiday): Doc fix.
3201         Move to calendar-faces group.
3202         * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3203         (diary-button): Doc fix.  Move to calendar-faces group.
3205         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3206         * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3207         * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3208         * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3209         * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3210         Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3211         not in dumped files before the associated defcustom.
3213 2008-04-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
3215         * minibuffer.el (lazy-completion-table): Fix debug spec.
3217 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3219         * minibuffer.el (complete-with-action, lazy-completion-table):
3220         Move from subr.el.
3221         (apply-partially, completion-table-dynamic)
3222         (completion-table-with-context, completion-table-with-terminator)
3223         (completion-table-in-turn): New funs.
3224         (completion--make-envvar-table, completion--embedded-envvar-table):
3225         New funs.
3226         (read-file-name-internal): Use them.
3227         (completion-setup-hook): Move from simple.el.
3228         * subr.el (complete-with-action, lazy-completion-table):
3229         * simple.el (completion-setup-hook): Move to minibuffer.el.
3231 2008-04-11  Glenn Morris  <rgm@gnu.org>
3233         * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3235 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3239         * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3241         * textmodes/fill.el (fill-forward-paragraph-function): New var.
3242         (fill-forward-paragraph): New fun.
3243         (fill-paragraph, fill-region): Use it.
3245         * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3246         (vc-status-create-fileinfo): Make `extra' optional.
3247         (vc-status-busy): New fun.
3248         (vc-status-menu-map): Use it.
3249         (vc-status-crt-marked): Remove.
3250         (vc-status-update): Rename from vc-status-add-entries.
3251         Add argument so as to prevent addition of entries.  Rewrite.
3252         (vc-update-vc-status-buffer): Remove.
3253         (vc-status-refresh): Don't remove old entries, set them to
3254         up-to-date instead.  Also do it after the update is complete.
3255         (vc-status-marked-files): Î·-reduce.
3257         * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3258         for non-dialogs.
3260         * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3262         * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3264 2008-04-11  Jan Djärv  <jan.h.d@swipnet.se>
3266         * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3267         to t and don't truncate msg.
3269 2008-04-11  Glenn Morris  <rgm@gnu.org>
3271         * calendar/calendar.el (diary, holidays):
3272         Move custom groups to other files.
3273         (holiday-general-holidays, holiday-oriental-holidays)
3274         (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3275         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3276         (holiday-hebrew-holidays, holiday-christian-holidays)
3277         (holiday-islamic-holidays, holiday-bahai-holidays)
3278         (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3279         * calendar/diary-lib.el: Move custom group here from calendar.el.
3280         * calendar/holidays-lib.el: Move custom group and variables here
3281         from calendar.el.
3283         * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3285         * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3286         Fix custom group.
3287         (calendar-current-time-zone-cache): Autoload riskiness.
3289         * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3291 2008-04-11  Chong Yidong  <cyd@stupidchicken.com>
3293         * woman.el (woman2-TH): Use string-equal instead of string-match.
3295 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3297         * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3298         (smerge-resolve): Merge the "2-way refinement" case with one half of
3299         the "mere whitespace" resolution.
3301 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3303         * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3305 2008-04-10  Juanma Barranquero  <lekktu@gmail.com>
3307         * subr.el (assoc-ignore-case, assoc-ignore-representation):
3308         Add WHEN to obsolescence declaration.
3310         * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3312 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3314         * vc-hooks.el (vc-state): Add new state `conflict'.
3315         (vc-after-save): Use when not if.
3316         (vc-default-mode-line-string): Deal with the conflict state.
3317         (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3319         * vc.el (vc-editable-p, vc-default-status-printer)
3320         (vc-next-action): Deal with the conflict state.
3321         (vc-mark-resolved): New function.
3322         (vc-status-mode): Fix mode name.
3323         (vc-default-comment-history): Use when not if.
3324         (Todo): Add new entries, remove old ones.
3326         * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3327         (vc-cvs-parse-status, vc-cvs-after-dir-status):
3328         * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3329         Detect the conflict state.
3331         * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3333 2008-04-10  Glenn Morris  <rgm@gnu.org>
3335         * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3336         Respect truncate-partial-width-windows in non-full windows,
3337         with regards to :toggle and :enable state.
3339         * simple.el (toggle-truncate-lines): Doc fix.
3341         * Makefile.in (MH_E_DIR): New variable.
3342         (MH_E_SRC): Restore variable removed 2008-03-13.
3343         (mh-loaddefs.el): Depend on $MH_E_SRC.
3344         (CAL_DIR, CAL_SRC): New variables.
3345         (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3346         Depend on CAL_SRC.
3348         * calendar/calendar.el (calendar, diary): Add :prefix.
3349         (holidays): Change :prefix.
3350         (calendar-today, holiday, calendar-holiday-marker)
3351         (european-calendar-style): Change custom groups.
3353         * calendar/calendar.el (diary-hook, diary-display-hook):
3354         Move to diary-lib.el.
3355         * calendar/diary-lib.el (diary-hook, diary-display-hook):
3356         Move here from calendar.el.
3357         * calendar/appt.el: Require diary-lib rather than calendar.
3358         * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3360         * calendar/appt.el (appt): Add :prefix.
3362         * calendar/diary-lib.el (diary-hook): Doc fix.
3363         (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3365 2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3367         * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3368         New functions.
3370         * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3371         the arg to recursive calls.
3373 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3375         * minibuffer.el (completion-auto-help): Fix typo.
3377 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3379         * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3381 2008-04-09  Michael Albinus  <michael.albinus@gmx.de>
3383         * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3384         (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3386 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3388         * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3390         * minibuffer.el (minibuffer): Move group from cus-edit.el.
3391         (completion-auto-help): Move from C code.
3392         (minibuffer--maybe-completion-help): Remove.
3393         (minibuffer--bitset): New function.
3394         (minibuffer--do-completion): Rename from minibuffer-do-completion.
3395         Renumber a bit.  Really complete on string *before* point.
3396         Add argument used for word-completion.
3397         Join trailing / in completion with following text, as done in
3398         minibuffer-complete-word.
3399         Handle new value `lazy' for completion-auto-help.
3400         (minibuffer-try-word-completion): New function extracted from
3401         minibuffer-complete-word.
3402         (minibuffer-complete-word): Use minibuffer--do-completion.
3403         (minibuffer--insert-strings): Rename from
3404         minibuffer-complete-insert-strings.
3405         (exit-minibuffer): Fix typo.
3406         * cus-edit.el (minibuffer): Move group to minibuffer.el.
3407         * cus-start.el: Remove completion-auto-help.
3409 2008-04-09  Alexandre Julliard  <julliard@winehq.org>
3411         * vc.el (vc-status-add-entries): New function.
3412         (vc-status-add-entry): Remove.
3413         (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3414         Use vc-status-add-entries.
3416         * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3417         order.
3419 2008-04-09  Jason Rumney  <jasonr@gnu.org>
3421         * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3422         ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3423         (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3424         (AUTOGENEL): New variable.
3425         (distclean, maintainer-clean): New targets.
3427 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3429         * emacs-lisp/regexp-opt.el (regexp-opt):
3430         Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3432 2008-04-09  Lennart Borgman  <lennart.borgman@gmail.com>
3434         * nxml/nxml-mode.el (nxml-cleanup): New function.
3435         (nxml-mode): Add it to change-major-mode-hook.
3437 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3439         * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3441 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3443         * calc/.cvsignore: New file.
3445 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3447         * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3449         * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3450         show-help-function when turning tooltip off.
3451         (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3452         (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3454 2008-04-09  Alan Mackenzie  <acm@muc.de>
3456         * font-lock.el (font-lock-extend-after-change-region-function):
3457         Make it buffer local.
3459 2008-04-09  Glenn Morris  <rgm@gnu.org>
3461         * calendar/calendar.el (diary-file, european-calendar-style):
3462         Remove autoload cookies.
3464 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3466         * outline.el (outline-mode-menu-bar-map):
3467         * log-view.el (log-view-mode-menu):
3468         * log-edit.el (log-edit-menu): Add :help.
3470 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3472         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3473         Use substring-no-properties for correct handling of unibyte strings.
3475 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3477         * add-log.el (change-log-next-buffer): Handle the case where version<
3478         signals an error.
3480         * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3481         mouse-major-mode-menu.
3482         (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3483         (mouse-major-mode-menu, mouse-popup-menubar)
3484         (mouse-popup-menubar-stuff): Use them.
3485         (C-down-mouse-3): Bind to a dynamic map rather than to
3486         mouse-popup-menubar-stuff.
3488         * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3489         to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3491 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3493         * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3494         file:// access method.
3496 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3498         * minibuffer.el: New file.
3499         * loadup.el: Load it.
3501 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3503         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3504         rather than subdirs.el.  It introduces an ugly circular dependency, tho.
3506         * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3507         (calc-mode-map, calc-digit-map, calc-dispatch-map):
3508         Move initialization into declaration.
3509         * calc/calc-yank.el:
3510         * calc/calc-misc.el:
3511         * calc/calc-embed.el:
3512         * calc/calc-aent.el: Add autoload cookies.  Set generated-autoload-file.
3514 2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
3516         * ps-samp.el (ps-add-printer, ps-remove-printer)
3517         (ps-make-dynamic-printer-menu): New functions.
3519         * net/zeroconf.el: New file.
3521 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3525 2008-04-08  Dan Nicolaescu  <dann@ics.uci.edu>
3527         * vc-rcs.el (vc-rcs-modify-change-comment):
3528         * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3530         * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3532 2008-04-08  Juanma Barranquero  <lekktu@gmail.com>
3534         * international/mule-cmds.el (set-locale-environment): Don't warn if
3535         coding system doesn't agree with system locale (this reverts changes
3536         by Dave Love, dated 2002-10-27 and 2002-10-09).
3538         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3539         * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3541         * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3543 2008-04-08  Glenn Morris  <rgm@gnu.org>
3545         * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3546         * textmodes/remember.el (remember-diary-convert-entry):
3547         Require calendar.
3549         * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3550         diary-file, since it is the default for make-diary-entry anyway.
3552         * calendar/cal-menu.el (cal-menu-event-to-date):
3553         Rename calendar-event-to-date.  Update callers.
3554         (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3555         (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3556         (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3557         (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3558         (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3559         (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3560         (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3561         (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3562         (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3563         (calendar-mouse-tex-month-landscape):
3564         Rename cal-tex-mouse-month-landscape.
3565         (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3566         (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3567         (calendar-mouse-tex-year-landscape):
3568         Rename cal-tex-mouse-year-landscape.
3569         (cal-menu-context-mouse-menu): Update for above name changes.
3571         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3572         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3573         * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3574         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3575         * calendar/holidays.el: Replace int-to-string with number-to-string.
3577 2008-04-08  Chong Yidong  <cyd@stupidchicken.com>
3579         * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3580         region if point moves.
3582 2008-04-08  Kenichi Handa  <handa@m17n.org>
3584         * faces.el (font-slant-table): Change numeric values for `r',
3585         `roman', and `normal'.
3587 2008-04-07  Vincent Belaïche  <vincent.b.1@hotmail.fr>
3589         * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3591 2008-04-07  Jay Belanger  <jay.p.belanger@gmail.com>
3593         * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3594         `calcFunc-kron' to autoloads.  Add keybinding for `calc-kron'.
3596 2008-04-07  Michael Albinus  <michael.albinus@gmx.de>
3598         * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3599         "pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
3601 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3603         * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3605 2008-04-07  Sam Steingold  <sds@gnu.org>
3607         * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3608         Add helper functions.
3609         (lisp-do-defun): Extract the common part of lisp-eval-defun and
3610         lisp-compile-defun; DEFVAR forms reset the variables to the init
3611         values, just like in emacs-lisp mode eval-defun.
3612         (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3613         (lisp-compile-region): Use lisp-compile-string.
3615 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3617         * subr.el (combine-and-quote-strings): Also quote strings that contain
3618         the separator.
3620         * pcvs-util.el (cvs-map): Avoid recursion :-(
3622 2008-04-07  Glenn Morris  <rgm@gnu.org>
3624         * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3626         * calendar.el (diary-view-entries-initially-flag): Rename
3627         view-diary-entries-initially.  Keep old name as alias, update users.
3628         (calendar-mark-diary-entries-flag): Rename
3629         mark-diary-entries-in-calendar.  Keep old name as alias, update users.
3630         (calendar-view-holidays-initially-flag): Rename
3631         view-calendar-holidays-initially.  Keep old name as alias, update users.
3632         (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3633         Keep old name as alias, update users.
3634         (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3635         Keep old name as alias, update users.
3636         (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3637         Keep old name as alias, update users.
3638         (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3639         Keep old name as alias, update users.
3640         (diary-iso-date-forms): Rename iso-date-diary-pattern.  Update users.
3641         (diary-american-date-forms): Rename american-date-diary-pattern.
3642         Keep old name as alias, update users.
3643         (diary-european-date-forms): Rename european-date-diary-pattern.
3644         Keep old name as alias, update users.
3645         (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3646         Keep old name as alias, update users.
3647         (calendar-european-date-display-form): Rename
3648         european-calendar-display-form.  Keep old name as alias, update users.
3649         (calendar-american-date-display-form): Rename
3650         european-calendar-display-form.  Keep old name as alias, update users.
3651         (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3652         Keep old name as alias, update users.
3653         (holiday-general-holidays): Rename general-holidays.
3654         Keep old name as alias, update users.
3655         (holiday-oriental-holidays): Rename oriental-holidays.
3656         Keep old name as alias, update users.
3657         (holiday-local-holidays): Rename local-holidays.
3658         Keep old name as alias, update users.
3659         (holiday-other-holidays): Rename other-holidays.
3660         Keep old name as alias, update users.
3661         (holiday-hebrew-holidays): Rename hebrew-holidays.
3662         Keep old name as alias, update users.
3663         (holiday-christian-holidays): Rename christian-holidays.
3664         Keep old name as alias, update users.
3665         (holiday-islamic-holidays): Rename islamic-holidays.
3666         Keep old name as alias, update users.
3667         (holiday-bahai-holidays): Rename bahai-holidays.
3668         Keep old name as alias, update users.
3669         (holiday-solar-holidays): Rename solar-holidays.
3670         Keep old name as alias, update users.
3671         (diary-fancy-buffer): Rename fancy-diary-buffer.
3672         Keep old name as alias, update users.
3673         (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3674         Update users.
3675         (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3676         Update users.
3677         (calendar-increment-month): Rename increment-calendar-month.
3678         Keep old name as alias, update callers.
3679         (calendar-increment-month-cons): Rename old calendar-increment-month.
3680         Update callers.
3681         (calendar-extract-month): Rename extract-calendar-month.
3682         Keep old name as alias, update callers
3683         (calendar-extract-day): Rename extract-calendar-day.
3684         Keep old name as alias, update callers.
3685         (calendar-extract-year): Rename extract-calendar-year.
3686         Keep old name as alias, update callers.
3687         (calendar-generate-window): Rename generate-calendar-window.
3688         Update callers.
3689         (calendar-generate): Rename generate-calendar.  Update callers.
3690         (calendar-generate-month): Rename generate-calendar-month.
3691         Update callers.
3692         (calendar-redraw): Rename redraw-calendar.  Update callers.
3693         (calendar-describe-mode): Rename describe-calendar-mode.  Update uses.
3694         (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3695         Update callers.
3696         (calendar-update-mode-line): Rename update-calendar-mode-line.
3697         Update callers.
3698         (calendar-exit): Rename exit-calendar.  Keep old name as alias,
3699         update callers.
3700         (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3701         Keep old name as alias, update callers.
3702         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3703         * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3704         * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3705         * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3706         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3707         * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3708         * calendar/solar.el: Update for calendar.el name changes.
3709         * org/org.el (org-agenda-format-date-aligned)
3710         (org-agenda-execute-calendar-command): Access date elements directly
3711         rather than using calendar functions.
3712         (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3713         Also set calendar-view-diary-initially-flag,
3714         calendar-view-holidays-initially-flag
3715         (org-get-entries-from-diary): Also set diary-fancy-buffer.
3716         (org-agenda-execute-calendar-command): No need to set displayed-day.
3718 2008-04-06  Alan Mackenzie  <acm@muc.de>
3720         * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3721         typo in the doc string.
3723         * progmodes/cc-mode.el (c-basic-common-init):
3724         Set font-lock-extend-after-change-region-function.
3725         (c-extend-after-change-region): New function, used in
3726         font-lock-extend-after-change-region-function, thus superseding
3727         advice on the Font Lock after change functions.
3728         (c-advise-fl-for-region): Remove this macro.
3730 2008-04-06  Reiner Steib  <Reiner.Steib@gmx.de>
3732         * textmodes/flyspell.el (flyspell-duplicate-distance):
3733         Improve custom type.
3735 2008-04-06  Glenn Morris  <rgm@gnu.org>
3737         * calendar/diary-lib.el (diary-sexp-entry-symbol):
3738         Rename sexp-diary-entry-symbol.  Keep old name as alias, update users.
3739         (diary-list-entries-hook): Rename list-diary-entries-hook.
3740         Keep old name as alias, update users.
3741         (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3742         Keep old name as alias, update users.
3743         (diary-nongregorian-listing-hook): Rename
3744         nongregorian-diary-listing-hook.  Keep old name as alias, update users.
3745         (diary-nongregorian-marking-hook): Rename
3746         nongregorian-diary-marking-hook.  Keep old name as alias, update users.
3747         (diary-print-entries-hook): Rename print-diary-entries-hook.
3748         Keep old name as alias, update users.
3749         (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3750         Keep old name as alias, update users.
3751         (diary-number-of-entries): Rename number-of-diary-entries.
3752         Keep old name as alias, update users.
3753         (view-diary-entries, list-diary-entries, show-all-diary-entries):
3754         Give version of obsolescence.
3755         (diary-view-other-diary-entries): Rename view-other-diary-entries.
3756         Keep old name as alias, update callers.
3757         (diary-add-to-list): Rename add-to-diary-list.  Keep old name as alias,
3758         update callers.
3759         (diary-include-other-diary-files): Rename include-other-diary-files.
3760         Keep old name as alias, update callers.
3761         (diary-simple-display): Rename simple-diary-display.
3762         Keep old name as alias, update callers.
3763         (diary-fancy-display): Rename fancy-diary-display.
3764         Keep old name as alias, update callers.
3765         (diary-print-entries): Rename print-diary-entries.
3766         Keep old name as alias, update callers.
3767         (diary-marking-entries-flag): Rename marking-diary-entries.
3768         Update users.
3769         (diary-marking-entry-flag): Rename marking-diary-entry.  Update users.
3770         (diary-mark-entries): Rename mark-diary-entries.
3771         Keep old name as alias, update callers.
3772         (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3773         Keep old name as alias, update callers.
3774         (diary-mark-included-diary-files): Rename mark-included-diary-files.
3775         Keep old name as alias, update callers.
3776         (calendar-mark-days-named): Rename mark-calendar-days-named.
3777         Keep old name as alias, update callers.
3778         (calendar-mark-month): Rename mark-calendar-month.
3779         Keep old name as alias, update callers.
3780         (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3781         Keep old name as alias, update callers.
3782         (diary-sort-entries): Rename sort-diary-entries.
3783         Keep old name as alias, update callers.
3784         (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3785         Keep old name as alias, update callers.
3786         (diary-make-entry): Rename make-diary-entry.  Keep old name as alias,
3787         update callers.
3788         (diary-insert-entry): Rename insert-diary-entry.
3789         Keep old name as alias.
3790         (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3791         Keep old name as alias.
3792         (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3793         Keep old name as alias.
3794         (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3795         Keep old name as alias.
3796         (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3797         Keep old name as alias.
3798         (diary-insert-block-entry): Rename insert-block-diary-entry.
3799         Keep old name as alias.
3800         (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3801         Keep old name as alias.
3802         (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3803         Keep old name as alias, update users.
3804         (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3805         Keep old name as alias, update callers.
3806         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3807         * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3808         * calendar/icalendar.el: Update for diary-lib name changes.
3810 2008-04-06  Chong Yidong  <cyd@stupidchicken.com>
3812         * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3814         * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3815         for copy, move, and link operations.
3817 2008-04-06  Michael Kifer  <kifer@cs.stonybrook.edu>
3819         * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3820         (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3822         * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3823         'require' statements with 1-argument ones (wrapped in if's).
3824         For compatibility with the current stable version of XEmacs.
3826 2008-04-06  Dan Nicolaescu  <dann@ics.uci.edu>
3828         * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3830 2008-04-06  Jason Rumney  <jasonr@gnu.org>
3832         * language/burmese.el ("Burmese"): Make sample text consistent with
3833         language name.
3835 2008-04-06  Nick Roberts  <nickrob@snap.net.nz>
3837         * progmodes/gdb-ui.el (gdb): New group.
3838         (gdb-debug-log-max, gdb-enable-debug)
3839         (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3840         (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3841         (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3842         (gdb-show-changed-values, gdb-max-children)
3843         (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3844         (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3845         (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3846         (gdb-memory-unit): Move to new group from GUD group.
3847         (menu): Allow customization from GDB-UI menu-item.
3849 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
3851         * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
3853 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3855         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
3856         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3857         Revision numbers can include ".".
3859         * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
3860         "+" lines not accounted for by counting "-" and context lines.
3862 2008-04-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3864         * term/mac-win.el (mac-service-open-file): Use file URL instead of
3865         file name string.
3867 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3869         * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
3870         (vc-bzr-annotate-time): Accept space used to preserve alignment.
3872 2008-04-05  Richard Stallman  <rms@gnu.org>
3874         * emacs-lisp/advice.el (defadvice): Add usage pattern.
3876 2008-04-05  Nick Roberts  <nickrob@snap.net.nz>
3878         * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
3879         thread in [h-e-w]).
3881 2008-04-05  Juanma Barranquero  <lekktu@gmail.com>
3883         * files.el (abort-if-file-too-large): Fix typo in docstring.
3885 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3887         * subr.el (functionp): Return nil for special forms.
3889 2008-04-05  Glenn Morris  <rgm@gnu.org>
3891         * emacs-lisp/autoload.el (autoload-ensure-default-file):
3892         Provide a feature.
3893         * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
3894         Require loaddef file rather than loading it.
3895         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
3896         autoload-ensure-default-file provides a feature.
3898         * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
3899         (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
3900         (compile, compile-always, recompile): Use $LOADDEFS.
3901         (cal-autoloads): Remove.
3903         * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
3904         than buffer-live-p.  Reported by David Koppelman <koppel@ece.lsu.edu>.
3906         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
3907         (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
3909         * calendar/calendar.el (diary-hebrew-entry-symbol):
3910         Rename hebrew-diary-entry-symbol.  Keep old name as alias.
3911         (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
3912         Keep old name as alias.
3913         (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
3914         Keep old name as alias.
3915         * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
3916         to diary-bahai-entry-symbol.
3917         * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
3918         to diary-hebrew-entry-symbol.
3919         * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
3920         to diary-islamic-entry-symbol.
3921         * calendar/diary-lib.el: Update for diary-entry-symbol renames.
3923         * calendar/solar.el (diary-sabbath-candles-minutes)
3924         (diary-sabbath-candles): Move to cal-hebrew.
3925         * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
3926         (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
3927         Doc fix.  Keep old name as alias.
3928         (diary-hebrew-sabbath-candles): Simplify.
3929         (solar-setup, solar-sunrise-sunset, calendar-latitude)
3930         (calendar-longitude, calendar-time-zone): Declare for compiler.
3931         * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
3932         rename.
3934         * calendar/cal-coptic.el (calendar-coptic-month-name-array):
3935         Rename coptic-calendar-month-name-array.  Update callers.
3936         (calendar-coptic-epoch): Rename coptic-calendar-epoch.  Update callers.
3937         (calendar-coptic-name): Rename coptic-name.  Update callers.
3938         (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
3939         Update callers.
3940         (calendar-coptic-last-day-of-month):
3941         Rename coptic-calendar-last-day-of-month.  Update callers.
3942         (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
3943         Keep old name as alias, update callers.
3944         (calendar-coptic-print-date): Rename calendar-print-coptic-date.
3945         Keep old name as alias, update callers.
3946         (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
3947         Keep old name as alias.
3948         (calendar-ethiopic-month-name-array):
3949         Rename ethiopic-calendar-month-name-array.  Update callers.
3950         (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
3951         Update callers.
3952         (calendar-ethiopic-name): Rename ethiopic-name.  Update callers.
3953         (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
3954         Keep old name as alias, update callers.
3955         (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
3956         Keep old name as alias, update callers.
3957         (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
3958         Keep old name as alias.
3960         * calendar/cal-french.el (calendar-french-epoch):
3961         Rename french-calendar-epoch.  Update callers.
3962         (calendar-french-month-name-array): Rename variable and function
3963         french-calendar-month-name-array.  Update callers.
3964         (calendar-french-multibyte-month-name-array):
3965         Rename french-calendar-multibyte-month-name-array.  Update callers.
3966         (calendar-french-day-name-array): Rename variable and function
3967         french-calendar-day-name-array.  Update callers.
3968         (calendar-french-special-days-array): Rename variable and function
3969         french-calendar-special-days-array.  Update callers.
3970         (calendar-french-multibyte-special-days-array):
3971         Rename french-calendar-multibyte-special-days-array.  Update callers.
3972         (calendar-french-accents-p): Rename french-calendar-accents.
3973         Update callers.
3974         (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
3975         Update callers.
3976         (calendar-french-last-day-of-month):
3977         Rename french-calendar-last-day-of-month.  Update callers.
3978         (calendar-french-to-absolute): Rename calendar-absolute-from-french.
3979         Keep old name as alias, update callers.
3980         (calendar-french-print-date): Rename calendar-print-french-date.
3981         Keep old name as alias, update callers.
3982         (calendar-french-goto-date): Rename calendar-goto-french-date.
3983         Keep old name as alias.
3985         * calendar/cal-menu.el, calendar/calendar.el:
3986         Update for Coptic and French name changes.
3988         * calendar/cal-china.el (calendar-chinese): Rename custom group
3989         from chinese-calendar.  Update users.
3990         (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
3991         Keep old name as alias, update users.
3992         (calendar-chinese-location-name): Rename chinese-calendar-location-name.
3993         Keep old name as alias.
3994         (calendar-chinese-daylight-time-offset):
3995         Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
3996         update users.
3997         (calendar-chinese-standard-time-zone-name):
3998         Rename chinese-calendar-standard-time-zone-name.
3999         Keep old name as alias, update users.
4000         (calendar-chinese-daylight-saving-start):
4001         Rename chinese-calendar-daylight-savings-starts.
4002         Keep old name as alias, update users.
4003         (calendar-chinese-daylight-saving-end):
4004         Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
4005         update users.
4006         (calendar-chinese-daylight-saving-start-time):
4007         Rename chinese-calendar-daylight-savings-starts-time.
4008         Keep old name as alias, update users.
4009         (calendar-chinese-daylight-saving-end-time):
4010         Rename chinese-calendar-daylight-savings-ends-time.
4011         Keep old name as alias, update users.
4012         (calendar-chinese-celestial-stem): Rename
4013         calendar-chinese-celestial-stem.  Keep old name as alias, update users.
4014         (calendar-chinese-terrestrial-branch):
4015         Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
4016         update users.
4017         (calendar-chinese-zodiac-sign-on-or-after):
4018         Rename chinese-zodiac-sign-on-or-after.  Update callers.
4019         (calendar-chinese-new-moon-on-or-after):
4020         Rename chinese-new-moon-on-or-after.  Update callers.
4021         (calendar-chinese-month-list): Rename chinese-month-list.
4022         Update callers.
4023         (calendar-chinese-number-months): Rename number-chinese-months.
4024         Update callers.
4025         (calendar-chinese-compute-year): Rename compute-chinese-year.
4026         Update callers.
4027         (calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
4028         (calendar-chinese-year): Rename chinese-year.  Update callers.
4029         (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
4030         (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
4031         Keep old name as alias, update callers.
4032         (calendar-chinese-print-date): Rename calendar-print-chinese-date.
4033         Keep old name as alias, update callers.
4034         (calendar-chinese-months-to-alist):
4035         Rename make-chinese-month-assoc-list.  Update callers.
4036         (calendar-chinese-months): Rename chinese-months.  Update callers.
4037         (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
4038         Keep old name as alias, update callers.
4040         * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
4041         Rename hebrew-calendar-leap-year-p.  Update callers.
4042         (calendar-hebrew-last-month-of-year):
4043         Rename hebrew-calendar-last-month-of-year.  Update callers.
4044         (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
4045         Update callers.
4046         (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
4047         Update callers.
4048         (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
4049         Update callers.
4050         (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
4051         Update callers.
4052         (calendar-hebrew-last-day-of-month):
4053         Rename hebrew-calendar-last-day-of-month.  Update callers.
4054         (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
4055         Keep old name as alias, update callers.
4056         (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
4057         Keep old name as alias, update callers.
4058         (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
4059         Keep old name as alias, update callers.
4060         (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
4061         Keep old name as alias.
4062         (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
4063         Keep old name as alias.
4064         (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
4065         Keep old name as alias.
4066         (holiday-hebrew-passover): Rename holiday-passover-etc.
4067         Keep old name as alias.
4068         (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
4069         Keep old name as alias, update callers.
4070         (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
4071         Keep old name as alias.
4072         (calendar-hebrew-mark-date-pattern):
4073         Rename mark-hebrew-calendar-date-pattern.  Keep old name as alias,
4074         update callers.
4075         (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
4076         Keep old name as alias.
4077         (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
4078         Keep old name as alias.
4079         (diary-hebrew-insert-monthly-entry):
4080         Rename insert-monthly-hebrew-diary-entry.  Keep old name as alias.
4081         (diary-hebrew-insert-yearly-entry):
4082         Rename insert-yearly-hebrew-diary-entry.  Keep old name as alias.
4083         (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
4084         Keep old name as alias.
4085         (diary-hebrew-omer): Rename diary-omer.  Keep old name as alias.
4086         (diary-hebrew-yahrzeit): Rename diary-yahrzeit.  Keep old name as alias.
4087         (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
4088         Keep old name as alias.
4089         (calendar-hebrew-parashiot-names):
4090         Rename hebrew-calendar-parashiot-names.  Update callers.
4091         (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
4092         (calendar-hebrew-year-Saturday-incomplete-Sunday):
4093         Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
4094         (calendar-hebrew-year-Saturday-complete-Tuesday):
4095         Rename hebrew-calendar-year-Saturday-complete-Tuesday.
4096         (calendar-hebrew-year-Monday-incomplete-Tuesday):
4097         Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
4098         (calendar-hebrew-year-Monday-complete-Thursday):
4099         Rename hebrew-calendar-year-Monday-complete-Thursday.
4100         (calendar-hebrew-year-Tuesday-regular-Thursday):
4101         Rename hebrew-calendar-year-Tuesday-regular-Thursday.
4102         (calendar-hebrew-year-Thursday-regular-Saturday):
4103         Rename hebrew-calendar-year-Thursday-regular-Saturday.
4104         (calendar-hebrew-year-Thursday-complete-Sunday):
4105         Rename hebrew-calendar-year-Thursday-complete-Sunday.
4106         (calendar-hebrew-year-Saturday-incomplete-Tuesday):
4107         Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
4108         (calendar-hebrew-year-Saturday-complete-Thursday):
4109         Rename hebrew-calendar-year-Saturday-complete-Thursday.
4110         (calendar-hebrew-year-Monday-incomplete-Thursday):
4111         Rename hebrew-calendar-year-Monday-incomplete-Thursday.
4112         (calendar-hebrew-year-Monday-complete-Saturday):
4113         Rename hebrew-calendar-year-Monday-complete-Saturday.
4114         (calendar-hebrew-year-Tuesday-regular-Saturday):
4115         Rename hebrew-calendar-year-Tuesday-regular-Saturday.
4116         (calendar-hebrew-year-Thursday-incomplete-Sunday):
4117         Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
4118         (calendar-hebrew-year-Thursday-complete-Tuesday):
4119         Rename hebrew-calendar-year-Thursday-complete-Tuesday.
4120         (diary-hebrew-parasha): Rename diary-parasha.  Keep old name as alias.
4121         Update for above name changes of constants.
4123         * calendar/cal-menu.el, calendar/calendar.el:
4124         Update for chinese and hebrew name changes.
4125         * calendar/diary-lib.el: Update for hebrew name changes.
4127 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4129         * subr.el (keymap-canonicalize): Correct thinko.
4131         * server.el: Undo part of the multi-tty change, which is only
4132         needed if server.el is preloaded, and broke server-running-p.
4133         (server-socket-dir): Initialize in the defvar, as before.
4134         (server-start): Remove initialization of server-socket-dir.
4136 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
4138         * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
4139         3-member cons cells.
4141 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
4143         * cus-face.el (custom-face-attributes): Handle roman slant.
4145         * faces.el (default): Ensure the face-defface-spec property is set.
4147 2008-04-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
4149         * files.el (abort-if-file-too-large): New function.
4150         (find-file-noselect, insert-file-1): Use it.
4152 2008-04-05  Reto Zimmermann  <reto@gnu.org>
4154         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4155         Replace C-c[a-zA-Z] key bindings.
4157 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * progmodes/hideif.el (hif-token-alist): New var.
4160         (hif-token-regexp, hif-tokenize): Use it.
4161         (hif-mathify-binop): New macro.
4162         (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
4163         (hif-greater-equal, hif-less-equal): Use it.
4164         (hif-logior, hif-logand): New functions.
4165         (hif-math): Accept | and & as well.
4167         * progmodes/etags.el: Fix problem with completion for buffer-local
4168         tables.  Reported by Radey Shouman <shouman@comcast.net>.
4169         (tags-complete-tag): Remove.
4170         (tags-lazy-completion-table): New function to replace it.
4171         (find-tag-tag, complete-tag): Update users.
4173 2008-04-04  Dan Nicolaescu  <dann@ics.uci.edu>
4175         * vc-rcs.el (vc-rcs-dir-status):
4176         * vc-sccs.el (vc-sccs-dir-status): New function.
4178         * outline.el (outline-mode-menu-bar-map):
4179         * term.el (terminal-signal-menu): Add :help.
4181         * net/eudc.el (eudc-mode-map): Declare and define in one step.
4182         (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4184         * emacs-lisp/re-builder.el (reb-mode-map):
4185         * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4187         * diff-mode.el (diff-file-junk-re): Recognize the git format for
4188         new files, deleted files and for changing permissions.
4189         (diff-mode): Set beginning-of-defun-function and
4190         end-of-defun-function.
4192         * vc-bzr.el (vc-bzr-state): Use when instead of if.
4194         * vc.el (vc-default-status-fileinfo-extra): New function.
4195         (vc-status-mark-buffer-changed): Use it.
4196         (vc-update-vc-status-buffer): Allow for partial updates.
4198 2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4200         * net/tramp.el (after-init-hook): Don't wrap a lambda around
4201         tramp-register-completion-file-name-handler.
4203         * subr.el (keymap-canonicalize): New function.
4204         * mouse.el (mouse-menu-non-singleton): Use it.
4205         (mouse-major-mode-menu): Remove hack made unnecessary.
4207         * simple.el (set-fill-column): Prompt rather than error by default.
4209 2008-04-04  Andreas Schwab  <schwab@suse.de>
4211         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4212         Reset new-rules after each round.
4214         * Makefile.in (cal-autoloads): New target.
4215         (compile, compile-always, recompile): Depend on it.
4216         ($(lisp)/calendar/cal-loaddefs.el)
4217         ($(lisp)/calendar/diary-loaddefs.el)
4218         ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4220 2008-04-04  Michael Kifer  <kifer@cs.stonybrook.edu>
4222         * ediff*.el: Replace load with require in eval-when-compile.
4224         * ediff-hook: Delete all invocations of (autoload ...).
4226         * ediff-util.el (ediff-setup): Make window-min-height a local variable
4227         in ediff control window, and set its min height to 2.
4228         (ediff-setup-control-buffer): Dedicate the control window.
4229         (ediff-toggle-multiframe): Undedicate control window.
4230         Work directly with ediff-setup-windows-multiframe and
4231         ediff-setup-windows-plain.
4233         * ediff-wind (ediff-choose-window-setup-function-automatically):
4234         New function.
4235         (ediff-window-setup-function): Change initialization.
4236         (ediff-setup-windows-automatic): Delete.
4237         (ediff-setup-windows-plain-merge): Make control window dedicated.
4238         (ediff-destroy-control-frame): Do not skip frames if working in a
4239         single frame.
4241         * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4242         eval-when-compile.
4244         * emulation/viper-util.el: Move provide's forward, prevent recursion in
4245         eval-when-compile.
4247 2008-04-04  Glenn Morris  <rgm@gnu.org>
4249         * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4250         calendar-absolute-from-bahai.  Update callers, keep old name as alias.
4252         * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4253         Rename islamic-calendar-leap-year-p.  Update callers.
4254         (calendar-islamic-last-day-of-month):
4255         Rename islamic-calendar-last-day-of-month.  Update callers.
4256         (calendar-islamic-day-number):
4257         Rename islamic-calendar-day-number.  Update callers.
4258         (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4259         Update callers, keep old name as alias.
4260         (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4261         Update callers, keep old name as alias.
4262         (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4263         Keep old name as alias.
4264         (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4265         Update callers, keep old name as alias.
4266         (calendar-islamic-mark-date-pattern):
4267         Rename mark-islamic-calendar-date-pattern.  Update callers, keep old
4268         name as alias.
4269         (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4270         Keep old name as alias.
4271         (diary-islamic-insert-monthly-entry):
4272         Rename insert-monthly-islamic-diary-entry.  Keep old name as alias.
4273         (diary-islamic-insert-yearly-entry):
4274         Rename insert-yearly-islamic-diary-entry.  Keep old name as alias.
4276         * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4277         calendar-absolute-from-iso.  Update callers, keep old name as alias.
4278         (calendar-iso-print-date): Rename calendar-print-iso-date.
4279         Update callers, keep old name as alias.
4280         (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4281         Keep old name as alias.
4282         (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4283         Keep old name as alias.
4285         * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4286         calendar-absolute-from-julian.  Update callers, keep old name as alias.
4287         (calendar-julian-print-date): Rename calendar-print-julian-date.
4288         Update callers, keep old name as alias.
4289         (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4290         Update callers, keep old name as alias.
4291         (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4292         Update callers, keep old name as alias.
4293         (calendar-astro-print-day-number):
4294         Rename calendar-print-astro-day-number.  Update callers, keep old
4295         name as alias.
4296         (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4297         Update callers, keep old name as alias.
4299         * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4300         Rename calendar-string-to-mayan-long-count.  Update callers.
4301         (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4302         Update callers, keep old name as alias.
4303         (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4304         Update callers.
4305         (calendar-mayan-read-tzolkin-date):
4306         Rename calendar-read-mayan-tzolkin-date.  Update callers.
4307         (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4308         Keep old name as alias.
4309         (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4310         Keep old name as alias.
4311         (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4312         Keep old name as alias.
4313         (calendar-mayan-previous-tzolkin-date):
4314         Rename calendar-previous-tzolkin-date.  Keep old name as alias.
4315         (calendar-mayan-next-round-date):
4316         Rename calendar-next-calendar-round-date.  Keep old name as alias.
4317         (calendar-mayan-previous-round-date):
4318         Rename calendar-previous-calendar-round-date.  Keep old name as alias.
4319         (calendar-mayan-long-count-to-absolute): Rename
4320         calendar-absolute-from-mayan-long-count.  Keep old name as alias.
4321         (calendar-mayan-goto-long-count-date):
4322         Rename calendar-goto-mayan-long-count-date.  Keep old name as alias.
4324         * calendar/cal-persia.el (calendar-persian-month-name-array):
4325         Rename persian-calendar-month-name-array.  Update callers.
4326         (calendar-persian-epoch): Rename persian-calendar-epoch.
4327         Update callers.
4328         (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4329         Update callers.
4330         (calendar-persian-last-day-of-month):
4331         Rename persian-calendar-last-day-of-month.  Update callers.
4332         (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4333         Update callers, keep old name as alias.
4334         (calendar-persian-print-date): Rename calendar-print-persian-date.
4335         Update callers, keep old name as alias.
4336         (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4337         Keep old name as alias.
4339         * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4340         * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4341         * calendar/solar.el: Update for cal-julian name changes.
4343         * calendar/cal-dst.el: Update for persian name changes.
4345         * calendar/cal-menu.el, calendar/calendar.el:
4346         Update for islamic, iso, julian, mayan, persian name changes.
4348         * calendar/diary-lib.el: Update for islamic name changes.
4350         * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4351         Rename all-hebrew-calendar-holidays.  Update callers, keep old name
4352         as alias.
4353         (calendar-christian-all-holidays-flag):
4354         Rename all-christian-calendar-holidays.  Update callers, keep old
4355         name as alias.
4356         (calendar-islamic-all-holidays-flag):
4357         Rename all-islamic-calendar-holidays.  Update callers, keep old
4358         name as alias.
4359         (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4360         Update callers, keep old name as alias.
4361         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4362         Update for the above name changes.
4364 2008-04-04  Juanma Barranquero  <lekktu@gmail.com>
4366         * hilit-chg.el (global-highlight-changes-mode)
4367         (highlight-changes-passive-string, highlight-changes-active-string):
4368         Mark as obsolete since 23.1, not 22.1.
4370 2008-04-03  Juanma Barranquero  <lekktu@gmail.com>
4372         * hilit-chg.el (highlight-changes-visibility-initial-state)
4373         (hilit-chg-update, highlight-changes-mode-turn-on):
4374         Fix typos in docstrings.
4376 2008-04-03  Stephen Berman  <Stephen.Berman@gmx.net>
4378         * newcomment.el (comment-enter-backward): Be careful to restore
4379         position changed during narrowing.
4381 2008-04-03  Giuliano Procida  <giuliano.procida@googlemail.com>  (tiny change)
4383         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4384         Recognize `sub ($$)'.
4386 2008-04-03  Richard Sharman  <rsharman@pobox.com>
4388         * hilit-chg.el (highlight-changes-mode): Rename from
4389         highlight-changes; no longer uses sub-modes active and passive;
4390         implemented by define-minor-mode.
4391         (highlight-changes-toggle-visibility): New function, to replace
4392         the old passive/active submodes of global-highlight-changes-mode;
4393         implemented by define-minor-mode.
4394         (global-highlight-changes-mode): Rename from global-highlight-changes;
4395         rewrite using define-globalized-minor-mode.
4396         (hilit-chg-major-mode-hook, hilit-chg-check-global)
4397         (hilit-chg-post-command-hook, hilit-chg-check-global)
4398         (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4399         to use of define-globalized-minor-mode.
4400         (highlight-changes-global-initial-state): Change to be boolean.
4401         (highlight-changes-visible-string, highlight-changes-invisible-string):
4402         Rename from highlight-changes-active-string and
4403         highlight-changes-passive-string.
4404         (hilit-chg-update, hilit-chg-set): Use them.
4405         (global-highlight-changes-mode): Rename from global-highlight-changes.
4406         (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4407         docstring.
4408         (hilit-chg-hide-changes): Rewrite to use dolist.
4409         (hilit-chg-set-face-on-change, hilit-chg-update)
4410         (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4411         variable instead of testing highlight-changes-mode.
4412         (highlight-markup-buffers): Add require ediff-util; argument on calls
4413         to highlight-changes-mode changed.
4414         (highlight-compare-with-file): Fix problems with interactive
4415         call giving invalid default file.
4417 2008-04-03  Nick Roberts  <nickrob@snap.net.nz>
4419         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4420         Fix in disassembly buffer (regression in 22.2).
4422 2008-04-03  Michael Kifer  <kifer@cs.stonybrook.edu>
4424         * emulation/viper-macs.el (viper-read-fast-keysequence):
4425         Use viper-read-event instead of viper-read-key.
4427         * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4429         * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4430         (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4431         let-statements.
4433         * emulation/viper-ex.el, emulation/viper-macs.el:
4434         * emulation/viper-mous.el:
4435         Replace load with require in eval-when-compile.
4437 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4439         * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4441         * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4442         (archive-try-jka-compr): New function.
4443         (archive-set-buffer-as-visiting-file): Use it.
4445         * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4447 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4449         * simple.el (handle-shift-selection): New arg.
4451 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4453         * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4455         * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4457 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4459         * shell.el (shell-dynamic-complete-filename): New fun.
4460         (shell-dynamic-complete-functions): Use it.
4462         * help-fns.el (describe-variable): Undo 2008-02-25 change.
4464 2008-04-03  Kenichi Handa  <handa@m17n.org>
4466         * international/fontset.el (create-fontset-from-x-resource):
4467         Handle the error of X resource more gracefully.
4469         * international/latin1-disp.el (latin1-display): Don't use make-char.
4470         Fix the argument to set-char-table-range.
4471         (latin1-display-identities): Don't use make-char.
4472         (latin1-display-reset): Use map-charset-chars instead of directly
4473         calling standard-display-default.
4474         (latin1-display-check-font): Don't use make-char.
4475         (latin1-display-setup): Likewise.
4476         (latin1-display-ucs-per-lynx): Likewise.
4478 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4480         * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4481         name the fields, to make the code clearer.
4482         Rewrite all `aset' and `aref' using the defined accessors.
4483         (timer--time): New pseudo-field.
4484         (timer-set-time, timer-set-idle-time, timer-inc-time)
4485         (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4486         (timer--time-less-p): New function.
4487         (timer--activate): New function, extracted from timer-activate.
4488         (timer-activate-when-idle, timer-activate): Use it.
4489         (cancel-function-timers): Use dolist.
4491 2008-04-03  Glenn Morris  <rgm@gnu.org>
4493         * add-log.el (c-beginning-of-defun, c-end-of-defun):
4494         Remove declarations; no longer used.
4495         (c-cpp-define-name, c-defun-name): Declare as functions.
4497         * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4498         (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4500         * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4501         (holiday-passover-etc, holiday-hanukkah): Doc fix.
4502         Add optional argument.  Simplify.
4503         (holiday-tisha-b-av-etc): Use memq rather than unless.
4504         (holiday-julian): Autoload it.
4505         (holiday-hebrew-misc): New function.
4507         * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4509         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4510         (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4511         (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4512         all-hebrew-calendar-holidays.
4513         (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4514         Simplify using new functions.
4515         (calendar-holidays): Doc fix.
4516         (generate-calendar-window): Use bound-and-true-p.
4518         * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4520         * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4521         (holiday-filter-visible-calendar): Doc fix.  Use mapcar.
4522         (holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
4523         Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4525         * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4527 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4529         * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4531         * vc-bzr.el (vc-bzr-checkout): Simplify.
4533         * image-mode.el (image-mode-fit-frame): New command.
4535         * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4536         (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4537         (keyboard-escape-quit): Check region-active-p i.s.o
4538         transient-mark-mode.
4540 2008-04-02  Simon Josefsson  <simon@josefsson.org>
4542         * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4543         (imap-message-copyuid-1): Use it.
4544         (imap-message-appenduid-1): Likewise.  Based on patch by Nathan
4545         J. Williams in
4546         <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4548 2008-04-02  Alan Mackenzie  <acm@muc.de>
4550         * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4551         New optimised functions to get the name of the current defun/macro.
4553         * add-log.el (add-log-current-defun): Move the functionality which
4554         gets the current function name for C like modes to cc-cmds.el,
4555         thus optimising for speed.
4557 2008-04-02  Chong Yidong  <cyd@stupidchicken.com>
4559         * simple.el (deactivate-mark): When the mark is temporarily
4560         active, restore the original value of transient-mark-mode.
4561         (set-mark-command): First deactivate the mark if was temporarily active.
4562         (exchange-point-and-mark): Reactivate the mark if it was
4563         temporarily active.
4564         (handle-shift-selection): New fun.
4565         (transient-mark-mode): Move var documentation here from buffer.c.
4566         (next-line, previous-line, backward-word, move-end-of-line)
4567         (move-beginning-of-line, forward-to-indentation)
4568         (backward-to-indentation, back-to-indentation)
4569         (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4571         * mouse.el (mouse-set-region-1): Save the old value of
4572         transient-mark-mode.
4573         (mouse-drag-track): Ignore the now-obsolete value `identity' for
4574         transient-mark-mode.
4576         * textmodes/paragraphs.el (forward-paragraph)
4577         (backward-paragraph, forward-sentence, backward-sentence): Add ^
4578         interactive spec.
4580         * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4582 2008-04-02  Michael Albinus  <michael.albinus@gmx.de>
4584         * net/tramp.el (tramp-make-tramp-temp-file):
4585         Use `tramp-drop-volume-letter' for the local file name part.
4587 2008-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
4589         * progmodes/sh-script.el (sh-mode-map): Rename the menu.  Add :help.
4590         Add menu entries corresponding to all the key bindings.
4592         * emacs-lisp/debug.el (debugger-mode-map):
4593         * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4594         (conf-align-assignments): Only work on the region if it is active.
4595         (conf-quote-normal): Use when instead of if.  Remove redundant test.
4597         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4598         for tracing and re-builder.
4600 2008-04-02  Glenn Morris  <rgm@gnu.org>
4602         * calendar/appt.el (appt-disp-window-function): Doc fix.
4603         (appt-display-message): Move beep before display.
4604         (appt-check): Make interactive.  Reduce the number of lets.
4605         Use string-equal to compare mode-line strings.
4606         (appt-disp-window): Pluralize "minute" as needed.  Make appt buffer
4607         read-only.
4608         (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4609         (appt-delete): Simplify.
4611         * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4613         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4615         * calendar/cal-hebrew.el (list-yahrzeit-dates):
4616         * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4617         (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4619         * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4620         (calendar-holiday-marker, mark-visible-calendar-date):
4621         * calendar/diary-lib.el (fancy-diary-display):
4622         Check for font-lock-mode before using faces.
4624         * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4625         (calendar-gregorian-from-absolute): Reduce the number of lets.
4626         (hebrew-holidays-4, generate-calendar-window): Simplify.
4627         (calendar-for-loop): Make obsolete.
4628         (calendar-nth-named-day): Doc fix.
4630         * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4631         (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4632         (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4633         Reduce the number of lets.
4634         (mark-sexp-diary-entries, calendar-mark-complex):
4635         Expand calendar-for-loops.
4637 2008-04-01  Chong Yidong  <cyd@stupidchicken.com>
4639         * find-dired.el (find-dired-filter): Fix last patch to handle
4640         multi-line process input.  Pad link numbers too.
4642 2008-04-01  Jari Aalto  <jari.aalto@cante.net>
4644         * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4646 2008-04-01  Jason Rumney  <jasonr@gnu.org>
4648         * international/characters.el (script-list): Add phonetic script,
4649         covering IPA (previously Latin), Phonetic Extensions and
4650         Phonetic Extensions Supplement (both previously unassigned).
4652         * international/fontset.el (setup-default-fontset): Use unicode fonts
4653         that cover bopomofo script for bopomofo.
4654         Likewise for braille and mathematical.
4655         Use unicode scripts that cover the phonetic script for IPA.
4657 2008-04-01  Johan BockgÃ¥rd  <bojohan@gnu.org>
4659         * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4660         return the assigned value.
4662 2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4664         * abbrev.el (abbrev-mode): Use define-minor-mode.
4666         * mouse.el (mouse-major-mode-menu-prefix): Remove.  Remove uses.
4667         (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4668         Use map-keymap.
4669         (minor-mode-menu-from-indicator): Use it.  Simplify.
4671         * bindings.el (mode-line-mode-menu): Move before (new) first use.
4672         (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4673         Bind the key directly to the menu.
4674         (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4676 2008-04-01  Daiki Ueno  <ueno@unixuser.org>
4678         * epa.el (epa-decrypt-region): Explain the reason why this
4679         function should not be used in Lisp programs.
4680         (epa-decrypt-armor-in-region): Ditto.
4681         (epa-verify-region): Ditto.
4682         (epa-verify-cleartext-in-region): Ditto.
4683         (epa-sign-region): Ditto.
4684         (epa-encrypt-region): Ditto.
4686         * epg.el (epg-start-receive-keys): Fix typo in docstring.
4688         * epa.el (epa-select-keys): Show menu even if there is no key in
4689         GnuPG's keyring.
4691 2008-04-01  Glenn Morris  <rgm@gnu.org>
4693         * calendar/calendar.el (calendar-make-temp-face): New function.
4694         (mark-visible-calendar-date):
4695         * calendar/diary-lib.el (fancy-diary-display): Use it.
4697         * vc-hooks.el (vc-responsible-backend): Declare as function.
4699         * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4700         * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4701         * calendar/cal-julian.el (holiday-julian): Use it.
4703         * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4704         (calendar-hebrew-date-is-visible-p): Extract some common code into
4705         separate function.
4706         (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4708         * calendar/cal-menu.el (cal-menu-holidays-menu):
4709         * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4710         rather than obsolete alias.
4712         * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4713         for mark characters.
4714         (calendar-unmark): Unmark by removing all overlays, rather than
4715         redrawing.
4716         (calendar-starred-day): Remove.
4717         (calendar-mode): Disable undo.  Don't make calendar-starred-day local.
4718         (calendar-cursor-to-date): No need for special star handling now
4719         using overlays.
4720         (calendar-star-date): Use overlays.
4722         * calendar/cal-french.el (calendar-goto-french-date):
4723         * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4724         (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4725         * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4726         * calendar/cal-persia.el (calendar-persian-date-string):
4727         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4728         (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4729         * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4730         * calendar/solar.el (solar-equinoxes-solstices):
4731         Reduce nesting of some lets.
4733         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4734         (calendar-goto-mayan-long-count-date): Simplify.
4736         * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4737         Simplify by using mapcar.
4738         (calendar-list-holidays): Return holiday-list.
4739         (list-holidays): Use let rather than let*.  Remove un-needed locals
4740         `d', `never'.
4741         (calendar-check-holidays): Return result from dolist.
4742         (holiday-float): Use a single let*.  Simplify if-and to and.
4743         (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4744         single let*.
4746 2008-04-01  Jay Belanger  <jay.p.belanger@gmail.com>
4748         * calc/calc.el: Autoload `calc-yank'.
4749         (calc-mode-map): Add keybindings for `calc-yank'.
4750         * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4751         assignments for `calc-yank'.
4753 2008-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
4755         * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4756         (vc-status-mark-buffer-changed): Handle the extra field.
4758         * vc-bzr.el (vc-bzr-after-dir-status):
4759         * vc-cvs.el (vc-cvs-after-dir-status):
4760         * vc-hg.el (vc-hg-after-dir-status):
4761         * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4763 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4765         * doc-view.el: Compute displayed pages first (in PDF).
4766         (doc-view-current-converter-processes): Rename from
4767         doc-view-current-converter-process.  Update users.
4768         (doc-view-sentinel): Test buffer's liveness.
4769         (doc-view-pdf/ps->png-sentinel): Remove.
4770         (doc-view-start-process): New function.
4771         (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4772         (doc-view-ps->pdf): Use it.
4773         (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4774         New functions.
4775         (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4776         (doc-view-mode): Kill the processes when leaving the mode.
4778 2008-03-31  Juanma Barranquero  <lekktu@gmail.com>
4780         * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4781         Use `byte-compile-warning-types'.  Add docstring.
4783 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4785         * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4786         (smerge-resolve): Add various resolution heuristics.
4788         * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4789         in 3-way conflicts.
4791 2008-03-31  Glenn Morris  <rgm@gnu.org>
4793         * calendar/cal-bahai.el (diary-bahai-mark-entries):
4794         * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4795         * calendar/cal-islam.el (mark-islamic-diary-entries):
4796         Fix argument order in call to diary-mark-entries-1.
4798         * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4799         pre-Bahai dates.
4800         (holiday-bahai): Use an algorithm actually relevant to this calendar
4801         system.
4803         * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4805         * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4806         Use and.
4808         * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4809         in the last fortnight in Julian October.
4811         * calendar/calendar.el (increment-calendar-month): Optionally handle
4812         systems without 12 months per year.
4814         (calendar-date-is-visible-p): Doc fix.  Simplify.
4816         * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4817         from dolist.
4819 2008-03-30  Juanma Barranquero  <lekktu@gmail.com>
4821         * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4822         (hi-lock-unload-function): New function.
4824 2008-03-30  Michael Albinus  <michael.albinus@gmx.de>
4826         * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4827         overwriting when NEWNAME is a local file.
4829         * net/trampver.el: Update release number.
4831 2008-03-30  Alexandre Julliard  <julliard@winehq.org>
4833         * vc-git.el: Make vc-status display information about copies,
4834         renames and permission changes.
4835         (vc-git-extra-fileinfo): New defstruct.
4836         (vc-git-escape-file-name, vc-git-file-type-as-string)
4837         (vc-git-rename-as-string, vc-git-permissions-as-string)
4838         (vc-git-status-printer): New functions.
4839         (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4840         (vc-git-after-dir-status-stage1): Look for copies, renames and
4841         permission changes.
4842         (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4843         (vc-git-dir-status): Ask for staged files and renames.
4845 2008-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
4847         * vc.el: Allow backends to display backend specific information in
4848         the vc-status listing.
4849         (vc-status-fileinfo): Add a field for backend specific information.
4850         (vc-status-printer): Rename to ...
4851         (vc-default-status-printer): ... this.
4852         (vc-status-printer): New function.
4853         (vc-update-vc-status-buffer): Set the backend specific file info
4854         if provided.
4856 2008-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4858         * textmodes/remember.el (remember-diary-convert-entry): Revert last
4859         change (ill-conceived).
4861 2008-03-29  Glenn Morris  <rgm@gnu.org>
4863         * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4864         * calendar/cal-julian.el (holiday-julian): Simplify.
4866         * calendar/holidays.el (list-holidays): Use or.
4868 2008-03-29  Juri Linkov  <juri@jurta.org>
4870         * window.el (split-window-preferred-horizontally): New function.
4872         * cus-start.el (split-window-preferred-function):
4873         Set choice for "vertically" to nil instead of split-window.
4874         Set choice for "horizontally" to split-window-preferred-horizontally
4875         instead of lambda.
4877 2008-03-29  Juri Linkov  <juri@jurta.org>
4879         * simple.el (minibuffer-default-add-function): New variable with
4880         the default to minibuffer-default-add-completions.
4881         (minibuffer-default-add-done): New variable.  Make it buffer-local.
4882         (minibuffer-default-add-completions): New function.
4883         (goto-history-element): Set minibuffer-default-add-done to t and
4884         call a function in minibuffer-default-add-function when the
4885         specified absolute history position is greater than the length of
4886         the minibuffer-default list and minibuffer-default-add-done is nil.
4887         Change "^End of history; no next item$" to "^End of defaults;
4888         no next item$".
4890         * bindings.el (debug-ignored-errors): Change "^End of history;
4891         no next item$" to "^End of defaults; no next item$".
4893 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4895         * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
4897         * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
4898         to with-no-warnings.
4900 2008-03-29  Michael Albinus  <michael.albinus@gmx.de>
4902         Sync with Tramp 2.1.13.
4904         * net/tramp-ftp.el: Require 'cl when byte-compiling.
4906         * net/trampver.el: Update release number.
4908 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
4910         * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
4911         the current backend.
4913         * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
4914         (vc-status-refresh): Create a temporary buffer and call the
4915         `dir-status' backend function from that buffer.
4917         * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
4918         (vc-bzr-after-dir-status): Don't kill the buffer.
4920         * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
4921         (vc-cvs-after-dir-status): Don't kill the buffer.
4923         * vc-git.el (vc-git-dir-status): Don't create a buffer.
4924         (vc-git-after-dir-status-stage2): Don't kill the buffer.
4926         * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
4927         (vc-hg-after-dir-status): Don't kill the buffer.
4929         * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
4930         (vc-svn-after-dir-status): Don't kill the buffer.
4932 2008-03-29  Glenn Morris  <rgm@gnu.org>
4934         * calendar/calendar.el (diary-file, american-date-diary-pattern)
4935         (european-date-diary-pattern, european-calendar-display-form)
4936         (american-calendar-display-form, diary-display-hook): Doc fixes.
4937         (european-calendar-style): Doc fix.  Use calendar-set-date-style for
4938         custom :set.  Mark as obsolete.
4939         (calendar-date-style, iso-date-diary-pattern)
4940         (iso-calendar-display-form): New user variables.
4941         (diary-date-forms, calendar-date-display-form): Set using
4942         calendar-date-style.  Doc fix.
4943         (calendar-set-date-style): New command.
4944         (european-calendar, american-calendar): Use calendar-set-date-style.
4945         Mark as obsolete.
4947         * calendar/diary-lib.el (number): Move declaration where needed.
4948         (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
4949         (diary-make-date): New function.
4950         (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
4951         Use diary-make-date.
4952         (diary-date-display-form, diary-insert-entry-1): New functions.
4953         (insert-monthly-diary-entry, insert-yearly-diary-entry):
4954         Use diary-insert-entry-1.
4955         (insert-anniversary-diary-entry, insert-block-diary-entry)
4956         (insert-cyclic-diary-entry): Use diary-date-display-form.
4958         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4959         Autoload diary-insert-entry-1.
4960         * calendar/cal-bahai.el (diary-bahai-insert-entry)
4961         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4962         * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
4963         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
4964         * calendar/cal-islam.el (insert-islamic-diary-entry)
4965         (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
4966         Use diary-insert-entry-1.
4968         * calendar/cal-hebrew.el (diary-make-date): Autoload it.
4969         (diary-yahrzeit): Doc fix.  Use diary-make-date.
4971         * calendar/icalendar.el (icalendar--datetime-to-american-date):
4972         New name for icalendar--datetime-to-noneuropean-date.  Make old name
4973         obsolete alias.
4974         (icalendar--datetime-to-iso-date): New function.
4975         (icalendar--datetime-to-diary-date): Doc fix.  Respect
4976         calendar-date-style if bound.
4978         * textmodes/remember.el (remember-diary-convert-entry):
4979         Respect calendar-date-style if bound.
4981 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4983         * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
4984         (xterm-mouse-handle-delete-frame): Delete.
4986         * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
4987         (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
4988         (xterm-remove-modify-other-keys): Lookup terminal rather than frame
4989         in xterm-modify-other-keys-terminal-list.
4991         * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
4992         are conflicts.
4994 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
4996         * vc.el (vc-update): Check if the buffer is unsaved only if it
4997         actually exists.
4998         (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
4999         vc-print-log.
5001 2008-03-28  Magnus Henoch  <mange@freemail.hu>
5003         * net/dns.el (dns-write): Use set-buffer-multibyte.
5005 2008-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5007         * vc-bzr.el (vc-bzr-sha1): New fun.
5008         (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
5009         (vc-bzr-registered): Use it.
5011 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
5013         * vc.el (vc-status-kill-dir-status-process): Simplify.
5014         (vc-status-refresh): Make sure the buffer is live.
5015         (ring): Don't require it, not used.
5017 2008-03-28  Wilson Snyder  <wsnyder@wsnyder.org>
5019         * progmodes/verilog-mode.el (verilog-auto-inout-module):
5020         Add optional regular expression to AUTOINOUTMODULE.
5021         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
5022         (verilog-auto-inst-param, verilog-auto-reg)
5023         (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
5024         (verilog-auto-output-every, verilog-auto-input)
5025         (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
5026         (verilog-auto-unused, verilog-auto): Update documentation to use
5027         more obvious instance module names versus cell names.
5029 2008-03-28  Jan Djärv  <jan.h.d@swipnet.se>
5031         * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
5032         kill if a process is running.
5034         * progmodes/grep.el (grep-mode-tool-bar-map): The same.
5036 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
5038         * vc.el: Add new backend function 'status-extra-headers.
5039         (vc-default-status-extra-headers): New function.
5040         (vc-status-headers): Call 'status-extra-headers.  Add colors.
5042         * vc-git.el (vc-git-status-extra-headers): New function.
5044 2008-03-28  Glenn Morris  <rgm@gnu.org>
5046         * calendar/cal-menu.el (cal-menu-holidays-menu)
5047         (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
5048         (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
5049         holiday-list is optional.
5050         (calendar-mouse-holidays): Remove un-needed local `l'.
5052         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
5053         Remove un-needed local `date'.
5054         (calendar-cursor-to-visible-date): Use let rather than let*.
5055         Remove un-needed local `first-of-month-weekday'.
5057         * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
5059         * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
5060         Doc fixes.
5061         (abbreviated-calendar-year): Move here from calendar.el.  Doc fix.
5062         (diary-header-line-flag, diary-header-line-format): Declare.
5063         (diary-pull-attrs): Check for multiple matches.
5064         (diary-list-entries-2): Simplify finding start of date.
5065         (diary-show-all-entries, make-diary-entry): Respect non-nil values of
5066         pop-up-frames.
5067         (diary-mark-entries-1): Re-use offset in abbreviated-year case.
5068         (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
5070 2008-03-27  Dan Nicolaescu  <dann@ics.uci.edu>
5072         * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
5074         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
5076 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5078         * vc-hooks.el (vc-before-save): Don't prevent saving the file.
5080         * image-mode.el (image-mode-reapply-winprops): Fix last change.
5082 2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
5084         * international/mule-conf.el (define-iso-single-byte-charset):
5085         Don't make latin-iso8859-* supplementary.
5086         (#'set-charset-priority): Don't change the priority of charsets
5087         `unicode' and `emacs'.
5089 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5091         * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
5092         temp buffer.
5094 2008-03-27  Glenn Morris  <rgm@gnu.org>
5096         * calendar/cal-bahai.el (diary-bahai-list-entries):
5097         * calendar/cal-hebrew.el (list-hebrew-diary-entries):
5098         * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
5100         * calendar/calendar.el (diary-file): Doc fix.
5102         * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
5103         (list-diary-entries-hook, mark-diary-entries-hook)
5104         (include-other-diary-files, diary-mail-entries)
5105         (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
5106         (diary-set-header): New function.
5107         (diary-header-line-flag, diary-header-line-format):
5108         Use diary-set-header for custom :set function.
5109         (diary-set-maybe-redraw): Use symbol-value rather than eval.
5110         (diary-attrtype-convert): Use intern-soft rather than read.
5111         (diary-display-no-entries): New function.
5112         (simple-diary-display, fancy-diary-display): Use it.
5113         (fancy-diary-display): Doc fix.  Remove unneeded local entry-list.
5114         (diary-mark-entries-1): Fix position offsets in non-gregorian case.
5116         * calendar/holidays.el (list-holidays): Doc fix.
5118 2008-03-26  Jay Belanger  <jay.p.belanger@gmail.com>
5120         * calc/calc-store.el (calc-read-var-name-history): New variable.
5121         (calc-read-var-name): Use `calc-read-var-name-history'.
5123 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5125         * image-mode.el (image-mode-reapply-winprops): Simplify now that
5126         window-configuration-change-hook works buffer-locally.
5128 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
5130         * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
5131         for Emacs Lisp, not Lisp.
5133 2008-03-26  Juanma Barranquero  <lekktu@gmail.com>
5135         * help-fns.el (describe-function-1, describe-variable):
5136         If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
5138         * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
5139         replacement is provided, don't print "use nil instead".
5141 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
5143         * complete.el (PC-do-completion): Use regexp-quote.
5145 2008-03-26  Dan Nicolaescu  <dann@ics.uci.edu>
5147         * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
5148         Detect missing files.
5150         * vc-git.el (vc-git-extra-menu-map): New key map.
5151         (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
5152         New functions.
5154         * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
5155         and 'missing files.
5157 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5159         * calendar/holidays.el (list-holidays): Make Y2 optional.
5161         * calendar/appt.el (appt-buffer-name): Don't use a leading space for
5162         buffers shown to the user.
5163         (appt-disp-window): Disable undo explicitly now that the leading space
5164         is gone.
5166         * simple.el (activate-mark): New function.
5167         (set-mark-command): Use it with region-active-p to clean up the code.
5168         (exchange-point-and-mark): Invert the meaning of C-u when
5169         transient-mark-mode is active.
5171         * dired-aux.el (dired-create-files): Use dolist.
5173         * bindings.el (mode-line-change-eol): Use with-selected-window.
5175         * apropos.el (apropos-command): Include macros.
5177 2008-03-26  Glenn Morris  <rgm@gnu.org>
5179         * calendar/cal-bahai.el: Require calendar, not cal-julian.
5180         (calendar-bahai-epoch): Doc fix.
5182         * calendar/cal-china.el: Explicitly require calendar.
5184         * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5185         Require calendar rather than cal-julian.
5186         Autoload calendar-absolute-from-julian.
5187         * calendar/cal-coptic.el (coptic-calendar-epoch):
5188         * calendar/cal-islam.el (calendar-islamic-epoch):
5189         * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5191         * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5193         * calendar/cal-dst.el: Don't require cal-persia.
5194         (calendar-absolute-from-persian): Autoload it.
5195         (dst-adjust-time): Doc fix.
5197         * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5198         cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5199         calendar.
5201         * calendar/cal-menu.el: Require calendar rather than declaring
5202         functions.
5203         * calendar/calendar.el: Provide calendar before requiring cal-menu.
5205         * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5206         calendar-after-frame-setup-hooks.  Update callers, make old name an
5207         obsolete alias.  Doc fix.
5208         (calendar-frame-1): Doc fix.
5210         * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5212         * calendar/calendar.el (oriental-holidays, solar-holidays):
5213         * calendar/holidays.el (list-holidays): Assume atan always bound.
5215         * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5216         Explicitly require calendar, not cal-julian.
5217         * calendar/lunar.el: Explicitly require cal-dst.
5219 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5221         * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5223         * help-fns.el (describe-function-1, describe-variable): If no
5224         replacement is provided, don't print "use nil instead".
5226 2008-03-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
5228         * proced.el: New file.
5230 2008-03-25  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
5232         * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5234 2008-03-25  Juri Linkov  <juri@jurta.org>
5236         * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5237         in battery-mode-line-format.
5239         * bindings.el (minibuffer-local-map): For the command
5240         file-cache-minibuffer-complete replace keymap minibuffer-local-map
5241         with map which is already locally bound to minibuffer-local-map.
5243 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5245         * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5246         Remove `sort-first' argument.
5248         * subr.el (redisplay-end-trigger-functions)
5249         (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5250         (process-filter-multibyte-p, set-process-filter-multibyte):
5251         Mark as obsolete.
5253 2008-03-25  Juanma Barranquero  <lekktu@gmail.com>
5255         * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5256         bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5257         use the LOCAL arg of `add-hook'.
5258         (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5259         Remove spurious * from defcustom docstrings.
5260         (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5261         Fix typos in messages.
5262         (reb-mode-buffer-p): New function.
5263         (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'.  Use `when'.
5264         (top, reb-show-subexp, reb-auto-update, reb-auto-update)
5265         (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
5266         (reb-update-overlays): Use `unless', `when'.
5267         (re-builder-unload-function): New function.
5269 2008-03-25  Dan Nicolaescu  <dann@ics.uci.edu>
5271         * vc-hooks.el (vc-state): Add documentation for 'missing.
5273 2008-03-25  Wilson Snyder  <wsnyder@wsnyder.org>
5275         * progmodes/verilog-mode.el (verilog-auto-output)
5276         (verilog-auto-input, verilog-auto-inout, verilog-auto)
5277         (verilog-delete-auto): Add optional regular expression to
5278         AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5279         (verilog-signals-matching-regexp): New internal function for
5280         signal matching.
5282 2008-03-25  Johan BockgÃ¥rd  <bojohan@gnu.org>
5284         * info.el (Info-isearch-search): Always return point.
5286 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5288         * diff-mode.el (diff-remembered-defdir): New var.
5289         (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5291 2008-03-25  Glenn Morris  <rgm@gnu.org>
5293         * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5294         calendar-bahai-prompt-for-date.  Update callers, make old name an
5295         obsolete alias.  Doc fix.
5296         * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5297         coptic-prompt-for-date.  Update callers, make old name an
5298         obsolete alias.  Doc fix.
5299         * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5300         calendar-hebrew-prompt-for-date.  Update callers.  Doc fix.
5301         * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5302         calendar-islamic-prompt-for-date.  Update callers.  Doc fix.
5303         * calendar/cal-iso.el (calendar-iso-read-date): New name for
5304         calendar-iso-read-args.  Update callers, make old name an obsolete
5305         alias.
5306         * calendar/cal-persia.el (calendar-persian-read-date): New name for
5307         persian-prompt-for-date.  Update callers, make old name an
5308         obsolete alias.  Doc fix.  Move definition before use.
5310         * calendar/cal-x.el (diary-frame-parameters)
5311         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5312         (calendar-frame-1): Doc fixes.
5313         (make-fancy-diary-buffer): Remove declaration.
5314         (calendar-dedicate-diary): Replace call to deleted function
5315         make-fancy-diary-buffer.
5316         (calendar-frame-setup): New function.
5317         (calendar-one-frame-setup, calendar-only-one-frame-setup)
5318         (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5319         work, and mark as obsolete.
5320         (special-display-buffer-names): Don't mess with this; it's not our
5321         business.
5322         (cal-x-load-hook): Defvar it, and mark as obsolete.
5324         * calendar/calendar.el (calendar-remove-frame-by-deleting):
5325         Default to t.  Add to 'calendar group.
5326         (calendar): Doc fix.  Use calendar-frame-setup.
5327         (calendar-basic-setup): Doc fix.  Add optional NODISPLAY argument.
5328         (generate-calendar-window): Doc fix.
5330 2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5332         * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5334 2008-03-24  Drew Adams  <drew.adams@oracle.com>
5336         * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5337         New variables.
5338         (finder-mode): Use finder-mode-syntax-table.  Set font-lock-defaults.
5339         (finder-exit): Ignore errors rather than avoiding them.
5340         Kill *Finder-package* buffer also.
5342 2008-03-24  Andreas Schwab  <schwab@suse.de>
5344         * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5346 2008-03-24  Dan Nicolaescu  <dann@ics.uci.edu>
5348         * vc-hg.el (vc-hg-after-dir-status):
5349         * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5351         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5352         Detect removed files.
5354         * vc.el (vc-status-printer): Use a different face for missing files.
5355         (vc-status-hide-up-to-date): Rename from
5356         vc-status-remove-up-to-date.  Update all callers.
5357         (vc-status-mode-map): Bind C-m.
5359 2008-03-24  Alexandre Julliard  <julliard@winehq.org>
5361         * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5362         code ...
5363         (vc-git--state-code): ... to this new function.
5364         (vc-git-state): Use it.
5366 2008-03-24  Trent Buck  <trentbuck@gmail.com>  (tiny change)
5368         * textmodes/remember.el (remember-mail-date)
5369         (remember-store-in-mailbox): Write date and From line in such a
5370         way that Mutt can read it.
5372 2008-03-23  Chong Yidong  <cyd@stupidchicken.com>
5374         * simple.el (transient-mark-mode): Turn on by default.
5376 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5378         * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5379         'unregistered for unregistered files.
5381         * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5383         * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5385         * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5386         subdirectories.
5388         * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5389         (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5390         Add :enable for vc-status-refresh.
5391         (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5392         (vc-status-tool-bar-map): Add binding for
5393         vc-status-kill-dir-status-process.
5394         Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5395         (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5396         Reset vc-status-process-buffer.
5397         (vc-status-refresh): Don't run two refreshes at a time.
5398         (vc-status): If the buffer is already in vc-status-mode only refresh.
5399         (vc-status-mark-buffer-changed): Add an optional file parameter.
5400         (vc-resynch-buffer): Use it.
5401         (vc-delete-file): Expand the file name before using it.
5402         Be careful to not create a new buffer with the old file contents.
5403         Update the VC state after performing the operation.
5405 2008-03-23  Andreas Schwab  <schwab@suse.de>
5407         * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5408         Fix radio button condition.
5409         [box]: Likewise.
5410         [customize]: Add radio button.
5412 2008-03-23  Jay Belanger  <jay.p.belanger@gmail.com>
5414         * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5415         (calc-user-parse-tables, calc-gnuplot-default-device)
5416         (calc-gnuplot-default-output, calc-gnuplot-print-device)
5417         (calc-gnuplot-print-output, calc-gnuplot-geometry)
5418         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5419         (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5420         (calc-undo-list, calc-redo-list, calc-main-buffer)
5421         (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5422         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5423         (calc-said-hello, calc-executing-macro, calc-any-selections)
5424         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5425         (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5426         (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5427         (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5428         (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5429         (calc-create-buffer, calc-quit): Add docstrings.
5431 2008-03-23  Juanma Barranquero  <lekktu@gmail.com>
5433         * makefile.w32-in (WINS_ALMOST): Add org.
5435 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5437         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5438         New functions to implement vc-status support.
5440 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5442         * vc.el (vc-status-prepare-status-buffer): New function.
5443         (vc-status): Use it.
5445         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5446         appropriate.
5448 2008-03-22  Alexandre Julliard  <julliard@winehq.org>
5450         * vc-git.el (vc-git--empty-db-p)
5451         (vc-git-after-dir-status-stage1-empty-db): New functions.
5452         (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5453         Add support for empty repositories.
5455 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5457         * vc-git.el (vc-git-annotate-extract-revision-at-line):
5458         Allow "^" in a version name.
5460         * vc-mtn.el (vc-mtn-state): Support the added state.
5462 2008-03-22  Carsten Dominik  <dominik@science.uva.nl>
5464         * org: New directory for Org-mode.
5466         * org/org-export-latex.el: Moved from lisp/texmodes.
5468         * org/org-irc.el: Moved from lisp/texmodes.
5470         * org/org-mac-message.el: Moved from lisp/texmodes.
5472         * org/org-mouse.el: Moved from lisp/texmodes.
5474         * org/org-publish.el: Moved from lisp/texmodes.
5476 2008-03-21  Juri Linkov  <juri@jurta.org>
5478         * comint.el (comint-dynamic-simple-complete):
5479         Use variable `stub' for the second arg `common-substring'
5480         of `comint-dynamic-list-completions'.
5481         (comint-dynamic-list-filename-completions):
5482         Use variable `filenondir' for the second arg `common-substring'
5483         of `comint-dynamic-list-completions'.
5484         (comint-dynamic-list-completions): Add new optional arg
5485         `common-substring'.  Add `common-substring' as the second arg of
5486         the call to `display-completion-list'.  Doc fix.
5488         * comint.el (comint-dynamic-complete-as-filename)
5489         (comint-dynamic-list-filename-completions)
5490         (comint-dynamic-simple-complete): Use `minibuffer-message'
5491         to display message "No completions of %s" when a command
5492         is called in the minibuffer.
5493         (comint-dynamic-simple-complete): Don't display other
5494         completion messages when a command is called in the minibuffer.
5495         (comint-dynamic-list-completions): Use `minibuffer-message'
5496         to display message " [Type space to flush ...]" when a command
5497         is called in the minibuffer.
5499         * shell.el (shell-dynamic-complete-command)
5500         (shell-dynamic-complete-environment-variable): Don't display
5501         completion messages when command is called in the minibuffer.
5503         * emacs-lisp/lisp.el (lisp-complete-symbol):
5504         Use `minibuffer-message' to display message "No completions of %s"
5505         when this command is called in the minibuffer.
5507         * bindings.el (standard-mode-line-modes): Put special help-echo
5508         tooltip on recursive edit %[ %] mode-line constructs.
5510         * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5511         "^No dynamic expansion for .* found$" to allow error messages like
5512         "No dynamic expansion for \"%s\" found in this-buffer".
5514 2008-03-21  Michael Albinus  <michael.albinus@gmx.de>
5516         * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5517         "psftp".
5519 2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5521         * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5522         * vc.el (vc-default-dired-state-info): Use just "modified".
5523         * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5524         (vc-cvs-mode-line-string): Make use of the better default.
5525         (vc-cvs-parse-entry): Use the new `added'.
5526         (vc-cvs-dired-state-info): Remove.
5527         * vc-svn.el (vc-svn-dired-state-info): Remove.
5528         * vc-hg.el (vc-hg-dired-state-info): Remove.
5529         * vc-git.el (vc-git-dired-state-info): Remove.
5531 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5533         * vc-git.el (vc-git-status-result): New variable.
5534         (vc-git-dir-status): Split out ...
5535         (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5536         ... these new functions and work asynchronously.
5538 2008-03-21  Alexandre Julliard  <julliard@winehq.org>
5540         * vc-git.el (vc-git-after-dir-status): Remove.
5541         (vc-git-dired-state-info): Reimplement.
5543 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5545         * replace.el (occur-mode-map): Add :help.
5547         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5548         for disassemble.
5550         * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5551         the 'added state.
5552         (vc-status-remove-up-to-date): New function.
5553         (vc-status-mode-map, vc-status-menu-map): Bind it.
5554         (vc-status-printer): Use a different face up-to-date files.
5555         (vc-resynch-buffer): Update the vc-status buffer if it exists.
5556         (Todo): Remove solved entries.
5558         * vc-hg.el (vc-hg-state):
5559         * vc-git.el (vc-git-state):
5560         * vc-cvs.el (vc-cvs-parse-status):
5561         * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5562         state.
5564 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5566         * progmodes/compile.el (compile):
5567         * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5569         * simple.el (minibuffer-local-shell-command-map): New var.
5570         (minibuffer-complete-shell-command, read-shell-command): New funs.
5571         (shell-command, shell-command-on-region): Use them.
5573 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5575         * vc.el (vc-status-mark-buffer-changed): New function to implement
5576         updating of the *vc-status* buffer when a buffer is saved.
5577         (vc-status-mode): Use it for after-change-hook.
5578         (vc-add-to-vc-status-buffer): Rename to ...
5579         (vc-status-add-entry): ... this.
5580         (Todo): Add new entry.
5582 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5584         * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5586 2008-03-20  Juanma Barranquero  <lekktu@gmail.com>
5588         * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5589         (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5590         Remove spurious * from defcustom docstrings.
5591         (icomplete-compute-delay): Fix docstring and remove spurious *.
5592         (icomplete-delay-completions-threshold): Fix typo in docstring and
5593         remove spurious *.
5594         (icomplete-completions): While collecting the list of prospective
5595         candidates, don't overshoot `icomplete-prospects-length'.
5597 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5599         * textmodes/refbib.el:
5600         * textmodes/reftex.el:
5601         * textmodes/reftex-global.el:
5602         * textmodes/reftex-vars.el:
5603         * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5604         compiler pacifying defvars.
5605         (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5606         * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5607         not needed.
5609 2008-03-20  Wilson Snyder  <wsnyder@wsnyder.org>
5611         * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5612         (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5613         (verilog-customize, verilog-font-customize)
5614         (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5615         (verilog-mode): Update documentation strings to match tool tips.
5616         (verilog-auto-search-do, verilog-auto-re-search-do)
5617         (verilog-skip-forward-comment-or-string): Fix verilog-auto
5618         expansion when a .* appears inside a string.
5619         (verilog-re-search-forward, verilog-re-search-backward):
5620         Add comment to recall how this works.
5621         (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5623 2008-03-20  Glenn Morris  <rgm@gnu.org>
5625         * calendar/calendar.el (calendar-other-dates): New function.
5626         (calendar-print-other-dates): Use calendar-other-dates.
5627         * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5628         the declarations it replaces.
5629         (calendar-mouse-print-dates): Use calendar-other-dates.
5631         * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5632         (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5633         (calendar-absolute-from-bahai): Fix the leap-year case.
5634         (calendar-bahai-from-absolute): Re-use the Gregorian month.
5635         (calendar-bahai-date-string, calendar-bahai-print-date):
5636         Handle pre-Bahai dates.
5638         * calendar/cal-china.el (chinese-calendar-celestial-stem)
5639         (chinese-calendar-terrestrial-branch): Make defcustoms.
5641         * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5642         (calendar-mouse-view-diary-entries): Use or.
5643         (calendar-mouse-chinese-date): Remove unused command.
5644         (cal-menu-load-hook): Mark as obsolete.
5646         * calendar/solar.el (calendar-location-name, calendar-latitude)
5647         (calendar-longitude, solar-arctan, sunrise-sunset)
5648         (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5650 2008-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
5652         * calc/calc.el: Remove outdated comments.
5653         (defcalcmodevar, calc-mode-var-list-restore-default-values)
5654         (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5655         Add docstrings.
5657 2008-03-19  Jason Rumney  <jasonr@gnu.org>
5659         * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5661 2008-03-19  Reiner Steib  <Reiner.Steib@gmx.de>
5663         * net/tls.el (open-tls-stream): Reindent.
5665 2008-03-19  Michael Albinus  <michael.albinus@gmx.de>
5667         * net/tramp.el (tramp-let-maybe): Removed.
5668         (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5669         It does not exist under XEmacs.
5670         (tramp-handle-file-truename, tramp-handle-expand-file-name)
5671         (tramp-completion-file-name-handler): Let-bind
5672         `directory-sep-char'.
5674         * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5675         `directory-sep-char'.
5677 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5679         * help-fns.el (describe-function-1): Don't signal "missing arglist"
5680         for autoloaded keymaps.
5682         * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5683         (electric-verilog-terminate-line, verilog-in-struct-region-p)
5684         (verilog-backward-ws&directives, verilog-forward-ws&directives)
5685         (verilog-in-comment-p, verilog-in-star-comment-p)
5686         (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5687         (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5688         (verilog-skip-forward-comment-or-string, verilog-in-paren)
5689         (verilog-skip-forward-comment-p): Use it.
5691 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5693         * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5694         (org-remember-templates, org-time-stamp-rounding-minutes)
5695         (org-back-over-empty-lines, org-find-base-buffer-visiting)
5696         (org-columns-new): Fix typos in docstrings.
5698 2008-03-19  Glenn Morris  <rgm@gnu.org>
5700         * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5701         (tramp-handle-shell-command): Use condition-case rather than
5702         ignore-errors.
5704 2008-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
5706         * diff-mode.el (diff-header): Make the color louder.
5707         (diff-refine-change): Tone the color down.
5709 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5711         * descr-text.el (describe-char): When `describe-char-unidata-list'
5712         is set to show all properties, list them in the right order.
5714 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5716         * international/mule.el (load-with-code-conversion): Avoid setting
5717         default-enable-multibyte-characters.
5719 2008-03-19  Gustav HÃ¥llberg  <gustav@virtutech.com>  (tiny change)
5721         * vc.el (vc-annotate-background): Fix custom type.
5723 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5725         * descr-text.el (describe-char-unidata-list): Allow specifying
5726         just all properties.
5727         (describe-char): Handle that new value.
5729         * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5731 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5733         * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5734         instead of file name extension to make docs with uncommon
5735         extensions work.
5737 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5739         * doc-view.el (require): Require cl at compile time because
5740         `assert' needs it.
5742 2008-03-18  Glenn Morris  <rgm@gnu.org>
5744         * calendar/calendar.el (initial-calendar-window-hook)
5745         (today-visible-calendar-hook): Doc fixes.
5747 2008-03-17  Michael Albinus  <michael.albinus@gmx.de>
5749         * net/tramp.el (tramp-root-regexp): Simplify.
5750         (tramp-completion-file-name-regexp-separate): Don't insist on
5751         leading "[".  This prevents method or user or host completion.
5752         (tramp-let-maybe): Autoload it.
5753         (tramp-drop-volume-letter): Don't autoload.  When not on W32, it
5754         is an alias for `identity'.
5755         (tramp-handle-write-region): Protect `last-coding-system-used'
5756         over the trailing statements.
5757         (tramp-completion-file-name-handler-post-function): Remove.
5758         (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5759         instead of calling `tramp-drop-volume-letter'.
5761         * net/tramp.el:
5762         * net/tramp-uu.el:
5763         * net/trampver.el: Move coding cookie at the end.
5765 2008-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5767         * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5768         elements which may be something else than characters.
5770 2008-03-17  Dan Nicolaescu  <dann@ics.uci.edu>
5772         * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5773         New functions to implement vc-status support.
5775         * vc.el (vc-default-extra-status-menu)
5776         (vc-add-to-vc-status-buffer): New functions.
5778         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5779         for eldoc and ielm.
5781 2008-03-17  Glenn Morris  <rgm@gnu.org>
5783         * calendar/cal-x.el (diary-frame-parameters)
5784         (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5785         Fix custom type; add options.
5786         (calendar-frame, diary-frame): Doc fixes.
5787         (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5788         new functions.
5789         (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5790         Use calendar-frame-1 and calendar-dedicate-diary.
5791         (calendar-one-frame-setup): Also handle only-one-frame case.
5792         (calendar-only-one-frame-setup): Doc fix.  Just call
5793         calendar-one-frame-setup.
5795         * calendar/diary-lib.el: Re-order some definitions before their use.
5796         (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5797         (diary-list-entries): Doc fixes.
5798         (make-fancy-diary-display): Remove function.
5800         * calendar/calendar.el (calendar-today-marker)
5801         (initial-calendar-window-hook, today-visible-calendar-hook)
5802         (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5803         (calendar-star-date, calendar-mark-today): Doc fixes.
5804         (today-visible-calendar-hook): Add options.
5805         (calendar-in-read-only-buffer): New macro.
5806         (calendar-basic-setup): Adapt for change in calendar-read-date.
5807         Place holiday let inside if.
5808         (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5809         (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5810         (calendar-print-other-dates): Use one let rather than many.
5812         * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5813         (calendar-print-other-dates):
5814         * calendar/cal-hebrew.el (list-yahrzeit-dates):
5815         * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5816         * calendar/holidays.el (calendar-list-holidays, list-holidays)
5817         (calendar-cursor-holidays):
5818         * calendar/lunar.el (calendar-phases-of-moon): Use
5819         calendar-in-read-only-buffer to replace previous code and disable undo.
5821 2008-03-16  Juri Linkov  <juri@jurta.org>
5823         * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5824         and regexp-search-ring-yank-pointer for the HISTPOS argument of
5825         read-from-minibuffer to provide the correct initial minibuffer
5826         history position in isearch-edit-string when it is called from
5827         isearch-ring-adjust.
5829         * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5830         to check if the current buffer is the minibuffer, and in this case
5831         call abort-recursive-edit to kill the minibuffer.  Doc fix.
5832         (kill-this-buffer-enabled-p): Allow this function to return non-nil
5833         when the current buffer is the minibuffer.
5835         * simple.el (goto-line): Leave mark at previous position.  Doc fix.
5837 2008-03-16  Tassilo Horn  <tassilo@member.fsf.org>
5839         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5840         Use non-nil PARENTS attribute of make-directory instead of
5841         explicitly checking existence the current cache directory.
5843 2008-03-16  Daiki Ueno  <ueno@unixuser.org>
5845         * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5846         M-x epa-file-select-keys.
5848 2008-03-16  Kenichi Handa  <handa@m17n.org>
5850         * international/mule.el (auto-coding-alist):
5851         Use no-conversion-multibyte for archive files.
5853 2008-03-16  Glenn Morris  <rgm@gnu.org>
5855         * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
5856         New functions.
5857         * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
5858         (calendar-bahai-mark-date-pattern): Add optional argument `color'.
5859         Use calendar-mark-1.
5860         * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
5861         (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
5862         Use calendar-mark-complex.
5863         * calendar/cal-islam.el (calendar-mark-1): Autoload it.
5864         (mark-islamic-calendar-date-pattern): Add optional argument `color'.
5865         Use calendar-mark-1.
5867         * calendar/calendar.el (calendar-mod): Remove.
5868         * calendar/cal-china.el (calendar-chinese-from-absolute)
5869         (calendar-chinese-date-string): Expand calendar-mod calls.
5870         * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
5871         Expand calendar-mod calls.
5873         * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
5874         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
5875         (diary-bahai-insert-yearly-entry): Use let rather than let*.
5876         Move obsolete aliases after the functions that replaced them.
5878         * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
5879         (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
5880         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
5881         Use let rather than let*.
5882         (calendar-hebrew-prompt-for-date): New function.
5883         (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
5884         (holiday-tisha-b-av-etc): Use unless, let.
5886         * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
5887         (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
5889         * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
5891         * calendar/calendar.el (calendar-for-loop): Add indent spec.
5893         * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
5894         (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
5895         than concat.
5896         (diary): Remove un-needed let.
5897         (view-other-diary-entries): Rename argument.
5898         (diary-list-entries-2): New function.
5899         (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
5900         (print-diary-entries): Use unless.
5901         (diary-mark-entries-1): Change argument order, make all but
5902         markfunc optional.  Handle the standard (Gregorian) case.
5903         Use match-string-no-properties.  Handle marks.
5904         (mark-diary-entries): Use diary-mark-entries-1.
5905         (diary-font-lock-keywords-1): New macro.
5906         (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
5908 2008-03-16  Ulf Jasper  <ulf.jasper@web.de>
5910         * icalendar.el (icalendar-version): Increase to 0.18.
5911         (icalendar-export-hidden-diary-entries): New variable.
5912         (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
5913         In case of error, insert full error-val.
5914         (icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
5915         Use calendar-day-of-week.  Return the day number.
5916         (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
5918 2008-03-16  Craig Markwardt  <Craig.Markwardt@nasa.gov>
5920         * icalendar.el (icalendar-recurring-start-year): New variable.
5921         (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
5922         (icalendar-export-region): Ignore hidden diary entries.
5923         (icalendar--convert-ordinary-to-ical): Fix case where event
5924         spans across midnight boundary.
5925         (icalendar-first-weekday-of-year): New function.
5926         (icalendar--convert-weekly-to-ical): Allow user-selectable start
5927         year for recurring events (Mozilla calendars do not propagate
5928         recurring events forever, so year 2000 start date was not working).
5929         (icalendar--convert-yearly-to-ical): Remove extra spaces in
5930         formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
5932 2008-03-15  Michael Albinus  <michael.albinus@gmx.de>
5934         * net/tramp.el (tramp-root-regexp): New defconst.
5935         (tramp-completion-file-name-regexp-unified)
5936         (tramp-completion-file-name-regexp-separate)
5937         (tramp-completion-file-name-regexp-url): Use it.
5938         (tramp-do-copy-or-rename-file-via-buffer):
5939         Set `enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
5940         t for `insert-file-contents-literally'.
5941         (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
5942         Autoload it.
5943         (tramp-completion-file-name-handler-post-function): New defconst.
5944         (tramp-completion-file-name-handler): Use it.
5945         (tramp-maybe-open-connection): Update calls to
5946         `tramp-flush-connection-property' for removed 2nd argument.
5948 2008-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5950         * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
5951         (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
5952         New functions.
5954 2008-03-15  Glenn Morris  <rgm@gnu.org>
5956         * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
5957         New functions.
5958         * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
5959         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5960         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5961         (diary-bahai-list-entries): Use diary-list-entries-1.
5962         (diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.
5963         * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
5964         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5965         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5966         (list-hebrew-diary-entries): Use diary-list-entries-1.
5967         (mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.
5968         * calendar/cal-islam.el (number, original-date, add-to-diary-list)
5969         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5970         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5971         (list-islamic-diary-entries): Use diary-list-entries-1.
5972         (mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.
5974         * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
5976         * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
5978         * calendar/cal-china.el (number-chinese-months)
5979         (calendar-chinese-from-absolute): Use nth, caar.
5981         * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
5983         * calendar/cal-french.el (french-calendar-accents): Doc fix.
5985         * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
5986         (calendar-hebrew-month-name-array-leap-year)
5987         (hebrew-calendar-parashiot-names): Make constants.
5988         (diary-parasha): Move definition after constants it uses.
5990         * calendar/cal-html.el (cal-html-insert-link-yearpage)
5991         (cal-html-htmlify-list): Doc fix.
5992         (cal-html-htmlify-entry): Use nth.
5994         * calendar/cal-islam.el (calendar-islamic-month-name-array)
5995         (calendar-islamic-epoch): Make constants.
5996         (calendar-islamic-epoch): Doc fix.
5998         * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
6000         * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
6001         (cal-tex-month-name): Doc fix.
6002         (cal-tex-last-blank-p): Use zerop.
6004         * calendar/calendar.el (european-calendar-style, calendar-for-loop)
6005         (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
6006         (calendar-cursor-to-date): Doc fix.
6007         (hebrew-holidays-1, hebrew-holidays-4): Simplify.
6008         (extract-calendar-day, extract-calendar-year): Use cadr, nth.
6009         (calendar-day-number): Use when.
6010         (generate-calendar-month): Use dotimes.
6011         (exit-calendar, calendar-print-other-dates): Use let rather than let*.
6012         (calendar-set-mark): Reverse conditional.
6013         (calendar-make-alist): Move definition before use.
6015         * calendar/diary-lib.el (diary-face-attrs)
6016         (diary-glob-file-regexp-prefix, diary-selective-display)
6017         (number-of-diary-entries, diary-list-entries, diary-goto-entry)
6018         (list-sexp-diary-entries, diary-date, diary-block, diary-float)
6019         (diary-anniversary, diary-cyclic)
6020         (diary-fancy-font-lock-fontify-region-function): Doc fixes.
6021         (diary-header-line-format): Change wording.
6022         (diary-list-entries): Set `date-start' in let.
6023         (include-other-diary-files, mark-included-diary-files): Use format.
6024         (simple-diary-display, fancy-diary-display): Use cadr, unless.
6025         (mark-diary-entries): Use 1+.
6026         (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
6027         (mark-calendar-month): Use dotimes.
6029         * calendar/holidays.el (displayed-month, displayed-year):
6030         Move declarations where needed.
6031         (calendar-list-holidays): Doc fix.
6033         * calendar/parse-time.el (parse-time-string): Simplify.
6035         * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
6036         Make constants.
6037         (solar-sunrise-sunset): Rename some local variables for clarity.
6038         (sunrise-sunset): Use zerop.
6039         (solar-mean-equinoxes/solstices): Doc fix.
6041         * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
6042         Use nth.
6043         (timeclock-completing-read, timeclock-generate-report): Use zerop.
6044         (timeclock-mean, timeclock-generate-report): Use dolist.
6046         * calendar/todo-mode.el (todo-add-category): Simplify.
6047         (todo-more-important-p, todo-delete-item, todo-file-item):
6048         Use unless, when.
6049         (todo-top-priorities): Use zerop.
6051 2008-03-14  Nick Roberts  <nickrob@snap.net.nz>
6053         * buff-menu.el (list-buffers-noselect): Display buffer name in
6054         tooltip instead of mouse binding when it doesn't fit in the list.
6056 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6058         * faces.el (xw-defined-colors):
6059         * simple.el (widget-convert, shell-mode): Declare as functions
6060         instead of autoloading.
6062         * abbrev.el:
6063         * button.el:
6064         * cus-face.el:
6065         * ediff-hook.el:
6066         * emacs-lisp/backquote.el:
6067         * emacs-lisp/timer.el:
6068         * facemenu.el:
6069         * faces.el:
6070         * menu-bar.el:
6071         * simple.el:
6072         * subr.el:
6073         * textmodes/fill.el:
6074         * textmodes/paragraphs.el: Remove autoloads, redundant when the
6075         files are preloaded.
6077 2008-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6079         * desktop.el (desktop-create-buffer): Don't catch errors if
6080         debug-on-error is set.
6082 2008-03-14  Eli Zaretskii  <eliz@gnu.org>
6084         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6085         ($(lisp)/calendar/diary-loaddefs.el)
6086         ($(lisp)/calendar/hol-loaddefs.el): New targets.
6087         (LOADDEFS): New macro.
6088         (autoloads): Depend on $(LOADDEFS).
6090 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6092         * font-lock.el (featurep): Remove test, not useful anymore.
6093         (facemenu-keymap): Move key binding ...
6094         * facemenu.el (facemenu-keymap): ... here.
6096         * vc-bzr.el (vc-bzr-print-log): Insert a file marker.  Run the log
6097         for each file in the list.
6098         (vc-bzr-log-view-mode): Recognize the file marker.
6100         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6101         for checkdoc and profiling.
6103 2008-03-14  Bastien Guerry  <bzg@altern.org>
6105         * textmodes/flyspell.el (nxml-mode): Add the right
6106         `flyspell-mode-predicate'.
6108         * wid-edit.el (link): Use 'mouse-face for :follow-link.
6110 2008-03-14  Glenn Morris  <rgm@gnu.org>
6112         * calendar/solar.el: Reorder so that functions are defined before use.
6113         (displayed-month, displayed-year): Move declarations where needed.
6114         (solar-get-number): Move definition before use.  Use unless.
6115         (solar-equatorial-coordinates): Simplify.
6116         (solar-sunrise-and-sunset): Use let rather than let*.
6117         (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
6119         * startup.el (command-line-1): Rename -internal-script back to
6120         -scriptload (reverts previous change).
6122         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
6123         (calendar-bahai-leap-base): Add doc strings.
6124         (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
6125         Move definition before use.
6126         (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
6127         (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
6128         variables outside the loop.  Use dolist.
6129         (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
6131         * calendar/cal-china.el: Re-order so that functions are defined before
6132         use.
6133         (displayed-month, displayed-year): Move declarations where needed.
6134         (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
6135         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6136         Add doc strings.
6137         (chinese-year-cache): Recenter on 2010.  Doc fix.
6138         (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
6139         Doc fix.  Simplify.
6140         (chinese-year-cache-init): New function.
6141         (compute-chinese-year, holiday-chinese-new-year)
6142         (calendar-chinese-date-string, calendar-goto-chinese-date)
6143         (make-chinese-month-assoc-list): Use cadr, nth.
6144         (chinese-months): Remove un-needed let.
6146         * calendar/cal-coptic.el (coptic-calendar-month-name-array)
6147         (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
6148         (coptic-prompt-for-date): Move definition before use.
6150         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6151         (calendar-dst-find-data, calendar-daylight-time-offset)
6152         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6153         (calendar-daylight-savings-starts-time)
6154         (calendar-daylight-savings-ends-time): Use cadr, nth.
6156         * calendar/cal-french.el (french-calendar-epoch)
6157         (calendar-goto-french-date): Doc fix.
6158         (french-calendar-month-name-array)
6159         (french-calendar-multibyte-month-name-array)
6160         (french-calendar-day-name-array, french-calendar-special-days-array):
6161         Add doc strings.
6163         * calendar/cal-hebrew.el (displayed-month, displayed-year)
6164         (original-date): Move declarations where needed.
6165         (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
6166         Doc fix.
6167         (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
6168         constant variables outside the loop.  Use dolist.
6170         * calendar/cal-islam.el (displayed-month, displayed-year)
6171         (original-date): Move declarations where needed.
6172         (islamic-calendar-day-number): Remove unused local variable `day'.
6173         (calendar-goto-islamic-date): Doc fix.
6174         (holiday-islamic): Use unless.
6175         (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
6176         constant variables outside the loop.  Use dolist.
6177         (mark-islamic-calendar-date-pattern): Move definition before use.
6178         Use unless.
6179         (mark-islamic-diary-entries): Doc fix.
6180         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6181         (insert-yearly-islamic-diary-entry): Use let rather than let*.
6183         * calendar/cal-julian.el (calendar-absolute-from-julian):
6184         Move definition before use.  Remove un-needed local `day'.
6185         (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6187         * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6188         (calendar-mayan-tzolkin-names-array): Add doc strings.
6189         (calendar-mayan-long-count-from-absolute): Use a single let.
6190         (calendar-string-to-mayan-long-count): Simplify.
6191         (calendar-next-haab-date, calendar-previous-haab-date)
6192         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6193         (calendar-previous-calendar-round-date)
6194         (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6195         Doc fix.
6196         (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6197         (calendar-mayan-date-string, calendar-print-mayan-date)
6198         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6199         (calendar-mayan-long-count-common-era): Move definitions before use.
6201         * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6202         (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6203         Doc fix.
6204         (calendar-mouse-goto-date): Move definition before use.
6206         * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6207         Move definition before use.
6208         (calendar-cursor-to-visible-date): Move definition before use.
6209         (calendar-scroll-left): Use unless and zerop.  Combine lets into one,
6210         and place inside the conditional.
6211         (calendar-forward-day): Simplify.
6212         (calendar-end-of-month): Use unless.
6213         (calendar-goto-day-of-year): Doc fix.
6214         Relocate obsolete aliases after their replacements.
6216         * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6218         * calendar/diary-lib.el (mark-diary-entries): Move some constant
6219         variables outside the diary-date-forms loop.
6221         * calendar/calendar.el (diary-file): Doc fix.
6222         (calendar-buffer-list): Return buffers rather than strings (fixes
6223         previous change).
6224         (hebrew-holidays-4): Fix typo.
6226         * calendar/holidays.el (displayed-month, displayed-year):
6227         Move declarations where needed.
6228         (calendar-holiday-list, calendar-list-holidays)
6229         (holiday-filter-visible-calendar): Move definitions before use.
6230         (list-holidays): Use cadr.
6231         Relocate obsolete aliases after their replacements.
6233         * calendar/lunar.el (date, displayed-month, displayed-year):
6234         Move declarations where needed.
6235         (lunar-phase-list): Move definition after functions it uses.
6236         (calendar-phases-of-moon, diary-phases-of-moon)
6237         (lunar-new-moon-on-or-after): Use cadr, nth.
6238         (lunar-new-moon-on-or-after): Doc fix.
6240         * textmodes/org-irc.el (top-level): CL not required when compiling.
6241         (org-irc-visit-erc): Replace runtime CL functions.
6243         * textmodes/org-publish.el (declare-function): Add compatibility stub.
6244         (org-publish-delete-dups): Declare as function.
6246 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6248         * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6249         (vc-bzr-show-log-entry): Make regexp match more cases.
6250         (vc-diff-switches-list): Remove autoload, not needed.
6252 2008-03-14  Juri Linkov  <juri@jurta.org>
6254         * isearch.el (isearch-edit-string): Remove one call to
6255         `isearch-push-state' not to push an inconsistent state,
6256         but keep another correct call to `isearch-push-state'.
6257         (isearch-ring-adjust): Call `isearch-push-state' only when
6258         `search-ring-update' is non-nil since `isearch-edit-string'
6259         already pushes its state.
6260         (isearch-message): Improve matching the failed part by checking
6261         if the original message starts with the last successful message.
6263         * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6264         (dired-perm-write): Rename from `dired-warn-writable'.
6265         Change parent face from `font-lock-warning-face' to
6266         `font-lock-comment-delimiter-face'.
6267         (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6268         (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6269         (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6270         with `dired-perm-write-face'.
6272 2008-03-13  Tassilo Horn  <tassilo@member.fsf.org>
6274         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6275         Create cache dir only if it doesn't already exist.
6277 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6280         of \ and '.
6282 2008-03-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6284         * net/browse-url.el (browse-url-text-xterm):
6285         Unquote browse-url-text-browser.
6287 2008-03-13  Carsten Dominik  <dominik@science.uva.nl>
6289         * textmodes/org-mouse.el: Version number change.
6291         * textmodes/org-publish.el (org-publish-expand-components):
6292         Remove null projects from the list of components.
6293         (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6294         Remove unused retrieval of the :publishing-directory property.
6295         (org-publish-file): Bugfix: when using a relative directory as the
6296         publishing directory, convert it to a directory filename.
6297         (org-publish-project): New alias.
6298         (org-publish-get-files): Protect against empty p.
6299         (org-publish-file): Send an error when file is not part of any project.
6300         (org-publish-file): Offer to refresh the list of files in known
6301         project when the current file is not part of any project.
6302         (org-publish-before-export-hook)
6303         (org-publish-after-export-hook): New hooks.
6304         (org-publish-org-to): Use new hooks and kill buffers.
6305         (org-publish-file): Remove the code for killing buffers.
6306         (org-publish-initialize-files-alist): Use interactive.
6307         (org-publish-file): If the publishing function creates a new
6308         buffer, kill it after publishing.
6309         (org-publish-timestamp-filename): Protect ":" in file name path
6310         under windows.
6312         * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6313         change that killed the LaTeX buffer.
6315         * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6316         in the decision tree.
6317         (org-select-remember-template): Clean the code.
6318         (org-prepare-dblock): Add the extra :content parameter.
6319         (org-write-agenda): New output type ".ics" files.
6320         (org-write-agenda): Call `org-icalendar-verify-function', both for
6321         time stamps and for TODO entries.
6322         (org-agenda-collect-markers, org-create-marker-find-array)
6323         (org-check-agenda-marker-table): New functions.
6324         (org-agenda-marker-table): New variable.
6325         (org-export-as-html): Revert the change that killed the html
6326         buffer.  Side effects first need to be studied carefully.
6327         (org-get-tags-at): Fix the structure of the condition-case statement.
6328         (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6329         (org-timestamp-change): Fix regulear expressions to swallow the
6330         extra character for repeat-shift control.
6331         (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6332         (org-get-legal-level): Alias to `org-get-valid-level'.
6333         (org-dblock-write:clocktable): Add a :link parameter, linking
6334         headlines to their location in the Org agenda files.
6335         (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6336         throwing an error when getting tags before headlines.
6337         (org-timestamp-change, org-modify-ts-extra)
6338         (org-ts-regexp1): Fix timestamp editing.
6339         (org-agenda-custom-commands-local-options): New constant.
6340         (org-agenda-custom-commands):
6341         Use `org-agenda-custom-commands-local-options' to improve customize
6342         type.  "htmlize": Removed hack to fix face problem with htmlize,
6343         it no longer seem necessary.
6344         (org-follow-link-hook): New hook.
6345         (org-agenda-custom-commands): Add "Component" as a tag for each
6346         item in a command serie.
6347         (org-open-at-point): Run `org-follow-link-hook'.
6348         (org-agenda-schedule): Bugfix: don't display marker type when it
6349         is nil.
6350         (org-store-link): org-irc required.
6351         (org-set-regexps-and-options): Parse the new logging options.
6352         (org-extract-log-state-settings): New function.
6353         (org-todo): Handle the new ways of recording state change stuff.
6354         (org-local-logging): New function.
6355         (org-columns-open-link): Fix bug with opening link in column view.
6356         (org-local-logging): New function
6357         (org-todo): Make sure that LOGGING properties are honoured.
6358         (org-todo-keywords): Improve docstring.
6359         (org-startup-options): Cleanup startup options.
6360         (org-set-regexps-and-options): Process the "!" markers.
6361         (org-todo): Respect the new logging stuff.
6362         (org-log-note-how): New variable.
6363         (org-add-log-maybe): New parameter HOW that defines how logging
6364         should be done and also overrides PURPOSE.  Add a docstring.
6365         (org-add-log-note): Check if we really need to ask for a note.
6366         (org-get-current-options): Digest the new keyword.
6367         (org-agenda-reset-markers): Rename from
6368         `org-agenda-maybe-reset-markers'.  Remove FORCE argument.
6369         (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6370         function, without force argument.
6371         (org-buffer-property-keys): Bind local variables s and p.
6372         (org-make-tags-matcher): Allow "" to match an empty or
6373         non-existent property value.
6374         (org-export-as-html): Join unsorted lists when they directly
6375         follow each other.  Such lists may be created by headlines that
6376         are converted to lists.
6377         (org-nofm-to-completion): New function.
6378         (org-export-as-html): Use :html-extension instead of
6379         org-export-html-extension.
6380         (org-store-link): Support for links from `rmail-summary-mode'.
6381         (org-columns-new, org-complete, org-set-property): Set the
6382         `include-columns' argument in the call to
6383         `org-buffer-property-keys'.
6384         (org-buffer-property-keys): New argument `include-columns', to
6385         include properties expected by any of the COLUMS formats in the
6386         current buffer.
6387         (org-cleaned-string-for-export): Get rid of drawers first, so that
6388         they will be removed also in the text before the first headline.
6389         (org-clock-report): Show the clocktable when found.
6390         (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6391         (org-version): With prefix argument, insert `org-version' at point.
6392         (org-agenda-goto): Recenter the window after finding the target
6393         location, to make sure the correct position will be displayed.
6394         (org-agenda-get-deadlines): Don't scale priority with the warning
6395         period.
6396         (org-insert-heading): Don't break line in the middle of the line.
6397         (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6398         be 0.
6399         (org-update-checkbox-count): Revamp to deal with hierarchical
6400         beckboxes.  This was a patch from Miguel A. Figueroa-Villanueva.
6401         (org-remove-timestamp-with-keyword): New function.
6402         (org-schedule, org-deadline):
6403         Use `org-remove-timestamp-with-keyword' to make sure all such time
6404         stamps are removed.
6405         (org-mode): Support for `align'.
6406         (org-agenda-get-deadlines): Make sure priorities increase as the
6407         due date approaches and is passed.
6408         (org-remember-apply-template): Fix problem with tags that
6409         contain "_" or "@".
6410         (org-make-link-regexps): Improve the regular expression for plain links.
6411         (org-agenda-get-closed): List each clocking entry.
6412         (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6413         (org-special-ctrl-k): New option.
6414         (org-kill-line): New function.
6415         (org-archive-all-done): Fix incorrect number of stars in regexp.
6416         (org-refile-get-location): New function.
6417         (org-refile-goto-last-stored): New function.
6418         (org-global-tags-completion-table): Add the value of org-tag-alist
6419         in each buffer, to make sure that also unused tags will be
6420         available for completion.
6421         (org-columns-edit-value)
6422         (org-columns-next-allowed-value): Only update if not in agenda.
6423         (org-clocktable-steps): New function.
6424         (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6425         (org-archive-subtree): Add the outline tree context as a property.
6426         (org-closest-date): New optional argument `prefer'.
6427         (org-goto-auto-isearch): New option.
6428         (org-goto-map, org-get-location): Implement auto-isearch.
6429         (org-goto-local-auto-isearch-map): New variable.
6430         (org-goto-local-search-forward-headings)
6431         (org-goto-local-auto-isearch): New functions.
6433 2008-03-13  Philip Jackson  <emacs@shellarchive.co.uk>
6435         * textmodes/org-irc.el: New file.
6437 2008-03-13  John Wiegley  <johnw@gnu.org>
6439         * textmodes/org-mac-message.el: New file.
6441 2008-03-13  Dan Nicolaescu  <dann@ics.uci.edu>
6443         * font-lock.el (font-lock-comment-face): Set the foreground for
6444         the light background 8 colors case.
6446 2008-03-13  Glenn Morris  <rgm@gnu.org>
6448         * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6449         generate-autoload-cookie patterns.
6451         * startup.el (command-line-1): Rename -scriptload to -internal-script.
6453         * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6454         (MH_E_SRC): Remove variable.
6455         ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6456         Simplify file header.  Use $@ for generated-autoload-file.
6458         * Makefile.in (LOADDEFS): New variable.
6459         (AUTOGENEL): Use $LOADDEFS.
6460         (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6461         ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6462         ($(lisp)/calendar/hol-loaddefs.el): New targets.
6463         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6464         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6465         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6466         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6467         * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6468         * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6469         Add calendar-specific autoload cookies, and remove any setting of
6470         generated-autoload-file.
6471         * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6472         * calendar/diary-lib.el: Replace explicit autoloads with reading of
6473         diary-loaddefs.
6474         * calendar/holidays.el: Replace explicit autoloads with reading of
6475         hol-loaddefs.
6477         * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6478         (calendar-buffer-list): Simplify.
6479         (generate-calendar-window): Use calendar-mark-holidays rather than
6480         obsolete alias.
6482         * calendar/cal-hebrew.el (list-yahrzeit-dates):
6483         Use cal-hebrew-yahrzeit-buffer.
6485         * calendar/cal-x.el (calendar-only-one-frame-setup)
6486         (calendar-two-frame-setup): Doc fixes.
6487         (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6489         * calendar/appt.el (appt-mode-string): Mark as risky.
6490         (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6492         * calendar/cal-html.el (diary-list-entries):
6493         * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6494         (calendar-iso-from-absolute): Fix autoloads.
6496         * calendar/cal-iso.el (calendar-absolute-from-iso)
6497         (calendar-iso-read-args): Simplify.
6498         (calendar-iso-date-string, calendar-iso-read-args)
6499         (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6501         * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6502         (displayed-month, displayed-year): Move declarations where needed.
6503         (calendar-print-astro-day-number): Doc fix.
6505         * calendar/cal-persia.el (persian-calendar-month-name-array)
6506         (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6507         (persian-prompt-for-date): Remove local variable `today'.
6509         * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6511         * calendar/solar.el (solar-moment, solar-exact-local-noon)
6512         (solar-sunrise-sunset, solar-sunrise-sunset-string)
6513         (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6514         (diary-sabbath-candles, solar-equinoxes/solstices)
6515         (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6516         (solar-time-equation, solar-date-to-et): Simplify.
6518         * mail/supercite.el: Remove the `function' in `(function (lambda'.
6519         Replace `(car (cdr' with cadr'.
6521         * progmodes/f90.el (f90-font-lock-n): New function.
6522         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6523         Use f90-font-lock-n.
6524         (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6526         * progmodes/f90.el (f90-mode-abbrev-table):
6527         * progmodes/fortran.el (fortran-mode-abbrev-table):
6528         Use newer form of define-abbrev, where supported.  No need to bind
6529         abbrevs-changed for system abbrevs.
6531 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6533         * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6534         delete-frame-functions.
6536         * bookmark.el (Info-current-node): Remove.
6538 2008-03-12  Juri Linkov  <juri@jurta.org>
6540         * help.el (describe-project): Remove defaliases for view-todo and
6541         describe-project that are now unnecessary after the merge from
6542         emacs--rel--22 that added define-obsolete-function-alias.
6544         * startup.el (inhibit-startup-screen): Revert incomplete
6545         2008-03-10 merge from emacs--rel--22 that partly reverted
6546         2008-02-28 change that added initial message to *scratch* buffer
6547         regardless of the value of `inhibit-startup-screen'.
6548         Now keep this change in the trunk, but not in the 22 branch.
6550 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6552         * international/quail.el (quail-setup-completion-buf, quail-help):
6553         * mail/binhex.el (binhex-decode-region-internal):
6554         * mail/uudecode.el (uudecode-decode-region-internal):
6555         * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6556         * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6557         setting default-enable-multibyte-characters.
6559         * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6561         * comint.el: Fix up indentation and comment style.  Remove `function'.
6563         * international/mule-cmds.el (reset-language-environment)
6564         (set-language-environment-nonascii-translation):
6565         Don't set-unibyte-charset.
6567         * doc-view.el: Remove all cb-args, use closures instead.
6568         (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6569         doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6570         doing an incorrect check).  Update all callers to use the new name.
6571         (doc-view-doc->txt): Add missing `txt' argument.
6573 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6575         * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6576         md5 sum calculation to single-byte.
6578 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6580         * doc-view.el (doc-view-new-window-function): Add assertion.
6581         (doc-view-doc-type): New var.
6582         (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6583         (doc-view-intersection): New fun.
6584         (doc-view-mode): Use it to set the new var.
6586 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6588         * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6589         (doc-view-already-converted-p): New functions.
6590         (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6591         (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6592         (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6593         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6594         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6595         (doc-view-convert-current-doc): Don't hardwire the functions the
6596         sentinels call.  Now they're provided by two args CALLBACK and
6597         CB-ARGS to the functions.
6598         (doc-view-search): Use doc-view-doc->txt.
6599         (doc-view-initiate-display): Use doc-view-already-converted-p.
6600         Mention new binding C-c C-t if doc-view-mode doesn't work.
6602 2008-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6604         * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6606 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6608         * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6609         Mark " outside of tags as punctuation.
6611 2008-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * menu-bar.el (minibuffer-local-map): Use the same command for the
6614         "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6615         Prefer RET over C-j for exit-minibuffer.
6617         * files.el (display-buffer-other-frame): Eliminate problematic code.
6619         * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6620         (menu-bar-select-buffer): Remove.
6621         (menu-bar-select-frame): Make non-interactive and take a frame arg.
6622         (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6624 2008-03-11  Juanma Barranquero  <lekktu@gmail.com>
6626         * icomplete.el (icomplete-completions): Remove obsolete code.
6628         * net/net-utils.el (iwconfig-program-options): Doc fix.
6629         (net-utils-run-program, run-network-program): Define as functions.
6631 2008-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
6633         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6635 2008-03-11  Glenn Morris  <rgm@gnu.org>
6637         * faces.el (mode-line-emphasis): New face.
6638         * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6640         * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6642 2008-03-11  Chong Yidong  <cyd@stupidchicken.com>
6644         * simple.el (set-mark-command): Doc fix.
6646 2008-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6648         * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6650         * emacs-lisp/autoload.el (autoload-find-destination):
6651         Don't force raw-text.
6653         * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6654         * calendar/cal-loaddefs.el: Don't version control.
6656 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6658         * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6659         entries and add :help to the existing ones.
6661 2008-03-10  Glenn Morris  <rgm@gnu.org>
6663         * calendar/cal-hebrew.el (date, entry, number): Move declarations
6664         to where they are needed.
6666         * calendar/calendar.el (diary-file, hebrew-holidays-1)
6667         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6668         (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6669         (calendar-version): Doc fixes.
6670         (calendar-absolute-from-gregorian): Use zerop.
6671         (calendar-mode-line-format): Make it a defcustom.
6673         * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6674         (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6675         (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6676         (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6677         (mark-included-diary-files, mark-calendar-days-named)
6678         (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6679         (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6680         (insert-monthly-diary-entry, insert-yearly-diary-entry)
6681         (insert-anniversary-diary-entry, insert-block-diary-entry)
6682         (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6683         (diary-font-lock-sexps): Doc fixes.
6684         (diary-remind-message, mark-calendar-month): Use zerop.
6685         (diary-attrtype-convert, diary-pull-attrs): Simplify.
6686         (diary-list-entries): Revert let to let* (previous change).
6688         * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6690 2008-03-10  Kim F. Storm  <storm@cua.dk>
6692         * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6693         function aliases for the old names.
6695 2008-03-10  Juanma Barranquero  <lekktu@gmail.com>
6697         * iswitchb.el (iswitchb-use-faces): Doc fix.
6698         (iswitchb-buffer-ignore, iswitchb-read-buffer):
6699         Fix typos in docstrings.
6701 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6703         * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6704         Fix typo.
6705         (verilog-type-font-keywords): Reindent.
6707 2008-03-10  Michael McNamara  <mac@mail.brushroad.com>
6709         * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6710         grouping-keyword regular expression.
6711         (verilog-font-lock-keywords): Allow users to toggle special
6712         highlight of grouping-keywords.
6713         (verilog-highlight-grouping-keywords): The toggle for special
6714         highlighting of grouping keywords.
6716 2008-03-10  Juri Linkov  <juri@jurta.org>
6718         * startup.el: Revert 2008-02-28 change that adds initial message
6719         to *scratch* buffer regardless of the value of
6720         `inhibit-startup-screen'.
6722 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6724         * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6725         * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6726         * progmodes/verilog-mode.el (verilog-mode):
6727         * net/socks.el (socks):
6728         * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6730 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6732         * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6733         (doc-view-bookmark-make-record): Use them.
6734         (doc-view-bookmark-jump): Use them.  Fix find-file ->find-file-noselect.
6735         (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6737         * bookmark.el (bookmark-make-record-function): Change expected return
6738         value to include a suggested bookmark name.
6739         (bookmark-make): Split into bookmark-make-record and bookmark-store.
6740         Fix reversed `overwrite' semantics.
6741         (bookmark-set): Call bookmark-make-record before prompting the user.
6742         Then pass the result to bookmark-store later on.
6743         (bookmark-make-name-function): Remove.
6744         (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6745         * info.el (bookmark-make-name-function): Remove.
6746         (Info-mode): Don't set it.
6747         (Info-bookmark-make-name): Remove.
6748         (Info-bookmark-make-record): Use Info-current-node as suggested default
6749         bookmark name.
6751         * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6752         I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6753         (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6754         (bookmark-annotation-buffer, bookmark-annotation-file)
6755         (bookmark-annotation-point, bookmark-send-annotation)
6756         (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6757         (bookmark-edit-annotation-text-func): Rename from
6758         bookmark-read-annotation-text-func.  Keep old name as an obsolete alias.
6759         (bookmark-edit-annotation-mode-map): Move initialization into
6760         declaration.
6762         * bookmark.el: Remove spurious * in docstrings.
6763         (bookmark-minibuffer-read-name-map): New var.
6764         (bookmark-set): Use it.  Also pass the default value as it should.
6765         (bookmark-send-edited-annotation): Take no chances with text properties.
6766         (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6767         (bookmark-insert-buffer-name): Remove.
6768         (bookmark-buffer-file-name): Signal an error rather than returning nil.
6770 2008-03-09  Thomas Hühn  <xf27@arcor.de>  (tiny change)
6772         * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6774 2008-03-09  Dan Nicolaescu  <dann@ics.uci.edu>
6776         * diff-mode.el (diff-mode-menu): Add :help.
6778 2008-03-09  Glenn Morris  <rgm@gnu.org>
6780         * calendar/calendar.el (general-holidays, oriental-holidays)
6781         (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6782         (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6783         (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6784         (calendar-holidays): Restore autoload cookies, because people are
6785         used to using these variables without loading calendar.el.
6787         * calendar/cal-islam.el (diary-islamic-date): Move to end.
6788         (date, number): Declare where needed.
6790         * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6791         (list-sexp-diary-entries): Doc fixes.
6792         (diary-list-entries): Doc fix.  Remove free variable `entry'.
6793         (fancy-diary-display): Use dolist, bobp.  Remove free variable `entry'.
6794         Simplify setting of `date-holiday-list'.
6795         (mark-diary-entries): Remove free variable `entry'.
6796         (diary-list-entries, include-other-diary-files, fancy-diary-display):
6797         Use let where let* is not needed.
6799 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6801         * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6802         make-record function, instead paste it in afterwards.
6803         (bookmark-make-record-for-text-file):
6804         * doc-view.el (doc-view-bookmark-make-record):
6805         * info.el (Info-bookmark-make-record): Don't mess with annotations.
6807 2008-03-08  Glenn Morris  <rgm@gnu.org>
6809         * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6811 2008-03-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6813         * calendar/diary-lib.el (diary-list-entries)
6814         (include-other-diary-files, mark-diary-entries)
6815         (mark-sexp-diary-entries, mark-included-diary-files)
6816         (diary-entry-time, list-sexp-diary-entries): Remove the special
6817         handling of ^M that dates back to the use of selective-display.
6818         (simple-diary-display): Obey setting of pop-up-frames.
6819         (body, entry): Remove unnecessary declarations.
6821         * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6822         (bookmark-get-annotation, bookmark-set-annotation)
6823         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6824         (bookmark-set-position, bookmark-get-front-context-string)
6825         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6826         (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6827         * info.el (Info-bookmark-make-record): Don't bother recording point.
6828         (bookmark-get-filename, bookmark-get-front-context-string)
6829         (bookmark-get-rear-context-string, bookmark-get-position):
6830         Don't declare any more.
6831         (bookmark-get-info-node): Remove.
6832         (bookmark-prop-get): Declare.
6833         (Info-bookmark-jump): Use it.
6835 2008-03-08  Johan BockgÃ¥rd  <bojohan@gnu.org>
6837         * subr.el (while-no-input): Don't splice BODY directly into the
6838         `or' form.
6840 2008-03-08  Dan Nicolaescu  <dann@ics.uci.edu>
6842         * diff-mode.el (diff-ignore-whitespace-hunk):
6843         Bind inhibit-read-only before trying to change the buffer.
6845 2008-03-08  Glenn Morris  <rgm@gnu.org>
6847         * calendar/appt.el (appt): Move custom group here from calendar.el.
6848         (appt-disp-window, appt-convert-time): Doc fixes.
6850         * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
6851         (calendar-bahai-mark-date-pattern):
6852         * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
6853         * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
6854         * calendar/cal-julian.el (calendar-absolute-from-julian):
6855         * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
6857         * calendar/cal-china.el (chinese-calendar): Move custom group here from
6858         calendar.el.
6859         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6860         Make constants.
6861         (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
6862         (chinese-calendar-daylight-savings-starts)
6863         (chinese-calendar-daylight-savings-ends)
6864         (chinese-calendar-daylight-savings-starts-time)
6865         (chinese-calendar-daylight-savings-ends-time)
6866         (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
6867         Doc fixes.
6869         * calendar/cal-coptic.el (coptic-name): Add doc string.
6871         * calendar/cal-french.el (french-calendar-month-name-array)
6872         (french-calendar-day-name-array, french-calendar-special-days-array):
6873         Add doc strings.
6875         * calendar/cal-bahai.el (diary-bahai-mark-entries)
6876         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6877         (diary-bahai-insert-yearly-entry):
6878         * calendar/cal-dst.el (calendar-next-time-zone-transition)
6879         (calendar-time-zone):
6880         * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
6881         (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
6882         (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
6883         (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
6884         (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
6885         * calendar/cal-islam.el (islamic-calendar-leap-year-p)
6886         (list-islamic-diary-entries, mark-islamic-diary-entries)
6887         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6888         (insert-yearly-islamic-diary-entry):
6889         * calendar/cal-iso.el (calendar-iso-read-args):
6890         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6891         (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
6892         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6893         (calendar-next-calendar-round-date)
6894         (calendar-mayan-long-count-common-era):
6895         * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
6896         (cal-menu-x-popup-menu, calendar-mouse-holidays)
6897         (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
6898         (calendar-mouse-goto-date):
6899         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
6900         * calendar/holidays.el (holidays):
6901         * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
6902         * calendar/time-date.el (date-to-time, time-subtract, time-add)
6903         (safe-date-to-time): Doc fixes.
6905         * calendar/cal-persia.el (persian-calendar-month-name-array)
6906         (persian-calendar-epoch): Make constants.
6908         * calendar/cal-tex.el (calendar-tex): Move custom group here from
6909         calendar.el.
6911         * calendar/cal-x.el (diary-frame-parameters)
6912         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6913         (calendar-after-frame-setup-hooks): Make defcustoms.
6914         (calendar-one-frame-setup, calendar-only-one-frame-setup)
6915         (calendar-two-frame-setup): Doc fix.
6917         * calendar/cal-loaddefs.el: New file.
6919         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6920         * calendar/cal-french.el, calendar/cal-html.el:
6921         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6922         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6923         * calendar/cal-tex.el, calendar/cal-x.el:
6924         Unquote lambda functions.  Add autoload cookies to functions formerly
6925         autoloaded in calendar.el.  Set `generated-autoload-file' to
6926         "cal-loaddefs.el".
6928         * calendar/calendar.el: Move many autoloads to separate file,
6929         cal-loaddefs.el.  Move defcustoms to start and re-order.
6930         (calendar-month-name-array, calendar-starred-day): No need to
6931         declare for compiler.
6932         (cal-loaddefs): Require it.
6933         (appt, chinese-calendar, calendar-tex): Move custom groups to the
6934         appropriate file.
6935         (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
6936         Reverse logic.
6937         (diary-face, diary-file-name-prefix-function, diary-include-string)
6938         (diary-glob-file-regexp-prefix, diary-face-attrs)
6939         (diary-file-name-prefix, sexp-diary-entry-symbol)
6940         (print-diary-entries-hook, list-diary-entries-hook)
6941         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6942         (nongregorian-diary-marking-hook, diary-list-include-blanks):
6943         Move to diary-lib.
6944         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6945         (all-bahai-calendar-holidays): Doc fix.
6946         (calendar-insert-indented): Doc fix.  Use when rather than if.
6947         (exit-calendar): Use mapc rather than mapcar.
6948         (calendar-cursor-to-date): Use zerop.
6949         (calendar-mark-ring): Add doc-string.
6950         (calendar-starred-day): Defvar it.
6951         (calendar-mode): Make calendar-starred-day local.
6952         (calendar-star-date): No need to make calendar-starred-day local.
6954         * calendar/diary-lib.el: Move defcustoms to start.
6955         (diary-include-string, diary-list-include-blanks)
6956         (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
6957         (diary-file-name-prefix, diary-file-name-prefix-function)
6958         (sexp-diary-entry-symbol, list-diary-entries-hook)
6959         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6960         (nongregorian-diary-marking-hook, print-diary-entries-hook):
6961         Move here from calendar.el.
6962         (diary-file-name-prefix-function): Use 'identity.
6963         (diary-face): Make it a defcustom, and mark as obsolete.
6964         (top-level): No need to require cal-hebrew, cal-islam when compiling.
6965         (calendar-hebrew-month-name-array-leap-year)
6966         (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
6967         Define for compiler.
6968         (diary-font-lock-keywords): Use format rather than concat.
6969         Add bahai-diary-entry-symbol.
6971         * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
6972         * calendar/solar.el: Unquote lambda functions.
6974         * calendar/solar.el (calendar-location-name, calendar-latitude)
6975         (calendar-longitude, solar-setup, solar-sin-degrees)
6976         (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
6977         (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
6978         (solar-sunrise-and-sunset, solar-moment, solar-daylight)
6979         (solar-exact-local-noon, solar-julian-ut-centuries)
6980         (solar-ephemeris-time, solar-date-next-longitude)
6981         (solar-horizontal-coordinates, solar-equatorial-coordinates)
6982         (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
6983         (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
6984         (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
6985         Doc fixes.
6986         (solar-horizontal-coordinates, solar-equatorial-coordinates)
6987         (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
6988         (solar-ecliptic-coordinates): Use unless.
6989         (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
6990         Use or.
6992         * calendar/timeclock.el: Add doc-strings to all functions.
6993         (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
6994         (timeclock-entry-list-length, timeclock-entry-list-projects)
6995         (timeclock-day-list-projects, timeclock-day-list): Use dolist.
6997         * calendar/todo-mode.el: Remove un-needed eval-when-compile.
6999         * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
7000         (org-get-entries-from-diary): Require diary-lib.
7002 2008-03-08  Juanma Barranquero  <lekktu@gmail.com>
7004         * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
7005         Pacify byte-compiler.
7007 2008-03-07  Alan Mackenzie  <acm@muc.de>
7009         * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
7010         paren/bracket pairs parsed, to solve performance problem.
7012 2008-03-07  Bastien Guerry  <bzg@altern.org>
7014         * bookmark.el (bookmark-set): Don't check for
7015         `bookmark-make-name-function' since `bookmark-buffer-file-name'
7016         already takes care of this.
7017         (bookmark-buffer-name, bookmark-buffer-file-name):
7018         Remove Info-mode specific code.
7020         * info.el (bookmark-get-info-node): Define this function in
7021         info.el, not in bookmark.el.
7022         (Info-mode): Set `bookmark-make-name-function' to
7023         `Info-bookmark-make-name' locally.
7024         (Info-bookmark-make-name): New function.
7026         * bookmark.el (bookmark-make-name-function): New variable.
7028 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
7030         * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
7031         buffer-local, not `bookmark-make-cell-function' (the old name).
7033 2008-03-07  Tassilo Horn  <tassilo@member.fsf.org>
7035         * doc-view.el (doc-view-bookmark-make-record):
7036         * image-mode.el (image-bookmark-make-record):
7037         * info.el (Info-bookmark-make-record): Delete obsolete second arg.
7039 2008-03-07  Jan Djärv  <jan.h.d@swipnet.se>
7041         * vc.el (vc-status-menu-map-filter): Return orig-binding if
7042         boundp 'vc-ignore-menu-filter.
7043         (vc-status-tool-bar-map): Make it defvar.
7044         (vc-status-mode): vc-status-tool-bar-map now variable.
7045         (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
7047 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
7049         Give a better name to part of the bookmark interface.
7051         This was originally a much larger change, but halfway through I
7052         updated and discovered that Stefan Monnier had done the rest.
7053         It looks like he anticipated the new name too, because he used
7054         `the-record' instead of `the-cell' for some internal variable names.
7056         * bookmark.el (bookmark-make-record-function): Was
7057         `bookmark-make-cell-function'.
7058         (bookmark-make, bookmark-send-annotation): Update for above.
7059         (bookmark-make-record-for-text-file):
7060         Was `bookmark-make-cell-for-text-file'.  Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
7062         * info.el: Adjust accordingly.
7063         (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
7065         * image-mode.el: Adjust accordingly.
7066         (image-bookmark-make-record): Was `image-bookmark-make-cell'.
7068         * doc-view.el: Adjust accordingly.
7069         (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
7071 2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7073         * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
7074         Move initialization into declaration.
7075         (bookmark-get-info-node, bookmark-set-info-node): Remove.
7076         (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
7077         (bookmark-info-current-node): Remove.
7078         (bookmark-jump-noselect): Rename from bookmark-jump-internal.
7079         Add relocation fallback.  Set bookmark-current-bookmark.
7080         (bookmark-default-handler): Rename from bookmark-jump-noselect.
7081         Remove relocation fallback.  Don't set bookmark-current-bookmark.
7082         (bookmark-set): Let it be used even if there's no buffer-file-name
7083         as long as there is a bookmark-make-cell-function.
7084         * info.el (Info-bookmark-jump): Remove relocation fallback.
7085         Don't set bookmark-current-bookmark.
7087 2008-03-07  Glenn Morris  <rgm@gnu.org>
7089         * calendar/appt.el (appt-issue-message)
7090         (appt-message-warning-time, appt-audible, appt-visible)
7091         (appt-msg-window, appt-display-mode-line, appt-display-duration)
7092         (appt-display-diary): Remove autoload cookies.
7094         * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
7095         Remove leading `*' from defcustom doc-strings.
7097         * calendar/cal-dst.el (calendar-dst): New custom group.
7098         (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
7099         (calendar-time-zone, calendar-daylight-time-offset)
7100         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7101         (calendar-daylight-savings-starts-time)
7102         (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
7103         (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
7104         Move to start.
7106         * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
7108         * calendar/calendar.el (calendar-version): Use emacs-version and
7109         make it obsolete.  Move to end.
7110         (calendar-offset, view-diary-entries-initially)
7111         (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
7112         (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
7113         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
7114         (all-bahai-calendar-holidays, calendar-load-hook)
7115         (initial-calendar-window-hook, today-visible-calendar-hook)
7116         (today-invisible-calendar-hook, calendar-move-hook)
7117         (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
7118         (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
7119         (diary-include-string, sexp-diary-entry-symbol)
7120         (abbreviated-calendar-year, american-date-diary-pattern)
7121         (european-date-diary-pattern, european-calendar-display-form)
7122         (american-calendar-display-form, print-diary-entries-hook)
7123         (list-diary-entries-hook, diary-hook, diary-display-hook)
7124         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
7125         (nongregorian-diary-marking-hook, diary-list-include-blanks)
7126         (holidays-in-diary-buffer, general-holidays, oriental-holidays)
7127         (local-holidays, other-holidays, hebrew-holidays-1)
7128         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
7129         (hebrew-holidays, christian-holidays, islamic-holidays)
7130         (bahai-holidays, solar-holidays, calendar-setup)
7131         (calendar-week-start-day): Remove autoload cookies.
7132         (diary-glob-file-regexp-prefix): Doc fix.
7133         (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
7134         (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
7135         (calendar-week-start-day, calendar-debug-sexp): Move to start.
7137         * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
7138         (calendar-time-display-form, calendar-latitude)
7139         (calendar-longitude, solar-equinoxes-solstices): Remove autoload
7140         cookies.
7141         (calendar-latitude, calendar-longitude): Move functions after
7142         variables.
7143         (diary-sabbath-candles-minutes): Move to start.
7144         (solar-setup): Use or rather than if.
7145         (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
7146         Remove condition-case.
7147         (solar-atn2): Use zerop.
7148         (solar-equinoxes-solstices): Doc fix.
7150         * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
7151         (sc-mode-map-prefix): Doc fix.  Make it a defcustom.
7153         * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
7154         (calendar-longitude, calendar-latitude, calendar-location-name):
7155         Declare for compiler.
7157 2008-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7159         * arc-mode.el (archive-ar-file-header-re): New const.
7160         (archive-ar-summarize, archive-ar-extract): New funs.
7161         (archive-find-type): Recognize ar archives.
7163         * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
7164         New functions.
7166         * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
7168 2008-03-06  Lennart Borgman  <lennart.borgman@gmail.com>
7170         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7171         Replace :enable (mark-active) with :enable mark-active.
7173 2008-03-06  Juanma Barranquero  <lekktu@gmail.com>
7175         * vms-patch.el (make-legal-file-name): New obsolete alias.
7176         (make-valid-file-name): Rename from `make-legal-file-name'.
7177         (make-auto-save-file-name): Use it.
7179         * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
7180         (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
7181         (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7183         * textmodes/org.el (org-export-html-style): Doc fix.
7184         (org-get-legal-level): New obsolete alias.
7185         (org-get-valid-level): Rename from `org-get-legal-level'.
7186         (org-promote, org-demote, org-archive-subtree)
7187         (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7189 2008-03-06  Jan Djärv  <jan.h.d@swipnet.se>
7191         * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7193         * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7194         (vc-status-toggle-mark): New functions.
7195         (vc-status-mode): Set tool bar map.
7197 2008-03-05  Chong Yidong  <cyd@stupidchicken.com>
7199         * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7200         Reported by Drew Adams <drew.adams@oracle.com>.
7202 2008-03-05  Kenichi Handa  <handa@ni.aist.go.jp>
7204         * subr.el (read-quoted-char): Resolve modifers of the character
7205         event.
7207         * comint.el (comint-exec-1): Don't change the coding-system for
7208         decoding to dos-like EOL.
7209         (comint-carriage-motion): Fully rewrite.
7211 2008-03-05  Juanma Barranquero  <lekktu@gmail.com>
7213         * epg.el (epg-context-include-certs): Reflow docstring.
7214         (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7215         (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7216         (epg-context-set-signers, epg-context-set-sig-notations)
7217         (epg-make-import-status, epg-make-import-result)
7218         (epg-start-delete-keys): Fix typos in docstrings.
7219         (epg-start-sign-keys, epg-sign-keys):
7220         Fix typos in obsolescence declarations.
7222         * iswitchb.el: Don't check for `cadr' and `last'.
7223         (iswitchb-define-mode-map, iswitchb-default-keybindings):
7224         Add obsolescence declaration and remove redundant info from docstring.
7225         (iswitchb-set-common-completion, iswitchb-set-matches)
7226         (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7227         (recentf-list, most-len, most-is-exact):
7228         Don't wrap defvars within `eval-when-compile'.
7230 2008-03-05  Glenn Morris  <rgm@gnu.org>
7232         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7233         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7234         * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7235         * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7236         ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7238         * ediff-hook.el (ediff-window-setup-function): Don't autoload
7239         declaration for compiler.
7240         (ediff-xemacs-init-menus): Use when rather than if.
7242         * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7243         if+and to just and.
7244         (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7245         (ediff-delete-overlay): Move the XEmacs test inside the definition.
7247         * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7249         * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7250         test inside XEmacs test.
7251         (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7252         since it was doing nothing on Emacs.
7253         (ediff-make-bullet-proof-overlay): Use when rather than if.
7255         * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7256         (ediff-setup-control-frame): Remove
7257         ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7258         a (featurep 'xemacs) test.
7260 2008-03-05  Jay Belanger  <jay.p.belanger@gmail.com>
7262         * calc/calc-ext.el (calc-extended-command-history): New variable.
7263         (calc-exectute-extended-command): Use `calc-extended-command-history'.
7265 2008-03-05  Dan Nicolaescu  <dann@ics.uci.edu>
7267         * bindings.el (mode-line-remote): Add mouse-face.  Improve tooltip.
7268         (standard-mode-line-position): Add mouse-face.
7270         * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7271         * progmodes/grep.el (grep-mode-map): Add :help.
7273         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7274         initialize in one step.  Add :help.  Use :enable to activate menu
7275         items.  Show the key binding for edebug-defun.
7276         (lisp-interaction-mode-map): Add a menu.
7278         * term.el (term-mode-map): Define and initialize in one step.
7280         * ediff-init.el (ediff-color-display-p): Simplify.
7281         (Xor): Remove unused function.
7282         (ediff-with-syntax-table): Simplify for Emacs.
7284         * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7285         menu-bar being loaded, it always is.
7287 2008-03-05  Glenn Morris  <rgm@gnu.org>
7289         * textmodes/tex-mode.el (tex-mode): Suppress warning about
7290         multiple definitions when compiling.
7292 2008-03-04  Alan Mackenzie  <acm@muc.de>
7294         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7296         * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7297         doc-string, "c-old-LEN" -> "c-old-END".
7299 2008-03-04  Jason Rumney  <jasonr@gnu.org>
7301         * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7302         namespaces.
7304 2008-03-04  Glenn Morris  <rgm@gnu.org>
7306         * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7308         * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7309         than mapcar.
7311 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7313         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7314         (byte-compile-nilconstp): Can't use recursion in a defsubst.
7316         * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7317         so that M-q can fill comments.
7318         (tex-executable-exists-p, tex-compile): Extend with special syntax for
7319         commands implemented in elisp.
7320         (tex-compile-commands): Add an entry to use doc-view for pdf files.
7321         (tex-format-cmd): New function.
7322         (tex-compile): Use it to let the user specify default arguments.
7323         (tex-cmd-bibtex-args): New var.
7324         (tex-cmd-doc-view): New function.
7326 2008-03-03  Juanma Barranquero  <lekktu@gmail.com>
7328         * faces.el (face-spec-set): Fix typos in docstring.
7330 2008-03-03  Dan Nicolaescu  <dann@ics.uci.edu>
7332         * bindings.el (mode-line-column-line-number-mode-map): New variable.
7333         (standard-mode-line-position): Use it to add a menu for toggling
7334         column number and line number display.
7336 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7338         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7339         Remove optimization that was working around the form-code-walker bug.
7341         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7342         Walk into the body of lambdas after byte-compile-unfold-lambda.
7344 2008-03-03  Glenn Morris  <rgm@gnu.org>
7346         * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7347         value, if set, over frame value.
7349         * simple.el (transient-mark-mode): Don't turn on by default.
7351         * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7352         accidentally removed by the 2007-12-05 merge from Gnus.
7354 2008-03-02  Dan Nicolaescu  <dann@ics.uci.edu>
7356         * progmodes/compile.el (compilation-menu-map): Add menu entries
7357         for useful options.
7359 2008-03-01  Dan Nicolaescu  <dann@ics.uci.edu>
7360             Glenn Morris  <rgm@gnu.org>
7362         * emacs-lisp/bytecomp.el (byte-recompile-directory)
7363         (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7364         Give a `bytecomp-' prefix to local variables with common names.
7366 2008-03-01  Glenn Morris  <rgm@gnu.org>
7368         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7369         code commented out 2007-11-10.
7371         * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7373         * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7374         Delete macro.
7375         * emulation/viper-cmd.el, emulation/viper-ex.el:
7376         * emulation/viper-init.el, emulation/viper-keym.el:
7377         * emulation/viper-mous.el, emulation/viper-util.el:
7378         * emulation/viper.el:
7379         Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7380         featurep test.
7382         Replace obselete frame-local variables with frame-parameters.
7383         * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7384         (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7385         (viper-vi-state-cursor-color): Only call make-variable-frame-local
7386         on XEmacs.
7387         * emulation/viper-util.el (viper-frame-value): New macro.
7388         * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7389         (viper-R-state-post-command-sentinel)
7390         (viper-replace-state-post-command-sentinel)
7391         (viper-change-state-to-insert, viper-change-state-to-emacs):
7392         * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7393         (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7394         (viper-get-saved-cursor-color-in-insert-mode)
7395         (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7396         Use viper-frame-value for viper-replace-overlay-cursor-color,
7397         viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7398         viper-vi-state-cursor-color values.
7400         * emulation/viper-cmd.el (zmacs-region-stays):
7401         * emulation/viper-util.el (zmacs-region-stays): No need to define
7402         for compiler.
7404         * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7405         mapcar on Emacs.
7407         * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7408         on XEmacs.
7410         * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7411         rather than if.
7413 2008-03-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7415         * whitespace.el: New version 9.3.  As the glyph code generation was
7416         fixed, it is possible now to use character code above ?\x1FFFF in the
7417         display table.  Fix `whitespace-indentation-regexp' to not include an
7418         extra ending character.  Reported by Michael Welsh Duggan
7419         <mwd@cert.org>.  Added hook actions when buffer is written or killed as
7420         the original whitespace package had.  Suggested by Eric Cooper
7421         <ecc@cmu.edu>.  Doc fix.
7422         (whitespace-action): New option.
7423         (whitespace-display-mappings): Changed default newline visualization to
7424         display downwards arrow, as the glyph code generation was fixed.
7425         (whitespace-unload-function): Assure that all local whitespace mode is
7426         turned off.
7427         (whitespace-global-modes): Fix type customization.
7428         (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7429         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7430         (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7431         Fix code.
7432         (whitespace-buffer): Command removed.
7433         (whitespace-trailing-regexp, whitespace-mark-x)
7434         (whitespace-display-window, whitespace-action-when-on)
7435         (whitespace-add-local-hook, whitespace-remove-local-hook)
7436         (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7437         (whitespace-action): New funs.
7438         (whitespace-report-list, whitespace-report-text)
7439         (whitespace-report-buffer-name): New consts.
7440         (whitespace-report, whitespace-report-region): New commands.
7442 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7444         * disp-table.el (make-glyph-code): Don't test the result of
7445         `face-id', which already signals an error for invalid faces.
7446         (glyph-face): Simplify.
7448         * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7449         running `desktop-not-loaded-hook' to allow modifying it.
7450         Don't show warning message if `desktop-dirname' was modified.
7452 2008-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7454         * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7455         we still expect more lines.
7457         * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7458         comment-paragraph filling if the commark doesn't match
7459         comment-start-skip.
7461 2008-03-01  Daiki Ueno  <ueno@unixuser.org>
7463         * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7464         the `imap' variant.
7466 2008-03-01  Jason Rumney  <jasonr@gnu.org>
7468         * files.el (make-auto-save-file-name): Encode more characters in
7469         non-file buffer names.  Use url-encoding.
7471 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7473         * net/net-utils.el (ftp-program): Fix typo in docstring.
7474         (ifconfig-program-options, netstat-program-options)
7475         (arp-program-options, route-program-options, nslookup-program-options)
7476         (ftp-program-options, smbclient-program-options)
7477         (dns-lookup-program-options, arp, route): Doc fixes.
7479         * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7480         (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7481         (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7482         Fix typos in docstrings.
7483         (gdb-pending-triggers): Reflow docstring.
7484         (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7486 2008-03-01  Alan Mackenzie  <acm@muc.de>
7488         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7489         typing "#" at EOB.
7491 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7493         * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7495 2008-02-29  Kim F. Storm  <storm@cua.dk>
7497         * emulation/cua-base.el (cua-remap-control-v)
7498         (cua-remap-control-z): New defcustoms.
7499         (cua-mode): Add them to set-after property.
7500         (cua--init-keymaps): Use them.
7501         Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7503         * help.el (view-emacs-todo): Rename from view-todo.
7504         (describe-gnu-project): Rename from describe-project.  Users changed.
7505         (view-help-file): New helper function.
7506         (describe-distribution, describe-copying, describe-gnu-project)
7507         (view-todo, view-order-manuals, view-emacs-problems): Use it.
7508         (view-emacs-debugging, view-external-packages): New commands.
7509         (help-map): Move describe-distribution to C-h C-o (ordering).
7510         Move view-emacs-problems to C-h C-p (problems).
7511         Bind view-emacs-debugging to C-h C-d (debugging).
7512         Bind view-external-packages to C-h C-e (extras).
7513         (help-for-help-internal): Cleanup and align descriptions.
7514         Remove command names to reduce clutter.
7516 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7518         * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7519         and quieter face (not a warning).
7521 2008-02-29  Dan Nicolaescu  <dann@ics.uci.edu>
7523         * vc.el (vc-status-crt-marked): New variable.
7524         (vc-status-mode): Make it local.
7525         (vc-status-refresh): Use it to save the marked files.
7526         (vc-update-vc-status-buffer): Use it to restore the marked files.
7528         * vc-svn.el (vc-svn-after-dir-status):
7529         * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7531 2008-02-29  Glenn Morris  <rgm@gnu.org>
7533         * allout.el (allout-topic-encryption-bullet)
7534         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7535         (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7536         from 22.0 to 22.1.
7538         * net/imap.el (imap-ping-server):
7539         * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7540         Change defcustom :version from 23.0 to 23.1.
7542 2008-02-29  Juanma Barranquero  <lekktu@gmail.com>
7544         * desktop.el (desktop-save): Save the buffer name if the
7545         uniquified base name is empty.
7547 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7549         * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7550         correctly when user has "set print address off".
7552 2008-02-28  Juanma Barranquero  <lekktu@gmail.com>
7554         * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7555         version number of the next major Emacs release, not 23.0.
7557         * longlines.el (longlines-unload-function): New function.
7559 2008-02-28  Juri Linkov  <juri@jurta.org>
7561         * startup.el (normal-splash-screen): Add argument `concise'.
7562         Remove unused binding `prev-buffer'.  Let-bind `splash-buffer'
7563         to the created buffer.  If `concise' is non-nil, call
7564         `display-buffer', otherwise `switch-to-buffer'.  Doc fix.
7565         (display-startup-screen): Add argument `concise' to the call to
7566         `normal-splash-screen'.
7568 2008-02-28  Kim F. Storm  <storm@cua.dk>
7570         * startup.el (startup-echo-area-message): Check for about-emacs.
7572 2008-02-28  Juri Linkov  <juri@jurta.org>
7574         * startup.el: Always add initial message to *scratch* buffer if
7575         `initial-scratch-message' is non-nil regardless of the value of
7576         `inhibit-startup-screen'.
7577         (inhibit-startup-screen, initial-scratch-message): Doc fix.
7578         (command-line-1): Move code that inserts `initial-scratch-message'
7579         up before the if-form that checks for `inhibit-startup-screen'.
7580         Suggested by Jonathan Rockway <jon@jrock.us>.
7582 2008-02-28  Juri Linkov  <juri@jurta.org>
7584         * cus-edit.el (custom-mode-map, custom-mode-link-map):
7585         Rename `custom-mode' to `Custom-mode' in docstrings.
7586         (custom-buffer-create-internal, customize-browse):
7587         Rename `custom-mode' to `Custom-mode'.
7588         (custom-mode-hook): Rename to `Custom-mode-hook'.
7589         (Custom-mode-hook): Renamed from `custom-mode-hook'.
7590         (custom-mode): Rename to `Custom-mode'.
7591         (Custom-mode): Renamed from `custom-mode'.  Doc fix.
7592         (custom-mode): Add backward-compatible non-interactive variant of
7593         `Custom-mode' that simply calls `Custom-mode'.  Mark it obsoleted.
7594         (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7596         * info-look.el: Rename `custom-mode' to `Custom-mode'.
7598         * emulation/viper.el (viper-emacs-state-mode-list):
7599         Rename `custom-mode' to `Custom-mode'.
7601         * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7602         Capitalize "Tagged Files".
7603         (minibuffer-local-map): Add menu items for next/previous
7604         history elements and isearch history forward/backward.
7606         * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7607         `hs-isearch-open' with t instead of `comment' in :selected
7608         for "Code and Comment blocks" menu item.
7610 2008-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7612         * uniquify.el (uniquify-buffer-base-name): Undo last change.
7613         Should be done in desktop.el instead.
7615 2008-02-28  Glenn Morris  <rgm@gnu.org>
7617         * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7619         * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7621         * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7622         (Info-menu, Info-goto-node): Remove declarations.
7623         (report-emacs-bug-info): Use info rather than Info-goto-node.
7625         * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7626         (idlwave-convert-xml-system-routine-info): Don't require xml.
7627         (idlwave-show-commentary, idlwave-shell-show-commentary):
7628         Don't require finder.
7629         (idlwave-info): Don't require info.  Use info rather than
7630         Info-goto-node.
7632         * textmodes/org.el (Info-goto-node): Remove declaration.
7633         (org-info): Use info rather than Info-goto-node.
7635         * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7636         (reftex-info): Don't require info.  Use info rather than Info-goto-node.
7638 2008-02-28  Dan Nicolaescu  <dann@ics.uci.edu>
7640         * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7641         the menu.
7643         * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7644         (vc-finish-logentry): Check for vc-status-mode, not only for
7645         vc-dired-mode.
7647 2008-02-28  Kenichi Handa  <handa@ni.aist.go.jp>
7649         * isearch.el (isearch-printing-char): Don't check
7650         keyboard-coding-system.
7651         Call isearch-process-search-multibyte-characters only when
7652         current-input-method is non-nil.
7654 2008-02-27  Kim F. Storm  <storm@cua.dk>
7656         * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7657         (glyph-char, glyph-face): Handle cons encoding.
7659 2008-02-27  Juanma Barranquero  <lekktu@gmail.com>
7661         * uniquify.el (uniquify-buffer-base-name): If the base name is an
7662         empty string, return nil to allow the caller to default to the
7663         buffer name.  Reported by Martin Fischer <parozusa@web.de>.
7665         * tool-bar.el (tool-bar-setup): Doc fix.
7667         * mail/supercite.el (sc-describe):
7668         Fix typos in obsolescence declaration.
7670 2008-02-27  Glenn Morris  <rgm@gnu.org>
7672         * autoinsert.el (auto-insert-alist): Change permission text to
7673         match FSF's GPLv3 form.
7675         * mail/supercite.el (sc-cite-original): Doc fix.
7676         (sc-version): Make obsolete.
7677         (sc-describe): Show the SC info page.  Make obsolete.
7679 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7682         when using transient-mark-mode.
7683         (default-indicate-unused-lines): Remove unused var.
7685 2008-02-26  Jan Djärv  <jan.h.d@swipnet.se>
7687         * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7688         and previous.
7690         * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7692 2008-02-26  Glenn Morris  <rgm@gnu.org>
7694         * net/net-utils.el (top-level): Don't require comint when compiling.
7695         (nslookup-font-lock-keywords): Don't require font-lock.
7696         Use font-lock faces rather than variables.
7697         (nslookup, ftp, smbclient, network-service-connection):
7698         Don't require comint.
7699         (comint-prompt-regexp, comint-input-autoexpand)
7700         (comint-input-ring): Declare for compiler.
7701         (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7702         (dns-lookup-host): Don't require ffap.  Remove `with-no-warnings'.
7704         * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7705         doc-string.
7707 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7709         * doc-view.el (doc-view-current-page): Add a `win' argument.
7711 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7714         Demote it to plain defvar.
7715         (doc-view-conversion-refresh-interval): Reduce interval.
7716         (doc-view-goto-page): Allow moving to pages not yet rendered.
7717         (doc-view-goto-page): Construct a file name rather than extracting it
7718         from doc-view-current-files.
7719         (doc-view-kill-proc): Ignore errors from kill-process.
7720         (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7721         (doc-view-insert-image): Use appropriate text if the page hasn't been
7722         rendered yet.  Adjust scrolling so the text is displayed.
7723         (doc-view-display): Detect not just that a page is available, but also
7724         that it wasn't available before, so as to avoid refreshing all pages
7725         repeatedly.
7726         (doc-view-mode): Make doc-view-cache-directory if needed.
7728 2008-02-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
7730         * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7731         toggle-read-only.
7733         * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7734         refering to a missing required field with the OPT prefix.
7735         Make unwindform more robust.
7737         * textmodes/bibtex.el: Remove support for hideshow minor mode as
7738         it duplicates the bibtex support in progmodes/hideshow.el.
7739         * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7740         entries that do not start at the beginning of a line.
7742 2008-02-25  Chong Yidong  <cyd@stupidchicken.com>
7744         * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7746 2008-02-25  Robert J. Chassell  <bob@rattlesnake.com>
7748         * help-fns.el (describe-variable): Add phrases about
7749         initialization file with and without customization;
7750         use new button type help-info-variable.
7752         * help-mode.el (help-info-variable):
7753         New button able to read Info files for help-fns.el.
7755 2008-02-25  Jan Djärv  <jan.h.d@swipnet.se>
7757         * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7758         (grep-mode): Use grep-mode-tool-bar-map.
7760         * progmodes/compile.el (tool-bar): Require tool-bar.
7761         (compilation-mode-tool-bar-map): New variable.
7762         (compilation-mode): Use compilation-mode-tool-bar-map.
7764         * term/x-win.el (x-gtk-stock-map): Add cancel.  Remove extensions.
7766 2008-02-25  Glenn Morris  <rgm@gnu.org>
7768         * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7770 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * diff-mode.el (diff-file-junk-re): New const.
7773         (diff-beginning-of-file-and-junk): Use it.
7774         (diff-file-kill): Make sure we were really inside a file diff.
7776         * diff-mode.el: Make it more robust in the presence of empty context
7777         lines in unified hunks.
7778         (diff-valid-unified-empty-line): New var.
7779         (diff-unified->context, diff-sanity-check-hunk): Obey it.
7780         (diff-end-of-hunk): Obey it.  New arg `donttrustheader'.
7781         (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7782         (diff-hunk-header-re-unified): New const.
7783         (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7784         (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7785         (diff-sanity-check-hunk): Use it.
7787         * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7788         Index: line, don't search backward for the previous one.
7790 2008-02-25  Kenichi Handa  <handa@ni.aist.go.jp>
7792         * international/fontset.el (setup-default-fontset): Add non-OTF
7793         lao font for lao script.
7795         * language/tibetan.el: Register tibetan-composition-function in
7796         composition-function-table.
7798         * language/tibet-util.el (tibetan-composition-function):
7799         Adjust for the new calling way (argument changed).  Try font-shape-text
7800         if possible.
7802         * language/lao.el: Register lao-composition-function in
7803         composition-function-table.
7805         * language/lao-util.el (lao-composition-function): Adjust for the new
7806         calling way (argument changed).  Try font-shape-text if possible.
7808 2008-02-25  Jason Rumney  <jasonr@gnu.org>
7810         * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7812 2008-02-25  Juri Linkov  <juri@jurta.org>
7814         * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7815         background, "red4" for a dark background, "red" for 16 and
7816         8 colors, "grey" for grayscale, and inverse video otherwise.
7817         Add :version tag.
7818         (isearch-message): Keep the original isearch-message intact, and
7819         add text properties to it where necessary.  Add `isearch-error' to
7820         the condition that checks if isearch is unsuccessful.
7822 2008-02-24  Juri Linkov  <juri@jurta.org>
7824         * progmodes/compile.el (compilation-handle-exit):
7825         Use compilation-error face instead of font-lock-warning-face.
7826         Display the same message in the minibuffer as is inserted
7827         at the end of the compilation buffer.
7829 2008-02-24  Glenn Morris  <rgm@gnu.org>
7831         * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7832         multiple file case.
7834         * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7836         * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7837         multiple file case.  Use a single `let' rather than two.
7839 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7841         * progmodes/compile.el (compilation-start): Specify a face for
7842         mode-line-process.
7843         (compilation-handle-exit): Specify a face and a tooltip for
7844         mode-line-process.
7846 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7848         * hilit-chg.el: Remove spurious * in defcustom docstrings.
7849         (hilit-chg-make-ov): Simplify.
7850         (hilit-chg-fixup): Use remove-overlays.
7851         (hilit-chg-set-face-on-change): Remove redundant call to
7852         `remove-text-properties'.
7854         * dired.el (dired-mark-prompt): Don't count/display the t element.
7855         Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
7857 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7859         * progmodes/verilog-mode.el (eval-when-compile): Don't define
7860         add-submenu.
7861         (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
7862         Remove.  Move contents to the only use ...
7863         (verilog-menu): ... here.
7864         (verilog-statement-menu): Remove.  Move contents to the only use ...
7865         (verilog-stmt-menu): ... here.
7866         (verilog-mark-defun): Simply call mark-defun for emacs.
7867         (occur-pos-list): Declare for byte compiler.
7868         (mode-popup-menu): Don't defvar.
7869         (verilog-add-statement-menu): Remove.
7870         (verilog-mode-hook): Don't add verilog-add-statement-menu.
7871         (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
7873 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
7875         * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
7876         conditional.
7877         (verilog-font-grouping-keywords-face): Make the begin..end
7878         keywords standout more than other verilog keywords.
7879         (verilog-type-font-keywords): Move the begin..end out of this list
7880         to facilitate making them to (potentially) stand out more.
7881         (verilog-backward-token): Fix indent of bare always{_*}?, initial,
7882         function & task blocks.
7883         (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
7884         initial, function & task blocks.
7885         (verilog-forward-sexp): Handle the new "disable fork" statement of
7886         IEEE-1800 Verilog.
7887         (verilog-beg-block-re-ordered): Handle the new "disable fork"
7888         statement of IEEE-1800 Verilog.
7889         (verilog-calc-1): Handle the new "disable fork" statement of
7890         IEEE-1800 Verilog.
7891         (verilog-disable-fork-re): Add const to help handle the new
7892         "disable fork" statement of IEEE-1800 Verilog.
7893         (verilog-declaration-core-re): Add port directions by themselves,
7894         with no qualification, as base item of a declaration.
7895         (verilog-pretty-declarations): Add new flag to ask it to refrain
7896         from printing to the message buffer.
7897         (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
7898         printing to the message buffer.  Improve handling of the many
7899         types of expression line up.
7900         (verilog-just-one-space): Remove printing of an empty message.
7901         (verilog-get-lineup-indent): Rework to support the better handling
7902         of expression lineup for verilog-pretty-expr.
7903         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7905 2008-02-24  Alan Mackenzie  <acm@muc.de>
7907         * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
7908         yesterday's commit.
7910 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
7912         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
7913         to mouse-set-point in buffers that aren't associated with files.
7915         * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
7917 2008-02-24  Alan Mackenzie  <acm@muc.de>
7919         Set of changes so that "obtrusive" syntactic elements in a
7920         C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
7921         unmatched paren) don't interact syntactically with stuff outside
7922         the CPP line.
7924         * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
7925         Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
7926         off-by-one bug.
7927         (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
7928         a bit of refactoring.
7929         (c-awk-extend-and-syntax-tablify-region): Takes some of the
7930         functionality of c-awk-advise-fl-for-awk-region, which has been
7931         refactored away.
7933         * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
7934         (c-clear-char-property-with-value): New function and macro which
7935         remove text-properties `equal' to a supplied value.
7937         * progmodes/cc-engine.el: Comment about text properties amended.
7939         * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
7940         parens around "error\\|warning".
7942         * progmodes/cc-langs.el (c-get-state-before-change-function)
7943         (c-before-font-lock-function, c-anchored-cpp-prefix):
7944         New language variables.
7945         (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
7947         * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
7948         syntax-table text properties.
7949         (c-common-init): Call language specific before/after-change
7950         functions at mode initialisation.
7951         (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
7952         (c-extend-region-for-CPP, c-neutralize-CPP-line)
7953         (c-neutralize-syntax-in-CPP): New functions.
7954         (c-before-change, c-after-change): Call the new language specific
7955         change functions defined in cc-langs.el.
7956         (c-advise-fl-for-region): New macro.
7957         (awk-mode): Remove AWK specific stuff which has been refactored
7958         into language independent stuff.
7960 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
7962         * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
7963         (gdb): (Re)set gdb-flush-pending-output to nil here...
7964         (gdb-init-1): ...instead of here (before gdb-prompt).
7966 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7968         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
7969         Recognize ''' just like any other char-constant.
7971 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * vc-hooks.el (vc-find-root): Remove initial loop because it's not
7974         careful enough.  Detect the uid-change all within the main loop.
7976 2008-02-24  Stefan Monnier  <monnier@pastel.home>
7978         * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
7980 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7982         * hilit-chg.el (highlight-save-buffer-state): New macro.
7983         (highlight-save-buffer-state, hilit-chg-set-face-on-change)
7984         (hilit-chg-clear): Use it to preserve the modified-p flag.
7985         (highlight-changes-rotate-faces): Don't mess with the undo-list.
7987 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7989         * font-lock.el (font-lock-set-defaults): Unset previously set variables
7990         when needed.
7992 2008-02-24  Ã†var Arnfjörð Bjarmason  <avar@cpan.org>  (tiny change)
7994         * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
7995         from gnus-button-url-regexp.
7997 2008-02-24  Eli Zaretskii  <eliz@gnu.org>
7999         * progmodes/compile.el (compilation-next-error): Doc fix.
8000         (compilation-find-file): Doc fix.
8002 2008-02-24  Glenn Morris  <rgm@gnu.org>
8004         * net/net-utils.el (ipconfig-program, ipconfig-program-options):
8005         Add obsolete aliases to the old names.
8007 2008-02-24  Richard Stallman  <rms@gnu.org>
8009         * net/net-utils.el (ifconfig): Rename from ipconfig.
8010         (ipconfig): Alias to ifconfig.
8011         (ifconfig-program): Rename from ipconfig-program.
8012         (ifconfig-program-options): Rename from ipconfig-program-options.
8014 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
8016         * progmodes/verilog-mode.el (verilog-declaration-core-re):
8017         Add port directions by themselves, with no qualification, as base
8018         item of a declaration.
8019         (verilog-pretty-declarations): Add new flag that inhibits printing
8020         to the message buffer.
8021         (verilog-pretty-expr): Add new flag that inhibits printing to the
8022         message buffer.  Improve handling of the many types of expression
8023         line up.
8024         (verilog-just-one-space): Don't print an empty message.
8025         (verilog-get-lineup-indent): Rework to support the better handling
8026         of expression lineup for verilog-pretty-expr.
8027         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
8028         (verilog-mode-version, verilog-mode-release-date): Update.
8030 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8032         * subr.el (cancel-change-group): Don't move point.
8034 2008-02-23  Markus Triska  <markus.triska@gmx.at>
8036         * linum.el (linum-after-config): Update all visible windows.
8038 2008-02-23  Glenn Morris  <rgm@gnu.org>
8040         * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
8041         Add :help for Solitaire and Tetris.
8043         * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
8045         * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
8046         (smtpmail-code-conv-from): Doc fix.  Fix custom type.
8047         (smtpmail-queue-index-file): Make it a defcustom.
8048         (smtpmail-queue-index): Delete.
8049         (smtpmail-send-it, smtpmail-send-queued-mail):
8050         Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
8051         smtpmail-queue-index.
8053         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8054         Add :version.
8056 2008-02-23  Yoni Rabkin  <yoni@rabkins.net>  (tiny change)
8058         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
8059         New variables.
8060         (iwconfig): New function.
8062 2008-02-23  Dan Nicolaescu  <dann@ics.uci.edu>
8064         * vc.el (vc-find-revision): Make vc-parent-buffer local before
8065         setting it.
8066         (vc-status-menu-map): Do not define using easy-menu.
8067         (vc-status-menu-map): New defalias.
8068         (vc-status-mode-map): Hook up the menu.
8069         (top-level): Update TODO.
8071         * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
8073         * vc-bzr.el (vc-bzr-init-version): Rename to ...
8074         (vc-bzr-init-revision): ... this.
8076 2008-02-23  Jason Rumney  <jasonr@gnu.org>
8078         * makefile.w32-in (WINS_ALMOST): Remove term.
8079         (WINS): Add term here.
8080         (custom-deps, finder-data): Use WINS_ALMOST.
8082 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
8084         * faces.el (font-weight-table): Fix value of `semi-light'.
8086 2008-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8088         * faces.el (font-weight-table, font-slant-table, font-swidth-table):
8089         Make those tables bijective.
8091 2008-02-22  Ken Manheimer  <ken.manheimer@gmail.com>
8093         Finish pdbtrack integration cleanup, settling missing-functions
8094         byte compiler warnings appropriately.
8096         * progmodes/python.el (python-point): Remove this - beginning-of-line
8097         was all that was necessary for `python-pdbtrack-overlay-arrow'.
8098         (python-end-of-def-or-class, python-beginning-of-def-or-class)
8099         (python-goto-initial-line): Drop these - they were only needed for
8100         python-point.
8101         (python-comint-output-filter-function): Use condition-case and
8102         beginning-of-line directly, instead of python-mode.el functions
8103         which require all sorts of baggage.
8104         (point-safe): Unnecessary - we're using condition-case directly,
8105         instead.
8106         (python-execute-file): Include for python-shell, which I'm leaving
8107         in keeping despite it being unnecessary for pdb tracking.
8109 2008-02-22  Peter Danenberg  <pcd@wikitex.org>  (tiny change)
8111         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8112         Add SRFI 11 support.
8113         (let-values, let*-values): Specify scheme-indent-function.
8115 2008-02-22  Dan Nicolaescu  <dann@ics.uci.edu>
8117         * vc.el (vc-exec-after): Move setting mode-line-process in the
8118         busy case ...
8119         (vc-set-mode-line-busy-indicator): ... in this new function.
8120         (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
8121         (vc-update-vc-status-buffer): Reset mode-line-process.
8122         (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
8123         mark/unmark all the files with the same state as the current one.
8124         With a prefix argument mark/unmark all files.
8125         (vc-status-mode-menu): Adjust strings.
8126         (vc-update-vc-status-buffer): Only do something when the argument
8127         is not nil.
8128         (vc-status-kill-dir-status-process): New function.
8129         (vc-status-mode-map): Bind it.
8130         (vc-status-process-buffer): New variable.
8131         (vc-status-mode): Make it local.
8132         (vc-status-refresh): Set it.
8134         * vc-hg.el (vc-hg-dir-status):
8135         * vc-git.el (vc-git-dir-status):
8136         * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
8137         command is run.
8139 2008-02-22  Glenn Morris  <rgm@gnu.org>
8141         * json.el (top-level): No need to require thingatpt.
8142         (json-read-keyword): Use thing-at-point rather than word-at-point.
8144         * time.el (top-level): No need to require time-date when compiling.
8146         * emacs-lisp/copyright.el (copyright-update-year):
8147         Fix subexpression numbering for the case when years are split over
8148         lines, and for the replace case.
8150         * emulation/tpu-edt.el (tpu-have-ispell): Doc fix.  Make obsolete.
8151         (tpu-caar, tpu-cadr): Delete functions.
8152         (zmacs-regions): No need to declare for compiler.
8153         (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
8154         (tpu-spell-check): Rewrite, and handle mark after point.
8155         (tpu-special-insert): Use or rather than if.
8157         * emulation/vip.el (vip-special-prefix-com): Use ispell-region
8158         rather than spell-region.
8160         * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
8161         warnings about spell-region.
8163 2008-02-22  Kenichi Handa  <handa@ni.aist.go.jp>
8165         * ldefs-boot.el: Regenerated.
8167         * loadup.el: Don't load language/devanagari, language/kannanda,
8168         language/malayalam, and language/tamil.  Load language/sinhala.
8170         * language/indian.el (indian-font-foundry)
8171         (indian-script-language-alist, indian-font-char-index-table)
8172         (indian-font-char, indian-font-char-range, indian-script-table)
8173         (indian-default-script, indian-composable-pattern): Delete them.
8174         ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
8175         language environments moved to here.
8176         ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
8177         New language environments.
8179         * language/devanagari.el, language/devan-util.el,
8180         * language/kannanda.el, language/knd-util.el, language/malayalam.el,
8181         * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8182         Delete them.
8184         * language/sinhala.el: New file.
8186 2008-02-21  Ken Manheimer  <ken.manheimer@gmail.com>
8188         Update Nick Robert's port of pdb tracking from python-mode.el.
8190         * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8191         Clarify docstring.
8192         (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8193         tracking is happening.
8194         (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8195         (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8196         (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8197         Tracking is plugged in to all comint buffers once python.el is loaded.
8198         (python-pdbtrack-overlay-arrow): Toggle activation of
8199         `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8200         (python-pdbtrack-track-stack-file): Use new
8201         `python-pdbtrack-get-source-buffer' for more flexible access to
8202         debugging source files.
8203         (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8204         according to pdb stack trace, optionally using new
8205         `python-pdbtrack-grub-for-buffer' if file is not locally available.
8206         (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8207         named buffer, or having function with indicated name.
8208         (python-shell): Remove comint-output-filter-functions hook
8209         addition, it's being done elsewhere.  Wrap long line.
8211 2008-02-21  Michael Olson  <mwolson@gnu.org>
8213         * json.el: Replace XEmacs compatibility code to get rid of
8214         compiler warnings.
8216         * time.el: Fix compiler warning.
8218 2008-02-21  Edward O'Connor  <ted@oconnor.cx>
8220         * json.el: New file (JavaScript Object Notation parser / generator).
8222 2008-02-21  Dave Love  <fx@gnu.org>
8224         * progmodes/sym-comp.el: New file.
8226         * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8227         Require sym-comp.  Add Python buffer to same-window-buffer-names.
8228         Fixup whitespaces.
8229         (python-font-lock-keywords): Add highlighting for Python builtins.
8230         (python-font-lock-syntactic-keywords): Rewrite.
8231         (python-quote-syntax): Use syntax-ppss-context instead of parsing
8232         ppss directly.
8233         (python-mode-map): Add binding for python-find-function.
8234         (python-calculate-indentation): Clean up the logic.
8235         (python-beginning-of-defun): Explicitly set return value.
8236         (python-beginning-of-statement): Stop looping if we get stuck
8237         going backwards.
8238         (python-next-statement): Stop looping if we somehow end up inside
8239         a string while advancing.
8240         (python-preoutput-continuation, python-version-checked): New vars.
8241         (python-check-version): New function.
8242         (run-python): Set default command to python-command instead of
8243         python-python-command.
8244         (run-python): Use python-check-version.  Give PYTHONPATH
8245         precedence over data-directory in the process environment.
8246         Load function definitions in python process after.
8247         (python-check-comint-prompt): New function.
8248         (python-send-command, python-send-receive): Use it.
8249         (python-complete-symbol, python-try-complete): Functions deleted.
8250         Use symbol-complete instead of python-complete-symbol throughout.
8251         (python-fill-paragraph): Further refine the fenced-string regexp.
8252         (def-python-skeleton): Expand to the original abbrev instead if in
8253         a comment or string.  Tweak skeletons for `if', `while', `for',
8254         `try/except', `try/finally', `name'.
8255         (python-pea-hook, python-abbrev-pc-hook): New functions.
8256         (python-abbrev-syntax-table): New var.
8257         (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8258         Use symbol-completion-try-complete for hippie expansion.
8259         Turn on font lock unconditionally.
8260         (python-mode-hook): Defcustom it.  No need to use make-local
8261         variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8262         option, since it's buffer-local.
8264 2008-02-21  Juanma Barranquero  <lekktu@gmail.com>
8266         * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8268 2008-02-21  Drew Adams  <drew.adams@oracle.com>
8270         * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8271         "Turn off" and a "Help" entry when the minor mode has no menu.
8273 2008-02-21  Dan Nicolaescu  <dann@ics.uci.edu>
8275         * vc.el (vc-status-mark, vc-status-unmark): New functions.
8276         (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8277         vc-status-mark-file and vc-status-unmark-file.
8278         (vc-status-mark-unmark): New function.
8279         (vc-status-previous-line, vc-status-next-line): No longer interactive.
8281 2008-02-21  Glenn Morris  <rgm@gnu.org>
8283         * composite.el (encode-composition-rule): Fix typo in error message.
8284         (composition-function-table, auto-composition-mode): Doc fixes.
8286         * subr.el (sit-for): Fix obsolete form for nil second argument.
8288         * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8289         (spell-string): Make obsolete, in favor of ispell.
8291 2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
8293         * language/devanagari.el: Don't setup composition-function-table
8294         here.
8295         ("Devanagari"): Change charset, coding-system, coding-priority to
8296         Unicode-based ones.  Don't require the feature devan-util.
8298         * composite.el (compose-chars-after): Fix arguments for a function
8299         in composition-function-table.
8300         (auto-compose-region): Likewise.
8302         * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8303         for Ethiopic.
8304         (ps-mule-plot-string): Ignore glyph-string based compositions.
8306 2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8308         * doc-view.el: Allow different windows to show different pages.
8309         (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8310         (doc-view-current-image, doc-view-current-overlay): Remove variables,
8311         add them back as macros instead, using image-mode-winprops instead.
8312         Update all users of those variables.
8313         (doc-view-new-window-function): New function to create a new overlay
8314         for each new window.
8315         (doc-view-mode): Use it and image-mode-setup-winprops.
8316         (doc-view-clone-buffer-hook): Rewrite accordingly.
8318         * image-mode.el: Extend [hv]scroll support to per-window properties.
8319         (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8320         (image-mode-winprops-alist): New var to replace them.
8321         (image-mode-new-window-functions): New hook.
8322         (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8323         New funs.
8324         (image-set-window-vscroll, image-set-window-hscroll): Use them.
8325         Remove the `window' argument, update callers.
8326         (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8327         Use the new functions.
8328         (image-mode-reapply-winprops): New fun.
8329         (image-mode): Use it.
8331 2008-02-20  Jay Belanger  <jay.p.belanger@gmail.com>
8333         * calc/calc-math.el (math-sin-raw): Add optional argument
8334         to keep track of original argument.
8335         (math-cos-raw): Use optional argument when calling math-sin-raw.
8336         (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8337         with close to original precision.
8339 2008-02-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8341         * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8342         args in calls of sit-for.
8344 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
8346         * vc-svn.el (vc-svn-program): Fix typo in docstring.
8347         (vc-svn-checkin): Fix typo in error message.
8349         * help-mode.el: Require easymenu when compiling.
8351 2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
8353         * help-mode.el (help-mode-menu): New menu.
8355 2008-02-20  Glenn Morris  <rgm@gnu.org>
8357         * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8358         on Windows.
8360 2008-02-20  Kenichi Handa  <handa@ni.aist.go.jp>
8362         * ps-mule.el (ps-mule-encode-region): Return a single string.
8363         (ps-mule-plot-string): Adjust for the above change.
8364         (ps-mule-encode-header-string): Likewise.
8366         * international/latin1-disp.el (latin1-display): Don't use
8367         ucs-mule-8859-to-mule-unicode.  Fix the way of resetting
8368         standard-display-table.
8369         (latin1-display-identities): Adjust for the change of what is
8370         returned by (get-language-info charset 'charset).
8372         * international/mule-util.el (char-displayable-p): Fix for Latin-1
8373         characters and terminal case.
8375 2008-02-19  Ken Manheimer  <ken.manheimer@gmail.com>
8377         Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8379         * progmodes/python.el: Also require comint when loading.
8380         (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8381         Replace python-shell with run-python on menu bar.
8382         (python-shell-map): New map.
8383         (python-default-interpreter, python-python-command-args)
8384         (python-jython-command-args, python-pdbtrack-do-tracking-p):
8385         New options.
8386         (python-which-shell, python-which-args, python-which-bufname):
8387         New buffer local variables.
8388         (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8390         * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8391         (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8392         New constants.
8394         Pdbtrack features:
8396         (python-point, python-end-of-def-or-class)
8397         (python-beginning-of-def-or-class, python-goto-initial-line)
8398         (python-comint-output-filter-function)
8399         (python-pdbtrack-overlay-arrow)
8400         (python-pdbtrack-track-stack-file, python-toggle-shells)
8401         (python-shell, python-pdbtrack-toggle-stack-tracking)
8402         (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8403         New functions.
8405 2008-02-19  Katsumi Yamaoka  <yamaoka@jpl.org>
8407         * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8408         when the argument is nil.
8410 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8412         * vc.el (dir-status): Add a brief description.
8414 2008-02-19  Thien-Thi Nguyen  <ttn@gnuvola.org>
8416         * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8417         If non-nil, reverse the sense of the check.
8419         * vc-rcs.el (vc-rcs-root): New func.
8420         * vc-cvs.el (vc-cvs-root): New func.
8421         * vc-svn.el (vc-svn-root): New func.
8422         * vc-sccs.el (vc-sccs-root): New func.
8424 2008-02-18  Kenichi Handa  <handa@ni.aist.go.jp>
8426         * language/japan-util.el (setup-japanese-environment-internal):
8427         Call use-cjk-char-width-table.
8429         * language/japanese.el ("Japanese"): Set exit-function to
8430         use-default-char-width-table.
8432         * international/characters.el: Delete occurrences of non-Unicode
8433         tibetan and ethiopic characters.
8434         (cjk-char-width-table): New variable.
8435         (use-cjk-char-width-table, use-default-char-width-table):
8436         New functions.
8438 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8440         * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8441         (vc-status-mode-menu): Add a :filter.
8442         (vc-status-printer): Add faces.
8444         * vc-hg.el (vc-hg-extra-status-menu): New function.
8445         (vc-hg-dir-status): Clean up the buffer before using it.
8447 2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8449         * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8450         (gdb): Initialize it here instead.
8452         * files.el (locate-dominating-file): Fix thinko in last change.
8453         Reported by Bruce Stephens <bruce.stephens@isode.com>.
8455 2008-02-18  Dan Nicolaescu  <dann@ics.uci.edu>
8457         * vc.el (vc-status-mode-menu): New menu for vc-status.
8459 2008-02-18  Juanma Barranquero  <lekktu@gmail.com>
8461         * progmodes/verilog-mode.el (customize): Fix typo in error message.
8462         (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8463         (verilog-mode-auto, verilog-indent-level-module)
8464         (verilog-minimum-comment-distance, verilog-library-flags)
8465         (verilog-library-directories, verilog-library-files)
8466         (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8467         (verilog-xemacs-menu, verilog-set-compile-command)
8468         (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8469         (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8470         (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8471         (verilog-batch-inject-auto, verilog-batch-indent)
8472         (verilog-continued-line, verilog-type-keywords)
8473         (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8474         (verilog-read-inst-pins, verilog-read-arg-pins)
8475         (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8476         (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8477         (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8478         (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8479         (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8480         (verilog-mode-version, verilog-mode-release-date)
8481         (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8482         (verilog-simulator, verilog-compiler)
8483         (verilog-auto-sense-defines-constant, verilog-company)
8484         (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8485         Fix typos in docstrings.
8486         (verilog-set-auto-endcomments, verilog-calculate-indent)
8487         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8488         Reflow docstrings.
8489         (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8490         (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8491         (electric-verilog-forward-sexp, verilog-in-case-region-p)
8492         (verilog-in-struct-region-p, verilog-in-generate-region-p)
8493         (verilog-leap-to-head, verilog-current-indent-level)
8494         (verilog-case-indent-level, verilog-cpp-keywords)
8495         (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8496         (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8497         (verilog-signals-not-in, verilog-symbol-detick-text)
8498         (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8499         (verilog-forward-close-paren, verilog-backward-open-paren)
8500         (verilog-backward-open-bracket): Doc fixes.
8502         * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8503         (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8504         (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8505         (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8506         (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8507         Fix typos in docstrings.
8509         * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8511 2008-02-18  Bastien Guerry  <Bastien.Guerry@ens.fr>
8513         * info.el (Info-read-node-name): Removed unused `default' arg.
8515 2008-02-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
8517         * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8519 2008-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8521         * image-mode.el (image-get-display-property): New fun.
8522         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8523         (image-mode, image-minor-mode, image-toggle-display-text)
8524         (image-toggle-display): Use it.
8526 2008-02-18  Jason Rumney  <jasonr@gnu.org>
8528         * international/mule.el (xml-find-file-coding-system): Don't warn
8529         about utf-16 with BOM.
8531         * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8533         * international/mule.el (sgml-xml-auto-coding-function): Detect and
8534         warn if file encoding is not utf-8 and encoding not specified.
8535         (xml-find-file-coding-system): New function.
8536         * international/mule-conf.el (file-coding-system-alist): Use it.
8538 2008-02-17  Glenn Morris  <rgm@gnu.org>
8540         * international/mule-cmds.el (set-locale-environment):
8541         Pass `frame' to getenv for LC_MESSAGES.
8543 2008-02-17  Juri Linkov  <juri@jurta.org>
8545         * time.el (emacs-init-time): Use format instead of format-seconds.
8547 2008-02-17  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8549         * textmodes/bibtex.el (bibtex-search-entry): Rename from
8550         bibtex-find-entry.  Add autoload cookie.
8551         (bibtex-find-entry): Alias for bibtex-search-entry.
8552         (bibtex-search-crossref): Rename from bibtex-find-crossref.
8553         (bibtex-find-crossref): Alias for bibtex-search-crossref.
8554         (bibtex-clean-entry): atomic-change-group removed.
8555         (bibtex-format-entry): Use atomic-change-group.  Use unwind-protect
8556         to locate buffer location where error occurred.
8557         Make error messages more specific.
8558         (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8560 2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
8562         * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8563         top level.
8565         * simple.el (transient-mark-mode): Add an :init-value.
8567         * startup.el (command-line): Use custom-reevaluate-setting for
8568         transient-mark-mode.
8570 2008-02-17  Michaël Cadilhac  <michael@cadilhac.name>
8572         * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8574 2008-02-16  Juri Linkov  <juri@jurta.org>
8576         * startup.el (after-init-time): New variable.
8577         (command-line): Set `after-init-time' to the current time.
8579         * time.el (emacs-init-time): New function.
8581 2008-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8583         * files.el (locate-dominating-file): Remove initial loop because it's
8584         not careful enough.  Detect the uid-change all within the main loop.
8586 2008-02-16  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8588         * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8590 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8592         * vc.el (vc-annotate): Add new argument.
8593         (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8595         * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8596         Move make-variable-buffer-local code after the corresponding defvar.
8597         (hs-minor-mode-map): Define and initialize in one step.
8598         (hs-minor-mode): Change from defun to define-minor-mode.
8600 2008-02-16  Nick Roberts  <nickrob@snap.net.nz>
8602         * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8603         (gdb-ready): Move declaration...
8605         * progmodes/gdb-ui.el (gdb-ready): ...to here.
8606         (gdb-early-user-input): New variable.
8607         (gdb): Reset gdb-flush-pending-output to nil and set
8608         comint-input-sender here (before gdb-prompt), instead of...
8609         (gdb-init-1): ...here.
8610         (gdb-send): If Emacs is not ready, defer user input to...
8611         (gdb-prompt): ...here.
8613 2008-02-16  Glenn Morris  <rgm@gnu.org>
8615         * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8617         * startup.el (emacs-startup-time): Rename to `before-init-time'.
8618         (before-init-time): New name for `emacs-startup-time'.
8619         (command-line): Use before-init-time rather than emacs-startup-time.
8620         * time.el (emacs-uptime): Use before-init-time rather than
8621         emacs-startup-time.
8623         * composite.el (composition-function-table): Doc fix.
8625         * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8626         in favor of `%z' specifier.
8627         (emacs-uptime): Move to time.el.
8628         * time.el (emacs-uptime): Move here from time-date.el.  Add optional
8629         `format' argument.  Doc fix.  Use `%z' rather than removed `nonzero'
8630         argument of format-seconds.
8632 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8634         * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8636 2008-02-15  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8638         * ielm.el (ielm-is-whitespace): Remove.
8639         (ielm-is-whitespace-or-comment): New function.
8640         (ielm-eval-input): Use it.
8642 2008-02-15  Jason Rumney  <jasonr@gnu.org>
8644         * term/mac-win.el: Fix coding tag.
8646 2008-02-15  Dan Nicolaescu  <dann@ics.uci.edu>
8648         * vc-hooks.el (vc-menu-map):
8649         * bindings.el (mode-line-mode-menu): Add tooltips.
8651         * bindings.el (help-echo): Add more tooltips.  Use a less
8652         telegraphic style for existing tooltips.
8654 2008-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8656         * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8657         from the auto-generated one.
8659 2008-02-14  Glenn Morris  <rgm@gnu.org>
8661         * mail/rmail-spam-filter.el (rmail-spam-filter):
8662         Let-bind message-spam-status.
8664         * mail/smtpmail.el (password-cache-add): Declare as function.
8666 2008-02-14  Justus Piater  <Justus-bulk@Piater.name>  (tiny change)
8668         * mail/smtpmail.el: Use password-cache.
8670 2008-02-14  Juanma Barranquero  <lekktu@gmail.com>
8672         * uniquify.el (uniquify-buffer-base-name): New function.
8673         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8675         * desktop.el (uniquify-managed): Don't defvar.
8676         (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8677         `uniquify-managed'.  Return also the buffer's base name.
8678         (desktop-save): When saving the buffer info, filter out the base name,
8679         and save it as buffer name if the buffer is managed by uniquify.
8680         (uniquify-item-base): Don't declare; not called anymore.
8682 2008-02-14  Dan Nicolaescu  <dann@ics.uci.edu>
8684         * vc.el (vc-annotate-find-revision-at-line): New function.
8685         (vc-annotate-mode-map): Bind it.
8686         (vc-annotate-mode-menu): Add a menu entry for it.  Add :help for
8687         some entries.
8689 2008-02-14  Glenn Morris  <rgm@gnu.org>
8691         * calendar/time-date.el (format-seconds): New function.
8692         (emacs-uptime): Use format-seconds.
8694         * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8695         Remove `LC_ALL=C', since it's included in $(emacs) now.
8697 2008-02-14  Zhang Wei  <id.brep@gmail.com>
8699         * textmodes/org-publish.el (org-publish-timestamp-filename):
8700         Replace colon characters in filename too.
8702 2008-02-13  Bastien Guerry  <bzg@altern.org>
8704         * mail/rmail.el (rmail-header-name): New face.
8705         (rmail-font-lock-keywords): Use rmail-header-name.
8707         * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8708         against X-Spam-Status header field.
8709         (rmail-spam-filter): Also check X-Spam-Status header field.
8711 2008-02-14  Mark A. Hershberger  <mah@everybody.org>
8713         * progmodes/flymake.el (flymake-allowed-file-name-masks):
8714         Add support for .pm files and .php files.
8715         (flymake-err-line-patterns): Add pattern for PHP errors.
8716         (flymake-php-init): New function.  PHP support for flymake.
8718         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8719         Add regular expression for PHP errors.
8721 2008-02-13  Michael Albinus  <michael.albinus@gmx.de>
8723         * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8724         This DTRT even on w32 machines.
8725         (ange-ftp-cf1): Quote FILENAME.
8727 2008-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8729         * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8730         (smerge-auto-combine): New fun.
8732 2008-02-12  Juri Linkov  <juri@jurta.org>
8734         * startup.el (fancy-startup-screen, normal-splash-screen):
8735         Set default-directory to command-line-default-directory.
8737         * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8738         after reading the desktop.
8740         * progmodes/compile.el (compilation-auto-jump):
8741         Call compile-goto-error only when compilation-auto-jump-to-first-error
8742         is non-nil.
8743         (compilation-scroll-output): Replace :type 'boolean with a choice
8744         that has three options including a third option `first-error'.
8745         Doc fix.
8746         (compilation-start, compilation-forget-errors): Add an alternate
8747         condition comparing compilation-scroll-output with `first-error'
8748         in addition to compilation-auto-jump-to-first-error (to call
8749         compilation-auto-jump in the proper place).
8751 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8753         * international/mule.el (sgml-html-meta-auto-coding-function):
8754         Make sure the search limit is ahead.
8756         * tar-mode.el: Fix broken indentation.
8757         (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8758         Use with-current-buffer.
8760 2008-02-12  Juanma Barranquero  <lekktu@gmail.com>
8762         * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8763         it is already automatically buffer-local.
8765 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8767         * help.el (describe-key): Join some split lines to facilitate filling.
8768         * help-fns.el (describe-function-1): Fill text of overlong lines.
8770 2008-02-12  Kenichi Handa  <handa@ni.aist.go.jp>
8772         * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8773         Use unibyte-string instead of string-make-unibyte.
8775         * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8777 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8779         * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8780         works also for buffers w/o buffer-file-name.  Update callers.
8781         (doc-view-clone-buffer-hook): New fun.
8782         (doc-view-mode): Use it for indirect clones.  Mark the overlays with
8783         the `doc-view' property so they can be recognized.
8785         * simple.el (clone-indirect-buffer-hook): New hook.
8786         (clone-indirect-buffer): Run it.
8788 2008-02-11  Daiki Ueno  <ueno@unixuser.org>
8790         * epa.el (epa-menu-mode): Merge into epa-mode.
8791         (epa-menu-items): Rename the label "EasyPG Assistant" to
8792         "Encryption/Decryption".
8794         * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8795         (epa-dired-mode-map): Rename from epa-dired-map.
8796         (epa-global-dired-mode): Rename the global minor mode.
8798 2008-02-11 Drew Adams  <drew.adams@oracle.com>
8800         * isearch.el (isearch-fail): New face.
8801         (isearch-message): Highlight failure part of input.
8803 2008-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * ibuffer.el (ibuffer-header-line-format): New var.
8806         (ibuffer-mode): Set it instead of header-line-format.
8807         (ibuffer-update): Use it to set header-line-format.
8809         * international/mule-cmds.el (ucs-insert): Inherit surrounding
8810         properties like self-insert-command.
8812 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8814         * progmodes/etags.el: Add many doc strings.
8816 2008-02-11  Jason Rumney  <jasonr@gnu.org>
8818         * ldefs-boot.el: Regenerated.
8820 2008-02-11  Glenn Morris  <rgm@gnu.org>
8822         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8823         Shorten some names.
8825         * ffap.el (ffap-rfc-directories): Add :version.
8827 2008-02-11  Chris Moore  <christopher.ian.moore@gmail.com>
8829         * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8830         files, and backup files of same.
8832 2008-02-11  Kevin Ryde  <user42@zip.com.au>
8834         * ffap.el (ffap-rfc-directories): New variable.
8835         (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8837         * info.el (Info-next-reference, Info-prev-reference)
8838         (Info-try-follow-nearest-node): Move to and follow https:// links too.
8840         * simple.el (completion-list-mode): Show full completion-list-mode-map
8841         in the docstring.
8843 2008-02-11  Sam Steingold  <sds@gnu.org>
8845         * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8847 2008-02-11  Glenn Morris  <rgm@gnu.org>
8849         * startup.el (emacs-startup-time): New variable.
8850         (command-line): Set emacs-startup-time.
8852         * calendar/time-date.el (emacs-uptime): New function.
8854 2008-02-10  Bastien Guerry  <bzg@altern.org>
8856         * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
8857         (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
8858         it is nil.
8860 2008-02-10  Daiki Ueno  <ueno@unixuser.org>
8862         * epg-config.el: Expand the contents of epg-package-info.el.
8863         (epg-package-name): New constant.
8864         (epg-version-number): New constant.
8865         (epg-bug-report-address): New constant.
8867         * epa-mail.el (epa-mail-mode): Add autoload cookie.
8868         (epa-global-mail-mode): New global minor mode.
8870         * epa-file.el (epa-file-mode): New global minor mode.
8872         * epa-dired.el (epa-dired-mode): New global minor mode.
8874         * epa.el (epa-menu): New variable.
8875         (epa-menu-items): New variable.
8876         (epa-menu-mode): New global minor mode.
8877         (epa-global-minor-modes): New user option.
8878         (epa-mode): New global minor mode.
8880 2008-02-10  Michael Albinus  <michael.albinus@gmx.de>
8882         * net/dbus.el: Remove `no-byte-compile' cookie.
8883         (dbus-call-method, dbus-register-signal, dbus-debug)
8884         (dbus-registered-functions-table): Declare them with
8885         `declare-function' or `defvar', respectively.
8886         (top): Don't assert any longer.  Require 'cl when compiling.
8887         Apply `ignore-errors' but `dbus-ignore-errors'.
8889 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8891         * diff-mode.el (diff-add-change-log-entries-other-window):
8892         Use add-change-log-entry.
8894 2008-02-09  Jason Rumney  <jasonr@gnu.org>
8896         * button.el (button-map):
8897         * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
8898         * ldefs-boot.el: Regenerate.
8900 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
8902         * epa.el (epa-faces, epa):
8903         * epa-file.el (epa-file):
8904         * epg-config.el (epg): Add :version.
8906 2008-02-09  Thien-Thi Nguyen  <ttn@gnuvola.org>
8908         * vc.el (vc-exec-after): Append CODE to previous fragments.
8909         (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
8910         take MESSAGES instead of VERBOSE; use it when non-nil.
8911         (vc-diff-internal): Compute messages once; use them;
8912         update call to vc-diff-finish.
8914 2008-02-09  Michael Olson  <mwolson@gnu.org>
8916         * net/tramp.el (tramp-process-sentinel): Avoid error when process
8917         buffer has been killed, such as by
8918         `tramp-cleanup-all-connections'.
8920 2008-02-09  Miles Bader  <miles@gnu.org>
8922         * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
8924 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
8927         splitter in context hunks.
8929 2008-02-08  Kenichi Handa  <handa@ni.aist.go.jp>
8931         * international/fontset.el (setup-default-fontset): Fix arabic otf
8932         font specification.
8934 2008-02-08  Daiki Ueno  <ueno@unixuser.org>
8936         * epa-dired.el:
8937         * epa-file.el:
8938         * epa-mail.el:
8939         * epa-setup.el:
8940         * epa.el:
8941         * epg-config.el:
8942         * epg-package-info.el:
8943         * epg.el: Initial check-in of EasyPG.
8945 2008-02-08  Glenn Morris  <rgm@gnu.org>
8947         * woman.el (woman-locale): New defcustom.
8948         (woman-expand-locale, woman-manpath-add-locales): New functions.
8949         (woman-manpath): Call woman-manpath-add-locales.  Bump :version.
8951         * international/mule-cmds.el (locale-translate): New function,
8952         with old code extracted from set-locale-environment.
8953         (set-locale-environment): Use locale-translate.  Set woman-locale.
8955         * cus-start.el (selection-coding-system): Remove, since it's now
8956         defined in select.el rather than in xselect.c.
8957         * select.el (selection-coding-system): Make it a defcustom, and
8958         add the properties from cus-start.el.  Bump :version.
8960         * custom.el (custom-theme-set-variables): Sort symbols that are
8961         dependencies before symbols that depend on them.
8962         (custom-enabled-themes): Set after custom-theme-directory.
8964         * pcmpl-unix.el (top-level): Move provide statement to end.
8965         (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
8966         `*' from doc-string.  Allow to be nil.
8967         (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
8968         Allow to be nil.  Add :version.
8969         (pcmpl-ssh-hosts): Move definition before use.  Handle lines
8970         without hostnames, and multiple hostnames per line.
8972         * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
8974 2008-02-08  Phil Hagelberg  <phil@evri.com>
8976         * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
8977         (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
8979 2008-02-07  Timo Savola  <timo.savola@iki.fi>
8981         * startup.el (command-line-x-option-alist): Add --parent-id.
8983         * term/x-win.el (x-handle-parent-id): New function.
8985 2008-02-07  Chris Moore  <christopher.ian.moore@gmail.com>
8987         * mouse.el (x-fixed-font-alist): Use consistent capitalization for
8988         "Font Menu".
8990 2008-02-06  Michael Albinus  <michael.albinus@gmx.de>
8992         * net/dbus.el (dbus-interface-peer): New defconst.
8993         (dbus-ping): New defun.
8995 2008-02-06  Sam Steingold  <sds@gnu.org>
8997         * vc-hooks.el (vc-prefix-key): New user-customizable variable.
8999 2008-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9001         * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
9002         Just return nil and let the C code provide a fallback.
9004 2008-02-05  Glenn Morris  <rgm@gnu.org>
9006         * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
9007         tramp-flush-connection-property for removed 2nd argument.
9009 2008-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9011         * diff-mode.el (diff-add-change-log-entries-other-window):
9012         Rename from diff-create-changelog.  Change users.
9013         Minor change to hopefully work with plain diffs.
9014         (diff-mode-map): Add binding for it.
9016 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
9018         * diff-mode.el: Add new TODO entry.
9019         (diff-create-changelog): New function.
9020         (diff-mode-menu): Bind it.
9022 2008-02-04  Kenichi Handa  <handa@ni.aist.go.jp>
9024         * international/mule-diag.el (print-fontset-element): Handle the
9025         case of inhibiting the fallback fonts.
9027 2008-02-04  Kim F. Storm  <storm@cua.dk>
9029         * ido.el (ido-magic-forward-char, ido-magic-backward-char)
9030         (ido-magic-delete-char): Use prefix arg.
9032 2008-02-03  Juanma Barranquero  <lekktu@gmail.com>
9034         * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
9035         because the latter is in fact a 1.2.8 build distributed with GTK+ (as
9036         of today, the most recent libpng is 1.2.24).
9038 2008-02-03  Michael Albinus  <michael.albinus@gmx.de>
9040         * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
9042         * net/dbus.el (top): Check (featurep 'dbusbind).
9044         * net/tramp.el (tramp-process-sentinel): New defun.
9045         (tramp-do-copy-or-rename-file-out-of-band)
9046         (tramp-maybe-open-connection): Use it as process sentinel.
9047         (tramp-handle-delete-directory): Don't use the "-f" option; it
9048         isn't portable.
9049         (tramp-handle-start-file-process): Echo `tramp-end-of-output'
9050         after the command.
9051         (tramp-handle-shell-command): Set `mode-line-process' in the
9052         asynchronous case.
9054         * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
9056         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
9057         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9058         Use `tramp-process-sentinel' as process sentinel.
9060 2008-02-02  Juanma Barranquero  <lekktu@gmail.com>
9062         * whitespace.el (global-whitespace-mode): Revert last change.
9063         (whitespace-unload-function): Force `global-whitespace-mode'
9064         to deactivate local modes in a slightly less intrusive way.
9066 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
9068         * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
9070 2008-02-02  Glenn Morris  <rgm@gnu.org>
9072         * international/latin1-disp.el (latin1-display):
9073         * progmodes/fortran.el (fortran-comment-indent-char):
9074         * progmodes/idlw-shell.el (top-level):
9075         * term/mac-win.el (mac-keyboard-translate-char):
9076         * whitespace.el (whitespace-char-valid-p):
9077         * wid-edit.el (widget-key-sequence-read-event):
9078         Use characterp rather than char-valid-p.
9080         * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
9081         to capitalized-find-word-boundary.  Doc fix.  Update callers.
9082         (capitalized-next-word-boundary-function-table): Rename to
9083         capitalized-find-word-boundary-function-table.  Doc fix.  Update users.
9085         * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
9086         string-to-int.
9088         * ps-def.el (declare-function): Add compatibility definition.
9089         (ps-plot-with-face, ps-plot-string): Declare as functions.
9090         (ps-bold-faces, ps-italic-faces): Declare variables.
9092         * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
9093         (ps-mule-end-job): Declare as functions.
9095         * wid-edit.el (widget-string-complete): Use assoc-string rather
9096         than assoc-ignore-case.
9098 See ChangeLog.13 for earlier changes.
9100 ;; Local Variables:
9101 ;; coding: utf-8
9102 ;; add-log-time-zone-rule: t
9103 ;; End:
9105     Copyright (C) 2008  Free Software Foundation, Inc.
9107   This file is part of GNU Emacs.
9109   GNU Emacs is free software: you can redistribute it and/or modify
9110   it under the terms of the GNU General Public License as published by
9111   the Free Software Foundation, either version 3 of the License, or
9112   (at your option) any later version.
9114   GNU Emacs is distributed in the hope that it will be useful,
9115   but WITHOUT ANY WARRANTY; without even the implied warranty of
9116   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9117   GNU General Public License for more details.
9119   You should have received a copy of the GNU General Public License
9120   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
9122 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc