(tar-summarize-buffer): Fix reporter initialization.
[emacs.git] / lisp / ChangeLog
blob1f6901920c4aa42eef6bedcbc7b8384eea091d89
1 2008-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
4         (tar-mode): Use write-region-annotate-functions rather than
5         write-contents-functions.
6         (tar-extract): Remove unused var `pos'.
7         (tar-subfile-save-buffer): Remove unused var `following-descs'.
8         (tar-mode-write-file): Remove.
9         (tar-write-region-annotate): New function.
11         * progmodes/flymake.el (flymake-save-buffer-in-file):
12         * shadowfile.el (shadow-copy-file):
13         * arc-mode.el (archive-*-write-file-member):
14         * files.el (diff-buffer-with-file):
15         * subr.el (with-temp-file): Pass nil to write-region.
16         * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
18         * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
19         the custom.
21         * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
22         to write-region.
24 2008-05-28  Glenn Morris  <rgm@gnu.org>
26         * Makefile.in (update-elclist): Work around non-portability of "\"
27         in various implementations of echo.
29 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
31         * international/mule-diag.el (describe-current-coding-system):
32         Don't assume selection-coding-system is always defined.
34         * tar-mode.el: Use defstruct and markers.
35         (tar-setf): Remove.
36         (tar-header): Use defstruct.  Add `data-start' field.
37         (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
38         (tar-desc-data-start): Remove (now called tar-header-data-start).
39         (tar-roundup-512): New fun.
40         (tar-header-block-tokenize): Receive a buffer position rather than
41         a string.  Handle @longLink here, be more careful about it.
42         Create a marker for data-start.
43         (tar-summarize-buffer): Don't handle @LongLink here any more.
44         (tar-expunge-internal, tar-subfile-save-buffer): Don't update
45         data-start on the following entries any more.
46         (tar-chown-entry, tar-chgrp-entry): Use read-number.
48         * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
49         (tar-header-offset): Remove.
50         (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
51         Not permanent any more.
52         (tar-data-buffer): New var.
53         (tar-data-swapped-p, tar-change-major-mode-hook)
54         (tar-mode-kill-buffer-hook): New funs.
55         (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
56         (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
57         (tar-clear-modification-flags, tar-alter-one-field)
58         (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
59         Change accordingly.
61 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
63         * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
64         (vc-dir-resynch-file): ... this.  Update callers.
65         Use vc-string-prefix-p.  Ignore directory args.
66         (vc-string-prefix-p): CSE.
67         (vc-resynch-buffer): Restore conditional.
69         * vc-hooks.el (vc-after-save): Improve test.
70         (vc-mode-line): Fix indentation.
72 2008-05-27  Chong Yidong  <cyd@stupidchicken.com>
74         * calendar/parse-time.el (parse-time-months)
75         (parse-time-weekdays): Add long-form month and day names.
77 2008-05-27  Glenn Morris  <rgm@gnu.org>
79         * Makefile.in (update-elclist): Make errors in final sed non-fatal.
81 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
83         * vc-dispatcher.el (vc-string-prefix-p): New function.
84         (vc-dir-parent-marked-p): Use it.
86 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
88         * vc.el (Problems): Remove fixed issues.
89         (vc-expand-dirs): Avoid returning directories.
90         (vc-dir): Fix C-x v v binding.
91         (vc-make-backend-object): Fix name.
92         (vc-dir-show-fileentry): Fix docstring.
93         (vc-dir-refresh): Use vc-dir-backend.  Fix docstring.
94         (vc-dir-refresh-files): Use vc-dir-backend.  Fix docstring.
95         Reset the state for directories.
96         (vc-dir-headers): Align labels.
97         (vc-default-status-printer): Do no call prettify-state-info.
98         (vc-deduce-fileset): Replace implementation with one based on a
99         working older version.
100         (vc-next-action): Use the new form of vc-deduce-fileset.
101         Fix dealing with unregistered files.
103         * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
104         (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
105         (vc-dir-child-files): New function.
106         (vc-dir-node-directory): New function.
107         (vc-dir-update, vc-dir-parent-marked-p)
108         (vc-dir-children-marked-p, vc-dir-mark-all-files)
109         (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
111         * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
113 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
115         * diff-mode.el (diff-context-mid-hunk-header-re): New const.
116         (diff-font-lock-keywords, diff-context->unified)
117         (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
118         (diff-hunk-text, diff-find-source-location): Use it.
119         (diff-post-command-hook): Let the user edit the hunk headers.
121 2008-05-26  Andreas Schwab  <schwab@suse.de>
123         * vc.el (vc-default-prettify-state-info): Fix formatting of an
124         unknown state.
126         * tar-mode.el (tar-summarize-buffer): Comment fix.
128 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
130         * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
132 2008-05-26  Glenn Morris  <rgm@gnu.org>
134         * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
136 2008-05-25  John Paul Wallington  <jpw@pobox.com>
138         * proced.el (proced-next-line, proced-previous-line):
139         Avoid calling `next-line' and `previous-line' from Lisp code.
141 2008-05-25  Ed Reingold  <reingold@emr.cs.iit.edu>
143         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
144         Use diary-ordinal-suffix.
146 2008-05-24  Juanma Barranquero  <lekktu@gmail.com>
148         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
149         (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
150         (edebug-save-displayed-buffer-points, edebug-initial-mode)
151         (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
152         (edebug-print-length, edebug-print-level, edebug-print-circle)
153         (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
154         (edebug-global-break-condition, edebug-sit-for-seconds):
155         Remove spurious * from defcustom docstrings.
156         (edebug-unwrap*, edebug-signal, edebug-eval-display):
157         Improve argument/docstring consistency.
158         (edebug-test-coverage, edebug-gensym, edebug-read)
159         (edebug-top-level-nonstop, edebug-eval-result-list)
160         (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
161         (edebug-eval-defun, edebug-eval-top-level-form, edebug)
162         (edebug-display-freq-count): Reflow docstrings.
163         (edebug-restore-status): Doc fix.
165 2008-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
167         * proced.el (proced-header-line): Use the :align-to 0 feature
168         rather than computing the corresponding position manually.
169         (proced-update): Don't hardcode point-min==1.
171 2008-05-24  Alan Mackenzie  <acm@muc.de>
173         * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
174         if c-file-style is set to a non-string.
176         (c-neutralize-CPP-line): Surround by `save-excursion'.
177         (c-neutralize-syntax-in-CPP): Optimize for speed.
179 2008-05-24  Glenn Morris  <rgm@gnu.org>
181         * Makefile.in (update-elclist): New target, to update ELCFILES.
182         (bootstrap-after): Run update-elclist.
184 2008-05-24  Ulf Jasper  <ulf.jasper@web.de>
186         * icalendar.el (icalendar-version): Increase to "0.19".
187         (icalendar--date-style): New function.
188         (icalendar--datetime-to-diary-date): Doc fix.
189         Use icalendar--date-style.
190         (icalendar--datestring-to-isodate): Doc fix.  Handle iso date style.
191         (icalendar--convert-yearly-to-ical)
192         (icalendar--convert-recurring-to-diary): Handle iso date style,
193         use icalendar-date-style.
195 2008-05-23  Dan Nicolaescu  <dann@ics.uci.edu>
197         * vc.el (vc-delete-file): Make sure the buffer is deleted and
198         vc-dir buffers are updated.
200 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
202         * vc.el (vc-delete-file): Don't try to resynch the buffer.
204 2008-05-23  Paul R  <paul.r.ml@gmail.com>
206         * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
207         * textmodes/reftex.el (reftex-extra-bindings-map): New var.
208         (reftex-extra-bindings): Use it.
210         * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
211         away from the user-reserved keys.
213         * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
214         New vars.
215         (ada-create-keymap): Use them.
217 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
219         * emacs-lisp/regexp-opt.el (regexp-opt): Always return
220         a properly-grouped regexp.
222 2008-05-23  Juanma Barranquero  <lekktu@gmail.com>
224         * progmodes/cap-words.el (capitalized-words-mode):
225         Fix typos in docstring.
227 2008-05-23  Kenichi Handa  <handa@m17n.org>
229         * international/mule-conf.el: Don't define the charset `emacs'
230         here, just put :docstring, :short-name, and :long-name.
232 2008-05-22  Kenichi Handa  <handa@m17n.org>
234         * international/mule-diag.el (font-show-log): Limit each listing
235         to 20 items.
237 2008-05-23  Nick Roberts  <nickrob@snap.net.nz>
239         * progmodes/gdb-ui.el (gdb-enable-debug): New function.
240         (gdb-annotation-rules): New entry for "thread-changed".
241         (gdb-thread-changed): New function.
243 2008-05-23  Glenn Morris  <rgm@gnu.org>
245         * Makefile.in (SOURCES): Remove, unused.
246         (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
247         (TAGS, TAGS-LISP): Use a single rule with multiple targets.
248         Exclude more '*loaddefs' files.
249         (compile-always): Simplify '.elc' deletion.
251 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
253         * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
254         (vc-bzr-revision-completion-table): Handle `boundaries' argument.
256         * minibuffer.el (completion-boundaries): Change calling
257         convention, so `string' has the same semantics as in
258         try-completion and all-completions.
259         (completion-table-with-context, completion--embedded-envvar-table)
260         (completion--file-name-table)
261         (completion-pcm--find-all-completions): Adjust code accordingly.
263 2008-05-22  Chong Yidong  <cyd@stupidchicken.com>
265         * image-mode.el (image-mode-winprops): Add argument CLEANUP to
266         prune image-mode-winprops-alist, preventing it from growing
267         indefinitely.
268         (image-mode-reapply-winprops): Use it.
270 2008-05-22  Teodor Zlatanov  <tzz@lifelogs.com>
272         * net/netrc.el (netrc-machine): Always match if the port is not given.
274 2008-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
276         * minibuffer.el (completion-pcm--find-all-completions):
277         Don't add pseudo-completions.
279         * icomplete.el (icomplete-eoinput): Remove.
280         (icomplete-overlay): New var to replace it.
281         (icomplete-tidy): Rewrite.
282         (icomplete-exhibit): Use an overlay.
283         (icomplete-completions): Use completion-all-sorted-completions.
284         Obey completion-ignore-case.
286         * files.el (locate-dominating-file): Accept non-existing argument.
287         (project-find-settings-file): Rewrite, using locate-dominating-file.
289 2008-05-22  Kenichi Handa  <handa@m17n.org>
291         * faces.el (font-weight-table, font-slant-table, font-width-table):
292         Delete them.  Don't call internal-set-font-style-table.
294         * international/mule-diag.el (font-show-log): New function.
296         * international/fontset.el (script-representative-chars): Add more
297         chars for latin.  Add data for symbol.
298         (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
300 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * minibuffer.el (completion-all-sorted-completions): New var.
303         (completion--flush-all-sorted-completions)
304         (completion-all-sorted-completions): New functions.
305         (minibuffer-force-complete): New command.
307 2008-05-21  Glenn Morris  <rgm@gnu.org>
309         * files.el (c-postprocess-file-styles): Declare for compiler.
311         * Makefile.in: Allow for parallel byte-compiling.
312         (ELCFILES): New variable.
313         (.el.elc): Remove prerequisites from suffix rule.  Print a message.
314         (compile-first, compile-main, compile-last): New targets.
315         (compile-always): Simplify - delete .elc files, then `make compile'.
317         * Makefile.in (compile-calc): Use glob rather than find.
318         ($(lisp)/progmodes/cc-mode.elc): Use $@.
320         * eshell/esh-module.el: No need for cl when compiling.
322         * eshell/eshell.el (eshell-defgroup): New alias.
323         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
324         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
325         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
326         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
327         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
328         * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
329         Autoload the custom group.  Set generated-autoload-file.
330         * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
331         for eshell-defgroup.
332         * eshell/esh-module.el (eshell-load-defgroups): Remove.
333         Require esh-groups rather than loading it.
335 2008-05-21  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
337         * proced.el (proced-header-line): New variable and new function.
338         (proced-mode): Set header-line-format.
339         (proced-update): Set proced-header-line.
340         (proced-send-signal): Use proced-header-line.
342 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
344         * macros.el (insert-kbd-macro): Use prin1-char.
346 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
348         * minibuffer.el (completion-boundaries): New function.
349         (completion--some): Delay errors.
350         (complete-with-action, completion-table-with-context):
351         Handle `boundaries' case.
352         (completion--try-word-completion): Avoid partial-completion
353         when the user hasn't entered anything yet.
354         (minibuffer-local-map, minibuffer-local-filename-completion-map)
355         (minibuffer-local-must-match-map, minibuffer-local-completion-map)
356         (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
357         Setup default keybindings.
358         (completion--embedded-envvar-re): New var.
359         (completion--embedded-envvar-table): Use it.  Handle `boundaries' case.
360         (completion--file-name-table): Handle `boundaries' case.
361         (completion-pcm--pattern->regex): Avoid pathological backtracking.
362         (completion-pcm--all-completions): Add a `prefix' arg.
363         (completion-pcm--find-all-completions): New function.
364         (completion-pcm-all-completions, completion-pcm-try-completion):
365         Use it.
367         * icomplete.el (icomplete-completions): Don't use `predicate' with
368         a table of a different type than `candidates'.
370 2008-05-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
372         * proced.el (proced-goal-column): Rename from proced-procname-column.
373         (proced-goal-header-re): Rename from proced-procname-column-regexp.
374         (proced-move-to-goal-column): Rename from proced-move-to-procname.
375         (proced-header-face, proced-header-regexp): Remove.
376         (proced-font-lock-keywords): Remove proced-header-face.
377         (proced-header-alist, proced-sorting-schemes-re): New variables.
378         (proced): Rename Proced buffer to *Proced*.
379         (proced-next-line, proced-previous-line): New commands.
380         (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
381         (proced-hide-processes): Do not treat first line as special.
382         (proced-header-space): New function.
383         (proced-update): Use header-line-format.
384         Initialize proced-header-alist and proced-sorting-schemes-re.
385         Set proced-goal-column.  Include proced-command in mode-name.
386         (proced-send-signal): Use header-line-format for *Marked
387         Processes* buffer.
388         (proced-sort): Restrict minibuffer completion to applicable
389         sorting schemes.
390         (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
392 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
394         * icomplete.el (icomplete-simple-completing-p):
395         Allow icomplete-with-completion-tables to say "use it everywhere".
396         (icomplete-completions): Obey completion-styles.  Try to accommodate
397         partial-completion style.
399 2008-05-20  Michael Olson  <mwolson@gnu.org>
401         * files.el (project-find-settings-file): Change concat to
402         expand-file-name.
404 2008-05-19  Tom Tromey  <tromey@redhat.com>
406         * files.el (normal-mode): Call hack-project-variables.
407         (hack-local-variables-confirm): Add 'project' argument.
408         (hack-local-variables-apply): New function.
409         (hack-local-variables): Use it.
410         (project-class-alist, project-directory-alist): New variables.
411         (project-get-alist): New function.
412         (project-collect-bindings-from-alist)
413         (project-collect-binding-list, set-directory-project)
414         (project-find-settings-file, project-define-from-project-file)
415         (hack-project-variables): New functions.
417 2008-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
421 2008-05-19  Juanma Barranquero  <lekktu@gmail.com>
423         * faces.el (font-weight-table): Fix typo in docstring.
425 2008-05-18  David Hull  <david@snap.com>  (tiny change)
427         * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
428         (vc-hg-annotate-command): Allow white space before version number.
430 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
432         * calc/calc-yank.el (calc-register-alist): New variable.
433         (calc-set-register,calc-get-register,calc-copy-to-register)
434         (calc-insert-register,calc-add-to-register,calc-append-to-register)
435         (calc-prepend-to-register): New functions.
437         * calc/calc-ext.el (calc-init-extensions): Add keybindings for
438         `calc-copy-to-register' and `calc-insert-register'.
439         Autoload new register functions.
441         * calc/calc-help.el (calc-r-prefix-help): Add help for register
442         functions.
444 2008-05-18  Dan Nicolaescu  <dann@ics.uci.edu>
446         * vc.el (Todo): Add known problems.
447         (vc-dir-backend): New variable.
448         (vc-dir): Set it.
449         (vc-make-backend-object, vc-generic-status-printer)
450         (vc-generic-state, vc-generic-status-fileinfo-extra)
451         (vc-dir-extra-menu): Use it.
452         (vc-generic-dir-headers): Remove, unused.
454         * vc-dispatcher.el (vc-dir-previous-directory): Rename from
455         vc-dir-prev-directory for consistency with vc-dir-previous-line.
456         (vc-dir-mode-map): Fix bindings.
458         * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
460 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
462         * calc/calc-yank.el (calc-kill): Make sure that only the stack is
463         operated on.
464         (calc-kill-region): Kill entire lines.
466 2008-05-17  Glenn Morris  <rgm@gnu.org>
468         * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
469         simplify initial value.
470         (defezimage): Drop support for Emacs without defimage, use a featurep
471         test rather than fboundp when defining, drop with-no-warnings.
472         (ezimage-insert-over-text): Move featurep test inside
473         add-text-properties.
475         * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
477         * net/tramp.el (top-level): Load auth-source when compiling.
479         * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
481 2008-05-17  Andreas Schwab  <schwab@suse.de>
483         * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
485 2008-05-17  Dan Nicolaescu  <dann@ics.uci.edu>
487         * vc.el (vc-annotate-show-diff-revision-at-line): Change
488         vc-diff-internal arg to match what vc-deduce-fileseset returns now.
490 2008-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
492         * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
494 2008-05-17  Jim Meyering  <meyering@redhat.com>
496         * ido.el (ido-save-history): Do not emit a trailing newline at the
497         end of the ido history file.
499 2008-05-16  John Paul Wallington  <jpw@pobox.com>
501         * vc-dispatcher.el (top-level): Revert previous change: require cl
502         when compiling.
504 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
506         * vc.el (vc-default-status-printer)
507         (vc-default-prettify-state-info): Enhance the state prettyprinter
508         to deal better with unknown states and indirect through it when
509         painting vc-dir buffers.
511 2008-05-16  John Paul Wallington  <jpw@pobox.com>
513         * vc-dispatcher.el (top-level): Don't require cl when compiling.
514         (vc-dir-mode-map): Fix backquote.
515         (vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.
517 2008-05-16  Michael Albinus  <michael.albinus@gmx.de>
519         * net/tramp.el (tramp-handle-write-region): Fix check for short track.
520         Reported by Glenn Morris <rgm@gnu.org>.
522 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
524         * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
525         the end of the file, it was good work at one time but has been
526         stale since 1995 and may now be actively misleading.
527         * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
528         CVS repository and module (assumptions for the latter a bit iffy).
529         * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
530         SVN repository.
532 2008-05-16  Juanma Barranquero  <lekktu@gmail.com>
534         * vc-rcs.el (vc-rcs-create-tag):
535         * vc-sccs.el (vc-sccs-create-tag):
536         Fix typo in error message and pass backend arg.
538 2008-05-15  Michael Albinus  <michael.albinus@gmx.de>
540         * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
542 2008-05-15  Teodor Zlatanov  <tzz@lifelogs.com>
544         * net/tramp.el: Load auth-source library.
545         (tramp-read-passwd): Use it for password, not login.
547 2008-05-15  Shigeru Fukaya  <shugeru.fukaya@gmail.com>
549         * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
550         (ses-print-cell): Use string-width, truncate-string-to-width,
551         delete-region rather than length, substring, delete-char.
552         (ses-setup): Set inhibit-point-motion-hooks to t.
553         Calculate position by actually moving point rather than just using
554         unibyte character length.
555         (ses-mode): Set indent-tabs-mode to nil.
556         (ses-center): Use string-width rather than length.
558 2008-05-15  Eric S. Raymond  <esr@snark.thyrsus.com>
560         * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
561         * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
562         Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
563         vc-*-create-tag and vc-*-retrieve-tag respectively.
565         * vc-dispatcher.el: Fix an incorrect buffer name and remove an
566         unneeded defalias.
568         * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
570         * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
571         about buffer names.
573 2008-05-15  Glenn Morris  <rgm@gnu.org>
575         * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
577         * org/org-exp.el (org-infojs-options-inbuffer-template):
578         Fix declaration.
580         * progmodes/cc-mode.el (declare-function): Add compat definition.
581         (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
583 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
585         * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
586         list to a cons so the caller can get back both expanded and
587         unexpanded filesets.
588         * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
589         (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
590         Change handling of selection-set returns as required.
592 2008-05-15  John Paul Wallington  <jpw@pobox.com>
594         * add-log.el (top-level): Don't require cl when compiling.
596         * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
597         (archive-*-extract): Use `zerop'
598         (archive-*-write-file-member): Use `or', use `zerop'.
600         * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
602         * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
603         (ibuffer-mark-interactive, ibuffer-set-mark)
604         (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
605         (ibuffer-map-lines, ibuffer-switch-format)
606         (ibuffer-update-title-and-summary)
607         (ibuffer-redisplay-engine): Use it.
609         * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
610         (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
611         (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
612         (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
613         (ibuffer-mark-read-only-buffers)
614         (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
616         * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
617         (define-ibuffer-column, define-ibuffer-sorter)
618         (define-ibuffer-op, define-ibuffer-filter): Add declarations
619         containing indentation specs, replacing equivalent top-level
620         forms that set `lisp-indent-function' properties.
621         (define-ibuffer-op): Use `derived-mode-p'.
622         (define-ibuffer-filter): Remove redundant `concat' call.
624 2008-05-14  Michael Albinus  <michael.albinus@gmx.de>
626         * net/tramp.el (tramp-echo-mark): Update docstring.
627         (tramp-echo-mark-marker): New defconst.
628         (tramp-check-for-regexp): Use it.
630 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
632         * vc.el (vc-deduce-fileset): Do the right thing when visting a
633         buffer (say, a log buffer or diff buffer) with a vc-dir buffer
634         as parent.
636 2008-05-14  John Paul Wallington  <jpw@pobox.com>
638         * international/mule.el (convert-define-charset-argument):
639         Remove period from end of error message.
640         (coding-system-mnemonic): Doc fix.
641         (ctext-pre-write-conversion): Doc fix.
643 2008-05-14  Simon Marshall  <simon@gnu.org>
645         * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
646         from its default value and give it the risky-local-variable
647         property (CVE-2008-2142).
649 2008-05-14  Kenichi Handa  <handa@m17n.org>
651         * language/korean.el ("Korean"): Set `iso639-language'
652         property to `ko'.
654         * language/japanese.el ("Japanese"): Set `iso639-language'
655         property to `ja'.
657         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
658         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
659         ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
661         * international/mule-cmds.el (set-language-environment):
662         Set current-iso639-language.
664         * international/fontset.el (setup-default-fontset): For kana, han,
665         hangul, and cjk-misc, move an entry with font-spec at the end.
666         (generate-fontset-menu): Exclue fontset-auto* from the list.
668         * composite.el (compose-chars-after): Assume that WINDOW is always
669         non-nil.
671         * faces.el (font-weight-table, font-slant-table)
672         (font-swidth-table): Declare them by defconst.  Change the format
673         of elements.  Call internal-set-font-style-table after their
674         declaration.
675         (face-valid-attribute-values): Call font-family-list.  Get values
676         for width, weight, and slant from font-xxx-table.
678         * cus-face.el (custom-face-attributes): Add "thin" for :weight.
680 2008-05-13  John Paul Wallington  <jpw@pobox.com>
682         * ibuffer.el (ibuffer-buffer-file-name): New function.
683         (define-ibuffer-column filename): Use it.
685         * ibuf-ext.el (define-ibuffer-filter filename): Use it.
687 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
689         * talk.el (talk): Simplify.  Pass display arg to talk-add-display
690         as a string.
691         (talk-add-display): Simplify.  Accept only string args.
693 2008-05-13  Jay Belanger  <jay.p.belanger@gmail.com>
695         * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
697 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * Makefile.in (bootstrap-prepare): Don't chmod files.
700         (autoloads): Do it here instead, where it's actually needed.
702 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
704         * tool-bar.el (tool-bar-make-keymap): Account for the optional
705         KEY-BINDING-DATA field in menu-item list.
707 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
709         * dired.el (dired-read-dir-and-switches): Move things about to use less
710         recursion during macroexpansion.
712         * dired.el (dired-read-dir-and-switches): Use read-file-name.
714         * dired.el (dired-read-dir-and-switches): Ignore ., .., and
715         completion-ignored-extension directories if there's something else.
716         (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
717         (dired-remember-marks, dired-undo, dired-build-subdir-alist)
718         (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
719         (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
720         buffer-read-only -> inhibit-read-only.
722 2008-05-12  Eric S. Raymond  <esr@snark.thyrsus.com>
724         * vc.el (vc-expand-dirs): Stop this function from tossing out
725         explicitly specified files.
727 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
729         * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
730         to `insert'.
732 2008-05-12  Dan Nicolaescu  <dann@ics.uci.edu>
734         * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
735         cons.  Use vc-annotate-backend.
736         (with-vc-file, edit-vc-file): Remove unused macros.
738 2008-05-12  Teodor Zlatanov  <tzz@lifelogs.com>
740         * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
741         (smtpmail-try-auth-methods): Use it.
743 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
745         * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
746         (setf (nthcdr ..) ..) doesn't require CL at runtime.
748 2008-05-11  Carsten Dominik  <dominik@science.uva.nl>
750         * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
752 2008-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
754         * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
755         (vc-bzr-revision-completion-table): Use process-file.
756         (vc-bzr-working-revision): Pass relative file names.
758         * diff-mode.el (diff-hunk-header-re): Refine the regexp.
760 2008-05-11  Juri Linkov  <juri@jurta.org>
762         * wid-edit.el (widget-image-directory): Change default image data
763         subdirectory from "custom" to "images/custom".
765         * info.el (Info-next-preorder): Let-bind `Info-history' to nil
766         before recursive call to `Info-next-preorder' to not add
767         intermediate nodes to the history.
769         * isearch.el: Put isearch-scroll property on recenter-top-bottom.
771         * emulation/cua-base.el: Put isearch-scroll property
772         on cua-scroll-up and cua-scroll-down.
774 2008-05-11  Eric S. Raymond  <esr@snark.thyrsus.com>
776         * vc-hooks.el (vc-recompute-state): Remove (dead code).
778 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
780         * vc-dispatcher.el (ewoc): Require.
781         (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
783         * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
785 2008-05-10  Chong Yidong  <cyd@stupidchicken.com>
787         * term/w32-win.el (x-colors):
788         * term/mac-win.el (x-colors):
789         * term/x-win.el (x-colors): Re-order colors.
791 2008-05-10  Reiner Steib  <reiner.steib@gmx.de>
793         * smerge-mode.el (smerge-command-prefix): Fix custom type.
795 2008-05-10  Eric S. Raymond  <esr@snark.thyrsus.com>
797         * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
798         New functions implementing motion to next and previous directory.
800         * vc-arch.el (vc-arch-command):
801         * vc-bzr.el (vc-bzr-command):
802         * vc-cvs.el (vc-cvs-command):
803         * vc-dispatcher.el (vc-do-command):
804         * vc-git.el (vc-git-command):
805         * vc-hg.el (vc-hg-command):
806         * vc-mcvs.el (vc-mvcs-command):
807         * vc-mtn.el (vc-mtn-command):
808         * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
809         (vc-sccs-workfile-unchanged-p):
810         * vc-svn.el (vc-svn-command, vc-svn-create-repo),
811         * vc-rcs.el (all methods): Remove assumption about what a nil
812         argument to vc-do-command means.  This means no buffer name needs
813         to be hardcoded into the dispatcher layer, and it's better to be
814         explicit anyway.
816         * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
818 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
820         * vc.el: Update todo.
822         * vc-sccs.el (vc-sccs-dir-status):
823         * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
824         backends and returning up to date files.
826         * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
828 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
830         * vc.el (vc-dir):
831         * vc-hooks.el: Tweak the VC directory bindings.  These are now
832         documented in the manual.
834         * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
835         (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
836         (vc-dispatcher-selection-set): Allow callers to pass in an
837         observer flag that says no buffer sync is required.
838         * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
839         Use the observer flag.
841 2008-05-09  Michael Albinus  <michael.albinus@gmx.de>
843         * simple.el (start-file-process): Clarify docstring.
845 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
847         * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
848         Remove stub implementations of, and references to, wash-log.
849         * vc-rcs.el (vc-rcs-comment-history):
850         * vc-cvs.el (vc-cvs-comment-history):
851         Inline the code that used to be wash-log.
853         * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
854         (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
855         (vc-sccs-print-log, vc-sccs-diff): Grok directories.
856         * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
857         (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
858         (vc-rcs-print-log): Grok directories.
860 2008-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
862         * vc.el (vc-mark-resolved): Add `backend' argument.
863         (vc-next-action): Pass it the backend.
864         (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
865         (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
866         (vc-default-comment-history, vc-default-create-snapshot)
867         (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
868         (vc-annotate-revision-previous-to-line)
869         (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
870         * vc-svn.el (vc-svn-checkout):
871         * vc-mcvs.el (vc-mcvs-checkout):
872         * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
873         (vc-working-revision, vc-before-save, vc-mode-line):
874         Prefer vc-call-backend to vc-call so as not to recompute the backend.
876         * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
877         state to be consistent since it's often an unwarranted restriction.
878         Don't return the state either.
879         (vc-next-action): Check that the state is consistent.
880         (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
881         (vc-rollback, vc-update): Adapt to new return value of
882         vc-deduce-fileset.
884         * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
885         (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
886         (vc-dispatcher-in-fileset-p): New fun.
887         (vc-dispatcher-selection-set): Use it to properly handle directories.
889 2008-05-09  Dan Nicolaescu  <dann@ics.uci.edu>
891         * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
892         (vc-update): Remove unused let bindings.
894 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
896         * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
897         (vc-diff, vc-revert, vc-rollback, vc-update):
898         * vc-dispatcher.el (vc-dispatcher-selection-set):
899         Get rid of 4 special cases in fileset selection.  This involved
900         changing the return value of (vc-deduce-fileset) so that it passes
901         back a deduced state as well as a deduced back end.
903 2008-05-08  Sam Steingold  <sds@gnu.org>
905         * progmodes/compile.el (compilation-minor-mode-map)
906         (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
907         * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
908         to `compilation-minor-mode-map' (instead of an explicit `cons').
910 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
912         * org/org.el (org-modules, org-format-latex-options):
913         * org/org-archive.el (org-archive-stamp-time)
914         (org-archive-save-context-info):
915         * org/org-faces.el (org-hide):
916         * org/org-irc.el (org-irc-parse-link):
917         * org/org-macs.el (org-call-with-arg, org-autoload):
918         * org/org-mew.el (org-mew-store-link):
919         * org/org-remember.el (org-remember-store-without-prompt)
920         (org-remember-templates): Fix typos in docstrings.
922         * org/org-info.el (org-info-store-link): Remove leftover docstring.
924         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
925         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
926         (org-bbdb-anniv-split): Fix typos in docstrings.
928         * org/org-publish.el (org-publish-project-alist): Doc fixes.
929         (org-publish-use-timestamps-flag): Reflow docstring.
930         (org-publish-files-alist): Fix typos in docstring.
932 2008-05-07  Sam Steingold  <sds@gnu.org>
934         * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
935         appears to be too aggressive with window removal.
937 2008-05-08  Michael McNamara  <mac@mail.brushroad.com>
939         * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
940         as pragma keywords.
941         (verilog-pretty-expr): Support lining up assignments which include
942         part selects.
943         (verilog-mode): More portable check for the availability of
944         hideshow support.
945         (verilog-do-indent): Remove special indent for declarations inside
946         a parenthetical list.  The code is ill-advised, and doesn't work
947         given the new user defined types.
948         (verilog-set-auto-endcomments): Enhance function automatic
949         endcomment to support functions that return user defined types.
950         (verilog-mode): Add code to tell which-function-mode minor mode
951         that Verilog supports this feature.
953 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
955         * epa-file.el: Require epa-hook.
957         * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
959         * epa-hook.el: Renamed from epa-file-hook.el, to avoid
960         file-names clashes on 8+3 filesystems.  Provide epa-hook.
962         * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
963         file-names clashes on 8+3 filesystems.
965 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
967         * org/org.el (org-read-date-get-relative): Interpret lone
968         weekday abbreviation as relative to today.
970 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
972         * abbrev.el (define-abbrev-table):
973         * composite.el (toggle-auto-composition):
974         * json.el (json-alist-p, json-plist-p):
975         * minibuffer.el (completion-table-with-predicate):
976         * ps-mule.el (ps-mule-external-libraries):
977         * emacs-lisp/advice.el (ad-special-form-p):
978         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
979         * eshell/em-smart.el (eshell-review-quick-commands):
980         * progmodes/python.el (python-comment-line-p, python-blank-line-p)
981         (python-skip-out, python-check-comint-prompt):
982         Don't use `iff' in docstrings.
984         * international/robin.el (robin-package-alist): Fix typo in docstring.
985         (robin-current-package-name): Doc fix.
986         (robin-activate): Don't use `iff' in docstring.
988 2008-05-07  Eric S. Raymond  <esr@snark.thyrsus.com>
990         * vc.el, vc-dispatcher.el: VC-Dired support removed.
991         The code uses a ewoc-based implementation now.
992         * vc-hooks.el: Support for Meta-CVS has been removed.
994 2008-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
996         * tool-bar.el: Choose images dynamically.
997         (tool-bar-make-keymap, tool-bar-find-image): New function.
998         (tool-bar-find-image-cache): New var.
999         (tool-bar-local-item, tool-bar-local-item-from-menu):
1000         Don't select the image yet, do it later in tool-bar-make-keymap.
1002 2008-05-07  Andreas Schwab  <schwab@suse.de>
1004         * window.el: Require 'cl when compiling.
1006 2008-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
1008         * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
1010 2008-05-07  Glenn Morris  <rgm@gnu.org>
1012         * subr.el (ignore-errors): Move here from cl-macs.el.
1013         * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
1015         * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
1016         oddness.
1018 2008-05-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1020         * vc-hooks.el (vc-find-file-hook):
1021         * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
1022         further from vc.el.
1023         * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
1025 2008-05-06  Wilson Snyder  <wsnyder@wsnyder.org>
1027         * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
1028         (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
1029         (verilog-auto-inout, verilog-auto-inout-module)
1030         (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
1031         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1032         (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
1033         (verilog-auto-sense-sigs, verilog-auto-tieoff)
1034         (verilog-auto-unused, verilog-auto-wire)
1035         (verilog-decls-get-assigns, verilog-decls-get-consts)
1036         (verilog-decls-get-gparams, verilog-decls-get-inouts)
1037         (verilog-decls-get-inputs, verilog-decls-get-outputs)
1038         (verilog-decls-get-ports, verilog-decls-get-regs)
1039         (verilog-decls-get-signals, verilog-decls-get-wires)
1040         (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
1041         (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
1042         (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
1043         (verilog-inject-sense, verilog-library-filenames)
1044         (verilog-mode-release-date, verilog-mode-version)
1045         (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
1046         (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
1047         (verilog-modi-get-assigns, verilog-modi-get-consts)
1048         (verilog-modi-get-gparams, verilog-modi-get-inouts)
1049         (verilog-modi-get-inputs, verilog-modi-get-outputs)
1050         (verilog-modi-get-ports, verilog-modi-get-regs)
1051         (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
1052         (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
1053         (verilog-modi-get-wires, verilog-preserve-cache)
1054         (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
1055         (verilog-read-sub-decls, verilog-read-sub-decls-line)
1056         (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
1057         (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
1058         Add caching of additional state, and rework signal extraction
1059         routines to improve AUTO expansion performance by 300%++.
1061 2008-05-06  Chong Yidong  <cyd@stupidchicken.com>
1063         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1064         Tweak Open Watcom regexp to distinguish between errors and warnings.
1066 2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1068         * dired.el (dired-read-dir-and-switches): Fix up last change.
1070 2008-05-05  Eric S. Raymond  <esr@snark.thyrsus.com>
1072         * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
1073         out of this function, move it to vc-dispatcher-selection-set.
1075 2008-05-05  Sam Steingold  <sds@gnu.org>
1077         * window.el (delete-other-windows-vertically): New function.
1079 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1081         * dired.el (dired-read-dir-and-switches):
1082         Obey read-file-name-completion-ignore-case.
1084 2008-05-05  Nick Roberts  <nickrob@snap.net.nz>
1086         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1087         Add regexp for Open Watcom compiler output.
1089 2008-05-05  Phil Sung  <psung@mit.edu>  (tiny change)
1091         * progmodes/python.el (python-block-pairs): Align finally with except.
1093 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1095         * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
1097 2008-05-05  Tom Tromey  <tromey@redhat.com>
1099         * smerge-mode.el (smerge-start-session): Don't call smerge-next if
1100         looking at conflict marker.
1102 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1104         * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
1105         client-mode -> vc-client-object, and guess `funcall' was meant.
1106         (vc-dir-mode): Rename client-mode -> vc-client-mode.
1108 2008-05-05  Dan Nicolaescu  <dann@ics.uci.edu>
1110         * net/zeroconf.el (dbus-call-method, dbus-register-signal)
1111         (dbus-debug): Move declarations outside eval-when-compile.
1113 2008-05-04  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
1115         * proced.el (proced-command-alist): Fix system-type values.
1116         Fix defcustom.
1117         (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
1118         (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
1119         (proced-sort-start, proced-sort, proced-sort-time): New commands.
1120         (proced-update): Use proced-sorting-scheme.  Update modeline.
1121         (proced-send-signal): Use nreverse.
1122         (proced-sorting-scheme-p): New function.
1124 2008-05-04  Andreas Schwab  <schwab@suse.de>
1126         * vc.el: Require dired when compiling.
1128         * minibuffer.el (completion--insert-strings): Don't delete past bol.
1130 2008-05-03  Glenn Morris  <rgm@gnu.org>
1132         * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
1133         * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
1134         Simplify compilation requirements.
1135         * ediff-init.el, ediff-vers.el: Remove unnecessary variable
1136         declarations.
1138 2008-05-03  Dave Love  <fx@gnu.org>
1140         * progmodes/python.el (python-beginning-of-statement):
1141         Loop at least once (fixes 2008-02-21 change).
1143 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
1145         * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
1146         instead of `length' for comparing length of user and group names.
1148 2008-05-03  Eric S. Raymond  <esr@snark.thyrsus.com>
1150         * vc-dispatcher.el: New file, separates out the UI and command
1151         execution machinery from VCS-specific logic left in vc.el.
1152         The separation is not yet completely clean, but it's a good start.
1153         * vc.el: This file is about 1700 lines shorter now.
1154         Remove obsolete logentry-check from the backend API.
1155         * vc-sccs.el (vc-sccs-logentry-check): Remove.  This was the only
1156         implementation of the logentry-check method, and it guarded against
1157         a log length limit that has probably been obsolete for 15 years (!).
1159 2008-05-02  Sam Steingold  <sds@gnu.org>
1161         * progmodes/compile.el (compilation-start): Move setting of
1162         compilation-directory after (funcall mode) as that resets local
1163         variables, this fixes recompile in grep buffers.
1164         * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
1166 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1168         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1169         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1170         * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
1171         has one of these and that all are called in compatible ways.
1172         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
1173         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
1174         * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
1175         backend has one of these.
1177 2008-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1179         * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
1180         initialization into define-abbrev-table.  Use :regexp.
1181         (octave-mode-syntax-table): Don't set word syntax for `.
1183         * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
1184         than only value.
1186         * dired.el (dired-read-dir-and-switches):
1187         Set minibuffer-completing-file-name and call substitute-in-file-name.
1188         (dired-format-columns-of-files): Use completion--insert-strings.
1190         * minibuffer.el (completion-hilit-commonality): Revert last change:
1191         the leftover code was actually useful.
1192         (completion--insert-strings): Use string-width rather than length.
1194 2008-05-02  Sam Steingold  <sds@gnu.org>
1196         * vc.el (vc-dir-mode-map): Enable mouse bindings.
1197         (vc-at-event): New macro: run the body at the even location.
1198         (vc-dir-menu, vc-dir-toggle-mark): Use it.
1199         (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
1200         * subr.el (mouse-event-p): Check if the even is mouse-related.
1202 2008-05-02  Nick Roberts  <nickrob@snap.net.nz>
1204         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
1205         Don't throw error if no file is found.
1207 2008-05-02  Juanma Barranquero  <lekktu@gmail.com>
1209         * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
1210         (vc-default-state-heuristic): Doc fix.
1212 2008-05-02  Richard Sharman  <rsharman@pobox.com>
1214         * hilit-chg.el (highlight-changes-mode): Remove references to
1215         hooks that no longer exist.  Because define-minor-mode is used the
1216         hook highlight-changes-mode-hook exists and can do what both the
1217         old hooks used to do.  The documentation at the top of the file
1218         was updated to demonstrate this.
1219         (highlight-changes-mode): Remove commented out call to a hook
1220         function that is no longer there.
1221         (hilit-chg-set): Remove running of highlight-changes-enable-hook.
1223 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1225         * vc.el (vc-default-dired-state-info): Change name of primitive
1226         to prettify-state-info, in preparation for ripping out dired mode.
1227         * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
1228         to prettify-state-info, in preparation for ripping out dired mode.
1229         * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
1230         tries this on a version-controlled buffer.  It will do useless or
1231         actively bad things on any version control system newer than RCS.
1232         * vc-hooks.el (vc-dired-resynch-file):
1233         * vc.el (vc-dired-resynch-file): Change name of primitive to
1234         vc-directory-resynch-file, preparing to remove dired.
1236 2008-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
1238         * vc-rcs.el (vc-rcs-state): Fix typos.
1240         * vc.el (vc-register): Change argument order so that the prefix
1241         argument is assigned correctly.
1242         (vc-next-action, vc-dir-register): Update for the above change.
1244 2008-05-01  Juri Linkov  <juri@jurta.org>
1246         * replace.el (occur-read-primary-args): Set default to the car of
1247         regexp-history and display it in the prompt, but don't add to the
1248         list of minibuffer defaults.  Bind history-add-new-input to nil to
1249         not add automatically `default'.  For empty input return `default'.
1250         Otherwise, add `input' to regexp-history and return it.
1251         (occur-1): Signal an error for the empty regexp.
1253         * progmodes/compile.el (compilation-auto-jump):
1254         Set window point to `pos' explicitly.
1256 2008-05-01  Eric S. Raymond  <esr@snark.thyrsus.com>
1258         * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
1259         when appropriate.
1260         * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
1261         we report the 'unregistered state reliably.
1262         * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
1263         we report the 'unregistered state reliably.
1264         * vc-git.el (vc-git-state): Call vc-git-unregistered so
1265         we report the 'unregistered state reliably.
1266         * vc-hooks (vc-state): Document that vc-unregistered is
1267         now expected to be returned reliably.
1268         * vc.el (vc-default-dired-state): Change needs-patch state to
1269         needs-update, since the name now shows up in dir-status listings
1270         and was somewhat misleading.
1271         * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
1272         immediately after removing the file.
1273         * vc.el (vc-next-action): More informative messages when a fileset
1274         is in a mixed state or files are missing.
1276 2008-05-01  Sam Steingold  <sds@gnu.org>
1278         * vc.el (vc-delete-file): Check if the file has uncommitted changes.
1280 2008-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1282         * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
1284 2008-05-01  Daiki Ueno  <ueno@unixuser.org>
1286         * epa-file-hook.el: New file split from epa-file.el.
1287         * epa-file.el: Require 'epa-file-hook.
1288         (epa-file-handler): Add autoload cookie.
1289         * loadup.el: Load epa-file-hook.
1290         * startup.el (command-line): Eval the body of auto-encryption-mode.
1292 2008-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
1294         * vc.el (vc-dir-mode-map): Don't bind "r".
1296         * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
1297         (vc-hg-status-printer): New function.
1298         (vc-hg-after-dir-status): Deal with copied and renamed files.
1299         (vc-hg-dir-status): Add flag to show copied files.
1301 2008-05-01  John Paul Wallington  <jpw@pobox.com>
1303         * ibuffer.el (ibuffer-last-sorting-mode): New variable.
1304         (ibuffer-do-sort-by-recency): Reverse sorting order if last
1305         sorting mode was recency.
1307         * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
1308         reverse sorting order if last sorting mode was the sorter's.
1310 2008-05-01  Jason Rumney  <jasonr@gnu.org>
1312         * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
1314 2008-04-30  John Paul Wallington  <jpw@pobox.com>
1316         * ibuffer.el (define-ibuffer-column filename): When the major mode
1317         is `vc-dir-mode' show the buffer's default directory.
1319         * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
1320         major mode is `vc-dir-mode' use the buffer's default directory.
1322 2008-04-30  Sam Steingold  <sds@gnu.org>
1324         * vc.el (vc-dir-delete-file): Add.
1325         (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
1326         (vc-delete-file): Do not barf when the file has been already deleted.
1328 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1330         * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
1332 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1334         * progmodes/octave-mod.el (octave-help): New function.
1335         * progmodes/octave-hlp.el: Delete.
1336         * info-look.el (octave-mode): Add operator index.
1338         * vc.el (vc-checkout): Typo.
1340 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
1342         * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
1343         Add "..." in the appropriate places.
1345         * epa.el (epa-key-list-mode-map): Add more menu entries.
1346         Add "..." in the appropriate places.
1348         * dired.el (dired-mode-map): Add :help.
1350         * vc.el (vc-deduce-fileset): Add new parameter.
1351         (vc-dir-marked-only-files): New function.
1352         (vc-next-action): Don't ignore directories, look at the files
1353         inside them.
1354         (vc-dir-mode): Document how the mark/unmark commands work.
1356 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1358         * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
1359         Rule out trailing spaces in file and directory names as well.
1361         * minibuffer.el (completion--do-completion): Move point even if the
1362         completion makes no change.
1363         (completion-pcm-try-completion): Fix computation of new point.
1365 2008-04-30  David Hansen  <david.hansen@gmx.net>
1367         * dired.el: Require 'cl.
1369 2008-04-30  Nick Roberts  <nickrob@snap.net.nz>
1371         * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
1372         hollow if not in innermost frame.
1374 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1376         Make `checkout-model' apply to filesets.
1377         * vc-hooks.el (vc-checkout-model): Rewrite.
1378         (vc-before-save, vc-after-save): Adjust callers accordingly.
1379         * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
1380         (vc-transfer-file): Adjust callers accordingly.
1381         * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
1382         (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
1383         (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
1384         instead of vc-checkout-model.
1385         * vc-mcvs.el (vc-mcvs-revert):
1386         Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
1387         * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
1388         (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
1389         * vc-svn.el (vc-svn-checkout-model):
1390         * vc-hg.el (vc-hg-checkout-model):
1391         * vc-git.el (vc-git-checkout-model):
1392         * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
1394         * dired.el (dired-read-dir-and-switches): Replace last change with
1395         a new approach that mixes read-file-name and read-directory-name.
1397         * files.el (read-buffer-to-switch):
1398         Avoid making assumptions about `other-buffer'.
1400 2008-04-29  Sam Steingold  <sds@gnu.org>
1402         * vc.el (vc-dir-mode-hook): Add normal hook.
1403         (vc-dir-mode): Run it.
1405 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1407         * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
1408         Always split windows.
1409         (gdb-speedbar-timer-fn): Only raise frame after user input.
1410         (gdb-same-frame): Reverse initial value.
1411         (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
1413         * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
1414         gdb-speedbar-timer-fn.
1416 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1418         * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
1420 2008-04-29  Daiki Ueno  <ueno@unixuser.org>
1422         * epa.el (epa-key-list-mode-map): Add menu.
1423         (epa-delete-keys, epa-import-keys): Fix typo.
1425 2008-04-29  Glenn Morris  <rgm@gnu.org>
1427         * find-cmd.el (top-level): Does not need cl when compiling.
1429 2008-04-29  Phil Jackson  <phil@shellarchive.co.uk>
1431         * find-cmd.el: New file.
1433 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1435         * minibuffer.el (completion-hilit-commonality): Remove leftover code.
1436         (completion-pcm--pattern->regex): Let `group' be a list of symbols.
1437         (completion-pcm--hilit-commonality): New function.
1438         (completion-pcm-all-completions): Use it.
1440         * minibuffer.el (completion-common-substring): Mark obsolete.
1441         (completions-first-difference, completions-common-part):
1442         Move from simple.el.
1443         (completion-hilit-commonality): New fun.
1444         (display-completion-list, completion-emacs21-all-completions)
1445         (completion-emacs22-all-completions): Use it.
1446         * simple.el (completions-first-difference, completions-common-part):
1447         Move to minibuffer.el.
1448         (choose-completion-string): Use field functions and minibufferp.
1449         (completion-setup-function): Don't set completions faces.
1451 2008-04-29  Glenn Morris  <rgm@gnu.org>
1453         * calendar/calendar.el (calendar-nth-named-absday)
1454         (calendar-nth-named-day):
1455         * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
1456         * calendar/holidays.el (holiday-float): Doc fixes.
1458         * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
1459         the `full' case.
1461         * org/org-agenda.el (calendar-iso-from-absolute):
1462         * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
1463         Fix declarations.
1465 2008-04-28  Nick Roberts  <nickrob@snap.net.nz>
1467         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
1468         icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
1469         (gdb-goto-breakpoint): Likewise for visiting breakpoints.
1470         (gdb-assembler-custom): Be careful not to match other addresses.
1472 2008-04-29  Jason Rumney  <jasonr@gnu.org>
1474         * battery.el (battery-status-function): Use w32-battery-status
1475         on Windows.
1476         (battery-echo-area-format): Make apm format the general case.
1477         (battery-mode-line-format): Merge apm and pmset formats as the
1478         general case.
1480 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
1482         * progmodes/gdb-ui.el (gdb-info-stack-custom):
1483         Use gud-tool-bar-item-visible-no-fringe.
1484         (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
1485         is already visible in frame.  Remove optional size parameter
1486         and add optional frame parameter.
1488         * progmodes/gud.el (gud-display-line): Only consider visible
1489         frames when looking for source buffer.
1491 2008-04-28  Chong Yidong  <cyd@stupidchicken.com>
1493         * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
1494         argument to get-char-property, in case the current buffer hasn't
1495         been assigned to that window yet.
1496         (doc-view-display): Default to selected window if the current
1497         buffer hasn't been assigned to a window yet.
1499 2008-04-28  Vinicius Jose Latorre  <bzg@altern.org>
1501         * whitespace.el (whitespace-trailing-regexp): Fix docstring.
1503 2008-04-28  Michael Albinus  <michael.albinus@gmx.de>
1505         * net/tramp.el (tramp-mode): New defcustom.
1506         (tramp-file-name-handler, tramp-completion-file-name-handler):
1507         Use it.
1508         (tramp-replace-environment-variables): Handle "$$".
1510 2008-04-28  Sam Steingold  <sds@gnu.org>
1512         * vc-hg.el (vc-hg-rename-file): Fix argument order.
1514 2008-04-28  Bastien Guerry  <bzg@altern.org>
1516         * whitespace.el (whitespace-trailing): Fix typo.
1518 2008-04-28  Sam Steingold  <sds@gnu.org>
1520         * textmodes/remember.el (diary-make-entry): Update the autoload.
1522 2008-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1524         * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
1525         all-completions.
1527 2008-04-28  Juanma Barranquero  <lekktu@gmail.com>
1529         * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
1531 2008-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
1533         * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
1534         (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
1535         (vc-dir-mark-file): Add an optional argument.
1536         (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
1538 2008-04-27  Daiki Ueno  <ueno@unixuser.org>
1540         * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
1541         rather than obsolete alias find-file-hooks.
1542         (auto-encryption-mode): Rename from epa-file-mode.  Default to on.
1543         Use find-file-hook rather than obsolete alias find-file-hooks.
1544         Add to find-file-not-found-functions.
1545         (epa-file-handler): Put 'safe-magic and 'operations properties.
1547         * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
1548         (epa-menu-items): Remove.
1550         * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
1551         (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
1552         (epa-dired-mode, epa-global-dired-mode): Remove.
1554         * dired.el (dired-mode-map): Bind encryption/decryption commands.
1556         * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
1558         * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
1560 2008-04-27  Glenn Morris  <rgm@gnu.org>
1562         * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
1563         Remove un-needed local `orig-list'.  Replace cl `copy-list'.
1565 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
1567         * org/org.el (org-html-level-start): Always have id's in HTML.
1568         (org-export-as-html): Use `org-link-protocols' to
1569         retrieve the export form of the link.
1570         (org-add-link-type): Final parameter renamed from PUBLISH.
1571         Better documentation of how it is to be used.  Avoid double entries for
1572         the same link type.
1573         (org-add-link-props): New function.
1574         (org-modules-loaded): New variable.
1575         (org-load-modules-maybe, org-set-modules): New function.
1576         (org-modules): New option.
1577         (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
1578         (orgtbl-mode, org-store-link, org-insert-link-global)
1579         (org-open-at-point): Call `org-load-modules-maybe'.
1580         (org-search-view): Add more text properties.
1581         (org-agenda-schedule, org-agenda-deadline): Allow also in
1582         search-type agendas.
1583         (org-search-view): Order of arguments has been changed.
1584         Interpret prefix-arg as TODO-ONLY.
1585         (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
1586         Take new argument order of `org-search-view' into account.
1587         (org-todo-only): New variable.
1588         (org-search-syntax-table): New variable and function.
1589         (org-search-view): Do the search with the special syntax table.
1590         (define-obsolete-function-alias): Make work with XEmacs.
1591         (org-add-planning-info): Use old date as default when modifying an
1592         existing deadline or scheduled item.
1593         (org-agenda-compute-time-span): Make argument N optional.
1594         (org-agenda-format-date-aligned): Require `cal-iso'.
1595         (org-agenda-list): Include week into agenda heading, don't
1596         list it at each date (only on Mondays).
1597         (org-read-date-analyze): Define local variable `iso-date'.
1598         (org-agenda-format-date-aligned): Remove dependency on
1599         `calendar-time-from-absolute'.
1600         (org-remember-apply-template, org-go-to-remember-target):
1601         Interpret filenames relative to `org-directory'.
1602         (org-complete): Silently fail when trying to complete
1603         keywords that don't have a default value.
1604         (org-get-current-options): Add a #+DATE: option.
1605         (org-additional-option-like-keywords): Remove "DATE:" from the
1606         list of additional keywords.
1607         (org-export-as-html): Remove (current-time) as unnecessary second
1608         argument of `format-time-string'.
1609         (org-clock-find-position): Handle special case at end of buffer.
1610         (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
1611         `org-agenda-change-time-span'.
1612         (org-agenda-week-view): New argument ISO-WEEK, pass it on to
1613         `org-agenda-change-time-span'.
1614         (org-agenda-month-view): New argument MONTH, pass it on to
1615         `org-agenda-change-time-span'.
1616         (org-agenda-year-view): New argument YEAR, pass it on to
1617         `org-agenda-change-time-span'.
1618         (org-agenda-change-time-span): New optional argument N, pass it on
1619         to `org-agenda-compute-time-span'.
1620         (org-agenda-compute-time-span): New argument N, interpret it by
1621         changing the starting day.
1622         (org-small-year-to-year): New function.
1623         (org-scheduled-past-days): Respect `org-scheduled-past-days'.
1624         (org-auto-repeat-maybe): Make sure that repeating dates are pushed
1625         into the future, and that the shift is at least one interval, never 0.
1626         (org-update-checkbox-count): Fix bug with checkbox counting.
1627         (org-add-note): New command.
1628         (org-add-log-setup): Rename from `org-add-log-maybe'.
1629         (org-log-note-headings): New entry for plain notes (i.e. notes not
1630         related to state changes or clocking).
1631         (org-get-org-file): Check for availability of `remember-data-file'.
1632         (org-cached-entry-get): Allow a regexp value for
1633         `org-use-property-inheritance'.
1634         (org-use-property-inheritance): Allow regexp value.  Fix bug in
1635         customization type.
1636         (org-use-tag-inheritance): Allow a list and a regexp value for
1637         this variable.
1638         (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
1639         (org-entry-get): Respect value `selective' for the INHERIT argument.
1640         (org-tag-inherit-p, org-property-inherit-p): New functions.
1641         (org-agenda-format-date-aligned): Allow 10 characters for
1642         weekday, to acomodate German locale.
1643         (org-add-archive-files): New function.
1644         (org-agenda-files): New argument `ext', to get archive files as well.
1645         (org-tbl-menu): Protect the use of variables that
1646         are only available when org-table.el gets loaded.
1647         (org-read-agenda-file-list): Error if `org-agenda-files' is a
1648         single directory.
1649         (org-open-file): Allow a batch process to trigger
1650         waiting after executing a system command.
1651         (org-store-link): Link to headline when there is not
1652         target and no region in an org-mode buffer when creating a link.
1653         (org-link-types-re): New variable.
1654         (org-make-link-regexps): Compute `org-link-types-re'.
1655         (org-make-link-description-function): New option.
1656         (org-agenda-date, org-agenda-date-weekend): New faces.
1657         (org-archive-sibling-heading): New option.
1658         (org-archive-to-archive-sibling): New function.
1659         (org-iswitchb): New command.
1660         (org-buffer-list): New function.
1661         (org-agenda-columns): Also try the #+COLUMNS line in
1662         the buffer associated with the entry at point (or with the first
1663         entry in the agenda view).
1664         (org-modules): Add entry for org-bibtex.el.
1665         (org-completion-fallback-command): Move into `org-completion' group.
1666         (org-clock-heading-function): Move to `org-progress' group.
1667         (org-auto-repeat-maybe): Make sure that a note can
1668         be enforces if `org-log-repeat' is `note'.
1669         (org-modules): Allow additional symbols for external packages.
1670         (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
1671         (org-clock-goto): Hide drawers after showing an
1672         entry with `org-clock-goto.'
1673         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
1674         Try also a clocktable block shift.
1675         (org-clocktable-try-shift): New function.
1676         (org-columns-hscoll-title): New function.
1677         (org-columns-previous-hscroll): New variable.
1678         (org-columns-full-header-line-format): New variable.
1679         (org-columns-display-here-title, org-columns-remove-overlays):
1680         Install `org-columns-hscoll-title' in post-command-hook.
1682         * org/org.el: Split into many small files.
1684         * org/org-agenda.el: New file, split off from org.el.
1686         * org/org-archive.el: New file, split off from org.el.
1688         * org/org-bbdb.el: New file.
1690         * org/org-bibtex.el: New file, split off from org.el.
1692         * org/org-clock.el: New file, split off from org.el.
1694         * org/org-colview.el: New file, split off from org.el.
1696         * org/org-compat.el: New file, split off from org.el.
1698         * org/org-exp.el: New file, split off from org.el.
1700         * org/org-faces.el: New file, split off from org.el.
1702         * org/org-gnus.el: New file, split off from org.el.
1704         * org/org-info.el: New file, split off from org.el.
1706         * org/org-infojs.el: New file.
1708         * org/org-irc.el: New file.
1710         * org/org-macs.el: New file, split off from org.el.
1712         * org/org-mew.el: New file.
1714         * org/org-mhe.el: New file, split off from org.el.
1716         * org/org-publish.el: New file, split off from org.el.
1718         * org/org-remember.el: New file, split off from org.el.
1720         * org/org-rmail.el: New file, split off from org.el.
1722         * org/org-table.el: New file, split off from org.el.
1724         * org/org-vm.el: New file, split off from org.el.
1726         * org/org-wl.el: New file, split off from org.el.
1728 2008-04-27  Jason Riedy  <jason@acm.org>
1730         * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
1731         parameter that supresses lines that evaluate to NIL.
1732         (orgtbl-get-fmt): New inline function for
1733         picking apart formats that may be lists.
1734         (orgtbl-apply-fmt): New inline function for applying formats that
1735         may be functions.
1736         (orgtbl-eval-str): New inline function for strings that may be
1737         functions.
1738         (orgtbl-format-line, orgtbl-to-generic): Use and document.
1739         (orgtbl-to-latex, orgtbl-to-texinfo): Document.
1740         (*orgtbl-llfmt*, *orgtbl-llstart*)
1741         (*orgtbl-llend*): Dynamic variables for last-line formatting.
1742         (orgtbl-format-section): Shift formatting to support detecting the
1743         last line and formatting it specially.
1744         (orgtbl-to-generic): Document :ll* formats.  Set to the non-ll
1745         formats unless overridden.
1746         (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
1747         (*orgtbl-table*, *orgtbl-rtn*): Dynamically
1748         bound variables to hold the input collection of lines and output
1749         formatted text.
1750         (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
1751         (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
1752         format parameters.
1753         (orgtbl-format-line): New function encapsulating formatting for a
1754         single line.
1755         (orgtbl-format-section): Similar for each section.  Rebinding the
1756         dynamic vars customizes the formatting for each section.
1757         (orgtbl-to-generic): Use orgtbl-format-line and
1758         orgtbl-format-section.
1759         (org-get-param): Now unused, so delete.
1760         (orgtbl-gather-send-defs): New function to
1761         gather all the SEND definitions before a table.
1762         (orgtbl-send-replace-tbl): New function to find the RECEIVE
1763         corresponding to the current name.
1764         (orgtbl-send-table): Use the previous two functions and implement
1765         multiple destinations for each table.
1767         * doc/org.texi (A LaTeX example): Note that fmt may be a
1768         one-argument function, and efmt may be a two-argument function.
1769         (Radio tables): Document multiple destinations.
1771 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
1773         * org/org-agenda.el (org-add-to-diary-list): New function.
1774         (org-prefix-has-effort): New variable.
1775         (org-sort-agenda-noeffort-is-high): New option.
1776         (org-agenda-columns-show-summaries)
1777         (org-agenda-columns-compute-summary-properties): New options.
1778         (org-format-agenda-item): Compute the duration of the item.
1779         (org-agenda-weekend-days): New variable.
1780         (org-agenda-list, org-timeline): Use the proper faces for dates in
1781         the agenda and timeline buffers.
1782         (org-agenda-archive-to-archive-sibling): New command.
1783         (org-agenda-start-with-clockreport-mode): New option.
1784         (org-agenda-clockreport-parameter-plist): New option.
1785         (org-agenda-clocktable-mode): New variable.
1786         (org-agenda-deadline-leaders): Allow a function value for the
1787         deadline leader.
1788         (org-agenda-get-deadlines): Deal with new function value.
1790         * lisp/org-clock.el (org-clock): New customization group.
1791         (org-clock-into-drawer, org-clock-out-when-done)
1792         (org-clock-in-switch-to-state, org-clock-heading-function):
1793         Move into the new group.
1794         (org-clock-out-remove-zero-time-clocks): New option.
1795         (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
1796         (org-dblock-write:clocktable): Allow a Lisp form for the scope
1797         parameter.
1798         (org-dblock-write:clocktable): Fix bug with total time calculation.
1799         (org-dblock-write:clocktable): Request the unrestricted list of files.
1800         (org-get-clocktable): New function.
1801         (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
1802         be strings but also integers (an absolute day number) and lists (m d y).
1804         * org/org-colview.el (org-columns-next-allowed-value)
1805         (org-columns-edit-value): Limit the effort for updating in the
1806         agenda to recomputing a single file.
1807         (org-columns-compute): Only write property value if it has changed.
1808         This avoids raising the buffer-change-flag unnecessarily.
1809         (org-agenda-colview-summarize)
1810         (org-agenda-colview-compute): New functions.
1811         (org-agenda-columns): Call `org-agenda-colview-summarize'.
1813         * org/org-exp.el (org-export-run-in-background): New option.
1814         (org-export-icalendar): Allow a batch process to trigger waiting
1815         after executing a system command.
1816         (org-export-preprocess-string): Rename from
1817         `org-cleaned-string-for-export'.
1818         (org-export-html-style): Made target class look like normal text.
1819         (org-export-as-html): Make use of the better proprocessing in
1820         `org-cleaned-string-for-export'.
1821         (org-cleaned-string-for-export): Better treatment of heuristic
1822         targets, many more internal links will now work in HTML export.
1823         (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
1824         (org-export-inbuffer-options-extra): New variable.
1825         (org-export-options-filters): New hook.
1826         (org-infile-export-plist): Find also the settings keywords in
1827         `org-export-inbuffer-options-extra'.
1828         (org-infile-export-plist): Allow multiple #+OPTIONS lines and
1829         multiple #+INFOJS_OPT lines.
1830         (org-export-html-handle-js-options): New function.
1831         (org-export-html-infojs-setup): New option.
1832         (org-export-as-html): Call `org-export-html-handle-js-options'.
1833         Add autoload to all entry points.
1834         (org-skip-comments): Function removed.
1836         * org/org-table.el (org-table-make-reference): Extra parenthesis
1837         around single fields, to make sure that algebraic formulas get
1838         correctly interpreted by calc.
1839         (org-table-current-column): No longer interactive.
1841         * org/org-export-latex.el (org-export-latex-preprocess):
1842         Rename from `org-export-latex-cleaned-string'.
1844 2008-04-27  Bastien Guerry  <bzg@altern.org>
1846         * org/org-publish.el (org-publish-get-base-files-1): New function.
1847         (org-publish-get-base-files): Use it.
1848         (org-publish-temp-files): New variable.
1849         Don't require 'dired-aux anymore.
1850         (org-publish-initial-buffer): New variable.
1851         (org-publish-org-to, org-publish): Use it.
1852         (org-publish-get-base-files-1): Bug fix: get
1853         the proper list of files when recursing thru a directory.
1854         (org-publish-get-base-files): Use the :exclude property to skip
1855         both files and directories.
1857 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
1859         * net/tramp.el (tramp-handle-make-symbolic-link)
1860         (tramp-handle-file-name-directory)
1861         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1862         (tramp-do-copy-or-rename-file-directly)
1863         (tramp-handle-insert-directory, tramp-handle-expand-file-name)
1864         (tramp-handle-substitute-in-file-name)
1865         (tramp-handle-insert-file-contents, tramp-handle-write-region)
1866         * net/tramp-cache.el (tramp-get-file-property)
1867         (tramp-set-file-property, tramp-flush-file-property)
1868         (tramp-flush-directory-property)
1869         * net/tramp-compat.el (tramp-compat-make-temp-file)
1870         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1871         Disable `file-name-handler-alist' when handling localname.
1872         It could have a remote file syntax, like a VMS file name.
1874 2008-04-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1876         * whitespace.el: New version 11.1.
1877         (whitespace-trailing-regexp): Option fix, now trailing regexp must be
1878         enclosed by \\( and \\)$.  Docstring fix.
1879         (whitespace-trailing-regexp): Fun removed.
1880         (whitespace-report-list): Const initialization fix.
1881         (whitespace-color-on): Code fix.
1883 2008-04-27  Andreas Schwab  <schwab@suse.de>
1885         * Makefile.el: Unbreak bootstrap.
1887 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
1889         * net/tramp.el (tramp-replace-environment-variables): New defun.
1890         (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
1891         Use it.
1893 2008-04-27  Glenn Morris  <rgm@gnu.org>
1895         * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
1897         * calculator.el (calculator-expt): Replace cl function `oddp'.
1899 2008-04-27  Johan BockgÃ¥rd  <bojohan@gnu.org>
1901         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
1902         Simplify.  Collect `defun' and `autoload' entries.
1903         Avoid modifying load-history.
1905 2008-04-26  Glenn Morris  <rgm@gnu.org>
1907         * textmodes/ispell.el (ispell-insert-word): Revert previous change.
1909         * simple.el (quoted-insert, zap-to-char): Revert previous change.
1911 2008-04-26  John Paul Wallington  <jpw@pobox.com>
1913         * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
1914         `hexl-mode-old-eldoc-documentation-function'.
1915         (hexl-mode-exit): Restore it.
1916         (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
1918         * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
1920 2008-04-26  Juanma Barranquero  <lekktu@gmail.com>
1922         * minibuffer.el (completion-pcm-word-delimiters): Add :group.
1923         (completion-pcm--all-completions): Doc fix.
1924         (completion-styles-alist, completion-all-completions):
1925         Fix typos in docstrings.
1927 2008-04-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1929         * whitespace.el: There is now only one variable (whitespace-style) to
1930         specify which kind of blank is visualized.  Doc and docstring fix.
1931         New version 11.0.
1932         (whitespace-style): New option, replace whitespace-style-mark and
1933         whitespace-style-color.
1934         (whitespace-style-mark, whitespace-style-color): Options removed.
1935         (whitespace-hspace, whitespace-tab, whitespace-newline)
1936         (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
1937         (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
1938         (whitespace-hspace-regexp, whitespace-space-regexp)
1939         (whitespace-tab-regexp, whitespace-trailing-regexp)
1940         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
1941         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1942         (whitespace-space-after-tab-regexp, whitespace-line-column)
1943         (whitespace-display-mappings, whitespace-report): Docstring fix.
1944         (whitespace-color-value-list, whitespace-mark-value-list)
1945         (whitespace-active-color, whitespace-active-mark)
1946         (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
1947         (whitespace-style-value-list, whitespace-active-style)
1948         (whitespace-toggle-style): New vars.
1949         (whitespace-toggle-option-alist, whitespace-help-text):
1950         Var initialization and docstring fix.
1951         (whitespace-toggle-options, global-whitespace-toggle-options)
1952         (whitespace-cleanup, whitespace-cleanup-region)
1953         (whitespace-report-region, whitespace-interactive-char)
1954         (whitespace-toggle-list): Docstring and code fix.
1955         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
1956         (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
1957         (whitespace-display-char-on, whitespace-display-char-off): Code fix.
1958         (whitespace-style-face-p, whitespace-style-mark-p): New fun.
1960 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
1963         (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
1964         (diff-sanity-check-hunk): Adjust code accordingly.
1966 2008-04-26  Glenn Morris  <rgm@gnu.org>
1968         * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
1970         * forms-d2.dat: Move to ../etc.
1971         * forms-d2.el (forms-file): Adapt for above change.
1973         * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
1974         `translation-table-for-input'.
1976         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
1977         (byte-compile-obsolete, byte-compile-variable-ref): Use it.
1979         * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
1980         to punctuation now it's not needed for abbrevs.
1981         (fortran-mode-abbrev-table): Remove defvar, make use of new
1982         define-abbrev-table :regexp feature.
1984         * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
1985         insert, now that translation-table-for-input is not needed.
1987 2008-04-26  Johannes Weiner  <hannes@saeurebad.de>
1989         * emacs-lisp/pp.el (pp-display-expression): New function,
1990         extracted from pp-eval-expression.
1991         (pp-eval-expression): Use pp-display-expression.
1992         (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
1993         (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
1994         (pp-eval-last-sexp): Use pp-last-sexp.
1996 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1998         * abbrev.el (define-abbrev-table): Apply props even if the table
1999         exists already.
2001         * minibuffer.el (completion-table-with-context): Fix `pred' for the
2002         various kinds of completion tables.
2003         (completion-emacs22-try-completion): Place cursor after the /, as was
2004         done in Emacs-22's minibuffer-complete-word.
2005         Fix bug reported by David Hansen <david.hansen@gmx.net>.
2006         (completion-emacs22-try-completion): Merge all mergable text rather
2007         than just /.
2008         (completion-pcm--delim-wild-regex): New var.
2009         (completion-pcm-word-delimiters): New custom.
2010         (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
2011         (completion-pcm--string->pattern, completion-pcm--pattern->regex)
2012         (completion-pcm--all-completions, completion-pcm-all-completions)
2013         (completion-pcm--merge-completions, completion-pcm--pattern->string)
2014         (completion-pcm-try-completion): New functions.
2015         (completion-styles-alist): Add them.
2016         (completion-styles): Add it to the default.
2018 2008-04-25  Nick Roberts  <nickrob@snap.net.nz>
2020         * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
2021         (gdb-var-create-handler): ...until here when there are values.
2022         (gdb-post-prompt): Don't do -var-update with no watch expressions.
2023         (gdb-info-locals-handler): Don't match "struct {...}" as an array.
2025 2008-04-25  Eli Zaretskii  <eliz@gnu.org>
2027         * ls-lisp.el (ls-lisp-format): Fix last change.
2028         (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
2029         (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
2030         (ls-lisp-filesize-f-fmt): New defvars.
2031         (ls-lisp-insert-directory): Dynamically compute format specifiers
2032         for displaying UID, GID, and file size, and store them in the
2033         above variables.
2034         (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
2035         ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
2036         instead of constant format strings.
2037         (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
2038         ls-lisp-filesize-d-fmt instead of constant format strings.
2040 2008-04-24  Nick Roberts  <nickrob@snap.net.nz>
2042         * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
2043         value of addresses rather than (partial) string value.
2044         (gdb-frame-handler): Change regexp according to above change.
2045         (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
2046         (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
2047         (gdb-assembler-mode): Disable undo in these buffers.
2049 2008-04-24  Michael Albinus  <michael.albinus@gmx.de>
2051         * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
2052         Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
2054 2008-04-24  Sam Steingold  <sds@gnu.org>
2056         * textmodes/remember.el (remember-diary-extract-entries): Use
2057         diary-make-entry instead of the obsolete make-diary-entry.
2059 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2061         * subr.el (translation-table-for-input): Mark as obsolete.
2063         * isearch.el (isearch-search-string): Avoid string-bytes and aset.
2065         * international/quail.el (quail-build-decode-map): Avoid string-bytes.
2067         * textmodes/ispell.el (ispell-dictionary-alist-1)
2068         (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
2069         (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
2070         (ispell-dictionary-alist-6): Remove.
2071         (ispell-dictionary-base-alist): New var, merges the above.
2072         (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
2073         Use it.
2074         (ispell-dictionary-alist): Default to nil.  Remove autoload.
2075         (ispell-local-dictionary-alist): Remove autoload.
2077         * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
2078         (f90-mode-abbrev-table): Use the new :regexp feature.
2079         Merge defvar and mapc into define-abbrev-table.
2080         (f90-imenu-type-matcher): Remove unused `l'.
2081         (f90-imenu-generic-expression): Remove unused `not-ib'.
2082         (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
2083         (f90-change-keywords): Use restore-buffer-modified-p.
2085 2008-04-24  Glenn Morris  <rgm@gnu.org>
2087         * net/goto-addr.el (goto-address-prog-mode):
2088         * progmodes/bug-reference.el (bug-reference-prog-mode):
2089         Define for compiler.
2091         * minibuffer.el (x-file-dialog): Declare as function.
2093         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
2094         dframe-update-speed rather than obsolete alias speedbar-update-speed.
2096         * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
2097         (cal-menu-scroll-menu): Use commands rather than key macros, which don't
2098         work with easymenu.  Add :keys where needed.
2100         * calendar/cal-move.el (calendar-scroll-left): Handle case when
2101         event-start is nil.
2103         * calendar/calendar.el (calendar-mode-map): Fix typo.
2105 2008-04-24  Tom Tromey  <tromey@redhat.com>
2107         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
2108         Document keywords.  Add :suppress.
2109         * pcvs-defs.el (cvs-mode-map): Use :suppress.
2111         * net/goto-addr.el (goto-address-unfontify): New function.
2112         (goto-address-fontify): Use it.  Respect goto-address-prog-mode.
2113         (goto-address-fontify-region, goto-address-mode)
2114         (goto-address-prog-mode): New functions.
2116         * progmodes/bug-reference.el: New file.
2118 2008-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2120         * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
2122 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2124         * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
2125         macros within lambdas.
2127 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2129         * minibuffer.el (completion-try-completion): Add `point' argument.
2130         Change return value.
2131         (completion-all-completions): Add `point' argument.
2132         (minibuffer-completion-help): Pass the new `point' argument.
2133         (completion--do-completion): Pass the whole field to try-completion.
2134         (completion--try-word-completion): Rewrite, making fewer assumptions.
2135         (completion-emacs21-try-completion, completion-emacs21-all-completions)
2136         (completion-emacs22-try-completion, completion-emacs22-all-completions)
2137         (completion-basic-try-completion, completion-basic-all-completions):
2138         New functions.
2139         (completion-styles-alist): Use them.
2141 2008-04-23  Agustin Martin  <agustin.martin@hispalinux.es>
2143         * ispell.el (ispell-set-spellchecker-params): New function to make sure
2144         right params and dictionary alists are used after spellchecker changes.
2145         (ispell-aspell-dictionary-alist, ispell-last-program-name)
2146         (ispell-initialize-spellchecker-hook): New variables and hook.
2147         (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
2148         (ispell-maybe-find-aspell-dictionaries): Remove.
2149         Calls replaced by (ispell-set-spellchecker-params) calls.
2150         (ispell-have-aspell-dictionaries): Remove.
2151         * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
2152         ispell-set-spellchecker-params.
2154 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2156         * complete.el (PC-do-completion): Be more robust in the presence of
2157         unexpected values in minibuffer-completion-predicate.
2159         * minibuffer.el (read-file-name): Don't let-bind default-directory.
2160         Only abbreviate default-filename if it's a file.
2162         * minibuffer.el (read-file-name-function, read-file-name-predicate)
2163         (read-file-name-completion-ignore-case, insert-default-directory):
2164         New vars, moved from fileio.c.
2165         (read-file-name): New fun, moved from fileio.c.
2166         * cus-start.el: Remove insert-default-directory and
2167         read-file-name-completion-ignore-case.
2169 2008-04-23  Magnus Henoch  <mange@freemail.hu>
2171         * tar-mode.el (tar-untar-buffer): If the entry has directory
2172         link type, extract it as a directory even if its file name doesn't
2173         end with a slash.  Fixes extraction of NetBSD tar archives.
2175 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2177         * server.el (server-start): Also don't get confused by CRs since we
2178         don't quote them.
2180 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2182         * progmodes/gdb-ui.el (gdb-init-buffer): New function.
2183         (gdb-set-gud-minor-mode-existing-buffers)
2184         (gdb-info-breakpoints-custom, gdb-get-location)
2185         (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
2186         Previously gdb-create-define-alist wasn't always run and added to
2187         after-save-hook.
2189         * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
2191 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2193         * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
2194         comments like unindented ones.
2196 2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2198         * term/mac-win.el (mac-ae-open-documents): Adjust selection range
2199         parameter origins.
2201 2008-04-23  Kevin Ryde  <user42@zip.com.au>
2203         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2204         Bind print-level to ensure output forms aren't truncated if
2205         print-level is set to eval-expression-print-level when going via
2206         eval-defun and friends, or has been otherwise fiddled with.
2208 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2210         * progmodes/cc-mode.el (c-basic-common-init): Don't set
2211         font-lock-extend-after-change-region-function globally.
2213 2008-04-23  Juanma Barranquero  <lekktu@gmail.com>
2215         * speedbar.el (speedbar-use-tool-tips-flag)
2216         (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
2217         (speedbar-file-regexp, speedbar-message, speedbar-item-info)
2218         (speedbar-files-item-info, speedbar-maybe-add-localized-support)
2219         (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
2220         (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
2221         (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
2222         (speedbar-separator-face): Fix typos in docstrings.
2223         (speedbar-stealthy-function-list, speedbar-verbosity-level)
2224         (speedbar-supported-extension-expressions, speedbar-update-current-file)
2225         (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
2226         (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
2227         (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
2228         (speedbar-show-info-under-mouse, speedbar-directory-buttons)
2229         (speedbar-check-vc-this-line, speedbar-files-line-directory)
2230         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
2231         (speedbar-buffers-line-directory, speedbar-recenter-to-top)
2232         (speedbar-recenter): Doc fixes.
2233         (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
2234         declaration and remove redundant info in docstring.
2236 2008-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
2238         * vc-git.el (vc-git-status-printer): Deal with directories.
2240         * vc.el (vc-next-action): Look at more than the first file to
2241         determine the state.
2243 2008-04-23  Glenn Morris  <rgm@gnu.org>
2245         * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
2246         timers.  Doc fix.
2247         (dframe-update-speed): Drop support for XEmacs < 20.
2248         (dframe-frame-mode): Drop support for Emacs < 20.
2249         (dframe-set-timer-internal): Drop support for Emacs without timers.
2250         (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
2252         * ediff-init.el (ediff-check-version): Drop support for very old Emacs
2253         versions.  Add doc-string.  Mark as obsolete.
2255         * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
2257         * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
2258         rather than using an Emacs version test.
2260         * tree-widget.el (tree-widget-image-enable): Use display-images-p
2261         rather than an Emacs version test.
2263         * calendar/cal-china.el (holiday-chinese-qingming)
2264         (holiday-chinese-winter-solstice, holiday-chinese): New functions.
2265         * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
2266         * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
2268         * calendar/cal-islam.el (holiday-islamic): Doc fix.
2270         * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
2271         (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
2272         Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
2274 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
2276         * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
2277         (gdb-previous-frame-pc-address): ...to this.
2278         (gdb-get-selected-frame): Use MI command -stack-info-frame instead
2279         of "info frame" with Gdb 6.4+.
2280         (gdb-stack-list-frames-regexp): New regexp.
2281         (gdb-frame-handler-1): Parse output of -stack-info-frame.
2283 2008-04-22  David Glasser  <glasser@davidglasser.net>  (tiny change)
2285         * tar-mode.el (tar-prefix-offset): New constant.
2286         (tar-header-block-tokenize): Support paths with long names
2287         which use the "ustar" standard.
2289 2008-04-22  Mathias Dahl  <mathias.dahl@gmail.com>
2291         * image-dired.el (image-dired-track-original-file)
2292         (image-dired-modify-mark-on-thumb-original-file):
2293         Use `dired-goto-file' instead of `search-forward'.  This solves
2294         a bug with finding files where the file name is a subset of other
2295         file names.  Doc fix.
2297 2008-04-22  Juri Linkov  <juri@jurta.org>
2299         * menu-bar.el (buffers-menu-max-size): Move its definition down to
2300         the "Buffers Menu" section.  Change group name `mouse' to `menu'.
2301         (yank-menu-length): Change group name `mouse' to `menu'.
2302         (buffers-menu-buffer-name-length): New user option.
2303         (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
2304         instead of the hard-coded number 27.
2306 2008-04-22  Juri Linkov  <juri@jurta.org>
2308         * isearch.el (eval-when-compile): Require `help-macro'.
2309         (isearch-help-for-help-internal): Isearch specific Help screen
2310         created by `make-help-screen'.
2311         (isearch-help-map): New variable that binds "b", "k", "m" to
2312         isearch-specific commands, and binds other keys to
2313         isearch-other-control-char, thus allowing other Help keys to
2314         exit isearch mode and execute their global definitions.
2315         (isearch-help-for-help, isearch-describe-bindings)
2316         (isearch-describe-key, isearch-describe-mode): New commands.
2317         (isearch-mode-help): Define alias to isearch-describe-mode
2318         and remove its old function definition.
2319         (isearch-mode-map): Bind "\C-h" to isearch-help-map.
2320         Remove old comments because this issue is settled now.
2321         (isearch-forward): Describe three new Help commands in the docstring.
2322         (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
2323         leave the single sentence at the first line of the docstring,
2324         and prepend the word "function" before `isearch-forward'
2325         to make the Help link to the function instead of variable.
2327 2008-04-22  Juri Linkov  <juri@jurta.org>
2329         * isearch.el (isearch-success-function): New variable with default
2330         to `isearch-success-function-default'.
2331         (isearch-search): Call a function from `isearch-success-function'
2332         instead of calling the hard-coded `isearch-range-invisible'.
2333         (isearch-success-function-default): New function that calls
2334         `isearch-range-invisible' and inverts its return value.
2336         * info.el (Info-search): In two similar places that skip
2337         undesired search matches move code to Info-search-success-function,
2338         and call `isearch-success-function' instead.
2339         (Info-search-success-function): New function copied from code
2340         in Info-search.  Replace isearch-range-invisible with
2341         text-property-not-all that checks for 'invisible and 'display
2342         properties to skip partially invisible matches (whose display
2343         properties were set by Info-fontify-node).
2344         (Info-mode): Set buffer-local isearch-success-function
2345         to Info-search-success-function.
2347 2008-04-22  Juri Linkov  <juri@jurta.org>
2349         * minibuffer.el (internal-complete-buffer-except): New function.
2351         * files.el (read-buffer-to-switch): New function.
2352         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2353         Change interactive spec to call read-buffer-to-switch instead of
2354         using the letter "B".
2356         * simple.el (minibuffer-default-add-shell-commands): New function.
2357         Use declare-function for mailcap-file-default-commands from "mailcap".
2358         (shell-command): Set local minibuffer-default-add-function to
2359         minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
2360         before calling read-shell-command.  Set 4th arg default-value of
2361         read-shell-command to relative buffer-file-name in file buffers.
2363         * dired-aux.el (dired-read-shell-command-default): Move it to
2364         gnus/mailcap.el and change its name to more general name
2365         mailcap-file-default-commands.
2366         (minibuffer-default-add-dired-shell-commands): New function.
2367         Use declare-function for mailcap-file-default-commands from "mailcap".
2368         (dired-read-shell-command): Set local minibuffer-default-add-function
2369         to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
2370         before calling read-shell-command.  Remove dired-read-shell-command-default
2371         from the default value arg because default values are not set in
2372         minibuffer-default-add-dired-shell-commands.  Doc fix.
2374         * dired-x.el (dired-smart-shell-command): Sync arguments and
2375         interactive spec with changes in `shell-command'.
2376         Use dired-get-filename to get the dired file name at point
2377         as the default value in dired mode.
2379 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2381         * info.el (Info-complete-menu-item): Add missing parenthesis.
2383 2008-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2385         * info.el (Info-complete-menu-item): Save point.
2387 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
2389         * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
2391 2008-04-22  Andreas Schwab  <schwab@suse.de>
2393         * Makefile.in (emacs-deps): Define.
2394         Use it instead of $(lisp)/subdirs.el.
2396 2008-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
2398         * vc.el (vc-next-action): Do not consider directories when
2399         checking for state compatibility.
2400         (vc-transfer-file): Use when not if.
2401         (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
2402         (vc-dir-mark-file): Use them.
2403         (vc-deduce-fileset): Also return the backend.
2404         (vc-diff-internal): Take as argument the value returned by
2405         vc-deduce-fileset instead of just the fileset.
2406         (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
2407         (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
2408         (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
2410 2008-04-22  Tassilo Horn  <tassilo@member.fsf.org>
2412         * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
2413         set-window-vscroll but image-scroll-down.  Fixes a bug where a
2414         command following SPC scrolled up again.
2416 2008-04-22  Nick Roberts  <nickrob@snap.net.nz>
2418         * progmodes/gdb-ui.el (gdb-locals-header): New variable.
2419         (gdb-locals-mode, gdb-registers-mode): Use it for header line.
2420         (gud-watch): Add "$" prefix when in registers buffer.
2422 2008-04-22  Glenn Morris  <rgm@gnu.org>
2424         * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
2426         * whitespace.el (whitespace-display-table)
2427         (whitespace-display-table-was-local): Move definitions before use.
2429         * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
2430         (copyright-limit): Respect copyright-at-end-flag.
2431         (copyright-re-search, copyright-start-point)
2432         (copyright-offset-too-large-p): New functions.
2433         (copyright-update-year): Use copyright-re-search.
2434         (copyright-update, copyright-fix-years): Use copyright-start-point,
2435         and copyright-re-search.
2436         (copyright): Use copyright-offset-too-large-p.
2437         * add-log.el (change-log-mode): Set copyright-at-end-flag.
2439         * add-log.el (top-level): Require 'cl when compiling.
2441 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2443         * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
2444         Treat minibuffer-completion-predicate as a predicate.
2446         * minibuffer.el (completion--file-name-table): Accept both the old
2447         `dir' arg or the new `pred' arg.
2449         * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
2450         `predicate' argument to pass non-predicate data.
2451         (ffap-read-url-internal, ffap-read-file-or-url-internal):
2452         Use second arg as proper predicate.
2454         * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
2455         (vc-bzr-revision-completion-table): Use completion-table-with-context
2456         instead.
2458         * simple.el (choose-completion-string): Use minibuffer-completion-table.
2460 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
2462         * term.el (term-emulate-terminal): Perform redisplay after the
2463         process filter has finished running.
2465 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2467         * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
2469         * minibuffer.el (completion-try-completion): Change magic symbol
2470         property name.  Rename from minibuffer-try-completion.
2471         (completion-all-completions): Rename from minibuffer-all-completions.
2472         Remove hide-spaces argument.
2473         (completion--do-completion): Rename from minibuffer--do-completion.
2474         (minibuffer-complete-and-exit): Call just try-completion rather than
2475         completion-try-completion to fix up the case.
2476         (completion--try-word-completion): Try to add space or hyphen before
2477         making `string' a prefix of `completion'.
2478         (completion--insert-strings): Rename from minibuffer--insert-strings.
2480 2008-04-22  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
2482         * net/tls.el (tls-program): Add -ign_eof argument to call the
2483         openssl commands.
2484         (tls-checktrust): Ditto.
2486 2008-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
2488         * vc-cvs.el (vc-cvs-status-extra-headers): New function.
2490         * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
2491         (vc-check-master-templates, vc-file-not-found-hook)
2492         (vc-kill-buffer-hook):
2493         * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
2494         (vc-find-position-by-context, vc-buffer-context)
2495         (vc-restore-buffer-context, vc-responsible-backend)
2496         (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
2497         (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
2498         (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
2499         (vc-version-diff, vc-diff, vc-insert-headers)
2500         (vc-dired-buffers-for-dir, vc-dired-resynch-file)
2501         (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
2502         (vc-revert, vc-rollback, vc-version-backup-file)
2503         (vc-rename-master, vc-delete-file, vc-rename-file)
2504         (vc-branch-part, vc-default-retrieve-snapshot)
2505         (vc-annotate-display-autoscale, vc-annotate-display-select)
2506         (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
2507         (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
2508         (vc-dir-update): Handle directories.
2509         (vc-default-status-printer): Simplify.
2511         * progmodes/asm-mode.el (asm-mode-map):
2512         * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
2514         * progmodes/m4-mode.el (m4-mode-map): Add menu.
2516 2008-04-21  Kenichi Handa  <handa@m17n.org>
2518         * select.el (xselect-convert-to-string): Send a C_STRING only if
2519         the polymorphic target TEXT is requested.
2521 2008-04-21  Juanma Barranquero  <lekktu@gmail.com>
2523         * minibuffer.el (completion-setup-hook, display-completion-list)
2524         (completion--file-name-table): Fix typos in docstrings.
2525         (completion-table-dynamic): Fix typo, and reflow docstring.
2527 2008-04-20  Andreas Schwab  <schwab@suse.de>
2529         * server.el (server-switch-buffer): Also consider clients in the
2530         selected frame.
2532 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2534         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
2535         Select window clicked on first.
2536         (gdb): Display thread number in mode-line.
2537         (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
2538         (gdb-breakpoints-header): New variable.
2539         (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2541 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2543         * vc-sccs.el (vc-sccs-do-command): New fun.  Use the "sccs" command.
2544         (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
2545         (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
2546         (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2547         (vc-sccs-print-log): Use it.
2549         * vc-hooks.el (vc-path): Remove SCCS-specific hack.
2551         * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
2552         * progmodes/scheme.el (scheme-mode-variables): Don't use it.
2554         * tooltip.el (tooltip-previous-message): New var.
2555         (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
2556         the C code (avoid overwriting a minibuffer, restore previous echo
2557         message, ...).
2558         (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
2559         Simplify.
2561 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
2563         * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
2564         (gdb-init-1): Initialise it.
2565         (gdb-annotation-rules): New entry for "new-thread".
2566         (gdb-thread-identification): New function to customize
2567         mode-line-buffer-identification.
2568         (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
2569         (gdb-assembler-mode): Use it.
2570         (gdb-threads-mode): Force "info threads" onto queue.
2572 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2574         * files.el (locate-file-completion-table): Rename from
2575         locate-file-completion and make it use `pred' in the normal way.
2576         (locate-file-completion): New compatibility wrapper.
2577         (load-library): Use locate-file-completion-table.
2578         * finder.el (finder-commentary):
2579         * subr.el (locate-library):
2580         * emacs-lisp/find-func.el (find-library): Likewise.
2581         * info.el: Use with-current-buffer and inhibit-read-only.
2582         (Info-read-node-name-2): Change to use `predicate' in the normal way.
2583         (Info-read-node-name-1): Adjust uses accordingly.
2585         * minibuffer.el (completion-table-with-context): Add support for `pred'.
2586         (completion-table-with-terminator): Don't use complete-with-action
2587         since we have to distinguish all three cases anyway.
2588         (completion-table-with-predicate): New function.
2589         (dynamic-completion-table): Add obsolete alias.
2591         * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
2593 2008-04-18  Sam Steingold  <sds@gnu.org>
2595         * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
2596         Use quit-window instead of bury-buffer.
2598 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2600         * minibuffer.el (completion-table-with-terminator): Fix last fix.
2602 2008-04-18  Andreas Schwab  <schwab@suse.de>
2604         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2605         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2606         Depend on $(lisp)/subdirs.el.
2608 2008-04-18  Juanma Barranquero  <lekktu@gmail.com>
2610         * descr-text.el (describe-char-after):
2611         Use `define-obsolete-function-alias'.
2613         * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
2615         * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
2617         * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
2618         Remove redundant obsolescence info in docstring.
2620         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2621         (vc-header-alist): Add WHEN to obsolescence declaration.
2622         (vc-state): Fix typo in docstring.
2624         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
2625         Use `define-obsolete-variable-alias'.
2627         * emulation/tpu-edt.el (tpu-have-ispell):
2628         * international/codepage.el (codepage-setup):
2629         Fix typo in obsolescence declaration.
2631         * international/mule.el (char-coding-system-table):
2632         Remove redundant obsolescence info in docstring.
2633         (charset-list, generic-char-p, set-char-table-default):
2634         Fix typos in obsolescence decarations.
2636         * international/mule-diag.el (non-iso-charset-alist):
2637         Fix typo in obsolescence declaration.
2638         (decode-codepage-char): Remove redundant obsolescence info in docstring.
2640         * font-core.el (font-lock-defaults-alist):
2641         * font-lock.el (font-lock-reference-face):
2642         * frame.el (screen-height, screen-width, set-screen-width)
2643         (set-screen-height):
2644         * hilit-chg.el (highlight-changes-initial-state):
2645         * isearch.el (isearch-return-char):
2646         * log-edit.el (cvs-commit-buffer-require-final-newline)
2647         (cvs-changelog-full-paragraphs):
2648         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
2649         (mouse-popup-menubar-stuff):
2650         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
2651         (mouse-wheel-click-button):
2652         * outline.el (outline-visible):
2653         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
2654         * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
2655         * emacs-lisp/lisp-mode.el (lisp-comment-indent):
2656         * progmodes/compile.el (compile-internal):
2657         Add WHEN to obsolescence declarations.
2659 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2661         * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
2662         is not better anyway.
2664 2008-04-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2666         * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
2667         properly.
2669 2008-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2671         * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
2672         (python-use-skeletons): Remove, unused.
2673         (python-skeletons): Remove.  Use the abbrev table instead.
2674         (python-mode-abbrev-table): Fix regexp;
2675         add enable-function and case-fixed.
2676         (def-python-skeleton): Simplify.
2677         (python-expand-template): Use the abbrev-table and abbrev-insert.
2678         (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2679         Remove.
2680         (python-mode): Don't set pre-abbrev-expand-hook.
2682         * skeleton.el: Set coding-tag.
2684         * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
2685         (expand-abbrev): Use it.
2686         (abbrev-table-menu): New function.
2688         * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
2690         * minibuffer.el (completion-table-with-terminator): Fix paren typo.
2692 2008-04-17  Sam Steingold  <sds@gnu.org>
2694         * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
2695         idiosyncratic bury-buffer/delete-window logic.
2697 2008-04-17  Juanma Barranquero  <lekktu@gmail.com>
2699         * emacs-lisp/crm.el (crm-completion-help, crm-complete)
2700         (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
2702 2008-04-17  Kenichi Handa  <handa@m17n.org>
2704         * international/characters.el: Don't make the width of U+00AD to 0.
2706 2008-04-17  Nick Roberts  <nickrob@snap.net.nz>
2708         * progmodes/gdb-ui.el (gdb-stack-update): New variable.
2709         (gdb, gdb-starting, gdb-frames-mode): Use it.
2710         (gdb-invalidate-frames): Advise to call "info stack" only if
2711         execution has occurred.
2712         (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
2713         selected frame if no execution has occurred.
2714         (gdb-frames-force-update): New interactive function.
2715         (gdb-frames-mode-map): Bind it to "F".
2717 2008-04-17  Michael Olson  <mwolson@gnu.org>
2719         * textmodes/remember.el (remember-version): Release Remember 2.0.
2721 2008-04-16  Yoni Rabkin  <yoni@rabkins.net>
2723         * textmodes/artist.el:
2724         * progmodes/vhdl-mode.el:
2725         * progmodes/verilog-mode.el:
2726         * progmodes/vera-mode.el:
2727         * progmodes/simula.el:
2728         * progmodes/ps-mode.el:
2729         * progmodes/cmacexp.el:
2730         * obsolete/hilit19.el:
2731         * emulation/viper.el:
2732         * ediff.el: Cleanup the bug-report email addresses and make sure the
2733         maintainer is still willing to handle bug reports.
2735 2008-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
2737         * vc.el (vc-dir-kill-query): Fix thinko.
2739 2008-04-16  Glenn Morris  <rgm@gnu.org>
2741         * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
2742         by diary-sexp-entry.
2744 2008-04-16  Markus Triska  <markus.triska@gmx.at>
2746         * proced.el (proced-command-alist): Add support for darwin.
2748 2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2750         * proced.el (proced-mode): Redefine as just the major-mode.
2751         (proced): Separate it from proced-mode.
2753         * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
2755 2008-04-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2757         * whitespace.el: Honor the `indent-tabs-mode' setting from user.
2758         Suggested by Stephen Deasey <sdeasey@gmail.com>.  Honor also the
2759         `tab-width' setting from user.  New version 10.0.  Doc and docstring
2760         fix.
2761         (whitespace-style, whitespace-chars): Remove options.
2762         (whitespace-style-mark): New option, replace whitespace-style deleted
2763         option.  Fix docstring.
2764         (whitespace-style-color): New option, replace whitespace-chars deleted
2765         option.  Fix docstring.
2766         (whitespace-space, whitespace-hspace, whitespace-tab)
2767         (whitespace-newline, whitespace-trailing, whitespace-line)
2768         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2769         (whitespace-space-after-tab, whitespace-hspace-regexp)
2770         (whitespace-space-regexp, whitespace-tab-regexp)
2771         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2772         (whitespace-empty-at-eob-regexp, whitespace-line-column)
2773         (whitespace-toggle-option-alist): Fix docstring.
2774         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
2775         (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
2776         docstring and initialization.
2777         (global-whitespace-mode): Autoloaded global minor mode.
2778         (whitespace-chars-value-list, whitespace-style-value-list)
2779         (whitespace-active-chars, whitespace-active-style)
2780         (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
2781         (whitespace-color-value-list): New var, replace
2782         whitespace-chars-value-list removed var.
2783         (whitespace-mark-value-list): New var, replace
2784         whitespace-style-value-list removed var.
2785         (whitespace-active-color): New var, replace whitespace-active-chars
2786         removed var.
2787         (whitespace-active-mark): New var, replace whitespace-active-style
2788         removed var.
2789         (whitespace-toggle-color): New var, replace whitespace-toggle-chars
2790         removed var.
2791         (whitespace-toggle-mark): New var, replace whitespace-toggle-style
2792         removed var.
2793         (whitespace-toggle-option-alist, whitespace-report-list)
2794         (whitespace-report-text, whitespace-help-text): Fix initialization.
2795         (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
2796         (whitespace-toggle-options, global-whitespace-toggle-options)
2797         (whitespace-cleanup-region, whitespace-report-region)
2798         (whitespace-interactive-char): Fix docstring and code.
2799         (whitespace-cleanup, whitespace-report): Fix docstring.
2800         (whitespace-replace-spaces-by-tabs): Remove fun.
2801         (whitespace-replace-action): New fun, replace
2802         whitespace-replace-spaces-by-tabs removed fun.
2803         (whitespace-regexp, whitespace-indentation-regexp)
2804         (whitespace-space-after-tab-regexp, whitespace-insert-value)
2805         (whitespace-kill-buffer): New funs.
2806         (whitespace-insert-option-mark, whitespace-help-on)
2807         (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
2808         (whitespace-color-on, whitespace-color-off)
2809         (whitespace-display-char-on): Fix code.
2811 2008-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2813         * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
2814         (mouse-throw-magnifier-with-mouse-movement): Remove.
2815         (mouse-throw-magnifier-base): New const.
2816         (mouse-drag-scroll-delta): New fun.
2817         (mouse-drag-throw): Use it.
2819 2008-04-15  Juanma Barranquero  <lekktu@gmail.com>
2821         * international/uni-bidi.el, international/uni-category.el:
2822         * international/uni-combining.el, international/uni-comment.el:
2823         * international/uni-decimal.el, international/uni-decomposition.el:
2824         * international/uni-digit.el, international/uni-lowercase.el:
2825         * international/uni-mirrored.el, international/uni-name.el:
2826         * international/uni-numeric.el, international/uni-old-name.el:
2827         * international/uni-titlecase.el, international/uni-uppercase.el:
2828         * international/charprop.el: Regenerate.
2830 2008-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
2832         * vc.el (vc-status-fileinfo): Add new member directoryp.
2833         (vc-default-status-printer): Print directories.
2834         (vc-status-update): Sort files before subdirectories.
2836         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
2837         Add alternative implementation based on "cvs update".
2839 2008-04-15  Tassilo Horn  <tassilo@member.fsf.org>
2841         * doc-view.el: Changed requirements section to tell that only one
2842         of dvipdf or dvipdfm is needed.
2843         (doc-view-already-converted-p): Fix bug that forced reconversion
2844         if doc was already converted.
2846 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2848         * minibuffer.el (minibuffer-message):
2849         Make sure we can put-text-property.
2851         * emacs-lisp/crm.el: Complete rewrite.
2853         * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
2854         (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
2855         case of an error in display-completion-list.
2857         * filecache.el (file-cache-completions-keymap): Move init from
2858         file-cache-completion-setup-function into declaration.
2859         (file-cache-minibuffer-complete): Simplify.
2860         (file-cache-completion-setup-function): Use standard-output,
2861         preserve current-buffer.
2863         * vc.el (vc-status-update): Fix typo.
2864         (vc-status-update): Set needs-update.
2865         (vc-status-refresh): Î·-reduce.
2867 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
2869         * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
2870         to image-eol.
2872 2008-04-14  Alexandre Julliard  <julliard@winehq.org>
2874         * vc.el (vc-status-update): Undo the previous revert.
2876 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2878         * minibuffer.el (completion-table-with-terminator): Those completions
2879         are never valid w.r.t test-completion.
2880         (completion--file-name-table):
2881         Check completion-all-completions-with-base-size.
2883 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
2885         * doc-view.el (doc-view-dvipdf-program): New variable.
2886         (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
2887         (doc-view-mode-p): Check for doc-view-dvipdf-program as
2888         alternative for doc-view-dvipdfm-program.
2889         (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
2891         * doc-view.el (doc-view-start-process): Don't set
2892         default-directory to "~/" if the current value is valid.
2893         This broke PS files that run other files in the same directory.
2895 2008-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
2897         * vc.el (vc-status-kill-query): New function.
2898         (vc-status-mode): Add it to kill-buffer-query-functions.
2899         (vc-status-show-fileentry): New function.
2900         (vc-status-menu-map): Bind it.  Bind vc-next-action.
2902 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2904         * minibuffer.el (minibuffer-message): Put cursor at the right place.
2906 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
2908         * proced.el (proced-send-signal): Fix error recognition.
2910 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
2912         * proced.el (proced-command-alist): Remove sort column.
2913         (proced-command, proced-procname-column):
2914         Use make-variable-buffer-local.
2915         (proced-signal-function): Rename from proced-kill-program.
2916         Allow for elisp symbols and string values representing system calls.
2917         (proced-marker-regexp, proced-success-message): New functions.
2918         (proced): Use defalias.  Add autoload cookie.
2919         (proced-unmark-backward, proced-toggle-marks)
2920         (proced-hide-processes): New commands.
2921         (proced-do-mark): Simplify code.
2922         (proced-insert-mark): Use optional arg BACKWARD instead of line number.
2923         (proced-update): Remove sorting.
2924         (proced-send-signal): Display number of processes to operate on.
2925         Allow for system calls or elisp functions to send signals.
2926         Check if signal was sent successfully.
2928 2008-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * minibuffer.el (completion-all-completion-with-base-size): New var.
2931         (completion--some): New function.
2932         (completion-table-with-context, completion--file-name-table):
2933         Return the base-size if requested.
2934         (completion-table-in-turn): Generalize to multiple arguments.
2935         (complete-in-turn): Compatibility alias.
2936         (completion-styles-alist): New var.
2937         (completion-styles): New customization.
2938         (minibuffer-try-completion, minibuffer-all-completions):
2939         New functions.
2940         (minibuffer--do-completion, minibuffer-complete-and-exit)
2941         (minibuffer-try-word-completion): Use them.
2942         (display-completion-list, minibuffer-completion-help): Use them.
2943         Handle all-completions's new base-size info to set completion-base-size.
2944         * info.el (Info-read-node-name-1): Use completion-table-with-context,
2945         completion-table-with-terminator and complete-with-action.
2946         Remove the now obsolete completion-base-size-function property.
2947         * simple.el (completion-list-mode-map): Move init into declaration.
2948         (completion-list-mode): Use define-derived-mode.
2949         (completion-setup-function): Use any completion-base-size that may
2950         have been set before.  Remove handling of completion-base-size-function.
2951         * loadup.el: Move abbrev.el up earlier.
2953 2008-04-13  Alexandre Julliard  <julliard@winehq.org>
2955         * vc-git.el (vc-git-after-dir-status-stage)
2956         (vc-git-dir-status-goto-stage): New functions.
2957         (vc-git-after-dir-status-stage1)
2958         (vc-git-after-dir-status-stage1-empty-db)
2959         (vc-git-after-dir-status-stage2): Remove, functionality moved
2960         into the new generic stage functions.
2961         (vc-git-dir-status-files): New function.
2963         * vc.el (vc-status-update): Revert an incorrect rewrite.
2964         Add some comments.
2965         (vc-status-refresh-files): New function.
2966         (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
2967         state of up-to-date files.
2968         (vc-default-dir-status-files): New function.
2970 2008-04-13  Juanma Barranquero  <lekktu@gmail.com>
2972         * minibuffer.el (completion--embedded-envvar-table)
2973         (read-file-name-internal): Fix typos in 2008-04-11 change.
2975         * faces.el (read-face-name): Use `completion-table-in-turn',
2976         not `complete-in-turn'.
2978 2008-04-13  Andreas Schwab  <schwab@suse.de>
2980         * progmodes/etags.el: Require 'cl when compiling.
2982 2008-04-12  Nick Roberts  <nickrob@snap.net.nz>
2984         * progmodes/gud.el (gud-menu-map): Expand tooltip.
2986         * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
2987         (menu): Add/expand menu tooltips.
2989 2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
2991         * progmodes/sh-script.el (sh-show-indent): Fix typo.
2992         (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
2994         * vc-cvs.el (vc-cvs-registered): Allow removed files to be
2995         considered registered.
2997 2008-04-12  Reiner Steib  <Reiner.Steib@gmx.de>
2999         * emacs-lisp/copyright.el (copyright-update-directory): New command.
3001         * ediff-wind.el (ediff-split-window-function)
3002         (ediff-merge-split-window-function): Improve custom type.
3004 2008-04-12  Eli Zaretskii  <eliz@gnu.org>
3006         * loadup.el ("minibuffer"): Move after "faces".
3008 2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3010         * progmodes/hideif.el (hif-factor): Handle unary minus.
3012 2008-04-12  Glenn Morris  <rgm@gnu.org>
3014         * calendar/cal-china.el (chinese-calendar-time-zone):
3015         Mark obsolete name as risky too.
3017         * calendar/calendar.el (calendar-faces): New custom group.
3018         (calendar-today, diary, holiday): Doc fix.
3019         Move to calendar-faces group.
3020         * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
3021         (diary-button): Doc fix.  Move to calendar-faces group.
3023         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3024         * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
3025         * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
3026         * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
3027         * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
3028         Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
3029         not in dumped files before the associated defcustom.
3031 2008-04-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
3033         * minibuffer.el (lazy-completion-table): Fix debug spec.
3035 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3037         * minibuffer.el (complete-with-action, lazy-completion-table):
3038         Move from subr.el.
3039         (apply-partially, completion-table-dynamic)
3040         (completion-table-with-context, completion-table-with-terminator)
3041         (completion-table-in-turn): New funs.
3042         (completion--make-envvar-table, completion--embedded-envvar-table):
3043         New funs.
3044         (read-file-name-internal): Use them.
3045         (completion-setup-hook): Move from simple.el.
3046         * subr.el (complete-with-action, lazy-completion-table):
3047         * simple.el (completion-setup-hook): Move to minibuffer.el.
3049 2008-04-11  Glenn Morris  <rgm@gnu.org>
3051         * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
3053 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * progmodes/python.el (python-mode): Don't mess with hippie-expand.
3057         * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
3059         * textmodes/fill.el (fill-forward-paragraph-function): New var.
3060         (fill-forward-paragraph): New fun.
3061         (fill-paragraph, fill-region): Use it.
3063         * vc.el: Change `dir-status' to not take (and pass) status-buffer.
3064         (vc-status-create-fileinfo): Make `extra' optional.
3065         (vc-status-busy): New fun.
3066         (vc-status-menu-map): Use it.
3067         (vc-status-crt-marked): Remove.
3068         (vc-status-update): Rename from vc-status-add-entries.
3069         Add argument so as to prevent addition of entries.  Rewrite.
3070         (vc-update-vc-status-buffer): Remove.
3071         (vc-status-refresh): Don't remove old entries, set them to
3072         up-to-date instead.  Also do it after the update is complete.
3073         (vc-status-marked-files): Î·-reduce.
3075         * dired.el (dired-read-dir-and-switches): Use read-directory-name even
3076         for non-dialogs.
3078         * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
3080         * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
3082 2008-04-11  Jan Djärv  <jan.h.d@swipnet.se>
3084         * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
3085         to t and don't truncate msg.
3087 2008-04-11  Glenn Morris  <rgm@gnu.org>
3089         * calendar/calendar.el (diary, holidays):
3090         Move custom groups to other files.
3091         (holiday-general-holidays, holiday-oriental-holidays)
3092         (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
3093         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
3094         (holiday-hebrew-holidays, holiday-christian-holidays)
3095         (holiday-islamic-holidays, holiday-bahai-holidays)
3096         (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
3097         * calendar/diary-lib.el: Move custom group here from calendar.el.
3098         * calendar/holidays-lib.el: Move custom group and variables here
3099         from calendar.el.
3101         * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
3103         * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
3104         Fix custom group.
3105         (calendar-current-time-zone-cache): Autoload riskiness.
3107         * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
3109 2008-04-11  Chong Yidong  <cyd@stupidchicken.com>
3111         * woman.el (woman2-TH): Use string-equal instead of string-match.
3113 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3115         * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
3116         (smerge-resolve): Merge the "2-way refinement" case with one half of
3117         the "mere whitespace" resolution.
3119 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3121         * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
3123 2008-04-10  Juanma Barranquero  <lekktu@gmail.com>
3125         * subr.el (assoc-ignore-case, assoc-ignore-representation):
3126         Add WHEN to obsolescence declaration.
3128         * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
3130 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
3132         * vc-hooks.el (vc-state): Add new state `conflict'.
3133         (vc-after-save): Use when not if.
3134         (vc-default-mode-line-string): Deal with the conflict state.
3135         (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
3137         * vc.el (vc-editable-p, vc-default-status-printer)
3138         (vc-next-action): Deal with the conflict state.
3139         (vc-mark-resolved): New function.
3140         (vc-status-mode): Fix mode name.
3141         (vc-default-comment-history): Use when not if.
3142         (Todo): Add new entries, remove old ones.
3144         * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
3145         (vc-cvs-parse-status, vc-cvs-after-dir-status):
3146         * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
3147         Detect the conflict state.
3149         * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
3151 2008-04-10  Glenn Morris  <rgm@gnu.org>
3153         * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
3154         Respect truncate-partial-width-windows in non-full windows,
3155         with regards to :toggle and :enable state.
3157         * simple.el (toggle-truncate-lines): Doc fix.
3159         * Makefile.in (MH_E_DIR): New variable.
3160         (MH_E_SRC): Restore variable removed 2008-03-13.
3161         (mh-loaddefs.el): Depend on $MH_E_SRC.
3162         (CAL_DIR, CAL_SRC): New variables.
3163         (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
3164         Depend on CAL_SRC.
3166         * calendar/calendar.el (calendar, diary): Add :prefix.
3167         (holidays): Change :prefix.
3168         (calendar-today, holiday, calendar-holiday-marker)
3169         (european-calendar-style): Change custom groups.
3171         * calendar/calendar.el (diary-hook, diary-display-hook):
3172         Move to diary-lib.el.
3173         * calendar/diary-lib.el (diary-hook, diary-display-hook):
3174         Move here from calendar.el.
3175         * calendar/appt.el: Require diary-lib rather than calendar.
3176         * calendar/cal-x.el (diary-display-hook): Declare for compiler.
3178         * calendar/appt.el (appt): Add :prefix.
3180         * calendar/diary-lib.el (diary-hook): Doc fix.
3181         (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
3183 2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3185         * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
3186         New functions.
3188         * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
3189         the arg to recursive calls.
3191 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3193         * minibuffer.el (completion-auto-help): Fix typo.
3195 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3197         * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
3199 2008-04-09  Michael Albinus  <michael.albinus@gmx.de>
3201         * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
3202         (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
3204 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3206         * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
3208         * minibuffer.el (minibuffer): Move group from cus-edit.el.
3209         (completion-auto-help): Move from C code.
3210         (minibuffer--maybe-completion-help): Remove.
3211         (minibuffer--bitset): New function.
3212         (minibuffer--do-completion): Rename from minibuffer-do-completion.
3213         Renumber a bit.  Really complete on string *before* point.
3214         Add argument used for word-completion.
3215         Join trailing / in completion with following text, as done in
3216         minibuffer-complete-word.
3217         Handle new value `lazy' for completion-auto-help.
3218         (minibuffer-try-word-completion): New function extracted from
3219         minibuffer-complete-word.
3220         (minibuffer-complete-word): Use minibuffer--do-completion.
3221         (minibuffer--insert-strings): Rename from
3222         minibuffer-complete-insert-strings.
3223         (exit-minibuffer): Fix typo.
3224         * cus-edit.el (minibuffer): Move group to minibuffer.el.
3225         * cus-start.el: Remove completion-auto-help.
3227 2008-04-09  Alexandre Julliard  <julliard@winehq.org>
3229         * vc.el (vc-status-add-entries): New function.
3230         (vc-status-add-entry): Remove.
3231         (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
3232         Use vc-status-add-entries.
3234         * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
3235         order.
3237 2008-04-09  Jason Rumney  <jasonr@gnu.org>
3239         * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
3240         ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
3241         (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
3242         (AUTOGENEL): New variable.
3243         (distclean, maintainer-clean): New targets.
3245 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3247         * emacs-lisp/regexp-opt.el (regexp-opt):
3248         Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
3250 2008-04-09  Lennart Borgman  <lennart.borgman@gmail.com>
3252         * nxml/nxml-mode.el (nxml-cleanup): New function.
3253         (nxml-mode): Add it to change-major-mode-hook.
3255 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3257         * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
3259 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
3261         * calc/.cvsignore: New file.
3263 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
3265         * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
3267         * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
3268         show-help-function when turning tooltip off.
3269         (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
3270         (tooltip-trunc-str, tooltip-show-help-non-mode): New.
3272 2008-04-09  Alan Mackenzie  <acm@muc.de>
3274         * font-lock.el (font-lock-extend-after-change-region-function):
3275         Make it buffer local.
3277 2008-04-09  Glenn Morris  <rgm@gnu.org>
3279         * calendar/calendar.el (diary-file, european-calendar-style):
3280         Remove autoload cookies.
3282 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3284         * outline.el (outline-mode-menu-bar-map):
3285         * log-view.el (log-view-mode-menu):
3286         * log-edit.el (log-edit-menu): Add :help.
3288 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
3290         * emacs-lisp/regexp-opt.el (regexp-opt-group):
3291         Use substring-no-properties for correct handling of unibyte strings.
3293 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3295         * add-log.el (change-log-next-buffer): Handle the case where version<
3296         signals an error.
3298         * mouse.el (mouse-menu-major-mode-map): New fun extracted from
3299         mouse-major-mode-menu.
3300         (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
3301         (mouse-major-mode-menu, mouse-popup-menubar)
3302         (mouse-popup-menubar-stuff): Use them.
3303         (C-down-mouse-3): Bind to a dynamic map rather than to
3304         mouse-popup-menubar-stuff.
3306         * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
3307         to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
3309 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
3311         * vc-svn.el (vc-svn-modify-change-comment): Add support for the
3312         file:// access method.
3314 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3316         * minibuffer.el: New file.
3317         * loadup.el: Load it.
3319 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3321         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
3322         rather than subdirs.el.  It introduces an ugly circular dependency, tho.
3324         * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
3325         (calc-mode-map, calc-digit-map, calc-dispatch-map):
3326         Move initialization into declaration.
3327         * calc/calc-yank.el:
3328         * calc/calc-misc.el:
3329         * calc/calc-embed.el:
3330         * calc/calc-aent.el: Add autoload cookies.  Set generated-autoload-file.
3332 2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
3334         * ps-samp.el (ps-add-printer, ps-remove-printer)
3335         (ps-make-dynamic-printer-menu): New functions.
3337         * net/zeroconf.el: New file.
3339 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3341         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
3343 2008-04-08  Dan Nicolaescu  <dann@ics.uci.edu>
3345         * vc-rcs.el (vc-rcs-modify-change-comment):
3346         * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
3348         * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
3350 2008-04-08  Juanma Barranquero  <lekktu@gmail.com>
3352         * international/mule-cmds.el (set-locale-environment): Don't warn if
3353         coding system doesn't agree with system locale (this reverts changes
3354         by Dave Love, dated 2002-10-27 and 2002-10-09).
3356         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3357         * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
3359         * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
3361 2008-04-08  Glenn Morris  <rgm@gnu.org>
3363         * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
3364         * textmodes/remember.el (remember-diary-convert-entry):
3365         Require calendar.
3367         * textmodes/remember.el (remember-diary-extract-entries): Don't pass
3368         diary-file, since it is the default for make-diary-entry anyway.
3370         * calendar/cal-menu.el (cal-menu-event-to-date):
3371         Rename calendar-event-to-date.  Update callers.
3372         (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
3373         (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
3374         (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
3375         (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
3376         (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
3377         (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
3378         (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
3379         (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
3380         (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
3381         (calendar-mouse-tex-month-landscape):
3382         Rename cal-tex-mouse-month-landscape.
3383         (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
3384         (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
3385         (calendar-mouse-tex-year-landscape):
3386         Rename cal-tex-mouse-year-landscape.
3387         (cal-menu-context-mouse-menu): Update for above name changes.
3389         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3390         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3391         * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
3392         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
3393         * calendar/holidays.el: Replace int-to-string with number-to-string.
3395 2008-04-08  Chong Yidong  <cyd@stupidchicken.com>
3397         * mwheel.el (mwheel-scroll): Deactivate any temporarily active
3398         region if point moves.
3400 2008-04-08  Kenichi Handa  <handa@m17n.org>
3402         * faces.el (font-slant-table): Change numeric values for `r',
3403         `roman', and `normal'.
3405 2008-04-07  Vincent Belaïche  <vincent.b.1@hotmail.fr>
3407         * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
3409 2008-04-07  Jay Belanger  <jay.p.belanger@gmail.com>
3411         * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
3412         `calcFunc-kron' to autoloads.  Add keybinding for `calc-kron'.
3414 2008-04-07  Michael Albinus  <michael.albinus@gmx.de>
3416         * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
3417         "pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
3419 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3421         * dired-aux.el (dired-read-shell-command): Use read-shell-command.
3423 2008-04-07  Sam Steingold  <sds@gnu.org>
3425         * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
3426         Add helper functions.
3427         (lisp-do-defun): Extract the common part of lisp-eval-defun and
3428         lisp-compile-defun; DEFVAR forms reset the variables to the init
3429         values, just like in emacs-lisp mode eval-defun.
3430         (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
3431         (lisp-compile-region): Use lisp-compile-string.
3433 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3435         * subr.el (combine-and-quote-strings): Also quote strings that contain
3436         the separator.
3438         * pcvs-util.el (cvs-map): Avoid recursion :-(
3440 2008-04-07  Glenn Morris  <rgm@gnu.org>
3442         * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
3444         * calendar.el (diary-view-entries-initially-flag): Rename
3445         view-diary-entries-initially.  Keep old name as alias, update users.
3446         (calendar-mark-diary-entries-flag): Rename
3447         mark-diary-entries-in-calendar.  Keep old name as alias, update users.
3448         (calendar-view-holidays-initially-flag): Rename
3449         view-calendar-holidays-initially.  Keep old name as alias, update users.
3450         (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
3451         Keep old name as alias, update users.
3452         (calendar-initial-window-hook): Rename initial-calendar-window-hook.
3453         Keep old name as alias, update users.
3454         (calendar-today-visible-hook): Rename today-visible-calendar-hook.
3455         Keep old name as alias, update users.
3456         (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
3457         Keep old name as alias, update users.
3458         (diary-iso-date-forms): Rename iso-date-diary-pattern.  Update users.
3459         (diary-american-date-forms): Rename american-date-diary-pattern.
3460         Keep old name as alias, update users.
3461         (diary-european-date-forms): Rename european-date-diary-pattern.
3462         Keep old name as alias, update users.
3463         (calendar-iso-date-display-form): Rename iso-calendar-display-form.
3464         Keep old name as alias, update users.
3465         (calendar-european-date-display-form): Rename
3466         european-calendar-display-form.  Keep old name as alias, update users.
3467         (calendar-american-date-display-form): Rename
3468         european-calendar-display-form.  Keep old name as alias, update users.
3469         (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
3470         Keep old name as alias, update users.
3471         (holiday-general-holidays): Rename general-holidays.
3472         Keep old name as alias, update users.
3473         (holiday-oriental-holidays): Rename oriental-holidays.
3474         Keep old name as alias, update users.
3475         (holiday-local-holidays): Rename local-holidays.
3476         Keep old name as alias, update users.
3477         (holiday-other-holidays): Rename other-holidays.
3478         Keep old name as alias, update users.
3479         (holiday-hebrew-holidays): Rename hebrew-holidays.
3480         Keep old name as alias, update users.
3481         (holiday-christian-holidays): Rename christian-holidays.
3482         Keep old name as alias, update users.
3483         (holiday-islamic-holidays): Rename islamic-holidays.
3484         Keep old name as alias, update users.
3485         (holiday-bahai-holidays): Rename bahai-holidays.
3486         Keep old name as alias, update users.
3487         (holiday-solar-holidays): Rename solar-holidays.
3488         Keep old name as alias, update users.
3489         (diary-fancy-buffer): Rename fancy-diary-buffer.
3490         Keep old name as alias, update users.
3491         (calendar-other-calendars-buffer): Rename other-calendars-buffer.
3492         Update users.
3493         (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
3494         Update users.
3495         (calendar-increment-month): Rename increment-calendar-month.
3496         Keep old name as alias, update callers.
3497         (calendar-increment-month-cons): Rename old calendar-increment-month.
3498         Update callers.
3499         (calendar-extract-month): Rename extract-calendar-month.
3500         Keep old name as alias, update callers
3501         (calendar-extract-day): Rename extract-calendar-day.
3502         Keep old name as alias, update callers.
3503         (calendar-extract-year): Rename extract-calendar-year.
3504         Keep old name as alias, update callers.
3505         (calendar-generate-window): Rename generate-calendar-window.
3506         Update callers.
3507         (calendar-generate): Rename generate-calendar.  Update callers.
3508         (calendar-generate-month): Rename generate-calendar-month.
3509         Update callers.
3510         (calendar-redraw): Rename redraw-calendar.  Update callers.
3511         (calendar-describe-mode): Rename describe-calendar-mode.  Update uses.
3512         (calendar-mouse-other-month): Rename mouse-calendar-other-month.
3513         Update callers.
3514         (calendar-update-mode-line): Rename update-calendar-mode-line.
3515         Update callers.
3516         (calendar-exit): Rename exit-calendar.  Keep old name as alias,
3517         update callers.
3518         (calendar-mark-visible-date): Rename mark-visible-calendar-date.
3519         Keep old name as alias, update callers.
3520         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
3521         * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
3522         * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
3523         * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
3524         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
3525         * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
3526         * calendar/solar.el: Update for calendar.el name changes.
3527         * org/org.el (org-agenda-format-date-aligned)
3528         (org-agenda-execute-calendar-command): Access date elements directly
3529         rather than using calendar functions.
3530         (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
3531         Also set calendar-view-diary-initially-flag,
3532         calendar-view-holidays-initially-flag
3533         (org-get-entries-from-diary): Also set diary-fancy-buffer.
3534         (org-agenda-execute-calendar-command): No need to set displayed-day.
3536 2008-04-06  Alan Mackenzie  <acm@muc.de>
3538         * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
3539         typo in the doc string.
3541         * progmodes/cc-mode.el (c-basic-common-init):
3542         Set font-lock-extend-after-change-region-function.
3543         (c-extend-after-change-region): New function, used in
3544         font-lock-extend-after-change-region-function, thus superseding
3545         advice on the Font Lock after change functions.
3546         (c-advise-fl-for-region): Remove this macro.
3548 2008-04-06  Reiner Steib  <Reiner.Steib@gmx.de>
3550         * textmodes/flyspell.el (flyspell-duplicate-distance):
3551         Improve custom type.
3553 2008-04-06  Glenn Morris  <rgm@gnu.org>
3555         * calendar/diary-lib.el (diary-sexp-entry-symbol):
3556         Rename sexp-diary-entry-symbol.  Keep old name as alias, update users.
3557         (diary-list-entries-hook): Rename list-diary-entries-hook.
3558         Keep old name as alias, update users.
3559         (diary-mark-entries-hook): Rename mark-diary-entries-hook.
3560         Keep old name as alias, update users.
3561         (diary-nongregorian-listing-hook): Rename
3562         nongregorian-diary-listing-hook.  Keep old name as alias, update users.
3563         (diary-nongregorian-marking-hook): Rename
3564         nongregorian-diary-marking-hook.  Keep old name as alias, update users.
3565         (diary-print-entries-hook): Rename print-diary-entries-hook.
3566         Keep old name as alias, update users.
3567         (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
3568         Keep old name as alias, update users.
3569         (diary-number-of-entries): Rename number-of-diary-entries.
3570         Keep old name as alias, update users.
3571         (view-diary-entries, list-diary-entries, show-all-diary-entries):
3572         Give version of obsolescence.
3573         (diary-view-other-diary-entries): Rename view-other-diary-entries.
3574         Keep old name as alias, update callers.
3575         (diary-add-to-list): Rename add-to-diary-list.  Keep old name as alias,
3576         update callers.
3577         (diary-include-other-diary-files): Rename include-other-diary-files.
3578         Keep old name as alias, update callers.
3579         (diary-simple-display): Rename simple-diary-display.
3580         Keep old name as alias, update callers.
3581         (diary-fancy-display): Rename fancy-diary-display.
3582         Keep old name as alias, update callers.
3583         (diary-print-entries): Rename print-diary-entries.
3584         Keep old name as alias, update callers.
3585         (diary-marking-entries-flag): Rename marking-diary-entries.
3586         Update users.
3587         (diary-marking-entry-flag): Rename marking-diary-entry.  Update users.
3588         (diary-mark-entries): Rename mark-diary-entries.
3589         Keep old name as alias, update callers.
3590         (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
3591         Keep old name as alias, update callers.
3592         (diary-mark-included-diary-files): Rename mark-included-diary-files.
3593         Keep old name as alias, update callers.
3594         (calendar-mark-days-named): Rename mark-calendar-days-named.
3595         Keep old name as alias, update callers.
3596         (calendar-mark-month): Rename mark-calendar-month.
3597         Keep old name as alias, update callers.
3598         (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
3599         Keep old name as alias, update callers.
3600         (diary-sort-entries): Rename sort-diary-entries.
3601         Keep old name as alias, update callers.
3602         (diary-list-sexp-entries): Rename list-sexp-diary-entries.
3603         Keep old name as alias, update callers.
3604         (diary-make-entry): Rename make-diary-entry.  Keep old name as alias,
3605         update callers.
3606         (diary-insert-entry): Rename insert-diary-entry.
3607         Keep old name as alias.
3608         (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
3609         Keep old name as alias.
3610         (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
3611         Keep old name as alias.
3612         (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
3613         Keep old name as alias.
3614         (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
3615         Keep old name as alias.
3616         (diary-insert-block-entry): Rename insert-block-diary-entry.
3617         Keep old name as alias.
3618         (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
3619         Keep old name as alias.
3620         (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
3621         Keep old name as alias, update users.
3622         (diary-fancy-display-mode): Rename fancy-diary-display-mode.
3623         Keep old name as alias, update callers.
3624         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
3625         * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
3626         * calendar/icalendar.el: Update for diary-lib name changes.
3628 2008-04-06  Chong Yidong  <cyd@stupidchicken.com>
3630         * dired-aux.el (dired-overwrite-confirmed): Revert last change.
3632         * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
3633         for copy, move, and link operations.
3635 2008-04-06  Michael Kifer  <kifer@cs.stonybrook.edu>
3637         * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
3638         (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
3640         * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
3641         'require' statements with 1-argument ones (wrapped in if's).
3642         For compatibility with the current stable version of XEmacs.
3644 2008-04-06  Dan Nicolaescu  <dann@ics.uci.edu>
3646         * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
3648 2008-04-06  Jason Rumney  <jasonr@gnu.org>
3650         * language/burmese.el ("Burmese"): Make sample text consistent with
3651         language name.
3653 2008-04-06  Nick Roberts  <nickrob@snap.net.nz>
3655         * progmodes/gdb-ui.el (gdb): New group.
3656         (gdb-debug-log-max, gdb-enable-debug)
3657         (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
3658         (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
3659         (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
3660         (gdb-show-changed-values, gdb-max-children)
3661         (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
3662         (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
3663         (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
3664         (gdb-memory-unit): Move to new group from GUD group.
3665         (menu): Allow customization from GDB-UI menu-item.
3667 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
3669         * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
3671 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3673         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
3674         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
3675         Revision numbers can include ".".
3677         * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
3678         "+" lines not accounted for by counting "-" and context lines.
3680 2008-04-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3682         * term/mac-win.el (mac-service-open-file): Use file URL instead of
3683         file name string.
3685 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
3688         (vc-bzr-annotate-time): Accept space used to preserve alignment.
3690 2008-04-05  Richard Stallman  <rms@gnu.org>
3692         * emacs-lisp/advice.el (defadvice): Add usage pattern.
3694 2008-04-05  Nick Roberts  <nickrob@snap.net.nz>
3696         * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
3697         thread in [h-e-w]).
3699 2008-04-05  Juanma Barranquero  <lekktu@gmail.com>
3701         * files.el (abort-if-file-too-large): Fix typo in docstring.
3703 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3705         * subr.el (functionp): Return nil for special forms.
3707 2008-04-05  Glenn Morris  <rgm@gnu.org>
3709         * emacs-lisp/autoload.el (autoload-ensure-default-file):
3710         Provide a feature.
3711         * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
3712         Require loaddef file rather than loading it.
3713         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
3714         autoload-ensure-default-file provides a feature.
3716         * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
3717         (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
3718         (compile, compile-always, recompile): Use $LOADDEFS.
3719         (cal-autoloads): Remove.
3721         * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
3722         than buffer-live-p.  Reported by David Koppelman <koppel@ece.lsu.edu>.
3724         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
3725         (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
3727         * calendar/calendar.el (diary-hebrew-entry-symbol):
3728         Rename hebrew-diary-entry-symbol.  Keep old name as alias.
3729         (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
3730         Keep old name as alias.
3731         (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
3732         Keep old name as alias.
3733         * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
3734         to diary-bahai-entry-symbol.
3735         * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
3736         to diary-hebrew-entry-symbol.
3737         * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
3738         to diary-islamic-entry-symbol.
3739         * calendar/diary-lib.el: Update for diary-entry-symbol renames.
3741         * calendar/solar.el (diary-sabbath-candles-minutes)
3742         (diary-sabbath-candles): Move to cal-hebrew.
3743         * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
3744         (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
3745         Doc fix.  Keep old name as alias.
3746         (diary-hebrew-sabbath-candles): Simplify.
3747         (solar-setup, solar-sunrise-sunset, calendar-latitude)
3748         (calendar-longitude, calendar-time-zone): Declare for compiler.
3749         * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
3750         rename.
3752         * calendar/cal-coptic.el (calendar-coptic-month-name-array):
3753         Rename coptic-calendar-month-name-array.  Update callers.
3754         (calendar-coptic-epoch): Rename coptic-calendar-epoch.  Update callers.
3755         (calendar-coptic-name): Rename coptic-name.  Update callers.
3756         (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
3757         Update callers.
3758         (calendar-coptic-last-day-of-month):
3759         Rename coptic-calendar-last-day-of-month.  Update callers.
3760         (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
3761         Keep old name as alias, update callers.
3762         (calendar-coptic-print-date): Rename calendar-print-coptic-date.
3763         Keep old name as alias, update callers.
3764         (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
3765         Keep old name as alias.
3766         (calendar-ethiopic-month-name-array):
3767         Rename ethiopic-calendar-month-name-array.  Update callers.
3768         (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
3769         Update callers.
3770         (calendar-ethiopic-name): Rename ethiopic-name.  Update callers.
3771         (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
3772         Keep old name as alias, update callers.
3773         (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
3774         Keep old name as alias, update callers.
3775         (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
3776         Keep old name as alias.
3778         * calendar/cal-french.el (calendar-french-epoch):
3779         Rename french-calendar-epoch.  Update callers.
3780         (calendar-french-month-name-array): Rename variable and function
3781         french-calendar-month-name-array.  Update callers.
3782         (calendar-french-multibyte-month-name-array):
3783         Rename french-calendar-multibyte-month-name-array.  Update callers.
3784         (calendar-french-day-name-array): Rename variable and function
3785         french-calendar-day-name-array.  Update callers.
3786         (calendar-french-special-days-array): Rename variable and function
3787         french-calendar-special-days-array.  Update callers.
3788         (calendar-french-multibyte-special-days-array):
3789         Rename french-calendar-multibyte-special-days-array.  Update callers.
3790         (calendar-french-accents-p): Rename french-calendar-accents.
3791         Update callers.
3792         (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
3793         Update callers.
3794         (calendar-french-last-day-of-month):
3795         Rename french-calendar-last-day-of-month.  Update callers.
3796         (calendar-french-to-absolute): Rename calendar-absolute-from-french.
3797         Keep old name as alias, update callers.
3798         (calendar-french-print-date): Rename calendar-print-french-date.
3799         Keep old name as alias, update callers.
3800         (calendar-french-goto-date): Rename calendar-goto-french-date.
3801         Keep old name as alias.
3803         * calendar/cal-menu.el, calendar/calendar.el:
3804         Update for Coptic and French name changes.
3806         * calendar/cal-china.el (calendar-chinese): Rename custom group
3807         from chinese-calendar.  Update users.
3808         (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
3809         Keep old name as alias, update users.
3810         (calendar-chinese-location-name): Rename chinese-calendar-location-name.
3811         Keep old name as alias.
3812         (calendar-chinese-daylight-time-offset):
3813         Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
3814         update users.
3815         (calendar-chinese-standard-time-zone-name):
3816         Rename chinese-calendar-standard-time-zone-name.
3817         Keep old name as alias, update users.
3818         (calendar-chinese-daylight-saving-start):
3819         Rename chinese-calendar-daylight-savings-starts.
3820         Keep old name as alias, update users.
3821         (calendar-chinese-daylight-saving-end):
3822         Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
3823         update users.
3824         (calendar-chinese-daylight-saving-start-time):
3825         Rename chinese-calendar-daylight-savings-starts-time.
3826         Keep old name as alias, update users.
3827         (calendar-chinese-daylight-saving-end-time):
3828         Rename chinese-calendar-daylight-savings-ends-time.
3829         Keep old name as alias, update users.
3830         (calendar-chinese-celestial-stem): Rename
3831         calendar-chinese-celestial-stem.  Keep old name as alias, update users.
3832         (calendar-chinese-terrestrial-branch):
3833         Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
3834         update users.
3835         (calendar-chinese-zodiac-sign-on-or-after):
3836         Rename chinese-zodiac-sign-on-or-after.  Update callers.
3837         (calendar-chinese-new-moon-on-or-after):
3838         Rename chinese-new-moon-on-or-after.  Update callers.
3839         (calendar-chinese-month-list): Rename chinese-month-list.
3840         Update callers.
3841         (calendar-chinese-number-months): Rename number-chinese-months.
3842         Update callers.
3843         (calendar-chinese-compute-year): Rename compute-chinese-year.
3844         Update callers.
3845         (calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
3846         (calendar-chinese-year): Rename chinese-year.  Update callers.
3847         (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
3848         (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
3849         Keep old name as alias, update callers.
3850         (calendar-chinese-print-date): Rename calendar-print-chinese-date.
3851         Keep old name as alias, update callers.
3852         (calendar-chinese-months-to-alist):
3853         Rename make-chinese-month-assoc-list.  Update callers.
3854         (calendar-chinese-months): Rename chinese-months.  Update callers.
3855         (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
3856         Keep old name as alias, update callers.
3858         * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
3859         Rename hebrew-calendar-leap-year-p.  Update callers.
3860         (calendar-hebrew-last-month-of-year):
3861         Rename hebrew-calendar-last-month-of-year.  Update callers.
3862         (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
3863         Update callers.
3864         (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
3865         Update callers.
3866         (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
3867         Update callers.
3868         (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
3869         Update callers.
3870         (calendar-hebrew-last-day-of-month):
3871         Rename hebrew-calendar-last-day-of-month.  Update callers.
3872         (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
3873         Keep old name as alias, update callers.
3874         (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
3875         Keep old name as alias, update callers.
3876         (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
3877         Keep old name as alias, update callers.
3878         (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
3879         Keep old name as alias.
3880         (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
3881         Keep old name as alias.
3882         (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
3883         Keep old name as alias.
3884         (holiday-hebrew-passover): Rename holiday-passover-etc.
3885         Keep old name as alias.
3886         (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
3887         Keep old name as alias, update callers.
3888         (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
3889         Keep old name as alias.
3890         (calendar-hebrew-mark-date-pattern):
3891         Rename mark-hebrew-calendar-date-pattern.  Keep old name as alias,
3892         update callers.
3893         (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
3894         Keep old name as alias.
3895         (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
3896         Keep old name as alias.
3897         (diary-hebrew-insert-monthly-entry):
3898         Rename insert-monthly-hebrew-diary-entry.  Keep old name as alias.
3899         (diary-hebrew-insert-yearly-entry):
3900         Rename insert-yearly-hebrew-diary-entry.  Keep old name as alias.
3901         (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
3902         Keep old name as alias.
3903         (diary-hebrew-omer): Rename diary-omer.  Keep old name as alias.
3904         (diary-hebrew-yahrzeit): Rename diary-yahrzeit.  Keep old name as alias.
3905         (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
3906         Keep old name as alias.
3907         (calendar-hebrew-parashiot-names):
3908         Rename hebrew-calendar-parashiot-names.  Update callers.
3909         (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
3910         (calendar-hebrew-year-Saturday-incomplete-Sunday):
3911         Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
3912         (calendar-hebrew-year-Saturday-complete-Tuesday):
3913         Rename hebrew-calendar-year-Saturday-complete-Tuesday.
3914         (calendar-hebrew-year-Monday-incomplete-Tuesday):
3915         Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
3916         (calendar-hebrew-year-Monday-complete-Thursday):
3917         Rename hebrew-calendar-year-Monday-complete-Thursday.
3918         (calendar-hebrew-year-Tuesday-regular-Thursday):
3919         Rename hebrew-calendar-year-Tuesday-regular-Thursday.
3920         (calendar-hebrew-year-Thursday-regular-Saturday):
3921         Rename hebrew-calendar-year-Thursday-regular-Saturday.
3922         (calendar-hebrew-year-Thursday-complete-Sunday):
3923         Rename hebrew-calendar-year-Thursday-complete-Sunday.
3924         (calendar-hebrew-year-Saturday-incomplete-Tuesday):
3925         Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
3926         (calendar-hebrew-year-Saturday-complete-Thursday):
3927         Rename hebrew-calendar-year-Saturday-complete-Thursday.
3928         (calendar-hebrew-year-Monday-incomplete-Thursday):
3929         Rename hebrew-calendar-year-Monday-incomplete-Thursday.
3930         (calendar-hebrew-year-Monday-complete-Saturday):
3931         Rename hebrew-calendar-year-Monday-complete-Saturday.
3932         (calendar-hebrew-year-Tuesday-regular-Saturday):
3933         Rename hebrew-calendar-year-Tuesday-regular-Saturday.
3934         (calendar-hebrew-year-Thursday-incomplete-Sunday):
3935         Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
3936         (calendar-hebrew-year-Thursday-complete-Tuesday):
3937         Rename hebrew-calendar-year-Thursday-complete-Tuesday.
3938         (diary-hebrew-parasha): Rename diary-parasha.  Keep old name as alias.
3939         Update for above name changes of constants.
3941         * calendar/cal-menu.el, calendar/calendar.el:
3942         Update for chinese and hebrew name changes.
3943         * calendar/diary-lib.el: Update for hebrew name changes.
3945 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3947         * subr.el (keymap-canonicalize): Correct thinko.
3949         * server.el: Undo part of the multi-tty change, which is only
3950         needed if server.el is preloaded, and broke server-running-p.
3951         (server-socket-dir): Initialize in the defvar, as before.
3952         (server-start): Remove initialization of server-socket-dir.
3954 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
3956         * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
3957         3-member cons cells.
3959 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
3961         * cus-face.el (custom-face-attributes): Handle roman slant.
3963         * faces.el (default): Ensure the face-defface-spec property is set.
3965 2008-04-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
3967         * files.el (abort-if-file-too-large): New function.
3968         (find-file-noselect, insert-file-1): Use it.
3970 2008-04-05  Reto Zimmermann  <reto@gnu.org>
3972         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
3973         Replace C-c[a-zA-Z] key bindings.
3975 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3977         * progmodes/hideif.el (hif-token-alist): New var.
3978         (hif-token-regexp, hif-tokenize): Use it.
3979         (hif-mathify-binop): New macro.
3980         (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
3981         (hif-greater-equal, hif-less-equal): Use it.
3982         (hif-logior, hif-logand): New functions.
3983         (hif-math): Accept | and & as well.
3985         * progmodes/etags.el: Fix problem with completion for buffer-local
3986         tables.  Reported by Radey Shouman <shouman@comcast.net>.
3987         (tags-complete-tag): Remove.
3988         (tags-lazy-completion-table): New function to replace it.
3989         (find-tag-tag, complete-tag): Update users.
3991 2008-04-04  Dan Nicolaescu  <dann@ics.uci.edu>
3993         * vc-rcs.el (vc-rcs-dir-status):
3994         * vc-sccs.el (vc-sccs-dir-status): New function.
3996         * outline.el (outline-mode-menu-bar-map):
3997         * term.el (terminal-signal-menu): Add :help.
3999         * net/eudc.el (eudc-mode-map): Declare and define in one step.
4000         (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
4002         * emacs-lisp/re-builder.el (reb-mode-map):
4003         * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
4005         * diff-mode.el (diff-file-junk-re): Recognize the git format for
4006         new files, deleted files and for changing permissions.
4007         (diff-mode): Set beginning-of-defun-function and
4008         end-of-defun-function.
4010         * vc-bzr.el (vc-bzr-state): Use when instead of if.
4012         * vc.el (vc-default-status-fileinfo-extra): New function.
4013         (vc-status-mark-buffer-changed): Use it.
4014         (vc-update-vc-status-buffer): Allow for partial updates.
4016 2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4018         * net/tramp.el (after-init-hook): Don't wrap a lambda around
4019         tramp-register-completion-file-name-handler.
4021         * subr.el (keymap-canonicalize): New function.
4022         * mouse.el (mouse-menu-non-singleton): Use it.
4023         (mouse-major-mode-menu): Remove hack made unnecessary.
4025         * simple.el (set-fill-column): Prompt rather than error by default.
4027 2008-04-04  Andreas Schwab  <schwab@suse.de>
4029         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4030         Reset new-rules after each round.
4032         * Makefile.in (cal-autoloads): New target.
4033         (compile, compile-always, recompile): Depend on it.
4034         ($(lisp)/calendar/cal-loaddefs.el)
4035         ($(lisp)/calendar/diary-loaddefs.el)
4036         ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
4038 2008-04-04  Michael Kifer  <kifer@cs.stonybrook.edu>
4040         * ediff*.el: Replace load with require in eval-when-compile.
4042         * ediff-hook: Delete all invocations of (autoload ...).
4044         * ediff-util.el (ediff-setup): Make window-min-height a local variable
4045         in ediff control window, and set its min height to 2.
4046         (ediff-setup-control-buffer): Dedicate the control window.
4047         (ediff-toggle-multiframe): Undedicate control window.
4048         Work directly with ediff-setup-windows-multiframe and
4049         ediff-setup-windows-plain.
4051         * ediff-wind (ediff-choose-window-setup-function-automatically):
4052         New function.
4053         (ediff-window-setup-function): Change initialization.
4054         (ediff-setup-windows-automatic): Delete.
4055         (ediff-setup-windows-plain-merge): Make control window dedicated.
4056         (ediff-destroy-control-frame): Do not skip frames if working in a
4057         single frame.
4059         * emulation/viper-ex.el: Move provide's forward, prevent recursion in
4060         eval-when-compile.
4062         * emulation/viper-util.el: Move provide's forward, prevent recursion in
4063         eval-when-compile.
4065 2008-04-04  Glenn Morris  <rgm@gnu.org>
4067         * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
4068         calendar-absolute-from-bahai.  Update callers, keep old name as alias.
4070         * calendar/cal-islam.el (calendar-islamic-leap-year-p):
4071         Rename islamic-calendar-leap-year-p.  Update callers.
4072         (calendar-islamic-last-day-of-month):
4073         Rename islamic-calendar-last-day-of-month.  Update callers.
4074         (calendar-islamic-day-number):
4075         Rename islamic-calendar-day-number.  Update callers.
4076         (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
4077         Update callers, keep old name as alias.
4078         (calendar-islamic-print-date): Rename calendar-print-islamic-date.
4079         Update callers, keep old name as alias.
4080         (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
4081         Keep old name as alias.
4082         (diary-islamic-list-entries): Rename list-islamic-diary-entries.
4083         Update callers, keep old name as alias.
4084         (calendar-islamic-mark-date-pattern):
4085         Rename mark-islamic-calendar-date-pattern.  Update callers, keep old
4086         name as alias.
4087         (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
4088         Keep old name as alias.
4089         (diary-islamic-insert-monthly-entry):
4090         Rename insert-monthly-islamic-diary-entry.  Keep old name as alias.
4091         (diary-islamic-insert-yearly-entry):
4092         Rename insert-yearly-islamic-diary-entry.  Keep old name as alias.
4094         * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
4095         calendar-absolute-from-iso.  Update callers, keep old name as alias.
4096         (calendar-iso-print-date): Rename calendar-print-iso-date.
4097         Update callers, keep old name as alias.
4098         (calendar-iso-goto-date): Rename calendar-goto-iso-date.
4099         Keep old name as alias.
4100         (calendar-iso-goto-week): Rename calendar-goto-iso-week.
4101         Keep old name as alias.
4103         * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
4104         calendar-absolute-from-julian.  Update callers, keep old name as alias.
4105         (calendar-julian-print-date): Rename calendar-print-julian-date.
4106         Update callers, keep old name as alias.
4107         (calendar-julian-goto-date): Rename calendar-goto-julian-date.
4108         Update callers, keep old name as alias.
4109         (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
4110         Update callers, keep old name as alias.
4111         (calendar-astro-print-day-number):
4112         Rename calendar-print-astro-day-number.  Update callers, keep old
4113         name as alias.
4114         (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
4115         Update callers, keep old name as alias.
4117         * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
4118         Rename calendar-string-to-mayan-long-count.  Update callers.
4119         (calendar-mayan-print-date): Rename calendar-print-mayan-date.
4120         Update callers, keep old name as alias.
4121         (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
4122         Update callers.
4123         (calendar-mayan-read-tzolkin-date):
4124         Rename calendar-read-mayan-tzolkin-date.  Update callers.
4125         (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
4126         Keep old name as alias.
4127         (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
4128         Keep old name as alias.
4129         (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
4130         Keep old name as alias.
4131         (calendar-mayan-previous-tzolkin-date):
4132         Rename calendar-previous-tzolkin-date.  Keep old name as alias.
4133         (calendar-mayan-next-round-date):
4134         Rename calendar-next-calendar-round-date.  Keep old name as alias.
4135         (calendar-mayan-previous-round-date):
4136         Rename calendar-previous-calendar-round-date.  Keep old name as alias.
4137         (calendar-mayan-long-count-to-absolute): Rename
4138         calendar-absolute-from-mayan-long-count.  Keep old name as alias.
4139         (calendar-mayan-goto-long-count-date):
4140         Rename calendar-goto-mayan-long-count-date.  Keep old name as alias.
4142         * calendar/cal-persia.el (calendar-persian-month-name-array):
4143         Rename persian-calendar-month-name-array.  Update callers.
4144         (calendar-persian-epoch): Rename persian-calendar-epoch.
4145         Update callers.
4146         (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
4147         Update callers.
4148         (calendar-persian-last-day-of-month):
4149         Rename persian-calendar-last-day-of-month.  Update callers.
4150         (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
4151         Update callers, keep old name as alias.
4152         (calendar-persian-print-date): Rename calendar-print-persian-date.
4153         Update callers, keep old name as alias.
4154         (calendar-persian-goto-date): Rename calendar-goto-persian-date.
4155         Keep old name as alias.
4157         * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
4158         * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
4159         * calendar/solar.el: Update for cal-julian name changes.
4161         * calendar/cal-dst.el: Update for persian name changes.
4163         * calendar/cal-menu.el, calendar/calendar.el:
4164         Update for islamic, iso, julian, mayan, persian name changes.
4166         * calendar/diary-lib.el: Update for islamic name changes.
4168         * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
4169         Rename all-hebrew-calendar-holidays.  Update callers, keep old name
4170         as alias.
4171         (calendar-christian-all-holidays-flag):
4172         Rename all-christian-calendar-holidays.  Update callers, keep old
4173         name as alias.
4174         (calendar-islamic-all-holidays-flag):
4175         Rename all-islamic-calendar-holidays.  Update callers, keep old
4176         name as alias.
4177         (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
4178         Update callers, keep old name as alias.
4179         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
4180         Update for the above name changes.
4182 2008-04-04  Juanma Barranquero  <lekktu@gmail.com>
4184         * hilit-chg.el (global-highlight-changes-mode)
4185         (highlight-changes-passive-string, highlight-changes-active-string):
4186         Mark as obsolete since 23.1, not 22.1.
4188 2008-04-03  Juanma Barranquero  <lekktu@gmail.com>
4190         * hilit-chg.el (highlight-changes-visibility-initial-state)
4191         (hilit-chg-update, highlight-changes-mode-turn-on):
4192         Fix typos in docstrings.
4194 2008-04-03  Stephen Berman  <Stephen.Berman@gmx.net>
4196         * newcomment.el (comment-enter-backward): Be careful to restore
4197         position changed during narrowing.
4199 2008-04-03  Giuliano Procida  <giuliano.procida@googlemail.com>  (tiny change)
4201         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4202         Recognize `sub ($$)'.
4204 2008-04-03  Richard Sharman  <rsharman@pobox.com>
4206         * hilit-chg.el (highlight-changes-mode): Rename from
4207         highlight-changes; no longer uses sub-modes active and passive;
4208         implemented by define-minor-mode.
4209         (highlight-changes-toggle-visibility): New function, to replace
4210         the old passive/active submodes of global-highlight-changes-mode;
4211         implemented by define-minor-mode.
4212         (global-highlight-changes-mode): Rename from global-highlight-changes;
4213         rewrite using define-globalized-minor-mode.
4214         (hilit-chg-major-mode-hook, hilit-chg-check-global)
4215         (hilit-chg-post-command-hook, hilit-chg-check-global)
4216         (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
4217         to use of define-globalized-minor-mode.
4218         (highlight-changes-global-initial-state): Change to be boolean.
4219         (highlight-changes-visible-string, highlight-changes-invisible-string):
4220         Rename from highlight-changes-active-string and
4221         highlight-changes-passive-string.
4222         (hilit-chg-update, hilit-chg-set): Use them.
4223         (global-highlight-changes-mode): Rename from global-highlight-changes.
4224         (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
4225         docstring.
4226         (hilit-chg-hide-changes): Rewrite to use dolist.
4227         (hilit-chg-set-face-on-change, hilit-chg-update)
4228         (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
4229         variable instead of testing highlight-changes-mode.
4230         (highlight-markup-buffers): Add require ediff-util; argument on calls
4231         to highlight-changes-mode changed.
4232         (highlight-compare-with-file): Fix problems with interactive
4233         call giving invalid default file.
4235 2008-04-03  Nick Roberts  <nickrob@snap.net.nz>
4237         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4238         Fix in disassembly buffer (regression in 22.2).
4240 2008-04-03  Michael Kifer  <kifer@cs.stonybrook.edu>
4242         * emulation/viper-macs.el (viper-read-fast-keysequence):
4243         Use viper-read-event instead of viper-read-key.
4245         * emulation/viper.el (viper-mode): Move the check for fundamental mode.
4247         * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
4248         (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
4249         let-statements.
4251         * emulation/viper-ex.el, emulation/viper-macs.el:
4252         * emulation/viper-mous.el:
4253         Replace load with require in eval-when-compile.
4255 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4257         * files.el (auto-mode-alist): Use archive-mode for Debian packages.
4259         * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
4260         (archive-try-jka-compr): New function.
4261         (archive-set-buffer-as-visiting-file): Use it.
4263         * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
4265 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4267         * simple.el (handle-shift-selection): New arg.
4269 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4271         * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
4273         * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
4275 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
4277         * shell.el (shell-dynamic-complete-filename): New fun.
4278         (shell-dynamic-complete-functions): Use it.
4280         * help-fns.el (describe-variable): Undo 2008-02-25 change.
4282 2008-04-03  Kenichi Handa  <handa@m17n.org>
4284         * international/fontset.el (create-fontset-from-x-resource):
4285         Handle the error of X resource more gracefully.
4287         * international/latin1-disp.el (latin1-display): Don't use make-char.
4288         Fix the argument to set-char-table-range.
4289         (latin1-display-identities): Don't use make-char.
4290         (latin1-display-reset): Use map-charset-chars instead of directly
4291         calling standard-display-default.
4292         (latin1-display-check-font): Don't use make-char.
4293         (latin1-display-setup): Likewise.
4294         (latin1-display-ucs-per-lynx): Likewise.
4296 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
4299         name the fields, to make the code clearer.
4300         Rewrite all `aset' and `aref' using the defined accessors.
4301         (timer--time): New pseudo-field.
4302         (timer-set-time, timer-set-idle-time, timer-inc-time)
4303         (timer-set-time-with-usecs, with-timeout-suspend): Use it.
4304         (timer--time-less-p): New function.
4305         (timer--activate): New function, extracted from timer-activate.
4306         (timer-activate-when-idle, timer-activate): Use it.
4307         (cancel-function-timers): Use dolist.
4309 2008-04-03  Glenn Morris  <rgm@gnu.org>
4311         * add-log.el (c-beginning-of-defun, c-end-of-defun):
4312         Remove declarations; no longer used.
4313         (c-cpp-define-name, c-defun-name): Declare as functions.
4315         * calendar/cal-bahai.el (holiday-fixed): Autoload it.
4316         (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
4318         * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
4319         (holiday-passover-etc, holiday-hanukkah): Doc fix.
4320         Add optional argument.  Simplify.
4321         (holiday-tisha-b-av-etc): Use memq rather than unless.
4322         (holiday-julian): Autoload it.
4323         (holiday-hebrew-misc): New function.
4325         * calendar/cal-islam.el (holiday-islamic-new-year): New function.
4327         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
4328         (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
4329         (hebrew-holidays-2): Just use holiday-hanukkah now it respects
4330         all-hebrew-calendar-holidays.
4331         (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
4332         Simplify using new functions.
4333         (calendar-holidays): Doc fix.
4334         (generate-calendar-window): Use bound-and-true-p.
4336         * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
4338         * calendar/holidays.el (calendar-holiday-list): Fix previous change.
4339         (holiday-filter-visible-calendar): Doc fix.  Use mapcar.
4340         (holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
4341         Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
4343         * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
4345 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4347         * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
4349         * vc-bzr.el (vc-bzr-checkout): Simplify.
4351         * image-mode.el (image-mode-fit-frame): New command.
4353         * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
4354         (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
4355         (keyboard-escape-quit): Check region-active-p i.s.o
4356         transient-mark-mode.
4358 2008-04-02  Simon Josefsson  <simon@josefsson.org>
4360         * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
4361         (imap-message-copyuid-1): Use it.
4362         (imap-message-appenduid-1): Likewise.  Based on patch by Nathan
4363         J. Williams in
4364         <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
4366 2008-04-02  Alan Mackenzie  <acm@muc.de>
4368         * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
4369         New optimised functions to get the name of the current defun/macro.
4371         * add-log.el (add-log-current-defun): Move the functionality which
4372         gets the current function name for C like modes to cc-cmds.el,
4373         thus optimising for speed.
4375 2008-04-02  Chong Yidong  <cyd@stupidchicken.com>
4377         * simple.el (deactivate-mark): When the mark is temporarily
4378         active, restore the original value of transient-mark-mode.
4379         (set-mark-command): First deactivate the mark if was temporarily active.
4380         (exchange-point-and-mark): Reactivate the mark if it was
4381         temporarily active.
4382         (handle-shift-selection): New fun.
4383         (transient-mark-mode): Move var documentation here from buffer.c.
4384         (next-line, previous-line, backward-word, move-end-of-line)
4385         (move-beginning-of-line, forward-to-indentation)
4386         (backward-to-indentation, back-to-indentation)
4387         (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
4389         * mouse.el (mouse-set-region-1): Save the old value of
4390         transient-mark-mode.
4391         (mouse-drag-track): Ignore the now-obsolete value `identity' for
4392         transient-mark-mode.
4394         * textmodes/paragraphs.el (forward-paragraph)
4395         (backward-paragraph, forward-sentence, backward-sentence): Add ^
4396         interactive spec.
4398         * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
4400 2008-04-02  Michael Albinus  <michael.albinus@gmx.de>
4402         * net/tramp.el (tramp-make-tramp-temp-file):
4403         Use `tramp-drop-volume-letter' for the local file name part.
4405 2008-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
4407         * progmodes/sh-script.el (sh-mode-map): Rename the menu.  Add :help.
4408         Add menu entries corresponding to all the key bindings.
4410         * emacs-lisp/debug.el (debugger-mode-map):
4411         * textmodes/conf-mode.el (conf-mode-map): Add a menu.
4412         (conf-align-assignments): Only work on the region if it is active.
4413         (conf-quote-normal): Use when instead of if.  Remove redundant test.
4415         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
4416         for tracing and re-builder.
4418 2008-04-02  Glenn Morris  <rgm@gnu.org>
4420         * calendar/appt.el (appt-disp-window-function): Doc fix.
4421         (appt-display-message): Move beep before display.
4422         (appt-check): Make interactive.  Reduce the number of lets.
4423         Use string-equal to compare mode-line strings.
4424         (appt-disp-window): Pluralize "minute" as needed.  Make appt buffer
4425         read-only.
4426         (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
4427         (appt-delete): Simplify.
4429         * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
4431         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
4433         * calendar/cal-hebrew.el (list-yahrzeit-dates):
4434         * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
4435         (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
4437         * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
4438         (calendar-holiday-marker, mark-visible-calendar-date):
4439         * calendar/diary-lib.el (fancy-diary-display):
4440         Check for font-lock-mode before using faces.
4442         * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
4443         (calendar-gregorian-from-absolute): Reduce the number of lets.
4444         (hebrew-holidays-4, generate-calendar-window): Simplify.
4445         (calendar-for-loop): Make obsolete.
4446         (calendar-nth-named-day): Doc fix.
4448         * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
4449         (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
4450         (calendar-mark-1, list-sexp-diary-entries, diary-remind):
4451         Reduce the number of lets.
4452         (mark-sexp-diary-entries, calendar-mark-complex):
4453         Expand calendar-for-loops.
4455 2008-04-01  Chong Yidong  <cyd@stupidchicken.com>
4457         * find-dired.el (find-dired-filter): Fix last patch to handle
4458         multi-line process input.  Pad link numbers too.
4460 2008-04-01  Jari Aalto  <jari.aalto@cante.net>
4462         * find-dired.el (find-dired-filter): Align columns by padding file sizes.
4464 2008-04-01  Jason Rumney  <jasonr@gnu.org>
4466         * international/characters.el (script-list): Add phonetic script,
4467         covering IPA (previously Latin), Phonetic Extensions and
4468         Phonetic Extensions Supplement (both previously unassigned).
4470         * international/fontset.el (setup-default-fontset): Use unicode fonts
4471         that cover bopomofo script for bopomofo.
4472         Likewise for braille and mathematical.
4473         Use unicode scripts that cover the phonetic script for IPA.
4475 2008-04-01  Johan BockgÃ¥rd  <bojohan@gnu.org>
4477         * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
4478         return the assigned value.
4480 2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4482         * abbrev.el (abbrev-mode): Use define-minor-mode.
4484         * mouse.el (mouse-major-mode-menu-prefix): Remove.  Remove uses.
4485         (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
4486         Use map-keymap.
4487         (minor-mode-menu-from-indicator): Use it.  Simplify.
4489         * bindings.el (mode-line-mode-menu): Move before (new) first use.
4490         (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
4491         Bind the key directly to the menu.
4492         (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
4494 2008-04-01  Daiki Ueno  <ueno@unixuser.org>
4496         * epa.el (epa-decrypt-region): Explain the reason why this
4497         function should not be used in Lisp programs.
4498         (epa-decrypt-armor-in-region): Ditto.
4499         (epa-verify-region): Ditto.
4500         (epa-verify-cleartext-in-region): Ditto.
4501         (epa-sign-region): Ditto.
4502         (epa-encrypt-region): Ditto.
4504         * epg.el (epg-start-receive-keys): Fix typo in docstring.
4506         * epa.el (epa-select-keys): Show menu even if there is no key in
4507         GnuPG's keyring.
4509 2008-04-01  Glenn Morris  <rgm@gnu.org>
4511         * calendar/calendar.el (calendar-make-temp-face): New function.
4512         (mark-visible-calendar-date):
4513         * calendar/diary-lib.el (fancy-diary-display): Use it.
4515         * vc-hooks.el (vc-responsible-backend): Declare as function.
4517         * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
4518         * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
4519         * calendar/cal-julian.el (holiday-julian): Use it.
4521         * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
4522         (calendar-hebrew-date-is-visible-p): Extract some common code into
4523         separate function.
4524         (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
4526         * calendar/cal-menu.el (cal-menu-holidays-menu):
4527         * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
4528         rather than obsolete alias.
4530         * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
4531         for mark characters.
4532         (calendar-unmark): Unmark by removing all overlays, rather than
4533         redrawing.
4534         (calendar-starred-day): Remove.
4535         (calendar-mode): Disable undo.  Don't make calendar-starred-day local.
4536         (calendar-cursor-to-date): No need for special star handling now
4537         using overlays.
4538         (calendar-star-date): Use overlays.
4540         * calendar/cal-french.el (calendar-goto-french-date):
4541         * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
4542         (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
4543         * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
4544         * calendar/cal-persia.el (calendar-persian-date-string):
4545         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4546         (cal-tex-cursor-month, cal-tex-LaTeXify-string):
4547         * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
4548         * calendar/solar.el (solar-equinoxes-solstices):
4549         Reduce nesting of some lets.
4551         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
4552         (calendar-goto-mayan-long-count-date): Simplify.
4554         * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
4555         Simplify by using mapcar.
4556         (calendar-list-holidays): Return holiday-list.
4557         (list-holidays): Use let rather than let*.  Remove un-needed locals
4558         `d', `never'.
4559         (calendar-check-holidays): Return result from dolist.
4560         (holiday-float): Use a single let*.  Simplify if-and to and.
4561         (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
4562         single let*.
4564 2008-04-01  Jay Belanger  <jay.p.belanger@gmail.com>
4566         * calc/calc.el: Autoload `calc-yank'.
4567         (calc-mode-map): Add keybindings for `calc-yank'.
4568         * calc/calc-ext.el (calc-init-extensions): Remove keybinding
4569         assignments for `calc-yank'.
4571 2008-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
4573         * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
4574         (vc-status-mark-buffer-changed): Handle the extra field.
4576         * vc-bzr.el (vc-bzr-after-dir-status):
4577         * vc-cvs.el (vc-cvs-after-dir-status):
4578         * vc-hg.el (vc-hg-after-dir-status):
4579         * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
4581 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * doc-view.el: Compute displayed pages first (in PDF).
4584         (doc-view-current-converter-processes): Rename from
4585         doc-view-current-converter-process.  Update users.
4586         (doc-view-sentinel): Test buffer's liveness.
4587         (doc-view-pdf/ps->png-sentinel): Remove.
4588         (doc-view-start-process): New function.
4589         (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
4590         (doc-view-ps->pdf): Use it.
4591         (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
4592         New functions.
4593         (doc-view-convert-current-doc, doc-view-goto-page): Use them.
4594         (doc-view-mode): Kill the processes when leaving the mode.
4596 2008-03-31  Juanma Barranquero  <lekktu@gmail.com>
4598         * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
4599         Use `byte-compile-warning-types'.  Add docstring.
4601 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4603         * smerge-mode.el (smerge-apply-resolution-patch): New fun.
4604         (smerge-resolve): Add various resolution heuristics.
4606         * smerge-mode.el (smerge-refine): Allow highlighting other subparts
4607         in 3-way conflicts.
4609 2008-03-31  Glenn Morris  <rgm@gnu.org>
4611         * calendar/cal-bahai.el (diary-bahai-mark-entries):
4612         * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
4613         * calendar/cal-islam.el (mark-islamic-diary-entries):
4614         Fix argument order in call to diary-mark-entries-1.
4616         * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
4617         pre-Bahai dates.
4618         (holiday-bahai): Use an algorithm actually relevant to this calendar
4619         system.
4621         * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
4623         * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
4624         Use and.
4626         * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
4627         in the last fortnight in Julian October.
4629         * calendar/calendar.el (increment-calendar-month): Optionally handle
4630         systems without 12 months per year.
4632         (calendar-date-is-visible-p): Doc fix.  Simplify.
4634         * calendar/holidays.el (holiday-filter-visible-calendar): Return result
4635         from dolist.
4637 2008-03-30  Juanma Barranquero  <lekktu@gmail.com>
4639         * hi-lock.el (hi-lock-mode): Fix typos in docstring.
4640         (hi-lock-unload-function): New function.
4642 2008-03-30  Michael Albinus  <michael.albinus@gmx.de>
4644         * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
4645         overwriting when NEWNAME is a local file.
4647         * net/trampver.el: Update release number.
4649 2008-03-30  Alexandre Julliard  <julliard@winehq.org>
4651         * vc-git.el: Make vc-status display information about copies,
4652         renames and permission changes.
4653         (vc-git-extra-fileinfo): New defstruct.
4654         (vc-git-escape-file-name, vc-git-file-type-as-string)
4655         (vc-git-rename-as-string, vc-git-permissions-as-string)
4656         (vc-git-status-printer): New functions.
4657         (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
4658         (vc-git-after-dir-status-stage1): Look for copies, renames and
4659         permission changes.
4660         (vc-git-after-dir-status-stage1-empty-db): Set permissions.
4661         (vc-git-dir-status): Ask for staged files and renames.
4663 2008-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
4665         * vc.el: Allow backends to display backend specific information in
4666         the vc-status listing.
4667         (vc-status-fileinfo): Add a field for backend specific information.
4668         (vc-status-printer): Rename to ...
4669         (vc-default-status-printer): ... this.
4670         (vc-status-printer): New function.
4671         (vc-update-vc-status-buffer): Set the backend specific file info
4672         if provided.
4674 2008-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4676         * textmodes/remember.el (remember-diary-convert-entry): Revert last
4677         change (ill-conceived).
4679 2008-03-29  Glenn Morris  <rgm@gnu.org>
4681         * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4682         * calendar/cal-julian.el (holiday-julian): Simplify.
4684         * calendar/holidays.el (list-holidays): Use or.
4686 2008-03-29  Juri Linkov  <juri@jurta.org>
4688         * window.el (split-window-preferred-horizontally): New function.
4690         * cus-start.el (split-window-preferred-function):
4691         Set choice for "vertically" to nil instead of split-window.
4692         Set choice for "horizontally" to split-window-preferred-horizontally
4693         instead of lambda.
4695 2008-03-29  Juri Linkov  <juri@jurta.org>
4697         * simple.el (minibuffer-default-add-function): New variable with
4698         the default to minibuffer-default-add-completions.
4699         (minibuffer-default-add-done): New variable.  Make it buffer-local.
4700         (minibuffer-default-add-completions): New function.
4701         (goto-history-element): Set minibuffer-default-add-done to t and
4702         call a function in minibuffer-default-add-function when the
4703         specified absolute history position is greater than the length of
4704         the minibuffer-default list and minibuffer-default-add-done is nil.
4705         Change "^End of history; no next item$" to "^End of defaults;
4706         no next item$".
4708         * bindings.el (debug-ignored-errors): Change "^End of history;
4709         no next item$" to "^End of defaults; no next item$".
4711 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4713         * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
4715         * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
4716         to with-no-warnings.
4718 2008-03-29  Michael Albinus  <michael.albinus@gmx.de>
4720         Sync with Tramp 2.1.13.
4722         * net/tramp-ftp.el: Require 'cl when byte-compiling.
4724         * net/trampver.el: Update release number.
4726 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
4728         * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
4729         the current backend.
4731         * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
4732         (vc-status-refresh): Create a temporary buffer and call the
4733         `dir-status' backend function from that buffer.
4735         * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
4736         (vc-bzr-after-dir-status): Don't kill the buffer.
4738         * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
4739         (vc-cvs-after-dir-status): Don't kill the buffer.
4741         * vc-git.el (vc-git-dir-status): Don't create a buffer.
4742         (vc-git-after-dir-status-stage2): Don't kill the buffer.
4744         * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
4745         (vc-hg-after-dir-status): Don't kill the buffer.
4747         * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
4748         (vc-svn-after-dir-status): Don't kill the buffer.
4750 2008-03-29  Glenn Morris  <rgm@gnu.org>
4752         * calendar/calendar.el (diary-file, american-date-diary-pattern)
4753         (european-date-diary-pattern, european-calendar-display-form)
4754         (american-calendar-display-form, diary-display-hook): Doc fixes.
4755         (european-calendar-style): Doc fix.  Use calendar-set-date-style for
4756         custom :set.  Mark as obsolete.
4757         (calendar-date-style, iso-date-diary-pattern)
4758         (iso-calendar-display-form): New user variables.
4759         (diary-date-forms, calendar-date-display-form): Set using
4760         calendar-date-style.  Doc fix.
4761         (calendar-set-date-style): New command.
4762         (european-calendar, american-calendar): Use calendar-set-date-style.
4763         Mark as obsolete.
4765         * calendar/diary-lib.el (number): Move declaration where needed.
4766         (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
4767         (diary-make-date): New function.
4768         (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
4769         Use diary-make-date.
4770         (diary-date-display-form, diary-insert-entry-1): New functions.
4771         (insert-monthly-diary-entry, insert-yearly-diary-entry):
4772         Use diary-insert-entry-1.
4773         (insert-anniversary-diary-entry, insert-block-diary-entry)
4774         (insert-cyclic-diary-entry): Use diary-date-display-form.
4776         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
4777         Autoload diary-insert-entry-1.
4778         * calendar/cal-bahai.el (diary-bahai-insert-entry)
4779         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4780         * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
4781         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
4782         * calendar/cal-islam.el (insert-islamic-diary-entry)
4783         (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
4784         Use diary-insert-entry-1.
4786         * calendar/cal-hebrew.el (diary-make-date): Autoload it.
4787         (diary-yahrzeit): Doc fix.  Use diary-make-date.
4789         * calendar/icalendar.el (icalendar--datetime-to-american-date):
4790         New name for icalendar--datetime-to-noneuropean-date.  Make old name
4791         obsolete alias.
4792         (icalendar--datetime-to-iso-date): New function.
4793         (icalendar--datetime-to-diary-date): Doc fix.  Respect
4794         calendar-date-style if bound.
4796         * textmodes/remember.el (remember-diary-convert-entry):
4797         Respect calendar-date-style if bound.
4799 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4801         * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
4802         (xterm-mouse-handle-delete-frame): Delete.
4804         * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
4805         (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
4806         (xterm-remove-modify-other-keys): Lookup terminal rather than frame
4807         in xterm-modify-other-keys-terminal-list.
4809         * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
4810         are conflicts.
4812 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
4814         * vc.el (vc-update): Check if the buffer is unsaved only if it
4815         actually exists.
4816         (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
4817         vc-print-log.
4819 2008-03-28  Magnus Henoch  <mange@freemail.hu>
4821         * net/dns.el (dns-write): Use set-buffer-multibyte.
4823 2008-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4825         * vc-bzr.el (vc-bzr-sha1): New fun.
4826         (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
4827         (vc-bzr-registered): Use it.
4829 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
4831         * vc.el (vc-status-kill-dir-status-process): Simplify.
4832         (vc-status-refresh): Make sure the buffer is live.
4833         (ring): Don't require it, not used.
4835 2008-03-28  Wilson Snyder  <wsnyder@wsnyder.org>
4837         * progmodes/verilog-mode.el (verilog-auto-inout-module):
4838         Add optional regular expression to AUTOINOUTMODULE.
4839         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
4840         (verilog-auto-inst-param, verilog-auto-reg)
4841         (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
4842         (verilog-auto-output-every, verilog-auto-input)
4843         (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
4844         (verilog-auto-unused, verilog-auto): Update documentation to use
4845         more obvious instance module names versus cell names.
4847 2008-03-28  Jan Djärv  <jan.h.d@swipnet.se>
4849         * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
4850         kill if a process is running.
4852         * progmodes/grep.el (grep-mode-tool-bar-map): The same.
4854 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
4856         * vc.el: Add new backend function 'status-extra-headers.
4857         (vc-default-status-extra-headers): New function.
4858         (vc-status-headers): Call 'status-extra-headers.  Add colors.
4860         * vc-git.el (vc-git-status-extra-headers): New function.
4862 2008-03-28  Glenn Morris  <rgm@gnu.org>
4864         * calendar/cal-menu.el (cal-menu-holidays-menu)
4865         (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
4866         (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
4867         holiday-list is optional.
4868         (calendar-mouse-holidays): Remove un-needed local `l'.
4870         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
4871         Remove un-needed local `date'.
4872         (calendar-cursor-to-visible-date): Use let rather than let*.
4873         Remove un-needed local `first-of-month-weekday'.
4875         * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
4877         * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
4878         Doc fixes.
4879         (abbreviated-calendar-year): Move here from calendar.el.  Doc fix.
4880         (diary-header-line-flag, diary-header-line-format): Declare.
4881         (diary-pull-attrs): Check for multiple matches.
4882         (diary-list-entries-2): Simplify finding start of date.
4883         (diary-show-all-entries, make-diary-entry): Respect non-nil values of
4884         pop-up-frames.
4885         (diary-mark-entries-1): Re-use offset in abbreviated-year case.
4886         (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
4888 2008-03-27  Dan Nicolaescu  <dann@ics.uci.edu>
4890         * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
4892         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
4894 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * vc-hooks.el (vc-before-save): Don't prevent saving the file.
4898         * image-mode.el (image-mode-reapply-winprops): Fix last change.
4900 2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
4902         * international/mule-conf.el (define-iso-single-byte-charset):
4903         Don't make latin-iso8859-* supplementary.
4904         (#'set-charset-priority): Don't change the priority of charsets
4905         `unicode' and `emacs'.
4907 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4909         * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
4910         temp buffer.
4912 2008-03-27  Glenn Morris  <rgm@gnu.org>
4914         * calendar/cal-bahai.el (diary-bahai-list-entries):
4915         * calendar/cal-hebrew.el (list-hebrew-diary-entries):
4916         * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
4918         * calendar/calendar.el (diary-file): Doc fix.
4920         * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
4921         (list-diary-entries-hook, mark-diary-entries-hook)
4922         (include-other-diary-files, diary-mail-entries)
4923         (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
4924         (diary-set-header): New function.
4925         (diary-header-line-flag, diary-header-line-format):
4926         Use diary-set-header for custom :set function.
4927         (diary-set-maybe-redraw): Use symbol-value rather than eval.
4928         (diary-attrtype-convert): Use intern-soft rather than read.
4929         (diary-display-no-entries): New function.
4930         (simple-diary-display, fancy-diary-display): Use it.
4931         (fancy-diary-display): Doc fix.  Remove unneeded local entry-list.
4932         (diary-mark-entries-1): Fix position offsets in non-gregorian case.
4934         * calendar/holidays.el (list-holidays): Doc fix.
4936 2008-03-26  Jay Belanger  <jay.p.belanger@gmail.com>
4938         * calc/calc-store.el (calc-read-var-name-history): New variable.
4939         (calc-read-var-name): Use `calc-read-var-name-history'.
4941 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4943         * image-mode.el (image-mode-reapply-winprops): Simplify now that
4944         window-configuration-change-hook works buffer-locally.
4946 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
4948         * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
4949         for Emacs Lisp, not Lisp.
4951 2008-03-26  Juanma Barranquero  <lekktu@gmail.com>
4953         * help-fns.el (describe-function-1, describe-variable):
4954         If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
4956         * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
4957         replacement is provided, don't print "use nil instead".
4959 2008-03-26  Johan BockgÃ¥rd  <bojohan@gnu.org>
4961         * complete.el (PC-do-completion): Use regexp-quote.
4963 2008-03-26  Dan Nicolaescu  <dann@ics.uci.edu>
4965         * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
4966         Detect missing files.
4968         * vc-git.el (vc-git-extra-menu-map): New key map.
4969         (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
4970         New functions.
4972         * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
4973         and 'missing files.
4975 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4977         * calendar/holidays.el (list-holidays): Make Y2 optional.
4979         * calendar/appt.el (appt-buffer-name): Don't use a leading space for
4980         buffers shown to the user.
4981         (appt-disp-window): Disable undo explicitly now that the leading space
4982         is gone.
4984         * simple.el (activate-mark): New function.
4985         (set-mark-command): Use it with region-active-p to clean up the code.
4986         (exchange-point-and-mark): Invert the meaning of C-u when
4987         transient-mark-mode is active.
4989         * dired-aux.el (dired-create-files): Use dolist.
4991         * bindings.el (mode-line-change-eol): Use with-selected-window.
4993         * apropos.el (apropos-command): Include macros.
4995 2008-03-26  Glenn Morris  <rgm@gnu.org>
4997         * calendar/cal-bahai.el: Require calendar, not cal-julian.
4998         (calendar-bahai-epoch): Doc fix.
5000         * calendar/cal-china.el: Explicitly require calendar.
5002         * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
5003         Require calendar rather than cal-julian.
5004         Autoload calendar-absolute-from-julian.
5005         * calendar/cal-coptic.el (coptic-calendar-epoch):
5006         * calendar/cal-islam.el (calendar-islamic-epoch):
5007         * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
5009         * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
5011         * calendar/cal-dst.el: Don't require cal-persia.
5012         (calendar-absolute-from-persian): Autoload it.
5013         (dst-adjust-time): Doc fix.
5015         * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
5016         cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
5017         calendar.
5019         * calendar/cal-menu.el: Require calendar rather than declaring
5020         functions.
5021         * calendar/calendar.el: Provide calendar before requiring cal-menu.
5023         * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
5024         calendar-after-frame-setup-hooks.  Update callers, make old name an
5025         obsolete alias.  Doc fix.
5026         (calendar-frame-1): Doc fix.
5028         * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
5030         * calendar/calendar.el (oriental-holidays, solar-holidays):
5031         * calendar/holidays.el (list-holidays): Assume atan always bound.
5033         * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
5034         Explicitly require calendar, not cal-julian.
5035         * calendar/lunar.el: Explicitly require cal-dst.
5037 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5039         * autorevert.el (auto-revert-buffers): Use buffer-live-p.
5041         * help-fns.el (describe-function-1, describe-variable): If no
5042         replacement is provided, don't print "use nil instead".
5044 2008-03-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
5046         * proced.el: New file.
5048 2008-03-25  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
5050         * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
5052 2008-03-25  Juri Linkov  <juri@jurta.org>
5054         * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
5055         in battery-mode-line-format.
5057         * bindings.el (minibuffer-local-map): For the command
5058         file-cache-minibuffer-complete replace keymap minibuffer-local-map
5059         with map which is already locally bound to minibuffer-local-map.
5061 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5063         * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
5064         Remove `sort-first' argument.
5066         * subr.el (redisplay-end-trigger-functions)
5067         (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
5068         (process-filter-multibyte-p, set-process-filter-multibyte):
5069         Mark as obsolete.
5071 2008-03-25  Juanma Barranquero  <lekktu@gmail.com>
5073         * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
5074         bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
5075         use the LOCAL arg of `add-hook'.
5076         (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
5077         Remove spurious * from defcustom docstrings.
5078         (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
5079         Fix typos in messages.
5080         (reb-mode-buffer-p): New function.
5081         (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'.  Use `when'.
5082         (top, reb-show-subexp, reb-auto-update, reb-auto-update)
5083         (reb-delete-overlays, reb-cook-regexp, reb-update-regexp)
5084         (reb-update-overlays): Use `unless', `when'.
5085         (re-builder-unload-function): New function.
5087 2008-03-25  Dan Nicolaescu  <dann@ics.uci.edu>
5089         * vc-hooks.el (vc-state): Add documentation for 'missing.
5091 2008-03-25  Wilson Snyder  <wsnyder@wsnyder.org>
5093         * progmodes/verilog-mode.el (verilog-auto-output)
5094         (verilog-auto-input, verilog-auto-inout, verilog-auto)
5095         (verilog-delete-auto): Add optional regular expression to
5096         AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
5097         (verilog-signals-matching-regexp): New internal function for
5098         signal matching.
5100 2008-03-25  Johan BockgÃ¥rd  <bojohan@gnu.org>
5102         * info.el (Info-isearch-search): Always return point.
5104 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5106         * diff-mode.el (diff-remembered-defdir): New var.
5107         (diff-find-file-name): Use it to flush diff-remembered-files-alist.
5109 2008-03-25  Glenn Morris  <rgm@gnu.org>
5111         * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
5112         calendar-bahai-prompt-for-date.  Update callers, make old name an
5113         obsolete alias.  Doc fix.
5114         * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
5115         coptic-prompt-for-date.  Update callers, make old name an
5116         obsolete alias.  Doc fix.
5117         * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
5118         calendar-hebrew-prompt-for-date.  Update callers.  Doc fix.
5119         * calendar/cal-islam.el (calendar-islamic-read-date): New name for
5120         calendar-islamic-prompt-for-date.  Update callers.  Doc fix.
5121         * calendar/cal-iso.el (calendar-iso-read-date): New name for
5122         calendar-iso-read-args.  Update callers, make old name an obsolete
5123         alias.
5124         * calendar/cal-persia.el (calendar-persian-read-date): New name for
5125         persian-prompt-for-date.  Update callers, make old name an
5126         obsolete alias.  Doc fix.  Move definition before use.
5128         * calendar/cal-x.el (diary-frame-parameters)
5129         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
5130         (calendar-frame-1): Doc fixes.
5131         (make-fancy-diary-buffer): Remove declaration.
5132         (calendar-dedicate-diary): Replace call to deleted function
5133         make-fancy-diary-buffer.
5134         (calendar-frame-setup): New function.
5135         (calendar-one-frame-setup, calendar-only-one-frame-setup)
5136         (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
5137         work, and mark as obsolete.
5138         (special-display-buffer-names): Don't mess with this; it's not our
5139         business.
5140         (cal-x-load-hook): Defvar it, and mark as obsolete.
5142         * calendar/calendar.el (calendar-remove-frame-by-deleting):
5143         Default to t.  Add to 'calendar group.
5144         (calendar): Doc fix.  Use calendar-frame-setup.
5145         (calendar-basic-setup): Doc fix.  Add optional NODISPLAY argument.
5146         (generate-calendar-window): Doc fix.
5148 2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5150         * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
5152 2008-03-24  Drew Adams  <drew.adams@oracle.com>
5154         * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
5155         New variables.
5156         (finder-mode): Use finder-mode-syntax-table.  Set font-lock-defaults.
5157         (finder-exit): Ignore errors rather than avoiding them.
5158         Kill *Finder-package* buffer also.
5160 2008-03-24  Andreas Schwab  <schwab@suse.de>
5162         * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
5164 2008-03-24  Dan Nicolaescu  <dann@ics.uci.edu>
5166         * vc-hg.el (vc-hg-after-dir-status):
5167         * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
5169         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
5170         Detect removed files.
5172         * vc.el (vc-status-printer): Use a different face for missing files.
5173         (vc-status-hide-up-to-date): Rename from
5174         vc-status-remove-up-to-date.  Update all callers.
5175         (vc-status-mode-map): Bind C-m.
5177 2008-03-24  Alexandre Julliard  <julliard@winehq.org>
5179         * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
5180         code ...
5181         (vc-git--state-code): ... to this new function.
5182         (vc-git-state): Use it.
5184 2008-03-24  Trent Buck  <trentbuck@gmail.com>  (tiny change)
5186         * textmodes/remember.el (remember-mail-date)
5187         (remember-store-in-mailbox): Write date and From line in such a
5188         way that Mutt can read it.
5190 2008-03-23  Chong Yidong  <cyd@stupidchicken.com>
5192         * simple.el (transient-mark-mode): Turn on by default.
5194 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5196         * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
5197         'unregistered for unregistered files.
5199         * vc-hg.el (vc-hg-state): Return 'removed for removed files.
5201         * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
5203         * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
5204         subdirectories.
5206         * vc.el (vc-status-prepare-status-buffer): Fix thinko.
5207         (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
5208         Add :enable for vc-status-refresh.
5209         (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
5210         (vc-status-tool-bar-map): Add binding for
5211         vc-status-kill-dir-status-process.
5212         Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
5213         (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
5214         Reset vc-status-process-buffer.
5215         (vc-status-refresh): Don't run two refreshes at a time.
5216         (vc-status): If the buffer is already in vc-status-mode only refresh.
5217         (vc-status-mark-buffer-changed): Add an optional file parameter.
5218         (vc-resynch-buffer): Use it.
5219         (vc-delete-file): Expand the file name before using it.
5220         Be careful to not create a new buffer with the old file contents.
5221         Update the VC state after performing the operation.
5223 2008-03-23  Andreas Schwab  <schwab@suse.de>
5225         * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
5226         Fix radio button condition.
5227         [box]: Likewise.
5228         [customize]: Add radio button.
5230 2008-03-23  Jay Belanger  <jay.p.belanger@gmail.com>
5232         * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
5233         (calc-user-parse-tables, calc-gnuplot-default-device)
5234         (calc-gnuplot-default-output, calc-gnuplot-print-device)
5235         (calc-gnuplot-print-output, calc-gnuplot-geometry)
5236         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
5237         (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
5238         (calc-undo-list, calc-redo-list, calc-main-buffer)
5239         (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
5240         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
5241         (calc-said-hello, calc-executing-macro, calc-any-selections)
5242         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
5243         (calc-display-dirty, calc-embedded-info, calc-embedded-active)
5244         (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
5245         (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
5246         (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
5247         (calc-create-buffer, calc-quit): Add docstrings.
5249 2008-03-23  Juanma Barranquero  <lekktu@gmail.com>
5251         * makefile.w32-in (WINS_ALMOST): Add org.
5253 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
5255         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
5256         New functions to implement vc-status support.
5258 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5260         * vc.el (vc-status-prepare-status-buffer): New function.
5261         (vc-status): Use it.
5263         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
5264         appropriate.
5266 2008-03-22  Alexandre Julliard  <julliard@winehq.org>
5268         * vc-git.el (vc-git--empty-db-p)
5269         (vc-git-after-dir-status-stage1-empty-db): New functions.
5270         (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
5271         Add support for empty repositories.
5273 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
5275         * vc-git.el (vc-git-annotate-extract-revision-at-line):
5276         Allow "^" in a version name.
5278         * vc-mtn.el (vc-mtn-state): Support the added state.
5280 2008-03-22  Carsten Dominik  <dominik@science.uva.nl>
5282         * org: New directory for Org-mode.
5284         * org/org-export-latex.el: Moved from lisp/texmodes.
5286         * org/org-irc.el: Moved from lisp/texmodes.
5288         * org/org-mac-message.el: Moved from lisp/texmodes.
5290         * org/org-mouse.el: Moved from lisp/texmodes.
5292         * org/org-publish.el: Moved from lisp/texmodes.
5294 2008-03-21  Juri Linkov  <juri@jurta.org>
5296         * comint.el (comint-dynamic-simple-complete):
5297         Use variable `stub' for the second arg `common-substring'
5298         of `comint-dynamic-list-completions'.
5299         (comint-dynamic-list-filename-completions):
5300         Use variable `filenondir' for the second arg `common-substring'
5301         of `comint-dynamic-list-completions'.
5302         (comint-dynamic-list-completions): Add new optional arg
5303         `common-substring'.  Add `common-substring' as the second arg of
5304         the call to `display-completion-list'.  Doc fix.
5306         * comint.el (comint-dynamic-complete-as-filename)
5307         (comint-dynamic-list-filename-completions)
5308         (comint-dynamic-simple-complete): Use `minibuffer-message'
5309         to display message "No completions of %s" when a command
5310         is called in the minibuffer.
5311         (comint-dynamic-simple-complete): Don't display other
5312         completion messages when a command is called in the minibuffer.
5313         (comint-dynamic-list-completions): Use `minibuffer-message'
5314         to display message " [Type space to flush ...]" when a command
5315         is called in the minibuffer.
5317         * shell.el (shell-dynamic-complete-command)
5318         (shell-dynamic-complete-environment-variable): Don't display
5319         completion messages when command is called in the minibuffer.
5321         * emacs-lisp/lisp.el (lisp-complete-symbol):
5322         Use `minibuffer-message' to display message "No completions of %s"
5323         when this command is called in the minibuffer.
5325         * bindings.el (standard-mode-line-modes): Put special help-echo
5326         tooltip on recursive edit %[ %] mode-line constructs.
5328         * dabbrev.el (debug-ignored-errors): Remove $ from the end of
5329         "^No dynamic expansion for .* found$" to allow error messages like
5330         "No dynamic expansion for \"%s\" found in this-buffer".
5332 2008-03-21  Michael Albinus  <michael.albinus@gmx.de>
5334         * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
5335         "psftp".
5337 2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
5340         * vc.el (vc-default-dired-state-info): Use just "modified".
5341         * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
5342         (vc-cvs-mode-line-string): Make use of the better default.
5343         (vc-cvs-parse-entry): Use the new `added'.
5344         (vc-cvs-dired-state-info): Remove.
5345         * vc-svn.el (vc-svn-dired-state-info): Remove.
5346         * vc-hg.el (vc-hg-dired-state-info): Remove.
5347         * vc-git.el (vc-git-dired-state-info): Remove.
5349 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5351         * vc-git.el (vc-git-status-result): New variable.
5352         (vc-git-dir-status): Split out ...
5353         (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
5354         ... these new functions and work asynchronously.
5356 2008-03-21  Alexandre Julliard  <julliard@winehq.org>
5358         * vc-git.el (vc-git-after-dir-status): Remove.
5359         (vc-git-dired-state-info): Reimplement.
5361 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
5363         * replace.el (occur-mode-map): Add :help.
5365         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
5366         for disassemble.
5368         * vc.el (vc-status-mark-buffer-changed): Better deal with files in
5369         the 'added state.
5370         (vc-status-remove-up-to-date): New function.
5371         (vc-status-mode-map, vc-status-menu-map): Bind it.
5372         (vc-status-printer): Use a different face up-to-date files.
5373         (vc-resynch-buffer): Update the vc-status buffer if it exists.
5374         (Todo): Remove solved entries.
5376         * vc-hg.el (vc-hg-state):
5377         * vc-git.el (vc-git-state):
5378         * vc-cvs.el (vc-cvs-parse-status):
5379         * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
5380         state.
5382 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5384         * progmodes/compile.el (compile):
5385         * progmodes/grep.el (grep, grep-find): Use read-shell-command.
5387         * simple.el (minibuffer-local-shell-command-map): New var.
5388         (minibuffer-complete-shell-command, read-shell-command): New funs.
5389         (shell-command, shell-command-on-region): Use them.
5391 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5393         * vc.el (vc-status-mark-buffer-changed): New function to implement
5394         updating of the *vc-status* buffer when a buffer is saved.
5395         (vc-status-mode): Use it for after-change-hook.
5396         (vc-add-to-vc-status-buffer): Rename to ...
5397         (vc-status-add-entry): ... this.
5398         (Todo): Add new entry.
5400 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5402         * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
5404 2008-03-20  Juanma Barranquero  <lekktu@gmail.com>
5406         * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
5407         (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
5408         Remove spurious * from defcustom docstrings.
5409         (icomplete-compute-delay): Fix docstring and remove spurious *.
5410         (icomplete-delay-completions-threshold): Fix typo in docstring and
5411         remove spurious *.
5412         (icomplete-completions): While collecting the list of prospective
5413         candidates, don't overshoot `icomplete-prospects-length'.
5415 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
5417         * textmodes/refbib.el:
5418         * textmodes/reftex.el:
5419         * textmodes/reftex-global.el:
5420         * textmodes/reftex-vars.el:
5421         * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
5422         compiler pacifying defvars.
5423         (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
5424         * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
5425         not needed.
5427 2008-03-20  Wilson Snyder  <wsnyder@wsnyder.org>
5429         * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
5430         (verilog-stmt-menu, verilog-menu): Add :help and filter it.
5431         (verilog-customize, verilog-font-customize)
5432         (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
5433         (verilog-mode): Update documentation strings to match tool tips.
5434         (verilog-auto-search-do, verilog-auto-re-search-do)
5435         (verilog-skip-forward-comment-or-string): Fix verilog-auto
5436         expansion when a .* appears inside a string.
5437         (verilog-re-search-forward, verilog-re-search-backward):
5438         Add comment to recall how this works.
5439         (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
5441 2008-03-20  Glenn Morris  <rgm@gnu.org>
5443         * calendar/calendar.el (calendar-other-dates): New function.
5444         (calendar-print-other-dates): Use calendar-other-dates.
5445         * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
5446         the declarations it replaces.
5447         (calendar-mouse-print-dates): Use calendar-other-dates.
5449         * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
5450         (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
5451         (calendar-absolute-from-bahai): Fix the leap-year case.
5452         (calendar-bahai-from-absolute): Re-use the Gregorian month.
5453         (calendar-bahai-date-string, calendar-bahai-print-date):
5454         Handle pre-Bahai dates.
5456         * calendar/cal-china.el (chinese-calendar-celestial-stem)
5457         (chinese-calendar-terrestrial-branch): Make defcustoms.
5459         * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
5460         (calendar-mouse-view-diary-entries): Use or.
5461         (calendar-mouse-chinese-date): Remove unused command.
5462         (cal-menu-load-hook): Mark as obsolete.
5464         * calendar/solar.el (calendar-location-name, calendar-latitude)
5465         (calendar-longitude, solar-arctan, sunrise-sunset)
5466         (solar-mean-equinoxes/solstices): Use the appropriate equality test.
5468 2008-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
5470         * calc/calc.el: Remove outdated comments.
5471         (defcalcmodevar, calc-mode-var-list-restore-default-values)
5472         (calc-mode-var-list-restore-saved-values, calc-autorange-units):
5473         Add docstrings.
5475 2008-03-19  Jason Rumney  <jasonr@gnu.org>
5477         * w32-fns.el (x-alternatives-map): Add S-tab mapping.
5479 2008-03-19  Reiner Steib  <Reiner.Steib@gmx.de>
5481         * net/tls.el (open-tls-stream): Reindent.
5483 2008-03-19  Michael Albinus  <michael.albinus@gmx.de>
5485         * net/tramp.el (tramp-let-maybe): Removed.
5486         (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
5487         It does not exist under XEmacs.
5488         (tramp-handle-file-truename, tramp-handle-expand-file-name)
5489         (tramp-completion-file-name-handler): Let-bind
5490         `directory-sep-char'.
5492         * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
5493         `directory-sep-char'.
5495 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5497         * help-fns.el (describe-function-1): Don't signal "missing arglist"
5498         for autoloaded keymaps.
5500         * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
5501         (electric-verilog-terminate-line, verilog-in-struct-region-p)
5502         (verilog-backward-ws&directives, verilog-forward-ws&directives)
5503         (verilog-in-comment-p, verilog-in-star-comment-p)
5504         (verilog-in-slash-comment-p, verilog-skip-backward-comments)
5505         (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
5506         (verilog-skip-forward-comment-or-string, verilog-in-paren)
5507         (verilog-skip-forward-comment-p): Use it.
5509 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5511         * textmodes/org.el (org-link-store, org-link-follow, org-latex)
5512         (org-remember-templates, org-time-stamp-rounding-minutes)
5513         (org-back-over-empty-lines, org-find-base-buffer-visiting)
5514         (org-columns-new): Fix typos in docstrings.
5516 2008-03-19  Glenn Morris  <rgm@gnu.org>
5518         * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
5519         (tramp-handle-shell-command): Use condition-case rather than
5520         ignore-errors.
5522 2008-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
5524         * diff-mode.el (diff-header): Make the color louder.
5525         (diff-refine-change): Tone the color down.
5527 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
5529         * descr-text.el (describe-char): When `describe-char-unidata-list'
5530         is set to show all properties, list them in the right order.
5532 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5534         * international/mule.el (load-with-code-conversion): Avoid setting
5535         default-enable-multibyte-characters.
5537 2008-03-19  Gustav HÃ¥llberg  <gustav@virtutech.com>  (tiny change)
5539         * vc.el (vc-annotate-background): Fix custom type.
5541 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5543         * descr-text.el (describe-char-unidata-list): Allow specifying
5544         just all properties.
5545         (describe-char): Handle that new value.
5547         * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
5549 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5551         * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
5552         instead of file name extension to make docs with uncommon
5553         extensions work.
5555 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
5557         * doc-view.el (require): Require cl at compile time because
5558         `assert' needs it.
5560 2008-03-18  Glenn Morris  <rgm@gnu.org>
5562         * calendar/calendar.el (initial-calendar-window-hook)
5563         (today-visible-calendar-hook): Doc fixes.
5565 2008-03-17  Michael Albinus  <michael.albinus@gmx.de>
5567         * net/tramp.el (tramp-root-regexp): Simplify.
5568         (tramp-completion-file-name-regexp-separate): Don't insist on
5569         leading "[".  This prevents method or user or host completion.
5570         (tramp-let-maybe): Autoload it.
5571         (tramp-drop-volume-letter): Don't autoload.  When not on W32, it
5572         is an alias for `identity'.
5573         (tramp-handle-write-region): Protect `last-coding-system-used'
5574         over the trailing statements.
5575         (tramp-completion-file-name-handler-post-function): Remove.
5576         (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
5577         instead of calling `tramp-drop-volume-letter'.
5579         * net/tramp.el:
5580         * net/tramp-uu.el:
5581         * net/trampver.el: Move coding cookie at the end.
5583 2008-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5585         * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
5586         elements which may be something else than characters.
5588 2008-03-17  Dan Nicolaescu  <dann@ics.uci.edu>
5590         * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
5591         New functions to implement vc-status support.
5593         * vc.el (vc-default-extra-status-menu)
5594         (vc-add-to-vc-status-buffer): New functions.
5596         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5597         for eldoc and ielm.
5599 2008-03-17  Glenn Morris  <rgm@gnu.org>
5601         * calendar/cal-x.el (diary-frame-parameters)
5602         (calendar-frame-parameters, calendar-and-diary-frame-parameters):
5603         Fix custom type; add options.
5604         (calendar-frame, diary-frame): Doc fixes.
5605         (calendar-dedicate-diary, calendar-frame-1): Extract common code into
5606         new functions.
5607         (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
5608         Use calendar-frame-1 and calendar-dedicate-diary.
5609         (calendar-one-frame-setup): Also handle only-one-frame case.
5610         (calendar-only-one-frame-setup): Doc fix.  Just call
5611         calendar-one-frame-setup.
5613         * calendar/diary-lib.el: Re-order some definitions before their use.
5614         (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
5615         (diary-list-entries): Doc fixes.
5616         (make-fancy-diary-display): Remove function.
5618         * calendar/calendar.el (calendar-today-marker)
5619         (initial-calendar-window-hook, today-visible-calendar-hook)
5620         (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
5621         (calendar-star-date, calendar-mark-today): Doc fixes.
5622         (today-visible-calendar-hook): Add options.
5623         (calendar-in-read-only-buffer): New macro.
5624         (calendar-basic-setup): Adapt for change in calendar-read-date.
5625         Place holiday let inside if.
5626         (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
5627         (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
5628         (calendar-print-other-dates): Use one let rather than many.
5630         * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
5631         (calendar-print-other-dates):
5632         * calendar/cal-hebrew.el (list-yahrzeit-dates):
5633         * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
5634         * calendar/holidays.el (calendar-list-holidays, list-holidays)
5635         (calendar-cursor-holidays):
5636         * calendar/lunar.el (calendar-phases-of-moon): Use
5637         calendar-in-read-only-buffer to replace previous code and disable undo.
5639 2008-03-16  Juri Linkov  <juri@jurta.org>
5641         * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
5642         and regexp-search-ring-yank-pointer for the HISTPOS argument of
5643         read-from-minibuffer to provide the correct initial minibuffer
5644         history position in isearch-edit-string when it is called from
5645         isearch-ring-adjust.
5647         * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
5648         to check if the current buffer is the minibuffer, and in this case
5649         call abort-recursive-edit to kill the minibuffer.  Doc fix.
5650         (kill-this-buffer-enabled-p): Allow this function to return non-nil
5651         when the current buffer is the minibuffer.
5653         * simple.el (goto-line): Leave mark at previous position.  Doc fix.
5655 2008-03-16  Tassilo Horn  <tassilo@member.fsf.org>
5657         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
5658         Use non-nil PARENTS attribute of make-directory instead of
5659         explicitly checking existence the current cache directory.
5661 2008-03-16  Daiki Ueno  <ueno@unixuser.org>
5663         * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
5664         M-x epa-file-select-keys.
5666 2008-03-16  Kenichi Handa  <handa@m17n.org>
5668         * international/mule.el (auto-coding-alist):
5669         Use no-conversion-multibyte for archive files.
5671 2008-03-16  Glenn Morris  <rgm@gnu.org>
5673         * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
5674         New functions.
5675         * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
5676         (calendar-bahai-mark-date-pattern): Add optional argument `color'.
5677         Use calendar-mark-1.
5678         * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
5679         (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
5680         Use calendar-mark-complex.
5681         * calendar/cal-islam.el (calendar-mark-1): Autoload it.
5682         (mark-islamic-calendar-date-pattern): Add optional argument `color'.
5683         Use calendar-mark-1.
5685         * calendar/calendar.el (calendar-mod): Remove.
5686         * calendar/cal-china.el (calendar-chinese-from-absolute)
5687         (calendar-chinese-date-string): Expand calendar-mod calls.
5688         * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
5689         Expand calendar-mod calls.
5691         * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
5692         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
5693         (diary-bahai-insert-yearly-entry): Use let rather than let*.
5694         Move obsolete aliases after the functions that replaced them.
5696         * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
5697         (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
5698         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
5699         Use let rather than let*.
5700         (calendar-hebrew-prompt-for-date): New function.
5701         (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
5702         (holiday-tisha-b-av-etc): Use unless, let.
5704         * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
5705         (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
5707         * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
5709         * calendar/calendar.el (calendar-for-loop): Add indent spec.
5711         * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
5712         (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
5713         than concat.
5714         (diary): Remove un-needed let.
5715         (view-other-diary-entries): Rename argument.
5716         (diary-list-entries-2): New function.
5717         (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
5718         (print-diary-entries): Use unless.
5719         (diary-mark-entries-1): Change argument order, make all but
5720         markfunc optional.  Handle the standard (Gregorian) case.
5721         Use match-string-no-properties.  Handle marks.
5722         (mark-diary-entries): Use diary-mark-entries-1.
5723         (diary-font-lock-keywords-1): New macro.
5724         (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
5726 2008-03-16  Ulf Jasper  <ulf.jasper@web.de>
5728         * icalendar.el (icalendar-version): Increase to 0.18.
5729         (icalendar-export-hidden-diary-entries): New variable.
5730         (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
5731         In case of error, insert full error-val.
5732         (icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
5733         Use calendar-day-of-week.  Return the day number.
5734         (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
5736 2008-03-16  Craig Markwardt  <Craig.Markwardt@nasa.gov>
5738         * icalendar.el (icalendar-recurring-start-year): New variable.
5739         (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
5740         (icalendar-export-region): Ignore hidden diary entries.
5741         (icalendar--convert-ordinary-to-ical): Fix case where event
5742         spans across midnight boundary.
5743         (icalendar-first-weekday-of-year): New function.
5744         (icalendar--convert-weekly-to-ical): Allow user-selectable start
5745         year for recurring events (Mozilla calendars do not propagate
5746         recurring events forever, so year 2000 start date was not working).
5747         (icalendar--convert-yearly-to-ical): Remove extra spaces in
5748         formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
5750 2008-03-15  Michael Albinus  <michael.albinus@gmx.de>
5752         * net/tramp.el (tramp-root-regexp): New defconst.
5753         (tramp-completion-file-name-regexp-unified)
5754         (tramp-completion-file-name-regexp-separate)
5755         (tramp-completion-file-name-regexp-url): Use it.
5756         (tramp-do-copy-or-rename-file-via-buffer):
5757         Set `enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
5758         t for `insert-file-contents-literally'.
5759         (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
5760         Autoload it.
5761         (tramp-completion-file-name-handler-post-function): New defconst.
5762         (tramp-completion-file-name-handler): Use it.
5763         (tramp-maybe-open-connection): Update calls to
5764         `tramp-flush-connection-property' for removed 2nd argument.
5766 2008-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5768         * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
5769         (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
5770         New functions.
5772 2008-03-15  Glenn Morris  <rgm@gnu.org>
5774         * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
5775         New functions.
5776         * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
5777         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5778         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5779         (diary-bahai-list-entries): Use diary-list-entries-1.
5780         (diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.
5781         * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
5782         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5783         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5784         (list-hebrew-diary-entries): Use diary-list-entries-1.
5785         (mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.
5786         * calendar/cal-islam.el (number, original-date, add-to-diary-list)
5787         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
5788         (diary-list-entries-1, diary-mark-entries-1): Autoload.
5789         (list-islamic-diary-entries): Use diary-list-entries-1.
5790         (mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.
5792         * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
5794         * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
5796         * calendar/cal-china.el (number-chinese-months)
5797         (calendar-chinese-from-absolute): Use nth, caar.
5799         * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
5801         * calendar/cal-french.el (french-calendar-accents): Doc fix.
5803         * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
5804         (calendar-hebrew-month-name-array-leap-year)
5805         (hebrew-calendar-parashiot-names): Make constants.
5806         (diary-parasha): Move definition after constants it uses.
5808         * calendar/cal-html.el (cal-html-insert-link-yearpage)
5809         (cal-html-htmlify-list): Doc fix.
5810         (cal-html-htmlify-entry): Use nth.
5812         * calendar/cal-islam.el (calendar-islamic-month-name-array)
5813         (calendar-islamic-epoch): Make constants.
5814         (calendar-islamic-epoch): Doc fix.
5816         * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
5818         * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
5819         (cal-tex-month-name): Doc fix.
5820         (cal-tex-last-blank-p): Use zerop.
5822         * calendar/calendar.el (european-calendar-style, calendar-for-loop)
5823         (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
5824         (calendar-cursor-to-date): Doc fix.
5825         (hebrew-holidays-1, hebrew-holidays-4): Simplify.
5826         (extract-calendar-day, extract-calendar-year): Use cadr, nth.
5827         (calendar-day-number): Use when.
5828         (generate-calendar-month): Use dotimes.
5829         (exit-calendar, calendar-print-other-dates): Use let rather than let*.
5830         (calendar-set-mark): Reverse conditional.
5831         (calendar-make-alist): Move definition before use.
5833         * calendar/diary-lib.el (diary-face-attrs)
5834         (diary-glob-file-regexp-prefix, diary-selective-display)
5835         (number-of-diary-entries, diary-list-entries, diary-goto-entry)
5836         (list-sexp-diary-entries, diary-date, diary-block, diary-float)
5837         (diary-anniversary, diary-cyclic)
5838         (diary-fancy-font-lock-fontify-region-function): Doc fixes.
5839         (diary-header-line-format): Change wording.
5840         (diary-list-entries): Set `date-start' in let.
5841         (include-other-diary-files, mark-included-diary-files): Use format.
5842         (simple-diary-display, fancy-diary-display): Use cadr, unless.
5843         (mark-diary-entries): Use 1+.
5844         (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
5845         (mark-calendar-month): Use dotimes.
5847         * calendar/holidays.el (displayed-month, displayed-year):
5848         Move declarations where needed.
5849         (calendar-list-holidays): Doc fix.
5851         * calendar/parse-time.el (parse-time-string): Simplify.
5853         * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
5854         Make constants.
5855         (solar-sunrise-sunset): Rename some local variables for clarity.
5856         (sunrise-sunset): Use zerop.
5857         (solar-mean-equinoxes/solstices): Doc fix.
5859         * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
5860         Use nth.
5861         (timeclock-completing-read, timeclock-generate-report): Use zerop.
5862         (timeclock-mean, timeclock-generate-report): Use dolist.
5864         * calendar/todo-mode.el (todo-add-category): Simplify.
5865         (todo-more-important-p, todo-delete-item, todo-file-item):
5866         Use unless, when.
5867         (todo-top-priorities): Use zerop.
5869 2008-03-14  Nick Roberts  <nickrob@snap.net.nz>
5871         * buff-menu.el (list-buffers-noselect): Display buffer name in
5872         tooltip instead of mouse binding when it doesn't fit in the list.
5874 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
5876         * faces.el (xw-defined-colors):
5877         * simple.el (widget-convert, shell-mode): Declare as functions
5878         instead of autoloading.
5880         * abbrev.el:
5881         * button.el:
5882         * cus-face.el:
5883         * ediff-hook.el:
5884         * emacs-lisp/backquote.el:
5885         * emacs-lisp/timer.el:
5886         * facemenu.el:
5887         * faces.el:
5888         * menu-bar.el:
5889         * simple.el:
5890         * subr.el:
5891         * textmodes/fill.el:
5892         * textmodes/paragraphs.el: Remove autoloads, redundant when the
5893         files are preloaded.
5895 2008-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5897         * desktop.el (desktop-create-buffer): Don't catch errors if
5898         debug-on-error is set.
5900 2008-03-14  Eli Zaretskii  <eliz@gnu.org>
5902         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5903         ($(lisp)/calendar/diary-loaddefs.el)
5904         ($(lisp)/calendar/hol-loaddefs.el): New targets.
5905         (LOADDEFS): New macro.
5906         (autoloads): Depend on $(LOADDEFS).
5908 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
5910         * font-lock.el (featurep): Remove test, not useful anymore.
5911         (facemenu-keymap): Move key binding ...
5912         * facemenu.el (facemenu-keymap): ... here.
5914         * vc-bzr.el (vc-bzr-print-log): Insert a file marker.  Run the log
5915         for each file in the list.
5916         (vc-bzr-log-view-mode): Recognize the file marker.
5918         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5919         for checkdoc and profiling.
5921 2008-03-14  Bastien Guerry  <bzg@altern.org>
5923         * textmodes/flyspell.el (nxml-mode): Add the right
5924         `flyspell-mode-predicate'.
5926         * wid-edit.el (link): Use 'mouse-face for :follow-link.
5928 2008-03-14  Glenn Morris  <rgm@gnu.org>
5930         * calendar/solar.el: Reorder so that functions are defined before use.
5931         (displayed-month, displayed-year): Move declarations where needed.
5932         (solar-get-number): Move definition before use.  Use unless.
5933         (solar-equatorial-coordinates): Simplify.
5934         (solar-sunrise-and-sunset): Use let rather than let*.
5935         (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
5937         * startup.el (command-line-1): Rename -internal-script back to
5938         -scriptload (reverts previous change).
5940         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
5941         (calendar-bahai-leap-base): Add doc strings.
5942         (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
5943         Move definition before use.
5944         (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
5945         (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
5946         variables outside the loop.  Use dolist.
5947         (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
5949         * calendar/cal-china.el: Re-order so that functions are defined before
5950         use.
5951         (displayed-month, displayed-year): Move declarations where needed.
5952         (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
5953         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
5954         Add doc strings.
5955         (chinese-year-cache): Recenter on 2010.  Doc fix.
5956         (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
5957         Doc fix.  Simplify.
5958         (chinese-year-cache-init): New function.
5959         (compute-chinese-year, holiday-chinese-new-year)
5960         (calendar-chinese-date-string, calendar-goto-chinese-date)
5961         (make-chinese-month-assoc-list): Use cadr, nth.
5962         (chinese-months): Remove un-needed let.
5964         * calendar/cal-coptic.el (coptic-calendar-month-name-array)
5965         (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
5966         (coptic-prompt-for-date): Move definition before use.
5968         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
5969         (calendar-dst-find-data, calendar-daylight-time-offset)
5970         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
5971         (calendar-daylight-savings-starts-time)
5972         (calendar-daylight-savings-ends-time): Use cadr, nth.
5974         * calendar/cal-french.el (french-calendar-epoch)
5975         (calendar-goto-french-date): Doc fix.
5976         (french-calendar-month-name-array)
5977         (french-calendar-multibyte-month-name-array)
5978         (french-calendar-day-name-array, french-calendar-special-days-array):
5979         Add doc strings.
5981         * calendar/cal-hebrew.el (displayed-month, displayed-year)
5982         (original-date): Move declarations where needed.
5983         (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
5984         Doc fix.
5985         (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
5986         constant variables outside the loop.  Use dolist.
5988         * calendar/cal-islam.el (displayed-month, displayed-year)
5989         (original-date): Move declarations where needed.
5990         (islamic-calendar-day-number): Remove unused local variable `day'.
5991         (calendar-goto-islamic-date): Doc fix.
5992         (holiday-islamic): Use unless.
5993         (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
5994         constant variables outside the loop.  Use dolist.
5995         (mark-islamic-calendar-date-pattern): Move definition before use.
5996         Use unless.
5997         (mark-islamic-diary-entries): Doc fix.
5998         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
5999         (insert-yearly-islamic-diary-entry): Use let rather than let*.
6001         * calendar/cal-julian.el (calendar-absolute-from-julian):
6002         Move definition before use.  Remove un-needed local `day'.
6003         (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
6005         * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
6006         (calendar-mayan-tzolkin-names-array): Add doc strings.
6007         (calendar-mayan-long-count-from-absolute): Use a single let.
6008         (calendar-string-to-mayan-long-count): Simplify.
6009         (calendar-next-haab-date, calendar-previous-haab-date)
6010         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6011         (calendar-previous-calendar-round-date)
6012         (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
6013         Doc fix.
6014         (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
6015         (calendar-mayan-date-string, calendar-print-mayan-date)
6016         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6017         (calendar-mayan-long-count-common-era): Move definitions before use.
6019         * calendar/cal-menu.el (displayed-year): Move declaration where needed.
6020         (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
6021         Doc fix.
6022         (calendar-mouse-goto-date): Move definition before use.
6024         * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
6025         Move definition before use.
6026         (calendar-cursor-to-visible-date): Move definition before use.
6027         (calendar-scroll-left): Use unless and zerop.  Combine lets into one,
6028         and place inside the conditional.
6029         (calendar-forward-day): Simplify.
6030         (calendar-end-of-month): Use unless.
6031         (calendar-goto-day-of-year): Doc fix.
6032         Relocate obsolete aliases after their replacements.
6034         * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
6036         * calendar/diary-lib.el (mark-diary-entries): Move some constant
6037         variables outside the diary-date-forms loop.
6039         * calendar/calendar.el (diary-file): Doc fix.
6040         (calendar-buffer-list): Return buffers rather than strings (fixes
6041         previous change).
6042         (hebrew-holidays-4): Fix typo.
6044         * calendar/holidays.el (displayed-month, displayed-year):
6045         Move declarations where needed.
6046         (calendar-holiday-list, calendar-list-holidays)
6047         (holiday-filter-visible-calendar): Move definitions before use.
6048         (list-holidays): Use cadr.
6049         Relocate obsolete aliases after their replacements.
6051         * calendar/lunar.el (date, displayed-month, displayed-year):
6052         Move declarations where needed.
6053         (lunar-phase-list): Move definition after functions it uses.
6054         (calendar-phases-of-moon, diary-phases-of-moon)
6055         (lunar-new-moon-on-or-after): Use cadr, nth.
6056         (lunar-new-moon-on-or-after): Doc fix.
6058         * textmodes/org-irc.el (top-level): CL not required when compiling.
6059         (org-irc-visit-erc): Replace runtime CL functions.
6061         * textmodes/org-publish.el (declare-function): Add compatibility stub.
6062         (org-publish-delete-dups): Declare as function.
6064 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
6066         * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
6067         (vc-bzr-show-log-entry): Make regexp match more cases.
6068         (vc-diff-switches-list): Remove autoload, not needed.
6070 2008-03-14  Juri Linkov  <juri@jurta.org>
6072         * isearch.el (isearch-edit-string): Remove one call to
6073         `isearch-push-state' not to push an inconsistent state,
6074         but keep another correct call to `isearch-push-state'.
6075         (isearch-ring-adjust): Call `isearch-push-state' only when
6076         `search-ring-update' is non-nil since `isearch-edit-string'
6077         already pushes its state.
6078         (isearch-message): Improve matching the failed part by checking
6079         if the original message starts with the last successful message.
6081         * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
6082         (dired-perm-write): Rename from `dired-warn-writable'.
6083         Change parent face from `font-lock-warning-face' to
6084         `font-lock-comment-delimiter-face'.
6085         (dired-warn-writable-face): Rename to `dired-perm-write-face'.
6086         (dired-perm-write-face): Rename from `dired-warn-writable-face'.
6087         (dired-font-lock-keywords): Replace `dired-warn-writable-face'
6088         with `dired-perm-write-face'.
6090 2008-03-13  Tassilo Horn  <tassilo@member.fsf.org>
6092         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
6093         Create cache dir only if it doesn't already exist.
6095 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6097         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
6098         of \ and '.
6100 2008-03-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6102         * net/browse-url.el (browse-url-text-xterm):
6103         Unquote browse-url-text-browser.
6105 2008-03-13  Carsten Dominik  <dominik@science.uva.nl>
6107         * textmodes/org-mouse.el: Version number change.
6109         * textmodes/org-publish.el (org-publish-expand-components):
6110         Remove null projects from the list of components.
6111         (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
6112         Remove unused retrieval of the :publishing-directory property.
6113         (org-publish-file): Bugfix: when using a relative directory as the
6114         publishing directory, convert it to a directory filename.
6115         (org-publish-project): New alias.
6116         (org-publish-get-files): Protect against empty p.
6117         (org-publish-file): Send an error when file is not part of any project.
6118         (org-publish-file): Offer to refresh the list of files in known
6119         project when the current file is not part of any project.
6120         (org-publish-before-export-hook)
6121         (org-publish-after-export-hook): New hooks.
6122         (org-publish-org-to): Use new hooks and kill buffers.
6123         (org-publish-file): Remove the code for killing buffers.
6124         (org-publish-initialize-files-alist): Use interactive.
6125         (org-publish-file): If the publishing function creates a new
6126         buffer, kill it after publishing.
6127         (org-publish-timestamp-filename): Protect ":" in file name path
6128         under windows.
6130         * textmodes/org-export-latex.el (org-export-as-latex): Revert the
6131         change that killed the LaTeX buffer.
6133         * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
6134         in the decision tree.
6135         (org-select-remember-template): Clean the code.
6136         (org-prepare-dblock): Add the extra :content parameter.
6137         (org-write-agenda): New output type ".ics" files.
6138         (org-write-agenda): Call `org-icalendar-verify-function', both for
6139         time stamps and for TODO entries.
6140         (org-agenda-collect-markers, org-create-marker-find-array)
6141         (org-check-agenda-marker-table): New functions.
6142         (org-agenda-marker-table): New variable.
6143         (org-export-as-html): Revert the change that killed the html
6144         buffer.  Side effects first need to be studied carefully.
6145         (org-get-tags-at): Fix the structure of the condition-case statement.
6146         (org-ts-regexp0, org-repeat-re, org-display-custom-time)
6147         (org-timestamp-change): Fix regulear expressions to swallow the
6148         extra character for repeat-shift control.
6149         (org-auto-repeat-maybe): Implement the new repeater mechanisms.
6150         (org-get-legal-level): Alias to `org-get-valid-level'.
6151         (org-dblock-write:clocktable): Add a :link parameter, linking
6152         headlines to their location in the Org agenda files.
6153         (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
6154         throwing an error when getting tags before headlines.
6155         (org-timestamp-change, org-modify-ts-extra)
6156         (org-ts-regexp1): Fix timestamp editing.
6157         (org-agenda-custom-commands-local-options): New constant.
6158         (org-agenda-custom-commands):
6159         Use `org-agenda-custom-commands-local-options' to improve customize
6160         type.  "htmlize": Removed hack to fix face problem with htmlize,
6161         it no longer seem necessary.
6162         (org-follow-link-hook): New hook.
6163         (org-agenda-custom-commands): Add "Component" as a tag for each
6164         item in a command serie.
6165         (org-open-at-point): Run `org-follow-link-hook'.
6166         (org-agenda-schedule): Bugfix: don't display marker type when it
6167         is nil.
6168         (org-store-link): org-irc required.
6169         (org-set-regexps-and-options): Parse the new logging options.
6170         (org-extract-log-state-settings): New function.
6171         (org-todo): Handle the new ways of recording state change stuff.
6172         (org-local-logging): New function.
6173         (org-columns-open-link): Fix bug with opening link in column view.
6174         (org-local-logging): New function
6175         (org-todo): Make sure that LOGGING properties are honoured.
6176         (org-todo-keywords): Improve docstring.
6177         (org-startup-options): Cleanup startup options.
6178         (org-set-regexps-and-options): Process the "!" markers.
6179         (org-todo): Respect the new logging stuff.
6180         (org-log-note-how): New variable.
6181         (org-add-log-maybe): New parameter HOW that defines how logging
6182         should be done and also overrides PURPOSE.  Add a docstring.
6183         (org-add-log-note): Check if we really need to ask for a note.
6184         (org-get-current-options): Digest the new keyword.
6185         (org-agenda-reset-markers): Rename from
6186         `org-agenda-maybe-reset-markers'.  Remove FORCE argument.
6187         (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
6188         function, without force argument.
6189         (org-buffer-property-keys): Bind local variables s and p.
6190         (org-make-tags-matcher): Allow "" to match an empty or
6191         non-existent property value.
6192         (org-export-as-html): Join unsorted lists when they directly
6193         follow each other.  Such lists may be created by headlines that
6194         are converted to lists.
6195         (org-nofm-to-completion): New function.
6196         (org-export-as-html): Use :html-extension instead of
6197         org-export-html-extension.
6198         (org-store-link): Support for links from `rmail-summary-mode'.
6199         (org-columns-new, org-complete, org-set-property): Set the
6200         `include-columns' argument in the call to
6201         `org-buffer-property-keys'.
6202         (org-buffer-property-keys): New argument `include-columns', to
6203         include properties expected by any of the COLUMS formats in the
6204         current buffer.
6205         (org-cleaned-string-for-export): Get rid of drawers first, so that
6206         they will be removed also in the text before the first headline.
6207         (org-clock-report): Show the clocktable when found.
6208         (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
6209         (org-version): With prefix argument, insert `org-version' at point.
6210         (org-agenda-goto): Recenter the window after finding the target
6211         location, to make sure the correct position will be displayed.
6212         (org-agenda-get-deadlines): Don't scale priority with the warning
6213         period.
6214         (org-insert-heading): Don't break line in the middle of the line.
6215         (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
6216         be 0.
6217         (org-update-checkbox-count): Revamp to deal with hierarchical
6218         beckboxes.  This was a patch from Miguel A. Figueroa-Villanueva.
6219         (org-remove-timestamp-with-keyword): New function.
6220         (org-schedule, org-deadline):
6221         Use `org-remove-timestamp-with-keyword' to make sure all such time
6222         stamps are removed.
6223         (org-mode): Support for `align'.
6224         (org-agenda-get-deadlines): Make sure priorities increase as the
6225         due date approaches and is passed.
6226         (org-remember-apply-template): Fix problem with tags that
6227         contain "_" or "@".
6228         (org-make-link-regexps): Improve the regular expression for plain links.
6229         (org-agenda-get-closed): List each clocking entry.
6230         (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
6231         (org-special-ctrl-k): New option.
6232         (org-kill-line): New function.
6233         (org-archive-all-done): Fix incorrect number of stars in regexp.
6234         (org-refile-get-location): New function.
6235         (org-refile-goto-last-stored): New function.
6236         (org-global-tags-completion-table): Add the value of org-tag-alist
6237         in each buffer, to make sure that also unused tags will be
6238         available for completion.
6239         (org-columns-edit-value)
6240         (org-columns-next-allowed-value): Only update if not in agenda.
6241         (org-clocktable-steps): New function.
6242         (org-dblock-write:clocktable): Call `org-clocktable-steps'.
6243         (org-archive-subtree): Add the outline tree context as a property.
6244         (org-closest-date): New optional argument `prefer'.
6245         (org-goto-auto-isearch): New option.
6246         (org-goto-map, org-get-location): Implement auto-isearch.
6247         (org-goto-local-auto-isearch-map): New variable.
6248         (org-goto-local-search-forward-headings)
6249         (org-goto-local-auto-isearch): New functions.
6251 2008-03-13  Philip Jackson  <emacs@shellarchive.co.uk>
6253         * textmodes/org-irc.el: New file.
6255 2008-03-13  John Wiegley  <johnw@gnu.org>
6257         * textmodes/org-mac-message.el: New file.
6259 2008-03-13  Dan Nicolaescu  <dann@ics.uci.edu>
6261         * font-lock.el (font-lock-comment-face): Set the foreground for
6262         the light background 8 colors case.
6264 2008-03-13  Glenn Morris  <rgm@gnu.org>
6266         * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
6267         generate-autoload-cookie patterns.
6269         * startup.el (command-line-1): Rename -scriptload to -internal-script.
6271         * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
6272         (MH_E_SRC): Remove variable.
6273         ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
6274         Simplify file header.  Use $@ for generated-autoload-file.
6276         * Makefile.in (LOADDEFS): New variable.
6277         (AUTOGENEL): Use $LOADDEFS.
6278         (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
6279         ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
6280         ($(lisp)/calendar/hol-loaddefs.el): New targets.
6281         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6282         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
6283         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6284         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6285         * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
6286         * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
6287         Add calendar-specific autoload cookies, and remove any setting of
6288         generated-autoload-file.
6289         * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
6290         * calendar/diary-lib.el: Replace explicit autoloads with reading of
6291         diary-loaddefs.
6292         * calendar/holidays.el: Replace explicit autoloads with reading of
6293         hol-loaddefs.
6295         * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
6296         (calendar-buffer-list): Simplify.
6297         (generate-calendar-window): Use calendar-mark-holidays rather than
6298         obsolete alias.
6300         * calendar/cal-hebrew.el (list-yahrzeit-dates):
6301         Use cal-hebrew-yahrzeit-buffer.
6303         * calendar/cal-x.el (calendar-only-one-frame-setup)
6304         (calendar-two-frame-setup): Doc fixes.
6305         (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
6307         * calendar/appt.el (appt-mode-string): Mark as risky.
6308         (appt-check): Apply mode-line-emphasis face to appt-mode-string.
6310         * calendar/cal-html.el (diary-list-entries):
6311         * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
6312         (calendar-iso-from-absolute): Fix autoloads.
6314         * calendar/cal-iso.el (calendar-absolute-from-iso)
6315         (calendar-iso-read-args): Simplify.
6316         (calendar-iso-date-string, calendar-iso-read-args)
6317         (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
6319         * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
6320         (displayed-month, displayed-year): Move declarations where needed.
6321         (calendar-print-astro-day-number): Doc fix.
6323         * calendar/cal-persia.el (persian-calendar-month-name-array)
6324         (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
6325         (persian-prompt-for-date): Remove local variable `today'.
6327         * calendar/diary-lib.el (mark-calendar-month): Use zerop.
6329         * calendar/solar.el (solar-moment, solar-exact-local-noon)
6330         (solar-sunrise-sunset, solar-sunrise-sunset-string)
6331         (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
6332         (diary-sabbath-candles, solar-equinoxes/solstices)
6333         (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
6334         (solar-time-equation, solar-date-to-et): Simplify.
6336         * mail/supercite.el: Remove the `function' in `(function (lambda'.
6337         Replace `(car (cdr' with cadr'.
6339         * progmodes/f90.el (f90-font-lock-n): New function.
6340         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
6341         Use f90-font-lock-n.
6342         (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
6344         * progmodes/f90.el (f90-mode-abbrev-table):
6345         * progmodes/fortran.el (fortran-mode-abbrev-table):
6346         Use newer form of define-abbrev, where supported.  No need to bind
6347         abbrevs-changed for system abbrevs.
6349 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6351         * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
6352         delete-frame-functions.
6354         * bookmark.el (Info-current-node): Remove.
6356 2008-03-12  Juri Linkov  <juri@jurta.org>
6358         * help.el (describe-project): Remove defaliases for view-todo and
6359         describe-project that are now unnecessary after the merge from
6360         emacs--rel--22 that added define-obsolete-function-alias.
6362         * startup.el (inhibit-startup-screen): Revert incomplete
6363         2008-03-10 merge from emacs--rel--22 that partly reverted
6364         2008-02-28 change that added initial message to *scratch* buffer
6365         regardless of the value of `inhibit-startup-screen'.
6366         Now keep this change in the trunk, but not in the 22 branch.
6368 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6370         * international/quail.el (quail-setup-completion-buf, quail-help):
6371         * mail/binhex.el (binhex-decode-region-internal):
6372         * mail/uudecode.el (uudecode-decode-region-internal):
6373         * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
6374         * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
6375         setting default-enable-multibyte-characters.
6377         * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
6379         * comint.el: Fix up indentation and comment style.  Remove `function'.
6381         * international/mule-cmds.el (reset-language-environment)
6382         (set-language-environment-nonascii-translation):
6383         Don't set-unibyte-charset.
6385         * doc-view.el: Remove all cb-args, use closures instead.
6386         (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
6387         doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
6388         doing an incorrect check).  Update all callers to use the new name.
6389         (doc-view-doc->txt): Add missing `txt' argument.
6391 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6393         * doc-view.el (doc-view-current-cache-dir): Set buffer used for
6394         md5 sum calculation to single-byte.
6396 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6398         * doc-view.el (doc-view-new-window-function): Add assertion.
6399         (doc-view-doc-type): New var.
6400         (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
6401         (doc-view-intersection): New fun.
6402         (doc-view-mode): Use it to set the new var.
6404 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
6406         * doc-view.el (doc-view-doc->txt, doc-view-open-text)
6407         (doc-view-already-converted-p): New functions.
6408         (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
6409         (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
6410         (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
6411         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
6412         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
6413         (doc-view-convert-current-doc): Don't hardwire the functions the
6414         sentinels call.  Now they're provided by two args CALLBACK and
6415         CB-ARGS to the functions.
6416         (doc-view-search): Use doc-view-doc->txt.
6417         (doc-view-initiate-display): Use doc-view-already-converted-p.
6418         Mention new binding C-c C-t if doc-view-mode doesn't work.
6420 2008-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6422         * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
6424 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6426         * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
6427         Mark " outside of tags as punctuation.
6429 2008-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6431         * menu-bar.el (minibuffer-local-map): Use the same command for the
6432         "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
6433         Prefer RET over C-j for exit-minibuffer.
6435         * files.el (display-buffer-other-frame): Eliminate problematic code.
6437         * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
6438         (menu-bar-select-buffer): Remove.
6439         (menu-bar-select-frame): Make non-interactive and take a frame arg.
6440         (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
6442 2008-03-11  Juanma Barranquero  <lekktu@gmail.com>
6444         * icomplete.el (icomplete-completions): Remove obsolete code.
6446         * net/net-utils.el (iwconfig-program-options): Doc fix.
6447         (net-utils-run-program, run-network-program): Define as functions.
6449 2008-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
6451         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
6453 2008-03-11  Glenn Morris  <rgm@gnu.org>
6455         * faces.el (mode-line-emphasis): New face.
6456         * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
6458         * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
6460 2008-03-11  Chong Yidong  <cyd@stupidchicken.com>
6462         * simple.el (set-mark-command): Doc fix.
6464 2008-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6466         * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
6468         * emacs-lisp/autoload.el (autoload-find-destination):
6469         Don't force raw-text.
6471         * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
6472         * calendar/cal-loaddefs.el: Don't version control.
6474 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6476         * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
6477         entries and add :help to the existing ones.
6479 2008-03-10  Glenn Morris  <rgm@gnu.org>
6481         * calendar/cal-hebrew.el (date, entry, number): Move declarations
6482         to where they are needed.
6484         * calendar/calendar.el (diary-file, hebrew-holidays-1)
6485         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6486         (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
6487         (calendar-version): Doc fixes.
6488         (calendar-absolute-from-gregorian): Use zerop.
6489         (calendar-mode-line-format): Make it a defcustom.
6491         * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
6492         (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
6493         (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
6494         (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
6495         (mark-included-diary-files, mark-calendar-days-named)
6496         (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
6497         (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
6498         (insert-monthly-diary-entry, insert-yearly-diary-entry)
6499         (insert-anniversary-diary-entry, insert-block-diary-entry)
6500         (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
6501         (diary-font-lock-sexps): Doc fixes.
6502         (diary-remind-message, mark-calendar-month): Use zerop.
6503         (diary-attrtype-convert, diary-pull-attrs): Simplify.
6504         (diary-list-entries): Revert let to let* (previous change).
6506         * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
6508 2008-03-10  Kim F. Storm  <storm@cua.dk>
6510         * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
6511         function aliases for the old names.
6513 2008-03-10  Juanma Barranquero  <lekktu@gmail.com>
6515         * iswitchb.el (iswitchb-use-faces): Doc fix.
6516         (iswitchb-buffer-ignore, iswitchb-read-buffer):
6517         Fix typos in docstrings.
6519 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6521         * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
6522         Fix typo.
6523         (verilog-type-font-keywords): Reindent.
6525 2008-03-10  Michael McNamara  <mac@mail.brushroad.com>
6527         * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
6528         grouping-keyword regular expression.
6529         (verilog-font-lock-keywords): Allow users to toggle special
6530         highlight of grouping-keywords.
6531         (verilog-highlight-grouping-keywords): The toggle for special
6532         highlighting of grouping keywords.
6534 2008-03-10  Juri Linkov  <juri@jurta.org>
6536         * startup.el: Revert 2008-02-28 change that adds initial message
6537         to *scratch* buffer regardless of the value of
6538         `inhibit-startup-screen'.
6540 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
6542         * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
6543         * textmodes/bibtex-style.el (bibtex-style-indent-basic):
6544         * progmodes/verilog-mode.el (verilog-mode):
6545         * net/socks.el (socks):
6546         * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
6548 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6550         * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
6551         (doc-view-bookmark-make-record): Use them.
6552         (doc-view-bookmark-jump): Use them.  Fix find-file ->find-file-noselect.
6553         (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
6555         * bookmark.el (bookmark-make-record-function): Change expected return
6556         value to include a suggested bookmark name.
6557         (bookmark-make): Split into bookmark-make-record and bookmark-store.
6558         Fix reversed `overwrite' semantics.
6559         (bookmark-set): Call bookmark-make-record before prompting the user.
6560         Then pass the result to bookmark-store later on.
6561         (bookmark-make-name-function): Remove.
6562         (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
6563         * info.el (bookmark-make-name-function): Remove.
6564         (Info-mode): Don't set it.
6565         (Info-bookmark-make-name): Remove.
6566         (Info-bookmark-make-record): Use Info-current-node as suggested default
6567         bookmark name.
6569         * bookmark.el (bookmark-set): Make bookmark before reading annotations.
6570         I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
6571         (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
6572         (bookmark-annotation-buffer, bookmark-annotation-file)
6573         (bookmark-annotation-point, bookmark-send-annotation)
6574         (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
6575         (bookmark-edit-annotation-text-func): Rename from
6576         bookmark-read-annotation-text-func.  Keep old name as an obsolete alias.
6577         (bookmark-edit-annotation-mode-map): Move initialization into
6578         declaration.
6580         * bookmark.el: Remove spurious * in docstrings.
6581         (bookmark-minibuffer-read-name-map): New var.
6582         (bookmark-set): Use it.  Also pass the default value as it should.
6583         (bookmark-send-edited-annotation): Take no chances with text properties.
6584         (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
6585         (bookmark-insert-buffer-name): Remove.
6586         (bookmark-buffer-file-name): Signal an error rather than returning nil.
6588 2008-03-09  Thomas Hühn  <xf27@arcor.de>  (tiny change)
6590         * tutorial.el (tutorial--default-keys): Update `C-l' binding.
6592 2008-03-09  Dan Nicolaescu  <dann@ics.uci.edu>
6594         * diff-mode.el (diff-mode-menu): Add :help.
6596 2008-03-09  Glenn Morris  <rgm@gnu.org>
6598         * calendar/calendar.el (general-holidays, oriental-holidays)
6599         (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
6600         (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
6601         (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
6602         (calendar-holidays): Restore autoload cookies, because people are
6603         used to using these variables without loading calendar.el.
6605         * calendar/cal-islam.el (diary-islamic-date): Move to end.
6606         (date, number): Declare where needed.
6608         * calendar/diary-lib.el (nongregorian-diary-marking-hook)
6609         (list-sexp-diary-entries): Doc fixes.
6610         (diary-list-entries): Doc fix.  Remove free variable `entry'.
6611         (fancy-diary-display): Use dolist, bobp.  Remove free variable `entry'.
6612         Simplify setting of `date-holiday-list'.
6613         (mark-diary-entries): Remove free variable `entry'.
6614         (diary-list-entries, include-other-diary-files, fancy-diary-display):
6615         Use let where let* is not needed.
6617 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6619         * bookmark.el (bookmark-make): Don't pass the `annotation' to the
6620         make-record function, instead paste it in afterwards.
6621         (bookmark-make-record-for-text-file):
6622         * doc-view.el (doc-view-bookmark-make-record):
6623         * info.el (Info-bookmark-make-record): Don't mess with annotations.
6625 2008-03-08  Glenn Morris  <rgm@gnu.org>
6627         * calendar/diary-lib.el (entry): Declare for compiler part-way through.
6629 2008-03-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6631         * calendar/diary-lib.el (diary-list-entries)
6632         (include-other-diary-files, mark-diary-entries)
6633         (mark-sexp-diary-entries, mark-included-diary-files)
6634         (diary-entry-time, list-sexp-diary-entries): Remove the special
6635         handling of ^M that dates back to the use of selective-display.
6636         (simple-diary-display): Obey setting of pop-up-frames.
6637         (body, entry): Remove unnecessary declarations.
6639         * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
6640         (bookmark-get-annotation, bookmark-set-annotation)
6641         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
6642         (bookmark-set-position, bookmark-get-front-context-string)
6643         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
6644         (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
6645         * info.el (Info-bookmark-make-record): Don't bother recording point.
6646         (bookmark-get-filename, bookmark-get-front-context-string)
6647         (bookmark-get-rear-context-string, bookmark-get-position):
6648         Don't declare any more.
6649         (bookmark-get-info-node): Remove.
6650         (bookmark-prop-get): Declare.
6651         (Info-bookmark-jump): Use it.
6653 2008-03-08  Johan BockgÃ¥rd  <bojohan@gnu.org>
6655         * subr.el (while-no-input): Don't splice BODY directly into the
6656         `or' form.
6658 2008-03-08  Dan Nicolaescu  <dann@ics.uci.edu>
6660         * diff-mode.el (diff-ignore-whitespace-hunk):
6661         Bind inhibit-read-only before trying to change the buffer.
6663 2008-03-08  Glenn Morris  <rgm@gnu.org>
6665         * calendar/appt.el (appt): Move custom group here from calendar.el.
6666         (appt-disp-window, appt-convert-time): Doc fixes.
6668         * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
6669         (calendar-bahai-mark-date-pattern):
6670         * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
6671         * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
6672         * calendar/cal-julian.el (calendar-absolute-from-julian):
6673         * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
6675         * calendar/cal-china.el (chinese-calendar): Move custom group here from
6676         calendar.el.
6677         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
6678         Make constants.
6679         (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
6680         (chinese-calendar-daylight-savings-starts)
6681         (chinese-calendar-daylight-savings-ends)
6682         (chinese-calendar-daylight-savings-starts-time)
6683         (chinese-calendar-daylight-savings-ends-time)
6684         (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
6685         Doc fixes.
6687         * calendar/cal-coptic.el (coptic-name): Add doc string.
6689         * calendar/cal-french.el (french-calendar-month-name-array)
6690         (french-calendar-day-name-array, french-calendar-special-days-array):
6691         Add doc strings.
6693         * calendar/cal-bahai.el (diary-bahai-mark-entries)
6694         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
6695         (diary-bahai-insert-yearly-entry):
6696         * calendar/cal-dst.el (calendar-next-time-zone-transition)
6697         (calendar-time-zone):
6698         * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
6699         (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
6700         (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
6701         (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
6702         (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
6703         * calendar/cal-islam.el (islamic-calendar-leap-year-p)
6704         (list-islamic-diary-entries, mark-islamic-diary-entries)
6705         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
6706         (insert-yearly-islamic-diary-entry):
6707         * calendar/cal-iso.el (calendar-iso-read-args):
6708         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6709         (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
6710         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
6711         (calendar-next-calendar-round-date)
6712         (calendar-mayan-long-count-common-era):
6713         * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
6714         (cal-menu-x-popup-menu, calendar-mouse-holidays)
6715         (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
6716         (calendar-mouse-goto-date):
6717         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
6718         * calendar/holidays.el (holidays):
6719         * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
6720         * calendar/time-date.el (date-to-time, time-subtract, time-add)
6721         (safe-date-to-time): Doc fixes.
6723         * calendar/cal-persia.el (persian-calendar-month-name-array)
6724         (persian-calendar-epoch): Make constants.
6726         * calendar/cal-tex.el (calendar-tex): Move custom group here from
6727         calendar.el.
6729         * calendar/cal-x.el (diary-frame-parameters)
6730         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6731         (calendar-after-frame-setup-hooks): Make defcustoms.
6732         (calendar-one-frame-setup, calendar-only-one-frame-setup)
6733         (calendar-two-frame-setup): Doc fix.
6735         * calendar/cal-loaddefs.el: New file.
6737         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6738         * calendar/cal-french.el, calendar/cal-html.el:
6739         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
6740         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
6741         * calendar/cal-tex.el, calendar/cal-x.el:
6742         Unquote lambda functions.  Add autoload cookies to functions formerly
6743         autoloaded in calendar.el.  Set `generated-autoload-file' to
6744         "cal-loaddefs.el".
6746         * calendar/calendar.el: Move many autoloads to separate file,
6747         cal-loaddefs.el.  Move defcustoms to start and re-order.
6748         (calendar-month-name-array, calendar-starred-day): No need to
6749         declare for compiler.
6750         (cal-loaddefs): Require it.
6751         (appt, chinese-calendar, calendar-tex): Move custom groups to the
6752         appropriate file.
6753         (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
6754         Reverse logic.
6755         (diary-face, diary-file-name-prefix-function, diary-include-string)
6756         (diary-glob-file-regexp-prefix, diary-face-attrs)
6757         (diary-file-name-prefix, sexp-diary-entry-symbol)
6758         (print-diary-entries-hook, list-diary-entries-hook)
6759         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6760         (nongregorian-diary-marking-hook, diary-list-include-blanks):
6761         Move to diary-lib.
6762         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6763         (all-bahai-calendar-holidays): Doc fix.
6764         (calendar-insert-indented): Doc fix.  Use when rather than if.
6765         (exit-calendar): Use mapc rather than mapcar.
6766         (calendar-cursor-to-date): Use zerop.
6767         (calendar-mark-ring): Add doc-string.
6768         (calendar-starred-day): Defvar it.
6769         (calendar-mode): Make calendar-starred-day local.
6770         (calendar-star-date): No need to make calendar-starred-day local.
6772         * calendar/diary-lib.el: Move defcustoms to start.
6773         (diary-include-string, diary-list-include-blanks)
6774         (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
6775         (diary-file-name-prefix, diary-file-name-prefix-function)
6776         (sexp-diary-entry-symbol, list-diary-entries-hook)
6777         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6778         (nongregorian-diary-marking-hook, print-diary-entries-hook):
6779         Move here from calendar.el.
6780         (diary-file-name-prefix-function): Use 'identity.
6781         (diary-face): Make it a defcustom, and mark as obsolete.
6782         (top-level): No need to require cal-hebrew, cal-islam when compiling.
6783         (calendar-hebrew-month-name-array-leap-year)
6784         (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
6785         Define for compiler.
6786         (diary-font-lock-keywords): Use format rather than concat.
6787         Add bahai-diary-entry-symbol.
6789         * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
6790         * calendar/solar.el: Unquote lambda functions.
6792         * calendar/solar.el (calendar-location-name, calendar-latitude)
6793         (calendar-longitude, solar-setup, solar-sin-degrees)
6794         (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
6795         (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
6796         (solar-sunrise-and-sunset, solar-moment, solar-daylight)
6797         (solar-exact-local-noon, solar-julian-ut-centuries)
6798         (solar-ephemeris-time, solar-date-next-longitude)
6799         (solar-horizontal-coordinates, solar-equatorial-coordinates)
6800         (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
6801         (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
6802         (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
6803         Doc fixes.
6804         (solar-horizontal-coordinates, solar-equatorial-coordinates)
6805         (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
6806         (solar-ecliptic-coordinates): Use unless.
6807         (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
6808         Use or.
6810         * calendar/timeclock.el: Add doc-strings to all functions.
6811         (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
6812         (timeclock-entry-list-length, timeclock-entry-list-projects)
6813         (timeclock-day-list-projects, timeclock-day-list): Use dolist.
6815         * calendar/todo-mode.el: Remove un-needed eval-when-compile.
6817         * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
6818         (org-get-entries-from-diary): Require diary-lib.
6820 2008-03-08  Juanma Barranquero  <lekktu@gmail.com>
6822         * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
6823         Pacify byte-compiler.
6825 2008-03-07  Alan Mackenzie  <acm@muc.de>
6827         * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
6828         paren/bracket pairs parsed, to solve performance problem.
6830 2008-03-07  Bastien Guerry  <bzg@altern.org>
6832         * bookmark.el (bookmark-set): Don't check for
6833         `bookmark-make-name-function' since `bookmark-buffer-file-name'
6834         already takes care of this.
6835         (bookmark-buffer-name, bookmark-buffer-file-name):
6836         Remove Info-mode specific code.
6838         * info.el (bookmark-get-info-node): Define this function in
6839         info.el, not in bookmark.el.
6840         (Info-mode): Set `bookmark-make-name-function' to
6841         `Info-bookmark-make-name' locally.
6842         (Info-bookmark-make-name): New function.
6844         * bookmark.el (bookmark-make-name-function): New variable.
6846 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
6848         * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
6849         buffer-local, not `bookmark-make-cell-function' (the old name).
6851 2008-03-07  Tassilo Horn  <tassilo@member.fsf.org>
6853         * doc-view.el (doc-view-bookmark-make-record):
6854         * image-mode.el (image-bookmark-make-record):
6855         * info.el (Info-bookmark-make-record): Delete obsolete second arg.
6857 2008-03-07  Jan Djärv  <jan.h.d@swipnet.se>
6859         * vc.el (vc-status-menu-map-filter): Return orig-binding if
6860         boundp 'vc-ignore-menu-filter.
6861         (vc-status-tool-bar-map): Make it defvar.
6862         (vc-status-mode): vc-status-tool-bar-map now variable.
6863         (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
6865 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
6867         Give a better name to part of the bookmark interface.
6869         This was originally a much larger change, but halfway through I
6870         updated and discovered that Stefan Monnier had done the rest.
6871         It looks like he anticipated the new name too, because he used
6872         `the-record' instead of `the-cell' for some internal variable names.
6874         * bookmark.el (bookmark-make-record-function): Was
6875         `bookmark-make-cell-function'.
6876         (bookmark-make, bookmark-send-annotation): Update for above.
6877         (bookmark-make-record-for-text-file):
6878         Was `bookmark-make-cell-for-text-file'.  Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
6880         * info.el: Adjust accordingly.
6881         (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
6883         * image-mode.el: Adjust accordingly.
6884         (image-bookmark-make-record): Was `image-bookmark-make-cell'.
6886         * doc-view.el: Adjust accordingly.
6887         (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
6889 2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6891         * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
6892         Move initialization into declaration.
6893         (bookmark-get-info-node, bookmark-set-info-node): Remove.
6894         (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
6895         (bookmark-info-current-node): Remove.
6896         (bookmark-jump-noselect): Rename from bookmark-jump-internal.
6897         Add relocation fallback.  Set bookmark-current-bookmark.
6898         (bookmark-default-handler): Rename from bookmark-jump-noselect.
6899         Remove relocation fallback.  Don't set bookmark-current-bookmark.
6900         (bookmark-set): Let it be used even if there's no buffer-file-name
6901         as long as there is a bookmark-make-cell-function.
6902         * info.el (Info-bookmark-jump): Remove relocation fallback.
6903         Don't set bookmark-current-bookmark.
6905 2008-03-07  Glenn Morris  <rgm@gnu.org>
6907         * calendar/appt.el (appt-issue-message)
6908         (appt-message-warning-time, appt-audible, appt-visible)
6909         (appt-msg-window, appt-display-mode-line, appt-display-duration)
6910         (appt-display-diary): Remove autoload cookies.
6912         * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
6913         Remove leading `*' from defcustom doc-strings.
6915         * calendar/cal-dst.el (calendar-dst): New custom group.
6916         (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
6917         (calendar-time-zone, calendar-daylight-time-offset)
6918         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
6919         (calendar-daylight-savings-starts-time)
6920         (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
6921         (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
6922         Move to start.
6924         * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
6926         * calendar/calendar.el (calendar-version): Use emacs-version and
6927         make it obsolete.  Move to end.
6928         (calendar-offset, view-diary-entries-initially)
6929         (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
6930         (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
6931         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
6932         (all-bahai-calendar-holidays, calendar-load-hook)
6933         (initial-calendar-window-hook, today-visible-calendar-hook)
6934         (today-invisible-calendar-hook, calendar-move-hook)
6935         (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
6936         (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
6937         (diary-include-string, sexp-diary-entry-symbol)
6938         (abbreviated-calendar-year, american-date-diary-pattern)
6939         (european-date-diary-pattern, european-calendar-display-form)
6940         (american-calendar-display-form, print-diary-entries-hook)
6941         (list-diary-entries-hook, diary-hook, diary-display-hook)
6942         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
6943         (nongregorian-diary-marking-hook, diary-list-include-blanks)
6944         (holidays-in-diary-buffer, general-holidays, oriental-holidays)
6945         (local-holidays, other-holidays, hebrew-holidays-1)
6946         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6947         (hebrew-holidays, christian-holidays, islamic-holidays)
6948         (bahai-holidays, solar-holidays, calendar-setup)
6949         (calendar-week-start-day): Remove autoload cookies.
6950         (diary-glob-file-regexp-prefix): Doc fix.
6951         (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
6952         (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
6953         (calendar-week-start-day, calendar-debug-sexp): Move to start.
6955         * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
6956         (calendar-time-display-form, calendar-latitude)
6957         (calendar-longitude, solar-equinoxes-solstices): Remove autoload
6958         cookies.
6959         (calendar-latitude, calendar-longitude): Move functions after
6960         variables.
6961         (diary-sabbath-candles-minutes): Move to start.
6962         (solar-setup): Use or rather than if.
6963         (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
6964         Remove condition-case.
6965         (solar-atn2): Use zerop.
6966         (solar-equinoxes-solstices): Doc fix.
6968         * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
6969         (sc-mode-map-prefix): Doc fix.  Make it a defcustom.
6971         * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
6972         (calendar-longitude, calendar-latitude, calendar-location-name):
6973         Declare for compiler.
6975 2008-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6977         * arc-mode.el (archive-ar-file-header-re): New const.
6978         (archive-ar-summarize, archive-ar-extract): New funs.
6979         (archive-find-type): Recognize ar archives.
6981         * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
6982         New functions.
6984         * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
6986 2008-03-06  Lennart Borgman  <lennart.borgman@gmail.com>
6988         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
6989         Replace :enable (mark-active) with :enable mark-active.
6991 2008-03-06  Juanma Barranquero  <lekktu@gmail.com>
6993         * vms-patch.el (make-legal-file-name): New obsolete alias.
6994         (make-valid-file-name): Rename from `make-legal-file-name'.
6995         (make-auto-save-file-name): Use it.
6997         * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
6998         (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
6999         (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
7001         * textmodes/org.el (org-export-html-style): Doc fix.
7002         (org-get-legal-level): New obsolete alias.
7003         (org-get-valid-level): Rename from `org-get-legal-level'.
7004         (org-promote, org-demote, org-archive-subtree)
7005         (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
7007 2008-03-06  Jan Djärv  <jan.h.d@swipnet.se>
7009         * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
7011         * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
7012         (vc-status-toggle-mark): New functions.
7013         (vc-status-mode): Set tool bar map.
7015 2008-03-05  Chong Yidong  <cyd@stupidchicken.com>
7017         * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
7018         Reported by Drew Adams <drew.adams@oracle.com>.
7020 2008-03-05  Kenichi Handa  <handa@ni.aist.go.jp>
7022         * subr.el (read-quoted-char): Resolve modifers of the character
7023         event.
7025         * comint.el (comint-exec-1): Don't change the coding-system for
7026         decoding to dos-like EOL.
7027         (comint-carriage-motion): Fully rewrite.
7029 2008-03-05  Juanma Barranquero  <lekktu@gmail.com>
7031         * epg.el (epg-context-include-certs): Reflow docstring.
7032         (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
7033         (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
7034         (epg-context-set-signers, epg-context-set-sig-notations)
7035         (epg-make-import-status, epg-make-import-result)
7036         (epg-start-delete-keys): Fix typos in docstrings.
7037         (epg-start-sign-keys, epg-sign-keys):
7038         Fix typos in obsolescence declarations.
7040         * iswitchb.el: Don't check for `cadr' and `last'.
7041         (iswitchb-define-mode-map, iswitchb-default-keybindings):
7042         Add obsolescence declaration and remove redundant info from docstring.
7043         (iswitchb-set-common-completion, iswitchb-set-matches)
7044         (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
7045         (recentf-list, most-len, most-is-exact):
7046         Don't wrap defvars within `eval-when-compile'.
7048 2008-03-05  Glenn Morris  <rgm@gnu.org>
7050         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7051         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
7052         * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
7053         * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
7054         ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
7056         * ediff-hook.el (ediff-window-setup-function): Don't autoload
7057         declaration for compiler.
7058         (ediff-xemacs-init-menus): Use when rather than if.
7060         * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
7061         if+and to just and.
7062         (ediff-read-event, ediff-overlayp, ediff-make-overlay)
7063         (ediff-delete-overlay): Move the XEmacs test inside the definition.
7065         * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
7067         * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
7068         test inside XEmacs test.
7069         (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
7070         since it was doing nothing on Emacs.
7071         (ediff-make-bullet-proof-overlay): Use when rather than if.
7073         * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
7074         (ediff-setup-control-frame): Remove
7075         ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
7076         a (featurep 'xemacs) test.
7078 2008-03-05  Jay Belanger  <jay.p.belanger@gmail.com>
7080         * calc/calc-ext.el (calc-extended-command-history): New variable.
7081         (calc-exectute-extended-command): Use `calc-extended-command-history'.
7083 2008-03-05  Dan Nicolaescu  <dann@ics.uci.edu>
7085         * bindings.el (mode-line-remote): Add mouse-face.  Improve tooltip.
7086         (standard-mode-line-position): Add mouse-face.
7088         * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
7089         * progmodes/grep.el (grep-mode-map): Add :help.
7091         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
7092         initialize in one step.  Add :help.  Use :enable to activate menu
7093         items.  Show the key binding for edebug-defun.
7094         (lisp-interaction-mode-map): Add a menu.
7096         * term.el (term-mode-map): Define and initialize in one step.
7098         * ediff-init.el (ediff-color-display-p): Simplify.
7099         (Xor): Remove unused function.
7100         (ediff-with-syntax-table): Simplify for Emacs.
7102         * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
7103         menu-bar being loaded, it always is.
7105 2008-03-05  Glenn Morris  <rgm@gnu.org>
7107         * textmodes/tex-mode.el (tex-mode): Suppress warning about
7108         multiple definitions when compiling.
7110 2008-03-04  Alan Mackenzie  <acm@muc.de>
7112         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
7114         * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
7115         doc-string, "c-old-LEN" -> "c-old-END".
7117 2008-03-04  Jason Rumney  <jasonr@gnu.org>
7119         * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
7120         namespaces.
7122 2008-03-04  Glenn Morris  <rgm@gnu.org>
7124         * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
7126         * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
7127         than mapcar.
7129 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7131         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7132         (byte-compile-nilconstp): Can't use recursion in a defsubst.
7134         * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
7135         so that M-q can fill comments.
7136         (tex-executable-exists-p, tex-compile): Extend with special syntax for
7137         commands implemented in elisp.
7138         (tex-compile-commands): Add an entry to use doc-view for pdf files.
7139         (tex-format-cmd): New function.
7140         (tex-compile): Use it to let the user specify default arguments.
7141         (tex-cmd-bibtex-args): New var.
7142         (tex-cmd-doc-view): New function.
7144 2008-03-03  Juanma Barranquero  <lekktu@gmail.com>
7146         * faces.el (face-spec-set): Fix typos in docstring.
7148 2008-03-03  Dan Nicolaescu  <dann@ics.uci.edu>
7150         * bindings.el (mode-line-column-line-number-mode-map): New variable.
7151         (standard-mode-line-position): Use it to add a menu for toggling
7152         column number and line number display.
7154 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7156         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
7157         Remove optimization that was working around the form-code-walker bug.
7159         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7160         Walk into the body of lambdas after byte-compile-unfold-lambda.
7162 2008-03-03  Glenn Morris  <rgm@gnu.org>
7164         * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
7165         value, if set, over frame value.
7167         * simple.el (transient-mark-mode): Don't turn on by default.
7169         * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
7170         accidentally removed by the 2007-12-05 merge from Gnus.
7172 2008-03-02  Dan Nicolaescu  <dann@ics.uci.edu>
7174         * progmodes/compile.el (compilation-menu-map): Add menu entries
7175         for useful options.
7177 2008-03-01  Dan Nicolaescu  <dann@ics.uci.edu>
7178             Glenn Morris  <rgm@gnu.org>
7180         * emacs-lisp/bytecomp.el (byte-recompile-directory)
7181         (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
7182         Give a `bytecomp-' prefix to local variables with common names.
7184 2008-03-01  Glenn Morris  <rgm@gnu.org>
7186         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
7187         code commented out 2007-11-10.
7189         * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
7191         * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
7192         Delete macro.
7193         * emulation/viper-cmd.el, emulation/viper-ex.el:
7194         * emulation/viper-init.el, emulation/viper-keym.el:
7195         * emulation/viper-mous.el, emulation/viper-util.el:
7196         * emulation/viper.el:
7197         Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
7198         featurep test.
7200         Replace obselete frame-local variables with frame-parameters.
7201         * emulation/viper-init.el (viper-replace-overlay-cursor-color)
7202         (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
7203         (viper-vi-state-cursor-color): Only call make-variable-frame-local
7204         on XEmacs.
7205         * emulation/viper-util.el (viper-frame-value): New macro.
7206         * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
7207         (viper-R-state-post-command-sentinel)
7208         (viper-replace-state-post-command-sentinel)
7209         (viper-change-state-to-insert, viper-change-state-to-emacs):
7210         * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
7211         (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
7212         (viper-get-saved-cursor-color-in-insert-mode)
7213         (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
7214         Use viper-frame-value for viper-replace-overlay-cursor-color,
7215         viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
7216         viper-vi-state-cursor-color values.
7218         * emulation/viper-cmd.el (zmacs-region-stays):
7219         * emulation/viper-util.el (zmacs-region-stays): No need to define
7220         for compiler.
7222         * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
7223         mapcar on Emacs.
7225         * emulation/viper-mous.el (viper-counting-clicks-p): Only define
7226         on XEmacs.
7228         * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
7229         rather than if.
7231 2008-03-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7233         * whitespace.el: New version 9.3.  As the glyph code generation was
7234         fixed, it is possible now to use character code above ?\x1FFFF in the
7235         display table.  Fix `whitespace-indentation-regexp' to not include an
7236         extra ending character.  Reported by Michael Welsh Duggan
7237         <mwd@cert.org>.  Added hook actions when buffer is written or killed as
7238         the original whitespace package had.  Suggested by Eric Cooper
7239         <ecc@cmu.edu>.  Doc fix.
7240         (whitespace-action): New option.
7241         (whitespace-display-mappings): Changed default newline visualization to
7242         display downwards arrow, as the glyph code generation was fixed.
7243         (whitespace-unload-function): Assure that all local whitespace mode is
7244         turned off.
7245         (whitespace-global-modes): Fix type customization.
7246         (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
7247         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
7248         (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
7249         Fix code.
7250         (whitespace-buffer): Command removed.
7251         (whitespace-trailing-regexp, whitespace-mark-x)
7252         (whitespace-display-window, whitespace-action-when-on)
7253         (whitespace-add-local-hook, whitespace-remove-local-hook)
7254         (whitespace-write-file-hook, whitespace-kill-buffer-hook)
7255         (whitespace-action): New funs.
7256         (whitespace-report-list, whitespace-report-text)
7257         (whitespace-report-buffer-name): New consts.
7258         (whitespace-report, whitespace-report-region): New commands.
7260 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7262         * disp-table.el (make-glyph-code): Don't test the result of
7263         `face-id', which already signals an error for invalid faces.
7264         (glyph-face): Simplify.
7266         * desktop.el (desktop-read): Set `desktop-dirname' to nil before
7267         running `desktop-not-loaded-hook' to allow modifying it.
7268         Don't show warning message if `desktop-dirname' was modified.
7270 2008-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7272         * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
7273         we still expect more lines.
7275         * textmodes/fill.el (fill-comment-paragraph): Don't try to do
7276         comment-paragraph filling if the commark doesn't match
7277         comment-start-skip.
7279 2008-03-01  Daiki Ueno  <ueno@unixuser.org>
7281         * international/utf-7.el (utf-7-encode): Never skip the trailing - for
7282         the `imap' variant.
7284 2008-03-01  Jason Rumney  <jasonr@gnu.org>
7286         * files.el (make-auto-save-file-name): Encode more characters in
7287         non-file buffer names.  Use url-encoding.
7289 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7291         * net/net-utils.el (ftp-program): Fix typo in docstring.
7292         (ifconfig-program-options, netstat-program-options)
7293         (arp-program-options, route-program-options, nslookup-program-options)
7294         (ftp-program-options, smbclient-program-options)
7295         (dns-lookup-program-options, arp, route): Doc fixes.
7297         * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
7298         (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
7299         (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
7300         Fix typos in docstrings.
7301         (gdb-pending-triggers): Reflow docstring.
7302         (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
7304 2008-03-01  Alan Mackenzie  <acm@muc.de>
7306         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
7307         typing "#" at EOB.
7309 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
7311         * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
7313 2008-02-29  Kim F. Storm  <storm@cua.dk>
7315         * emulation/cua-base.el (cua-remap-control-v)
7316         (cua-remap-control-z): New defcustoms.
7317         (cua-mode): Add them to set-after property.
7318         (cua--init-keymaps): Use them.
7319         Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
7321         * help.el (view-emacs-todo): Rename from view-todo.
7322         (describe-gnu-project): Rename from describe-project.  Users changed.
7323         (view-help-file): New helper function.
7324         (describe-distribution, describe-copying, describe-gnu-project)
7325         (view-todo, view-order-manuals, view-emacs-problems): Use it.
7326         (view-emacs-debugging, view-external-packages): New commands.
7327         (help-map): Move describe-distribution to C-h C-o (ordering).
7328         Move view-emacs-problems to C-h C-p (problems).
7329         Bind view-emacs-debugging to C-h C-d (debugging).
7330         Bind view-external-packages to C-h C-e (extras).
7331         (help-for-help-internal): Cleanup and align descriptions.
7332         Remove command names to reduce clutter.
7334 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7336         * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
7337         and quieter face (not a warning).
7339 2008-02-29  Dan Nicolaescu  <dann@ics.uci.edu>
7341         * vc.el (vc-status-crt-marked): New variable.
7342         (vc-status-mode): Make it local.
7343         (vc-status-refresh): Use it to save the marked files.
7344         (vc-update-vc-status-buffer): Use it to restore the marked files.
7346         * vc-svn.el (vc-svn-after-dir-status):
7347         * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
7349 2008-02-29  Glenn Morris  <rgm@gnu.org>
7351         * allout.el (allout-topic-encryption-bullet)
7352         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
7353         (allout-encrypt-unencrypted-on-saves): Change defcustom :version
7354         from 22.0 to 22.1.
7356         * net/imap.el (imap-ping-server):
7357         * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
7358         Change defcustom :version from 23.0 to 23.1.
7360 2008-02-29  Juanma Barranquero  <lekktu@gmail.com>
7362         * desktop.el (desktop-save): Save the buffer name if the
7363         uniquified base name is empty.
7365 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
7367         * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
7368         correctly when user has "set print address off".
7370 2008-02-28  Juanma Barranquero  <lekktu@gmail.com>
7372         * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
7373         version number of the next major Emacs release, not 23.0.
7375         * longlines.el (longlines-unload-function): New function.
7377 2008-02-28  Juri Linkov  <juri@jurta.org>
7379         * startup.el (normal-splash-screen): Add argument `concise'.
7380         Remove unused binding `prev-buffer'.  Let-bind `splash-buffer'
7381         to the created buffer.  If `concise' is non-nil, call
7382         `display-buffer', otherwise `switch-to-buffer'.  Doc fix.
7383         (display-startup-screen): Add argument `concise' to the call to
7384         `normal-splash-screen'.
7386 2008-02-28  Kim F. Storm  <storm@cua.dk>
7388         * startup.el (startup-echo-area-message): Check for about-emacs.
7390 2008-02-28  Juri Linkov  <juri@jurta.org>
7392         * startup.el: Always add initial message to *scratch* buffer if
7393         `initial-scratch-message' is non-nil regardless of the value of
7394         `inhibit-startup-screen'.
7395         (inhibit-startup-screen, initial-scratch-message): Doc fix.
7396         (command-line-1): Move code that inserts `initial-scratch-message'
7397         up before the if-form that checks for `inhibit-startup-screen'.
7398         Suggested by Jonathan Rockway <jon@jrock.us>.
7400 2008-02-28  Juri Linkov  <juri@jurta.org>
7402         * cus-edit.el (custom-mode-map, custom-mode-link-map):
7403         Rename `custom-mode' to `Custom-mode' in docstrings.
7404         (custom-buffer-create-internal, customize-browse):
7405         Rename `custom-mode' to `Custom-mode'.
7406         (custom-mode-hook): Rename to `Custom-mode-hook'.
7407         (Custom-mode-hook): Renamed from `custom-mode-hook'.
7408         (custom-mode): Rename to `Custom-mode'.
7409         (Custom-mode): Renamed from `custom-mode'.  Doc fix.
7410         (custom-mode): Add backward-compatible non-interactive variant of
7411         `Custom-mode' that simply calls `Custom-mode'.  Mark it obsoleted.
7412         (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
7414         * info-look.el: Rename `custom-mode' to `Custom-mode'.
7416         * emulation/viper.el (viper-emacs-state-mode-list):
7417         Rename `custom-mode' to `Custom-mode'.
7419         * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
7420         Capitalize "Tagged Files".
7421         (minibuffer-local-map): Add menu items for next/previous
7422         history elements and isearch history forward/backward.
7424         * progmodes/hideshow.el (hs-minor-mode-menu): Compare
7425         `hs-isearch-open' with t instead of `comment' in :selected
7426         for "Code and Comment blocks" menu item.
7428 2008-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7430         * uniquify.el (uniquify-buffer-base-name): Undo last change.
7431         Should be done in desktop.el instead.
7433 2008-02-28  Glenn Morris  <rgm@gnu.org>
7435         * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
7437         * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
7439         * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
7440         (Info-menu, Info-goto-node): Remove declarations.
7441         (report-emacs-bug-info): Use info rather than Info-goto-node.
7443         * progmodes/idlwave.el (Info-goto-node): Remove declaration.
7444         (idlwave-convert-xml-system-routine-info): Don't require xml.
7445         (idlwave-show-commentary, idlwave-shell-show-commentary):
7446         Don't require finder.
7447         (idlwave-info): Don't require info.  Use info rather than
7448         Info-goto-node.
7450         * textmodes/org.el (Info-goto-node): Remove declaration.
7451         (org-info): Use info rather than Info-goto-node.
7453         * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
7454         (reftex-info): Don't require info.  Use info rather than Info-goto-node.
7456 2008-02-28  Dan Nicolaescu  <dann@ics.uci.edu>
7458         * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
7459         the menu.
7461         * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
7462         (vc-finish-logentry): Check for vc-status-mode, not only for
7463         vc-dired-mode.
7465 2008-02-28  Kenichi Handa  <handa@ni.aist.go.jp>
7467         * isearch.el (isearch-printing-char): Don't check
7468         keyboard-coding-system.
7469         Call isearch-process-search-multibyte-characters only when
7470         current-input-method is non-nil.
7472 2008-02-27  Kim F. Storm  <storm@cua.dk>
7474         * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
7475         (glyph-char, glyph-face): Handle cons encoding.
7477 2008-02-27  Juanma Barranquero  <lekktu@gmail.com>
7479         * uniquify.el (uniquify-buffer-base-name): If the base name is an
7480         empty string, return nil to allow the caller to default to the
7481         buffer name.  Reported by Martin Fischer <parozusa@web.de>.
7483         * tool-bar.el (tool-bar-setup): Doc fix.
7485         * mail/supercite.el (sc-describe):
7486         Fix typos in obsolescence declaration.
7488 2008-02-27  Glenn Morris  <rgm@gnu.org>
7490         * autoinsert.el (auto-insert-alist): Change permission text to
7491         match FSF's GPLv3 form.
7493         * mail/supercite.el (sc-cite-original): Doc fix.
7494         (sc-version): Make obsolete.
7495         (sc-describe): Show the SC info page.  Make obsolete.
7497 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7499         * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
7500         when using transient-mark-mode.
7501         (default-indicate-unused-lines): Remove unused var.
7503 2008-02-26  Jan Djärv  <jan.h.d@swipnet.se>
7505         * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
7506         and previous.
7508         * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
7510 2008-02-26  Glenn Morris  <rgm@gnu.org>
7512         * net/net-utils.el (top-level): Don't require comint when compiling.
7513         (nslookup-font-lock-keywords): Don't require font-lock.
7514         Use font-lock faces rather than variables.
7515         (nslookup, ftp, smbclient, network-service-connection):
7516         Don't require comint.
7517         (comint-prompt-regexp, comint-input-autoexpand)
7518         (comint-input-ring): Declare for compiler.
7519         (comint-mode, ffap-string-at-point, comint-exec): Autoload.
7520         (dns-lookup-host): Don't require ffap.  Remove `with-no-warnings'.
7522         * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
7523         doc-string.
7525 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7527         * doc-view.el (doc-view-current-page): Add a `win' argument.
7529 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7531         * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
7532         Demote it to plain defvar.
7533         (doc-view-conversion-refresh-interval): Reduce interval.
7534         (doc-view-goto-page): Allow moving to pages not yet rendered.
7535         (doc-view-goto-page): Construct a file name rather than extracting it
7536         from doc-view-current-files.
7537         (doc-view-kill-proc): Ignore errors from kill-process.
7538         (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
7539         (doc-view-insert-image): Use appropriate text if the page hasn't been
7540         rendered yet.  Adjust scrolling so the text is displayed.
7541         (doc-view-display): Detect not just that a page is available, but also
7542         that it wasn't available before, so as to avoid refreshing all pages
7543         repeatedly.
7544         (doc-view-mode): Make doc-view-cache-directory if needed.
7546 2008-02-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
7548         * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
7549         toggle-read-only.
7551         * textmodes/bibtex.el (bibtex-format-entry): Handle error message
7552         refering to a missing required field with the OPT prefix.
7553         Make unwindform more robust.
7555         * textmodes/bibtex.el: Remove support for hideshow minor mode as
7556         it duplicates the bibtex support in progmodes/hideshow.el.
7557         * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
7558         entries that do not start at the beginning of a line.
7560 2008-02-25  Chong Yidong  <cyd@stupidchicken.com>
7562         * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
7564 2008-02-25  Robert J. Chassell  <bob@rattlesnake.com>
7566         * help-fns.el (describe-variable): Add phrases about
7567         initialization file with and without customization;
7568         use new button type help-info-variable.
7570         * help-mode.el (help-info-variable):
7571         New button able to read Info files for help-fns.el.
7573 2008-02-25  Jan Djärv  <jan.h.d@swipnet.se>
7575         * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
7576         (grep-mode): Use grep-mode-tool-bar-map.
7578         * progmodes/compile.el (tool-bar): Require tool-bar.
7579         (compilation-mode-tool-bar-map): New variable.
7580         (compilation-mode): Use compilation-mode-tool-bar-map.
7582         * term/x-win.el (x-gtk-stock-map): Add cancel.  Remove extensions.
7584 2008-02-25  Glenn Morris  <rgm@gnu.org>
7586         * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
7588 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7590         * diff-mode.el (diff-file-junk-re): New const.
7591         (diff-beginning-of-file-and-junk): Use it.
7592         (diff-file-kill): Make sure we were really inside a file diff.
7594         * diff-mode.el: Make it more robust in the presence of empty context
7595         lines in unified hunks.
7596         (diff-valid-unified-empty-line): New var.
7597         (diff-unified->context, diff-sanity-check-hunk): Obey it.
7598         (diff-end-of-hunk): Obey it.  New arg `donttrustheader'.
7599         (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
7600         (diff-hunk-header-re-unified): New const.
7601         (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
7602         (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
7603         (diff-sanity-check-hunk): Use it.
7605         * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
7606         Index: line, don't search backward for the previous one.
7608 2008-02-25  Kenichi Handa  <handa@ni.aist.go.jp>
7610         * international/fontset.el (setup-default-fontset): Add non-OTF
7611         lao font for lao script.
7613         * language/tibetan.el: Register tibetan-composition-function in
7614         composition-function-table.
7616         * language/tibet-util.el (tibetan-composition-function):
7617         Adjust for the new calling way (argument changed).  Try font-shape-text
7618         if possible.
7620         * language/lao.el: Register lao-composition-function in
7621         composition-function-table.
7623         * language/lao-util.el (lao-composition-function): Adjust for the new
7624         calling way (argument changed).  Try font-shape-text if possible.
7626 2008-02-25  Jason Rumney  <jasonr@gnu.org>
7628         * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
7630 2008-02-25  Juri Linkov  <juri@jurta.org>
7632         * isearch.el (isearch-fail): Use "RosyBrown1" for a light
7633         background, "red4" for a dark background, "red" for 16 and
7634         8 colors, "grey" for grayscale, and inverse video otherwise.
7635         Add :version tag.
7636         (isearch-message): Keep the original isearch-message intact, and
7637         add text properties to it where necessary.  Add `isearch-error' to
7638         the condition that checks if isearch is unsuccessful.
7640 2008-02-24  Juri Linkov  <juri@jurta.org>
7642         * progmodes/compile.el (compilation-handle-exit):
7643         Use compilation-error face instead of font-lock-warning-face.
7644         Display the same message in the minibuffer as is inserted
7645         at the end of the compilation buffer.
7647 2008-02-24  Glenn Morris  <rgm@gnu.org>
7649         * vc-cvs.el (vc-cvs-register): Fix registering of directories in
7650         multiple file case.
7652         * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
7654         * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
7655         multiple file case.  Use a single `let' rather than two.
7657 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7659         * progmodes/compile.el (compilation-start): Specify a face for
7660         mode-line-process.
7661         (compilation-handle-exit): Specify a face and a tooltip for
7662         mode-line-process.
7664 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7666         * hilit-chg.el: Remove spurious * in defcustom docstrings.
7667         (hilit-chg-make-ov): Simplify.
7668         (hilit-chg-fixup): Use remove-overlays.
7669         (hilit-chg-set-face-on-change): Remove redundant call to
7670         `remove-text-properties'.
7672         * dired.el (dired-mark-prompt): Don't count/display the t element.
7673         Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
7675 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
7677         * progmodes/verilog-mode.el (eval-when-compile): Don't define
7678         add-submenu.
7679         (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
7680         Remove.  Move contents to the only use ...
7681         (verilog-menu): ... here.
7682         (verilog-statement-menu): Remove.  Move contents to the only use ...
7683         (verilog-stmt-menu): ... here.
7684         (verilog-mark-defun): Simply call mark-defun for emacs.
7685         (occur-pos-list): Declare for byte compiler.
7686         (mode-popup-menu): Don't defvar.
7687         (verilog-add-statement-menu): Remove.
7688         (verilog-mode-hook): Don't add verilog-add-statement-menu.
7689         (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
7691 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
7693         * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
7694         conditional.
7695         (verilog-font-grouping-keywords-face): Make the begin..end
7696         keywords standout more than other verilog keywords.
7697         (verilog-type-font-keywords): Move the begin..end out of this list
7698         to facilitate making them to (potentially) stand out more.
7699         (verilog-backward-token): Fix indent of bare always{_*}?, initial,
7700         function & task blocks.
7701         (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
7702         initial, function & task blocks.
7703         (verilog-forward-sexp): Handle the new "disable fork" statement of
7704         IEEE-1800 Verilog.
7705         (verilog-beg-block-re-ordered): Handle the new "disable fork"
7706         statement of IEEE-1800 Verilog.
7707         (verilog-calc-1): Handle the new "disable fork" statement of
7708         IEEE-1800 Verilog.
7709         (verilog-disable-fork-re): Add const to help handle the new
7710         "disable fork" statement of IEEE-1800 Verilog.
7711         (verilog-declaration-core-re): Add port directions by themselves,
7712         with no qualification, as base item of a declaration.
7713         (verilog-pretty-declarations): Add new flag to ask it to refrain
7714         from printing to the message buffer.
7715         (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
7716         printing to the message buffer.  Improve handling of the many
7717         types of expression line up.
7718         (verilog-just-one-space): Remove printing of an empty message.
7719         (verilog-get-lineup-indent): Rework to support the better handling
7720         of expression lineup for verilog-pretty-expr.
7721         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7723 2008-02-24  Alan Mackenzie  <acm@muc.de>
7725         * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
7726         yesterday's commit.
7728 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
7730         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
7731         to mouse-set-point in buffers that aren't associated with files.
7733         * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
7735 2008-02-24  Alan Mackenzie  <acm@muc.de>
7737         Set of changes so that "obtrusive" syntactic elements in a
7738         C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
7739         unmatched paren) don't interact syntactically with stuff outside
7740         the CPP line.
7742         * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
7743         Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
7744         off-by-one bug.
7745         (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
7746         a bit of refactoring.
7747         (c-awk-extend-and-syntax-tablify-region): Takes some of the
7748         functionality of c-awk-advise-fl-for-awk-region, which has been
7749         refactored away.
7751         * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
7752         (c-clear-char-property-with-value): New function and macro which
7753         remove text-properties `equal' to a supplied value.
7755         * progmodes/cc-engine.el: Comment about text properties amended.
7757         * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
7758         parens around "error\\|warning".
7760         * progmodes/cc-langs.el (c-get-state-before-change-function)
7761         (c-before-font-lock-function, c-anchored-cpp-prefix):
7762         New language variables.
7763         (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
7765         * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
7766         syntax-table text properties.
7767         (c-common-init): Call language specific before/after-change
7768         functions at mode initialisation.
7769         (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
7770         (c-extend-region-for-CPP, c-neutralize-CPP-line)
7771         (c-neutralize-syntax-in-CPP): New functions.
7772         (c-before-change, c-after-change): Call the new language specific
7773         change functions defined in cc-langs.el.
7774         (c-advise-fl-for-region): New macro.
7775         (awk-mode): Remove AWK specific stuff which has been refactored
7776         into language independent stuff.
7778 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
7780         * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
7781         (gdb): (Re)set gdb-flush-pending-output to nil here...
7782         (gdb-init-1): ...instead of here (before gdb-prompt).
7784 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7786         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
7787         Recognize ''' just like any other char-constant.
7789 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7791         * vc-hooks.el (vc-find-root): Remove initial loop because it's not
7792         careful enough.  Detect the uid-change all within the main loop.
7794 2008-02-24  Stefan Monnier  <monnier@pastel.home>
7796         * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
7798 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7800         * hilit-chg.el (highlight-save-buffer-state): New macro.
7801         (highlight-save-buffer-state, hilit-chg-set-face-on-change)
7802         (hilit-chg-clear): Use it to preserve the modified-p flag.
7803         (highlight-changes-rotate-faces): Don't mess with the undo-list.
7805 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7807         * font-lock.el (font-lock-set-defaults): Unset previously set variables
7808         when needed.
7810 2008-02-24  Ã†var Arnfjörð Bjarmason  <avar@cpan.org>  (tiny change)
7812         * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
7813         from gnus-button-url-regexp.
7815 2008-02-24  Eli Zaretskii  <eliz@gnu.org>
7817         * progmodes/compile.el (compilation-next-error): Doc fix.
7818         (compilation-find-file): Doc fix.
7820 2008-02-24  Glenn Morris  <rgm@gnu.org>
7822         * net/net-utils.el (ipconfig-program, ipconfig-program-options):
7823         Add obsolete aliases to the old names.
7825 2008-02-24  Richard Stallman  <rms@gnu.org>
7827         * net/net-utils.el (ifconfig): Rename from ipconfig.
7828         (ipconfig): Alias to ifconfig.
7829         (ifconfig-program): Rename from ipconfig-program.
7830         (ifconfig-program-options): Rename from ipconfig-program-options.
7832 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
7834         * progmodes/verilog-mode.el (verilog-declaration-core-re):
7835         Add port directions by themselves, with no qualification, as base
7836         item of a declaration.
7837         (verilog-pretty-declarations): Add new flag that inhibits printing
7838         to the message buffer.
7839         (verilog-pretty-expr): Add new flag that inhibits printing to the
7840         message buffer.  Improve handling of the many types of expression
7841         line up.
7842         (verilog-just-one-space): Don't print an empty message.
7843         (verilog-get-lineup-indent): Rework to support the better handling
7844         of expression lineup for verilog-pretty-expr.
7845         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
7846         (verilog-mode-version, verilog-mode-release-date): Update.
7848 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7850         * subr.el (cancel-change-group): Don't move point.
7852 2008-02-23  Markus Triska  <markus.triska@gmx.at>
7854         * linum.el (linum-after-config): Update all visible windows.
7856 2008-02-23  Glenn Morris  <rgm@gnu.org>
7858         * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
7859         Add :help for Solitaire and Tetris.
7861         * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
7863         * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
7864         (smtpmail-code-conv-from): Doc fix.  Fix custom type.
7865         (smtpmail-queue-index-file): Make it a defcustom.
7866         (smtpmail-queue-index): Delete.
7867         (smtpmail-send-it, smtpmail-send-queued-mail):
7868         Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
7869         smtpmail-queue-index.
7871         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7872         Add :version.
7874 2008-02-23  Yoni Rabkin  <yoni@rabkins.net>  (tiny change)
7876         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
7877         New variables.
7878         (iwconfig): New function.
7880 2008-02-23  Dan Nicolaescu  <dann@ics.uci.edu>
7882         * vc.el (vc-find-revision): Make vc-parent-buffer local before
7883         setting it.
7884         (vc-status-menu-map): Do not define using easy-menu.
7885         (vc-status-menu-map): New defalias.
7886         (vc-status-mode-map): Hook up the menu.
7887         (top-level): Update TODO.
7889         * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
7891         * vc-bzr.el (vc-bzr-init-version): Rename to ...
7892         (vc-bzr-init-revision): ... this.
7894 2008-02-23  Jason Rumney  <jasonr@gnu.org>
7896         * makefile.w32-in (WINS_ALMOST): Remove term.
7897         (WINS): Add term here.
7898         (custom-deps, finder-data): Use WINS_ALMOST.
7900 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
7902         * faces.el (font-weight-table): Fix value of `semi-light'.
7904 2008-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7906         * faces.el (font-weight-table, font-slant-table, font-swidth-table):
7907         Make those tables bijective.
7909 2008-02-22  Ken Manheimer  <ken.manheimer@gmail.com>
7911         Finish pdbtrack integration cleanup, settling missing-functions
7912         byte compiler warnings appropriately.
7914         * progmodes/python.el (python-point): Remove this - beginning-of-line
7915         was all that was necessary for `python-pdbtrack-overlay-arrow'.
7916         (python-end-of-def-or-class, python-beginning-of-def-or-class)
7917         (python-goto-initial-line): Drop these - they were only needed for
7918         python-point.
7919         (python-comint-output-filter-function): Use condition-case and
7920         beginning-of-line directly, instead of python-mode.el functions
7921         which require all sorts of baggage.
7922         (point-safe): Unnecessary - we're using condition-case directly,
7923         instead.
7924         (python-execute-file): Include for python-shell, which I'm leaving
7925         in keeping despite it being unnecessary for pdb tracking.
7927 2008-02-22  Peter Danenberg  <pcd@wikitex.org>  (tiny change)
7929         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7930         Add SRFI 11 support.
7931         (let-values, let*-values): Specify scheme-indent-function.
7933 2008-02-22  Dan Nicolaescu  <dann@ics.uci.edu>
7935         * vc.el (vc-exec-after): Move setting mode-line-process in the
7936         busy case ...
7937         (vc-set-mode-line-busy-indicator): ... in this new function.
7938         (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
7939         (vc-update-vc-status-buffer): Reset mode-line-process.
7940         (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
7941         mark/unmark all the files with the same state as the current one.
7942         With a prefix argument mark/unmark all files.
7943         (vc-status-mode-menu): Adjust strings.
7944         (vc-update-vc-status-buffer): Only do something when the argument
7945         is not nil.
7946         (vc-status-kill-dir-status-process): New function.
7947         (vc-status-mode-map): Bind it.
7948         (vc-status-process-buffer): New variable.
7949         (vc-status-mode): Make it local.
7950         (vc-status-refresh): Set it.
7952         * vc-hg.el (vc-hg-dir-status):
7953         * vc-git.el (vc-git-dir-status):
7954         * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
7955         command is run.
7957 2008-02-22  Glenn Morris  <rgm@gnu.org>
7959         * json.el (top-level): No need to require thingatpt.
7960         (json-read-keyword): Use thing-at-point rather than word-at-point.
7962         * time.el (top-level): No need to require time-date when compiling.
7964         * emacs-lisp/copyright.el (copyright-update-year):
7965         Fix subexpression numbering for the case when years are split over
7966         lines, and for the replace case.
7968         * emulation/tpu-edt.el (tpu-have-ispell): Doc fix.  Make obsolete.
7969         (tpu-caar, tpu-cadr): Delete functions.
7970         (zmacs-regions): No need to declare for compiler.
7971         (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
7972         (tpu-spell-check): Rewrite, and handle mark after point.
7973         (tpu-special-insert): Use or rather than if.
7975         * emulation/vip.el (vip-special-prefix-com): Use ispell-region
7976         rather than spell-region.
7978         * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
7979         warnings about spell-region.
7981 2008-02-22  Kenichi Handa  <handa@ni.aist.go.jp>
7983         * ldefs-boot.el: Regenerated.
7985         * loadup.el: Don't load language/devanagari, language/kannanda,
7986         language/malayalam, and language/tamil.  Load language/sinhala.
7988         * language/indian.el (indian-font-foundry)
7989         (indian-script-language-alist, indian-font-char-index-table)
7990         (indian-font-char, indian-font-char-range, indian-script-table)
7991         (indian-default-script, indian-composable-pattern): Delete them.
7992         ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
7993         language environments moved to here.
7994         ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
7995         New language environments.
7997         * language/devanagari.el, language/devan-util.el,
7998         * language/kannanda.el, language/knd-util.el, language/malayalam.el,
7999         * language/mlm-util.el, language/tamil.el, language/tml-util.el:
8000         Delete them.
8002         * language/sinhala.el: New file.
8004 2008-02-21  Ken Manheimer  <ken.manheimer@gmail.com>
8006         Update Nick Robert's port of pdb tracking from python-mode.el.
8008         * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
8009         Clarify docstring.
8010         (python-pdbtrack-minor-mode-string): A sign indicating that pdb
8011         tracking is happening.
8012         (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
8013         (python-pdbtrack-input-prompt): Better recognize PDB prompts.
8014         (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
8015         Tracking is plugged in to all comint buffers once python.el is loaded.
8016         (python-pdbtrack-overlay-arrow): Toggle activation of
8017         `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
8018         (python-pdbtrack-track-stack-file): Use new
8019         `python-pdbtrack-get-source-buffer' for more flexible access to
8020         debugging source files.
8021         (python-pdbtrack-get-source-buffer): Identify debugging target buffer
8022         according to pdb stack trace, optionally using new
8023         `python-pdbtrack-grub-for-buffer' if file is not locally available.
8024         (python-pdbtrack-grub-for-buffer): Find most recent python-mode
8025         named buffer, or having function with indicated name.
8026         (python-shell): Remove comint-output-filter-functions hook
8027         addition, it's being done elsewhere.  Wrap long line.
8029 2008-02-21  Michael Olson  <mwolson@gnu.org>
8031         * json.el: Replace XEmacs compatibility code to get rid of
8032         compiler warnings.
8034         * time.el: Fix compiler warning.
8036 2008-02-21  Edward O'Connor  <ted@oconnor.cx>
8038         * json.el: New file (JavaScript Object Notation parser / generator).
8040 2008-02-21  Dave Love  <fx@gnu.org>
8042         * progmodes/sym-comp.el: New file.
8044         * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
8045         Require sym-comp.  Add Python buffer to same-window-buffer-names.
8046         Fixup whitespaces.
8047         (python-font-lock-keywords): Add highlighting for Python builtins.
8048         (python-font-lock-syntactic-keywords): Rewrite.
8049         (python-quote-syntax): Use syntax-ppss-context instead of parsing
8050         ppss directly.
8051         (python-mode-map): Add binding for python-find-function.
8052         (python-calculate-indentation): Clean up the logic.
8053         (python-beginning-of-defun): Explicitly set return value.
8054         (python-beginning-of-statement): Stop looping if we get stuck
8055         going backwards.
8056         (python-next-statement): Stop looping if we somehow end up inside
8057         a string while advancing.
8058         (python-preoutput-continuation, python-version-checked): New vars.
8059         (python-check-version): New function.
8060         (run-python): Set default command to python-command instead of
8061         python-python-command.
8062         (run-python): Use python-check-version.  Give PYTHONPATH
8063         precedence over data-directory in the process environment.
8064         Load function definitions in python process after.
8065         (python-check-comint-prompt): New function.
8066         (python-send-command, python-send-receive): Use it.
8067         (python-complete-symbol, python-try-complete): Functions deleted.
8068         Use symbol-complete instead of python-complete-symbol throughout.
8069         (python-fill-paragraph): Further refine the fenced-string regexp.
8070         (def-python-skeleton): Expand to the original abbrev instead if in
8071         a comment or string.  Tweak skeletons for `if', `while', `for',
8072         `try/except', `try/finally', `name'.
8073         (python-pea-hook, python-abbrev-pc-hook): New functions.
8074         (python-abbrev-syntax-table): New var.
8075         (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
8076         Use symbol-completion-try-complete for hippie expansion.
8077         Turn on font lock unconditionally.
8078         (python-mode-hook): Defcustom it.  No need to use make-local
8079         variable on indent-tabs-mode in "Turn off Indent Tabs mode"
8080         option, since it's buffer-local.
8082 2008-02-21  Juanma Barranquero  <lekktu@gmail.com>
8084         * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
8086 2008-02-21  Drew Adams  <drew.adams@oracle.com>
8088         * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
8089         "Turn off" and a "Help" entry when the minor mode has no menu.
8091 2008-02-21  Dan Nicolaescu  <dann@ics.uci.edu>
8093         * vc.el (vc-status-mark, vc-status-unmark): New functions.
8094         (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
8095         vc-status-mark-file and vc-status-unmark-file.
8096         (vc-status-mark-unmark): New function.
8097         (vc-status-previous-line, vc-status-next-line): No longer interactive.
8099 2008-02-21  Glenn Morris  <rgm@gnu.org>
8101         * composite.el (encode-composition-rule): Fix typo in error message.
8102         (composition-function-table, auto-composition-mode): Doc fixes.
8104         * subr.el (sit-for): Fix obsolete form for nil second argument.
8106         * textmodes/spell.el (spell-buffer, spell-word, spell-region)
8107         (spell-string): Make obsolete, in favor of ispell.
8109 2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
8111         * language/devanagari.el: Don't setup composition-function-table
8112         here.
8113         ("Devanagari"): Change charset, coding-system, coding-priority to
8114         Unicode-based ones.  Don't require the feature devan-util.
8116         * composite.el (compose-chars-after): Fix arguments for a function
8117         in composition-function-table.
8118         (auto-compose-region): Likewise.
8120         * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
8121         for Ethiopic.
8122         (ps-mule-plot-string): Ignore glyph-string based compositions.
8124 2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8126         * doc-view.el: Allow different windows to show different pages.
8127         (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
8128         (doc-view-current-image, doc-view-current-overlay): Remove variables,
8129         add them back as macros instead, using image-mode-winprops instead.
8130         Update all users of those variables.
8131         (doc-view-new-window-function): New function to create a new overlay
8132         for each new window.
8133         (doc-view-mode): Use it and image-mode-setup-winprops.
8134         (doc-view-clone-buffer-hook): Rewrite accordingly.
8136         * image-mode.el: Extend [hv]scroll support to per-window properties.
8137         (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
8138         (image-mode-winprops-alist): New var to replace them.
8139         (image-mode-new-window-functions): New hook.
8140         (image-mode-winprops, image-mode-window-get, image-mode-window-put):
8141         New funs.
8142         (image-set-window-vscroll, image-set-window-hscroll): Use them.
8143         Remove the `window' argument, update callers.
8144         (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
8145         Use the new functions.
8146         (image-mode-reapply-winprops): New fun.
8147         (image-mode): Use it.
8149 2008-02-20  Jay Belanger  <jay.p.belanger@gmail.com>
8151         * calc/calc-math.el (math-sin-raw): Add optional argument
8152         to keep track of original argument.
8153         (math-cos-raw): Use optional argument when calling math-sin-raw.
8154         (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
8155         with close to original precision.
8157 2008-02-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8159         * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
8160         args in calls of sit-for.
8162 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
8164         * vc-svn.el (vc-svn-program): Fix typo in docstring.
8165         (vc-svn-checkin): Fix typo in error message.
8167         * help-mode.el: Require easymenu when compiling.
8169 2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
8171         * help-mode.el (help-mode-menu): New menu.
8173 2008-02-20  Glenn Morris  <rgm@gnu.org>
8175         * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
8176         on Windows.
8178 2008-02-20  Kenichi Handa  <handa@ni.aist.go.jp>
8180         * ps-mule.el (ps-mule-encode-region): Return a single string.
8181         (ps-mule-plot-string): Adjust for the above change.
8182         (ps-mule-encode-header-string): Likewise.
8184         * international/latin1-disp.el (latin1-display): Don't use
8185         ucs-mule-8859-to-mule-unicode.  Fix the way of resetting
8186         standard-display-table.
8187         (latin1-display-identities): Adjust for the change of what is
8188         returned by (get-language-info charset 'charset).
8190         * international/mule-util.el (char-displayable-p): Fix for Latin-1
8191         characters and terminal case.
8193 2008-02-19  Ken Manheimer  <ken.manheimer@gmail.com>
8195         Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
8197         * progmodes/python.el: Also require comint when loading.
8198         (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
8199         Replace python-shell with run-python on menu bar.
8200         (python-shell-map): New map.
8201         (python-default-interpreter, python-python-command-args)
8202         (python-jython-command-args, python-pdbtrack-do-tracking-p):
8203         New options.
8204         (python-which-shell, python-which-args, python-which-bufname):
8205         New buffer local variables.
8206         (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
8208         * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
8209         (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
8210         New constants.
8212         Pdbtrack features:
8214         (python-point, python-end-of-def-or-class)
8215         (python-beginning-of-def-or-class, python-goto-initial-line)
8216         (python-comint-output-filter-function)
8217         (python-pdbtrack-overlay-arrow)
8218         (python-pdbtrack-track-stack-file, python-toggle-shells)
8219         (python-shell, python-pdbtrack-toggle-stack-tracking)
8220         (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
8221         New functions.
8223 2008-02-19  Katsumi Yamaoka  <yamaoka@jpl.org>
8225         * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
8226         when the argument is nil.
8228 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8230         * vc.el (dir-status): Add a brief description.
8232 2008-02-19  Thien-Thi Nguyen  <ttn@gnuvola.org>
8234         * vc-hooks.el (vc-find-root): Take optional arg INVERT.
8235         If non-nil, reverse the sense of the check.
8237         * vc-rcs.el (vc-rcs-root): New func.
8238         * vc-cvs.el (vc-cvs-root): New func.
8239         * vc-svn.el (vc-svn-root): New func.
8240         * vc-sccs.el (vc-sccs-root): New func.
8242 2008-02-18  Kenichi Handa  <handa@ni.aist.go.jp>
8244         * language/japan-util.el (setup-japanese-environment-internal):
8245         Call use-cjk-char-width-table.
8247         * language/japanese.el ("Japanese"): Set exit-function to
8248         use-default-char-width-table.
8250         * international/characters.el: Delete occurrences of non-Unicode
8251         tibetan and ethiopic characters.
8252         (cjk-char-width-table): New variable.
8253         (use-cjk-char-width-table, use-default-char-width-table):
8254         New functions.
8256 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
8258         * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
8259         (vc-status-mode-menu): Add a :filter.
8260         (vc-status-printer): Add faces.
8262         * vc-hg.el (vc-hg-extra-status-menu): New function.
8263         (vc-hg-dir-status): Clean up the buffer before using it.
8265 2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8267         * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
8268         (gdb): Initialize it here instead.
8270         * files.el (locate-dominating-file): Fix thinko in last change.
8271         Reported by Bruce Stephens <bruce.stephens@isode.com>.
8273 2008-02-18  Dan Nicolaescu  <dann@ics.uci.edu>
8275         * vc.el (vc-status-mode-menu): New menu for vc-status.
8277 2008-02-18  Juanma Barranquero  <lekktu@gmail.com>
8279         * progmodes/verilog-mode.el (customize): Fix typo in error message.
8280         (verilog-mode, verilog-mode-indent, verilog-mode-actions)
8281         (verilog-mode-auto, verilog-indent-level-module)
8282         (verilog-minimum-comment-distance, verilog-library-flags)
8283         (verilog-library-directories, verilog-library-files)
8284         (verilog-auto-reset-widths, verilog-imenu-generic-expression)
8285         (verilog-xemacs-menu, verilog-set-compile-command)
8286         (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
8287         (verilog-get-expr, verilog-strip-comments, verilog-one-line)
8288         (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
8289         (verilog-batch-inject-auto, verilog-batch-indent)
8290         (verilog-continued-line, verilog-type-keywords)
8291         (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
8292         (verilog-read-inst-pins, verilog-read-arg-pins)
8293         (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
8294         (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
8295         (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
8296         (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
8297         (verilog-sk-datadef, verilog-colorize-include-files-buffer)
8298         (verilog-mode-version, verilog-mode-release-date)
8299         (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
8300         (verilog-simulator, verilog-compiler)
8301         (verilog-auto-sense-defines-constant, verilog-company)
8302         (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
8303         Fix typos in docstrings.
8304         (verilog-set-auto-endcomments, verilog-calculate-indent)
8305         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
8306         Reflow docstrings.
8307         (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
8308         (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
8309         (electric-verilog-forward-sexp, verilog-in-case-region-p)
8310         (verilog-in-struct-region-p, verilog-in-generate-region-p)
8311         (verilog-leap-to-head, verilog-current-indent-level)
8312         (verilog-case-indent-level, verilog-cpp-keywords)
8313         (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
8314         (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
8315         (verilog-signals-not-in, verilog-symbol-detick-text)
8316         (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
8317         (verilog-forward-close-paren, verilog-backward-open-paren)
8318         (verilog-backward-open-bracket): Doc fixes.
8320         * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
8321         (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
8322         (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
8323         (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
8324         (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
8325         Fix typos in docstrings.
8327         * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
8329 2008-02-18  Bastien Guerry  <Bastien.Guerry@ens.fr>
8331         * info.el (Info-read-node-name): Removed unused `default' arg.
8333 2008-02-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
8335         * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
8337 2008-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8339         * image-mode.el (image-get-display-property): New fun.
8340         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8341         (image-mode, image-minor-mode, image-toggle-display-text)
8342         (image-toggle-display): Use it.
8344 2008-02-18  Jason Rumney  <jasonr@gnu.org>
8346         * international/mule.el (xml-find-file-coding-system): Don't warn
8347         about utf-16 with BOM.
8349         * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
8351         * international/mule.el (sgml-xml-auto-coding-function): Detect and
8352         warn if file encoding is not utf-8 and encoding not specified.
8353         (xml-find-file-coding-system): New function.
8354         * international/mule-conf.el (file-coding-system-alist): Use it.
8356 2008-02-17  Glenn Morris  <rgm@gnu.org>
8358         * international/mule-cmds.el (set-locale-environment):
8359         Pass `frame' to getenv for LC_MESSAGES.
8361 2008-02-17  Juri Linkov  <juri@jurta.org>
8363         * time.el (emacs-init-time): Use format instead of format-seconds.
8365 2008-02-17  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8367         * textmodes/bibtex.el (bibtex-search-entry): Rename from
8368         bibtex-find-entry.  Add autoload cookie.
8369         (bibtex-find-entry): Alias for bibtex-search-entry.
8370         (bibtex-search-crossref): Rename from bibtex-find-crossref.
8371         (bibtex-find-crossref): Alias for bibtex-search-crossref.
8372         (bibtex-clean-entry): atomic-change-group removed.
8373         (bibtex-format-entry): Use atomic-change-group.  Use unwind-protect
8374         to locate buffer location where error occurred.
8375         Make error messages more specific.
8376         (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
8378 2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
8380         * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
8381         top level.
8383         * simple.el (transient-mark-mode): Add an :init-value.
8385         * startup.el (command-line): Use custom-reevaluate-setting for
8386         transient-mark-mode.
8388 2008-02-17  Michaël Cadilhac  <michael@cadilhac.name>
8390         * wdired.el (wdired-allow-to-change-permissions): Fix typo.
8392 2008-02-16  Juri Linkov  <juri@jurta.org>
8394         * startup.el (after-init-time): New variable.
8395         (command-line): Set `after-init-time' to the current time.
8397         * time.el (emacs-init-time): New function.
8399 2008-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8401         * files.el (locate-dominating-file): Remove initial loop because it's
8402         not careful enough.  Detect the uid-change all within the main loop.
8404 2008-02-16  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8406         * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
8408 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8410         * vc.el (vc-annotate): Add new argument.
8411         (vc-annotate-warp-revision): Pass the current line to vc-annotate.
8413         * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
8414         Move make-variable-buffer-local code after the corresponding defvar.
8415         (hs-minor-mode-map): Define and initialize in one step.
8416         (hs-minor-mode): Change from defun to define-minor-mode.
8418 2008-02-16  Nick Roberts  <nickrob@snap.net.nz>
8420         * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
8421         (gdb-ready): Move declaration...
8423         * progmodes/gdb-ui.el (gdb-ready): ...to here.
8424         (gdb-early-user-input): New variable.
8425         (gdb): Reset gdb-flush-pending-output to nil and set
8426         comint-input-sender here (before gdb-prompt), instead of...
8427         (gdb-init-1): ...here.
8428         (gdb-send): If Emacs is not ready, defer user input to...
8429         (gdb-prompt): ...here.
8431 2008-02-16  Glenn Morris  <rgm@gnu.org>
8433         * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
8435         * startup.el (emacs-startup-time): Rename to `before-init-time'.
8436         (before-init-time): New name for `emacs-startup-time'.
8437         (command-line): Use before-init-time rather than emacs-startup-time.
8438         * time.el (emacs-uptime): Use before-init-time rather than
8439         emacs-startup-time.
8441         * composite.el (composition-function-table): Doc fix.
8443         * calendar/time-date.el (format-seconds): Remove `nonzero' argument
8444         in favor of `%z' specifier.
8445         (emacs-uptime): Move to time.el.
8446         * time.el (emacs-uptime): Move here from time-date.el.  Add optional
8447         `format' argument.  Doc fix.  Use `%z' rather than removed `nonzero'
8448         argument of format-seconds.
8450 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
8452         * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
8454 2008-02-15  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
8456         * ielm.el (ielm-is-whitespace): Remove.
8457         (ielm-is-whitespace-or-comment): New function.
8458         (ielm-eval-input): Use it.
8460 2008-02-15  Jason Rumney  <jasonr@gnu.org>
8462         * term/mac-win.el: Fix coding tag.
8464 2008-02-15  Dan Nicolaescu  <dann@ics.uci.edu>
8466         * vc-hooks.el (vc-menu-map):
8467         * bindings.el (mode-line-mode-menu): Add tooltips.
8469         * bindings.el (help-echo): Add more tooltips.  Use a less
8470         telegraphic style for existing tooltips.
8472 2008-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8474         * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
8475         from the auto-generated one.
8477 2008-02-14  Glenn Morris  <rgm@gnu.org>
8479         * mail/rmail-spam-filter.el (rmail-spam-filter):
8480         Let-bind message-spam-status.
8482         * mail/smtpmail.el (password-cache-add): Declare as function.
8484 2008-02-14  Justus Piater  <Justus-bulk@Piater.name>  (tiny change)
8486         * mail/smtpmail.el: Use password-cache.
8488 2008-02-14  Juanma Barranquero  <lekktu@gmail.com>
8490         * uniquify.el (uniquify-buffer-base-name): New function.
8491         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8493         * desktop.el (uniquify-managed): Don't defvar.
8494         (desktop-buffer-info): Use `uniquify-buffer-base-name', not
8495         `uniquify-managed'.  Return also the buffer's base name.
8496         (desktop-save): When saving the buffer info, filter out the base name,
8497         and save it as buffer name if the buffer is managed by uniquify.
8498         (uniquify-item-base): Don't declare; not called anymore.
8500 2008-02-14  Dan Nicolaescu  <dann@ics.uci.edu>
8502         * vc.el (vc-annotate-find-revision-at-line): New function.
8503         (vc-annotate-mode-map): Bind it.
8504         (vc-annotate-mode-menu): Add a menu entry for it.  Add :help for
8505         some entries.
8507 2008-02-14  Glenn Morris  <rgm@gnu.org>
8509         * calendar/time-date.el (format-seconds): New function.
8510         (emacs-uptime): Use format-seconds.
8512         * Makefile.in (custom-deps, finder-data, autoloads, recompile):
8513         Remove `LC_ALL=C', since it's included in $(emacs) now.
8515 2008-02-14  Zhang Wei  <id.brep@gmail.com>
8517         * textmodes/org-publish.el (org-publish-timestamp-filename):
8518         Replace colon characters in filename too.
8520 2008-02-13  Bastien Guerry  <bzg@altern.org>
8522         * mail/rmail.el (rmail-header-name): New face.
8523         (rmail-font-lock-keywords): Use rmail-header-name.
8525         * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
8526         against X-Spam-Status header field.
8527         (rmail-spam-filter): Also check X-Spam-Status header field.
8529 2008-02-14  Mark A. Hershberger  <mah@everybody.org>
8531         * progmodes/flymake.el (flymake-allowed-file-name-masks):
8532         Add support for .pm files and .php files.
8533         (flymake-err-line-patterns): Add pattern for PHP errors.
8534         (flymake-php-init): New function.  PHP support for flymake.
8536         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8537         Add regular expression for PHP errors.
8539 2008-02-13  Michael Albinus  <michael.albinus@gmx.de>
8541         * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
8542         This DTRT even on w32 machines.
8543         (ange-ftp-cf1): Quote FILENAME.
8545 2008-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8547         * smerge-mode.el (smerge-auto-combine-max-separation): New var.
8548         (smerge-auto-combine): New fun.
8550 2008-02-12  Juri Linkov  <juri@jurta.org>
8552         * startup.el (fancy-startup-screen, normal-splash-screen):
8553         Set default-directory to command-line-default-directory.
8555         * desktop.el (after-init-hook): Set inhibit-startup-screen to t
8556         after reading the desktop.
8558         * progmodes/compile.el (compilation-auto-jump):
8559         Call compile-goto-error only when compilation-auto-jump-to-first-error
8560         is non-nil.
8561         (compilation-scroll-output): Replace :type 'boolean with a choice
8562         that has three options including a third option `first-error'.
8563         Doc fix.
8564         (compilation-start, compilation-forget-errors): Add an alternate
8565         condition comparing compilation-scroll-output with `first-error'
8566         in addition to compilation-auto-jump-to-first-error (to call
8567         compilation-auto-jump in the proper place).
8569 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8571         * international/mule.el (sgml-html-meta-auto-coding-function):
8572         Make sure the search limit is ahead.
8574         * tar-mode.el: Fix broken indentation.
8575         (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
8576         Use with-current-buffer.
8578 2008-02-12  Juanma Barranquero  <lekktu@gmail.com>
8580         * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
8581         it is already automatically buffer-local.
8583 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8585         * help.el (describe-key): Join some split lines to facilitate filling.
8586         * help-fns.el (describe-function-1): Fill text of overlong lines.
8588 2008-02-12  Kenichi Handa  <handa@ni.aist.go.jp>
8590         * emacs-lisp/bytecomp.el (byte-compile-lapcode):
8591         Use unibyte-string instead of string-make-unibyte.
8593         * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
8595 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8597         * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
8598         works also for buffers w/o buffer-file-name.  Update callers.
8599         (doc-view-clone-buffer-hook): New fun.
8600         (doc-view-mode): Use it for indirect clones.  Mark the overlays with
8601         the `doc-view' property so they can be recognized.
8603         * simple.el (clone-indirect-buffer-hook): New hook.
8604         (clone-indirect-buffer): Run it.
8606 2008-02-11  Daiki Ueno  <ueno@unixuser.org>
8608         * epa.el (epa-menu-mode): Merge into epa-mode.
8609         (epa-menu-items): Rename the label "EasyPG Assistant" to
8610         "Encryption/Decryption".
8612         * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
8613         (epa-dired-mode-map): Rename from epa-dired-map.
8614         (epa-global-dired-mode): Rename the global minor mode.
8616 2008-02-11 Drew Adams  <drew.adams@oracle.com>
8618         * isearch.el (isearch-fail): New face.
8619         (isearch-message): Highlight failure part of input.
8621 2008-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8623         * ibuffer.el (ibuffer-header-line-format): New var.
8624         (ibuffer-mode): Set it instead of header-line-format.
8625         (ibuffer-update): Use it to set header-line-format.
8627         * international/mule-cmds.el (ucs-insert): Inherit surrounding
8628         properties like self-insert-command.
8630 2008-02-11  Drew Adams  <drew.adams@oracle.com>
8632         * progmodes/etags.el: Add many doc strings.
8634 2008-02-11  Jason Rumney  <jasonr@gnu.org>
8636         * ldefs-boot.el: Regenerated.
8638 2008-02-11  Glenn Morris  <rgm@gnu.org>
8640         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8641         Shorten some names.
8643         * ffap.el (ffap-rfc-directories): Add :version.
8645 2008-02-11  Chris Moore  <christopher.ian.moore@gmail.com>
8647         * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
8648         files, and backup files of same.
8650 2008-02-11  Kevin Ryde  <user42@zip.com.au>
8652         * ffap.el (ffap-rfc-directories): New variable.
8653         (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
8655         * info.el (Info-next-reference, Info-prev-reference)
8656         (Info-try-follow-nearest-node): Move to and follow https:// links too.
8658         * simple.el (completion-list-mode): Show full completion-list-mode-map
8659         in the docstring.
8661 2008-02-11  Sam Steingold  <sds@gnu.org>
8663         * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
8665 2008-02-11  Glenn Morris  <rgm@gnu.org>
8667         * startup.el (emacs-startup-time): New variable.
8668         (command-line): Set emacs-startup-time.
8670         * calendar/time-date.el (emacs-uptime): New function.
8672 2008-02-10  Bastien Guerry  <bzg@altern.org>
8674         * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
8675         (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
8676         it is nil.
8678 2008-02-10  Daiki Ueno  <ueno@unixuser.org>
8680         * epg-config.el: Expand the contents of epg-package-info.el.
8681         (epg-package-name): New constant.
8682         (epg-version-number): New constant.
8683         (epg-bug-report-address): New constant.
8685         * epa-mail.el (epa-mail-mode): Add autoload cookie.
8686         (epa-global-mail-mode): New global minor mode.
8688         * epa-file.el (epa-file-mode): New global minor mode.
8690         * epa-dired.el (epa-dired-mode): New global minor mode.
8692         * epa.el (epa-menu): New variable.
8693         (epa-menu-items): New variable.
8694         (epa-menu-mode): New global minor mode.
8695         (epa-global-minor-modes): New user option.
8696         (epa-mode): New global minor mode.
8698 2008-02-10  Michael Albinus  <michael.albinus@gmx.de>
8700         * net/dbus.el: Remove `no-byte-compile' cookie.
8701         (dbus-call-method, dbus-register-signal, dbus-debug)
8702         (dbus-registered-functions-table): Declare them with
8703         `declare-function' or `defvar', respectively.
8704         (top): Don't assert any longer.  Require 'cl when compiling.
8705         Apply `ignore-errors' but `dbus-ignore-errors'.
8707 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
8709         * diff-mode.el (diff-add-change-log-entries-other-window):
8710         Use add-change-log-entry.
8712 2008-02-09  Jason Rumney  <jasonr@gnu.org>
8714         * button.el (button-map):
8715         * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
8716         * ldefs-boot.el: Regenerate.
8718 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
8720         * epa.el (epa-faces, epa):
8721         * epa-file.el (epa-file):
8722         * epg-config.el (epg): Add :version.
8724 2008-02-09  Thien-Thi Nguyen  <ttn@gnuvola.org>
8726         * vc.el (vc-exec-after): Append CODE to previous fragments.
8727         (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
8728         take MESSAGES instead of VERBOSE; use it when non-nil.
8729         (vc-diff-internal): Compute messages once; use them;
8730         update call to vc-diff-finish.
8732 2008-02-09  Michael Olson  <mwolson@gnu.org>
8734         * net/tramp.el (tramp-process-sentinel): Avoid error when process
8735         buffer has been killed, such as by
8736         `tramp-cleanup-all-connections'.
8738 2008-02-09  Miles Bader  <miles@gnu.org>
8740         * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
8742 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8744         * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
8745         splitter in context hunks.
8747 2008-02-08  Kenichi Handa  <handa@ni.aist.go.jp>
8749         * international/fontset.el (setup-default-fontset): Fix arabic otf
8750         font specification.
8752 2008-02-08  Daiki Ueno  <ueno@unixuser.org>
8754         * epa-dired.el:
8755         * epa-file.el:
8756         * epa-mail.el:
8757         * epa-setup.el:
8758         * epa.el:
8759         * epg-config.el:
8760         * epg-package-info.el:
8761         * epg.el: Initial check-in of EasyPG.
8763 2008-02-08  Glenn Morris  <rgm@gnu.org>
8765         * woman.el (woman-locale): New defcustom.
8766         (woman-expand-locale, woman-manpath-add-locales): New functions.
8767         (woman-manpath): Call woman-manpath-add-locales.  Bump :version.
8769         * international/mule-cmds.el (locale-translate): New function,
8770         with old code extracted from set-locale-environment.
8771         (set-locale-environment): Use locale-translate.  Set woman-locale.
8773         * cus-start.el (selection-coding-system): Remove, since it's now
8774         defined in select.el rather than in xselect.c.
8775         * select.el (selection-coding-system): Make it a defcustom, and
8776         add the properties from cus-start.el.  Bump :version.
8778         * custom.el (custom-theme-set-variables): Sort symbols that are
8779         dependencies before symbols that depend on them.
8780         (custom-enabled-themes): Set after custom-theme-directory.
8782         * pcmpl-unix.el (top-level): Move provide statement to end.
8783         (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
8784         `*' from doc-string.  Allow to be nil.
8785         (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
8786         Allow to be nil.  Add :version.
8787         (pcmpl-ssh-hosts): Move definition before use.  Handle lines
8788         without hostnames, and multiple hostnames per line.
8790         * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
8792 2008-02-08  Phil Hagelberg  <phil@evri.com>
8794         * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
8795         (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
8797 2008-02-07  Timo Savola  <timo.savola@iki.fi>
8799         * startup.el (command-line-x-option-alist): Add --parent-id.
8801         * term/x-win.el (x-handle-parent-id): New function.
8803 2008-02-07  Chris Moore  <christopher.ian.moore@gmail.com>
8805         * mouse.el (x-fixed-font-alist): Use consistent capitalization for
8806         "Font Menu".
8808 2008-02-06  Michael Albinus  <michael.albinus@gmx.de>
8810         * net/dbus.el (dbus-interface-peer): New defconst.
8811         (dbus-ping): New defun.
8813 2008-02-06  Sam Steingold  <sds@gnu.org>
8815         * vc-hooks.el (vc-prefix-key): New user-customizable variable.
8817 2008-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8819         * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
8820         Just return nil and let the C code provide a fallback.
8822 2008-02-05  Glenn Morris  <rgm@gnu.org>
8824         * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
8825         tramp-flush-connection-property for removed 2nd argument.
8827 2008-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8829         * diff-mode.el (diff-add-change-log-entries-other-window):
8830         Rename from diff-create-changelog.  Change users.
8831         Minor change to hopefully work with plain diffs.
8832         (diff-mode-map): Add binding for it.
8834 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
8836         * diff-mode.el: Add new TODO entry.
8837         (diff-create-changelog): New function.
8838         (diff-mode-menu): Bind it.
8840 2008-02-04  Kenichi Handa  <handa@ni.aist.go.jp>
8842         * international/mule-diag.el (print-fontset-element): Handle the
8843         case of inhibiting the fallback fonts.
8845 2008-02-04  Kim F. Storm  <storm@cua.dk>
8847         * ido.el (ido-magic-forward-char, ido-magic-backward-char)
8848         (ido-magic-delete-char): Use prefix arg.
8850 2008-02-03  Juanma Barranquero  <lekktu@gmail.com>
8852         * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
8853         because the latter is in fact a 1.2.8 build distributed with GTK+ (as
8854         of today, the most recent libpng is 1.2.24).
8856 2008-02-03  Michael Albinus  <michael.albinus@gmx.de>
8858         * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
8860         * net/dbus.el (top): Check (featurep 'dbusbind).
8862         * net/tramp.el (tramp-process-sentinel): New defun.
8863         (tramp-do-copy-or-rename-file-out-of-band)
8864         (tramp-maybe-open-connection): Use it as process sentinel.
8865         (tramp-handle-delete-directory): Don't use the "-f" option; it
8866         isn't portable.
8867         (tramp-handle-start-file-process): Echo `tramp-end-of-output'
8868         after the command.
8869         (tramp-handle-shell-command): Set `mode-line-process' in the
8870         asynchronous case.
8872         * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
8874         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
8875         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8876         Use `tramp-process-sentinel' as process sentinel.
8878 2008-02-02  Juanma Barranquero  <lekktu@gmail.com>
8880         * whitespace.el (global-whitespace-mode): Revert last change.
8881         (whitespace-unload-function): Force `global-whitespace-mode'
8882         to deactivate local modes in a slightly less intrusive way.
8884 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
8886         * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
8888 2008-02-02  Glenn Morris  <rgm@gnu.org>
8890         * international/latin1-disp.el (latin1-display):
8891         * progmodes/fortran.el (fortran-comment-indent-char):
8892         * progmodes/idlw-shell.el (top-level):
8893         * term/mac-win.el (mac-keyboard-translate-char):
8894         * whitespace.el (whitespace-char-valid-p):
8895         * wid-edit.el (widget-key-sequence-read-event):
8896         Use characterp rather than char-valid-p.
8898         * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
8899         to capitalized-find-word-boundary.  Doc fix.  Update callers.
8900         (capitalized-next-word-boundary-function-table): Rename to
8901         capitalized-find-word-boundary-function-table.  Doc fix.  Update users.
8903         * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
8904         string-to-int.
8906         * ps-def.el (declare-function): Add compatibility definition.
8907         (ps-plot-with-face, ps-plot-string): Declare as functions.
8908         (ps-bold-faces, ps-italic-faces): Declare variables.
8910         * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
8911         (ps-mule-end-job): Declare as functions.
8913         * wid-edit.el (widget-string-complete): Use assoc-string rather
8914         than assoc-ignore-case.
8916 See ChangeLog.13 for earlier changes.
8918 ;; Local Variables:
8919 ;; coding: utf-8
8920 ;; add-log-time-zone-rule: t
8921 ;; End:
8923     Copyright (C) 2008  Free Software Foundation, Inc.
8925   This file is part of GNU Emacs.
8927   GNU Emacs is free software: you can redistribute it and/or modify
8928   it under the terms of the GNU General Public License as published by
8929   the Free Software Foundation, either version 3 of the License, or
8930   (at your option) any later version.
8932   GNU Emacs is distributed in the hope that it will be useful,
8933   but WITHOUT ANY WARRANTY; without even the implied warranty of
8934   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8935   GNU General Public License for more details.
8937   You should have received a copy of the GNU General Public License
8938   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
8940 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc