(defun-cvs-mode): Add `doc-string' decl.
[emacs.git] / lisp / ChangeLog
blobc6be6d06d4bfb0c2d21058ea55ac369098305405
1 2008-08-10  John Paul Wallington  <jpw@pobox.com>
3         * pcvs.el (defun-cvs-mode): Add `doc-string' decl.
5 2008-08-08  Chong Yidong  <cyd@stupidchicken.com>
7         * battery.el (battery-echo-area-format, battery-status-function):
8         Handle new Linux sysfs format for battery reporting.
9         (battery-linux-sysfs): New function.
11 2008-08-07  Martin Rudalics  <rudalics@gmx.at>
13         * add-log.el (change-log-search-tag-name)
14         (change-log-goto-source): Fix behavior when point is not on tag.
16 2008-08-06  Adrian Robert  <Adrian.B.Robert@gmail.com>
18         * startup.el (command-line-ns-option-alist): Use ignore instead of
19         ns-ignore-0-arg.
21         * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region)
22         (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop.
23         (ns-alternatives-map): New variable.
24         (x-set-up-function-keys): Use it.
25         (global): Comment out "put backspace ascii-character..." and friends.
26         Move function-key-map into ns-alternatives-map.  Don't call
27         precompute-menubar-bindings.  Don't set anything connected with
28         browse-url.
29         (after-make-frame-functions): Clarify comment why a hook is added.
31 2008-08-06  Joakim Verona  <joakim@verona.se>
33         * thingatpt.el (thing-at-point-url-path-regexp): Allow parenthesis
34         in url:s.
36 2008-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
38         * vc-svn.el (vc-svn-parse-status): Use when instead of if.
39         Fix 2008-01-01 change: use a shy group to not affect subsequent
40         match calls.
42 2008-08-06  Reto Zimmermann  <reto@gnu.org>
44         * progmodes/vera-mode.el (vera-electric-tab):
45         * progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
46         region when active.
48 2008-08-06  Kenichi Handa  <handa@m17n.org>
50         * faces.el (face-valid-attribute-values): Fix handling the value
51         of (font-family-list) and font-XXX-table.
53 2008-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
55         * proced.el (proced-menu): Bind the correct function to for toggling.
57         * vc-dir.el (vc-dir-mode): Fix typo.
59 2008-08-06  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
61         * whitespace.el (whitespace-newline-mode)
62         (global-whitespace-newline-mode, whitespace-mode)
63         (global-whitespace-mode): Improve docstring.
65 2008-08-05  Chong Yidong  <cyd@stupidchicken.com>
67         * kmacro.el (kmacro-exec-ring-item): Add autoload.
69         * files.el (auto-save-visited-file-name): Move definition to fileio.c.
71         * cus-start.el (all): Handle auto-save-visited-file-name.
73 2008-08-05  Alex Shinn  <alexshinn@gmail.com>  (tiny change)
75         * files.el (hack-one-local-variable-eval-safep): Handle
76         lisp-indent-function and scheme-indent-function in addition to the
77         deprecated lisp-indent-hook.
79 2008-08-05  Michael Albinus  <michael.albinus@gmx.de>
81         * net/xesam.el (top): Require `wid-edit' always.
82         (xesam-mode-line, xesam-highlight): New deffaces.
83         (xesam-objects): New local variable.
84         (xesam-search-engines): Fix error in field list.
85         (xesam-mode): Use `xesam-mode-line' instead of
86         `font-lock-type-face'.  Apply `xesam-mode' to a temp buffer, for
87         proper initialization (why?).
88         (xesam-highlight-string, xesam-get-hits)
89         (xesam-kill-buffer-function): New defuns.
90         (xesam-refresh-entry): Move code to `xesam-get-hits'.  Check
91         result of "hit.fields", it isn't a string only.  Wrap an error of
92         the strigi search engine ("xesam:size" is returned as string).
93         Highlight search items.
94         (xesam-refresh-search-buffer): Make logic of counters more simple.
95         Prefetch next hits.
96         (xesam-signal-handler): Use `xesam-mode-line' instead of
97         `font-lock-type-face'.
98         (xesam-new-search): Add `xesam-kill-buffer-function' to
99         `kill-buffer-hook'.
101 2008-08-05  Teodor Zlatanov  <tzz@lifelogs.com>
103         * add-log.el (change-log-next-error, change-log-mode): Add support
104         for `next-error' to call `change-log-goto-source' on named files
105         in a ChangeLog.
107 2008-08-05  Jay Belanger  <jay.p.belanger@gmail.com>
109         * calc/calc.el (math-read-number): Handle all C-like languages
110         properly.
112 2008-08-04  Vincent Belaïche  <vincent.b.1@hotmail.fr>
114         * calc/calc.el (math-read-number): Handle C numbers beginning with
115         0 correctly.
117 2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
119         * term/ns-win.el ([ns-new-frame]): New global key.
121 2008-08-04  Juanma Barranquero  <lekktu@gmail.com>
123         * international/mule-cmds.el (read-char-by-name):
124         Check UCS names with `assoc-string' and case folding.
126 2008-08-04  Michael Albinus  <michael.albinus@gmx.de>
128         * net/dbus.el (dbus-call-method-asynchronously)
129         (dbus-method-return-internal, dbus-method-error-internal):
130         Declare them with `declare-function'.
132 2008-08-04  Juanma Barranquero  <lekktu@gmail.com>
134         * descr-text.el (describe-char-display): Fix last change:
135         don't pass CHARSET to `encoded-string-description'.
137 2008-08-02  Alex Harsanyi  <harsanyi@mac.com>  (tiny change)
139         * vc.el (vc-next-action): Update list var correctly after delete.
141 2008-08-02  Chong Yidong  <cyd@stupidchicken.com>
143         * ido.el (ido-mode): Add toggle notification.
145         * cus-edit.el (custom-save-all): Avoid destroying symlink if
146         already visiting the custom file.
148         * pgg-gpg.el (pgg-gpg-process-region): Accept any remaining
149         pending output coming after the status change.
151 2008-08-02  Jason Rumney  <jasonr@gnu.org>
153         * w32-fns.el (tis620-2533): Use as preferred registry for thai fonts.
155 2008-08-01  Kenichi Handa  <handa@m17n.org>
157         * international/mule-cmds.el (encode-coding-char):
158         New optional arg CHARSET.
160         * descr-text.el (describe-char-display): Call encode-coding-char
161         with the arg CHARSET.
162         (describe-char): Pay attention to the text-property `charset'.
164 2008-08-01  Michael Albinus  <michael.albinus@gmx.de>
166         * net/dbus.el (dbus-check-event, dbus-handle-event): Handle D-Bus
167         error messages.
168         (dbus-set-property): Call `dbus-introspect-get-property' instead
169         of `dbus-get-property'.
171         * net/xesam.el (xesam-all-fields): Remove source and content
172         identifiers.
173         (xesam-dbus-unique-names): New defvar.
174         (xesam-dbus-call-method): New defun.  Replace all calls of
175         `dbus-call-method' by `xesam-dbus-call-method'.
176         (xesam-get-cached-property, xesam-set-cached-property):
177         New defuns.
178         (xesam-get-property, xesam-set-property, xesam-refresh-entry)
179         (xesam-new-search, xesam-search): Apply `xesam-get-cached-property'.
180         (xesam-search-engines): Make it an association list.  Take changed
181         layout into account in the corresponding function.
182         (xesam-delete-search-engine): Remove check for consistency of
183         `xesam-search-engines', not needed anymore.
184         (xesam-mode): Show XML query string only in the debug case.
186 2008-07-31  Juanma Barranquero  <lekktu@gmail.com>
188         * files.el (read-file-modes): Fix typo in docstring.
190 2008-07-31  Chong Yidong  <cyd@stupidchicken.com>
192         * Makefile.in: Avoid maintainer warning for autogenerated unicode
193         files.
195         * apropos.el (apropos-symbol): Don't set button skip by default.
196         (apropos-print): Set button skip iff searching for multiple types.
197         (apropos-print-doc): Insert blank label button when searching for
198         a single type.
200         * button.el (forward-button): Avoid infloop.
202         * minibuffer.el (read-file-name-completion-ignore-case):
203         Add cygwin to the list.
205 2008-07-31  Sven Joachim  <svenjoac@gmx.de>
207         * files.el (abbreviate-file-name): When replacing $HOME with ~,
208         turn off case-fold-search.
210 2008-07-31  Michael Albinus  <michael.albinus@gmx.de>
212         * net/dbus.el (top): Don't register for "NameOwnerChanged".
213         (dbus-message-type-invalid, dbus-message-type-method-call)
214         (dbus-message-type-method-return, dbus-message-type-error)
215         (dbus-message-type-signal): New defconst.
216         (dbus-ignore-errors): Fix `edebug-form-spec' property.
217         (dbus-return-values-table): New defvar.
218         (dbus-call-method-non-blocking-handler, dbus-event-message-type):
219         New defun.
220         (dbus-check-event, dbus-handle-event, dbus-event-serial-number):
221         Extend docstring.  Adapt implementation according to new
222         `dbus-event' layout.
223         (dbus-event-service-name, dbus-event-path-name)
224         (dbus-event-interface-name, dbus-event-member-name): Adapt
225         implementation according to new `dbus-event' layout.
226         (dbus-set-property): Correct `dbus-introspect-get-attribute' call.
228         * net/xesam.el (xesam-type, xesam-query, xesam-xml-string): New defvar.
229         (xesam-mode): Rework implementation.
230         (xesam-new-search): Additional parameter TYPE.
231         (xesam-search): Adapt call of `xesam-new-search'.
233 2008-07-31  Juri Linkov  <juri@jurta.org>
235         * dired-aux.el (dired-do-chmod): Set default value to the original
236         mode string using absolute notation like u=rwx,g=rx,o=rx.
237         Use it as a new arg `default' of `dired-mark-read-string'.
238         (dired-mark-read-string): Add new optional arg `default'.
240         * files.el (read-file-modes): Set default value to the original
241         mode string using absolute notation like u=rwx,g=rx,o=rx.
242         Use it as the `default' arg of `read-string'.
244         * filesets.el (filesets-cmd-isearch-getargs): Check if the
245         variable `files' is bound to avoid warnings.
247         * isearch.el (isearch-forward-regexp, isearch-forward-word)
248         (isearch-backward, isearch-backward-regexp): Doc fix - make a link
249         to the command `isearch-forward' instead of displaying "See C-s".
250         (isearch-highlight-regexp): Remove arguments `regexp' and `face'
251         with their interactive specifictions.  Move reading the face name to
252         the main body after calls to isearch-done and isearch-clean-overlays.
254         * mb-depth.el: Unify all names under one common name prefix
255         `minibuffer-depth-'.
256         (minibuffer-depth-indicator-function): Renamed from
257         `minibuf-depth-indicator-function'.
258         (minibuffer-depth-overlay): Renamed from
259         `minibuf-depth-overlay'.
260         (minibuffer-depth-setup): Renamed from
261         `minibuf-depth-setup-minibuffer'.
262         (minibuffer-depth-indicate-mode): Renamed from
263         `minibuffer-indicate-depth-mode'.
265 2008-07-31  Juri Linkov  <juri@jurta.org>
267         * dired-aux.el (dired-isearch-filenames-toggle): New command.
268         (dired-isearch-filenames-setup): Bind "\M-sf" to
269         dired-isearch-filenames-toggle in isearch-mode-map.
270         (dired-isearch-filenames-end): Bind "\M-sf" to nil
271         in isearch-mode-map.
273         * isearch.el (isearch-edit-string-set-word): New command.
274         (minibuffer-local-isearch-map): Bind "\C-w" to
275         isearch-edit-string-set-word.
276         (isearch-new-word): Temporary internal variable.
277         (isearch-edit-string): Remove special case of reading the
278         first character and checking it for C-w.
280         * simple.el (read-shell-command, shell-command):
281         Move code that uses minibuffer-with-setup-hook to set
282         minibuffer-default-add-function to minibuffer-default-add-shell-commands
283         from the interactive spec of `shell-command' to `read-shell-command'.
285         * international/mule-cmds.el (read-char-by-name):
286         Accept hash notation.  Doc fix.
287         (ucs-insert): Doc fix.  Convert to number only when `arg' is
288         a string.  Use separate error message when `arg' is not an integer.
289         Bind `ucs-insert' to `C-x 8 RET'.
291 2008-07-31  Joachim Nilsson  <joachim.nilsson@member.fsf.org>  (tiny change)
293         * progmodes/cc-styles.el (c-style-alist): For the Ellemtel style,
294         move the (arglist-cont-nonempty) from c-offsets-alist to
295         c-hanging-braces-alist like other styles already have.
297 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
299         * textmodes/texinfmt.el:
300         * nxml/nxml-enc.el:
301         * mail/feedmail.el:
302         * international/mule.el:
303         * international/latexenc.el:
304         * emulation/viper-util.el:
305         * emulation/viper-init.el:
306         * emulation/viper-ex.el:
307         * emacs-lisp/bytecomp.el:
308         * version.el:
309         * subr.el:
310         * startup.el:
311         * sort.el:
312         * shadowfile.el:
313         * recentf.el:
314         * printing.el:
315         * paths.el:
316         * minibuffer.el:
317         * ls-lisp.el:
318         * loadup.el:
319         * hippie-exp.el:
320         * finder.el:
321         * files.el:
322         * ediff-util.el:
323         * ediff-ptch.el:
324         * ediff-init.el:
325         * ediff-diff.el:
326         * dired.el:
327         * dired-aux.el:
328         * cus-edit.el:
329         * bindings.el:
330         * arc-mode.el:
331         * add-log.el: Remove VMS support.
332         * obsolete/vmsproc.el:
333         * obsolete/vms-pmail.el:
334         * obsolete/vms-patch.el: Remove file.
336 2008-07-31  Alan Mackenzie  <acm@muc.de>
338         * progmodes/cc-mode.el (c-before-hack-hook): New function
339         (Top Level): Install c-before-hack-hook on
340         before-hack-local-variables-hook, rather than
341         c-postprocess-file-styles on hack-local-variables-hook.
343 2008-07-31  Chong Yidong  <cyd@stupidchicken.com>
345         * files.el (normal-mode): Move call to hack-project-variables into
346         hack-local-variables.
347         (file-local-variables-alist, before-hack-local-variables-hook):
348         New vars.
349         (ignored-local-variables): Add file-local-variables-alist.
350         (hack-local-variables-filter): Renamed from
351         hack-local-variables-apply.  Add the result to
352         file-local-variables-alist, without applying them.
353         (hack-local-variables): Set file-local-variables-alist to nil.
354         Call hack-project-variables and before-hack-local-variables-hook.
355         Apply variables here, instead of hack-local-variables-apply.
356         Based on a patch by Alan Mackenzie.
358 2008-07-30  Thien-Thi Nguyen  <ttn@gnuvola.org>
360         * info-look.el (autoconf-mode :doc-spec): For
361         "(autoconf)M4 Macro Index", if the item already
362         begins with "AS_", don't prefix that string again.
364 2008-07-30  Juri Linkov  <juri@jurta.org>
366         * info.el (info, Info-mode): Doc fix.
368         * isearch.el (isearch-mode-map): Bind `M-s r' to
369         `isearch-toggle-regexp' and `M-s w' to `isearch-toggle-word'.
370         (search-map): Bind `M-s w' to `isearch-forward-word' globally
371         in the global map `search-map'.
372         (isearch-forward): Doc fix.
373         (isearch-forward-word, isearch-toggle-case-fold): New commands.
375         * simple.el (quoted-insert): Comment out code that treats
376         0240-0377 specially.
378 2008-07-30  Chong Yidong  <cyd@stupidchicken.com>
380         * cus-start.el: Add customization info for
381         read-buffer-completion-ignore-case.
383 2008-07-30  Sam Steingold  <sds@gnu.org>
385         * vc-dir.el (vc-dir): Call file-truename on the dir argument.
387 2008-07-30  Dan Nicolaescu  <dann@ics.uci.edu>
389         * vc-dir.el (vc-dir-menu-map, vc-at-event): Fix docstring.
390         (vc-dir-mode): Improve docstring.
392 2008-07-30  Juri Linkov  <juri@jurta.org>
394         * dired-aux.el (dired-isearch-filenames-setup): Add autoload cookie
395         for the sake of isearch-mode-hook in dired-mode in dired.el.
397 2008-07-19  Markus Triska  <markus.triska@gmx.at>
399         * image-mode.el (image-mode): Set image-mode-text-map when image
400         cannot be displayed.
402 2008-07-30  Stepehen Leake  <stephen_leake@stephe-leake.org>
404         * progmodes/ada-prj.el (ada-prj-initialize-values): Fix use of deleted
405         ada-xref-set-default-prj-values.
406         (ada-prj-display-page): Ditto.
408         * progmodes/ada-xref.el (ada-gnatstub-opts): Fix doc string.
409         (ada-make-filename-from-adaname): Fix free variable.
411 2008-07-30  Dan Nicolaescu  <dann@ics.uci.edu>
413         * vc-git.el (vc-git-status-printer): Synchronize with the default.
415 2008-07-30  Michael McNamara  <mac@mail.brushroad.com>
417         * progmodes/verilog-mode.el (verilog-do-indent): Remove special indent
418         for declarations inside a parenthetical list. The code is ill-advised,
419         and doesn't work given user defined types.
420         (verilog-set-auto-endcomments): Enhance function automatic
421         endcomment to support functions that return user defined types.
422         (verilog-mode): Add code to tell which-function-mode minor mode
423         that Verilog supports this feature.
424         (verilog-beg-block-re-ordered, verilog-indent-re)
425         (verilog-forward-sexp, verilog-forward-wa, verilog-calc-1)
426         (verilog-leap-to-head): Support the new virtual and/or protected
427         tasks, as well as extern declarations of tasks for indenting and
428         for foward/backward expression.
430 2008-07-30  Wilson Snyder  <wsnyder@wsnyder.org>
432         * progmodes/verilog-mode.el (verilog-read-decls): Allow AUTORESET
433         to work with SV 'logic' signals.  [Julian Gorfajn]
434         (verilog-auto-inst-column): Make verilog-auto-inst-column customizable.
435         (verilog-string-replace-matches): Avoid recursion with small
436         replacements.
437         (verilog-auto-inst-param-value, verilog-mode-version)
438         (verilog-mode-version-date, verilog-read-inst-param-value)
439         (verilog-auto-inst, verilog-auto-inst-param)
440         (verilog-auto-inst-port, verilog-simplify-range-expression): Add
441         verilog-auto-inst-param-value option for AUTOINST.  [David Rogoff]
442         This allows parameters to be replaced with their values, on the
443         expansion of an AUTOINST with Verilog 2001 style parameter settings.
445 2008-07-30  David Lord  <david.lord@phonecoop.coop>
447         * calendar/timeclock.el (timeclock-day-projects): Change a `cdr'
448         to `cddr'.
450 2008-07-29  Chong Yidong  <cyd@stupidchicken.com>
452         * Makefile.in (ELCFILES): Add mairix.elc.
454 2008-07-29  David Engster  <deng@randomsample.de>
456         * net/mairix.el: New file.
458 2008-07-29  Juri Linkov  <juri@jurta.org>
460         * cus-edit.el (custom-face-tag): Inherit from custom-variable-tag
461         instead of variable-pitch with bold and 1.2 height.
463         * dired-aux.el (dired-do-async-shell-command): New command.
465         * dired.el (dired-mode-map): Rebind `dired-flag-garbage-files'
466         from `&' to `%&'.  Bind `&' to `dired-do-async-shell-command'.
468 2008-07-29  Juri Linkov  <juri@jurta.org>
470         * international/mule-cmds.el (ucs-names): New internal variable.
471         (ucs-names): New function.
472         (ucs-completions): New lazy completion variable.
473         (read-char-by-name): New function.
474         (ucs-insert): Replace interactive spec letter "s" with the call to
475         `read-char-by-name'.
477         * replace.el (read-regexp): Add second arg `default'.  Doc fix.
479         * replace.el (occur-read-primary-args):
480         * hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer)
481         (hi-lock-face-phrase-buffer): Use `(car regexp-history)' as the
482         second arg of `read-regexp'.
484         * dired-aux.el (dired-isearch-filenames): New user option.
485         (dired-isearch-orig-success-function): New internal variable.
486         (dired-isearch-filenames-setup, dired-isearch-filenames-end)
487         (dired-isearch-success-function): New functions.
488         (dired-isearch-filenames, dired-isearch-filenames-regexp):
489         New commands.
491         * dired.el (dired-insert-set-properties): Add new text property
492         `dired-filename' to put on file names.
493         (dired-mode-map): Bind `M-s f C-s' to `dired-isearch-filenames'
494         and `M-s f M-C-s' to `dired-isearch-filenames-regexp'.
495         Add menu items.
496         (dired-mode): Add hook `dired-isearch-filenames-setup' to
497         buffer-local `isearch-mode-hook'.
499 2008-07-29  Juanma Barranquero  <lekktu@gmail.com>
501         * progmodes/ada-mode.el (ada-batch-reformat): Doc fix.
502         (ada-create-case-exception): Fix typo in docstring.
503         (ada-no-auto-case): Return nil, not the docstring.
504         (ada-indent-current): Reflow docstring.
506         * progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values)
507         (ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings.
508         (ada-prj-load-from-file): Reflow docstring.
509         (ada-prj-display-page): Fix typo in widget.
511         * progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private):
512         Fix typos in docstrings.
514         * progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr)
515         (ada-compile-current, ada-check-current, ada-run-application)
516         (ada-get-ali-file-name): Fix typos in docstrings.
517         (ada-xref-confirm-compile, ada-find-references)
518         (ada-find-local-references, ada-find-any-references): Doc fixes.
519         (ada-get-all-references): Fix typo in error message.
520         (ada-xref-current-project): Use `let', not `let*'.
521         (ada-do-file-completion, ada-xref-change-buffer): Reflow docstring.
523 2008-07-28  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
525         * whitespace.el (whitespace-newline): Change initialization to have a
526         low contrast relative to the background color.  Suggested by David
527         Reitter <david.reitter@gmail.com>.
529 2008-07-28  Juri Linkov  <juri@jurta.org>
531         * dired-aux.el (dired-do-isearch, dired-do-isearch-regexp):
532         New functions.
534         * dired.el (dired-mode-map): Bind dired-do-isearch to `M-s a C-s'
535         and dired-do-isearch-regexp to `M-s a M-C-s'.  Add menu items.
537 2008-07-28  Seiji Zenitani  <zenitani@mac.com>
539         * help-fns.el (help-C-file-name): Add .m (Obj-C code) for Cocoa port.
540         * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
542 2008-07-28  Stephen Leake  <stephen_leake@stephe-leake.org>
544         * progmodes/ada-mode.el (ada-mode): Clean up XEmacs handling.
545         Add support for add-log.
546         (ada-end-stmt-re): Fix bug - allow comment after 'when'.
548         * progmodes/ada-prj.el: Delete 'main_unit' project variable.
549         (ada-prj-save): Prompt for file name if not given.
550         (ada-prj-display-page): Display casing exceptions.
552         * progmodes/ada-xref.el: Add support for GNAT project files as Emacs
553         Ada mode project files.  Delete 'main_unit' project variable;
554         only need 'main'.  Simplify handling of default project values.
555         Use cross-prefix consistently.
556         (ada-find-executable): Throw error if not found.
557         (ada-initialize-runtime-library): Improve error handling when
558         gnatls not found.
559         (ada-gnat-parse-gpr): New.
560         (ada-treat-cmd-string): Allow process environment variables.
561         (ada-xref-set-default-prj-values): Delete; replace with
562         ada-default-prj-properties.
563         (ada-parse-prj-file): Handle GNAT project files.
564         (ada-parse-prj-file-1): New, factored out of ada-parse-prj-file.
565         (ada-select-prj-file): New.
566         (ada-get-absolute-dir-list): Allow project and environment variables.
568 2008-07-27  Michael Albinus  <michael.albinus@gmx.de>
570         Sync with Tramp 2.1.14.
572         * net/tramp.el (tramp-perl-directory-files-and-attributes)
573         (tramp-get-device): Make device number a cons cell.
574         (tramp-convert-file-attributes): Make inode a cons cell.
576         * net/trampver.el: Update release number.
578 2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
580         * faces.el (face-set-after-frame-default): Treat 'ns as all other
581         window systems.
583 2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
585         * term/ns-win.el (do-applescript): New alias in carbon-compat section.
587 2008-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
589         Remove support for Mac Carbon.
590         * term/mac-win.el: Remove file
591         * international/mule-cmds.el:
592         * version.el:
593         * startup.el:
594         * simple.el:
595         * mwheel.el:
596         * mouse.el:
597         * loadup.el:
598         * isearch.el:
599         * info.el:
600         * frame.el:
601         * faces.el:
602         * disp-table.el:
603         * cus-start.el:
604         * cus-face.el:
605         * cus-edit.el:
606         * Makefile.in: Remove code for Carbon.
608 2008-07-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
610         * term/ns-win.el (ns-extended-platform-support-mode): Get rid of
611         bindings for functions deleted by Dan N. 2008-07-21.  Set
612         where-is-preferred-modifier.  Add show-manual option to Help menu.
614 2008-07-26  Michael Albinus  <michael.albinus@gmx.de>
616         * net/tramp.el (tramp-handle-start-file-process):
617         Set query-on-exit flag.  Kill temporary buffer.
618         (tramp-process-sentinel): Remove defun.
619         (tramp-do-copy-or-rename-file-out-of-band)
620         (tramp-maybe-open-connection): Don't call it.
622         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Don't call
623         `tramp-process-sentinel'.
625         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Don't call
626         `tramp-process-sentinel'.
628         * net/xesam.el (xesam-from): Remove defvar.
629         (xesam-mode): Derive from `special-mode'.  Extend `xesam-mode-map'
630         and `mode-line-position'.
631         (xesam-refresh-entry): Remove argument `hit-number'.  Add debug
632         information to the widgets.  Don't set `mode-line-position'.
633         (xesam-refresh-search-buffer): Correct hit number computing.
634         Don't set `mode-line-position'.
635         (xesam-new-search): Add debug information to the mode line.
637 2008-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
639         * diff-mode.el (diff-show-trailing-blanks): Renamed to
640         diff-show-trailing-whitespaces.
642 2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
644         * textmodes/tex-mode.el (tex-compilation-parse-errors): Check for
645         invalid filename strings when parsing tex errors (bug#376).
647 2008-07-25  Dan Nicolaescu  <dann@ics.uci.edu>
649         * menu-bar.el (menu-bar-file-menu): Fix typo.
651 2008-07-25  Juanma Barranquero  <lekktu@gmail.com>
653         * play/solitaire.el (solitaire-mode-map): Define within defvar.
654         (solitaire-mode): Define with `define-derived-mode'.
655         (solitaire-insert-board, solitaire-right, solitaire-left, solitaire-up)
656         (solitaire-down): Use "?\s" instead of "?\ "; use `when'.
657         (solitaire-undo, solitaire-check): Use `when'.
658         (solitaire-solve): Err out if the solitaire is already in progress.
659         Use `when'.
661         * descr-text.el (describe-char): Don't overwrite local variable char
662         when describing characters with display-table entries.  Display font
663         backend when describing composed characters.  Simplify: use `let'
664         instead of `let*', and `or x y' instead of `if x x y'.
666 2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
668         * image-mode.el (image-minor-mode): Set up winprops.
670 2008-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
672         * diff-mode.el (diff-show-trailing-blanks): New fun.
673         Show trailing blanks in modified lines for diff-mode.
675 2008-07-24  Michael Albinus  <michael.albinus@gmx.de>
677         * Makefile.in (ELCFILES): Add net/xesam.el.
679         * net/tramp.el (tramp-handle-start-file-process): Make NAME a unique
680         process name.  Reported by Markus Triska <markus.triska@gmx.at>.
682         * net/xesam.el: New file.
684 2008-07-24  Sven Joachim  <svenjoac@gmx.de>
686         * dired-aux.el (dired-copy-file-recursive): Avoid calling
687         set-file-modes when creating target directories.
689 2008-07-24  Juanma Barranquero  <lekktu@gmail.com>
691         * play/solitaire.el (solitaire-mode): Fix typo in docstring.
692         Set `show-trailing-whitespace' to nil.
693         (solitaire, solitaire-mode-map, solitaire-mode-hook, solitaire-solve):
694         Fix typos in docstrings.
696 2008-07-24  Chong Yidong  <cyd@stupidchicken.com>
698         * textmodes/enriched.el (enriched-mode-map): Bind C-a and C-j via
699         key remapping, not directly.
701 2008-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
703         * whitespace.el: New version 11.2.
704         (whitespace-newline-mode, global-whitespace-newline-mode): New newline
705         minor mode visualization.
707 2008-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
709         * progmodes/cc-mode.el (auto-mode-alist): Add .i and .ii files.
711         * Makefile.in (ELCFILES): Add term/common-win.elc.
713         * vc-dir.el (vc-dir-search, vc-dir-isearch)
714         (vc-dir-isearch-regexp): New functions.
715         (vc-dir-mode-map, vc-dir-menu-map): Bind them.
717 2008-07-23  Juri Linkov  <juri@jurta.org>
719         * isearch-multi.el: Remove file to avoid dos file name clashes
720         with isearch-x.el.  Move most content to misearch.el.
722         * misearch.el: New file with most content from isearch-multi.el.
723         Rename `isearch-buffers' name prefixes to `multi-isearch'.
724         Remove `isearch-buffers-minor-mode'.  Add new function
725         `multi-isearch-setup' to `isearch-mode-hook'.  New top-level
726         commands `multi-isearch-buffers', `multi-isearch-buffers-regexp',
727         `multi-isearch-files', `multi-isearch-files-regexp'.
729         * Makefile.in (ELCFILES): Remove isearch-multi.elc.  Add misearch.elc.
731         * isearch.el (isearch-message-prefix): Display "Multi" when
732         `multi-isearch-next-buffer-current-function' is non-nil.
733         (isearch-search-string): Replace `isearch-buffers-next-buffer-function'
734         with `multi-isearch-next-buffer-current-function', and
735         `isearch-buffers-current-buffer' with `multi-isearch-current-buffer'.
737         * add-log.el (change-log-mode): Set `change-log-next-buffer' to
738         `multi-isearch-next-buffer-function' instead of
739         `isearch-buffers-next-buffer-function'.  Remove call to
740         `isearch-buffers-minor-mode'.
742         * buff-menu.el (Buffer-menu-marked-buffers)
743         (Buffer-menu-isearch-buffers)
744         (Buffer-menu-isearch-buffers-regexp): New functions.
745         (Buffer-menu-mode-map): Bind "M-s a C-s" to
746         `Buffer-menu-isearch-buffers', and "M-s a M-C-s" to
747         `Buffer-menu-isearch-buffers-regexp'.
748         (Buffer-menu-mode): Document new commands in docstring.
749         (list-buffers-noselect): Add one space after Info file name
750         according to the Info address convention.
752         * ibuf-ext.el (ibuffer-do-isearch, ibuffer-do-isearch-regexp):
753         New functions.
755         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-s" to
756         `ibuffer-do-isearch' and "M-s a M-C-s" to `ibuffer-do-isearch-regexp'.
757         (ibuffer-mode): Document new commands in docstring.
759         * filesets.el (filesets-commands): Add commands for "Isearch" and
760         "Isearch (regexp)".  Replace `query-replace' and `query-replace-regexp'
761         with `perform-replace' using `filesets-cmd-query-replace-regexp-getargs'.
762         (filesets-run-cmd): Call `fn' only once if it is `multi-isearch-files'
763         or `multi-isearch-files-regexp'.
764         (filesets-cmd-query-replace-getargs): Call standard function
765         `query-replace-read-args' to read `query-replace' arguments.
766         Add `multi-query-replace-map'.
767         (filesets-cmd-query-replace-regexp-getargs)
768         (filesets-cmd-isearch-getargs): New functions.
770 2008-07-23  Chong Yidong  <cyd@stupidchicken.com>
772         * international/mule.el (recode-region): Deactivate mark at the end.
774 2008-07-23  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
776         * progmodes/flymake.el (flymake-errline, flymake-warnline):
777         Use more suitable colors on dark displays.
779 2008-07-23  Michael Albinus  <michael.albinus@gmx.de>
781         * net/tramp.el (tramp-methods): Add "-q" for "scp", "scp1",
782         "scp2", "ssh", "ssh1", "ssh2", "scpc", "scpx", "sshx".
783         (tramp-temp-buffer-name): New defconst.
784         (tramp-handle-start-file-process): Use it.  Apply "exec", for the
785         command.  No trailing prompt.
786         (tramp-process-sentinel): Remove temporary buffer, if existing.
787         Don't handle trailing prompt.
788         (tramp-open-connection-setup-interactive-shell):
789         Use `tramp-temp-buffer-name'.
791 2008-07-23  Chong Yidong  <cyd@stupidchicken.com>
793         * shell.el (shell-dynamic-complete-functions):
794         Use comint-dynamic-complete-filename as well (bug#361).
796 2008-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
798         * term/ns-win.el:
799         * version.el (emacs-version):
800         * loadup.el:
801         * frame.el (make-frame-on-display): Check for ns instead of
802         ns-windowing.
804         * dired.el (dired-mode-map): Show the key binding for wdired.
806         * menu-bar.el (menu-bar-file-menu): Show the key binding for
807         exiting Emacs.
809 2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
811         * term/ns-win.el (x-list-fonts): Drop alias.
813 2008-07-23  Juri Linkov  <juri@jurta.org>
815         * replace.el (multi-query-replace-map): New variable.
816         (perform-replace): Add processing of new multi-buffer keys bound
817         to `automatic-all' and `exit-current'.  Set `query-flag' to nil
818         if last input char was `automatic-all'.  Set new local variable
819         `multi-buffer' to t when one of new two keys were typed.  Return
820         non-nil value of `multi-buffer' that tells to calling functions
821         to continue replacement on the next file.
823         * progmodes/etags.el (tags-query-replace): Set arg `map' of
824         `perform-replace' to `multi-query-replace-map'.
826 2008-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's
829         otherwise displayed in every buffer.
831         * vc-arch.el (vc-arch-trim-make-sentinel): Use a closure.
832         (vc-arch-trim-one-revlib): Delete temp directories as well.
834 2008-07-22  Stephen Eglen  <stephen@gnu.org>
836         * iswitchb.el (iswitchb-delim): New variable, suggested by Ted Roden.
838 2008-07-22  Sven Joachim  <svenjoac@gmx.de>  (tiny change)
840         * vc-dir.el (vc-dir-recompute-file-state): Fix mismatched parenthesis.
842 2008-07-22  Miles Bader  <miles@gnu.org>
844         * progmodes/sh-script.el (sh-newline-and-indent): Remove.
845         (sh-mode-map): Remove remapping of newline-and-indent.
847 2008-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
849         * vc.el (Todo): Update.
851         * vc-hooks.el: Remove obsolete comment.
853         * vc-git.el (vc-git-status-printer): Update the directory display
854         to match the default.
856         * vc-dir.el (vc-dir-recompute-file-state): Add workaround for CVS.
858 2008-07-21  Chong Yidong  <cyd@stupidchicken.com>
860         * menu-bar.el (menu-bar-line-wrapping-menu): Use Visual Line mode
861         for "word wrap" command.
863         * simple.el (visual-line-mode): Disable truncate-partial-width-windows.
865 2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
867         * term/ns-win.el: Rename ns- functions/variables to the
868         corresponding x- versions.
869         (x-select-text, x-cut-buffer-or-selection-value)
870         (x-disown-selection-internal, x-get-selection-internal)
871         (x-own-selection-internal, x-defined-colors, xw-defined-colors)
872         (x-display-mm-width, x-display-mm-height)
873         (x-display-backing-store, x-display-save-under)
874         (x-display-visual-class, x-display-screens, x-focus-frame): Remove
875         defaliases.
877         * frame.el (ns-display-name): Remove declaration.
878         (make-frame-on-display): Use x-display-name instead
879         ns-display-name.  Use unless.
881         * startup.el (command-line-1): Fix indentation.
883         * term/ns-win.el (up-one, down-one, left-one, right-one): Remove,
884         checked in inadvertently.
886 2008-07-21  Chong Yidong  <cyd@stupidchicken.com>
888         * term/ns-win.el: Standardize references to "Nextstep" in
889         comments, messages, and docstrings.
890         (ns-handle-args, x-parse-geometry)
891         (ns-extended-platform-support-mode, x-setup-function-keys)
892         (ns-select-overlay, ns-unselect-line, ns-yes-or-no-p)
893         (ns-set-pasteboard, ns-scroll-bar-move, ns-defined-colors)
894         (ns-initialized, ns-initialize-window-system): Doc fixes.
896 2008-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>
898         * diff-mode.el (diff-auto-refine): Delete defcustom.
899         (diff-auto-refine-mode): New func/var via define-minor-mode.
900         Update var ref to use diff-auto-refine-mode.
901         * smerge-mode.el (diff-mode): Require when compiling.
902         (smerge-auto-refine): Delete defcustom.
903         Update smerge-auto-refine ref to use diff-auto-refine-mode.
905 2008-07-21  Chong Yidong  <cyd@stupidchicken.com>
907         * simple.el (visual-line): New custom group.
908         (visual-line-fringe-indicators): New var.
909         (visual-line-mode): Set fringe-indicator-alist based on
910         visual-line-fringe-indicators.  Add lighter.
912 2008-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
914         * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
915         (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
916         (x-handle-geometry, x-handle-name-switch, x-display-name)
917         (x-handle-display, x-handle-args, x-colors): Move ...
918         * term/common-win.el: ... here.  New file.
919         * term/w32-win.el (x-handle-switch, x-handle-numeric-switch)
920         (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
921         (x-handle-geometry, x-handle-name-switch, x-display-name)
922         (x-handle-display, x-handle-args, x-colors): Remove.
923         * loadup.el: Load term/common-win before term/x-win and term/w32-win.
925 2008-07-19  Juri Linkov  <juri@jurta.org>
927         * startup.el (fancy-startup-text): Move the line "To quit
928         a partially entered command, type Control-g" a few lines below
929         to be after the line "To start".  Add text "at gnu.org" to
930         "Overview of Emacs features".
932         * dired.el (dired-mode-map): Fix menu text of
933         image-dired-display-thumbs.
935         * image-dired.el (image-dired-cmd-create-thumbnail-options)
936         (image-dired-cmd-create-temp-image-options)
937         (image-dired-cmd-create-standard-thumbnail-command): Add > to the
938         ImageMagick command line to change the dimensions of the image
939         only if its width or height exceeds the geometry specification.
941         * longlines.el: Add coding cookie utf-8 for the pilcrow sign.
943         * proced.el (proced-mode, proced): Add \\<proced-mode-map>
944         to docstrings.
946 2008-07-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
948         * term/ns-win.el (ns-ps-print-menu-map): Fix typo pointed out by
949         Vinicius Jose Latorre.
951 2008-07-19  Glenn Morris  <rgm@gnu.org>
953         * term/ns-win.el (ns-make-command-string): Use mapconcat.
954         (ns-save-preferences): Fix typo in previous change.  (Bug#573)
956 2008-07-18  Michael Albinus  <michael.albinus@gmx.de>
958         * net/dbus.el (dbus-interface-properties): New defconst.
959         (dbus-introspect): Update docstring.
960         (dbus-introspect-xml, dbus-introspect-get-attribute)
961         (dbus-introspect-get-node-names, dbus-introspect-get-all-nodes)
962         (dbus-introspect-get-interface-names)
963         (dbus-introspect-get-interface, dbus-introspect-get-method-names)
964         (dbus-introspect-get-method, dbus-introspect-get-signal-names)
965         (dbus-introspect-get-signal, dbus-introspect-get-property-names)
966         (dbus-introspect-get-property)
967         (dbus-introspect-get-annotation-names)
968         (dbus-introspect-get-annotation)
969         (dbus-introspect-get-argument-names, dbus-introspect-get-argument)
970         (dbus-introspect-get-signature, dbus-get-property)
971         (dbus-set-property, dbus-get-all-properties): New defuns.
973 2008-07-18  Chong Yidong  <cyd@stupidchicken.com>
975         * Makefile.in (ELCFILES): Remove ns-carbon-compat.elc.  and
976         ns-grabenv.elc.
978         * ns-carbon-compat.el: File removed.
980         * ns-grabenv.el: File removed.
982         * term/ns-win.el: Contents of ns-carbon-compat.el and
983         ns-grabenv.el moved here.
984         (ns-grabenv, ns-open-file-select-line): Doc fixes.
985         (ns-submit-bug-report): Function removed.  Reports go to the main
986         Emacs bug list.
987         (ns-handle-args, ns-spi-service-call): Doc fixes.
988         (info-ns-emacs): Function removed.  Nextstep port manual will be
989         merged into the Emacs manual, so no separate link needed.
991 2008-07-18  Francesc Rocher  <rocher@member.fsf.org>
993         * startup.el (fancy-splash-head): Fix change of 2008-07-02.
995 2008-07-18  Glenn Morris  <rgm@gnu.org>
997         * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change
998         to XEmacs, since it does nothing for Emacs.
1000 2008-07-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1002         * net/tls.el (open-tls-stream): Make it work with the 2nd argument
1003         BUFFER that is a string but does not exist as a buffer object, as
1004         mentioned in the doc-string.
1006 2008-07-17  Chong Yidong  <cyd@stupidchicken.com>
1008         * simple.el (line-move-visual): Make it a defcustom.
1009         (line-move-1): Convert temporary-goal-column back to an integer if
1010         it was set as a float by a previous call to line-move-visual.
1011         (end-of-visual-line, beginning-of-visual-line)
1012         (next-logical-line, previous-logical-line):  New functions.
1014 2008-07-17  David Reitter  <david.reitter@gmail.com>
1016         * simple.el (kill-visual-line, turn-on-visual-line-mode): New
1017         functions.
1018         (visual-line-mode, global-visual-line-mode): New minor mode.
1019         (visual-line-mode-map): New variable.
1021 2008-07-17  Glenn Morris  <rgm@gnu.org>
1023         * term/ns-win.el (parameters): Declare for compiler.
1025 2008-07-17  Fan Kai  <fktpp@xemacs.org>  (tiny change)
1027         * eshell/esh-arg.el (eshell-quote-backslash): Fix eshell path completion
1028         for Windows.
1030 2008-07-17  Daiki Ueno  <ueno@unixuser.org>
1032         * epa.el (epa-key-list-mode): Use run-mode-hooks.
1033         (epa-key-mode): Ditto.
1034         (epa-info-mode): Ditto.
1036 2008-07-17  Glenn Morris  <rgm@gnu.org>
1038         * term/ns-win.el (ns-handle-switch): Simplify.  Handle the numeric case.
1039         (ns-handle-numeric-switch): Just call ns-handle-switch.
1040         (ns-handle-name-switch, ns-handle-nxopen, ns-handle-nxopentemp)
1041         (ns-handle-args): Simplify using `pop'.
1042         (ns-display-name): Define (used in frame.el).
1043         (menu-bar-select-frame): Add (ignored) arg to more closely match the
1044         original definition.
1045         (ns-perform-service): Declare.
1046         (ns-save-preferences): Use fewer `let's.
1048         * frame.el (ns-display-name): Declare for compiler.
1050 2008-07-17  Kenichi Handa  <handa@m17n.org>
1052         * descr-text.el (describe-char-unidata-list): Initialize to the
1053         list of name, general-category, decomposition, and old-name.
1055 2008-07-16  Adrian Robert  <Adrian.B.Robert@gmail.com>
1057         * startup.el (command-line-1): Update processing of NS long options to
1058         mimic recent changes to processing of X long options.
1060 2008-07-16  Nick Roberts  <nickrob@snap.net.nz>
1062         * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a
1063         list of #defines for remote files.
1064         (gdb-source-info): Only show main if it has been found.
1066 2008-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1068         * term/ns-win.el: Require CL; fix up comment style; reindent.
1069         (ns-define-service): Use subst-char-in-string.  Avoid `eval'.
1070         (ns-save-preferences): Use `case'.
1071         (ns-initialize-window-system): Use `dolist'.
1073 2008-07-16  Adrian Robert  <Adrian.B.Robert@gmail.com>
1075         * loadup.el: Remove load of easy-mmode prior to ns-win when NS
1076         windowing is used.
1077         * term/ns-win.el (ns-extended-platform-support-mode):
1078         Correct/improve documentation.
1080 2008-07-16  Glenn Morris  <rgm@gnu.org>
1082         * emacs-lisp/cl-compat.el, emacs-lisp/cl-macs.el, emacs-lisp/cl-seq.el:
1083         Simply require 'cl (see comment in cl-compat.el).
1084         * emacs-lisp/cl-macs.el (cl-compile-time-init): Remove function.
1085         * emacs-lisp/cl.el (cl-do-pop, cl-mapcar-many): Declare for compiler.
1086         (cl-hack-byte-compiler): Load cl-macs and run cl-hack-bytecomp-hook
1087         directly rather by subterfuge.  Provide cl before loading cl-macs.
1089         * paths.el (rmail-spool-directory): Remove settings for systems that are
1090         no longer supported.
1092         * frame.el (ns-initialize-window-system): Declare for compiler.
1094         * term/ns-win.el: Add numerous declarations for compiler.
1095         (ns-pop-up-frames): Move definition before use.  Doc fix.
1097         * emacs-lisp/check-declare.el (check-declare-locate)
1098         (check-declare-verify): Handle .m files.
1100 2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
1102         * ns-carbon-compat.el: New file: user-visible compatibility of
1103         NeXTstep port with Carbon port.
1104         * ns-grabenv.el: New file: functionality useful on OS X platform to
1105         expose environment variables inside Emacs started from icon.
1106         * Makefile.in (ELCFILES): Add ns-carbon-compat, ns-grabenv, ns-win.
1107         * cus-edit.el:
1108         * cus-face.el:
1109         * disp-table.el:
1110         * faces.el:
1111         * info.el:
1112         * mouse.el:
1113         * mwheel.el:
1114         * simple.el: Add ns to window systems treated as GUIs.
1115         * facemenu.el (facemenu-read-color): Don't require a name match under
1116         NS, to allow numeric color entry.
1117         * frame.el (make-frame-on-display): Follow code for 'x in initializing
1118         'ns window system if need be.
1119         (various): Add 'ns as described above.
1120         * loadup.el: Load ns-win.el, easy-menu.el, easy-mmode.el if
1121         ns-windowing is active.
1122         * startup.el (command-line-ns-option-alist): New constant to handle NS
1123         windowing system specific command line args analogous to how they are
1124         handled for X windows.
1125         (command-line-1): Use the above where appropriate.
1126         * version.el: Add NS port version.
1127         * woman.el (woman-man.conf-path): Add /usr/share/misc to init path on
1128         Darwin (usually OS X) systems.
1129         (woman-use-own-frame): Include 'ns in list of GUI window systems.
1130         * emulation/viper-util.el (ns-display-color-p)
1131         (ns-color-defined-p): Remove these (caustically-commented) outdated
1132         compensations for a port that was never itself integrated until now.
1133         * gnus/gnus-util.el (gnus-select-frame-set-input-focus): Add support
1134         for NS window system.
1135         * international/mule-cmds.el: Add 'ns to list of special-cased window
1136         systems (probably most of these, x/w32/mac/ns could be changed to
1137         window-system non-nil).
1138         * term/ns-win.el: New file: lisp-side support for NS windowing system.
1140 2008-07-14  Jason Rumney  <jasonr@gnu.org>
1142         * term/w32-win.el (x-handle-switch, x-handle-name-switch)
1143         (x-handle-numeric-switch, x-handle-initial-switch)
1144         (x-handle-xrm-switch, x-handle-args, x-handle-display)
1145         (xw-defined-colors, w32-initialize-window-system):
1146         Avoid use of cl pop and push macros.
1148 2008-07-14  Martin Rudalics  <rudalics@gmx.at>
1150         * add-log.el (change-log-goto-source): Avoid wrong-type-argument
1151         error when change-log-search-file-name returns nil.
1153 2008-07-13  Martin Rudalics  <rudalics@gmx.at>
1155         * add-log.el (change-log-search-file-name):
1156         Use match-string-no-properties.
1157         (change-log-search-tag-name-1, change-log-search-tag-name)
1158         (change-log-goto-source-1, change-log-goto-source): New functions.
1159         (change-log-tag-re, change-log-find-head, change-log-find-tail):
1160         New variables.
1161         (change-log-mode-map): Bind C-c C-c to change-log-goto-source.
1163 2008-07-13  Jay Belanger  <jay.p.belanger@gmail.com>
1165         * calc/calc-help.el (calc-describe-key): Add angles to special key
1166         descriptions.
1168 2008-07-13  Vincent Belaïche  <vincent.b.1@hotmail.fr>
1170         * calc/calc-help.el (calc-describe-thing): Use `re-search-forward' to
1171         search for regexp.
1173 2008-07-12  Chong Yidong  <cyd@stupidchicken.com>
1175         * simple.el (line-move-visual): Handle null pixel position gracefully.
1177 2008-07-11  Jason Rumney  <jasonr@gnu.org>
1179         * files.el (file-truename): Get truename of ancestors if file does
1180         not exist on Windows.
1182 2008-07-11  Chong Yidong  <cyd@stupidchicken.com>
1184         * simple.el (line-move-visual): Obey goal-column and no-error arg.
1185         (track-eol, temporary-goal-column, previous-line, next-line):
1186         Update docstring.
1187         (move-end-of-line, move-beginning-of-line): Bind line-move-visual
1188         to nil.
1190 2008-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1192         * simple.el (line-move-visual): New var.
1193         (line-move-visual): New function.
1194         (line-move): Call line-move-visual.
1196 2008-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
1198         * progmodes/grep.el (grep-files-aliases): Improve the C++ source
1199         pattern and add patterns for C++ header files.
1201 2008-07-10  Chong Yidong  <cyd@stupidchicken.com>
1203         * window.el (truncated-partial-width-window-p): New function.
1205         * menu-bar.el: Remove Longlines mode from menu.  Add word-wrap option.
1207         * faces.el (x-create-frame-with-faces): Don't pass parameters that
1208         are set later to x-create-frame.
1209         (face-set-after-frame-default): Apply X resources for non-default
1210         faces.
1212 2008-07-08  Chong Yidong  <cyd@stupidchicken.com>
1214         * faces.el (face-set-after-frame-default): Simplify.  Don't apply
1215         frame-specific X resource settings.  Set faces using a list of
1216         frame parameters explicitly passed to the calling
1217         function (e.g. make-frame).
1218         (x-create-frame-with-faces, tty-create-frame-with-faces): Supply
1219         explicit frame parameter list to face-set-after-frame-default.
1221 2008-07-08  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
1223         * net/browse-url.el (browse-url-default-browser):
1224         Fix argument list in lambda.
1226 2008-07-07  Ulf Jasper  <ulf@web.de>
1228         * net/newst-backend.el (newsticker--get-news-by-url): Catch errors
1229         from url-retrieve.
1230         (newsticker--sentinel-work): Fix xerror typo.
1232 2008-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
1234         * vc-dir.el (vc-dir-refresh): Only update files.
1236         * vc-git.el (vc-git--ls-files-state): Remove unused function.
1238         * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
1240 2008-07-06  John Paul Wallington  <jpw@pobox.com>
1242         * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes.
1244 2008-07-05  Alexandre Julliard  <julliard@winehq.org>
1246         * vc-git.el (vc-git-registered): Return true for removed files.
1247         (vc-git-print-log, vc-git-log-view-mode): Print a single log for
1248         all the files instead of one per file.
1249         (vc-git-previous-revision): Add support for project-wide previous
1250         revision when specified file is nil.
1252 2008-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
1254         * vms-patch.el, vmsproc.el, mail/vms-pmail.el: Move to obsolete dir.
1256         * vc-dir.el (vc-dir-find-child-files): New function.
1257         (vc-dir-resync-directory-files): New function.
1258         (vc-dir-recompute-file-state): New function, broken out of ...
1259         (vc-dir-resynch-file): ... here.  Also deal with directories.
1260         * vc-dispatcher.el (vc-resynch-buffers-in-directory): New function.
1261         (vc-resynch-buffer): Use it.
1263         * vc-hg.el (vc-hg-registered): Do not set vc-state.
1265         * vc-annotate.el (vc-annotate-mode-menu): Add separator.
1267 2008-07-05  Nick Roberts  <nickrob@snap.net.nz>
1269         * progmodes/gdb-ui.el (gdb-display-buffer): Don't split a buffer
1270         if it's not part of gdb-ui, e.g, at start.
1272         * progmodes/gud.el (gud-gdb-get-stackframe): Allow absolute
1273         filenames in stack trace (text command mode).
1275 2008-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1277         * mouse-drag.el (mouse-drag-throw, mouse-drag-drag): Autoload.
1279         * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
1280         Use syntax-ppss on a position *before* the char we want to change.
1282 2008-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
1284         * vc-dir.el (vc-dir-query-replace-regexp): New function.
1285         (vc-dir-tool-bar-map, vc-dir-menu-map): Bind it.
1286         (vc-dir-mode-map): Likewise.
1288 2008-07-03  Juanma Barranquero  <lekktu@gmail.com>
1290         * eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring.
1291         (eshell-parse-argument-hook, eshell-special-chars-inside-quoting)
1292         (eshell-arg-load-hook, eshell-special-chars-outside-quoting):
1293         Remove spurious * in defcustom docstrings.
1295         * textmodes/fill.el (fill-paragraph): Fix typo in docstring.
1296         (fill-individual-varying-indent, colon-double-space, enable-kinsoku)
1297         (adaptive-fill-mode, adaptive-fill-first-line-regexp)
1298         (default-justification): Remove spurious * in defcustom docstrings.
1300         * textmodes/rst.el (rst, rst-line-homogeneous-p, rst-mode-abbrev-table)
1301         (rst-font-lock-keywords-function, rst-mode, rst-minor-mode)
1302         (rst-compare-decorations, rst-default-indent, rst-update-section)
1303         (rst-decoration-complete-p, rst-section-tree, rst-toc-insert-node)
1304         (rst-toc-insert-find-delete-contents, rst-toc-count-lines)
1305         (rst-toc-mode-goto-section, rst-faces, rst-level-face-base-color):
1306         Fix typos in docstrings.
1307         (rst-mode-lazy): Fix typo in docstring.  Remove spurious *.
1308         (rst-adjust, rst-line-homogeneous-p, rst-suggest-new-decoration)
1309         (rst-get-decorations-around, rst-section-tree-point)
1310         (rst-font-lock-adornment-point): Reflow docstrings.
1311         (rst-get-decoration, rst-get-decoration-match, rst-adjust-decoration):
1312         Doc fixes.
1313         (rst-re-enumerations): Comment out.
1315         * nxml/nxml-glyph.el (nxml-glyph-set-hook):
1316         * nxml/nxml-uchnm.el (nxml-unicode-blocks)
1317         (nxml-unicode-block-char-name-set):
1318         * nxml/nxml-util.el (nxml-debug, nxml-make-namespace):
1319         * nxml/rng-nxml.el (rng-set-state-after):
1320         * nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring.
1322         * nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary)
1323         (rng-c-parse-annotation-body):
1324         * nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings.
1326         * nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1)
1327         (nxml-extend-region, nxml-merge-indent-context-type, nxml-complete)
1328         (nxml-forward-balanced-item, nxml-dynamic-markup-word)
1329         (nxml-define-char-name-set, nxml-toggle-char-ref-extra-display):
1330         Fix typos in docstrings.
1331         (nxml-attribute-indent): Reflow docstring.
1332         (nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end)
1333         (nxml-default-buffer-file-coding-system): Doc fixes.
1335         * nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state)
1336         (nxml-ns-set-prefix): Fix typos in docstrings.
1337         (nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default):
1338         Reflow docstring.
1339         (nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes.
1341         * nxml/nxml-outln.el (nxml-hide-all-text-content)
1342         (nxml-show-direct-text-content, nxml-show-direct-subheadings)
1343         (nxml-hide-direct-text-content, nxml-hide-subheadings)
1344         (nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other)
1345         (nxml-outline-display-rest, nxml-outline-set-overlay)
1346         (nxml-section-tag-forward, nxml-section-tag-backward)
1347         (nxml-back-to-section-start): Fix typos in docstrings.
1349         * nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file):
1350         Doc fixes.
1352         * nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards)
1353         (nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes.
1354         (nxml-scan-after-change): Fix typo in docstring.
1356         * nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list)
1357         (rng-name-class-possible-names): Doc fixes.
1358         (rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris)
1359         (rng-match-possible-start-tag-names, rng-match-possible-value-strings):
1360         Fix typos in docstrings.
1361         (rng-intern-group-shortcut, rng-intern-choice-shortcut):
1362         Reflow docstrings.
1364         * nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes.
1365         (rng-substq, rng-complete-before-point): Fix typos in docstrings.
1367         * nxml/rng-xsd.el (rng-xsd-make-date-time-regexp)
1368         (rng-xsd-convert-date-time): Reflow docstrings.
1369         (rng-xsd-compile): Fix typo in docstring.
1371         * nxml/rng-loc.el (rng-current-schema-file-name)
1372         (rng-locate-schema-file-using, rng-locate-schema-file-from-type-id):
1373         Doc fixes.
1374         (rng-set-schema-file): Fix typo in docstring.
1376         * nxml/rng-valid.el (rng-error-count, rng-validate-mode)
1377         (rng-do-some-validation, rng-process-start-tag, rng-process-text):
1378         Fix typos in docstrings.
1379         (rng-message-overlay, rng-conditional-up-to-date-start)
1380         (rng-conditional-up-to-date-end): Doc fixes.
1381         (rng-next-error, rng-previous-error): Reflow docstrings.
1383         * nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix.
1384         (xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs)
1385         (xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog)
1386         (xmltok-merge-attributes): Fix typos in docstrings.
1387         (xmltok-make-attribute, xmltok-forward-special)
1388         (xmltok-get-declared-encoding-position): Reflow docstrings.
1390         * nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix.
1391         (xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp):
1392         Fix typos in docstrings.
1394 2008-07-02  John Paul Wallington  <jpw@pobox.com>
1396         * ibuffer.el (ibuffer-buffer-file-name):
1397         Use `list-buffers-directory'.  Remove special-casing for `cvs-mode'
1398         and `vc-dir-mode'.  Suggested by Dan Nicolaescu.
1400 2008-07-02  Toru Tsuneyoshi  <t_tuneyosi@hotmail.com>
1402         * files.el (backup-extract-version): Handle versioned directories.
1403         (trash-directory): New variable.
1404         (move-file-to-trash): New function.
1406         * cus-start.el (delete-by-moving-to-trash): Declare for custom.
1408 2008-07-02  Magnus Henoch  <mange@freemail.hu>
1410         * vc-git.el (vc-git-annotate-command): Use proper option for
1411         specifying revision.
1413 2008-07-02  Francesc Rocher  <rocher@member.fsf.org>
1415         * startup.el (fancy-splash-head): Prefer SVG or PNG splash image,
1416         if available.
1418 2008-07-01  Dan Nicolaescu  <dann@ics.uci.edu>
1420         * uniquify.el (uniquify-list-buffers-directory-modes): Add vc-dir-mode.
1422         * vc-annotate.el (vc-annotate-mode-map): Use lower case keys.
1423         Add binding for vc-annotate-show-changeset-diff-revision-at-line.
1425         * vc-dir.el (vc-dir-mode): Set list-buffers-directory.
1427 2008-07-01  Nick Roberts  <nickrob@snap.net.nz>
1429         * progmodes/gdb-ui.el (gdb-create-source-file-list): New option.
1430         (gdb-init-2): Use it.  Don't run gdb-mode-hook again.
1431         (gdb-var-list-children-regexp, gdb-var-update-regexp)
1432         (gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
1433         (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
1434         (gdb-stack-list-locals-regexp): Future proof regexps better.
1436 2008-06-30  Juri Linkov  <juri@jurta.org>
1438         * faces.el (face-name-history): New variable.
1439         (make-face, make-empty-face): Replace interactive spec "S"
1440         with `read-from-minibuffer' where `read' arg is t and
1441         `hist' arg is `face-name-history'.
1442         (read-face-name): Set `hist' arg of `completing-read-multiple'
1443         to `face-name-history'.
1444         (list-faces-display): Use `read-regexp' instead of `read-string'
1445         to read regexp.
1447         * hi-lock.el (hi-lock-regexp-history): Make it an obsolete alias
1448         to `regexp-history'.
1449         (hi-lock-face-history): Rename to `hi-lock-face-defaults' and
1450         make it an obsolete alias to it.
1451         (hi-lock-face-defaults): New variable renamed from
1452         `hi-lock-face-history'.
1453         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1454         (hi-lock-face-phrase-buffer): Use `read-regexp' instead of
1455         `read-from-minibuffer'.  Doc fix.
1456         (hi-lock-read-face-name): Replace `hi-lock-face-history' with
1457         `hi-lock-face-defaults'.  Remove `mapcar (lambda (f) (cons f f))'.
1458         Set `hist' arg of `completing-read' to `face-name-history'.
1459         Put a list of default faces to `default' arg instead of `hist' arg.
1461         * bindings.el (abbrev-map, narrow-map): New variables.
1462         Bind `C-x a' to `abbrev-map' and `C-x n' to `narrow-map'.
1463         Rebind related commands to these new maps.
1464         (ctl-x-r-map): New variable for rectangle, register and bookmark
1465         keys.  Move rectangle keybindings to rect.el and register
1466         keybindings to register.el.
1467         (next-buffer, previous-buffer): Remove C-x prefix and move
1468         keybindings to ctl-x-map.
1470         * bookmark.el: Rebind three global `C-x r' keys "b", "m", "l"
1471         to the new map `ctl-x-r-map'  in autoload cookies.
1473         * expand.el: Rebind two global `C-x a' keys "n", "p"
1474         to the new map `abbrev-map' in autoload cookies.
1476         * rect.el: Bind global keys to ctl-x-r-map in autoload cookies.
1478         * register.el: Bind global keys to ctl-x-r-map in autoload cookies.
1480 2008-06-30  Miles Bader  <miles@gnu.org>
1482         * net/rcirc.el (rcirc-markup-attributes): Don't skip a character
1483         after processing an escape sequence.
1485 2008-06-29  Michael Albinus  <michael.albinus@gmx.de>
1487         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch
1488         from 2008-06-28.  It does not work on W32.
1490 2008-06-29  Juri Linkov  <juri@jurta.org>
1492         * replace.el (read-regexp): New function.
1493         (keep-lines-read-args, occur-read-primary-args):
1494         Call `read-regexp' instead of code moved to new function.
1495         (keep-lines, flush-lines, how-many): Remove parenthesis and colon
1496         from the end of prompt.
1497         (replace-re-search-function): Doc fix.
1499 2008-06-29  Kenichi Handa  <handa@m17n.org>
1501         * descr-text.el (describe-char-display): Always return a string.
1502         (describe-char-padded-string): New function.
1503         (describe-char): Adjusted for the change of
1504         describe-char-display.  Use describe-char-padded-string.
1506 2008-06-29  Andreas Schwab  <schwab@suse.de>
1508         * vc-dir.el (vc-dir): Make backend argument optional and use
1509         vc-responsible-backend when nil.  Interactively pass nil for
1510         backend instead of using the backend of what happens to be
1511         default-directory at the time of the call.
1513         * find-dired.el (find-dired-filter): Preserve point.
1515 2008-06-28  Juanma Barranquero  <lekktu@gmail.com>
1517         * net/sasl.el (sasl-client-set-property, sasl-make-mechanism)
1518         (sasl-find-mechanism, sasl-next-step):
1519         * net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request)
1520         (sasl-ntlm-response): Fix typos in docstrings.
1522 2008-06-28  robert marshall  <robert@capuchin.co.uk>  (tiny change)
1524         * international/mule-cmds.el (view-hello-file): Doc fix.
1526 2008-06-28  Chong Yidong  <cyd@stupidchicken.com>
1528         * faces.el (inhibit-face-set-after-frame-default): Var deleted.
1529         (set-face-attribute, face-set-after-frame-default)): Don't use it.
1531 2008-06-28  John Paul Wallington  <jpw@pobox.com>
1533         * calc/calc.el (defmath): Add `doc-string' decl.  Add docstring.
1535 2008-06-28  Michael Albinus  <michael.albinus@gmx.de>
1537         * net/tramp.el (tramp-handle-file-modes): Handle symlinks.
1538         (tramp-convert-file-attributes): Convert symlinks only when
1539         returned from `tramp-handle-file-attributes-with-stat'.
1541         * net/tramp-ftp.el (top): Delete 'ange-ftp property from
1542         `substitute-in-file-name' when unloading.
1543         (tramp-ftp-file-name-handler): Set `tramp-mode' to nil.
1545 2008-06-28  Dan Nicolaescu  <dann@ics.uci.edu>
1547         * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
1548         (vc-string-prefix-p): Move function ...
1549         * vc.el (vc-string-prefix-p): ... here.
1551 2008-06-27  Juanma Barranquero  <lekktu@gmail.com>
1553         * vc-dir.el (vc-dir): Complete only directory names.
1555 2008-06-27  Jason Rumney  <jasonr@gnu.org>
1557         * w32-fns.el (top-level): Unconditionally define all charsets.
1559 2008-06-27  Alan Mackenzie  <acm@muc.de>
1561         * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to
1562         the CC Mode specific functions; this is no longer needed, since
1563         {beginning,end}-of-defun now pass ARG to ...-of-defun-function.
1565         * progmodes/cc-defs.el (c-emacs-features): New feature
1566         'argumentative-bod-function.
1568 2008-06-27  John Paul Wallington  <jpw@pobox.com>
1570         * chistory.el (list-command-history): Use `bound-and-true-p'.
1571         (command-history-map): Define within defvar.  Add docstring.
1573 2008-06-27  Juanma Barranquero  <lekktu@gmail.com>
1575         * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
1576         to unibyte; just assume it is not a JPEG.  Use `string-match-p'.
1577         (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
1578         (image-type-from-buffer): Use `looking-at-p'.
1580 2008-06-27  Juanma Barranquero  <lekktu@gmail.com>
1582         * ibuf-ext.el (diff-sentinel): Declare.
1584 2008-06-27  Glenn Morris  <rgm@gnu.org>
1586         * calendar/lunar.el (calendar-lunar-phases): Rename from
1587         calendar-phases-of-moon.  Keep old name as alias, update callers.
1588         (lunar-phases): Rename from phases-of-moon.  Keep old name as alias.
1589         (diary-lunar-phases): Rename from diary-phases-of-moon.
1590         Keep old name as alias.
1591         * calendar/cal-menu.el (cal-menu-sunmoon-menu)
1592         (cal-menu-global-mouse-menu): Update for lunar name changes.
1593         * calendar/calendar.el (calendar-mode-map): Update for name change.
1594         * calendar/diary-lib.el (diary-list-sexp-entries): Doc update.
1596 2008-06-26  Glenn Morris  <rgm@gnu.org>
1598         * calendar/solar.el (solar-sunrise-sunset-string): Add optional
1599         argument `nolocation'.
1600         (calendar-sunrise-sunset-month): New function.
1601         * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from
1602         cal-menu-moon-menu.  Add calendar-sunrise-sunset-month.
1603         (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
1604         * calendar/calendar.el (solar-sunrises-buffer): New constant.
1605         (calendar-mode-map): Use cal-menu-sunmoon-menu.
1606         (calendar-buffer-list): Add solar-sunrises-buffer.
1608         * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name.
1610 2008-06-26  Chong Yidong  <cyd@stupidchicken.com>
1612         * cus-start.el: Add customization types for word-wrap and
1613         shift-select-mode.
1615 2008-06-26  John Paul Wallington  <jpw@pobox.com>
1617         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function.
1618         (ibuffer-diff-with-file): Use it.  Do diff on marked buffers.
1619         (ibuffer-mark-on-buffer): Don't display message when removing marks.
1620         (ibuffer-mark-by-mode): Use `buffer-local-value'.
1622 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
1624         * vc-dir.el (tool-bar): Require.
1626         * vc.el (ewoc, tool-bar): Do not require.
1628 2008-06-26  Kenichi Handa  <handa@m17n.org>
1630         * international/mule-cmds.el (encode-coding-char): Fix for ASCII
1631         characters.
1633         * composite.el (terminal-composition-base-character-p): New function.
1634         (terminal-composition-function):
1635         Use terminal-composition-base-character-p.  Include the base character
1636         in the composition.
1637         (auto-compose-chars): Don't check font-object for terminal display.
1639 2008-06-26  Glenn Morris  <rgm@gnu.org>
1641         * doc-view.el (bookmark-make-record-default):
1642         * image-mode.el (bookmark-make-record-default): Fix declaration.
1644         * calendar/calendar.el (calendar-date-echo-text): Doc fix.
1645         Add default :value for sexp type.
1646         (calendar-month-edges): New variable.
1647         (calendar-month-edges): New function.
1648         (calendar-recompute-layout-variables): Set calendar-month-edges.
1649         (calendar-intermonth-header, calendar-intermonth-text): New options.
1650         (calendar-insert-at-column): New function.
1651         (calendar-generate-month): Use calendar-insert-at-column.
1652         Handle intermonth text.  Add 'date property.
1653         (calendar-column-to-month): Remove function.
1654         (calendar-column-to-segment): New function.
1655         (calendar-cursor-to-date): Use calendar-column-to-segment.
1656         Check 'date property.
1658         * calendar/calendar.el (calendar-print-other-dates):
1659         Handle mouse events.
1660         * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
1661         (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
1663         * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events.
1664         * calendar/cal-menu.el (calendar-mouse-holidays): Remove function.
1665         (cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
1667         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
1668         Use calendar-column-to-segment, calendar-month-edges, and
1669         the 'date property to handle intermonth text.
1671         * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
1673         * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
1674         (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
1675         Add doc strings.
1676         (cal-menu-context-mouse-menu): Add some :keys.
1677         (calendar-check-holidays): Declare rather than autoloading.
1678         (diary-show-holidays-flag): Remove unneeded declaration.
1680         * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
1681         * calendar/calendar.el (calendar-cursor-to-date): Handle case where
1682         event-start is nil.
1684 2008-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1686         * minibuffer.el (completion-basic-try-completion): Use the text after
1687         point to constrain the completion candidates.
1688         (completion-basic-all-completions): Adjust accordingly.
1690 2008-06-25  Chong Yidong  <cyd@stupidchicken.com>
1692         * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of
1693         courier.
1695         * faces.el (set-face-attribute): Doc fix.
1697 2008-06-25  Juri Linkov  <juri@jurta.org>
1699         * bindings.el (goto-map): New variable.  Rebind goto-related
1700         commands to this `M-g' prefix keymap.
1701         (search-map): New variable for `M-s' prefix keymap.
1702         Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to
1703         `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp',
1704         `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns',
1705         `M-shw' to `hi-lock-write-interactive-patterns'.
1707         * isearch.el (isearch-mode-map): Bind `M-s h r' to
1708         `isearch-highlight-regexp'.
1709         (isearch-highlight-regexp): New function.
1711 2008-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1713         * info.el (Info-bookmark-make-record):
1714         Use bookmark-make-record-default.
1715         (Info-bookmark-jump): Use bookmark-default-handler.
1717         * image-mode.el (image-bookmark-make-record):
1718         Use bookmark-make-record-default.
1719         (image-bookmark-jump): Use bookmark-default-handler.
1721         * doc-view.el (doc-view-bookmark-make-record):
1722         Use bookmark-make-record-default.
1723         (doc-view-bookmark-jump): Use bookmark-default-handler.
1725         * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
1726         used until now in bookmark.el's code.
1727         (bookmark-get-bookmark): Accept bookmark names or bookmark records.
1728         (bookmark-get-bookmark-record): Allow the 2 slightly different formats
1729         used until now in bookmark.el's code.
1730         (bookmark-set-filename): Remove special code, moved to its only caller.
1731         (bookmark-store): Use the newer format.
1732         (bookmark-make-record-default): Add arg `point-only'.
1733         Rename from bookmark-make-record-for-text-file.
1734         (bookmark--jump-via): New function.
1735         (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
1736         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
1737         Use it.
1738         (bookmark-jump-noselect, bookmark-default-handler):
1739         Don't return an alist, instead return the data implicitly by changing
1740         current buffer and point.  Signal an error if the file doesn't exist.
1742         * buff-menu.el: Use with-current-buffer and inhibit-read-only.
1743         (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
1745         * bs.el: Use with-current-buffer.  Simplify.
1746         (bs-toggle-readonly): Avoid vc-toggle-read-only.
1748         * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command
1749         is bound before using it.
1751 2008-06-25  Kenichi Handa  <handa@m17n.org>
1753         * image.el (image-jpeg-p): Convert DATA to unibyte at first.
1755 2008-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
1757         * vc-hg.el:
1758         * vc-git.el: Require vc-dir when compiling.
1760         * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
1761         vc-dir-marked-only-files.  Change the return value.
1762         (vc-dir-child-files-and-states): Rename from vc-dir-child-files.
1763         Change the return value.
1764         (vc-dir-deduce-fileset): New function broken out from ...
1765         * vc.el (vc-deduce-fileset): ... here and ...
1766         (vc-deduce-fileset): ... here.
1768         * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler.
1769         (vc-svn-parse-status): Do not set the vc-backend property.
1771 2008-06-25  Andreas Schwab  <schwab@suse.de>
1773         * faces.el (face-font-family-alternatives, variable-pitch):
1774         Use "Sans Serif", not "Sans-Serif".
1776 2008-06-24  Chong Yidong  <cyd@stupidchicken.com>
1778         * faces.el (face-font-family-alternatives, variable-pitch):
1779         Change "Sans" to the canonical name "Sans-Serif".
1781 2008-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
1783         * calc/calc.el (calc-mode-map): Add extra keybindings to
1784         `calc-missing-key'.
1785         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
1786         `kill-ring-save'.
1788 2008-06-24  Miles Bader  <miles@gnu.org>
1790         * mouse.el (mouse-appearance-menu): Don't do anything if the user
1791         pops up the menu but doesn't select anything.
1793 2008-06-24  Dan Nicolaescu  <dann@ics.uci.edu>
1795         * add-log.el (add-change-log-entry): Add new arg to force each new
1796         entry to be on a new line.
1797         * diff-mode.el (diff-add-change-log-entries-other-window): Use it.
1799         * vc-dir.el (vc-client-object): Remove.
1800         (vc-dir-prepare-status-buffer): Take a backend as an argument and
1801         use it when looking for a buffer.
1802         (vc-dir): Add a backend argument.  Set revert-buffer-function.
1803         Don't create a client object.  Move bindings ...
1804         (vc-dir-menu-map, vc-dir-mode-map): ... here.
1805         (vc-dir-revert-buffer-function): New function.
1806         (vc-generic-status-printer): Rename to ...
1807         (vc-dir-status-printer): ... this.
1808         (vc-generic-state, vc-generic-status-fileinfo-extra)
1809         (vc-dir-extra-menu, vc-make-backend-object): Remove.
1810         (vc-default-status-printer): Use a different face for
1811         directories.  Don't display any text for directories in the state
1812         column.  Add tooltips.
1814         * vc.el (Todo): Update.
1816         * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
1817         * vc-rcs.el (vc-annotate-convert-time):
1818         * vc-mtn.el (vc-annotate-convert-time):
1819         * vc-git.el (vc-annotate-convert-time):
1820         * vc-cvs.el (vc-annotate-convert-time):
1821         * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
1823 2008-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
1825         * vc-annotate.el (vc-annotate-mode): Derive from special-mode
1826         instead of using view-mode.
1828 2008-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1830         * Makefile.in (distclean): Don't delete *.elc and autogen files.
1832 2008-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
1834         * vc.el:
1835         * vc-hooks.el:
1836         * vc-dispatcher.el: Move vc-dir variables and functions ...
1837         * vc-dir.el: ... here.  New file.
1838         * Makefile.in (ELCFILES): Add vc-dir.elc.
1840         * vc.el: Move vc-annotate variables and functions ...
1841         * vc-annotate.el: ... here.  New file.
1842         * Makefile.in (ELCFILES): Add vc-annotate.elc.
1844         * vc-dav.el: Move here from url/vc-dav.el.
1845         (Todo): Note work needed to make this backend functional.
1847         * Makefile.in (ELCFILES): Update vc-dav.el location.
1849 2008-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1851         * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
1853 2008-06-21  John Paul Wallington  <jpw@pobox.com>
1855         * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
1857         * textmodes/rst.el (rst-mode): Put docstring in right place.
1859 2008-06-21  Chong Yidong  <cyd@stupidchicken.com>
1861         * startup.el (fancy-about-text, fancy-startup-tail): Increase text
1862         size for legibility.
1864         * faces.el (fixed-pitch): Use "Monospace" family.
1865         (variable-pitch): Use "Sans" family.
1866         (face-font-family-alternatives): Define alternatives for "Sans"
1867         and "Monospace".
1869 2008-06-21  Glenn Morris  <rgm@gnu.org>
1871         * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el:
1872         Require 'cl when compiling.
1874         * emacs-lisp/debug.el (help-xref-interned): Declare.
1876         * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents):
1877         Evaluate definition when compiling.
1879         * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1
1880         rather than mouse-1.
1881         (bug-reference-url-format): Autoload safe if string.
1882         (bug-reference-bug-regexp): Make space after "bug" optional.
1884         * Makefile.in (all): Explicitly pass EMACS to sub-make,
1885         for some non-GNU makes.
1887         * cus-dep.el (custom-dependencies-no-scan-regexp):
1888         * finder.el (finder-no-scan-regexp): Add ldefs-boot.el
1890         * calendar/cal-move.el (calendar-forward-day): Scroll in one month
1891         increments.
1893         * calendar/calendar.el: Factor out the magic numbers controlling the
1894         calendar layout.
1895         (calendar-month-digit-width, calendar-month-width)
1896         (calendar-right-margin): New variables.
1897         (calendar-recompute-layout-variables, calendar-set-layout-variable):
1898         New functions.
1899         (calendar-left-margin, calendar-intermonth-spacing)
1900         (calendar-column-width, calendar-day-header-width)
1901         (calendar-day-digit-width): New options.
1902         (calendar-first-date-row): New constant.
1903         (calendar-move-to-column, calendar-ensure-newline): New functions,
1904         replacing calendar-insert-indented.
1905         (calendar-insert-indented): Remove function.
1906         (calendar-generate-month): Use calendar-move-to-column and
1907         calendar-ensure-newline.  Use layout variables.
1908         (calendar-generate, calendar-update-mode-line)
1909         (calendar-font-lock-keywords): Use layout variables.
1910         (calendar-column-to-month): New function.
1911         (calendar-cursor-to-date): Use calendar-column-to-month.
1912         Use layout variables.
1913         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
1914         Use layout variables.  Use calendar-column-to-month.
1915         (calendar-cursor-to-visible-date): Use layout variables.
1917 2008-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1919         * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
1920         (all): Run compile-last.
1921         (compile-onefile): New target.
1922         (compile-first): Simplify.
1923         (compile-last): Don't treat COMPILE_FIRST specially.
1924         (COMPILE_FIRST): List the elc files rather than the el files.
1925         (ELCFILES): Update.
1927 2008-06-21  Ulf Jasper  <ulf@web.de>
1929         * net/newst-treeview.el: Remove dead code.
1930         (newsticker--window-config): Remove.
1931         (newsticker-treeview-quit): Do not save window config.
1932         (newsticker-treeview): Do not try to restore window config.
1933         (newsticker-groups, newsticker--treeview-list-sort-by-column)
1934         (newsticker--treeview-list-new-items)
1935         (newsticker--treeview-list-immortal-items)
1936         (newsticker--treeview-list-obsolete-items)
1937         (newsticker--treeview-list-all-items)
1938         (newsticker--treeview-list-feed-items): Fix documentation.
1940 2008-06-21  Miles Bader  <miles@gnu.org>
1942         * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil.
1944 2008-06-21  Alan Mackenzie  <acm@muc.de>
1946         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an
1947         infinite loop on invalid syntax.
1949 2008-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1951         * textmodes/rst.el: Run rst-define-level-faces when loading.
1952         (rst-mode): Don't set the font-lock-multiline var.
1953         (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
1954         Set the font-lock-multiline property by hand.
1956         * loadup.el: Don't add emacs-<VERS> name when bootstrapping.
1958         * Makefile.in (emacs-deps): Remove.
1959         ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
1960         (all): Use them.
1961         (autogen-clean): Remove.
1963 2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1965         * Makefile.in (all): New target.
1966         (bootstrap-prepare): Remove.
1968         * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not
1969         the .elc file to batch-byte-compile.
1971         * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
1972         set-keymap-parents if set-keymap-parent doesn't exist.
1974         * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
1975         Allow more than one space before the |.
1977         * textmodes/rst.el: Fix up docstring conventions.
1978         Move vars to before their first use.
1979         (rst-mode): Don't mess with font-lock-support-mode.
1980         (rst-suggest-new-decoration, rst-adjust-decoration):
1981         Avoid CL's copy-list.
1982         (rst-delete-entire-line): Use line-beginning-position.
1983         (rst-position): New fun.
1984         (rst-straighten-decorations): Use it instead of CL's position.
1985         (rst-straighten-bullets-region): Avoid CL's mapcar*.
1986         (rst-toc-mode): Use define-derived-mode.
1987         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
1988         Remove unused var `in-par'.  Use `point' rather than `point-marker'.
1989         (rst-line-block-region): Reduce redundancy.  Use the `pfxarg' arg.
1990         (rst-replace-lines): Simplify.
1991         (auto-mode-alist): Use rst-mode for *.rst and *.rest files.
1993         * simple.el (special-mode-map): New var.
1994         (special-mode): New major mode.
1996 2008-06-20  Dan Nicolaescu  <dann@ics.uci.edu>
1998         * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
1999         log-view-file-re.
2001         * vc.el (vc-dir-hide-up-to-date): Undo previous change.
2002         (vc-switch-backend): Simplify.
2003         (Todo): Remove solved items.
2005         * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
2006         the vc-backend property.
2008 2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2010         * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
2011         Bind inhibit-read-only since the buffer is always read-only.
2013 2008-06-20  Ulf Jasper  <ulf@web.de>
2015         * net/newst-treeview.el (newsticker-treeview-own-frame):
2016         Change default value to nil.
2017         (newsticker--treeview-list-add-item)
2018         (newsticker--treeview-propertize-tag): Show item title in tooltip.
2020 2008-06-20  Martin Blais  <blais@furius.ca>
2021             Stefan Merten  <smerten@oekonux.de>
2022             David Goodger  <goodger@python.org>
2024         * textmodes/rst.el: New file.
2026 2008-06-20  Sam Steingold  <sds@gnu.org>
2028         * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also
2029         remove DIRECTORY entries.
2031 2008-06-20  Eli Zaretskii  <eliz@gnu.org>
2033         * makefile.w32-in (distclean): Depend on `clean'.
2034         (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~.
2035         (AUTOGENEL): Add $(lisp)/nxml/subdirs.el.
2036         ($(lisp)/cus-load.el): Don't use `touch'.  Instead, generate an
2037         empty cus-load.el with `echo', and include "Local Variables"
2038         section to prevent the empty file from being compiled.
2039         (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets
2040         that generate an empty cus-load.el.
2042 2008-06-20  Juanma Barranquero  <lekktu@gmail.com>
2044         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
2045         Don't copy ldefs-boot.el over loaddefs.el.
2046         (bootstrap-clean): Remove loaddefs.el and don't depend on it.
2047         (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars
2048         to loaddefs.el; they are not needed now.  Add coding cookie.
2050 2008-06-20  Miles Bader  <miles@gnu.org>
2052         * face-remap.el (face-remap-add-relative, face-remap-set-base):
2053         Strip unnecessary list levels from SPECS.
2054         (buffer-face-set, buffer-face-toggle):
2055         Change argument from FACE to &rest SPECS, and strip unnecessary
2056         list levels from SPECS.
2057         (buffer-face-mode-invoke): Change argument from FACE to SPECS.
2059 2008-06-20  Jason Rumney  <jasonr@gnu.org>
2061         * international/fontset.el (setup-default-fontset): Specify script
2062         for latin use of iso10646-1.  Fix use of lang tags.
2064 2008-06-19  Miles Bader  <miles@gnu.org>
2066         * face-remap.el (text-scale-increase): Start from zero if
2067         text-scale-mode isn't enabled.
2069 2008-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2071         * faces.el (face-set-after-frame-default): Re-apply explicit `font'
2072         frame parameters after setting up the `default' face.
2074 2008-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * faces.el (face-set-after-frame-default): Don't exclude `default'.
2078 2008-06-18  Glenn Morris  <rgm@gnu.org>
2080         * mouse.el (buffer-face-mode-invoke): Declare.
2082         * Makefile.in (ELCFILES): Add org/org-id.elc.
2084         * calendar/holidays.el (calendar-cursor-holidays): Accept optional date.
2085         * calendar/cal-menu.el (cal-menu-holidays-menu):
2086         Use calendar-cursor-holidays rather than cal-menu-today-holidays.
2087         (cal-menu-today-holidays): Remove function.
2089         * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify.
2090         (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
2091         (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
2092         Remove unused functions.
2093         (calendar-mouse-view-diary-entries): Use format rather than concat.
2095         * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro.
2096         (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
2097         (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.
2099         * calendar/cal-menu.el (cal-menu-event-to-date): Remove function.
2100         (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
2101         (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
2102         (cal-menu-set-date-title): Use calendar-cursor-to-date rather than
2103         cal-menu-event-to-date.
2105         * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year):
2106         Handle mouse events.
2107         * calendar/cal-tex.el (cal-tex-cursor-year)
2108         (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
2109         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2110         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2111         (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
2112         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
2113         (cal-tex-cursor-day): Handle mouse events.  Rename ARG to N.
2114         (cal-tex-cursor-month): Mark N as optional.
2115         * calendar/cal-menu.el (calendar-mouse-tex-day)
2116         (calendar-mouse-tex-week, calendar-mouse-tex-week2)
2117         (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
2118         (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
2119         (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
2120         (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
2121         (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
2122         Remove functions.
2123         (cal-menu-context-mouse-menu): Replace the above functions with the
2124         cal-tex versions.  Add HTML submenu.
2126 2008-06-17  Nick Roberts  <nickrob@snap.net.nz>
2128         * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to
2129         text command mode.
2130         (gdb): Explain that gud-gdb is needed for text command mode.
2132 2008-06-17  Martin Rudalics  <rudalics@gmx.at>
2134         * window.el (split-height-threshold): Remove spurious extra line.
2136 2008-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2138         * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
2139         (calendar-set-mark):
2140         * calendar/diary-lib.el (diary-insert-entry):
2141         * calendar/solar.el (calendar-sunrise-sunset): Use it.
2142         * calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
2143         (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
2144         (cal-menu-context-mouse-menu): Use calendar-set-mark,
2145         diary-insert-entry, and calendar-sunrise-sunset instead.
2147         * vc.el (vc-deduce-fileset): Add arg `only-files'.
2148         (vc-next-action): Pass the new arg.
2149         (vc-register): Don't use `only-files'.
2150         Don't set `backup-inhibited' in the current buffer.
2152 2008-06-17  Miles Bader  <miles@gnu.org>
2154         * mouse.el (mouse-appearance-menu): Use buffer-face-mode.
2156         * face-remap.el (buffer-face-mode-face)
2157         (buffer-face-mode-remapping): New variables.
2158         (buffer-face-mode, buffer-face-set, buffer-face-toggle)
2159         (buffer-face-mode-invoke): New functions.
2160         (variable-pitch-mode-remapping): Variable removed.
2161         (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'.
2163         * face-remap.el (internal-lisp-face-attributes): New variable.
2164         (face-attrs-more-relative-p, face-remap-order): New functions.
2165         (face-remap-add-relative): Use `face-remap-order'.
2167 2008-06-17  Glenn Morris  <rgm@gnu.org>
2169         * mouse.el (x-select-font): Declare.
2171         * calendar/calendar.el (calendar-move-hook):
2172         Add calendar-update-mode-line as an option.
2173         (calendar-date-echo-text): New user option.
2174         (calendar-generate-month): Set `day'.  Use calendar-date-echo-text.
2175         (calendar-insert-indented): Simplify newline insertion.
2176         (calendar-describe-mode): Remove unused function.
2177         (calendar-mode-line-entry): New function.
2178         (calendar-mode-line-format): Doc fix.  Use calendar-mode-line-entry.
2179         Mark as risky.
2180         (calendar-mouse-other-month): Remove function.
2181         (calendar-other-month): Handle mouse events.
2182         (calendar-goto-info-node): Call fit-window-to-buffer.
2183         (calendar-mode): Use define-derived-mode.  Doc fix.
2184         (calendar-update-mode-line): Tweak whitespace.
2186 2008-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2188         * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p.
2189         (vc-dir-marked-only-files): vc-string-prefix-p.
2191 2008-06-16  Nick Roberts  <nickrob@snap.net.nz>
2193         * progmodes/gdb-ui.el (gdb-memory-set-address)
2194         (gdb-memory-set-repeat-count): Allow keyboard bindings.
2195         (gdb-memory-mode-map): Bind above functions respectively
2196         to 'S' and 'N'.
2198 2008-06-16  Derek Upham  <sand@blarg.net>  (tiny change)
2200         * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks.
2202 2008-06-16  Juanma Barranquero  <lekktu@gmail.com>
2204         * log-view.el (vc-diff-internal): Declare for compiler.
2206         * vc-bzr.el (log-view-per-file-logs):
2207         * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
2209 2008-06-15  Chong Yidong  <cyd@stupidchicken.com>
2211         * mouse.el (mouse-appearance-menu-map): New var.
2212         (mouse-appearance-menu): New function.
2213         Bind it to S-down-mouse-1.
2215 2008-06-15  Juri Linkov  <juri@jurta.org>
2217         * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
2218         (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
2219         as the second element.
2220         (Info-build-toc): Add PARENT element extracted from the Up pointer.
2221         Don't print progress messages.
2222         (Info-toc-nodes): New variable and function.
2223         (Info-index-nodes): Optimize non-string file name case.
2224         (Info-breadcrumbs-depth): Increment the default value from 3 to 4.
2225         (Info-insert-breadcrumbs): Use the cached document structure instead
2226         of visiting all ancestor nodes.  Remove the initial `>'.
2228 2008-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
2230         * log-view.el (log-view-diff-changeset): New function.
2231         (log-view-mode-map, log-view-mode-menu): Bind it.
2232         (log-view-per-file-logs, log-view-vc-fileset)
2233         (log-view-vc-backend): New variables.
2234         (log-view-find-revision, log-view-modify-change-comment)
2235         (log-view-annotate-version): Throw an error if the log is for more
2236         than one file and we can't find the current file.  Get the current
2237         file from log-view-vc-fileset if necessary.
2238         (log-view-diff): Get the current file from log-view-vc-fileset if
2239         necessary.
2241         * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
2243         * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
2244         (vc-hg-log-view-mode): Declare for compiler.
2245         (vc-hg-log-view-mode): Set log-view-per-file-logs and
2246         log-view-file-re.
2247         (vc-hg-diff): If no file is passed, use default-directory for cwd.
2249         * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
2251         * vc-svn.el (vc-svn-log-view-mode): New derived mode.
2253 2008-06-15  Michael Albinus  <michael.albinus@gmx.de>
2255         * net/tramp.el (tramp-handle-start-file-process):
2256         Clear modification time of the connection buffer.
2257         (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
2258         (tramp-open-connection-setup-interactive-shell): Flush cache, and
2259         restart `tramp-maybe-open-connection' when the remote system has
2260         been changed.  Throw 'uname-changed event.
2261         (tramp-maybe-open-connection): Catch it.
2263         * net/tramp-cmds.el (tramp-cleanup-all-connections):
2264         Reset `tramp-locked'.
2266 2008-06-15  Ulf Jasper  <ulf@web.de>
2268         * net/newst-treeview.el (newsticker--treeview-list-update)
2269         (newsticker--treeview-item-update)
2270         (newsticker--treeview-tree-update)
2271         (newsticker-treeview-jump, newsticker-group-add-group)
2272         (newsticker-group-move-feed, newsticker-group-delete-group):
2273         Remove window dedication.
2274         (newsticker--group-manage-orphan-feeds): Handle ill-valued
2275         newsticker-groups.
2276         (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
2278 2008-06-15  Andreas Schwab  <schwab@suse.de>
2280         * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
2281         when parsing CVS/Repository.
2283         * wdired.el (wdired-search-and-rename): Fix undocumented change.
2285 2008-06-15  Ulf Jasper  <ulf@web.de>
2287         * net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
2288         (newsticker-extra-face, newsticker-enclosure-face): Moved to
2289         net/newst-reader.el.
2291         * net/newst-reader.el (newsticker-faces, newsticker-feed-face)
2292         (newsticker-extra-face, newsticker-enclosure-face): Moved from
2293         net/newst-reader.el.
2295 2008-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2297         * international/encoded-kb.el (encoded-kbd-self-insert-utf-8):
2298         Catch and recover from case when the bytes we thought we were reading
2299         turn out to be something else entirely, such as latin-1 chars from
2300         quail.  See bug#396.
2302 2008-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
2304         * vc.el (vc-deduce-fileset): Check if the buffer has a file.
2305         (vc-register): Call the backend function only once, instead of
2306         once for each file.
2307         (vc-next-action): Update call to vc-register.
2308         (vc-dir-register): Remove function.
2309         (vc-dir): Bind vc-register instead of vc-dir-register.
2311 2008-06-14  Glenn Morris  <rgm@gnu.org>
2313         * Makefile.in (ELCFILES): Add net/newst-*.el.
2315 2008-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2317         * wdired.el (wdired-do-renames): New function.
2318         (wdired-finish-edit): Use it to.
2319         (wdired-preprocess-files): Don't hardcode (point-min) == 1.
2321 2008-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2323         * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc.
2325 2008-06-14  Martin Rudalics  <rudalics@gmx.at>
2327         * window.el (window--even-window-heights): Even window heights
2328         only if the selected window is higher than WINDOW.
2329         Reported by Stephen Berman <Stephen.Berman at gmx.net>.
2331 2008-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2333         * info.el (Info-insert-breadcrumbs): Be careful to preserve history.
2335 2008-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2337         * term/linux.el (terminal-init-linux): Load t-mouse.
2339 2008-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2340             Drew Adams  <drew.adams@oracle.com>
2342         * info.el (Info-breadcrumbs-depth): New var.
2343         (Info-insert-breadcrumbs): New function.
2344         (Info-fontify-node): Use it.
2345         (Info-mode-map): Move initialization into declaration.
2347 2008-06-13  Ulf Jasper  <ulf.jasper@web.de>
2349         Rename net/newsticker-*.el to net/newst-*.el.
2350         * net/newst-backend.el: Rename from net/newsticker-backend.el.
2351         * net/newst-plainview.el: Rename from net/newsticker-plainview.el.
2352         * net/newst-reader.el: Rename from net/newsticker-reader.el.
2353         * net/newst-ticker.el: Rename from net/newsticker-ticker.el.
2354         * net/newst-treeview.el: Rename from net/newsticker-treeview.el.
2355         * net/newsticker-backend.el: Rename to net/newst-backend.el.
2356         * net/newsticker-plainview.el: Rename to net/newst-plainview.el.
2357         * net/newsticker-reader.el: Rename to net/newst-reader.el.
2358         * net/newsticker-ticker.el: Rename to net/newst-ticker.el.
2359         * net/newsticker-treeview.el: Rename to net/newst-treeview.el.
2361 2008-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2363         * progmodes/compile.el (compilation-start): Don't disable undo in
2364         comint buffer.  Don't override the comint-filter with our own.
2365         (compilation-filter): Change point's insertion-type.
2367         * comint.el (comint-output-filter): Use copy-marker.
2369 2008-06-13  David Reitter  <david.reitter@gmail.com>
2371         * textmodes/flyspell.el (mail-mode-flyspell-verify):
2372         Check message-signature-separator exists before using it.
2374 2008-06-13  Dan Nicolaescu  <dann@ics.uci.edu>
2376         * vc.el (vc-delete-file): Bind default-directory before calling
2377         the backend.
2378         (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
2379         (vc-annotate-show-diff-revision-at-line-internal): ... here.
2380         New function.
2381         (vc-annotate-show-changeset-diff-revision-at-line): New function.
2382         (vc-annotate-mode-menu): Bind it.
2384 2008-06-13  Jason Rumney  <jasonr@gnu.org>
2386         * term/w32-win.el (mouse-set-font): Remove overridden function.
2387         (w32-select-font): Declare as obsolete alias for x-select-font.
2389 2008-06-13  Daniel Engeler  <engeler@gmail.com>
2391         These changes add serial port access.
2392         * term.el (term-update-mode-line): Modify.
2393         (serial-port-is-file-p, serial-nice-speed-history)
2394         (serial-no-speed, serial-mode-line-speed-menu)
2395         (serial-mode-line-config-menu): New variables and constants.
2396         (serial-name-history, serial-speed-history)
2397         (serial-supported-or-barf, serial-read-name, serial-read-speed)
2398         (serial-term, serial-speed, serial-mode-line-speed-menu-1)
2399         (serial-mode-line-speed-menu, serial-update-speed-menu)
2400         (serial-mode-line-config-menu-1, serial-mode-line-config-menu)
2401         (serial-update-config-menu): New functions.
2403 2008-06-13  Glenn Morris  <rgm@gnu.org>
2405         * menu-bar.el (menu-set-font): Use fboundp rather than functionp.
2407         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix.
2409 2008-06-13  Kenichi Handa  <handa@m17n.org>
2411         * cus-face.el (custom-face-attributes): Add :foundry.
2413         * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
2414         (face-x-resources): Add :foundry.
2415         (face-valid-attribute-values): Likewise.
2416         (face-attribute-name-alist): Likewise.
2417         (describe-face): Likewise.
2419 2008-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events.
2423 2008-06-12  Chong Yidong  <cyd@stupidchicken.com>
2425         * longlines.el (longlines-search-forward, longlines-search-backward)
2426         (longlines-re-search-forward): Use a smarter search-spaces-regexp.
2428 2008-06-12  Sam Steingold  <sds@gnu.org>
2430         * vc.el (vc-rename-file): DTRT when the destination is a directory
2431         name and the source is a file.
2433 2008-06-12  Chong Yidong  <cyd@stupidchicken.com>
2435         * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font.
2437 2008-06-12  Glenn Morris  <rgm@gnu.org>
2439         * progmodes/f90.el (f90-beginning-of-subprogram)
2440         (f90-end-of-subprogram): Only give a message when interactive.
2442         * term/mac-win.el (x-toolkit-scroll-bars): Check bound.
2444         * progmodes/cperl-mode.el (cperl-info-on-command):
2445         Use display-pixel-height rather than x-display-pixel-height.
2447         * mail/rmailedit.el (rmail-cease-edit):
2448         * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound.
2450         * emulation/edt.el (edt-xserver):
2451         * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string.
2453         * emulation/edt-mapper.el: Drop test for Emacs < 19.
2455         * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window):
2456         Evaluate definitions when compiling.  Reverse tests.
2458         * dframe.el (dframe-reposition-frame-emacs): Reorder test, and
2459         use unless.
2461         * menu-bar.el (w32-menu-bar-open): Declare for compiler.
2463         * textmodes/artist.el (x-pointer-shape):
2464         * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu)
2465         (x-open-connection, x-server-max-request-size, x-get-resource):
2466         * term/w32console.el (x-setup-function-keys):
2467         * term/w32-win.el (x-parse-geometry, x-resource-name)
2468         (generate-fontset-menu, image-library-alist, x-open-connection)
2469         (setup-default-fontset, set-fontset-font, setup-default-fontset)
2470         (create-fontset-from-fontset-spec, create-fontset-from-x-resource)
2471         (x-get-resource):
2472         * term/mac-win.el (x-parse-geometry, x-resource-name)
2473         (x-get-selection-internal, tool-bar-mode, set-fontset-font)
2474         (new-fontset, x-display-list, x-open-connection, x-get-resource):
2475         * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide)
2476         (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show)
2477         (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer):
2478         * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area)
2479         (tooltip-identifier-from-point, define-fringe-bitmap):
2480         * play/gamegrid.el (image-size):
2481         * play/bubbles.el (image-size):
2482         * mail/emacsbug.el (x-server-vendor, x-server-version):
2483         * international/mule-util.el (internal-char-font):
2484         * international/mule-diag.el (font-info, query-fontset, fontset-info)
2485         (fontset-alias-alist, fontset-list, fontset-plain-name):
2486         * international/mule-cmds.el (x-server-vendor, x-server-version):
2487         * international/fontset.el (font-encoding-charset-alist)
2488         (otf-script-alist, new-fontset, set-fontset-font)
2489         (x-pixel-size-width-font-regexp, vertical-centering-font-regexp)
2490         (fontset-list, query-fontset, x-get-resource):
2491         * emulation/edt.el (x-server-vendor):
2492         * emulation/edt-mapper.el (x-server-vendor):
2493         * emacs-lisp/map-ynp.el (x-popup-dialog):
2494         * emacs-lisp/lmenu.el (x-popup-dialog):
2495         * x-dnd.el (x-window-property, x-change-window-property)
2496         (x-get-selection-internal):
2497         * woman.el (x-list-fonts):
2498         * w32-fns.el (x-server-version):
2499         * tooltip.el (x-show-tip, x-hide-tip):
2500         * tool-bar.el (image-mask-p):
2501         * thumbs.el (image-size):
2502         * term.el (overflow-newline-into-fringe):
2503         * subr.el (scroll-bar-scale):
2504         * startup.el (x-get-resource, tool-bar-mode, image-size):
2505         * select.el (x-get-selection-internal, x-own-selection-internal)
2506         (x-disown-selection-internal):
2507         * mouse.el (generate-fontset-menu):
2508         * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value):
2509         * image.el (image-library-alist):
2510         * image-mode.el (image-size, image-refresh):
2511         * image-dired.el (clear-image-cache):
2512         * gs.el (x-display-mm-width, x-display-pixel-width)
2513         (x-display-mm-height, x-display-pixel-height)
2514         (x-change-window-property, x-display-grayscale-p, x-window-property):
2515         * frame.el (tool-bar-mode, x-display-name, x-close-connection)
2516         (x-focus-frame, x-list-fonts, x-display-screens)
2517         (x-display-pixel-height, x-display-pixel-width, x-display-mm-height)
2518         (x-display-mm-width, x-display-backing-store, x-display-save-under)
2519         (x-display-planes, x-display-color-cells, x-display-visual-class):
2520         * faces.el (internal-face-x-get-resource)
2521         (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path)
2522         (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values)
2523         (xw-display-color-p, x-display-grayscale-p, x-get-resource)
2524         (x-parse-geometry, x-create-frame, x-setup-function-keys)
2525         (tool-bar-setup):
2526         * doc-view.el (clear-image-cache, image-size, tooltip-show):
2527         * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri):
2528         * dframe.el (x-display-pixel-width, x-display-pixel-height):
2529         * descr-text.el (internal-char-font):
2530         Define for compiler, for builds without X.
2532 2008-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2534         * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists.
2536 2008-06-11  Glenn Morris  <rgm@gnu.org>
2538         * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match
2539         before trying to move there.
2540         (fortran-calculate-indent): When fortran-check-all-num-for-matching-do
2541         is non-nil, indent most terminating statements like loop body.
2543         * calendar/diary-lib.el (diary-list-entries-2): Accept optional
2544         Gregorian date, and add it, not the local date, to diary-entries-list.
2545         (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
2547 2008-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2549         * progmodes/compile.el (compilation-filter): Fix up last change.
2551         * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
2553         * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
2554         (gpm-mouse-mode): Make it into a proper global minor mode.
2556         * files.el (save-some-buffers-action-alist): Only use recursive-edit
2557         if the user enabled recursive-minibuffers.
2559         * emacs-lisp/map-ynp.el (map-y-or-n-p):
2560         Add support for scroll-other-window.
2562 2008-06-11  Jason Rumney  <jasonr@gnu.org>
2564         * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open.
2565         Use tmm-menubar if menu is disabled in this frame.
2567         * menu-bar.el (menu-bar-open): Determine how to open menu bar
2568         from frame type, per documentation.  Add w32 case.
2570 2008-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2572         * minibuffer.el (completion--merge-suffix): New function.
2573         (completion-basic-try-completion): Use it.
2574         (completion-pcm--find-all-completions): Add argument `filter'.
2575         (completion-pcm--filename-try-filter, completion-pcm--merge-try):
2576         New functions.
2577         (completion-pcm-try-completion): Use them.
2579         * xt-mouse.el (turn-on-xterm-mouse-tracking)
2580         (turn-off-xterm-mouse-tracking): Use terminal-list.
2582         * cus-start.el (underline-minimum-offset): Rename from
2583         x-underline-minimum-display-offset.
2585 2008-06-10  David De La Harpe Golden  <david@harpegolden.net>  (tiny change)
2587         * cus-start.el (x-underline-minimum-display-offset): Give it a type.
2589 2008-06-10  Chong Yidong  <cyd@stupidchicken.com>
2591         * mouse.el (mouse-select-font): New function.
2593         * faces.el (face-spec-recalc): When the face is set using
2594         Customize, avoid recalculating it twice.
2596         * menu-bar.el (menu-set-font): New function.  Bind "Set Default
2597         Font" menu item to it.  Apply selected font to all frames, and
2598         make it savable.
2599         (menu-bar-options-save): Save `default' font if changed.
2601 2008-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2603         * ffap.el (ffap-string-at-point-mode-alist):
2604         Use alpha rather than lower.
2606         * dired.el (dired-insert-directory): Don't assume Unix-style dir names.
2608         * subr.el (momentary-string-display): Use an overlay.
2610         * progmodes/compile.el (compilation-mode):
2611         Set window-point-insertion-type.
2612         (compilation-filter): Don't use insert-before-markers any more.
2613         * emacs-lisp/trace.el (trace-make-advice):
2614         Set window-point-insertion-type in the trace buffer.
2615         * startup.el (normal-top-level): Set window-point-insertion-type in
2616         *Messages*.
2617         * net/telnet.el (telnet-mode): Set window-point-insertion-type.
2618         (telnet-filter): Don't use insert-before-markers any more.
2619         * comint.el (comint-mode): Set window-point-insertion-type.
2620         (comint-output-filter): Don't use insert-before-markers any more.
2621         * button.el (make-text-button): Allow `start' to be a string.
2623 2008-06-10  Juanma Barranquero  <lekktu@gmail.com>
2625         * emacs-lisp/autoload.el (autoload-rubric):
2626         Fix coding cookie not to force Unix EOL.
2628 2008-06-10  Martin Rudalics  <rudalics@gmx.at>
2630         * window.el (window--splittable-p, window--try-to-split-window):
2631         Don't use with-selected-window to avoid messing up get-lru-window.
2632         Reported by David Hansen <david.hansen@gmx.net>.
2634 2008-06-10  Glenn Morris  <rgm@gnu.org>
2636         * subr.el (locate-library): Doc fix.
2638         * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare.
2639         (newsticker-treeview-tool-bar-map, newsticker-treeview-mode):
2640         Check tool-bar-map is bound, for non-X builds.
2642         * net/newsticker-reader.el (newsticker--next-item-image)
2643         (newsticker--previous-item-image, newsticker--previous-feed-image)
2644         (newsticker--next-feed-image, newsticker--mark-read-image)
2645         (ewsticker--mark-immortal-image, newsticker--narrow-image)
2646         (newsticker--get-all-image, newsticker--update-image)
2647         (newsticker--browse-image): Check xpm images are available.
2648         (newsticker--mark-read-image, newsticker--mark-immortal-image)
2649         (newsticker--narrow-image, newsticker--get-all-image): Doc fix.
2651         * net/newsticker-plainview.el (tool-bar-map): Don't declare.
2652         (newsticker--plainview-tool-bar-map, newsticker-mode):
2653         Check tool-bar-map is bound, for non-X builds.
2654         (w3m-toggle-inline-image): Declare.
2656         * net/newsticker-backend.el (tool-bar-map): Don't declare.
2658         * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie.
2660         * finder.el (finder-font-lock-keywords): Handle ``quotes''.
2661         (finder-compile-keywords): Move let to where needed.
2662         (finder-mouse-face-on-line): Go back one more line if needed.
2663         (finder-list-matches): Use cadr.
2664         (finder-goto-xref): New function.
2665         (finder-commentary): Add buttons to jump to foo.el libraries.
2667 2008-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2669         * apropos.el (apropos-function, apropos-macro, apropos-command)
2670         (apropos-variable, apropos-face, apropos-group, apropos-widget)
2671         (apropos-plist): Add apropos-short-label property.
2672         (apropos-multi-type): New variables.
2673         (apropos-command, apropos-value): Set it.
2674         (apropos-compact-layout): New custom.
2675         (apropos-print, apropos-print-doc): Use it.
2676         (apropos-print): Truncate lines.
2678 2008-06-09  Kenichi Handa  <handa@m17n.org>
2680         * international/fontset.el (font-encoding-alist):
2681         Add an entry for "ascii-0".
2683 2008-06-09  Jihyun Cho  <jihyun.jo@gmail.com>
2685         * language/hanja-util.el (hanja-init-load): Show the message only
2686         when loading a table.
2688 2008-06-08  Ulf Jasper  <ulf.jasper@web.de>
2690         * net/newsticker-treeview.el (newsticker-treeview):
2691         * net/newsticker-plainview.el (newsticker-plainview):
2692         Add autoload cookie.
2694 2008-06-08  Ulf Jasper  <ulf.jasper@web.de>
2696         * net/newsticker.el: Split up into newsticker-backend, -ticker,
2697         -reader, -plainview, and -treeview.
2698         (newsticker-version): Change to 1.99.
2700         * net/newsticker-backend.el: New.  Move backend functionality from
2701         newsticker.el to newsticker-backend.el.
2702         (newsticker--download-logos): New.
2703         (newsticker--sentinel-callback): New.
2704         (newsticker--set-customvar): Remove.  Split up into specific
2705         functions related to retrieval, ticker, buffer, and display.
2706         (newsticker--set-customvar-retrieval): New.  Extracted from
2707         `newsticker--set-customvar'.
2708         (newsticker-retrieval): New.  Renamed from `newsticker-feed'.
2709         (newsticker-url-list-defaults):
2710         Use `newsticker--set-customvar-retrieval' for :set.  Change :group.
2711         (newsticker-url-list): Doc changed.  URL can be a function.
2712         Use `newsticker--set-customvar-retrieval' for :set.  Change :group.
2713         (newsticker-retrieval-method): New.
2714         (newsticker-wget-name, newsticker-wget-arguments): Change :group.
2715         (newsticker-retrieval-interval):
2716         Use `newsticker--set-customvar-retrieval' for :set.  Change :group.
2717         (newsticker-desc-comp-max): Change :group.
2718         (newsticker--cache): Doc changed.
2719         (newsticker--guid-to-string): New.
2720         (newsticker--guid): Use `newsticker--guid-to-string'.
2721         (newsticker--real-feed-name): New.
2722         (newsticker--start-feed): New.  Extracted from `newsticker-start'.
2723         (newsticker-start): Use `insert-file-contents' for reading cache.
2724         Use `newsticker--start-feed'.
2725         (newsticker--stop-feed): New.  Extracted from `newsticker-stop'.
2726         (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound.
2727         Use `newsticker--stop-feed'.
2728         (newsticker-save-item): New.
2729         (newsticker--get-news-by-funcall): New.
2730         (newsticker-get-news): Handle new retrieval methods.
2731         (newsticker--sentinel): Use `newsticker--sentinel-work'.
2732         (newsticker--sentinel-work): New.  Extracted from
2733         `newsticker--sentinel'.  Use `newsticker--download-logos',
2734         `newsticker--sentinel-callback'.
2735         (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'.
2736         (newsticker--parse-atom-1.0): Fix link determination.
2737         (newsticker--parse-rss-0.91): Fix time determination.
2738         (newsticker--parse-rss-0.92): Fix time determination.
2739         (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'.
2740         (newsticker--parse-generic-feed): New arg order in
2741         `newsticker--cache-add'.
2742         (newsticker--parse-generic-items): Fix for multiple items.
2743         New arg order in `newsticker--cache-add'.
2744         (newsticker--forget-preformatted): Check whether
2745         `newsticker--buffer-set-uptodate' is fbound.
2746         (newsticker--decode-iso8601-date): Handle fractions of seconds.
2747         (newsticker--decode-rfc822-date): Partial timezone handling.
2748         (newsticker--cache-contains): Fix guid problem.
2749         (newsticker--cache-add): Swap args AGE and TIME.  Fix guid problem.
2750         (newsticker--cache-save): New.
2751         (newsticker--cache-update): Use temp buffer.
2752         (newsticker--stat-num-items): Allow multiple AGE args.
2753         (newsticker--stat-num-items-total): New.
2754         (newsticker--opml-import-outlines): New.
2755         (newsticker-opml-import): Use `newsticker--opml-import-outlines'.
2756         (newsticker--do-run-auto-mark-filter): Doc changed.
2757         (newsticker-retrieve-random-message): New.
2759         * net/newsticker-ticker.el: New.  Move ticker functionality from
2760         net/newsticker.el to net/newsticker-ticker.el.
2761         (newsticker--ticker-timer): Rename `newsticker--display-timer' to
2762         `newsticker--ticker-timer'.
2763         (newsticker-ticker-running-p): Rename `newsticker--display-timer'
2764         to `newsticker--ticker-timer'.
2765         (newsticker--set-customvar-ticker): New.  Extracted from
2766         `newsticker--set-customvar'.
2767         (newsticker-ticker-interval): Rename `newsticker-display-interval'
2768         to `newsticker-ticker-interval'.  Use `newsticker--set-customvar-ticker
2769         for :set.  Change :group.
2770         (newsticker-scroll-smoothly): Doc changed.  Change :group.
2771         (newsticker-hide-immortal-items-in-echo-area)
2772         (newsticker-hide-old-items-in-echo-area)
2773         (newsticker-hide-obsolete-items-in-echo-area):
2774         Use `newsticker--set-customvar-ticker for :set.  Change :group.
2775         (newsticker-start-ticker): Rename `newsticker--display-timer' to
2776         `newsticker--ticker-timer'.  Rename `newsticker-display-interval'
2777         to `newsticker-ticker-interval'.
2778         (newsticker-stop-ticker): Rename `newsticker--display-timer' to
2779         `newsticker--ticker-timer'.
2781         * net/newsticker-reader.el: New.  Move reader functionality from
2782         net/newsticker.el to net/newsticker-reader.el.
2783         (newsticker--set-customvar-formatting): New.  Extracted from
2784         `newsticker--set-customvar'.
2785         (newsticker-reader, newsticker-frontend): New.
2786         (newsticker-enable-logo-manipulations): Change :group.
2787         (newsticker-justification): Use `newsticker--set-customvar-formatting'
2788         for :set.  Change :group.
2789         (newsticker-use-full-width): Use `newsticker--set-customvar-formatting'
2790         for :set.  Change :group.
2791         (newsticker-html-renderer): Doc changed.
2792         Use `newsticker--set-customvar-formatting' for :set.  Change :group.
2793         (newsticker-date-format):
2794         Use `newsticker--set-customvar-formatting' for :set.  Change :group.
2795         (newsticker--insert-enclosure):
2796         Rename `newsticker--buffer-insert-enclosure' to
2797         `newsticker--insert-enclosure'.  Add keymap arg.
2798         (newsticker--print-extra-elements):
2799         Rename `newsticker--buffer-print-extra-elements' to
2800         `newsticker--print-extra-elements'.  Add keymap arg.
2801         (newsticker--do-print-extra-element):
2802         Rename `newsticker--buffer-do-print-extra-element' to
2803         `newsticker--do-print-extra-element'.  Add keymap arg.
2804         (newsticker-show-news): Use `newsticker-frontend'.
2806         * net/newsticker-plainview.el: New.  Move plainview functionality
2807         from net/newsticker.el to net/newsticker-reader.el.
2808         (newsticker-plainview): New.
2809         (newsticker--set-customvar-sorting): New.  Extracted from
2810         `newsticker--set-customvar'.
2811         (newsticker-sort-method): Use `newsticker--set-customvar-sorting
2812         for :set.  Changed :group.
2813         (newsticker-heading-format, newsticker-item-format)
2814         (newsticker-desc-format, newsticker-statistics-format):
2815         Use `newsticker--set-customvar-formatting for :set.  Change :group.
2816         (newsticker-faces): Change :group.
2817         (newsticker-default-face): Enable again.
2818         (newsticker-hide-old-items-in-newsticker-buffer)
2819         (newsticker-show-descriptions-of-new-items):
2820         Use `newsticker--set-customvar-buffer' for :set.  Change :group.
2821         (newsticker-show-all-news-elements): Change :group.
2822         (newsticker-plainview-hooks): New.
2823         (newsticker-select-item-hook, newsticker-select-feed-hook)
2824         (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group.
2825         (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map'
2826         to `newsticker--plainview-tool-bar-map'.
2827         (newsticker--url-keymap): Add mouse-1 binding.
2828         (newsticker-plainview): New.
2829         (newsticker-mark-all-items-of-feed-as-read): Change doc.
2830         (newsticker--buffer-do-insert-text): Use renamed
2831         newsticker--[buffer-]insert-enclosure and
2832         newsticker--[buffer-]print-extra-elements.
2833         (newsticker--buffer-set-faces): Use newsticker-default-face.
2835         * net/newsticker-treeview.el: New.
2837 2008-06-08  Andreas Schwab  <schwab@suse.de>
2839         * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check.
2841         * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs.
2843         * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
2844         empty line.
2846         * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for.
2848 2008-06-08  Martin Rudalics  <rudalics@gmx.at>
2850         * window.el (split-height-threshold, split-width-threshold):
2851         Add choice nil.
2852         (split-window-preferred-function): Allow either nil or a function.
2853         (window--splittable-p, window--try-to-split-window):
2854         Handle changed option values.
2856         (window--frame-usable-p): Handle nil argument.
2858         (display-buffer): Call get-lru-window when pop-up-windows is nil
2859         and window can't be split.
2861 2008-06-08  Michael Albinus  <michael.albinus@gmx.de>
2863         * uniquify.el (uniquify-get-proposed-name): Handle remote files.
2865         * net/tramp.el (top): Quote feature names.  Remove
2866         `tramp-rfn-eshadow-setup-minibuffer' from
2867         `rfn-eshadow-setup-minibuffer-hook' when unloading.
2868         (tramp-read-passwd): There is only one call to
2869         `auth-source-user-or-password' needed.  Pacify byte compiler.
2871 2008-06-08  Andreas Schwab  <schwab@suse.de>
2873         * window.el (display-buffer): Use lru window if current window
2874         cannot be split.
2876 2008-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2878         * apropos.el (apropos-library): New command and new button.
2879         (apropos-library-button): New function.
2881         * apropos.el: Remove spurious * in docstrings.
2882         (apropos-label-face): Use variable pitch.
2883         (apropos-print): Use dolist and with-current-buffer.
2884         (apropos-print-doc): Use when.
2886         * window.el (special-display-p, display-buffer):
2887         Fix up C->Elisp transcription error.
2889 2008-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2891         * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
2892         (byte-compile-file): Initialize it.
2893         (byte-compile-nogroup-warn): Keep track of the current group.
2895 2008-06-08  Glenn Morris  <rgm@gnu.org>
2897         * Makefile.in (compile, compile-always, bootstrap-prepare):
2898         Explictly pass EMACS to sub-makes that use it, for non-GNU makes.
2900 2008-06-07  Jihyun Cho  <jihyun.jo@gmail.com>
2902         * language/hanja-util.el (hanja-init-load): Use a char-table for
2903         hanja-table.
2904         (hangul-to-hanja-char): Adjust for the above change.
2906 2008-06-07  Glenn Morris  <rgm@gnu.org>
2908         * finder.el (finder-compile-keywords): Use lm-keywords-list rather than
2909         lm-keywords.
2911         * mail/sendmail.el (mail-interactive): Add :version.
2913         * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than
2914         obsolete alias.
2916         * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el:
2917         * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el:
2918         * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el:
2919         * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el:
2920         * eshell/esh-util.el, international/mule-cmds.el:
2921         * international/mule-diag.el, mail/smtpmail.el, net/netrc.el:
2922         * net/tls.el, progmodes/etags.el, textmodes/page-ext.el:
2923         Remove unnecessary eval-when-compiles and eval-and-compiles.
2925         * Makefile.in (bootstrap-clean): Run autogen-clean.
2926         (maintainer-clean): No need to run autogen-clean now it is included in
2927         bootstrap-clean.
2929 2008-06-06  Miles Bader  <miles@gnu.org>
2931         * Makefile.in (ELCFILES): Add gnus/nndir.elc.
2933 2008-06-06  Chong Yidong  <cyd@stupidchicken.com>
2935         * menu-bar.el (menu-bar-options-menu): Add Menu entry for
2936         longlines mode.
2938         * replace.el (replace-search-function)
2939         (replace-re-search-function): New vars.
2940         (perform-replace): Use them.
2942         * longlines.el (longlines-re-search-forward): New function.
2943         (longlines-mode): Bind replace-search-function and
2944         replace-re-search-function, to ensure that replacement commands
2945         treat newlines as spaces.
2946         (longlines-show-effect): Default to a pilcrow sign.
2948 2008-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2950         * help.el (function-called-at-point):
2951         * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
2952         even when calling find-tag-default.
2954 2008-06-06  Daniel Colascione  <danc@merrillpress.com>
2956         * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
2957         (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
2958         (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
2959         (nxml-fontify-buffer, nxml-do-fontify):
2960         Remove obsolete variables and functions.
2961         (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
2962         (nxml-degrade, nxml-after-change, nxml-after-change1)
2963         (nxml-extend-region, nxml-extend-after-change-region)
2964         (nxml-extend-after-change-region1, nxml-fontify-matcher)
2965         (nxml-toggle-char-ref-extra-display): Use font-lock, and
2966         font-lock-extend-region-functions in particular, to fontify
2967         nxml-mode buffers.
2968         (nxml-debug-region): New debugging helper function.
2970         * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
2971         (nxml-scan-after-change, nxml-move-tag-backwards):
2972         Adapt for font-lock changes.
2974         * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
2975         (nxml-debug-set-inside, nxml-debug-clear-inside):
2976         New debugging functions.
2977         (nxml-with-degradation-on-error): New helper macro.
2979 2008-06-06  Martin Rudalics  <rudalics@gmx.at>
2981         * window.el (display-buffer): Remove dead call to get-lru-window.
2983 2008-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         * mail/sendmail.el (mail-interactive): Change default.
2987 2008-06-05  John Paul Wallington  <jpw@pobox.com>
2989         * bindings.el (completion-ignored-extensions):
2990         Add .p64fsl, .d64fsl, and .dx64fsl.
2992 2008-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2994         * ffap.el (ffap-prompter): Don't use the region.
2996 2008-06-05  Sam Steingold  <sds@gnu.org>
2998         * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
2999         subdirectory to be registered.
3001 2008-06-05  Martin Rudalics  <rudalics@gmx.at>
3003         * window.el (display-buffer-function, special-display-p)
3004         (special-display-buffer-names, special-display-regexps)
3005         (special-display-function, same-window-p, same-window-buffer-names)
3006         (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
3007         (pop-up-frame-function, pop-up-windows, even-window-heights)
3008         (split-window-preferred-function, split-height-threshold)
3009         (window--display-buffer-1, display-buffer, pop-to-buffer):
3010         Move from window.c and buffer.c.
3011         (window--splittable-p, window--try-to-split-window)
3012         (window--frame-usable-p, window--display-buffer-2)
3013         (window--even-window-heights): New functions.
3014         (split-width-threshold): New option.
3015         (split-window-preferred-horizontally): Remove.
3017         * cus-start.el: Remove corresponding declarations.
3019 2008-06-05  Sam Steingold  <sds@gnu.org>
3021         * vc.el (vc-update): Use `save-some-buffers' instead of signaling
3022         an error on modified buffers.
3024 2008-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3026         * progmodes/etags.el (tags-verify-table): Be careful to use and update
3027         tags-file-name and tags-table-list from the right buffer.
3028         (tags-table-check-computed-list, tags-table-extend-computed-list)
3029         (find-tag-noselect): Use with-current-buffer.
3031         * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
3032         Use print-circle.
3034         * minibuffer.el (minibuffer-local-must-match-filename-map):
3035         Declare obsolete alias for the old name.
3037         * abbrev.el (unexpand-abbrev): Better preserve markers.
3039 2008-06-05  Glenn Morris  <rgm@gnu.org>
3041         * emacs-lisp/autoload.el (autoload-rubric): New function,
3042         extracted from autoload-ensure-default-file.
3043         (autoload-ensure-default-file): Use autoload-rubric.
3045         * cus-dep.el (generated-custom-dependencies-file): Doc fix.
3046         (custom-dependencies-no-scan-regexp): New variable.
3047         (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
3048         Don't scan files matching custom-dependencies-no-scan-regexp.
3049         Disable undo in the output buffer.  Remove kept-new-versions wackiness.
3051         * finder.el (finder-headmark): Initialize and add doc string.
3052         (generated-finder-keywords-file): Doc fix.
3053         (finder-no-scan-regexp): New variable.
3054         (finder-compile-keywords): Use a single let binding.
3055         Disable undo in the output buffer.  Use autoload-rubric.
3056         Use mapc rather than mapcar.  Don't scan files matching
3057         finder-no-scan-regexp.  Use with-temp-buffer.  Use expand-file-name
3058         rather than concat.  Use directory-files to do regexp matching.
3059         No need to require jka-compr.
3060         (finder-list-keywords): Remove un-needed set-buffer.  Disable undo.
3061         (finder-list-matches): Disable undo.
3062         (finder-commentary): Use let rather than let*.  Disable undo.
3063         (finder-current-item): Use zerop.
3064         (finder-mode): Use define-derived-mode.
3065         (finder-exit): Doc fix.  Use dolist.
3067         * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
3068         (custom-deps): Don't require $(lisp)/cus-load.el.
3069         (custom-deps, finder-data): Don't depend on autoloads.
3070         Should not be needed now, and doing so was causing make install to
3071         re-dump emacs post-bootstrap.
3072         (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
3073         mid-build forces some things to be rebuilt.
3075 2008-06-05  Miles Bader  <miles@gnu.org>
3077         * face-remap.el
3078         (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
3079         (face-remap-remove-relative): Renamed from
3080         `remove-relative-face-remapping'.
3081         (face-remap-reset-base): Renamed from
3082         `set-default-base-face-remapping'.
3083         (face-remap-set-base): Renamed from `set-base-face-remapping'.
3084         (text-scale-increase): Renamed from `increase-buffer-face-height'.
3085         (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
3086         (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
3088         * face-remap.el (variable-pitch-mode): Autoload.
3090 2008-06-04  Sam Steingold  <sds@gnu.org>
3092         * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
3093         Generate extra status headers for a Mercurial tree.
3095 2008-06-04  John Paul Wallington  <jpw@pobox.com>
3097         * echistory.el (electric-history-map): Define within defvar.
3098         Add docstring.
3100         * font-lock.el (font-lock-turn-off-thing-lock)
3101         (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
3102         Use `bound-and-true-p'.
3103         (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
3104         Doc fixes.
3106         * international/ccl.el (define-ccl-program): Add `doc-string'
3107         declaration.
3109 2008-06-04  Juanma Barranquero  <lekktu@gmail.com>
3111         * face-remap.el (variable-pitch-mode): Reflow docstrings.
3112         (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
3114 2008-06-04  Trent W. Buck  <trentbuck@gmail.com>  (tiny change)
3116         * emacs-lisp/rx.el (rx): Doc fix.
3118 2008-06-04  Markus Triska  <markus.triska@gmx.at>
3120         * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
3122 2008-06-04  Miles Bader  <miles@gnu.org>
3124         * face-remap.el (adjust-buffer-face-height): New function.
3125         Add autoloaded keybindings in ctl-x-map.
3126         (increase-buffer-face-height, decrease-buffer-face-height):
3127         Simplify interactive spec to just "p".  Remove autoloaded keybindings.
3129 2008-06-03  Chong Yidong  <cyd@stupidchicken.com>
3131         * simple.el (line-move-1): If we did not move as far as desired,
3132         ensure that point-left and point-entered hooks are called.
3134 2008-06-03  Sam Steingold  <sds@gnu.org>
3136         * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
3138 2008-06-03  John Paul Wallington  <jpw@pobox.com>
3140         * progmodes/make-mode.el (makefile-cleanup-continuations)
3141         (makefile-warn-suspicious-lines, makefile-warn-continuations):
3142         Use `derived-mode-p'.
3144 2008-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3146         * Makefile.in (update-elclist): Impose a fixed collation for sorting.
3147         (ELCFILES): Update.
3149 2008-06-03  Miles Bader  <miles@gnu.org>
3151         * face-remap.el: New file.
3152         * Makefile.in (ELCFILES): Add face-remap.elc.
3154 2008-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3156         * progmodes/flymake.el (flymake-process-filter): Make sure the source
3157         buffer isn't dead.
3159         * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
3160         * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
3161         * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
3162         * obsolete/auto-show.el, obsolete/hscroll.el:
3163         Remove packages that were obsolete in Emacs-20, or that were obsolete
3164         in Emacs-21 and do not contain any more code.
3166         * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
3167         vc-client-mode is not set.
3169         * image-mode.el (image-mode-map): Suppress key map and bind `q'.
3170         * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
3172         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
3173         yet a bit more clever at distinguishing / from /.
3175 2008-06-03  Kenichi Handa  <handa@m17n.org>
3177         * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
3179 2008-06-03  Jihyun Cho  <jihyun.jo@gmail.com>
3181         * language/hanja-util.el: New file.
3183 2008-06-03  Glenn Morris  <rgm@gnu.org>
3185         * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
3186         Check that end-of-word follows "type".
3188 2008-06-02  Daiki Ueno  <ueno@unixuser.org>
3190         * epa-file.el (epa-file-write-region): Write the entire buffer
3191         content if START is nil.
3193 2008-06-01  Thomas Morgan  <tlm@thomasmorgan.net>  (tiny change)
3195         * select.el (x-get-selection): Fix typo.
3197 2008-06-01  Juanma Barranquero  <lekktu@gmail.com>
3199         * descr-text.el (describe-text-sexp): Use `string-match-p'.  Simplify.
3200         (describe-char): Use `looking-at-p', `string-match-p' when possible.
3202 2008-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3204         * tar-mode.el (tar-header-block-summarize): Ensure one space around
3205         user&group.
3207 2008-05-31  John Paul Wallington  <jpw@pobox.com>
3209         * help-fns.el (describe-variable-custom-version-info):
3210         Handle dotted `package-version' info.
3212 2008-05-31  Juanma Barranquero  <lekktu@gmail.com>
3214         * icomplete.el (icomplete-get-keys): Doc fix.  Use `when'.
3216 2008-05-31  Dan Nicolaescu  <dann@ics.uci.edu>
3218         * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
3219         names and improve support for unregistered files.
3221 2008-05-31  Glenn Morris  <rgm@gnu.org>
3223         * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
3224         Remove shell variable `elc'.  Split tests to hopefully be more portable.
3225         Fix `sel' assignment.
3227 2008-05-30  Juanma Barranquero  <lekktu@gmail.com>
3229         * minibuffer.el (completion-table-dynamic): Doc fix.
3231 2008-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
3234         Try and return `unregistered' when applicable.
3236         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3237         Don't encourage naming variables with "-flag".
3239 2008-05-30  Glenn Morris  <rgm@gnu.org>
3241         * Makefile.in (update-elclist): Hide the warning when it does not apply,
3242         make it milder when it does.
3243         (autogen-clean): New target.
3244         (maintainer-clean): Use autogen-clean.
3246         * calendar/diary-lib.el (diary-display-function): New name for
3247         diary-display-hook.  Keep old name as obsolete alias.  Doc fix.
3248         Change custom type and version.
3249         (diary-list-entries-hook, diary-list-entries, diary-simple-display)
3250         (diary-fancy-display): Doc fixes.
3251         (diary-list-entries, diary-include-other-diary-files)
3252         (diary-mail-entries):
3253         Use diary-display-function rather than diary-display-hook.
3255         * calendar/appt.el (appt-check): Use diary-display-function rather than
3256         diary-display-hook.
3257         * calendar/cal-x.el (calendar-dedicate-diary): Update for
3258         diary-display-function replacing diary-display-hook.
3259         * org/org-agenda.el (org-get-entries-from-diary): Also set
3260         diary-display-function.
3262         * calendar/cal-html.el (cal-html-list-diary-entries):
3263         * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
3264         * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
3265         argument of diary-list-entries rather than setting diary-display-hook.
3267 2008-05-30  Kenichi Handa  <handa@m17n.org>
3269         * international/mule-conf.el (utf-8-with-signature): Renamed from
3270         utf-8-sig.
3271         (utf-8-auto): Adjusted for the above change.
3273         * international/mule-diag.el (describe-font): Don't check fontset
3274         here, and just call font-info.  Get the default font by from the
3275         default face.
3277 2008-05-29  Kenichi Handa  <handa@m17n.org>
3279         * international/mule-conf.el (utf-8-sig, utf-8-auto):
3280         New coding systems.
3282         * international/mule.el (define-coding-system): Accept :bom for utf-8.
3284 2008-05-29  Espen Wiborg  <espen.wiborg@telio.no>  (tiny change)
3286         * international/utf-7.el (utf-7-encode): Use the right escape char
3287         depending on imap/nonimap encoding.
3289 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3291         * minibuffer.el (completion-pcm-all-completions): Add the base-size.
3293 2008-05-29  Juanma Barranquero  <lekktu@gmail.com>
3295         * icomplete.el (icomplete-prospects-height): Add :group.
3297 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3299         * icomplete.el (icomplete-prospects-length): Make obsolete.
3300         (icomplete-prospects-height): New var.
3301         (icomplete-completions): Use it.
3303 2008-05-29  David Kastrup  <dak@gnu.org>
3305         * autoinsert.el (auto-insert): Add :link.
3307 2008-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3309         * tar-mode.el (tar-header): New field `header-start'.
3310         (tar-header-block-tokenize): Set it when useful.
3311         Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
3312         (tar-header-data-end): New function.
3313         (tar-summarize-buffer): Use it.
3314         (tar-next-line): Fix goal column for long usernames.
3315         (tar-expunge-internal): Use header-start.
3316         (tar-rename-entry): Handle ustar-style long names.
3317         (tar-alter-one-field): Add optional `descriptor' argument.
3318         (tar-subfile-save-buffer): Use it.
3320 2008-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3322         * tar-mode.el (tar-header): New field `header-start'.
3323         (tar-header-block-tokenize): Set header-start for longlink entries.
3324         (tar-expunge-internal): Use header-start to expunge longlink entries.
3326         * files.el (hack-local-variables): Don't signal an error if the local
3327         variable section is not properly terminated.
3329         * emacs-lisp/easymenu.el (easy-menu-convert-item)
3330         (easy-menu-convert-item-1): Move the duplicate-generation outside of
3331         the caching so it also works for identical entries.
3333         * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
3334         (tar-mode): Use write-region-annotate-functions rather than
3335         write-contents-functions.
3336         (tar-extract): Remove unused var `pos'.
3337         (tar-subfile-save-buffer): Remove unused var `following-descs'.
3338         (tar-mode-write-file): Remove.
3339         (tar-write-region-annotate): New function.
3341         * progmodes/flymake.el (flymake-save-buffer-in-file):
3342         * shadowfile.el (shadow-copy-file):
3343         * arc-mode.el (archive-*-write-file-member):
3344         * files.el (diff-buffer-with-file):
3345         * subr.el (with-temp-file): Pass nil to write-region.
3346         * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
3348         * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
3349         the custom.
3351         * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
3352         to write-region.
3354 2008-05-28  Glenn Morris  <rgm@gnu.org>
3356         * Makefile.in (update-elclist): Work around non-portability of "\"
3357         in various implementations of echo.
3359 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3361         * international/mule-diag.el (describe-current-coding-system):
3362         Don't assume selection-coding-system is always defined.
3364         * tar-mode.el: Use defstruct and markers.
3365         (tar-setf): Remove.
3366         (tar-header): Use defstruct.  Add `data-start' field.
3367         (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
3368         (tar-desc-data-start): Remove (now called tar-header-data-start).
3369         (tar-roundup-512): New fun.
3370         (tar-header-block-tokenize): Receive a buffer position rather than
3371         a string.  Handle @longLink here, be more careful about it.
3372         Create a marker for data-start.
3373         (tar-summarize-buffer): Don't handle @LongLink here any more.
3374         (tar-expunge-internal, tar-subfile-save-buffer): Don't update
3375         data-start on the following entries any more.
3376         (tar-chown-entry, tar-chgrp-entry): Use read-number.
3378         * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
3379         (tar-header-offset): Remove.
3380         (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
3381         Not permanent any more.
3382         (tar-data-buffer): New var.
3383         (tar-data-swapped-p, tar-change-major-mode-hook)
3384         (tar-mode-kill-buffer-hook): New funs.
3385         (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
3386         (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
3387         (tar-clear-modification-flags, tar-alter-one-field)
3388         (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
3389         Change accordingly.
3391 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
3393         * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
3394         (vc-dir-resynch-file): ... this.  Update callers.
3395         Use vc-string-prefix-p.  Ignore directory args.
3396         (vc-string-prefix-p): CSE.
3397         (vc-resynch-buffer): Restore conditional.
3399         * vc-hooks.el (vc-after-save): Improve test.
3400         (vc-mode-line): Fix indentation.
3402 2008-05-27  Chong Yidong  <cyd@stupidchicken.com>
3404         * calendar/parse-time.el (parse-time-months)
3405         (parse-time-weekdays): Add long-form month and day names.
3407 2008-05-27  Glenn Morris  <rgm@gnu.org>
3409         * Makefile.in (update-elclist): Make errors in final sed non-fatal.
3411 2008-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * vc-dispatcher.el (vc-string-prefix-p): New function.
3414         (vc-dir-parent-marked-p): Use it.
3416 2008-05-27  Dan Nicolaescu  <dann@ics.uci.edu>
3418         * vc.el (Problems): Remove fixed issues.
3419         (vc-expand-dirs): Avoid returning directories.
3420         (vc-dir): Fix C-x v v binding.
3421         (vc-make-backend-object): Fix name.
3422         (vc-dir-show-fileentry): Fix docstring.
3423         (vc-dir-refresh): Use vc-dir-backend.  Fix docstring.
3424         (vc-dir-refresh-files): Use vc-dir-backend.  Fix docstring.
3425         Reset the state for directories.
3426         (vc-dir-headers): Align labels.
3427         (vc-default-status-printer): Do no call prettify-state-info.
3428         (vc-deduce-fileset): Replace implementation with one based on a
3429         working older version.
3430         (vc-next-action): Use the new form of vc-deduce-fileset.
3431         Fix dealing with unregistered files.
3433         * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
3434         (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
3435         (vc-dir-child-files): New function.
3436         (vc-dir-node-directory): New function.
3437         (vc-dir-update, vc-dir-parent-marked-p)
3438         (vc-dir-children-marked-p, vc-dir-mark-all-files)
3439         (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
3441         * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
3443 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3445         * diff-mode.el (diff-context-mid-hunk-header-re): New const.
3446         (diff-font-lock-keywords, diff-context->unified)
3447         (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
3448         (diff-hunk-text, diff-find-source-location): Use it.
3449         (diff-post-command-hook): Let the user edit the hunk headers.
3451 2008-05-26  Andreas Schwab  <schwab@suse.de>
3453         * vc.el (vc-default-prettify-state-info): Fix formatting of an
3454         unknown state.
3456         * tar-mode.el (tar-summarize-buffer): Comment fix.
3458 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3460         * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
3462 2008-05-26  Glenn Morris  <rgm@gnu.org>
3464         * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
3466 2008-05-25  John Paul Wallington  <jpw@pobox.com>
3468         * proced.el (proced-next-line, proced-previous-line):
3469         Avoid calling `next-line' and `previous-line' from Lisp code.
3471 2008-05-25  Ed Reingold  <reingold@emr.cs.iit.edu>
3473         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
3474         Use diary-ordinal-suffix.
3476 2008-05-24  Juanma Barranquero  <lekktu@gmail.com>
3478         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
3479         (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
3480         (edebug-save-displayed-buffer-points, edebug-initial-mode)
3481         (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
3482         (edebug-print-length, edebug-print-level, edebug-print-circle)
3483         (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
3484         (edebug-global-break-condition, edebug-sit-for-seconds):
3485         Remove spurious * from defcustom docstrings.
3486         (edebug-unwrap*, edebug-signal, edebug-eval-display):
3487         Improve argument/docstring consistency.
3488         (edebug-test-coverage, edebug-gensym, edebug-read)
3489         (edebug-top-level-nonstop, edebug-eval-result-list)
3490         (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
3491         (edebug-eval-defun, edebug-eval-top-level-form, edebug)
3492         (edebug-display-freq-count): Reflow docstrings.
3493         (edebug-restore-status): Doc fix.
3495 2008-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3497         * proced.el (proced-header-line): Use the :align-to 0 feature
3498         rather than computing the corresponding position manually.
3499         (proced-update): Don't hardcode point-min==1.
3501 2008-05-24  Alan Mackenzie  <acm@muc.de>
3503         * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
3504         if c-file-style is set to a non-string.
3506         (c-neutralize-CPP-line): Surround by `save-excursion'.
3507         (c-neutralize-syntax-in-CPP): Optimize for speed.
3509 2008-05-24  Glenn Morris  <rgm@gnu.org>
3511         * Makefile.in (update-elclist): New target, to update ELCFILES.
3512         (bootstrap-after): Run update-elclist.
3514 2008-05-24  Ulf Jasper  <ulf.jasper@web.de>
3516         * icalendar.el (icalendar-version): Increase to "0.19".
3517         (icalendar--date-style): New function.
3518         (icalendar--datetime-to-diary-date): Doc fix.
3519         Use icalendar--date-style.
3520         (icalendar--datestring-to-isodate): Doc fix.  Handle iso date style.
3521         (icalendar--convert-yearly-to-ical)
3522         (icalendar--convert-recurring-to-diary): Handle iso date style,
3523         use icalendar-date-style.
3525 2008-05-23  Dan Nicolaescu  <dann@ics.uci.edu>
3527         * vc.el (vc-delete-file): Make sure the buffer is deleted and
3528         vc-dir buffers are updated.
3530 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * vc.el (vc-delete-file): Don't try to resynch the buffer.
3534 2008-05-23  Paul Rivier  <paul.r.ml@gmail.com>
3536         * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
3537         * textmodes/reftex.el (reftex-extra-bindings-map): New var.
3538         (reftex-extra-bindings): Use it.
3540         * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
3541         away from the user-reserved keys.
3543         * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
3544         New vars.
3545         (ada-create-keymap): Use them.
3547 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3549         * emacs-lisp/regexp-opt.el (regexp-opt): Always return
3550         a properly-grouped regexp.
3552 2008-05-23  Juanma Barranquero  <lekktu@gmail.com>
3554         * progmodes/cap-words.el (capitalized-words-mode):
3555         Fix typos in docstring.
3557 2008-05-23  Kenichi Handa  <handa@m17n.org>
3559         * international/mule-conf.el: Don't define the charset `emacs'
3560         here, just put :docstring, :short-name, and :long-name.
3562 2008-05-22  Kenichi Handa  <handa@m17n.org>
3564         * international/mule-diag.el (font-show-log): Limit each listing
3565         to 20 items.
3567 2008-05-23  Nick Roberts  <nickrob@snap.net.nz>
3569         * progmodes/gdb-ui.el (gdb-enable-debug): New function.
3570         (gdb-annotation-rules): New entry for "thread-changed".
3571         (gdb-thread-changed): New function.
3573 2008-05-23  Glenn Morris  <rgm@gnu.org>
3575         * Makefile.in (SOURCES): Remove, unused.
3576         (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
3577         (TAGS, TAGS-LISP): Use a single rule with multiple targets.
3578         Exclude more '*loaddefs' files.
3579         (compile-always): Simplify '.elc' deletion.
3581 2008-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
3584         (vc-bzr-revision-completion-table): Handle `boundaries' argument.
3586         * minibuffer.el (completion-boundaries): Change calling
3587         convention, so `string' has the same semantics as in
3588         try-completion and all-completions.
3589         (completion-table-with-context, completion--embedded-envvar-table)
3590         (completion--file-name-table)
3591         (completion-pcm--find-all-completions): Adjust code accordingly.
3593 2008-05-22  Chong Yidong  <cyd@stupidchicken.com>
3595         * image-mode.el (image-mode-winprops): Add argument CLEANUP to
3596         prune image-mode-winprops-alist, preventing it from growing
3597         indefinitely.
3598         (image-mode-reapply-winprops): Use it.
3600 2008-05-22  Teodor Zlatanov  <tzz@lifelogs.com>
3602         * net/netrc.el (netrc-machine): Always match if the port is not given.
3604 2008-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3606         * minibuffer.el (completion-pcm--find-all-completions):
3607         Don't add pseudo-completions.
3609         * icomplete.el (icomplete-eoinput): Remove.
3610         (icomplete-overlay): New var to replace it.
3611         (icomplete-tidy): Rewrite.
3612         (icomplete-exhibit): Use an overlay.
3613         (icomplete-completions): Use completion-all-sorted-completions.
3614         Obey completion-ignore-case.
3616         * files.el (locate-dominating-file): Accept non-existing argument.
3617         (project-find-settings-file): Rewrite, using locate-dominating-file.
3619 2008-05-22  Kenichi Handa  <handa@m17n.org>
3621         * faces.el (font-weight-table, font-slant-table, font-width-table):
3622         Delete them.  Don't call internal-set-font-style-table.
3624         * international/mule-diag.el (font-show-log): New function.
3626         * international/fontset.el (script-representative-chars): Add more
3627         chars for latin.  Add data for symbol.
3628         (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
3630 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * minibuffer.el (completion-all-sorted-completions): New var.
3633         (completion--flush-all-sorted-completions)
3634         (completion-all-sorted-completions): New functions.
3635         (minibuffer-force-complete): New command.
3637 2008-05-21  Glenn Morris  <rgm@gnu.org>
3639         * files.el (c-postprocess-file-styles): Declare for compiler.
3641         * Makefile.in: Allow for parallel byte-compiling.
3642         (ELCFILES): New variable.
3643         (.el.elc): Remove prerequisites from suffix rule.  Print a message.
3644         (compile-first, compile-main, compile-last): New targets.
3645         (compile-always): Simplify - delete .elc files, then `make compile'.
3647         * Makefile.in (compile-calc): Use glob rather than find.
3648         ($(lisp)/progmodes/cc-mode.elc): Use $@.
3650         * eshell/esh-module.el: No need for cl when compiling.
3652         * eshell/eshell.el (eshell-defgroup): New alias.
3653         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3654         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3655         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3656         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3657         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3658         * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
3659         Autoload the custom group.  Set generated-autoload-file.
3660         * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
3661         for eshell-defgroup.
3662         * eshell/esh-module.el (eshell-load-defgroups): Remove.
3663         Require esh-groups rather than loading it.
3665 2008-05-21  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3667         * proced.el (proced-header-line): New variable and new function.
3668         (proced-mode): Set header-line-format.
3669         (proced-update): Set proced-header-line.
3670         (proced-send-signal): Use proced-header-line.
3672 2008-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3674         * macros.el (insert-kbd-macro): Use prin1-char.
3676 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3678         * minibuffer.el (completion-boundaries): New function.
3679         (completion--some): Delay errors.
3680         (complete-with-action, completion-table-with-context):
3681         Handle `boundaries' case.
3682         (completion--try-word-completion): Avoid partial-completion
3683         when the user hasn't entered anything yet.
3684         (minibuffer-local-map, minibuffer-local-filename-completion-map)
3685         (minibuffer-local-must-match-map, minibuffer-local-completion-map)
3686         (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
3687         Setup default keybindings.
3688         (completion--embedded-envvar-re): New var.
3689         (completion--embedded-envvar-table): Use it.  Handle `boundaries' case.
3690         (completion--file-name-table): Handle `boundaries' case.
3691         (completion-pcm--pattern->regex): Avoid pathological backtracking.
3692         (completion-pcm--all-completions): Add a `prefix' arg.
3693         (completion-pcm--find-all-completions): New function.
3694         (completion-pcm-all-completions, completion-pcm-try-completion):
3695         Use it.
3697         * icomplete.el (icomplete-completions): Don't use `predicate' with
3698         a table of a different type than `candidates'.
3700 2008-05-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3702         * proced.el (proced-goal-column): Rename from proced-procname-column.
3703         (proced-goal-header-re): Rename from proced-procname-column-regexp.
3704         (proced-move-to-goal-column): Rename from proced-move-to-procname.
3705         (proced-header-face, proced-header-regexp): Remove.
3706         (proced-font-lock-keywords): Remove proced-header-face.
3707         (proced-header-alist, proced-sorting-schemes-re): New variables.
3708         (proced): Rename Proced buffer to *Proced*.
3709         (proced-next-line, proced-previous-line): New commands.
3710         (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
3711         (proced-hide-processes): Do not treat first line as special.
3712         (proced-header-space): New function.
3713         (proced-update): Use header-line-format.
3714         Initialize proced-header-alist and proced-sorting-schemes-re.
3715         Set proced-goal-column.  Include proced-command in mode-name.
3716         (proced-send-signal): Use header-line-format for *Marked
3717         Processes* buffer.
3718         (proced-sort): Restrict minibuffer completion to applicable
3719         sorting schemes.
3720         (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
3722 2008-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3724         * icomplete.el (icomplete-simple-completing-p):
3725         Allow icomplete-with-completion-tables to say "use it everywhere".
3726         (icomplete-completions): Obey completion-styles.  Try to accommodate
3727         partial-completion style.
3729 2008-05-20  Michael Olson  <mwolson@gnu.org>
3731         * files.el (project-find-settings-file): Change concat to
3732         expand-file-name.
3734 2008-05-19  Tom Tromey  <tromey@redhat.com>
3736         * files.el (normal-mode): Call hack-project-variables.
3737         (hack-local-variables-confirm): Add 'project' argument.
3738         (hack-local-variables-apply): New function.
3739         (hack-local-variables): Use it.
3740         (project-class-alist, project-directory-alist): New variables.
3741         (project-get-alist): New function.
3742         (project-collect-bindings-from-alist)
3743         (project-collect-binding-list, set-directory-project)
3744         (project-find-settings-file, project-define-from-project-file)
3745         (hack-project-variables): New functions.
3747 2008-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3749         * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
3751 2008-05-19  Juanma Barranquero  <lekktu@gmail.com>
3753         * faces.el (font-weight-table): Fix typo in docstring.
3755 2008-05-18  David Hull  <david@snap.com>  (tiny change)
3757         * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
3758         (vc-hg-annotate-command): Allow white space before version number.
3760 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
3762         * calc/calc-yank.el (calc-register-alist): New variable.
3763         (calc-set-register, calc-get-register, calc-copy-to-register)
3764         (calc-insert-register, calc-add-to-register, calc-append-to-register)
3765         (calc-prepend-to-register): New functions.
3767         * calc/calc-ext.el (calc-init-extensions): Add keybindings for
3768         `calc-copy-to-register' and `calc-insert-register'.
3769         Autoload new register functions.
3771         * calc/calc-help.el (calc-r-prefix-help): Add help for register
3772         functions.
3774 2008-05-18  Dan Nicolaescu  <dann@ics.uci.edu>
3776         * vc.el (Todo): Add known problems.
3777         (vc-dir-backend): New variable.
3778         (vc-dir): Set it.
3779         (vc-make-backend-object, vc-generic-status-printer)
3780         (vc-generic-state, vc-generic-status-fileinfo-extra)
3781         (vc-dir-extra-menu): Use it.
3782         (vc-generic-dir-headers): Remove, unused.
3784         * vc-dispatcher.el (vc-dir-previous-directory): Rename from
3785         vc-dir-prev-directory for consistency with vc-dir-previous-line.
3786         (vc-dir-mode-map): Fix bindings.
3788         * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
3790 2008-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
3792         * calc/calc-yank.el (calc-kill): Make sure that only the stack is
3793         operated on.
3794         (calc-kill-region): Kill entire lines.
3796 2008-05-17  Glenn Morris  <rgm@gnu.org>
3798         * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
3799         simplify initial value.
3800         (defezimage): Drop support for Emacs without defimage, use a featurep
3801         test rather than fboundp when defining, drop with-no-warnings.
3802         (ezimage-insert-over-text): Move featurep test inside
3803         add-text-properties.
3805         * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
3807         * net/tramp.el (top-level): Load auth-source when compiling.
3809         * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
3811 2008-05-17  Andreas Schwab  <schwab@suse.de>
3813         * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
3815 2008-05-17  Dan Nicolaescu  <dann@ics.uci.edu>
3817         * vc.el (vc-annotate-show-diff-revision-at-line): Change
3818         vc-diff-internal arg to match what vc-deduce-fileseset returns now.
3820 2008-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3822         * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
3824 2008-05-17  Jim Meyering  <meyering@redhat.com>
3826         * ido.el (ido-save-history): Do not emit a trailing newline at the
3827         end of the ido history file.
3829 2008-05-16  John Paul Wallington  <jpw@pobox.com>
3831         * vc-dispatcher.el (top-level): Revert previous change: require cl
3832         when compiling.
3834 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
3836         * vc.el (vc-default-status-printer)
3837         (vc-default-prettify-state-info): Enhance the state prettyprinter
3838         to deal better with unknown states and indirect through it when
3839         painting vc-dir buffers.
3841 2008-05-16  John Paul Wallington  <jpw@pobox.com>
3843         * vc-dispatcher.el (top-level): Don't require cl when compiling.
3844         (vc-dir-mode-map): Fix backquote.
3845         (vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.
3847 2008-05-16  Michael Albinus  <michael.albinus@gmx.de>
3849         * net/tramp.el (tramp-handle-write-region): Fix check for short track.
3850         Reported by Glenn Morris <rgm@gnu.org>.
3852 2008-05-16  Eric S. Raymond  <esr@snark.thyrsus.com>
3854         * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
3855         the end of the file, it was good work at one time but has been
3856         stale since 1995 and may now be actively misleading.
3857         * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
3858         CVS repository and module (assumptions for the latter a bit iffy).
3859         * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
3860         SVN repository.
3862 2008-05-16  Juanma Barranquero  <lekktu@gmail.com>
3864         * vc-rcs.el (vc-rcs-create-tag):
3865         * vc-sccs.el (vc-sccs-create-tag):
3866         Fix typo in error message and pass backend arg.
3868 2008-05-15  Michael Albinus  <michael.albinus@gmx.de>
3870         * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
3872 2008-05-15  Teodor Zlatanov  <tzz@lifelogs.com>
3874         * net/tramp.el: Load auth-source library.
3875         (tramp-read-passwd): Use it for password, not login.
3877 2008-05-15  Shigeru Fukaya  <shugeru.fukaya@gmail.com>
3879         * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
3880         (ses-print-cell): Use string-width, truncate-string-to-width,
3881         delete-region rather than length, substring, delete-char.
3882         (ses-setup): Set inhibit-point-motion-hooks to t.
3883         Calculate position by actually moving point rather than just using
3884         unibyte character length.
3885         (ses-mode): Set indent-tabs-mode to nil.
3886         (ses-center): Use string-width rather than length.
3888 2008-05-15  Eric S. Raymond  <esr@snark.thyrsus.com>
3890         * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
3891         * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
3892         Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
3893         vc-*-create-tag and vc-*-retrieve-tag respectively.
3895         * vc-dispatcher.el: Fix an incorrect buffer name and remove an
3896         unneeded defalias.
3898         * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
3900         * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
3901         about buffer names.
3903 2008-05-15  Glenn Morris  <rgm@gnu.org>
3905         * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
3907         * org/org-exp.el (org-infojs-options-inbuffer-template):
3908         Fix declaration.
3910         * progmodes/cc-mode.el (declare-function): Add compat definition.
3911         (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
3913 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
3915         * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
3916         list to a cons so the caller can get back both expanded and
3917         unexpanded filesets.
3918         * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
3919         (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
3920         Change handling of selection-set returns as required.
3922 2008-05-15  John Paul Wallington  <jpw@pobox.com>
3924         * add-log.el (top-level): Don't require cl when compiling.
3926         * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
3927         (archive-*-extract): Use `zerop'.
3928         (archive-*-write-file-member): Use `or', use `zerop'.
3930         * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
3932         * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
3933         (ibuffer-mark-interactive, ibuffer-set-mark)
3934         (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
3935         (ibuffer-map-lines, ibuffer-switch-format)
3936         (ibuffer-update-title-and-summary)
3937         (ibuffer-redisplay-engine): Use it.
3939         * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
3940         (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
3941         (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
3942         (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
3943         (ibuffer-mark-read-only-buffers)
3944         (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
3946         * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
3947         (define-ibuffer-column, define-ibuffer-sorter)
3948         (define-ibuffer-op, define-ibuffer-filter): Add declarations
3949         containing indentation specs, replacing equivalent top-level
3950         forms that set `lisp-indent-function' properties.
3951         (define-ibuffer-op): Use `derived-mode-p'.
3952         (define-ibuffer-filter): Remove redundant `concat' call.
3954 2008-05-14  Michael Albinus  <michael.albinus@gmx.de>
3956         * net/tramp.el (tramp-echo-mark): Update docstring.
3957         (tramp-echo-mark-marker): New defconst.
3958         (tramp-check-for-regexp): Use it.
3960 2008-05-14  Eric S. Raymond  <esr@snark.thyrsus.com>
3962         * vc.el (vc-deduce-fileset): Do the right thing when visting a
3963         buffer (say, a log buffer or diff buffer) with a vc-dir buffer
3964         as parent.
3966 2008-05-14  John Paul Wallington  <jpw@pobox.com>
3968         * international/mule.el (convert-define-charset-argument):
3969         Remove period from end of error message.
3970         (coding-system-mnemonic): Doc fix.
3971         (ctext-pre-write-conversion): Doc fix.
3973 2008-05-14  Simon Marshall  <simon@gnu.org>
3975         * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
3976         from its default value and give it the risky-local-variable
3977         property (CVE-2008-2142).
3979 2008-05-14  Kenichi Handa  <handa@m17n.org>
3981         * language/korean.el ("Korean"): Set `iso639-language'
3982         property to `ko'.
3984         * language/japanese.el ("Japanese"): Set `iso639-language'
3985         property to `ja'.
3987         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3988         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
3989         ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
3991         * international/mule-cmds.el (set-language-environment):
3992         Set current-iso639-language.
3994         * international/fontset.el (setup-default-fontset): For kana, han,
3995         hangul, and cjk-misc, move an entry with font-spec at the end.
3996         (generate-fontset-menu): Exclue fontset-auto* from the list.
3998         * composite.el (compose-chars-after): Assume that WINDOW is always
3999         non-nil.
4001         * faces.el (font-weight-table, font-slant-table)
4002         (font-swidth-table): Declare them by defconst.  Change the format
4003         of elements.  Call internal-set-font-style-table after their
4004         declaration.
4005         (face-valid-attribute-values): Call font-family-list.  Get values
4006         for width, weight, and slant from font-xxx-table.
4008         * cus-face.el (custom-face-attributes): Add "thin" for :weight.
4010 2008-05-13  John Paul Wallington  <jpw@pobox.com>
4012         * ibuffer.el (ibuffer-buffer-file-name): New function.
4013         (define-ibuffer-column filename): Use it.
4015         * ibuf-ext.el (define-ibuffer-filter filename): Use it.
4017 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
4019         * talk.el (talk): Simplify.  Pass display arg to talk-add-display
4020         as a string.
4021         (talk-add-display): Simplify.  Accept only string args.
4023 2008-05-13  Jay Belanger  <jay.p.belanger@gmail.com>
4025         * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
4027 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4029         * Makefile.in (bootstrap-prepare): Don't chmod files.
4030         (autoloads): Do it here instead, where it's actually needed.
4032 2008-05-13  Chong Yidong  <cyd@stupidchicken.com>
4034         * tool-bar.el (tool-bar-make-keymap): Account for the optional
4035         KEY-BINDING-DATA field in menu-item list.
4037 2008-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4039         * dired.el (dired-read-dir-and-switches): Move things about to use less
4040         recursion during macroexpansion.
4042         * dired.el (dired-read-dir-and-switches): Use read-file-name.
4044         * dired.el (dired-read-dir-and-switches): Ignore ., .., and
4045         completion-ignored-extension directories if there's something else.
4046         (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
4047         (dired-remember-marks, dired-undo, dired-build-subdir-alist)
4048         (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
4049         (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
4050         buffer-read-only -> inhibit-read-only.
4052 2008-05-12  Eric S. Raymond  <esr@snark.thyrsus.com>
4054         * vc.el (vc-expand-dirs): Stop this function from tossing out
4055         explicitly specified files.
4057 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
4060         to `insert'.
4062 2008-05-12  Dan Nicolaescu  <dann@ics.uci.edu>
4064         * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
4065         cons.  Use vc-annotate-backend.
4066         (with-vc-file, edit-vc-file): Remove unused macros.
4068 2008-05-12  Teodor Zlatanov  <tzz@lifelogs.com>
4070         * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
4071         (smtpmail-try-auth-methods): Use it.
4073 2008-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4075         * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
4076         (setf (nthcdr ..) ..) doesn't require CL at runtime.
4078 2008-05-11  Carsten Dominik  <dominik@science.uva.nl>
4080         * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
4082 2008-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4084         * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
4085         (vc-bzr-revision-completion-table): Use process-file.
4086         (vc-bzr-working-revision): Pass relative file names.
4088         * diff-mode.el (diff-hunk-header-re): Refine the regexp.
4090 2008-05-11  Juri Linkov  <juri@jurta.org>
4092         * wid-edit.el (widget-image-directory): Change default image data
4093         subdirectory from "custom" to "images/custom".
4095         * info.el (Info-next-preorder): Let-bind `Info-history' to nil
4096         before recursive call to `Info-next-preorder' to not add
4097         intermediate nodes to the history.
4099         * isearch.el: Put isearch-scroll property on recenter-top-bottom.
4101         * emulation/cua-base.el: Put isearch-scroll property
4102         on cua-scroll-up and cua-scroll-down.
4104 2008-05-11  Eric S. Raymond  <esr@snark.thyrsus.com>
4106         * vc-hooks.el (vc-recompute-state): Remove (dead code).
4108 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
4110         * vc-dispatcher.el (ewoc): Require.
4111         (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
4113         * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
4115 2008-05-10  Chong Yidong  <cyd@stupidchicken.com>
4117         * term/w32-win.el (x-colors):
4118         * term/mac-win.el (x-colors):
4119         * term/x-win.el (x-colors): Re-order colors.
4121 2008-05-10  Reiner Steib  <reiner.steib@gmx.de>
4123         * smerge-mode.el (smerge-command-prefix): Fix custom type.
4125 2008-05-10  Eric S. Raymond  <esr@snark.thyrsus.com>
4127         * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
4128         New functions implementing motion to next and previous directory.
4130         * vc-arch.el (vc-arch-command):
4131         * vc-bzr.el (vc-bzr-command):
4132         * vc-cvs.el (vc-cvs-command):
4133         * vc-dispatcher.el (vc-do-command):
4134         * vc-git.el (vc-git-command):
4135         * vc-hg.el (vc-hg-command):
4136         * vc-mcvs.el (vc-mvcs-command):
4137         * vc-mtn.el (vc-mtn-command):
4138         * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
4139         (vc-sccs-workfile-unchanged-p):
4140         * vc-svn.el (vc-svn-command, vc-svn-create-repo):
4141         * vc-rcs.el (all methods): Remove assumption about what a nil
4142         argument to vc-do-command means.  This means no buffer name needs
4143         to be hardcoded into the dispatcher layer, and it's better to be
4144         explicit anyway.
4146         * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
4148 2008-05-10  Dan Nicolaescu  <dann@ics.uci.edu>
4150         * vc.el: Update todo.
4152         * vc-sccs.el (vc-sccs-dir-status):
4153         * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
4154         backends and returning up to date files.
4156         * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
4158 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
4160         * vc.el (vc-dir):
4161         * vc-hooks.el: Tweak the VC directory bindings.  These are now
4162         documented in the manual.
4164         * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
4165         (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
4166         (vc-dispatcher-selection-set): Allow callers to pass in an
4167         observer flag that says no buffer sync is required.
4168         * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
4169         Use the observer flag.
4171 2008-05-09  Michael Albinus  <michael.albinus@gmx.de>
4173         * simple.el (start-file-process): Clarify docstring.
4175 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
4177         * vc-sccs.el, vc-svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
4178         Remove stub implementations of, and references to, wash-log.
4179         * vc-rcs.el (vc-rcs-comment-history):
4180         * vc-cvs.el (vc-cvs-comment-history):
4181         Inline the code that used to be wash-log.
4183         * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
4184         (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
4185         (vc-sccs-print-log, vc-sccs-diff): Grok directories.
4186         * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
4187         (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
4188         (vc-rcs-print-log): Grok directories.
4190 2008-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4192         * vc.el (vc-mark-resolved): Add `backend' argument.
4193         (vc-next-action): Pass it the backend.
4194         (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
4195         (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
4196         (vc-default-comment-history, vc-default-create-snapshot)
4197         (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
4198         (vc-annotate-revision-previous-to-line)
4199         (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
4200         * vc-svn.el (vc-svn-checkout):
4201         * vc-mcvs.el (vc-mcvs-checkout):
4202         * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
4203         (vc-working-revision, vc-before-save, vc-mode-line):
4204         Prefer vc-call-backend to vc-call so as not to recompute the backend.
4206         * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
4207         state to be consistent since it's often an unwarranted restriction.
4208         Don't return the state either.
4209         (vc-next-action): Check that the state is consistent.
4210         (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
4211         (vc-rollback, vc-update): Adapt to new return value of
4212         vc-deduce-fileset.
4214         * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
4215         (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
4216         (vc-dispatcher-in-fileset-p): New fun.
4217         (vc-dispatcher-selection-set): Use it to properly handle directories.
4219 2008-05-09  Dan Nicolaescu  <dann@ics.uci.edu>
4221         * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
4222         (vc-update): Remove unused let bindings.
4224 2008-05-09  Eric S. Raymond  <esr@snark.thyrsus.com>
4226         * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
4227         (vc-diff, vc-revert, vc-rollback, vc-update):
4228         * vc-dispatcher.el (vc-dispatcher-selection-set):
4229         Get rid of 4 special cases in fileset selection.  This involved
4230         changing the return value of (vc-deduce-fileset) so that it passes
4231         back a deduced state as well as a deduced back end.
4233 2008-05-08  Sam Steingold  <sds@gnu.org>
4235         * progmodes/compile.el (compilation-minor-mode-map)
4236         (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
4237         * progmodes/grep.el (grep-mode-map): Use `set-keymap-parent' to connect
4238         it to `compilation-minor-mode-map' (instead of an explicit `cons').
4240 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4242         * org/org.el (org-modules, org-format-latex-options):
4243         * org/org-archive.el (org-archive-stamp-time)
4244         (org-archive-save-context-info):
4245         * org/org-faces.el (org-hide):
4246         * org/org-irc.el (org-irc-parse-link):
4247         * org/org-macs.el (org-call-with-arg, org-autoload):
4248         * org/org-mew.el (org-mew-store-link):
4249         * org/org-remember.el (org-remember-store-without-prompt)
4250         (org-remember-templates): Fix typos in docstrings.
4252         * org/org-info.el (org-info-store-link): Remove leftover docstring.
4254         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4255         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4256         (org-bbdb-anniv-split): Fix typos in docstrings.
4258         * org/org-publish.el (org-publish-project-alist): Doc fixes.
4259         (org-publish-use-timestamps-flag): Reflow docstring.
4260         (org-publish-files-alist): Fix typos in docstring.
4262 2008-05-07  Sam Steingold  <sds@gnu.org>
4264         * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
4265         appears to be too aggressive with window removal.
4267 2008-05-08  Michael McNamara  <mac@mail.brushroad.com>
4269         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4270         Add leda and 0in as pragma keywords.
4271         (verilog-pretty-expr): Support lining up assignments which include
4272         part selects.
4273         (verilog-mode): More portable check for the availability of
4274         hideshow support.
4275         (verilog-do-indent): Remove special indent for declarations inside
4276         a parenthetical list.  The code is ill-advised, and doesn't work
4277         given the new user defined types.
4278         (verilog-set-auto-endcomments): Enhance function automatic
4279         endcomment to support functions that return user defined types.
4280         (verilog-mode): Add code to tell which-function-mode minor mode
4281         that Verilog supports this feature.
4283 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
4285         * epa-file.el: Require epa-hook.
4287         * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
4289         * epa-hook.el: Renamed from epa-file-hook.el, to avoid
4290         file-names clashes on 8+3 filesystems.  Provide epa-hook.
4292         * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
4293         file-names clashes on 8+3 filesystems.
4295 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
4297         * org/org.el (org-read-date-get-relative): Interpret lone
4298         weekday abbreviation as relative to today.
4300 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
4302         * abbrev.el (define-abbrev-table):
4303         * composite.el (toggle-auto-composition):
4304         * json.el (json-alist-p, json-plist-p):
4305         * minibuffer.el (completion-table-with-predicate):
4306         * ps-mule.el (ps-mule-external-libraries):
4307         * emacs-lisp/advice.el (ad-special-form-p):
4308         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4309         * eshell/em-smart.el (eshell-review-quick-commands):
4310         * progmodes/python.el (python-comment-line-p, python-blank-line-p)
4311         (python-skip-out, python-check-comint-prompt):
4312         Don't use `iff' in docstrings.
4314         * international/robin.el (robin-package-alist): Fix typo in docstring.
4315         (robin-current-package-name): Doc fix.
4316         (robin-activate): Don't use `iff' in docstring.
4318 2008-05-07  Eric S. Raymond  <esr@snark.thyrsus.com>
4320         * vc.el, vc-dispatcher.el: VC-Dired support removed.
4321         The code uses a ewoc-based implementation now.
4322         * vc-hooks.el: Support for Meta-CVS has been removed.
4324 2008-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4326         * tool-bar.el: Choose images dynamically.
4327         (tool-bar-make-keymap, tool-bar-find-image): New function.
4328         (tool-bar-find-image-cache): New var.
4329         (tool-bar-local-item, tool-bar-local-item-from-menu):
4330         Don't select the image yet, do it later in tool-bar-make-keymap.
4332 2008-05-07  Andreas Schwab  <schwab@suse.de>
4334         * window.el: Require 'cl when compiling.
4336 2008-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
4338         * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
4340 2008-05-07  Glenn Morris  <rgm@gnu.org>
4342         * subr.el (ignore-errors): Move here from cl-macs.el.
4343         * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
4345         * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
4346         oddness.
4348 2008-05-06  Eric S. Raymond  <esr@snark.thyrsus.com>
4350         * vc-hooks.el (vc-find-file-hook):
4351         * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
4352         further from vc.el.
4353         * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
4355 2008-05-06  Wilson Snyder  <wsnyder@wsnyder.org>
4357         * progmodes/verilog-mode.el (verilog-getopt-file):
4358         Cleanup warning message format.
4359         (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
4360         (verilog-auto-inout, verilog-auto-inout-module)
4361         (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
4362         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4363         (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
4364         (verilog-auto-sense-sigs, verilog-auto-tieoff)
4365         (verilog-auto-unused, verilog-auto-wire)
4366         (verilog-decls-get-assigns, verilog-decls-get-consts)
4367         (verilog-decls-get-gparams, verilog-decls-get-inouts)
4368         (verilog-decls-get-inputs, verilog-decls-get-outputs)
4369         (verilog-decls-get-ports, verilog-decls-get-regs)
4370         (verilog-decls-get-signals, verilog-decls-get-wires)
4371         (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
4372         (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
4373         (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
4374         (verilog-inject-sense, verilog-library-filenames)
4375         (verilog-mode-release-date, verilog-mode-version)
4376         (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
4377         (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
4378         (verilog-modi-get-assigns, verilog-modi-get-consts)
4379         (verilog-modi-get-gparams, verilog-modi-get-inouts)
4380         (verilog-modi-get-inputs, verilog-modi-get-outputs)
4381         (verilog-modi-get-ports, verilog-modi-get-regs)
4382         (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
4383         (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
4384         (verilog-modi-get-wires, verilog-preserve-cache)
4385         (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
4386         (verilog-read-sub-decls, verilog-read-sub-decls-line)
4387         (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
4388         (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
4389         Add caching of additional state, and rework signal extraction
4390         routines to improve AUTO expansion performance by 300%++.
4392 2008-05-06  Chong Yidong  <cyd@stupidchicken.com>
4394         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4395         Tweak Open Watcom regexp to distinguish between errors and warnings.
4397 2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4399         * dired.el (dired-read-dir-and-switches): Fix up last change.
4401 2008-05-05  Eric S. Raymond  <esr@snark.thyrsus.com>
4403         * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
4404         out of this function, move it to vc-dispatcher-selection-set.
4406 2008-05-05  Sam Steingold  <sds@gnu.org>
4408         * window.el (delete-other-windows-vertically): New function.
4410 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4412         * dired.el (dired-read-dir-and-switches):
4413         Obey read-file-name-completion-ignore-case.
4415 2008-05-05  Nick Roberts  <nickrob@snap.net.nz>
4417         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4418         Add regexp for Open Watcom compiler output.
4420 2008-05-05  Phil Sung  <psung@mit.edu>  (tiny change)
4422         * progmodes/python.el (python-block-pairs): Align finally with except.
4424 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
4428 2008-05-05  Tom Tromey  <tromey@redhat.com>
4430         * smerge-mode.el (smerge-start-session): Don't call smerge-next if
4431         looking at conflict marker.
4433 2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4435         * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
4436         client-mode -> vc-client-object, and guess `funcall' was meant.
4437         (vc-dir-mode): Rename client-mode -> vc-client-mode.
4439 2008-05-05  Dan Nicolaescu  <dann@ics.uci.edu>
4441         * net/zeroconf.el (dbus-call-method, dbus-register-signal)
4442         (dbus-debug): Move declarations outside eval-when-compile.
4444 2008-05-04  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
4446         * proced.el (proced-command-alist): Fix system-type values.
4447         Fix defcustom.
4448         (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
4449         (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
4450         (proced-sort-start, proced-sort, proced-sort-time): New commands.
4451         (proced-update): Use proced-sorting-scheme.  Update modeline.
4452         (proced-send-signal): Use nreverse.
4453         (proced-sorting-scheme-p): New function.
4455 2008-05-04  Andreas Schwab  <schwab@suse.de>
4457         * vc.el: Require dired when compiling.
4459         * minibuffer.el (completion--insert-strings): Don't delete past bol.
4461 2008-05-03  Glenn Morris  <rgm@gnu.org>
4463         * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
4464         * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
4465         Simplify compilation requirements.
4466         * ediff-init.el, ediff-vers.el: Remove unnecessary variable
4467         declarations.
4469 2008-05-03  Dave Love  <fx@gnu.org>
4471         * progmodes/python.el (python-beginning-of-statement):
4472         Loop at least once (fixes 2008-02-21 change).
4474 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
4476         * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
4477         instead of `length' for comparing length of user and group names.
4479 2008-05-03  Eric S. Raymond  <esr@snark.thyrsus.com>
4481         * vc-dispatcher.el: New file, separates out the UI and command
4482         execution machinery from VCS-specific logic left in vc.el.
4483         The separation is not yet completely clean, but it's a good start.
4484         * vc.el: This file is about 1700 lines shorter now.
4485         Remove obsolete logentry-check from the backend API.
4486         * vc-sccs.el (vc-sccs-logentry-check): Remove.  This was the only
4487         implementation of the logentry-check method, and it guarded against
4488         a log length limit that has probably been obsolete for 15 years (!).
4490 2008-05-02  Sam Steingold  <sds@gnu.org>
4492         * progmodes/compile.el (compilation-start): Move setting of
4493         compilation-directory after (funcall mode) as that resets local
4494         variables, this fixes recompile in grep buffers.
4495         * progmodes/grep.el (grep-mode-map): Bind "g" to recompile (like
4496         in dired &c).
4498 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
4500         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
4501         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
4502         * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
4503         has one of these and that all are called in compatible ways.
4504         * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
4505         * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
4506         * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
4507         backend has one of these.
4509 2008-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4511         * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
4512         initialization into define-abbrev-table.  Use :regexp.
4513         (octave-mode-syntax-table): Don't set word syntax for `.
4515         * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
4516         than only value.
4518         * dired.el (dired-read-dir-and-switches):
4519         Set minibuffer-completing-file-name and call substitute-in-file-name.
4520         (dired-format-columns-of-files): Use completion--insert-strings.
4522         * minibuffer.el (completion-hilit-commonality): Revert last change:
4523         the leftover code was actually useful.
4524         (completion--insert-strings): Use string-width rather than length.
4526 2008-05-02  Sam Steingold  <sds@gnu.org>
4528         * vc.el (vc-dir-mode-map): Enable mouse bindings.
4529         (vc-at-event): New macro: run the body at the even location.
4530         (vc-dir-menu, vc-dir-toggle-mark): Use it.
4531         (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
4532         * subr.el (mouse-event-p): Check if the event is mouse-related.
4534 2008-05-02  Nick Roberts  <nickrob@snap.net.nz>
4536         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
4537         Don't throw error if no file is found.
4539 2008-05-02  Juanma Barranquero  <lekktu@gmail.com>
4541         * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
4542         (vc-default-state-heuristic): Doc fix.
4544 2008-05-02  Richard Sharman  <rsharman@pobox.com>
4546         * hilit-chg.el (highlight-changes-mode): Remove references to
4547         hooks that no longer exist.  Because define-minor-mode is used the
4548         hook highlight-changes-mode-hook exists and can do what both the
4549         old hooks used to do.  The documentation at the top of the file
4550         was updated to demonstrate this.
4551         (highlight-changes-mode): Remove commented out call to a hook
4552         function that is no longer there.
4553         (hilit-chg-set): Remove running of highlight-changes-enable-hook.
4555 2008-05-02  Eric S. Raymond  <esr@snark.thyrsus.com>
4557         * vc.el (vc-default-dired-state-info): Change name of primitive
4558         to prettify-state-info, in preparation for ripping out dired mode.
4559         * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
4560         to prettify-state-info, in preparation for ripping out dired mode.
4561         * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
4562         tries this on a version-controlled buffer.  It will do useless or
4563         actively bad things on any version control system newer than RCS.
4564         * vc-hooks.el (vc-dired-resynch-file):
4565         * vc.el (vc-dired-resynch-file): Change name of primitive to
4566         vc-directory-resynch-file, preparing to remove dired.
4568 2008-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
4570         * vc-rcs.el (vc-rcs-state): Fix typos.
4572         * vc.el (vc-register): Change argument order so that the prefix
4573         argument is assigned correctly.
4574         (vc-next-action, vc-dir-register): Update for the above change.
4576 2008-05-01  Juri Linkov  <juri@jurta.org>
4578         * replace.el (occur-read-primary-args): Set default to the car of
4579         regexp-history and display it in the prompt, but don't add to the
4580         list of minibuffer defaults.  Bind history-add-new-input to nil to
4581         not add automatically `default'.  For empty input return `default'.
4582         Otherwise, add `input' to regexp-history and return it.
4583         (occur-1): Signal an error for the empty regexp.
4585         * progmodes/compile.el (compilation-auto-jump):
4586         Set window point to `pos' explicitly.
4588 2008-05-01  Eric S. Raymond  <esr@snark.thyrsus.com>
4590         * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
4591         when appropriate.
4592         * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
4593         we report the 'unregistered state reliably.
4594         * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
4595         we report the 'unregistered state reliably.
4596         * vc-git.el (vc-git-state): Call vc-git-unregistered so
4597         we report the 'unregistered state reliably.
4598         * vc-hooks.el (vc-state): Document that vc-unregistered is
4599         now expected to be returned reliably.
4600         * vc.el (vc-default-dired-state): Change needs-patch state to
4601         needs-update, since the name now shows up in dir-status listings
4602         and was somewhat misleading.
4603         * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
4604         immediately after removing the file.
4605         * vc.el (vc-next-action): More informative messages when a fileset
4606         is in a mixed state or files are missing.
4608 2008-05-01  Sam Steingold  <sds@gnu.org>
4610         * vc.el (vc-delete-file): Check if the file has uncommitted changes.
4612 2008-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4614         * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
4616 2008-05-01  Daiki Ueno  <ueno@unixuser.org>
4618         * epa-file-hook.el: New file split from epa-file.el.
4619         * epa-file.el: Require 'epa-file-hook.
4620         (epa-file-handler): Add autoload cookie.
4621         * loadup.el: Load epa-file-hook.
4622         * startup.el (command-line): Eval the body of auto-encryption-mode.
4624 2008-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
4626         * vc.el (vc-dir-mode-map): Don't bind "r".
4628         * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
4629         (vc-hg-status-printer): New function.
4630         (vc-hg-after-dir-status): Deal with copied and renamed files.
4631         (vc-hg-dir-status): Add flag to show copied files.
4633 2008-05-01  John Paul Wallington  <jpw@pobox.com>
4635         * ibuffer.el (ibuffer-last-sorting-mode): New variable.
4636         (ibuffer-do-sort-by-recency): Reverse sorting order if last
4637         sorting mode was recency.
4639         * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
4640         reverse sorting order if last sorting mode was the sorter's.
4642 2008-05-01  Jason Rumney  <jasonr@gnu.org>
4644         * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
4646 2008-04-30  John Paul Wallington  <jpw@pobox.com>
4648         * ibuffer.el (define-ibuffer-column filename): When the major mode
4649         is `vc-dir-mode' show the buffer's default directory.
4651         * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
4652         major mode is `vc-dir-mode' use the buffer's default directory.
4654 2008-04-30  Sam Steingold  <sds@gnu.org>
4656         * vc.el (vc-dir-delete-file): Add.
4657         (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
4658         (vc-delete-file): Do not barf when the file has been already deleted.
4660 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
4662         * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
4664 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4666         * progmodes/octave-mod.el (octave-help): New function.
4667         * progmodes/octave-hlp.el: Delete.
4668         * info-look.el (octave-mode): Add operator index.
4670         * vc.el (vc-checkout): Typo.
4672 2008-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
4674         * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
4675         Add "..." in the appropriate places.
4677         * epa.el (epa-key-list-mode-map): Add more menu entries.
4678         Add "..." in the appropriate places.
4680         * dired.el (dired-mode-map): Add :help.
4682         * vc.el (vc-deduce-fileset): Add new parameter.
4683         (vc-dir-marked-only-files): New function.
4684         (vc-next-action): Don't ignore directories, look at the files
4685         inside them.
4686         (vc-dir-mode): Document how the mark/unmark commands work.
4688 2008-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4690         * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
4691         Rule out trailing spaces in file and directory names as well.
4693         * minibuffer.el (completion--do-completion): Move point even if the
4694         completion makes no change.
4695         (completion-pcm-try-completion): Fix computation of new point.
4697 2008-04-30  David Hansen  <david.hansen@gmx.net>
4699         * dired.el: Require 'cl.
4701 2008-04-30  Nick Roberts  <nickrob@snap.net.nz>
4703         * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
4704         hollow if not in innermost frame.
4706 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4708         Make `checkout-model' apply to filesets.
4709         * vc-hooks.el (vc-checkout-model): Rewrite.
4710         (vc-before-save, vc-after-save): Adjust callers accordingly.
4711         * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
4712         (vc-transfer-file): Adjust callers accordingly.
4713         * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
4714         (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
4715         (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
4716         instead of vc-checkout-model.
4717         * vc-mcvs.el (vc-mcvs-revert):
4718         Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
4719         * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
4720         (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
4721         * vc-svn.el (vc-svn-checkout-model):
4722         * vc-hg.el (vc-hg-checkout-model):
4723         * vc-git.el (vc-git-checkout-model):
4724         * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
4726         * dired.el (dired-read-dir-and-switches): Replace last change with
4727         a new approach that mixes read-file-name and read-directory-name.
4729         * files.el (read-buffer-to-switch):
4730         Avoid making assumptions about `other-buffer'.
4732 2008-04-29  Sam Steingold  <sds@gnu.org>
4734         * vc.el (vc-dir-mode-hook): Add normal hook.
4735         (vc-dir-mode): Run it.
4737 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
4739         * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
4740         Always split windows.
4741         (gdb-speedbar-timer-fn): Only raise frame after user input.
4742         (gdb-same-frame): Reverse initial value.
4743         (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
4745         * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
4746         gdb-speedbar-timer-fn.
4748 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4750         * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
4752 2008-04-29  Daiki Ueno  <ueno@unixuser.org>
4754         * epa.el (epa-key-list-mode-map): Add menu.
4755         (epa-delete-keys, epa-import-keys): Fix typo.
4757 2008-04-29  Glenn Morris  <rgm@gnu.org>
4759         * find-cmd.el (top-level): Does not need cl when compiling.
4761 2008-04-29  Phil Jackson  <phil@shellarchive.co.uk>
4763         * find-cmd.el: New file.
4765 2008-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         * minibuffer.el (completion-hilit-commonality): Remove leftover code.
4768         (completion-pcm--pattern->regex): Let `group' be a list of symbols.
4769         (completion-pcm--hilit-commonality): New function.
4770         (completion-pcm-all-completions): Use it.
4772         * minibuffer.el (completion-common-substring): Mark obsolete.
4773         (completions-first-difference, completions-common-part):
4774         Move from simple.el.
4775         (completion-hilit-commonality): New fun.
4776         (display-completion-list, completion-emacs21-all-completions)
4777         (completion-emacs22-all-completions): Use it.
4778         * simple.el (completions-first-difference, completions-common-part):
4779         Move to minibuffer.el.
4780         (choose-completion-string): Use field functions and minibufferp.
4781         (completion-setup-function): Don't set completions faces.
4783 2008-04-29  Glenn Morris  <rgm@gnu.org>
4785         * calendar/calendar.el (calendar-nth-named-absday)
4786         (calendar-nth-named-day):
4787         * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
4788         * calendar/holidays.el (holiday-float): Doc fixes.
4790         * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
4791         the `full' case.
4793         * org/org-agenda.el (calendar-iso-from-absolute):
4794         * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
4795         Fix declarations.
4797 2008-04-28  Nick Roberts  <nickrob@snap.net.nz>
4799         * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
4800         icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
4801         (gdb-goto-breakpoint): Likewise for visiting breakpoints.
4802         (gdb-assembler-custom): Be careful not to match other addresses.
4804 2008-04-29  Jason Rumney  <jasonr@gnu.org>
4806         * battery.el (battery-status-function): Use w32-battery-status
4807         on Windows.
4808         (battery-echo-area-format): Make apm format the general case.
4809         (battery-mode-line-format): Merge apm and pmset formats as the
4810         general case.
4812 2008-04-29  Nick Roberts  <nickrob@snap.net.nz>
4814         * progmodes/gdb-ui.el (gdb-info-stack-custom):
4815         Use gud-tool-bar-item-visible-no-fringe.
4816         (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
4817         is already visible in frame.  Remove optional size parameter
4818         and add optional frame parameter.
4820         * progmodes/gud.el (gud-display-line): Only consider visible
4821         frames when looking for source buffer.
4823 2008-04-28  Chong Yidong  <cyd@stupidchicken.com>
4825         * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
4826         argument to get-char-property, in case the current buffer hasn't
4827         been assigned to that window yet.
4828         (doc-view-display): Default to selected window if the current
4829         buffer hasn't been assigned to a window yet.
4831 2008-04-28  Vinicius Jose Latorre  <bzg@altern.org>
4833         * whitespace.el (whitespace-trailing-regexp): Fix docstring.
4835 2008-04-28  Michael Albinus  <michael.albinus@gmx.de>
4837         * net/tramp.el (tramp-mode): New defcustom.
4838         (tramp-file-name-handler, tramp-completion-file-name-handler):
4839         Use it.
4840         (tramp-replace-environment-variables): Handle "$$".
4842 2008-04-28  Sam Steingold  <sds@gnu.org>
4844         * vc-hg.el (vc-hg-rename-file): Fix argument order.
4846 2008-04-28  Bastien Guerry  <bzg@altern.org>
4848         * whitespace.el (whitespace-trailing): Fix typo.
4850 2008-04-28  Sam Steingold  <sds@gnu.org>
4852         * textmodes/remember.el (diary-make-entry): Update the autoload.
4854 2008-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
4857         all-completions.
4859 2008-04-28  Juanma Barranquero  <lekktu@gmail.com>
4861         * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
4863 2008-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
4865         * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
4866         (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
4867         (vc-dir-mark-file): Add an optional argument.
4868         (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
4870 2008-04-27  Daiki Ueno  <ueno@unixuser.org>
4872         * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
4873         rather than obsolete alias find-file-hooks.
4874         (auto-encryption-mode): Rename from epa-file-mode.  Default to on.
4875         Use find-file-hook rather than obsolete alias find-file-hooks.
4876         Add to find-file-not-found-functions.
4877         (epa-file-handler): Put 'safe-magic and 'operations properties.
4879         * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
4880         (epa-menu-items): Remove.
4882         * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
4883         (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
4884         (epa-dired-mode, epa-global-dired-mode): Remove.
4886         * dired.el (dired-mode-map): Bind encryption/decryption commands.
4888         * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
4890         * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
4892 2008-04-27  Glenn Morris  <rgm@gnu.org>
4894         * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
4895         Remove un-needed local `orig-list'.  Replace cl `copy-list'.
4897 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
4899         * org/org.el (org-html-level-start): Always have id's in HTML.
4900         (org-export-as-html): Use `org-link-protocols' to
4901         retrieve the export form of the link.
4902         (org-add-link-type): Final parameter renamed from PUBLISH.
4903         Better documentation of how it is to be used.  Avoid double entries for
4904         the same link type.
4905         (org-add-link-props): New function.
4906         (org-modules-loaded): New variable.
4907         (org-load-modules-maybe, org-set-modules): New function.
4908         (org-modules): New option.
4909         (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
4910         (orgtbl-mode, org-store-link, org-insert-link-global)
4911         (org-open-at-point): Call `org-load-modules-maybe'.
4912         (org-search-view): Add more text properties.
4913         (org-agenda-schedule, org-agenda-deadline): Allow also in
4914         search-type agendas.
4915         (org-search-view): Order of arguments has been changed.
4916         Interpret prefix-arg as TODO-ONLY.
4917         (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
4918         Take new argument order of `org-search-view' into account.
4919         (org-todo-only): New variable.
4920         (org-search-syntax-table): New variable and function.
4921         (org-search-view): Do the search with the special syntax table.
4922         (define-obsolete-function-alias): Make work with XEmacs.
4923         (org-add-planning-info): Use old date as default when modifying an
4924         existing deadline or scheduled item.
4925         (org-agenda-compute-time-span): Make argument N optional.
4926         (org-agenda-format-date-aligned): Require `cal-iso'.
4927         (org-agenda-list): Include week into agenda heading, don't
4928         list it at each date (only on Mondays).
4929         (org-read-date-analyze): Define local variable `iso-date'.
4930         (org-agenda-format-date-aligned): Remove dependency on
4931         `calendar-time-from-absolute'.
4932         (org-remember-apply-template, org-go-to-remember-target):
4933         Interpret filenames relative to `org-directory'.
4934         (org-complete): Silently fail when trying to complete
4935         keywords that don't have a default value.
4936         (org-get-current-options): Add a #+DATE: option.
4937         (org-additional-option-like-keywords): Remove "DATE:" from the
4938         list of additional keywords.
4939         (org-export-as-html): Remove (current-time) as unnecessary second
4940         argument of `format-time-string'.
4941         (org-clock-find-position): Handle special case at end of buffer.
4942         (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
4943         `org-agenda-change-time-span'.
4944         (org-agenda-week-view): New argument ISO-WEEK, pass it on to
4945         `org-agenda-change-time-span'.
4946         (org-agenda-month-view): New argument MONTH, pass it on to
4947         `org-agenda-change-time-span'.
4948         (org-agenda-year-view): New argument YEAR, pass it on to
4949         `org-agenda-change-time-span'.
4950         (org-agenda-change-time-span): New optional argument N, pass it on
4951         to `org-agenda-compute-time-span'.
4952         (org-agenda-compute-time-span): New argument N, interpret it by
4953         changing the starting day.
4954         (org-small-year-to-year): New function.
4955         (org-scheduled-past-days): Respect `org-scheduled-past-days'.
4956         (org-auto-repeat-maybe): Make sure that repeating dates are pushed
4957         into the future, and that the shift is at least one interval, never 0.
4958         (org-update-checkbox-count): Fix bug with checkbox counting.
4959         (org-add-note): New command.
4960         (org-add-log-setup): Rename from `org-add-log-maybe'.
4961         (org-log-note-headings): New entry for plain notes (i.e. notes not
4962         related to state changes or clocking).
4963         (org-get-org-file): Check for availability of `remember-data-file'.
4964         (org-cached-entry-get): Allow a regexp value for
4965         `org-use-property-inheritance'.
4966         (org-use-property-inheritance): Allow regexp value.  Fix bug in
4967         customization type.
4968         (org-use-tag-inheritance): Allow a list and a regexp value for
4969         this variable.
4970         (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
4971         (org-entry-get): Respect value `selective' for the INHERIT argument.
4972         (org-tag-inherit-p, org-property-inherit-p): New functions.
4973         (org-agenda-format-date-aligned): Allow 10 characters for
4974         weekday, to acomodate German locale.
4975         (org-add-archive-files): New function.
4976         (org-agenda-files): New argument `ext', to get archive files as well.
4977         (org-tbl-menu): Protect the use of variables that
4978         are only available when org-table.el gets loaded.
4979         (org-read-agenda-file-list): Error if `org-agenda-files' is a
4980         single directory.
4981         (org-open-file): Allow a batch process to trigger
4982         waiting after executing a system command.
4983         (org-store-link): Link to headline when there is not
4984         target and no region in an org-mode buffer when creating a link.
4985         (org-link-types-re): New variable.
4986         (org-make-link-regexps): Compute `org-link-types-re'.
4987         (org-make-link-description-function): New option.
4988         (org-agenda-date, org-agenda-date-weekend): New faces.
4989         (org-archive-sibling-heading): New option.
4990         (org-archive-to-archive-sibling): New function.
4991         (org-iswitchb): New command.
4992         (org-buffer-list): New function.
4993         (org-agenda-columns): Also try the #+COLUMNS line in
4994         the buffer associated with the entry at point (or with the first
4995         entry in the agenda view).
4996         (org-modules): Add entry for org-bibtex.el.
4997         (org-completion-fallback-command): Move into `org-completion' group.
4998         (org-clock-heading-function): Move to `org-progress' group.
4999         (org-auto-repeat-maybe): Make sure that a note can
5000         be enforces if `org-log-repeat' is `note'.
5001         (org-modules): Allow additional symbols for external packages.
5002         (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
5003         (org-clock-goto): Hide drawers after showing an
5004         entry with `org-clock-goto'.
5005         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
5006         Try also a clocktable block shift.
5007         (org-clocktable-try-shift): New function.
5008         (org-columns-hscoll-title): New function.
5009         (org-columns-previous-hscroll): New variable.
5010         (org-columns-full-header-line-format): New variable.
5011         (org-columns-display-here-title, org-columns-remove-overlays):
5012         Install `org-columns-hscoll-title' in post-command-hook.
5014         * org/org.el: Split into many small files.
5016         * org/org-agenda.el: New file, split off from org.el.
5018         * org/org-archive.el: New file, split off from org.el.
5020         * org/org-bbdb.el: New file.
5022         * org/org-bibtex.el: New file, split off from org.el.
5024         * org/org-clock.el: New file, split off from org.el.
5026         * org/org-colview.el: New file, split off from org.el.
5028         * org/org-compat.el: New file, split off from org.el.
5030         * org/org-exp.el: New file, split off from org.el.
5032         * org/org-faces.el: New file, split off from org.el.
5034         * org/org-gnus.el: New file, split off from org.el.
5036         * org/org-info.el: New file, split off from org.el.
5038         * org/org-infojs.el: New file.
5040         * org/org-irc.el: New file.
5042         * org/org-macs.el: New file, split off from org.el.
5044         * org/org-mew.el: New file.
5046         * org/org-mhe.el: New file, split off from org.el.
5048         * org/org-publish.el: New file, split off from org.el.
5050         * org/org-remember.el: New file, split off from org.el.
5052         * org/org-rmail.el: New file, split off from org.el.
5054         * org/org-table.el: New file, split off from org.el.
5056         * org/org-vm.el: New file, split off from org.el.
5058         * org/org-wl.el: New file, split off from org.el.
5060 2008-04-27  Jason Riedy  <jason@acm.org>
5062         * org/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
5063         parameter that supresses lines that evaluate to NIL.
5064         (orgtbl-get-fmt): New inline function for
5065         picking apart formats that may be lists.
5066         (orgtbl-apply-fmt): New inline function for applying formats that
5067         may be functions.
5068         (orgtbl-eval-str): New inline function for strings that may be
5069         functions.
5070         (orgtbl-format-line, orgtbl-to-generic): Use and document.
5071         (orgtbl-to-latex, orgtbl-to-texinfo): Document.
5072         (*orgtbl-llfmt*, *orgtbl-llstart*)
5073         (*orgtbl-llend*): Dynamic variables for last-line formatting.
5074         (orgtbl-format-section): Shift formatting to support detecting the
5075         last line and formatting it specially.
5076         (orgtbl-to-generic): Document :ll* formats.  Set to the non-ll
5077         formats unless overridden.
5078         (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
5079         (*orgtbl-table*, *orgtbl-rtn*): Dynamically
5080         bound variables to hold the input collection of lines and output
5081         formatted text.
5082         (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
5083         (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
5084         format parameters.
5085         (orgtbl-format-line): New function encapsulating formatting for a
5086         single line.
5087         (orgtbl-format-section): Similar for each section.  Rebinding the
5088         dynamic vars customizes the formatting for each section.
5089         (orgtbl-to-generic): Use orgtbl-format-line and
5090         orgtbl-format-section.
5091         (org-get-param): Now unused, so delete.
5092         (orgtbl-gather-send-defs): New function to
5093         gather all the SEND definitions before a table.
5094         (orgtbl-send-replace-tbl): New function to find the RECEIVE
5095         corresponding to the current name.
5096         (orgtbl-send-table): Use the previous two functions and implement
5097         multiple destinations for each table.
5099         * doc/org.texi (A LaTeX example): Note that fmt may be a
5100         one-argument function, and efmt may be a two-argument function.
5101         (Radio tables): Document multiple destinations.
5103 2008-04-27  Carsten Dominik  <dominik@science.uva.nl>
5105         * org/org-agenda.el (org-add-to-diary-list): New function.
5106         (org-prefix-has-effort): New variable.
5107         (org-sort-agenda-noeffort-is-high): New option.
5108         (org-agenda-columns-show-summaries)
5109         (org-agenda-columns-compute-summary-properties): New options.
5110         (org-format-agenda-item): Compute the duration of the item.
5111         (org-agenda-weekend-days): New variable.
5112         (org-agenda-list, org-timeline): Use the proper faces for dates in
5113         the agenda and timeline buffers.
5114         (org-agenda-archive-to-archive-sibling): New command.
5115         (org-agenda-start-with-clockreport-mode): New option.
5116         (org-agenda-clockreport-parameter-plist): New option.
5117         (org-agenda-clocktable-mode): New variable.
5118         (org-agenda-deadline-leaders): Allow a function value for the
5119         deadline leader.
5120         (org-agenda-get-deadlines): Deal with new function value.
5122         * org/org-clock.el (org-clock): New customization group.
5123         (org-clock-into-drawer, org-clock-out-when-done)
5124         (org-clock-in-switch-to-state, org-clock-heading-function):
5125         Move into the new group.
5126         (org-clock-out-remove-zero-time-clocks): New option.
5127         (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
5128         (org-dblock-write:clocktable): Allow a Lisp form for the scope
5129         parameter.
5130         (org-dblock-write:clocktable): Fix bug with total time calculation.
5131         (org-dblock-write:clocktable): Request the unrestricted list of files.
5132         (org-get-clocktable): New function.
5133         (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
5134         be strings but also integers (an absolute day number) and lists (m d y).
5136         * org/org-colview.el (org-columns-next-allowed-value)
5137         (org-columns-edit-value): Limit the effort for updating in the
5138         agenda to recomputing a single file.
5139         (org-columns-compute): Only write property value if it has changed.
5140         This avoids raising the buffer-change-flag unnecessarily.
5141         (org-agenda-colview-summarize)
5142         (org-agenda-colview-compute): New functions.
5143         (org-agenda-columns): Call `org-agenda-colview-summarize'.
5145         * org/org-exp.el (org-export-run-in-background): New option.
5146         (org-export-icalendar): Allow a batch process to trigger waiting
5147         after executing a system command.
5148         (org-export-preprocess-string): Rename from
5149         `org-cleaned-string-for-export'.
5150         (org-export-html-style): Made target class look like normal text.
5151         (org-export-as-html): Make use of the better proprocessing in
5152         `org-cleaned-string-for-export'.
5153         (org-cleaned-string-for-export): Better treatment of heuristic
5154         targets, many more internal links will now work in HTML export.
5155         (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
5156         (org-export-inbuffer-options-extra): New variable.
5157         (org-export-options-filters): New hook.
5158         (org-infile-export-plist): Find also the settings keywords in
5159         `org-export-inbuffer-options-extra'.
5160         (org-infile-export-plist): Allow multiple #+OPTIONS lines and
5161         multiple #+INFOJS_OPT lines.
5162         (org-export-html-handle-js-options): New function.
5163         (org-export-html-infojs-setup): New option.
5164         (org-export-as-html): Call `org-export-html-handle-js-options'.
5165         Add autoload to all entry points.
5166         (org-skip-comments): Function removed.
5168         * org/org-table.el (org-table-make-reference): Extra parenthesis
5169         around single fields, to make sure that algebraic formulas get
5170         correctly interpreted by calc.
5171         (org-table-current-column): No longer interactive.
5173         * org/org-export-latex.el (org-export-latex-preprocess):
5174         Rename from `org-export-latex-cleaned-string'.
5176 2008-04-27  Bastien Guerry  <bzg@altern.org>
5178         * org/org-publish.el (org-publish-get-base-files-1): New function.
5179         (org-publish-get-base-files): Use it.
5180         (org-publish-temp-files): New variable.
5181         Don't require 'dired-aux anymore.
5182         (org-publish-initial-buffer): New variable.
5183         (org-publish-org-to, org-publish): Use it.
5184         (org-publish-get-base-files-1): Bug fix: get
5185         the proper list of files when recursing thru a directory.
5186         (org-publish-get-base-files): Use the :exclude property to skip
5187         both files and directories.
5189 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
5191         * net/tramp.el (tramp-handle-make-symbolic-link)
5192         (tramp-handle-file-name-directory)
5193         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5194         (tramp-do-copy-or-rename-file-directly)
5195         (tramp-handle-insert-directory, tramp-handle-expand-file-name)
5196         (tramp-handle-substitute-in-file-name)
5197         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5198         * net/tramp-cache.el (tramp-get-file-property)
5199         (tramp-set-file-property, tramp-flush-file-property)
5200         (tramp-flush-directory-property)
5201         * net/tramp-compat.el (tramp-compat-make-temp-file)
5202         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
5203         Disable `file-name-handler-alist' when handling localname.
5204         It could have a remote file syntax, like a VMS file name.
5206 2008-04-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5208         * whitespace.el: New version 11.1.
5209         (whitespace-trailing-regexp): Option fix, now trailing regexp must be
5210         enclosed by \\( and \\)$.  Docstring fix.
5211         (whitespace-trailing-regexp): Fun removed.
5212         (whitespace-report-list): Const initialization fix.
5213         (whitespace-color-on): Code fix.
5215 2008-04-27  Andreas Schwab  <schwab@suse.de>
5217         * Makefile.el: Unbreak bootstrap.
5219 2008-04-27  Michael Albinus  <michael.albinus@gmx.de>
5221         * net/tramp.el (tramp-replace-environment-variables): New defun.
5222         (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
5223         Use it.
5225 2008-04-27  Glenn Morris  <rgm@gnu.org>
5227         * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
5229         * calculator.el (calculator-expt): Replace cl function `oddp'.
5231 2008-04-27  Johan Bockgård  <bojohan@gnu.org>
5233         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
5234         Simplify.  Collect `defun' and `autoload' entries.
5235         Avoid modifying load-history.
5237 2008-04-26  Glenn Morris  <rgm@gnu.org>
5239         * textmodes/ispell.el (ispell-insert-word): Revert previous change.
5241         * simple.el (quoted-insert, zap-to-char): Revert previous change.
5243 2008-04-26  John Paul Wallington  <jpw@pobox.com>
5245         * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
5246         `hexl-mode-old-eldoc-documentation-function'.
5247         (hexl-mode-exit): Restore it.
5248         (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
5250         * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
5252 2008-04-26  Juanma Barranquero  <lekktu@gmail.com>
5254         * minibuffer.el (completion-pcm-word-delimiters): Add :group.
5255         (completion-pcm--all-completions): Doc fix.
5256         (completion-styles-alist, completion-all-completions):
5257         Fix typos in docstrings.
5259 2008-04-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5261         * whitespace.el: There is now only one variable (whitespace-style) to
5262         specify which kind of blank is visualized.  Doc and docstring fix.
5263         New version 11.0.
5264         (whitespace-style): New option, replace whitespace-style-mark and
5265         whitespace-style-color.
5266         (whitespace-style-mark, whitespace-style-color): Options removed.
5267         (whitespace-hspace, whitespace-tab, whitespace-newline)
5268         (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
5269         (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
5270         (whitespace-hspace-regexp, whitespace-space-regexp)
5271         (whitespace-tab-regexp, whitespace-trailing-regexp)
5272         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
5273         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5274         (whitespace-space-after-tab-regexp, whitespace-line-column)
5275         (whitespace-display-mappings, whitespace-report): Docstring fix.
5276         (whitespace-color-value-list, whitespace-mark-value-list)
5277         (whitespace-active-color, whitespace-active-mark)
5278         (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
5279         (whitespace-style-value-list, whitespace-active-style)
5280         (whitespace-toggle-style): New vars.
5281         (whitespace-toggle-option-alist, whitespace-help-text):
5282         Var initialization and docstring fix.
5283         (whitespace-toggle-options, global-whitespace-toggle-options)
5284         (whitespace-cleanup, whitespace-cleanup-region)
5285         (whitespace-report-region, whitespace-interactive-char)
5286         (whitespace-toggle-list): Docstring and code fix.
5287         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
5288         (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
5289         (whitespace-display-char-on, whitespace-display-char-off): Code fix.
5290         (whitespace-style-face-p, whitespace-style-mark-p): New fun.
5292 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5294         * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
5295         (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
5296         (diff-sanity-check-hunk): Adjust code accordingly.
5298 2008-04-26  Glenn Morris  <rgm@gnu.org>
5300         * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
5302         * forms-d2.dat: Move to ../etc.
5303         * forms-d2.el (forms-file): Adapt for above change.
5305         * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
5306         `translation-table-for-input'.
5308         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
5309         (byte-compile-obsolete, byte-compile-variable-ref): Use it.
5311         * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
5312         to punctuation now it's not needed for abbrevs.
5313         (fortran-mode-abbrev-table): Remove defvar, make use of new
5314         define-abbrev-table :regexp feature.
5316         * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
5317         insert, now that translation-table-for-input is not needed.
5319 2008-04-26  Johannes Weiner  <hannes@saeurebad.de>
5321         * emacs-lisp/pp.el (pp-display-expression): New function,
5322         extracted from pp-eval-expression.
5323         (pp-eval-expression): Use pp-display-expression.
5324         (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
5325         (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
5326         (pp-eval-last-sexp): Use pp-last-sexp.
5328 2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5330         * abbrev.el (define-abbrev-table): Apply props even if the table
5331         exists already.
5333         * minibuffer.el (completion-table-with-context): Fix `pred' for the
5334         various kinds of completion tables.
5335         (completion-emacs22-try-completion): Place cursor after the /, as was
5336         done in Emacs-22's minibuffer-complete-word.
5337         Fix bug reported by David Hansen <david.hansen@gmx.net>.
5338         (completion-emacs22-try-completion): Merge all mergable text rather
5339         than just /.
5340         (completion-pcm--delim-wild-regex): New var.
5341         (completion-pcm-word-delimiters): New custom.
5342         (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
5343         (completion-pcm--string->pattern, completion-pcm--pattern->regex)
5344         (completion-pcm--all-completions, completion-pcm-all-completions)
5345         (completion-pcm--merge-completions, completion-pcm--pattern->string)
5346         (completion-pcm-try-completion): New functions.
5347         (completion-styles-alist): Add them.
5348         (completion-styles): Add it to the default.
5350 2008-04-25  Nick Roberts  <nickrob@snap.net.nz>
5352         * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
5353         (gdb-var-create-handler): ...until here when there are values.
5354         (gdb-post-prompt): Don't do -var-update with no watch expressions.
5355         (gdb-info-locals-handler): Don't match "struct {...}" as an array.
5357 2008-04-25  Eli Zaretskii  <eliz@gnu.org>
5359         * ls-lisp.el (ls-lisp-format): Fix last change.
5360         (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
5361         (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
5362         (ls-lisp-filesize-f-fmt): New defvars.
5363         (ls-lisp-insert-directory): Dynamically compute format specifiers
5364         for displaying UID, GID, and file size, and store them in the
5365         above variables.
5366         (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
5367         ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
5368         instead of constant format strings.
5369         (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
5370         ls-lisp-filesize-d-fmt instead of constant format strings.
5372 2008-04-24  Nick Roberts  <nickrob@snap.net.nz>
5374         * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
5375         value of addresses rather than (partial) string value.
5376         (gdb-frame-handler): Change regexp according to above change.
5377         (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
5378         (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
5379         (gdb-assembler-mode): Disable undo in these buffers.
5381 2008-04-24  Michael Albinus  <michael.albinus@gmx.de>
5383         * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
5384         Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
5386 2008-04-24  Sam Steingold  <sds@gnu.org>
5388         * textmodes/remember.el (remember-diary-extract-entries): Use
5389         diary-make-entry instead of the obsolete make-diary-entry.
5391 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5393         * subr.el (translation-table-for-input): Mark as obsolete.
5395         * isearch.el (isearch-search-string): Avoid string-bytes and aset.
5397         * international/quail.el (quail-build-decode-map): Avoid string-bytes.
5399         * textmodes/ispell.el (ispell-dictionary-alist-1)
5400         (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
5401         (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
5402         (ispell-dictionary-alist-6): Remove.
5403         (ispell-dictionary-base-alist): New var, merges the above.
5404         (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
5405         Use it.
5406         (ispell-dictionary-alist): Default to nil.  Remove autoload.
5407         (ispell-local-dictionary-alist): Remove autoload.
5409         * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
5410         (f90-mode-abbrev-table): Use the new :regexp feature.
5411         Merge defvar and mapc into define-abbrev-table.
5412         (f90-imenu-type-matcher): Remove unused `l'.
5413         (f90-imenu-generic-expression): Remove unused `not-ib'.
5414         (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
5415         (f90-change-keywords): Use restore-buffer-modified-p.
5417 2008-04-24  Glenn Morris  <rgm@gnu.org>
5419         * net/goto-addr.el (goto-address-prog-mode):
5420         * progmodes/bug-reference.el (bug-reference-prog-mode):
5421         Define for compiler.
5423         * minibuffer.el (x-file-dialog): Declare as function.
5425         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
5426         dframe-update-speed rather than obsolete alias speedbar-update-speed.
5428         * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
5429         (cal-menu-scroll-menu): Use commands rather than key macros, which don't
5430         work with easymenu.  Add :keys where needed.
5432         * calendar/cal-move.el (calendar-scroll-left): Handle case when
5433         event-start is nil.
5435         * calendar/calendar.el (calendar-mode-map): Fix typo.
5437 2008-04-24  Tom Tromey  <tromey@redhat.com>
5439         * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
5440         Document keywords.  Add :suppress.
5441         * pcvs-defs.el (cvs-mode-map): Use :suppress.
5443         * net/goto-addr.el (goto-address-unfontify): New function.
5444         (goto-address-fontify): Use it.  Respect goto-address-prog-mode.
5445         (goto-address-fontify-region, goto-address-mode)
5446         (goto-address-prog-mode): New functions.
5448         * progmodes/bug-reference.el: New file.
5450 2008-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5452         * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
5454 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5456         * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
5457         macros within lambdas.
5459 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5461         * minibuffer.el (completion-try-completion): Add `point' argument.
5462         Change return value.
5463         (completion-all-completions): Add `point' argument.
5464         (minibuffer-completion-help): Pass the new `point' argument.
5465         (completion--do-completion): Pass the whole field to try-completion.
5466         (completion--try-word-completion): Rewrite, making fewer assumptions.
5467         (completion-emacs21-try-completion, completion-emacs21-all-completions)
5468         (completion-emacs22-try-completion, completion-emacs22-all-completions)
5469         (completion-basic-try-completion, completion-basic-all-completions):
5470         New functions.
5471         (completion-styles-alist): Use them.
5473 2008-04-23  Agustín Martín  <agustin.martin@hispalinux.es>
5475         * textmodes/ispell.el (ispell-set-spellchecker-params):
5476         New function to make sure right params and dictionary alists are used
5477         after spellchecker changes.
5478         (ispell-aspell-dictionary-alist, ispell-last-program-name)
5479         (ispell-initialize-spellchecker-hook): New variables and hook.
5480         (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
5481         (ispell-maybe-find-aspell-dictionaries): Remove.
5482         Calls replaced by (ispell-set-spellchecker-params) calls.
5483         (ispell-have-aspell-dictionaries): Remove.
5485         * textmodes/flyspell.el: Replace ispell-maybe-find-aspell-dictionaries
5486         by ispell-set-spellchecker-params.
5488 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5490         * complete.el (PC-do-completion): Be more robust in the presence of
5491         unexpected values in minibuffer-completion-predicate.
5493         * minibuffer.el (read-file-name): Don't let-bind default-directory.
5494         Only abbreviate default-filename if it's a file.
5496         * minibuffer.el (read-file-name-function, read-file-name-predicate)
5497         (read-file-name-completion-ignore-case, insert-default-directory):
5498         New vars, moved from fileio.c.
5499         (read-file-name): New fun, moved from fileio.c.
5500         * cus-start.el: Remove insert-default-directory and
5501         read-file-name-completion-ignore-case.
5503 2008-04-23  Magnus Henoch  <mange@freemail.hu>
5505         * tar-mode.el (tar-untar-buffer): If the entry has directory
5506         link type, extract it as a directory even if its file name doesn't
5507         end with a slash.  Fixes extraction of NetBSD tar archives.
5509 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5511         * server.el (server-start): Also don't get confused by CRs since we
5512         don't quote them.
5514 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
5516         * progmodes/gdb-ui.el (gdb-init-buffer): New function.
5517         (gdb-set-gud-minor-mode-existing-buffers)
5518         (gdb-info-breakpoints-custom, gdb-get-location)
5519         (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
5520         Previously gdb-create-define-alist wasn't always run and added to
5521         after-save-hook.
5523         * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
5525 2008-04-23  Kevin Ryde  <user42@zip.com.au>
5527         * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
5528         comments like unindented ones.
5530 2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5532         * term/mac-win.el (mac-ae-open-documents): Adjust selection range
5533         parameter origins.
5535 2008-04-23  Kevin Ryde  <user42@zip.com.au>
5537         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5538         Bind print-level to ensure output forms aren't truncated if
5539         print-level is set to eval-expression-print-level when going via
5540         eval-defun and friends, or has been otherwise fiddled with.
5542 2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5544         * progmodes/cc-mode.el (c-basic-common-init): Don't set
5545         font-lock-extend-after-change-region-function globally.
5547 2008-04-23  Juanma Barranquero  <lekktu@gmail.com>
5549         * speedbar.el (speedbar-use-tool-tips-flag)
5550         (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
5551         (speedbar-file-regexp, speedbar-message, speedbar-item-info)
5552         (speedbar-files-item-info, speedbar-maybe-add-localized-support)
5553         (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
5554         (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
5555         (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
5556         (speedbar-separator-face): Fix typos in docstrings.
5557         (speedbar-stealthy-function-list, speedbar-verbosity-level)
5558         (speedbar-supported-extension-expressions, speedbar-update-current-file)
5559         (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
5560         (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
5561         (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
5562         (speedbar-show-info-under-mouse, speedbar-directory-buttons)
5563         (speedbar-check-vc-this-line, speedbar-files-line-directory)
5564         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5565         (speedbar-buffers-line-directory, speedbar-recenter-to-top)
5566         (speedbar-recenter): Doc fixes.
5567         (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
5568         declaration and remove redundant info in docstring.
5570 2008-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
5572         * vc-git.el (vc-git-status-printer): Deal with directories.
5574         * vc.el (vc-next-action): Look at more than the first file to
5575         determine the state.
5577 2008-04-23  Glenn Morris  <rgm@gnu.org>
5579         * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
5580         timers.  Doc fix.
5581         (dframe-update-speed): Drop support for XEmacs < 20.
5582         (dframe-frame-mode): Drop support for Emacs < 20.
5583         (dframe-set-timer-internal): Drop support for Emacs without timers.
5584         (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
5586         * ediff-init.el (ediff-check-version): Drop support for very old Emacs
5587         versions.  Add doc-string.  Mark as obsolete.
5589         * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
5591         * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
5592         rather than using an Emacs version test.
5594         * tree-widget.el (tree-widget-image-enable): Use display-images-p
5595         rather than an Emacs version test.
5597         * calendar/cal-china.el (holiday-chinese-qingming)
5598         (holiday-chinese-winter-solstice, holiday-chinese): New functions.
5599         * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
5600         * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
5602         * calendar/cal-islam.el (holiday-islamic): Doc fix.
5604         * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
5605         (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
5606         Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
5608 2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
5610         * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
5611         (gdb-previous-frame-pc-address): ...to this.
5612         (gdb-get-selected-frame): Use MI command -stack-info-frame instead
5613         of "info frame" with Gdb 6.4+.
5614         (gdb-stack-list-frames-regexp): New regexp.
5615         (gdb-frame-handler-1): Parse output of -stack-info-frame.
5617 2008-04-22  David Glasser  <glasser@davidglasser.net>  (tiny change)
5619         * tar-mode.el (tar-prefix-offset): New constant.
5620         (tar-header-block-tokenize): Support paths with long names
5621         which use the "ustar" standard.
5623 2008-04-22  Mathias Dahl  <mathias.dahl@gmail.com>
5625         * image-dired.el (image-dired-track-original-file)
5626         (image-dired-modify-mark-on-thumb-original-file):
5627         Use `dired-goto-file' instead of `search-forward'.  This solves
5628         a bug with finding files where the file name is a subset of other
5629         file names.  Doc fix.
5631 2008-04-22  Juri Linkov  <juri@jurta.org>
5633         * menu-bar.el (buffers-menu-max-size): Move its definition down to
5634         the "Buffers Menu" section.  Change group name `mouse' to `menu'.
5635         (yank-menu-length): Change group name `mouse' to `menu'.
5636         (buffers-menu-buffer-name-length): New user option.
5637         (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
5638         instead of the hard-coded number 27.
5640 2008-04-22  Juri Linkov  <juri@jurta.org>
5642         * isearch.el (eval-when-compile): Require `help-macro'.
5643         (isearch-help-for-help-internal): Isearch specific Help screen
5644         created by `make-help-screen'.
5645         (isearch-help-map): New variable that binds "b", "k", "m" to
5646         isearch-specific commands, and binds other keys to
5647         isearch-other-control-char, thus allowing other Help keys to
5648         exit isearch mode and execute their global definitions.
5649         (isearch-help-for-help, isearch-describe-bindings)
5650         (isearch-describe-key, isearch-describe-mode): New commands.
5651         (isearch-mode-help): Define alias to isearch-describe-mode
5652         and remove its old function definition.
5653         (isearch-mode-map): Bind "\C-h" to isearch-help-map.
5654         Remove old comments because this issue is settled now.
5655         (isearch-forward): Describe three new Help commands in the docstring.
5656         (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
5657         leave the single sentence at the first line of the docstring,
5658         and prepend the word "function" before `isearch-forward'
5659         to make the Help link to the function instead of variable.
5661 2008-04-22  Juri Linkov  <juri@jurta.org>
5663         * isearch.el (isearch-success-function): New variable with default
5664         to `isearch-success-function-default'.
5665         (isearch-search): Call a function from `isearch-success-function'
5666         instead of calling the hard-coded `isearch-range-invisible'.
5667         (isearch-success-function-default): New function that calls
5668         `isearch-range-invisible' and inverts its return value.
5670         * info.el (Info-search): In two similar places that skip
5671         undesired search matches move code to Info-search-success-function,
5672         and call `isearch-success-function' instead.
5673         (Info-search-success-function): New function copied from code
5674         in Info-search.  Replace isearch-range-invisible with
5675         text-property-not-all that checks for 'invisible and 'display
5676         properties to skip partially invisible matches (whose display
5677         properties were set by Info-fontify-node).
5678         (Info-mode): Set buffer-local isearch-success-function
5679         to Info-search-success-function.
5681 2008-04-22  Juri Linkov  <juri@jurta.org>
5683         * minibuffer.el (internal-complete-buffer-except): New function.
5685         * files.el (read-buffer-to-switch): New function.
5686         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5687         Change interactive spec to call read-buffer-to-switch instead of
5688         using the letter "B".
5690         * simple.el (minibuffer-default-add-shell-commands): New function.
5691         Use declare-function for mailcap-file-default-commands from "mailcap".
5692         (shell-command): Set local minibuffer-default-add-function to
5693         minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
5694         before calling read-shell-command.  Set 4th arg default-value of
5695         read-shell-command to relative buffer-file-name in file buffers.
5697         * dired-aux.el (dired-read-shell-command-default): Move it to
5698         gnus/mailcap.el and change its name to more general name
5699         mailcap-file-default-commands.
5700         (minibuffer-default-add-dired-shell-commands): New function.
5701         Use declare-function for mailcap-file-default-commands from "mailcap".
5702         (dired-read-shell-command): Set local minibuffer-default-add-function
5703         to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
5704         before calling read-shell-command.  Remove dired-read-shell-command-default
5705         from the default value arg because default values are not set in
5706         minibuffer-default-add-dired-shell-commands.  Doc fix.
5708         * dired-x.el (dired-smart-shell-command): Sync arguments and
5709         interactive spec with changes in `shell-command'.
5710         Use dired-get-filename to get the dired file name at point
5711         as the default value in dired mode.
5713 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
5715         * info.el (Info-complete-menu-item): Add missing parenthesis.
5717 2008-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5719         * info.el (Info-complete-menu-item): Save point.
5721 2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
5723         * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
5725 2008-04-22  Andreas Schwab  <schwab@suse.de>
5727         * Makefile.in (emacs-deps): Define.
5728         Use it instead of $(lisp)/subdirs.el.
5730 2008-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
5732         * vc.el (vc-next-action): Do not consider directories when
5733         checking for state compatibility.
5734         (vc-transfer-file): Use when not if.
5735         (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
5736         (vc-dir-mark-file): Use them.
5737         (vc-deduce-fileset): Also return the backend.
5738         (vc-diff-internal): Take as argument the value returned by
5739         vc-deduce-fileset instead of just the fileset.
5740         (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
5741         (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
5742         (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
5744 2008-04-22  Tassilo Horn  <tassilo@member.fsf.org>
5746         * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
5747         set-window-vscroll but image-scroll-down.  Fixes a bug where a
5748         command following SPC scrolled up again.
5750 2008-04-22  Nick Roberts  <nickrob@snap.net.nz>
5752         * progmodes/gdb-ui.el (gdb-locals-header): New variable.
5753         (gdb-locals-mode, gdb-registers-mode): Use it for header line.
5754         (gud-watch): Add "$" prefix when in registers buffer.
5756 2008-04-22  Glenn Morris  <rgm@gnu.org>
5758         * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
5760         * whitespace.el (whitespace-display-table)
5761         (whitespace-display-table-was-local): Move definitions before use.
5763         * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
5764         (copyright-limit): Respect copyright-at-end-flag.
5765         (copyright-re-search, copyright-start-point)
5766         (copyright-offset-too-large-p): New functions.
5767         (copyright-update-year): Use copyright-re-search.
5768         (copyright-update, copyright-fix-years): Use copyright-start-point,
5769         and copyright-re-search.
5770         (copyright): Use copyright-offset-too-large-p.
5771         * add-log.el (change-log-mode): Set copyright-at-end-flag.
5773         * add-log.el (top-level): Require 'cl when compiling.
5775 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5777         * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
5778         Treat minibuffer-completion-predicate as a predicate.
5780         * minibuffer.el (completion--file-name-table): Accept both the old
5781         `dir' arg or the new `pred' arg.
5783         * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
5784         `predicate' argument to pass non-predicate data.
5785         (ffap-read-url-internal, ffap-read-file-or-url-internal):
5786         Use second arg as proper predicate.
5788         * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
5789         (vc-bzr-revision-completion-table): Use completion-table-with-context
5790         instead.
5792         * simple.el (choose-completion-string): Use minibuffer-completion-table.
5794 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
5796         * term.el (term-emulate-terminal): Perform redisplay after the
5797         process filter has finished running.
5799 2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5801         * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
5803         * minibuffer.el (completion-try-completion): Change magic symbol
5804         property name.  Rename from minibuffer-try-completion.
5805         (completion-all-completions): Rename from minibuffer-all-completions.
5806         Remove hide-spaces argument.
5807         (completion--do-completion): Rename from minibuffer--do-completion.
5808         (minibuffer-complete-and-exit): Call just try-completion rather than
5809         completion-try-completion to fix up the case.
5810         (completion--try-word-completion): Try to add space or hyphen before
5811         making `string' a prefix of `completion'.
5812         (completion--insert-strings): Rename from minibuffer--insert-strings.
5814 2008-04-22  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
5816         * net/tls.el (tls-program): Add -ign_eof argument to call the
5817         openssl commands.
5818         (tls-checktrust): Ditto.
5820 2008-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
5822         * vc-cvs.el (vc-cvs-status-extra-headers): New function.
5824         * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
5825         (vc-check-master-templates, vc-file-not-found-hook)
5826         (vc-kill-buffer-hook):
5827         * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
5828         (vc-find-position-by-context, vc-buffer-context)
5829         (vc-restore-buffer-context, vc-responsible-backend)
5830         (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
5831         (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
5832         (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
5833         (vc-version-diff, vc-diff, vc-insert-headers)
5834         (vc-dired-buffers-for-dir, vc-dired-resynch-file)
5835         (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
5836         (vc-revert, vc-rollback, vc-version-backup-file)
5837         (vc-rename-master, vc-delete-file, vc-rename-file)
5838         (vc-branch-part, vc-default-retrieve-snapshot)
5839         (vc-annotate-display-autoscale, vc-annotate-display-select)
5840         (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
5841         (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
5842         (vc-dir-update): Handle directories.
5843         (vc-default-status-printer): Simplify.
5845         * progmodes/asm-mode.el (asm-mode-map):
5846         * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
5848         * progmodes/m4-mode.el (m4-mode-map): Add menu.
5850 2008-04-21  Kenichi Handa  <handa@m17n.org>
5852         * select.el (xselect-convert-to-string): Send a C_STRING only if
5853         the polymorphic target TEXT is requested.
5855 2008-04-21  Juanma Barranquero  <lekktu@gmail.com>
5857         * minibuffer.el (completion-setup-hook, display-completion-list)
5858         (completion--file-name-table): Fix typos in docstrings.
5859         (completion-table-dynamic): Fix typo, and reflow docstring.
5861 2008-04-20  Andreas Schwab  <schwab@suse.de>
5863         * server.el (server-switch-buffer): Also consider clients in the
5864         selected frame.
5866 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
5868         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
5869         Select window clicked on first.
5870         (gdb): Display thread number in mode-line.
5871         (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
5872         (gdb-breakpoints-header): New variable.
5873         (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
5875 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5877         * vc-sccs.el (vc-sccs-do-command): New fun.  Use the "sccs" command.
5878         (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
5879         (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
5880         (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
5881         (vc-sccs-print-log): Use it.
5883         * vc-hooks.el (vc-path): Remove SCCS-specific hack.
5885         * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
5886         * progmodes/scheme.el (scheme-mode-variables): Don't use it.
5888         * tooltip.el (tooltip-previous-message): New var.
5889         (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
5890         the C code (avoid overwriting a minibuffer, restore previous echo
5891         message, ...).
5892         (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
5893         Simplify.
5895 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
5897         * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
5898         (gdb-init-1): Initialise it.
5899         (gdb-annotation-rules): New entry for "new-thread".
5900         (gdb-thread-identification): New function to customize
5901         mode-line-buffer-identification.
5902         (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
5903         (gdb-assembler-mode): Use it.
5904         (gdb-threads-mode): Force "info threads" onto queue.
5906 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5908         * files.el (locate-file-completion-table): Rename from
5909         locate-file-completion and make it use `pred' in the normal way.
5910         (locate-file-completion): New compatibility wrapper.
5911         (load-library): Use locate-file-completion-table.
5912         * finder.el (finder-commentary):
5913         * subr.el (locate-library):
5914         * emacs-lisp/find-func.el (find-library): Likewise.
5915         * info.el: Use with-current-buffer and inhibit-read-only.
5916         (Info-read-node-name-2): Change to use `predicate' in the normal way.
5917         (Info-read-node-name-1): Adjust uses accordingly.
5919         * minibuffer.el (completion-table-with-context): Add support for `pred'.
5920         (completion-table-with-terminator): Don't use complete-with-action
5921         since we have to distinguish all three cases anyway.
5922         (completion-table-with-predicate): New function.
5923         (dynamic-completion-table): Add obsolete alias.
5925         * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
5927 2008-04-18  Sam Steingold  <sds@gnu.org>
5929         * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
5930         Use quit-window instead of bury-buffer.
5932 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5934         * minibuffer.el (completion-table-with-terminator): Fix last fix.
5936 2008-04-18  Andreas Schwab  <schwab@suse.de>
5938         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5939         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5940         Depend on $(lisp)/subdirs.el.
5942 2008-04-18  Juanma Barranquero  <lekktu@gmail.com>
5944         * descr-text.el (describe-char-after):
5945         Use `define-obsolete-function-alias'.
5947         * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
5949         * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
5951         * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
5952         Remove redundant obsolescence info in docstring.
5954         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5955         (vc-header-alist): Add WHEN to obsolescence declaration.
5956         (vc-state): Fix typo in docstring.
5958         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
5959         Use `define-obsolete-variable-alias'.
5961         * emulation/tpu-edt.el (tpu-have-ispell):
5962         * international/codepage.el (codepage-setup):
5963         Fix typo in obsolescence declaration.
5965         * international/mule.el (char-coding-system-table):
5966         Remove redundant obsolescence info in docstring.
5967         (charset-list, generic-char-p, set-char-table-default):
5968         Fix typos in obsolescence decarations.
5970         * international/mule-diag.el (non-iso-charset-alist):
5971         Fix typo in obsolescence declaration.
5972         (decode-codepage-char): Remove redundant obsolescence info in docstring.
5974         * font-core.el (font-lock-defaults-alist):
5975         * font-lock.el (font-lock-reference-face):
5976         * frame.el (screen-height, screen-width, set-screen-width)
5977         (set-screen-height):
5978         * hilit-chg.el (highlight-changes-initial-state):
5979         * isearch.el (isearch-return-char):
5980         * log-edit.el (cvs-commit-buffer-require-final-newline)
5981         (cvs-changelog-full-paragraphs):
5982         * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
5983         (mouse-popup-menubar-stuff):
5984         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
5985         (mouse-wheel-click-button):
5986         * outline.el (outline-visible):
5987         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
5988         * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
5989         * emacs-lisp/lisp-mode.el (lisp-comment-indent):
5990         * progmodes/compile.el (compile-internal):
5991         Add WHEN to obsolescence declarations.
5993 2008-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5995         * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
5996         is not better anyway.
5998 2008-04-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6000         * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
6001         properly.
6003 2008-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6005         * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
6006         (python-use-skeletons): Remove, unused.
6007         (python-skeletons): Remove.  Use the abbrev table instead.
6008         (python-mode-abbrev-table): Fix regexp;
6009         add enable-function and case-fixed.
6010         (def-python-skeleton): Simplify.
6011         (python-expand-template): Use the abbrev-table and abbrev-insert.
6012         (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
6013         Remove.
6014         (python-mode): Don't set pre-abbrev-expand-hook.
6016         * skeleton.el: Set coding-tag.
6018         * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
6019         (expand-abbrev): Use it.
6020         (abbrev-table-menu): New function.
6022         * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
6024         * minibuffer.el (completion-table-with-terminator): Fix paren typo.
6026 2008-04-17  Sam Steingold  <sds@gnu.org>
6028         * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
6029         idiosyncratic bury-buffer/delete-window logic.
6031 2008-04-17  Juanma Barranquero  <lekktu@gmail.com>
6033         * emacs-lisp/crm.el (crm-completion-help, crm-complete)
6034         (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
6036 2008-04-17  Kenichi Handa  <handa@m17n.org>
6038         * international/characters.el: Don't make the width of U+00AD to 0.
6040 2008-04-17  Nick Roberts  <nickrob@snap.net.nz>
6042         * progmodes/gdb-ui.el (gdb-stack-update): New variable.
6043         (gdb, gdb-starting, gdb-frames-mode): Use it.
6044         (gdb-invalidate-frames): Advise to call "info stack" only if
6045         execution has occurred.
6046         (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
6047         selected frame if no execution has occurred.
6048         (gdb-frames-force-update): New interactive function.
6049         (gdb-frames-mode-map): Bind it to "F".
6051 2008-04-17  Michael Olson  <mwolson@gnu.org>
6053         * textmodes/remember.el (remember-version): Release Remember 2.0.
6055 2008-04-16  Yoni Rabkin  <yoni@rabkins.net>
6057         * textmodes/artist.el:
6058         * progmodes/vhdl-mode.el:
6059         * progmodes/verilog-mode.el:
6060         * progmodes/vera-mode.el:
6061         * progmodes/simula.el:
6062         * progmodes/ps-mode.el:
6063         * progmodes/cmacexp.el:
6064         * obsolete/hilit19.el:
6065         * emulation/viper.el:
6066         * ediff.el: Cleanup the bug-report email addresses and make sure the
6067         maintainer is still willing to handle bug reports.
6069 2008-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
6071         * vc.el (vc-dir-kill-query): Fix thinko.
6073 2008-04-16  Glenn Morris  <rgm@gnu.org>
6075         * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
6076         by diary-sexp-entry.
6078 2008-04-16  Markus Triska  <markus.triska@gmx.at>
6080         * proced.el (proced-command-alist): Add support for darwin.
6082 2008-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6084         * proced.el (proced-mode): Redefine as just the major-mode.
6085         (proced): Separate it from proced-mode.
6087         * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
6089 2008-04-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6091         * whitespace.el: Honor the `indent-tabs-mode' setting from user.
6092         Suggested by Stephen Deasey <sdeasey@gmail.com>.  Honor also the
6093         `tab-width' setting from user.  New version 10.0.  Doc and docstring
6094         fix.
6095         (whitespace-style, whitespace-chars): Remove options.
6096         (whitespace-style-mark): New option, replace whitespace-style deleted
6097         option.  Fix docstring.
6098         (whitespace-style-color): New option, replace whitespace-chars deleted
6099         option.  Fix docstring.
6100         (whitespace-space, whitespace-hspace, whitespace-tab)
6101         (whitespace-newline, whitespace-trailing, whitespace-line)
6102         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6103         (whitespace-space-after-tab, whitespace-hspace-regexp)
6104         (whitespace-space-regexp, whitespace-tab-regexp)
6105         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6106         (whitespace-empty-at-eob-regexp, whitespace-line-column)
6107         (whitespace-toggle-option-alist): Fix docstring.
6108         (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
6109         (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
6110         docstring and initialization.
6111         (global-whitespace-mode): Autoloaded global minor mode.
6112         (whitespace-chars-value-list, whitespace-style-value-list)
6113         (whitespace-active-chars, whitespace-active-style)
6114         (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
6115         (whitespace-color-value-list): New var, replace
6116         whitespace-chars-value-list removed var.
6117         (whitespace-mark-value-list): New var, replace
6118         whitespace-style-value-list removed var.
6119         (whitespace-active-color): New var, replace whitespace-active-chars
6120         removed var.
6121         (whitespace-active-mark): New var, replace whitespace-active-style
6122         removed var.
6123         (whitespace-toggle-color): New var, replace whitespace-toggle-chars
6124         removed var.
6125         (whitespace-toggle-mark): New var, replace whitespace-toggle-style
6126         removed var.
6127         (whitespace-toggle-option-alist, whitespace-report-list)
6128         (whitespace-report-text, whitespace-help-text): Fix initialization.
6129         (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
6130         (whitespace-toggle-options, global-whitespace-toggle-options)
6131         (whitespace-cleanup-region, whitespace-report-region)
6132         (whitespace-interactive-char): Fix docstring and code.
6133         (whitespace-cleanup, whitespace-report): Fix docstring.
6134         (whitespace-replace-spaces-by-tabs): Remove fun.
6135         (whitespace-replace-action): New fun, replace
6136         whitespace-replace-spaces-by-tabs removed fun.
6137         (whitespace-regexp, whitespace-indentation-regexp)
6138         (whitespace-space-after-tab-regexp, whitespace-insert-value)
6139         (whitespace-kill-buffer): New funs.
6140         (whitespace-insert-option-mark, whitespace-help-on)
6141         (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
6142         (whitespace-color-on, whitespace-color-off)
6143         (whitespace-display-char-on): Fix code.
6145 2008-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6147         * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
6148         (mouse-throw-magnifier-with-mouse-movement): Remove.
6149         (mouse-throw-magnifier-base): New const.
6150         (mouse-drag-scroll-delta): New fun.
6151         (mouse-drag-throw): Use it.
6153 2008-04-15  Juanma Barranquero  <lekktu@gmail.com>
6155         * international/uni-bidi.el, international/uni-category.el:
6156         * international/uni-combining.el, international/uni-comment.el:
6157         * international/uni-decimal.el, international/uni-decomposition.el:
6158         * international/uni-digit.el, international/uni-lowercase.el:
6159         * international/uni-mirrored.el, international/uni-name.el:
6160         * international/uni-numeric.el, international/uni-old-name.el:
6161         * international/uni-titlecase.el, international/uni-uppercase.el:
6162         * international/charprop.el: Regenerate.
6164 2008-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
6166         * vc.el (vc-status-fileinfo): Add new member directoryp.
6167         (vc-default-status-printer): Print directories.
6168         (vc-status-update): Sort files before subdirectories.
6170         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
6171         Add alternative implementation based on "cvs update".
6173 2008-04-15  Tassilo Horn  <tassilo@member.fsf.org>
6175         * doc-view.el: Changed requirements section to tell that only one
6176         of dvipdf or dvipdfm is needed.
6177         (doc-view-already-converted-p): Fix bug that forced reconversion
6178         if doc was already converted.
6180 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6182         * minibuffer.el (minibuffer-message):
6183         Make sure we can put-text-property.
6185         * emacs-lisp/crm.el: Complete rewrite.
6187         * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
6188         (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
6189         case of an error in display-completion-list.
6191         * filecache.el (file-cache-completions-keymap): Move init from
6192         file-cache-completion-setup-function into declaration.
6193         (file-cache-minibuffer-complete): Simplify.
6194         (file-cache-completion-setup-function): Use standard-output,
6195         preserve current-buffer.
6197         * vc.el (vc-status-update): Fix typo.
6198         (vc-status-update): Set needs-update.
6199         (vc-status-refresh): η-reduce.
6201 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
6203         * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
6204         to image-eol.
6206 2008-04-14  Alexandre Julliard  <julliard@winehq.org>
6208         * vc.el (vc-status-update): Undo the previous revert.
6210 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6212         * minibuffer.el (completion-table-with-terminator): Those completions
6213         are never valid w.r.t test-completion.
6214         (completion--file-name-table):
6215         Check completion-all-completions-with-base-size.
6217 2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
6219         * doc-view.el (doc-view-dvipdf-program): New variable.
6220         (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
6221         (doc-view-mode-p): Check for doc-view-dvipdf-program as
6222         alternative for doc-view-dvipdfm-program.
6223         (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
6225         * doc-view.el (doc-view-start-process): Don't set
6226         default-directory to "~/" if the current value is valid.
6227         This broke PS files that run other files in the same directory.
6229 2008-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
6231         * vc.el (vc-status-kill-query): New function.
6232         (vc-status-mode): Add it to kill-buffer-query-functions.
6233         (vc-status-show-fileentry): New function.
6234         (vc-status-menu-map): Bind it.  Bind vc-next-action.
6236 2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6238         * minibuffer.el (minibuffer-message): Put cursor at the right place.
6240 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
6242         * proced.el (proced-send-signal): Fix error recognition.
6244 2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
6246         * proced.el (proced-command-alist): Remove sort column.
6247         (proced-command, proced-procname-column):
6248         Use make-variable-buffer-local.
6249         (proced-signal-function): Rename from proced-kill-program.
6250         Allow for elisp symbols and string values representing system calls.
6251         (proced-marker-regexp, proced-success-message): New functions.
6252         (proced): Use defalias.  Add autoload cookie.
6253         (proced-unmark-backward, proced-toggle-marks)
6254         (proced-hide-processes): New commands.
6255         (proced-do-mark): Simplify code.
6256         (proced-insert-mark): Use optional arg BACKWARD instead of line number.
6257         (proced-update): Remove sorting.
6258         (proced-send-signal): Display number of processes to operate on.
6259         Allow for system calls or elisp functions to send signals.
6260         Check if signal was sent successfully.
6262 2008-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6264         * minibuffer.el (completion-all-completion-with-base-size): New var.
6265         (completion--some): New function.
6266         (completion-table-with-context, completion--file-name-table):
6267         Return the base-size if requested.
6268         (completion-table-in-turn): Generalize to multiple arguments.
6269         (complete-in-turn): Compatibility alias.
6270         (completion-styles-alist): New var.
6271         (completion-styles): New customization.
6272         (minibuffer-try-completion, minibuffer-all-completions):
6273         New functions.
6274         (minibuffer--do-completion, minibuffer-complete-and-exit)
6275         (minibuffer-try-word-completion): Use them.
6276         (display-completion-list, minibuffer-completion-help): Use them.
6277         Handle all-completions's new base-size info to set completion-base-size.
6278         * info.el (Info-read-node-name-1): Use completion-table-with-context,
6279         completion-table-with-terminator and complete-with-action.
6280         Remove the now obsolete completion-base-size-function property.
6281         * simple.el (completion-list-mode-map): Move init into declaration.
6282         (completion-list-mode): Use define-derived-mode.
6283         (completion-setup-function): Use any completion-base-size that may
6284         have been set before.  Remove handling of completion-base-size-function.
6285         * loadup.el: Move abbrev.el up earlier.
6287 2008-04-13  Alexandre Julliard  <julliard@winehq.org>
6289         * vc-git.el (vc-git-after-dir-status-stage)
6290         (vc-git-dir-status-goto-stage): New functions.
6291         (vc-git-after-dir-status-stage1)
6292         (vc-git-after-dir-status-stage1-empty-db)
6293         (vc-git-after-dir-status-stage2): Remove, functionality moved
6294         into the new generic stage functions.
6295         (vc-git-dir-status-files): New function.
6297         * vc.el (vc-status-update): Revert an incorrect rewrite.
6298         Add some comments.
6299         (vc-status-refresh-files): New function.
6300         (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
6301         state of up-to-date files.
6302         (vc-default-dir-status-files): New function.
6304 2008-04-13  Juanma Barranquero  <lekktu@gmail.com>
6306         * minibuffer.el (completion--embedded-envvar-table)
6307         (read-file-name-internal): Fix typos in 2008-04-11 change.
6309         * faces.el (read-face-name): Use `completion-table-in-turn',
6310         not `complete-in-turn'.
6312 2008-04-13  Andreas Schwab  <schwab@suse.de>
6314         * progmodes/etags.el: Require 'cl when compiling.
6316 2008-04-12  Nick Roberts  <nickrob@snap.net.nz>
6318         * progmodes/gud.el (gud-menu-map): Expand tooltip.
6320         * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
6321         (menu): Add/expand menu tooltips.
6323 2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
6325         * progmodes/sh-script.el (sh-show-indent): Fix typo.
6326         (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
6328         * vc-cvs.el (vc-cvs-registered): Allow removed files to be
6329         considered registered.
6331 2008-04-12  Reiner Steib  <Reiner.Steib@gmx.de>
6333         * emacs-lisp/copyright.el (copyright-update-directory): New command.
6335         * ediff-wind.el (ediff-split-window-function)
6336         (ediff-merge-split-window-function): Improve custom type.
6338 2008-04-12  Eli Zaretskii  <eliz@gnu.org>
6340         * loadup.el ("minibuffer"): Move after "faces".
6342 2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6344         * progmodes/hideif.el (hif-factor): Handle unary minus.
6346 2008-04-12  Glenn Morris  <rgm@gnu.org>
6348         * calendar/cal-china.el (chinese-calendar-time-zone):
6349         Mark obsolete name as risky too.
6351         * calendar/calendar.el (calendar-faces): New custom group.
6352         (calendar-today, diary, holiday): Doc fix.
6353         Move to calendar-faces group.
6354         * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
6355         (diary-button): Doc fix.  Move to calendar-faces group.
6357         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
6358         * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
6359         * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
6360         * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
6361         * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
6362         Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
6363         not in dumped files before the associated defcustom.
6365 2008-04-11  Johan Bockgård  <bojohan@gnu.org>
6367         * minibuffer.el (lazy-completion-table): Fix debug spec.
6369 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6371         * minibuffer.el (complete-with-action, lazy-completion-table):
6372         Move from subr.el.
6373         (apply-partially, completion-table-dynamic)
6374         (completion-table-with-context, completion-table-with-terminator)
6375         (completion-table-in-turn): New funs.
6376         (completion--make-envvar-table, completion--embedded-envvar-table):
6377         New funs.
6378         (read-file-name-internal): Use them.
6379         (completion-setup-hook): Move from simple.el.
6380         * subr.el (complete-with-action, lazy-completion-table):
6381         * simple.el (completion-setup-hook): Move to minibuffer.el.
6383 2008-04-11  Glenn Morris  <rgm@gnu.org>
6385         * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
6387 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6389         * progmodes/python.el (python-mode): Don't mess with hippie-expand.
6391         * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
6393         * textmodes/fill.el (fill-forward-paragraph-function): New var.
6394         (fill-forward-paragraph): New fun.
6395         (fill-paragraph, fill-region): Use it.
6397         * vc.el: Change `dir-status' to not take (and pass) status-buffer.
6398         (vc-status-create-fileinfo): Make `extra' optional.
6399         (vc-status-busy): New fun.
6400         (vc-status-menu-map): Use it.
6401         (vc-status-crt-marked): Remove.
6402         (vc-status-update): Rename from vc-status-add-entries.
6403         Add argument so as to prevent addition of entries.  Rewrite.
6404         (vc-update-vc-status-buffer): Remove.
6405         (vc-status-refresh): Don't remove old entries, set them to
6406         up-to-date instead.  Also do it after the update is complete.
6407         (vc-status-marked-files): η-reduce.
6409         * dired.el (dired-read-dir-and-switches): Use read-directory-name even
6410         for non-dialogs.
6412         * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
6414         * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
6416 2008-04-11  Jan Djärv  <jan.h.d@swipnet.se>
6418         * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
6419         to t and don't truncate msg.
6421 2008-04-11  Glenn Morris  <rgm@gnu.org>
6423         * calendar/calendar.el (diary, holidays):
6424         Move custom groups to other files.
6425         (holiday-general-holidays, holiday-oriental-holidays)
6426         (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
6427         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6428         (holiday-hebrew-holidays, holiday-christian-holidays)
6429         (holiday-islamic-holidays, holiday-bahai-holidays)
6430         (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
6431         * calendar/diary-lib.el: Move custom group here from calendar.el.
6432         * calendar/holidays.el: Move custom group and variables here
6433         from calendar.el.
6435         * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
6437         * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
6438         Fix custom group.
6439         (calendar-current-time-zone-cache): Autoload riskiness.
6441         * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
6443 2008-04-11  Chong Yidong  <cyd@stupidchicken.com>
6445         * woman.el (woman2-TH): Use string-equal instead of string-match.
6447 2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6449         * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
6450         (smerge-resolve): Merge the "2-way refinement" case with one half of
6451         the "mere whitespace" resolution.
6453 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
6455         * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
6457 2008-04-10  Juanma Barranquero  <lekktu@gmail.com>
6459         * subr.el (assoc-ignore-case, assoc-ignore-representation):
6460         Add WHEN to obsolescence declaration.
6462         * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
6464 2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
6466         * vc-hooks.el (vc-state): Add new state `conflict'.
6467         (vc-after-save): Use when not if.
6468         (vc-default-mode-line-string): Deal with the conflict state.
6469         (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
6471         * vc.el (vc-editable-p, vc-default-status-printer)
6472         (vc-next-action): Deal with the conflict state.
6473         (vc-mark-resolved): New function.
6474         (vc-status-mode): Fix mode name.
6475         (vc-default-comment-history): Use when not if.
6476         (Todo): Add new entries, remove old ones.
6478         * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
6479         (vc-cvs-parse-status, vc-cvs-after-dir-status):
6480         * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
6481         Detect the conflict state.
6483         * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
6485 2008-04-10  Glenn Morris  <rgm@gnu.org>
6487         * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
6488         Respect truncate-partial-width-windows in non-full windows,
6489         with regards to :toggle and :enable state.
6491         * simple.el (toggle-truncate-lines): Doc fix.
6493         * Makefile.in (MH_E_DIR): New variable.
6494         (MH_E_SRC): Restore variable removed 2008-03-13.
6495         (mh-loaddefs.el): Depend on $MH_E_SRC.
6496         (CAL_DIR, CAL_SRC): New variables.
6497         (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
6498         Depend on CAL_SRC.
6500         * calendar/calendar.el (calendar, diary): Add :prefix.
6501         (holidays): Change :prefix.
6502         (calendar-today, holiday, calendar-holiday-marker)
6503         (european-calendar-style): Change custom groups.
6505         * calendar/calendar.el (diary-hook, diary-display-hook):
6506         Move to diary-lib.el.
6507         * calendar/diary-lib.el (diary-hook, diary-display-hook):
6508         Move here from calendar.el.
6509         * calendar/appt.el: Require diary-lib rather than calendar.
6510         * calendar/cal-x.el (diary-display-hook): Declare for compiler.
6512         * calendar/appt.el (appt): Add :prefix.
6514         * calendar/diary-lib.el (diary-hook): Doc fix.
6515         (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
6517 2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6519         * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
6520         New functions.
6522         * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
6523         the arg to recursive calls.
6525 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
6527         * minibuffer.el (completion-auto-help): Fix typo.
6529 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
6533 2008-04-09  Michael Albinus  <michael.albinus@gmx.de>
6535         * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
6536         (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
6538 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6540         * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
6542         * minibuffer.el (minibuffer): Move group from cus-edit.el.
6543         (completion-auto-help): Move from C code.
6544         (minibuffer--maybe-completion-help): Remove.
6545         (minibuffer--bitset): New function.
6546         (minibuffer--do-completion): Rename from minibuffer-do-completion.
6547         Renumber a bit.  Really complete on string *before* point.
6548         Add argument used for word-completion.
6549         Join trailing / in completion with following text, as done in
6550         minibuffer-complete-word.
6551         Handle new value `lazy' for completion-auto-help.
6552         (minibuffer-try-word-completion): New function extracted from
6553         minibuffer-complete-word.
6554         (minibuffer-complete-word): Use minibuffer--do-completion.
6555         (minibuffer--insert-strings): Rename from
6556         minibuffer-complete-insert-strings.
6557         (exit-minibuffer): Fix typo.
6558         * cus-edit.el (minibuffer): Move group to minibuffer.el.
6559         * cus-start.el: Remove completion-auto-help.
6561 2008-04-09  Alexandre Julliard  <julliard@winehq.org>
6563         * vc.el (vc-status-add-entries): New function.
6564         (vc-status-add-entry): Remove.
6565         (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
6566         Use vc-status-add-entries.
6568         * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
6569         order.
6571 2008-04-09  Jason Rumney  <jasonr@gnu.org>
6573         * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
6574         ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
6575         (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
6576         (AUTOGENEL): New variable.
6577         (distclean, maintainer-clean): New targets.
6579 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
6581         * emacs-lisp/regexp-opt.el (regexp-opt):
6582         Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
6584 2008-04-09  Lennart Borgman  <lennart.borgman@gmail.com>
6586         * nxml/nxml-mode.el (nxml-cleanup): New function.
6587         (nxml-mode): Add it to change-major-mode-hook.
6589 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
6591         * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
6593 2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
6595         * calc/.cvsignore: New file.
6597 2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
6599         * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
6601         * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
6602         show-help-function when turning tooltip off.
6603         (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
6604         (tooltip-trunc-str, tooltip-show-help-non-mode): New.
6606 2008-04-09  Alan Mackenzie  <acm@muc.de>
6608         * font-lock.el (font-lock-extend-after-change-region-function):
6609         Make it buffer local.
6611 2008-04-09  Glenn Morris  <rgm@gnu.org>
6613         * calendar/calendar.el (diary-file, european-calendar-style):
6614         Remove autoload cookies.
6616 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
6618         * outline.el (outline-mode-menu-bar-map):
6619         * log-view.el (log-view-mode-menu):
6620         * log-edit.el (log-edit-menu): Add :help.
6622 2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
6624         * emacs-lisp/regexp-opt.el (regexp-opt-group):
6625         Use substring-no-properties for correct handling of unibyte strings.
6627 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6629         * add-log.el (change-log-next-buffer): Handle the case where version<
6630         signals an error.
6632         * mouse.el (mouse-menu-major-mode-map): New fun extracted from
6633         mouse-major-mode-menu.
6634         (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
6635         (mouse-major-mode-menu, mouse-popup-menubar)
6636         (mouse-popup-menubar-stuff): Use them.
6637         (C-down-mouse-3): Bind to a dynamic map rather than to
6638         mouse-popup-menubar-stuff.
6640         * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
6641         to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
6643 2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
6645         * vc-svn.el (vc-svn-modify-change-comment): Add support for the
6646         file:// access method.
6648 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6650         * minibuffer.el: New file.
6651         * loadup.el: Load it.
6653 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6655         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
6656         rather than subdirs.el.  It introduces an ugly circular dependency, tho.
6658         * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
6659         (calc-mode-map, calc-digit-map, calc-dispatch-map):
6660         Move initialization into declaration.
6661         * calc/calc-yank.el:
6662         * calc/calc-misc.el:
6663         * calc/calc-embed.el:
6664         * calc/calc-aent.el: Add autoload cookies.  Set generated-autoload-file.
6666 2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
6668         * ps-samp.el (ps-add-printer, ps-remove-printer)
6669         (ps-make-dynamic-printer-menu): New functions.
6671         * net/zeroconf.el: New file.
6673 2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6675         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
6677 2008-04-08  Dan Nicolaescu  <dann@ics.uci.edu>
6679         * vc-rcs.el (vc-rcs-modify-change-comment):
6680         * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
6682         * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
6684 2008-04-08  Juanma Barranquero  <lekktu@gmail.com>
6686         * international/mule-cmds.el (set-locale-environment): Don't warn if
6687         coding system doesn't agree with system locale (this reverts changes
6688         by Dave Love, dated 2002-10-27 and 2002-10-09).
6690         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
6691         * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
6693         * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
6695 2008-04-08  Glenn Morris  <rgm@gnu.org>
6697         * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
6698         * textmodes/remember.el (remember-diary-convert-entry):
6699         Require calendar.
6701         * textmodes/remember.el (remember-diary-extract-entries): Don't pass
6702         diary-file, since it is the default for make-diary-entry anyway.
6704         * calendar/cal-menu.el (cal-menu-event-to-date):
6705         Rename calendar-event-to-date.  Update callers.
6706         (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
6707         (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
6708         (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
6709         (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
6710         (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
6711         (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
6712         (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
6713         (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
6714         (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
6715         (calendar-mouse-tex-month-landscape):
6716         Rename cal-tex-mouse-month-landscape.
6717         (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
6718         (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
6719         (calendar-mouse-tex-year-landscape):
6720         Rename cal-tex-mouse-year-landscape.
6721         (cal-menu-context-mouse-menu): Update for above name changes.
6723         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6724         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6725         * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
6726         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
6727         * calendar/holidays.el: Replace int-to-string with number-to-string.
6729 2008-04-08  Chong Yidong  <cyd@stupidchicken.com>
6731         * mwheel.el (mwheel-scroll): Deactivate any temporarily active
6732         region if point moves.
6734 2008-04-08  Kenichi Handa  <handa@m17n.org>
6736         * faces.el (font-slant-table): Change numeric values for `r',
6737         `roman', and `normal'.
6739 2008-04-07  Vincent Belaïche  <vincent.b.1@hotmail.fr>
6741         * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
6743 2008-04-07  Jay Belanger  <jay.p.belanger@gmail.com>
6745         * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
6746         `calcFunc-kron' to autoloads.  Add keybinding for `calc-kron'.
6748 2008-04-07  Michael Albinus  <michael.albinus@gmx.de>
6750         * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
6751         "pscp" and "psftp".  Reported by Gilles Pion <gpion@lfdj.com>.
6753 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6755         * dired-aux.el (dired-read-shell-command): Use read-shell-command.
6757 2008-04-07  Sam Steingold  <sds@gnu.org>
6759         * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
6760         Add helper functions.
6761         (lisp-do-defun): Extract the common part of lisp-eval-defun and
6762         lisp-compile-defun; DEFVAR forms reset the variables to the init
6763         values, just like in emacs-lisp mode eval-defun.
6764         (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
6765         (lisp-compile-region): Use lisp-compile-string.
6767 2008-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6769         * subr.el (combine-and-quote-strings): Also quote strings that contain
6770         the separator.
6772         * pcvs-util.el (cvs-map): Avoid recursion :-(
6774 2008-04-07  Glenn Morris  <rgm@gnu.org>
6776         * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
6778         * calendar/calendar.el (diary-view-entries-initially-flag): Rename
6779         view-diary-entries-initially.  Keep old name as alias, update users.
6780         (calendar-mark-diary-entries-flag): Rename
6781         mark-diary-entries-in-calendar.  Keep old name as alias, update users.
6782         (calendar-view-holidays-initially-flag): Rename
6783         view-calendar-holidays-initially.  Keep old name as alias, update users.
6784         (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
6785         Keep old name as alias, update users.
6786         (calendar-initial-window-hook): Rename initial-calendar-window-hook.
6787         Keep old name as alias, update users.
6788         (calendar-today-visible-hook): Rename today-visible-calendar-hook.
6789         Keep old name as alias, update users.
6790         (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
6791         Keep old name as alias, update users.
6792         (diary-iso-date-forms): Rename iso-date-diary-pattern.  Update users.
6793         (diary-american-date-forms): Rename american-date-diary-pattern.
6794         Keep old name as alias, update users.
6795         (diary-european-date-forms): Rename european-date-diary-pattern.
6796         Keep old name as alias, update users.
6797         (calendar-iso-date-display-form): Rename iso-calendar-display-form.
6798         Keep old name as alias, update users.
6799         (calendar-european-date-display-form): Rename
6800         european-calendar-display-form.  Keep old name as alias, update users.
6801         (calendar-american-date-display-form): Rename
6802         european-calendar-display-form.  Keep old name as alias, update users.
6803         (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
6804         Keep old name as alias, update users.
6805         (holiday-general-holidays): Rename general-holidays.
6806         Keep old name as alias, update users.
6807         (holiday-oriental-holidays): Rename oriental-holidays.
6808         Keep old name as alias, update users.
6809         (holiday-local-holidays): Rename local-holidays.
6810         Keep old name as alias, update users.
6811         (holiday-other-holidays): Rename other-holidays.
6812         Keep old name as alias, update users.
6813         (holiday-hebrew-holidays): Rename hebrew-holidays.
6814         Keep old name as alias, update users.
6815         (holiday-christian-holidays): Rename christian-holidays.
6816         Keep old name as alias, update users.
6817         (holiday-islamic-holidays): Rename islamic-holidays.
6818         Keep old name as alias, update users.
6819         (holiday-bahai-holidays): Rename bahai-holidays.
6820         Keep old name as alias, update users.
6821         (holiday-solar-holidays): Rename solar-holidays.
6822         Keep old name as alias, update users.
6823         (diary-fancy-buffer): Rename fancy-diary-buffer.
6824         Keep old name as alias, update users.
6825         (calendar-other-calendars-buffer): Rename other-calendars-buffer.
6826         Update users.
6827         (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
6828         Update users.
6829         (calendar-increment-month): Rename increment-calendar-month.
6830         Keep old name as alias, update callers.
6831         (calendar-increment-month-cons): Rename old calendar-increment-month.
6832         Update callers.
6833         (calendar-extract-month): Rename extract-calendar-month.
6834         Keep old name as alias, update callers.
6835         (calendar-extract-day): Rename extract-calendar-day.
6836         Keep old name as alias, update callers.
6837         (calendar-extract-year): Rename extract-calendar-year.
6838         Keep old name as alias, update callers.
6839         (calendar-generate-window): Rename generate-calendar-window.
6840         Update callers.
6841         (calendar-generate): Rename generate-calendar.  Update callers.
6842         (calendar-generate-month): Rename generate-calendar-month.
6843         Update callers.
6844         (calendar-redraw): Rename redraw-calendar.  Update callers.
6845         (calendar-describe-mode): Rename describe-calendar-mode.  Update uses.
6846         (calendar-mouse-other-month): Rename mouse-calendar-other-month.
6847         Update callers.
6848         (calendar-update-mode-line): Rename update-calendar-mode-line.
6849         Update callers.
6850         (calendar-exit): Rename exit-calendar.  Keep old name as alias,
6851         update callers.
6852         (calendar-mark-visible-date): Rename mark-visible-calendar-date.
6853         Keep old name as alias, update callers.
6854         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6855         * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
6856         * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
6857         * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
6858         * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
6859         * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
6860         * calendar/solar.el: Update for calendar.el name changes.
6861         * org/org.el (org-agenda-format-date-aligned)
6862         (org-agenda-execute-calendar-command): Access date elements directly
6863         rather than using calendar functions.
6864         (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
6865         Also set calendar-view-diary-initially-flag,
6866         calendar-view-holidays-initially-flag.
6867         (org-get-entries-from-diary): Also set diary-fancy-buffer.
6868         (org-agenda-execute-calendar-command): No need to set displayed-day.
6870 2008-04-06  Alan Mackenzie  <acm@muc.de>
6872         * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
6873         typo in the doc string.
6875         * progmodes/cc-mode.el (c-basic-common-init):
6876         Set font-lock-extend-after-change-region-function.
6877         (c-extend-after-change-region): New function, used in
6878         font-lock-extend-after-change-region-function, thus superseding
6879         advice on the Font Lock after change functions.
6880         (c-advise-fl-for-region): Remove this macro.
6882 2008-04-06  Reiner Steib  <Reiner.Steib@gmx.de>
6884         * textmodes/flyspell.el (flyspell-duplicate-distance):
6885         Improve custom type.
6887 2008-04-06  Glenn Morris  <rgm@gnu.org>
6889         * calendar/diary-lib.el (diary-sexp-entry-symbol):
6890         Rename sexp-diary-entry-symbol.  Keep old name as alias, update users.
6891         (diary-list-entries-hook): Rename list-diary-entries-hook.
6892         Keep old name as alias, update users.
6893         (diary-mark-entries-hook): Rename mark-diary-entries-hook.
6894         Keep old name as alias, update users.
6895         (diary-nongregorian-listing-hook): Rename
6896         nongregorian-diary-listing-hook.  Keep old name as alias, update users.
6897         (diary-nongregorian-marking-hook): Rename
6898         nongregorian-diary-marking-hook.  Keep old name as alias, update users.
6899         (diary-print-entries-hook): Rename print-diary-entries-hook.
6900         Keep old name as alias, update users.
6901         (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
6902         Keep old name as alias, update users.
6903         (diary-number-of-entries): Rename number-of-diary-entries.
6904         Keep old name as alias, update users.
6905         (view-diary-entries, list-diary-entries, show-all-diary-entries):
6906         Give version of obsolescence.
6907         (diary-view-other-diary-entries): Rename view-other-diary-entries.
6908         Keep old name as alias, update callers.
6909         (diary-add-to-list): Rename add-to-diary-list.  Keep old name as alias,
6910         update callers.
6911         (diary-include-other-diary-files): Rename include-other-diary-files.
6912         Keep old name as alias, update callers.
6913         (diary-simple-display): Rename simple-diary-display.
6914         Keep old name as alias, update callers.
6915         (diary-fancy-display): Rename fancy-diary-display.
6916         Keep old name as alias, update callers.
6917         (diary-print-entries): Rename print-diary-entries.
6918         Keep old name as alias, update callers.
6919         (diary-marking-entries-flag): Rename marking-diary-entries.
6920         Update users.
6921         (diary-marking-entry-flag): Rename marking-diary-entry.  Update users.
6922         (diary-mark-entries): Rename mark-diary-entries.
6923         Keep old name as alias, update callers.
6924         (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
6925         Keep old name as alias, update callers.
6926         (diary-mark-included-diary-files): Rename mark-included-diary-files.
6927         Keep old name as alias, update callers.
6928         (calendar-mark-days-named): Rename mark-calendar-days-named.
6929         Keep old name as alias, update callers.
6930         (calendar-mark-month): Rename mark-calendar-month.
6931         Keep old name as alias, update callers.
6932         (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
6933         Keep old name as alias, update callers.
6934         (diary-sort-entries): Rename sort-diary-entries.
6935         Keep old name as alias, update callers.
6936         (diary-list-sexp-entries): Rename list-sexp-diary-entries.
6937         Keep old name as alias, update callers.
6938         (diary-make-entry): Rename make-diary-entry.  Keep old name as alias,
6939         update callers.
6940         (diary-insert-entry): Rename insert-diary-entry.
6941         Keep old name as alias.
6942         (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
6943         Keep old name as alias.
6944         (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
6945         Keep old name as alias.
6946         (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
6947         Keep old name as alias.
6948         (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
6949         Keep old name as alias.
6950         (diary-insert-block-entry): Rename insert-block-diary-entry.
6951         Keep old name as alias.
6952         (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
6953         Keep old name as alias.
6954         (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
6955         Keep old name as alias, update users.
6956         (diary-fancy-display-mode): Rename fancy-diary-display-mode.
6957         Keep old name as alias, update callers.
6958         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6959         * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
6960         * calendar/icalendar.el: Update for diary-lib name changes.
6962 2008-04-06  Chong Yidong  <cyd@stupidchicken.com>
6964         * dired-aux.el (dired-overwrite-confirmed): Revert last change.
6966         * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
6967         for copy, move, and link operations.
6969 2008-04-06  Michael Kifer  <kifer@cs.stonybrook.edu>
6971         * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
6972         (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
6974         * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
6975         'require' statements with 1-argument ones (wrapped in if's).
6976         For compatibility with the current stable version of XEmacs.
6978 2008-04-06  Dan Nicolaescu  <dann@ics.uci.edu>
6980         * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
6982 2008-04-06  Jason Rumney  <jasonr@gnu.org>
6984         * language/burmese.el ("Burmese"): Make sample text consistent with
6985         language name.
6987 2008-04-06  Nick Roberts  <nickrob@snap.net.nz>
6989         * progmodes/gdb-ui.el (gdb): New group.
6990         (gdb-debug-log-max, gdb-enable-debug)
6991         (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
6992         (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
6993         (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
6994         (gdb-show-changed-values, gdb-max-children)
6995         (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
6996         (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
6997         (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
6998         (gdb-memory-unit): Move to new group from GUD group.
6999         (menu): Allow customization from GDB-UI menu-item.
7001 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
7003         * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
7005 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7007         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
7008         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
7009         Revision numbers can include ".".
7011         * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
7012         "+" lines not accounted for by counting "-" and context lines.
7014 2008-04-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7016         * term/mac-win.el (mac-service-open-file): Use file URL instead of
7017         file name string.
7019 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7021         * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
7022         (vc-bzr-annotate-time): Accept space used to preserve alignment.
7024 2008-04-05  Richard Stallman  <rms@gnu.org>
7026         * emacs-lisp/advice.el (defadvice): Add usage pattern.
7028 2008-04-05  Nick Roberts  <nickrob@snap.net.nz>
7030         * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
7031         thread in [h-e-w]).
7033 2008-04-05  Juanma Barranquero  <lekktu@gmail.com>
7035         * files.el (abort-if-file-too-large): Fix typo in docstring.
7037 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7039         * subr.el (functionp): Return nil for special forms.
7041 2008-04-05  Glenn Morris  <rgm@gnu.org>
7043         * emacs-lisp/autoload.el (autoload-ensure-default-file):
7044         Provide a feature.
7045         * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
7046         Require loaddef file rather than loading it.
7047         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
7048         autoload-ensure-default-file provides a feature.
7050         * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
7051         (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
7052         (compile, compile-always, recompile): Use $LOADDEFS.
7053         (cal-autoloads): Remove.
7055         * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
7056         than buffer-live-p.  Reported by David Koppelman <koppel@ece.lsu.edu>.
7058         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
7059         (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
7061         * calendar/calendar.el (diary-hebrew-entry-symbol):
7062         Rename hebrew-diary-entry-symbol.  Keep old name as alias.
7063         (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
7064         Keep old name as alias.
7065         (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
7066         Keep old name as alias.
7067         * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
7068         to diary-bahai-entry-symbol.
7069         * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
7070         to diary-hebrew-entry-symbol.
7071         * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
7072         to diary-islamic-entry-symbol.
7073         * calendar/diary-lib.el: Update for diary-entry-symbol renames.
7075         * calendar/solar.el (diary-sabbath-candles-minutes)
7076         (diary-sabbath-candles): Move to cal-hebrew.
7077         * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
7078         (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
7079         Doc fix.  Keep old name as alias.
7080         (diary-hebrew-sabbath-candles): Simplify.
7081         (solar-setup, solar-sunrise-sunset, calendar-latitude)
7082         (calendar-longitude, calendar-time-zone): Declare for compiler.
7083         * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
7084         rename.
7086         * calendar/cal-coptic.el (calendar-coptic-month-name-array):
7087         Rename coptic-calendar-month-name-array.  Update callers.
7088         (calendar-coptic-epoch): Rename coptic-calendar-epoch.  Update callers.
7089         (calendar-coptic-name): Rename coptic-name.  Update callers.
7090         (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
7091         Update callers.
7092         (calendar-coptic-last-day-of-month):
7093         Rename coptic-calendar-last-day-of-month.  Update callers.
7094         (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
7095         Keep old name as alias, update callers.
7096         (calendar-coptic-print-date): Rename calendar-print-coptic-date.
7097         Keep old name as alias, update callers.
7098         (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
7099         Keep old name as alias.
7100         (calendar-ethiopic-month-name-array):
7101         Rename ethiopic-calendar-month-name-array.  Update callers.
7102         (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
7103         Update callers.
7104         (calendar-ethiopic-name): Rename ethiopic-name.  Update callers.
7105         (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
7106         Keep old name as alias, update callers.
7107         (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
7108         Keep old name as alias, update callers.
7109         (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
7110         Keep old name as alias.
7112         * calendar/cal-french.el (calendar-french-epoch):
7113         Rename french-calendar-epoch.  Update callers.
7114         (calendar-french-month-name-array): Rename variable and function
7115         french-calendar-month-name-array.  Update callers.
7116         (calendar-french-multibyte-month-name-array):
7117         Rename french-calendar-multibyte-month-name-array.  Update callers.
7118         (calendar-french-day-name-array): Rename variable and function
7119         french-calendar-day-name-array.  Update callers.
7120         (calendar-french-special-days-array): Rename variable and function
7121         french-calendar-special-days-array.  Update callers.
7122         (calendar-french-multibyte-special-days-array):
7123         Rename french-calendar-multibyte-special-days-array.  Update callers.
7124         (calendar-french-accents-p): Rename french-calendar-accents.
7125         Update callers.
7126         (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
7127         Update callers.
7128         (calendar-french-last-day-of-month):
7129         Rename french-calendar-last-day-of-month.  Update callers.
7130         (calendar-french-to-absolute): Rename calendar-absolute-from-french.
7131         Keep old name as alias, update callers.
7132         (calendar-french-print-date): Rename calendar-print-french-date.
7133         Keep old name as alias, update callers.
7134         (calendar-french-goto-date): Rename calendar-goto-french-date.
7135         Keep old name as alias.
7137         * calendar/cal-menu.el, calendar/calendar.el:
7138         Update for Coptic and French name changes.
7140         * calendar/cal-china.el (calendar-chinese): Rename custom group
7141         from chinese-calendar.  Update users.
7142         (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
7143         Keep old name as alias, update users.
7144         (calendar-chinese-location-name): Rename chinese-calendar-location-name.
7145         Keep old name as alias.
7146         (calendar-chinese-daylight-time-offset):
7147         Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
7148         update users.
7149         (calendar-chinese-standard-time-zone-name):
7150         Rename chinese-calendar-standard-time-zone-name.
7151         Keep old name as alias, update users.
7152         (calendar-chinese-daylight-saving-start):
7153         Rename chinese-calendar-daylight-savings-starts.
7154         Keep old name as alias, update users.
7155         (calendar-chinese-daylight-saving-end):
7156         Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
7157         update users.
7158         (calendar-chinese-daylight-saving-start-time):
7159         Rename chinese-calendar-daylight-savings-starts-time.
7160         Keep old name as alias, update users.
7161         (calendar-chinese-daylight-saving-end-time):
7162         Rename chinese-calendar-daylight-savings-ends-time.
7163         Keep old name as alias, update users.
7164         (calendar-chinese-celestial-stem): Rename
7165         calendar-chinese-celestial-stem.  Keep old name as alias, update users.
7166         (calendar-chinese-terrestrial-branch):
7167         Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
7168         update users.
7169         (calendar-chinese-zodiac-sign-on-or-after):
7170         Rename chinese-zodiac-sign-on-or-after.  Update callers.
7171         (calendar-chinese-new-moon-on-or-after):
7172         Rename chinese-new-moon-on-or-after.  Update callers.
7173         (calendar-chinese-month-list): Rename chinese-month-list.
7174         Update callers.
7175         (calendar-chinese-number-months): Rename number-chinese-months.
7176         Update callers.
7177         (calendar-chinese-compute-year): Rename compute-chinese-year.
7178         Update callers.
7179         (calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
7180         (calendar-chinese-year): Rename chinese-year.  Update callers.
7181         (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
7182         (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
7183         Keep old name as alias, update callers.
7184         (calendar-chinese-print-date): Rename calendar-print-chinese-date.
7185         Keep old name as alias, update callers.
7186         (calendar-chinese-months-to-alist):
7187         Rename make-chinese-month-assoc-list.  Update callers.
7188         (calendar-chinese-months): Rename chinese-months.  Update callers.
7189         (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
7190         Keep old name as alias, update callers.
7192         * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
7193         Rename hebrew-calendar-leap-year-p.  Update callers.
7194         (calendar-hebrew-last-month-of-year):
7195         Rename hebrew-calendar-last-month-of-year.  Update callers.
7196         (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
7197         Update callers.
7198         (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
7199         Update callers.
7200         (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
7201         Update callers.
7202         (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
7203         Update callers.
7204         (calendar-hebrew-last-day-of-month):
7205         Rename hebrew-calendar-last-day-of-month.  Update callers.
7206         (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
7207         Keep old name as alias, update callers.
7208         (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
7209         Keep old name as alias, update callers.
7210         (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
7211         Keep old name as alias, update callers.
7212         (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
7213         Keep old name as alias.
7214         (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
7215         Keep old name as alias.
7216         (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
7217         Keep old name as alias.
7218         (holiday-hebrew-passover): Rename holiday-passover-etc.
7219         Keep old name as alias.
7220         (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
7221         Keep old name as alias, update callers.
7222         (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
7223         Keep old name as alias.
7224         (calendar-hebrew-mark-date-pattern):
7225         Rename mark-hebrew-calendar-date-pattern.  Keep old name as alias,
7226         update callers.
7227         (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
7228         Keep old name as alias.
7229         (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
7230         Keep old name as alias.
7231         (diary-hebrew-insert-monthly-entry):
7232         Rename insert-monthly-hebrew-diary-entry.  Keep old name as alias.
7233         (diary-hebrew-insert-yearly-entry):
7234         Rename insert-yearly-hebrew-diary-entry.  Keep old name as alias.
7235         (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
7236         Keep old name as alias.
7237         (diary-hebrew-omer): Rename diary-omer.  Keep old name as alias.
7238         (diary-hebrew-yahrzeit): Rename diary-yahrzeit.  Keep old name as alias.
7239         (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
7240         Keep old name as alias.
7241         (calendar-hebrew-parashiot-names):
7242         Rename hebrew-calendar-parashiot-names.  Update callers.
7243         (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
7244         (calendar-hebrew-year-Saturday-incomplete-Sunday):
7245         Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
7246         (calendar-hebrew-year-Saturday-complete-Tuesday):
7247         Rename hebrew-calendar-year-Saturday-complete-Tuesday.
7248         (calendar-hebrew-year-Monday-incomplete-Tuesday):
7249         Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
7250         (calendar-hebrew-year-Monday-complete-Thursday):
7251         Rename hebrew-calendar-year-Monday-complete-Thursday.
7252         (calendar-hebrew-year-Tuesday-regular-Thursday):
7253         Rename hebrew-calendar-year-Tuesday-regular-Thursday.
7254         (calendar-hebrew-year-Thursday-regular-Saturday):
7255         Rename hebrew-calendar-year-Thursday-regular-Saturday.
7256         (calendar-hebrew-year-Thursday-complete-Sunday):
7257         Rename hebrew-calendar-year-Thursday-complete-Sunday.
7258         (calendar-hebrew-year-Saturday-incomplete-Tuesday):
7259         Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
7260         (calendar-hebrew-year-Saturday-complete-Thursday):
7261         Rename hebrew-calendar-year-Saturday-complete-Thursday.
7262         (calendar-hebrew-year-Monday-incomplete-Thursday):
7263         Rename hebrew-calendar-year-Monday-incomplete-Thursday.
7264         (calendar-hebrew-year-Monday-complete-Saturday):
7265         Rename hebrew-calendar-year-Monday-complete-Saturday.
7266         (calendar-hebrew-year-Tuesday-regular-Saturday):
7267         Rename hebrew-calendar-year-Tuesday-regular-Saturday.
7268         (calendar-hebrew-year-Thursday-incomplete-Sunday):
7269         Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
7270         (calendar-hebrew-year-Thursday-complete-Tuesday):
7271         Rename hebrew-calendar-year-Thursday-complete-Tuesday.
7272         (diary-hebrew-parasha): Rename diary-parasha.  Keep old name as alias.
7273         Update for above name changes of constants.
7275         * calendar/cal-menu.el, calendar/calendar.el:
7276         Update for chinese and hebrew name changes.
7277         * calendar/diary-lib.el: Update for hebrew name changes.
7279 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7281         * subr.el (keymap-canonicalize): Correct thinko.
7283         * server.el: Undo part of the multi-tty change, which is only
7284         needed if server.el is preloaded, and broke server-running-p.
7285         (server-socket-dir): Initialize in the defvar, as before.
7286         (server-start): Remove initialization of server-socket-dir.
7288 2008-04-05  Eli Zaretskii  <eliz@gnu.org>
7290         * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
7291         3-member cons cells.
7293 2008-04-05  Chong Yidong  <cyd@stupidchicken.com>
7295         * cus-face.el (custom-face-attributes): Handle roman slant.
7297         * faces.el (default): Ensure the face-defface-spec property is set.
7299 2008-04-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
7301         * files.el (abort-if-file-too-large): New function.
7302         (find-file-noselect, insert-file-1): Use it.
7304 2008-04-05  Reto Zimmermann  <reto@gnu.org>
7306         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7307         Replace C-c[a-zA-Z] key bindings.
7309 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7311         * progmodes/hideif.el (hif-token-alist): New var.
7312         (hif-token-regexp, hif-tokenize): Use it.
7313         (hif-mathify-binop): New macro.
7314         (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
7315         (hif-greater-equal, hif-less-equal): Use it.
7316         (hif-logior, hif-logand): New functions.
7317         (hif-math): Accept | and & as well.
7319         * progmodes/etags.el: Fix problem with completion for buffer-local
7320         tables.  Reported by Radey Shouman <shouman@comcast.net>.
7321         (tags-complete-tag): Remove.
7322         (tags-lazy-completion-table): New function to replace it.
7323         (find-tag-tag, complete-tag): Update users.
7325 2008-04-04  Dan Nicolaescu  <dann@ics.uci.edu>
7327         * vc-rcs.el (vc-rcs-dir-status):
7328         * vc-sccs.el (vc-sccs-dir-status): New function.
7330         * outline.el (outline-mode-menu-bar-map):
7331         * term.el (terminal-signal-menu): Add :help.
7333         * net/eudc.el (eudc-mode-map): Declare and define in one step.
7334         (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
7336         * emacs-lisp/re-builder.el (reb-mode-map):
7337         * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
7339         * diff-mode.el (diff-file-junk-re): Recognize the git format for
7340         new files, deleted files and for changing permissions.
7341         (diff-mode): Set beginning-of-defun-function and
7342         end-of-defun-function.
7344         * vc-bzr.el (vc-bzr-state): Use when instead of if.
7346         * vc.el (vc-default-status-fileinfo-extra): New function.
7347         (vc-status-mark-buffer-changed): Use it.
7348         (vc-update-vc-status-buffer): Allow for partial updates.
7350 2008-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7352         * net/tramp.el (after-init-hook): Don't wrap a lambda around
7353         tramp-register-completion-file-name-handler.
7355         * subr.el (keymap-canonicalize): New function.
7356         * mouse.el (mouse-menu-non-singleton): Use it.
7357         (mouse-major-mode-menu): Remove hack made unnecessary.
7359         * simple.el (set-fill-column): Prompt rather than error by default.
7361 2008-04-04  Andreas Schwab  <schwab@suse.de>
7363         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
7364         Reset new-rules after each round.
7366         * Makefile.in (cal-autoloads): New target.
7367         (compile, compile-always, recompile): Depend on it.
7368         ($(lisp)/calendar/cal-loaddefs.el)
7369         ($(lisp)/calendar/diary-loaddefs.el)
7370         ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
7372 2008-04-04  Michael Kifer  <kifer@cs.stonybrook.edu>
7374         * ediff*.el: Replace load with require in eval-when-compile.
7376         * ediff-hook.el: Delete all invocations of (autoload ...).
7378         * ediff-util.el (ediff-setup): Make window-min-height a local variable
7379         in ediff control window, and set its min height to 2.
7380         (ediff-setup-control-buffer): Dedicate the control window.
7381         (ediff-toggle-multiframe): Undedicate control window.
7382         Work directly with ediff-setup-windows-multiframe and
7383         ediff-setup-windows-plain.
7385         * ediff-wind.el (ediff-choose-window-setup-function-automatically):
7386         New function.
7387         (ediff-window-setup-function): Change initialization.
7388         (ediff-setup-windows-automatic): Delete.
7389         (ediff-setup-windows-plain-merge): Make control window dedicated.
7390         (ediff-destroy-control-frame): Do not skip frames if working in a
7391         single frame.
7393         * emulation/viper-ex.el: Move provide's forward, prevent recursion in
7394         eval-when-compile.
7396         * emulation/viper-util.el: Move provide's forward, prevent recursion in
7397         eval-when-compile.
7399 2008-04-04  Glenn Morris  <rgm@gnu.org>
7401         * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
7402         calendar-absolute-from-bahai.  Update callers, keep old name as alias.
7404         * calendar/cal-islam.el (calendar-islamic-leap-year-p):
7405         Rename islamic-calendar-leap-year-p.  Update callers.
7406         (calendar-islamic-last-day-of-month):
7407         Rename islamic-calendar-last-day-of-month.  Update callers.
7408         (calendar-islamic-day-number):
7409         Rename islamic-calendar-day-number.  Update callers.
7410         (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
7411         Update callers, keep old name as alias.
7412         (calendar-islamic-print-date): Rename calendar-print-islamic-date.
7413         Update callers, keep old name as alias.
7414         (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
7415         Keep old name as alias.
7416         (diary-islamic-list-entries): Rename list-islamic-diary-entries.
7417         Update callers, keep old name as alias.
7418         (calendar-islamic-mark-date-pattern):
7419         Rename mark-islamic-calendar-date-pattern.  Update callers, keep old
7420         name as alias.
7421         (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
7422         Keep old name as alias.
7423         (diary-islamic-insert-monthly-entry):
7424         Rename insert-monthly-islamic-diary-entry.  Keep old name as alias.
7425         (diary-islamic-insert-yearly-entry):
7426         Rename insert-yearly-islamic-diary-entry.  Keep old name as alias.
7428         * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
7429         calendar-absolute-from-iso.  Update callers, keep old name as alias.
7430         (calendar-iso-print-date): Rename calendar-print-iso-date.
7431         Update callers, keep old name as alias.
7432         (calendar-iso-goto-date): Rename calendar-goto-iso-date.
7433         Keep old name as alias.
7434         (calendar-iso-goto-week): Rename calendar-goto-iso-week.
7435         Keep old name as alias.
7437         * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
7438         calendar-absolute-from-julian.  Update callers, keep old name as alias.
7439         (calendar-julian-print-date): Rename calendar-print-julian-date.
7440         Update callers, keep old name as alias.
7441         (calendar-julian-goto-date): Rename calendar-goto-julian-date.
7442         Update callers, keep old name as alias.
7443         (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
7444         Update callers, keep old name as alias.
7445         (calendar-astro-print-day-number):
7446         Rename calendar-print-astro-day-number.  Update callers, keep old
7447         name as alias.
7448         (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
7449         Update callers, keep old name as alias.
7451         * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
7452         Rename calendar-string-to-mayan-long-count.  Update callers.
7453         (calendar-mayan-print-date): Rename calendar-print-mayan-date.
7454         Update callers, keep old name as alias.
7455         (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
7456         Update callers.
7457         (calendar-mayan-read-tzolkin-date):
7458         Rename calendar-read-mayan-tzolkin-date.  Update callers.
7459         (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
7460         Keep old name as alias.
7461         (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
7462         Keep old name as alias.
7463         (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
7464         Keep old name as alias.
7465         (calendar-mayan-previous-tzolkin-date):
7466         Rename calendar-previous-tzolkin-date.  Keep old name as alias.
7467         (calendar-mayan-next-round-date):
7468         Rename calendar-next-calendar-round-date.  Keep old name as alias.
7469         (calendar-mayan-previous-round-date):
7470         Rename calendar-previous-calendar-round-date.  Keep old name as alias.
7471         (calendar-mayan-long-count-to-absolute): Rename
7472         calendar-absolute-from-mayan-long-count.  Keep old name as alias.
7473         (calendar-mayan-goto-long-count-date):
7474         Rename calendar-goto-mayan-long-count-date.  Keep old name as alias.
7476         * calendar/cal-persia.el (calendar-persian-month-name-array):
7477         Rename persian-calendar-month-name-array.  Update callers.
7478         (calendar-persian-epoch): Rename persian-calendar-epoch.
7479         Update callers.
7480         (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
7481         Update callers.
7482         (calendar-persian-last-day-of-month):
7483         Rename persian-calendar-last-day-of-month.  Update callers.
7484         (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
7485         Update callers, keep old name as alias.
7486         (calendar-persian-print-date): Rename calendar-print-persian-date.
7487         Update callers, keep old name as alias.
7488         (calendar-persian-goto-date): Rename calendar-goto-persian-date.
7489         Keep old name as alias.
7491         * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
7492         * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
7493         * calendar/solar.el: Update for cal-julian name changes.
7495         * calendar/cal-dst.el: Update for persian name changes.
7497         * calendar/cal-menu.el, calendar/calendar.el:
7498         Update for islamic, iso, julian, mayan, persian name changes.
7500         * calendar/diary-lib.el: Update for islamic name changes.
7502         * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
7503         Rename all-hebrew-calendar-holidays.  Update callers, keep old name
7504         as alias.
7505         (calendar-christian-all-holidays-flag):
7506         Rename all-christian-calendar-holidays.  Update callers, keep old
7507         name as alias.
7508         (calendar-islamic-all-holidays-flag):
7509         Rename all-islamic-calendar-holidays.  Update callers, keep old
7510         name as alias.
7511         (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
7512         Update callers, keep old name as alias.
7513         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
7514         Update for the above name changes.
7516 2008-04-04  Juanma Barranquero  <lekktu@gmail.com>
7518         * hilit-chg.el (global-highlight-changes-mode)
7519         (highlight-changes-passive-string, highlight-changes-active-string):
7520         Mark as obsolete since 23.1, not 22.1.
7522 2008-04-03  Juanma Barranquero  <lekktu@gmail.com>
7524         * hilit-chg.el (highlight-changes-visibility-initial-state)
7525         (hilit-chg-update, highlight-changes-mode-turn-on):
7526         Fix typos in docstrings.
7528 2008-04-03  Stephen Berman  <Stephen.Berman@gmx.net>
7530         * newcomment.el (comment-enter-backward): Be careful to restore
7531         position changed during narrowing.
7533 2008-04-03  Giuliano Procida  <giuliano.procida@googlemail.com>  (tiny change)
7535         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
7536         Recognize `sub ($$)'.
7538 2008-04-03  Richard Sharman  <rsharman@pobox.com>
7540         * hilit-chg.el (highlight-changes-mode): Rename from
7541         highlight-changes; no longer uses sub-modes active and passive;
7542         implemented by define-minor-mode.
7543         (highlight-changes-toggle-visibility): New function, to replace
7544         the old passive/active submodes of global-highlight-changes-mode;
7545         implemented by define-minor-mode.
7546         (global-highlight-changes-mode): Rename from global-highlight-changes;
7547         rewrite using define-globalized-minor-mode.
7548         (hilit-chg-major-mode-hook, hilit-chg-check-global)
7549         (hilit-chg-post-command-hook, hilit-chg-check-global)
7550         (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
7551         to use of define-globalized-minor-mode.
7552         (highlight-changes-global-initial-state): Change to be boolean.
7553         (highlight-changes-visible-string, highlight-changes-invisible-string):
7554         Rename from highlight-changes-active-string and
7555         highlight-changes-passive-string.
7556         (hilit-chg-update, hilit-chg-set): Use them.
7557         (global-highlight-changes-mode): Rename from global-highlight-changes.
7558         (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
7559         docstring.
7560         (hilit-chg-hide-changes): Rewrite to use dolist.
7561         (hilit-chg-set-face-on-change, hilit-chg-update)
7562         (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
7563         variable instead of testing highlight-changes-mode.
7564         (highlight-markup-buffers): Add require ediff-util; argument on calls
7565         to highlight-changes-mode changed.
7566         (highlight-compare-with-file): Fix problems with interactive
7567         call giving invalid default file.
7569 2008-04-03  Nick Roberts  <nickrob@snap.net.nz>
7571         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
7572         Fix in disassembly buffer (regression in 22.2).
7574 2008-04-03  Michael Kifer  <kifer@cs.stonybrook.edu>
7576         * emulation/viper-macs.el (viper-read-fast-keysequence):
7577         Use viper-read-event instead of viper-read-key.
7579         * emulation/viper.el (viper-mode): Move the check for fundamental mode.
7581         * emulation/viper-util.el (viper-get-saved-cursor-color-in-insert-mode)
7582         (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
7583         let-statements.
7585         * emulation/viper-ex.el, emulation/viper-macs.el:
7586         * emulation/viper-mous.el:
7587         Replace load with require in eval-when-compile.
7589 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7591         * files.el (auto-mode-alist): Use archive-mode for Debian packages.
7593         * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
7594         (archive-try-jka-compr): New function.
7595         (archive-set-buffer-as-visiting-file): Use it.
7597         * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
7599 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
7601         * simple.el (handle-shift-selection): New arg.
7603 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7605         * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
7607         * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
7609 2008-04-03  Chong Yidong  <cyd@stupidchicken.com>
7611         * shell.el (shell-dynamic-complete-filename): New fun.
7612         (shell-dynamic-complete-functions): Use it.
7614         * help-fns.el (describe-variable): Undo 2008-02-25 change.
7616 2008-04-03  Kenichi Handa  <handa@m17n.org>
7618         * international/fontset.el (create-fontset-from-x-resource):
7619         Handle the error of X resource more gracefully.
7621         * international/latin1-disp.el (latin1-display): Don't use make-char.
7622         Fix the argument to set-char-table-range.
7623         (latin1-display-identities): Don't use make-char.
7624         (latin1-display-reset): Use map-charset-chars instead of directly
7625         calling standard-display-default.
7626         (latin1-display-check-font): Don't use make-char.
7627         (latin1-display-setup): Likewise.
7628         (latin1-display-ucs-per-lynx): Likewise.
7630 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7632         * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
7633         name the fields, to make the code clearer.
7634         Rewrite all `aset' and `aref' using the defined accessors.
7635         (timer--time): New pseudo-field.
7636         (timer-set-time, timer-set-idle-time, timer-inc-time)
7637         (timer-set-time-with-usecs, with-timeout-suspend): Use it.
7638         (timer--time-less-p): New function.
7639         (timer--activate): New function, extracted from timer-activate.
7640         (timer-activate-when-idle, timer-activate): Use it.
7641         (cancel-function-timers): Use dolist.
7643 2008-04-03  Glenn Morris  <rgm@gnu.org>
7645         * add-log.el (c-beginning-of-defun, c-end-of-defun):
7646         Remove declarations; no longer used.
7647         (c-cpp-define-name, c-defun-name): Declare as functions.
7649         * calendar/cal-bahai.el (holiday-fixed): Autoload it.
7650         (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
7652         * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
7653         (holiday-passover-etc, holiday-hanukkah): Doc fix.
7654         Add optional argument.  Simplify.
7655         (holiday-tisha-b-av-etc): Use memq rather than unless.
7656         (holiday-julian): Autoload it.
7657         (holiday-hebrew-misc): New function.
7659         * calendar/cal-islam.el (holiday-islamic-new-year): New function.
7661         * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
7662         (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
7663         (hebrew-holidays-2): Just use holiday-hanukkah now it respects
7664         all-hebrew-calendar-holidays.
7665         (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
7666         Simplify using new functions.
7667         (calendar-holidays): Doc fix.
7668         (generate-calendar-window): Use bound-and-true-p.
7670         * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
7672         * calendar/holidays.el (calendar-holiday-list): Fix previous change.
7673         (holiday-filter-visible-calendar): Doc fix.  Use mapcar.
7674         (holiday-easter-etc): Fix nesting of result.  Tweak holiday order.
7675         Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
7677         * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
7679 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
7683         * vc-bzr.el (vc-bzr-checkout): Simplify.
7685         * image-mode.el (image-mode-fit-frame): New command.
7687         * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
7688         (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
7689         (keyboard-escape-quit): Check region-active-p i.s.o
7690         transient-mark-mode.
7692 2008-04-02  Simon Josefsson  <simon@josefsson.org>
7694         * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
7695         (imap-message-copyuid-1): Use it.
7696         (imap-message-appenduid-1): Likewise.  Based on patch by Nathan
7697         J. Williams in
7698         <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
7700 2008-04-02  Alan Mackenzie  <acm@muc.de>
7702         * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
7703         New optimised functions to get the name of the current defun/macro.
7705         * add-log.el (add-log-current-defun): Move the functionality which
7706         gets the current function name for C like modes to cc-cmds.el,
7707         thus optimising for speed.
7709 2008-04-02  Chong Yidong  <cyd@stupidchicken.com>
7711         * simple.el (deactivate-mark): When the mark is temporarily
7712         active, restore the original value of transient-mark-mode.
7713         (set-mark-command): First deactivate the mark if was temporarily active.
7714         (exchange-point-and-mark): Reactivate the mark if it was
7715         temporarily active.
7716         (handle-shift-selection): New fun.
7717         (transient-mark-mode): Move var documentation here from buffer.c.
7718         (next-line, previous-line, backward-word, move-end-of-line)
7719         (move-beginning-of-line, forward-to-indentation)
7720         (backward-to-indentation, back-to-indentation)
7721         (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
7723         * mouse.el (mouse-set-region-1): Save the old value of
7724         transient-mark-mode.
7725         (mouse-drag-track): Ignore the now-obsolete value `identity' for
7726         transient-mark-mode.
7728         * textmodes/paragraphs.el (forward-paragraph)
7729         (backward-paragraph, forward-sentence, backward-sentence): Add ^
7730         interactive spec.
7732         * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
7734 2008-04-02  Michael Albinus  <michael.albinus@gmx.de>
7736         * net/tramp.el (tramp-make-tramp-temp-file):
7737         Use `tramp-drop-volume-letter' for the local file name part.
7739 2008-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
7741         * progmodes/sh-script.el (sh-mode-map): Rename the menu.  Add :help.
7742         Add menu entries corresponding to all the key bindings.
7744         * emacs-lisp/debug.el (debugger-mode-map):
7745         * textmodes/conf-mode.el (conf-mode-map): Add a menu.
7746         (conf-align-assignments): Only work on the region if it is active.
7747         (conf-quote-normal): Use when instead of if.  Remove redundant test.
7749         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7750         for tracing and re-builder.
7752 2008-04-02  Glenn Morris  <rgm@gnu.org>
7754         * calendar/appt.el (appt-disp-window-function): Doc fix.
7755         (appt-display-message): Move beep before display.
7756         (appt-check): Make interactive.  Reduce the number of lets.
7757         Use string-equal to compare mode-line strings.
7758         (appt-disp-window): Pluralize "minute" as needed.  Make appt buffer
7759         read-only.
7760         (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
7761         (appt-delete): Simplify.
7763         * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
7765         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
7767         * calendar/cal-hebrew.el (list-yahrzeit-dates):
7768         * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
7769         (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
7771         * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
7772         (calendar-holiday-marker, mark-visible-calendar-date):
7773         * calendar/diary-lib.el (fancy-diary-display):
7774         Check for font-lock-mode before using faces.
7776         * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
7777         (calendar-gregorian-from-absolute): Reduce the number of lets.
7778         (hebrew-holidays-4, generate-calendar-window): Simplify.
7779         (calendar-for-loop): Make obsolete.
7780         (calendar-nth-named-day): Doc fix.
7782         * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
7783         (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
7784         (calendar-mark-1, list-sexp-diary-entries, diary-remind):
7785         Reduce the number of lets.
7786         (mark-sexp-diary-entries, calendar-mark-complex):
7787         Expand calendar-for-loops.
7789 2008-04-01  Chong Yidong  <cyd@stupidchicken.com>
7791         * find-dired.el (find-dired-filter): Fix last patch to handle
7792         multi-line process input.  Pad link numbers too.
7794 2008-04-01  Jari Aalto  <jari.aalto@cante.net>
7796         * find-dired.el (find-dired-filter): Align columns by padding file sizes.
7798 2008-04-01  Jason Rumney  <jasonr@gnu.org>
7800         * international/characters.el (script-list): Add phonetic script,
7801         covering IPA (previously Latin), Phonetic Extensions and
7802         Phonetic Extensions Supplement (both previously unassigned).
7804         * international/fontset.el (setup-default-fontset): Use unicode fonts
7805         that cover bopomofo script for bopomofo.
7806         Likewise for braille and mathematical.
7807         Use unicode scripts that cover the phonetic script for IPA.
7809 2008-04-01  Johan Bockgård  <bojohan@gnu.org>
7811         * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
7812         return the assigned value.
7814 2008-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7816         * abbrev.el (abbrev-mode): Use define-minor-mode.
7818         * mouse.el (mouse-major-mode-menu-prefix): Remove.  Remove uses.
7819         (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
7820         Use map-keymap.
7821         (minor-mode-menu-from-indicator): Use it.  Simplify.
7823         * bindings.el (mode-line-mode-menu): Move before (new) first use.
7824         (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
7825         Bind the key directly to the menu.
7826         (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
7828 2008-04-01  Daiki Ueno  <ueno@unixuser.org>
7830         * epa.el (epa-decrypt-region): Explain the reason why this
7831         function should not be used in Lisp programs.
7832         (epa-decrypt-armor-in-region): Ditto.
7833         (epa-verify-region): Ditto.
7834         (epa-verify-cleartext-in-region): Ditto.
7835         (epa-sign-region): Ditto.
7836         (epa-encrypt-region): Ditto.
7838         * epg.el (epg-start-receive-keys): Fix typo in docstring.
7840         * epa.el (epa-select-keys): Show menu even if there is no key in
7841         GnuPG's keyring.
7843 2008-04-01  Glenn Morris  <rgm@gnu.org>
7845         * calendar/calendar.el (calendar-make-temp-face): New function.
7846         (mark-visible-calendar-date):
7847         * calendar/diary-lib.el (fancy-diary-display): Use it.
7849         * vc-hooks.el (vc-responsible-backend): Declare as function.
7851         * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
7852         * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
7853         * calendar/cal-julian.el (holiday-julian): Use it.
7855         * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
7856         (calendar-hebrew-date-is-visible-p): Extract some common code into
7857         separate function.
7858         (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
7860         * calendar/cal-menu.el (cal-menu-holidays-menu):
7861         * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
7862         rather than obsolete alias.
7864         * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
7865         for mark characters.
7866         (calendar-unmark): Unmark by removing all overlays, rather than
7867         redrawing.
7868         (calendar-starred-day): Remove.
7869         (calendar-mode): Disable undo.  Don't make calendar-starred-day local.
7870         (calendar-cursor-to-date): No need for special star handling now
7871         using overlays.
7872         (calendar-star-date): Use overlays.
7874         * calendar/cal-french.el (calendar-goto-french-date):
7875         * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
7876         (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
7877         * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
7878         * calendar/cal-persia.el (calendar-persian-date-string):
7879         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
7880         (cal-tex-cursor-month, cal-tex-LaTeXify-string):
7881         * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
7882         * calendar/solar.el (solar-equinoxes-solstices):
7883         Reduce nesting of some lets.
7885         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7886         (calendar-goto-mayan-long-count-date): Simplify.
7888         * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
7889         Simplify by using mapcar.
7890         (calendar-list-holidays): Return holiday-list.
7891         (list-holidays): Use let rather than let*.  Remove un-needed locals
7892         `d', `never'.
7893         (calendar-check-holidays): Return result from dolist.
7894         (holiday-float): Use a single let*.  Simplify if-and to and.
7895         (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
7896         single let*.
7898 2008-04-01  Jay Belanger  <jay.p.belanger@gmail.com>
7900         * calc/calc.el: Autoload `calc-yank'.
7901         (calc-mode-map): Add keybindings for `calc-yank'.
7902         * calc/calc-ext.el (calc-init-extensions): Remove keybinding
7903         assignments for `calc-yank'.
7905 2008-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
7907         * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
7908         (vc-status-mark-buffer-changed): Handle the extra field.
7910         * vc-bzr.el (vc-bzr-after-dir-status):
7911         * vc-cvs.el (vc-cvs-after-dir-status):
7912         * vc-hg.el (vc-hg-after-dir-status):
7913         * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
7915 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7917         * doc-view.el: Compute displayed pages first (in PDF).
7918         (doc-view-current-converter-processes): Rename from
7919         doc-view-current-converter-process.  Update users.
7920         (doc-view-sentinel): Test buffer's liveness.
7921         (doc-view-pdf/ps->png-sentinel): Remove.
7922         (doc-view-start-process): New function.
7923         (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
7924         (doc-view-ps->pdf): Use it.
7925         (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
7926         New functions.
7927         (doc-view-convert-current-doc, doc-view-goto-page): Use them.
7928         (doc-view-mode): Kill the processes when leaving the mode.
7930 2008-03-31  Juanma Barranquero  <lekktu@gmail.com>
7932         * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
7933         Use `byte-compile-warning-types'.  Add docstring.
7935 2008-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7937         * smerge-mode.el (smerge-apply-resolution-patch): New fun.
7938         (smerge-resolve): Add various resolution heuristics.
7940         * smerge-mode.el (smerge-refine): Allow highlighting other subparts
7941         in 3-way conflicts.
7943 2008-03-31  Glenn Morris  <rgm@gnu.org>
7945         * calendar/cal-bahai.el (diary-bahai-mark-entries):
7946         * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
7947         * calendar/cal-islam.el (mark-islamic-diary-entries):
7948         Fix argument order in call to diary-mark-entries-1.
7950         * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
7951         pre-Bahai dates.
7952         (holiday-bahai): Use an algorithm actually relevant to this calendar
7953         system.
7955         * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
7957         * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
7958         Use and.
7960         * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
7961         in the last fortnight in Julian October.
7963         * calendar/calendar.el (increment-calendar-month): Optionally handle
7964         systems without 12 months per year.
7966         (calendar-date-is-visible-p): Doc fix.  Simplify.
7968         * calendar/holidays.el (holiday-filter-visible-calendar): Return result
7969         from dolist.
7971 2008-03-30  Juanma Barranquero  <lekktu@gmail.com>
7973         * hi-lock.el (hi-lock-mode): Fix typos in docstring.
7974         (hi-lock-unload-function): New function.
7976 2008-03-30  Michael Albinus  <michael.albinus@gmx.de>
7978         * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
7979         overwriting when NEWNAME is a local file.
7981         * net/trampver.el: Update release number.
7983 2008-03-30  Alexandre Julliard  <julliard@winehq.org>
7985         * vc-git.el: Make vc-status display information about copies,
7986         renames and permission changes.
7987         (vc-git-extra-fileinfo): New defstruct.
7988         (vc-git-escape-file-name, vc-git-file-type-as-string)
7989         (vc-git-rename-as-string, vc-git-permissions-as-string)
7990         (vc-git-status-printer): New functions.
7991         (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
7992         (vc-git-after-dir-status-stage1): Look for copies, renames and
7993         permission changes.
7994         (vc-git-after-dir-status-stage1-empty-db): Set permissions.
7995         (vc-git-dir-status): Ask for staged files and renames.
7997 2008-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
7999         * vc.el: Allow backends to display backend specific information in
8000         the vc-status listing.
8001         (vc-status-fileinfo): Add a field for backend specific information.
8002         (vc-status-printer): Rename to ...
8003         (vc-default-status-printer): ... this.
8004         (vc-status-printer): New function.
8005         (vc-update-vc-status-buffer): Set the backend specific file info
8006         if provided.
8008 2008-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8010         * textmodes/remember.el (remember-diary-convert-entry): Revert last
8011         change (ill-conceived).
8013 2008-03-29  Glenn Morris  <rgm@gnu.org>
8015         * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
8016         * calendar/cal-julian.el (holiday-julian): Simplify.
8018         * calendar/holidays.el (list-holidays): Use or.
8020 2008-03-29  Juri Linkov  <juri@jurta.org>
8022         * window.el (split-window-preferred-horizontally): New function.
8024         * cus-start.el (split-window-preferred-function):
8025         Set choice for "vertically" to nil instead of split-window.
8026         Set choice for "horizontally" to split-window-preferred-horizontally
8027         instead of lambda.
8029 2008-03-29  Juri Linkov  <juri@jurta.org>
8031         * simple.el (minibuffer-default-add-function): New variable with
8032         the default to minibuffer-default-add-completions.
8033         (minibuffer-default-add-done): New variable.  Make it buffer-local.
8034         (minibuffer-default-add-completions): New function.
8035         (goto-history-element): Set minibuffer-default-add-done to t and
8036         call a function in minibuffer-default-add-function when the
8037         specified absolute history position is greater than the length of
8038         the minibuffer-default list and minibuffer-default-add-done is nil.
8039         Change "^End of history; no next item$" to "^End of defaults;
8040         no next item$".
8042         * bindings.el (debug-ignored-errors): Change "^End of history;
8043         no next item$" to "^End of defaults; no next item$".
8045 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8047         * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
8049         * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
8050         to with-no-warnings.
8052 2008-03-29  Michael Albinus  <michael.albinus@gmx.de>
8054         Sync with Tramp 2.1.13.
8056         * net/tramp-ftp.el: Require 'cl when byte-compiling.
8058         * net/trampver.el: Update release number.
8060 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
8062         * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
8063         the current backend.
8065         * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
8066         (vc-status-refresh): Create a temporary buffer and call the
8067         `dir-status' backend function from that buffer.
8069         * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
8070         (vc-bzr-after-dir-status): Don't kill the buffer.
8072         * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
8073         (vc-cvs-after-dir-status): Don't kill the buffer.
8075         * vc-git.el (vc-git-dir-status): Don't create a buffer.
8076         (vc-git-after-dir-status-stage2): Don't kill the buffer.
8078         * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
8079         (vc-hg-after-dir-status): Don't kill the buffer.
8081         * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
8082         (vc-svn-after-dir-status): Don't kill the buffer.
8084 2008-03-29  Glenn Morris  <rgm@gnu.org>
8086         * calendar/calendar.el (diary-file, american-date-diary-pattern)
8087         (european-date-diary-pattern, european-calendar-display-form)
8088         (american-calendar-display-form, diary-display-hook): Doc fixes.
8089         (european-calendar-style): Doc fix.  Use calendar-set-date-style for
8090         custom :set.  Mark as obsolete.
8091         (calendar-date-style, iso-date-diary-pattern)
8092         (iso-calendar-display-form): New user variables.
8093         (diary-date-forms, calendar-date-display-form): Set using
8094         calendar-date-style.  Doc fix.
8095         (calendar-set-date-style): New command.
8096         (european-calendar, american-calendar): Use calendar-set-date-style.
8097         Mark as obsolete.
8099         * calendar/diary-lib.el (number): Move declaration where needed.
8100         (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
8101         (diary-make-date): New function.
8102         (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
8103         Use diary-make-date.
8104         (diary-date-display-form, diary-insert-entry-1): New functions.
8105         (insert-monthly-diary-entry, insert-yearly-diary-entry):
8106         Use diary-insert-entry-1.
8107         (insert-anniversary-diary-entry, insert-block-diary-entry)
8108         (insert-cyclic-diary-entry): Use diary-date-display-form.
8110         * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
8111         Autoload diary-insert-entry-1.
8112         * calendar/cal-bahai.el (diary-bahai-insert-entry)
8113         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
8114         * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
8115         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
8116         * calendar/cal-islam.el (insert-islamic-diary-entry)
8117         (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
8118         Use diary-insert-entry-1.
8120         * calendar/cal-hebrew.el (diary-make-date): Autoload it.
8121         (diary-yahrzeit): Doc fix.  Use diary-make-date.
8123         * calendar/icalendar.el (icalendar--datetime-to-american-date):
8124         New name for icalendar--datetime-to-noneuropean-date.  Make old name
8125         obsolete alias.
8126         (icalendar--datetime-to-iso-date): New function.
8127         (icalendar--datetime-to-diary-date): Doc fix.  Respect
8128         calendar-date-style if bound.
8130         * textmodes/remember.el (remember-diary-convert-entry):
8131         Respect calendar-date-style if bound.
8133 2008-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8135         * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
8136         (xterm-mouse-handle-delete-frame): Delete.
8138         * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
8139         (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
8140         (xterm-remove-modify-other-keys): Lookup terminal rather than frame
8141         in xterm-modify-other-keys-terminal-list.
8143         * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
8144         are conflicts.
8146 2008-03-29  Dan Nicolaescu  <dann@ics.uci.edu>
8148         * vc.el (vc-update): Check if the buffer is unsaved only if it
8149         actually exists.
8150         (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
8151         vc-print-log.
8153 2008-03-28  Magnus Henoch  <mange@freemail.hu>
8155         * net/dns.el (dns-write): Use set-buffer-multibyte.
8157 2008-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8159         * vc-bzr.el (vc-bzr-sha1): New fun.
8160         (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
8161         (vc-bzr-registered): Use it.
8163 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
8165         * vc.el (vc-status-kill-dir-status-process): Simplify.
8166         (vc-status-refresh): Make sure the buffer is live.
8167         (ring): Don't require it, not used.
8169 2008-03-28  Wilson Snyder  <wsnyder@wsnyder.org>
8171         * progmodes/verilog-mode.el (verilog-auto-inout-module):
8172         Add optional regular expression to AUTOINOUTMODULE.
8173         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
8174         (verilog-auto-inst-param, verilog-auto-reg)
8175         (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
8176         (verilog-auto-output-every, verilog-auto-input)
8177         (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
8178         (verilog-auto-unused, verilog-auto): Update documentation to use
8179         more obvious instance module names versus cell names.
8181 2008-03-28  Jan Djärv  <jan.h.d@swipnet.se>
8183         * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
8184         kill if a process is running.
8186         * progmodes/grep.el (grep-mode-tool-bar-map): The same.
8188 2008-03-28  Dan Nicolaescu  <dann@ics.uci.edu>
8190         * vc.el: Add new backend function 'status-extra-headers.
8191         (vc-default-status-extra-headers): New function.
8192         (vc-status-headers): Call 'status-extra-headers.  Add colors.
8194         * vc-git.el (vc-git-status-extra-headers): New function.
8196 2008-03-28  Glenn Morris  <rgm@gnu.org>
8198         * calendar/cal-menu.el (cal-menu-holidays-menu)
8199         (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
8200         (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
8201         holiday-list is optional.
8202         (calendar-mouse-holidays): Remove un-needed local `l'.
8204         * calendar/cal-move.el (calendar-cursor-to-nearest-date):
8205         Remove un-needed local `date'.
8206         (calendar-cursor-to-visible-date): Use let rather than let*.
8207         Remove un-needed local `first-of-month-weekday'.
8209         * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
8211         * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
8212         Doc fixes.
8213         (abbreviated-calendar-year): Move here from calendar.el.  Doc fix.
8214         (diary-header-line-flag, diary-header-line-format): Declare.
8215         (diary-pull-attrs): Check for multiple matches.
8216         (diary-list-entries-2): Simplify finding start of date.
8217         (diary-show-all-entries, make-diary-entry): Respect non-nil values of
8218         pop-up-frames.
8219         (diary-mark-entries-1): Re-use offset in abbreviated-year case.
8220         (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
8222 2008-03-27  Dan Nicolaescu  <dann@ics.uci.edu>
8224         * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
8226         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
8228 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * vc-hooks.el (vc-before-save): Don't prevent saving the file.
8232         * image-mode.el (image-mode-reapply-winprops): Fix last change.
8234 2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
8236         * international/mule-conf.el (define-iso-single-byte-charset):
8237         Don't make latin-iso8859-* supplementary.
8238         (#'set-charset-priority): Don't change the priority of charsets
8239         `unicode' and `emacs'.
8241 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
8244         temp buffer.
8246 2008-03-27  Glenn Morris  <rgm@gnu.org>
8248         * calendar/cal-bahai.el (diary-bahai-list-entries):
8249         * calendar/cal-hebrew.el (list-hebrew-diary-entries):
8250         * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
8252         * calendar/calendar.el (diary-file): Doc fix.
8254         * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
8255         (list-diary-entries-hook, mark-diary-entries-hook)
8256         (include-other-diary-files, diary-mail-entries)
8257         (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
8258         (diary-set-header): New function.
8259         (diary-header-line-flag, diary-header-line-format):
8260         Use diary-set-header for custom :set function.
8261         (diary-set-maybe-redraw): Use symbol-value rather than eval.
8262         (diary-attrtype-convert): Use intern-soft rather than read.
8263         (diary-display-no-entries): New function.
8264         (simple-diary-display, fancy-diary-display): Use it.
8265         (fancy-diary-display): Doc fix.  Remove unneeded local entry-list.
8266         (diary-mark-entries-1): Fix position offsets in non-gregorian case.
8268         * calendar/holidays.el (list-holidays): Doc fix.
8270 2008-03-26  Jay Belanger  <jay.p.belanger@gmail.com>
8272         * calc/calc-store.el (calc-read-var-name-history): New variable.
8273         (calc-read-var-name): Use `calc-read-var-name-history'.
8275 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8277         * image-mode.el (image-mode-reapply-winprops): Simplify now that
8278         window-configuration-change-hook works buffer-locally.
8280 2008-03-26  Johan Bockgård  <bojohan@gnu.org>
8282         * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
8283         for Emacs Lisp, not Lisp.
8285 2008-03-26  Juanma Barranquero  <lekktu@gmail.com>
8287         * help-fns.el (describe-function-1, describe-variable):
8288         If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
8290         * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
8291         replacement is provided, don't print "use nil instead".
8293 2008-03-26  Johan Bockgård  <bojohan@gnu.org>
8295         * complete.el (PC-do-completion): Use regexp-quote.
8297 2008-03-26  Dan Nicolaescu  <dann@ics.uci.edu>
8299         * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
8300         Detect missing files.
8302         * vc-git.el (vc-git-extra-menu-map): New key map.
8303         (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
8304         New functions.
8306         * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
8307         and 'missing files.
8309 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8311         * calendar/holidays.el (list-holidays): Make Y2 optional.
8313         * calendar/appt.el (appt-buffer-name): Don't use a leading space for
8314         buffers shown to the user.
8315         (appt-disp-window): Disable undo explicitly now that the leading space
8316         is gone.
8318         * simple.el (activate-mark): New function.
8319         (set-mark-command): Use it with region-active-p to clean up the code.
8320         (exchange-point-and-mark): Invert the meaning of C-u when
8321         transient-mark-mode is active.
8323         * dired-aux.el (dired-create-files): Use dolist.
8325         * bindings.el (mode-line-change-eol): Use with-selected-window.
8327         * apropos.el (apropos-command): Include macros.
8329 2008-03-26  Glenn Morris  <rgm@gnu.org>
8331         * calendar/cal-bahai.el: Require calendar, not cal-julian.
8332         (calendar-bahai-epoch): Doc fix.
8334         * calendar/cal-china.el: Explicitly require calendar.
8336         * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
8337         Require calendar rather than cal-julian.
8338         Autoload calendar-absolute-from-julian.
8339         * calendar/cal-coptic.el (coptic-calendar-epoch):
8340         * calendar/cal-islam.el (calendar-islamic-epoch):
8341         * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
8343         * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
8345         * calendar/cal-dst.el: Don't require cal-persia.
8346         (calendar-absolute-from-persian): Autoload it.
8347         (dst-adjust-time): Doc fix.
8349         * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
8350         cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
8351         calendar.
8353         * calendar/cal-menu.el: Require calendar rather than declaring
8354         functions.
8355         * calendar/calendar.el: Provide calendar before requiring cal-menu.
8357         * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
8358         calendar-after-frame-setup-hooks.  Update callers, make old name an
8359         obsolete alias.  Doc fix.
8360         (calendar-frame-1): Doc fix.
8362         * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
8364         * calendar/calendar.el (oriental-holidays, solar-holidays):
8365         * calendar/holidays.el (list-holidays): Assume atan always bound.
8367         * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
8368         Explicitly require calendar, not cal-julian.
8369         * calendar/lunar.el: Explicitly require cal-dst.
8371 2008-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8373         * autorevert.el (auto-revert-buffers): Use buffer-live-p.
8375         * help-fns.el (describe-function-1, describe-variable): If no
8376         replacement is provided, don't print "use nil instead".
8378 2008-03-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8380         * proced.el: New file.
8382 2008-03-25  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
8384         * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
8386 2008-03-25  Juri Linkov  <juri@jurta.org>
8388         * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
8389         in battery-mode-line-format.
8391         * bindings.el (minibuffer-local-map): For the command
8392         file-cache-minibuffer-complete replace keymap minibuffer-local-map
8393         with map which is already locally bound to minibuffer-local-map.
8395 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8397         * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
8398         Remove `sort-first' argument.
8400         * subr.el (redisplay-end-trigger-functions)
8401         (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
8402         (process-filter-multibyte-p, set-process-filter-multibyte):
8403         Mark as obsolete.
8405 2008-03-25  Juanma Barranquero  <lekktu@gmail.com>
8407         * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
8408         bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
8409         use the LOCAL arg of `add-hook'.
8410         (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
8411         Remove spurious * from defcustom docstrings.
8412         (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
8413         Fix typos in messages.
8414         (reb-mode-buffer-p): New function.
8415         (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'.  Use `when'.
8416         (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
8417         (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
8418         Use `unless', `when'.
8419         (re-builder-unload-function): New function.
8421 2008-03-25  Dan Nicolaescu  <dann@ics.uci.edu>
8423         * vc-hooks.el (vc-state): Add documentation for 'missing.
8425 2008-03-25  Wilson Snyder  <wsnyder@wsnyder.org>
8427         * progmodes/verilog-mode.el (verilog-auto-output)
8428         (verilog-auto-input, verilog-auto-inout, verilog-auto)
8429         (verilog-delete-auto): Add optional regular expression to
8430         AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
8431         (verilog-signals-matching-regexp): New internal function for
8432         signal matching.
8434 2008-03-25  Johan Bockgård  <bojohan@gnu.org>
8436         * info.el (Info-isearch-search): Always return point.
8438 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8440         * diff-mode.el (diff-remembered-defdir): New var.
8441         (diff-find-file-name): Use it to flush diff-remembered-files-alist.
8443 2008-03-25  Glenn Morris  <rgm@gnu.org>
8445         * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
8446         calendar-bahai-prompt-for-date.  Update callers, make old name an
8447         obsolete alias.  Doc fix.
8448         * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
8449         coptic-prompt-for-date.  Update callers, make old name an
8450         obsolete alias.  Doc fix.
8451         * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
8452         calendar-hebrew-prompt-for-date.  Update callers.  Doc fix.
8453         * calendar/cal-islam.el (calendar-islamic-read-date): New name for
8454         calendar-islamic-prompt-for-date.  Update callers.  Doc fix.
8455         * calendar/cal-iso.el (calendar-iso-read-date): New name for
8456         calendar-iso-read-args.  Update callers, make old name an obsolete
8457         alias.
8458         * calendar/cal-persia.el (calendar-persian-read-date): New name for
8459         persian-prompt-for-date.  Update callers, make old name an
8460         obsolete alias.  Doc fix.  Move definition before use.
8462         * calendar/cal-x.el (diary-frame-parameters)
8463         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
8464         (calendar-frame-1): Doc fixes.
8465         (make-fancy-diary-buffer): Remove declaration.
8466         (calendar-dedicate-diary): Replace call to deleted function
8467         make-fancy-diary-buffer.
8468         (calendar-frame-setup): New function.
8469         (calendar-one-frame-setup, calendar-only-one-frame-setup)
8470         (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
8471         work, and mark as obsolete.
8472         (special-display-buffer-names): Don't mess with this; it's not our
8473         business.
8474         (cal-x-load-hook): Defvar it, and mark as obsolete.
8476         * calendar/calendar.el (calendar-remove-frame-by-deleting):
8477         Default to t.  Add to 'calendar group.
8478         (calendar): Doc fix.  Use calendar-frame-setup.
8479         (calendar-basic-setup): Doc fix.  Add optional NODISPLAY argument.
8480         (generate-calendar-window): Doc fix.
8482 2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8484         * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
8486 2008-03-24  Drew Adams  <drew.adams@oracle.com>
8488         * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
8489         New variables.
8490         (finder-mode): Use finder-mode-syntax-table.  Set font-lock-defaults.
8491         (finder-exit): Ignore errors rather than avoiding them.
8492         Kill *Finder-package* buffer also.
8494 2008-03-24  Andreas Schwab  <schwab@suse.de>
8496         * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
8498 2008-03-24  Dan Nicolaescu  <dann@ics.uci.edu>
8500         * vc-hg.el (vc-hg-after-dir-status):
8501         * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
8503         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
8504         Detect removed files.
8506         * vc.el (vc-status-printer): Use a different face for missing files.
8507         (vc-status-hide-up-to-date): Rename from
8508         vc-status-remove-up-to-date.  Update all callers.
8509         (vc-status-mode-map): Bind C-m.
8511 2008-03-24  Alexandre Julliard  <julliard@winehq.org>
8513         * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
8514         code ...
8515         (vc-git--state-code): ... to this new function.
8516         (vc-git-state): Use it.
8518 2008-03-24  Trent Buck  <trentbuck@gmail.com>  (tiny change)
8520         * textmodes/remember.el (remember-mail-date)
8521         (remember-store-in-mailbox): Write date and From line in such a
8522         way that Mutt can read it.
8524 2008-03-23  Chong Yidong  <cyd@stupidchicken.com>
8526         * simple.el (transient-mark-mode): Turn on by default.
8528 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
8530         * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
8531         'unregistered for unregistered files.
8533         * vc-hg.el (vc-hg-state): Return 'removed for removed files.
8535         * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
8537         * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
8538         subdirectories.
8540         * vc.el (vc-status-prepare-status-buffer): Fix thinko.
8541         (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
8542         Add :enable for vc-status-refresh.
8543         (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
8544         (vc-status-tool-bar-map): Add binding for
8545         vc-status-kill-dir-status-process.
8546         Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
8547         (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
8548         Reset vc-status-process-buffer.
8549         (vc-status-refresh): Don't run two refreshes at a time.
8550         (vc-status): If the buffer is already in vc-status-mode only refresh.
8551         (vc-status-mark-buffer-changed): Add an optional file parameter.
8552         (vc-resynch-buffer): Use it.
8553         (vc-delete-file): Expand the file name before using it.
8554         Be careful to not create a new buffer with the old file contents.
8555         Update the VC state after performing the operation.
8557 2008-03-23  Andreas Schwab  <schwab@suse.de>
8559         * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
8560         Fix radio button condition.
8561         [box]: Likewise.
8562         [customize]: Add radio button.
8564 2008-03-23  Jay Belanger  <jay.p.belanger@gmail.com>
8566         * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
8567         (calc-user-parse-tables, calc-gnuplot-default-device)
8568         (calc-gnuplot-default-output, calc-gnuplot-print-device)
8569         (calc-gnuplot-print-output, calc-gnuplot-geometry)
8570         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
8571         (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
8572         (calc-undo-list, calc-redo-list, calc-main-buffer)
8573         (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
8574         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
8575         (calc-said-hello, calc-executing-macro, calc-any-selections)
8576         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
8577         (calc-display-dirty, calc-embedded-info, calc-embedded-active)
8578         (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
8579         (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
8580         (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
8581         (calc-create-buffer, calc-quit): Add docstrings.
8583 2008-03-23  Juanma Barranquero  <lekktu@gmail.com>
8585         * makefile.w32-in (WINS_ALMOST): Add org.
8587 2008-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
8589         * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
8590         New functions to implement vc-status support.
8592 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
8594         * vc.el (vc-status-prepare-status-buffer): New function.
8595         (vc-status): Use it.
8597         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
8598         appropriate.
8600 2008-03-22  Alexandre Julliard  <julliard@winehq.org>
8602         * vc-git.el (vc-git--empty-db-p)
8603         (vc-git-after-dir-status-stage1-empty-db): New functions.
8604         (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
8605         Add support for empty repositories.
8607 2008-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
8609         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8610         Allow "^" in a version name.
8612         * vc-mtn.el (vc-mtn-state): Support the added state.
8614 2008-03-22  Carsten Dominik  <dominik@science.uva.nl>
8616         * org: New directory for Org-mode.
8618         * org/org-export-latex.el: Moved from lisp/texmodes.
8620         * org/org-irc.el: Moved from lisp/texmodes.
8622         * org/org-mac-message.el: Moved from lisp/texmodes.
8624         * org/org-mouse.el: Moved from lisp/texmodes.
8626         * org/org-publish.el: Moved from lisp/texmodes.
8628 2008-03-21  Juri Linkov  <juri@jurta.org>
8630         * comint.el (comint-dynamic-simple-complete):
8631         Use variable `stub' for the second arg `common-substring'
8632         of `comint-dynamic-list-completions'.
8633         (comint-dynamic-list-filename-completions):
8634         Use variable `filenondir' for the second arg `common-substring'
8635         of `comint-dynamic-list-completions'.
8636         (comint-dynamic-list-completions): Add new optional arg
8637         `common-substring'.  Add `common-substring' as the second arg of
8638         the call to `display-completion-list'.  Doc fix.
8640         * comint.el (comint-dynamic-complete-as-filename)
8641         (comint-dynamic-list-filename-completions)
8642         (comint-dynamic-simple-complete): Use `minibuffer-message'
8643         to display message "No completions of %s" when a command
8644         is called in the minibuffer.
8645         (comint-dynamic-simple-complete): Don't display other
8646         completion messages when a command is called in the minibuffer.
8647         (comint-dynamic-list-completions): Use `minibuffer-message'
8648         to display message " [Type space to flush ...]" when a command
8649         is called in the minibuffer.
8651         * shell.el (shell-dynamic-complete-command)
8652         (shell-dynamic-complete-environment-variable): Don't display
8653         completion messages when command is called in the minibuffer.
8655         * emacs-lisp/lisp.el (lisp-complete-symbol):
8656         Use `minibuffer-message' to display message "No completions of %s"
8657         when this command is called in the minibuffer.
8659         * bindings.el (standard-mode-line-modes): Put special help-echo
8660         tooltip on recursive edit %[ %] mode-line constructs.
8662         * dabbrev.el (debug-ignored-errors): Remove $ from the end of
8663         "^No dynamic expansion for .* found$" to allow error messages like
8664         "No dynamic expansion for \"%s\" found in this-buffer".
8666 2008-03-21  Michael Albinus  <michael.albinus@gmx.de>
8668         * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
8669         "psftp".
8671 2008-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8673         * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
8674         * vc.el (vc-default-dired-state-info): Use just "modified".
8675         * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
8676         (vc-cvs-mode-line-string): Make use of the better default.
8677         (vc-cvs-parse-entry): Use the new `added'.
8678         (vc-cvs-dired-state-info): Remove.
8679         * vc-svn.el (vc-svn-dired-state-info): Remove.
8680         * vc-hg.el (vc-hg-dired-state-info): Remove.
8681         * vc-git.el (vc-git-dired-state-info): Remove.
8683 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
8685         * vc-git.el (vc-git-status-result): New variable.
8686         (vc-git-dir-status): Split out ...
8687         (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
8688         ... these new functions and work asynchronously.
8690 2008-03-21  Alexandre Julliard  <julliard@winehq.org>
8692         * vc-git.el (vc-git-after-dir-status): Remove.
8693         (vc-git-dired-state-info): Reimplement.
8695 2008-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
8697         * replace.el (occur-mode-map): Add :help.
8699         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
8700         for disassemble.
8702         * vc.el (vc-status-mark-buffer-changed): Better deal with files in
8703         the 'added state.
8704         (vc-status-remove-up-to-date): New function.
8705         (vc-status-mode-map, vc-status-menu-map): Bind it.
8706         (vc-status-printer): Use a different face up-to-date files.
8707         (vc-resynch-buffer): Update the vc-status buffer if it exists.
8708         (Todo): Remove solved entries.
8710         * vc-hg.el (vc-hg-state):
8711         * vc-git.el (vc-git-state):
8712         * vc-cvs.el (vc-cvs-parse-status):
8713         * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
8714         state.
8716 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8718         * progmodes/compile.el (compile):
8719         * progmodes/grep.el (grep, grep-find): Use read-shell-command.
8721         * simple.el (minibuffer-local-shell-command-map): New var.
8722         (minibuffer-complete-shell-command, read-shell-command): New funs.
8723         (shell-command, shell-command-on-region): Use them.
8725 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
8727         * vc.el (vc-status-mark-buffer-changed): New function to implement
8728         updating of the *vc-status* buffer when a buffer is saved.
8729         (vc-status-mode): Use it for after-change-hook.
8730         (vc-add-to-vc-status-buffer): Rename to ...
8731         (vc-status-add-entry): ... this.
8732         (Todo): Add new entry.
8734 2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8736         * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
8738 2008-03-20  Juanma Barranquero  <lekktu@gmail.com>
8740         * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
8741         (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
8742         Remove spurious * from defcustom docstrings.
8743         (icomplete-compute-delay): Fix docstring and remove spurious *.
8744         (icomplete-delay-completions-threshold): Fix typo in docstring and
8745         remove spurious *.
8746         (icomplete-completions): While collecting the list of prospective
8747         candidates, don't overshoot `icomplete-prospects-length'.
8749 2008-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
8751         * textmodes/refbib.el:
8752         * textmodes/reftex.el:
8753         * textmodes/reftex-global.el:
8754         * textmodes/reftex-vars.el:
8755         * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
8756         compiler pacifying defvars.
8757         (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
8758         * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
8759         not needed.
8761 2008-03-20  Wilson Snyder  <wsnyder@wsnyder.org>
8763         * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
8764         (verilog-stmt-menu, verilog-menu): Add :help and filter it.
8765         (verilog-customize, verilog-font-customize)
8766         (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
8767         (verilog-mode): Update documentation strings to match tool tips.
8768         (verilog-auto-search-do, verilog-auto-re-search-do)
8769         (verilog-skip-forward-comment-or-string): Fix verilog-auto
8770         expansion when a .* appears inside a string.
8771         (verilog-re-search-forward, verilog-re-search-backward):
8772         Add comment to recall how this works.
8773         (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
8775 2008-03-20  Glenn Morris  <rgm@gnu.org>
8777         * calendar/calendar.el (calendar-other-dates): New function.
8778         (calendar-print-other-dates): Use calendar-other-dates.
8779         * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
8780         the declarations it replaces.
8781         (calendar-mouse-print-dates): Use calendar-other-dates.
8783         * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
8784         (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
8785         (calendar-absolute-from-bahai): Fix the leap-year case.
8786         (calendar-bahai-from-absolute): Re-use the Gregorian month.
8787         (calendar-bahai-date-string, calendar-bahai-print-date):
8788         Handle pre-Bahai dates.
8790         * calendar/cal-china.el (chinese-calendar-celestial-stem)
8791         (chinese-calendar-terrestrial-branch): Make defcustoms.
8793         * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
8794         (calendar-mouse-view-diary-entries): Use or.
8795         (calendar-mouse-chinese-date): Remove unused command.
8796         (cal-menu-load-hook): Mark as obsolete.
8798         * calendar/solar.el (calendar-location-name, calendar-latitude)
8799         (calendar-longitude, solar-arctan, sunrise-sunset)
8800         (solar-mean-equinoxes/solstices): Use the appropriate equality test.
8802 2008-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
8804         * calc/calc.el: Remove outdated comments.
8805         (defcalcmodevar, calc-mode-var-list-restore-default-values)
8806         (calc-mode-var-list-restore-saved-values, calc-autorange-units):
8807         Add docstrings.
8809 2008-03-19  Jason Rumney  <jasonr@gnu.org>
8811         * w32-fns.el (x-alternatives-map): Add S-tab mapping.
8813 2008-03-19  Reiner Steib  <Reiner.Steib@gmx.de>
8815         * net/tls.el (open-tls-stream): Reindent.
8817 2008-03-19  Michael Albinus  <michael.albinus@gmx.de>
8819         * net/tramp.el (tramp-let-maybe): Removed.
8820         (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
8821         It does not exist under XEmacs.
8822         (tramp-handle-file-truename, tramp-handle-expand-file-name)
8823         (tramp-completion-file-name-handler): Let-bind
8824         `directory-sep-char'.
8826         * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
8827         `directory-sep-char'.
8829 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8831         * help-fns.el (describe-function-1): Don't signal "missing arglist"
8832         for autoloaded keymaps.
8834         * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
8835         (electric-verilog-terminate-line, verilog-in-struct-region-p)
8836         (verilog-backward-ws&directives, verilog-forward-ws&directives)
8837         (verilog-in-comment-p, verilog-in-star-comment-p)
8838         (verilog-in-slash-comment-p, verilog-skip-backward-comments)
8839         (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
8840         (verilog-skip-forward-comment-or-string, verilog-in-paren)
8841         (verilog-skip-forward-comment-p): Use it.
8843 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
8845         * textmodes/org.el (org-link-store, org-link-follow, org-latex)
8846         (org-remember-templates, org-time-stamp-rounding-minutes)
8847         (org-back-over-empty-lines, org-find-base-buffer-visiting)
8848         (org-columns-new): Fix typos in docstrings.
8850 2008-03-19  Glenn Morris  <rgm@gnu.org>
8852         * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
8853         (tramp-handle-shell-command): Use condition-case rather than
8854         ignore-errors.
8856 2008-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8858         * diff-mode.el (diff-header): Make the color louder.
8859         (diff-refine-change): Tone the color down.
8861 2008-03-19  Juanma Barranquero  <lekktu@gmail.com>
8863         * descr-text.el (describe-char): When `describe-char-unidata-list'
8864         is set to show all properties, list them in the right order.
8866 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8868         * international/mule.el (load-with-code-conversion): Avoid setting
8869         default-enable-multibyte-characters.
8871 2008-03-19  Gustav Hållberg  <gustav@virtutech.com>  (tiny change)
8873         * vc.el (vc-annotate-background): Fix custom type.
8875 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8877         * descr-text.el (describe-char-unidata-list): Allow specifying
8878         just all properties.
8879         (describe-char): Handle that new value.
8881         * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
8883 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
8885         * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
8886         instead of file name extension to make docs with uncommon
8887         extensions work.
8889 2008-03-18  Tassilo Horn  <tassilo@member.fsf.org>
8891         * doc-view.el (require): Require cl at compile time because
8892         `assert' needs it.
8894 2008-03-18  Glenn Morris  <rgm@gnu.org>
8896         * calendar/calendar.el (initial-calendar-window-hook)
8897         (today-visible-calendar-hook): Doc fixes.
8899 2008-03-17  Michael Albinus  <michael.albinus@gmx.de>
8901         * net/tramp.el (tramp-root-regexp): Simplify.
8902         (tramp-completion-file-name-regexp-separate): Don't insist on
8903         leading "[".  This prevents method or user or host completion.
8904         (tramp-let-maybe): Autoload it.
8905         (tramp-drop-volume-letter): Don't autoload.  When not on W32, it
8906         is an alias for `identity'.
8907         (tramp-handle-write-region): Protect `last-coding-system-used'
8908         over the trailing statements.
8909         (tramp-completion-file-name-handler-post-function): Remove.
8910         (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
8911         instead of calling `tramp-drop-volume-letter'.
8913         * net/tramp.el:
8914         * net/tramp-uu.el:
8915         * net/trampver.el: Move coding cookie at the end.
8917 2008-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8919         * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
8920         elements which may be something else than characters.
8922 2008-03-17  Dan Nicolaescu  <dann@ics.uci.edu>
8924         * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
8925         New functions to implement vc-status support.
8927         * vc.el (vc-default-extra-status-menu)
8928         (vc-add-to-vc-status-buffer): New functions.
8930         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8931         for eldoc and ielm.
8933 2008-03-17  Glenn Morris  <rgm@gnu.org>
8935         * calendar/cal-x.el (diary-frame-parameters)
8936         (calendar-frame-parameters, calendar-and-diary-frame-parameters):
8937         Fix custom type; add options.
8938         (calendar-frame, diary-frame): Doc fixes.
8939         (calendar-dedicate-diary, calendar-frame-1): Extract common code into
8940         new functions.
8941         (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
8942         Use calendar-frame-1 and calendar-dedicate-diary.
8943         (calendar-one-frame-setup): Also handle only-one-frame case.
8944         (calendar-only-one-frame-setup): Doc fix.  Just call
8945         calendar-one-frame-setup.
8947         * calendar/diary-lib.el: Re-order some definitions before their use.
8948         (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
8949         (diary-list-entries): Doc fixes.
8950         (make-fancy-diary-display): Remove function.
8952         * calendar/calendar.el (calendar-today-marker)
8953         (initial-calendar-window-hook, today-visible-calendar-hook)
8954         (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
8955         (calendar-star-date, calendar-mark-today): Doc fixes.
8956         (today-visible-calendar-hook): Add options.
8957         (calendar-in-read-only-buffer): New macro.
8958         (calendar-basic-setup): Adapt for change in calendar-read-date.
8959         Place holiday let inside if.
8960         (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
8961         (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
8962         (calendar-print-other-dates): Use one let rather than many.
8964         * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
8965         (calendar-print-other-dates):
8966         * calendar/cal-hebrew.el (list-yahrzeit-dates):
8967         * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
8968         * calendar/holidays.el (calendar-list-holidays, list-holidays)
8969         (calendar-cursor-holidays):
8970         * calendar/lunar.el (calendar-phases-of-moon): Use
8971         calendar-in-read-only-buffer to replace previous code and disable undo.
8973 2008-03-16  Juri Linkov  <juri@jurta.org>
8975         * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
8976         and regexp-search-ring-yank-pointer for the HISTPOS argument of
8977         read-from-minibuffer to provide the correct initial minibuffer
8978         history position in isearch-edit-string when it is called from
8979         isearch-ring-adjust.
8981         * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
8982         to check if the current buffer is the minibuffer, and in this case
8983         call abort-recursive-edit to kill the minibuffer.  Doc fix.
8984         (kill-this-buffer-enabled-p): Allow this function to return non-nil
8985         when the current buffer is the minibuffer.
8987         * simple.el (goto-line): Leave mark at previous position.  Doc fix.
8989 2008-03-16  Tassilo Horn  <tassilo@member.fsf.org>
8991         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
8992         Use non-nil PARENTS attribute of make-directory instead of
8993         explicitly checking existence the current cache directory.
8995 2008-03-16  Daiki Ueno  <ueno@unixuser.org>
8997         * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
8998         M-x epa-file-select-keys.
9000 2008-03-16  Kenichi Handa  <handa@m17n.org>
9002         * international/mule.el (auto-coding-alist):
9003         Use no-conversion-multibyte for archive files.
9005 2008-03-16  Glenn Morris  <rgm@gnu.org>
9007         * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
9008         New functions.
9009         * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
9010         (calendar-bahai-mark-date-pattern): Add optional argument `color'.
9011         Use calendar-mark-1.
9012         * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
9013         (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
9014         Use calendar-mark-complex.
9015         * calendar/cal-islam.el (calendar-mark-1): Autoload it.
9016         (mark-islamic-calendar-date-pattern): Add optional argument `color'.
9017         Use calendar-mark-1.
9019         * calendar/calendar.el (calendar-mod): Remove.
9020         * calendar/cal-china.el (calendar-chinese-from-absolute)
9021         (calendar-chinese-date-string): Expand calendar-mod calls.
9022         * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
9023         Expand calendar-mod calls.
9025         * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
9026         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
9027         (diary-bahai-insert-yearly-entry): Use let rather than let*.
9028         Move obsolete aliases after the functions that replaced them.
9030         * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
9031         (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
9032         (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
9033         Use let rather than let*.
9034         (calendar-hebrew-prompt-for-date): New function.
9035         (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
9036         (holiday-tisha-b-av-etc): Use unless, let.
9038         * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
9039         (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
9041         * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
9043         * calendar/calendar.el (calendar-for-loop): Add indent spec.
9045         * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
9046         (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
9047         than concat.
9048         (diary): Remove un-needed let.
9049         (view-other-diary-entries): Rename argument.
9050         (diary-list-entries-2): New function.
9051         (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
9052         (print-diary-entries): Use unless.
9053         (diary-mark-entries-1): Change argument order, make all but
9054         markfunc optional.  Handle the standard (Gregorian) case.
9055         Use match-string-no-properties.  Handle marks.
9056         (mark-diary-entries): Use diary-mark-entries-1.
9057         (diary-font-lock-keywords-1): New macro.
9058         (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
9060 2008-03-16  Ulf Jasper  <ulf.jasper@web.de>
9062         * calendar/icalendar.el (icalendar-version): Increase to 0.18.
9063         (icalendar-export-hidden-diary-entries): New variable.
9064         (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
9065         In case of error, insert full error-val.
9066         (icalendar-first-weekday-of-year): Remove `offset' argument.  Doc fix.
9067         Use calendar-day-of-week.  Return the day number.
9068         (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
9070 2008-03-16  Craig Markwardt  <Craig.Markwardt@nasa.gov>
9072         * calendar/icalendar.el (icalendar-recurring-start-year): New variable.
9073         (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
9074         (icalendar-export-region): Ignore hidden diary entries.
9075         (icalendar--convert-ordinary-to-ical): Fix case where event
9076         spans across midnight boundary.
9077         (icalendar-first-weekday-of-year): New function.
9078         (icalendar--convert-weekly-to-ical): Allow user-selectable start
9079         year for recurring events (Mozilla calendars do not propagate
9080         recurring events forever, so year 2000 start date was not working).
9081         (icalendar--convert-yearly-to-ical): Remove extra spaces in
9082         formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
9084 2008-03-15  Michael Albinus  <michael.albinus@gmx.de>
9086         * net/tramp.el (tramp-root-regexp): New defconst.
9087         (tramp-completion-file-name-regexp-unified)
9088         (tramp-completion-file-name-regexp-separate)
9089         (tramp-completion-file-name-regexp-url): Use it.
9090         (tramp-do-copy-or-rename-file-via-buffer):
9091         Set `enable-multibyte-characters' to nil.  Set `jka-compr-inhibit' to
9092         t for `insert-file-contents-literally'.
9093         (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
9094         Autoload it.
9095         (tramp-completion-file-name-handler-post-function): New defconst.
9096         (tramp-completion-file-name-handler): Use it.
9097         (tramp-maybe-open-connection): Update calls to
9098         `tramp-flush-connection-property' for removed 2nd argument.
9100 2008-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9102         * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
9103         (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
9104         New functions.
9106 2008-03-15  Glenn Morris  <rgm@gnu.org>
9108         * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
9109         New functions.
9110         * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
9111         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9112         (diary-list-entries-1, diary-mark-entries-1): Autoload.
9113         (diary-bahai-list-entries): Use diary-list-entries-1.
9114         (diary-bahai-mark-entries): Doc fix.  Use diary-mark-entries-1.
9115         * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
9116         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9117         (diary-list-entries-1, diary-mark-entries-1): Autoload.
9118         (list-hebrew-diary-entries): Use diary-list-entries-1.
9119         (mark-hebrew-diary-entries): Doc fix.  Use diary-mark-entries-1.
9120         * calendar/cal-islam.el (number, original-date, add-to-diary-list)
9121         (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9122         (diary-list-entries-1, diary-mark-entries-1): Autoload.
9123         (list-islamic-diary-entries): Use diary-list-entries-1.
9124         (mark-islamic-diary-entries): Doc fix.  Use diary-mark-entries-1.
9126         * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
9128         * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
9130         * calendar/cal-china.el (number-chinese-months)
9131         (calendar-chinese-from-absolute): Use nth, caar.
9133         * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
9135         * calendar/cal-french.el (french-calendar-accents): Doc fix.
9137         * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
9138         (calendar-hebrew-month-name-array-leap-year)
9139         (hebrew-calendar-parashiot-names): Make constants.
9140         (diary-parasha): Move definition after constants it uses.
9142         * calendar/cal-html.el (cal-html-insert-link-yearpage)
9143         (cal-html-htmlify-list): Doc fix.
9144         (cal-html-htmlify-entry): Use nth.
9146         * calendar/cal-islam.el (calendar-islamic-month-name-array)
9147         (calendar-islamic-epoch): Make constants.
9148         (calendar-islamic-epoch): Doc fix.
9150         * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
9152         * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
9153         (cal-tex-month-name): Doc fix.
9154         (cal-tex-last-blank-p): Use zerop.
9156         * calendar/calendar.el (european-calendar-style, calendar-for-loop)
9157         (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
9158         (calendar-cursor-to-date): Doc fix.
9159         (hebrew-holidays-1, hebrew-holidays-4): Simplify.
9160         (extract-calendar-day, extract-calendar-year): Use cadr, nth.
9161         (calendar-day-number): Use when.
9162         (generate-calendar-month): Use dotimes.
9163         (exit-calendar, calendar-print-other-dates): Use let rather than let*.
9164         (calendar-set-mark): Reverse conditional.
9165         (calendar-make-alist): Move definition before use.
9167         * calendar/diary-lib.el (diary-face-attrs)
9168         (diary-glob-file-regexp-prefix, diary-selective-display)
9169         (number-of-diary-entries, diary-list-entries, diary-goto-entry)
9170         (list-sexp-diary-entries, diary-date, diary-block, diary-float)
9171         (diary-anniversary, diary-cyclic)
9172         (diary-fancy-font-lock-fontify-region-function): Doc fixes.
9173         (diary-header-line-format): Change wording.
9174         (diary-list-entries): Set `date-start' in let.
9175         (include-other-diary-files, mark-included-diary-files): Use format.
9176         (simple-diary-display, fancy-diary-display): Use cadr, unless.
9177         (mark-diary-entries): Use 1+.
9178         (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
9179         (mark-calendar-month): Use dotimes.
9181         * calendar/holidays.el (displayed-month, displayed-year):
9182         Move declarations where needed.
9183         (calendar-list-holidays): Doc fix.
9185         * calendar/parse-time.el (parse-time-string): Simplify.
9187         * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
9188         Make constants.
9189         (solar-sunrise-sunset): Rename some local variables for clarity.
9190         (sunrise-sunset): Use zerop.
9191         (solar-mean-equinoxes/solstices): Doc fix.
9193         * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
9194         Use nth.
9195         (timeclock-completing-read, timeclock-generate-report): Use zerop.
9196         (timeclock-mean, timeclock-generate-report): Use dolist.
9198         * calendar/todo-mode.el (todo-add-category): Simplify.
9199         (todo-more-important-p, todo-delete-item, todo-file-item):
9200         Use unless, when.
9201         (todo-top-priorities): Use zerop.
9203 2008-03-14  Nick Roberts  <nickrob@snap.net.nz>
9205         * buff-menu.el (list-buffers-noselect): Display buffer name in
9206         tooltip instead of mouse binding when it doesn't fit in the list.
9208 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
9210         * faces.el (xw-defined-colors):
9211         * simple.el (widget-convert, shell-mode): Declare as functions
9212         instead of autoloading.
9214         * abbrev.el:
9215         * button.el:
9216         * cus-face.el:
9217         * ediff-hook.el:
9218         * emacs-lisp/backquote.el:
9219         * emacs-lisp/timer.el:
9220         * facemenu.el:
9221         * faces.el:
9222         * menu-bar.el:
9223         * simple.el:
9224         * subr.el:
9225         * textmodes/fill.el:
9226         * textmodes/paragraphs.el: Remove autoloads, redundant when the
9227         files are preloaded.
9229 2008-03-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9231         * desktop.el (desktop-create-buffer): Don't catch errors if
9232         debug-on-error is set.
9234 2008-03-14  Eli Zaretskii  <eliz@gnu.org>
9236         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9237         ($(lisp)/calendar/diary-loaddefs.el)
9238         ($(lisp)/calendar/hol-loaddefs.el): New targets.
9239         (LOADDEFS): New macro.
9240         (autoloads): Depend on $(LOADDEFS).
9242 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
9244         * font-lock.el (featurep): Remove test, not useful anymore.
9245         (facemenu-keymap): Move key binding ...
9246         * facemenu.el (facemenu-keymap): ... here.
9248         * vc-bzr.el (vc-bzr-print-log): Insert a file marker.  Run the log
9249         for each file in the list.
9250         (vc-bzr-log-view-mode): Recognize the file marker.
9252         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
9253         for checkdoc and profiling.
9255 2008-03-14  Bastien Guerry  <bzg@altern.org>
9257         * textmodes/flyspell.el (nxml-mode): Add the right
9258         `flyspell-mode-predicate'.
9260         * wid-edit.el (link): Use 'mouse-face for :follow-link.
9262 2008-03-14  Glenn Morris  <rgm@gnu.org>
9264         * calendar/solar.el: Reorder so that functions are defined before use.
9265         (displayed-month, displayed-year): Move declarations where needed.
9266         (solar-get-number): Move definition before use.  Use unless.
9267         (solar-equatorial-coordinates): Simplify.
9268         (solar-sunrise-and-sunset): Use let rather than let*.
9269         (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
9271         * startup.el (command-line-1): Rename -internal-script back to
9272         -scriptload (reverts previous change).
9274         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
9275         (calendar-bahai-leap-base): Add doc strings.
9276         (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
9277         Move definition before use.
9278         (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
9279         (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
9280         variables outside the loop.  Use dolist.
9281         (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
9283         * calendar/cal-china.el: Re-order so that functions are defined before
9284         use.
9285         (displayed-month, displayed-year): Move declarations where needed.
9286         (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
9287         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
9288         Add doc strings.
9289         (chinese-year-cache): Recenter on 2010.  Doc fix.
9290         (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
9291         Doc fix.  Simplify.
9292         (chinese-year-cache-init): New function.
9293         (compute-chinese-year, holiday-chinese-new-year)
9294         (calendar-chinese-date-string, calendar-goto-chinese-date)
9295         (make-chinese-month-assoc-list): Use cadr, nth.
9296         (chinese-months): Remove un-needed let.
9298         * calendar/cal-coptic.el (coptic-calendar-month-name-array)
9299         (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
9300         (coptic-prompt-for-date): Move definition before use.
9302         * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
9303         (calendar-dst-find-data, calendar-daylight-time-offset)
9304         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
9305         (calendar-daylight-savings-starts-time)
9306         (calendar-daylight-savings-ends-time): Use cadr, nth.
9308         * calendar/cal-french.el (french-calendar-epoch)
9309         (calendar-goto-french-date): Doc fix.
9310         (french-calendar-month-name-array)
9311         (french-calendar-multibyte-month-name-array)
9312         (french-calendar-day-name-array, french-calendar-special-days-array):
9313         Add doc strings.
9315         * calendar/cal-hebrew.el (displayed-month, displayed-year)
9316         (original-date): Move declarations where needed.
9317         (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
9318         Doc fix.
9319         (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
9320         constant variables outside the loop.  Use dolist.
9322         * calendar/cal-islam.el (displayed-month, displayed-year)
9323         (original-date): Move declarations where needed.
9324         (islamic-calendar-day-number): Remove unused local variable `day'.
9325         (calendar-goto-islamic-date): Doc fix.
9326         (holiday-islamic): Use unless.
9327         (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
9328         constant variables outside the loop.  Use dolist.
9329         (mark-islamic-calendar-date-pattern): Move definition before use.
9330         Use unless.
9331         (mark-islamic-diary-entries): Doc fix.
9332         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
9333         (insert-yearly-islamic-diary-entry): Use let rather than let*.
9335         * calendar/cal-julian.el (calendar-absolute-from-julian):
9336         Move definition before use.  Remove un-needed local `day'.
9337         (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
9339         * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
9340         (calendar-mayan-tzolkin-names-array): Add doc strings.
9341         (calendar-mayan-long-count-from-absolute): Use a single let.
9342         (calendar-string-to-mayan-long-count): Simplify.
9343         (calendar-next-haab-date, calendar-previous-haab-date)
9344         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
9345         (calendar-previous-calendar-round-date)
9346         (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
9347         Doc fix.
9348         (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
9349         (calendar-mayan-date-string, calendar-print-mayan-date)
9350         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
9351         (calendar-mayan-long-count-common-era): Move definitions before use.
9353         * calendar/cal-menu.el (displayed-year): Move declaration where needed.
9354         (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
9355         Doc fix.
9356         (calendar-mouse-goto-date): Move definition before use.
9358         * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
9359         Move definition before use.
9360         (calendar-cursor-to-visible-date): Move definition before use.
9361         (calendar-scroll-left): Use unless and zerop.  Combine lets into one,
9362         and place inside the conditional.
9363         (calendar-forward-day): Simplify.
9364         (calendar-end-of-month): Use unless.
9365         (calendar-goto-day-of-year): Doc fix.
9366         Relocate obsolete aliases after their replacements.
9368         * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
9370         * calendar/diary-lib.el (mark-diary-entries): Move some constant
9371         variables outside the diary-date-forms loop.
9373         * calendar/calendar.el (diary-file): Doc fix.
9374         (calendar-buffer-list): Return buffers rather than strings (fixes
9375         previous change).
9376         (hebrew-holidays-4): Fix typo.
9378         * calendar/holidays.el (displayed-month, displayed-year):
9379         Move declarations where needed.
9380         (calendar-holiday-list, calendar-list-holidays)
9381         (holiday-filter-visible-calendar): Move definitions before use.
9382         (list-holidays): Use cadr.
9383         Relocate obsolete aliases after their replacements.
9385         * calendar/lunar.el (date, displayed-month, displayed-year):
9386         Move declarations where needed.
9387         (lunar-phase-list): Move definition after functions it uses.
9388         (calendar-phases-of-moon, diary-phases-of-moon)
9389         (lunar-new-moon-on-or-after): Use cadr, nth.
9390         (lunar-new-moon-on-or-after): Doc fix.
9392         * textmodes/org-irc.el (top-level): CL not required when compiling.
9393         (org-irc-visit-erc): Replace runtime CL functions.
9395         * textmodes/org-publish.el (declare-function): Add compatibility stub.
9396         (org-publish-delete-dups): Declare as function.
9398 2008-03-14  Dan Nicolaescu  <dann@ics.uci.edu>
9400         * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
9401         (vc-bzr-show-log-entry): Make regexp match more cases.
9402         (vc-diff-switches-list): Remove autoload, not needed.
9404 2008-03-14  Juri Linkov  <juri@jurta.org>
9406         * isearch.el (isearch-edit-string): Remove one call to
9407         `isearch-push-state' not to push an inconsistent state,
9408         but keep another correct call to `isearch-push-state'.
9409         (isearch-ring-adjust): Call `isearch-push-state' only when
9410         `search-ring-update' is non-nil since `isearch-edit-string'
9411         already pushes its state.
9412         (isearch-message): Improve matching the failed part by checking
9413         if the original message starts with the last successful message.
9415         * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
9416         (dired-perm-write): Rename from `dired-warn-writable'.
9417         Change parent face from `font-lock-warning-face' to
9418         `font-lock-comment-delimiter-face'.
9419         (dired-warn-writable-face): Rename to `dired-perm-write-face'.
9420         (dired-perm-write-face): Rename from `dired-warn-writable-face'.
9421         (dired-font-lock-keywords): Replace `dired-warn-writable-face'
9422         with `dired-perm-write-face'.
9424 2008-03-13  Tassilo Horn  <tassilo@member.fsf.org>
9426         * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
9427         Create cache dir only if it doesn't already exist.
9429 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9431         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
9432         of \ and '.
9434 2008-03-13  Johan Bockgård  <bojohan@gnu.org>
9436         * net/browse-url.el (browse-url-text-xterm):
9437         Unquote browse-url-text-browser.
9439 2008-03-13  Carsten Dominik  <dominik@science.uva.nl>
9441         * textmodes/org-mouse.el: Version number change.
9443         * textmodes/org-publish.el (org-publish-expand-components):
9444         Remove null projects from the list of components.
9445         (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
9446         Remove unused retrieval of the :publishing-directory property.
9447         (org-publish-file): Bugfix: when using a relative directory as the
9448         publishing directory, convert it to a directory filename.
9449         (org-publish-project): New alias.
9450         (org-publish-get-files): Protect against empty p.
9451         (org-publish-file): Send an error when file is not part of any project.
9452         (org-publish-file): Offer to refresh the list of files in known
9453         project when the current file is not part of any project.
9454         (org-publish-before-export-hook)
9455         (org-publish-after-export-hook): New hooks.
9456         (org-publish-org-to): Use new hooks and kill buffers.
9457         (org-publish-file): Remove the code for killing buffers.
9458         (org-publish-initialize-files-alist): Use interactive.
9459         (org-publish-file): If the publishing function creates a new
9460         buffer, kill it after publishing.
9461         (org-publish-timestamp-filename): Protect ":" in file name path
9462         under windows.
9464         * textmodes/org-export-latex.el (org-export-as-latex): Revert the
9465         change that killed the LaTeX buffer.
9467         * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
9468         in the decision tree.
9469         (org-select-remember-template): Clean the code.
9470         (org-prepare-dblock): Add the extra :content parameter.
9471         (org-write-agenda): New output type ".ics" files.
9472         (org-write-agenda): Call `org-icalendar-verify-function', both for
9473         time stamps and for TODO entries.
9474         (org-agenda-collect-markers, org-create-marker-find-array)
9475         (org-check-agenda-marker-table): New functions.
9476         (org-agenda-marker-table): New variable.
9477         (org-export-as-html): Revert the change that killed the html
9478         buffer.  Side effects first need to be studied carefully.
9479         (org-get-tags-at): Fix the structure of the condition-case statement.
9480         (org-ts-regexp0, org-repeat-re, org-display-custom-time)
9481         (org-timestamp-change): Fix regulear expressions to swallow the
9482         extra character for repeat-shift control.
9483         (org-auto-repeat-maybe): Implement the new repeater mechanisms.
9484         (org-get-legal-level): Alias to `org-get-valid-level'.
9485         (org-dblock-write:clocktable): Add a :link parameter, linking
9486         headlines to their location in the Org agenda files.
9487         (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
9488         throwing an error when getting tags before headlines.
9489         (org-timestamp-change, org-modify-ts-extra)
9490         (org-ts-regexp1): Fix timestamp editing.
9491         (org-agenda-custom-commands-local-options): New constant.
9492         (org-agenda-custom-commands):
9493         Use `org-agenda-custom-commands-local-options' to improve customize
9494         type.  "htmlize": Removed hack to fix face problem with htmlize,
9495         it no longer seem necessary.
9496         (org-follow-link-hook): New hook.
9497         (org-agenda-custom-commands): Add "Component" as a tag for each
9498         item in a command serie.
9499         (org-open-at-point): Run `org-follow-link-hook'.
9500         (org-agenda-schedule): Bugfix: don't display marker type when it
9501         is nil.
9502         (org-store-link): org-irc required.
9503         (org-set-regexps-and-options): Parse the new logging options.
9504         (org-extract-log-state-settings): New function.
9505         (org-todo): Handle the new ways of recording state change stuff.
9506         (org-local-logging): New function.
9507         (org-columns-open-link): Fix bug with opening link in column view.
9508         (org-local-logging): New function.
9509         (org-todo): Make sure that LOGGING properties are honoured.
9510         (org-todo-keywords): Improve docstring.
9511         (org-startup-options): Cleanup startup options.
9512         (org-set-regexps-and-options): Process the "!" markers.
9513         (org-todo): Respect the new logging stuff.
9514         (org-log-note-how): New variable.
9515         (org-add-log-maybe): New parameter HOW that defines how logging
9516         should be done and also overrides PURPOSE.  Add a docstring.
9517         (org-add-log-note): Check if we really need to ask for a note.
9518         (org-get-current-options): Digest the new keyword.
9519         (org-agenda-reset-markers): Rename from
9520         `org-agenda-maybe-reset-markers'.  Remove FORCE argument.
9521         (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
9522         function, without force argument.
9523         (org-buffer-property-keys): Bind local variables s and p.
9524         (org-make-tags-matcher): Allow "" to match an empty or
9525         non-existent property value.
9526         (org-export-as-html): Join unsorted lists when they directly
9527         follow each other.  Such lists may be created by headlines that
9528         are converted to lists.
9529         (org-nofm-to-completion): New function.
9530         (org-export-as-html): Use :html-extension instead of
9531         org-export-html-extension.
9532         (org-store-link): Support for links from `rmail-summary-mode'.
9533         (org-columns-new, org-complete, org-set-property): Set the
9534         `include-columns' argument in the call to
9535         `org-buffer-property-keys'.
9536         (org-buffer-property-keys): New argument `include-columns', to
9537         include properties expected by any of the COLUMS formats in the
9538         current buffer.
9539         (org-cleaned-string-for-export): Get rid of drawers first, so that
9540         they will be removed also in the text before the first headline.
9541         (org-clock-report): Show the clocktable when found.
9542         (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
9543         (org-version): With prefix argument, insert `org-version' at point.
9544         (org-agenda-goto): Recenter the window after finding the target
9545         location, to make sure the correct position will be displayed.
9546         (org-agenda-get-deadlines): Don't scale priority with the warning
9547         period.
9548         (org-insert-heading): Don't break line in the middle of the line.
9549         (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
9550         be 0.
9551         (org-update-checkbox-count): Revamp to deal with hierarchical
9552         beckboxes.  This was a patch from Miguel A. Figueroa-Villanueva.
9553         (org-remove-timestamp-with-keyword): New function.
9554         (org-schedule, org-deadline):
9555         Use `org-remove-timestamp-with-keyword' to make sure all such time
9556         stamps are removed.
9557         (org-mode): Support for `align'.
9558         (org-agenda-get-deadlines): Make sure priorities increase as the
9559         due date approaches and is passed.
9560         (org-remember-apply-template): Fix problem with tags that
9561         contain "_" or "@".
9562         (org-make-link-regexps): Improve the regular expression for plain links.
9563         (org-agenda-get-closed): List each clocking entry.
9564         (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
9565         (org-special-ctrl-k): New option.
9566         (org-kill-line): New function.
9567         (org-archive-all-done): Fix incorrect number of stars in regexp.
9568         (org-refile-get-location): New function.
9569         (org-refile-goto-last-stored): New function.
9570         (org-global-tags-completion-table): Add the value of org-tag-alist
9571         in each buffer, to make sure that also unused tags will be
9572         available for completion.
9573         (org-columns-edit-value)
9574         (org-columns-next-allowed-value): Only update if not in agenda.
9575         (org-clocktable-steps): New function.
9576         (org-dblock-write:clocktable): Call `org-clocktable-steps'.
9577         (org-archive-subtree): Add the outline tree context as a property.
9578         (org-closest-date): New optional argument `prefer'.
9579         (org-goto-auto-isearch): New option.
9580         (org-goto-map, org-get-location): Implement auto-isearch.
9581         (org-goto-local-auto-isearch-map): New variable.
9582         (org-goto-local-search-forward-headings)
9583         (org-goto-local-auto-isearch): New functions.
9585 2008-03-13  Philip Jackson  <emacs@shellarchive.co.uk>
9587         * textmodes/org-irc.el: New file.
9589 2008-03-13  John Wiegley  <johnw@gnu.org>
9591         * textmodes/org-mac-message.el: New file.
9593 2008-03-13  Dan Nicolaescu  <dann@ics.uci.edu>
9595         * font-lock.el (font-lock-comment-face): Set the foreground for
9596         the light background 8 colors case.
9598 2008-03-13  Glenn Morris  <rgm@gnu.org>
9600         * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
9601         generate-autoload-cookie patterns.
9603         * startup.el (command-line-1): Rename -scriptload to -internal-script.
9605         * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
9606         (MH_E_SRC): Remove variable.
9607         ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
9608         Simplify file header.  Use $@ for generated-autoload-file.
9610         * Makefile.in (LOADDEFS): New variable.
9611         (AUTOGENEL): Use $LOADDEFS.
9612         (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
9613         ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
9614         ($(lisp)/calendar/hol-loaddefs.el): New targets.
9615         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
9616         * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
9617         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
9618         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
9619         * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
9620         * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
9621         Add calendar-specific autoload cookies, and remove any setting of
9622         generated-autoload-file.
9623         * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
9624         * calendar/diary-lib.el: Replace explicit autoloads with reading of
9625         diary-loaddefs.
9626         * calendar/holidays.el: Replace explicit autoloads with reading of
9627         hol-loaddefs.
9629         * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
9630         (calendar-buffer-list): Simplify.
9631         (generate-calendar-window): Use calendar-mark-holidays rather than
9632         obsolete alias.
9634         * calendar/cal-hebrew.el (list-yahrzeit-dates):
9635         Use cal-hebrew-yahrzeit-buffer.
9637         * calendar/cal-x.el (calendar-only-one-frame-setup)
9638         (calendar-two-frame-setup): Doc fixes.
9639         (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
9641         * calendar/appt.el (appt-mode-string): Mark as risky.
9642         (appt-check): Apply mode-line-emphasis face to appt-mode-string.
9644         * calendar/cal-html.el (diary-list-entries):
9645         * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
9646         (calendar-iso-from-absolute): Fix autoloads.
9648         * calendar/cal-iso.el (calendar-absolute-from-iso)
9649         (calendar-iso-read-args): Simplify.
9650         (calendar-iso-date-string, calendar-iso-read-args)
9651         (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
9653         * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
9654         (displayed-month, displayed-year): Move declarations where needed.
9655         (calendar-print-astro-day-number): Doc fix.
9657         * calendar/cal-persia.el (persian-calendar-month-name-array)
9658         (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
9659         (persian-prompt-for-date): Remove local variable `today'.
9661         * calendar/diary-lib.el (mark-calendar-month): Use zerop.
9663         * calendar/solar.el (solar-moment, solar-exact-local-noon)
9664         (solar-sunrise-sunset, solar-sunrise-sunset-string)
9665         (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
9666         (diary-sabbath-candles, solar-equinoxes/solstices)
9667         (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
9668         (solar-time-equation, solar-date-to-et): Simplify.
9670         * mail/supercite.el: Remove the `function' in `(function (lambda'.
9671         Replace `(car (cdr' with cadr'.
9673         * progmodes/f90.el (f90-font-lock-n): New function.
9674         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
9675         Use f90-font-lock-n.
9676         (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
9678         * progmodes/f90.el (f90-mode-abbrev-table):
9679         * progmodes/fortran.el (fortran-mode-abbrev-table):
9680         Use newer form of define-abbrev, where supported.  No need to bind
9681         abbrevs-changed for system abbrevs.
9683 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9685         * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
9686         delete-frame-functions.
9688         * bookmark.el (Info-current-node): Remove.
9690 2008-03-12  Juri Linkov  <juri@jurta.org>
9692         * help.el (describe-project): Remove defaliases for view-todo and
9693         describe-project that are now unnecessary after the merge from
9694         emacs--rel--22 that added define-obsolete-function-alias.
9696         * startup.el (inhibit-startup-screen): Revert incomplete
9697         2008-03-10 merge from emacs--rel--22 that partly reverted
9698         2008-02-28 change that added initial message to *scratch* buffer
9699         regardless of the value of `inhibit-startup-screen'.
9700         Now keep this change in the trunk, but not in the 22 branch.
9702 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9704         * international/quail.el (quail-setup-completion-buf, quail-help):
9705         * mail/binhex.el (binhex-decode-region-internal):
9706         * mail/uudecode.el (uudecode-decode-region-internal):
9707         * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
9708         * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
9709         setting default-enable-multibyte-characters.
9711         * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
9713         * comint.el: Fix up indentation and comment style.  Remove `function'.
9715         * international/mule-cmds.el (reset-language-environment)
9716         (set-language-environment-nonascii-translation):
9717         Don't set-unibyte-charset.
9719         * doc-view.el: Remove all cb-args, use closures instead.
9720         (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
9721         doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
9722         doing an incorrect check).  Update all callers to use the new name.
9723         (doc-view-doc->txt): Add missing `txt' argument.
9725 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
9727         * doc-view.el (doc-view-current-cache-dir): Set buffer used for
9728         md5 sum calculation to single-byte.
9730 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9732         * doc-view.el (doc-view-new-window-function): Add assertion.
9733         (doc-view-doc-type): New var.
9734         (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
9735         (doc-view-intersection): New fun.
9736         (doc-view-mode): Use it to set the new var.
9738 2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
9740         * doc-view.el (doc-view-doc->txt, doc-view-open-text)
9741         (doc-view-already-converted-p): New functions.
9742         (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
9743         (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
9744         (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
9745         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
9746         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
9747         (doc-view-convert-current-doc): Don't hardwire the functions the
9748         sentinels call.  Now they're provided by two args CALLBACK and
9749         CB-ARGS to the functions.
9750         (doc-view-search): Use doc-view-doc->txt.
9751         (doc-view-initiate-display): Use doc-view-already-converted-p.
9752         Mention new binding C-c C-t if doc-view-mode doesn't work.
9754 2008-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9756         * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
9758 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9760         * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
9761         Mark " outside of tags as punctuation.
9763 2008-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9765         * menu-bar.el (minibuffer-local-map): Use the same command for the
9766         "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
9767         Prefer RET over C-j for exit-minibuffer.
9769         * files.el (display-buffer-other-frame): Eliminate problematic code.
9771         * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
9772         (menu-bar-select-buffer): Remove.
9773         (menu-bar-select-frame): Make non-interactive and take a frame arg.
9774         (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
9776 2008-03-11  Juanma Barranquero  <lekktu@gmail.com>
9778         * icomplete.el (icomplete-completions): Remove obsolete code.
9780         * net/net-utils.el (iwconfig-program-options): Doc fix.
9781         (net-utils-run-program, run-network-program): Define as functions.
9783 2008-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
9785         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
9787 2008-03-11  Glenn Morris  <rgm@gnu.org>
9789         * faces.el (mode-line-emphasis): New face.
9790         * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
9792         * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
9794 2008-03-11  Chong Yidong  <cyd@stupidchicken.com>
9796         * simple.el (set-mark-command): Doc fix.
9798 2008-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
9802         * emacs-lisp/autoload.el (autoload-find-destination):
9803         Don't force raw-text.
9805         * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
9806         * calendar/cal-loaddefs.el: Don't version control.
9808 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
9810         * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
9811         entries and add :help to the existing ones.
9813 2008-03-10  Glenn Morris  <rgm@gnu.org>
9815         * calendar/cal-hebrew.el (date, entry, number): Move declarations
9816         to where they are needed.
9818         * calendar/calendar.el (diary-file, hebrew-holidays-1)
9819         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
9820         (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
9821         (calendar-version): Doc fixes.
9822         (calendar-absolute-from-gregorian): Use zerop.
9823         (calendar-mode-line-format): Make it a defcustom.
9825         * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
9826         (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
9827         (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
9828         (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
9829         (mark-included-diary-files, mark-calendar-days-named)
9830         (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
9831         (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
9832         (insert-monthly-diary-entry, insert-yearly-diary-entry)
9833         (insert-anniversary-diary-entry, insert-block-diary-entry)
9834         (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
9835         (diary-font-lock-sexps): Doc fixes.
9836         (diary-remind-message, mark-calendar-month): Use zerop.
9837         (diary-attrtype-convert, diary-pull-attrs): Simplify.
9838         (diary-list-entries): Revert let to let* (previous change).
9840         * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
9842 2008-03-10  Kim F. Storm  <storm@cua.dk>
9844         * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
9845         function aliases for the old names.
9847 2008-03-10  Juanma Barranquero  <lekktu@gmail.com>
9849         * iswitchb.el (iswitchb-use-faces): Doc fix.
9850         (iswitchb-buffer-ignore, iswitchb-read-buffer):
9851         Fix typos in docstrings.
9853 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
9855         * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
9856         Fix typo.
9857         (verilog-type-font-keywords): Reindent.
9859 2008-03-10  Michael McNamara  <mac@mail.brushroad.com>
9861         * progmodes/verilog-mode.el (verilog-font-grouping-keywords):
9862         Fix bug in the grouping-keyword regular expression.
9863         (verilog-font-lock-keywords): Allow users to toggle special
9864         highlight of grouping-keywords.
9865         (verilog-highlight-grouping-keywords): The toggle for special
9866         highlighting of grouping keywords.
9868 2008-03-10  Juri Linkov  <juri@jurta.org>
9870         * startup.el: Revert 2008-02-28 change that adds initial message
9871         to *scratch* buffer regardless of the value of
9872         `inhibit-startup-screen'.
9874 2008-03-10  Dan Nicolaescu  <dann@ics.uci.edu>
9876         * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
9877         * textmodes/bibtex-style.el (bibtex-style-indent-basic):
9878         * progmodes/verilog-mode.el (verilog-mode):
9879         * net/socks.el (socks):
9880         * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
9882 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
9885         (doc-view-bookmark-make-record): Use them.
9886         (doc-view-bookmark-jump): Use them.  Fix find-file ->find-file-noselect.
9887         (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
9889         * bookmark.el (bookmark-make-record-function): Change expected return
9890         value to include a suggested bookmark name.
9891         (bookmark-make): Split into bookmark-make-record and bookmark-store.
9892         Fix reversed `overwrite' semantics.
9893         (bookmark-set): Call bookmark-make-record before prompting the user.
9894         Then pass the result to bookmark-store later on.
9895         (bookmark-make-name-function): Remove.
9896         (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
9897         * info.el (bookmark-make-name-function): Remove.
9898         (Info-mode): Don't set it.
9899         (Info-bookmark-make-name): Remove.
9900         (Info-bookmark-make-record): Use Info-current-node as suggested default
9901         bookmark name.
9903         * bookmark.el (bookmark-set): Make bookmark before reading annotations.
9904         I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
9905         (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
9906         (bookmark-annotation-buffer, bookmark-annotation-file)
9907         (bookmark-annotation-point, bookmark-send-annotation)
9908         (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
9909         (bookmark-edit-annotation-text-func): Rename from
9910         bookmark-read-annotation-text-func.  Keep old name as an obsolete alias.
9911         (bookmark-edit-annotation-mode-map): Move initialization into
9912         declaration.
9914         * bookmark.el: Remove spurious * in docstrings.
9915         (bookmark-minibuffer-read-name-map): New var.
9916         (bookmark-set): Use it.  Also pass the default value as it should.
9917         (bookmark-send-edited-annotation): Take no chances with text properties.
9918         (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
9919         (bookmark-insert-buffer-name): Remove.
9920         (bookmark-buffer-file-name): Signal an error rather than returning nil.
9922 2008-03-09  Thomas Hühn  <xf27@arcor.de>  (tiny change)
9924         * tutorial.el (tutorial--default-keys): Update `C-l' binding.
9926 2008-03-09  Dan Nicolaescu  <dann@ics.uci.edu>
9928         * diff-mode.el (diff-mode-menu): Add :help.
9930 2008-03-09  Glenn Morris  <rgm@gnu.org>
9932         * calendar/calendar.el (general-holidays, oriental-holidays)
9933         (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
9934         (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
9935         (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
9936         (calendar-holidays): Restore autoload cookies, because people are
9937         used to using these variables without loading calendar.el.
9939         * calendar/cal-islam.el (diary-islamic-date): Move to end.
9940         (date, number): Declare where needed.
9942         * calendar/diary-lib.el (nongregorian-diary-marking-hook)
9943         (list-sexp-diary-entries): Doc fixes.
9944         (diary-list-entries): Doc fix.  Remove free variable `entry'.
9945         (fancy-diary-display): Use dolist, bobp.  Remove free variable `entry'.
9946         Simplify setting of `date-holiday-list'.
9947         (mark-diary-entries): Remove free variable `entry'.
9948         (diary-list-entries, include-other-diary-files, fancy-diary-display):
9949         Use let where let* is not needed.
9951 2008-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9953         * bookmark.el (bookmark-make): Don't pass the `annotation' to the
9954         make-record function, instead paste it in afterwards.
9955         (bookmark-make-record-for-text-file):
9956         * doc-view.el (doc-view-bookmark-make-record):
9957         * info.el (Info-bookmark-make-record): Don't mess with annotations.
9959 2008-03-08  Glenn Morris  <rgm@gnu.org>
9961         * calendar/diary-lib.el (entry): Declare for compiler part-way through.
9963 2008-03-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9965         * calendar/diary-lib.el (diary-list-entries)
9966         (include-other-diary-files, mark-diary-entries)
9967         (mark-sexp-diary-entries, mark-included-diary-files)
9968         (diary-entry-time, list-sexp-diary-entries): Remove the special
9969         handling of ^M that dates back to the use of selective-display.
9970         (simple-diary-display): Obey setting of pop-up-frames.
9971         (body, entry): Remove unnecessary declarations.
9973         * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
9974         (bookmark-get-annotation, bookmark-set-annotation)
9975         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
9976         (bookmark-set-position, bookmark-get-front-context-string)
9977         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
9978         (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
9979         * info.el (Info-bookmark-make-record): Don't bother recording point.
9980         (bookmark-get-filename, bookmark-get-front-context-string)
9981         (bookmark-get-rear-context-string, bookmark-get-position):
9982         Don't declare any more.
9983         (bookmark-get-info-node): Remove.
9984         (bookmark-prop-get): Declare.
9985         (Info-bookmark-jump): Use it.
9987 2008-03-08  Johan Bockgård  <bojohan@gnu.org>
9989         * subr.el (while-no-input): Don't splice BODY directly into the
9990         `or' form.
9992 2008-03-08  Dan Nicolaescu  <dann@ics.uci.edu>
9994         * diff-mode.el (diff-ignore-whitespace-hunk):
9995         Bind inhibit-read-only before trying to change the buffer.
9997 2008-03-08  Glenn Morris  <rgm@gnu.org>
9999         * calendar/appt.el (appt): Move custom group here from calendar.el.
10000         (appt-disp-window, appt-convert-time): Doc fixes.
10002         * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
10003         (calendar-bahai-mark-date-pattern):
10004         * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
10005         * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
10006         * calendar/cal-julian.el (calendar-absolute-from-julian):
10007         * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
10009         * calendar/cal-china.el (chinese-calendar): Move custom group here from
10010         calendar.el.
10011         (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
10012         Make constants.
10013         (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
10014         (chinese-calendar-daylight-savings-starts)
10015         (chinese-calendar-daylight-savings-ends)
10016         (chinese-calendar-daylight-savings-starts-time)
10017         (chinese-calendar-daylight-savings-ends-time)
10018         (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
10019         Doc fixes.
10021         * calendar/cal-coptic.el (coptic-name): Add doc string.
10023         * calendar/cal-french.el (french-calendar-month-name-array)
10024         (french-calendar-day-name-array, french-calendar-special-days-array):
10025         Add doc strings.
10027         * calendar/cal-bahai.el (diary-bahai-mark-entries)
10028         (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
10029         (diary-bahai-insert-yearly-entry):
10030         * calendar/cal-dst.el (calendar-next-time-zone-transition)
10031         (calendar-time-zone):
10032         * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
10033         (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
10034         (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
10035         (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
10036         (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
10037         * calendar/cal-islam.el (islamic-calendar-leap-year-p)
10038         (list-islamic-diary-entries, mark-islamic-diary-entries)
10039         (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
10040         (insert-yearly-islamic-diary-entry):
10041         * calendar/cal-iso.el (calendar-iso-read-args):
10042         * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
10043         (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
10044         (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
10045         (calendar-next-calendar-round-date)
10046         (calendar-mayan-long-count-common-era):
10047         * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
10048         (cal-menu-x-popup-menu, calendar-mouse-holidays)
10049         (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
10050         (calendar-mouse-goto-date):
10051         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
10052         * calendar/holidays.el (holidays):
10053         * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
10054         * calendar/time-date.el (date-to-time, time-subtract, time-add)
10055         (safe-date-to-time): Doc fixes.
10057         * calendar/cal-persia.el (persian-calendar-month-name-array)
10058         (persian-calendar-epoch): Make constants.
10060         * calendar/cal-tex.el (calendar-tex): Move custom group here from
10061         calendar.el.
10063         * calendar/cal-x.el (diary-frame-parameters)
10064         (calendar-frame-parameters, calendar-and-diary-frame-parameters)
10065         (calendar-after-frame-setup-hooks): Make defcustoms.
10066         (calendar-one-frame-setup, calendar-only-one-frame-setup)
10067         (calendar-two-frame-setup): Doc fix.
10069         * calendar/cal-loaddefs.el: New file.
10071         * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
10072         * calendar/cal-french.el, calendar/cal-html.el:
10073         * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
10074         * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
10075         * calendar/cal-tex.el, calendar/cal-x.el:
10076         Unquote lambda functions.  Add autoload cookies to functions formerly
10077         autoloaded in calendar.el.  Set `generated-autoload-file' to
10078         "cal-loaddefs.el".
10080         * calendar/calendar.el: Move many autoloads to separate file,
10081         cal-loaddefs.el.  Move defcustoms to start and re-order.
10082         (calendar-month-name-array, calendar-starred-day): No need to
10083         declare for compiler.
10084         (cal-loaddefs): Require it.
10085         (appt, chinese-calendar, calendar-tex): Move custom groups to the
10086         appropriate file.
10087         (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
10088         Reverse logic.
10089         (diary-face, diary-file-name-prefix-function, diary-include-string)
10090         (diary-glob-file-regexp-prefix, diary-face-attrs)
10091         (diary-file-name-prefix, sexp-diary-entry-symbol)
10092         (print-diary-entries-hook, list-diary-entries-hook)
10093         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
10094         (nongregorian-diary-marking-hook, diary-list-include-blanks):
10095         Move to diary-lib.
10096         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
10097         (all-bahai-calendar-holidays): Doc fix.
10098         (calendar-insert-indented): Doc fix.  Use when rather than if.
10099         (exit-calendar): Use mapc rather than mapcar.
10100         (calendar-cursor-to-date): Use zerop.
10101         (calendar-mark-ring): Add doc-string.
10102         (calendar-starred-day): Defvar it.
10103         (calendar-mode): Make calendar-starred-day local.
10104         (calendar-star-date): No need to make calendar-starred-day local.
10106         * calendar/diary-lib.el: Move defcustoms to start.
10107         (diary-include-string, diary-list-include-blanks)
10108         (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
10109         (diary-file-name-prefix, diary-file-name-prefix-function)
10110         (sexp-diary-entry-symbol, list-diary-entries-hook)
10111         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
10112         (nongregorian-diary-marking-hook, print-diary-entries-hook):
10113         Move here from calendar.el.
10114         (diary-file-name-prefix-function): Use 'identity.
10115         (diary-face): Make it a defcustom, and mark as obsolete.
10116         (top-level): No need to require cal-hebrew, cal-islam when compiling.
10117         (calendar-hebrew-month-name-array-leap-year)
10118         (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
10119         Define for compiler.
10120         (diary-font-lock-keywords): Use format rather than concat.
10121         Add bahai-diary-entry-symbol.
10123         * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
10124         * calendar/solar.el: Unquote lambda functions.
10126         * calendar/solar.el (calendar-location-name, calendar-latitude)
10127         (calendar-longitude, solar-setup, solar-sin-degrees)
10128         (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
10129         (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
10130         (solar-sunrise-and-sunset, solar-moment, solar-daylight)
10131         (solar-exact-local-noon, solar-julian-ut-centuries)
10132         (solar-ephemeris-time, solar-date-next-longitude)
10133         (solar-horizontal-coordinates, solar-equatorial-coordinates)
10134         (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
10135         (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
10136         (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
10137         Doc fixes.
10138         (solar-horizontal-coordinates, solar-equatorial-coordinates)
10139         (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
10140         (solar-ecliptic-coordinates): Use unless.
10141         (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
10142         Use or.
10144         * calendar/timeclock.el: Add doc-strings to all functions.
10145         (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
10146         (timeclock-entry-list-length, timeclock-entry-list-projects)
10147         (timeclock-day-list-projects, timeclock-day-list): Use dolist.
10149         * calendar/todo-mode.el: Remove un-needed eval-when-compile.
10151         * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
10152         (org-get-entries-from-diary): Require diary-lib.
10154 2008-03-08  Juanma Barranquero  <lekktu@gmail.com>
10156         * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
10157         Pacify byte-compiler.
10159 2008-03-07  Alan Mackenzie  <acm@muc.de>
10161         * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
10162         paren/bracket pairs parsed, to solve performance problem.
10164 2008-03-07  Bastien Guerry  <bzg@altern.org>
10166         * bookmark.el (bookmark-set): Don't check for
10167         `bookmark-make-name-function' since `bookmark-buffer-file-name'
10168         already takes care of this.
10169         (bookmark-buffer-name, bookmark-buffer-file-name):
10170         Remove Info-mode specific code.
10172         * info.el (bookmark-get-info-node): Define this function in
10173         info.el, not in bookmark.el.
10174         (Info-mode): Set `bookmark-make-name-function' to
10175         `Info-bookmark-make-name' locally.
10176         (Info-bookmark-make-name): New function.
10178         * bookmark.el (bookmark-make-name-function): New variable.
10180 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
10182         * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
10183         buffer-local, not `bookmark-make-cell-function' (the old name).
10185 2008-03-07  Tassilo Horn  <tassilo@member.fsf.org>
10187         * doc-view.el (doc-view-bookmark-make-record):
10188         * image-mode.el (image-bookmark-make-record):
10189         * info.el (Info-bookmark-make-record): Delete obsolete second arg.
10191 2008-03-07  Jan Djärv  <jan.h.d@swipnet.se>
10193         * vc.el (vc-status-menu-map-filter): Return orig-binding if
10194         boundp 'vc-ignore-menu-filter.
10195         (vc-status-tool-bar-map): Make it defvar.
10196         (vc-status-mode): vc-status-tool-bar-map now variable.
10197         (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
10199 2008-03-07  Karl Fogel  <kfogel@red-bean.com>
10201         Give a better name to part of the bookmark interface.
10203         This was originally a much larger change, but halfway through I
10204         updated and discovered that Stefan Monnier had done the rest.
10205         It looks like he anticipated the new name too, because he used
10206         `the-record' instead of `the-cell' for some internal variable names.
10208         * bookmark.el (bookmark-make-record-function): Was
10209         `bookmark-make-cell-function'.
10210         (bookmark-make, bookmark-send-annotation): Update for above.
10211         (bookmark-make-record-for-text-file):
10212         Was `bookmark-make-cell-for-text-file'.  Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
10214         * info.el: Adjust accordingly.
10215         (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
10217         * image-mode.el: Adjust accordingly.
10218         (image-bookmark-make-record): Was `image-bookmark-make-cell'.
10220         * doc-view.el: Adjust accordingly.
10221         (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
10223 2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10225         * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
10226         Move initialization into declaration.
10227         (bookmark-get-info-node, bookmark-set-info-node): Remove.
10228         (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
10229         (bookmark-info-current-node): Remove.
10230         (bookmark-jump-noselect): Rename from bookmark-jump-internal.
10231         Add relocation fallback.  Set bookmark-current-bookmark.
10232         (bookmark-default-handler): Rename from bookmark-jump-noselect.
10233         Remove relocation fallback.  Don't set bookmark-current-bookmark.
10234         (bookmark-set): Let it be used even if there's no buffer-file-name
10235         as long as there is a bookmark-make-cell-function.
10236         * info.el (Info-bookmark-jump): Remove relocation fallback.
10237         Don't set bookmark-current-bookmark.
10239 2008-03-07  Glenn Morris  <rgm@gnu.org>
10241         * calendar/appt.el (appt-issue-message)
10242         (appt-message-warning-time, appt-audible, appt-visible)
10243         (appt-msg-window, appt-display-mode-line, appt-display-duration)
10244         (appt-display-diary): Remove autoload cookies.
10246         * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
10247         Remove leading `*' from defcustom doc-strings.
10249         * calendar/cal-dst.el (calendar-dst): New custom group.
10250         (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
10251         (calendar-time-zone, calendar-daylight-time-offset)
10252         (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
10253         (calendar-daylight-savings-starts-time)
10254         (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
10255         (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
10256         Move to start.
10258         * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
10260         * calendar/calendar.el (calendar-version): Use emacs-version and
10261         make it obsolete.  Move to end.
10262         (calendar-offset, view-diary-entries-initially)
10263         (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
10264         (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
10265         (all-christian-calendar-holidays, all-islamic-calendar-holidays)
10266         (all-bahai-calendar-holidays, calendar-load-hook)
10267         (initial-calendar-window-hook, today-visible-calendar-hook)
10268         (today-invisible-calendar-hook, calendar-move-hook)
10269         (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
10270         (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
10271         (diary-include-string, sexp-diary-entry-symbol)
10272         (abbreviated-calendar-year, american-date-diary-pattern)
10273         (european-date-diary-pattern, european-calendar-display-form)
10274         (american-calendar-display-form, print-diary-entries-hook)
10275         (list-diary-entries-hook, diary-hook, diary-display-hook)
10276         (nongregorian-diary-listing-hook, mark-diary-entries-hook)
10277         (nongregorian-diary-marking-hook, diary-list-include-blanks)
10278         (holidays-in-diary-buffer, general-holidays, oriental-holidays)
10279         (local-holidays, other-holidays, hebrew-holidays-1)
10280         (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
10281         (hebrew-holidays, christian-holidays, islamic-holidays)
10282         (bahai-holidays, solar-holidays, calendar-setup)
10283         (calendar-week-start-day): Remove autoload cookies.
10284         (diary-glob-file-regexp-prefix): Doc fix.
10285         (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
10286         (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
10287         (calendar-week-start-day, calendar-debug-sexp): Move to start.
10289         * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
10290         (calendar-time-display-form, calendar-latitude)
10291         (calendar-longitude, solar-equinoxes-solstices): Remove autoload
10292         cookies.
10293         (calendar-latitude, calendar-longitude): Move functions after
10294         variables.
10295         (diary-sabbath-candles-minutes): Move to start.
10296         (solar-setup): Use or rather than if.
10297         (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
10298         Remove condition-case.
10299         (solar-atn2): Use zerop.
10300         (solar-equinoxes-solstices): Doc fix.
10302         * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
10303         (sc-mode-map-prefix): Doc fix.  Make it a defcustom.
10305         * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
10306         (calendar-longitude, calendar-latitude, calendar-location-name):
10307         Declare for compiler.
10309 2008-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10311         * arc-mode.el (archive-ar-file-header-re): New const.
10312         (archive-ar-summarize, archive-ar-extract): New funs.
10313         (archive-find-type): Recognize ar archives.
10315         * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
10316         New functions.
10318         * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
10320 2008-03-06  Lennart Borgman  <lennart.borgman@gmail.com>
10322         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10323         Replace :enable (mark-active) with :enable mark-active.
10325 2008-03-06  Juanma Barranquero  <lekktu@gmail.com>
10327         * vms-patch.el (make-legal-file-name): New obsolete alias.
10328         (make-valid-file-name): Rename from `make-legal-file-name'.
10329         (make-auto-save-file-name): Use it.
10331         * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
10332         (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
10333         (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
10335         * textmodes/org.el (org-export-html-style): Doc fix.
10336         (org-get-legal-level): New obsolete alias.
10337         (org-get-valid-level): Rename from `org-get-legal-level'.
10338         (org-promote, org-demote, org-archive-subtree)
10339         (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
10341 2008-03-06  Jan Djärv  <jan.h.d@swipnet.se>
10343         * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
10345         * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
10346         (vc-status-toggle-mark): New functions.
10347         (vc-status-mode): Set tool bar map.
10349 2008-03-05  Chong Yidong  <cyd@stupidchicken.com>
10351         * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
10352         Reported by Drew Adams <drew.adams@oracle.com>.
10354 2008-03-05  Kenichi Handa  <handa@ni.aist.go.jp>
10356         * subr.el (read-quoted-char): Resolve modifers of the character
10357         event.
10359         * comint.el (comint-exec-1): Don't change the coding-system for
10360         decoding to dos-like EOL.
10361         (comint-carriage-motion): Fully rewrite.
10363 2008-03-05  Juanma Barranquero  <lekktu@gmail.com>
10365         * epg.el (epg-context-include-certs): Reflow docstring.
10366         (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
10367         (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
10368         (epg-context-set-signers, epg-context-set-sig-notations)
10369         (epg-make-import-status, epg-make-import-result)
10370         (epg-start-delete-keys): Fix typos in docstrings.
10371         (epg-start-sign-keys, epg-sign-keys):
10372         Fix typos in obsolescence declarations.
10374         * iswitchb.el: Don't check for `cadr' and `last'.
10375         (iswitchb-define-mode-map, iswitchb-default-keybindings):
10376         Add obsolescence declaration and remove redundant info from docstring.
10377         (iswitchb-set-common-completion, iswitchb-set-matches)
10378         (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
10379         (recentf-list, most-len, most-is-exact):
10380         Don't wrap defvars within `eval-when-compile'.
10382 2008-03-05  Glenn Morris  <rgm@gnu.org>
10384         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
10385         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
10386         * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
10387         * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
10388         ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
10390         * ediff-hook.el (ediff-window-setup-function): Don't autoload
10391         declaration for compiler.
10392         (ediff-xemacs-init-menus): Use when rather than if.
10394         * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
10395         if+and to just and.
10396         (ediff-read-event, ediff-overlayp, ediff-make-overlay)
10397         (ediff-delete-overlay): Move the XEmacs test inside the definition.
10399         * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
10401         * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
10402         test inside XEmacs test.
10403         (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
10404         since it was doing nothing on Emacs.
10405         (ediff-make-bullet-proof-overlay): Use when rather than if.
10407         * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
10408         (ediff-setup-control-frame): Remove
10409         ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
10410         a (featurep 'xemacs) test.
10412 2008-03-05  Jay Belanger  <jay.p.belanger@gmail.com>
10414         * calc/calc-ext.el (calc-extended-command-history): New variable.
10415         (calc-exectute-extended-command): Use `calc-extended-command-history'.
10417 2008-03-05  Dan Nicolaescu  <dann@ics.uci.edu>
10419         * bindings.el (mode-line-remote): Add mouse-face.  Improve tooltip.
10420         (standard-mode-line-position): Add mouse-face.
10422         * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
10423         * progmodes/grep.el (grep-mode-map): Add :help.
10425         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
10426         initialize in one step.  Add :help.  Use :enable to activate menu
10427         items.  Show the key binding for edebug-defun.
10428         (lisp-interaction-mode-map): Add a menu.
10430         * term.el (term-mode-map): Define and initialize in one step.
10432         * ediff-init.el (ediff-color-display-p): Simplify.
10433         (Xor): Remove unused function.
10434         (ediff-with-syntax-table): Simplify for Emacs.
10436         * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
10437         menu-bar being loaded, it always is.
10439 2008-03-05  Glenn Morris  <rgm@gnu.org>
10441         * textmodes/tex-mode.el (tex-mode): Suppress warning about
10442         multiple definitions when compiling.
10444 2008-03-04  Alan Mackenzie  <acm@muc.de>
10446         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
10448         * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
10449         doc-string, "c-old-LEN" -> "c-old-END".
10451 2008-03-04  Jason Rumney  <jasonr@gnu.org>
10453         * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
10454         namespaces.
10456 2008-03-04  Glenn Morris  <rgm@gnu.org>
10458         * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
10460         * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
10461         than mapcar.
10463 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10465         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10466         (byte-compile-nilconstp): Can't use recursion in a defsubst.
10468         * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
10469         so that M-q can fill comments.
10470         (tex-executable-exists-p, tex-compile): Extend with special syntax for
10471         commands implemented in elisp.
10472         (tex-compile-commands): Add an entry to use doc-view for pdf files.
10473         (tex-format-cmd): New function.
10474         (tex-compile): Use it to let the user specify default arguments.
10475         (tex-cmd-bibtex-args): New var.
10476         (tex-cmd-doc-view): New function.
10478 2008-03-03  Juanma Barranquero  <lekktu@gmail.com>
10480         * faces.el (face-spec-set): Fix typos in docstring.
10482 2008-03-03  Dan Nicolaescu  <dann@ics.uci.edu>
10484         * bindings.el (mode-line-column-line-number-mode-map): New variable.
10485         (standard-mode-line-position): Use it to add a menu for toggling
10486         column number and line number display.
10488 2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10490         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
10491         Remove optimization that was working around the form-code-walker bug.
10493         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10494         Walk into the body of lambdas after byte-compile-unfold-lambda.
10496 2008-03-03  Glenn Morris  <rgm@gnu.org>
10498         * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
10499         value, if set, over frame value.
10501         * simple.el (transient-mark-mode): Don't turn on by default.
10503         * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
10504         accidentally removed by the 2007-12-05 merge from Gnus.
10506 2008-03-02  Dan Nicolaescu  <dann@ics.uci.edu>
10508         * progmodes/compile.el (compilation-menu-map): Add menu entries
10509         for useful options.
10511 2008-03-01  Dan Nicolaescu  <dann@ics.uci.edu>
10512             Glenn Morris  <rgm@gnu.org>
10514         * emacs-lisp/bytecomp.el (byte-recompile-directory)
10515         (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
10516         Give a `bytecomp-' prefix to local variables with common names.
10518 2008-03-01  Glenn Morris  <rgm@gnu.org>
10520         * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
10521         code commented out 2007-11-10.
10523         * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
10525         * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
10526         Delete macro.
10527         * emulation/viper-cmd.el, emulation/viper-ex.el:
10528         * emulation/viper-init.el, emulation/viper-keym.el:
10529         * emulation/viper-mous.el, emulation/viper-util.el:
10530         * emulation/viper.el:
10531         Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
10532         featurep test.
10534         Replace obselete frame-local variables with frame-parameters.
10535         * emulation/viper-init.el (viper-replace-overlay-cursor-color)
10536         (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
10537         (viper-vi-state-cursor-color): Only call make-variable-frame-local
10538         on XEmacs.
10539         * emulation/viper-util.el (viper-frame-value): New macro.
10540         * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
10541         (viper-R-state-post-command-sentinel)
10542         (viper-replace-state-post-command-sentinel)
10543         (viper-change-state-to-insert, viper-change-state-to-emacs):
10544         * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
10545         (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
10546         (viper-get-saved-cursor-color-in-insert-mode)
10547         (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
10548         Use viper-frame-value for viper-replace-overlay-cursor-color,
10549         viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
10550         viper-vi-state-cursor-color values.
10552         * emulation/viper-cmd.el (zmacs-region-stays):
10553         * emulation/viper-util.el (zmacs-region-stays): No need to define
10554         for compiler.
10556         * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
10557         mapcar on Emacs.
10559         * emulation/viper-mous.el (viper-counting-clicks-p): Only define
10560         on XEmacs.
10562         * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
10563         rather than if.
10565 2008-03-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10567         * whitespace.el: New version 9.3.  As the glyph code generation was
10568         fixed, it is possible now to use character code above ?\x1FFFF in the
10569         display table.  Fix `whitespace-indentation-regexp' to not include an
10570         extra ending character.  Reported by Michael Welsh Duggan
10571         <mwd@cert.org>.  Added hook actions when buffer is written or killed as
10572         the original whitespace package had.  Suggested by Eric Cooper
10573         <ecc@cmu.edu>.  Doc fix.
10574         (whitespace-action): New option.
10575         (whitespace-display-mappings): Changed default newline visualization to
10576         display downwards arrow, as the glyph code generation was fixed.
10577         (whitespace-unload-function): Assure that all local whitespace mode is
10578         turned off.
10579         (whitespace-global-modes): Fix type customization.
10580         (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
10581         (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
10582         (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
10583         Fix code.
10584         (whitespace-buffer): Command removed.
10585         (whitespace-trailing-regexp, whitespace-mark-x)
10586         (whitespace-display-window, whitespace-action-when-on)
10587         (whitespace-add-local-hook, whitespace-remove-local-hook)
10588         (whitespace-write-file-hook, whitespace-kill-buffer-hook)
10589         (whitespace-action): New funs.
10590         (whitespace-report-list, whitespace-report-text)
10591         (whitespace-report-buffer-name): New consts.
10592         (whitespace-report, whitespace-report-region): New commands.
10594 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
10596         * disp-table.el (make-glyph-code): Don't test the result of
10597         `face-id', which already signals an error for invalid faces.
10598         (glyph-face): Simplify.
10600         * desktop.el (desktop-read): Set `desktop-dirname' to nil before
10601         running `desktop-not-loaded-hook' to allow modifying it.
10602         Don't show warning message if `desktop-dirname' was modified.
10604 2008-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10606         * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
10607         we still expect more lines.
10609         * textmodes/fill.el (fill-comment-paragraph): Don't try to do
10610         comment-paragraph filling if the commark doesn't match
10611         comment-start-skip.
10613 2008-03-01  Daiki Ueno  <ueno@unixuser.org>
10615         * international/utf-7.el (utf-7-encode): Never skip the trailing - for
10616         the `imap' variant.
10618 2008-03-01  Jason Rumney  <jasonr@gnu.org>
10620         * files.el (make-auto-save-file-name): Encode more characters in
10621         non-file buffer names.  Use url-encoding.
10623 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
10625         * net/net-utils.el (ftp-program): Fix typo in docstring.
10626         (ifconfig-program-options, netstat-program-options)
10627         (arp-program-options, route-program-options, nslookup-program-options)
10628         (ftp-program-options, smbclient-program-options)
10629         (dns-lookup-program-options, arp, route): Doc fixes.
10631         * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
10632         (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
10633         (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
10634         Fix typos in docstrings.
10635         (gdb-pending-triggers): Reflow docstring.
10636         (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
10638 2008-03-01  Alan Mackenzie  <acm@muc.de>
10640         * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
10641         typing "#" at EOB.
10643 2008-03-01  Juanma Barranquero  <lekktu@gmail.com>
10645         * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
10647 2008-02-29  Kim F. Storm  <storm@cua.dk>
10649         * emulation/cua-base.el (cua-remap-control-v)
10650         (cua-remap-control-z): New defcustoms.
10651         (cua-mode): Add them to set-after property.
10652         (cua--init-keymaps): Use them.
10653         Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
10655         * help.el (view-emacs-todo): Rename from view-todo.
10656         (describe-gnu-project): Rename from describe-project.  Users changed.
10657         (view-help-file): New helper function.
10658         (describe-distribution, describe-copying, describe-gnu-project)
10659         (view-todo, view-order-manuals, view-emacs-problems): Use it.
10660         (view-emacs-debugging, view-external-packages): New commands.
10661         (help-map): Move describe-distribution to C-h C-o (ordering).
10662         Move view-emacs-problems to C-h C-p (problems).
10663         Bind view-emacs-debugging to C-h C-d (debugging).
10664         Bind view-external-packages to C-h C-e (extras).
10665         (help-for-help-internal): Cleanup and align descriptions.
10666         Remove command names to reduce clutter.
10668 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
10670         * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
10671         and quieter face (not a warning).
10673 2008-02-29  Dan Nicolaescu  <dann@ics.uci.edu>
10675         * vc.el (vc-status-crt-marked): New variable.
10676         (vc-status-mode): Make it local.
10677         (vc-status-refresh): Use it to save the marked files.
10678         (vc-update-vc-status-buffer): Use it to restore the marked files.
10680         * vc-svn.el (vc-svn-after-dir-status):
10681         * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
10683 2008-02-29  Glenn Morris  <rgm@gnu.org>
10685         * allout.el (allout-topic-encryption-bullet)
10686         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
10687         (allout-encrypt-unencrypted-on-saves): Change defcustom :version
10688         from 22.0 to 22.1.
10690         * net/imap.el (imap-ping-server):
10691         * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
10692         Change defcustom :version from 23.0 to 23.1.
10694 2008-02-29  Juanma Barranquero  <lekktu@gmail.com>
10696         * desktop.el (desktop-save): Save the buffer name if the
10697         uniquified base name is empty.
10699 2008-02-29  Nick Roberts  <nickrob@snap.net.nz>
10701         * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
10702         correctly when user has "set print address off".
10704 2008-02-28  Juanma Barranquero  <lekktu@gmail.com>
10706         * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
10707         version number of the next major Emacs release, not 23.0.
10709         * longlines.el (longlines-unload-function): New function.
10711 2008-02-28  Juri Linkov  <juri@jurta.org>
10713         * startup.el (normal-splash-screen): Add argument `concise'.
10714         Remove unused binding `prev-buffer'.  Let-bind `splash-buffer'
10715         to the created buffer.  If `concise' is non-nil, call
10716         `display-buffer', otherwise `switch-to-buffer'.  Doc fix.
10717         (display-startup-screen): Add argument `concise' to the call to
10718         `normal-splash-screen'.
10720 2008-02-28  Kim F. Storm  <storm@cua.dk>
10722         * startup.el (startup-echo-area-message): Check for about-emacs.
10724 2008-02-28  Juri Linkov  <juri@jurta.org>
10726         * startup.el: Always add initial message to *scratch* buffer if
10727         `initial-scratch-message' is non-nil regardless of the value of
10728         `inhibit-startup-screen'.
10729         (inhibit-startup-screen, initial-scratch-message): Doc fix.
10730         (command-line-1): Move code that inserts `initial-scratch-message'
10731         up before the if-form that checks for `inhibit-startup-screen'.
10732         Suggested by Jonathan Rockway <jon@jrock.us>.
10734 2008-02-28  Juri Linkov  <juri@jurta.org>
10736         * cus-edit.el (custom-mode-map, custom-mode-link-map):
10737         Rename `custom-mode' to `Custom-mode' in docstrings.
10738         (custom-buffer-create-internal, customize-browse):
10739         Rename `custom-mode' to `Custom-mode'.
10740         (custom-mode-hook): Rename to `Custom-mode-hook'.
10741         (Custom-mode-hook): Renamed from `custom-mode-hook'.
10742         (custom-mode): Rename to `Custom-mode'.
10743         (Custom-mode): Renamed from `custom-mode'.  Doc fix.
10744         (custom-mode): Add backward-compatible non-interactive variant of
10745         `Custom-mode' that simply calls `Custom-mode'.  Mark it obsoleted.
10746         (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
10748         * info-look.el: Rename `custom-mode' to `Custom-mode'.
10750         * emulation/viper.el (viper-emacs-state-mode-list):
10751         Rename `custom-mode' to `Custom-mode'.
10753         * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
10754         Capitalize "Tagged Files".
10755         (minibuffer-local-map): Add menu items for next/previous
10756         history elements and isearch history forward/backward.
10758         * progmodes/hideshow.el (hs-minor-mode-menu): Compare
10759         `hs-isearch-open' with t instead of `comment' in :selected
10760         for "Code and Comment blocks" menu item.
10762 2008-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10764         * uniquify.el (uniquify-buffer-base-name): Undo last change.
10765         Should be done in desktop.el instead.
10767 2008-02-28  Glenn Morris  <rgm@gnu.org>
10769         * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
10771         * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
10773         * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
10774         (Info-menu, Info-goto-node): Remove declarations.
10775         (report-emacs-bug-info): Use info rather than Info-goto-node.
10777         * progmodes/idlwave.el (Info-goto-node): Remove declaration.
10778         (idlwave-convert-xml-system-routine-info): Don't require xml.
10779         (idlwave-show-commentary, idlwave-shell-show-commentary):
10780         Don't require finder.
10781         (idlwave-info): Don't require info.  Use info rather than
10782         Info-goto-node.
10784         * textmodes/org.el (Info-goto-node): Remove declaration.
10785         (org-info): Use info rather than Info-goto-node.
10787         * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
10788         (reftex-info): Don't require info.  Use info rather than Info-goto-node.
10790 2008-02-28  Dan Nicolaescu  <dann@ics.uci.edu>
10792         * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
10793         the menu.
10795         * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
10796         (vc-finish-logentry): Check for vc-status-mode, not only for
10797         vc-dired-mode.
10799 2008-02-28  Kenichi Handa  <handa@ni.aist.go.jp>
10801         * isearch.el (isearch-printing-char): Don't check
10802         keyboard-coding-system.
10803         Call isearch-process-search-multibyte-characters only when
10804         current-input-method is non-nil.
10806 2008-02-27  Kim F. Storm  <storm@cua.dk>
10808         * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
10809         (glyph-char, glyph-face): Handle cons encoding.
10811 2008-02-27  Juanma Barranquero  <lekktu@gmail.com>
10813         * uniquify.el (uniquify-buffer-base-name): If the base name is an
10814         empty string, return nil to allow the caller to default to the
10815         buffer name.  Reported by Martin Fischer <parozusa@web.de>.
10817         * tool-bar.el (tool-bar-setup): Doc fix.
10819         * mail/supercite.el (sc-describe):
10820         Fix typos in obsolescence declaration.
10822 2008-02-27  Glenn Morris  <rgm@gnu.org>
10824         * autoinsert.el (auto-insert-alist): Change permission text to
10825         match FSF's GPLv3 form.
10827         * mail/supercite.el (sc-cite-original): Doc fix.
10828         (sc-version): Make obsolete.
10829         (sc-describe): Show the SC info page.  Make obsolete.
10831 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10833         * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
10834         when using transient-mark-mode.
10835         (default-indicate-unused-lines): Remove unused var.
10837 2008-02-26  Jan Djärv  <jan.h.d@swipnet.se>
10839         * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
10840         and previous.
10842         * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
10844 2008-02-26  Glenn Morris  <rgm@gnu.org>
10846         * net/net-utils.el (top-level): Don't require comint when compiling.
10847         (nslookup-font-lock-keywords): Don't require font-lock.
10848         Use font-lock faces rather than variables.
10849         (nslookup, ftp, smbclient, network-service-connection):
10850         Don't require comint.
10851         (comint-prompt-regexp, comint-input-autoexpand)
10852         (comint-input-ring): Declare for compiler.
10853         (comint-mode, ffap-string-at-point, comint-exec): Autoload.
10854         (dns-lookup-host): Don't require ffap.  Remove `with-no-warnings'.
10856         * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
10857         doc-string.
10859 2008-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10861         * doc-view.el (doc-view-current-page): Add a `win' argument.
10863 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10865         * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
10866         Demote it to plain defvar.
10867         (doc-view-conversion-refresh-interval): Reduce interval.
10868         (doc-view-goto-page): Allow moving to pages not yet rendered.
10869         (doc-view-goto-page): Construct a file name rather than extracting it
10870         from doc-view-current-files.
10871         (doc-view-kill-proc): Ignore errors from kill-process.
10872         (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
10873         (doc-view-insert-image): Use appropriate text if the page hasn't been
10874         rendered yet.  Adjust scrolling so the text is displayed.
10875         (doc-view-display): Detect not just that a page is available, but also
10876         that it wasn't available before, so as to avoid refreshing all pages
10877         repeatedly.
10878         (doc-view-mode): Make doc-view-cache-directory if needed.
10880 2008-02-25  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10882         * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
10883         toggle-read-only.
10885         * textmodes/bibtex.el (bibtex-format-entry): Handle error message
10886         refering to a missing required field with the OPT prefix.
10887         Make unwindform more robust.
10889         * textmodes/bibtex.el: Remove support for hideshow minor mode as
10890         it duplicates the bibtex support in progmodes/hideshow.el.
10891         * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
10892         entries that do not start at the beginning of a line.
10894 2008-02-25  Chong Yidong  <cyd@stupidchicken.com>
10896         * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
10898 2008-02-25  Robert J. Chassell  <bob@rattlesnake.com>
10900         * help-fns.el (describe-variable): Add phrases about
10901         initialization file with and without customization;
10902         use new button type help-info-variable.
10904         * help-mode.el (help-info-variable):
10905         New button able to read Info files for help-fns.el.
10907 2008-02-25  Jan Djärv  <jan.h.d@swipnet.se>
10909         * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
10910         (grep-mode): Use grep-mode-tool-bar-map.
10912         * progmodes/compile.el (tool-bar): Require tool-bar.
10913         (compilation-mode-tool-bar-map): New variable.
10914         (compilation-mode): Use compilation-mode-tool-bar-map.
10916         * term/x-win.el (x-gtk-stock-map): Add cancel.  Remove extensions.
10918 2008-02-25  Glenn Morris  <rgm@gnu.org>
10920         * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
10922 2008-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * diff-mode.el (diff-file-junk-re): New const.
10925         (diff-beginning-of-file-and-junk): Use it.
10926         (diff-file-kill): Make sure we were really inside a file diff.
10928         * diff-mode.el: Make it more robust in the presence of empty context
10929         lines in unified hunks.
10930         (diff-valid-unified-empty-line): New var.
10931         (diff-unified->context, diff-sanity-check-hunk): Obey it.
10932         (diff-end-of-hunk): Obey it.  New arg `donttrustheader'.
10933         (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
10934         (diff-hunk-header-re-unified): New const.
10935         (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
10936         (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
10937         (diff-sanity-check-hunk): Use it.
10939         * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
10940         Index: line, don't search backward for the previous one.
10942 2008-02-25  Kenichi Handa  <handa@ni.aist.go.jp>
10944         * international/fontset.el (setup-default-fontset): Add non-OTF
10945         lao font for lao script.
10947         * language/tibetan.el: Register tibetan-composition-function in
10948         composition-function-table.
10950         * language/tibet-util.el (tibetan-composition-function):
10951         Adjust for the new calling way (argument changed).  Try font-shape-text
10952         if possible.
10954         * language/lao.el: Register lao-composition-function in
10955         composition-function-table.
10957         * language/lao-util.el (lao-composition-function): Adjust for the new
10958         calling way (argument changed).  Try font-shape-text if possible.
10960 2008-02-25  Jason Rumney  <jasonr@gnu.org>
10962         * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
10964 2008-02-25  Juri Linkov  <juri@jurta.org>
10966         * isearch.el (isearch-fail): Use "RosyBrown1" for a light
10967         background, "red4" for a dark background, "red" for 16 and
10968         8 colors, "grey" for grayscale, and inverse video otherwise.
10969         Add :version tag.
10970         (isearch-message): Keep the original isearch-message intact, and
10971         add text properties to it where necessary.  Add `isearch-error' to
10972         the condition that checks if isearch is unsuccessful.
10974 2008-02-24  Juri Linkov  <juri@jurta.org>
10976         * progmodes/compile.el (compilation-handle-exit):
10977         Use compilation-error face instead of font-lock-warning-face.
10978         Display the same message in the minibuffer as is inserted
10979         at the end of the compilation buffer.
10981 2008-02-24  Glenn Morris  <rgm@gnu.org>
10983         * vc-cvs.el (vc-cvs-register): Fix registering of directories in
10984         multiple file case.
10986         * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
10988         * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
10989         multiple file case.  Use a single `let' rather than two.
10991 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
10993         * progmodes/compile.el (compilation-start): Specify a face for
10994         mode-line-process.
10995         (compilation-handle-exit): Specify a face and a tooltip for
10996         mode-line-process.
10998 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11000         * hilit-chg.el: Remove spurious * in defcustom docstrings.
11001         (hilit-chg-make-ov): Simplify.
11002         (hilit-chg-fixup): Use remove-overlays.
11003         (hilit-chg-set-face-on-change): Remove redundant call to
11004         `remove-text-properties'.
11006         * dired.el (dired-mark-prompt): Don't count/display the t element.
11007         Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
11009 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
11011         * progmodes/verilog-mode.el (eval-when-compile): Don't define
11012         add-submenu.
11013         (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
11014         Remove.  Move contents to the only use ...
11015         (verilog-menu): ... here.
11016         (verilog-statement-menu): Remove.  Move contents to the only use ...
11017         (verilog-stmt-menu): ... here.
11018         (verilog-mark-defun): Simply call mark-defun for emacs.
11019         (occur-pos-list): Declare for byte compiler.
11020         (mode-popup-menu): Don't defvar.
11021         (verilog-add-statement-menu): Remove.
11022         (verilog-mode-hook): Don't add verilog-add-statement-menu.
11023         (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
11025 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
11027         * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
11028         conditional.
11029         (verilog-font-grouping-keywords-face): Make the begin..end
11030         keywords standout more than other verilog keywords.
11031         (verilog-type-font-keywords): Move the begin..end out of this list
11032         to facilitate making them to (potentially) stand out more.
11033         (verilog-backward-token): Fix indent of bare always{_*}?, initial,
11034         function & task blocks.
11035         (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
11036         initial, function & task blocks.
11037         (verilog-forward-sexp): Handle the new "disable fork" statement of
11038         IEEE-1800 Verilog.
11039         (verilog-beg-block-re-ordered): Handle the new "disable fork"
11040         statement of IEEE-1800 Verilog.
11041         (verilog-calc-1): Handle the new "disable fork" statement of
11042         IEEE-1800 Verilog.
11043         (verilog-disable-fork-re): Add const to help handle the new
11044         "disable fork" statement of IEEE-1800 Verilog.
11045         (verilog-declaration-core-re): Add port directions by themselves,
11046         with no qualification, as base item of a declaration.
11047         (verilog-pretty-declarations): Add new flag to ask it to refrain
11048         from printing to the message buffer.
11049         (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
11050         printing to the message buffer.  Improve handling of the many
11051         types of expression line up.
11052         (verilog-just-one-space): Remove printing of an empty message.
11053         (verilog-get-lineup-indent): Rework to support the better handling
11054         of expression lineup for verilog-pretty-expr.
11055         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
11057 2008-02-24  Alan Mackenzie  <acm@muc.de>
11059         * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
11060         yesterday's commit.
11062 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
11064         * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
11065         to mouse-set-point in buffers that aren't associated with files.
11067         * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
11069 2008-02-24  Alan Mackenzie  <acm@muc.de>
11071         Set of changes so that "obtrusive" syntactic elements in a
11072         C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
11073         unmatched paren) don't interact syntactically with stuff outside
11074         the CPP line.
11076         * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
11077         Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
11078         off-by-one bug.
11079         (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
11080         a bit of refactoring.
11081         (c-awk-extend-and-syntax-tablify-region): Takes some of the
11082         functionality of c-awk-advise-fl-for-awk-region, which has been
11083         refactored away.
11085         * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
11086         (c-clear-char-property-with-value): New function and macro which
11087         remove text-properties `equal' to a supplied value.
11089         * progmodes/cc-engine.el: Comment about text properties amended.
11091         * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
11092         parens around "error\\|warning".
11094         * progmodes/cc-langs.el (c-get-state-before-change-function)
11095         (c-before-font-lock-function, c-anchored-cpp-prefix):
11096         New language variables.
11097         (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
11099         * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
11100         syntax-table text properties.
11101         (c-common-init): Call language specific before/after-change
11102         functions at mode initialisation.
11103         (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
11104         (c-extend-region-for-CPP, c-neutralize-CPP-line)
11105         (c-neutralize-syntax-in-CPP): New functions.
11106         (c-before-change, c-after-change): Call the new language specific
11107         change functions defined in cc-langs.el.
11108         (c-advise-fl-for-region): New macro.
11109         (awk-mode): Remove AWK specific stuff which has been refactored
11110         into language independent stuff.
11112 2008-02-24  Nick Roberts  <nickrob@snap.net.nz>
11114         * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
11115         (gdb): (Re)set gdb-flush-pending-output to nil here...
11116         (gdb-init-1): ...instead of here (before gdb-prompt).
11118 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11120         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
11121         Recognize ''' just like any other char-constant.
11123 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11125         * vc-hooks.el (vc-find-root): Remove initial loop because it's not
11126         careful enough.  Detect the uid-change all within the main loop.
11128 2008-02-24  Stefan Monnier  <monnier@pastel.home>
11130         * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
11132 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11134         * hilit-chg.el (highlight-save-buffer-state): New macro.
11135         (highlight-save-buffer-state, hilit-chg-set-face-on-change)
11136         (hilit-chg-clear): Use it to preserve the modified-p flag.
11137         (highlight-changes-rotate-faces): Don't mess with the undo-list.
11139 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11141         * font-lock.el (font-lock-set-defaults): Unset previously set variables
11142         when needed.
11144 2008-02-24  Ævar Arnfjörð Bjarmason  <avar@cpan.org>  (tiny change)
11146         * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
11147         from gnus-button-url-regexp.
11149 2008-02-24  Eli Zaretskii  <eliz@gnu.org>
11151         * progmodes/compile.el (compilation-next-error): Doc fix.
11152         (compilation-find-file): Doc fix.
11154 2008-02-24  Glenn Morris  <rgm@gnu.org>
11156         * net/net-utils.el (ipconfig-program, ipconfig-program-options):
11157         Add obsolete aliases to the old names.
11159 2008-02-24  Richard Stallman  <rms@gnu.org>
11161         * net/net-utils.el (ifconfig): Rename from ipconfig.
11162         (ipconfig): Alias to ifconfig.
11163         (ifconfig-program): Rename from ipconfig-program.
11164         (ifconfig-program-options): Rename from ipconfig-program-options.
11166 2008-02-24  Michael McNamara  <mac@mail.brushroad.com>
11168         * progmodes/verilog-mode.el (verilog-declaration-core-re):
11169         Add port directions by themselves, with no qualification, as base
11170         item of a declaration.
11171         (verilog-pretty-declarations): Add new flag that inhibits printing
11172         to the message buffer.
11173         (verilog-pretty-expr): Add new flag that inhibits printing to the
11174         message buffer.  Improve handling of the many types of expression
11175         line up.
11176         (verilog-just-one-space): Don't print an empty message.
11177         (verilog-get-lineup-indent): Rework to support the better handling
11178         of expression lineup for verilog-pretty-expr.
11179         (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
11180         (verilog-mode-version, verilog-mode-release-date): Update.
11182 2008-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11184         * subr.el (cancel-change-group): Don't move point.
11186 2008-02-23  Markus Triska  <markus.triska@gmx.at>
11188         * linum.el (linum-after-config): Update all visible windows.
11190 2008-02-23  Glenn Morris  <rgm@gnu.org>
11192         * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
11193         Add :help for Solitaire and Tetris.
11195         * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
11197         * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
11198         (smtpmail-code-conv-from): Doc fix.  Fix custom type.
11199         (smtpmail-queue-index-file): Make it a defcustom.
11200         (smtpmail-queue-index): Delete.
11201         (smtpmail-send-it, smtpmail-send-queued-mail):
11202         Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
11203         smtpmail-queue-index.
11205         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
11206         Add :version.
11208 2008-02-23  Yoni Rabkin  <yoni@rabkins.net>  (tiny change)
11210         * net/net-utils.el (iwconfig-program, iwconfig-program-options):
11211         New variables.
11212         (iwconfig): New function.
11214 2008-02-23  Dan Nicolaescu  <dann@ics.uci.edu>
11216         * vc.el (vc-find-revision): Make vc-parent-buffer local before
11217         setting it.
11218         (vc-status-menu-map): Do not define using easy-menu.
11219         (vc-status-menu-map): New defalias.
11220         (vc-status-mode-map): Hook up the menu.
11221         (top-level): Update TODO.
11223         * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
11225         * vc-bzr.el (vc-bzr-init-version): Rename to ...
11226         (vc-bzr-init-revision): ... this.
11228 2008-02-23  Jason Rumney  <jasonr@gnu.org>
11230         * makefile.w32-in (WINS_ALMOST): Remove term.
11231         (WINS): Add term here.
11232         (custom-deps, finder-data): Use WINS_ALMOST.
11234 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
11236         * faces.el (font-weight-table): Fix value of `semi-light'.
11238 2008-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11240         * faces.el (font-weight-table, font-slant-table, font-swidth-table):
11241         Make those tables bijective.
11243 2008-02-22  Ken Manheimer  <ken.manheimer@gmail.com>
11245         Finish pdbtrack integration cleanup, settling missing-functions
11246         byte compiler warnings appropriately.
11248         * progmodes/python.el (python-point): Remove this - beginning-of-line
11249         was all that was necessary for `python-pdbtrack-overlay-arrow'.
11250         (python-end-of-def-or-class, python-beginning-of-def-or-class)
11251         (python-goto-initial-line): Drop these - they were only needed for
11252         python-point.
11253         (python-comint-output-filter-function): Use condition-case and
11254         beginning-of-line directly, instead of python-mode.el functions
11255         which require all sorts of baggage.
11256         (point-safe): Unnecessary - we're using condition-case directly,
11257         instead.
11258         (python-execute-file): Include for python-shell, which I'm leaving
11259         in keeping despite it being unnecessary for pdb tracking.
11261 2008-02-22  Peter Danenberg  <pcd@wikitex.org>  (tiny change)
11263         * progmodes/scheme.el (scheme-font-lock-keywords-2):
11264         Add SRFI 11 support.
11265         (let-values, let*-values): Specify scheme-indent-function.
11267 2008-02-22  Dan Nicolaescu  <dann@ics.uci.edu>
11269         * vc.el (vc-exec-after): Move setting mode-line-process in the
11270         busy case ...
11271         (vc-set-mode-line-busy-indicator): ... in this new function.
11272         (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
11273         (vc-update-vc-status-buffer): Reset mode-line-process.
11274         (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
11275         mark/unmark all the files with the same state as the current one.
11276         With a prefix argument mark/unmark all files.
11277         (vc-status-mode-menu): Adjust strings.
11278         (vc-update-vc-status-buffer): Only do something when the argument
11279         is not nil.
11280         (vc-status-kill-dir-status-process): New function.
11281         (vc-status-mode-map): Bind it.
11282         (vc-status-process-buffer): New variable.
11283         (vc-status-mode): Make it local.
11284         (vc-status-refresh): Set it.
11286         * vc-hg.el (vc-hg-dir-status):
11287         * vc-git.el (vc-git-dir-status):
11288         * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
11289         command is run.
11291 2008-02-22  Glenn Morris  <rgm@gnu.org>
11293         * json.el (top-level): No need to require thingatpt.
11294         (json-read-keyword): Use thing-at-point rather than word-at-point.
11296         * time.el (top-level): No need to require time-date when compiling.
11298         * emacs-lisp/copyright.el (copyright-update-year):
11299         Fix subexpression numbering for the case when years are split over
11300         lines, and for the replace case.
11302         * emulation/tpu-edt.el (tpu-have-ispell): Doc fix.  Make obsolete.
11303         (tpu-caar, tpu-cadr): Delete functions.
11304         (zmacs-regions): No need to declare for compiler.
11305         (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
11306         (tpu-spell-check): Rewrite, and handle mark after point.
11307         (tpu-special-insert): Use or rather than if.
11309         * emulation/vip.el (vip-special-prefix-com): Use ispell-region
11310         rather than spell-region.
11312         * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
11313         warnings about spell-region.
11315 2008-02-22  Kenichi Handa  <handa@ni.aist.go.jp>
11317         * ldefs-boot.el: Regenerated.
11319         * loadup.el: Don't load language/devanagari, language/kannada,
11320         language/malayalam, and language/tamil.  Load language/sinhala.
11322         * language/indian.el (indian-font-foundry)
11323         (indian-script-language-alist, indian-font-char-index-table)
11324         (indian-font-char, indian-font-char-range, indian-script-table)
11325         (indian-default-script, indian-composable-pattern): Delete them.
11326         ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
11327         language environments moved to here.
11328         ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
11329         New language environments.
11331         * language/devanagari.el, language/devan-util.el,
11332         * language/kannada.el, language/knd-util.el, language/malayalam.el,
11333         * language/mlm-util.el, language/tamil.el, language/tml-util.el:
11334         Delete them.
11336         * language/sinhala.el: New file.
11338 2008-02-21  Ken Manheimer  <ken.manheimer@gmail.com>
11340         Update Nick Robert's port of pdb tracking from python-mode.el.
11342         * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
11343         Clarify docstring.
11344         (python-pdbtrack-minor-mode-string): A sign indicating that pdb
11345         tracking is happening.
11346         (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
11347         (python-pdbtrack-input-prompt): Better recognize PDB prompts.
11348         (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
11349         Tracking is plugged in to all comint buffers once python.el is loaded.
11350         (python-pdbtrack-overlay-arrow): Toggle activation of
11351         `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
11352         (python-pdbtrack-track-stack-file): Use new
11353         `python-pdbtrack-get-source-buffer' for more flexible access to
11354         debugging source files.
11355         (python-pdbtrack-get-source-buffer): Identify debugging target buffer
11356         according to pdb stack trace, optionally using new
11357         `python-pdbtrack-grub-for-buffer' if file is not locally available.
11358         (python-pdbtrack-grub-for-buffer): Find most recent python-mode
11359         named buffer, or having function with indicated name.
11360         (python-shell): Remove comint-output-filter-functions hook
11361         addition, it's being done elsewhere.  Wrap long line.
11363 2008-02-21  Michael Olson  <mwolson@gnu.org>
11365         * json.el: Replace XEmacs compatibility code to get rid of
11366         compiler warnings.
11368         * time.el: Fix compiler warning.
11370 2008-02-21  Edward O'Connor  <ted@oconnor.cx>
11372         * json.el: New file (JavaScript Object Notation parser / generator).
11374 2008-02-21  Dave Love  <fx@gnu.org>
11376         * progmodes/sym-comp.el: New file.
11378         * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
11379         Require sym-comp.  Add Python buffer to same-window-buffer-names.
11380         Fixup whitespaces.
11381         (python-font-lock-keywords): Add highlighting for Python builtins.
11382         (python-font-lock-syntactic-keywords): Rewrite.
11383         (python-quote-syntax): Use syntax-ppss-context instead of parsing
11384         ppss directly.
11385         (python-mode-map): Add binding for python-find-function.
11386         (python-calculate-indentation): Clean up the logic.
11387         (python-beginning-of-defun): Explicitly set return value.
11388         (python-beginning-of-statement): Stop looping if we get stuck
11389         going backwards.
11390         (python-next-statement): Stop looping if we somehow end up inside
11391         a string while advancing.
11392         (python-preoutput-continuation, python-version-checked): New vars.
11393         (python-check-version): New function.
11394         (run-python): Set default command to python-command instead of
11395         python-python-command.
11396         (run-python): Use python-check-version.  Give PYTHONPATH
11397         precedence over data-directory in the process environment.
11398         Load function definitions in python process after.
11399         (python-check-comint-prompt): New function.
11400         (python-send-command, python-send-receive): Use it.
11401         (python-complete-symbol, python-try-complete): Functions deleted.
11402         Use symbol-complete instead of python-complete-symbol throughout.
11403         (python-fill-paragraph): Further refine the fenced-string regexp.
11404         (def-python-skeleton): Expand to the original abbrev instead if in
11405         a comment or string.  Tweak skeletons for `if', `while', `for',
11406         `try/except', `try/finally', `name'.
11407         (python-pea-hook, python-abbrev-pc-hook): New functions.
11408         (python-abbrev-syntax-table): New var.
11409         (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
11410         Use symbol-completion-try-complete for hippie expansion.
11411         Turn on font lock unconditionally.
11412         (python-mode-hook): Defcustom it.  No need to use make-local
11413         variable on indent-tabs-mode in "Turn off Indent Tabs mode"
11414         option, since it's buffer-local.
11416 2008-02-21  Juanma Barranquero  <lekktu@gmail.com>
11418         * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
11420 2008-02-21  Drew Adams  <drew.adams@oracle.com>
11422         * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
11423         "Turn off" and a "Help" entry when the minor mode has no menu.
11425 2008-02-21  Dan Nicolaescu  <dann@ics.uci.edu>
11427         * vc.el (vc-status-mark, vc-status-unmark): New functions.
11428         (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
11429         vc-status-mark-file and vc-status-unmark-file.
11430         (vc-status-mark-unmark): New function.
11431         (vc-status-previous-line, vc-status-next-line): No longer interactive.
11433 2008-02-21  Glenn Morris  <rgm@gnu.org>
11435         * composite.el (encode-composition-rule): Fix typo in error message.
11436         (composition-function-table, auto-composition-mode): Doc fixes.
11438         * subr.el (sit-for): Fix obsolete form for nil second argument.
11440         * textmodes/spell.el (spell-buffer, spell-word, spell-region)
11441         (spell-string): Make obsolete, in favor of ispell.
11443 2008-02-21  Kenichi Handa  <handa@ni.aist.go.jp>
11445         * language/devanagari.el: Don't setup composition-function-table
11446         here.
11447         ("Devanagari"): Change charset, coding-system, coding-priority to
11448         Unicode-based ones.  Don't require the feature devan-util.
11450         * composite.el (compose-chars-after): Fix arguments for a function
11451         in composition-function-table.
11452         (auto-compose-region): Likewise.
11454         * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
11455         for Ethiopic.
11456         (ps-mule-plot-string): Ignore glyph-string based compositions.
11458 2008-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11460         * doc-view.el: Allow different windows to show different pages.
11461         (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
11462         (doc-view-current-image, doc-view-current-overlay): Remove variables,
11463         add them back as macros instead, using image-mode-winprops instead.
11464         Update all users of those variables.
11465         (doc-view-new-window-function): New function to create a new overlay
11466         for each new window.
11467         (doc-view-mode): Use it and image-mode-setup-winprops.
11468         (doc-view-clone-buffer-hook): Rewrite accordingly.
11470         * image-mode.el: Extend [hv]scroll support to per-window properties.
11471         (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
11472         (image-mode-winprops-alist): New var to replace them.
11473         (image-mode-new-window-functions): New hook.
11474         (image-mode-winprops, image-mode-window-get, image-mode-window-put):
11475         New funs.
11476         (image-set-window-vscroll, image-set-window-hscroll): Use them.
11477         Remove the `window' argument, update callers.
11478         (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
11479         Use the new functions.
11480         (image-mode-reapply-winprops): New fun.
11481         (image-mode): Use it.
11483 2008-02-20  Jay Belanger  <jay.p.belanger@gmail.com>
11485         * calc/calc-math.el (math-sin-raw): Add optional argument
11486         to keep track of original argument.
11487         (math-cos-raw): Use optional argument when calling math-sin-raw.
11488         (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
11489         with close to original precision.
11491 2008-02-20  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11493         * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
11494         args in calls of sit-for.
11496 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
11498         * vc-svn.el (vc-svn-program): Fix typo in docstring.
11499         (vc-svn-checkin): Fix typo in error message.
11501         * help-mode.el: Require easymenu when compiling.
11503 2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
11505         * help-mode.el (help-mode-menu): New menu.
11507 2008-02-20  Glenn Morris  <rgm@gnu.org>
11509         * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
11510         on Windows.
11512 2008-02-20  Kenichi Handa  <handa@ni.aist.go.jp>
11514         * ps-mule.el (ps-mule-encode-region): Return a single string.
11515         (ps-mule-plot-string): Adjust for the above change.
11516         (ps-mule-encode-header-string): Likewise.
11518         * international/latin1-disp.el (latin1-display): Don't use
11519         ucs-mule-8859-to-mule-unicode.  Fix the way of resetting
11520         standard-display-table.
11521         (latin1-display-identities): Adjust for the change of what is
11522         returned by (get-language-info charset 'charset).
11524         * international/mule-util.el (char-displayable-p): Fix for Latin-1
11525         characters and terminal case.
11527 2008-02-19  Ken Manheimer  <ken.manheimer@gmail.com>
11529         Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
11531         * progmodes/python.el: Also require comint when loading.
11532         (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
11533         Replace python-shell with run-python on menu bar.
11534         (python-shell-map): New map.
11535         (python-default-interpreter, python-python-command-args)
11536         (python-jython-command-args, python-pdbtrack-do-tracking-p):
11537         New options.
11538         (python-which-shell, python-which-args, python-which-bufname):
11539         New buffer local variables.
11540         (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
11542         * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
11543         (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
11544         New constants.
11546         Pdbtrack features:
11548         (python-point, python-end-of-def-or-class)
11549         (python-beginning-of-def-or-class, python-goto-initial-line)
11550         (python-comint-output-filter-function)
11551         (python-pdbtrack-overlay-arrow)
11552         (python-pdbtrack-track-stack-file, python-toggle-shells)
11553         (python-shell, python-pdbtrack-toggle-stack-tracking)
11554         (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
11555         New functions.
11557 2008-02-19  Katsumi Yamaoka  <yamaoka@jpl.org>
11559         * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
11560         when the argument is nil.
11562 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
11564         * vc.el (dir-status): Add a brief description.
11566 2008-02-19  Thien-Thi Nguyen  <ttn@gnuvola.org>
11568         * vc-hooks.el (vc-find-root): Take optional arg INVERT.
11569         If non-nil, reverse the sense of the check.
11571         * vc-rcs.el (vc-rcs-root): New func.
11572         * vc-cvs.el (vc-cvs-root): New func.
11573         * vc-svn.el (vc-svn-root): New func.
11574         * vc-sccs.el (vc-sccs-root): New func.
11576 2008-02-18  Kenichi Handa  <handa@ni.aist.go.jp>
11578         * language/japan-util.el (setup-japanese-environment-internal):
11579         Call use-cjk-char-width-table.
11581         * language/japanese.el ("Japanese"): Set exit-function to
11582         use-default-char-width-table.
11584         * international/characters.el: Delete occurrences of non-Unicode
11585         tibetan and ethiopic characters.
11586         (cjk-char-width-table): New variable.
11587         (use-cjk-char-width-table, use-default-char-width-table):
11588         New functions.
11590 2008-02-19  Dan Nicolaescu  <dann@ics.uci.edu>
11592         * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
11593         (vc-status-mode-menu): Add a :filter.
11594         (vc-status-printer): Add faces.
11596         * vc-hg.el (vc-hg-extra-status-menu): New function.
11597         (vc-hg-dir-status): Clean up the buffer before using it.
11599 2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11601         * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
11602         (gdb): Initialize it here instead.
11604         * files.el (locate-dominating-file): Fix thinko in last change.
11605         Reported by Bruce Stephens <bruce.stephens@isode.com>.
11607 2008-02-18  Dan Nicolaescu  <dann@ics.uci.edu>
11609         * vc.el (vc-status-mode-menu): New menu for vc-status.
11611 2008-02-18  Juanma Barranquero  <lekktu@gmail.com>
11613         * progmodes/verilog-mode.el (customize): Fix typo in error message.
11614         (verilog-mode, verilog-mode-indent, verilog-mode-actions)
11615         (verilog-mode-auto, verilog-indent-level-module)
11616         (verilog-minimum-comment-distance, verilog-library-flags)
11617         (verilog-library-directories, verilog-library-files)
11618         (verilog-auto-reset-widths, verilog-imenu-generic-expression)
11619         (verilog-xemacs-menu, verilog-set-compile-command)
11620         (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
11621         (verilog-get-expr, verilog-strip-comments, verilog-one-line)
11622         (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
11623         (verilog-batch-inject-auto, verilog-batch-indent)
11624         (verilog-continued-line, verilog-type-keywords)
11625         (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
11626         (verilog-read-inst-pins, verilog-read-arg-pins)
11627         (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
11628         (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
11629         (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
11630         (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
11631         (verilog-sk-datadef, verilog-colorize-include-files-buffer)
11632         (verilog-mode-version, verilog-mode-release-date)
11633         (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
11634         (verilog-simulator, verilog-compiler)
11635         (verilog-auto-sense-defines-constant, verilog-company)
11636         (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
11637         Fix typos in docstrings.
11638         (verilog-set-auto-endcomments, verilog-calculate-indent)
11639         (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
11640         Reflow docstrings.
11641         (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
11642         (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
11643         (electric-verilog-forward-sexp, verilog-in-case-region-p)
11644         (verilog-in-struct-region-p, verilog-in-generate-region-p)
11645         (verilog-leap-to-head, verilog-current-indent-level)
11646         (verilog-case-indent-level, verilog-cpp-keywords)
11647         (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
11648         (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
11649         (verilog-signals-not-in, verilog-symbol-detick-text)
11650         (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
11651         (verilog-forward-close-paren, verilog-backward-open-paren)
11652         (verilog-backward-open-bracket): Doc fixes.
11654         * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
11655         (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
11656         (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
11657         (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
11658         (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
11659         Fix typos in docstrings.
11661         * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
11663 2008-02-18  Bastien Guerry  <Bastien.Guerry@ens.fr>
11665         * info.el (Info-read-node-name): Removed unused `default' arg.
11667 2008-02-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
11669         * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
11671 2008-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11673         * image-mode.el (image-get-display-property): New fun.
11674         (image-forward-hscroll, image-next-line, image-eol, image-eob)
11675         (image-mode, image-minor-mode, image-toggle-display-text)
11676         (image-toggle-display): Use it.
11678 2008-02-18  Jason Rumney  <jasonr@gnu.org>
11680         * international/mule.el (xml-find-file-coding-system): Don't warn
11681         about utf-16 with BOM.
11683         * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
11685         * international/mule.el (sgml-xml-auto-coding-function): Detect and
11686         warn if file encoding is not utf-8 and encoding not specified.
11687         (xml-find-file-coding-system): New function.
11688         * international/mule-conf.el (file-coding-system-alist): Use it.
11690 2008-02-17  Glenn Morris  <rgm@gnu.org>
11692         * international/mule-cmds.el (set-locale-environment):
11693         Pass `frame' to getenv for LC_MESSAGES.
11695 2008-02-17  Juri Linkov  <juri@jurta.org>
11697         * time.el (emacs-init-time): Use format instead of format-seconds.
11699 2008-02-17  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11701         * textmodes/bibtex.el (bibtex-search-entry): Rename from
11702         bibtex-find-entry.  Add autoload cookie.
11703         (bibtex-find-entry): Alias for bibtex-search-entry.
11704         (bibtex-search-crossref): Rename from bibtex-find-crossref.
11705         (bibtex-find-crossref): Alias for bibtex-search-crossref.
11706         (bibtex-clean-entry): atomic-change-group removed.
11707         (bibtex-format-entry): Use atomic-change-group.  Use unwind-protect
11708         to locate buffer location where error occurred.
11709         Make error messages more specific.
11710         (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
11712 2008-02-17  Dan Nicolaescu  <dann@ics.uci.edu>
11714         * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
11715         top level.
11717         * simple.el (transient-mark-mode): Add an :init-value.
11719         * startup.el (command-line): Use custom-reevaluate-setting for
11720         transient-mark-mode.
11722 2008-02-17  Michaël Cadilhac  <michael@cadilhac.name>
11724         * wdired.el (wdired-allow-to-change-permissions): Fix typo.
11726 2008-02-16  Juri Linkov  <juri@jurta.org>
11728         * startup.el (after-init-time): New variable.
11729         (command-line): Set `after-init-time' to the current time.
11731         * time.el (emacs-init-time): New function.
11733 2008-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11735         * files.el (locate-dominating-file): Remove initial loop because it's
11736         not careful enough.  Detect the uid-change all within the main loop.
11738 2008-02-16  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
11740         * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
11742 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
11744         * vc.el (vc-annotate): Add new argument.
11745         (vc-annotate-warp-revision): Pass the current line to vc-annotate.
11747         * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
11748         Move make-variable-buffer-local code after the corresponding defvar.
11749         (hs-minor-mode-map): Define and initialize in one step.
11750         (hs-minor-mode): Change from defun to define-minor-mode.
11752 2008-02-16  Nick Roberts  <nickrob@snap.net.nz>
11754         * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
11755         (gdb-ready): Move declaration...
11757         * progmodes/gdb-ui.el (gdb-ready): ...to here.
11758         (gdb-early-user-input): New variable.
11759         (gdb): Reset gdb-flush-pending-output to nil and set
11760         comint-input-sender here (before gdb-prompt), instead of...
11761         (gdb-init-1): ...here.
11762         (gdb-send): If Emacs is not ready, defer user input to...
11763         (gdb-prompt): ...here.
11765 2008-02-16  Glenn Morris  <rgm@gnu.org>
11767         * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
11769         * startup.el (emacs-startup-time): Rename to `before-init-time'.
11770         (before-init-time): New name for `emacs-startup-time'.
11771         (command-line): Use before-init-time rather than emacs-startup-time.
11772         * time.el (emacs-uptime): Use before-init-time rather than
11773         emacs-startup-time.
11775         * composite.el (composition-function-table): Doc fix.
11777         * calendar/time-date.el (format-seconds): Remove `nonzero' argument
11778         in favor of `%z' specifier.
11779         (emacs-uptime): Move to time.el.
11780         * time.el (emacs-uptime): Move here from time-date.el.  Add optional
11781         `format' argument.  Doc fix.  Use `%z' rather than removed `nonzero'
11782         argument of format-seconds.
11784 2008-02-16  Dan Nicolaescu  <dann@ics.uci.edu>
11786         * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
11788 2008-02-15  Lawrence Mitchell  <wence@gmx.li>  (tiny change)
11790         * ielm.el (ielm-is-whitespace): Remove.
11791         (ielm-is-whitespace-or-comment): New function.
11792         (ielm-eval-input): Use it.
11794 2008-02-15  Jason Rumney  <jasonr@gnu.org>
11796         * term/mac-win.el: Fix coding tag.
11798 2008-02-15  Dan Nicolaescu  <dann@ics.uci.edu>
11800         * vc-hooks.el (vc-menu-map):
11801         * bindings.el (mode-line-mode-menu): Add tooltips.
11803         * bindings.el (help-echo): Add more tooltips.  Use a less
11804         telegraphic style for existing tooltips.
11806 2008-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11808         * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
11809         from the auto-generated one.
11811 2008-02-14  Glenn Morris  <rgm@gnu.org>
11813         * mail/rmail-spam-filter.el (rmail-spam-filter):
11814         Let-bind message-spam-status.
11816         * mail/smtpmail.el (password-cache-add): Declare as function.
11818 2008-02-14  Justus Piater  <Justus-bulk@Piater.name>  (tiny change)
11820         * mail/smtpmail.el: Use password-cache.
11822 2008-02-14  Juanma Barranquero  <lekktu@gmail.com>
11824         * uniquify.el (uniquify-buffer-base-name): New function.
11825         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11827         * desktop.el (uniquify-managed): Don't defvar.
11828         (desktop-buffer-info): Use `uniquify-buffer-base-name', not
11829         `uniquify-managed'.  Return also the buffer's base name.
11830         (desktop-save): When saving the buffer info, filter out the base name,
11831         and save it as buffer name if the buffer is managed by uniquify.
11832         (uniquify-item-base): Don't declare; not called anymore.
11834 2008-02-14  Dan Nicolaescu  <dann@ics.uci.edu>
11836         * vc.el (vc-annotate-find-revision-at-line): New function.
11837         (vc-annotate-mode-map): Bind it.
11838         (vc-annotate-mode-menu): Add a menu entry for it.  Add :help for
11839         some entries.
11841 2008-02-14  Glenn Morris  <rgm@gnu.org>
11843         * calendar/time-date.el (format-seconds): New function.
11844         (emacs-uptime): Use format-seconds.
11846         * Makefile.in (custom-deps, finder-data, autoloads, recompile):
11847         Remove `LC_ALL=C', since it's included in $(emacs) now.
11849 2008-02-14  Zhang Wei  <id.brep@gmail.com>
11851         * textmodes/org-publish.el (org-publish-timestamp-filename):
11852         Replace colon characters in filename too.
11854 2008-02-13  Bastien Guerry  <bzg@altern.org>
11856         * mail/rmail.el (rmail-header-name): New face.
11857         (rmail-font-lock-keywords): Use rmail-header-name.
11859         * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
11860         against X-Spam-Status header field.
11861         (rmail-spam-filter): Also check X-Spam-Status header field.
11863 2008-02-14  Mark A. Hershberger  <mah@everybody.org>
11865         * progmodes/flymake.el (flymake-allowed-file-name-masks):
11866         Add support for .pm files and .php files.
11867         (flymake-err-line-patterns): Add pattern for PHP errors.
11868         (flymake-php-init): New function.  PHP support for flymake.
11870         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11871         Add regular expression for PHP errors.
11873 2008-02-13  Michael Albinus  <michael.albinus@gmx.de>
11875         * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
11876         This DTRT even on w32 machines.
11877         (ange-ftp-cf1): Quote FILENAME.
11879 2008-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11881         * smerge-mode.el (smerge-auto-combine-max-separation): New var.
11882         (smerge-auto-combine): New fun.
11884 2008-02-12  Juri Linkov  <juri@jurta.org>
11886         * startup.el (fancy-startup-screen, normal-splash-screen):
11887         Set default-directory to command-line-default-directory.
11889         * desktop.el (after-init-hook): Set inhibit-startup-screen to t
11890         after reading the desktop.
11892         * progmodes/compile.el (compilation-auto-jump):
11893         Call compile-goto-error only when compilation-auto-jump-to-first-error
11894         is non-nil.
11895         (compilation-scroll-output): Replace :type 'boolean with a choice
11896         that has three options including a third option `first-error'.
11897         Doc fix.
11898         (compilation-start, compilation-forget-errors): Add an alternate
11899         condition comparing compilation-scroll-output with `first-error'
11900         in addition to compilation-auto-jump-to-first-error (to call
11901         compilation-auto-jump in the proper place).
11903 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11905         * international/mule.el (sgml-html-meta-auto-coding-function):
11906         Make sure the search limit is ahead.
11908         * tar-mode.el: Fix broken indentation.
11909         (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
11910         Use with-current-buffer.
11912 2008-02-12  Juanma Barranquero  <lekktu@gmail.com>
11914         * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
11915         it is already automatically buffer-local.
11917 2008-02-12  Drew Adams  <drew.adams@oracle.com>
11919         * help.el (describe-key): Join some split lines to facilitate filling.
11920         * help-fns.el (describe-function-1): Fill text of overlong lines.
11922 2008-02-12  Kenichi Handa  <handa@ni.aist.go.jp>
11924         * emacs-lisp/bytecomp.el (byte-compile-lapcode):
11925         Use unibyte-string instead of string-make-unibyte.
11927         * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
11929 2008-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11931         * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
11932         works also for buffers w/o buffer-file-name.  Update callers.
11933         (doc-view-clone-buffer-hook): New fun.
11934         (doc-view-mode): Use it for indirect clones.  Mark the overlays with
11935         the `doc-view' property so they can be recognized.
11937         * simple.el (clone-indirect-buffer-hook): New hook.
11938         (clone-indirect-buffer): Run it.
11940 2008-02-11  Michael Olson  <mwolson@gnu.org>
11942         * epa-setup.el:
11943         * epg-package-info.el: Files removed.
11945 2008-02-11  Daiki Ueno  <ueno@unixuser.org>
11947         * epa.el (epa-menu-mode): Merge into epa-mode.
11948         (epa-menu-items): Rename the label "EasyPG Assistant" to
11949         "Encryption/Decryption".
11951         * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
11952         (epa-dired-mode-map): Rename from epa-dired-map.
11953         (epa-global-dired-mode): Rename the global minor mode.
11955 2008-02-11  Drew Adams  <drew.adams@oracle.com>
11957         * isearch.el (isearch-fail): New face.
11958         (isearch-message): Highlight failure part of input.
11960 2008-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11962         * ibuffer.el (ibuffer-header-line-format): New var.
11963         (ibuffer-mode): Set it instead of header-line-format.
11964         (ibuffer-update): Use it to set header-line-format.
11966         * international/mule-cmds.el (ucs-insert): Inherit surrounding
11967         properties like self-insert-command.
11969 2008-02-11  Drew Adams  <drew.adams@oracle.com>
11971         * progmodes/etags.el: Add many doc strings.
11973 2008-02-11  Jason Rumney  <jasonr@gnu.org>
11975         * ldefs-boot.el: Regenerated.
11977 2008-02-11  Glenn Morris  <rgm@gnu.org>
11979         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11980         Shorten some names.
11982         * ffap.el (ffap-rfc-directories): Add :version.
11984 2008-02-11  Chris Moore  <christopher.ian.moore@gmail.com>
11986         * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
11987         files, and backup files of same.
11989 2008-02-11  Kevin Ryde  <user42@zip.com.au>
11991         * ffap.el (ffap-rfc-directories): New variable.
11992         (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
11994         * info.el (Info-next-reference, Info-prev-reference)
11995         (Info-try-follow-nearest-node): Move to and follow https:// links too.
11997         * simple.el (completion-list-mode): Show full completion-list-mode-map
11998         in the docstring.
12000 2008-02-11  Sam Steingold  <sds@gnu.org>
12002         * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
12004 2008-02-11  Glenn Morris  <rgm@gnu.org>
12006         * startup.el (emacs-startup-time): New variable.
12007         (command-line): Set emacs-startup-time.
12009         * calendar/time-date.el (emacs-uptime): New function.
12011 2008-02-10  Bastien Guerry  <bzg@altern.org>
12013         * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
12014         (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
12015         it is nil.
12017 2008-02-10  Daiki Ueno  <ueno@unixuser.org>
12019         * epg-config.el: Expand the contents of epg-package-info.el.
12020         (epg-package-name): New constant.
12021         (epg-version-number): New constant.
12022         (epg-bug-report-address): New constant.
12024         * epa-mail.el (epa-mail-mode): Add autoload cookie.
12025         (epa-global-mail-mode): New global minor mode.
12027         * epa-file.el (epa-file-mode): New global minor mode.
12029         * epa-dired.el (epa-dired-mode): New global minor mode.
12031         * epa.el (epa-menu): New variable.
12032         (epa-menu-items): New variable.
12033         (epa-menu-mode): New global minor mode.
12034         (epa-global-minor-modes): New user option.
12035         (epa-mode): New global minor mode.
12037 2008-02-10  Michael Albinus  <michael.albinus@gmx.de>
12039         * net/dbus.el: Remove `no-byte-compile' cookie.
12040         (dbus-call-method, dbus-register-signal, dbus-debug)
12041         (dbus-registered-functions-table): Declare them with
12042         `declare-function' or `defvar', respectively.
12043         (top): Don't assert any longer.  Require 'cl when compiling.
12044         Apply `ignore-errors' but `dbus-ignore-errors'.
12046 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12048         * diff-mode.el (diff-add-change-log-entries-other-window):
12049         Use add-change-log-entry.
12051 2008-02-09  Jason Rumney  <jasonr@gnu.org>
12053         * button.el (button-map):
12054         * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
12055         * ldefs-boot.el: Regenerate.
12057 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
12059         * epa.el (epa-faces, epa):
12060         * epa-file.el (epa-file):
12061         * epg-config.el (epg): Add :version.
12063 2008-02-09  Thien-Thi Nguyen  <ttn@gnuvola.org>
12065         * vc.el (vc-exec-after): Append CODE to previous fragments.
12066         (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
12067         take MESSAGES instead of VERBOSE; use it when non-nil.
12068         (vc-diff-internal): Compute messages once; use them;
12069         update call to vc-diff-finish.
12071 2008-02-09  Michael Olson  <mwolson@gnu.org>
12073         * net/tramp.el (tramp-process-sentinel): Avoid error when process
12074         buffer has been killed, such as by
12075         `tramp-cleanup-all-connections'.
12077 2008-02-09  Miles Bader  <miles@gnu.org>
12079         * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
12081 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12083         * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
12084         splitter in context hunks.
12086 2008-02-08  Kenichi Handa  <handa@ni.aist.go.jp>
12088         * international/fontset.el (setup-default-fontset): Fix arabic otf
12089         font specification.
12091 2008-02-08  Daiki Ueno  <ueno@unixuser.org>
12093         * epa-dired.el:
12094         * epa-file.el:
12095         * epa-mail.el:
12096         * epa-setup.el:
12097         * epa.el:
12098         * epg-config.el:
12099         * epg-package-info.el:
12100         * epg.el: Initial check-in of EasyPG.
12102 2008-02-08  Glenn Morris  <rgm@gnu.org>
12104         * woman.el (woman-locale): New defcustom.
12105         (woman-expand-locale, woman-manpath-add-locales): New functions.
12106         (woman-manpath): Call woman-manpath-add-locales.  Bump :version.
12108         * international/mule-cmds.el (locale-translate): New function,
12109         with old code extracted from set-locale-environment.
12110         (set-locale-environment): Use locale-translate.  Set woman-locale.
12112         * cus-start.el (selection-coding-system): Remove, since it's now
12113         defined in select.el rather than in xselect.c.
12114         * select.el (selection-coding-system): Make it a defcustom, and
12115         add the properties from cus-start.el.  Bump :version.
12117         * custom.el (custom-theme-set-variables): Sort symbols that are
12118         dependencies before symbols that depend on them.
12119         (custom-enabled-themes): Set after custom-theme-directory.
12121         * pcmpl-unix.el (top-level): Move provide statement to end.
12122         (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
12123         `*' from doc-string.  Allow to be nil.
12124         (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
12125         Allow to be nil.  Add :version.
12126         (pcmpl-ssh-hosts): Move definition before use.  Handle lines
12127         without hostnames, and multiple hostnames per line.
12129         * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
12131 2008-02-08  Phil Hagelberg  <phil@evri.com>
12133         * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
12134         (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
12136 2008-02-07  Timo Savola  <timo.savola@iki.fi>
12138         * startup.el (command-line-x-option-alist): Add --parent-id.
12140         * term/x-win.el (x-handle-parent-id): New function.
12142 2008-02-07  Chris Moore  <christopher.ian.moore@gmail.com>
12144         * mouse.el (x-fixed-font-alist): Use consistent capitalization for
12145         "Font Menu".
12147 2008-02-06  Michael Albinus  <michael.albinus@gmx.de>
12149         * net/dbus.el (dbus-interface-peer): New defconst.
12150         (dbus-ping): New defun.
12152 2008-02-06  Sam Steingold  <sds@gnu.org>
12154         * vc-hooks.el (vc-prefix-key): New user-customizable variable.
12156 2008-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
12159         Just return nil and let the C code provide a fallback.
12161 2008-02-05  Glenn Morris  <rgm@gnu.org>
12163         * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
12164         tramp-flush-connection-property for removed 2nd argument.
12166 2008-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12168         * diff-mode.el (diff-add-change-log-entries-other-window):
12169         Rename from diff-create-changelog.  Change users.
12170         Minor change to hopefully work with plain diffs.
12171         (diff-mode-map): Add binding for it.
12173 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
12175         * diff-mode.el: Add new TODO entry.
12176         (diff-create-changelog): New function.
12177         (diff-mode-menu): Bind it.
12179 2008-02-04  Kenichi Handa  <handa@ni.aist.go.jp>
12181         * international/mule-diag.el (print-fontset-element): Handle the
12182         case of inhibiting the fallback fonts.
12184 2008-02-04  Kim F. Storm  <storm@cua.dk>
12186         * ido.el (ido-magic-forward-char, ido-magic-backward-char)
12187         (ido-magic-delete-char): Use prefix arg.
12189 2008-02-03  Juanma Barranquero  <lekktu@gmail.com>
12191         * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
12192         because the latter is in fact a 1.2.8 build distributed with GTK+ (as
12193         of today, the most recent libpng is 1.2.24).
12195 2008-02-03  Michael Albinus  <michael.albinus@gmx.de>
12197         * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
12199         * net/dbus.el (top): Check (featurep 'dbusbind).
12201         * net/tramp.el (tramp-process-sentinel): New defun.
12202         (tramp-do-copy-or-rename-file-out-of-band)
12203         (tramp-maybe-open-connection): Use it as process sentinel.
12204         (tramp-handle-delete-directory): Don't use the "-f" option; it
12205         isn't portable.
12206         (tramp-handle-start-file-process): Echo `tramp-end-of-output'
12207         after the command.
12208         (tramp-handle-shell-command): Set `mode-line-process' in the
12209         asynchronous case.
12211         * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
12213         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12214         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12215         Use `tramp-process-sentinel' as process sentinel.
12217 2008-02-02  Juanma Barranquero  <lekktu@gmail.com>
12219         * whitespace.el (global-whitespace-mode): Revert last change.
12220         (whitespace-unload-function): Force `global-whitespace-mode'
12221         to deactivate local modes in a slightly less intrusive way.
12223 2008-02-02  Eli Zaretskii  <eliz@gnu.org>
12225         * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
12227 2008-02-02  Glenn Morris  <rgm@gnu.org>
12229         * international/latin1-disp.el (latin1-display):
12230         * progmodes/fortran.el (fortran-comment-indent-char):
12231         * progmodes/idlw-shell.el (top-level):
12232         * term/mac-win.el (mac-keyboard-translate-char):
12233         * whitespace.el (whitespace-char-valid-p):
12234         * wid-edit.el (widget-key-sequence-read-event):
12235         Use characterp rather than char-valid-p.
12237         * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
12238         to capitalized-find-word-boundary.  Doc fix.  Update callers.
12239         (capitalized-next-word-boundary-function-table): Rename to
12240         capitalized-find-word-boundary-function-table.  Doc fix.  Update users.
12242         * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
12243         string-to-int.
12245         * ps-def.el (declare-function): Add compatibility definition.
12246         (ps-plot-with-face, ps-plot-string): Declare as functions.
12247         (ps-bold-faces, ps-italic-faces): Declare variables.
12249         * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
12250         (ps-mule-end-job): Declare as functions.
12252         * wid-edit.el (widget-string-complete): Use assoc-string rather
12253         than assoc-ignore-case.
12255 See ChangeLog.13 for earlier changes.
12257 ;; Local Variables:
12258 ;; coding: utf-8
12259 ;; add-log-time-zone-rule: t
12260 ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
12261 ;; End:
12263     Copyright (C) 2008  Free Software Foundation, Inc.
12265   This file is part of GNU Emacs.
12267   GNU Emacs is free software: you can redistribute it and/or modify
12268   it under the terms of the GNU General Public License as published by
12269   the Free Software Foundation, either version 3 of the License, or
12270   (at your option) any later version.
12272   GNU Emacs is distributed in the hope that it will be useful,
12273   but WITHOUT ANY WARRANTY; without even the implied warranty of
12274   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12275   GNU General Public License for more details.
12277   You should have received a copy of the GNU General Public License
12278   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
12280 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc