1 2008-08-11 Glenn Morris <rgm@gnu.org>
3 * dired.el (x-popup-menu):
4 * hi-lock.el (x-popup-menu):
5 * mouse.el (font-face-attributes):
6 * calendar/cal-menu.el (x-popup-menu):
7 * calendar/calendar.el (x-popup-menu):
8 * calendar/holidays.el (x-popup-menu):
9 * progmodes/cperl-mode.el (x-popup-menu):
10 * term/ns-win.el (dnd-open-file, tool-bar-mode, scroll-bar-scale)
12 * term/w32-win.el (x-colors, x-handle-args, x-parse-geometry)
13 (x-command-line-resources):
14 * term/x-win.el (x-colors, x-parse-geometry, x-resource-name)
15 (x-display-name, x-command-line-resources):
16 Add declarations for builds without X.
18 2008-08-10 Glenn Morris <rgm@gnu.org>
20 * calendar/cal-bahai.el (holiday-bahai): Doc fix.
22 2008-08-10 Dan Nicolaescu <dann@ics.uci.edu>
24 * vc-bzr.el (vc-bzr-find-revision): Rename from
25 vc-bzr-find-version, forgotten in the 2007-10-10 renaming.
27 2008-08-10 Michael Albinus <michael.albinus@gmx.de>
29 * net/xesam.el (xesam-search-engines): Add Debbugs hit fields.
30 (xesam-refresh-entry): Add Debbugs handling. Insert a widget
31 "DONE", when all hits are retrieved.
32 (xesam-search): autoload it.
34 2008-08-11 John Paul Wallington <jpw@pobox.com>
36 * ibuffer.el (ibuffer-buffer-file-name): Return nil rather than
37 empty string when no filename.
38 (define-ibuffer-column filename): Accomodate that change.
40 * ibuf-ext.el (ibuffer-define-filter filename): Use plain old
41 `buffer-file-name' instead of `ibuffer-buffer-file-name'.
43 2008-08-10 Glenn Morris <rgm@gnu.org>
45 * Makefile.in (ELCFILES): Update.
47 2008-08-10 John Paul Wallington <jpw@pobox.com>
49 * pcvs.el (defun-cvs-mode): Add `doc-string' decl.
51 2008-08-08 Chong Yidong <cyd@stupidchicken.com>
53 * battery.el (battery-echo-area-format, battery-status-function):
54 Handle new Linux sysfs format for battery reporting.
55 (battery-linux-sysfs): New function.
57 2008-08-07 Martin Rudalics <rudalics@gmx.at>
59 * add-log.el (change-log-search-tag-name)
60 (change-log-goto-source): Fix behavior when point is not on tag.
62 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
64 * startup.el (command-line-ns-option-alist): Use ignore instead of
67 * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region)
68 (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop.
69 (ns-alternatives-map): New variable.
70 (x-set-up-function-keys): Use it.
71 (global): Comment out "put backspace ascii-character..." and friends.
72 Move function-key-map into ns-alternatives-map. Don't call
73 precompute-menubar-bindings. Don't set anything connected with
75 (after-make-frame-functions): Clarify comment why a hook is added.
77 2008-08-06 Joakim Verona <joakim@verona.se>
79 * thingatpt.el (thing-at-point-url-path-regexp): Allow parenthesis
82 2008-08-06 Dan Nicolaescu <dann@ics.uci.edu>
84 * vc-svn.el (vc-svn-parse-status): Use when instead of if.
85 Fix 2008-01-01 change: use a shy group to not affect subsequent
88 2008-08-06 Reto Zimmermann <reto@gnu.org>
90 * progmodes/vera-mode.el (vera-electric-tab):
91 * progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
94 2008-08-06 Kenichi Handa <handa@m17n.org>
96 * faces.el (face-valid-attribute-values): Fix handling the value
97 of (font-family-list) and font-XXX-table.
99 2008-08-06 Dan Nicolaescu <dann@ics.uci.edu>
101 * proced.el (proced-menu): Bind the correct function to for toggling.
103 * vc-dir.el (vc-dir-mode): Fix typo.
105 2008-08-06 Vinicius Jose Latorre <viniciusjl@ig.com.br>
107 * whitespace.el (whitespace-newline-mode)
108 (global-whitespace-newline-mode, whitespace-mode)
109 (global-whitespace-mode): Improve docstring.
111 2008-08-05 Chong Yidong <cyd@stupidchicken.com>
113 * kmacro.el (kmacro-exec-ring-item): Add autoload.
115 * files.el (auto-save-visited-file-name): Move definition to fileio.c.
117 * cus-start.el (all): Handle auto-save-visited-file-name.
119 2008-08-05 Alex Shinn <alexshinn@gmail.com> (tiny change)
121 * files.el (hack-one-local-variable-eval-safep): Handle
122 lisp-indent-function and scheme-indent-function in addition to the
123 deprecated lisp-indent-hook.
125 2008-08-05 Michael Albinus <michael.albinus@gmx.de>
127 * net/xesam.el (top): Require `wid-edit' always.
128 (xesam-mode-line, xesam-highlight): New deffaces.
129 (xesam-objects): New local variable.
130 (xesam-search-engines): Fix error in field list.
131 (xesam-mode): Use `xesam-mode-line' instead of
132 `font-lock-type-face'. Apply `xesam-mode' to a temp buffer, for
133 proper initialization (why?).
134 (xesam-highlight-string, xesam-get-hits)
135 (xesam-kill-buffer-function): New defuns.
136 (xesam-refresh-entry): Move code to `xesam-get-hits'. Check
137 result of "hit.fields", it isn't a string only. Wrap an error of
138 the strigi search engine ("xesam:size" is returned as string).
139 Highlight search items.
140 (xesam-refresh-search-buffer): Make logic of counters more simple.
142 (xesam-signal-handler): Use `xesam-mode-line' instead of
143 `font-lock-type-face'.
144 (xesam-new-search): Add `xesam-kill-buffer-function' to
147 2008-08-05 Teodor Zlatanov <tzz@lifelogs.com>
149 * add-log.el (change-log-next-error, change-log-mode): Add support
150 for `next-error' to call `change-log-goto-source' on named files
153 2008-08-05 Jay Belanger <jay.p.belanger@gmail.com>
155 * calc/calc.el (math-read-number): Handle all C-like languages
158 2008-08-04 Vincent Belaïche <vincent.b.1@hotmail.fr>
160 * calc/calc.el (math-read-number): Handle C numbers beginning with
163 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
165 * term/ns-win.el ([ns-new-frame]): New global key.
167 2008-08-04 Juanma Barranquero <lekktu@gmail.com>
169 * international/mule-cmds.el (read-char-by-name):
170 Check UCS names with `assoc-string' and case folding.
172 2008-08-04 Michael Albinus <michael.albinus@gmx.de>
174 * net/dbus.el (dbus-call-method-asynchronously)
175 (dbus-method-return-internal, dbus-method-error-internal):
176 Declare them with `declare-function'.
178 2008-08-04 Juanma Barranquero <lekktu@gmail.com>
180 * descr-text.el (describe-char-display): Fix last change:
181 don't pass CHARSET to `encoded-string-description'.
183 2008-08-02 Alex Harsanyi <harsanyi@mac.com> (tiny change)
185 * vc.el (vc-next-action): Update list var correctly after delete.
187 2008-08-02 Chong Yidong <cyd@stupidchicken.com>
189 * ido.el (ido-mode): Add toggle notification.
191 * cus-edit.el (custom-save-all): Avoid destroying symlink if
192 already visiting the custom file.
194 * pgg-gpg.el (pgg-gpg-process-region): Accept any remaining
195 pending output coming after the status change.
197 2008-08-02 Jason Rumney <jasonr@gnu.org>
199 * w32-fns.el (tis620-2533): Use as preferred registry for thai fonts.
201 2008-08-01 Kenichi Handa <handa@m17n.org>
203 * international/mule-cmds.el (encode-coding-char):
204 New optional arg CHARSET.
206 * descr-text.el (describe-char-display): Call encode-coding-char
207 with the arg CHARSET.
208 (describe-char): Pay attention to the text-property `charset'.
210 2008-08-01 Michael Albinus <michael.albinus@gmx.de>
212 * net/dbus.el (dbus-check-event, dbus-handle-event): Handle D-Bus
214 (dbus-set-property): Call `dbus-introspect-get-property' instead
215 of `dbus-get-property'.
217 * net/xesam.el (xesam-all-fields): Remove source and content
219 (xesam-dbus-unique-names): New defvar.
220 (xesam-dbus-call-method): New defun. Replace all calls of
221 `dbus-call-method' by `xesam-dbus-call-method'.
222 (xesam-get-cached-property, xesam-set-cached-property):
224 (xesam-get-property, xesam-set-property, xesam-refresh-entry)
225 (xesam-new-search, xesam-search): Apply `xesam-get-cached-property'.
226 (xesam-search-engines): Make it an association list. Take changed
227 layout into account in the corresponding function.
228 (xesam-delete-search-engine): Remove check for consistency of
229 `xesam-search-engines', not needed anymore.
230 (xesam-mode): Show XML query string only in the debug case.
232 2008-07-31 Juanma Barranquero <lekktu@gmail.com>
234 * files.el (read-file-modes): Fix typo in docstring.
236 2008-07-31 Chong Yidong <cyd@stupidchicken.com>
238 * Makefile.in: Avoid maintainer warning for autogenerated unicode
241 * apropos.el (apropos-symbol): Don't set button skip by default.
242 (apropos-print): Set button skip iff searching for multiple types.
243 (apropos-print-doc): Insert blank label button when searching for
246 * button.el (forward-button): Avoid infloop.
248 * minibuffer.el (read-file-name-completion-ignore-case):
249 Add cygwin to the list.
251 2008-07-31 Sven Joachim <svenjoac@gmx.de>
253 * files.el (abbreviate-file-name): When replacing $HOME with ~,
254 turn off case-fold-search.
256 2008-07-31 Michael Albinus <michael.albinus@gmx.de>
258 * net/dbus.el (top): Don't register for "NameOwnerChanged".
259 (dbus-message-type-invalid, dbus-message-type-method-call)
260 (dbus-message-type-method-return, dbus-message-type-error)
261 (dbus-message-type-signal): New defconst.
262 (dbus-ignore-errors): Fix `edebug-form-spec' property.
263 (dbus-return-values-table): New defvar.
264 (dbus-call-method-non-blocking-handler, dbus-event-message-type):
266 (dbus-check-event, dbus-handle-event, dbus-event-serial-number):
267 Extend docstring. Adapt implementation according to new
269 (dbus-event-service-name, dbus-event-path-name)
270 (dbus-event-interface-name, dbus-event-member-name): Adapt
271 implementation according to new `dbus-event' layout.
272 (dbus-set-property): Correct `dbus-introspect-get-attribute' call.
274 * net/xesam.el (xesam-type, xesam-query, xesam-xml-string): New defvar.
275 (xesam-mode): Rework implementation.
276 (xesam-new-search): Additional parameter TYPE.
277 (xesam-search): Adapt call of `xesam-new-search'.
279 2008-07-31 Juri Linkov <juri@jurta.org>
281 * dired-aux.el (dired-do-chmod): Set default value to the original
282 mode string using absolute notation like u=rwx,g=rx,o=rx.
283 Use it as a new arg `default' of `dired-mark-read-string'.
284 (dired-mark-read-string): Add new optional arg `default'.
286 * files.el (read-file-modes): Set default value to the original
287 mode string using absolute notation like u=rwx,g=rx,o=rx.
288 Use it as the `default' arg of `read-string'.
290 * filesets.el (filesets-cmd-isearch-getargs): Check if the
291 variable `files' is bound to avoid warnings.
293 * isearch.el (isearch-forward-regexp, isearch-forward-word)
294 (isearch-backward, isearch-backward-regexp): Doc fix - make a link
295 to the command `isearch-forward' instead of displaying "See C-s".
296 (isearch-highlight-regexp): Remove arguments `regexp' and `face'
297 with their interactive specifictions. Move reading the face name to
298 the main body after calls to isearch-done and isearch-clean-overlays.
300 * mb-depth.el: Unify all names under one common name prefix
302 (minibuffer-depth-indicator-function): Renamed from
303 `minibuf-depth-indicator-function'.
304 (minibuffer-depth-overlay): Renamed from
305 `minibuf-depth-overlay'.
306 (minibuffer-depth-setup): Renamed from
307 `minibuf-depth-setup-minibuffer'.
308 (minibuffer-depth-indicate-mode): Renamed from
309 `minibuffer-indicate-depth-mode'.
311 2008-07-31 Juri Linkov <juri@jurta.org>
313 * dired-aux.el (dired-isearch-filenames-toggle): New command.
314 (dired-isearch-filenames-setup): Bind "\M-sf" to
315 dired-isearch-filenames-toggle in isearch-mode-map.
316 (dired-isearch-filenames-end): Bind "\M-sf" to nil
319 * isearch.el (isearch-edit-string-set-word): New command.
320 (minibuffer-local-isearch-map): Bind "\C-w" to
321 isearch-edit-string-set-word.
322 (isearch-new-word): Temporary internal variable.
323 (isearch-edit-string): Remove special case of reading the
324 first character and checking it for C-w.
326 * simple.el (read-shell-command, shell-command):
327 Move code that uses minibuffer-with-setup-hook to set
328 minibuffer-default-add-function to minibuffer-default-add-shell-commands
329 from the interactive spec of `shell-command' to `read-shell-command'.
331 * international/mule-cmds.el (read-char-by-name):
332 Accept hash notation. Doc fix.
333 (ucs-insert): Doc fix. Convert to number only when `arg' is
334 a string. Use separate error message when `arg' is not an integer.
335 Bind `ucs-insert' to `C-x 8 RET'.
337 2008-07-31 Joachim Nilsson <joachim.nilsson@member.fsf.org> (tiny change)
339 * progmodes/cc-styles.el (c-style-alist): For the Ellemtel style,
340 move the (arglist-cont-nonempty) from c-offsets-alist to
341 c-hanging-braces-alist like other styles already have.
343 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
345 * textmodes/texinfmt.el:
348 * international/mule.el:
349 * international/latexenc.el:
350 * emulation/viper-util.el:
351 * emulation/viper-init.el:
352 * emulation/viper-ex.el:
353 * emacs-lisp/bytecomp.el:
377 * add-log.el: Remove VMS support.
378 * obsolete/vmsproc.el:
379 * obsolete/vms-pmail.el:
380 * obsolete/vms-patch.el: Remove file.
382 2008-07-31 Alan Mackenzie <acm@muc.de>
384 * progmodes/cc-mode.el (c-before-hack-hook): New function
385 (Top Level): Install c-before-hack-hook on
386 before-hack-local-variables-hook, rather than
387 c-postprocess-file-styles on hack-local-variables-hook.
389 2008-07-31 Chong Yidong <cyd@stupidchicken.com>
391 * files.el (normal-mode): Move call to hack-project-variables into
392 hack-local-variables.
393 (file-local-variables-alist, before-hack-local-variables-hook):
395 (ignored-local-variables): Add file-local-variables-alist.
396 (hack-local-variables-filter): Renamed from
397 hack-local-variables-apply. Add the result to
398 file-local-variables-alist, without applying them.
399 (hack-local-variables): Set file-local-variables-alist to nil.
400 Call hack-project-variables and before-hack-local-variables-hook.
401 Apply variables here, instead of hack-local-variables-apply.
402 Based on a patch by Alan Mackenzie.
404 2008-07-30 Thien-Thi Nguyen <ttn@gnuvola.org>
406 * info-look.el (autoconf-mode :doc-spec): For
407 "(autoconf)M4 Macro Index", if the item already
408 begins with "AS_", don't prefix that string again.
410 2008-07-30 Juri Linkov <juri@jurta.org>
412 * info.el (info, Info-mode): Doc fix.
414 * isearch.el (isearch-mode-map): Bind `M-s r' to
415 `isearch-toggle-regexp' and `M-s w' to `isearch-toggle-word'.
416 (search-map): Bind `M-s w' to `isearch-forward-word' globally
417 in the global map `search-map'.
418 (isearch-forward): Doc fix.
419 (isearch-forward-word, isearch-toggle-case-fold): New commands.
421 * simple.el (quoted-insert): Comment out code that treats
424 2008-07-30 Chong Yidong <cyd@stupidchicken.com>
426 * cus-start.el: Add customization info for
427 read-buffer-completion-ignore-case.
429 2008-07-30 Sam Steingold <sds@gnu.org>
431 * vc-dir.el (vc-dir): Call file-truename on the dir argument.
433 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu>
435 * vc-dir.el (vc-dir-menu-map, vc-at-event): Fix docstring.
436 (vc-dir-mode): Improve docstring.
438 2008-07-30 Juri Linkov <juri@jurta.org>
440 * dired-aux.el (dired-isearch-filenames-setup): Add autoload cookie
441 for the sake of isearch-mode-hook in dired-mode in dired.el.
443 2008-07-19 Markus Triska <markus.triska@gmx.at>
445 * image-mode.el (image-mode): Set image-mode-text-map when image
448 2008-07-30 Stepehen Leake <stephen_leake@stephe-leake.org>
450 * progmodes/ada-prj.el (ada-prj-initialize-values): Fix use of deleted
451 ada-xref-set-default-prj-values.
452 (ada-prj-display-page): Ditto.
454 * progmodes/ada-xref.el (ada-gnatstub-opts): Fix doc string.
455 (ada-make-filename-from-adaname): Fix free variable.
457 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu>
459 * vc-git.el (vc-git-status-printer): Synchronize with the default.
461 2008-07-30 Michael McNamara <mac@mail.brushroad.com>
463 * progmodes/verilog-mode.el (verilog-do-indent): Remove special indent
464 for declarations inside a parenthetical list. The code is ill-advised,
465 and doesn't work given user defined types.
466 (verilog-set-auto-endcomments): Enhance function automatic
467 endcomment to support functions that return user defined types.
468 (verilog-mode): Add code to tell which-function-mode minor mode
469 that Verilog supports this feature.
470 (verilog-beg-block-re-ordered, verilog-indent-re)
471 (verilog-forward-sexp, verilog-forward-wa, verilog-calc-1)
472 (verilog-leap-to-head): Support the new virtual and/or protected
473 tasks, as well as extern declarations of tasks for indenting and
474 for foward/backward expression.
476 2008-07-30 Wilson Snyder <wsnyder@wsnyder.org>
478 * progmodes/verilog-mode.el (verilog-read-decls): Allow AUTORESET
479 to work with SV 'logic' signals. [Julian Gorfajn]
480 (verilog-auto-inst-column): Make verilog-auto-inst-column customizable.
481 (verilog-string-replace-matches): Avoid recursion with small
483 (verilog-auto-inst-param-value, verilog-mode-version)
484 (verilog-mode-version-date, verilog-read-inst-param-value)
485 (verilog-auto-inst, verilog-auto-inst-param)
486 (verilog-auto-inst-port, verilog-simplify-range-expression): Add
487 verilog-auto-inst-param-value option for AUTOINST. [David Rogoff]
488 This allows parameters to be replaced with their values, on the
489 expansion of an AUTOINST with Verilog 2001 style parameter settings.
491 2008-07-30 David Lord <david.lord@phonecoop.coop> (tiny change)
493 * calendar/timeclock.el (timeclock-day-projects): Change a `cdr'
496 2008-07-29 Chong Yidong <cyd@stupidchicken.com>
498 * Makefile.in (ELCFILES): Add mairix.elc.
500 2008-07-29 David Engster <deng@randomsample.de>
502 * net/mairix.el: New file.
504 2008-07-29 Juri Linkov <juri@jurta.org>
506 * cus-edit.el (custom-face-tag): Inherit from custom-variable-tag
507 instead of variable-pitch with bold and 1.2 height.
509 * dired-aux.el (dired-do-async-shell-command): New command.
511 * dired.el (dired-mode-map): Rebind `dired-flag-garbage-files'
512 from `&' to `%&'. Bind `&' to `dired-do-async-shell-command'.
514 2008-07-29 Juri Linkov <juri@jurta.org>
516 * international/mule-cmds.el (ucs-names): New internal variable.
517 (ucs-names): New function.
518 (ucs-completions): New lazy completion variable.
519 (read-char-by-name): New function.
520 (ucs-insert): Replace interactive spec letter "s" with the call to
523 * replace.el (read-regexp): Add second arg `default'. Doc fix.
525 * replace.el (occur-read-primary-args):
526 * hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer)
527 (hi-lock-face-phrase-buffer): Use `(car regexp-history)' as the
528 second arg of `read-regexp'.
530 * dired-aux.el (dired-isearch-filenames): New user option.
531 (dired-isearch-orig-success-function): New internal variable.
532 (dired-isearch-filenames-setup, dired-isearch-filenames-end)
533 (dired-isearch-success-function): New functions.
534 (dired-isearch-filenames, dired-isearch-filenames-regexp):
537 * dired.el (dired-insert-set-properties): Add new text property
538 `dired-filename' to put on file names.
539 (dired-mode-map): Bind `M-s f C-s' to `dired-isearch-filenames'
540 and `M-s f M-C-s' to `dired-isearch-filenames-regexp'.
542 (dired-mode): Add hook `dired-isearch-filenames-setup' to
543 buffer-local `isearch-mode-hook'.
545 2008-07-29 Juanma Barranquero <lekktu@gmail.com>
547 * progmodes/ada-mode.el (ada-batch-reformat): Doc fix.
548 (ada-create-case-exception): Fix typo in docstring.
549 (ada-no-auto-case): Return nil, not the docstring.
550 (ada-indent-current): Reflow docstring.
552 * progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values)
553 (ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings.
554 (ada-prj-load-from-file): Reflow docstring.
555 (ada-prj-display-page): Fix typo in widget.
557 * progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private):
558 Fix typos in docstrings.
560 * progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr)
561 (ada-compile-current, ada-check-current, ada-run-application)
562 (ada-get-ali-file-name): Fix typos in docstrings.
563 (ada-xref-confirm-compile, ada-find-references)
564 (ada-find-local-references, ada-find-any-references): Doc fixes.
565 (ada-get-all-references): Fix typo in error message.
566 (ada-xref-current-project): Use `let', not `let*'.
567 (ada-do-file-completion, ada-xref-change-buffer): Reflow docstring.
569 2008-07-28 Vinicius Jose Latorre <viniciusjl@ig.com.br>
571 * whitespace.el (whitespace-newline): Change initialization to have a
572 low contrast relative to the background color. Suggested by David
573 Reitter <david.reitter@gmail.com>.
575 2008-07-28 Juri Linkov <juri@jurta.org>
577 * dired-aux.el (dired-do-isearch, dired-do-isearch-regexp):
580 * dired.el (dired-mode-map): Bind dired-do-isearch to `M-s a C-s'
581 and dired-do-isearch-regexp to `M-s a M-C-s'. Add menu items.
583 2008-07-28 Seiji Zenitani <zenitani@mac.com>
585 * help-fns.el (help-C-file-name): Add .m (Obj-C code) for Cocoa port.
586 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
588 2008-07-28 Stephen Leake <stephen_leake@stephe-leake.org>
590 * progmodes/ada-mode.el (ada-mode): Clean up XEmacs handling.
591 Add support for add-log.
592 (ada-end-stmt-re): Fix bug - allow comment after 'when'.
594 * progmodes/ada-prj.el: Delete 'main_unit' project variable.
595 (ada-prj-save): Prompt for file name if not given.
596 (ada-prj-display-page): Display casing exceptions.
598 * progmodes/ada-xref.el: Add support for GNAT project files as Emacs
599 Ada mode project files. Delete 'main_unit' project variable;
600 only need 'main'. Simplify handling of default project values.
601 Use cross-prefix consistently.
602 (ada-find-executable): Throw error if not found.
603 (ada-initialize-runtime-library): Improve error handling when
605 (ada-gnat-parse-gpr): New.
606 (ada-treat-cmd-string): Allow process environment variables.
607 (ada-xref-set-default-prj-values): Delete; replace with
608 ada-default-prj-properties.
609 (ada-parse-prj-file): Handle GNAT project files.
610 (ada-parse-prj-file-1): New, factored out of ada-parse-prj-file.
611 (ada-select-prj-file): New.
612 (ada-get-absolute-dir-list): Allow project and environment variables.
614 2008-07-27 Michael Albinus <michael.albinus@gmx.de>
616 Sync with Tramp 2.1.14.
618 * net/tramp.el (tramp-perl-directory-files-and-attributes)
619 (tramp-get-device): Make device number a cons cell.
620 (tramp-convert-file-attributes): Make inode a cons cell.
622 * net/trampver.el: Update release number.
624 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
626 * faces.el (face-set-after-frame-default): Treat 'ns as all other
629 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
631 * term/ns-win.el (do-applescript): New alias in carbon-compat section.
633 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
635 Remove support for Mac Carbon.
636 * term/mac-win.el: Remove file
637 * international/mule-cmds.el:
652 * Makefile.in: Remove code for Carbon.
654 2008-07-26 Adrian Robert <Adrian.B.Robert@gmail.com>
656 * term/ns-win.el (ns-extended-platform-support-mode): Get rid of
657 bindings for functions deleted by Dan N. 2008-07-21. Set
658 where-is-preferred-modifier. Add show-manual option to Help menu.
660 2008-07-26 Michael Albinus <michael.albinus@gmx.de>
662 * net/tramp.el (tramp-handle-start-file-process):
663 Set query-on-exit flag. Kill temporary buffer.
664 (tramp-process-sentinel): Remove defun.
665 (tramp-do-copy-or-rename-file-out-of-band)
666 (tramp-maybe-open-connection): Don't call it.
668 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Don't call
669 `tramp-process-sentinel'.
671 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Don't call
672 `tramp-process-sentinel'.
674 * net/xesam.el (xesam-from): Remove defvar.
675 (xesam-mode): Derive from `special-mode'. Extend `xesam-mode-map'
676 and `mode-line-position'.
677 (xesam-refresh-entry): Remove argument `hit-number'. Add debug
678 information to the widgets. Don't set `mode-line-position'.
679 (xesam-refresh-search-buffer): Correct hit number computing.
680 Don't set `mode-line-position'.
681 (xesam-new-search): Add debug information to the mode line.
683 2008-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
685 * diff-mode.el (diff-show-trailing-blanks): Renamed to
686 diff-show-trailing-whitespaces.
688 2008-07-25 Chong Yidong <cyd@stupidchicken.com>
690 * textmodes/tex-mode.el (tex-compilation-parse-errors): Check for
691 invalid filename strings when parsing tex errors (bug#376).
693 2008-07-25 Dan Nicolaescu <dann@ics.uci.edu>
695 * menu-bar.el (menu-bar-file-menu): Fix typo.
697 2008-07-25 Juanma Barranquero <lekktu@gmail.com>
699 * play/solitaire.el (solitaire-mode-map): Define within defvar.
700 (solitaire-mode): Define with `define-derived-mode'.
701 (solitaire-insert-board, solitaire-right, solitaire-left, solitaire-up)
702 (solitaire-down): Use "?\s" instead of "?\ "; use `when'.
703 (solitaire-undo, solitaire-check): Use `when'.
704 (solitaire-solve): Err out if the solitaire is already in progress.
707 * descr-text.el (describe-char): Don't overwrite local variable char
708 when describing characters with display-table entries. Display font
709 backend when describing composed characters. Simplify: use `let'
710 instead of `let*', and `or x y' instead of `if x x y'.
712 2008-07-25 Chong Yidong <cyd@stupidchicken.com>
714 * image-mode.el (image-minor-mode): Set up winprops.
716 2008-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
718 * diff-mode.el (diff-show-trailing-blanks): New fun.
719 Show trailing blanks in modified lines for diff-mode.
721 2008-07-24 Michael Albinus <michael.albinus@gmx.de>
723 * Makefile.in (ELCFILES): Add net/xesam.el.
725 * net/tramp.el (tramp-handle-start-file-process): Make NAME a unique
726 process name. Reported by Markus Triska <markus.triska@gmx.at>.
728 * net/xesam.el: New file.
730 2008-07-24 Sven Joachim <svenjoac@gmx.de>
732 * dired-aux.el (dired-copy-file-recursive): Avoid calling
733 set-file-modes when creating target directories.
735 2008-07-24 Juanma Barranquero <lekktu@gmail.com>
737 * play/solitaire.el (solitaire-mode): Fix typo in docstring.
738 Set `show-trailing-whitespace' to nil.
739 (solitaire, solitaire-mode-map, solitaire-mode-hook, solitaire-solve):
740 Fix typos in docstrings.
742 2008-07-24 Chong Yidong <cyd@stupidchicken.com>
744 * textmodes/enriched.el (enriched-mode-map): Bind C-a and C-j via
745 key remapping, not directly.
747 2008-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
749 * whitespace.el: New version 11.2.
750 (whitespace-newline-mode, global-whitespace-newline-mode): New newline
751 minor mode visualization.
753 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu>
755 * progmodes/cc-mode.el (auto-mode-alist): Add .i and .ii files.
757 * Makefile.in (ELCFILES): Add term/common-win.elc.
759 * vc-dir.el (vc-dir-search, vc-dir-isearch)
760 (vc-dir-isearch-regexp): New functions.
761 (vc-dir-mode-map, vc-dir-menu-map): Bind them.
763 2008-07-23 Juri Linkov <juri@jurta.org>
765 * isearch-multi.el: Remove file to avoid dos file name clashes
766 with isearch-x.el. Move most content to misearch.el.
768 * misearch.el: New file with most content from isearch-multi.el.
769 Rename `isearch-buffers' name prefixes to `multi-isearch'.
770 Remove `isearch-buffers-minor-mode'. Add new function
771 `multi-isearch-setup' to `isearch-mode-hook'. New top-level
772 commands `multi-isearch-buffers', `multi-isearch-buffers-regexp',
773 `multi-isearch-files', `multi-isearch-files-regexp'.
775 * Makefile.in (ELCFILES): Remove isearch-multi.elc. Add misearch.elc.
777 * isearch.el (isearch-message-prefix): Display "Multi" when
778 `multi-isearch-next-buffer-current-function' is non-nil.
779 (isearch-search-string): Replace `isearch-buffers-next-buffer-function'
780 with `multi-isearch-next-buffer-current-function', and
781 `isearch-buffers-current-buffer' with `multi-isearch-current-buffer'.
783 * add-log.el (change-log-mode): Set `change-log-next-buffer' to
784 `multi-isearch-next-buffer-function' instead of
785 `isearch-buffers-next-buffer-function'. Remove call to
786 `isearch-buffers-minor-mode'.
788 * buff-menu.el (Buffer-menu-marked-buffers)
789 (Buffer-menu-isearch-buffers)
790 (Buffer-menu-isearch-buffers-regexp): New functions.
791 (Buffer-menu-mode-map): Bind "M-s a C-s" to
792 `Buffer-menu-isearch-buffers', and "M-s a M-C-s" to
793 `Buffer-menu-isearch-buffers-regexp'.
794 (Buffer-menu-mode): Document new commands in docstring.
795 (list-buffers-noselect): Add one space after Info file name
796 according to the Info address convention.
798 * ibuf-ext.el (ibuffer-do-isearch, ibuffer-do-isearch-regexp):
801 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-s" to
802 `ibuffer-do-isearch' and "M-s a M-C-s" to `ibuffer-do-isearch-regexp'.
803 (ibuffer-mode): Document new commands in docstring.
805 * filesets.el (filesets-commands): Add commands for "Isearch" and
806 "Isearch (regexp)". Replace `query-replace' and `query-replace-regexp'
807 with `perform-replace' using `filesets-cmd-query-replace-regexp-getargs'.
808 (filesets-run-cmd): Call `fn' only once if it is `multi-isearch-files'
809 or `multi-isearch-files-regexp'.
810 (filesets-cmd-query-replace-getargs): Call standard function
811 `query-replace-read-args' to read `query-replace' arguments.
812 Add `multi-query-replace-map'.
813 (filesets-cmd-query-replace-regexp-getargs)
814 (filesets-cmd-isearch-getargs): New functions.
816 2008-07-23 Chong Yidong <cyd@stupidchicken.com>
818 * international/mule.el (recode-region): Deactivate mark at the end.
820 2008-07-23 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
822 * progmodes/flymake.el (flymake-errline, flymake-warnline):
823 Use more suitable colors on dark displays.
825 2008-07-23 Michael Albinus <michael.albinus@gmx.de>
827 * net/tramp.el (tramp-methods): Add "-q" for "scp", "scp1",
828 "scp2", "ssh", "ssh1", "ssh2", "scpc", "scpx", "sshx".
829 (tramp-temp-buffer-name): New defconst.
830 (tramp-handle-start-file-process): Use it. Apply "exec", for the
831 command. No trailing prompt.
832 (tramp-process-sentinel): Remove temporary buffer, if existing.
833 Don't handle trailing prompt.
834 (tramp-open-connection-setup-interactive-shell):
835 Use `tramp-temp-buffer-name'.
837 2008-07-23 Chong Yidong <cyd@stupidchicken.com>
839 * shell.el (shell-dynamic-complete-functions):
840 Use comint-dynamic-complete-filename as well (bug#361).
842 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
845 * version.el (emacs-version):
847 * frame.el (make-frame-on-display): Check for ns instead of
850 * dired.el (dired-mode-map): Show the key binding for wdired.
852 * menu-bar.el (menu-bar-file-menu): Show the key binding for
855 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
857 * term/ns-win.el (x-list-fonts): Drop alias.
859 2008-07-23 Juri Linkov <juri@jurta.org>
861 * replace.el (multi-query-replace-map): New variable.
862 (perform-replace): Add processing of new multi-buffer keys bound
863 to `automatic-all' and `exit-current'. Set `query-flag' to nil
864 if last input char was `automatic-all'. Set new local variable
865 `multi-buffer' to t when one of new two keys were typed. Return
866 non-nil value of `multi-buffer' that tells to calling functions
867 to continue replacement on the next file.
869 * progmodes/etags.el (tags-query-replace): Set arg `map' of
870 `perform-replace' to `multi-query-replace-map'.
872 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
874 * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's
875 otherwise displayed in every buffer.
877 * vc-arch.el (vc-arch-trim-make-sentinel): Use a closure.
878 (vc-arch-trim-one-revlib): Delete temp directories as well.
880 2008-07-22 Stephen Eglen <stephen@gnu.org>
882 * iswitchb.el (iswitchb-delim): New variable. Suggested by Ted Roden.
884 2008-07-22 Sven Joachim <svenjoac@gmx.de>
886 * vc-dir.el (vc-dir-recompute-file-state): Fix mismatched parenthesis.
888 2008-07-22 Miles Bader <miles@gnu.org>
890 * progmodes/sh-script.el (sh-newline-and-indent): Remove.
891 (sh-mode-map): Remove remapping of newline-and-indent.
893 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu>
895 * vc.el (Todo): Update.
897 * vc-hooks.el: Remove obsolete comment.
899 * vc-git.el (vc-git-status-printer): Update the directory display
900 to match the default.
902 * vc-dir.el (vc-dir-recompute-file-state): Add workaround for CVS.
904 2008-07-21 Chong Yidong <cyd@stupidchicken.com>
906 * menu-bar.el (menu-bar-line-wrapping-menu): Use Visual Line mode
907 for "word wrap" command.
909 * simple.el (visual-line-mode): Disable truncate-partial-width-windows.
911 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
913 * term/ns-win.el: Rename ns- functions/variables to the
914 corresponding x- versions.
915 (x-select-text, x-cut-buffer-or-selection-value)
916 (x-disown-selection-internal, x-get-selection-internal)
917 (x-own-selection-internal, x-defined-colors, xw-defined-colors)
918 (x-display-mm-width, x-display-mm-height)
919 (x-display-backing-store, x-display-save-under)
920 (x-display-visual-class, x-display-screens, x-focus-frame): Remove
923 * frame.el (ns-display-name): Remove declaration.
924 (make-frame-on-display): Use x-display-name instead
925 ns-display-name. Use unless.
927 * startup.el (command-line-1): Fix indentation.
929 * term/ns-win.el (up-one, down-one, left-one, right-one): Remove,
930 checked in inadvertently.
932 2008-07-21 Chong Yidong <cyd@stupidchicken.com>
934 * term/ns-win.el: Standardize references to "Nextstep" in
935 comments, messages, and docstrings.
936 (ns-handle-args, x-parse-geometry)
937 (ns-extended-platform-support-mode, x-setup-function-keys)
938 (ns-select-overlay, ns-unselect-line, ns-yes-or-no-p)
939 (ns-set-pasteboard, ns-scroll-bar-move, ns-defined-colors)
940 (ns-initialized, ns-initialize-window-system): Doc fixes.
942 2008-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
944 * diff-mode.el (diff-auto-refine): Delete defcustom.
945 (diff-auto-refine-mode): New func/var via define-minor-mode.
946 Update var ref to use diff-auto-refine-mode.
947 * smerge-mode.el (diff-mode): Require when compiling.
948 (smerge-auto-refine): Delete defcustom.
949 Update smerge-auto-refine ref to use diff-auto-refine-mode.
951 2008-07-21 Chong Yidong <cyd@stupidchicken.com>
953 * simple.el (visual-line): New custom group.
954 (visual-line-fringe-indicators): New var.
955 (visual-line-mode): Set fringe-indicator-alist based on
956 visual-line-fringe-indicators. Add lighter.
958 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu>
960 * term/x-win.el (x-handle-switch, x-handle-numeric-switch)
961 (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
962 (x-handle-geometry, x-handle-name-switch, x-display-name)
963 (x-handle-display, x-handle-args, x-colors): Move ...
964 * term/common-win.el: ... here. New file.
965 * term/w32-win.el (x-handle-switch, x-handle-numeric-switch)
966 (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch)
967 (x-handle-geometry, x-handle-name-switch, x-display-name)
968 (x-handle-display, x-handle-args, x-colors): Remove.
969 * loadup.el: Load term/common-win before term/x-win and term/w32-win.
971 2008-07-19 Juri Linkov <juri@jurta.org>
973 * startup.el (fancy-startup-text): Move the line "To quit
974 a partially entered command, type Control-g" a few lines below
975 to be after the line "To start". Add text "at gnu.org" to
976 "Overview of Emacs features".
978 * dired.el (dired-mode-map): Fix menu text of
979 image-dired-display-thumbs.
981 * image-dired.el (image-dired-cmd-create-thumbnail-options)
982 (image-dired-cmd-create-temp-image-options)
983 (image-dired-cmd-create-standard-thumbnail-command): Add > to the
984 ImageMagick command line to change the dimensions of the image
985 only if its width or height exceeds the geometry specification.
987 * longlines.el: Add coding cookie utf-8 for the pilcrow sign.
989 * proced.el (proced-mode, proced): Add \\<proced-mode-map>
992 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com>
994 * term/ns-win.el (ns-ps-print-menu-map): Fix typo pointed out by
995 Vinicius Jose Latorre.
997 2008-07-19 Glenn Morris <rgm@gnu.org>
999 * term/ns-win.el (ns-make-command-string): Use mapconcat.
1000 (ns-save-preferences): Fix typo in previous change. (Bug#573)
1002 2008-07-18 Michael Albinus <michael.albinus@gmx.de>
1004 * net/dbus.el (dbus-interface-properties): New defconst.
1005 (dbus-introspect): Update docstring.
1006 (dbus-introspect-xml, dbus-introspect-get-attribute)
1007 (dbus-introspect-get-node-names, dbus-introspect-get-all-nodes)
1008 (dbus-introspect-get-interface-names)
1009 (dbus-introspect-get-interface, dbus-introspect-get-method-names)
1010 (dbus-introspect-get-method, dbus-introspect-get-signal-names)
1011 (dbus-introspect-get-signal, dbus-introspect-get-property-names)
1012 (dbus-introspect-get-property)
1013 (dbus-introspect-get-annotation-names)
1014 (dbus-introspect-get-annotation)
1015 (dbus-introspect-get-argument-names, dbus-introspect-get-argument)
1016 (dbus-introspect-get-signature, dbus-get-property)
1017 (dbus-set-property, dbus-get-all-properties): New defuns.
1019 2008-07-18 Chong Yidong <cyd@stupidchicken.com>
1021 * Makefile.in (ELCFILES): Remove ns-carbon-compat.elc. and
1024 * ns-carbon-compat.el: File removed.
1026 * ns-grabenv.el: File removed.
1028 * term/ns-win.el: Contents of ns-carbon-compat.el and
1029 ns-grabenv.el moved here.
1030 (ns-grabenv, ns-open-file-select-line): Doc fixes.
1031 (ns-submit-bug-report): Function removed. Reports go to the main
1033 (ns-handle-args, ns-spi-service-call): Doc fixes.
1034 (info-ns-emacs): Function removed. Nextstep port manual will be
1035 merged into the Emacs manual, so no separate link needed.
1037 2008-07-18 Francesc Rocher <rocher@member.fsf.org>
1039 * startup.el (fancy-splash-head): Fix change of 2008-07-02.
1041 2008-07-18 Glenn Morris <rgm@gnu.org>
1043 * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change
1044 to XEmacs, since it does nothing for Emacs.
1046 2008-07-18 Katsumi Yamaoka <yamaoka@jpl.org>
1048 * net/tls.el (open-tls-stream): Make it work with the 2nd argument
1049 BUFFER that is a string but does not exist as a buffer object, as
1050 mentioned in the doc-string.
1052 2008-07-17 Chong Yidong <cyd@stupidchicken.com>
1054 * simple.el (line-move-visual): Make it a defcustom.
1055 (line-move-1): Convert temporary-goal-column back to an integer if
1056 it was set as a float by a previous call to line-move-visual.
1057 (end-of-visual-line, beginning-of-visual-line)
1058 (next-logical-line, previous-logical-line): New functions.
1060 2008-07-17 David Reitter <david.reitter@gmail.com>
1062 * simple.el (kill-visual-line, turn-on-visual-line-mode): New
1064 (visual-line-mode, global-visual-line-mode): New minor mode.
1065 (visual-line-mode-map): New variable.
1067 2008-07-17 Glenn Morris <rgm@gnu.org>
1069 * term/ns-win.el (parameters): Declare for compiler.
1071 2008-07-17 Fan Kai <fktpp@xemacs.org> (tiny change)
1073 * eshell/esh-arg.el (eshell-quote-backslash): Fix eshell path completion
1076 2008-07-17 Daiki Ueno <ueno@unixuser.org>
1078 * epa.el (epa-key-list-mode): Use run-mode-hooks.
1079 (epa-key-mode): Ditto.
1080 (epa-info-mode): Ditto.
1082 2008-07-17 Glenn Morris <rgm@gnu.org>
1084 * term/ns-win.el (ns-handle-switch): Simplify. Handle the numeric case.
1085 (ns-handle-numeric-switch): Just call ns-handle-switch.
1086 (ns-handle-name-switch, ns-handle-nxopen, ns-handle-nxopentemp)
1087 (ns-handle-args): Simplify using `pop'.
1088 (ns-display-name): Define (used in frame.el).
1089 (menu-bar-select-frame): Add (ignored) arg to more closely match the
1090 original definition.
1091 (ns-perform-service): Declare.
1092 (ns-save-preferences): Use fewer `let's.
1094 * frame.el (ns-display-name): Declare for compiler.
1096 2008-07-17 Kenichi Handa <handa@m17n.org>
1098 * descr-text.el (describe-char-unidata-list): Initialize to the
1099 list of name, general-category, decomposition, and old-name.
1101 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
1103 * startup.el (command-line-1): Update processing of NS long options to
1104 mimic recent changes to processing of X long options.
1106 2008-07-16 Nick Roberts <nickrob@snap.net.nz>
1108 * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a
1109 list of #defines for remote files.
1110 (gdb-source-info): Only show main if it has been found.
1112 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * term/ns-win.el: Require CL; fix up comment style; reindent.
1115 (ns-define-service): Use subst-char-in-string. Avoid `eval'.
1116 (ns-save-preferences): Use `case'.
1117 (ns-initialize-window-system): Use `dolist'.
1119 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
1121 * loadup.el: Remove load of easy-mmode prior to ns-win when NS
1123 * term/ns-win.el (ns-extended-platform-support-mode):
1124 Correct/improve documentation.
1126 2008-07-16 Glenn Morris <rgm@gnu.org>
1128 * emacs-lisp/cl-compat.el, emacs-lisp/cl-macs.el, emacs-lisp/cl-seq.el:
1129 Simply require 'cl (see comment in cl-compat.el).
1130 * emacs-lisp/cl-macs.el (cl-compile-time-init): Remove function.
1131 * emacs-lisp/cl.el (cl-do-pop, cl-mapcar-many): Declare for compiler.
1132 (cl-hack-byte-compiler): Load cl-macs and run cl-hack-bytecomp-hook
1133 directly rather by subterfuge. Provide cl before loading cl-macs.
1135 * paths.el (rmail-spool-directory): Remove settings for systems that are
1136 no longer supported.
1138 * frame.el (ns-initialize-window-system): Declare for compiler.
1140 * term/ns-win.el: Add numerous declarations for compiler.
1141 (ns-pop-up-frames): Move definition before use. Doc fix.
1143 * emacs-lisp/check-declare.el (check-declare-locate)
1144 (check-declare-verify): Handle .m files.
1146 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
1148 * ns-carbon-compat.el: New file: user-visible compatibility of
1149 NeXTstep port with Carbon port.
1150 * ns-grabenv.el: New file: functionality useful on OS X platform to
1151 expose environment variables inside Emacs started from icon.
1152 * Makefile.in (ELCFILES): Add ns-carbon-compat, ns-grabenv, ns-win.
1160 * simple.el: Add ns to window systems treated as GUIs.
1161 * facemenu.el (facemenu-read-color): Don't require a name match under
1162 NS, to allow numeric color entry.
1163 * frame.el (make-frame-on-display): Follow code for 'x in initializing
1164 'ns window system if need be.
1165 (various): Add 'ns as described above.
1166 * loadup.el: Load ns-win.el, easy-menu.el, easy-mmode.el if
1167 ns-windowing is active.
1168 * startup.el (command-line-ns-option-alist): New constant to handle NS
1169 windowing system specific command line args analogous to how they are
1170 handled for X windows.
1171 (command-line-1): Use the above where appropriate.
1172 * version.el: Add NS port version.
1173 * woman.el (woman-man.conf-path): Add /usr/share/misc to init path on
1174 Darwin (usually OS X) systems.
1175 (woman-use-own-frame): Include 'ns in list of GUI window systems.
1176 * emulation/viper-util.el (ns-display-color-p)
1177 (ns-color-defined-p): Remove these (caustically-commented) outdated
1178 compensations for a port that was never itself integrated until now.
1179 * gnus/gnus-util.el (gnus-select-frame-set-input-focus): Add support
1180 for NS window system.
1181 * international/mule-cmds.el: Add 'ns to list of special-cased window
1182 systems (probably most of these, x/w32/mac/ns could be changed to
1183 window-system non-nil).
1184 * term/ns-win.el: New file: lisp-side support for NS windowing system.
1186 2008-07-14 Jason Rumney <jasonr@gnu.org>
1188 * term/w32-win.el (x-handle-switch, x-handle-name-switch)
1189 (x-handle-numeric-switch, x-handle-initial-switch)
1190 (x-handle-xrm-switch, x-handle-args, x-handle-display)
1191 (xw-defined-colors, w32-initialize-window-system):
1192 Avoid use of cl pop and push macros.
1194 2008-07-14 Martin Rudalics <rudalics@gmx.at>
1196 * add-log.el (change-log-goto-source): Avoid wrong-type-argument
1197 error when change-log-search-file-name returns nil.
1199 2008-07-13 Martin Rudalics <rudalics@gmx.at>
1201 * add-log.el (change-log-search-file-name):
1202 Use match-string-no-properties.
1203 (change-log-search-tag-name-1, change-log-search-tag-name)
1204 (change-log-goto-source-1, change-log-goto-source): New functions.
1205 (change-log-tag-re, change-log-find-head, change-log-find-tail):
1207 (change-log-mode-map): Bind C-c C-c to change-log-goto-source.
1209 2008-07-13 Jay Belanger <jay.p.belanger@gmail.com>
1211 * calc/calc-help.el (calc-describe-key): Add angles to special key
1214 2008-07-13 Vincent Belaïche <vincent.b.1@hotmail.fr>
1216 * calc/calc-help.el (calc-describe-thing): Use `re-search-forward' to
1219 2008-07-12 Chong Yidong <cyd@stupidchicken.com>
1221 * simple.el (line-move-visual): Handle null pixel position gracefully.
1223 2008-07-11 Jason Rumney <jasonr@gnu.org>
1225 * files.el (file-truename): Get truename of ancestors if file does
1226 not exist on Windows.
1228 2008-07-11 Chong Yidong <cyd@stupidchicken.com>
1230 * simple.el (line-move-visual): Obey goal-column and no-error arg.
1231 (track-eol, temporary-goal-column, previous-line, next-line):
1233 (move-end-of-line, move-beginning-of-line): Bind line-move-visual
1236 2008-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * simple.el (line-move-visual): New var.
1239 (line-move-visual): New function.
1240 (line-move): Call line-move-visual.
1242 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu>
1244 * progmodes/grep.el (grep-files-aliases): Improve the C++ source
1245 pattern and add patterns for C++ header files.
1247 2008-07-10 Chong Yidong <cyd@stupidchicken.com>
1249 * window.el (truncated-partial-width-window-p): New function.
1251 * menu-bar.el: Remove Longlines mode from menu. Add word-wrap option.
1253 * faces.el (x-create-frame-with-faces): Don't pass parameters that
1254 are set later to x-create-frame.
1255 (face-set-after-frame-default): Apply X resources for non-default
1258 2008-07-08 Chong Yidong <cyd@stupidchicken.com>
1260 * faces.el (face-set-after-frame-default): Simplify. Don't apply
1261 frame-specific X resource settings. Set faces using a list of
1262 frame parameters explicitly passed to the calling
1263 function (e.g. make-frame).
1264 (x-create-frame-with-faces, tty-create-frame-with-faces): Supply
1265 explicit frame parameter list to face-set-after-frame-default.
1267 2008-07-08 Eduard Wiebe <usenet@pusto.de> (tiny change)
1269 * net/browse-url.el (browse-url-default-browser):
1270 Fix argument list in lambda.
1272 2008-07-07 Ulf Jasper <ulf@web.de>
1274 * net/newst-backend.el (newsticker--get-news-by-url): Catch errors
1276 (newsticker--sentinel-work): Fix xerror typo.
1278 2008-07-07 Dan Nicolaescu <dann@ics.uci.edu>
1280 * vc-dir.el (vc-dir-refresh): Only update files.
1282 * vc-git.el (vc-git--ls-files-state): Remove unused function.
1284 * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes.
1286 2008-07-06 John Paul Wallington <jpw@pobox.com>
1288 * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes.
1290 2008-07-05 Alexandre Julliard <julliard@winehq.org>
1292 * vc-git.el (vc-git-registered): Return true for removed files.
1293 (vc-git-print-log, vc-git-log-view-mode): Print a single log for
1294 all the files instead of one per file.
1295 (vc-git-previous-revision): Add support for project-wide previous
1296 revision when specified file is nil.
1298 2008-07-05 Dan Nicolaescu <dann@ics.uci.edu>
1300 * vms-patch.el, vmsproc.el, mail/vms-pmail.el: Move to obsolete dir.
1302 * vc-dir.el (vc-dir-find-child-files): New function.
1303 (vc-dir-resync-directory-files): New function.
1304 (vc-dir-recompute-file-state): New function, broken out of ...
1305 (vc-dir-resynch-file): ... here. Also deal with directories.
1306 * vc-dispatcher.el (vc-resynch-buffers-in-directory): New function.
1307 (vc-resynch-buffer): Use it.
1309 * vc-hg.el (vc-hg-registered): Do not set vc-state.
1311 * vc-annotate.el (vc-annotate-mode-menu): Add separator.
1313 2008-07-05 Nick Roberts <nickrob@snap.net.nz>
1315 * progmodes/gdb-ui.el (gdb-display-buffer): Don't split a buffer
1316 if it's not part of gdb-ui, e.g, at start.
1318 * progmodes/gud.el (gud-gdb-get-stackframe): Allow absolute
1319 filenames in stack trace (text command mode).
1321 2008-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * mouse-drag.el (mouse-drag-throw, mouse-drag-drag): Autoload.
1325 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
1326 Use syntax-ppss on a position *before* the char we want to change.
1328 2008-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1330 * vc-dir.el (vc-dir-query-replace-regexp): New function.
1331 (vc-dir-tool-bar-map, vc-dir-menu-map): Bind it.
1332 (vc-dir-mode-map): Likewise.
1334 2008-07-03 Juanma Barranquero <lekktu@gmail.com>
1336 * eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring.
1337 (eshell-parse-argument-hook, eshell-special-chars-inside-quoting)
1338 (eshell-arg-load-hook, eshell-special-chars-outside-quoting):
1339 Remove spurious * in defcustom docstrings.
1341 * textmodes/fill.el (fill-paragraph): Fix typo in docstring.
1342 (fill-individual-varying-indent, colon-double-space, enable-kinsoku)
1343 (adaptive-fill-mode, adaptive-fill-first-line-regexp)
1344 (default-justification): Remove spurious * in defcustom docstrings.
1346 * textmodes/rst.el (rst, rst-line-homogeneous-p, rst-mode-abbrev-table)
1347 (rst-font-lock-keywords-function, rst-mode, rst-minor-mode)
1348 (rst-compare-decorations, rst-default-indent, rst-update-section)
1349 (rst-decoration-complete-p, rst-section-tree, rst-toc-insert-node)
1350 (rst-toc-insert-find-delete-contents, rst-toc-count-lines)
1351 (rst-toc-mode-goto-section, rst-faces, rst-level-face-base-color):
1352 Fix typos in docstrings.
1353 (rst-mode-lazy): Fix typo in docstring. Remove spurious *.
1354 (rst-adjust, rst-line-homogeneous-p, rst-suggest-new-decoration)
1355 (rst-get-decorations-around, rst-section-tree-point)
1356 (rst-font-lock-adornment-point): Reflow docstrings.
1357 (rst-get-decoration, rst-get-decoration-match, rst-adjust-decoration):
1359 (rst-re-enumerations): Comment out.
1361 * nxml/nxml-glyph.el (nxml-glyph-set-hook):
1362 * nxml/nxml-uchnm.el (nxml-unicode-blocks)
1363 (nxml-unicode-block-char-name-set):
1364 * nxml/nxml-util.el (nxml-debug, nxml-make-namespace):
1365 * nxml/rng-nxml.el (rng-set-state-after):
1366 * nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring.
1368 * nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary)
1369 (rng-c-parse-annotation-body):
1370 * nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings.
1372 * nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1)
1373 (nxml-extend-region, nxml-merge-indent-context-type, nxml-complete)
1374 (nxml-forward-balanced-item, nxml-dynamic-markup-word)
1375 (nxml-define-char-name-set, nxml-toggle-char-ref-extra-display):
1376 Fix typos in docstrings.
1377 (nxml-attribute-indent): Reflow docstring.
1378 (nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end)
1379 (nxml-default-buffer-file-coding-system): Doc fixes.
1381 * nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state)
1382 (nxml-ns-set-prefix): Fix typos in docstrings.
1383 (nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default):
1385 (nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes.
1387 * nxml/nxml-outln.el (nxml-hide-all-text-content)
1388 (nxml-show-direct-text-content, nxml-show-direct-subheadings)
1389 (nxml-hide-direct-text-content, nxml-hide-subheadings)
1390 (nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other)
1391 (nxml-outline-display-rest, nxml-outline-set-overlay)
1392 (nxml-section-tag-forward, nxml-section-tag-backward)
1393 (nxml-back-to-section-start): Fix typos in docstrings.
1395 * nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file):
1398 * nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards)
1399 (nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes.
1400 (nxml-scan-after-change): Fix typo in docstring.
1402 * nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list)
1403 (rng-name-class-possible-names): Doc fixes.
1404 (rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris)
1405 (rng-match-possible-start-tag-names, rng-match-possible-value-strings):
1406 Fix typos in docstrings.
1407 (rng-intern-group-shortcut, rng-intern-choice-shortcut):
1410 * nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes.
1411 (rng-substq, rng-complete-before-point): Fix typos in docstrings.
1413 * nxml/rng-xsd.el (rng-xsd-make-date-time-regexp)
1414 (rng-xsd-convert-date-time): Reflow docstrings.
1415 (rng-xsd-compile): Fix typo in docstring.
1417 * nxml/rng-loc.el (rng-current-schema-file-name)
1418 (rng-locate-schema-file-using, rng-locate-schema-file-from-type-id):
1420 (rng-set-schema-file): Fix typo in docstring.
1422 * nxml/rng-valid.el (rng-error-count, rng-validate-mode)
1423 (rng-do-some-validation, rng-process-start-tag, rng-process-text):
1424 Fix typos in docstrings.
1425 (rng-message-overlay, rng-conditional-up-to-date-start)
1426 (rng-conditional-up-to-date-end): Doc fixes.
1427 (rng-next-error, rng-previous-error): Reflow docstrings.
1429 * nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix.
1430 (xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs)
1431 (xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog)
1432 (xmltok-merge-attributes): Fix typos in docstrings.
1433 (xmltok-make-attribute, xmltok-forward-special)
1434 (xmltok-get-declared-encoding-position): Reflow docstrings.
1436 * nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix.
1437 (xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp):
1438 Fix typos in docstrings.
1440 2008-07-02 John Paul Wallington <jpw@pobox.com>
1442 * ibuffer.el (ibuffer-buffer-file-name):
1443 Use `list-buffers-directory'. Remove special-casing for `cvs-mode'
1444 and `vc-dir-mode'. Suggested by Dan Nicolaescu.
1446 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com>
1448 * files.el (backup-extract-version): Handle versioned directories.
1449 (trash-directory): New variable.
1450 (move-file-to-trash): New function.
1452 * cus-start.el (delete-by-moving-to-trash): Declare for custom.
1454 2008-07-02 Magnus Henoch <mange@freemail.hu>
1456 * vc-git.el (vc-git-annotate-command): Use proper option for
1457 specifying revision.
1459 2008-07-02 Francesc Rocher <rocher@member.fsf.org>
1461 * startup.el (fancy-splash-head): Prefer SVG or PNG splash image,
1464 2008-07-01 Dan Nicolaescu <dann@ics.uci.edu>
1466 * uniquify.el (uniquify-list-buffers-directory-modes): Add vc-dir-mode.
1468 * vc-annotate.el (vc-annotate-mode-map): Use lower case keys.
1469 Add binding for vc-annotate-show-changeset-diff-revision-at-line.
1471 * vc-dir.el (vc-dir-mode): Set list-buffers-directory.
1473 2008-07-01 Nick Roberts <nickrob@snap.net.nz>
1475 * progmodes/gdb-ui.el (gdb-create-source-file-list): New option.
1476 (gdb-init-2): Use it. Don't run gdb-mode-hook again.
1477 (gdb-var-list-children-regexp, gdb-var-update-regexp)
1478 (gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
1479 (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
1480 (gdb-stack-list-locals-regexp): Future proof regexps better.
1482 2008-06-30 Juri Linkov <juri@jurta.org>
1484 * faces.el (face-name-history): New variable.
1485 (make-face, make-empty-face): Replace interactive spec "S"
1486 with `read-from-minibuffer' where `read' arg is t and
1487 `hist' arg is `face-name-history'.
1488 (read-face-name): Set `hist' arg of `completing-read-multiple'
1489 to `face-name-history'.
1490 (list-faces-display): Use `read-regexp' instead of `read-string'
1493 * hi-lock.el (hi-lock-regexp-history): Make it an obsolete alias
1494 to `regexp-history'.
1495 (hi-lock-face-history): Rename to `hi-lock-face-defaults' and
1496 make it an obsolete alias to it.
1497 (hi-lock-face-defaults): New variable renamed from
1498 `hi-lock-face-history'.
1499 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1500 (hi-lock-face-phrase-buffer): Use `read-regexp' instead of
1501 `read-from-minibuffer'. Doc fix.
1502 (hi-lock-read-face-name): Replace `hi-lock-face-history' with
1503 `hi-lock-face-defaults'. Remove `mapcar (lambda (f) (cons f f))'.
1504 Set `hist' arg of `completing-read' to `face-name-history'.
1505 Put a list of default faces to `default' arg instead of `hist' arg.
1507 * bindings.el (abbrev-map, narrow-map): New variables.
1508 Bind `C-x a' to `abbrev-map' and `C-x n' to `narrow-map'.
1509 Rebind related commands to these new maps.
1510 (ctl-x-r-map): New variable for rectangle, register and bookmark
1511 keys. Move rectangle keybindings to rect.el and register
1512 keybindings to register.el.
1513 (next-buffer, previous-buffer): Remove C-x prefix and move
1514 keybindings to ctl-x-map.
1516 * bookmark.el: Rebind three global `C-x r' keys "b", "m", "l"
1517 to the new map `ctl-x-r-map' in autoload cookies.
1519 * expand.el: Rebind two global `C-x a' keys "n", "p"
1520 to the new map `abbrev-map' in autoload cookies.
1522 * rect.el: Bind global keys to ctl-x-r-map in autoload cookies.
1524 * register.el: Bind global keys to ctl-x-r-map in autoload cookies.
1526 2008-06-30 Miles Bader <miles@gnu.org>
1528 * net/rcirc.el (rcirc-markup-attributes): Don't skip a character
1529 after processing an escape sequence.
1531 2008-06-29 Michael Albinus <michael.albinus@gmx.de>
1533 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch
1534 from 2008-06-28. It does not work on W32.
1536 2008-06-29 Juri Linkov <juri@jurta.org>
1538 * replace.el (read-regexp): New function.
1539 (keep-lines-read-args, occur-read-primary-args):
1540 Call `read-regexp' instead of code moved to new function.
1541 (keep-lines, flush-lines, how-many): Remove parenthesis and colon
1542 from the end of prompt.
1543 (replace-re-search-function): Doc fix.
1545 2008-06-29 Kenichi Handa <handa@m17n.org>
1547 * descr-text.el (describe-char-display): Always return a string.
1548 (describe-char-padded-string): New function.
1549 (describe-char): Adjusted for the change of
1550 describe-char-display. Use describe-char-padded-string.
1552 2008-06-29 Andreas Schwab <schwab@suse.de>
1554 * vc-dir.el (vc-dir): Make backend argument optional and use
1555 vc-responsible-backend when nil. Interactively pass nil for
1556 backend instead of using the backend of what happens to be
1557 default-directory at the time of the call.
1559 * find-dired.el (find-dired-filter): Preserve point.
1561 2008-06-28 Juanma Barranquero <lekktu@gmail.com>
1563 * net/sasl.el (sasl-client-set-property, sasl-make-mechanism)
1564 (sasl-find-mechanism, sasl-next-step):
1565 * net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request)
1566 (sasl-ntlm-response): Fix typos in docstrings.
1568 2008-06-28 robert marshall <robert@capuchin.co.uk> (tiny change)
1570 * international/mule-cmds.el (view-hello-file): Doc fix.
1572 2008-06-28 Chong Yidong <cyd@stupidchicken.com>
1574 * faces.el (inhibit-face-set-after-frame-default): Var deleted.
1575 (set-face-attribute, face-set-after-frame-default)): Don't use it.
1577 2008-06-28 John Paul Wallington <jpw@pobox.com>
1579 * calc/calc.el (defmath): Add `doc-string' decl. Add docstring.
1581 2008-06-28 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp.el (tramp-handle-file-modes): Handle symlinks.
1584 (tramp-convert-file-attributes): Convert symlinks only when
1585 returned from `tramp-handle-file-attributes-with-stat'.
1587 * net/tramp-ftp.el (top): Delete 'ange-ftp property from
1588 `substitute-in-file-name' when unloading.
1589 (tramp-ftp-file-name-handler): Set `tramp-mode' to nil.
1591 2008-06-28 Dan Nicolaescu <dann@ics.uci.edu>
1593 * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
1594 (vc-string-prefix-p): Move function ...
1595 * vc.el (vc-string-prefix-p): ... here.
1597 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
1599 * vc-dir.el (vc-dir): Complete only directory names.
1601 2008-06-27 Jason Rumney <jasonr@gnu.org>
1603 * w32-fns.el (top-level): Unconditionally define all charsets.
1605 2008-06-27 Alan Mackenzie <acm@muc.de>
1607 * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to
1608 the CC Mode specific functions; this is no longer needed, since
1609 {beginning,end}-of-defun now pass ARG to ...-of-defun-function.
1611 * progmodes/cc-defs.el (c-emacs-features): New feature
1612 'argumentative-bod-function.
1614 2008-06-27 John Paul Wallington <jpw@pobox.com>
1616 * chistory.el (list-command-history): Use `bound-and-true-p'.
1617 (command-history-map): Define within defvar. Add docstring.
1619 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
1621 * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
1622 to unibyte; just assume it is not a JPEG. Use `string-match-p'.
1623 (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
1624 (image-type-from-buffer): Use `looking-at-p'.
1626 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
1628 * ibuf-ext.el (diff-sentinel): Declare.
1630 2008-06-27 Glenn Morris <rgm@gnu.org>
1632 * calendar/lunar.el (calendar-lunar-phases): Rename from
1633 calendar-phases-of-moon. Keep old name as alias, update callers.
1634 (lunar-phases): Rename from phases-of-moon. Keep old name as alias.
1635 (diary-lunar-phases): Rename from diary-phases-of-moon.
1636 Keep old name as alias.
1637 * calendar/cal-menu.el (cal-menu-sunmoon-menu)
1638 (cal-menu-global-mouse-menu): Update for lunar name changes.
1639 * calendar/calendar.el (calendar-mode-map): Update for name change.
1640 * calendar/diary-lib.el (diary-list-sexp-entries): Doc update.
1642 2008-06-26 Glenn Morris <rgm@gnu.org>
1644 * calendar/solar.el (solar-sunrise-sunset-string): Add optional
1645 argument `nolocation'.
1646 (calendar-sunrise-sunset-month): New function.
1647 * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from
1648 cal-menu-moon-menu. Add calendar-sunrise-sunset-month.
1649 (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
1650 * calendar/calendar.el (solar-sunrises-buffer): New constant.
1651 (calendar-mode-map): Use cal-menu-sunmoon-menu.
1652 (calendar-buffer-list): Add solar-sunrises-buffer.
1654 * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name.
1656 2008-06-26 Chong Yidong <cyd@stupidchicken.com>
1658 * cus-start.el: Add customization types for word-wrap and
1661 2008-06-26 John Paul Wallington <jpw@pobox.com>
1663 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function.
1664 (ibuffer-diff-with-file): Use it. Do diff on marked buffers.
1665 (ibuffer-mark-on-buffer): Don't display message when removing marks.
1666 (ibuffer-mark-by-mode): Use `buffer-local-value'.
1668 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1670 * vc-dir.el (tool-bar): Require.
1672 * vc.el (ewoc, tool-bar): Do not require.
1674 2008-06-26 Kenichi Handa <handa@m17n.org>
1676 * international/mule-cmds.el (encode-coding-char): Fix for ASCII
1679 * composite.el (terminal-composition-base-character-p): New function.
1680 (terminal-composition-function):
1681 Use terminal-composition-base-character-p. Include the base character
1683 (auto-compose-chars): Don't check font-object for terminal display.
1685 2008-06-26 Glenn Morris <rgm@gnu.org>
1687 * doc-view.el (bookmark-make-record-default):
1688 * image-mode.el (bookmark-make-record-default): Fix declaration.
1690 * calendar/calendar.el (calendar-date-echo-text): Doc fix.
1691 Add default :value for sexp type.
1692 (calendar-month-edges): New variable.
1693 (calendar-month-edges): New function.
1694 (calendar-recompute-layout-variables): Set calendar-month-edges.
1695 (calendar-intermonth-header, calendar-intermonth-text): New options.
1696 (calendar-insert-at-column): New function.
1697 (calendar-generate-month): Use calendar-insert-at-column.
1698 Handle intermonth text. Add 'date property.
1699 (calendar-column-to-month): Remove function.
1700 (calendar-column-to-segment): New function.
1701 (calendar-cursor-to-date): Use calendar-column-to-segment.
1702 Check 'date property.
1704 * calendar/calendar.el (calendar-print-other-dates):
1705 Handle mouse events.
1706 * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
1707 (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
1709 * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events.
1710 * calendar/cal-menu.el (calendar-mouse-holidays): Remove function.
1711 (cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
1713 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
1714 Use calendar-column-to-segment, calendar-month-edges, and
1715 the 'date property to handle intermonth text.
1717 * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
1719 * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
1720 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
1722 (cal-menu-context-mouse-menu): Add some :keys.
1723 (calendar-check-holidays): Declare rather than autoloading.
1724 (diary-show-holidays-flag): Remove unneeded declaration.
1726 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
1727 * calendar/calendar.el (calendar-cursor-to-date): Handle case where
1730 2008-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * minibuffer.el (completion-basic-try-completion): Use the text after
1733 point to constrain the completion candidates.
1734 (completion-basic-all-completions): Adjust accordingly.
1736 2008-06-25 Chong Yidong <cyd@stupidchicken.com>
1738 * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of
1741 * faces.el (set-face-attribute): Doc fix.
1743 2008-06-25 Juri Linkov <juri@jurta.org>
1745 * bindings.el (goto-map): New variable. Rebind goto-related
1746 commands to this `M-g' prefix keymap.
1747 (search-map): New variable for `M-s' prefix keymap.
1748 Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to
1749 `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp',
1750 `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns',
1751 `M-shw' to `hi-lock-write-interactive-patterns'.
1753 * isearch.el (isearch-mode-map): Bind `M-s h r' to
1754 `isearch-highlight-regexp'.
1755 (isearch-highlight-regexp): New function.
1757 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * info.el (Info-bookmark-make-record):
1760 Use bookmark-make-record-default.
1761 (Info-bookmark-jump): Use bookmark-default-handler.
1763 * image-mode.el (image-bookmark-make-record):
1764 Use bookmark-make-record-default.
1765 (image-bookmark-jump): Use bookmark-default-handler.
1767 * doc-view.el (doc-view-bookmark-make-record):
1768 Use bookmark-make-record-default.
1769 (doc-view-bookmark-jump): Use bookmark-default-handler.
1771 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
1772 used until now in bookmark.el's code.
1773 (bookmark-get-bookmark): Accept bookmark names or bookmark records.
1774 (bookmark-get-bookmark-record): Allow the 2 slightly different formats
1775 used until now in bookmark.el's code.
1776 (bookmark-set-filename): Remove special code, moved to its only caller.
1777 (bookmark-store): Use the newer format.
1778 (bookmark-make-record-default): Add arg `point-only'.
1779 Rename from bookmark-make-record-for-text-file.
1780 (bookmark--jump-via): New function.
1781 (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
1782 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
1784 (bookmark-jump-noselect, bookmark-default-handler):
1785 Don't return an alist, instead return the data implicitly by changing
1786 current buffer and point. Signal an error if the file doesn't exist.
1788 * buff-menu.el: Use with-current-buffer and inhibit-read-only.
1789 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
1791 * bs.el: Use with-current-buffer. Simplify.
1792 (bs-toggle-readonly): Avoid vc-toggle-read-only.
1794 * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command
1795 is bound before using it.
1797 2008-06-25 Kenichi Handa <handa@m17n.org>
1799 * image.el (image-jpeg-p): Convert DATA to unibyte at first.
1801 2008-06-25 Dan Nicolaescu <dann@ics.uci.edu>
1804 * vc-git.el: Require vc-dir when compiling.
1806 * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
1807 vc-dir-marked-only-files. Change the return value.
1808 (vc-dir-child-files-and-states): Rename from vc-dir-child-files.
1809 Change the return value.
1810 (vc-dir-deduce-fileset): New function broken out from ...
1811 * vc.el (vc-deduce-fileset): ... here and ...
1812 (vc-deduce-fileset): ... here.
1814 * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler.
1815 (vc-svn-parse-status): Do not set the vc-backend property.
1817 2008-06-25 Andreas Schwab <schwab@suse.de>
1819 * faces.el (face-font-family-alternatives, variable-pitch):
1820 Use "Sans Serif", not "Sans-Serif".
1822 2008-06-24 Chong Yidong <cyd@stupidchicken.com>
1824 * faces.el (face-font-family-alternatives, variable-pitch):
1825 Change "Sans" to the canonical name "Sans-Serif".
1827 2008-06-24 Jay Belanger <jay.p.belanger@gmail.com>
1829 * calc/calc.el (calc-mode-map): Add extra keybindings to
1831 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
1834 2008-06-24 Miles Bader <miles@gnu.org>
1836 * mouse.el (mouse-appearance-menu): Don't do anything if the user
1837 pops up the menu but doesn't select anything.
1839 2008-06-24 Dan Nicolaescu <dann@ics.uci.edu>
1841 * add-log.el (add-change-log-entry): Add new arg to force each new
1842 entry to be on a new line.
1843 * diff-mode.el (diff-add-change-log-entries-other-window): Use it.
1845 * vc-dir.el (vc-client-object): Remove.
1846 (vc-dir-prepare-status-buffer): Take a backend as an argument and
1847 use it when looking for a buffer.
1848 (vc-dir): Add a backend argument. Set revert-buffer-function.
1849 Don't create a client object. Move bindings ...
1850 (vc-dir-menu-map, vc-dir-mode-map): ... here.
1851 (vc-dir-revert-buffer-function): New function.
1852 (vc-generic-status-printer): Rename to ...
1853 (vc-dir-status-printer): ... this.
1854 (vc-generic-state, vc-generic-status-fileinfo-extra)
1855 (vc-dir-extra-menu, vc-make-backend-object): Remove.
1856 (vc-default-status-printer): Use a different face for
1857 directories. Don't display any text for directories in the state
1858 column. Add tooltips.
1860 * vc.el (Todo): Update.
1862 * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
1863 * vc-rcs.el (vc-annotate-convert-time):
1864 * vc-mtn.el (vc-annotate-convert-time):
1865 * vc-git.el (vc-annotate-convert-time):
1866 * vc-cvs.el (vc-annotate-convert-time):
1867 * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
1869 2008-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1871 * vc-annotate.el (vc-annotate-mode): Derive from special-mode
1872 instead of using view-mode.
1874 2008-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * Makefile.in (distclean): Don't delete *.elc and autogen files.
1878 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
1882 * vc-dispatcher.el: Move vc-dir variables and functions ...
1883 * vc-dir.el: ... here. New file.
1884 * Makefile.in (ELCFILES): Add vc-dir.elc.
1886 * vc.el: Move vc-annotate variables and functions ...
1887 * vc-annotate.el: ... here. New file.
1888 * Makefile.in (ELCFILES): Add vc-annotate.elc.
1890 * vc-dav.el: Move here from url/vc-dav.el.
1891 (Todo): Note work needed to make this backend functional.
1893 * Makefile.in (ELCFILES): Update vc-dav.el location.
1895 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1897 * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
1899 2008-06-21 John Paul Wallington <jpw@pobox.com>
1901 * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
1903 * textmodes/rst.el (rst-mode): Put docstring in right place.
1905 2008-06-21 Chong Yidong <cyd@stupidchicken.com>
1907 * startup.el (fancy-about-text, fancy-startup-tail): Increase text
1908 size for legibility.
1910 * faces.el (fixed-pitch): Use "Monospace" family.
1911 (variable-pitch): Use "Sans" family.
1912 (face-font-family-alternatives): Define alternatives for "Sans"
1915 2008-06-21 Glenn Morris <rgm@gnu.org>
1917 * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el:
1918 Require 'cl when compiling.
1920 * emacs-lisp/debug.el (help-xref-interned): Declare.
1922 * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents):
1923 Evaluate definition when compiling.
1925 * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1
1926 rather than mouse-1.
1927 (bug-reference-url-format): Autoload safe if string.
1928 (bug-reference-bug-regexp): Make space after "bug" optional.
1930 * Makefile.in (all): Explicitly pass EMACS to sub-make,
1931 for some non-GNU makes.
1933 * cus-dep.el (custom-dependencies-no-scan-regexp):
1934 * finder.el (finder-no-scan-regexp): Add ldefs-boot.el
1936 * calendar/cal-move.el (calendar-forward-day): Scroll in one month
1939 * calendar/calendar.el: Factor out the magic numbers controlling the
1941 (calendar-month-digit-width, calendar-month-width)
1942 (calendar-right-margin): New variables.
1943 (calendar-recompute-layout-variables, calendar-set-layout-variable):
1945 (calendar-left-margin, calendar-intermonth-spacing)
1946 (calendar-column-width, calendar-day-header-width)
1947 (calendar-day-digit-width): New options.
1948 (calendar-first-date-row): New constant.
1949 (calendar-move-to-column, calendar-ensure-newline): New functions,
1950 replacing calendar-insert-indented.
1951 (calendar-insert-indented): Remove function.
1952 (calendar-generate-month): Use calendar-move-to-column and
1953 calendar-ensure-newline. Use layout variables.
1954 (calendar-generate, calendar-update-mode-line)
1955 (calendar-font-lock-keywords): Use layout variables.
1956 (calendar-column-to-month): New function.
1957 (calendar-cursor-to-date): Use calendar-column-to-month.
1958 Use layout variables.
1959 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
1960 Use layout variables. Use calendar-column-to-month.
1961 (calendar-cursor-to-visible-date): Use layout variables.
1963 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
1966 (all): Run compile-last.
1967 (compile-onefile): New target.
1968 (compile-first): Simplify.
1969 (compile-last): Don't treat COMPILE_FIRST specially.
1970 (COMPILE_FIRST): List the elc files rather than the el files.
1973 2008-06-21 Ulf Jasper <ulf@web.de>
1975 * net/newst-treeview.el: Remove dead code.
1976 (newsticker--window-config): Remove.
1977 (newsticker-treeview-quit): Do not save window config.
1978 (newsticker-treeview): Do not try to restore window config.
1979 (newsticker-groups, newsticker--treeview-list-sort-by-column)
1980 (newsticker--treeview-list-new-items)
1981 (newsticker--treeview-list-immortal-items)
1982 (newsticker--treeview-list-obsolete-items)
1983 (newsticker--treeview-list-all-items)
1984 (newsticker--treeview-list-feed-items): Fix documentation.
1986 2008-06-21 Miles Bader <miles@gnu.org>
1988 * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil.
1990 2008-06-21 Alan Mackenzie <acm@muc.de>
1992 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an
1993 infinite loop on invalid syntax.
1995 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * textmodes/rst.el: Run rst-define-level-faces when loading.
1998 (rst-mode): Don't set the font-lock-multiline var.
1999 (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
2000 Set the font-lock-multiline property by hand.
2002 * loadup.el: Don't add emacs-<VERS> name when bootstrapping.
2004 * Makefile.in (emacs-deps): Remove.
2005 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
2007 (autogen-clean): Remove.
2009 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * Makefile.in (all): New target.
2012 (bootstrap-prepare): Remove.
2014 * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not
2015 the .elc file to batch-byte-compile.
2017 * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
2018 set-keymap-parents if set-keymap-parent doesn't exist.
2020 * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
2021 Allow more than one space before the |.
2023 * textmodes/rst.el: Fix up docstring conventions.
2024 Move vars to before their first use.
2025 (rst-mode): Don't mess with font-lock-support-mode.
2026 (rst-suggest-new-decoration, rst-adjust-decoration):
2027 Avoid CL's copy-list.
2028 (rst-delete-entire-line): Use line-beginning-position.
2029 (rst-position): New fun.
2030 (rst-straighten-decorations): Use it instead of CL's position.
2031 (rst-straighten-bullets-region): Avoid CL's mapcar*.
2032 (rst-toc-mode): Use define-derived-mode.
2033 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
2034 Remove unused var `in-par'. Use `point' rather than `point-marker'.
2035 (rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg.
2036 (rst-replace-lines): Simplify.
2037 (auto-mode-alist): Use rst-mode for *.rst and *.rest files.
2039 * simple.el (special-mode-map): New var.
2040 (special-mode): New major mode.
2042 2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
2044 * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
2047 * vc.el (vc-dir-hide-up-to-date): Undo previous change.
2048 (vc-switch-backend): Simplify.
2049 (Todo): Remove solved items.
2051 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
2052 the vc-backend property.
2054 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
2057 Bind inhibit-read-only since the buffer is always read-only.
2059 2008-06-20 Ulf Jasper <ulf@web.de>
2061 * net/newst-treeview.el (newsticker-treeview-own-frame):
2062 Change default value to nil.
2063 (newsticker--treeview-list-add-item)
2064 (newsticker--treeview-propertize-tag): Show item title in tooltip.
2066 2008-06-20 Martin Blais <blais@furius.ca>
2067 Stefan Merten <smerten@oekonux.de>
2068 David Goodger <goodger@python.org>
2070 * textmodes/rst.el: New file.
2072 2008-06-20 Sam Steingold <sds@gnu.org>
2074 * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also
2075 remove DIRECTORY entries.
2077 2008-06-20 Eli Zaretskii <eliz@gnu.org>
2079 * makefile.w32-in (distclean): Depend on `clean'.
2080 (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~.
2081 (AUTOGENEL): Add $(lisp)/nxml/subdirs.el.
2082 ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an
2083 empty cus-load.el with `echo', and include "Local Variables"
2084 section to prevent the empty file from being compiled.
2085 (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets
2086 that generate an empty cus-load.el.
2088 2008-06-20 Juanma Barranquero <lekktu@gmail.com>
2090 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
2091 Don't copy ldefs-boot.el over loaddefs.el.
2092 (bootstrap-clean): Remove loaddefs.el and don't depend on it.
2093 (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars
2094 to loaddefs.el; they are not needed now. Add coding cookie.
2096 2008-06-20 Miles Bader <miles@gnu.org>
2098 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2099 Strip unnecessary list levels from SPECS.
2100 (buffer-face-set, buffer-face-toggle):
2101 Change argument from FACE to &rest SPECS, and strip unnecessary
2102 list levels from SPECS.
2103 (buffer-face-mode-invoke): Change argument from FACE to SPECS.
2105 2008-06-20 Jason Rumney <jasonr@gnu.org>
2107 * international/fontset.el (setup-default-fontset): Specify script
2108 for latin use of iso10646-1. Fix use of lang tags.
2110 2008-06-19 Miles Bader <miles@gnu.org>
2112 * face-remap.el (text-scale-increase): Start from zero if
2113 text-scale-mode isn't enabled.
2115 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * faces.el (face-set-after-frame-default): Re-apply explicit `font'
2118 frame parameters after setting up the `default' face.
2120 2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2122 * faces.el (face-set-after-frame-default): Don't exclude `default'.
2124 2008-06-18 Glenn Morris <rgm@gnu.org>
2126 * mouse.el (buffer-face-mode-invoke): Declare.
2128 * Makefile.in (ELCFILES): Add org/org-id.elc.
2130 * calendar/holidays.el (calendar-cursor-holidays): Accept optional date.
2131 * calendar/cal-menu.el (cal-menu-holidays-menu):
2132 Use calendar-cursor-holidays rather than cal-menu-today-holidays.
2133 (cal-menu-today-holidays): Remove function.
2135 * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify.
2136 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
2137 (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
2138 Remove unused functions.
2139 (calendar-mouse-view-diary-entries): Use format rather than concat.
2141 * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro.
2142 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
2143 (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.
2145 * calendar/cal-menu.el (cal-menu-event-to-date): Remove function.
2146 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
2147 (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
2148 (cal-menu-set-date-title): Use calendar-cursor-to-date rather than
2149 cal-menu-event-to-date.
2151 * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year):
2152 Handle mouse events.
2153 * calendar/cal-tex.el (cal-tex-cursor-year)
2154 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
2155 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2156 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2157 (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
2158 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
2159 (cal-tex-cursor-day): Handle mouse events. Rename ARG to N.
2160 (cal-tex-cursor-month): Mark N as optional.
2161 * calendar/cal-menu.el (calendar-mouse-tex-day)
2162 (calendar-mouse-tex-week, calendar-mouse-tex-week2)
2163 (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
2164 (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
2165 (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
2166 (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
2167 (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
2169 (cal-menu-context-mouse-menu): Replace the above functions with the
2170 cal-tex versions. Add HTML submenu.
2172 2008-06-17 Nick Roberts <nickrob@snap.net.nz>
2174 * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to
2176 (gdb): Explain that gud-gdb is needed for text command mode.
2178 2008-06-17 Martin Rudalics <rudalics@gmx.at>
2180 * window.el (split-height-threshold): Remove spurious extra line.
2182 2008-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2184 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
2185 (calendar-set-mark):
2186 * calendar/diary-lib.el (diary-insert-entry):
2187 * calendar/solar.el (calendar-sunrise-sunset): Use it.
2188 * calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
2189 (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
2190 (cal-menu-context-mouse-menu): Use calendar-set-mark,
2191 diary-insert-entry, and calendar-sunrise-sunset instead.
2193 * vc.el (vc-deduce-fileset): Add arg `only-files'.
2194 (vc-next-action): Pass the new arg.
2195 (vc-register): Don't use `only-files'.
2196 Don't set `backup-inhibited' in the current buffer.
2198 2008-06-17 Miles Bader <miles@gnu.org>
2200 * mouse.el (mouse-appearance-menu): Use buffer-face-mode.
2202 * face-remap.el (buffer-face-mode-face)
2203 (buffer-face-mode-remapping): New variables.
2204 (buffer-face-mode, buffer-face-set, buffer-face-toggle)
2205 (buffer-face-mode-invoke): New functions.
2206 (variable-pitch-mode-remapping): Variable removed.
2207 (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'.
2209 * face-remap.el (internal-lisp-face-attributes): New variable.
2210 (face-attrs-more-relative-p, face-remap-order): New functions.
2211 (face-remap-add-relative): Use `face-remap-order'.
2213 2008-06-17 Glenn Morris <rgm@gnu.org>
2215 * mouse.el (x-select-font): Declare.
2217 * calendar/calendar.el (calendar-move-hook):
2218 Add calendar-update-mode-line as an option.
2219 (calendar-date-echo-text): New user option.
2220 (calendar-generate-month): Set `day'. Use calendar-date-echo-text.
2221 (calendar-insert-indented): Simplify newline insertion.
2222 (calendar-describe-mode): Remove unused function.
2223 (calendar-mode-line-entry): New function.
2224 (calendar-mode-line-format): Doc fix. Use calendar-mode-line-entry.
2226 (calendar-mouse-other-month): Remove function.
2227 (calendar-other-month): Handle mouse events.
2228 (calendar-goto-info-node): Call fit-window-to-buffer.
2229 (calendar-mode): Use define-derived-mode. Doc fix.
2230 (calendar-update-mode-line): Tweak whitespace.
2232 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p.
2235 (vc-dir-marked-only-files): vc-string-prefix-p.
2237 2008-06-16 Nick Roberts <nickrob@snap.net.nz>
2239 * progmodes/gdb-ui.el (gdb-memory-set-address)
2240 (gdb-memory-set-repeat-count): Allow keyboard bindings.
2241 (gdb-memory-mode-map): Bind above functions respectively
2244 2008-06-16 Derek Upham <sand@blarg.net> (tiny change)
2246 * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks.
2248 2008-06-16 Juanma Barranquero <lekktu@gmail.com>
2250 * log-view.el (vc-diff-internal): Declare for compiler.
2252 * vc-bzr.el (log-view-per-file-logs):
2253 * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
2255 2008-06-15 Chong Yidong <cyd@stupidchicken.com>
2257 * mouse.el (mouse-appearance-menu-map): New var.
2258 (mouse-appearance-menu): New function.
2259 Bind it to S-down-mouse-1.
2261 2008-06-15 Juri Linkov <juri@jurta.org>
2263 * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
2264 (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
2265 as the second element.
2266 (Info-build-toc): Add PARENT element extracted from the Up pointer.
2267 Don't print progress messages.
2268 (Info-toc-nodes): New variable and function.
2269 (Info-index-nodes): Optimize non-string file name case.
2270 (Info-breadcrumbs-depth): Increment the default value from 3 to 4.
2271 (Info-insert-breadcrumbs): Use the cached document structure instead
2272 of visiting all ancestor nodes. Remove the initial `>'.
2274 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2276 * log-view.el (log-view-diff-changeset): New function.
2277 (log-view-mode-map, log-view-mode-menu): Bind it.
2278 (log-view-per-file-logs, log-view-vc-fileset)
2279 (log-view-vc-backend): New variables.
2280 (log-view-find-revision, log-view-modify-change-comment)
2281 (log-view-annotate-version): Throw an error if the log is for more
2282 than one file and we can't find the current file. Get the current
2283 file from log-view-vc-fileset if necessary.
2284 (log-view-diff): Get the current file from log-view-vc-fileset if
2287 * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
2289 * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
2290 (vc-hg-log-view-mode): Declare for compiler.
2291 (vc-hg-log-view-mode): Set log-view-per-file-logs and
2293 (vc-hg-diff): If no file is passed, use default-directory for cwd.
2295 * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
2297 * vc-svn.el (vc-svn-log-view-mode): New derived mode.
2299 2008-06-15 Michael Albinus <michael.albinus@gmx.de>
2301 * net/tramp.el (tramp-handle-start-file-process):
2302 Clear modification time of the connection buffer.
2303 (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
2304 (tramp-open-connection-setup-interactive-shell): Flush cache, and
2305 restart `tramp-maybe-open-connection' when the remote system has
2306 been changed. Throw 'uname-changed event.
2307 (tramp-maybe-open-connection): Catch it.
2309 * net/tramp-cmds.el (tramp-cleanup-all-connections):
2310 Reset `tramp-locked'.
2312 2008-06-15 Ulf Jasper <ulf@web.de>
2314 * net/newst-treeview.el (newsticker--treeview-list-update)
2315 (newsticker--treeview-item-update)
2316 (newsticker--treeview-tree-update)
2317 (newsticker-treeview-jump, newsticker-group-add-group)
2318 (newsticker-group-move-feed, newsticker-group-delete-group):
2319 Remove window dedication.
2320 (newsticker--group-manage-orphan-feeds): Handle ill-valued
2322 (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
2324 2008-06-15 Andreas Schwab <schwab@suse.de>
2326 * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
2327 when parsing CVS/Repository.
2329 * wdired.el (wdired-search-and-rename): Fix undocumented change.
2331 2008-06-15 Ulf Jasper <ulf@web.de>
2333 * net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
2334 (newsticker-extra-face, newsticker-enclosure-face): Moved to
2335 net/newst-reader.el.
2337 * net/newst-reader.el (newsticker-faces, newsticker-feed-face)
2338 (newsticker-extra-face, newsticker-enclosure-face): Moved from
2339 net/newst-reader.el.
2341 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * international/encoded-kb.el (encoded-kbd-self-insert-utf-8):
2344 Catch and recover from case when the bytes we thought we were reading
2345 turn out to be something else entirely, such as latin-1 chars from
2348 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2350 * vc.el (vc-deduce-fileset): Check if the buffer has a file.
2351 (vc-register): Call the backend function only once, instead of
2353 (vc-next-action): Update call to vc-register.
2354 (vc-dir-register): Remove function.
2355 (vc-dir): Bind vc-register instead of vc-dir-register.
2357 2008-06-14 Glenn Morris <rgm@gnu.org>
2359 * Makefile.in (ELCFILES): Add net/newst-*.el.
2361 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2363 * wdired.el (wdired-do-renames): New function.
2364 (wdired-finish-edit): Use it to.
2365 (wdired-preprocess-files): Don't hardcode (point-min) == 1.
2367 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc.
2371 2008-06-14 Martin Rudalics <rudalics@gmx.at>
2373 * window.el (window--even-window-heights): Even window heights
2374 only if the selected window is higher than WINDOW.
2375 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
2377 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * info.el (Info-insert-breadcrumbs): Be careful to preserve history.
2381 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2383 * term/linux.el (terminal-init-linux): Load t-mouse.
2385 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2386 Drew Adams <drew.adams@oracle.com>
2388 * info.el (Info-breadcrumbs-depth): New var.
2389 (Info-insert-breadcrumbs): New function.
2390 (Info-fontify-node): Use it.
2391 (Info-mode-map): Move initialization into declaration.
2393 2008-06-13 Ulf Jasper <ulf.jasper@web.de>
2395 Rename net/newsticker-*.el to net/newst-*.el.
2396 * net/newst-backend.el: Rename from net/newsticker-backend.el.
2397 * net/newst-plainview.el: Rename from net/newsticker-plainview.el.
2398 * net/newst-reader.el: Rename from net/newsticker-reader.el.
2399 * net/newst-ticker.el: Rename from net/newsticker-ticker.el.
2400 * net/newst-treeview.el: Rename from net/newsticker-treeview.el.
2401 * net/newsticker-backend.el: Rename to net/newst-backend.el.
2402 * net/newsticker-plainview.el: Rename to net/newst-plainview.el.
2403 * net/newsticker-reader.el: Rename to net/newst-reader.el.
2404 * net/newsticker-ticker.el: Rename to net/newst-ticker.el.
2405 * net/newsticker-treeview.el: Rename to net/newst-treeview.el.
2407 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2409 * progmodes/compile.el (compilation-start): Don't disable undo in
2410 comint buffer. Don't override the comint-filter with our own.
2411 (compilation-filter): Change point's insertion-type.
2413 * comint.el (comint-output-filter): Use copy-marker.
2415 2008-06-13 David Reitter <david.reitter@gmail.com>
2417 * textmodes/flyspell.el (mail-mode-flyspell-verify):
2418 Check message-signature-separator exists before using it.
2420 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu>
2422 * vc.el (vc-delete-file): Bind default-directory before calling
2424 (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
2425 (vc-annotate-show-diff-revision-at-line-internal): ... here.
2427 (vc-annotate-show-changeset-diff-revision-at-line): New function.
2428 (vc-annotate-mode-menu): Bind it.
2430 2008-06-13 Jason Rumney <jasonr@gnu.org>
2432 * term/w32-win.el (mouse-set-font): Remove overridden function.
2433 (w32-select-font): Declare as obsolete alias for x-select-font.
2435 2008-06-13 Daniel Engeler <engeler@gmail.com>
2437 These changes add serial port access.
2438 * term.el (term-update-mode-line): Modify.
2439 (serial-port-is-file-p, serial-nice-speed-history)
2440 (serial-no-speed, serial-mode-line-speed-menu)
2441 (serial-mode-line-config-menu): New variables and constants.
2442 (serial-name-history, serial-speed-history)
2443 (serial-supported-or-barf, serial-read-name, serial-read-speed)
2444 (serial-term, serial-speed, serial-mode-line-speed-menu-1)
2445 (serial-mode-line-speed-menu, serial-update-speed-menu)
2446 (serial-mode-line-config-menu-1, serial-mode-line-config-menu)
2447 (serial-update-config-menu): New functions.
2449 2008-06-13 Glenn Morris <rgm@gnu.org>
2451 * menu-bar.el (menu-set-font): Use fboundp rather than functionp.
2453 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix.
2455 2008-06-13 Kenichi Handa <handa@m17n.org>
2457 * cus-face.el (custom-face-attributes): Add :foundry.
2459 * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
2460 (face-x-resources): Add :foundry.
2461 (face-valid-attribute-values): Likewise.
2462 (face-attribute-name-alist): Likewise.
2463 (describe-face): Likewise.
2465 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events.
2469 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
2471 * longlines.el (longlines-search-forward, longlines-search-backward)
2472 (longlines-re-search-forward): Use a smarter search-spaces-regexp.
2474 2008-06-12 Sam Steingold <sds@gnu.org>
2476 * vc.el (vc-rename-file): DTRT when the destination is a directory
2477 name and the source is a file.
2479 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
2481 * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font.
2483 2008-06-12 Glenn Morris <rgm@gnu.org>
2485 * progmodes/f90.el (f90-beginning-of-subprogram)
2486 (f90-end-of-subprogram): Only give a message when interactive.
2488 * term/mac-win.el (x-toolkit-scroll-bars): Check bound.
2490 * progmodes/cperl-mode.el (cperl-info-on-command):
2491 Use display-pixel-height rather than x-display-pixel-height.
2493 * mail/rmailedit.el (rmail-cease-edit):
2494 * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound.
2496 * emulation/edt.el (edt-xserver):
2497 * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string.
2499 * emulation/edt-mapper.el: Drop test for Emacs < 19.
2501 * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window):
2502 Evaluate definitions when compiling. Reverse tests.
2504 * dframe.el (dframe-reposition-frame-emacs): Reorder test, and
2507 * menu-bar.el (w32-menu-bar-open): Declare for compiler.
2509 * textmodes/artist.el (x-pointer-shape):
2510 * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu)
2511 (x-open-connection, x-server-max-request-size, x-get-resource):
2512 * term/w32console.el (x-setup-function-keys):
2513 * term/w32-win.el (x-parse-geometry, x-resource-name)
2514 (generate-fontset-menu, image-library-alist, x-open-connection)
2515 (setup-default-fontset, set-fontset-font, setup-default-fontset)
2516 (create-fontset-from-fontset-spec, create-fontset-from-x-resource)
2518 * term/mac-win.el (x-parse-geometry, x-resource-name)
2519 (x-get-selection-internal, tool-bar-mode, set-fontset-font)
2520 (new-fontset, x-display-list, x-open-connection, x-get-resource):
2521 * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide)
2522 (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show)
2523 (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer):
2524 * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area)
2525 (tooltip-identifier-from-point, define-fringe-bitmap):
2526 * play/gamegrid.el (image-size):
2527 * play/bubbles.el (image-size):
2528 * mail/emacsbug.el (x-server-vendor, x-server-version):
2529 * international/mule-util.el (internal-char-font):
2530 * international/mule-diag.el (font-info, query-fontset, fontset-info)
2531 (fontset-alias-alist, fontset-list, fontset-plain-name):
2532 * international/mule-cmds.el (x-server-vendor, x-server-version):
2533 * international/fontset.el (font-encoding-charset-alist)
2534 (otf-script-alist, new-fontset, set-fontset-font)
2535 (x-pixel-size-width-font-regexp, vertical-centering-font-regexp)
2536 (fontset-list, query-fontset, x-get-resource):
2537 * emulation/edt.el (x-server-vendor):
2538 * emulation/edt-mapper.el (x-server-vendor):
2539 * emacs-lisp/map-ynp.el (x-popup-dialog):
2540 * emacs-lisp/lmenu.el (x-popup-dialog):
2541 * x-dnd.el (x-window-property, x-change-window-property)
2542 (x-get-selection-internal):
2543 * woman.el (x-list-fonts):
2544 * w32-fns.el (x-server-version):
2545 * tooltip.el (x-show-tip, x-hide-tip):
2546 * tool-bar.el (image-mask-p):
2547 * thumbs.el (image-size):
2548 * term.el (overflow-newline-into-fringe):
2549 * subr.el (scroll-bar-scale):
2550 * startup.el (x-get-resource, tool-bar-mode, image-size):
2551 * select.el (x-get-selection-internal, x-own-selection-internal)
2552 (x-disown-selection-internal):
2553 * mouse.el (generate-fontset-menu):
2554 * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value):
2555 * image.el (image-library-alist):
2556 * image-mode.el (image-size, image-refresh):
2557 * image-dired.el (clear-image-cache):
2558 * gs.el (x-display-mm-width, x-display-pixel-width)
2559 (x-display-mm-height, x-display-pixel-height)
2560 (x-change-window-property, x-display-grayscale-p, x-window-property):
2561 * frame.el (tool-bar-mode, x-display-name, x-close-connection)
2562 (x-focus-frame, x-list-fonts, x-display-screens)
2563 (x-display-pixel-height, x-display-pixel-width, x-display-mm-height)
2564 (x-display-mm-width, x-display-backing-store, x-display-save-under)
2565 (x-display-planes, x-display-color-cells, x-display-visual-class):
2566 * faces.el (internal-face-x-get-resource)
2567 (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path)
2568 (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values)
2569 (xw-display-color-p, x-display-grayscale-p, x-get-resource)
2570 (x-parse-geometry, x-create-frame, x-setup-function-keys)
2572 * doc-view.el (clear-image-cache, image-size, tooltip-show):
2573 * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri):
2574 * dframe.el (x-display-pixel-width, x-display-pixel-height):
2575 * descr-text.el (internal-char-font):
2576 Define for compiler, for builds without X.
2578 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists.
2582 2008-06-11 Glenn Morris <rgm@gnu.org>
2584 * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match
2585 before trying to move there.
2586 (fortran-calculate-indent): When fortran-check-all-num-for-matching-do
2587 is non-nil, indent most terminating statements like loop body.
2589 * calendar/diary-lib.el (diary-list-entries-2): Accept optional
2590 Gregorian date, and add it, not the local date, to diary-entries-list.
2591 (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
2593 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * progmodes/compile.el (compilation-filter): Fix up last change.
2597 * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
2599 * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
2600 (gpm-mouse-mode): Make it into a proper global minor mode.
2602 * files.el (save-some-buffers-action-alist): Only use recursive-edit
2603 if the user enabled recursive-minibuffers.
2605 * emacs-lisp/map-ynp.el (map-y-or-n-p):
2606 Add support for scroll-other-window.
2608 2008-06-11 Jason Rumney <jasonr@gnu.org>
2610 * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open.
2611 Use tmm-menubar if menu is disabled in this frame.
2613 * menu-bar.el (menu-bar-open): Determine how to open menu bar
2614 from frame type, per documentation. Add w32 case.
2616 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * minibuffer.el (completion--merge-suffix): New function.
2619 (completion-basic-try-completion): Use it.
2620 (completion-pcm--find-all-completions): Add argument `filter'.
2621 (completion-pcm--filename-try-filter, completion-pcm--merge-try):
2623 (completion-pcm-try-completion): Use them.
2625 * xt-mouse.el (turn-on-xterm-mouse-tracking)
2626 (turn-off-xterm-mouse-tracking): Use terminal-list.
2628 * cus-start.el (underline-minimum-offset): Rename from
2629 x-underline-minimum-display-offset.
2631 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change)
2633 * cus-start.el (x-underline-minimum-display-offset): Give it a type.
2635 2008-06-10 Chong Yidong <cyd@stupidchicken.com>
2637 * mouse.el (mouse-select-font): New function.
2639 * faces.el (face-spec-recalc): When the face is set using
2640 Customize, avoid recalculating it twice.
2642 * menu-bar.el (menu-set-font): New function. Bind "Set Default
2643 Font" menu item to it. Apply selected font to all frames, and
2645 (menu-bar-options-save): Save `default' font if changed.
2647 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * ffap.el (ffap-string-at-point-mode-alist):
2650 Use alpha rather than lower.
2652 * dired.el (dired-insert-directory): Don't assume Unix-style dir names.
2654 * subr.el (momentary-string-display): Use an overlay.
2656 * progmodes/compile.el (compilation-mode):
2657 Set window-point-insertion-type.
2658 (compilation-filter): Don't use insert-before-markers any more.
2659 * emacs-lisp/trace.el (trace-make-advice):
2660 Set window-point-insertion-type in the trace buffer.
2661 * startup.el (normal-top-level): Set window-point-insertion-type in
2663 * net/telnet.el (telnet-mode): Set window-point-insertion-type.
2664 (telnet-filter): Don't use insert-before-markers any more.
2665 * comint.el (comint-mode): Set window-point-insertion-type.
2666 (comint-output-filter): Don't use insert-before-markers any more.
2667 * button.el (make-text-button): Allow `start' to be a string.
2669 2008-06-10 Juanma Barranquero <lekktu@gmail.com>
2671 * emacs-lisp/autoload.el (autoload-rubric):
2672 Fix coding cookie not to force Unix EOL.
2674 2008-06-10 Martin Rudalics <rudalics@gmx.at>
2676 * window.el (window--splittable-p, window--try-to-split-window):
2677 Don't use with-selected-window to avoid messing up get-lru-window.
2678 Reported by David Hansen <david.hansen@gmx.net>.
2680 2008-06-10 Glenn Morris <rgm@gnu.org>
2682 * subr.el (locate-library): Doc fix.
2684 * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare.
2685 (newsticker-treeview-tool-bar-map, newsticker-treeview-mode):
2686 Check tool-bar-map is bound, for non-X builds.
2688 * net/newsticker-reader.el (newsticker--next-item-image)
2689 (newsticker--previous-item-image, newsticker--previous-feed-image)
2690 (newsticker--next-feed-image, newsticker--mark-read-image)
2691 (ewsticker--mark-immortal-image, newsticker--narrow-image)
2692 (newsticker--get-all-image, newsticker--update-image)
2693 (newsticker--browse-image): Check xpm images are available.
2694 (newsticker--mark-read-image, newsticker--mark-immortal-image)
2695 (newsticker--narrow-image, newsticker--get-all-image): Doc fix.
2697 * net/newsticker-plainview.el (tool-bar-map): Don't declare.
2698 (newsticker--plainview-tool-bar-map, newsticker-mode):
2699 Check tool-bar-map is bound, for non-X builds.
2700 (w3m-toggle-inline-image): Declare.
2702 * net/newsticker-backend.el (tool-bar-map): Don't declare.
2704 * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie.
2706 * finder.el (finder-font-lock-keywords): Handle ``quotes''.
2707 (finder-compile-keywords): Move let to where needed.
2708 (finder-mouse-face-on-line): Go back one more line if needed.
2709 (finder-list-matches): Use cadr.
2710 (finder-goto-xref): New function.
2711 (finder-commentary): Add buttons to jump to foo.el libraries.
2713 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * apropos.el (apropos-function, apropos-macro, apropos-command)
2716 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2717 (apropos-plist): Add apropos-short-label property.
2718 (apropos-multi-type): New variables.
2719 (apropos-command, apropos-value): Set it.
2720 (apropos-compact-layout): New custom.
2721 (apropos-print, apropos-print-doc): Use it.
2722 (apropos-print): Truncate lines.
2724 2008-06-09 Kenichi Handa <handa@m17n.org>
2726 * international/fontset.el (font-encoding-alist):
2727 Add an entry for "ascii-0".
2729 2008-06-09 Jihyun Cho <jihyun.jo@gmail.com>
2731 * language/hanja-util.el (hanja-init-load): Show the message only
2732 when loading a table.
2734 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
2736 * net/newsticker-treeview.el (newsticker-treeview):
2737 * net/newsticker-plainview.el (newsticker-plainview):
2738 Add autoload cookie.
2740 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
2742 * net/newsticker.el: Split up into newsticker-backend, -ticker,
2743 -reader, -plainview, and -treeview.
2744 (newsticker-version): Change to 1.99.
2746 * net/newsticker-backend.el: New. Move backend functionality from
2747 newsticker.el to newsticker-backend.el.
2748 (newsticker--download-logos): New.
2749 (newsticker--sentinel-callback): New.
2750 (newsticker--set-customvar): Remove. Split up into specific
2751 functions related to retrieval, ticker, buffer, and display.
2752 (newsticker--set-customvar-retrieval): New. Extracted from
2753 `newsticker--set-customvar'.
2754 (newsticker-retrieval): New. Renamed from `newsticker-feed'.
2755 (newsticker-url-list-defaults):
2756 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
2757 (newsticker-url-list): Doc changed. URL can be a function.
2758 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
2759 (newsticker-retrieval-method): New.
2760 (newsticker-wget-name, newsticker-wget-arguments): Change :group.
2761 (newsticker-retrieval-interval):
2762 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
2763 (newsticker-desc-comp-max): Change :group.
2764 (newsticker--cache): Doc changed.
2765 (newsticker--guid-to-string): New.
2766 (newsticker--guid): Use `newsticker--guid-to-string'.
2767 (newsticker--real-feed-name): New.
2768 (newsticker--start-feed): New. Extracted from `newsticker-start'.
2769 (newsticker-start): Use `insert-file-contents' for reading cache.
2770 Use `newsticker--start-feed'.
2771 (newsticker--stop-feed): New. Extracted from `newsticker-stop'.
2772 (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound.
2773 Use `newsticker--stop-feed'.
2774 (newsticker-save-item): New.
2775 (newsticker--get-news-by-funcall): New.
2776 (newsticker-get-news): Handle new retrieval methods.
2777 (newsticker--sentinel): Use `newsticker--sentinel-work'.
2778 (newsticker--sentinel-work): New. Extracted from
2779 `newsticker--sentinel'. Use `newsticker--download-logos',
2780 `newsticker--sentinel-callback'.
2781 (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'.
2782 (newsticker--parse-atom-1.0): Fix link determination.
2783 (newsticker--parse-rss-0.91): Fix time determination.
2784 (newsticker--parse-rss-0.92): Fix time determination.
2785 (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'.
2786 (newsticker--parse-generic-feed): New arg order in
2787 `newsticker--cache-add'.
2788 (newsticker--parse-generic-items): Fix for multiple items.
2789 New arg order in `newsticker--cache-add'.
2790 (newsticker--forget-preformatted): Check whether
2791 `newsticker--buffer-set-uptodate' is fbound.
2792 (newsticker--decode-iso8601-date): Handle fractions of seconds.
2793 (newsticker--decode-rfc822-date): Partial timezone handling.
2794 (newsticker--cache-contains): Fix guid problem.
2795 (newsticker--cache-add): Swap args AGE and TIME. Fix guid problem.
2796 (newsticker--cache-save): New.
2797 (newsticker--cache-update): Use temp buffer.
2798 (newsticker--stat-num-items): Allow multiple AGE args.
2799 (newsticker--stat-num-items-total): New.
2800 (newsticker--opml-import-outlines): New.
2801 (newsticker-opml-import): Use `newsticker--opml-import-outlines'.
2802 (newsticker--do-run-auto-mark-filter): Doc changed.
2803 (newsticker-retrieve-random-message): New.
2805 * net/newsticker-ticker.el: New. Move ticker functionality from
2806 net/newsticker.el to net/newsticker-ticker.el.
2807 (newsticker--ticker-timer): Rename `newsticker--display-timer' to
2808 `newsticker--ticker-timer'.
2809 (newsticker-ticker-running-p): Rename `newsticker--display-timer'
2810 to `newsticker--ticker-timer'.
2811 (newsticker--set-customvar-ticker): New. Extracted from
2812 `newsticker--set-customvar'.
2813 (newsticker-ticker-interval): Rename `newsticker-display-interval'
2814 to `newsticker-ticker-interval'. Use `newsticker--set-customvar-ticker
2815 for :set. Change :group.
2816 (newsticker-scroll-smoothly): Doc changed. Change :group.
2817 (newsticker-hide-immortal-items-in-echo-area)
2818 (newsticker-hide-old-items-in-echo-area)
2819 (newsticker-hide-obsolete-items-in-echo-area):
2820 Use `newsticker--set-customvar-ticker for :set. Change :group.
2821 (newsticker-start-ticker): Rename `newsticker--display-timer' to
2822 `newsticker--ticker-timer'. Rename `newsticker-display-interval'
2823 to `newsticker-ticker-interval'.
2824 (newsticker-stop-ticker): Rename `newsticker--display-timer' to
2825 `newsticker--ticker-timer'.
2827 * net/newsticker-reader.el: New. Move reader functionality from
2828 net/newsticker.el to net/newsticker-reader.el.
2829 (newsticker--set-customvar-formatting): New. Extracted from
2830 `newsticker--set-customvar'.
2831 (newsticker-reader, newsticker-frontend): New.
2832 (newsticker-enable-logo-manipulations): Change :group.
2833 (newsticker-justification): Use `newsticker--set-customvar-formatting'
2834 for :set. Change :group.
2835 (newsticker-use-full-width): Use `newsticker--set-customvar-formatting'
2836 for :set. Change :group.
2837 (newsticker-html-renderer): Doc changed.
2838 Use `newsticker--set-customvar-formatting' for :set. Change :group.
2839 (newsticker-date-format):
2840 Use `newsticker--set-customvar-formatting' for :set. Change :group.
2841 (newsticker--insert-enclosure):
2842 Rename `newsticker--buffer-insert-enclosure' to
2843 `newsticker--insert-enclosure'. Add keymap arg.
2844 (newsticker--print-extra-elements):
2845 Rename `newsticker--buffer-print-extra-elements' to
2846 `newsticker--print-extra-elements'. Add keymap arg.
2847 (newsticker--do-print-extra-element):
2848 Rename `newsticker--buffer-do-print-extra-element' to
2849 `newsticker--do-print-extra-element'. Add keymap arg.
2850 (newsticker-show-news): Use `newsticker-frontend'.
2852 * net/newsticker-plainview.el: New. Move plainview functionality
2853 from net/newsticker.el to net/newsticker-reader.el.
2854 (newsticker-plainview): New.
2855 (newsticker--set-customvar-sorting): New. Extracted from
2856 `newsticker--set-customvar'.
2857 (newsticker-sort-method): Use `newsticker--set-customvar-sorting
2858 for :set. Changed :group.
2859 (newsticker-heading-format, newsticker-item-format)
2860 (newsticker-desc-format, newsticker-statistics-format):
2861 Use `newsticker--set-customvar-formatting for :set. Change :group.
2862 (newsticker-faces): Change :group.
2863 (newsticker-default-face): Enable again.
2864 (newsticker-hide-old-items-in-newsticker-buffer)
2865 (newsticker-show-descriptions-of-new-items):
2866 Use `newsticker--set-customvar-buffer' for :set. Change :group.
2867 (newsticker-show-all-news-elements): Change :group.
2868 (newsticker-plainview-hooks): New.
2869 (newsticker-select-item-hook, newsticker-select-feed-hook)
2870 (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group.
2871 (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map'
2872 to `newsticker--plainview-tool-bar-map'.
2873 (newsticker--url-keymap): Add mouse-1 binding.
2874 (newsticker-plainview): New.
2875 (newsticker-mark-all-items-of-feed-as-read): Change doc.
2876 (newsticker--buffer-do-insert-text): Use renamed
2877 newsticker--[buffer-]insert-enclosure and
2878 newsticker--[buffer-]print-extra-elements.
2879 (newsticker--buffer-set-faces): Use newsticker-default-face.
2881 * net/newsticker-treeview.el: New.
2883 2008-06-08 Andreas Schwab <schwab@suse.de>
2885 * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check.
2887 * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs.
2889 * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
2892 * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for.
2894 2008-06-08 Martin Rudalics <rudalics@gmx.at>
2896 * window.el (split-height-threshold, split-width-threshold):
2898 (split-window-preferred-function): Allow either nil or a function.
2899 (window--splittable-p, window--try-to-split-window):
2900 Handle changed option values.
2902 (window--frame-usable-p): Handle nil argument.
2904 (display-buffer): Call get-lru-window when pop-up-windows is nil
2905 and window can't be split.
2907 2008-06-08 Michael Albinus <michael.albinus@gmx.de>
2909 * uniquify.el (uniquify-get-proposed-name): Handle remote files.
2911 * net/tramp.el (top): Quote feature names. Remove
2912 `tramp-rfn-eshadow-setup-minibuffer' from
2913 `rfn-eshadow-setup-minibuffer-hook' when unloading.
2914 (tramp-read-passwd): There is only one call to
2915 `auth-source-user-or-password' needed. Pacify byte compiler.
2917 2008-06-08 Andreas Schwab <schwab@suse.de>
2919 * window.el (display-buffer): Use lru window if current window
2922 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2924 * apropos.el (apropos-library): New command and new button.
2925 (apropos-library-button): New function.
2927 * apropos.el: Remove spurious * in docstrings.
2928 (apropos-label-face): Use variable pitch.
2929 (apropos-print): Use dolist and with-current-buffer.
2930 (apropos-print-doc): Use when.
2932 * window.el (special-display-p, display-buffer):
2933 Fix up C->Elisp transcription error.
2935 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
2938 (byte-compile-file): Initialize it.
2939 (byte-compile-nogroup-warn): Keep track of the current group.
2941 2008-06-08 Glenn Morris <rgm@gnu.org>
2943 * Makefile.in (compile, compile-always, bootstrap-prepare):
2944 Explictly pass EMACS to sub-makes that use it, for non-GNU makes.
2946 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com>
2948 * language/hanja-util.el (hanja-init-load): Use a char-table for
2950 (hangul-to-hanja-char): Adjust for the above change.
2952 2008-06-07 Glenn Morris <rgm@gnu.org>
2954 * finder.el (finder-compile-keywords): Use lm-keywords-list rather than
2957 * mail/sendmail.el (mail-interactive): Add :version.
2959 * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than
2962 * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el:
2963 * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el:
2964 * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el:
2965 * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el:
2966 * eshell/esh-util.el, international/mule-cmds.el:
2967 * international/mule-diag.el, mail/smtpmail.el, net/netrc.el:
2968 * net/tls.el, progmodes/etags.el, textmodes/page-ext.el:
2969 Remove unnecessary eval-when-compiles and eval-and-compiles.
2971 * Makefile.in (bootstrap-clean): Run autogen-clean.
2972 (maintainer-clean): No need to run autogen-clean now it is included in
2975 2008-06-06 Miles Bader <miles@gnu.org>
2977 * Makefile.in (ELCFILES): Add gnus/nndir.elc.
2979 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
2981 * menu-bar.el (menu-bar-options-menu): Add Menu entry for
2984 * replace.el (replace-search-function)
2985 (replace-re-search-function): New vars.
2986 (perform-replace): Use them.
2988 * longlines.el (longlines-re-search-forward): New function.
2989 (longlines-mode): Bind replace-search-function and
2990 replace-re-search-function, to ensure that replacement commands
2991 treat newlines as spaces.
2992 (longlines-show-effect): Default to a pilcrow sign.
2994 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * help.el (function-called-at-point):
2997 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
2998 even when calling find-tag-default.
3000 2008-06-06 Daniel Colascione <danc@merrillpress.com>
3002 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
3003 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
3004 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
3005 (nxml-fontify-buffer, nxml-do-fontify):
3006 Remove obsolete variables and functions.
3007 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
3008 (nxml-degrade, nxml-after-change, nxml-after-change1)
3009 (nxml-extend-region, nxml-extend-after-change-region)
3010 (nxml-extend-after-change-region1, nxml-fontify-matcher)
3011 (nxml-toggle-char-ref-extra-display): Use font-lock, and
3012 font-lock-extend-region-functions in particular, to fontify
3014 (nxml-debug-region): New debugging helper function.
3016 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
3017 (nxml-scan-after-change, nxml-move-tag-backwards):
3018 Adapt for font-lock changes.
3020 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
3021 (nxml-debug-set-inside, nxml-debug-clear-inside):
3022 New debugging functions.
3023 (nxml-with-degradation-on-error): New helper macro.
3025 2008-06-06 Martin Rudalics <rudalics@gmx.at>
3027 * window.el (display-buffer): Remove dead call to get-lru-window.
3029 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3031 * mail/sendmail.el (mail-interactive): Change default.
3033 2008-06-05 John Paul Wallington <jpw@pobox.com>
3035 * bindings.el (completion-ignored-extensions):
3036 Add .p64fsl, .d64fsl, and .dx64fsl.
3038 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * ffap.el (ffap-prompter): Don't use the region.
3042 2008-06-05 Sam Steingold <sds@gnu.org>
3044 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
3045 subdirectory to be registered.
3047 2008-06-05 Martin Rudalics <rudalics@gmx.at>
3049 * window.el (display-buffer-function, special-display-p)
3050 (special-display-buffer-names, special-display-regexps)
3051 (special-display-function, same-window-p, same-window-buffer-names)
3052 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
3053 (pop-up-frame-function, pop-up-windows, even-window-heights)
3054 (split-window-preferred-function, split-height-threshold)
3055 (window--display-buffer-1, display-buffer, pop-to-buffer):
3056 Move from window.c and buffer.c.
3057 (window--splittable-p, window--try-to-split-window)
3058 (window--frame-usable-p, window--display-buffer-2)
3059 (window--even-window-heights): New functions.
3060 (split-width-threshold): New option.
3061 (split-window-preferred-horizontally): Remove.
3063 * cus-start.el: Remove corresponding declarations.
3065 2008-06-05 Sam Steingold <sds@gnu.org>
3067 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
3068 an error on modified buffers.
3070 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * progmodes/etags.el (tags-verify-table): Be careful to use and update
3073 tags-file-name and tags-table-list from the right buffer.
3074 (tags-table-check-computed-list, tags-table-extend-computed-list)
3075 (find-tag-noselect): Use with-current-buffer.
3077 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
3080 * minibuffer.el (minibuffer-local-must-match-filename-map):
3081 Declare obsolete alias for the old name.
3083 * abbrev.el (unexpand-abbrev): Better preserve markers.
3085 2008-06-05 Glenn Morris <rgm@gnu.org>
3087 * emacs-lisp/autoload.el (autoload-rubric): New function,
3088 extracted from autoload-ensure-default-file.
3089 (autoload-ensure-default-file): Use autoload-rubric.
3091 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
3092 (custom-dependencies-no-scan-regexp): New variable.
3093 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
3094 Don't scan files matching custom-dependencies-no-scan-regexp.
3095 Disable undo in the output buffer. Remove kept-new-versions wackiness.
3097 * finder.el (finder-headmark): Initialize and add doc string.
3098 (generated-finder-keywords-file): Doc fix.
3099 (finder-no-scan-regexp): New variable.
3100 (finder-compile-keywords): Use a single let binding.
3101 Disable undo in the output buffer. Use autoload-rubric.
3102 Use mapc rather than mapcar. Don't scan files matching
3103 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
3104 rather than concat. Use directory-files to do regexp matching.
3105 No need to require jka-compr.
3106 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
3107 (finder-list-matches): Disable undo.
3108 (finder-commentary): Use let rather than let*. Disable undo.
3109 (finder-current-item): Use zerop.
3110 (finder-mode): Use define-derived-mode.
3111 (finder-exit): Doc fix. Use dolist.
3113 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
3114 (custom-deps): Don't require $(lisp)/cus-load.el.
3115 (custom-deps, finder-data): Don't depend on autoloads.
3116 Should not be needed now, and doing so was causing make install to
3117 re-dump emacs post-bootstrap.
3118 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
3119 mid-build forces some things to be rebuilt.
3121 2008-06-05 Miles Bader <miles@gnu.org>
3124 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
3125 (face-remap-remove-relative): Renamed from
3126 `remove-relative-face-remapping'.
3127 (face-remap-reset-base): Renamed from
3128 `set-default-base-face-remapping'.
3129 (face-remap-set-base): Renamed from `set-base-face-remapping'.
3130 (text-scale-increase): Renamed from `increase-buffer-face-height'.
3131 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
3132 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
3134 * face-remap.el (variable-pitch-mode): Autoload.
3136 2008-06-04 Sam Steingold <sds@gnu.org>
3138 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
3139 Generate extra status headers for a Mercurial tree.
3141 2008-06-04 John Paul Wallington <jpw@pobox.com>
3143 * echistory.el (electric-history-map): Define within defvar.
3146 * font-lock.el (font-lock-turn-off-thing-lock)
3147 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
3148 Use `bound-and-true-p'.
3149 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
3152 * international/ccl.el (define-ccl-program): Add `doc-string'
3155 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
3157 * face-remap.el (variable-pitch-mode): Reflow docstrings.
3158 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
3160 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
3162 * emacs-lisp/rx.el (rx): Doc fix.
3164 2008-06-04 Markus Triska <markus.triska@gmx.at>
3166 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
3168 2008-06-04 Miles Bader <miles@gnu.org>
3170 * face-remap.el (adjust-buffer-face-height): New function.
3171 Add autoloaded keybindings in ctl-x-map.
3172 (increase-buffer-face-height, decrease-buffer-face-height):
3173 Simplify interactive spec to just "p". Remove autoloaded keybindings.
3175 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
3177 * simple.el (line-move-1): If we did not move as far as desired,
3178 ensure that point-left and point-entered hooks are called.
3180 2008-06-03 Sam Steingold <sds@gnu.org>
3182 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
3184 2008-06-03 John Paul Wallington <jpw@pobox.com>
3186 * progmodes/make-mode.el (makefile-cleanup-continuations)
3187 (makefile-warn-suspicious-lines, makefile-warn-continuations):
3188 Use `derived-mode-p'.
3190 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
3195 2008-06-03 Miles Bader <miles@gnu.org>
3197 * face-remap.el: New file.
3198 * Makefile.in (ELCFILES): Add face-remap.elc.
3200 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3202 * progmodes/flymake.el (flymake-process-filter): Make sure the source
3205 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
3206 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
3207 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
3208 * obsolete/auto-show.el, obsolete/hscroll.el:
3209 Remove packages that were obsolete in Emacs-20, or that were obsolete
3210 in Emacs-21 and do not contain any more code.
3212 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
3213 vc-client-mode is not set.
3215 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
3216 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
3218 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
3219 yet a bit more clever at distinguishing / from /.
3221 2008-06-03 Kenichi Handa <handa@m17n.org>
3223 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
3225 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
3227 * language/hanja-util.el: New file.
3229 2008-06-03 Glenn Morris <rgm@gnu.org>
3231 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
3232 Check that end-of-word follows "type".
3234 2008-06-02 Daiki Ueno <ueno@unixuser.org>
3236 * epa-file.el (epa-file-write-region): Write the entire buffer
3237 content if START is nil.
3239 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
3241 * select.el (x-get-selection): Fix typo.
3243 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
3245 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
3246 (describe-char): Use `looking-at-p', `string-match-p' when possible.
3248 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * tar-mode.el (tar-header-block-summarize): Ensure one space around
3253 2008-05-31 John Paul Wallington <jpw@pobox.com>
3255 * help-fns.el (describe-variable-custom-version-info):
3256 Handle dotted `package-version' info.
3258 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
3260 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
3262 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
3264 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
3265 names and improve support for unregistered files.
3267 2008-05-31 Glenn Morris <rgm@gnu.org>
3269 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
3270 Remove shell variable `elc'. Split tests to hopefully be more portable.
3271 Fix `sel' assignment.
3273 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
3275 * minibuffer.el (completion-table-dynamic): Doc fix.
3277 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3279 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
3280 Try and return `unregistered' when applicable.
3282 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3283 Don't encourage naming variables with "-flag".
3285 2008-05-30 Glenn Morris <rgm@gnu.org>
3287 * Makefile.in (update-elclist): Hide the warning when it does not apply,
3288 make it milder when it does.
3289 (autogen-clean): New target.
3290 (maintainer-clean): Use autogen-clean.
3292 * calendar/diary-lib.el (diary-display-function): New name for
3293 diary-display-hook. Keep old name as obsolete alias. Doc fix.
3294 Change custom type and version.
3295 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
3296 (diary-fancy-display): Doc fixes.
3297 (diary-list-entries, diary-include-other-diary-files)
3298 (diary-mail-entries):
3299 Use diary-display-function rather than diary-display-hook.
3301 * calendar/appt.el (appt-check): Use diary-display-function rather than
3303 * calendar/cal-x.el (calendar-dedicate-diary): Update for
3304 diary-display-function replacing diary-display-hook.
3305 * org/org-agenda.el (org-get-entries-from-diary): Also set
3306 diary-display-function.
3308 * calendar/cal-html.el (cal-html-list-diary-entries):
3309 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
3310 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
3311 argument of diary-list-entries rather than setting diary-display-hook.
3313 2008-05-30 Kenichi Handa <handa@m17n.org>
3315 * international/mule-conf.el (utf-8-with-signature): Renamed from
3317 (utf-8-auto): Adjusted for the above change.
3319 * international/mule-diag.el (describe-font): Don't check fontset
3320 here, and just call font-info. Get the default font by from the
3323 2008-05-29 Kenichi Handa <handa@m17n.org>
3325 * international/mule-conf.el (utf-8-sig, utf-8-auto):
3328 * international/mule.el (define-coding-system): Accept :bom for utf-8.
3330 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
3332 * international/utf-7.el (utf-7-encode): Use the right escape char
3333 depending on imap/nonimap encoding.
3335 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3337 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
3339 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
3341 * icomplete.el (icomplete-prospects-height): Add :group.
3343 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * icomplete.el (icomplete-prospects-length): Make obsolete.
3346 (icomplete-prospects-height): New var.
3347 (icomplete-completions): Use it.
3349 2008-05-29 David Kastrup <dak@gnu.org>
3351 * autoinsert.el (auto-insert): Add :link.
3353 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * tar-mode.el (tar-header): New field `header-start'.
3356 (tar-header-block-tokenize): Set it when useful.
3357 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
3358 (tar-header-data-end): New function.
3359 (tar-summarize-buffer): Use it.
3360 (tar-next-line): Fix goal column for long usernames.
3361 (tar-expunge-internal): Use header-start.
3362 (tar-rename-entry): Handle ustar-style long names.
3363 (tar-alter-one-field): Add optional `descriptor' argument.
3364 (tar-subfile-save-buffer): Use it.
3366 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * tar-mode.el (tar-header): New field `header-start'.
3369 (tar-header-block-tokenize): Set header-start for longlink entries.
3370 (tar-expunge-internal): Use header-start to expunge longlink entries.
3372 * files.el (hack-local-variables): Don't signal an error if the local
3373 variable section is not properly terminated.
3375 * emacs-lisp/easymenu.el (easy-menu-convert-item)
3376 (easy-menu-convert-item-1): Move the duplicate-generation outside of
3377 the caching so it also works for identical entries.
3379 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
3380 (tar-mode): Use write-region-annotate-functions rather than
3381 write-contents-functions.
3382 (tar-extract): Remove unused var `pos'.
3383 (tar-subfile-save-buffer): Remove unused var `following-descs'.
3384 (tar-mode-write-file): Remove.
3385 (tar-write-region-annotate): New function.
3387 * progmodes/flymake.el (flymake-save-buffer-in-file):
3388 * shadowfile.el (shadow-copy-file):
3389 * arc-mode.el (archive-*-write-file-member):
3390 * files.el (diff-buffer-with-file):
3391 * subr.el (with-temp-file): Pass nil to write-region.
3392 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
3394 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
3397 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
3400 2008-05-28 Glenn Morris <rgm@gnu.org>
3402 * Makefile.in (update-elclist): Work around non-portability of "\"
3403 in various implementations of echo.
3405 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * international/mule-diag.el (describe-current-coding-system):
3408 Don't assume selection-coding-system is always defined.
3410 * tar-mode.el: Use defstruct and markers.
3412 (tar-header): Use defstruct. Add `data-start' field.
3413 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
3414 (tar-desc-data-start): Remove (now called tar-header-data-start).
3415 (tar-roundup-512): New fun.
3416 (tar-header-block-tokenize): Receive a buffer position rather than
3417 a string. Handle @longLink here, be more careful about it.
3418 Create a marker for data-start.
3419 (tar-summarize-buffer): Don't handle @LongLink here any more.
3420 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
3421 data-start on the following entries any more.
3422 (tar-chown-entry, tar-chgrp-entry): Use read-number.
3424 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
3425 (tar-header-offset): Remove.
3426 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
3427 Not permanent any more.
3428 (tar-data-buffer): New var.
3429 (tar-data-swapped-p, tar-change-major-mode-hook)
3430 (tar-mode-kill-buffer-hook): New funs.
3431 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
3432 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
3433 (tar-clear-modification-flags, tar-alter-one-field)
3434 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
3437 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
3439 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
3440 (vc-dir-resynch-file): ... this. Update callers.
3441 Use vc-string-prefix-p. Ignore directory args.
3442 (vc-string-prefix-p): CSE.
3443 (vc-resynch-buffer): Restore conditional.
3445 * vc-hooks.el (vc-after-save): Improve test.
3446 (vc-mode-line): Fix indentation.
3448 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
3450 * calendar/parse-time.el (parse-time-months)
3451 (parse-time-weekdays): Add long-form month and day names.
3453 2008-05-27 Glenn Morris <rgm@gnu.org>
3455 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
3457 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * vc-dispatcher.el (vc-string-prefix-p): New function.
3460 (vc-dir-parent-marked-p): Use it.
3462 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
3464 * vc.el (Problems): Remove fixed issues.
3465 (vc-expand-dirs): Avoid returning directories.
3466 (vc-dir): Fix C-x v v binding.
3467 (vc-make-backend-object): Fix name.
3468 (vc-dir-show-fileentry): Fix docstring.
3469 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
3470 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
3471 Reset the state for directories.
3472 (vc-dir-headers): Align labels.
3473 (vc-default-status-printer): Do no call prettify-state-info.
3474 (vc-deduce-fileset): Replace implementation with one based on a
3475 working older version.
3476 (vc-next-action): Use the new form of vc-deduce-fileset.
3477 Fix dealing with unregistered files.
3479 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
3480 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
3481 (vc-dir-child-files): New function.
3482 (vc-dir-node-directory): New function.
3483 (vc-dir-update, vc-dir-parent-marked-p)
3484 (vc-dir-children-marked-p, vc-dir-mark-all-files)
3485 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
3487 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
3489 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
3492 (diff-font-lock-keywords, diff-context->unified)
3493 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
3494 (diff-hunk-text, diff-find-source-location): Use it.
3495 (diff-post-command-hook): Let the user edit the hunk headers.
3497 2008-05-26 Andreas Schwab <schwab@suse.de>
3499 * vc.el (vc-default-prettify-state-info): Fix formatting of an
3502 * tar-mode.el (tar-summarize-buffer): Comment fix.
3504 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
3508 2008-05-26 Glenn Morris <rgm@gnu.org>
3510 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
3512 2008-05-25 John Paul Wallington <jpw@pobox.com>
3514 * proced.el (proced-next-line, proced-previous-line):
3515 Avoid calling `next-line' and `previous-line' from Lisp code.
3517 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
3519 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
3520 Use diary-ordinal-suffix.
3522 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
3524 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
3525 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
3526 (edebug-save-displayed-buffer-points, edebug-initial-mode)
3527 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
3528 (edebug-print-length, edebug-print-level, edebug-print-circle)
3529 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
3530 (edebug-global-break-condition, edebug-sit-for-seconds):
3531 Remove spurious * from defcustom docstrings.
3532 (edebug-unwrap*, edebug-signal, edebug-eval-display):
3533 Improve argument/docstring consistency.
3534 (edebug-test-coverage, edebug-gensym, edebug-read)
3535 (edebug-top-level-nonstop, edebug-eval-result-list)
3536 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
3537 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
3538 (edebug-display-freq-count): Reflow docstrings.
3539 (edebug-restore-status): Doc fix.
3541 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * proced.el (proced-header-line): Use the :align-to 0 feature
3544 rather than computing the corresponding position manually.
3545 (proced-update): Don't hardcode point-min==1.
3547 2008-05-24 Alan Mackenzie <acm@muc.de>
3549 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
3550 if c-file-style is set to a non-string.
3552 (c-neutralize-CPP-line): Surround by `save-excursion'.
3553 (c-neutralize-syntax-in-CPP): Optimize for speed.
3555 2008-05-24 Glenn Morris <rgm@gnu.org>
3557 * Makefile.in (update-elclist): New target, to update ELCFILES.
3558 (bootstrap-after): Run update-elclist.
3560 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
3562 * icalendar.el (icalendar-version): Increase to "0.19".
3563 (icalendar--date-style): New function.
3564 (icalendar--datetime-to-diary-date): Doc fix.
3565 Use icalendar--date-style.
3566 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
3567 (icalendar--convert-yearly-to-ical)
3568 (icalendar--convert-recurring-to-diary): Handle iso date style,
3569 use icalendar-date-style.
3571 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
3573 * vc.el (vc-delete-file): Make sure the buffer is deleted and
3574 vc-dir buffers are updated.
3576 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * vc.el (vc-delete-file): Don't try to resynch the buffer.
3580 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
3582 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
3583 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
3584 (reftex-extra-bindings): Use it.
3586 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
3587 away from the user-reserved keys.
3589 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
3591 (ada-create-keymap): Use them.
3593 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
3596 a properly-grouped regexp.
3598 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
3600 * progmodes/cap-words.el (capitalized-words-mode):
3601 Fix typos in docstring.
3603 2008-05-23 Kenichi Handa <handa@m17n.org>
3605 * international/mule-conf.el: Don't define the charset `emacs'
3606 here, just put :docstring, :short-name, and :long-name.
3608 2008-05-22 Kenichi Handa <handa@m17n.org>
3610 * international/mule-diag.el (font-show-log): Limit each listing
3613 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
3615 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
3616 (gdb-annotation-rules): New entry for "thread-changed".
3617 (gdb-thread-changed): New function.
3619 2008-05-23 Glenn Morris <rgm@gnu.org>
3621 * Makefile.in (SOURCES): Remove, unused.
3622 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
3623 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
3624 Exclude more '*loaddefs' files.
3625 (compile-always): Simplify '.elc' deletion.
3627 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
3630 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
3632 * minibuffer.el (completion-boundaries): Change calling
3633 convention, so `string' has the same semantics as in
3634 try-completion and all-completions.
3635 (completion-table-with-context, completion--embedded-envvar-table)
3636 (completion--file-name-table)
3637 (completion-pcm--find-all-completions): Adjust code accordingly.
3639 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
3641 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
3642 prune image-mode-winprops-alist, preventing it from growing
3644 (image-mode-reapply-winprops): Use it.
3646 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
3648 * net/netrc.el (netrc-machine): Always match if the port is not given.
3650 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * minibuffer.el (completion-pcm--find-all-completions):
3653 Don't add pseudo-completions.
3655 * icomplete.el (icomplete-eoinput): Remove.
3656 (icomplete-overlay): New var to replace it.
3657 (icomplete-tidy): Rewrite.
3658 (icomplete-exhibit): Use an overlay.
3659 (icomplete-completions): Use completion-all-sorted-completions.
3660 Obey completion-ignore-case.
3662 * files.el (locate-dominating-file): Accept non-existing argument.
3663 (project-find-settings-file): Rewrite, using locate-dominating-file.
3665 2008-05-22 Kenichi Handa <handa@m17n.org>
3667 * faces.el (font-weight-table, font-slant-table, font-width-table):
3668 Delete them. Don't call internal-set-font-style-table.
3670 * international/mule-diag.el (font-show-log): New function.
3672 * international/fontset.el (script-representative-chars): Add more
3673 chars for latin. Add data for symbol.
3674 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
3676 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3678 * minibuffer.el (completion-all-sorted-completions): New var.
3679 (completion--flush-all-sorted-completions)
3680 (completion-all-sorted-completions): New functions.
3681 (minibuffer-force-complete): New command.
3683 2008-05-21 Glenn Morris <rgm@gnu.org>
3685 * files.el (c-postprocess-file-styles): Declare for compiler.
3687 * Makefile.in: Allow for parallel byte-compiling.
3688 (ELCFILES): New variable.
3689 (.el.elc): Remove prerequisites from suffix rule. Print a message.
3690 (compile-first, compile-main, compile-last): New targets.
3691 (compile-always): Simplify - delete .elc files, then `make compile'.
3693 * Makefile.in (compile-calc): Use glob rather than find.
3694 ($(lisp)/progmodes/cc-mode.elc): Use $@.
3696 * eshell/esh-module.el: No need for cl when compiling.
3698 * eshell/eshell.el (eshell-defgroup): New alias.
3699 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3700 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3701 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3702 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3703 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3704 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
3705 Autoload the custom group. Set generated-autoload-file.
3706 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
3707 for eshell-defgroup.
3708 * eshell/esh-module.el (eshell-load-defgroups): Remove.
3709 Require esh-groups rather than loading it.
3711 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3713 * proced.el (proced-header-line): New variable and new function.
3714 (proced-mode): Set header-line-format.
3715 (proced-update): Set proced-header-line.
3716 (proced-send-signal): Use proced-header-line.
3718 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * macros.el (insert-kbd-macro): Use prin1-char.
3722 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * minibuffer.el (completion-boundaries): New function.
3725 (completion--some): Delay errors.
3726 (complete-with-action, completion-table-with-context):
3727 Handle `boundaries' case.
3728 (completion--try-word-completion): Avoid partial-completion
3729 when the user hasn't entered anything yet.
3730 (minibuffer-local-map, minibuffer-local-filename-completion-map)
3731 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
3732 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
3733 Setup default keybindings.
3734 (completion--embedded-envvar-re): New var.
3735 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
3736 (completion--file-name-table): Handle `boundaries' case.
3737 (completion-pcm--pattern->regex): Avoid pathological backtracking.
3738 (completion-pcm--all-completions): Add a `prefix' arg.
3739 (completion-pcm--find-all-completions): New function.
3740 (completion-pcm-all-completions, completion-pcm-try-completion):
3743 * icomplete.el (icomplete-completions): Don't use `predicate' with
3744 a table of a different type than `candidates'.
3746 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3748 * proced.el (proced-goal-column): Rename from proced-procname-column.
3749 (proced-goal-header-re): Rename from proced-procname-column-regexp.
3750 (proced-move-to-goal-column): Rename from proced-move-to-procname.
3751 (proced-header-face, proced-header-regexp): Remove.
3752 (proced-font-lock-keywords): Remove proced-header-face.
3753 (proced-header-alist, proced-sorting-schemes-re): New variables.
3754 (proced): Rename Proced buffer to *Proced*.
3755 (proced-next-line, proced-previous-line): New commands.
3756 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
3757 (proced-hide-processes): Do not treat first line as special.
3758 (proced-header-space): New function.
3759 (proced-update): Use header-line-format.
3760 Initialize proced-header-alist and proced-sorting-schemes-re.
3761 Set proced-goal-column. Include proced-command in mode-name.
3762 (proced-send-signal): Use header-line-format for *Marked
3764 (proced-sort): Restrict minibuffer completion to applicable
3766 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
3768 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * icomplete.el (icomplete-simple-completing-p):
3771 Allow icomplete-with-completion-tables to say "use it everywhere".
3772 (icomplete-completions): Obey completion-styles. Try to accommodate
3773 partial-completion style.
3775 2008-05-20 Michael Olson <mwolson@gnu.org>
3777 * files.el (project-find-settings-file): Change concat to
3780 2008-05-19 Tom Tromey <tromey@redhat.com>
3782 * files.el (normal-mode): Call hack-project-variables.
3783 (hack-local-variables-confirm): Add 'project' argument.
3784 (hack-local-variables-apply): New function.
3785 (hack-local-variables): Use it.
3786 (project-class-alist, project-directory-alist): New variables.
3787 (project-get-alist): New function.
3788 (project-collect-bindings-from-alist)
3789 (project-collect-binding-list, set-directory-project)
3790 (project-find-settings-file, project-define-from-project-file)
3791 (hack-project-variables): New functions.
3793 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
3797 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
3799 * faces.el (font-weight-table): Fix typo in docstring.
3801 2008-05-18 David Hull <david@snap.com> (tiny change)
3803 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
3804 (vc-hg-annotate-command): Allow white space before version number.
3806 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
3808 * calc/calc-yank.el (calc-register-alist): New variable.
3809 (calc-set-register, calc-get-register, calc-copy-to-register)
3810 (calc-insert-register, calc-add-to-register, calc-append-to-register)
3811 (calc-prepend-to-register): New functions.
3813 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
3814 `calc-copy-to-register' and `calc-insert-register'.
3815 Autoload new register functions.
3817 * calc/calc-help.el (calc-r-prefix-help): Add help for register
3820 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
3822 * vc.el (Todo): Add known problems.
3823 (vc-dir-backend): New variable.
3825 (vc-make-backend-object, vc-generic-status-printer)
3826 (vc-generic-state, vc-generic-status-fileinfo-extra)
3827 (vc-dir-extra-menu): Use it.
3828 (vc-generic-dir-headers): Remove, unused.
3830 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
3831 vc-dir-prev-directory for consistency with vc-dir-previous-line.
3832 (vc-dir-mode-map): Fix bindings.
3834 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
3836 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
3838 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
3840 (calc-kill-region): Kill entire lines.
3842 2008-05-17 Glenn Morris <rgm@gnu.org>
3844 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
3845 simplify initial value.
3846 (defezimage): Drop support for Emacs without defimage, use a featurep
3847 test rather than fboundp when defining, drop with-no-warnings.
3848 (ezimage-insert-over-text): Move featurep test inside
3849 add-text-properties.
3851 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
3853 * net/tramp.el (top-level): Load auth-source when compiling.
3855 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
3857 2008-05-17 Andreas Schwab <schwab@suse.de>
3859 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
3861 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
3863 * vc.el (vc-annotate-show-diff-revision-at-line): Change
3864 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
3866 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3868 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
3870 2008-05-17 Jim Meyering <meyering@redhat.com>
3872 * ido.el (ido-save-history): Do not emit a trailing newline at the
3873 end of the ido history file.
3875 2008-05-16 John Paul Wallington <jpw@pobox.com>
3877 * vc-dispatcher.el (top-level): Revert previous change: require cl
3880 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
3882 * vc.el (vc-default-status-printer)
3883 (vc-default-prettify-state-info): Enhance the state prettyprinter
3884 to deal better with unknown states and indirect through it when
3885 painting vc-dir buffers.
3887 2008-05-16 John Paul Wallington <jpw@pobox.com>
3889 * vc-dispatcher.el (top-level): Don't require cl when compiling.
3890 (vc-dir-mode-map): Fix backquote.
3891 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
3893 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
3895 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
3896 Reported by Glenn Morris <rgm@gnu.org>.
3898 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
3900 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
3901 the end of the file, it was good work at one time but has been
3902 stale since 1995 and may now be actively misleading.
3903 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
3904 CVS repository and module (assumptions for the latter a bit iffy).
3905 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
3908 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
3910 * vc-rcs.el (vc-rcs-create-tag):
3911 * vc-sccs.el (vc-sccs-create-tag):
3912 Fix typo in error message and pass backend arg.
3914 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
3916 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
3918 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
3920 * net/tramp.el: Load auth-source library.
3921 (tramp-read-passwd): Use it for password, not login.
3923 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
3925 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
3926 (ses-print-cell): Use string-width, truncate-string-to-width,
3927 delete-region rather than length, substring, delete-char.
3928 (ses-setup): Set inhibit-point-motion-hooks to t.
3929 Calculate position by actually moving point rather than just using
3930 unibyte character length.
3931 (ses-mode): Set indent-tabs-mode to nil.
3932 (ses-center): Use string-width rather than length.
3934 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
3936 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
3937 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
3938 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
3939 vc-*-create-tag and vc-*-retrieve-tag respectively.
3941 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
3944 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
3946 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
3949 2008-05-15 Glenn Morris <rgm@gnu.org>
3951 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
3953 * org/org-exp.el (org-infojs-options-inbuffer-template):
3956 * progmodes/cc-mode.el (declare-function): Add compat definition.
3957 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
3959 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
3961 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
3962 list to a cons so the caller can get back both expanded and
3963 unexpanded filesets.
3964 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
3965 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
3966 Change handling of selection-set returns as required.
3968 2008-05-15 John Paul Wallington <jpw@pobox.com>
3970 * add-log.el (top-level): Don't require cl when compiling.
3972 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
3973 (archive-*-extract): Use `zerop'.
3974 (archive-*-write-file-member): Use `or', use `zerop'.
3976 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
3978 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
3979 (ibuffer-mark-interactive, ibuffer-set-mark)
3980 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
3981 (ibuffer-map-lines, ibuffer-switch-format)
3982 (ibuffer-update-title-and-summary)
3983 (ibuffer-redisplay-engine): Use it.
3985 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
3986 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
3987 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
3988 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
3989 (ibuffer-mark-read-only-buffers)
3990 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
3992 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
3993 (define-ibuffer-column, define-ibuffer-sorter)
3994 (define-ibuffer-op, define-ibuffer-filter): Add declarations
3995 containing indentation specs, replacing equivalent top-level
3996 forms that set `lisp-indent-function' properties.
3997 (define-ibuffer-op): Use `derived-mode-p'.
3998 (define-ibuffer-filter): Remove redundant `concat' call.
4000 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
4002 * net/tramp.el (tramp-echo-mark): Update docstring.
4003 (tramp-echo-mark-marker): New defconst.
4004 (tramp-check-for-regexp): Use it.
4006 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
4008 * vc.el (vc-deduce-fileset): Do the right thing when visting a
4009 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
4012 2008-05-14 John Paul Wallington <jpw@pobox.com>
4014 * international/mule.el (convert-define-charset-argument):
4015 Remove period from end of error message.
4016 (coding-system-mnemonic): Doc fix.
4017 (ctext-pre-write-conversion): Doc fix.
4019 2008-05-14 Simon Marshall <simon@gnu.org>
4021 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
4022 from its default value and give it the risky-local-variable
4023 property (CVE-2008-2142).
4025 2008-05-14 Kenichi Handa <handa@m17n.org>
4027 * language/korean.el ("Korean"): Set `iso639-language'
4030 * language/japanese.el ("Japanese"): Set `iso639-language'
4033 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4034 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
4035 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
4037 * international/mule-cmds.el (set-language-environment):
4038 Set current-iso639-language.
4040 * international/fontset.el (setup-default-fontset): For kana, han,
4041 hangul, and cjk-misc, move an entry with font-spec at the end.
4042 (generate-fontset-menu): Exclue fontset-auto* from the list.
4044 * composite.el (compose-chars-after): Assume that WINDOW is always
4047 * faces.el (font-weight-table, font-slant-table)
4048 (font-swidth-table): Declare them by defconst. Change the format
4049 of elements. Call internal-set-font-style-table after their
4051 (face-valid-attribute-values): Call font-family-list. Get values
4052 for width, weight, and slant from font-xxx-table.
4054 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
4056 2008-05-13 John Paul Wallington <jpw@pobox.com>
4058 * ibuffer.el (ibuffer-buffer-file-name): New function.
4059 (define-ibuffer-column filename): Use it.
4061 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
4063 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
4065 * talk.el (talk): Simplify. Pass display arg to talk-add-display
4067 (talk-add-display): Simplify. Accept only string args.
4069 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
4071 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
4073 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * Makefile.in (bootstrap-prepare): Don't chmod files.
4076 (autoloads): Do it here instead, where it's actually needed.
4078 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
4080 * tool-bar.el (tool-bar-make-keymap): Account for the optional
4081 KEY-BINDING-DATA field in menu-item list.
4083 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * dired.el (dired-read-dir-and-switches): Move things about to use less
4086 recursion during macroexpansion.
4088 * dired.el (dired-read-dir-and-switches): Use read-file-name.
4090 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
4091 completion-ignored-extension directories if there's something else.
4092 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
4093 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
4094 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
4095 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
4096 buffer-read-only -> inhibit-read-only.
4098 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
4100 * vc.el (vc-expand-dirs): Stop this function from tossing out
4101 explicitly specified files.
4103 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
4108 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
4110 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
4111 cons. Use vc-annotate-backend.
4112 (with-vc-file, edit-vc-file): Remove unused macros.
4114 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
4116 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
4117 (smtpmail-try-auth-methods): Use it.
4119 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
4122 (setf (nthcdr ..) ..) doesn't require CL at runtime.
4124 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
4126 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
4128 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
4131 (vc-bzr-revision-completion-table): Use process-file.
4132 (vc-bzr-working-revision): Pass relative file names.
4134 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
4136 2008-05-11 Juri Linkov <juri@jurta.org>
4138 * wid-edit.el (widget-image-directory): Change default image data
4139 subdirectory from "custom" to "images/custom".
4141 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
4142 before recursive call to `Info-next-preorder' to not add
4143 intermediate nodes to the history.
4145 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
4147 * emulation/cua-base.el: Put isearch-scroll property
4148 on cua-scroll-up and cua-scroll-down.
4150 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
4152 * vc-hooks.el (vc-recompute-state): Remove (dead code).
4154 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
4156 * vc-dispatcher.el (ewoc): Require.
4157 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
4159 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
4161 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
4163 * term/w32-win.el (x-colors):
4164 * term/mac-win.el (x-colors):
4165 * term/x-win.el (x-colors): Re-order colors.
4167 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
4169 * smerge-mode.el (smerge-command-prefix): Fix custom type.
4171 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
4173 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
4174 New functions implementing motion to next and previous directory.
4176 * vc-arch.el (vc-arch-command):
4177 * vc-bzr.el (vc-bzr-command):
4178 * vc-cvs.el (vc-cvs-command):
4179 * vc-dispatcher.el (vc-do-command):
4180 * vc-git.el (vc-git-command):
4181 * vc-hg.el (vc-hg-command):
4182 * vc-mcvs.el (vc-mvcs-command):
4183 * vc-mtn.el (vc-mtn-command):
4184 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
4185 (vc-sccs-workfile-unchanged-p):
4186 * vc-svn.el (vc-svn-command, vc-svn-create-repo):
4187 * vc-rcs.el (all methods): Remove assumption about what a nil
4188 argument to vc-do-command means. This means no buffer name needs
4189 to be hardcoded into the dispatcher layer, and it's better to be
4192 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
4194 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
4196 * vc.el: Update todo.
4198 * vc-sccs.el (vc-sccs-dir-status):
4199 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
4200 backends and returning up to date files.
4202 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
4204 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
4207 * vc-hooks.el: Tweak the VC directory bindings. These are now
4208 documented in the manual.
4210 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
4211 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
4212 (vc-dispatcher-selection-set): Allow callers to pass in an
4213 observer flag that says no buffer sync is required.
4214 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
4215 Use the observer flag.
4217 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
4219 * simple.el (start-file-process): Clarify docstring.
4221 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
4223 * vc-sccs.el, vc-svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
4224 Remove stub implementations of, and references to, wash-log.
4225 * vc-rcs.el (vc-rcs-comment-history):
4226 * vc-cvs.el (vc-cvs-comment-history):
4227 Inline the code that used to be wash-log.
4229 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
4230 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
4231 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
4232 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
4233 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
4234 (vc-rcs-print-log): Grok directories.
4236 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * vc.el (vc-mark-resolved): Add `backend' argument.
4239 (vc-next-action): Pass it the backend.
4240 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
4241 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
4242 (vc-default-comment-history, vc-default-create-snapshot)
4243 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
4244 (vc-annotate-revision-previous-to-line)
4245 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
4246 * vc-svn.el (vc-svn-checkout):
4247 * vc-mcvs.el (vc-mcvs-checkout):
4248 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
4249 (vc-working-revision, vc-before-save, vc-mode-line):
4250 Prefer vc-call-backend to vc-call so as not to recompute the backend.
4252 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
4253 state to be consistent since it's often an unwarranted restriction.
4254 Don't return the state either.
4255 (vc-next-action): Check that the state is consistent.
4256 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
4257 (vc-rollback, vc-update): Adapt to new return value of
4260 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
4261 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
4262 (vc-dispatcher-in-fileset-p): New fun.
4263 (vc-dispatcher-selection-set): Use it to properly handle directories.
4265 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
4267 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
4268 (vc-update): Remove unused let bindings.
4270 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
4272 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
4273 (vc-diff, vc-revert, vc-rollback, vc-update):
4274 * vc-dispatcher.el (vc-dispatcher-selection-set):
4275 Get rid of 4 special cases in fileset selection. This involved
4276 changing the return value of (vc-deduce-fileset) so that it passes
4277 back a deduced state as well as a deduced back end.
4279 2008-05-08 Sam Steingold <sds@gnu.org>
4281 * progmodes/compile.el (compilation-minor-mode-map)
4282 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
4283 * progmodes/grep.el (grep-mode-map): Use `set-keymap-parent' to connect
4284 it to `compilation-minor-mode-map' (instead of an explicit `cons').
4286 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
4288 * org/org.el (org-modules, org-format-latex-options):
4289 * org/org-archive.el (org-archive-stamp-time)
4290 (org-archive-save-context-info):
4291 * org/org-faces.el (org-hide):
4292 * org/org-irc.el (org-irc-parse-link):
4293 * org/org-macs.el (org-call-with-arg, org-autoload):
4294 * org/org-mew.el (org-mew-store-link):
4295 * org/org-remember.el (org-remember-store-without-prompt)
4296 (org-remember-templates): Fix typos in docstrings.
4298 * org/org-info.el (org-info-store-link): Remove leftover docstring.
4300 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4301 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4302 (org-bbdb-anniv-split): Fix typos in docstrings.
4304 * org/org-publish.el (org-publish-project-alist): Doc fixes.
4305 (org-publish-use-timestamps-flag): Reflow docstring.
4306 (org-publish-files-alist): Fix typos in docstring.
4308 2008-05-07 Sam Steingold <sds@gnu.org>
4310 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
4311 appears to be too aggressive with window removal.
4313 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
4315 * progmodes/verilog-mode.el (verilog-type-font-keywords):
4316 Add leda and 0in as pragma keywords.
4317 (verilog-pretty-expr): Support lining up assignments which include
4319 (verilog-mode): More portable check for the availability of
4321 (verilog-do-indent): Remove special indent for declarations inside
4322 a parenthetical list. The code is ill-advised, and doesn't work
4323 given the new user defined types.
4324 (verilog-set-auto-endcomments): Enhance function automatic
4325 endcomment to support functions that return user defined types.
4326 (verilog-mode): Add code to tell which-function-mode minor mode
4327 that Verilog supports this feature.
4329 2008-05-08 Eli Zaretskii <eliz@gnu.org>
4331 * epa-file.el: Require epa-hook.
4333 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
4335 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
4336 file-names clashes on 8+3 filesystems. Provide epa-hook.
4338 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
4339 file-names clashes on 8+3 filesystems.
4341 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
4343 * org/org.el (org-read-date-get-relative): Interpret lone
4344 weekday abbreviation as relative to today.
4346 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
4348 * abbrev.el (define-abbrev-table):
4349 * composite.el (toggle-auto-composition):
4350 * json.el (json-alist-p, json-plist-p):
4351 * minibuffer.el (completion-table-with-predicate):
4352 * ps-mule.el (ps-mule-external-libraries):
4353 * emacs-lisp/advice.el (ad-special-form-p):
4354 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4355 * eshell/em-smart.el (eshell-review-quick-commands):
4356 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
4357 (python-skip-out, python-check-comint-prompt):
4358 Don't use `iff' in docstrings.
4360 * international/robin.el (robin-package-alist): Fix typo in docstring.
4361 (robin-current-package-name): Doc fix.
4362 (robin-activate): Don't use `iff' in docstring.
4364 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
4366 * vc.el, vc-dispatcher.el: VC-Dired support removed.
4367 The code uses a ewoc-based implementation now.
4368 * vc-hooks.el: Support for Meta-CVS has been removed.
4370 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * tool-bar.el: Choose images dynamically.
4373 (tool-bar-make-keymap, tool-bar-find-image): New function.
4374 (tool-bar-find-image-cache): New var.
4375 (tool-bar-local-item, tool-bar-local-item-from-menu):
4376 Don't select the image yet, do it later in tool-bar-make-keymap.
4378 2008-05-07 Andreas Schwab <schwab@suse.de>
4380 * window.el: Require 'cl when compiling.
4382 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
4384 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
4386 2008-05-07 Glenn Morris <rgm@gnu.org>
4388 * subr.el (ignore-errors): Move here from cl-macs.el.
4389 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
4391 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
4394 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
4396 * vc-hooks.el (vc-find-file-hook):
4397 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
4399 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
4401 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
4403 * progmodes/verilog-mode.el (verilog-getopt-file):
4404 Cleanup warning message format.
4405 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
4406 (verilog-auto-inout, verilog-auto-inout-module)
4407 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
4408 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4409 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
4410 (verilog-auto-sense-sigs, verilog-auto-tieoff)
4411 (verilog-auto-unused, verilog-auto-wire)
4412 (verilog-decls-get-assigns, verilog-decls-get-consts)
4413 (verilog-decls-get-gparams, verilog-decls-get-inouts)
4414 (verilog-decls-get-inputs, verilog-decls-get-outputs)
4415 (verilog-decls-get-ports, verilog-decls-get-regs)
4416 (verilog-decls-get-signals, verilog-decls-get-wires)
4417 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
4418 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
4419 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
4420 (verilog-inject-sense, verilog-library-filenames)
4421 (verilog-mode-release-date, verilog-mode-version)
4422 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
4423 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
4424 (verilog-modi-get-assigns, verilog-modi-get-consts)
4425 (verilog-modi-get-gparams, verilog-modi-get-inouts)
4426 (verilog-modi-get-inputs, verilog-modi-get-outputs)
4427 (verilog-modi-get-ports, verilog-modi-get-regs)
4428 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
4429 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
4430 (verilog-modi-get-wires, verilog-preserve-cache)
4431 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
4432 (verilog-read-sub-decls, verilog-read-sub-decls-line)
4433 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
4434 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
4435 Add caching of additional state, and rework signal extraction
4436 routines to improve AUTO expansion performance by 300%++.
4438 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
4440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4441 Tweak Open Watcom regexp to distinguish between errors and warnings.
4443 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * dired.el (dired-read-dir-and-switches): Fix up last change.
4447 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
4449 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
4450 out of this function, move it to vc-dispatcher-selection-set.
4452 2008-05-05 Sam Steingold <sds@gnu.org>
4454 * window.el (delete-other-windows-vertically): New function.
4456 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * dired.el (dired-read-dir-and-switches):
4459 Obey read-file-name-completion-ignore-case.
4461 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
4463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4464 Add regexp for Open Watcom compiler output.
4466 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
4468 * progmodes/python.el (python-block-pairs): Align finally with except.
4470 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
4474 2008-05-05 Tom Tromey <tromey@redhat.com>
4476 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
4477 looking at conflict marker.
4479 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4481 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
4482 client-mode -> vc-client-object, and guess `funcall' was meant.
4483 (vc-dir-mode): Rename client-mode -> vc-client-mode.
4485 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
4487 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
4488 (dbus-debug): Move declarations outside eval-when-compile.
4490 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4492 * proced.el (proced-command-alist): Fix system-type values.
4494 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
4495 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
4496 (proced-sort-start, proced-sort, proced-sort-time): New commands.
4497 (proced-update): Use proced-sorting-scheme. Update modeline.
4498 (proced-send-signal): Use nreverse.
4499 (proced-sorting-scheme-p): New function.
4501 2008-05-04 Andreas Schwab <schwab@suse.de>
4503 * vc.el: Require dired when compiling.
4505 * minibuffer.el (completion--insert-strings): Don't delete past bol.
4507 2008-05-03 Glenn Morris <rgm@gnu.org>
4509 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
4510 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
4511 Simplify compilation requirements.
4512 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
4515 2008-05-03 Dave Love <fx@gnu.org>
4517 * progmodes/python.el (python-beginning-of-statement):
4518 Loop at least once (fixes 2008-02-21 change).
4520 2008-05-03 Eli Zaretskii <eliz@gnu.org>
4522 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
4523 instead of `length' for comparing length of user and group names.
4525 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
4527 * vc-dispatcher.el: New file, separates out the UI and command
4528 execution machinery from VCS-specific logic left in vc.el.
4529 The separation is not yet completely clean, but it's a good start.
4530 * vc.el: This file is about 1700 lines shorter now.
4531 Remove obsolete logentry-check from the backend API.
4532 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
4533 implementation of the logentry-check method, and it guarded against
4534 a log length limit that has probably been obsolete for 15 years (!).
4536 2008-05-02 Sam Steingold <sds@gnu.org>
4538 * progmodes/compile.el (compilation-start): Move setting of
4539 compilation-directory after (funcall mode) as that resets local
4540 variables, this fixes recompile in grep buffers.
4541 * progmodes/grep.el (grep-mode-map): Bind "g" to recompile (like
4544 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
4546 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
4547 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
4548 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
4549 has one of these and that all are called in compatible ways.
4550 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
4551 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
4552 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
4553 backend has one of these.
4555 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
4558 initialization into define-abbrev-table. Use :regexp.
4559 (octave-mode-syntax-table): Don't set word syntax for `.
4561 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
4564 * dired.el (dired-read-dir-and-switches):
4565 Set minibuffer-completing-file-name and call substitute-in-file-name.
4566 (dired-format-columns-of-files): Use completion--insert-strings.
4568 * minibuffer.el (completion-hilit-commonality): Revert last change:
4569 the leftover code was actually useful.
4570 (completion--insert-strings): Use string-width rather than length.
4572 2008-05-02 Sam Steingold <sds@gnu.org>
4574 * vc.el (vc-dir-mode-map): Enable mouse bindings.
4575 (vc-at-event): New macro: run the body at the even location.
4576 (vc-dir-menu, vc-dir-toggle-mark): Use it.
4577 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
4578 * subr.el (mouse-event-p): Check if the event is mouse-related.
4580 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
4582 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
4583 Don't throw error if no file is found.
4585 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
4587 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
4588 (vc-default-state-heuristic): Doc fix.
4590 2008-05-02 Richard Sharman <rsharman@pobox.com>
4592 * hilit-chg.el (highlight-changes-mode): Remove references to
4593 hooks that no longer exist. Because define-minor-mode is used the
4594 hook highlight-changes-mode-hook exists and can do what both the
4595 old hooks used to do. The documentation at the top of the file
4596 was updated to demonstrate this.
4597 (highlight-changes-mode): Remove commented out call to a hook
4598 function that is no longer there.
4599 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
4601 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
4603 * vc.el (vc-default-dired-state-info): Change name of primitive
4604 to prettify-state-info, in preparation for ripping out dired mode.
4605 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
4606 to prettify-state-info, in preparation for ripping out dired mode.
4607 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
4608 tries this on a version-controlled buffer. It will do useless or
4609 actively bad things on any version control system newer than RCS.
4610 * vc-hooks.el (vc-dired-resynch-file):
4611 * vc.el (vc-dired-resynch-file): Change name of primitive to
4612 vc-directory-resynch-file, preparing to remove dired.
4614 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
4616 * vc-rcs.el (vc-rcs-state): Fix typos.
4618 * vc.el (vc-register): Change argument order so that the prefix
4619 argument is assigned correctly.
4620 (vc-next-action, vc-dir-register): Update for the above change.
4622 2008-05-01 Juri Linkov <juri@jurta.org>
4624 * replace.el (occur-read-primary-args): Set default to the car of
4625 regexp-history and display it in the prompt, but don't add to the
4626 list of minibuffer defaults. Bind history-add-new-input to nil to
4627 not add automatically `default'. For empty input return `default'.
4628 Otherwise, add `input' to regexp-history and return it.
4629 (occur-1): Signal an error for the empty regexp.
4631 * progmodes/compile.el (compilation-auto-jump):
4632 Set window point to `pos' explicitly.
4634 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
4636 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
4638 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
4639 we report the 'unregistered state reliably.
4640 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
4641 we report the 'unregistered state reliably.
4642 * vc-git.el (vc-git-state): Call vc-git-unregistered so
4643 we report the 'unregistered state reliably.
4644 * vc-hooks.el (vc-state): Document that vc-unregistered is
4645 now expected to be returned reliably.
4646 * vc.el (vc-default-dired-state): Change needs-patch state to
4647 needs-update, since the name now shows up in dir-status listings
4648 and was somewhat misleading.
4649 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
4650 immediately after removing the file.
4651 * vc.el (vc-next-action): More informative messages when a fileset
4652 is in a mixed state or files are missing.
4654 2008-05-01 Sam Steingold <sds@gnu.org>
4656 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
4658 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
4662 2008-05-01 Daiki Ueno <ueno@unixuser.org>
4664 * epa-file-hook.el: New file split from epa-file.el.
4665 * epa-file.el: Require 'epa-file-hook.
4666 (epa-file-handler): Add autoload cookie.
4667 * loadup.el: Load epa-file-hook.
4668 * startup.el (command-line): Eval the body of auto-encryption-mode.
4670 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
4672 * vc.el (vc-dir-mode-map): Don't bind "r".
4674 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
4675 (vc-hg-status-printer): New function.
4676 (vc-hg-after-dir-status): Deal with copied and renamed files.
4677 (vc-hg-dir-status): Add flag to show copied files.
4679 2008-05-01 John Paul Wallington <jpw@pobox.com>
4681 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
4682 (ibuffer-do-sort-by-recency): Reverse sorting order if last
4683 sorting mode was recency.
4685 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
4686 reverse sorting order if last sorting mode was the sorter's.
4688 2008-05-01 Jason Rumney <jasonr@gnu.org>
4690 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
4692 2008-04-30 John Paul Wallington <jpw@pobox.com>
4694 * ibuffer.el (define-ibuffer-column filename): When the major mode
4695 is `vc-dir-mode' show the buffer's default directory.
4697 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
4698 major mode is `vc-dir-mode' use the buffer's default directory.
4700 2008-04-30 Sam Steingold <sds@gnu.org>
4702 * vc.el (vc-dir-delete-file): Add.
4703 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
4704 (vc-delete-file): Do not barf when the file has been already deleted.
4706 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
4708 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
4710 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * progmodes/octave-mod.el (octave-help): New function.
4713 * progmodes/octave-hlp.el: Delete.
4714 * info-look.el (octave-mode): Add operator index.
4716 * vc.el (vc-checkout): Typo.
4718 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
4720 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
4721 Add "..." in the appropriate places.
4723 * epa.el (epa-key-list-mode-map): Add more menu entries.
4724 Add "..." in the appropriate places.
4726 * dired.el (dired-mode-map): Add :help.
4728 * vc.el (vc-deduce-fileset): Add new parameter.
4729 (vc-dir-marked-only-files): New function.
4730 (vc-next-action): Don't ignore directories, look at the files
4732 (vc-dir-mode): Document how the mark/unmark commands work.
4734 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
4737 Rule out trailing spaces in file and directory names as well.
4739 * minibuffer.el (completion--do-completion): Move point even if the
4740 completion makes no change.
4741 (completion-pcm-try-completion): Fix computation of new point.
4743 2008-04-30 David Hansen <david.hansen@gmx.net>
4745 * dired.el: Require 'cl.
4747 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
4749 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
4750 hollow if not in innermost frame.
4752 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4754 Make `checkout-model' apply to filesets.
4755 * vc-hooks.el (vc-checkout-model): Rewrite.
4756 (vc-before-save, vc-after-save): Adjust callers accordingly.
4757 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
4758 (vc-transfer-file): Adjust callers accordingly.
4759 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
4760 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
4761 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
4762 instead of vc-checkout-model.
4763 * vc-mcvs.el (vc-mcvs-revert):
4764 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
4765 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
4766 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
4767 * vc-svn.el (vc-svn-checkout-model):
4768 * vc-hg.el (vc-hg-checkout-model):
4769 * vc-git.el (vc-git-checkout-model):
4770 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
4772 * dired.el (dired-read-dir-and-switches): Replace last change with
4773 a new approach that mixes read-file-name and read-directory-name.
4775 * files.el (read-buffer-to-switch):
4776 Avoid making assumptions about `other-buffer'.
4778 2008-04-29 Sam Steingold <sds@gnu.org>
4780 * vc.el (vc-dir-mode-hook): Add normal hook.
4781 (vc-dir-mode): Run it.
4783 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
4785 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
4786 Always split windows.
4787 (gdb-speedbar-timer-fn): Only raise frame after user input.
4788 (gdb-same-frame): Reverse initial value.
4789 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
4791 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
4792 gdb-speedbar-timer-fn.
4794 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
4798 2008-04-29 Daiki Ueno <ueno@unixuser.org>
4800 * epa.el (epa-key-list-mode-map): Add menu.
4801 (epa-delete-keys, epa-import-keys): Fix typo.
4803 2008-04-29 Glenn Morris <rgm@gnu.org>
4805 * find-cmd.el (top-level): Does not need cl when compiling.
4807 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
4809 * find-cmd.el: New file.
4811 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
4814 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
4815 (completion-pcm--hilit-commonality): New function.
4816 (completion-pcm-all-completions): Use it.
4818 * minibuffer.el (completion-common-substring): Mark obsolete.
4819 (completions-first-difference, completions-common-part):
4820 Move from simple.el.
4821 (completion-hilit-commonality): New fun.
4822 (display-completion-list, completion-emacs21-all-completions)
4823 (completion-emacs22-all-completions): Use it.
4824 * simple.el (completions-first-difference, completions-common-part):
4825 Move to minibuffer.el.
4826 (choose-completion-string): Use field functions and minibufferp.
4827 (completion-setup-function): Don't set completions faces.
4829 2008-04-29 Glenn Morris <rgm@gnu.org>
4831 * calendar/calendar.el (calendar-nth-named-absday)
4832 (calendar-nth-named-day):
4833 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
4834 * calendar/holidays.el (holiday-float): Doc fixes.
4836 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
4839 * org/org-agenda.el (calendar-iso-from-absolute):
4840 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
4843 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
4845 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
4846 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
4847 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
4848 (gdb-assembler-custom): Be careful not to match other addresses.
4850 2008-04-29 Jason Rumney <jasonr@gnu.org>
4852 * battery.el (battery-status-function): Use w32-battery-status
4854 (battery-echo-area-format): Make apm format the general case.
4855 (battery-mode-line-format): Merge apm and pmset formats as the
4858 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
4860 * progmodes/gdb-ui.el (gdb-info-stack-custom):
4861 Use gud-tool-bar-item-visible-no-fringe.
4862 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
4863 is already visible in frame. Remove optional size parameter
4864 and add optional frame parameter.
4866 * progmodes/gud.el (gud-display-line): Only consider visible
4867 frames when looking for source buffer.
4869 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
4871 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
4872 argument to get-char-property, in case the current buffer hasn't
4873 been assigned to that window yet.
4874 (doc-view-display): Default to selected window if the current
4875 buffer hasn't been assigned to a window yet.
4877 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
4879 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
4881 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
4883 * net/tramp.el (tramp-mode): New defcustom.
4884 (tramp-file-name-handler, tramp-completion-file-name-handler):
4886 (tramp-replace-environment-variables): Handle "$$".
4888 2008-04-28 Sam Steingold <sds@gnu.org>
4890 * vc-hg.el (vc-hg-rename-file): Fix argument order.
4892 2008-04-28 Bastien Guerry <bzg@altern.org>
4894 * whitespace.el (whitespace-trailing): Fix typo.
4896 2008-04-28 Sam Steingold <sds@gnu.org>
4898 * textmodes/remember.el (diary-make-entry): Update the autoload.
4900 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4902 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
4905 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
4907 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
4909 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
4911 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
4912 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
4913 (vc-dir-mark-file): Add an optional argument.
4914 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
4916 2008-04-27 Daiki Ueno <ueno@unixuser.org>
4918 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
4919 rather than obsolete alias find-file-hooks.
4920 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
4921 Use find-file-hook rather than obsolete alias find-file-hooks.
4922 Add to find-file-not-found-functions.
4923 (epa-file-handler): Put 'safe-magic and 'operations properties.
4925 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
4926 (epa-menu-items): Remove.
4928 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
4929 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
4930 (epa-dired-mode, epa-global-dired-mode): Remove.
4932 * dired.el (dired-mode-map): Bind encryption/decryption commands.
4934 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
4936 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
4938 2008-04-27 Glenn Morris <rgm@gnu.org>
4940 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
4941 Remove un-needed local `orig-list'. Replace cl `copy-list'.
4943 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
4945 * org/org.el (org-html-level-start): Always have id's in HTML.
4946 (org-export-as-html): Use `org-link-protocols' to
4947 retrieve the export form of the link.
4948 (org-add-link-type): Final parameter renamed from PUBLISH.
4949 Better documentation of how it is to be used. Avoid double entries for
4951 (org-add-link-props): New function.
4952 (org-modules-loaded): New variable.
4953 (org-load-modules-maybe, org-set-modules): New function.
4954 (org-modules): New option.
4955 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
4956 (orgtbl-mode, org-store-link, org-insert-link-global)
4957 (org-open-at-point): Call `org-load-modules-maybe'.
4958 (org-search-view): Add more text properties.
4959 (org-agenda-schedule, org-agenda-deadline): Allow also in
4960 search-type agendas.
4961 (org-search-view): Order of arguments has been changed.
4962 Interpret prefix-arg as TODO-ONLY.
4963 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
4964 Take new argument order of `org-search-view' into account.
4965 (org-todo-only): New variable.
4966 (org-search-syntax-table): New variable and function.
4967 (org-search-view): Do the search with the special syntax table.
4968 (define-obsolete-function-alias): Make work with XEmacs.
4969 (org-add-planning-info): Use old date as default when modifying an
4970 existing deadline or scheduled item.
4971 (org-agenda-compute-time-span): Make argument N optional.
4972 (org-agenda-format-date-aligned): Require `cal-iso'.
4973 (org-agenda-list): Include week into agenda heading, don't
4974 list it at each date (only on Mondays).
4975 (org-read-date-analyze): Define local variable `iso-date'.
4976 (org-agenda-format-date-aligned): Remove dependency on
4977 `calendar-time-from-absolute'.
4978 (org-remember-apply-template, org-go-to-remember-target):
4979 Interpret filenames relative to `org-directory'.
4980 (org-complete): Silently fail when trying to complete
4981 keywords that don't have a default value.
4982 (org-get-current-options): Add a #+DATE: option.
4983 (org-additional-option-like-keywords): Remove "DATE:" from the
4984 list of additional keywords.
4985 (org-export-as-html): Remove (current-time) as unnecessary second
4986 argument of `format-time-string'.
4987 (org-clock-find-position): Handle special case at end of buffer.
4988 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
4989 `org-agenda-change-time-span'.
4990 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
4991 `org-agenda-change-time-span'.
4992 (org-agenda-month-view): New argument MONTH, pass it on to
4993 `org-agenda-change-time-span'.
4994 (org-agenda-year-view): New argument YEAR, pass it on to
4995 `org-agenda-change-time-span'.
4996 (org-agenda-change-time-span): New optional argument N, pass it on
4997 to `org-agenda-compute-time-span'.
4998 (org-agenda-compute-time-span): New argument N, interpret it by
4999 changing the starting day.
5000 (org-small-year-to-year): New function.
5001 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
5002 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
5003 into the future, and that the shift is at least one interval, never 0.
5004 (org-update-checkbox-count): Fix bug with checkbox counting.
5005 (org-add-note): New command.
5006 (org-add-log-setup): Rename from `org-add-log-maybe'.
5007 (org-log-note-headings): New entry for plain notes (i.e. notes not
5008 related to state changes or clocking).
5009 (org-get-org-file): Check for availability of `remember-data-file'.
5010 (org-cached-entry-get): Allow a regexp value for
5011 `org-use-property-inheritance'.
5012 (org-use-property-inheritance): Allow regexp value. Fix bug in
5014 (org-use-tag-inheritance): Allow a list and a regexp value for
5016 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
5017 (org-entry-get): Respect value `selective' for the INHERIT argument.
5018 (org-tag-inherit-p, org-property-inherit-p): New functions.
5019 (org-agenda-format-date-aligned): Allow 10 characters for
5020 weekday, to acomodate German locale.
5021 (org-add-archive-files): New function.
5022 (org-agenda-files): New argument `ext', to get archive files as well.
5023 (org-tbl-menu): Protect the use of variables that
5024 are only available when org-table.el gets loaded.
5025 (org-read-agenda-file-list): Error if `org-agenda-files' is a
5027 (org-open-file): Allow a batch process to trigger
5028 waiting after executing a system command.
5029 (org-store-link): Link to headline when there is not
5030 target and no region in an org-mode buffer when creating a link.
5031 (org-link-types-re): New variable.
5032 (org-make-link-regexps): Compute `org-link-types-re'.
5033 (org-make-link-description-function): New option.
5034 (org-agenda-date, org-agenda-date-weekend): New faces.
5035 (org-archive-sibling-heading): New option.
5036 (org-archive-to-archive-sibling): New function.
5037 (org-iswitchb): New command.
5038 (org-buffer-list): New function.
5039 (org-agenda-columns): Also try the #+COLUMNS line in
5040 the buffer associated with the entry at point (or with the first
5041 entry in the agenda view).
5042 (org-modules): Add entry for org-bibtex.el.
5043 (org-completion-fallback-command): Move into `org-completion' group.
5044 (org-clock-heading-function): Move to `org-progress' group.
5045 (org-auto-repeat-maybe): Make sure that a note can
5046 be enforces if `org-log-repeat' is `note'.
5047 (org-modules): Allow additional symbols for external packages.
5048 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
5049 (org-clock-goto): Hide drawers after showing an
5050 entry with `org-clock-goto'.
5051 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
5052 Try also a clocktable block shift.
5053 (org-clocktable-try-shift): New function.
5054 (org-columns-hscoll-title): New function.
5055 (org-columns-previous-hscroll): New variable.
5056 (org-columns-full-header-line-format): New variable.
5057 (org-columns-display-here-title, org-columns-remove-overlays):
5058 Install `org-columns-hscoll-title' in post-command-hook.
5060 * org/org.el: Split into many small files.
5062 * org/org-agenda.el: New file, split off from org.el.
5064 * org/org-archive.el: New file, split off from org.el.
5066 * org/org-bbdb.el: New file.
5068 * org/org-bibtex.el: New file, split off from org.el.
5070 * org/org-clock.el: New file, split off from org.el.
5072 * org/org-colview.el: New file, split off from org.el.
5074 * org/org-compat.el: New file, split off from org.el.
5076 * org/org-exp.el: New file, split off from org.el.
5078 * org/org-faces.el: New file, split off from org.el.
5080 * org/org-gnus.el: New file, split off from org.el.
5082 * org/org-info.el: New file, split off from org.el.
5084 * org/org-infojs.el: New file.
5086 * org/org-irc.el: New file.
5088 * org/org-macs.el: New file, split off from org.el.
5090 * org/org-mew.el: New file.
5092 * org/org-mhe.el: New file, split off from org.el.
5094 * org/org-publish.el: New file, split off from org.el.
5096 * org/org-remember.el: New file, split off from org.el.
5098 * org/org-rmail.el: New file, split off from org.el.
5100 * org/org-table.el: New file, split off from org.el.
5102 * org/org-vm.el: New file, split off from org.el.
5104 * org/org-wl.el: New file, split off from org.el.
5106 2008-04-27 Jason Riedy <jason@acm.org>
5108 * org/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
5109 parameter that supresses lines that evaluate to NIL.
5110 (orgtbl-get-fmt): New inline function for
5111 picking apart formats that may be lists.
5112 (orgtbl-apply-fmt): New inline function for applying formats that
5114 (orgtbl-eval-str): New inline function for strings that may be
5116 (orgtbl-format-line, orgtbl-to-generic): Use and document.
5117 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
5118 (*orgtbl-llfmt*, *orgtbl-llstart*)
5119 (*orgtbl-llend*): Dynamic variables for last-line formatting.
5120 (orgtbl-format-section): Shift formatting to support detecting the
5121 last line and formatting it specially.
5122 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
5123 formats unless overridden.
5124 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
5125 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
5126 bound variables to hold the input collection of lines and output
5128 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
5129 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
5131 (orgtbl-format-line): New function encapsulating formatting for a
5133 (orgtbl-format-section): Similar for each section. Rebinding the
5134 dynamic vars customizes the formatting for each section.
5135 (orgtbl-to-generic): Use orgtbl-format-line and
5136 orgtbl-format-section.
5137 (org-get-param): Now unused, so delete.
5138 (orgtbl-gather-send-defs): New function to
5139 gather all the SEND definitions before a table.
5140 (orgtbl-send-replace-tbl): New function to find the RECEIVE
5141 corresponding to the current name.
5142 (orgtbl-send-table): Use the previous two functions and implement
5143 multiple destinations for each table.
5145 * doc/org.texi (A LaTeX example): Note that fmt may be a
5146 one-argument function, and efmt may be a two-argument function.
5147 (Radio tables): Document multiple destinations.
5149 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
5151 * org/org-agenda.el (org-add-to-diary-list): New function.
5152 (org-prefix-has-effort): New variable.
5153 (org-sort-agenda-noeffort-is-high): New option.
5154 (org-agenda-columns-show-summaries)
5155 (org-agenda-columns-compute-summary-properties): New options.
5156 (org-format-agenda-item): Compute the duration of the item.
5157 (org-agenda-weekend-days): New variable.
5158 (org-agenda-list, org-timeline): Use the proper faces for dates in
5159 the agenda and timeline buffers.
5160 (org-agenda-archive-to-archive-sibling): New command.
5161 (org-agenda-start-with-clockreport-mode): New option.
5162 (org-agenda-clockreport-parameter-plist): New option.
5163 (org-agenda-clocktable-mode): New variable.
5164 (org-agenda-deadline-leaders): Allow a function value for the
5166 (org-agenda-get-deadlines): Deal with new function value.
5168 * org/org-clock.el (org-clock): New customization group.
5169 (org-clock-into-drawer, org-clock-out-when-done)
5170 (org-clock-in-switch-to-state, org-clock-heading-function):
5171 Move into the new group.
5172 (org-clock-out-remove-zero-time-clocks): New option.
5173 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
5174 (org-dblock-write:clocktable): Allow a Lisp form for the scope
5176 (org-dblock-write:clocktable): Fix bug with total time calculation.
5177 (org-dblock-write:clocktable): Request the unrestricted list of files.
5178 (org-get-clocktable): New function.
5179 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
5180 be strings but also integers (an absolute day number) and lists (m d y).
5182 * org/org-colview.el (org-columns-next-allowed-value)
5183 (org-columns-edit-value): Limit the effort for updating in the
5184 agenda to recomputing a single file.
5185 (org-columns-compute): Only write property value if it has changed.
5186 This avoids raising the buffer-change-flag unnecessarily.
5187 (org-agenda-colview-summarize)
5188 (org-agenda-colview-compute): New functions.
5189 (org-agenda-columns): Call `org-agenda-colview-summarize'.
5191 * org/org-exp.el (org-export-run-in-background): New option.
5192 (org-export-icalendar): Allow a batch process to trigger waiting
5193 after executing a system command.
5194 (org-export-preprocess-string): Rename from
5195 `org-cleaned-string-for-export'.
5196 (org-export-html-style): Made target class look like normal text.
5197 (org-export-as-html): Make use of the better proprocessing in
5198 `org-cleaned-string-for-export'.
5199 (org-cleaned-string-for-export): Better treatment of heuristic
5200 targets, many more internal links will now work in HTML export.
5201 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
5202 (org-export-inbuffer-options-extra): New variable.
5203 (org-export-options-filters): New hook.
5204 (org-infile-export-plist): Find also the settings keywords in
5205 `org-export-inbuffer-options-extra'.
5206 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
5207 multiple #+INFOJS_OPT lines.
5208 (org-export-html-handle-js-options): New function.
5209 (org-export-html-infojs-setup): New option.
5210 (org-export-as-html): Call `org-export-html-handle-js-options'.
5211 Add autoload to all entry points.
5212 (org-skip-comments): Function removed.
5214 * org/org-table.el (org-table-make-reference): Extra parenthesis
5215 around single fields, to make sure that algebraic formulas get
5216 correctly interpreted by calc.
5217 (org-table-current-column): No longer interactive.
5219 * org/org-export-latex.el (org-export-latex-preprocess):
5220 Rename from `org-export-latex-cleaned-string'.
5222 2008-04-27 Bastien Guerry <bzg@altern.org>
5224 * org/org-publish.el (org-publish-get-base-files-1): New function.
5225 (org-publish-get-base-files): Use it.
5226 (org-publish-temp-files): New variable.
5227 Don't require 'dired-aux anymore.
5228 (org-publish-initial-buffer): New variable.
5229 (org-publish-org-to, org-publish): Use it.
5230 (org-publish-get-base-files-1): Bug fix: get
5231 the proper list of files when recursing thru a directory.
5232 (org-publish-get-base-files): Use the :exclude property to skip
5233 both files and directories.
5235 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
5237 * net/tramp.el (tramp-handle-make-symbolic-link)
5238 (tramp-handle-file-name-directory)
5239 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5240 (tramp-do-copy-or-rename-file-directly)
5241 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
5242 (tramp-handle-substitute-in-file-name)
5243 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5244 * net/tramp-cache.el (tramp-get-file-property)
5245 (tramp-set-file-property, tramp-flush-file-property)
5246 (tramp-flush-directory-property)
5247 * net/tramp-compat.el (tramp-compat-make-temp-file)
5248 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
5249 Disable `file-name-handler-alist' when handling localname.
5250 It could have a remote file syntax, like a VMS file name.
5252 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5254 * whitespace.el: New version 11.1.
5255 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
5256 enclosed by \\( and \\)$. Docstring fix.
5257 (whitespace-trailing-regexp): Fun removed.
5258 (whitespace-report-list): Const initialization fix.
5259 (whitespace-color-on): Code fix.
5261 2008-04-27 Andreas Schwab <schwab@suse.de>
5263 * Makefile.el: Unbreak bootstrap.
5265 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
5267 * net/tramp.el (tramp-replace-environment-variables): New defun.
5268 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
5271 2008-04-27 Glenn Morris <rgm@gnu.org>
5273 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
5275 * calculator.el (calculator-expt): Replace cl function `oddp'.
5277 2008-04-27 Johan Bockgård <bojohan@gnu.org>
5279 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
5280 Simplify. Collect `defun' and `autoload' entries.
5281 Avoid modifying load-history.
5283 2008-04-26 Glenn Morris <rgm@gnu.org>
5285 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
5287 * simple.el (quoted-insert, zap-to-char): Revert previous change.
5289 2008-04-26 John Paul Wallington <jpw@pobox.com>
5291 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
5292 `hexl-mode-old-eldoc-documentation-function'.
5293 (hexl-mode-exit): Restore it.
5294 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
5296 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
5298 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
5300 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
5301 (completion-pcm--all-completions): Doc fix.
5302 (completion-styles-alist, completion-all-completions):
5303 Fix typos in docstrings.
5305 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5307 * whitespace.el: There is now only one variable (whitespace-style) to
5308 specify which kind of blank is visualized. Doc and docstring fix.
5310 (whitespace-style): New option, replace whitespace-style-mark and
5311 whitespace-style-color.
5312 (whitespace-style-mark, whitespace-style-color): Options removed.
5313 (whitespace-hspace, whitespace-tab, whitespace-newline)
5314 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
5315 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
5316 (whitespace-hspace-regexp, whitespace-space-regexp)
5317 (whitespace-tab-regexp, whitespace-trailing-regexp)
5318 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
5319 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5320 (whitespace-space-after-tab-regexp, whitespace-line-column)
5321 (whitespace-display-mappings, whitespace-report): Docstring fix.
5322 (whitespace-color-value-list, whitespace-mark-value-list)
5323 (whitespace-active-color, whitespace-active-mark)
5324 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
5325 (whitespace-style-value-list, whitespace-active-style)
5326 (whitespace-toggle-style): New vars.
5327 (whitespace-toggle-option-alist, whitespace-help-text):
5328 Var initialization and docstring fix.
5329 (whitespace-toggle-options, global-whitespace-toggle-options)
5330 (whitespace-cleanup, whitespace-cleanup-region)
5331 (whitespace-report-region, whitespace-interactive-char)
5332 (whitespace-toggle-list): Docstring and code fix.
5333 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
5334 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
5335 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
5336 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
5338 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
5341 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
5342 (diff-sanity-check-hunk): Adjust code accordingly.
5344 2008-04-26 Glenn Morris <rgm@gnu.org>
5346 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
5348 * forms-d2.dat: Move to ../etc.
5349 * forms-d2.el (forms-file): Adapt for above change.
5351 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
5352 `translation-table-for-input'.
5354 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
5355 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
5357 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
5358 to punctuation now it's not needed for abbrevs.
5359 (fortran-mode-abbrev-table): Remove defvar, make use of new
5360 define-abbrev-table :regexp feature.
5362 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
5363 insert, now that translation-table-for-input is not needed.
5365 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
5367 * emacs-lisp/pp.el (pp-display-expression): New function,
5368 extracted from pp-eval-expression.
5369 (pp-eval-expression): Use pp-display-expression.
5370 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
5371 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
5372 (pp-eval-last-sexp): Use pp-last-sexp.
5374 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5376 * abbrev.el (define-abbrev-table): Apply props even if the table
5379 * minibuffer.el (completion-table-with-context): Fix `pred' for the
5380 various kinds of completion tables.
5381 (completion-emacs22-try-completion): Place cursor after the /, as was
5382 done in Emacs-22's minibuffer-complete-word.
5383 Fix bug reported by David Hansen <david.hansen@gmx.net>.
5384 (completion-emacs22-try-completion): Merge all mergable text rather
5386 (completion-pcm--delim-wild-regex): New var.
5387 (completion-pcm-word-delimiters): New custom.
5388 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
5389 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
5390 (completion-pcm--all-completions, completion-pcm-all-completions)
5391 (completion-pcm--merge-completions, completion-pcm--pattern->string)
5392 (completion-pcm-try-completion): New functions.
5393 (completion-styles-alist): Add them.
5394 (completion-styles): Add it to the default.
5396 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
5398 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
5399 (gdb-var-create-handler): ...until here when there are values.
5400 (gdb-post-prompt): Don't do -var-update with no watch expressions.
5401 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
5403 2008-04-25 Eli Zaretskii <eliz@gnu.org>
5405 * ls-lisp.el (ls-lisp-format): Fix last change.
5406 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
5407 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
5408 (ls-lisp-filesize-f-fmt): New defvars.
5409 (ls-lisp-insert-directory): Dynamically compute format specifiers
5410 for displaying UID, GID, and file size, and store them in the
5412 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
5413 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
5414 instead of constant format strings.
5415 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
5416 ls-lisp-filesize-d-fmt instead of constant format strings.
5418 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
5420 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
5421 value of addresses rather than (partial) string value.
5422 (gdb-frame-handler): Change regexp according to above change.
5423 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
5424 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
5425 (gdb-assembler-mode): Disable undo in these buffers.
5427 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
5429 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
5430 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
5432 2008-04-24 Sam Steingold <sds@gnu.org>
5434 * textmodes/remember.el (remember-diary-extract-entries): Use
5435 diary-make-entry instead of the obsolete make-diary-entry.
5437 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * subr.el (translation-table-for-input): Mark as obsolete.
5441 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
5443 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
5445 * textmodes/ispell.el (ispell-dictionary-alist-1)
5446 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
5447 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
5448 (ispell-dictionary-alist-6): Remove.
5449 (ispell-dictionary-base-alist): New var, merges the above.
5450 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
5452 (ispell-dictionary-alist): Default to nil. Remove autoload.
5453 (ispell-local-dictionary-alist): Remove autoload.
5455 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
5456 (f90-mode-abbrev-table): Use the new :regexp feature.
5457 Merge defvar and mapc into define-abbrev-table.
5458 (f90-imenu-type-matcher): Remove unused `l'.
5459 (f90-imenu-generic-expression): Remove unused `not-ib'.
5460 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
5461 (f90-change-keywords): Use restore-buffer-modified-p.
5463 2008-04-24 Glenn Morris <rgm@gnu.org>
5465 * net/goto-addr.el (goto-address-prog-mode):
5466 * progmodes/bug-reference.el (bug-reference-prog-mode):
5467 Define for compiler.
5469 * minibuffer.el (x-file-dialog): Declare as function.
5471 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
5472 dframe-update-speed rather than obsolete alias speedbar-update-speed.
5474 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
5475 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
5476 work with easymenu. Add :keys where needed.
5478 * calendar/cal-move.el (calendar-scroll-left): Handle case when
5481 * calendar/calendar.el (calendar-mode-map): Fix typo.
5483 2008-04-24 Tom Tromey <tromey@redhat.com>
5485 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
5486 Document keywords. Add :suppress.
5487 * pcvs-defs.el (cvs-mode-map): Use :suppress.
5489 * net/goto-addr.el (goto-address-unfontify): New function.
5490 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
5491 (goto-address-fontify-region, goto-address-mode)
5492 (goto-address-prog-mode): New functions.
5494 * progmodes/bug-reference.el: New file.
5496 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5498 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
5500 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
5503 macros within lambdas.
5505 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * minibuffer.el (completion-try-completion): Add `point' argument.
5508 Change return value.
5509 (completion-all-completions): Add `point' argument.
5510 (minibuffer-completion-help): Pass the new `point' argument.
5511 (completion--do-completion): Pass the whole field to try-completion.
5512 (completion--try-word-completion): Rewrite, making fewer assumptions.
5513 (completion-emacs21-try-completion, completion-emacs21-all-completions)
5514 (completion-emacs22-try-completion, completion-emacs22-all-completions)
5515 (completion-basic-try-completion, completion-basic-all-completions):
5517 (completion-styles-alist): Use them.
5519 2008-04-23 Agustín Martín <agustin.martin@hispalinux.es>
5521 * textmodes/ispell.el (ispell-set-spellchecker-params):
5522 New function to make sure right params and dictionary alists are used
5523 after spellchecker changes.
5524 (ispell-aspell-dictionary-alist, ispell-last-program-name)
5525 (ispell-initialize-spellchecker-hook): New variables and hook.
5526 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
5527 (ispell-maybe-find-aspell-dictionaries): Remove.
5528 Calls replaced by (ispell-set-spellchecker-params) calls.
5529 (ispell-have-aspell-dictionaries): Remove.
5531 * textmodes/flyspell.el: Replace ispell-maybe-find-aspell-dictionaries
5532 by ispell-set-spellchecker-params.
5534 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * complete.el (PC-do-completion): Be more robust in the presence of
5537 unexpected values in minibuffer-completion-predicate.
5539 * minibuffer.el (read-file-name): Don't let-bind default-directory.
5540 Only abbreviate default-filename if it's a file.
5542 * minibuffer.el (read-file-name-function, read-file-name-predicate)
5543 (read-file-name-completion-ignore-case, insert-default-directory):
5544 New vars, moved from fileio.c.
5545 (read-file-name): New fun, moved from fileio.c.
5546 * cus-start.el: Remove insert-default-directory and
5547 read-file-name-completion-ignore-case.
5549 2008-04-23 Magnus Henoch <mange@freemail.hu>
5551 * tar-mode.el (tar-untar-buffer): If the entry has directory
5552 link type, extract it as a directory even if its file name doesn't
5553 end with a slash. Fixes extraction of NetBSD tar archives.
5555 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5557 * server.el (server-start): Also don't get confused by CRs since we
5560 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
5562 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
5563 (gdb-set-gud-minor-mode-existing-buffers)
5564 (gdb-info-breakpoints-custom, gdb-get-location)
5565 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
5566 Previously gdb-create-define-alist wasn't always run and added to
5569 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
5571 2008-04-23 Kevin Ryde <user42@zip.com.au>
5573 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
5574 comments like unindented ones.
5576 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5578 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
5581 2008-04-23 Kevin Ryde <user42@zip.com.au>
5583 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5584 Bind print-level to ensure output forms aren't truncated if
5585 print-level is set to eval-expression-print-level when going via
5586 eval-defun and friends, or has been otherwise fiddled with.
5588 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5590 * progmodes/cc-mode.el (c-basic-common-init): Don't set
5591 font-lock-extend-after-change-region-function globally.
5593 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
5595 * speedbar.el (speedbar-use-tool-tips-flag)
5596 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
5597 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
5598 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
5599 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
5600 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
5601 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
5602 (speedbar-separator-face): Fix typos in docstrings.
5603 (speedbar-stealthy-function-list, speedbar-verbosity-level)
5604 (speedbar-supported-extension-expressions, speedbar-update-current-file)
5605 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
5606 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
5607 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
5608 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
5609 (speedbar-check-vc-this-line, speedbar-files-line-directory)
5610 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5611 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
5612 (speedbar-recenter): Doc fixes.
5613 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
5614 declaration and remove redundant info in docstring.
5616 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
5618 * vc-git.el (vc-git-status-printer): Deal with directories.
5620 * vc.el (vc-next-action): Look at more than the first file to
5621 determine the state.
5623 2008-04-23 Glenn Morris <rgm@gnu.org>
5625 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
5627 (dframe-update-speed): Drop support for XEmacs < 20.
5628 (dframe-frame-mode): Drop support for Emacs < 20.
5629 (dframe-set-timer-internal): Drop support for Emacs without timers.
5630 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
5632 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
5633 versions. Add doc-string. Mark as obsolete.
5635 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
5637 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
5638 rather than using an Emacs version test.
5640 * tree-widget.el (tree-widget-image-enable): Use display-images-p
5641 rather than an Emacs version test.
5643 * calendar/cal-china.el (holiday-chinese-qingming)
5644 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
5645 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
5646 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
5648 * calendar/cal-islam.el (holiday-islamic): Doc fix.
5650 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
5651 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
5652 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
5654 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
5656 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
5657 (gdb-previous-frame-pc-address): ...to this.
5658 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
5659 of "info frame" with Gdb 6.4+.
5660 (gdb-stack-list-frames-regexp): New regexp.
5661 (gdb-frame-handler-1): Parse output of -stack-info-frame.
5663 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
5665 * tar-mode.el (tar-prefix-offset): New constant.
5666 (tar-header-block-tokenize): Support paths with long names
5667 which use the "ustar" standard.
5669 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
5671 * image-dired.el (image-dired-track-original-file)
5672 (image-dired-modify-mark-on-thumb-original-file):
5673 Use `dired-goto-file' instead of `search-forward'. This solves
5674 a bug with finding files where the file name is a subset of other
5675 file names. Doc fix.
5677 2008-04-22 Juri Linkov <juri@jurta.org>
5679 * menu-bar.el (buffers-menu-max-size): Move its definition down to
5680 the "Buffers Menu" section. Change group name `mouse' to `menu'.
5681 (yank-menu-length): Change group name `mouse' to `menu'.
5682 (buffers-menu-buffer-name-length): New user option.
5683 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
5684 instead of the hard-coded number 27.
5686 2008-04-22 Juri Linkov <juri@jurta.org>
5688 * isearch.el (eval-when-compile): Require `help-macro'.
5689 (isearch-help-for-help-internal): Isearch specific Help screen
5690 created by `make-help-screen'.
5691 (isearch-help-map): New variable that binds "b", "k", "m" to
5692 isearch-specific commands, and binds other keys to
5693 isearch-other-control-char, thus allowing other Help keys to
5694 exit isearch mode and execute their global definitions.
5695 (isearch-help-for-help, isearch-describe-bindings)
5696 (isearch-describe-key, isearch-describe-mode): New commands.
5697 (isearch-mode-help): Define alias to isearch-describe-mode
5698 and remove its old function definition.
5699 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
5700 Remove old comments because this issue is settled now.
5701 (isearch-forward): Describe three new Help commands in the docstring.
5702 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
5703 leave the single sentence at the first line of the docstring,
5704 and prepend the word "function" before `isearch-forward'
5705 to make the Help link to the function instead of variable.
5707 2008-04-22 Juri Linkov <juri@jurta.org>
5709 * isearch.el (isearch-success-function): New variable with default
5710 to `isearch-success-function-default'.
5711 (isearch-search): Call a function from `isearch-success-function'
5712 instead of calling the hard-coded `isearch-range-invisible'.
5713 (isearch-success-function-default): New function that calls
5714 `isearch-range-invisible' and inverts its return value.
5716 * info.el (Info-search): In two similar places that skip
5717 undesired search matches move code to Info-search-success-function,
5718 and call `isearch-success-function' instead.
5719 (Info-search-success-function): New function copied from code
5720 in Info-search. Replace isearch-range-invisible with
5721 text-property-not-all that checks for 'invisible and 'display
5722 properties to skip partially invisible matches (whose display
5723 properties were set by Info-fontify-node).
5724 (Info-mode): Set buffer-local isearch-success-function
5725 to Info-search-success-function.
5727 2008-04-22 Juri Linkov <juri@jurta.org>
5729 * minibuffer.el (internal-complete-buffer-except): New function.
5731 * files.el (read-buffer-to-switch): New function.
5732 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5733 Change interactive spec to call read-buffer-to-switch instead of
5734 using the letter "B".
5736 * simple.el (minibuffer-default-add-shell-commands): New function.
5737 Use declare-function for mailcap-file-default-commands from "mailcap".
5738 (shell-command): Set local minibuffer-default-add-function to
5739 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
5740 before calling read-shell-command. Set 4th arg default-value of
5741 read-shell-command to relative buffer-file-name in file buffers.
5743 * dired-aux.el (dired-read-shell-command-default): Move it to
5744 gnus/mailcap.el and change its name to more general name
5745 mailcap-file-default-commands.
5746 (minibuffer-default-add-dired-shell-commands): New function.
5747 Use declare-function for mailcap-file-default-commands from "mailcap".
5748 (dired-read-shell-command): Set local minibuffer-default-add-function
5749 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
5750 before calling read-shell-command. Remove dired-read-shell-command-default
5751 from the default value arg because default values are not set in
5752 minibuffer-default-add-dired-shell-commands. Doc fix.
5754 * dired-x.el (dired-smart-shell-command): Sync arguments and
5755 interactive spec with changes in `shell-command'.
5756 Use dired-get-filename to get the dired file name at point
5757 as the default value in dired mode.
5759 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
5761 * info.el (Info-complete-menu-item): Add missing parenthesis.
5763 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * info.el (Info-complete-menu-item): Save point.
5767 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
5769 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
5771 2008-04-22 Andreas Schwab <schwab@suse.de>
5773 * Makefile.in (emacs-deps): Define.
5774 Use it instead of $(lisp)/subdirs.el.
5776 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
5778 * vc.el (vc-next-action): Do not consider directories when
5779 checking for state compatibility.
5780 (vc-transfer-file): Use when not if.
5781 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
5782 (vc-dir-mark-file): Use them.
5783 (vc-deduce-fileset): Also return the backend.
5784 (vc-diff-internal): Take as argument the value returned by
5785 vc-deduce-fileset instead of just the fileset.
5786 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
5787 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
5788 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
5790 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
5792 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
5793 set-window-vscroll but image-scroll-down. Fixes a bug where a
5794 command following SPC scrolled up again.
5796 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
5798 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
5799 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
5800 (gud-watch): Add "$" prefix when in registers buffer.
5802 2008-04-22 Glenn Morris <rgm@gnu.org>
5804 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
5806 * whitespace.el (whitespace-display-table)
5807 (whitespace-display-table-was-local): Move definitions before use.
5809 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
5810 (copyright-limit): Respect copyright-at-end-flag.
5811 (copyright-re-search, copyright-start-point)
5812 (copyright-offset-too-large-p): New functions.
5813 (copyright-update-year): Use copyright-re-search.
5814 (copyright-update, copyright-fix-years): Use copyright-start-point,
5815 and copyright-re-search.
5816 (copyright): Use copyright-offset-too-large-p.
5817 * add-log.el (change-log-mode): Set copyright-at-end-flag.
5819 * add-log.el (top-level): Require 'cl when compiling.
5821 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
5824 Treat minibuffer-completion-predicate as a predicate.
5826 * minibuffer.el (completion--file-name-table): Accept both the old
5827 `dir' arg or the new `pred' arg.
5829 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
5830 `predicate' argument to pass non-predicate data.
5831 (ffap-read-url-internal, ffap-read-file-or-url-internal):
5832 Use second arg as proper predicate.
5834 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
5835 (vc-bzr-revision-completion-table): Use completion-table-with-context
5838 * simple.el (choose-completion-string): Use minibuffer-completion-table.
5840 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
5842 * term.el (term-emulate-terminal): Perform redisplay after the
5843 process filter has finished running.
5845 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
5849 * minibuffer.el (completion-try-completion): Change magic symbol
5850 property name. Rename from minibuffer-try-completion.
5851 (completion-all-completions): Rename from minibuffer-all-completions.
5852 Remove hide-spaces argument.
5853 (completion--do-completion): Rename from minibuffer--do-completion.
5854 (minibuffer-complete-and-exit): Call just try-completion rather than
5855 completion-try-completion to fix up the case.
5856 (completion--try-word-completion): Try to add space or hyphen before
5857 making `string' a prefix of `completion'.
5858 (completion--insert-strings): Rename from minibuffer--insert-strings.
5860 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
5862 * net/tls.el (tls-program): Add -ign_eof argument to call the
5864 (tls-checktrust): Ditto.
5866 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
5868 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
5870 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
5871 (vc-check-master-templates, vc-file-not-found-hook)
5872 (vc-kill-buffer-hook):
5873 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
5874 (vc-find-position-by-context, vc-buffer-context)
5875 (vc-restore-buffer-context, vc-responsible-backend)
5876 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
5877 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
5878 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
5879 (vc-version-diff, vc-diff, vc-insert-headers)
5880 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
5881 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
5882 (vc-revert, vc-rollback, vc-version-backup-file)
5883 (vc-rename-master, vc-delete-file, vc-rename-file)
5884 (vc-branch-part, vc-default-retrieve-snapshot)
5885 (vc-annotate-display-autoscale, vc-annotate-display-select)
5886 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
5887 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
5888 (vc-dir-update): Handle directories.
5889 (vc-default-status-printer): Simplify.
5891 * progmodes/asm-mode.el (asm-mode-map):
5892 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
5894 * progmodes/m4-mode.el (m4-mode-map): Add menu.
5896 2008-04-21 Kenichi Handa <handa@m17n.org>
5898 * select.el (xselect-convert-to-string): Send a C_STRING only if
5899 the polymorphic target TEXT is requested.
5901 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
5903 * minibuffer.el (completion-setup-hook, display-completion-list)
5904 (completion--file-name-table): Fix typos in docstrings.
5905 (completion-table-dynamic): Fix typo, and reflow docstring.
5907 2008-04-20 Andreas Schwab <schwab@suse.de>
5909 * server.el (server-switch-buffer): Also consider clients in the
5912 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
5914 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
5915 Select window clicked on first.
5916 (gdb): Display thread number in mode-line.
5917 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
5918 (gdb-breakpoints-header): New variable.
5919 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
5921 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5923 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
5924 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
5925 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
5926 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
5927 (vc-sccs-print-log): Use it.
5929 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
5931 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
5932 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
5934 * tooltip.el (tooltip-previous-message): New var.
5935 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
5936 the C code (avoid overwriting a minibuffer, restore previous echo
5938 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
5941 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
5943 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
5944 (gdb-init-1): Initialise it.
5945 (gdb-annotation-rules): New entry for "new-thread".
5946 (gdb-thread-identification): New function to customize
5947 mode-line-buffer-identification.
5948 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
5949 (gdb-assembler-mode): Use it.
5950 (gdb-threads-mode): Force "info threads" onto queue.
5952 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5954 * files.el (locate-file-completion-table): Rename from
5955 locate-file-completion and make it use `pred' in the normal way.
5956 (locate-file-completion): New compatibility wrapper.
5957 (load-library): Use locate-file-completion-table.
5958 * finder.el (finder-commentary):
5959 * subr.el (locate-library):
5960 * emacs-lisp/find-func.el (find-library): Likewise.
5961 * info.el: Use with-current-buffer and inhibit-read-only.
5962 (Info-read-node-name-2): Change to use `predicate' in the normal way.
5963 (Info-read-node-name-1): Adjust uses accordingly.
5965 * minibuffer.el (completion-table-with-context): Add support for `pred'.
5966 (completion-table-with-terminator): Don't use complete-with-action
5967 since we have to distinguish all three cases anyway.
5968 (completion-table-with-predicate): New function.
5969 (dynamic-completion-table): Add obsolete alias.
5971 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
5973 2008-04-18 Sam Steingold <sds@gnu.org>
5975 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
5976 Use quit-window instead of bury-buffer.
5978 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * minibuffer.el (completion-table-with-terminator): Fix last fix.
5982 2008-04-18 Andreas Schwab <schwab@suse.de>
5984 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5985 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5986 Depend on $(lisp)/subdirs.el.
5988 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
5990 * descr-text.el (describe-char-after):
5991 Use `define-obsolete-function-alias'.
5993 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
5995 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
5997 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
5998 Remove redundant obsolescence info in docstring.
6000 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6001 (vc-header-alist): Add WHEN to obsolescence declaration.
6002 (vc-state): Fix typo in docstring.
6004 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
6005 Use `define-obsolete-variable-alias'.
6007 * emulation/tpu-edt.el (tpu-have-ispell):
6008 * international/codepage.el (codepage-setup):
6009 Fix typo in obsolescence declaration.
6011 * international/mule.el (char-coding-system-table):
6012 Remove redundant obsolescence info in docstring.
6013 (charset-list, generic-char-p, set-char-table-default):
6014 Fix typos in obsolescence decarations.
6016 * international/mule-diag.el (non-iso-charset-alist):
6017 Fix typo in obsolescence declaration.
6018 (decode-codepage-char): Remove redundant obsolescence info in docstring.
6020 * font-core.el (font-lock-defaults-alist):
6021 * font-lock.el (font-lock-reference-face):
6022 * frame.el (screen-height, screen-width, set-screen-width)
6023 (set-screen-height):
6024 * hilit-chg.el (highlight-changes-initial-state):
6025 * isearch.el (isearch-return-char):
6026 * log-edit.el (cvs-commit-buffer-require-final-newline)
6027 (cvs-changelog-full-paragraphs):
6028 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
6029 (mouse-popup-menubar-stuff):
6030 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
6031 (mouse-wheel-click-button):
6032 * outline.el (outline-visible):
6033 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
6034 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
6035 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
6036 * progmodes/compile.el (compile-internal):
6037 Add WHEN to obsolescence declarations.
6039 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
6042 is not better anyway.
6044 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6046 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
6049 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
6052 (python-use-skeletons): Remove, unused.
6053 (python-skeletons): Remove. Use the abbrev table instead.
6054 (python-mode-abbrev-table): Fix regexp;
6055 add enable-function and case-fixed.
6056 (def-python-skeleton): Simplify.
6057 (python-expand-template): Use the abbrev-table and abbrev-insert.
6058 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
6060 (python-mode): Don't set pre-abbrev-expand-hook.
6062 * skeleton.el: Set coding-tag.
6064 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
6065 (expand-abbrev): Use it.
6066 (abbrev-table-menu): New function.
6068 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
6070 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
6072 2008-04-17 Sam Steingold <sds@gnu.org>
6074 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
6075 idiosyncratic bury-buffer/delete-window logic.
6077 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
6079 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
6080 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
6082 2008-04-17 Kenichi Handa <handa@m17n.org>
6084 * international/characters.el: Don't make the width of U+00AD to 0.
6086 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
6088 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
6089 (gdb, gdb-starting, gdb-frames-mode): Use it.
6090 (gdb-invalidate-frames): Advise to call "info stack" only if
6091 execution has occurred.
6092 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
6093 selected frame if no execution has occurred.
6094 (gdb-frames-force-update): New interactive function.
6095 (gdb-frames-mode-map): Bind it to "F".
6097 2008-04-17 Michael Olson <mwolson@gnu.org>
6099 * textmodes/remember.el (remember-version): Release Remember 2.0.
6101 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
6103 * textmodes/artist.el:
6104 * progmodes/vhdl-mode.el:
6105 * progmodes/verilog-mode.el:
6106 * progmodes/vera-mode.el:
6107 * progmodes/simula.el:
6108 * progmodes/ps-mode.el:
6109 * progmodes/cmacexp.el:
6110 * obsolete/hilit19.el:
6111 * emulation/viper.el:
6112 * ediff.el: Cleanup the bug-report email addresses and make sure the
6113 maintainer is still willing to handle bug reports.
6115 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
6117 * vc.el (vc-dir-kill-query): Fix thinko.
6119 2008-04-16 Glenn Morris <rgm@gnu.org>
6121 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
6122 by diary-sexp-entry.
6124 2008-04-16 Markus Triska <markus.triska@gmx.at>
6126 * proced.el (proced-command-alist): Add support for darwin.
6128 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * proced.el (proced-mode): Redefine as just the major-mode.
6131 (proced): Separate it from proced-mode.
6133 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
6135 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6137 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
6138 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
6139 `tab-width' setting from user. New version 10.0. Doc and docstring
6141 (whitespace-style, whitespace-chars): Remove options.
6142 (whitespace-style-mark): New option, replace whitespace-style deleted
6143 option. Fix docstring.
6144 (whitespace-style-color): New option, replace whitespace-chars deleted
6145 option. Fix docstring.
6146 (whitespace-space, whitespace-hspace, whitespace-tab)
6147 (whitespace-newline, whitespace-trailing, whitespace-line)
6148 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6149 (whitespace-space-after-tab, whitespace-hspace-regexp)
6150 (whitespace-space-regexp, whitespace-tab-regexp)
6151 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6152 (whitespace-empty-at-eob-regexp, whitespace-line-column)
6153 (whitespace-toggle-option-alist): Fix docstring.
6154 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
6155 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
6156 docstring and initialization.
6157 (global-whitespace-mode): Autoloaded global minor mode.
6158 (whitespace-chars-value-list, whitespace-style-value-list)
6159 (whitespace-active-chars, whitespace-active-style)
6160 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
6161 (whitespace-color-value-list): New var, replace
6162 whitespace-chars-value-list removed var.
6163 (whitespace-mark-value-list): New var, replace
6164 whitespace-style-value-list removed var.
6165 (whitespace-active-color): New var, replace whitespace-active-chars
6167 (whitespace-active-mark): New var, replace whitespace-active-style
6169 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
6171 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
6173 (whitespace-toggle-option-alist, whitespace-report-list)
6174 (whitespace-report-text, whitespace-help-text): Fix initialization.
6175 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
6176 (whitespace-toggle-options, global-whitespace-toggle-options)
6177 (whitespace-cleanup-region, whitespace-report-region)
6178 (whitespace-interactive-char): Fix docstring and code.
6179 (whitespace-cleanup, whitespace-report): Fix docstring.
6180 (whitespace-replace-spaces-by-tabs): Remove fun.
6181 (whitespace-replace-action): New fun, replace
6182 whitespace-replace-spaces-by-tabs removed fun.
6183 (whitespace-regexp, whitespace-indentation-regexp)
6184 (whitespace-space-after-tab-regexp, whitespace-insert-value)
6185 (whitespace-kill-buffer): New funs.
6186 (whitespace-insert-option-mark, whitespace-help-on)
6187 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
6188 (whitespace-color-on, whitespace-color-off)
6189 (whitespace-display-char-on): Fix code.
6191 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
6194 (mouse-throw-magnifier-with-mouse-movement): Remove.
6195 (mouse-throw-magnifier-base): New const.
6196 (mouse-drag-scroll-delta): New fun.
6197 (mouse-drag-throw): Use it.
6199 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
6201 * international/uni-bidi.el, international/uni-category.el:
6202 * international/uni-combining.el, international/uni-comment.el:
6203 * international/uni-decimal.el, international/uni-decomposition.el:
6204 * international/uni-digit.el, international/uni-lowercase.el:
6205 * international/uni-mirrored.el, international/uni-name.el:
6206 * international/uni-numeric.el, international/uni-old-name.el:
6207 * international/uni-titlecase.el, international/uni-uppercase.el:
6208 * international/charprop.el: Regenerate.
6210 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
6212 * vc.el (vc-status-fileinfo): Add new member directoryp.
6213 (vc-default-status-printer): Print directories.
6214 (vc-status-update): Sort files before subdirectories.
6216 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
6217 Add alternative implementation based on "cvs update".
6219 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
6221 * doc-view.el: Changed requirements section to tell that only one
6222 of dvipdf or dvipdfm is needed.
6223 (doc-view-already-converted-p): Fix bug that forced reconversion
6224 if doc was already converted.
6226 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6228 * minibuffer.el (minibuffer-message):
6229 Make sure we can put-text-property.
6231 * emacs-lisp/crm.el: Complete rewrite.
6233 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
6234 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
6235 case of an error in display-completion-list.
6237 * filecache.el (file-cache-completions-keymap): Move init from
6238 file-cache-completion-setup-function into declaration.
6239 (file-cache-minibuffer-complete): Simplify.
6240 (file-cache-completion-setup-function): Use standard-output,
6241 preserve current-buffer.
6243 * vc.el (vc-status-update): Fix typo.
6244 (vc-status-update): Set needs-update.
6245 (vc-status-refresh): η-reduce.
6247 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
6249 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
6252 2008-04-14 Alexandre Julliard <julliard@winehq.org>
6254 * vc.el (vc-status-update): Undo the previous revert.
6256 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6258 * minibuffer.el (completion-table-with-terminator): Those completions
6259 are never valid w.r.t test-completion.
6260 (completion--file-name-table):
6261 Check completion-all-completions-with-base-size.
6263 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
6265 * doc-view.el (doc-view-dvipdf-program): New variable.
6266 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
6267 (doc-view-mode-p): Check for doc-view-dvipdf-program as
6268 alternative for doc-view-dvipdfm-program.
6269 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
6271 * doc-view.el (doc-view-start-process): Don't set
6272 default-directory to "~/" if the current value is valid.
6273 This broke PS files that run other files in the same directory.
6275 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
6277 * vc.el (vc-status-kill-query): New function.
6278 (vc-status-mode): Add it to kill-buffer-query-functions.
6279 (vc-status-show-fileentry): New function.
6280 (vc-status-menu-map): Bind it. Bind vc-next-action.
6282 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6284 * minibuffer.el (minibuffer-message): Put cursor at the right place.
6286 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
6288 * proced.el (proced-send-signal): Fix error recognition.
6290 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
6292 * proced.el (proced-command-alist): Remove sort column.
6293 (proced-command, proced-procname-column):
6294 Use make-variable-buffer-local.
6295 (proced-signal-function): Rename from proced-kill-program.
6296 Allow for elisp symbols and string values representing system calls.
6297 (proced-marker-regexp, proced-success-message): New functions.
6298 (proced): Use defalias. Add autoload cookie.
6299 (proced-unmark-backward, proced-toggle-marks)
6300 (proced-hide-processes): New commands.
6301 (proced-do-mark): Simplify code.
6302 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
6303 (proced-update): Remove sorting.
6304 (proced-send-signal): Display number of processes to operate on.
6305 Allow for system calls or elisp functions to send signals.
6306 Check if signal was sent successfully.
6308 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * minibuffer.el (completion-all-completion-with-base-size): New var.
6311 (completion--some): New function.
6312 (completion-table-with-context, completion--file-name-table):
6313 Return the base-size if requested.
6314 (completion-table-in-turn): Generalize to multiple arguments.
6315 (complete-in-turn): Compatibility alias.
6316 (completion-styles-alist): New var.
6317 (completion-styles): New customization.
6318 (minibuffer-try-completion, minibuffer-all-completions):
6320 (minibuffer--do-completion, minibuffer-complete-and-exit)
6321 (minibuffer-try-word-completion): Use them.
6322 (display-completion-list, minibuffer-completion-help): Use them.
6323 Handle all-completions's new base-size info to set completion-base-size.
6324 * info.el (Info-read-node-name-1): Use completion-table-with-context,
6325 completion-table-with-terminator and complete-with-action.
6326 Remove the now obsolete completion-base-size-function property.
6327 * simple.el (completion-list-mode-map): Move init into declaration.
6328 (completion-list-mode): Use define-derived-mode.
6329 (completion-setup-function): Use any completion-base-size that may
6330 have been set before. Remove handling of completion-base-size-function.
6331 * loadup.el: Move abbrev.el up earlier.
6333 2008-04-13 Alexandre Julliard <julliard@winehq.org>
6335 * vc-git.el (vc-git-after-dir-status-stage)
6336 (vc-git-dir-status-goto-stage): New functions.
6337 (vc-git-after-dir-status-stage1)
6338 (vc-git-after-dir-status-stage1-empty-db)
6339 (vc-git-after-dir-status-stage2): Remove, functionality moved
6340 into the new generic stage functions.
6341 (vc-git-dir-status-files): New function.
6343 * vc.el (vc-status-update): Revert an incorrect rewrite.
6345 (vc-status-refresh-files): New function.
6346 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
6347 state of up-to-date files.
6348 (vc-default-dir-status-files): New function.
6350 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
6352 * minibuffer.el (completion--embedded-envvar-table)
6353 (read-file-name-internal): Fix typos in 2008-04-11 change.
6355 * faces.el (read-face-name): Use `completion-table-in-turn',
6356 not `complete-in-turn'.
6358 2008-04-13 Andreas Schwab <schwab@suse.de>
6360 * progmodes/etags.el: Require 'cl when compiling.
6362 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
6364 * progmodes/gud.el (gud-menu-map): Expand tooltip.
6366 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
6367 (menu): Add/expand menu tooltips.
6369 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
6371 * progmodes/sh-script.el (sh-show-indent): Fix typo.
6372 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
6374 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
6375 considered registered.
6377 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
6379 * emacs-lisp/copyright.el (copyright-update-directory): New command.
6381 * ediff-wind.el (ediff-split-window-function)
6382 (ediff-merge-split-window-function): Improve custom type.
6384 2008-04-12 Eli Zaretskii <eliz@gnu.org>
6386 * loadup.el ("minibuffer"): Move after "faces".
6388 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * progmodes/hideif.el (hif-factor): Handle unary minus.
6392 2008-04-12 Glenn Morris <rgm@gnu.org>
6394 * calendar/cal-china.el (chinese-calendar-time-zone):
6395 Mark obsolete name as risky too.
6397 * calendar/calendar.el (calendar-faces): New custom group.
6398 (calendar-today, diary, holiday): Doc fix.
6399 Move to calendar-faces group.
6400 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
6401 (diary-button): Doc fix. Move to calendar-faces group.
6403 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
6404 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
6405 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
6406 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
6407 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
6408 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
6409 not in dumped files before the associated defcustom.
6411 2008-04-11 Johan Bockgård <bojohan@gnu.org>
6413 * minibuffer.el (lazy-completion-table): Fix debug spec.
6415 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * minibuffer.el (complete-with-action, lazy-completion-table):
6419 (apply-partially, completion-table-dynamic)
6420 (completion-table-with-context, completion-table-with-terminator)
6421 (completion-table-in-turn): New funs.
6422 (completion--make-envvar-table, completion--embedded-envvar-table):
6424 (read-file-name-internal): Use them.
6425 (completion-setup-hook): Move from simple.el.
6426 * subr.el (complete-with-action, lazy-completion-table):
6427 * simple.el (completion-setup-hook): Move to minibuffer.el.
6429 2008-04-11 Glenn Morris <rgm@gnu.org>
6431 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
6433 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
6437 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
6439 * textmodes/fill.el (fill-forward-paragraph-function): New var.
6440 (fill-forward-paragraph): New fun.
6441 (fill-paragraph, fill-region): Use it.
6443 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
6444 (vc-status-create-fileinfo): Make `extra' optional.
6445 (vc-status-busy): New fun.
6446 (vc-status-menu-map): Use it.
6447 (vc-status-crt-marked): Remove.
6448 (vc-status-update): Rename from vc-status-add-entries.
6449 Add argument so as to prevent addition of entries. Rewrite.
6450 (vc-update-vc-status-buffer): Remove.
6451 (vc-status-refresh): Don't remove old entries, set them to
6452 up-to-date instead. Also do it after the update is complete.
6453 (vc-status-marked-files): η-reduce.
6455 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
6458 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
6460 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
6462 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
6464 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
6465 to t and don't truncate msg.
6467 2008-04-11 Glenn Morris <rgm@gnu.org>
6469 * calendar/calendar.el (diary, holidays):
6470 Move custom groups to other files.
6471 (holiday-general-holidays, holiday-oriental-holidays)
6472 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
6473 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
6474 (holiday-hebrew-holidays, holiday-christian-holidays)
6475 (holiday-islamic-holidays, holiday-bahai-holidays)
6476 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
6477 * calendar/diary-lib.el: Move custom group here from calendar.el.
6478 * calendar/holidays.el: Move custom group and variables here
6481 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
6483 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
6485 (calendar-current-time-zone-cache): Autoload riskiness.
6487 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
6489 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
6491 * woman.el (woman2-TH): Use string-equal instead of string-match.
6493 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
6496 (smerge-resolve): Merge the "2-way refinement" case with one half of
6497 the "mere whitespace" resolution.
6499 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
6501 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
6503 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
6505 * subr.el (assoc-ignore-case, assoc-ignore-representation):
6506 Add WHEN to obsolescence declaration.
6508 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
6510 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
6512 * vc-hooks.el (vc-state): Add new state `conflict'.
6513 (vc-after-save): Use when not if.
6514 (vc-default-mode-line-string): Deal with the conflict state.
6515 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
6517 * vc.el (vc-editable-p, vc-default-status-printer)
6518 (vc-next-action): Deal with the conflict state.
6519 (vc-mark-resolved): New function.
6520 (vc-status-mode): Fix mode name.
6521 (vc-default-comment-history): Use when not if.
6522 (Todo): Add new entries, remove old ones.
6524 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
6525 (vc-cvs-parse-status, vc-cvs-after-dir-status):
6526 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
6527 Detect the conflict state.
6529 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
6531 2008-04-10 Glenn Morris <rgm@gnu.org>
6533 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
6534 Respect truncate-partial-width-windows in non-full windows,
6535 with regards to :toggle and :enable state.
6537 * simple.el (toggle-truncate-lines): Doc fix.
6539 * Makefile.in (MH_E_DIR): New variable.
6540 (MH_E_SRC): Restore variable removed 2008-03-13.
6541 (mh-loaddefs.el): Depend on $MH_E_SRC.
6542 (CAL_DIR, CAL_SRC): New variables.
6543 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
6546 * calendar/calendar.el (calendar, diary): Add :prefix.
6547 (holidays): Change :prefix.
6548 (calendar-today, holiday, calendar-holiday-marker)
6549 (european-calendar-style): Change custom groups.
6551 * calendar/calendar.el (diary-hook, diary-display-hook):
6552 Move to diary-lib.el.
6553 * calendar/diary-lib.el (diary-hook, diary-display-hook):
6554 Move here from calendar.el.
6555 * calendar/appt.el: Require diary-lib rather than calendar.
6556 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
6558 * calendar/appt.el (appt): Add :prefix.
6560 * calendar/diary-lib.el (diary-hook): Doc fix.
6561 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
6563 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6565 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
6568 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
6569 the arg to recursive calls.
6571 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
6573 * minibuffer.el (completion-auto-help): Fix typo.
6575 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
6579 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
6582 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
6584 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
6588 * minibuffer.el (minibuffer): Move group from cus-edit.el.
6589 (completion-auto-help): Move from C code.
6590 (minibuffer--maybe-completion-help): Remove.
6591 (minibuffer--bitset): New function.
6592 (minibuffer--do-completion): Rename from minibuffer-do-completion.
6593 Renumber a bit. Really complete on string *before* point.
6594 Add argument used for word-completion.
6595 Join trailing / in completion with following text, as done in
6596 minibuffer-complete-word.
6597 Handle new value `lazy' for completion-auto-help.
6598 (minibuffer-try-word-completion): New function extracted from
6599 minibuffer-complete-word.
6600 (minibuffer-complete-word): Use minibuffer--do-completion.
6601 (minibuffer--insert-strings): Rename from
6602 minibuffer-complete-insert-strings.
6603 (exit-minibuffer): Fix typo.
6604 * cus-edit.el (minibuffer): Move group to minibuffer.el.
6605 * cus-start.el: Remove completion-auto-help.
6607 2008-04-09 Alexandre Julliard <julliard@winehq.org>
6609 * vc.el (vc-status-add-entries): New function.
6610 (vc-status-add-entry): Remove.
6611 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
6612 Use vc-status-add-entries.
6614 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
6617 2008-04-09 Jason Rumney <jasonr@gnu.org>
6619 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
6620 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
6621 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
6622 (AUTOGENEL): New variable.
6623 (distclean, maintainer-clean): New targets.
6625 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
6627 * emacs-lisp/regexp-opt.el (regexp-opt):
6628 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
6630 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
6632 * nxml/nxml-mode.el (nxml-cleanup): New function.
6633 (nxml-mode): Add it to change-major-mode-hook.
6635 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
6637 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
6639 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
6641 * calc/.cvsignore: New file.
6643 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
6645 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
6647 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
6648 show-help-function when turning tooltip off.
6649 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
6650 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
6652 2008-04-09 Alan Mackenzie <acm@muc.de>
6654 * font-lock.el (font-lock-extend-after-change-region-function):
6655 Make it buffer local.
6657 2008-04-09 Glenn Morris <rgm@gnu.org>
6659 * calendar/calendar.el (diary-file, european-calendar-style):
6660 Remove autoload cookies.
6662 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6664 * outline.el (outline-mode-menu-bar-map):
6665 * log-view.el (log-view-mode-menu):
6666 * log-edit.el (log-edit-menu): Add :help.
6668 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
6670 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6671 Use substring-no-properties for correct handling of unibyte strings.
6673 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * add-log.el (change-log-next-buffer): Handle the case where version<
6678 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
6679 mouse-major-mode-menu.
6680 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
6681 (mouse-major-mode-menu, mouse-popup-menubar)
6682 (mouse-popup-menubar-stuff): Use them.
6683 (C-down-mouse-3): Bind to a dynamic map rather than to
6684 mouse-popup-menubar-stuff.
6686 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
6687 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
6689 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6691 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
6692 file:// access method.
6694 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * minibuffer.el: New file.
6697 * loadup.el: Load it.
6699 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6701 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
6702 rather than subdirs.el. It introduces an ugly circular dependency, tho.
6704 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
6705 (calc-mode-map, calc-digit-map, calc-dispatch-map):
6706 Move initialization into declaration.
6707 * calc/calc-yank.el:
6708 * calc/calc-misc.el:
6709 * calc/calc-embed.el:
6710 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
6712 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
6714 * ps-samp.el (ps-add-printer, ps-remove-printer)
6715 (ps-make-dynamic-printer-menu): New functions.
6717 * net/zeroconf.el: New file.
6719 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
6723 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
6725 * vc-rcs.el (vc-rcs-modify-change-comment):
6726 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
6728 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
6730 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
6732 * international/mule-cmds.el (set-locale-environment): Don't warn if
6733 coding system doesn't agree with system locale (this reverts changes
6734 by Dave Love, dated 2002-10-27 and 2002-10-09).
6736 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
6737 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
6739 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
6741 2008-04-08 Glenn Morris <rgm@gnu.org>
6743 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
6744 * textmodes/remember.el (remember-diary-convert-entry):
6747 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
6748 diary-file, since it is the default for make-diary-entry anyway.
6750 * calendar/cal-menu.el (cal-menu-event-to-date):
6751 Rename calendar-event-to-date. Update callers.
6752 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
6753 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
6754 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
6755 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
6756 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
6757 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
6758 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
6759 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
6760 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
6761 (calendar-mouse-tex-month-landscape):
6762 Rename cal-tex-mouse-month-landscape.
6763 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
6764 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
6765 (calendar-mouse-tex-year-landscape):
6766 Rename cal-tex-mouse-year-landscape.
6767 (cal-menu-context-mouse-menu): Update for above name changes.
6769 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6770 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6771 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
6772 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
6773 * calendar/holidays.el: Replace int-to-string with number-to-string.
6775 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
6777 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
6778 region if point moves.
6780 2008-04-08 Kenichi Handa <handa@m17n.org>
6782 * faces.el (font-slant-table): Change numeric values for `r',
6783 `roman', and `normal'.
6785 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
6787 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
6789 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
6791 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
6792 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
6794 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
6796 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
6797 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
6799 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6801 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
6803 2008-04-07 Sam Steingold <sds@gnu.org>
6805 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
6806 Add helper functions.
6807 (lisp-do-defun): Extract the common part of lisp-eval-defun and
6808 lisp-compile-defun; DEFVAR forms reset the variables to the init
6809 values, just like in emacs-lisp mode eval-defun.
6810 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
6811 (lisp-compile-region): Use lisp-compile-string.
6813 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * subr.el (combine-and-quote-strings): Also quote strings that contain
6818 * pcvs-util.el (cvs-map): Avoid recursion :-(
6820 2008-04-07 Glenn Morris <rgm@gnu.org>
6822 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
6824 * calendar/calendar.el (diary-view-entries-initially-flag): Rename
6825 view-diary-entries-initially. Keep old name as alias, update users.
6826 (calendar-mark-diary-entries-flag): Rename
6827 mark-diary-entries-in-calendar. Keep old name as alias, update users.
6828 (calendar-view-holidays-initially-flag): Rename
6829 view-calendar-holidays-initially. Keep old name as alias, update users.
6830 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
6831 Keep old name as alias, update users.
6832 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
6833 Keep old name as alias, update users.
6834 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
6835 Keep old name as alias, update users.
6836 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
6837 Keep old name as alias, update users.
6838 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
6839 (diary-american-date-forms): Rename american-date-diary-pattern.
6840 Keep old name as alias, update users.
6841 (diary-european-date-forms): Rename european-date-diary-pattern.
6842 Keep old name as alias, update users.
6843 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
6844 Keep old name as alias, update users.
6845 (calendar-european-date-display-form): Rename
6846 european-calendar-display-form. Keep old name as alias, update users.
6847 (calendar-american-date-display-form): Rename
6848 european-calendar-display-form. Keep old name as alias, update users.
6849 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
6850 Keep old name as alias, update users.
6851 (holiday-general-holidays): Rename general-holidays.
6852 Keep old name as alias, update users.
6853 (holiday-oriental-holidays): Rename oriental-holidays.
6854 Keep old name as alias, update users.
6855 (holiday-local-holidays): Rename local-holidays.
6856 Keep old name as alias, update users.
6857 (holiday-other-holidays): Rename other-holidays.
6858 Keep old name as alias, update users.
6859 (holiday-hebrew-holidays): Rename hebrew-holidays.
6860 Keep old name as alias, update users.
6861 (holiday-christian-holidays): Rename christian-holidays.
6862 Keep old name as alias, update users.
6863 (holiday-islamic-holidays): Rename islamic-holidays.
6864 Keep old name as alias, update users.
6865 (holiday-bahai-holidays): Rename bahai-holidays.
6866 Keep old name as alias, update users.
6867 (holiday-solar-holidays): Rename solar-holidays.
6868 Keep old name as alias, update users.
6869 (diary-fancy-buffer): Rename fancy-diary-buffer.
6870 Keep old name as alias, update users.
6871 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
6873 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
6875 (calendar-increment-month): Rename increment-calendar-month.
6876 Keep old name as alias, update callers.
6877 (calendar-increment-month-cons): Rename old calendar-increment-month.
6879 (calendar-extract-month): Rename extract-calendar-month.
6880 Keep old name as alias, update callers.
6881 (calendar-extract-day): Rename extract-calendar-day.
6882 Keep old name as alias, update callers.
6883 (calendar-extract-year): Rename extract-calendar-year.
6884 Keep old name as alias, update callers.
6885 (calendar-generate-window): Rename generate-calendar-window.
6887 (calendar-generate): Rename generate-calendar. Update callers.
6888 (calendar-generate-month): Rename generate-calendar-month.
6890 (calendar-redraw): Rename redraw-calendar. Update callers.
6891 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
6892 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
6894 (calendar-update-mode-line): Rename update-calendar-mode-line.
6896 (calendar-exit): Rename exit-calendar. Keep old name as alias,
6898 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
6899 Keep old name as alias, update callers.
6900 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
6901 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
6902 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
6903 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
6904 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
6905 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
6906 * calendar/solar.el: Update for calendar.el name changes.
6907 * org/org.el (org-agenda-format-date-aligned)
6908 (org-agenda-execute-calendar-command): Access date elements directly
6909 rather than using calendar functions.
6910 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
6911 Also set calendar-view-diary-initially-flag,
6912 calendar-view-holidays-initially-flag.
6913 (org-get-entries-from-diary): Also set diary-fancy-buffer.
6914 (org-agenda-execute-calendar-command): No need to set displayed-day.
6916 2008-04-06 Alan Mackenzie <acm@muc.de>
6918 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
6919 typo in the doc string.
6921 * progmodes/cc-mode.el (c-basic-common-init):
6922 Set font-lock-extend-after-change-region-function.
6923 (c-extend-after-change-region): New function, used in
6924 font-lock-extend-after-change-region-function, thus superseding
6925 advice on the Font Lock after change functions.
6926 (c-advise-fl-for-region): Remove this macro.
6928 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
6930 * textmodes/flyspell.el (flyspell-duplicate-distance):
6931 Improve custom type.
6933 2008-04-06 Glenn Morris <rgm@gnu.org>
6935 * calendar/diary-lib.el (diary-sexp-entry-symbol):
6936 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
6937 (diary-list-entries-hook): Rename list-diary-entries-hook.
6938 Keep old name as alias, update users.
6939 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
6940 Keep old name as alias, update users.
6941 (diary-nongregorian-listing-hook): Rename
6942 nongregorian-diary-listing-hook. Keep old name as alias, update users.
6943 (diary-nongregorian-marking-hook): Rename
6944 nongregorian-diary-marking-hook. Keep old name as alias, update users.
6945 (diary-print-entries-hook): Rename print-diary-entries-hook.
6946 Keep old name as alias, update users.
6947 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
6948 Keep old name as alias, update users.
6949 (diary-number-of-entries): Rename number-of-diary-entries.
6950 Keep old name as alias, update users.
6951 (view-diary-entries, list-diary-entries, show-all-diary-entries):
6952 Give version of obsolescence.
6953 (diary-view-other-diary-entries): Rename view-other-diary-entries.
6954 Keep old name as alias, update callers.
6955 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
6957 (diary-include-other-diary-files): Rename include-other-diary-files.
6958 Keep old name as alias, update callers.
6959 (diary-simple-display): Rename simple-diary-display.
6960 Keep old name as alias, update callers.
6961 (diary-fancy-display): Rename fancy-diary-display.
6962 Keep old name as alias, update callers.
6963 (diary-print-entries): Rename print-diary-entries.
6964 Keep old name as alias, update callers.
6965 (diary-marking-entries-flag): Rename marking-diary-entries.
6967 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
6968 (diary-mark-entries): Rename mark-diary-entries.
6969 Keep old name as alias, update callers.
6970 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
6971 Keep old name as alias, update callers.
6972 (diary-mark-included-diary-files): Rename mark-included-diary-files.
6973 Keep old name as alias, update callers.
6974 (calendar-mark-days-named): Rename mark-calendar-days-named.
6975 Keep old name as alias, update callers.
6976 (calendar-mark-month): Rename mark-calendar-month.
6977 Keep old name as alias, update callers.
6978 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
6979 Keep old name as alias, update callers.
6980 (diary-sort-entries): Rename sort-diary-entries.
6981 Keep old name as alias, update callers.
6982 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
6983 Keep old name as alias, update callers.
6984 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
6986 (diary-insert-entry): Rename insert-diary-entry.
6987 Keep old name as alias.
6988 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
6989 Keep old name as alias.
6990 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
6991 Keep old name as alias.
6992 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
6993 Keep old name as alias.
6994 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
6995 Keep old name as alias.
6996 (diary-insert-block-entry): Rename insert-block-diary-entry.
6997 Keep old name as alias.
6998 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
6999 Keep old name as alias.
7000 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
7001 Keep old name as alias, update users.
7002 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
7003 Keep old name as alias, update callers.
7004 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
7005 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
7006 * calendar/icalendar.el: Update for diary-lib name changes.
7008 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
7010 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
7012 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
7013 for copy, move, and link operations.
7015 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
7017 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
7018 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
7020 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
7021 'require' statements with 1-argument ones (wrapped in if's).
7022 For compatibility with the current stable version of XEmacs.
7024 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
7026 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
7028 2008-04-06 Jason Rumney <jasonr@gnu.org>
7030 * language/burmese.el ("Burmese"): Make sample text consistent with
7033 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
7035 * progmodes/gdb-ui.el (gdb): New group.
7036 (gdb-debug-log-max, gdb-enable-debug)
7037 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
7038 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
7039 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
7040 (gdb-show-changed-values, gdb-max-children)
7041 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
7042 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
7043 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
7044 (gdb-memory-unit): Move to new group from GUD group.
7045 (menu): Allow customization from GDB-UI menu-item.
7047 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
7049 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
7051 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7053 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
7054 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
7055 Revision numbers can include ".".
7057 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
7058 "+" lines not accounted for by counting "-" and context lines.
7060 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7062 * term/mac-win.el (mac-service-open-file): Use file URL instead of
7065 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7067 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
7068 (vc-bzr-annotate-time): Accept space used to preserve alignment.
7070 2008-04-05 Richard Stallman <rms@gnu.org>
7072 * emacs-lisp/advice.el (defadvice): Add usage pattern.
7074 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
7076 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
7079 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
7081 * files.el (abort-if-file-too-large): Fix typo in docstring.
7083 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7085 * subr.el (functionp): Return nil for special forms.
7087 2008-04-05 Glenn Morris <rgm@gnu.org>
7089 * emacs-lisp/autoload.el (autoload-ensure-default-file):
7091 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
7092 Require loaddef file rather than loading it.
7093 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
7094 autoload-ensure-default-file provides a feature.
7096 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
7097 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
7098 (compile, compile-always, recompile): Use $LOADDEFS.
7099 (cal-autoloads): Remove.
7101 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
7102 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
7104 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
7105 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
7107 * calendar/calendar.el (diary-hebrew-entry-symbol):
7108 Rename hebrew-diary-entry-symbol. Keep old name as alias.
7109 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
7110 Keep old name as alias.
7111 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
7112 Keep old name as alias.
7113 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
7114 to diary-bahai-entry-symbol.
7115 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
7116 to diary-hebrew-entry-symbol.
7117 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
7118 to diary-islamic-entry-symbol.
7119 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
7121 * calendar/solar.el (diary-sabbath-candles-minutes)
7122 (diary-sabbath-candles): Move to cal-hebrew.
7123 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
7124 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
7125 Doc fix. Keep old name as alias.
7126 (diary-hebrew-sabbath-candles): Simplify.
7127 (solar-setup, solar-sunrise-sunset, calendar-latitude)
7128 (calendar-longitude, calendar-time-zone): Declare for compiler.
7129 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
7132 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
7133 Rename coptic-calendar-month-name-array. Update callers.
7134 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
7135 (calendar-coptic-name): Rename coptic-name. Update callers.
7136 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
7138 (calendar-coptic-last-day-of-month):
7139 Rename coptic-calendar-last-day-of-month. Update callers.
7140 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
7141 Keep old name as alias, update callers.
7142 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
7143 Keep old name as alias, update callers.
7144 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
7145 Keep old name as alias.
7146 (calendar-ethiopic-month-name-array):
7147 Rename ethiopic-calendar-month-name-array. Update callers.
7148 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
7150 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
7151 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
7152 Keep old name as alias, update callers.
7153 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
7154 Keep old name as alias, update callers.
7155 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
7156 Keep old name as alias.
7158 * calendar/cal-french.el (calendar-french-epoch):
7159 Rename french-calendar-epoch. Update callers.
7160 (calendar-french-month-name-array): Rename variable and function
7161 french-calendar-month-name-array. Update callers.
7162 (calendar-french-multibyte-month-name-array):
7163 Rename french-calendar-multibyte-month-name-array. Update callers.
7164 (calendar-french-day-name-array): Rename variable and function
7165 french-calendar-day-name-array. Update callers.
7166 (calendar-french-special-days-array): Rename variable and function
7167 french-calendar-special-days-array. Update callers.
7168 (calendar-french-multibyte-special-days-array):
7169 Rename french-calendar-multibyte-special-days-array. Update callers.
7170 (calendar-french-accents-p): Rename french-calendar-accents.
7172 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
7174 (calendar-french-last-day-of-month):
7175 Rename french-calendar-last-day-of-month. Update callers.
7176 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
7177 Keep old name as alias, update callers.
7178 (calendar-french-print-date): Rename calendar-print-french-date.
7179 Keep old name as alias, update callers.
7180 (calendar-french-goto-date): Rename calendar-goto-french-date.
7181 Keep old name as alias.
7183 * calendar/cal-menu.el, calendar/calendar.el:
7184 Update for Coptic and French name changes.
7186 * calendar/cal-china.el (calendar-chinese): Rename custom group
7187 from chinese-calendar. Update users.
7188 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
7189 Keep old name as alias, update users.
7190 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
7191 Keep old name as alias.
7192 (calendar-chinese-daylight-time-offset):
7193 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
7195 (calendar-chinese-standard-time-zone-name):
7196 Rename chinese-calendar-standard-time-zone-name.
7197 Keep old name as alias, update users.
7198 (calendar-chinese-daylight-saving-start):
7199 Rename chinese-calendar-daylight-savings-starts.
7200 Keep old name as alias, update users.
7201 (calendar-chinese-daylight-saving-end):
7202 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
7204 (calendar-chinese-daylight-saving-start-time):
7205 Rename chinese-calendar-daylight-savings-starts-time.
7206 Keep old name as alias, update users.
7207 (calendar-chinese-daylight-saving-end-time):
7208 Rename chinese-calendar-daylight-savings-ends-time.
7209 Keep old name as alias, update users.
7210 (calendar-chinese-celestial-stem): Rename
7211 calendar-chinese-celestial-stem. Keep old name as alias, update users.
7212 (calendar-chinese-terrestrial-branch):
7213 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
7215 (calendar-chinese-zodiac-sign-on-or-after):
7216 Rename chinese-zodiac-sign-on-or-after. Update callers.
7217 (calendar-chinese-new-moon-on-or-after):
7218 Rename chinese-new-moon-on-or-after. Update callers.
7219 (calendar-chinese-month-list): Rename chinese-month-list.
7221 (calendar-chinese-number-months): Rename number-chinese-months.
7223 (calendar-chinese-compute-year): Rename compute-chinese-year.
7225 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
7226 (calendar-chinese-year): Rename chinese-year. Update callers.
7227 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
7228 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
7229 Keep old name as alias, update callers.
7230 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
7231 Keep old name as alias, update callers.
7232 (calendar-chinese-months-to-alist):
7233 Rename make-chinese-month-assoc-list. Update callers.
7234 (calendar-chinese-months): Rename chinese-months. Update callers.
7235 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
7236 Keep old name as alias, update callers.
7238 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
7239 Rename hebrew-calendar-leap-year-p. Update callers.
7240 (calendar-hebrew-last-month-of-year):
7241 Rename hebrew-calendar-last-month-of-year. Update callers.
7242 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
7244 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
7246 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
7248 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
7250 (calendar-hebrew-last-day-of-month):
7251 Rename hebrew-calendar-last-day-of-month. Update callers.
7252 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
7253 Keep old name as alias, update callers.
7254 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
7255 Keep old name as alias, update callers.
7256 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
7257 Keep old name as alias, update callers.
7258 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
7259 Keep old name as alias.
7260 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
7261 Keep old name as alias.
7262 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
7263 Keep old name as alias.
7264 (holiday-hebrew-passover): Rename holiday-passover-etc.
7265 Keep old name as alias.
7266 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
7267 Keep old name as alias, update callers.
7268 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
7269 Keep old name as alias.
7270 (calendar-hebrew-mark-date-pattern):
7271 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
7273 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
7274 Keep old name as alias.
7275 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
7276 Keep old name as alias.
7277 (diary-hebrew-insert-monthly-entry):
7278 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
7279 (diary-hebrew-insert-yearly-entry):
7280 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
7281 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
7282 Keep old name as alias.
7283 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
7284 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
7285 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
7286 Keep old name as alias.
7287 (calendar-hebrew-parashiot-names):
7288 Rename hebrew-calendar-parashiot-names. Update callers.
7289 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
7290 (calendar-hebrew-year-Saturday-incomplete-Sunday):
7291 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
7292 (calendar-hebrew-year-Saturday-complete-Tuesday):
7293 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
7294 (calendar-hebrew-year-Monday-incomplete-Tuesday):
7295 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
7296 (calendar-hebrew-year-Monday-complete-Thursday):
7297 Rename hebrew-calendar-year-Monday-complete-Thursday.
7298 (calendar-hebrew-year-Tuesday-regular-Thursday):
7299 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
7300 (calendar-hebrew-year-Thursday-regular-Saturday):
7301 Rename hebrew-calendar-year-Thursday-regular-Saturday.
7302 (calendar-hebrew-year-Thursday-complete-Sunday):
7303 Rename hebrew-calendar-year-Thursday-complete-Sunday.
7304 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
7305 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
7306 (calendar-hebrew-year-Saturday-complete-Thursday):
7307 Rename hebrew-calendar-year-Saturday-complete-Thursday.
7308 (calendar-hebrew-year-Monday-incomplete-Thursday):
7309 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
7310 (calendar-hebrew-year-Monday-complete-Saturday):
7311 Rename hebrew-calendar-year-Monday-complete-Saturday.
7312 (calendar-hebrew-year-Tuesday-regular-Saturday):
7313 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
7314 (calendar-hebrew-year-Thursday-incomplete-Sunday):
7315 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
7316 (calendar-hebrew-year-Thursday-complete-Tuesday):
7317 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
7318 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
7319 Update for above name changes of constants.
7321 * calendar/cal-menu.el, calendar/calendar.el:
7322 Update for chinese and hebrew name changes.
7323 * calendar/diary-lib.el: Update for hebrew name changes.
7325 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7327 * subr.el (keymap-canonicalize): Correct thinko.
7329 * server.el: Undo part of the multi-tty change, which is only
7330 needed if server.el is preloaded, and broke server-running-p.
7331 (server-socket-dir): Initialize in the defvar, as before.
7332 (server-start): Remove initialization of server-socket-dir.
7334 2008-04-05 Eli Zaretskii <eliz@gnu.org>
7336 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
7337 3-member cons cells.
7339 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
7341 * cus-face.el (custom-face-attributes): Handle roman slant.
7343 * faces.el (default): Ensure the face-defface-spec property is set.
7345 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
7347 * files.el (abort-if-file-too-large): New function.
7348 (find-file-noselect, insert-file-1): Use it.
7350 2008-04-05 Reto Zimmermann <reto@gnu.org>
7352 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7353 Replace C-c[a-zA-Z] key bindings.
7355 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * progmodes/hideif.el (hif-token-alist): New var.
7358 (hif-token-regexp, hif-tokenize): Use it.
7359 (hif-mathify-binop): New macro.
7360 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
7361 (hif-greater-equal, hif-less-equal): Use it.
7362 (hif-logior, hif-logand): New functions.
7363 (hif-math): Accept | and & as well.
7365 * progmodes/etags.el: Fix problem with completion for buffer-local
7366 tables. Reported by Radey Shouman <shouman@comcast.net>.
7367 (tags-complete-tag): Remove.
7368 (tags-lazy-completion-table): New function to replace it.
7369 (find-tag-tag, complete-tag): Update users.
7371 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
7373 * vc-rcs.el (vc-rcs-dir-status):
7374 * vc-sccs.el (vc-sccs-dir-status): New function.
7376 * outline.el (outline-mode-menu-bar-map):
7377 * term.el (terminal-signal-menu): Add :help.
7379 * net/eudc.el (eudc-mode-map): Declare and define in one step.
7380 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
7382 * emacs-lisp/re-builder.el (reb-mode-map):
7383 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
7385 * diff-mode.el (diff-file-junk-re): Recognize the git format for
7386 new files, deleted files and for changing permissions.
7387 (diff-mode): Set beginning-of-defun-function and
7388 end-of-defun-function.
7390 * vc-bzr.el (vc-bzr-state): Use when instead of if.
7392 * vc.el (vc-default-status-fileinfo-extra): New function.
7393 (vc-status-mark-buffer-changed): Use it.
7394 (vc-update-vc-status-buffer): Allow for partial updates.
7396 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * net/tramp.el (after-init-hook): Don't wrap a lambda around
7399 tramp-register-completion-file-name-handler.
7401 * subr.el (keymap-canonicalize): New function.
7402 * mouse.el (mouse-menu-non-singleton): Use it.
7403 (mouse-major-mode-menu): Remove hack made unnecessary.
7405 * simple.el (set-fill-column): Prompt rather than error by default.
7407 2008-04-04 Andreas Schwab <schwab@suse.de>
7409 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
7410 Reset new-rules after each round.
7412 * Makefile.in (cal-autoloads): New target.
7413 (compile, compile-always, recompile): Depend on it.
7414 ($(lisp)/calendar/cal-loaddefs.el)
7415 ($(lisp)/calendar/diary-loaddefs.el)
7416 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
7418 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
7420 * ediff*.el: Replace load with require in eval-when-compile.
7422 * ediff-hook.el: Delete all invocations of (autoload ...).
7424 * ediff-util.el (ediff-setup): Make window-min-height a local variable
7425 in ediff control window, and set its min height to 2.
7426 (ediff-setup-control-buffer): Dedicate the control window.
7427 (ediff-toggle-multiframe): Undedicate control window.
7428 Work directly with ediff-setup-windows-multiframe and
7429 ediff-setup-windows-plain.
7431 * ediff-wind.el (ediff-choose-window-setup-function-automatically):
7433 (ediff-window-setup-function): Change initialization.
7434 (ediff-setup-windows-automatic): Delete.
7435 (ediff-setup-windows-plain-merge): Make control window dedicated.
7436 (ediff-destroy-control-frame): Do not skip frames if working in a
7439 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
7442 * emulation/viper-util.el: Move provide's forward, prevent recursion in
7445 2008-04-04 Glenn Morris <rgm@gnu.org>
7447 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
7448 calendar-absolute-from-bahai. Update callers, keep old name as alias.
7450 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
7451 Rename islamic-calendar-leap-year-p. Update callers.
7452 (calendar-islamic-last-day-of-month):
7453 Rename islamic-calendar-last-day-of-month. Update callers.
7454 (calendar-islamic-day-number):
7455 Rename islamic-calendar-day-number. Update callers.
7456 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
7457 Update callers, keep old name as alias.
7458 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
7459 Update callers, keep old name as alias.
7460 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
7461 Keep old name as alias.
7462 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
7463 Update callers, keep old name as alias.
7464 (calendar-islamic-mark-date-pattern):
7465 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
7467 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
7468 Keep old name as alias.
7469 (diary-islamic-insert-monthly-entry):
7470 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
7471 (diary-islamic-insert-yearly-entry):
7472 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
7474 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
7475 calendar-absolute-from-iso. Update callers, keep old name as alias.
7476 (calendar-iso-print-date): Rename calendar-print-iso-date.
7477 Update callers, keep old name as alias.
7478 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
7479 Keep old name as alias.
7480 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
7481 Keep old name as alias.
7483 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
7484 calendar-absolute-from-julian. Update callers, keep old name as alias.
7485 (calendar-julian-print-date): Rename calendar-print-julian-date.
7486 Update callers, keep old name as alias.
7487 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
7488 Update callers, keep old name as alias.
7489 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
7490 Update callers, keep old name as alias.
7491 (calendar-astro-print-day-number):
7492 Rename calendar-print-astro-day-number. Update callers, keep old
7494 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
7495 Update callers, keep old name as alias.
7497 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
7498 Rename calendar-string-to-mayan-long-count. Update callers.
7499 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
7500 Update callers, keep old name as alias.
7501 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
7503 (calendar-mayan-read-tzolkin-date):
7504 Rename calendar-read-mayan-tzolkin-date. Update callers.
7505 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
7506 Keep old name as alias.
7507 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
7508 Keep old name as alias.
7509 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
7510 Keep old name as alias.
7511 (calendar-mayan-previous-tzolkin-date):
7512 Rename calendar-previous-tzolkin-date. Keep old name as alias.
7513 (calendar-mayan-next-round-date):
7514 Rename calendar-next-calendar-round-date. Keep old name as alias.
7515 (calendar-mayan-previous-round-date):
7516 Rename calendar-previous-calendar-round-date. Keep old name as alias.
7517 (calendar-mayan-long-count-to-absolute): Rename
7518 calendar-absolute-from-mayan-long-count. Keep old name as alias.
7519 (calendar-mayan-goto-long-count-date):
7520 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
7522 * calendar/cal-persia.el (calendar-persian-month-name-array):
7523 Rename persian-calendar-month-name-array. Update callers.
7524 (calendar-persian-epoch): Rename persian-calendar-epoch.
7526 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
7528 (calendar-persian-last-day-of-month):
7529 Rename persian-calendar-last-day-of-month. Update callers.
7530 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
7531 Update callers, keep old name as alias.
7532 (calendar-persian-print-date): Rename calendar-print-persian-date.
7533 Update callers, keep old name as alias.
7534 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
7535 Keep old name as alias.
7537 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
7538 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
7539 * calendar/solar.el: Update for cal-julian name changes.
7541 * calendar/cal-dst.el: Update for persian name changes.
7543 * calendar/cal-menu.el, calendar/calendar.el:
7544 Update for islamic, iso, julian, mayan, persian name changes.
7546 * calendar/diary-lib.el: Update for islamic name changes.
7548 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
7549 Rename all-hebrew-calendar-holidays. Update callers, keep old name
7551 (calendar-christian-all-holidays-flag):
7552 Rename all-christian-calendar-holidays. Update callers, keep old
7554 (calendar-islamic-all-holidays-flag):
7555 Rename all-islamic-calendar-holidays. Update callers, keep old
7557 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
7558 Update callers, keep old name as alias.
7559 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
7560 Update for the above name changes.
7562 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
7564 * hilit-chg.el (global-highlight-changes-mode)
7565 (highlight-changes-passive-string, highlight-changes-active-string):
7566 Mark as obsolete since 23.1, not 22.1.
7568 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
7570 * hilit-chg.el (highlight-changes-visibility-initial-state)
7571 (hilit-chg-update, highlight-changes-mode-turn-on):
7572 Fix typos in docstrings.
7574 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
7576 * newcomment.el (comment-enter-backward): Be careful to restore
7577 position changed during narrowing.
7579 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
7581 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
7582 Recognize `sub ($$)'.
7584 2008-04-03 Richard Sharman <rsharman@pobox.com>
7586 * hilit-chg.el (highlight-changes-mode): Rename from
7587 highlight-changes; no longer uses sub-modes active and passive;
7588 implemented by define-minor-mode.
7589 (highlight-changes-toggle-visibility): New function, to replace
7590 the old passive/active submodes of global-highlight-changes-mode;
7591 implemented by define-minor-mode.
7592 (global-highlight-changes-mode): Rename from global-highlight-changes;
7593 rewrite using define-globalized-minor-mode.
7594 (hilit-chg-major-mode-hook, hilit-chg-check-global)
7595 (hilit-chg-post-command-hook, hilit-chg-check-global)
7596 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
7597 to use of define-globalized-minor-mode.
7598 (highlight-changes-global-initial-state): Change to be boolean.
7599 (highlight-changes-visible-string, highlight-changes-invisible-string):
7600 Rename from highlight-changes-active-string and
7601 highlight-changes-passive-string.
7602 (hilit-chg-update, hilit-chg-set): Use them.
7603 (global-highlight-changes-mode): Rename from global-highlight-changes.
7604 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
7606 (hilit-chg-hide-changes): Rewrite to use dolist.
7607 (hilit-chg-set-face-on-change, hilit-chg-update)
7608 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
7609 variable instead of testing highlight-changes-mode.
7610 (highlight-markup-buffers): Add require ediff-util; argument on calls
7611 to highlight-changes-mode changed.
7612 (highlight-compare-with-file): Fix problems with interactive
7613 call giving invalid default file.
7615 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
7617 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
7618 Fix in disassembly buffer (regression in 22.2).
7620 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
7622 * emulation/viper-macs.el (viper-read-fast-keysequence):
7623 Use viper-read-event instead of viper-read-key.
7625 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
7627 * emulation/viper-util.el (viper-get-saved-cursor-color-in-insert-mode)
7628 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
7631 * emulation/viper-ex.el, emulation/viper-macs.el:
7632 * emulation/viper-mous.el:
7633 Replace load with require in eval-when-compile.
7635 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
7639 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
7640 (archive-try-jka-compr): New function.
7641 (archive-set-buffer-as-visiting-file): Use it.
7643 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
7645 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
7647 * simple.el (handle-shift-selection): New arg.
7649 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
7653 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
7655 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
7657 * shell.el (shell-dynamic-complete-filename): New fun.
7658 (shell-dynamic-complete-functions): Use it.
7660 * help-fns.el (describe-variable): Undo 2008-02-25 change.
7662 2008-04-03 Kenichi Handa <handa@m17n.org>
7664 * international/fontset.el (create-fontset-from-x-resource):
7665 Handle the error of X resource more gracefully.
7667 * international/latin1-disp.el (latin1-display): Don't use make-char.
7668 Fix the argument to set-char-table-range.
7669 (latin1-display-identities): Don't use make-char.
7670 (latin1-display-reset): Use map-charset-chars instead of directly
7671 calling standard-display-default.
7672 (latin1-display-check-font): Don't use make-char.
7673 (latin1-display-setup): Likewise.
7674 (latin1-display-ucs-per-lynx): Likewise.
7676 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
7679 name the fields, to make the code clearer.
7680 Rewrite all `aset' and `aref' using the defined accessors.
7681 (timer--time): New pseudo-field.
7682 (timer-set-time, timer-set-idle-time, timer-inc-time)
7683 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
7684 (timer--time-less-p): New function.
7685 (timer--activate): New function, extracted from timer-activate.
7686 (timer-activate-when-idle, timer-activate): Use it.
7687 (cancel-function-timers): Use dolist.
7689 2008-04-03 Glenn Morris <rgm@gnu.org>
7691 * add-log.el (c-beginning-of-defun, c-end-of-defun):
7692 Remove declarations; no longer used.
7693 (c-cpp-define-name, c-defun-name): Declare as functions.
7695 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
7696 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
7698 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
7699 (holiday-passover-etc, holiday-hanukkah): Doc fix.
7700 Add optional argument. Simplify.
7701 (holiday-tisha-b-av-etc): Use memq rather than unless.
7702 (holiday-julian): Autoload it.
7703 (holiday-hebrew-misc): New function.
7705 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
7707 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
7708 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
7709 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
7710 all-hebrew-calendar-holidays.
7711 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
7712 Simplify using new functions.
7713 (calendar-holidays): Doc fix.
7714 (generate-calendar-window): Use bound-and-true-p.
7716 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
7718 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
7719 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
7720 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
7721 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
7723 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
7725 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
7729 * vc-bzr.el (vc-bzr-checkout): Simplify.
7731 * image-mode.el (image-mode-fit-frame): New command.
7733 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
7734 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
7735 (keyboard-escape-quit): Check region-active-p i.s.o
7736 transient-mark-mode.
7738 2008-04-02 Simon Josefsson <simon@josefsson.org>
7740 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
7741 (imap-message-copyuid-1): Use it.
7742 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
7744 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
7746 2008-04-02 Alan Mackenzie <acm@muc.de>
7748 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
7749 New optimised functions to get the name of the current defun/macro.
7751 * add-log.el (add-log-current-defun): Move the functionality which
7752 gets the current function name for C like modes to cc-cmds.el,
7753 thus optimising for speed.
7755 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
7757 * simple.el (deactivate-mark): When the mark is temporarily
7758 active, restore the original value of transient-mark-mode.
7759 (set-mark-command): First deactivate the mark if was temporarily active.
7760 (exchange-point-and-mark): Reactivate the mark if it was
7762 (handle-shift-selection): New fun.
7763 (transient-mark-mode): Move var documentation here from buffer.c.
7764 (next-line, previous-line, backward-word, move-end-of-line)
7765 (move-beginning-of-line, forward-to-indentation)
7766 (backward-to-indentation, back-to-indentation)
7767 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
7769 * mouse.el (mouse-set-region-1): Save the old value of
7770 transient-mark-mode.
7771 (mouse-drag-track): Ignore the now-obsolete value `identity' for
7772 transient-mark-mode.
7774 * textmodes/paragraphs.el (forward-paragraph)
7775 (backward-paragraph, forward-sentence, backward-sentence): Add ^
7778 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
7780 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
7782 * net/tramp.el (tramp-make-tramp-temp-file):
7783 Use `tramp-drop-volume-letter' for the local file name part.
7785 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
7787 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
7788 Add menu entries corresponding to all the key bindings.
7790 * emacs-lisp/debug.el (debugger-mode-map):
7791 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
7792 (conf-align-assignments): Only work on the region if it is active.
7793 (conf-quote-normal): Use when instead of if. Remove redundant test.
7795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7796 for tracing and re-builder.
7798 2008-04-02 Glenn Morris <rgm@gnu.org>
7800 * calendar/appt.el (appt-disp-window-function): Doc fix.
7801 (appt-display-message): Move beep before display.
7802 (appt-check): Make interactive. Reduce the number of lets.
7803 Use string-equal to compare mode-line strings.
7804 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
7806 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
7807 (appt-delete): Simplify.
7809 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
7811 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
7813 * calendar/cal-hebrew.el (list-yahrzeit-dates):
7814 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
7815 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
7817 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
7818 (calendar-holiday-marker, mark-visible-calendar-date):
7819 * calendar/diary-lib.el (fancy-diary-display):
7820 Check for font-lock-mode before using faces.
7822 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
7823 (calendar-gregorian-from-absolute): Reduce the number of lets.
7824 (hebrew-holidays-4, generate-calendar-window): Simplify.
7825 (calendar-for-loop): Make obsolete.
7826 (calendar-nth-named-day): Doc fix.
7828 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
7829 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
7830 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
7831 Reduce the number of lets.
7832 (mark-sexp-diary-entries, calendar-mark-complex):
7833 Expand calendar-for-loops.
7835 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
7837 * find-dired.el (find-dired-filter): Fix last patch to handle
7838 multi-line process input. Pad link numbers too.
7840 2008-04-01 Jari Aalto <jari.aalto@cante.net>
7842 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
7844 2008-04-01 Jason Rumney <jasonr@gnu.org>
7846 * international/characters.el (script-list): Add phonetic script,
7847 covering IPA (previously Latin), Phonetic Extensions and
7848 Phonetic Extensions Supplement (both previously unassigned).
7850 * international/fontset.el (setup-default-fontset): Use unicode fonts
7851 that cover bopomofo script for bopomofo.
7852 Likewise for braille and mathematical.
7853 Use unicode scripts that cover the phonetic script for IPA.
7855 2008-04-01 Johan Bockgård <bojohan@gnu.org>
7857 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
7858 return the assigned value.
7860 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * abbrev.el (abbrev-mode): Use define-minor-mode.
7864 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
7865 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
7867 (minor-mode-menu-from-indicator): Use it. Simplify.
7869 * bindings.el (mode-line-mode-menu): Move before (new) first use.
7870 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
7871 Bind the key directly to the menu.
7872 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
7874 2008-04-01 Daiki Ueno <ueno@unixuser.org>
7876 * epa.el (epa-decrypt-region): Explain the reason why this
7877 function should not be used in Lisp programs.
7878 (epa-decrypt-armor-in-region): Ditto.
7879 (epa-verify-region): Ditto.
7880 (epa-verify-cleartext-in-region): Ditto.
7881 (epa-sign-region): Ditto.
7882 (epa-encrypt-region): Ditto.
7884 * epg.el (epg-start-receive-keys): Fix typo in docstring.
7886 * epa.el (epa-select-keys): Show menu even if there is no key in
7889 2008-04-01 Glenn Morris <rgm@gnu.org>
7891 * calendar/calendar.el (calendar-make-temp-face): New function.
7892 (mark-visible-calendar-date):
7893 * calendar/diary-lib.el (fancy-diary-display): Use it.
7895 * vc-hooks.el (vc-responsible-backend): Declare as function.
7897 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
7898 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
7899 * calendar/cal-julian.el (holiday-julian): Use it.
7901 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
7902 (calendar-hebrew-date-is-visible-p): Extract some common code into
7904 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
7906 * calendar/cal-menu.el (cal-menu-holidays-menu):
7907 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
7908 rather than obsolete alias.
7910 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
7911 for mark characters.
7912 (calendar-unmark): Unmark by removing all overlays, rather than
7914 (calendar-starred-day): Remove.
7915 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
7916 (calendar-cursor-to-date): No need for special star handling now
7918 (calendar-star-date): Use overlays.
7920 * calendar/cal-french.el (calendar-goto-french-date):
7921 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
7922 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
7923 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
7924 * calendar/cal-persia.el (calendar-persian-date-string):
7925 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
7926 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
7927 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
7928 * calendar/solar.el (solar-equinoxes-solstices):
7929 Reduce nesting of some lets.
7931 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
7932 (calendar-goto-mayan-long-count-date): Simplify.
7934 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
7935 Simplify by using mapcar.
7936 (calendar-list-holidays): Return holiday-list.
7937 (list-holidays): Use let rather than let*. Remove un-needed locals
7939 (calendar-check-holidays): Return result from dolist.
7940 (holiday-float): Use a single let*. Simplify if-and to and.
7941 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
7944 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
7946 * calc/calc.el: Autoload `calc-yank'.
7947 (calc-mode-map): Add keybindings for `calc-yank'.
7948 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
7949 assignments for `calc-yank'.
7951 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
7953 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
7954 (vc-status-mark-buffer-changed): Handle the extra field.
7956 * vc-bzr.el (vc-bzr-after-dir-status):
7957 * vc-cvs.el (vc-cvs-after-dir-status):
7958 * vc-hg.el (vc-hg-after-dir-status):
7959 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
7961 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * doc-view.el: Compute displayed pages first (in PDF).
7964 (doc-view-current-converter-processes): Rename from
7965 doc-view-current-converter-process. Update users.
7966 (doc-view-sentinel): Test buffer's liveness.
7967 (doc-view-pdf/ps->png-sentinel): Remove.
7968 (doc-view-start-process): New function.
7969 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
7970 (doc-view-ps->pdf): Use it.
7971 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
7973 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
7974 (doc-view-mode): Kill the processes when leaving the mode.
7976 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
7978 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
7979 Use `byte-compile-warning-types'. Add docstring.
7981 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
7984 (smerge-resolve): Add various resolution heuristics.
7986 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
7989 2008-03-31 Glenn Morris <rgm@gnu.org>
7991 * calendar/cal-bahai.el (diary-bahai-mark-entries):
7992 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
7993 * calendar/cal-islam.el (mark-islamic-diary-entries):
7994 Fix argument order in call to diary-mark-entries-1.
7996 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
7998 (holiday-bahai): Use an algorithm actually relevant to this calendar
8001 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
8003 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
8006 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
8007 in the last fortnight in Julian October.
8009 * calendar/calendar.el (increment-calendar-month): Optionally handle
8010 systems without 12 months per year.
8012 (calendar-date-is-visible-p): Doc fix. Simplify.
8014 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
8017 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
8019 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
8020 (hi-lock-unload-function): New function.
8022 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
8024 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
8025 overwriting when NEWNAME is a local file.
8027 * net/trampver.el: Update release number.
8029 2008-03-30 Alexandre Julliard <julliard@winehq.org>
8031 * vc-git.el: Make vc-status display information about copies,
8032 renames and permission changes.
8033 (vc-git-extra-fileinfo): New defstruct.
8034 (vc-git-escape-file-name, vc-git-file-type-as-string)
8035 (vc-git-rename-as-string, vc-git-permissions-as-string)
8036 (vc-git-status-printer): New functions.
8037 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
8038 (vc-git-after-dir-status-stage1): Look for copies, renames and
8040 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
8041 (vc-git-dir-status): Ask for staged files and renames.
8043 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
8045 * vc.el: Allow backends to display backend specific information in
8046 the vc-status listing.
8047 (vc-status-fileinfo): Add a field for backend specific information.
8048 (vc-status-printer): Rename to ...
8049 (vc-default-status-printer): ... this.
8050 (vc-status-printer): New function.
8051 (vc-update-vc-status-buffer): Set the backend specific file info
8054 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8056 * textmodes/remember.el (remember-diary-convert-entry): Revert last
8057 change (ill-conceived).
8059 2008-03-29 Glenn Morris <rgm@gnu.org>
8061 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
8062 * calendar/cal-julian.el (holiday-julian): Simplify.
8064 * calendar/holidays.el (list-holidays): Use or.
8066 2008-03-29 Juri Linkov <juri@jurta.org>
8068 * window.el (split-window-preferred-horizontally): New function.
8070 * cus-start.el (split-window-preferred-function):
8071 Set choice for "vertically" to nil instead of split-window.
8072 Set choice for "horizontally" to split-window-preferred-horizontally
8075 2008-03-29 Juri Linkov <juri@jurta.org>
8077 * simple.el (minibuffer-default-add-function): New variable with
8078 the default to minibuffer-default-add-completions.
8079 (minibuffer-default-add-done): New variable. Make it buffer-local.
8080 (minibuffer-default-add-completions): New function.
8081 (goto-history-element): Set minibuffer-default-add-done to t and
8082 call a function in minibuffer-default-add-function when the
8083 specified absolute history position is greater than the length of
8084 the minibuffer-default list and minibuffer-default-add-done is nil.
8085 Change "^End of history; no next item$" to "^End of defaults;
8088 * bindings.el (debug-ignored-errors): Change "^End of history;
8089 no next item$" to "^End of defaults; no next item$".
8091 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
8095 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
8096 to with-no-warnings.
8098 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
8100 Sync with Tramp 2.1.13.
8102 * net/tramp-ftp.el: Require 'cl when byte-compiling.
8104 * net/trampver.el: Update release number.
8106 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
8108 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
8109 the current backend.
8111 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
8112 (vc-status-refresh): Create a temporary buffer and call the
8113 `dir-status' backend function from that buffer.
8115 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
8116 (vc-bzr-after-dir-status): Don't kill the buffer.
8118 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
8119 (vc-cvs-after-dir-status): Don't kill the buffer.
8121 * vc-git.el (vc-git-dir-status): Don't create a buffer.
8122 (vc-git-after-dir-status-stage2): Don't kill the buffer.
8124 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
8125 (vc-hg-after-dir-status): Don't kill the buffer.
8127 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
8128 (vc-svn-after-dir-status): Don't kill the buffer.
8130 2008-03-29 Glenn Morris <rgm@gnu.org>
8132 * calendar/calendar.el (diary-file, american-date-diary-pattern)
8133 (european-date-diary-pattern, european-calendar-display-form)
8134 (american-calendar-display-form, diary-display-hook): Doc fixes.
8135 (european-calendar-style): Doc fix. Use calendar-set-date-style for
8136 custom :set. Mark as obsolete.
8137 (calendar-date-style, iso-date-diary-pattern)
8138 (iso-calendar-display-form): New user variables.
8139 (diary-date-forms, calendar-date-display-form): Set using
8140 calendar-date-style. Doc fix.
8141 (calendar-set-date-style): New command.
8142 (european-calendar, american-calendar): Use calendar-set-date-style.
8145 * calendar/diary-lib.el (number): Move declaration where needed.
8146 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
8147 (diary-make-date): New function.
8148 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
8149 Use diary-make-date.
8150 (diary-date-display-form, diary-insert-entry-1): New functions.
8151 (insert-monthly-diary-entry, insert-yearly-diary-entry):
8152 Use diary-insert-entry-1.
8153 (insert-anniversary-diary-entry, insert-block-diary-entry)
8154 (insert-cyclic-diary-entry): Use diary-date-display-form.
8156 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
8157 Autoload diary-insert-entry-1.
8158 * calendar/cal-bahai.el (diary-bahai-insert-entry)
8159 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
8160 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
8161 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
8162 * calendar/cal-islam.el (insert-islamic-diary-entry)
8163 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
8164 Use diary-insert-entry-1.
8166 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
8167 (diary-yahrzeit): Doc fix. Use diary-make-date.
8169 * calendar/icalendar.el (icalendar--datetime-to-american-date):
8170 New name for icalendar--datetime-to-noneuropean-date. Make old name
8172 (icalendar--datetime-to-iso-date): New function.
8173 (icalendar--datetime-to-diary-date): Doc fix. Respect
8174 calendar-date-style if bound.
8176 * textmodes/remember.el (remember-diary-convert-entry):
8177 Respect calendar-date-style if bound.
8179 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8181 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
8182 (xterm-mouse-handle-delete-frame): Delete.
8184 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
8185 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
8186 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
8187 in xterm-modify-other-keys-terminal-list.
8189 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
8192 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
8194 * vc.el (vc-update): Check if the buffer is unsaved only if it
8196 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
8199 2008-03-28 Magnus Henoch <mange@freemail.hu>
8201 * net/dns.el (dns-write): Use set-buffer-multibyte.
8203 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * vc-bzr.el (vc-bzr-sha1): New fun.
8206 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
8207 (vc-bzr-registered): Use it.
8209 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
8211 * vc.el (vc-status-kill-dir-status-process): Simplify.
8212 (vc-status-refresh): Make sure the buffer is live.
8213 (ring): Don't require it, not used.
8215 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
8217 * progmodes/verilog-mode.el (verilog-auto-inout-module):
8218 Add optional regular expression to AUTOINOUTMODULE.
8219 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
8220 (verilog-auto-inst-param, verilog-auto-reg)
8221 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
8222 (verilog-auto-output-every, verilog-auto-input)
8223 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
8224 (verilog-auto-unused, verilog-auto): Update documentation to use
8225 more obvious instance module names versus cell names.
8227 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
8229 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
8230 kill if a process is running.
8232 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
8234 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
8236 * vc.el: Add new backend function 'status-extra-headers.
8237 (vc-default-status-extra-headers): New function.
8238 (vc-status-headers): Call 'status-extra-headers. Add colors.
8240 * vc-git.el (vc-git-status-extra-headers): New function.
8242 2008-03-28 Glenn Morris <rgm@gnu.org>
8244 * calendar/cal-menu.el (cal-menu-holidays-menu)
8245 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
8246 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
8247 holiday-list is optional.
8248 (calendar-mouse-holidays): Remove un-needed local `l'.
8250 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
8251 Remove un-needed local `date'.
8252 (calendar-cursor-to-visible-date): Use let rather than let*.
8253 Remove un-needed local `first-of-month-weekday'.
8255 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
8257 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
8259 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
8260 (diary-header-line-flag, diary-header-line-format): Declare.
8261 (diary-pull-attrs): Check for multiple matches.
8262 (diary-list-entries-2): Simplify finding start of date.
8263 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
8265 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
8266 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
8268 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
8270 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
8272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
8274 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8276 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
8278 * image-mode.el (image-mode-reapply-winprops): Fix last change.
8280 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
8282 * international/mule-conf.el (define-iso-single-byte-charset):
8283 Don't make latin-iso8859-* supplementary.
8284 (#'set-charset-priority): Don't change the priority of charsets
8285 `unicode' and `emacs'.
8287 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8289 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
8292 2008-03-27 Glenn Morris <rgm@gnu.org>
8294 * calendar/cal-bahai.el (diary-bahai-list-entries):
8295 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
8296 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
8298 * calendar/calendar.el (diary-file): Doc fix.
8300 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
8301 (list-diary-entries-hook, mark-diary-entries-hook)
8302 (include-other-diary-files, diary-mail-entries)
8303 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
8304 (diary-set-header): New function.
8305 (diary-header-line-flag, diary-header-line-format):
8306 Use diary-set-header for custom :set function.
8307 (diary-set-maybe-redraw): Use symbol-value rather than eval.
8308 (diary-attrtype-convert): Use intern-soft rather than read.
8309 (diary-display-no-entries): New function.
8310 (simple-diary-display, fancy-diary-display): Use it.
8311 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
8312 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
8314 * calendar/holidays.el (list-holidays): Doc fix.
8316 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
8318 * calc/calc-store.el (calc-read-var-name-history): New variable.
8319 (calc-read-var-name): Use `calc-read-var-name-history'.
8321 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * image-mode.el (image-mode-reapply-winprops): Simplify now that
8324 window-configuration-change-hook works buffer-locally.
8326 2008-03-26 Johan Bockgård <bojohan@gnu.org>
8328 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
8329 for Emacs Lisp, not Lisp.
8331 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
8333 * help-fns.el (describe-function-1, describe-variable):
8334 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
8336 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
8337 replacement is provided, don't print "use nil instead".
8339 2008-03-26 Johan Bockgård <bojohan@gnu.org>
8341 * complete.el (PC-do-completion): Use regexp-quote.
8343 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
8345 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
8346 Detect missing files.
8348 * vc-git.el (vc-git-extra-menu-map): New key map.
8349 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
8352 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
8355 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8357 * calendar/holidays.el (list-holidays): Make Y2 optional.
8359 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
8360 buffers shown to the user.
8361 (appt-disp-window): Disable undo explicitly now that the leading space
8364 * simple.el (activate-mark): New function.
8365 (set-mark-command): Use it with region-active-p to clean up the code.
8366 (exchange-point-and-mark): Invert the meaning of C-u when
8367 transient-mark-mode is active.
8369 * dired-aux.el (dired-create-files): Use dolist.
8371 * bindings.el (mode-line-change-eol): Use with-selected-window.
8373 * apropos.el (apropos-command): Include macros.
8375 2008-03-26 Glenn Morris <rgm@gnu.org>
8377 * calendar/cal-bahai.el: Require calendar, not cal-julian.
8378 (calendar-bahai-epoch): Doc fix.
8380 * calendar/cal-china.el: Explicitly require calendar.
8382 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
8383 Require calendar rather than cal-julian.
8384 Autoload calendar-absolute-from-julian.
8385 * calendar/cal-coptic.el (coptic-calendar-epoch):
8386 * calendar/cal-islam.el (calendar-islamic-epoch):
8387 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
8389 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
8391 * calendar/cal-dst.el: Don't require cal-persia.
8392 (calendar-absolute-from-persian): Autoload it.
8393 (dst-adjust-time): Doc fix.
8395 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
8396 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
8399 * calendar/cal-menu.el: Require calendar rather than declaring
8401 * calendar/calendar.el: Provide calendar before requiring cal-menu.
8403 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
8404 calendar-after-frame-setup-hooks. Update callers, make old name an
8405 obsolete alias. Doc fix.
8406 (calendar-frame-1): Doc fix.
8408 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
8410 * calendar/calendar.el (oriental-holidays, solar-holidays):
8411 * calendar/holidays.el (list-holidays): Assume atan always bound.
8413 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
8414 Explicitly require calendar, not cal-julian.
8415 * calendar/lunar.el: Explicitly require cal-dst.
8417 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8419 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
8421 * help-fns.el (describe-function-1, describe-variable): If no
8422 replacement is provided, don't print "use nil instead".
8424 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8426 * proced.el: New file.
8428 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
8430 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
8432 2008-03-25 Juri Linkov <juri@jurta.org>
8434 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
8435 in battery-mode-line-format.
8437 * bindings.el (minibuffer-local-map): For the command
8438 file-cache-minibuffer-complete replace keymap minibuffer-local-map
8439 with map which is already locally bound to minibuffer-local-map.
8441 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
8444 Remove `sort-first' argument.
8446 * subr.el (redisplay-end-trigger-functions)
8447 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
8448 (process-filter-multibyte-p, set-process-filter-multibyte):
8451 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
8453 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
8454 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
8455 use the LOCAL arg of `add-hook'.
8456 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
8457 Remove spurious * from defcustom docstrings.
8458 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
8459 Fix typos in messages.
8460 (reb-mode-buffer-p): New function.
8461 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
8462 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
8463 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
8464 Use `unless', `when'.
8465 (re-builder-unload-function): New function.
8467 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
8469 * vc-hooks.el (vc-state): Add documentation for 'missing.
8471 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
8473 * progmodes/verilog-mode.el (verilog-auto-output)
8474 (verilog-auto-input, verilog-auto-inout, verilog-auto)
8475 (verilog-delete-auto): Add optional regular expression to
8476 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
8477 (verilog-signals-matching-regexp): New internal function for
8480 2008-03-25 Johan Bockgård <bojohan@gnu.org>
8482 * info.el (Info-isearch-search): Always return point.
8484 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8486 * diff-mode.el (diff-remembered-defdir): New var.
8487 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
8489 2008-03-25 Glenn Morris <rgm@gnu.org>
8491 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
8492 calendar-bahai-prompt-for-date. Update callers, make old name an
8493 obsolete alias. Doc fix.
8494 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
8495 coptic-prompt-for-date. Update callers, make old name an
8496 obsolete alias. Doc fix.
8497 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
8498 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
8499 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
8500 calendar-islamic-prompt-for-date. Update callers. Doc fix.
8501 * calendar/cal-iso.el (calendar-iso-read-date): New name for
8502 calendar-iso-read-args. Update callers, make old name an obsolete
8504 * calendar/cal-persia.el (calendar-persian-read-date): New name for
8505 persian-prompt-for-date. Update callers, make old name an
8506 obsolete alias. Doc fix. Move definition before use.
8508 * calendar/cal-x.el (diary-frame-parameters)
8509 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
8510 (calendar-frame-1): Doc fixes.
8511 (make-fancy-diary-buffer): Remove declaration.
8512 (calendar-dedicate-diary): Replace call to deleted function
8513 make-fancy-diary-buffer.
8514 (calendar-frame-setup): New function.
8515 (calendar-one-frame-setup, calendar-only-one-frame-setup)
8516 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
8517 work, and mark as obsolete.
8518 (special-display-buffer-names): Don't mess with this; it's not our
8520 (cal-x-load-hook): Defvar it, and mark as obsolete.
8522 * calendar/calendar.el (calendar-remove-frame-by-deleting):
8523 Default to t. Add to 'calendar group.
8524 (calendar): Doc fix. Use calendar-frame-setup.
8525 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
8526 (generate-calendar-window): Doc fix.
8528 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
8532 2008-03-24 Drew Adams <drew.adams@oracle.com>
8534 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
8536 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
8537 (finder-exit): Ignore errors rather than avoiding them.
8538 Kill *Finder-package* buffer also.
8540 2008-03-24 Andreas Schwab <schwab@suse.de>
8542 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
8544 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
8546 * vc-hg.el (vc-hg-after-dir-status):
8547 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
8549 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
8550 Detect removed files.
8552 * vc.el (vc-status-printer): Use a different face for missing files.
8553 (vc-status-hide-up-to-date): Rename from
8554 vc-status-remove-up-to-date. Update all callers.
8555 (vc-status-mode-map): Bind C-m.
8557 2008-03-24 Alexandre Julliard <julliard@winehq.org>
8559 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
8561 (vc-git--state-code): ... to this new function.
8562 (vc-git-state): Use it.
8564 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
8566 * textmodes/remember.el (remember-mail-date)
8567 (remember-store-in-mailbox): Write date and From line in such a
8568 way that Mutt can read it.
8570 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
8572 * simple.el (transient-mark-mode): Turn on by default.
8574 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
8576 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
8577 'unregistered for unregistered files.
8579 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
8581 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
8583 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
8586 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
8587 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
8588 Add :enable for vc-status-refresh.
8589 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
8590 (vc-status-tool-bar-map): Add binding for
8591 vc-status-kill-dir-status-process.
8592 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
8593 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
8594 Reset vc-status-process-buffer.
8595 (vc-status-refresh): Don't run two refreshes at a time.
8596 (vc-status): If the buffer is already in vc-status-mode only refresh.
8597 (vc-status-mark-buffer-changed): Add an optional file parameter.
8598 (vc-resynch-buffer): Use it.
8599 (vc-delete-file): Expand the file name before using it.
8600 Be careful to not create a new buffer with the old file contents.
8601 Update the VC state after performing the operation.
8603 2008-03-23 Andreas Schwab <schwab@suse.de>
8605 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
8606 Fix radio button condition.
8608 [customize]: Add radio button.
8610 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
8612 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
8613 (calc-user-parse-tables, calc-gnuplot-default-device)
8614 (calc-gnuplot-default-output, calc-gnuplot-print-device)
8615 (calc-gnuplot-print-output, calc-gnuplot-geometry)
8616 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
8617 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
8618 (calc-undo-list, calc-redo-list, calc-main-buffer)
8619 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
8620 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
8621 (calc-said-hello, calc-executing-macro, calc-any-selections)
8622 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
8623 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
8624 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
8625 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
8626 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
8627 (calc-create-buffer, calc-quit): Add docstrings.
8629 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
8631 * makefile.w32-in (WINS_ALMOST): Add org.
8633 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
8635 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
8636 New functions to implement vc-status support.
8638 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
8640 * vc.el (vc-status-prepare-status-buffer): New function.
8641 (vc-status): Use it.
8643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
8646 2008-03-22 Alexandre Julliard <julliard@winehq.org>
8648 * vc-git.el (vc-git--empty-db-p)
8649 (vc-git-after-dir-status-stage1-empty-db): New functions.
8650 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
8651 Add support for empty repositories.
8653 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
8655 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8656 Allow "^" in a version name.
8658 * vc-mtn.el (vc-mtn-state): Support the added state.
8660 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
8662 * org: New directory for Org-mode.
8664 * org/org-export-latex.el: Moved from lisp/texmodes.
8666 * org/org-irc.el: Moved from lisp/texmodes.
8668 * org/org-mac-message.el: Moved from lisp/texmodes.
8670 * org/org-mouse.el: Moved from lisp/texmodes.
8672 * org/org-publish.el: Moved from lisp/texmodes.
8674 2008-03-21 Juri Linkov <juri@jurta.org>
8676 * comint.el (comint-dynamic-simple-complete):
8677 Use variable `stub' for the second arg `common-substring'
8678 of `comint-dynamic-list-completions'.
8679 (comint-dynamic-list-filename-completions):
8680 Use variable `filenondir' for the second arg `common-substring'
8681 of `comint-dynamic-list-completions'.
8682 (comint-dynamic-list-completions): Add new optional arg
8683 `common-substring'. Add `common-substring' as the second arg of
8684 the call to `display-completion-list'. Doc fix.
8686 * comint.el (comint-dynamic-complete-as-filename)
8687 (comint-dynamic-list-filename-completions)
8688 (comint-dynamic-simple-complete): Use `minibuffer-message'
8689 to display message "No completions of %s" when a command
8690 is called in the minibuffer.
8691 (comint-dynamic-simple-complete): Don't display other
8692 completion messages when a command is called in the minibuffer.
8693 (comint-dynamic-list-completions): Use `minibuffer-message'
8694 to display message " [Type space to flush ...]" when a command
8695 is called in the minibuffer.
8697 * shell.el (shell-dynamic-complete-command)
8698 (shell-dynamic-complete-environment-variable): Don't display
8699 completion messages when command is called in the minibuffer.
8701 * emacs-lisp/lisp.el (lisp-complete-symbol):
8702 Use `minibuffer-message' to display message "No completions of %s"
8703 when this command is called in the minibuffer.
8705 * bindings.el (standard-mode-line-modes): Put special help-echo
8706 tooltip on recursive edit %[ %] mode-line constructs.
8708 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
8709 "^No dynamic expansion for .* found$" to allow error messages like
8710 "No dynamic expansion for \"%s\" found in this-buffer".
8712 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
8714 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
8717 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
8720 * vc.el (vc-default-dired-state-info): Use just "modified".
8721 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
8722 (vc-cvs-mode-line-string): Make use of the better default.
8723 (vc-cvs-parse-entry): Use the new `added'.
8724 (vc-cvs-dired-state-info): Remove.
8725 * vc-svn.el (vc-svn-dired-state-info): Remove.
8726 * vc-hg.el (vc-hg-dired-state-info): Remove.
8727 * vc-git.el (vc-git-dired-state-info): Remove.
8729 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
8731 * vc-git.el (vc-git-status-result): New variable.
8732 (vc-git-dir-status): Split out ...
8733 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
8734 ... these new functions and work asynchronously.
8736 2008-03-21 Alexandre Julliard <julliard@winehq.org>
8738 * vc-git.el (vc-git-after-dir-status): Remove.
8739 (vc-git-dired-state-info): Reimplement.
8741 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
8743 * replace.el (occur-mode-map): Add :help.
8745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
8748 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
8750 (vc-status-remove-up-to-date): New function.
8751 (vc-status-mode-map, vc-status-menu-map): Bind it.
8752 (vc-status-printer): Use a different face up-to-date files.
8753 (vc-resynch-buffer): Update the vc-status buffer if it exists.
8754 (Todo): Remove solved entries.
8756 * vc-hg.el (vc-hg-state):
8757 * vc-git.el (vc-git-state):
8758 * vc-cvs.el (vc-cvs-parse-status):
8759 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
8762 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8764 * progmodes/compile.el (compile):
8765 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
8767 * simple.el (minibuffer-local-shell-command-map): New var.
8768 (minibuffer-complete-shell-command, read-shell-command): New funs.
8769 (shell-command, shell-command-on-region): Use them.
8771 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
8773 * vc.el (vc-status-mark-buffer-changed): New function to implement
8774 updating of the *vc-status* buffer when a buffer is saved.
8775 (vc-status-mode): Use it for after-change-hook.
8776 (vc-add-to-vc-status-buffer): Rename to ...
8777 (vc-status-add-entry): ... this.
8778 (Todo): Add new entry.
8780 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8782 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
8784 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
8786 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
8787 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
8788 Remove spurious * from defcustom docstrings.
8789 (icomplete-compute-delay): Fix docstring and remove spurious *.
8790 (icomplete-delay-completions-threshold): Fix typo in docstring and
8792 (icomplete-completions): While collecting the list of prospective
8793 candidates, don't overshoot `icomplete-prospects-length'.
8795 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
8797 * textmodes/refbib.el:
8798 * textmodes/reftex.el:
8799 * textmodes/reftex-global.el:
8800 * textmodes/reftex-vars.el:
8801 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
8802 compiler pacifying defvars.
8803 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
8804 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
8807 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
8809 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
8810 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
8811 (verilog-customize, verilog-font-customize)
8812 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
8813 (verilog-mode): Update documentation strings to match tool tips.
8814 (verilog-auto-search-do, verilog-auto-re-search-do)
8815 (verilog-skip-forward-comment-or-string): Fix verilog-auto
8816 expansion when a .* appears inside a string.
8817 (verilog-re-search-forward, verilog-re-search-backward):
8818 Add comment to recall how this works.
8819 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
8821 2008-03-20 Glenn Morris <rgm@gnu.org>
8823 * calendar/calendar.el (calendar-other-dates): New function.
8824 (calendar-print-other-dates): Use calendar-other-dates.
8825 * calendar/cal-menu.el (calendar-other-dates): Declare it, and remove
8826 the declarations it replaces.
8827 (calendar-mouse-print-dates): Use calendar-other-dates.
8829 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
8830 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
8831 (calendar-absolute-from-bahai): Fix the leap-year case.
8832 (calendar-bahai-from-absolute): Re-use the Gregorian month.
8833 (calendar-bahai-date-string, calendar-bahai-print-date):
8834 Handle pre-Bahai dates.
8836 * calendar/cal-china.el (chinese-calendar-celestial-stem)
8837 (chinese-calendar-terrestrial-branch): Make defcustoms.
8839 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
8840 (calendar-mouse-view-diary-entries): Use or.
8841 (calendar-mouse-chinese-date): Remove unused command.
8842 (cal-menu-load-hook): Mark as obsolete.
8844 * calendar/solar.el (calendar-location-name, calendar-latitude)
8845 (calendar-longitude, solar-arctan, sunrise-sunset)
8846 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
8848 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8850 * calc/calc.el: Remove outdated comments.
8851 (defcalcmodevar, calc-mode-var-list-restore-default-values)
8852 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
8855 2008-03-19 Jason Rumney <jasonr@gnu.org>
8857 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
8859 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
8861 * net/tls.el (open-tls-stream): Reindent.
8863 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
8865 * net/tramp.el (tramp-let-maybe): Removed.
8866 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
8867 It does not exist under XEmacs.
8868 (tramp-handle-file-truename, tramp-handle-expand-file-name)
8869 (tramp-completion-file-name-handler): Let-bind
8870 `directory-sep-char'.
8872 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
8873 `directory-sep-char'.
8875 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8877 * help-fns.el (describe-function-1): Don't signal "missing arglist"
8878 for autoloaded keymaps.
8880 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
8881 (electric-verilog-terminate-line, verilog-in-struct-region-p)
8882 (verilog-backward-ws&directives, verilog-forward-ws&directives)
8883 (verilog-in-comment-p, verilog-in-star-comment-p)
8884 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
8885 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
8886 (verilog-skip-forward-comment-or-string, verilog-in-paren)
8887 (verilog-skip-forward-comment-p): Use it.
8889 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
8891 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
8892 (org-remember-templates, org-time-stamp-rounding-minutes)
8893 (org-back-over-empty-lines, org-find-base-buffer-visiting)
8894 (org-columns-new): Fix typos in docstrings.
8896 2008-03-19 Glenn Morris <rgm@gnu.org>
8898 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
8899 (tramp-handle-shell-command): Use condition-case rather than
8902 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8904 * diff-mode.el (diff-header): Make the color louder.
8905 (diff-refine-change): Tone the color down.
8907 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
8909 * descr-text.el (describe-char): When `describe-char-unidata-list'
8910 is set to show all properties, list them in the right order.
8912 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * international/mule.el (load-with-code-conversion): Avoid setting
8915 default-enable-multibyte-characters.
8917 2008-03-19 Gustav Hållberg <gustav@virtutech.com> (tiny change)
8919 * vc.el (vc-annotate-background): Fix custom type.
8921 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * descr-text.el (describe-char-unidata-list): Allow specifying
8924 just all properties.
8925 (describe-char): Handle that new value.
8927 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
8929 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
8931 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
8932 instead of file name extension to make docs with uncommon
8935 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
8937 * doc-view.el (require): Require cl at compile time because
8940 2008-03-18 Glenn Morris <rgm@gnu.org>
8942 * calendar/calendar.el (initial-calendar-window-hook)
8943 (today-visible-calendar-hook): Doc fixes.
8945 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
8947 * net/tramp.el (tramp-root-regexp): Simplify.
8948 (tramp-completion-file-name-regexp-separate): Don't insist on
8949 leading "[". This prevents method or user or host completion.
8950 (tramp-let-maybe): Autoload it.
8951 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
8952 is an alias for `identity'.
8953 (tramp-handle-write-region): Protect `last-coding-system-used'
8954 over the trailing statements.
8955 (tramp-completion-file-name-handler-post-function): Remove.
8956 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
8957 instead of calling `tramp-drop-volume-letter'.
8961 * net/trampver.el: Move coding cookie at the end.
8963 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
8966 elements which may be something else than characters.
8968 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
8970 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
8971 New functions to implement vc-status support.
8973 * vc.el (vc-default-extra-status-menu)
8974 (vc-add-to-vc-status-buffer): New functions.
8976 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8979 2008-03-17 Glenn Morris <rgm@gnu.org>
8981 * calendar/cal-x.el (diary-frame-parameters)
8982 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
8983 Fix custom type; add options.
8984 (calendar-frame, diary-frame): Doc fixes.
8985 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
8987 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
8988 Use calendar-frame-1 and calendar-dedicate-diary.
8989 (calendar-one-frame-setup): Also handle only-one-frame case.
8990 (calendar-only-one-frame-setup): Doc fix. Just call
8991 calendar-one-frame-setup.
8993 * calendar/diary-lib.el: Re-order some definitions before their use.
8994 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
8995 (diary-list-entries): Doc fixes.
8996 (make-fancy-diary-display): Remove function.
8998 * calendar/calendar.el (calendar-today-marker)
8999 (initial-calendar-window-hook, today-visible-calendar-hook)
9000 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
9001 (calendar-star-date, calendar-mark-today): Doc fixes.
9002 (today-visible-calendar-hook): Add options.
9003 (calendar-in-read-only-buffer): New macro.
9004 (calendar-basic-setup): Adapt for change in calendar-read-date.
9005 Place holiday let inside if.
9006 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
9007 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
9008 (calendar-print-other-dates): Use one let rather than many.
9010 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
9011 (calendar-print-other-dates):
9012 * calendar/cal-hebrew.el (list-yahrzeit-dates):
9013 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
9014 * calendar/holidays.el (calendar-list-holidays, list-holidays)
9015 (calendar-cursor-holidays):
9016 * calendar/lunar.el (calendar-phases-of-moon): Use
9017 calendar-in-read-only-buffer to replace previous code and disable undo.
9019 2008-03-16 Juri Linkov <juri@jurta.org>
9021 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
9022 and regexp-search-ring-yank-pointer for the HISTPOS argument of
9023 read-from-minibuffer to provide the correct initial minibuffer
9024 history position in isearch-edit-string when it is called from
9025 isearch-ring-adjust.
9027 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
9028 to check if the current buffer is the minibuffer, and in this case
9029 call abort-recursive-edit to kill the minibuffer. Doc fix.
9030 (kill-this-buffer-enabled-p): Allow this function to return non-nil
9031 when the current buffer is the minibuffer.
9033 * simple.el (goto-line): Leave mark at previous position. Doc fix.
9035 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
9037 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
9038 Use non-nil PARENTS attribute of make-directory instead of
9039 explicitly checking existence the current cache directory.
9041 2008-03-16 Daiki Ueno <ueno@unixuser.org>
9043 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
9044 M-x epa-file-select-keys.
9046 2008-03-16 Kenichi Handa <handa@m17n.org>
9048 * international/mule.el (auto-coding-alist):
9049 Use no-conversion-multibyte for archive files.
9051 2008-03-16 Glenn Morris <rgm@gnu.org>
9053 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
9055 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
9056 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
9057 Use calendar-mark-1.
9058 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
9059 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
9060 Use calendar-mark-complex.
9061 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
9062 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
9063 Use calendar-mark-1.
9065 * calendar/calendar.el (calendar-mod): Remove.
9066 * calendar/cal-china.el (calendar-chinese-from-absolute)
9067 (calendar-chinese-date-string): Expand calendar-mod calls.
9068 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
9069 Expand calendar-mod calls.
9071 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
9072 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
9073 (diary-bahai-insert-yearly-entry): Use let rather than let*.
9074 Move obsolete aliases after the functions that replaced them.
9076 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
9077 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
9078 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
9079 Use let rather than let*.
9080 (calendar-hebrew-prompt-for-date): New function.
9081 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
9082 (holiday-tisha-b-av-etc): Use unless, let.
9084 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
9085 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
9087 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
9089 * calendar/calendar.el (calendar-for-loop): Add indent spec.
9091 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
9092 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
9094 (diary): Remove un-needed let.
9095 (view-other-diary-entries): Rename argument.
9096 (diary-list-entries-2): New function.
9097 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
9098 (print-diary-entries): Use unless.
9099 (diary-mark-entries-1): Change argument order, make all but
9100 markfunc optional. Handle the standard (Gregorian) case.
9101 Use match-string-no-properties. Handle marks.
9102 (mark-diary-entries): Use diary-mark-entries-1.
9103 (diary-font-lock-keywords-1): New macro.
9104 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
9106 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
9108 * calendar/icalendar.el (icalendar-version): Increase to 0.18.
9109 (icalendar-export-hidden-diary-entries): New variable.
9110 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
9111 In case of error, insert full error-val.
9112 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
9113 Use calendar-day-of-week. Return the day number.
9114 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
9116 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
9118 * calendar/icalendar.el (icalendar-recurring-start-year): New variable.
9119 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
9120 (icalendar-export-region): Ignore hidden diary entries.
9121 (icalendar--convert-ordinary-to-ical): Fix case where event
9122 spans across midnight boundary.
9123 (icalendar-first-weekday-of-year): New function.
9124 (icalendar--convert-weekly-to-ical): Allow user-selectable start
9125 year for recurring events (Mozilla calendars do not propagate
9126 recurring events forever, so year 2000 start date was not working).
9127 (icalendar--convert-yearly-to-ical): Remove extra spaces in
9128 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
9130 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
9132 * net/tramp.el (tramp-root-regexp): New defconst.
9133 (tramp-completion-file-name-regexp-unified)
9134 (tramp-completion-file-name-regexp-separate)
9135 (tramp-completion-file-name-regexp-url): Use it.
9136 (tramp-do-copy-or-rename-file-via-buffer):
9137 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
9138 t for `insert-file-contents-literally'.
9139 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
9141 (tramp-completion-file-name-handler-post-function): New defconst.
9142 (tramp-completion-file-name-handler): Use it.
9143 (tramp-maybe-open-connection): Update calls to
9144 `tramp-flush-connection-property' for removed 2nd argument.
9146 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9148 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
9149 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
9152 2008-03-15 Glenn Morris <rgm@gnu.org>
9154 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
9156 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
9157 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9158 (diary-list-entries-1, diary-mark-entries-1): Autoload.
9159 (diary-bahai-list-entries): Use diary-list-entries-1.
9160 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
9161 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
9162 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9163 (diary-list-entries-1, diary-mark-entries-1): Autoload.
9164 (list-hebrew-diary-entries): Use diary-list-entries-1.
9165 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
9166 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
9167 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
9168 (diary-list-entries-1, diary-mark-entries-1): Autoload.
9169 (list-islamic-diary-entries): Use diary-list-entries-1.
9170 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
9172 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
9174 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
9176 * calendar/cal-china.el (number-chinese-months)
9177 (calendar-chinese-from-absolute): Use nth, caar.
9179 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
9181 * calendar/cal-french.el (french-calendar-accents): Doc fix.
9183 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
9184 (calendar-hebrew-month-name-array-leap-year)
9185 (hebrew-calendar-parashiot-names): Make constants.
9186 (diary-parasha): Move definition after constants it uses.
9188 * calendar/cal-html.el (cal-html-insert-link-yearpage)
9189 (cal-html-htmlify-list): Doc fix.
9190 (cal-html-htmlify-entry): Use nth.
9192 * calendar/cal-islam.el (calendar-islamic-month-name-array)
9193 (calendar-islamic-epoch): Make constants.
9194 (calendar-islamic-epoch): Doc fix.
9196 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
9198 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
9199 (cal-tex-month-name): Doc fix.
9200 (cal-tex-last-blank-p): Use zerop.
9202 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
9203 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
9204 (calendar-cursor-to-date): Doc fix.
9205 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
9206 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
9207 (calendar-day-number): Use when.
9208 (generate-calendar-month): Use dotimes.
9209 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
9210 (calendar-set-mark): Reverse conditional.
9211 (calendar-make-alist): Move definition before use.
9213 * calendar/diary-lib.el (diary-face-attrs)
9214 (diary-glob-file-regexp-prefix, diary-selective-display)
9215 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
9216 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
9217 (diary-anniversary, diary-cyclic)
9218 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
9219 (diary-header-line-format): Change wording.
9220 (diary-list-entries): Set `date-start' in let.
9221 (include-other-diary-files, mark-included-diary-files): Use format.
9222 (simple-diary-display, fancy-diary-display): Use cadr, unless.
9223 (mark-diary-entries): Use 1+.
9224 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
9225 (mark-calendar-month): Use dotimes.
9227 * calendar/holidays.el (displayed-month, displayed-year):
9228 Move declarations where needed.
9229 (calendar-list-holidays): Doc fix.
9231 * calendar/parse-time.el (parse-time-string): Simplify.
9233 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
9235 (solar-sunrise-sunset): Rename some local variables for clarity.
9236 (sunrise-sunset): Use zerop.
9237 (solar-mean-equinoxes/solstices): Doc fix.
9239 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
9241 (timeclock-completing-read, timeclock-generate-report): Use zerop.
9242 (timeclock-mean, timeclock-generate-report): Use dolist.
9244 * calendar/todo-mode.el (todo-add-category): Simplify.
9245 (todo-more-important-p, todo-delete-item, todo-file-item):
9247 (todo-top-priorities): Use zerop.
9249 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
9251 * buff-menu.el (list-buffers-noselect): Display buffer name in
9252 tooltip instead of mouse binding when it doesn't fit in the list.
9254 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
9256 * faces.el (xw-defined-colors):
9257 * simple.el (widget-convert, shell-mode): Declare as functions
9258 instead of autoloading.
9264 * emacs-lisp/backquote.el:
9265 * emacs-lisp/timer.el:
9271 * textmodes/fill.el:
9272 * textmodes/paragraphs.el: Remove autoloads, redundant when the
9273 files are preloaded.
9275 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * desktop.el (desktop-create-buffer): Don't catch errors if
9278 debug-on-error is set.
9280 2008-03-14 Eli Zaretskii <eliz@gnu.org>
9282 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9283 ($(lisp)/calendar/diary-loaddefs.el)
9284 ($(lisp)/calendar/hol-loaddefs.el): New targets.
9285 (LOADDEFS): New macro.
9286 (autoloads): Depend on $(LOADDEFS).
9288 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
9290 * font-lock.el (featurep): Remove test, not useful anymore.
9291 (facemenu-keymap): Move key binding ...
9292 * facemenu.el (facemenu-keymap): ... here.
9294 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
9295 for each file in the list.
9296 (vc-bzr-log-view-mode): Recognize the file marker.
9298 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
9299 for checkdoc and profiling.
9301 2008-03-14 Bastien Guerry <bzg@altern.org>
9303 * textmodes/flyspell.el (nxml-mode): Add the right
9304 `flyspell-mode-predicate'.
9306 * wid-edit.el (link): Use 'mouse-face for :follow-link.
9308 2008-03-14 Glenn Morris <rgm@gnu.org>
9310 * calendar/solar.el: Reorder so that functions are defined before use.
9311 (displayed-month, displayed-year): Move declarations where needed.
9312 (solar-get-number): Move definition before use. Use unless.
9313 (solar-equatorial-coordinates): Simplify.
9314 (solar-sunrise-and-sunset): Use let rather than let*.
9315 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
9317 * startup.el (command-line-1): Rename -internal-script back to
9318 -scriptload (reverts previous change).
9320 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
9321 (calendar-bahai-leap-base): Add doc strings.
9322 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
9323 Move definition before use.
9324 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
9325 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
9326 variables outside the loop. Use dolist.
9327 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
9329 * calendar/cal-china.el: Re-order so that functions are defined before
9331 (displayed-month, displayed-year): Move declarations where needed.
9332 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
9333 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
9335 (chinese-year-cache): Recenter on 2010. Doc fix.
9336 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
9338 (chinese-year-cache-init): New function.
9339 (compute-chinese-year, holiday-chinese-new-year)
9340 (calendar-chinese-date-string, calendar-goto-chinese-date)
9341 (make-chinese-month-assoc-list): Use cadr, nth.
9342 (chinese-months): Remove un-needed let.
9344 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
9345 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
9346 (coptic-prompt-for-date): Move definition before use.
9348 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
9349 (calendar-dst-find-data, calendar-daylight-time-offset)
9350 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
9351 (calendar-daylight-savings-starts-time)
9352 (calendar-daylight-savings-ends-time): Use cadr, nth.
9354 * calendar/cal-french.el (french-calendar-epoch)
9355 (calendar-goto-french-date): Doc fix.
9356 (french-calendar-month-name-array)
9357 (french-calendar-multibyte-month-name-array)
9358 (french-calendar-day-name-array, french-calendar-special-days-array):
9361 * calendar/cal-hebrew.el (displayed-month, displayed-year)
9362 (original-date): Move declarations where needed.
9363 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
9365 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
9366 constant variables outside the loop. Use dolist.
9368 * calendar/cal-islam.el (displayed-month, displayed-year)
9369 (original-date): Move declarations where needed.
9370 (islamic-calendar-day-number): Remove unused local variable `day'.
9371 (calendar-goto-islamic-date): Doc fix.
9372 (holiday-islamic): Use unless.
9373 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
9374 constant variables outside the loop. Use dolist.
9375 (mark-islamic-calendar-date-pattern): Move definition before use.
9377 (mark-islamic-diary-entries): Doc fix.
9378 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
9379 (insert-yearly-islamic-diary-entry): Use let rather than let*.
9381 * calendar/cal-julian.el (calendar-absolute-from-julian):
9382 Move definition before use. Remove un-needed local `day'.
9383 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
9385 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
9386 (calendar-mayan-tzolkin-names-array): Add doc strings.
9387 (calendar-mayan-long-count-from-absolute): Use a single let.
9388 (calendar-string-to-mayan-long-count): Simplify.
9389 (calendar-next-haab-date, calendar-previous-haab-date)
9390 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
9391 (calendar-previous-calendar-round-date)
9392 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
9394 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
9395 (calendar-mayan-date-string, calendar-print-mayan-date)
9396 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
9397 (calendar-mayan-long-count-common-era): Move definitions before use.
9399 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
9400 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
9402 (calendar-mouse-goto-date): Move definition before use.
9404 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
9405 Move definition before use.
9406 (calendar-cursor-to-visible-date): Move definition before use.
9407 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
9408 and place inside the conditional.
9409 (calendar-forward-day): Simplify.
9410 (calendar-end-of-month): Use unless.
9411 (calendar-goto-day-of-year): Doc fix.
9412 Relocate obsolete aliases after their replacements.
9414 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
9416 * calendar/diary-lib.el (mark-diary-entries): Move some constant
9417 variables outside the diary-date-forms loop.
9419 * calendar/calendar.el (diary-file): Doc fix.
9420 (calendar-buffer-list): Return buffers rather than strings (fixes
9422 (hebrew-holidays-4): Fix typo.
9424 * calendar/holidays.el (displayed-month, displayed-year):
9425 Move declarations where needed.
9426 (calendar-holiday-list, calendar-list-holidays)
9427 (holiday-filter-visible-calendar): Move definitions before use.
9428 (list-holidays): Use cadr.
9429 Relocate obsolete aliases after their replacements.
9431 * calendar/lunar.el (date, displayed-month, displayed-year):
9432 Move declarations where needed.
9433 (lunar-phase-list): Move definition after functions it uses.
9434 (calendar-phases-of-moon, diary-phases-of-moon)
9435 (lunar-new-moon-on-or-after): Use cadr, nth.
9436 (lunar-new-moon-on-or-after): Doc fix.
9438 * textmodes/org-irc.el (top-level): CL not required when compiling.
9439 (org-irc-visit-erc): Replace runtime CL functions.
9441 * textmodes/org-publish.el (declare-function): Add compatibility stub.
9442 (org-publish-delete-dups): Declare as function.
9444 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
9446 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
9447 (vc-bzr-show-log-entry): Make regexp match more cases.
9448 (vc-diff-switches-list): Remove autoload, not needed.
9450 2008-03-14 Juri Linkov <juri@jurta.org>
9452 * isearch.el (isearch-edit-string): Remove one call to
9453 `isearch-push-state' not to push an inconsistent state,
9454 but keep another correct call to `isearch-push-state'.
9455 (isearch-ring-adjust): Call `isearch-push-state' only when
9456 `search-ring-update' is non-nil since `isearch-edit-string'
9457 already pushes its state.
9458 (isearch-message): Improve matching the failed part by checking
9459 if the original message starts with the last successful message.
9461 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
9462 (dired-perm-write): Rename from `dired-warn-writable'.
9463 Change parent face from `font-lock-warning-face' to
9464 `font-lock-comment-delimiter-face'.
9465 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
9466 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
9467 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
9468 with `dired-perm-write-face'.
9470 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
9472 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
9473 Create cache dir only if it doesn't already exist.
9475 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
9480 2008-03-13 Johan Bockgård <bojohan@gnu.org>
9482 * net/browse-url.el (browse-url-text-xterm):
9483 Unquote browse-url-text-browser.
9485 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
9487 * textmodes/org-mouse.el: Version number change.
9489 * textmodes/org-publish.el (org-publish-expand-components):
9490 Remove null projects from the list of components.
9491 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
9492 Remove unused retrieval of the :publishing-directory property.
9493 (org-publish-file): Bugfix: when using a relative directory as the
9494 publishing directory, convert it to a directory filename.
9495 (org-publish-project): New alias.
9496 (org-publish-get-files): Protect against empty p.
9497 (org-publish-file): Send an error when file is not part of any project.
9498 (org-publish-file): Offer to refresh the list of files in known
9499 project when the current file is not part of any project.
9500 (org-publish-before-export-hook)
9501 (org-publish-after-export-hook): New hooks.
9502 (org-publish-org-to): Use new hooks and kill buffers.
9503 (org-publish-file): Remove the code for killing buffers.
9504 (org-publish-initialize-files-alist): Use interactive.
9505 (org-publish-file): If the publishing function creates a new
9506 buffer, kill it after publishing.
9507 (org-publish-timestamp-filename): Protect ":" in file name path
9510 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
9511 change that killed the LaTeX buffer.
9513 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
9514 in the decision tree.
9515 (org-select-remember-template): Clean the code.
9516 (org-prepare-dblock): Add the extra :content parameter.
9517 (org-write-agenda): New output type ".ics" files.
9518 (org-write-agenda): Call `org-icalendar-verify-function', both for
9519 time stamps and for TODO entries.
9520 (org-agenda-collect-markers, org-create-marker-find-array)
9521 (org-check-agenda-marker-table): New functions.
9522 (org-agenda-marker-table): New variable.
9523 (org-export-as-html): Revert the change that killed the html
9524 buffer. Side effects first need to be studied carefully.
9525 (org-get-tags-at): Fix the structure of the condition-case statement.
9526 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
9527 (org-timestamp-change): Fix regulear expressions to swallow the
9528 extra character for repeat-shift control.
9529 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
9530 (org-get-legal-level): Alias to `org-get-valid-level'.
9531 (org-dblock-write:clocktable): Add a :link parameter, linking
9532 headlines to their location in the Org agenda files.
9533 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
9534 throwing an error when getting tags before headlines.
9535 (org-timestamp-change, org-modify-ts-extra)
9536 (org-ts-regexp1): Fix timestamp editing.
9537 (org-agenda-custom-commands-local-options): New constant.
9538 (org-agenda-custom-commands):
9539 Use `org-agenda-custom-commands-local-options' to improve customize
9540 type. "htmlize": Removed hack to fix face problem with htmlize,
9541 it no longer seem necessary.
9542 (org-follow-link-hook): New hook.
9543 (org-agenda-custom-commands): Add "Component" as a tag for each
9544 item in a command serie.
9545 (org-open-at-point): Run `org-follow-link-hook'.
9546 (org-agenda-schedule): Bugfix: don't display marker type when it
9548 (org-store-link): org-irc required.
9549 (org-set-regexps-and-options): Parse the new logging options.
9550 (org-extract-log-state-settings): New function.
9551 (org-todo): Handle the new ways of recording state change stuff.
9552 (org-local-logging): New function.
9553 (org-columns-open-link): Fix bug with opening link in column view.
9554 (org-local-logging): New function.
9555 (org-todo): Make sure that LOGGING properties are honoured.
9556 (org-todo-keywords): Improve docstring.
9557 (org-startup-options): Cleanup startup options.
9558 (org-set-regexps-and-options): Process the "!" markers.
9559 (org-todo): Respect the new logging stuff.
9560 (org-log-note-how): New variable.
9561 (org-add-log-maybe): New parameter HOW that defines how logging
9562 should be done and also overrides PURPOSE. Add a docstring.
9563 (org-add-log-note): Check if we really need to ask for a note.
9564 (org-get-current-options): Digest the new keyword.
9565 (org-agenda-reset-markers): Rename from
9566 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
9567 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
9568 function, without force argument.
9569 (org-buffer-property-keys): Bind local variables s and p.
9570 (org-make-tags-matcher): Allow "" to match an empty or
9571 non-existent property value.
9572 (org-export-as-html): Join unsorted lists when they directly
9573 follow each other. Such lists may be created by headlines that
9574 are converted to lists.
9575 (org-nofm-to-completion): New function.
9576 (org-export-as-html): Use :html-extension instead of
9577 org-export-html-extension.
9578 (org-store-link): Support for links from `rmail-summary-mode'.
9579 (org-columns-new, org-complete, org-set-property): Set the
9580 `include-columns' argument in the call to
9581 `org-buffer-property-keys'.
9582 (org-buffer-property-keys): New argument `include-columns', to
9583 include properties expected by any of the COLUMS formats in the
9585 (org-cleaned-string-for-export): Get rid of drawers first, so that
9586 they will be removed also in the text before the first headline.
9587 (org-clock-report): Show the clocktable when found.
9588 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
9589 (org-version): With prefix argument, insert `org-version' at point.
9590 (org-agenda-goto): Recenter the window after finding the target
9591 location, to make sure the correct position will be displayed.
9592 (org-agenda-get-deadlines): Don't scale priority with the warning
9594 (org-insert-heading): Don't break line in the middle of the line.
9595 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
9597 (org-update-checkbox-count): Revamp to deal with hierarchical
9598 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
9599 (org-remove-timestamp-with-keyword): New function.
9600 (org-schedule, org-deadline):
9601 Use `org-remove-timestamp-with-keyword' to make sure all such time
9603 (org-mode): Support for `align'.
9604 (org-agenda-get-deadlines): Make sure priorities increase as the
9605 due date approaches and is passed.
9606 (org-remember-apply-template): Fix problem with tags that
9608 (org-make-link-regexps): Improve the regular expression for plain links.
9609 (org-agenda-get-closed): List each clocking entry.
9610 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
9611 (org-special-ctrl-k): New option.
9612 (org-kill-line): New function.
9613 (org-archive-all-done): Fix incorrect number of stars in regexp.
9614 (org-refile-get-location): New function.
9615 (org-refile-goto-last-stored): New function.
9616 (org-global-tags-completion-table): Add the value of org-tag-alist
9617 in each buffer, to make sure that also unused tags will be
9618 available for completion.
9619 (org-columns-edit-value)
9620 (org-columns-next-allowed-value): Only update if not in agenda.
9621 (org-clocktable-steps): New function.
9622 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
9623 (org-archive-subtree): Add the outline tree context as a property.
9624 (org-closest-date): New optional argument `prefer'.
9625 (org-goto-auto-isearch): New option.
9626 (org-goto-map, org-get-location): Implement auto-isearch.
9627 (org-goto-local-auto-isearch-map): New variable.
9628 (org-goto-local-search-forward-headings)
9629 (org-goto-local-auto-isearch): New functions.
9631 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
9633 * textmodes/org-irc.el: New file.
9635 2008-03-13 John Wiegley <johnw@gnu.org>
9637 * textmodes/org-mac-message.el: New file.
9639 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
9641 * font-lock.el (font-lock-comment-face): Set the foreground for
9642 the light background 8 colors case.
9644 2008-03-13 Glenn Morris <rgm@gnu.org>
9646 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
9647 generate-autoload-cookie patterns.
9649 * startup.el (command-line-1): Rename -scriptload to -internal-script.
9651 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
9652 (MH_E_SRC): Remove variable.
9653 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
9654 Simplify file header. Use $@ for generated-autoload-file.
9656 * Makefile.in (LOADDEFS): New variable.
9657 (AUTOGENEL): Use $LOADDEFS.
9658 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
9659 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
9660 ($(lisp)/calendar/hol-loaddefs.el): New targets.
9661 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
9662 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
9663 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
9664 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
9665 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
9666 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
9667 Add calendar-specific autoload cookies, and remove any setting of
9668 generated-autoload-file.
9669 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
9670 * calendar/diary-lib.el: Replace explicit autoloads with reading of
9672 * calendar/holidays.el: Replace explicit autoloads with reading of
9675 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
9676 (calendar-buffer-list): Simplify.
9677 (generate-calendar-window): Use calendar-mark-holidays rather than
9680 * calendar/cal-hebrew.el (list-yahrzeit-dates):
9681 Use cal-hebrew-yahrzeit-buffer.
9683 * calendar/cal-x.el (calendar-only-one-frame-setup)
9684 (calendar-two-frame-setup): Doc fixes.
9685 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
9687 * calendar/appt.el (appt-mode-string): Mark as risky.
9688 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
9690 * calendar/cal-html.el (diary-list-entries):
9691 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
9692 (calendar-iso-from-absolute): Fix autoloads.
9694 * calendar/cal-iso.el (calendar-absolute-from-iso)
9695 (calendar-iso-read-args): Simplify.
9696 (calendar-iso-date-string, calendar-iso-read-args)
9697 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
9699 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
9700 (displayed-month, displayed-year): Move declarations where needed.
9701 (calendar-print-astro-day-number): Doc fix.
9703 * calendar/cal-persia.el (persian-calendar-month-name-array)
9704 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
9705 (persian-prompt-for-date): Remove local variable `today'.
9707 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
9709 * calendar/solar.el (solar-moment, solar-exact-local-noon)
9710 (solar-sunrise-sunset, solar-sunrise-sunset-string)
9711 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
9712 (diary-sabbath-candles, solar-equinoxes/solstices)
9713 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
9714 (solar-time-equation, solar-date-to-et): Simplify.
9716 * mail/supercite.el: Remove the `function' in `(function (lambda'.
9717 Replace `(car (cdr' with cadr'.
9719 * progmodes/f90.el (f90-font-lock-n): New function.
9720 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
9721 Use f90-font-lock-n.
9722 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
9724 * progmodes/f90.el (f90-mode-abbrev-table):
9725 * progmodes/fortran.el (fortran-mode-abbrev-table):
9726 Use newer form of define-abbrev, where supported. No need to bind
9727 abbrevs-changed for system abbrevs.
9729 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9731 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
9732 delete-frame-functions.
9734 * bookmark.el (Info-current-node): Remove.
9736 2008-03-12 Juri Linkov <juri@jurta.org>
9738 * help.el (describe-project): Remove defaliases for view-todo and
9739 describe-project that are now unnecessary after the merge from
9740 emacs--rel--22 that added define-obsolete-function-alias.
9742 * startup.el (inhibit-startup-screen): Revert incomplete
9743 2008-03-10 merge from emacs--rel--22 that partly reverted
9744 2008-02-28 change that added initial message to *scratch* buffer
9745 regardless of the value of `inhibit-startup-screen'.
9746 Now keep this change in the trunk, but not in the 22 branch.
9748 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * international/quail.el (quail-setup-completion-buf, quail-help):
9751 * mail/binhex.el (binhex-decode-region-internal):
9752 * mail/uudecode.el (uudecode-decode-region-internal):
9753 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
9754 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
9755 setting default-enable-multibyte-characters.
9757 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
9759 * comint.el: Fix up indentation and comment style. Remove `function'.
9761 * international/mule-cmds.el (reset-language-environment)
9762 (set-language-environment-nonascii-translation):
9763 Don't set-unibyte-charset.
9765 * doc-view.el: Remove all cb-args, use closures instead.
9766 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
9767 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
9768 doing an incorrect check). Update all callers to use the new name.
9769 (doc-view-doc->txt): Add missing `txt' argument.
9771 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
9773 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
9774 md5 sum calculation to single-byte.
9776 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9778 * doc-view.el (doc-view-new-window-function): Add assertion.
9779 (doc-view-doc-type): New var.
9780 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
9781 (doc-view-intersection): New fun.
9782 (doc-view-mode): Use it to set the new var.
9784 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
9786 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
9787 (doc-view-already-converted-p): New functions.
9788 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
9789 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
9790 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
9791 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
9792 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
9793 (doc-view-convert-current-doc): Don't hardwire the functions the
9794 sentinels call. Now they're provided by two args CALLBACK and
9795 CB-ARGS to the functions.
9796 (doc-view-search): Use doc-view-doc->txt.
9797 (doc-view-initiate-display): Use doc-view-already-converted-p.
9798 Mention new binding C-c C-t if doc-view-mode doesn't work.
9800 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9802 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
9804 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
9807 Mark " outside of tags as punctuation.
9809 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * menu-bar.el (minibuffer-local-map): Use the same command for the
9812 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
9813 Prefer RET over C-j for exit-minibuffer.
9815 * files.el (display-buffer-other-frame): Eliminate problematic code.
9817 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
9818 (menu-bar-select-buffer): Remove.
9819 (menu-bar-select-frame): Make non-interactive and take a frame arg.
9820 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
9822 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
9824 * icomplete.el (icomplete-completions): Remove obsolete code.
9826 * net/net-utils.el (iwconfig-program-options): Doc fix.
9827 (net-utils-run-program, run-network-program): Define as functions.
9829 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
9831 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
9833 2008-03-11 Glenn Morris <rgm@gnu.org>
9835 * faces.el (mode-line-emphasis): New face.
9836 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
9838 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
9840 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
9842 * simple.el (set-mark-command): Doc fix.
9844 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
9848 * emacs-lisp/autoload.el (autoload-find-destination):
9849 Don't force raw-text.
9851 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
9852 * calendar/cal-loaddefs.el: Don't version control.
9854 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
9856 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
9857 entries and add :help to the existing ones.
9859 2008-03-10 Glenn Morris <rgm@gnu.org>
9861 * calendar/cal-hebrew.el (date, entry, number): Move declarations
9862 to where they are needed.
9864 * calendar/calendar.el (diary-file, hebrew-holidays-1)
9865 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
9866 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
9867 (calendar-version): Doc fixes.
9868 (calendar-absolute-from-gregorian): Use zerop.
9869 (calendar-mode-line-format): Make it a defcustom.
9871 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
9872 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
9873 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
9874 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
9875 (mark-included-diary-files, mark-calendar-days-named)
9876 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
9877 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
9878 (insert-monthly-diary-entry, insert-yearly-diary-entry)
9879 (insert-anniversary-diary-entry, insert-block-diary-entry)
9880 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
9881 (diary-font-lock-sexps): Doc fixes.
9882 (diary-remind-message, mark-calendar-month): Use zerop.
9883 (diary-attrtype-convert, diary-pull-attrs): Simplify.
9884 (diary-list-entries): Revert let to let* (previous change).
9886 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
9888 2008-03-10 Kim F. Storm <storm@cua.dk>
9890 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
9891 function aliases for the old names.
9893 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
9895 * iswitchb.el (iswitchb-use-faces): Doc fix.
9896 (iswitchb-buffer-ignore, iswitchb-read-buffer):
9897 Fix typos in docstrings.
9899 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
9901 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
9903 (verilog-type-font-keywords): Reindent.
9905 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
9907 * progmodes/verilog-mode.el (verilog-font-grouping-keywords):
9908 Fix bug in the grouping-keyword regular expression.
9909 (verilog-font-lock-keywords): Allow users to toggle special
9910 highlight of grouping-keywords.
9911 (verilog-highlight-grouping-keywords): The toggle for special
9912 highlighting of grouping keywords.
9914 2008-03-10 Juri Linkov <juri@jurta.org>
9916 * startup.el: Revert 2008-02-28 change that adds initial message
9917 to *scratch* buffer regardless of the value of
9918 `inhibit-startup-screen'.
9920 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
9922 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
9923 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
9924 * progmodes/verilog-mode.el (verilog-mode):
9925 * net/socks.el (socks):
9926 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
9928 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
9931 (doc-view-bookmark-make-record): Use them.
9932 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
9933 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
9935 * bookmark.el (bookmark-make-record-function): Change expected return
9936 value to include a suggested bookmark name.
9937 (bookmark-make): Split into bookmark-make-record and bookmark-store.
9938 Fix reversed `overwrite' semantics.
9939 (bookmark-set): Call bookmark-make-record before prompting the user.
9940 Then pass the result to bookmark-store later on.
9941 (bookmark-make-name-function): Remove.
9942 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
9943 * info.el (bookmark-make-name-function): Remove.
9944 (Info-mode): Don't set it.
9945 (Info-bookmark-make-name): Remove.
9946 (Info-bookmark-make-record): Use Info-current-node as suggested default
9949 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
9950 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
9951 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
9952 (bookmark-annotation-buffer, bookmark-annotation-file)
9953 (bookmark-annotation-point, bookmark-send-annotation)
9954 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
9955 (bookmark-edit-annotation-text-func): Rename from
9956 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
9957 (bookmark-edit-annotation-mode-map): Move initialization into
9960 * bookmark.el: Remove spurious * in docstrings.
9961 (bookmark-minibuffer-read-name-map): New var.
9962 (bookmark-set): Use it. Also pass the default value as it should.
9963 (bookmark-send-edited-annotation): Take no chances with text properties.
9964 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
9965 (bookmark-insert-buffer-name): Remove.
9966 (bookmark-buffer-file-name): Signal an error rather than returning nil.
9968 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
9970 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
9972 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
9974 * diff-mode.el (diff-mode-menu): Add :help.
9976 2008-03-09 Glenn Morris <rgm@gnu.org>
9978 * calendar/calendar.el (general-holidays, oriental-holidays)
9979 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
9980 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
9981 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
9982 (calendar-holidays): Restore autoload cookies, because people are
9983 used to using these variables without loading calendar.el.
9985 * calendar/cal-islam.el (diary-islamic-date): Move to end.
9986 (date, number): Declare where needed.
9988 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
9989 (list-sexp-diary-entries): Doc fixes.
9990 (diary-list-entries): Doc fix. Remove free variable `entry'.
9991 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
9992 Simplify setting of `date-holiday-list'.
9993 (mark-diary-entries): Remove free variable `entry'.
9994 (diary-list-entries, include-other-diary-files, fancy-diary-display):
9995 Use let where let* is not needed.
9997 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
9999 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
10000 make-record function, instead paste it in afterwards.
10001 (bookmark-make-record-for-text-file):
10002 * doc-view.el (doc-view-bookmark-make-record):
10003 * info.el (Info-bookmark-make-record): Don't mess with annotations.
10005 2008-03-08 Glenn Morris <rgm@gnu.org>
10007 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
10009 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * calendar/diary-lib.el (diary-list-entries)
10012 (include-other-diary-files, mark-diary-entries)
10013 (mark-sexp-diary-entries, mark-included-diary-files)
10014 (diary-entry-time, list-sexp-diary-entries): Remove the special
10015 handling of ^M that dates back to the use of selective-display.
10016 (simple-diary-display): Obey setting of pop-up-frames.
10017 (body, entry): Remove unnecessary declarations.
10019 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
10020 (bookmark-get-annotation, bookmark-set-annotation)
10021 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
10022 (bookmark-set-position, bookmark-get-front-context-string)
10023 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
10024 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
10025 * info.el (Info-bookmark-make-record): Don't bother recording point.
10026 (bookmark-get-filename, bookmark-get-front-context-string)
10027 (bookmark-get-rear-context-string, bookmark-get-position):
10028 Don't declare any more.
10029 (bookmark-get-info-node): Remove.
10030 (bookmark-prop-get): Declare.
10031 (Info-bookmark-jump): Use it.
10033 2008-03-08 Johan Bockgård <bojohan@gnu.org>
10035 * subr.el (while-no-input): Don't splice BODY directly into the
10038 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
10040 * diff-mode.el (diff-ignore-whitespace-hunk):
10041 Bind inhibit-read-only before trying to change the buffer.
10043 2008-03-08 Glenn Morris <rgm@gnu.org>
10045 * calendar/appt.el (appt): Move custom group here from calendar.el.
10046 (appt-disp-window, appt-convert-time): Doc fixes.
10048 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
10049 (calendar-bahai-mark-date-pattern):
10050 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
10051 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
10052 * calendar/cal-julian.el (calendar-absolute-from-julian):
10053 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
10055 * calendar/cal-china.el (chinese-calendar): Move custom group here from
10057 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
10059 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
10060 (chinese-calendar-daylight-savings-starts)
10061 (chinese-calendar-daylight-savings-ends)
10062 (chinese-calendar-daylight-savings-starts-time)
10063 (chinese-calendar-daylight-savings-ends-time)
10064 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
10067 * calendar/cal-coptic.el (coptic-name): Add doc string.
10069 * calendar/cal-french.el (french-calendar-month-name-array)
10070 (french-calendar-day-name-array, french-calendar-special-days-array):
10073 * calendar/cal-bahai.el (diary-bahai-mark-entries)
10074 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
10075 (diary-bahai-insert-yearly-entry):
10076 * calendar/cal-dst.el (calendar-next-time-zone-transition)
10077 (calendar-time-zone):
10078 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
10079 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
10080 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
10081 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
10082 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
10083 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
10084 (list-islamic-diary-entries, mark-islamic-diary-entries)
10085 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
10086 (insert-yearly-islamic-diary-entry):
10087 * calendar/cal-iso.el (calendar-iso-read-args):
10088 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
10089 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
10090 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
10091 (calendar-next-calendar-round-date)
10092 (calendar-mayan-long-count-common-era):
10093 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
10094 (cal-menu-x-popup-menu, calendar-mouse-holidays)
10095 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
10096 (calendar-mouse-goto-date):
10097 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
10098 * calendar/holidays.el (holidays):
10099 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
10100 * calendar/time-date.el (date-to-time, time-subtract, time-add)
10101 (safe-date-to-time): Doc fixes.
10103 * calendar/cal-persia.el (persian-calendar-month-name-array)
10104 (persian-calendar-epoch): Make constants.
10106 * calendar/cal-tex.el (calendar-tex): Move custom group here from
10109 * calendar/cal-x.el (diary-frame-parameters)
10110 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
10111 (calendar-after-frame-setup-hooks): Make defcustoms.
10112 (calendar-one-frame-setup, calendar-only-one-frame-setup)
10113 (calendar-two-frame-setup): Doc fix.
10115 * calendar/cal-loaddefs.el: New file.
10117 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
10118 * calendar/cal-french.el, calendar/cal-html.el:
10119 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
10120 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
10121 * calendar/cal-tex.el, calendar/cal-x.el:
10122 Unquote lambda functions. Add autoload cookies to functions formerly
10123 autoloaded in calendar.el. Set `generated-autoload-file' to
10126 * calendar/calendar.el: Move many autoloads to separate file,
10127 cal-loaddefs.el. Move defcustoms to start and re-order.
10128 (calendar-month-name-array, calendar-starred-day): No need to
10129 declare for compiler.
10130 (cal-loaddefs): Require it.
10131 (appt, chinese-calendar, calendar-tex): Move custom groups to the
10133 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
10135 (diary-face, diary-file-name-prefix-function, diary-include-string)
10136 (diary-glob-file-regexp-prefix, diary-face-attrs)
10137 (diary-file-name-prefix, sexp-diary-entry-symbol)
10138 (print-diary-entries-hook, list-diary-entries-hook)
10139 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
10140 (nongregorian-diary-marking-hook, diary-list-include-blanks):
10142 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
10143 (all-bahai-calendar-holidays): Doc fix.
10144 (calendar-insert-indented): Doc fix. Use when rather than if.
10145 (exit-calendar): Use mapc rather than mapcar.
10146 (calendar-cursor-to-date): Use zerop.
10147 (calendar-mark-ring): Add doc-string.
10148 (calendar-starred-day): Defvar it.
10149 (calendar-mode): Make calendar-starred-day local.
10150 (calendar-star-date): No need to make calendar-starred-day local.
10152 * calendar/diary-lib.el: Move defcustoms to start.
10153 (diary-include-string, diary-list-include-blanks)
10154 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
10155 (diary-file-name-prefix, diary-file-name-prefix-function)
10156 (sexp-diary-entry-symbol, list-diary-entries-hook)
10157 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
10158 (nongregorian-diary-marking-hook, print-diary-entries-hook):
10159 Move here from calendar.el.
10160 (diary-file-name-prefix-function): Use 'identity.
10161 (diary-face): Make it a defcustom, and mark as obsolete.
10162 (top-level): No need to require cal-hebrew, cal-islam when compiling.
10163 (calendar-hebrew-month-name-array-leap-year)
10164 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
10165 Define for compiler.
10166 (diary-font-lock-keywords): Use format rather than concat.
10167 Add bahai-diary-entry-symbol.
10169 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
10170 * calendar/solar.el: Unquote lambda functions.
10172 * calendar/solar.el (calendar-location-name, calendar-latitude)
10173 (calendar-longitude, solar-setup, solar-sin-degrees)
10174 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
10175 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
10176 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
10177 (solar-exact-local-noon, solar-julian-ut-centuries)
10178 (solar-ephemeris-time, solar-date-next-longitude)
10179 (solar-horizontal-coordinates, solar-equatorial-coordinates)
10180 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
10181 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
10182 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
10184 (solar-horizontal-coordinates, solar-equatorial-coordinates)
10185 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
10186 (solar-ecliptic-coordinates): Use unless.
10187 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
10190 * calendar/timeclock.el: Add doc-strings to all functions.
10191 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
10192 (timeclock-entry-list-length, timeclock-entry-list-projects)
10193 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
10195 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
10197 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
10198 (org-get-entries-from-diary): Require diary-lib.
10200 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
10202 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
10203 Pacify byte-compiler.
10205 2008-03-07 Alan Mackenzie <acm@muc.de>
10207 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
10208 paren/bracket pairs parsed, to solve performance problem.
10210 2008-03-07 Bastien Guerry <bzg@altern.org>
10212 * bookmark.el (bookmark-set): Don't check for
10213 `bookmark-make-name-function' since `bookmark-buffer-file-name'
10214 already takes care of this.
10215 (bookmark-buffer-name, bookmark-buffer-file-name):
10216 Remove Info-mode specific code.
10218 * info.el (bookmark-get-info-node): Define this function in
10219 info.el, not in bookmark.el.
10220 (Info-mode): Set `bookmark-make-name-function' to
10221 `Info-bookmark-make-name' locally.
10222 (Info-bookmark-make-name): New function.
10224 * bookmark.el (bookmark-make-name-function): New variable.
10226 2008-03-07 Karl Fogel <kfogel@red-bean.com>
10228 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
10229 buffer-local, not `bookmark-make-cell-function' (the old name).
10231 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
10233 * doc-view.el (doc-view-bookmark-make-record):
10234 * image-mode.el (image-bookmark-make-record):
10235 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
10237 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
10239 * vc.el (vc-status-menu-map-filter): Return orig-binding if
10240 boundp 'vc-ignore-menu-filter.
10241 (vc-status-tool-bar-map): Make it defvar.
10242 (vc-status-mode): vc-status-tool-bar-map now variable.
10243 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
10245 2008-03-07 Karl Fogel <kfogel@red-bean.com>
10247 Give a better name to part of the bookmark interface.
10249 This was originally a much larger change, but halfway through I
10250 updated and discovered that Stefan Monnier had done the rest.
10251 It looks like he anticipated the new name too, because he used
10252 `the-record' instead of `the-cell' for some internal variable names.
10254 * bookmark.el (bookmark-make-record-function): Was
10255 `bookmark-make-cell-function'.
10256 (bookmark-make, bookmark-send-annotation): Update for above.
10257 (bookmark-make-record-for-text-file):
10258 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
10260 * info.el: Adjust accordingly.
10261 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
10263 * image-mode.el: Adjust accordingly.
10264 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
10266 * doc-view.el: Adjust accordingly.
10267 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
10269 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
10272 Move initialization into declaration.
10273 (bookmark-get-info-node, bookmark-set-info-node): Remove.
10274 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
10275 (bookmark-info-current-node): Remove.
10276 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
10277 Add relocation fallback. Set bookmark-current-bookmark.
10278 (bookmark-default-handler): Rename from bookmark-jump-noselect.
10279 Remove relocation fallback. Don't set bookmark-current-bookmark.
10280 (bookmark-set): Let it be used even if there's no buffer-file-name
10281 as long as there is a bookmark-make-cell-function.
10282 * info.el (Info-bookmark-jump): Remove relocation fallback.
10283 Don't set bookmark-current-bookmark.
10285 2008-03-07 Glenn Morris <rgm@gnu.org>
10287 * calendar/appt.el (appt-issue-message)
10288 (appt-message-warning-time, appt-audible, appt-visible)
10289 (appt-msg-window, appt-display-mode-line, appt-display-duration)
10290 (appt-display-diary): Remove autoload cookies.
10292 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
10293 Remove leading `*' from defcustom doc-strings.
10295 * calendar/cal-dst.el (calendar-dst): New custom group.
10296 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
10297 (calendar-time-zone, calendar-daylight-time-offset)
10298 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
10299 (calendar-daylight-savings-starts-time)
10300 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
10301 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
10304 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
10306 * calendar/calendar.el (calendar-version): Use emacs-version and
10307 make it obsolete. Move to end.
10308 (calendar-offset, view-diary-entries-initially)
10309 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
10310 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
10311 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
10312 (all-bahai-calendar-holidays, calendar-load-hook)
10313 (initial-calendar-window-hook, today-visible-calendar-hook)
10314 (today-invisible-calendar-hook, calendar-move-hook)
10315 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
10316 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
10317 (diary-include-string, sexp-diary-entry-symbol)
10318 (abbreviated-calendar-year, american-date-diary-pattern)
10319 (european-date-diary-pattern, european-calendar-display-form)
10320 (american-calendar-display-form, print-diary-entries-hook)
10321 (list-diary-entries-hook, diary-hook, diary-display-hook)
10322 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
10323 (nongregorian-diary-marking-hook, diary-list-include-blanks)
10324 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
10325 (local-holidays, other-holidays, hebrew-holidays-1)
10326 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
10327 (hebrew-holidays, christian-holidays, islamic-holidays)
10328 (bahai-holidays, solar-holidays, calendar-setup)
10329 (calendar-week-start-day): Remove autoload cookies.
10330 (diary-glob-file-regexp-prefix): Doc fix.
10331 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
10332 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
10333 (calendar-week-start-day, calendar-debug-sexp): Move to start.
10335 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
10336 (calendar-time-display-form, calendar-latitude)
10337 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
10339 (calendar-latitude, calendar-longitude): Move functions after
10341 (diary-sabbath-candles-minutes): Move to start.
10342 (solar-setup): Use or rather than if.
10343 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
10344 Remove condition-case.
10345 (solar-atn2): Use zerop.
10346 (solar-equinoxes-solstices): Doc fix.
10348 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
10349 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
10351 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
10352 (calendar-longitude, calendar-latitude, calendar-location-name):
10353 Declare for compiler.
10355 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10357 * arc-mode.el (archive-ar-file-header-re): New const.
10358 (archive-ar-summarize, archive-ar-extract): New funs.
10359 (archive-find-type): Recognize ar archives.
10361 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
10364 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
10366 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
10368 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10369 Replace :enable (mark-active) with :enable mark-active.
10371 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
10373 * vms-patch.el (make-legal-file-name): New obsolete alias.
10374 (make-valid-file-name): Rename from `make-legal-file-name'.
10375 (make-auto-save-file-name): Use it.
10377 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
10378 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
10379 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
10381 * textmodes/org.el (org-export-html-style): Doc fix.
10382 (org-get-legal-level): New obsolete alias.
10383 (org-get-valid-level): Rename from `org-get-legal-level'.
10384 (org-promote, org-demote, org-archive-subtree)
10385 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
10387 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
10389 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
10391 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
10392 (vc-status-toggle-mark): New functions.
10393 (vc-status-mode): Set tool bar map.
10395 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
10397 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
10398 Reported by Drew Adams <drew.adams@oracle.com>.
10400 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
10402 * subr.el (read-quoted-char): Resolve modifers of the character
10405 * comint.el (comint-exec-1): Don't change the coding-system for
10406 decoding to dos-like EOL.
10407 (comint-carriage-motion): Fully rewrite.
10409 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
10411 * epg.el (epg-context-include-certs): Reflow docstring.
10412 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
10413 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
10414 (epg-context-set-signers, epg-context-set-sig-notations)
10415 (epg-make-import-status, epg-make-import-result)
10416 (epg-start-delete-keys): Fix typos in docstrings.
10417 (epg-start-sign-keys, epg-sign-keys):
10418 Fix typos in obsolescence declarations.
10420 * iswitchb.el: Don't check for `cadr' and `last'.
10421 (iswitchb-define-mode-map, iswitchb-default-keybindings):
10422 Add obsolescence declaration and remove redundant info from docstring.
10423 (iswitchb-set-common-completion, iswitchb-set-matches)
10424 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
10425 (recentf-list, most-len, most-is-exact):
10426 Don't wrap defvars within `eval-when-compile'.
10428 2008-03-05 Glenn Morris <rgm@gnu.org>
10430 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
10431 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
10432 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
10433 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
10434 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
10436 * ediff-hook.el (ediff-window-setup-function): Don't autoload
10437 declaration for compiler.
10438 (ediff-xemacs-init-menus): Use when rather than if.
10440 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
10441 if+and to just and.
10442 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
10443 (ediff-delete-overlay): Move the XEmacs test inside the definition.
10445 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
10447 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
10448 test inside XEmacs test.
10449 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
10450 since it was doing nothing on Emacs.
10451 (ediff-make-bullet-proof-overlay): Use when rather than if.
10453 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
10454 (ediff-setup-control-frame): Remove
10455 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
10456 a (featurep 'xemacs) test.
10458 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
10460 * calc/calc-ext.el (calc-extended-command-history): New variable.
10461 (calc-exectute-extended-command): Use `calc-extended-command-history'.
10463 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
10465 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
10466 (standard-mode-line-position): Add mouse-face.
10468 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
10469 * progmodes/grep.el (grep-mode-map): Add :help.
10471 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
10472 initialize in one step. Add :help. Use :enable to activate menu
10473 items. Show the key binding for edebug-defun.
10474 (lisp-interaction-mode-map): Add a menu.
10476 * term.el (term-mode-map): Define and initialize in one step.
10478 * ediff-init.el (ediff-color-display-p): Simplify.
10479 (Xor): Remove unused function.
10480 (ediff-with-syntax-table): Simplify for Emacs.
10482 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
10483 menu-bar being loaded, it always is.
10485 2008-03-05 Glenn Morris <rgm@gnu.org>
10487 * textmodes/tex-mode.el (tex-mode): Suppress warning about
10488 multiple definitions when compiling.
10490 2008-03-04 Alan Mackenzie <acm@muc.de>
10492 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
10494 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
10495 doc-string, "c-old-LEN" -> "c-old-END".
10497 2008-03-04 Jason Rumney <jasonr@gnu.org>
10499 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
10502 2008-03-04 Glenn Morris <rgm@gnu.org>
10504 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
10506 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
10509 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10512 (byte-compile-nilconstp): Can't use recursion in a defsubst.
10514 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
10515 so that M-q can fill comments.
10516 (tex-executable-exists-p, tex-compile): Extend with special syntax for
10517 commands implemented in elisp.
10518 (tex-compile-commands): Add an entry to use doc-view for pdf files.
10519 (tex-format-cmd): New function.
10520 (tex-compile): Use it to let the user specify default arguments.
10521 (tex-cmd-bibtex-args): New var.
10522 (tex-cmd-doc-view): New function.
10524 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
10526 * faces.el (face-spec-set): Fix typos in docstring.
10528 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
10530 * bindings.el (mode-line-column-line-number-mode-map): New variable.
10531 (standard-mode-line-position): Use it to add a menu for toggling
10532 column number and line number display.
10534 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
10537 Remove optimization that was working around the form-code-walker bug.
10539 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10540 Walk into the body of lambdas after byte-compile-unfold-lambda.
10542 2008-03-03 Glenn Morris <rgm@gnu.org>
10544 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
10545 value, if set, over frame value.
10547 * simple.el (transient-mark-mode): Don't turn on by default.
10549 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
10550 accidentally removed by the 2007-12-05 merge from Gnus.
10552 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
10554 * progmodes/compile.el (compilation-menu-map): Add menu entries
10555 for useful options.
10557 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
10558 Glenn Morris <rgm@gnu.org>
10560 * emacs-lisp/bytecomp.el (byte-recompile-directory)
10561 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
10562 Give a `bytecomp-' prefix to local variables with common names.
10564 2008-03-01 Glenn Morris <rgm@gnu.org>
10566 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
10567 code commented out 2007-11-10.
10569 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
10571 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
10573 * emulation/viper-cmd.el, emulation/viper-ex.el:
10574 * emulation/viper-init.el, emulation/viper-keym.el:
10575 * emulation/viper-mous.el, emulation/viper-util.el:
10576 * emulation/viper.el:
10577 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
10580 Replace obselete frame-local variables with frame-parameters.
10581 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
10582 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
10583 (viper-vi-state-cursor-color): Only call make-variable-frame-local
10585 * emulation/viper-util.el (viper-frame-value): New macro.
10586 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
10587 (viper-R-state-post-command-sentinel)
10588 (viper-replace-state-post-command-sentinel)
10589 (viper-change-state-to-insert, viper-change-state-to-emacs):
10590 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
10591 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
10592 (viper-get-saved-cursor-color-in-insert-mode)
10593 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
10594 Use viper-frame-value for viper-replace-overlay-cursor-color,
10595 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
10596 viper-vi-state-cursor-color values.
10598 * emulation/viper-cmd.el (zmacs-region-stays):
10599 * emulation/viper-util.el (zmacs-region-stays): No need to define
10602 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
10605 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
10608 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
10611 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10613 * whitespace.el: New version 9.3. As the glyph code generation was
10614 fixed, it is possible now to use character code above ?\x1FFFF in the
10615 display table. Fix `whitespace-indentation-regexp' to not include an
10616 extra ending character. Reported by Michael Welsh Duggan
10617 <mwd@cert.org>. Added hook actions when buffer is written or killed as
10618 the original whitespace package had. Suggested by Eric Cooper
10619 <ecc@cmu.edu>. Doc fix.
10620 (whitespace-action): New option.
10621 (whitespace-display-mappings): Changed default newline visualization to
10622 display downwards arrow, as the glyph code generation was fixed.
10623 (whitespace-unload-function): Assure that all local whitespace mode is
10625 (whitespace-global-modes): Fix type customization.
10626 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
10627 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
10628 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
10630 (whitespace-buffer): Command removed.
10631 (whitespace-trailing-regexp, whitespace-mark-x)
10632 (whitespace-display-window, whitespace-action-when-on)
10633 (whitespace-add-local-hook, whitespace-remove-local-hook)
10634 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
10635 (whitespace-action): New funs.
10636 (whitespace-report-list, whitespace-report-text)
10637 (whitespace-report-buffer-name): New consts.
10638 (whitespace-report, whitespace-report-region): New commands.
10640 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
10642 * disp-table.el (make-glyph-code): Don't test the result of
10643 `face-id', which already signals an error for invalid faces.
10644 (glyph-face): Simplify.
10646 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
10647 running `desktop-not-loaded-hook' to allow modifying it.
10648 Don't show warning message if `desktop-dirname' was modified.
10650 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
10653 we still expect more lines.
10655 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
10656 comment-paragraph filling if the commark doesn't match
10657 comment-start-skip.
10659 2008-03-01 Daiki Ueno <ueno@unixuser.org>
10661 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
10662 the `imap' variant.
10664 2008-03-01 Jason Rumney <jasonr@gnu.org>
10666 * files.el (make-auto-save-file-name): Encode more characters in
10667 non-file buffer names. Use url-encoding.
10669 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
10671 * net/net-utils.el (ftp-program): Fix typo in docstring.
10672 (ifconfig-program-options, netstat-program-options)
10673 (arp-program-options, route-program-options, nslookup-program-options)
10674 (ftp-program-options, smbclient-program-options)
10675 (dns-lookup-program-options, arp, route): Doc fixes.
10677 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
10678 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
10679 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
10680 Fix typos in docstrings.
10681 (gdb-pending-triggers): Reflow docstring.
10682 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
10684 2008-03-01 Alan Mackenzie <acm@muc.de>
10686 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
10689 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
10691 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
10693 2008-02-29 Kim F. Storm <storm@cua.dk>
10695 * emulation/cua-base.el (cua-remap-control-v)
10696 (cua-remap-control-z): New defcustoms.
10697 (cua-mode): Add them to set-after property.
10698 (cua--init-keymaps): Use them.
10699 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
10701 * help.el (view-emacs-todo): Rename from view-todo.
10702 (describe-gnu-project): Rename from describe-project. Users changed.
10703 (view-help-file): New helper function.
10704 (describe-distribution, describe-copying, describe-gnu-project)
10705 (view-todo, view-order-manuals, view-emacs-problems): Use it.
10706 (view-emacs-debugging, view-external-packages): New commands.
10707 (help-map): Move describe-distribution to C-h C-o (ordering).
10708 Move view-emacs-problems to C-h C-p (problems).
10709 Bind view-emacs-debugging to C-h C-d (debugging).
10710 Bind view-external-packages to C-h C-e (extras).
10711 (help-for-help-internal): Cleanup and align descriptions.
10712 Remove command names to reduce clutter.
10714 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
10716 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
10717 and quieter face (not a warning).
10719 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
10721 * vc.el (vc-status-crt-marked): New variable.
10722 (vc-status-mode): Make it local.
10723 (vc-status-refresh): Use it to save the marked files.
10724 (vc-update-vc-status-buffer): Use it to restore the marked files.
10726 * vc-svn.el (vc-svn-after-dir-status):
10727 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
10729 2008-02-29 Glenn Morris <rgm@gnu.org>
10731 * allout.el (allout-topic-encryption-bullet)
10732 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
10733 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
10736 * net/imap.el (imap-ping-server):
10737 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
10738 Change defcustom :version from 23.0 to 23.1.
10740 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
10742 * desktop.el (desktop-save): Save the buffer name if the
10743 uniquified base name is empty.
10745 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
10747 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
10748 correctly when user has "set print address off".
10750 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
10752 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
10753 version number of the next major Emacs release, not 23.0.
10755 * longlines.el (longlines-unload-function): New function.
10757 2008-02-28 Juri Linkov <juri@jurta.org>
10759 * startup.el (normal-splash-screen): Add argument `concise'.
10760 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
10761 to the created buffer. If `concise' is non-nil, call
10762 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
10763 (display-startup-screen): Add argument `concise' to the call to
10764 `normal-splash-screen'.
10766 2008-02-28 Kim F. Storm <storm@cua.dk>
10768 * startup.el (startup-echo-area-message): Check for about-emacs.
10770 2008-02-28 Juri Linkov <juri@jurta.org>
10772 * startup.el: Always add initial message to *scratch* buffer if
10773 `initial-scratch-message' is non-nil regardless of the value of
10774 `inhibit-startup-screen'.
10775 (inhibit-startup-screen, initial-scratch-message): Doc fix.
10776 (command-line-1): Move code that inserts `initial-scratch-message'
10777 up before the if-form that checks for `inhibit-startup-screen'.
10778 Suggested by Jonathan Rockway <jon@jrock.us>.
10780 2008-02-28 Juri Linkov <juri@jurta.org>
10782 * cus-edit.el (custom-mode-map, custom-mode-link-map):
10783 Rename `custom-mode' to `Custom-mode' in docstrings.
10784 (custom-buffer-create-internal, customize-browse):
10785 Rename `custom-mode' to `Custom-mode'.
10786 (custom-mode-hook): Rename to `Custom-mode-hook'.
10787 (Custom-mode-hook): Renamed from `custom-mode-hook'.
10788 (custom-mode): Rename to `Custom-mode'.
10789 (Custom-mode): Renamed from `custom-mode'. Doc fix.
10790 (custom-mode): Add backward-compatible non-interactive variant of
10791 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
10792 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
10794 * info-look.el: Rename `custom-mode' to `Custom-mode'.
10796 * emulation/viper.el (viper-emacs-state-mode-list):
10797 Rename `custom-mode' to `Custom-mode'.
10799 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
10800 Capitalize "Tagged Files".
10801 (minibuffer-local-map): Add menu items for next/previous
10802 history elements and isearch history forward/backward.
10804 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
10805 `hs-isearch-open' with t instead of `comment' in :selected
10806 for "Code and Comment blocks" menu item.
10808 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * uniquify.el (uniquify-buffer-base-name): Undo last change.
10811 Should be done in desktop.el instead.
10813 2008-02-28 Glenn Morris <rgm@gnu.org>
10815 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
10817 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
10819 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
10820 (Info-menu, Info-goto-node): Remove declarations.
10821 (report-emacs-bug-info): Use info rather than Info-goto-node.
10823 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
10824 (idlwave-convert-xml-system-routine-info): Don't require xml.
10825 (idlwave-show-commentary, idlwave-shell-show-commentary):
10826 Don't require finder.
10827 (idlwave-info): Don't require info. Use info rather than
10830 * textmodes/org.el (Info-goto-node): Remove declaration.
10831 (org-info): Use info rather than Info-goto-node.
10833 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
10834 (reftex-info): Don't require info. Use info rather than Info-goto-node.
10836 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
10838 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
10841 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
10842 (vc-finish-logentry): Check for vc-status-mode, not only for
10845 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
10847 * isearch.el (isearch-printing-char): Don't check
10848 keyboard-coding-system.
10849 Call isearch-process-search-multibyte-characters only when
10850 current-input-method is non-nil.
10852 2008-02-27 Kim F. Storm <storm@cua.dk>
10854 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
10855 (glyph-char, glyph-face): Handle cons encoding.
10857 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
10859 * uniquify.el (uniquify-buffer-base-name): If the base name is an
10860 empty string, return nil to allow the caller to default to the
10861 buffer name. Reported by Martin Fischer <parozusa@web.de>.
10863 * tool-bar.el (tool-bar-setup): Doc fix.
10865 * mail/supercite.el (sc-describe):
10866 Fix typos in obsolescence declaration.
10868 2008-02-27 Glenn Morris <rgm@gnu.org>
10870 * autoinsert.el (auto-insert-alist): Change permission text to
10871 match FSF's GPLv3 form.
10873 * mail/supercite.el (sc-cite-original): Doc fix.
10874 (sc-version): Make obsolete.
10875 (sc-describe): Show the SC info page. Make obsolete.
10877 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
10879 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
10880 when using transient-mark-mode.
10881 (default-indicate-unused-lines): Remove unused var.
10883 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
10885 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
10888 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
10890 2008-02-26 Glenn Morris <rgm@gnu.org>
10892 * net/net-utils.el (top-level): Don't require comint when compiling.
10893 (nslookup-font-lock-keywords): Don't require font-lock.
10894 Use font-lock faces rather than variables.
10895 (nslookup, ftp, smbclient, network-service-connection):
10896 Don't require comint.
10897 (comint-prompt-regexp, comint-input-autoexpand)
10898 (comint-input-ring): Declare for compiler.
10899 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
10900 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
10902 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
10905 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * doc-view.el (doc-view-current-page): Add a `win' argument.
10909 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
10912 Demote it to plain defvar.
10913 (doc-view-conversion-refresh-interval): Reduce interval.
10914 (doc-view-goto-page): Allow moving to pages not yet rendered.
10915 (doc-view-goto-page): Construct a file name rather than extracting it
10916 from doc-view-current-files.
10917 (doc-view-kill-proc): Ignore errors from kill-process.
10918 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
10919 (doc-view-insert-image): Use appropriate text if the page hasn't been
10920 rendered yet. Adjust scrolling so the text is displayed.
10921 (doc-view-display): Detect not just that a page is available, but also
10922 that it wasn't available before, so as to avoid refreshing all pages
10924 (doc-view-mode): Make doc-view-cache-directory if needed.
10926 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10928 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
10931 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
10932 refering to a missing required field with the OPT prefix.
10933 Make unwindform more robust.
10935 * textmodes/bibtex.el: Remove support for hideshow minor mode as
10936 it duplicates the bibtex support in progmodes/hideshow.el.
10937 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
10938 entries that do not start at the beginning of a line.
10940 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
10942 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
10944 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
10946 * help-fns.el (describe-variable): Add phrases about
10947 initialization file with and without customization;
10948 use new button type help-info-variable.
10950 * help-mode.el (help-info-variable):
10951 New button able to read Info files for help-fns.el.
10953 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
10955 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
10956 (grep-mode): Use grep-mode-tool-bar-map.
10958 * progmodes/compile.el (tool-bar): Require tool-bar.
10959 (compilation-mode-tool-bar-map): New variable.
10960 (compilation-mode): Use compilation-mode-tool-bar-map.
10962 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
10964 2008-02-25 Glenn Morris <rgm@gnu.org>
10966 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
10968 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * diff-mode.el (diff-file-junk-re): New const.
10971 (diff-beginning-of-file-and-junk): Use it.
10972 (diff-file-kill): Make sure we were really inside a file diff.
10974 * diff-mode.el: Make it more robust in the presence of empty context
10975 lines in unified hunks.
10976 (diff-valid-unified-empty-line): New var.
10977 (diff-unified->context, diff-sanity-check-hunk): Obey it.
10978 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
10979 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
10980 (diff-hunk-header-re-unified): New const.
10981 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
10982 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
10983 (diff-sanity-check-hunk): Use it.
10985 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
10986 Index: line, don't search backward for the previous one.
10988 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
10990 * international/fontset.el (setup-default-fontset): Add non-OTF
10991 lao font for lao script.
10993 * language/tibetan.el: Register tibetan-composition-function in
10994 composition-function-table.
10996 * language/tibet-util.el (tibetan-composition-function):
10997 Adjust for the new calling way (argument changed). Try font-shape-text
11000 * language/lao.el: Register lao-composition-function in
11001 composition-function-table.
11003 * language/lao-util.el (lao-composition-function): Adjust for the new
11004 calling way (argument changed). Try font-shape-text if possible.
11006 2008-02-25 Jason Rumney <jasonr@gnu.org>
11008 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
11010 2008-02-25 Juri Linkov <juri@jurta.org>
11012 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
11013 background, "red4" for a dark background, "red" for 16 and
11014 8 colors, "grey" for grayscale, and inverse video otherwise.
11016 (isearch-message): Keep the original isearch-message intact, and
11017 add text properties to it where necessary. Add `isearch-error' to
11018 the condition that checks if isearch is unsuccessful.
11020 2008-02-24 Juri Linkov <juri@jurta.org>
11022 * progmodes/compile.el (compilation-handle-exit):
11023 Use compilation-error face instead of font-lock-warning-face.
11024 Display the same message in the minibuffer as is inserted
11025 at the end of the compilation buffer.
11027 2008-02-24 Glenn Morris <rgm@gnu.org>
11029 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
11030 multiple file case.
11032 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
11034 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
11035 multiple file case. Use a single `let' rather than two.
11037 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
11039 * progmodes/compile.el (compilation-start): Specify a face for
11041 (compilation-handle-exit): Specify a face and a tooltip for
11044 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * hilit-chg.el: Remove spurious * in defcustom docstrings.
11047 (hilit-chg-make-ov): Simplify.
11048 (hilit-chg-fixup): Use remove-overlays.
11049 (hilit-chg-set-face-on-change): Remove redundant call to
11050 `remove-text-properties'.
11052 * dired.el (dired-mark-prompt): Don't count/display the t element.
11053 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
11055 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
11057 * progmodes/verilog-mode.el (eval-when-compile): Don't define
11059 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
11060 Remove. Move contents to the only use ...
11061 (verilog-menu): ... here.
11062 (verilog-statement-menu): Remove. Move contents to the only use ...
11063 (verilog-stmt-menu): ... here.
11064 (verilog-mark-defun): Simply call mark-defun for emacs.
11065 (occur-pos-list): Declare for byte compiler.
11066 (mode-popup-menu): Don't defvar.
11067 (verilog-add-statement-menu): Remove.
11068 (verilog-mode-hook): Don't add verilog-add-statement-menu.
11069 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
11071 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
11073 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
11075 (verilog-font-grouping-keywords-face): Make the begin..end
11076 keywords standout more than other verilog keywords.
11077 (verilog-type-font-keywords): Move the begin..end out of this list
11078 to facilitate making them to (potentially) stand out more.
11079 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
11080 function & task blocks.
11081 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
11082 initial, function & task blocks.
11083 (verilog-forward-sexp): Handle the new "disable fork" statement of
11085 (verilog-beg-block-re-ordered): Handle the new "disable fork"
11086 statement of IEEE-1800 Verilog.
11087 (verilog-calc-1): Handle the new "disable fork" statement of
11089 (verilog-disable-fork-re): Add const to help handle the new
11090 "disable fork" statement of IEEE-1800 Verilog.
11091 (verilog-declaration-core-re): Add port directions by themselves,
11092 with no qualification, as base item of a declaration.
11093 (verilog-pretty-declarations): Add new flag to ask it to refrain
11094 from printing to the message buffer.
11095 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
11096 printing to the message buffer. Improve handling of the many
11097 types of expression line up.
11098 (verilog-just-one-space): Remove printing of an empty message.
11099 (verilog-get-lineup-indent): Rework to support the better handling
11100 of expression lineup for verilog-pretty-expr.
11101 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
11103 2008-02-24 Alan Mackenzie <acm@muc.de>
11105 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
11106 yesterday's commit.
11108 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
11110 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
11111 to mouse-set-point in buffers that aren't associated with files.
11113 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
11115 2008-02-24 Alan Mackenzie <acm@muc.de>
11117 Set of changes so that "obtrusive" syntactic elements in a
11118 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
11119 unmatched paren) don't interact syntactically with stuff outside
11122 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
11123 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
11125 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
11126 a bit of refactoring.
11127 (c-awk-extend-and-syntax-tablify-region): Takes some of the
11128 functionality of c-awk-advise-fl-for-awk-region, which has been
11131 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
11132 (c-clear-char-property-with-value): New function and macro which
11133 remove text-properties `equal' to a supplied value.
11135 * progmodes/cc-engine.el: Comment about text properties amended.
11137 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
11138 parens around "error\\|warning".
11140 * progmodes/cc-langs.el (c-get-state-before-change-function)
11141 (c-before-font-lock-function, c-anchored-cpp-prefix):
11142 New language variables.
11143 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
11145 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
11146 syntax-table text properties.
11147 (c-common-init): Call language specific before/after-change
11148 functions at mode initialisation.
11149 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
11150 (c-extend-region-for-CPP, c-neutralize-CPP-line)
11151 (c-neutralize-syntax-in-CPP): New functions.
11152 (c-before-change, c-after-change): Call the new language specific
11153 change functions defined in cc-langs.el.
11154 (c-advise-fl-for-region): New macro.
11155 (awk-mode): Remove AWK specific stuff which has been refactored
11156 into language independent stuff.
11158 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
11160 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
11161 (gdb): (Re)set gdb-flush-pending-output to nil here...
11162 (gdb-init-1): ...instead of here (before gdb-prompt).
11164 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11166 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
11167 Recognize ''' just like any other char-constant.
11169 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
11172 careful enough. Detect the uid-change all within the main loop.
11174 2008-02-24 Stefan Monnier <monnier@pastel.home>
11176 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
11178 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * hilit-chg.el (highlight-save-buffer-state): New macro.
11181 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
11182 (hilit-chg-clear): Use it to preserve the modified-p flag.
11183 (highlight-changes-rotate-faces): Don't mess with the undo-list.
11185 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11187 * font-lock.el (font-lock-set-defaults): Unset previously set variables
11190 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
11192 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
11193 from gnus-button-url-regexp.
11195 2008-02-24 Eli Zaretskii <eliz@gnu.org>
11197 * progmodes/compile.el (compilation-next-error): Doc fix.
11198 (compilation-find-file): Doc fix.
11200 2008-02-24 Glenn Morris <rgm@gnu.org>
11202 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
11203 Add obsolete aliases to the old names.
11205 2008-02-24 Richard Stallman <rms@gnu.org>
11207 * net/net-utils.el (ifconfig): Rename from ipconfig.
11208 (ipconfig): Alias to ifconfig.
11209 (ifconfig-program): Rename from ipconfig-program.
11210 (ifconfig-program-options): Rename from ipconfig-program-options.
11212 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
11214 * progmodes/verilog-mode.el (verilog-declaration-core-re):
11215 Add port directions by themselves, with no qualification, as base
11216 item of a declaration.
11217 (verilog-pretty-declarations): Add new flag that inhibits printing
11218 to the message buffer.
11219 (verilog-pretty-expr): Add new flag that inhibits printing to the
11220 message buffer. Improve handling of the many types of expression
11222 (verilog-just-one-space): Don't print an empty message.
11223 (verilog-get-lineup-indent): Rework to support the better handling
11224 of expression lineup for verilog-pretty-expr.
11225 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
11226 (verilog-mode-version, verilog-mode-release-date): Update.
11228 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * subr.el (cancel-change-group): Don't move point.
11232 2008-02-23 Markus Triska <markus.triska@gmx.at>
11234 * linum.el (linum-after-config): Update all visible windows.
11236 2008-02-23 Glenn Morris <rgm@gnu.org>
11238 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
11239 Add :help for Solitaire and Tetris.
11241 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
11243 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
11244 (smtpmail-code-conv-from): Doc fix. Fix custom type.
11245 (smtpmail-queue-index-file): Make it a defcustom.
11246 (smtpmail-queue-index): Delete.
11247 (smtpmail-send-it, smtpmail-send-queued-mail):
11248 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
11249 smtpmail-queue-index.
11251 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
11254 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
11256 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
11258 (iwconfig): New function.
11260 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
11262 * vc.el (vc-find-revision): Make vc-parent-buffer local before
11264 (vc-status-menu-map): Do not define using easy-menu.
11265 (vc-status-menu-map): New defalias.
11266 (vc-status-mode-map): Hook up the menu.
11267 (top-level): Update TODO.
11269 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
11271 * vc-bzr.el (vc-bzr-init-version): Rename to ...
11272 (vc-bzr-init-revision): ... this.
11274 2008-02-23 Jason Rumney <jasonr@gnu.org>
11276 * makefile.w32-in (WINS_ALMOST): Remove term.
11277 (WINS): Add term here.
11278 (custom-deps, finder-data): Use WINS_ALMOST.
11280 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
11282 * faces.el (font-weight-table): Fix value of `semi-light'.
11284 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
11286 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
11287 Make those tables bijective.
11289 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
11291 Finish pdbtrack integration cleanup, settling missing-functions
11292 byte compiler warnings appropriately.
11294 * progmodes/python.el (python-point): Remove this - beginning-of-line
11295 was all that was necessary for `python-pdbtrack-overlay-arrow'.
11296 (python-end-of-def-or-class, python-beginning-of-def-or-class)
11297 (python-goto-initial-line): Drop these - they were only needed for
11299 (python-comint-output-filter-function): Use condition-case and
11300 beginning-of-line directly, instead of python-mode.el functions
11301 which require all sorts of baggage.
11302 (point-safe): Unnecessary - we're using condition-case directly,
11304 (python-execute-file): Include for python-shell, which I'm leaving
11305 in keeping despite it being unnecessary for pdb tracking.
11307 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
11309 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11310 Add SRFI 11 support.
11311 (let-values, let*-values): Specify scheme-indent-function.
11313 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
11315 * vc.el (vc-exec-after): Move setting mode-line-process in the
11317 (vc-set-mode-line-busy-indicator): ... in this new function.
11318 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
11319 (vc-update-vc-status-buffer): Reset mode-line-process.
11320 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
11321 mark/unmark all the files with the same state as the current one.
11322 With a prefix argument mark/unmark all files.
11323 (vc-status-mode-menu): Adjust strings.
11324 (vc-update-vc-status-buffer): Only do something when the argument
11326 (vc-status-kill-dir-status-process): New function.
11327 (vc-status-mode-map): Bind it.
11328 (vc-status-process-buffer): New variable.
11329 (vc-status-mode): Make it local.
11330 (vc-status-refresh): Set it.
11332 * vc-hg.el (vc-hg-dir-status):
11333 * vc-git.el (vc-git-dir-status):
11334 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
11337 2008-02-22 Glenn Morris <rgm@gnu.org>
11339 * json.el (top-level): No need to require thingatpt.
11340 (json-read-keyword): Use thing-at-point rather than word-at-point.
11342 * time.el (top-level): No need to require time-date when compiling.
11344 * emacs-lisp/copyright.el (copyright-update-year):
11345 Fix subexpression numbering for the case when years are split over
11346 lines, and for the replace case.
11348 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
11349 (tpu-caar, tpu-cadr): Delete functions.
11350 (zmacs-regions): No need to declare for compiler.
11351 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
11352 (tpu-spell-check): Rewrite, and handle mark after point.
11353 (tpu-special-insert): Use or rather than if.
11355 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
11356 rather than spell-region.
11358 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
11359 warnings about spell-region.
11361 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
11363 * ldefs-boot.el: Regenerated.
11365 * loadup.el: Don't load language/devanagari, language/kannada,
11366 language/malayalam, and language/tamil. Load language/sinhala.
11368 * language/indian.el (indian-font-foundry)
11369 (indian-script-language-alist, indian-font-char-index-table)
11370 (indian-font-char, indian-font-char-range, indian-script-table)
11371 (indian-default-script, indian-composable-pattern): Delete them.
11372 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
11373 language environments moved to here.
11374 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
11375 New language environments.
11377 * language/devanagari.el, language/devan-util.el,
11378 * language/kannada.el, language/knd-util.el, language/malayalam.el,
11379 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
11382 * language/sinhala.el: New file.
11384 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
11386 Update Nick Robert's port of pdb tracking from python-mode.el.
11388 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
11390 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
11391 tracking is happening.
11392 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
11393 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
11394 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
11395 Tracking is plugged in to all comint buffers once python.el is loaded.
11396 (python-pdbtrack-overlay-arrow): Toggle activation of
11397 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
11398 (python-pdbtrack-track-stack-file): Use new
11399 `python-pdbtrack-get-source-buffer' for more flexible access to
11400 debugging source files.
11401 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
11402 according to pdb stack trace, optionally using new
11403 `python-pdbtrack-grub-for-buffer' if file is not locally available.
11404 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
11405 named buffer, or having function with indicated name.
11406 (python-shell): Remove comint-output-filter-functions hook
11407 addition, it's being done elsewhere. Wrap long line.
11409 2008-02-21 Michael Olson <mwolson@gnu.org>
11411 * json.el: Replace XEmacs compatibility code to get rid of
11414 * time.el: Fix compiler warning.
11416 2008-02-21 Edward O'Connor <ted@oconnor.cx>
11418 * json.el: New file (JavaScript Object Notation parser / generator).
11420 2008-02-21 Dave Love <fx@gnu.org>
11422 * progmodes/sym-comp.el: New file.
11424 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
11425 Require sym-comp. Add Python buffer to same-window-buffer-names.
11427 (python-font-lock-keywords): Add highlighting for Python builtins.
11428 (python-font-lock-syntactic-keywords): Rewrite.
11429 (python-quote-syntax): Use syntax-ppss-context instead of parsing
11431 (python-mode-map): Add binding for python-find-function.
11432 (python-calculate-indentation): Clean up the logic.
11433 (python-beginning-of-defun): Explicitly set return value.
11434 (python-beginning-of-statement): Stop looping if we get stuck
11436 (python-next-statement): Stop looping if we somehow end up inside
11437 a string while advancing.
11438 (python-preoutput-continuation, python-version-checked): New vars.
11439 (python-check-version): New function.
11440 (run-python): Set default command to python-command instead of
11441 python-python-command.
11442 (run-python): Use python-check-version. Give PYTHONPATH
11443 precedence over data-directory in the process environment.
11444 Load function definitions in python process after.
11445 (python-check-comint-prompt): New function.
11446 (python-send-command, python-send-receive): Use it.
11447 (python-complete-symbol, python-try-complete): Functions deleted.
11448 Use symbol-complete instead of python-complete-symbol throughout.
11449 (python-fill-paragraph): Further refine the fenced-string regexp.
11450 (def-python-skeleton): Expand to the original abbrev instead if in
11451 a comment or string. Tweak skeletons for `if', `while', `for',
11452 `try/except', `try/finally', `name'.
11453 (python-pea-hook, python-abbrev-pc-hook): New functions.
11454 (python-abbrev-syntax-table): New var.
11455 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
11456 Use symbol-completion-try-complete for hippie expansion.
11457 Turn on font lock unconditionally.
11458 (python-mode-hook): Defcustom it. No need to use make-local
11459 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
11460 option, since it's buffer-local.
11462 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
11464 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
11466 2008-02-21 Drew Adams <drew.adams@oracle.com>
11468 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
11469 "Turn off" and a "Help" entry when the minor mode has no menu.
11471 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
11473 * vc.el (vc-status-mark, vc-status-unmark): New functions.
11474 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
11475 vc-status-mark-file and vc-status-unmark-file.
11476 (vc-status-mark-unmark): New function.
11477 (vc-status-previous-line, vc-status-next-line): No longer interactive.
11479 2008-02-21 Glenn Morris <rgm@gnu.org>
11481 * composite.el (encode-composition-rule): Fix typo in error message.
11482 (composition-function-table, auto-composition-mode): Doc fixes.
11484 * subr.el (sit-for): Fix obsolete form for nil second argument.
11486 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
11487 (spell-string): Make obsolete, in favor of ispell.
11489 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
11491 * language/devanagari.el: Don't setup composition-function-table
11493 ("Devanagari"): Change charset, coding-system, coding-priority to
11494 Unicode-based ones. Don't require the feature devan-util.
11496 * composite.el (compose-chars-after): Fix arguments for a function
11497 in composition-function-table.
11498 (auto-compose-region): Likewise.
11500 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
11502 (ps-mule-plot-string): Ignore glyph-string based compositions.
11504 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * doc-view.el: Allow different windows to show different pages.
11507 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
11508 (doc-view-current-image, doc-view-current-overlay): Remove variables,
11509 add them back as macros instead, using image-mode-winprops instead.
11510 Update all users of those variables.
11511 (doc-view-new-window-function): New function to create a new overlay
11512 for each new window.
11513 (doc-view-mode): Use it and image-mode-setup-winprops.
11514 (doc-view-clone-buffer-hook): Rewrite accordingly.
11516 * image-mode.el: Extend [hv]scroll support to per-window properties.
11517 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
11518 (image-mode-winprops-alist): New var to replace them.
11519 (image-mode-new-window-functions): New hook.
11520 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
11522 (image-set-window-vscroll, image-set-window-hscroll): Use them.
11523 Remove the `window' argument, update callers.
11524 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
11525 Use the new functions.
11526 (image-mode-reapply-winprops): New fun.
11527 (image-mode): Use it.
11529 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
11531 * calc/calc-math.el (math-sin-raw): Add optional argument
11532 to keep track of original argument.
11533 (math-cos-raw): Use optional argument when calling math-sin-raw.
11534 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
11535 with close to original precision.
11537 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11539 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
11540 args in calls of sit-for.
11542 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
11544 * vc-svn.el (vc-svn-program): Fix typo in docstring.
11545 (vc-svn-checkin): Fix typo in error message.
11547 * help-mode.el: Require easymenu when compiling.
11549 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
11551 * help-mode.el (help-mode-menu): New menu.
11553 2008-02-20 Glenn Morris <rgm@gnu.org>
11555 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
11558 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
11560 * ps-mule.el (ps-mule-encode-region): Return a single string.
11561 (ps-mule-plot-string): Adjust for the above change.
11562 (ps-mule-encode-header-string): Likewise.
11564 * international/latin1-disp.el (latin1-display): Don't use
11565 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
11566 standard-display-table.
11567 (latin1-display-identities): Adjust for the change of what is
11568 returned by (get-language-info charset 'charset).
11570 * international/mule-util.el (char-displayable-p): Fix for Latin-1
11571 characters and terminal case.
11573 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
11575 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
11577 * progmodes/python.el: Also require comint when loading.
11578 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
11579 Replace python-shell with run-python on menu bar.
11580 (python-shell-map): New map.
11581 (python-default-interpreter, python-python-command-args)
11582 (python-jython-command-args, python-pdbtrack-do-tracking-p):
11584 (python-which-shell, python-which-args, python-which-bufname):
11585 New buffer local variables.
11586 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
11588 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
11589 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
11594 (python-point, python-end-of-def-or-class)
11595 (python-beginning-of-def-or-class, python-goto-initial-line)
11596 (python-comint-output-filter-function)
11597 (python-pdbtrack-overlay-arrow)
11598 (python-pdbtrack-track-stack-file, python-toggle-shells)
11599 (python-shell, python-pdbtrack-toggle-stack-tracking)
11600 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
11603 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
11605 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
11606 when the argument is nil.
11608 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
11610 * vc.el (dir-status): Add a brief description.
11612 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
11614 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
11615 If non-nil, reverse the sense of the check.
11617 * vc-rcs.el (vc-rcs-root): New func.
11618 * vc-cvs.el (vc-cvs-root): New func.
11619 * vc-svn.el (vc-svn-root): New func.
11620 * vc-sccs.el (vc-sccs-root): New func.
11622 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
11624 * language/japan-util.el (setup-japanese-environment-internal):
11625 Call use-cjk-char-width-table.
11627 * language/japanese.el ("Japanese"): Set exit-function to
11628 use-default-char-width-table.
11630 * international/characters.el: Delete occurrences of non-Unicode
11631 tibetan and ethiopic characters.
11632 (cjk-char-width-table): New variable.
11633 (use-cjk-char-width-table, use-default-char-width-table):
11636 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
11638 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
11639 (vc-status-mode-menu): Add a :filter.
11640 (vc-status-printer): Add faces.
11642 * vc-hg.el (vc-hg-extra-status-menu): New function.
11643 (vc-hg-dir-status): Clean up the buffer before using it.
11645 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
11647 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
11648 (gdb): Initialize it here instead.
11650 * files.el (locate-dominating-file): Fix thinko in last change.
11651 Reported by Bruce Stephens <bruce.stephens@isode.com>.
11653 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
11655 * vc.el (vc-status-mode-menu): New menu for vc-status.
11657 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
11659 * progmodes/verilog-mode.el (customize): Fix typo in error message.
11660 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
11661 (verilog-mode-auto, verilog-indent-level-module)
11662 (verilog-minimum-comment-distance, verilog-library-flags)
11663 (verilog-library-directories, verilog-library-files)
11664 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
11665 (verilog-xemacs-menu, verilog-set-compile-command)
11666 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
11667 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
11668 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
11669 (verilog-batch-inject-auto, verilog-batch-indent)
11670 (verilog-continued-line, verilog-type-keywords)
11671 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
11672 (verilog-read-inst-pins, verilog-read-arg-pins)
11673 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
11674 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
11675 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
11676 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
11677 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
11678 (verilog-mode-version, verilog-mode-release-date)
11679 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
11680 (verilog-simulator, verilog-compiler)
11681 (verilog-auto-sense-defines-constant, verilog-company)
11682 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
11683 Fix typos in docstrings.
11684 (verilog-set-auto-endcomments, verilog-calculate-indent)
11685 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
11687 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
11688 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
11689 (electric-verilog-forward-sexp, verilog-in-case-region-p)
11690 (verilog-in-struct-region-p, verilog-in-generate-region-p)
11691 (verilog-leap-to-head, verilog-current-indent-level)
11692 (verilog-case-indent-level, verilog-cpp-keywords)
11693 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
11694 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
11695 (verilog-signals-not-in, verilog-symbol-detick-text)
11696 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
11697 (verilog-forward-close-paren, verilog-backward-open-paren)
11698 (verilog-backward-open-bracket): Doc fixes.
11700 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
11701 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
11702 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
11703 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
11704 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
11705 Fix typos in docstrings.
11707 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
11709 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
11711 * info.el (Info-read-node-name): Removed unused `default' arg.
11713 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
11715 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
11717 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * image-mode.el (image-get-display-property): New fun.
11720 (image-forward-hscroll, image-next-line, image-eol, image-eob)
11721 (image-mode, image-minor-mode, image-toggle-display-text)
11722 (image-toggle-display): Use it.
11724 2008-02-18 Jason Rumney <jasonr@gnu.org>
11726 * international/mule.el (xml-find-file-coding-system): Don't warn
11727 about utf-16 with BOM.
11729 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
11731 * international/mule.el (sgml-xml-auto-coding-function): Detect and
11732 warn if file encoding is not utf-8 and encoding not specified.
11733 (xml-find-file-coding-system): New function.
11734 * international/mule-conf.el (file-coding-system-alist): Use it.
11736 2008-02-17 Glenn Morris <rgm@gnu.org>
11738 * international/mule-cmds.el (set-locale-environment):
11739 Pass `frame' to getenv for LC_MESSAGES.
11741 2008-02-17 Juri Linkov <juri@jurta.org>
11743 * time.el (emacs-init-time): Use format instead of format-seconds.
11745 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11747 * textmodes/bibtex.el (bibtex-search-entry): Rename from
11748 bibtex-find-entry. Add autoload cookie.
11749 (bibtex-find-entry): Alias for bibtex-search-entry.
11750 (bibtex-search-crossref): Rename from bibtex-find-crossref.
11751 (bibtex-find-crossref): Alias for bibtex-search-crossref.
11752 (bibtex-clean-entry): atomic-change-group removed.
11753 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
11754 to locate buffer location where error occurred.
11755 Make error messages more specific.
11756 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
11758 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
11760 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
11763 * simple.el (transient-mark-mode): Add an :init-value.
11765 * startup.el (command-line): Use custom-reevaluate-setting for
11766 transient-mark-mode.
11768 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
11770 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
11772 2008-02-16 Juri Linkov <juri@jurta.org>
11774 * startup.el (after-init-time): New variable.
11775 (command-line): Set `after-init-time' to the current time.
11777 * time.el (emacs-init-time): New function.
11779 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
11781 * files.el (locate-dominating-file): Remove initial loop because it's
11782 not careful enough. Detect the uid-change all within the main loop.
11784 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
11786 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
11788 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
11790 * vc.el (vc-annotate): Add new argument.
11791 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
11793 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
11794 Move make-variable-buffer-local code after the corresponding defvar.
11795 (hs-minor-mode-map): Define and initialize in one step.
11796 (hs-minor-mode): Change from defun to define-minor-mode.
11798 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
11800 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
11801 (gdb-ready): Move declaration...
11803 * progmodes/gdb-ui.el (gdb-ready): ...to here.
11804 (gdb-early-user-input): New variable.
11805 (gdb): Reset gdb-flush-pending-output to nil and set
11806 comint-input-sender here (before gdb-prompt), instead of...
11807 (gdb-init-1): ...here.
11808 (gdb-send): If Emacs is not ready, defer user input to...
11809 (gdb-prompt): ...here.
11811 2008-02-16 Glenn Morris <rgm@gnu.org>
11813 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
11815 * startup.el (emacs-startup-time): Rename to `before-init-time'.
11816 (before-init-time): New name for `emacs-startup-time'.
11817 (command-line): Use before-init-time rather than emacs-startup-time.
11818 * time.el (emacs-uptime): Use before-init-time rather than
11819 emacs-startup-time.
11821 * composite.el (composition-function-table): Doc fix.
11823 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
11824 in favor of `%z' specifier.
11825 (emacs-uptime): Move to time.el.
11826 * time.el (emacs-uptime): Move here from time-date.el. Add optional
11827 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
11828 argument of format-seconds.
11830 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
11832 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
11834 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
11836 * ielm.el (ielm-is-whitespace): Remove.
11837 (ielm-is-whitespace-or-comment): New function.
11838 (ielm-eval-input): Use it.
11840 2008-02-15 Jason Rumney <jasonr@gnu.org>
11842 * term/mac-win.el: Fix coding tag.
11844 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
11846 * vc-hooks.el (vc-menu-map):
11847 * bindings.el (mode-line-mode-menu): Add tooltips.
11849 * bindings.el (help-echo): Add more tooltips. Use a less
11850 telegraphic style for existing tooltips.
11852 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
11855 from the auto-generated one.
11857 2008-02-14 Glenn Morris <rgm@gnu.org>
11859 * mail/rmail-spam-filter.el (rmail-spam-filter):
11860 Let-bind message-spam-status.
11862 * mail/smtpmail.el (password-cache-add): Declare as function.
11864 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
11866 * mail/smtpmail.el: Use password-cache.
11868 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
11870 * uniquify.el (uniquify-buffer-base-name): New function.
11871 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11873 * desktop.el (uniquify-managed): Don't defvar.
11874 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
11875 `uniquify-managed'. Return also the buffer's base name.
11876 (desktop-save): When saving the buffer info, filter out the base name,
11877 and save it as buffer name if the buffer is managed by uniquify.
11878 (uniquify-item-base): Don't declare; not called anymore.
11880 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
11882 * vc.el (vc-annotate-find-revision-at-line): New function.
11883 (vc-annotate-mode-map): Bind it.
11884 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
11887 2008-02-14 Glenn Morris <rgm@gnu.org>
11889 * calendar/time-date.el (format-seconds): New function.
11890 (emacs-uptime): Use format-seconds.
11892 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
11893 Remove `LC_ALL=C', since it's included in $(emacs) now.
11895 2008-02-14 Zhang Wei <id.brep@gmail.com>
11897 * textmodes/org-publish.el (org-publish-timestamp-filename):
11898 Replace colon characters in filename too.
11900 2008-02-13 Bastien Guerry <bzg@altern.org>
11902 * mail/rmail.el (rmail-header-name): New face.
11903 (rmail-font-lock-keywords): Use rmail-header-name.
11905 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
11906 against X-Spam-Status header field.
11907 (rmail-spam-filter): Also check X-Spam-Status header field.
11909 2008-02-14 Mark A. Hershberger <mah@everybody.org>
11911 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11912 Add support for .pm files and .php files.
11913 (flymake-err-line-patterns): Add pattern for PHP errors.
11914 (flymake-php-init): New function. PHP support for flymake.
11916 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11917 Add regular expression for PHP errors.
11919 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
11921 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
11922 This DTRT even on w32 machines.
11923 (ange-ftp-cf1): Quote FILENAME.
11925 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
11927 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
11928 (smerge-auto-combine): New fun.
11930 2008-02-12 Juri Linkov <juri@jurta.org>
11932 * startup.el (fancy-startup-screen, normal-splash-screen):
11933 Set default-directory to command-line-default-directory.
11935 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
11936 after reading the desktop.
11938 * progmodes/compile.el (compilation-auto-jump):
11939 Call compile-goto-error only when compilation-auto-jump-to-first-error
11941 (compilation-scroll-output): Replace :type 'boolean with a choice
11942 that has three options including a third option `first-error'.
11944 (compilation-start, compilation-forget-errors): Add an alternate
11945 condition comparing compilation-scroll-output with `first-error'
11946 in addition to compilation-auto-jump-to-first-error (to call
11947 compilation-auto-jump in the proper place).
11949 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * international/mule.el (sgml-html-meta-auto-coding-function):
11952 Make sure the search limit is ahead.
11954 * tar-mode.el: Fix broken indentation.
11955 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
11956 Use with-current-buffer.
11958 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
11960 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
11961 it is already automatically buffer-local.
11963 2008-02-12 Drew Adams <drew.adams@oracle.com>
11965 * help.el (describe-key): Join some split lines to facilitate filling.
11966 * help-fns.el (describe-function-1): Fill text of overlong lines.
11968 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
11970 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
11971 Use unibyte-string instead of string-make-unibyte.
11973 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
11975 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11977 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
11978 works also for buffers w/o buffer-file-name. Update callers.
11979 (doc-view-clone-buffer-hook): New fun.
11980 (doc-view-mode): Use it for indirect clones. Mark the overlays with
11981 the `doc-view' property so they can be recognized.
11983 * simple.el (clone-indirect-buffer-hook): New hook.
11984 (clone-indirect-buffer): Run it.
11986 2008-02-11 Michael Olson <mwolson@gnu.org>
11989 * epg-package-info.el: Files removed.
11991 2008-02-11 Daiki Ueno <ueno@unixuser.org>
11993 * epa.el (epa-menu-mode): Merge into epa-mode.
11994 (epa-menu-items): Rename the label "EasyPG Assistant" to
11995 "Encryption/Decryption".
11997 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
11998 (epa-dired-mode-map): Rename from epa-dired-map.
11999 (epa-global-dired-mode): Rename the global minor mode.
12001 2008-02-11 Drew Adams <drew.adams@oracle.com>
12003 * isearch.el (isearch-fail): New face.
12004 (isearch-message): Highlight failure part of input.
12006 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * ibuffer.el (ibuffer-header-line-format): New var.
12009 (ibuffer-mode): Set it instead of header-line-format.
12010 (ibuffer-update): Use it to set header-line-format.
12012 * international/mule-cmds.el (ucs-insert): Inherit surrounding
12013 properties like self-insert-command.
12015 2008-02-11 Drew Adams <drew.adams@oracle.com>
12017 * progmodes/etags.el: Add many doc strings.
12019 2008-02-11 Jason Rumney <jasonr@gnu.org>
12021 * ldefs-boot.el: Regenerated.
12023 2008-02-11 Glenn Morris <rgm@gnu.org>
12025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12026 Shorten some names.
12028 * ffap.el (ffap-rfc-directories): Add :version.
12030 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
12032 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
12033 files, and backup files of same.
12035 2008-02-11 Kevin Ryde <user42@zip.com.au>
12037 * ffap.el (ffap-rfc-directories): New variable.
12038 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
12040 * info.el (Info-next-reference, Info-prev-reference)
12041 (Info-try-follow-nearest-node): Move to and follow https:// links too.
12043 * simple.el (completion-list-mode): Show full completion-list-mode-map
12046 2008-02-11 Sam Steingold <sds@gnu.org>
12048 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
12050 2008-02-11 Glenn Morris <rgm@gnu.org>
12052 * startup.el (emacs-startup-time): New variable.
12053 (command-line): Set emacs-startup-time.
12055 * calendar/time-date.el (emacs-uptime): New function.
12057 2008-02-10 Bastien Guerry <bzg@altern.org>
12059 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
12060 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
12063 2008-02-10 Daiki Ueno <ueno@unixuser.org>
12065 * epg-config.el: Expand the contents of epg-package-info.el.
12066 (epg-package-name): New constant.
12067 (epg-version-number): New constant.
12068 (epg-bug-report-address): New constant.
12070 * epa-mail.el (epa-mail-mode): Add autoload cookie.
12071 (epa-global-mail-mode): New global minor mode.
12073 * epa-file.el (epa-file-mode): New global minor mode.
12075 * epa-dired.el (epa-dired-mode): New global minor mode.
12077 * epa.el (epa-menu): New variable.
12078 (epa-menu-items): New variable.
12079 (epa-menu-mode): New global minor mode.
12080 (epa-global-minor-modes): New user option.
12081 (epa-mode): New global minor mode.
12083 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
12085 * net/dbus.el: Remove `no-byte-compile' cookie.
12086 (dbus-call-method, dbus-register-signal, dbus-debug)
12087 (dbus-registered-functions-table): Declare them with
12088 `declare-function' or `defvar', respectively.
12089 (top): Don't assert any longer. Require 'cl when compiling.
12090 Apply `ignore-errors' but `dbus-ignore-errors'.
12092 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12094 * diff-mode.el (diff-add-change-log-entries-other-window):
12095 Use add-change-log-entry.
12097 2008-02-09 Jason Rumney <jasonr@gnu.org>
12099 * button.el (button-map):
12100 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
12101 * ldefs-boot.el: Regenerate.
12103 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
12105 * epa.el (epa-faces, epa):
12106 * epa-file.el (epa-file):
12107 * epg-config.el (epg): Add :version.
12109 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
12111 * vc.el (vc-exec-after): Append CODE to previous fragments.
12112 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
12113 take MESSAGES instead of VERBOSE; use it when non-nil.
12114 (vc-diff-internal): Compute messages once; use them;
12115 update call to vc-diff-finish.
12117 2008-02-09 Michael Olson <mwolson@gnu.org>
12119 * net/tramp.el (tramp-process-sentinel): Avoid error when process
12120 buffer has been killed, such as by
12121 `tramp-cleanup-all-connections'.
12123 2008-02-09 Miles Bader <miles@gnu.org>
12125 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
12127 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
12130 splitter in context hunks.
12132 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
12134 * international/fontset.el (setup-default-fontset): Fix arabic otf
12135 font specification.
12137 2008-02-08 Daiki Ueno <ueno@unixuser.org>
12145 * epg-package-info.el:
12146 * epg.el: Initial check-in of EasyPG.
12148 2008-02-08 Glenn Morris <rgm@gnu.org>
12150 * woman.el (woman-locale): New defcustom.
12151 (woman-expand-locale, woman-manpath-add-locales): New functions.
12152 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
12154 * international/mule-cmds.el (locale-translate): New function,
12155 with old code extracted from set-locale-environment.
12156 (set-locale-environment): Use locale-translate. Set woman-locale.
12158 * cus-start.el (selection-coding-system): Remove, since it's now
12159 defined in select.el rather than in xselect.c.
12160 * select.el (selection-coding-system): Make it a defcustom, and
12161 add the properties from cus-start.el. Bump :version.
12163 * custom.el (custom-theme-set-variables): Sort symbols that are
12164 dependencies before symbols that depend on them.
12165 (custom-enabled-themes): Set after custom-theme-directory.
12167 * pcmpl-unix.el (top-level): Move provide statement to end.
12168 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
12169 `*' from doc-string. Allow to be nil.
12170 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
12171 Allow to be nil. Add :version.
12172 (pcmpl-ssh-hosts): Move definition before use. Handle lines
12173 without hostnames, and multiple hostnames per line.
12175 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
12177 2008-02-08 Phil Hagelberg <phil@evri.com>
12179 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
12180 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
12182 2008-02-07 Timo Savola <timo.savola@iki.fi>
12184 * startup.el (command-line-x-option-alist): Add --parent-id.
12186 * term/x-win.el (x-handle-parent-id): New function.
12188 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
12190 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
12193 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
12195 * net/dbus.el (dbus-interface-peer): New defconst.
12196 (dbus-ping): New defun.
12198 2008-02-06 Sam Steingold <sds@gnu.org>
12200 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
12202 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12204 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
12205 Just return nil and let the C code provide a fallback.
12207 2008-02-05 Glenn Morris <rgm@gnu.org>
12209 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
12210 tramp-flush-connection-property for removed 2nd argument.
12212 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12214 * diff-mode.el (diff-add-change-log-entries-other-window):
12215 Rename from diff-create-changelog. Change users.
12216 Minor change to hopefully work with plain diffs.
12217 (diff-mode-map): Add binding for it.
12219 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
12221 * diff-mode.el: Add new TODO entry.
12222 (diff-create-changelog): New function.
12223 (diff-mode-menu): Bind it.
12225 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
12227 * international/mule-diag.el (print-fontset-element): Handle the
12228 case of inhibiting the fallback fonts.
12230 2008-02-04 Kim F. Storm <storm@cua.dk>
12232 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
12233 (ido-magic-delete-char): Use prefix arg.
12235 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
12237 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
12238 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
12239 of today, the most recent libpng is 1.2.24).
12241 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
12243 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
12245 * net/dbus.el (top): Check (featurep 'dbusbind).
12247 * net/tramp.el (tramp-process-sentinel): New defun.
12248 (tramp-do-copy-or-rename-file-out-of-band)
12249 (tramp-maybe-open-connection): Use it as process sentinel.
12250 (tramp-handle-delete-directory): Don't use the "-f" option; it
12252 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
12254 (tramp-handle-shell-command): Set `mode-line-process' in the
12257 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
12259 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12260 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12261 Use `tramp-process-sentinel' as process sentinel.
12263 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
12265 * whitespace.el (global-whitespace-mode): Revert last change.
12266 (whitespace-unload-function): Force `global-whitespace-mode'
12267 to deactivate local modes in a slightly less intrusive way.
12269 2008-02-02 Eli Zaretskii <eliz@gnu.org>
12271 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
12273 2008-02-02 Glenn Morris <rgm@gnu.org>
12275 * international/latin1-disp.el (latin1-display):
12276 * progmodes/fortran.el (fortran-comment-indent-char):
12277 * progmodes/idlw-shell.el (top-level):
12278 * term/mac-win.el (mac-keyboard-translate-char):
12279 * whitespace.el (whitespace-char-valid-p):
12280 * wid-edit.el (widget-key-sequence-read-event):
12281 Use characterp rather than char-valid-p.
12283 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
12284 to capitalized-find-word-boundary. Doc fix. Update callers.
12285 (capitalized-next-word-boundary-function-table): Rename to
12286 capitalized-find-word-boundary-function-table. Doc fix. Update users.
12288 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
12291 * ps-def.el (declare-function): Add compatibility definition.
12292 (ps-plot-with-face, ps-plot-string): Declare as functions.
12293 (ps-bold-faces, ps-italic-faces): Declare variables.
12295 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
12296 (ps-mule-end-job): Declare as functions.
12298 * wid-edit.el (widget-string-complete): Use assoc-string rather
12299 than assoc-ignore-case.
12301 See ChangeLog.13 for earlier changes.
12303 ;; Local Variables:
12305 ;; add-log-time-zone-rule: t
12306 ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
12309 Copyright (C) 2008 Free Software Foundation, Inc.
12311 This file is part of GNU Emacs.
12313 GNU Emacs is free software: you can redistribute it and/or modify
12314 it under the terms of the GNU General Public License as published by
12315 the Free Software Foundation, either version 3 of the License, or
12316 (at your option) any later version.
12318 GNU Emacs is distributed in the hope that it will be useful,
12319 but WITHOUT ANY WARRANTY; without even the implied warranty of
12320 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12321 GNU General Public License for more details.
12323 You should have received a copy of the GNU General Public License
12324 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
12326 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc