1 2008-06-30 Juri Linkov <juri@jurta.org>
3 * faces.el (face-name-history): New variable.
4 (make-face, make-empty-face): Replace interactive spec "S"
5 with `read-from-minibuffer' where `read' arg is t and
6 `hist' arg is `face-name-history'.
7 (read-face-name): Set `hist' arg of `completing-read-multiple'
8 to `face-name-history'.
9 (list-faces-display): Use `read-regexp' instead of `read-string'
12 * hi-lock.el (hi-lock-regexp-history): Make it an obsolete alias
14 (hi-lock-face-history): Rename to `hi-lock-face-defaults' and
15 make it an obsolete alias to it.
16 (hi-lock-face-defaults): New variable renamed from
17 `hi-lock-face-history'.
18 (hi-lock-line-face-buffer, hi-lock-face-buffer)
19 (hi-lock-face-phrase-buffer): Use `read-regexp' instead of
20 `read-from-minibuffer'. Doc fix.
21 (hi-lock-read-face-name): Replace `hi-lock-face-history' with
22 `hi-lock-face-defaults'. Remove `mapcar (lambda (f) (cons f f))'.
23 Set `hist' arg of `completing-read' to `face-name-history'.
24 Put a list of default faces to `default' arg instead of `hist' arg.
26 * bindings.el (abbrev-map, narrow-map): New variables.
27 Bind `C-x a' to `abbrev-map' and `C-x n' to `narrow-map'.
28 Rebind related commands to these new maps.
29 (ctl-x-r-map): New variable for rectangle, register and bookmark
30 keys. Move rectangle keybindings to rect.el and register
31 keybindings to register.el.
32 (next-buffer, previous-buffer): Remove C-x prefix and move
33 keybindings to ctl-x-map.
35 * bookmark.el: Rebind three global `C-x r' keys "b", "m", "l"
36 to the new map `ctl-x-r-map' in autoload cookies.
38 * expand.el: Rebind two global `C-x a' keys "n", "p"
39 to the new map `abbrev-map' in autoload cookies.
41 * rect.el: Bind global keys to ctl-x-r-map in autoload cookies.
43 * register.el: Bind global keys to ctl-x-r-map in autoload cookies.
45 2008-06-30 Miles Bader <miles@gnu.org>
47 * net/rcirc.el (rcirc-markup-attributes): Don't skip a character
48 after processing an escape sequence.
50 2008-06-29 Michael Albinus <michael.albinus@gmx.de>
52 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch
53 from 2008-06-28. It does not work on W32.
55 2008-06-29 Juri Linkov <juri@jurta.org>
57 * replace.el (read-regexp): New function.
58 (keep-lines-read-args, occur-read-primary-args):
59 Call `read-regexp' instead of code moved to new function.
60 (keep-lines, flush-lines, how-many): Remove parenthesis and colon
61 from the end of prompt.
62 (replace-re-search-function): Doc fix.
64 2008-06-29 Kenichi Handa <handa@m17n.org>
66 * descr-text.el (describe-char-display): Always return a string.
67 (describe-char-padded-string): New function.
68 (describe-char): Adjusted for the change of
69 describe-char-display. Use describe-char-padded-string.
71 2008-06-29 Andreas Schwab <schwab@suse.de>
73 * vc-dir.el (vc-dir): Make backend argument optional and use
74 vc-responsible-backend when nil. Interactively pass nil for
75 backend instead of using the backend of what happens to be
76 default-directory at the time of the call.
78 * find-dired.el (find-dired-filter): Preserve point.
80 2008-06-28 Juanma Barranquero <lekktu@gmail.com>
82 * net/sasl.el (sasl-client-set-property, sasl-make-mechanism)
83 (sasl-find-mechanism, sasl-next-step):
84 * net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request)
85 (sasl-ntlm-response): Fix typos in docstrings.
87 2008-06-28 robert marshall <robert@capuchin.co.uk> (tiny change)
89 * international/mule-cmds.el (view-hello-file): Doc fix.
91 2008-06-28 Chong Yidong <cyd@stupidchicken.com>
93 * faces.el (inhibit-face-set-after-frame-default): Var deleted.
94 (set-face-attribute, face-set-after-frame-default)): Don't use it.
96 2008-06-28 John Paul Wallington <jpw@pobox.com>
98 * calc/calc.el (defmath): Add `doc-string' decl. Add docstring.
100 2008-06-28 Michael Albinus <michael.albinus@gmx.de>
102 * net/tramp.el (tramp-handle-file-modes): Handle symlinks.
103 (tramp-convert-file-attributes): Convert symlinks only when
104 returned from `tramp-handle-file-attributes-with-stat'.
106 * net/tramp-ftp.el (top): Delete 'ange-ftp property from
107 `substitute-in-file-name' when unloading.
108 (tramp-ftp-file-name-handler): Set `tramp-mode' to nil.
110 2008-06-28 Dan Nicolaescu <dann@ics.uci.edu>
112 * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
113 (vc-string-prefix-p): Move function ...
114 * vc.el (vc-string-prefix-p): ... here.
116 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
118 * vc-dir.el (vc-dir): Complete only directory names.
120 2008-06-27 Jason Rumney <jasonr@gnu.org>
122 * w32-fns.el (top-level): Unconditionally define all charsets.
124 2008-06-27 Alan Mackenzie <acm@muc.de>
126 * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to
127 the CC Mode specific functions; this is no longer needed, since
128 {beginning,end}-of-defun now pass ARG to ...-of-defun-function.
130 * progmodes/cc-defs.el (c-emacs-features): New feature
131 'argumentative-bod-function.
133 2008-06-27 John Paul Wallington <jpw@pobox.com>
135 * chistory.el (list-command-history): Use `bound-and-true-p'.
136 (command-history-map): Define within defvar. Add docstring.
138 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
140 * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
141 to unibyte; just assume it is not a JPEG. Use `string-match-p'.
142 (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
143 (image-type-from-buffer): Use `looking-at-p'.
145 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
147 * ibuf-ext.el (diff-sentinel): Declare.
149 2008-06-27 Glenn Morris <rgm@gnu.org>
151 * calendar/lunar.el (calendar-lunar-phases): Rename from
152 calendar-phases-of-moon. Keep old name as alias, update callers.
153 (lunar-phases): Rename from phases-of-moon. Keep old name as alias.
154 (diary-lunar-phases): Rename from diary-phases-of-moon.
155 Keep old name as alias.
156 * calendar/cal-menu.el (cal-menu-sunmoon-menu)
157 (cal-menu-global-mouse-menu): Update for lunar name changes.
158 * calendar/calendar.el (calendar-mode-map): Update for name change.
159 * calendar/diary-lib.el (diary-list-sexp-entries): Doc update.
161 2008-06-26 Glenn Morris <rgm@gnu.org>
163 * calendar/solar.el (solar-sunrise-sunset-string): Add optional
164 argument `nolocation'.
165 (calendar-sunrise-sunset-month): New function.
166 * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from
167 cal-menu-moon-menu. Add calendar-sunrise-sunset-month.
168 (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
169 * calendar/calendar.el (solar-sunrises-buffer): New constant.
170 (calendar-mode-map): Use cal-menu-sunmoon-menu.
171 (calendar-buffer-list): Add solar-sunrises-buffer.
173 * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name.
175 2008-06-26 Chong Yidong <cyd@stupidchicken.com>
177 * cus-start.el: Add customization types for word-wrap and
180 2008-06-26 John Paul Wallington <jpw@pobox.com>
182 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function.
183 (ibuffer-diff-with-file): Use it. Do diff on marked buffers.
184 (ibuffer-mark-on-buffer): Don't display message when removing marks.
185 (ibuffer-mark-by-mode): Use `buffer-local-value'.
187 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
189 * vc-dir.el (tool-bar): Require.
191 * vc.el (ewoc, tool-bar): Do not require.
193 2008-06-26 Kenichi Handa <handa@m17n.org>
195 * international/mule-cmds.el (encode-coding-char): Fix for ASCII
198 * composite.el (terminal-composition-base-character-p): New function.
199 (terminal-composition-function):
200 Use terminal-composition-base-character-p. Include the base character
202 (auto-compose-chars): Don't check font-object for terminal display.
204 2008-06-26 Glenn Morris <rgm@gnu.org>
206 * doc-view.el (bookmark-make-record-default):
207 * image-mode.el (bookmark-make-record-default): Fix declaration.
209 * calendar/calendar.el (calendar-date-echo-text): Doc fix.
210 Add default :value for sexp type.
211 (calendar-month-edges): New variable.
212 (calendar-month-edges): New function.
213 (calendar-recompute-layout-variables): Set calendar-month-edges.
214 (calendar-intermonth-header, calendar-intermonth-text): New options.
215 (calendar-insert-at-column): New function.
216 (calendar-generate-month): Use calendar-insert-at-column.
217 Handle intermonth text. Add 'date property.
218 (calendar-column-to-month): Remove function.
219 (calendar-column-to-segment): New function.
220 (calendar-cursor-to-date): Use calendar-column-to-segment.
221 Check 'date property.
223 * calendar/calendar.el (calendar-print-other-dates):
225 * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
226 (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
228 * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events.
229 * calendar/cal-menu.el (calendar-mouse-holidays): Remove function.
230 (cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
232 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
233 Use calendar-column-to-segment, calendar-month-edges, and
234 the 'date property to handle intermonth text.
236 * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
238 * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
239 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
241 (cal-menu-context-mouse-menu): Add some :keys.
242 (calendar-check-holidays): Declare rather than autoloading.
243 (diary-show-holidays-flag): Remove unneeded declaration.
245 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
246 * calendar/calendar.el (calendar-cursor-to-date): Handle case where
249 2008-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
251 * minibuffer.el (completion-basic-try-completion): Use the text after
252 point to constrain the completion candidates.
253 (completion-basic-all-completions): Adjust accordingly.
255 2008-06-25 Chong Yidong <cyd@stupidchicken.com>
257 * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of
260 * faces.el (set-face-attribute): Doc fix.
262 2008-06-25 Juri Linkov <juri@jurta.org>
264 * bindings.el (goto-map): New variable. Rebind goto-related
265 commands to this `M-g' prefix keymap.
266 (search-map): New variable for `M-s' prefix keymap.
267 Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to
268 `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp',
269 `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns',
270 `M-shw' to `hi-lock-write-interactive-patterns'.
272 * isearch.el (isearch-mode-map): Bind `M-s h r' to
273 `isearch-highlight-regexp'.
274 (isearch-highlight-regexp): New function.
276 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
278 * info.el (Info-bookmark-make-record):
279 Use bookmark-make-record-default.
280 (Info-bookmark-jump): Use bookmark-default-handler.
282 * image-mode.el (image-bookmark-make-record):
283 Use bookmark-make-record-default.
284 (image-bookmark-jump): Use bookmark-default-handler.
286 * doc-view.el (doc-view-bookmark-make-record):
287 Use bookmark-make-record-default.
288 (doc-view-bookmark-jump): Use bookmark-default-handler.
290 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
291 used until now in bookmark.el's code.
292 (bookmark-get-bookmark): Accept bookmark names or bookmark records.
293 (bookmark-get-bookmark-record): Allow the 2 slightly different formats
294 used until now in bookmark.el's code.
295 (bookmark-set-filename): Remove special code, moved to its only caller.
296 (bookmark-store): Use the newer format.
297 (bookmark-make-record-default): Add arg `point-only'.
298 Rename from bookmark-make-record-for-text-file.
299 (bookmark--jump-via): New function.
300 (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
301 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
303 (bookmark-jump-noselect, bookmark-default-handler):
304 Don't return an alist, instead return the data implicitly by changing
305 current buffer and point. Signal an error if the file doesn't exist.
307 * buff-menu.el: Use with-current-buffer and inhibit-read-only.
308 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
310 * bs.el: Use with-current-buffer. Simplify.
311 (bs-toggle-readonly): Avoid vc-toggle-read-only.
313 * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command
314 is bound before using it.
316 2008-06-25 Kenichi Handa <handa@m17n.org>
318 * image.el (image-jpeg-p): Convert DATA to unibyte at first.
320 2008-06-25 Dan Nicolaescu <dann@ics.uci.edu>
323 * vc-git.el: Require vc-dir when compiling.
325 * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
326 vc-dir-marked-only-files. Change the return value.
327 (vc-dir-child-files-and-states): Rename from vc-dir-child-files.
328 Change the return value.
329 (vc-dir-deduce-fileset): New function broken out from ...
330 * vc.el (vc-deduce-fileset): ... here and ...
331 (vc-deduce-fileset): ... here.
333 * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler.
334 (vc-svn-parse-status): Do not set the vc-backend property.
336 2008-06-25 Andreas Schwab <schwab@suse.de>
338 * faces.el (face-font-family-alternatives, variable-pitch):
339 Use "Sans Serif", not "Sans-Serif".
341 2008-06-24 Chong Yidong <cyd@stupidchicken.com>
343 * faces.el (face-font-family-alternatives, variable-pitch):
344 Change "Sans" to the canonical name "Sans-Serif".
346 2008-06-24 Jay Belanger <jay.p.belanger@gmail.com>
348 * calc/calc.el (calc-mode-map): Add extra keybindings to
350 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
353 2008-06-24 Miles Bader <miles@gnu.org>
355 * mouse.el (mouse-appearance-menu): Don't do anything if the user
356 pops up the menu but doesn't select anything.
358 2008-06-24 Dan Nicolaescu <dann@ics.uci.edu>
360 * add-log.el (add-change-log-entry): Add new arg to force each new
361 entry to be on a new line.
362 * diff-mode.el (diff-add-change-log-entries-other-window): Use it.
364 * vc-dir.el (vc-client-object): Remove.
365 (vc-dir-prepare-status-buffer): Take a backend as an argument and
366 use it when looking for a buffer.
367 (vc-dir): Add a backend argument. Set revert-buffer-function.
368 Don't create a client object. Move bindings ...
369 (vc-dir-menu-map, vc-dir-mode-map): ... here.
370 (vc-dir-revert-buffer-function): New function.
371 (vc-generic-status-printer): Rename to ...
372 (vc-dir-status-printer): ... this.
373 (vc-generic-state, vc-generic-status-fileinfo-extra)
374 (vc-dir-extra-menu, vc-make-backend-object): Remove.
375 (vc-default-status-printer): Use a different face for
376 directories. Don't display any text for directories in the state
377 column. Add tooltips.
379 * vc.el (Todo): Update.
381 * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
382 * vc-rcs.el (vc-annotate-convert-time):
383 * vc-mtn.el (vc-annotate-convert-time):
384 * vc-git.el (vc-annotate-convert-time):
385 * vc-cvs.el (vc-annotate-convert-time):
386 * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
388 2008-06-23 Dan Nicolaescu <dann@ics.uci.edu>
390 * vc-annotate.el (vc-annotate-mode): Derive from special-mode
391 instead of using view-mode.
393 2008-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
395 * Makefile.in (distclean): Don't delete *.elc and autogen files.
397 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
401 * vc-dispatcher.el: Move vc-dir variables and functions ...
402 * vc-dir.el: ... here. New file.
403 * Makefile.in (ELCFILES): Add vc-dir.elc.
405 * vc.el: Move vc-annotate variables and functions ...
406 * vc-annotate.el: ... here. New file.
407 * Makefile.in (ELCFILES): Add vc-annotate.elc.
409 * vc-dav.el: Move here from url/vc-dav.el.
410 (Todo): Note work needed to make this backend functional.
412 * Makefile.in (ELCFILES): Update vc-dav.el location.
414 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
416 * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
418 2008-06-21 John Paul Wallington <jpw@pobox.com>
420 * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
422 * textmodes/rst.el (rst-mode): Put docstring in right place.
424 2008-06-21 Chong Yidong <cyd@stupidchicken.com>
426 * startup.el (fancy-about-text, fancy-startup-tail): Increase text
429 * faces.el (fixed-pitch): Use "Monospace" family.
430 (variable-pitch): Use "Sans" family.
431 (face-font-family-alternatives): Define alternatives for "Sans"
434 2008-06-21 Glenn Morris <rgm@gnu.org>
436 * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el:
437 Require 'cl when compiling.
439 * emacs-lisp/debug.el (help-xref-interned): Declare.
441 * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents):
442 Evaluate definition when compiling.
444 * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1
446 (bug-reference-url-format): Autoload safe if string.
447 (bug-reference-bug-regexp): Make space after "bug" optional.
449 * Makefile.in (all): Explicitly pass EMACS to sub-make,
450 for some non-GNU makes.
452 * cus-dep.el (custom-dependencies-no-scan-regexp):
453 * finder.el (finder-no-scan-regexp): Add ldefs-boot.el
455 * calendar/cal-move.el (calendar-forward-day): Scroll in one month
458 * calendar/calendar.el: Factor out the magic numbers controlling the
460 (calendar-month-digit-width, calendar-month-width)
461 (calendar-right-margin): New variables.
462 (calendar-recompute-layout-variables, calendar-set-layout-variable):
464 (calendar-left-margin, calendar-intermonth-spacing)
465 (calendar-column-width, calendar-day-header-width)
466 (calendar-day-digit-width): New options.
467 (calendar-first-date-row): New constant.
468 (calendar-move-to-column, calendar-ensure-newline): New functions,
469 replacing calendar-insert-indented.
470 (calendar-insert-indented): Remove function.
471 (calendar-generate-month): Use calendar-move-to-column and
472 calendar-ensure-newline. Use layout variables.
473 (calendar-generate, calendar-update-mode-line)
474 (calendar-font-lock-keywords): Use layout variables.
475 (calendar-column-to-month): New function.
476 (calendar-cursor-to-date): Use calendar-column-to-month.
477 Use layout variables.
478 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
479 Use layout variables. Use calendar-column-to-month.
480 (calendar-cursor-to-visible-date): Use layout variables.
482 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
484 * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
485 (all): Run compile-last.
486 (compile-onefile): New target.
487 (compile-first): Simplify.
488 (compile-last): Don't treat COMPILE_FIRST specially.
489 (COMPILE_FIRST): List the elc files rather than the el files.
492 2008-06-21 Ulf Jasper <ulf@web.de>
494 * net/newst-treeview.el: Remove dead code.
495 (newsticker--window-config): Remove.
496 (newsticker-treeview-quit): Do not save window config.
497 (newsticker-treeview): Do not try to restore window config.
498 (newsticker-groups, newsticker--treeview-list-sort-by-column)
499 (newsticker--treeview-list-new-items)
500 (newsticker--treeview-list-immortal-items)
501 (newsticker--treeview-list-obsolete-items)
502 (newsticker--treeview-list-all-items)
503 (newsticker--treeview-list-feed-items): Fix documentation.
505 2008-06-21 Miles Bader <miles@gnu.org>
507 * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil.
509 2008-06-21 Alan Mackenzie <acm@muc.de>
511 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an
512 infinite loop on invalid syntax.
514 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
516 * textmodes/rst.el: Run rst-define-level-faces when loading.
517 (rst-mode): Don't set the font-lock-multiline var.
518 (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
519 Set the font-lock-multiline property by hand.
521 * loadup.el: Don't add emacs-<VERS> name when bootstrapping.
523 * Makefile.in (emacs-deps): Remove.
524 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
526 (autogen-clean): Remove.
528 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
530 * Makefile.in (all): New target.
531 (bootstrap-prepare): Remove.
533 * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not
534 the .elc file to batch-byte-compile.
536 * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
537 set-keymap-parents if set-keymap-parent doesn't exist.
539 * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
540 Allow more than one space before the |.
542 * textmodes/rst.el: Fix up docstring conventions.
543 Move vars to before their first use.
544 (rst-mode): Don't mess with font-lock-support-mode.
545 (rst-suggest-new-decoration, rst-adjust-decoration):
546 Avoid CL's copy-list.
547 (rst-delete-entire-line): Use line-beginning-position.
548 (rst-position): New fun.
549 (rst-straighten-decorations): Use it instead of CL's position.
550 (rst-straighten-bullets-region): Avoid CL's mapcar*.
551 (rst-toc-mode): Use define-derived-mode.
552 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
553 Remove unused var `in-par'. Use `point' rather than `point-marker'.
554 (rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg.
555 (rst-replace-lines): Simplify.
556 (auto-mode-alist): Use rst-mode for *.rst and *.rest files.
558 * simple.el (special-mode-map): New var.
559 (special-mode): New major mode.
561 2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
563 * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
566 * vc.el (vc-dir-hide-up-to-date): Undo previous change.
567 (vc-switch-backend): Simplify.
568 (Todo): Remove solved items.
570 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
571 the vc-backend property.
573 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
575 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
576 Bind inhibit-read-only since the buffer is always read-only.
578 2008-06-20 Ulf Jasper <ulf@web.de>
580 * net/newst-treeview.el (newsticker-treeview-own-frame):
581 Change default value to nil.
582 (newsticker--treeview-list-add-item)
583 (newsticker--treeview-propertize-tag): Show item title in tooltip.
585 2008-06-20 Martin Blais <blais@furius.ca>
586 Stefan Merten <smerten@oekonux.de>
587 David Goodger <goodger@python.org>
589 * textmodes/rst.el: New file.
591 2008-06-20 Sam Steingold <sds@gnu.org>
593 * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also
594 remove DIRECTORY entries.
596 2008-06-20 Eli Zaretskii <eliz@gnu.org>
598 * makefile.w32-in (distclean): Depend on `clean'.
599 (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~.
600 (AUTOGENEL): Add $(lisp)/nxml/subdirs.el.
601 ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an
602 empty cus-load.el with `echo', and include "Local Variables"
603 section to prevent the empty file from being compiled.
604 (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets
605 that generate an empty cus-load.el.
607 2008-06-20 Juanma Barranquero <lekktu@gmail.com>
609 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
610 Don't copy ldefs-boot.el over loaddefs.el.
611 (bootstrap-clean): Remove loaddefs.el and don't depend on it.
612 (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars
613 to loaddefs.el; they are not needed now. Add coding cookie.
615 2008-06-20 Miles Bader <miles@gnu.org>
617 * face-remap.el (face-remap-add-relative, face-remap-set-base):
618 Strip unnecessary list levels from SPECS.
619 (buffer-face-set, buffer-face-toggle):
620 Change argument from FACE to &rest SPECS, and strip unnecessary
621 list levels from SPECS.
622 (buffer-face-mode-invoke): Change argument from FACE to SPECS.
624 2008-06-20 Jason Rumney <jasonr@gnu.org>
626 * international/fontset.el (setup-default-fontset): Specify script
627 for latin use of iso10646-1. Fix use of lang tags.
629 2008-06-19 Miles Bader <miles@gnu.org>
631 * face-remap.el (text-scale-increase): Start from zero if
632 text-scale-mode isn't enabled.
634 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
636 * faces.el (face-set-after-frame-default): Re-apply explicit `font'
637 frame parameters after setting up the `default' face.
639 2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
641 * faces.el (face-set-after-frame-default): Don't exclude `default'.
643 2008-06-18 Glenn Morris <rgm@gnu.org>
645 * mouse.el (buffer-face-mode-invoke): Declare.
647 * Makefile.in (ELCFILES): Add org/org-id.elc.
649 * calendar/holidays.el (calendar-cursor-holidays): Accept optional date.
650 * calendar/cal-menu.el (cal-menu-holidays-menu):
651 Use calendar-cursor-holidays rather than cal-menu-today-holidays.
652 (cal-menu-today-holidays): Remove function.
654 * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify.
655 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
656 (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
657 Remove unused functions.
658 (calendar-mouse-view-diary-entries): Use format rather than concat.
660 * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro.
661 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
662 (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.
664 * calendar/cal-menu.el (cal-menu-event-to-date): Remove function.
665 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
666 (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
667 (cal-menu-set-date-title): Use calendar-cursor-to-date rather than
668 cal-menu-event-to-date.
670 * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year):
672 * calendar/cal-tex.el (cal-tex-cursor-year)
673 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
674 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
675 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
676 (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
677 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
678 (cal-tex-cursor-day): Handle mouse events. Rename ARG to N.
679 (cal-tex-cursor-month): Mark N as optional.
680 * calendar/cal-menu.el (calendar-mouse-tex-day)
681 (calendar-mouse-tex-week, calendar-mouse-tex-week2)
682 (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
683 (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
684 (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
685 (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
686 (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
688 (cal-menu-context-mouse-menu): Replace the above functions with the
689 cal-tex versions. Add HTML submenu.
691 2008-06-17 Nick Roberts <nickrob@snap.net.nz>
693 * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to
695 (gdb): Explain that gud-gdb is needed for text command mode.
697 2008-06-17 Martin Rudalics <rudalics@gmx.at>
699 * window.el (split-height-threshold): Remove spurious extra line.
701 2008-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
703 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
705 * calendar/diary-lib.el (diary-insert-entry):
706 * calendar/solar.el (calendar-sunrise-sunset): Use it.
707 * calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
708 (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
709 (cal-menu-context-mouse-menu): Use calendar-set-mark,
710 diary-insert-entry, and calendar-sunrise-sunset instead.
712 * vc.el (vc-deduce-fileset): Add arg `only-files'.
713 (vc-next-action): Pass the new arg.
714 (vc-register): Don't use `only-files'.
715 Don't set `backup-inhibited' in the current buffer.
717 2008-06-17 Miles Bader <miles@gnu.org>
719 * mouse.el (mouse-appearance-menu): Use buffer-face-mode.
721 * face-remap.el (buffer-face-mode-face)
722 (buffer-face-mode-remapping): New variables.
723 (buffer-face-mode, buffer-face-set, buffer-face-toggle)
724 (buffer-face-mode-invoke): New functions.
725 (variable-pitch-mode-remapping): Variable removed.
726 (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'.
728 * face-remap.el (internal-lisp-face-attributes): New variable.
729 (face-attrs-more-relative-p, face-remap-order): New functions.
730 (face-remap-add-relative): Use `face-remap-order'.
732 2008-06-17 Glenn Morris <rgm@gnu.org>
734 * mouse.el (x-select-font): Declare.
736 * calendar/calendar.el (calendar-move-hook):
737 Add calendar-update-mode-line as an option.
738 (calendar-date-echo-text): New user option.
739 (calendar-generate-month): Set `day'. Use calendar-date-echo-text.
740 (calendar-insert-indented): Simplify newline insertion.
741 (calendar-describe-mode): Remove unused function.
742 (calendar-mode-line-entry): New function.
743 (calendar-mode-line-format): Doc fix. Use calendar-mode-line-entry.
745 (calendar-mouse-other-month): Remove function.
746 (calendar-other-month): Handle mouse events.
747 (calendar-goto-info-node): Call fit-window-to-buffer.
748 (calendar-mode): Use define-derived-mode. Doc fix.
749 (calendar-update-mode-line): Tweak whitespace.
751 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
753 * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p.
754 (vc-dir-marked-only-files): vc-string-prefix-p.
756 2008-06-16 Nick Roberts <nickrob@snap.net.nz>
758 * progmodes/gdb-ui.el (gdb-memory-set-address)
759 (gdb-memory-set-repeat-count): Allow keyboard bindings.
760 (gdb-memory-mode-map): Bind above functions respectively
763 2008-06-16 Derek Upham <sand@blarg.net> (tiny change)
765 * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks.
767 2008-06-16 Juanma Barranquero <lekktu@gmail.com>
769 * log-view.el (vc-diff-internal): Declare for compiler.
771 * vc-bzr.el (log-view-per-file-logs):
772 * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
774 2008-06-15 Chong Yidong <cyd@stupidchicken.com>
776 * mouse.el (mouse-appearance-menu-map): New var.
777 (mouse-appearance-menu): New function.
778 Bind it to S-down-mouse-1.
780 2008-06-15 Juri Linkov <juri@jurta.org>
782 * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
783 (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
784 as the second element.
785 (Info-build-toc): Add PARENT element extracted from the Up pointer.
786 Don't print progress messages.
787 (Info-toc-nodes): New variable and function.
788 (Info-index-nodes): Optimize non-string file name case.
789 (Info-breadcrumbs-depth): Increment the default value from 3 to 4.
790 (Info-insert-breadcrumbs): Use the cached document structure instead
791 of visiting all ancestor nodes. Remove the initial `>'.
793 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
795 * log-view.el (log-view-diff-changeset): New function.
796 (log-view-mode-map, log-view-mode-menu): Bind it.
797 (log-view-per-file-logs, log-view-vc-fileset)
798 (log-view-vc-backend): New variables.
799 (log-view-find-revision, log-view-modify-change-comment)
800 (log-view-annotate-version): Throw an error if the log is for more
801 than one file and we can't find the current file. Get the current
802 file from log-view-vc-fileset if necessary.
803 (log-view-diff): Get the current file from log-view-vc-fileset if
806 * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
808 * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
809 (vc-hg-log-view-mode): Declare for compiler.
810 (vc-hg-log-view-mode): Set log-view-per-file-logs and
812 (vc-hg-diff): If no file is passed, use default-directory for cwd.
814 * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
816 * vc-svn.el (vc-svn-log-view-mode): New derived mode.
818 2008-06-15 Michael Albinus <michael.albinus@gmx.de>
820 * net/tramp.el (tramp-handle-start-file-process):
821 Clear modification time of the connection buffer.
822 (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
823 (tramp-open-connection-setup-interactive-shell): Flush cache, and
824 restart `tramp-maybe-open-connection' when the remote system has
825 been changed. Throw 'uname-changed event.
826 (tramp-maybe-open-connection): Catch it.
828 * net/tramp-cmds.el (tramp-cleanup-all-connections):
829 Reset `tramp-locked'.
831 2008-06-15 Ulf Jasper <ulf@web.de>
833 * net/newst-treeview.el (newsticker--treeview-list-update)
834 (newsticker--treeview-item-update)
835 (newsticker--treeview-tree-update)
836 (newsticker-treeview-jump, newsticker-group-add-group)
837 (newsticker-group-move-feed, newsticker-group-delete-group):
838 Remove window dedication.
839 (newsticker--group-manage-orphan-feeds): Handle ill-valued
841 (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
843 2008-06-15 Andreas Schwab <schwab@suse.de>
845 * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
846 when parsing CVS/Repository.
848 * wdired.el (wdired-search-and-rename): Fix undocumented change.
850 2008-06-15 Ulf Jasper <ulf@web.de>
852 * net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
853 (newsticker-extra-face, newsticker-enclosure-face): Moved to
856 * net/newst-reader.el (newsticker-faces, newsticker-feed-face)
857 (newsticker-extra-face, newsticker-enclosure-face): Moved from
860 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
862 * international/encoded-kb.el (encoded-kbd-self-insert-utf-8):
863 Catch and recover from case when the bytes we thought we were reading
864 turn out to be something else entirely, such as latin-1 chars from
867 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
869 * vc.el (vc-deduce-fileset): Check if the buffer has a file.
870 (vc-register): Call the backend function only once, instead of
872 (vc-next-action): Update call to vc-register.
873 (vc-dir-register): Remove function.
874 (vc-dir): Bind vc-register instead of vc-dir-register.
876 2008-06-14 Glenn Morris <rgm@gnu.org>
878 * Makefile.in (ELCFILES): Add net/newst-*.el.
880 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
882 * wdired.el (wdired-do-renames): New function.
883 (wdired-finish-edit): Use it to.
884 (wdired-preprocess-files): Don't hardcode (point-min) == 1.
886 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
888 * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc.
890 2008-06-14 Martin Rudalics <rudalics@gmx.at>
892 * window.el (window--even-window-heights): Even window heights
893 only if the selected window is higher than WINDOW.
894 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
896 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
898 * info.el (Info-insert-breadcrumbs): Be careful to preserve history.
900 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
902 * term/linux.el (terminal-init-linux): Load t-mouse.
904 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
905 Drew Adams <drew.adams@oracle.com>
907 * info.el (Info-breadcrumbs-depth): New var.
908 (Info-insert-breadcrumbs): New function.
909 (Info-fontify-node): Use it.
910 (Info-mode-map): Move initialization into declaration.
912 2008-06-13 Ulf Jasper <ulf.jasper@web.de>
914 Rename net/newsticker-*.el to net/newst-*.el.
915 * net/newst-backend.el: Rename from net/newsticker-backend.el.
916 * net/newst-plainview.el: Rename from net/newsticker-plainview.el.
917 * net/newst-reader.el: Rename from net/newsticker-reader.el.
918 * net/newst-ticker.el: Rename from net/newsticker-ticker.el.
919 * net/newst-treeview.el: Rename from net/newsticker-treeview.el.
920 * net/newsticker-backend.el: Rename to net/newst-backend.el.
921 * net/newsticker-plainview.el: Rename to net/newst-plainview.el.
922 * net/newsticker-reader.el: Rename to net/newst-reader.el.
923 * net/newsticker-ticker.el: Rename to net/newst-ticker.el.
924 * net/newsticker-treeview.el: Rename to net/newst-treeview.el.
926 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
928 * progmodes/compile.el (compilation-start): Don't disable undo in
929 comint buffer. Don't override the comint-filter with our own.
930 (compilation-filter): Change point's insertion-type.
932 * comint.el (comint-output-filter): Use copy-marker.
934 2008-06-13 David Reitter <david.reitter@gmail.com>
936 * textmodes/flyspell.el (mail-mode-flyspell-verify):
937 Check message-signature-separator exists before using it.
939 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu>
941 * vc.el (vc-delete-file): Bind default-directory before calling
943 (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
944 (vc-annotate-show-diff-revision-at-line-internal): ... here.
946 (vc-annotate-show-changeset-diff-revision-at-line): New function.
947 (vc-annotate-mode-menu): Bind it.
949 2008-06-13 Jason Rumney <jasonr@gnu.org>
951 * term/w32-win.el (mouse-set-font): Remove overridden function.
952 (w32-select-font): Declare as obsolete alias for x-select-font.
954 2008-06-13 Daniel Engeler <engeler@gmail.com>
956 These changes add serial port access.
957 * term.el (term-update-mode-line): Modify.
958 (serial-port-is-file-p, serial-nice-speed-history)
959 (serial-no-speed, serial-mode-line-speed-menu)
960 (serial-mode-line-config-menu): New variables and constants.
961 (serial-name-history, serial-speed-history)
962 (serial-supported-or-barf, serial-read-name, serial-read-speed)
963 (serial-term, serial-speed, serial-mode-line-speed-menu-1)
964 (serial-mode-line-speed-menu, serial-update-speed-menu)
965 (serial-mode-line-config-menu-1, serial-mode-line-config-menu)
966 (serial-update-config-menu): New functions.
968 2008-06-13 Glenn Morris <rgm@gnu.org>
970 * menu-bar.el (menu-set-font): Use fboundp rather than functionp.
972 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix.
974 2008-06-13 Kenichi Handa <handa@m17n.org>
976 * cus-face.el (custom-face-attributes): Add :foundry.
978 * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
979 (face-x-resources): Add :foundry.
980 (face-valid-attribute-values): Likewise.
981 (face-attribute-name-alist): Likewise.
982 (describe-face): Likewise.
984 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
986 * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events.
988 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
990 * longlines.el (longlines-search-forward, longlines-search-backward)
991 (longlines-re-search-forward): Use a smarter search-spaces-regexp.
993 2008-06-12 Sam Steingold <sds@gnu.org>
995 * vc.el (vc-rename-file): DTRT when the destination is a directory
996 name and the source is a file.
998 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
1000 * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font.
1002 2008-06-12 Glenn Morris <rgm@gnu.org>
1004 * progmodes/f90.el (f90-beginning-of-subprogram)
1005 (f90-end-of-subprogram): Only give a message when interactive.
1007 * term/mac-win.el (x-toolkit-scroll-bars): Check bound.
1009 * progmodes/cperl-mode.el (cperl-info-on-command):
1010 Use display-pixel-height rather than x-display-pixel-height.
1012 * mail/rmailedit.el (rmail-cease-edit):
1013 * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound.
1015 * emulation/edt.el (edt-xserver):
1016 * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string.
1018 * emulation/edt-mapper.el: Drop test for Emacs < 19.
1020 * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window):
1021 Evaluate definitions when compiling. Reverse tests.
1023 * dframe.el (dframe-reposition-frame-emacs): Reorder test, and
1026 * menu-bar.el (w32-menu-bar-open): Declare for compiler.
1028 * textmodes/artist.el (x-pointer-shape):
1029 * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu)
1030 (x-open-connection, x-server-max-request-size, x-get-resource):
1031 * term/w32console.el (x-setup-function-keys):
1032 * term/w32-win.el (x-parse-geometry, x-resource-name)
1033 (generate-fontset-menu, image-library-alist, x-open-connection)
1034 (setup-default-fontset, set-fontset-font, setup-default-fontset)
1035 (create-fontset-from-fontset-spec, create-fontset-from-x-resource)
1037 * term/mac-win.el (x-parse-geometry, x-resource-name)
1038 (x-get-selection-internal, tool-bar-mode, set-fontset-font)
1039 (new-fontset, x-display-list, x-open-connection, x-get-resource):
1040 * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide)
1041 (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show)
1042 (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer):
1043 * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area)
1044 (tooltip-identifier-from-point, define-fringe-bitmap):
1045 * play/gamegrid.el (image-size):
1046 * play/bubbles.el (image-size):
1047 * mail/emacsbug.el (x-server-vendor, x-server-version):
1048 * international/mule-util.el (internal-char-font):
1049 * international/mule-diag.el (font-info, query-fontset, fontset-info)
1050 (fontset-alias-alist, fontset-list, fontset-plain-name):
1051 * international/mule-cmds.el (x-server-vendor, x-server-version):
1052 * international/fontset.el (font-encoding-charset-alist)
1053 (otf-script-alist, new-fontset, set-fontset-font)
1054 (x-pixel-size-width-font-regexp, vertical-centering-font-regexp)
1055 (fontset-list, query-fontset, x-get-resource):
1056 * emulation/edt.el (x-server-vendor):
1057 * emulation/edt-mapper.el (x-server-vendor):
1058 * emacs-lisp/map-ynp.el (x-popup-dialog):
1059 * emacs-lisp/lmenu.el (x-popup-dialog):
1060 * x-dnd.el (x-window-property, x-change-window-property)
1061 (x-get-selection-internal):
1062 * woman.el (x-list-fonts):
1063 * w32-fns.el (x-server-version):
1064 * tooltip.el (x-show-tip, x-hide-tip):
1065 * tool-bar.el (image-mask-p):
1066 * thumbs.el (image-size):
1067 * term.el (overflow-newline-into-fringe):
1068 * subr.el (scroll-bar-scale):
1069 * startup.el (x-get-resource, tool-bar-mode, image-size):
1070 * select.el (x-get-selection-internal, x-own-selection-internal)
1071 (x-disown-selection-internal):
1072 * mouse.el (generate-fontset-menu):
1073 * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value):
1074 * image.el (image-library-alist):
1075 * image-mode.el (image-size, image-refresh):
1076 * image-dired.el (clear-image-cache):
1077 * gs.el (x-display-mm-width, x-display-pixel-width)
1078 (x-display-mm-height, x-display-pixel-height)
1079 (x-change-window-property, x-display-grayscale-p, x-window-property):
1080 * frame.el (tool-bar-mode, x-display-name, x-close-connection)
1081 (x-focus-frame, x-list-fonts, x-display-screens)
1082 (x-display-pixel-height, x-display-pixel-width, x-display-mm-height)
1083 (x-display-mm-width, x-display-backing-store, x-display-save-under)
1084 (x-display-planes, x-display-color-cells, x-display-visual-class):
1085 * faces.el (internal-face-x-get-resource)
1086 (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path)
1087 (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values)
1088 (xw-display-color-p, x-display-grayscale-p, x-get-resource)
1089 (x-parse-geometry, x-create-frame, x-setup-function-keys)
1091 * doc-view.el (clear-image-cache, image-size, tooltip-show):
1092 * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri):
1093 * dframe.el (x-display-pixel-width, x-display-pixel-height):
1094 * descr-text.el (internal-char-font):
1095 Define for compiler, for builds without X.
1097 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists.
1101 2008-06-11 Glenn Morris <rgm@gnu.org>
1103 * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match
1104 before trying to move there.
1105 (fortran-calculate-indent): When fortran-check-all-num-for-matching-do
1106 is non-nil, indent most terminating statements like loop body.
1108 * calendar/diary-lib.el (diary-list-entries-2): Accept optional
1109 Gregorian date, and add it, not the local date, to diary-entries-list.
1110 (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
1112 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * progmodes/compile.el (compilation-filter): Fix up last change.
1116 * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
1118 * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
1119 (gpm-mouse-mode): Make it into a proper global minor mode.
1121 * files.el (save-some-buffers-action-alist): Only use recursive-edit
1122 if the user enabled recursive-minibuffers.
1124 * emacs-lisp/map-ynp.el (map-y-or-n-p):
1125 Add support for scroll-other-window.
1127 2008-06-11 Jason Rumney <jasonr@gnu.org>
1129 * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open.
1130 Use tmm-menubar if menu is disabled in this frame.
1132 * menu-bar.el (menu-bar-open): Determine how to open menu bar
1133 from frame type, per documentation. Add w32 case.
1135 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * minibuffer.el (completion--merge-suffix): New function.
1138 (completion-basic-try-completion): Use it.
1139 (completion-pcm--find-all-completions): Add argument `filter'.
1140 (completion-pcm--filename-try-filter, completion-pcm--merge-try):
1142 (completion-pcm-try-completion): Use them.
1144 * xt-mouse.el (turn-on-xterm-mouse-tracking)
1145 (turn-off-xterm-mouse-tracking): Use terminal-list.
1147 * cus-start.el (underline-minimum-offset): Rename from
1148 x-underline-minimum-display-offset.
1150 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change)
1152 * cus-start.el (x-underline-minimum-display-offset): Give it a type.
1154 2008-06-10 Chong Yidong <cyd@stupidchicken.com>
1156 * mouse.el (mouse-select-font): New function.
1158 * faces.el (face-spec-recalc): When the face is set using
1159 Customize, avoid recalculating it twice.
1161 * menu-bar.el (menu-set-font): New function. Bind "Set Default
1162 Font" menu item to it. Apply selected font to all frames, and
1164 (menu-bar-options-save): Save `default' font if changed.
1166 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * ffap.el (ffap-string-at-point-mode-alist):
1169 Use alpha rather than lower.
1171 * dired.el (dired-insert-directory): Don't assume Unix-style dir names.
1173 * subr.el (momentary-string-display): Use an overlay.
1175 * progmodes/compile.el (compilation-mode):
1176 Set window-point-insertion-type.
1177 (compilation-filter): Don't use insert-before-markers any more.
1178 * emacs-lisp/trace.el (trace-make-advice):
1179 Set window-point-insertion-type in the trace buffer.
1180 * startup.el (normal-top-level): Set window-point-insertion-type in
1182 * net/telnet.el (telnet-mode): Set window-point-insertion-type.
1183 (telnet-filter): Don't use insert-before-markers any more.
1184 * comint.el (comint-mode): Set window-point-insertion-type.
1185 (comint-output-filter): Don't use insert-before-markers any more.
1186 * button.el (make-text-button): Allow `start' to be a string.
1188 2008-06-10 Juanma Barranquero <lekktu@gmail.com>
1190 * emacs-lisp/autoload.el (autoload-rubric):
1191 Fix coding cookie not to force Unix EOL.
1193 2008-06-10 Martin Rudalics <rudalics@gmx.at>
1195 * window.el (window--splittable-p, window--try-to-split-window):
1196 Don't use with-selected-window to avoid messing up get-lru-window.
1197 Reported by David Hansen <david.hansen@gmx.net>.
1199 2008-06-10 Glenn Morris <rgm@gnu.org>
1201 * subr.el (locate-library): Doc fix.
1203 * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare.
1204 (newsticker-treeview-tool-bar-map, newsticker-treeview-mode):
1205 Check tool-bar-map is bound, for non-X builds.
1207 * net/newsticker-reader.el (newsticker--next-item-image)
1208 (newsticker--previous-item-image, newsticker--previous-feed-image)
1209 (newsticker--next-feed-image, newsticker--mark-read-image)
1210 (ewsticker--mark-immortal-image, newsticker--narrow-image)
1211 (newsticker--get-all-image, newsticker--update-image)
1212 (newsticker--browse-image): Check xpm images are available.
1213 (newsticker--mark-read-image, newsticker--mark-immortal-image)
1214 (newsticker--narrow-image, newsticker--get-all-image): Doc fix.
1216 * net/newsticker-plainview.el (tool-bar-map): Don't declare.
1217 (newsticker--plainview-tool-bar-map, newsticker-mode):
1218 Check tool-bar-map is bound, for non-X builds.
1219 (w3m-toggle-inline-image): Declare.
1221 * net/newsticker-backend.el (tool-bar-map): Don't declare.
1223 * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie.
1225 * finder.el (finder-font-lock-keywords): Handle ``quotes''.
1226 (finder-compile-keywords): Move let to where needed.
1227 (finder-mouse-face-on-line): Go back one more line if needed.
1228 (finder-list-matches): Use cadr.
1229 (finder-goto-xref): New function.
1230 (finder-commentary): Add buttons to jump to foo.el libraries.
1232 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * apropos.el (apropos-function, apropos-macro, apropos-command)
1235 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1236 (apropos-plist): Add apropos-short-label property.
1237 (apropos-multi-type): New variables.
1238 (apropos-command, apropos-value): Set it.
1239 (apropos-compact-layout): New custom.
1240 (apropos-print, apropos-print-doc): Use it.
1241 (apropos-print): Truncate lines.
1243 2008-06-09 Kenichi Handa <handa@m17n.org>
1245 * international/fontset.el (font-encoding-alist):
1246 Add an entry for "ascii-0".
1248 2008-06-09 Jihyun Cho <jihyun.jo@gmail.com>
1250 * language/hanja-util.el (hanja-init-load): Show the message only
1251 when loading a table.
1253 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1255 * net/newsticker-treeview.el (newsticker-treeview):
1256 * net/newsticker-plainview.el (newsticker-plainview):
1257 Add autoload cookie.
1259 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1261 * net/newsticker.el: Split up into newsticker-backend, -ticker,
1262 -reader, -plainview, and -treeview.
1263 (newsticker-version): Change to 1.99.
1265 * net/newsticker-backend.el: New. Move backend functionality from
1266 newsticker.el to newsticker-backend.el.
1267 (newsticker--download-logos): New.
1268 (newsticker--sentinel-callback): New.
1269 (newsticker--set-customvar): Remove. Split up into specific
1270 functions related to retrieval, ticker, buffer, and display.
1271 (newsticker--set-customvar-retrieval): New. Extracted from
1272 `newsticker--set-customvar'.
1273 (newsticker-retrieval): New. Renamed from `newsticker-feed'.
1274 (newsticker-url-list-defaults):
1275 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1276 (newsticker-url-list): Doc changed. URL can be a function.
1277 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1278 (newsticker-retrieval-method): New.
1279 (newsticker-wget-name, newsticker-wget-arguments): Change :group.
1280 (newsticker-retrieval-interval):
1281 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1282 (newsticker-desc-comp-max): Change :group.
1283 (newsticker--cache): Doc changed.
1284 (newsticker--guid-to-string): New.
1285 (newsticker--guid): Use `newsticker--guid-to-string'.
1286 (newsticker--real-feed-name): New.
1287 (newsticker--start-feed): New. Extracted from `newsticker-start'.
1288 (newsticker-start): Use `insert-file-contents' for reading cache.
1289 Use `newsticker--start-feed'.
1290 (newsticker--stop-feed): New. Extracted from `newsticker-stop'.
1291 (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound.
1292 Use `newsticker--stop-feed'.
1293 (newsticker-save-item): New.
1294 (newsticker--get-news-by-funcall): New.
1295 (newsticker-get-news): Handle new retrieval methods.
1296 (newsticker--sentinel): Use `newsticker--sentinel-work'.
1297 (newsticker--sentinel-work): New. Extracted from
1298 `newsticker--sentinel'. Use `newsticker--download-logos',
1299 `newsticker--sentinel-callback'.
1300 (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'.
1301 (newsticker--parse-atom-1.0): Fix link determination.
1302 (newsticker--parse-rss-0.91): Fix time determination.
1303 (newsticker--parse-rss-0.92): Fix time determination.
1304 (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'.
1305 (newsticker--parse-generic-feed): New arg order in
1306 `newsticker--cache-add'.
1307 (newsticker--parse-generic-items): Fix for multiple items.
1308 New arg order in `newsticker--cache-add'.
1309 (newsticker--forget-preformatted): Check whether
1310 `newsticker--buffer-set-uptodate' is fbound.
1311 (newsticker--decode-iso8601-date): Handle fractions of seconds.
1312 (newsticker--decode-rfc822-date): Partial timezone handling.
1313 (newsticker--cache-contains): Fix guid problem.
1314 (newsticker--cache-add): Swap args AGE and TIME. Fix guid problem.
1315 (newsticker--cache-save): New.
1316 (newsticker--cache-update): Use temp buffer.
1317 (newsticker--stat-num-items): Allow multiple AGE args.
1318 (newsticker--stat-num-items-total): New.
1319 (newsticker--opml-import-outlines): New.
1320 (newsticker-opml-import): Use `newsticker--opml-import-outlines'.
1321 (newsticker--do-run-auto-mark-filter): Doc changed.
1322 (newsticker-retrieve-random-message): New.
1324 * net/newsticker-ticker.el: New. Move ticker functionality from
1325 net/newsticker.el to net/newsticker-ticker.el.
1326 (newsticker--ticker-timer): Rename `newsticker--display-timer' to
1327 `newsticker--ticker-timer'.
1328 (newsticker-ticker-running-p): Rename `newsticker--display-timer'
1329 to `newsticker--ticker-timer'.
1330 (newsticker--set-customvar-ticker): New. Extracted from
1331 `newsticker--set-customvar'.
1332 (newsticker-ticker-interval): Rename `newsticker-display-interval'
1333 to `newsticker-ticker-interval'. Use `newsticker--set-customvar-ticker
1334 for :set. Change :group.
1335 (newsticker-scroll-smoothly): Doc changed. Change :group.
1336 (newsticker-hide-immortal-items-in-echo-area)
1337 (newsticker-hide-old-items-in-echo-area)
1338 (newsticker-hide-obsolete-items-in-echo-area):
1339 Use `newsticker--set-customvar-ticker for :set. Change :group.
1340 (newsticker-start-ticker): Rename `newsticker--display-timer' to
1341 `newsticker--ticker-timer'. Rename `newsticker-display-interval'
1342 to `newsticker-ticker-interval'.
1343 (newsticker-stop-ticker): Rename `newsticker--display-timer' to
1344 `newsticker--ticker-timer'.
1346 * net/newsticker-reader.el: New. Move reader functionality from
1347 net/newsticker.el to net/newsticker-reader.el.
1348 (newsticker--set-customvar-formatting): New. Extracted from
1349 `newsticker--set-customvar'.
1350 (newsticker-reader, newsticker-frontend): New.
1351 (newsticker-enable-logo-manipulations): Change :group.
1352 (newsticker-justification): Use `newsticker--set-customvar-formatting'
1353 for :set. Change :group.
1354 (newsticker-use-full-width): Use `newsticker--set-customvar-formatting'
1355 for :set. Change :group.
1356 (newsticker-html-renderer): Doc changed.
1357 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1358 (newsticker-date-format):
1359 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1360 (newsticker--insert-enclosure):
1361 Rename `newsticker--buffer-insert-enclosure' to
1362 `newsticker--insert-enclosure'. Add keymap arg.
1363 (newsticker--print-extra-elements):
1364 Rename `newsticker--buffer-print-extra-elements' to
1365 `newsticker--print-extra-elements'. Add keymap arg.
1366 (newsticker--do-print-extra-element):
1367 Rename `newsticker--buffer-do-print-extra-element' to
1368 `newsticker--do-print-extra-element'. Add keymap arg.
1369 (newsticker-show-news): Use `newsticker-frontend'.
1371 * net/newsticker-plainview.el: New. Move plainview functionality
1372 from net/newsticker.el to net/newsticker-reader.el.
1373 (newsticker-plainview): New.
1374 (newsticker--set-customvar-sorting): New. Extracted from
1375 `newsticker--set-customvar'.
1376 (newsticker-sort-method): Use `newsticker--set-customvar-sorting
1377 for :set. Changed :group.
1378 (newsticker-heading-format, newsticker-item-format)
1379 (newsticker-desc-format, newsticker-statistics-format):
1380 Use `newsticker--set-customvar-formatting for :set. Change :group.
1381 (newsticker-faces): Change :group.
1382 (newsticker-default-face): Enable again.
1383 (newsticker-hide-old-items-in-newsticker-buffer)
1384 (newsticker-show-descriptions-of-new-items):
1385 Use `newsticker--set-customvar-buffer' for :set. Change :group.
1386 (newsticker-show-all-news-elements): Change :group.
1387 (newsticker-plainview-hooks): New.
1388 (newsticker-select-item-hook, newsticker-select-feed-hook)
1389 (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group.
1390 (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map'
1391 to `newsticker--plainview-tool-bar-map'.
1392 (newsticker--url-keymap): Add mouse-1 binding.
1393 (newsticker-plainview): New.
1394 (newsticker-mark-all-items-of-feed-as-read): Change doc.
1395 (newsticker--buffer-do-insert-text): Use renamed
1396 newsticker--[buffer-]insert-enclosure and
1397 newsticker--[buffer-]print-extra-elements.
1398 (newsticker--buffer-set-faces): Use newsticker-default-face.
1400 * net/newsticker-treeview.el: New.
1402 2008-06-08 Andreas Schwab <schwab@suse.de>
1404 * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check.
1406 * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs.
1408 * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
1411 * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for.
1413 2008-06-08 Martin Rudalics <rudalics@gmx.at>
1415 * window.el (split-height-threshold, split-width-threshold):
1417 (split-window-preferred-function): Allow either nil or a function.
1418 (window--splittable-p, window--try-to-split-window):
1419 Handle changed option values.
1421 (window--frame-usable-p): Handle nil argument.
1423 (display-buffer): Call get-lru-window when pop-up-windows is nil
1424 and window can't be split.
1426 2008-06-08 Michael Albinus <michael.albinus@gmx.de>
1428 * uniquify.el (uniquify-get-proposed-name): Handle remote files.
1430 * net/tramp.el (top): Quote feature names. Remove
1431 `tramp-rfn-eshadow-setup-minibuffer' from
1432 `rfn-eshadow-setup-minibuffer-hook' when unloading.
1433 (tramp-read-passwd): There is only one call to
1434 `auth-source-user-or-password' needed. Pacify byte compiler.
1436 2008-06-08 Andreas Schwab <schwab@suse.de>
1438 * window.el (display-buffer): Use lru window if current window
1441 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * apropos.el (apropos-library): New command and new button.
1444 (apropos-library-button): New function.
1446 * apropos.el: Remove spurious * in docstrings.
1447 (apropos-label-face): Use variable pitch.
1448 (apropos-print): Use dolist and with-current-buffer.
1449 (apropos-print-doc): Use when.
1451 * window.el (special-display-p, display-buffer):
1452 Fix up C->Elisp transcription error.
1454 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
1457 (byte-compile-file): Initialize it.
1458 (byte-compile-nogroup-warn): Keep track of the current group.
1460 2008-06-08 Glenn Morris <rgm@gnu.org>
1462 * Makefile.in (compile, compile-always, bootstrap-prepare):
1463 Explictly pass EMACS to sub-makes that use it, for non-GNU makes.
1465 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com>
1467 * language/hanja-util.el (hanja-init-load): Use a char-table for
1469 (hangul-to-hanja-char): Adjust for the above change.
1471 2008-06-07 Glenn Morris <rgm@gnu.org>
1473 * finder.el (finder-compile-keywords): Use lm-keywords-list rather than
1476 * mail/sendmail.el (mail-interactive): Add :version.
1478 * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than
1481 * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el:
1482 * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el:
1483 * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el:
1484 * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el:
1485 * eshell/esh-util.el, international/mule-cmds.el:
1486 * international/mule-diag.el, mail/smtpmail.el, net/netrc.el:
1487 * net/tls.el, progmodes/etags.el, textmodes/page-ext.el:
1488 Remove unnecessary eval-when-compiles and eval-and-compiles.
1490 * Makefile.in (bootstrap-clean): Run autogen-clean.
1491 (maintainer-clean): No need to run autogen-clean now it is included in
1494 2008-06-06 Miles Bader <miles@gnu.org>
1496 * Makefile.in (ELCFILES): Add gnus/nndir.elc.
1498 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
1500 * menu-bar.el (menu-bar-options-menu): Add Menu entry for
1503 * replace.el (replace-search-function)
1504 (replace-re-search-function): New vars.
1505 (perform-replace): Use them.
1507 * longlines.el (longlines-re-search-forward): New function.
1508 (longlines-mode): Bind replace-search-function and
1509 replace-re-search-function, to ensure that replacement commands
1510 treat newlines as spaces.
1511 (longlines-show-effect): Default to a pilcrow sign.
1513 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * help.el (function-called-at-point):
1516 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
1517 even when calling find-tag-default.
1519 2008-06-06 Daniel Colascione <danc@merrillpress.com>
1521 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
1522 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
1523 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
1524 (nxml-fontify-buffer, nxml-do-fontify):
1525 Remove obsolete variables and functions.
1526 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
1527 (nxml-degrade, nxml-after-change, nxml-after-change1)
1528 (nxml-extend-region, nxml-extend-after-change-region)
1529 (nxml-extend-after-change-region1, nxml-fontify-matcher)
1530 (nxml-toggle-char-ref-extra-display): Use font-lock, and
1531 font-lock-extend-region-functions in particular, to fontify
1533 (nxml-debug-region): New debugging helper function.
1535 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
1536 (nxml-scan-after-change, nxml-move-tag-backwards):
1537 Adapt for font-lock changes.
1539 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
1540 (nxml-debug-set-inside, nxml-debug-clear-inside):
1541 New debugging functions.
1542 (nxml-with-degradation-on-error): New helper macro.
1544 2008-06-06 Martin Rudalics <rudalics@gmx.at>
1546 * window.el (display-buffer): Remove dead call to get-lru-window.
1548 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1550 * mail/sendmail.el (mail-interactive): Change default.
1552 2008-06-05 John Paul Wallington <jpw@pobox.com>
1554 * bindings.el (completion-ignored-extensions):
1555 Add .p64fsl, .d64fsl, and .dx64fsl.
1557 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * ffap.el (ffap-prompter): Don't use the region.
1561 2008-06-05 Sam Steingold <sds@gnu.org>
1563 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
1564 subdirectory to be registered.
1566 2008-06-05 Martin Rudalics <rudalics@gmx.at>
1568 * window.el (display-buffer-function, special-display-p)
1569 (special-display-buffer-names, special-display-regexps)
1570 (special-display-function, same-window-p, same-window-buffer-names)
1571 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
1572 (pop-up-frame-function, pop-up-windows, even-window-heights)
1573 (split-window-preferred-function, split-height-threshold)
1574 (window--display-buffer-1, display-buffer, pop-to-buffer):
1575 Move from window.c and buffer.c.
1576 (window--splittable-p, window--try-to-split-window)
1577 (window--frame-usable-p, window--display-buffer-2)
1578 (window--even-window-heights): New functions.
1579 (split-width-threshold): New option.
1580 (split-window-preferred-horizontally): Remove.
1582 * cus-start.el: Remove corresponding declarations.
1584 2008-06-05 Sam Steingold <sds@gnu.org>
1586 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
1587 an error on modified buffers.
1589 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * progmodes/etags.el (tags-verify-table): Be careful to use and update
1592 tags-file-name and tags-table-list from the right buffer.
1593 (tags-table-check-computed-list, tags-table-extend-computed-list)
1594 (find-tag-noselect): Use with-current-buffer.
1596 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
1599 * minibuffer.el (minibuffer-local-must-match-filename-map):
1600 Declare obsolete alias for the old name.
1602 * abbrev.el (unexpand-abbrev): Better preserve markers.
1604 2008-06-05 Glenn Morris <rgm@gnu.org>
1606 * emacs-lisp/autoload.el (autoload-rubric): New function,
1607 extracted from autoload-ensure-default-file.
1608 (autoload-ensure-default-file): Use autoload-rubric.
1610 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
1611 (custom-dependencies-no-scan-regexp): New variable.
1612 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
1613 Don't scan files matching custom-dependencies-no-scan-regexp.
1614 Disable undo in the output buffer. Remove kept-new-versions wackiness.
1616 * finder.el (finder-headmark): Initialize and add doc string.
1617 (generated-finder-keywords-file): Doc fix.
1618 (finder-no-scan-regexp): New variable.
1619 (finder-compile-keywords): Use a single let binding.
1620 Disable undo in the output buffer. Use autoload-rubric.
1621 Use mapc rather than mapcar. Don't scan files matching
1622 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
1623 rather than concat. Use directory-files to do regexp matching.
1624 No need to require jka-compr.
1625 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
1626 (finder-list-matches): Disable undo.
1627 (finder-commentary): Use let rather than let*. Disable undo.
1628 (finder-current-item): Use zerop.
1629 (finder-mode): Use define-derived-mode.
1630 (finder-exit): Doc fix. Use dolist.
1632 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
1633 (custom-deps): Don't require $(lisp)/cus-load.el.
1634 (custom-deps, finder-data): Don't depend on autoloads.
1635 Should not be needed now, and doing so was causing make install to
1636 re-dump emacs post-bootstrap.
1637 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
1638 mid-build forces some things to be rebuilt.
1640 2008-06-05 Miles Bader <miles@gnu.org>
1643 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
1644 (face-remap-remove-relative): Renamed from
1645 `remove-relative-face-remapping'.
1646 (face-remap-reset-base): Renamed from
1647 `set-default-base-face-remapping'.
1648 (face-remap-set-base): Renamed from `set-base-face-remapping'.
1649 (text-scale-increase): Renamed from `increase-buffer-face-height'.
1650 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
1651 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
1653 * face-remap.el (variable-pitch-mode): Autoload.
1655 2008-06-04 Sam Steingold <sds@gnu.org>
1657 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
1658 Generate extra status headers for a Mercurial tree.
1660 2008-06-04 John Paul Wallington <jpw@pobox.com>
1662 * echistory.el (electric-history-map): Define within defvar.
1665 * font-lock.el (font-lock-turn-off-thing-lock)
1666 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
1667 Use `bound-and-true-p'.
1668 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
1671 * international/ccl.el (define-ccl-program): Add `doc-string'
1674 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
1676 * face-remap.el (variable-pitch-mode): Reflow docstrings.
1677 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
1679 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
1681 * emacs-lisp/rx.el (rx): Doc fix.
1683 2008-06-04 Markus Triska <markus.triska@gmx.at>
1685 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
1687 2008-06-04 Miles Bader <miles@gnu.org>
1689 * face-remap.el (adjust-buffer-face-height): New function.
1690 Add autoloaded keybindings in ctl-x-map.
1691 (increase-buffer-face-height, decrease-buffer-face-height):
1692 Simplify interactive spec to just "p". Remove autoloaded keybindings.
1694 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
1696 * simple.el (line-move-1): If we did not move as far as desired,
1697 ensure that point-left and point-entered hooks are called.
1699 2008-06-03 Sam Steingold <sds@gnu.org>
1701 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
1703 2008-06-03 John Paul Wallington <jpw@pobox.com>
1705 * progmodes/make-mode.el (makefile-cleanup-continuations)
1706 (makefile-warn-suspicious-lines, makefile-warn-continuations):
1707 Use `derived-mode-p'.
1709 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
1714 2008-06-03 Miles Bader <miles@gnu.org>
1716 * face-remap.el: New file.
1717 * Makefile.in (ELCFILES): Add face-remap.elc.
1719 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * progmodes/flymake.el (flymake-process-filter): Make sure the source
1724 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
1725 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
1726 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
1727 * obsolete/auto-show.el, obsolete/hscroll.el:
1728 Remove packages that were obsolete in Emacs-20, or that were obsolete
1729 in Emacs-21 and do not contain any more code.
1731 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
1732 vc-client-mode is not set.
1734 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
1735 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
1737 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
1738 yet a bit more clever at distinguishing / from /.
1740 2008-06-03 Kenichi Handa <handa@m17n.org>
1742 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
1744 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
1746 * language/hanja-util.el: New file.
1748 2008-06-03 Glenn Morris <rgm@gnu.org>
1750 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
1751 Check that end-of-word follows "type".
1753 2008-06-02 Daiki Ueno <ueno@unixuser.org>
1755 * epa-file.el (epa-file-write-region): Write the entire buffer
1756 content if START is nil.
1758 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
1760 * select.el (x-get-selection): Fix typo.
1762 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
1764 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
1765 (describe-char): Use `looking-at-p', `string-match-p' when possible.
1767 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * tar-mode.el (tar-header-block-summarize): Ensure one space around
1772 2008-05-31 John Paul Wallington <jpw@pobox.com>
1774 * help-fns.el (describe-variable-custom-version-info):
1775 Handle dotted `package-version' info.
1777 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
1779 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
1781 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
1783 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
1784 names and improve support for unregistered files.
1786 2008-05-31 Glenn Morris <rgm@gnu.org>
1788 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
1789 Remove shell variable `elc'. Split tests to hopefully be more portable.
1790 Fix `sel' assignment.
1792 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
1794 * minibuffer.el (completion-table-dynamic): Doc fix.
1796 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
1799 Try and return `unregistered' when applicable.
1801 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1802 Don't encourage naming variables with "-flag".
1804 2008-05-30 Glenn Morris <rgm@gnu.org>
1806 * Makefile.in (update-elclist): Hide the warning when it does not apply,
1807 make it milder when it does.
1808 (autogen-clean): New target.
1809 (maintainer-clean): Use autogen-clean.
1811 * calendar/diary-lib.el (diary-display-function): New name for
1812 diary-display-hook. Keep old name as obsolete alias. Doc fix.
1813 Change custom type and version.
1814 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
1815 (diary-fancy-display): Doc fixes.
1816 (diary-list-entries, diary-include-other-diary-files)
1817 (diary-mail-entries):
1818 Use diary-display-function rather than diary-display-hook.
1820 * calendar/appt.el (appt-check): Use diary-display-function rather than
1822 * calendar/cal-x.el (calendar-dedicate-diary): Update for
1823 diary-display-function replacing diary-display-hook.
1824 * org/org-agenda.el (org-get-entries-from-diary): Also set
1825 diary-display-function.
1827 * calendar/cal-html.el (cal-html-list-diary-entries):
1828 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
1829 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
1830 argument of diary-list-entries rather than setting diary-display-hook.
1832 2008-05-30 Kenichi Handa <handa@m17n.org>
1834 * international/mule-conf.el (utf-8-with-signature): Renamed from
1836 (utf-8-auto): Adjusted for the above change.
1838 * international/mule-diag.el (describe-font): Don't check fontset
1839 here, and just call font-info. Get the default font by from the
1842 2008-05-29 Kenichi Handa <handa@m17n.org>
1844 * international/mule-conf.el (utf-8-sig, utf-8-auto):
1847 * international/mule.el (define-coding-system): Accept :bom for utf-8.
1849 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
1851 * international/utf-7.el (utf-7-encode): Use the right escape char
1852 depending on imap/nonimap encoding.
1854 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1856 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
1858 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
1860 * icomplete.el (icomplete-prospects-height): Add :group.
1862 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * icomplete.el (icomplete-prospects-length): Make obsolete.
1865 (icomplete-prospects-height): New var.
1866 (icomplete-completions): Use it.
1868 2008-05-29 David Kastrup <dak@gnu.org>
1870 * autoinsert.el (auto-insert): Add :link.
1872 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * tar-mode.el (tar-header): New field `header-start'.
1875 (tar-header-block-tokenize): Set it when useful.
1876 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
1877 (tar-header-data-end): New function.
1878 (tar-summarize-buffer): Use it.
1879 (tar-next-line): Fix goal column for long usernames.
1880 (tar-expunge-internal): Use header-start.
1881 (tar-rename-entry): Handle ustar-style long names.
1882 (tar-alter-one-field): Add optional `descriptor' argument.
1883 (tar-subfile-save-buffer): Use it.
1885 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * tar-mode.el (tar-header): New field `header-start'.
1888 (tar-header-block-tokenize): Set header-start for longlink entries.
1889 (tar-expunge-internal): Use header-start to expunge longlink entries.
1891 * files.el (hack-local-variables): Don't signal an error if the local
1892 variable section is not properly terminated.
1894 * emacs-lisp/easymenu.el (easy-menu-convert-item)
1895 (easy-menu-convert-item-1): Move the duplicate-generation outside of
1896 the caching so it also works for identical entries.
1898 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
1899 (tar-mode): Use write-region-annotate-functions rather than
1900 write-contents-functions.
1901 (tar-extract): Remove unused var `pos'.
1902 (tar-subfile-save-buffer): Remove unused var `following-descs'.
1903 (tar-mode-write-file): Remove.
1904 (tar-write-region-annotate): New function.
1906 * progmodes/flymake.el (flymake-save-buffer-in-file):
1907 * shadowfile.el (shadow-copy-file):
1908 * arc-mode.el (archive-*-write-file-member):
1909 * files.el (diff-buffer-with-file):
1910 * subr.el (with-temp-file): Pass nil to write-region.
1911 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
1913 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
1916 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
1919 2008-05-28 Glenn Morris <rgm@gnu.org>
1921 * Makefile.in (update-elclist): Work around non-portability of "\"
1922 in various implementations of echo.
1924 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * international/mule-diag.el (describe-current-coding-system):
1927 Don't assume selection-coding-system is always defined.
1929 * tar-mode.el: Use defstruct and markers.
1931 (tar-header): Use defstruct. Add `data-start' field.
1932 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
1933 (tar-desc-data-start): Remove (now called tar-header-data-start).
1934 (tar-roundup-512): New fun.
1935 (tar-header-block-tokenize): Receive a buffer position rather than
1936 a string. Handle @longLink here, be more careful about it.
1937 Create a marker for data-start.
1938 (tar-summarize-buffer): Don't handle @LongLink here any more.
1939 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
1940 data-start on the following entries any more.
1941 (tar-chown-entry, tar-chgrp-entry): Use read-number.
1943 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
1944 (tar-header-offset): Remove.
1945 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
1946 Not permanent any more.
1947 (tar-data-buffer): New var.
1948 (tar-data-swapped-p, tar-change-major-mode-hook)
1949 (tar-mode-kill-buffer-hook): New funs.
1950 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
1951 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
1952 (tar-clear-modification-flags, tar-alter-one-field)
1953 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
1956 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
1958 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
1959 (vc-dir-resynch-file): ... this. Update callers.
1960 Use vc-string-prefix-p. Ignore directory args.
1961 (vc-string-prefix-p): CSE.
1962 (vc-resynch-buffer): Restore conditional.
1964 * vc-hooks.el (vc-after-save): Improve test.
1965 (vc-mode-line): Fix indentation.
1967 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
1969 * calendar/parse-time.el (parse-time-months)
1970 (parse-time-weekdays): Add long-form month and day names.
1972 2008-05-27 Glenn Morris <rgm@gnu.org>
1974 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
1976 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * vc-dispatcher.el (vc-string-prefix-p): New function.
1979 (vc-dir-parent-marked-p): Use it.
1981 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
1983 * vc.el (Problems): Remove fixed issues.
1984 (vc-expand-dirs): Avoid returning directories.
1985 (vc-dir): Fix C-x v v binding.
1986 (vc-make-backend-object): Fix name.
1987 (vc-dir-show-fileentry): Fix docstring.
1988 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
1989 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
1990 Reset the state for directories.
1991 (vc-dir-headers): Align labels.
1992 (vc-default-status-printer): Do no call prettify-state-info.
1993 (vc-deduce-fileset): Replace implementation with one based on a
1994 working older version.
1995 (vc-next-action): Use the new form of vc-deduce-fileset.
1996 Fix dealing with unregistered files.
1998 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
1999 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
2000 (vc-dir-child-files): New function.
2001 (vc-dir-node-directory): New function.
2002 (vc-dir-update, vc-dir-parent-marked-p)
2003 (vc-dir-children-marked-p, vc-dir-mark-all-files)
2004 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
2006 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
2008 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
2011 (diff-font-lock-keywords, diff-context->unified)
2012 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
2013 (diff-hunk-text, diff-find-source-location): Use it.
2014 (diff-post-command-hook): Let the user edit the hunk headers.
2016 2008-05-26 Andreas Schwab <schwab@suse.de>
2018 * vc.el (vc-default-prettify-state-info): Fix formatting of an
2021 * tar-mode.el (tar-summarize-buffer): Comment fix.
2023 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
2027 2008-05-26 Glenn Morris <rgm@gnu.org>
2029 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
2031 2008-05-25 John Paul Wallington <jpw@pobox.com>
2033 * proced.el (proced-next-line, proced-previous-line):
2034 Avoid calling `next-line' and `previous-line' from Lisp code.
2036 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
2038 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
2039 Use diary-ordinal-suffix.
2041 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
2043 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
2044 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
2045 (edebug-save-displayed-buffer-points, edebug-initial-mode)
2046 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
2047 (edebug-print-length, edebug-print-level, edebug-print-circle)
2048 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
2049 (edebug-global-break-condition, edebug-sit-for-seconds):
2050 Remove spurious * from defcustom docstrings.
2051 (edebug-unwrap*, edebug-signal, edebug-eval-display):
2052 Improve argument/docstring consistency.
2053 (edebug-test-coverage, edebug-gensym, edebug-read)
2054 (edebug-top-level-nonstop, edebug-eval-result-list)
2055 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
2056 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
2057 (edebug-display-freq-count): Reflow docstrings.
2058 (edebug-restore-status): Doc fix.
2060 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2062 * proced.el (proced-header-line): Use the :align-to 0 feature
2063 rather than computing the corresponding position manually.
2064 (proced-update): Don't hardcode point-min==1.
2066 2008-05-24 Alan Mackenzie <acm@muc.de>
2068 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
2069 if c-file-style is set to a non-string.
2071 (c-neutralize-CPP-line): Surround by `save-excursion'.
2072 (c-neutralize-syntax-in-CPP): Optimize for speed.
2074 2008-05-24 Glenn Morris <rgm@gnu.org>
2076 * Makefile.in (update-elclist): New target, to update ELCFILES.
2077 (bootstrap-after): Run update-elclist.
2079 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
2081 * icalendar.el (icalendar-version): Increase to "0.19".
2082 (icalendar--date-style): New function.
2083 (icalendar--datetime-to-diary-date): Doc fix.
2084 Use icalendar--date-style.
2085 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
2086 (icalendar--convert-yearly-to-ical)
2087 (icalendar--convert-recurring-to-diary): Handle iso date style,
2088 use icalendar-date-style.
2090 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
2092 * vc.el (vc-delete-file): Make sure the buffer is deleted and
2093 vc-dir buffers are updated.
2095 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2097 * vc.el (vc-delete-file): Don't try to resynch the buffer.
2099 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
2101 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
2102 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
2103 (reftex-extra-bindings): Use it.
2105 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
2106 away from the user-reserved keys.
2108 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
2110 (ada-create-keymap): Use them.
2112 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
2115 a properly-grouped regexp.
2117 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
2119 * progmodes/cap-words.el (capitalized-words-mode):
2120 Fix typos in docstring.
2122 2008-05-23 Kenichi Handa <handa@m17n.org>
2124 * international/mule-conf.el: Don't define the charset `emacs'
2125 here, just put :docstring, :short-name, and :long-name.
2127 2008-05-22 Kenichi Handa <handa@m17n.org>
2129 * international/mule-diag.el (font-show-log): Limit each listing
2132 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
2134 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
2135 (gdb-annotation-rules): New entry for "thread-changed".
2136 (gdb-thread-changed): New function.
2138 2008-05-23 Glenn Morris <rgm@gnu.org>
2140 * Makefile.in (SOURCES): Remove, unused.
2141 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
2142 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
2143 Exclude more '*loaddefs' files.
2144 (compile-always): Simplify '.elc' deletion.
2146 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
2149 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
2151 * minibuffer.el (completion-boundaries): Change calling
2152 convention, so `string' has the same semantics as in
2153 try-completion and all-completions.
2154 (completion-table-with-context, completion--embedded-envvar-table)
2155 (completion--file-name-table)
2156 (completion-pcm--find-all-completions): Adjust code accordingly.
2158 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
2160 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
2161 prune image-mode-winprops-alist, preventing it from growing
2163 (image-mode-reapply-winprops): Use it.
2165 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
2167 * net/netrc.el (netrc-machine): Always match if the port is not given.
2169 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * minibuffer.el (completion-pcm--find-all-completions):
2172 Don't add pseudo-completions.
2174 * icomplete.el (icomplete-eoinput): Remove.
2175 (icomplete-overlay): New var to replace it.
2176 (icomplete-tidy): Rewrite.
2177 (icomplete-exhibit): Use an overlay.
2178 (icomplete-completions): Use completion-all-sorted-completions.
2179 Obey completion-ignore-case.
2181 * files.el (locate-dominating-file): Accept non-existing argument.
2182 (project-find-settings-file): Rewrite, using locate-dominating-file.
2184 2008-05-22 Kenichi Handa <handa@m17n.org>
2186 * faces.el (font-weight-table, font-slant-table, font-width-table):
2187 Delete them. Don't call internal-set-font-style-table.
2189 * international/mule-diag.el (font-show-log): New function.
2191 * international/fontset.el (script-representative-chars): Add more
2192 chars for latin. Add data for symbol.
2193 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
2195 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * minibuffer.el (completion-all-sorted-completions): New var.
2198 (completion--flush-all-sorted-completions)
2199 (completion-all-sorted-completions): New functions.
2200 (minibuffer-force-complete): New command.
2202 2008-05-21 Glenn Morris <rgm@gnu.org>
2204 * files.el (c-postprocess-file-styles): Declare for compiler.
2206 * Makefile.in: Allow for parallel byte-compiling.
2207 (ELCFILES): New variable.
2208 (.el.elc): Remove prerequisites from suffix rule. Print a message.
2209 (compile-first, compile-main, compile-last): New targets.
2210 (compile-always): Simplify - delete .elc files, then `make compile'.
2212 * Makefile.in (compile-calc): Use glob rather than find.
2213 ($(lisp)/progmodes/cc-mode.elc): Use $@.
2215 * eshell/esh-module.el: No need for cl when compiling.
2217 * eshell/eshell.el (eshell-defgroup): New alias.
2218 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2219 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2220 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2221 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2222 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2223 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
2224 Autoload the custom group. Set generated-autoload-file.
2225 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
2226 for eshell-defgroup.
2227 * eshell/esh-module.el (eshell-load-defgroups): Remove.
2228 Require esh-groups rather than loading it.
2230 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2232 * proced.el (proced-header-line): New variable and new function.
2233 (proced-mode): Set header-line-format.
2234 (proced-update): Set proced-header-line.
2235 (proced-send-signal): Use proced-header-line.
2237 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * macros.el (insert-kbd-macro): Use prin1-char.
2241 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * minibuffer.el (completion-boundaries): New function.
2244 (completion--some): Delay errors.
2245 (complete-with-action, completion-table-with-context):
2246 Handle `boundaries' case.
2247 (completion--try-word-completion): Avoid partial-completion
2248 when the user hasn't entered anything yet.
2249 (minibuffer-local-map, minibuffer-local-filename-completion-map)
2250 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
2251 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
2252 Setup default keybindings.
2253 (completion--embedded-envvar-re): New var.
2254 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
2255 (completion--file-name-table): Handle `boundaries' case.
2256 (completion-pcm--pattern->regex): Avoid pathological backtracking.
2257 (completion-pcm--all-completions): Add a `prefix' arg.
2258 (completion-pcm--find-all-completions): New function.
2259 (completion-pcm-all-completions, completion-pcm-try-completion):
2262 * icomplete.el (icomplete-completions): Don't use `predicate' with
2263 a table of a different type than `candidates'.
2265 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2267 * proced.el (proced-goal-column): Rename from proced-procname-column.
2268 (proced-goal-header-re): Rename from proced-procname-column-regexp.
2269 (proced-move-to-goal-column): Rename from proced-move-to-procname.
2270 (proced-header-face, proced-header-regexp): Remove.
2271 (proced-font-lock-keywords): Remove proced-header-face.
2272 (proced-header-alist, proced-sorting-schemes-re): New variables.
2273 (proced): Rename Proced buffer to *Proced*.
2274 (proced-next-line, proced-previous-line): New commands.
2275 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
2276 (proced-hide-processes): Do not treat first line as special.
2277 (proced-header-space): New function.
2278 (proced-update): Use header-line-format.
2279 Initialize proced-header-alist and proced-sorting-schemes-re.
2280 Set proced-goal-column. Include proced-command in mode-name.
2281 (proced-send-signal): Use header-line-format for *Marked
2283 (proced-sort): Restrict minibuffer completion to applicable
2285 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
2287 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2289 * icomplete.el (icomplete-simple-completing-p):
2290 Allow icomplete-with-completion-tables to say "use it everywhere".
2291 (icomplete-completions): Obey completion-styles. Try to accommodate
2292 partial-completion style.
2294 2008-05-20 Michael Olson <mwolson@gnu.org>
2296 * files.el (project-find-settings-file): Change concat to
2299 2008-05-19 Tom Tromey <tromey@redhat.com>
2301 * files.el (normal-mode): Call hack-project-variables.
2302 (hack-local-variables-confirm): Add 'project' argument.
2303 (hack-local-variables-apply): New function.
2304 (hack-local-variables): Use it.
2305 (project-class-alist, project-directory-alist): New variables.
2306 (project-get-alist): New function.
2307 (project-collect-bindings-from-alist)
2308 (project-collect-binding-list, set-directory-project)
2309 (project-find-settings-file, project-define-from-project-file)
2310 (hack-project-variables): New functions.
2312 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
2316 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
2318 * faces.el (font-weight-table): Fix typo in docstring.
2320 2008-05-18 David Hull <david@snap.com> (tiny change)
2322 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
2323 (vc-hg-annotate-command): Allow white space before version number.
2325 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2327 * calc/calc-yank.el (calc-register-alist): New variable.
2328 (calc-set-register, calc-get-register, calc-copy-to-register)
2329 (calc-insert-register, calc-add-to-register, calc-append-to-register)
2330 (calc-prepend-to-register): New functions.
2332 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
2333 `calc-copy-to-register' and `calc-insert-register'.
2334 Autoload new register functions.
2336 * calc/calc-help.el (calc-r-prefix-help): Add help for register
2339 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
2341 * vc.el (Todo): Add known problems.
2342 (vc-dir-backend): New variable.
2344 (vc-make-backend-object, vc-generic-status-printer)
2345 (vc-generic-state, vc-generic-status-fileinfo-extra)
2346 (vc-dir-extra-menu): Use it.
2347 (vc-generic-dir-headers): Remove, unused.
2349 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
2350 vc-dir-prev-directory for consistency with vc-dir-previous-line.
2351 (vc-dir-mode-map): Fix bindings.
2353 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
2355 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2357 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
2359 (calc-kill-region): Kill entire lines.
2361 2008-05-17 Glenn Morris <rgm@gnu.org>
2363 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
2364 simplify initial value.
2365 (defezimage): Drop support for Emacs without defimage, use a featurep
2366 test rather than fboundp when defining, drop with-no-warnings.
2367 (ezimage-insert-over-text): Move featurep test inside
2368 add-text-properties.
2370 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
2372 * net/tramp.el (top-level): Load auth-source when compiling.
2374 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
2376 2008-05-17 Andreas Schwab <schwab@suse.de>
2378 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
2380 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
2382 * vc.el (vc-annotate-show-diff-revision-at-line): Change
2383 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
2385 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2387 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
2389 2008-05-17 Jim Meyering <meyering@redhat.com>
2391 * ido.el (ido-save-history): Do not emit a trailing newline at the
2392 end of the ido history file.
2394 2008-05-16 John Paul Wallington <jpw@pobox.com>
2396 * vc-dispatcher.el (top-level): Revert previous change: require cl
2399 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2401 * vc.el (vc-default-status-printer)
2402 (vc-default-prettify-state-info): Enhance the state prettyprinter
2403 to deal better with unknown states and indirect through it when
2404 painting vc-dir buffers.
2406 2008-05-16 John Paul Wallington <jpw@pobox.com>
2408 * vc-dispatcher.el (top-level): Don't require cl when compiling.
2409 (vc-dir-mode-map): Fix backquote.
2410 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
2412 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
2414 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
2415 Reported by Glenn Morris <rgm@gnu.org>.
2417 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2419 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
2420 the end of the file, it was good work at one time but has been
2421 stale since 1995 and may now be actively misleading.
2422 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
2423 CVS repository and module (assumptions for the latter a bit iffy).
2424 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
2427 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
2429 * vc-rcs.el (vc-rcs-create-tag):
2430 * vc-sccs.el (vc-sccs-create-tag):
2431 Fix typo in error message and pass backend arg.
2433 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
2435 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
2437 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
2439 * net/tramp.el: Load auth-source library.
2440 (tramp-read-passwd): Use it for password, not login.
2442 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
2444 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
2445 (ses-print-cell): Use string-width, truncate-string-to-width,
2446 delete-region rather than length, substring, delete-char.
2447 (ses-setup): Set inhibit-point-motion-hooks to t.
2448 Calculate position by actually moving point rather than just using
2449 unibyte character length.
2450 (ses-mode): Set indent-tabs-mode to nil.
2451 (ses-center): Use string-width rather than length.
2453 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
2455 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
2456 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
2457 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
2458 vc-*-create-tag and vc-*-retrieve-tag respectively.
2460 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
2463 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
2465 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
2468 2008-05-15 Glenn Morris <rgm@gnu.org>
2470 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
2472 * org/org-exp.el (org-infojs-options-inbuffer-template):
2475 * progmodes/cc-mode.el (declare-function): Add compat definition.
2476 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
2478 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
2480 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
2481 list to a cons so the caller can get back both expanded and
2482 unexpanded filesets.
2483 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
2484 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
2485 Change handling of selection-set returns as required.
2487 2008-05-15 John Paul Wallington <jpw@pobox.com>
2489 * add-log.el (top-level): Don't require cl when compiling.
2491 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
2492 (archive-*-extract): Use `zerop'.
2493 (archive-*-write-file-member): Use `or', use `zerop'.
2495 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
2497 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
2498 (ibuffer-mark-interactive, ibuffer-set-mark)
2499 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
2500 (ibuffer-map-lines, ibuffer-switch-format)
2501 (ibuffer-update-title-and-summary)
2502 (ibuffer-redisplay-engine): Use it.
2504 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
2505 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
2506 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
2507 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
2508 (ibuffer-mark-read-only-buffers)
2509 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
2511 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
2512 (define-ibuffer-column, define-ibuffer-sorter)
2513 (define-ibuffer-op, define-ibuffer-filter): Add declarations
2514 containing indentation specs, replacing equivalent top-level
2515 forms that set `lisp-indent-function' properties.
2516 (define-ibuffer-op): Use `derived-mode-p'.
2517 (define-ibuffer-filter): Remove redundant `concat' call.
2519 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
2521 * net/tramp.el (tramp-echo-mark): Update docstring.
2522 (tramp-echo-mark-marker): New defconst.
2523 (tramp-check-for-regexp): Use it.
2525 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
2527 * vc.el (vc-deduce-fileset): Do the right thing when visting a
2528 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
2531 2008-05-14 John Paul Wallington <jpw@pobox.com>
2533 * international/mule.el (convert-define-charset-argument):
2534 Remove period from end of error message.
2535 (coding-system-mnemonic): Doc fix.
2536 (ctext-pre-write-conversion): Doc fix.
2538 2008-05-14 Simon Marshall <simon@gnu.org>
2540 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
2541 from its default value and give it the risky-local-variable
2542 property (CVE-2008-2142).
2544 2008-05-14 Kenichi Handa <handa@m17n.org>
2546 * language/korean.el ("Korean"): Set `iso639-language'
2549 * language/japanese.el ("Japanese"): Set `iso639-language'
2552 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2553 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
2554 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
2556 * international/mule-cmds.el (set-language-environment):
2557 Set current-iso639-language.
2559 * international/fontset.el (setup-default-fontset): For kana, han,
2560 hangul, and cjk-misc, move an entry with font-spec at the end.
2561 (generate-fontset-menu): Exclue fontset-auto* from the list.
2563 * composite.el (compose-chars-after): Assume that WINDOW is always
2566 * faces.el (font-weight-table, font-slant-table)
2567 (font-swidth-table): Declare them by defconst. Change the format
2568 of elements. Call internal-set-font-style-table after their
2570 (face-valid-attribute-values): Call font-family-list. Get values
2571 for width, weight, and slant from font-xxx-table.
2573 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
2575 2008-05-13 John Paul Wallington <jpw@pobox.com>
2577 * ibuffer.el (ibuffer-buffer-file-name): New function.
2578 (define-ibuffer-column filename): Use it.
2580 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
2582 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
2584 * talk.el (talk): Simplify. Pass display arg to talk-add-display
2586 (talk-add-display): Simplify. Accept only string args.
2588 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
2590 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
2592 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2594 * Makefile.in (bootstrap-prepare): Don't chmod files.
2595 (autoloads): Do it here instead, where it's actually needed.
2597 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
2599 * tool-bar.el (tool-bar-make-keymap): Account for the optional
2600 KEY-BINDING-DATA field in menu-item list.
2602 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * dired.el (dired-read-dir-and-switches): Move things about to use less
2605 recursion during macroexpansion.
2607 * dired.el (dired-read-dir-and-switches): Use read-file-name.
2609 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
2610 completion-ignored-extension directories if there's something else.
2611 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
2612 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
2613 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
2614 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
2615 buffer-read-only -> inhibit-read-only.
2617 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
2619 * vc.el (vc-expand-dirs): Stop this function from tossing out
2620 explicitly specified files.
2622 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
2627 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
2629 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
2630 cons. Use vc-annotate-backend.
2631 (with-vc-file, edit-vc-file): Remove unused macros.
2633 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
2635 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
2636 (smtpmail-try-auth-methods): Use it.
2638 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
2641 (setf (nthcdr ..) ..) doesn't require CL at runtime.
2643 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
2645 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
2647 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
2650 (vc-bzr-revision-completion-table): Use process-file.
2651 (vc-bzr-working-revision): Pass relative file names.
2653 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
2655 2008-05-11 Juri Linkov <juri@jurta.org>
2657 * wid-edit.el (widget-image-directory): Change default image data
2658 subdirectory from "custom" to "images/custom".
2660 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
2661 before recursive call to `Info-next-preorder' to not add
2662 intermediate nodes to the history.
2664 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
2666 * emulation/cua-base.el: Put isearch-scroll property
2667 on cua-scroll-up and cua-scroll-down.
2669 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
2671 * vc-hooks.el (vc-recompute-state): Remove (dead code).
2673 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
2675 * vc-dispatcher.el (ewoc): Require.
2676 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
2678 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
2680 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
2682 * term/w32-win.el (x-colors):
2683 * term/mac-win.el (x-colors):
2684 * term/x-win.el (x-colors): Re-order colors.
2686 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
2688 * smerge-mode.el (smerge-command-prefix): Fix custom type.
2690 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
2692 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
2693 New functions implementing motion to next and previous directory.
2695 * vc-arch.el (vc-arch-command):
2696 * vc-bzr.el (vc-bzr-command):
2697 * vc-cvs.el (vc-cvs-command):
2698 * vc-dispatcher.el (vc-do-command):
2699 * vc-git.el (vc-git-command):
2700 * vc-hg.el (vc-hg-command):
2701 * vc-mcvs.el (vc-mvcs-command):
2702 * vc-mtn.el (vc-mtn-command):
2703 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
2704 (vc-sccs-workfile-unchanged-p):
2705 * vc-svn.el (vc-svn-command, vc-svn-create-repo):
2706 * vc-rcs.el (all methods): Remove assumption about what a nil
2707 argument to vc-do-command means. This means no buffer name needs
2708 to be hardcoded into the dispatcher layer, and it's better to be
2711 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
2713 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
2715 * vc.el: Update todo.
2717 * vc-sccs.el (vc-sccs-dir-status):
2718 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
2719 backends and returning up to date files.
2721 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
2723 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2726 * vc-hooks.el: Tweak the VC directory bindings. These are now
2727 documented in the manual.
2729 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
2730 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
2731 (vc-dispatcher-selection-set): Allow callers to pass in an
2732 observer flag that says no buffer sync is required.
2733 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
2734 Use the observer flag.
2736 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
2738 * simple.el (start-file-process): Clarify docstring.
2740 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2742 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
2743 Remove stub implementations of, and references to, wash-log.
2744 * vc-rcs.el (vc-rcs-comment-history):
2745 * vc-cvs.el (vc-cvs-comment-history):
2746 Inline the code that used to be wash-log.
2748 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
2749 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2750 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
2751 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
2752 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
2753 (vc-rcs-print-log): Grok directories.
2755 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2757 * vc.el (vc-mark-resolved): Add `backend' argument.
2758 (vc-next-action): Pass it the backend.
2759 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
2760 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
2761 (vc-default-comment-history, vc-default-create-snapshot)
2762 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
2763 (vc-annotate-revision-previous-to-line)
2764 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
2765 * vc-svn.el (vc-svn-checkout):
2766 * vc-mcvs.el (vc-mcvs-checkout):
2767 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
2768 (vc-working-revision, vc-before-save, vc-mode-line):
2769 Prefer vc-call-backend to vc-call so as not to recompute the backend.
2771 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
2772 state to be consistent since it's often an unwarranted restriction.
2773 Don't return the state either.
2774 (vc-next-action): Check that the state is consistent.
2775 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
2776 (vc-rollback, vc-update): Adapt to new return value of
2779 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
2780 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
2781 (vc-dispatcher-in-fileset-p): New fun.
2782 (vc-dispatcher-selection-set): Use it to properly handle directories.
2784 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
2786 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
2787 (vc-update): Remove unused let bindings.
2789 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2791 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
2792 (vc-diff, vc-revert, vc-rollback, vc-update):
2793 * vc-dispatcher.el (vc-dispatcher-selection-set):
2794 Get rid of 4 special cases in fileset selection. This involved
2795 changing the return value of (vc-deduce-fileset) so that it passes
2796 back a deduced state as well as a deduced back end.
2798 2008-05-08 Sam Steingold <sds@gnu.org>
2800 * progmodes/compile.el (compilation-minor-mode-map)
2801 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
2802 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
2803 to `compilation-minor-mode-map' (instead of an explicit `cons').
2805 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
2807 * org/org.el (org-modules, org-format-latex-options):
2808 * org/org-archive.el (org-archive-stamp-time)
2809 (org-archive-save-context-info):
2810 * org/org-faces.el (org-hide):
2811 * org/org-irc.el (org-irc-parse-link):
2812 * org/org-macs.el (org-call-with-arg, org-autoload):
2813 * org/org-mew.el (org-mew-store-link):
2814 * org/org-remember.el (org-remember-store-without-prompt)
2815 (org-remember-templates): Fix typos in docstrings.
2817 * org/org-info.el (org-info-store-link): Remove leftover docstring.
2819 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2820 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2821 (org-bbdb-anniv-split): Fix typos in docstrings.
2823 * org/org-publish.el (org-publish-project-alist): Doc fixes.
2824 (org-publish-use-timestamps-flag): Reflow docstring.
2825 (org-publish-files-alist): Fix typos in docstring.
2827 2008-05-07 Sam Steingold <sds@gnu.org>
2829 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
2830 appears to be too aggressive with window removal.
2832 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
2834 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
2836 (verilog-pretty-expr): Support lining up assignments which include
2838 (verilog-mode): More portable check for the availability of
2840 (verilog-do-indent): Remove special indent for declarations inside
2841 a parenthetical list. The code is ill-advised, and doesn't work
2842 given the new user defined types.
2843 (verilog-set-auto-endcomments): Enhance function automatic
2844 endcomment to support functions that return user defined types.
2845 (verilog-mode): Add code to tell which-function-mode minor mode
2846 that Verilog supports this feature.
2848 2008-05-08 Eli Zaretskii <eliz@gnu.org>
2850 * epa-file.el: Require epa-hook.
2852 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
2854 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
2855 file-names clashes on 8+3 filesystems. Provide epa-hook.
2857 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
2858 file-names clashes on 8+3 filesystems.
2860 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
2862 * org/org.el (org-read-date-get-relative): Interpret lone
2863 weekday abbreviation as relative to today.
2865 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
2867 * abbrev.el (define-abbrev-table):
2868 * composite.el (toggle-auto-composition):
2869 * json.el (json-alist-p, json-plist-p):
2870 * minibuffer.el (completion-table-with-predicate):
2871 * ps-mule.el (ps-mule-external-libraries):
2872 * emacs-lisp/advice.el (ad-special-form-p):
2873 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2874 * eshell/em-smart.el (eshell-review-quick-commands):
2875 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
2876 (python-skip-out, python-check-comint-prompt):
2877 Don't use `iff' in docstrings.
2879 * international/robin.el (robin-package-alist): Fix typo in docstring.
2880 (robin-current-package-name): Doc fix.
2881 (robin-activate): Don't use `iff' in docstring.
2883 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
2885 * vc.el, vc-dispatcher.el: VC-Dired support removed.
2886 The code uses a ewoc-based implementation now.
2887 * vc-hooks.el: Support for Meta-CVS has been removed.
2889 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * tool-bar.el: Choose images dynamically.
2892 (tool-bar-make-keymap, tool-bar-find-image): New function.
2893 (tool-bar-find-image-cache): New var.
2894 (tool-bar-local-item, tool-bar-local-item-from-menu):
2895 Don't select the image yet, do it later in tool-bar-make-keymap.
2897 2008-05-07 Andreas Schwab <schwab@suse.de>
2899 * window.el: Require 'cl when compiling.
2901 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
2903 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
2905 2008-05-07 Glenn Morris <rgm@gnu.org>
2907 * subr.el (ignore-errors): Move here from cl-macs.el.
2908 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
2910 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
2913 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
2915 * vc-hooks.el (vc-find-file-hook):
2916 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
2918 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
2920 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
2922 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
2923 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
2924 (verilog-auto-inout, verilog-auto-inout-module)
2925 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
2926 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2927 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
2928 (verilog-auto-sense-sigs, verilog-auto-tieoff)
2929 (verilog-auto-unused, verilog-auto-wire)
2930 (verilog-decls-get-assigns, verilog-decls-get-consts)
2931 (verilog-decls-get-gparams, verilog-decls-get-inouts)
2932 (verilog-decls-get-inputs, verilog-decls-get-outputs)
2933 (verilog-decls-get-ports, verilog-decls-get-regs)
2934 (verilog-decls-get-signals, verilog-decls-get-wires)
2935 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
2936 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
2937 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
2938 (verilog-inject-sense, verilog-library-filenames)
2939 (verilog-mode-release-date, verilog-mode-version)
2940 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
2941 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
2942 (verilog-modi-get-assigns, verilog-modi-get-consts)
2943 (verilog-modi-get-gparams, verilog-modi-get-inouts)
2944 (verilog-modi-get-inputs, verilog-modi-get-outputs)
2945 (verilog-modi-get-ports, verilog-modi-get-regs)
2946 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
2947 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
2948 (verilog-modi-get-wires, verilog-preserve-cache)
2949 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
2950 (verilog-read-sub-decls, verilog-read-sub-decls-line)
2951 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
2952 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
2953 Add caching of additional state, and rework signal extraction
2954 routines to improve AUTO expansion performance by 300%++.
2956 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
2958 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2959 Tweak Open Watcom regexp to distinguish between errors and warnings.
2961 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * dired.el (dired-read-dir-and-switches): Fix up last change.
2965 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
2967 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
2968 out of this function, move it to vc-dispatcher-selection-set.
2970 2008-05-05 Sam Steingold <sds@gnu.org>
2972 * window.el (delete-other-windows-vertically): New function.
2974 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * dired.el (dired-read-dir-and-switches):
2977 Obey read-file-name-completion-ignore-case.
2979 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
2981 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2982 Add regexp for Open Watcom compiler output.
2984 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
2986 * progmodes/python.el (python-block-pairs): Align finally with except.
2988 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
2992 2008-05-05 Tom Tromey <tromey@redhat.com>
2994 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
2995 looking at conflict marker.
2997 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
3000 client-mode -> vc-client-object, and guess `funcall' was meant.
3001 (vc-dir-mode): Rename client-mode -> vc-client-mode.
3003 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
3005 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
3006 (dbus-debug): Move declarations outside eval-when-compile.
3008 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3010 * proced.el (proced-command-alist): Fix system-type values.
3012 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
3013 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
3014 (proced-sort-start, proced-sort, proced-sort-time): New commands.
3015 (proced-update): Use proced-sorting-scheme. Update modeline.
3016 (proced-send-signal): Use nreverse.
3017 (proced-sorting-scheme-p): New function.
3019 2008-05-04 Andreas Schwab <schwab@suse.de>
3021 * vc.el: Require dired when compiling.
3023 * minibuffer.el (completion--insert-strings): Don't delete past bol.
3025 2008-05-03 Glenn Morris <rgm@gnu.org>
3027 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
3028 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
3029 Simplify compilation requirements.
3030 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
3033 2008-05-03 Dave Love <fx@gnu.org>
3035 * progmodes/python.el (python-beginning-of-statement):
3036 Loop at least once (fixes 2008-02-21 change).
3038 2008-05-03 Eli Zaretskii <eliz@gnu.org>
3040 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
3041 instead of `length' for comparing length of user and group names.
3043 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
3045 * vc-dispatcher.el: New file, separates out the UI and command
3046 execution machinery from VCS-specific logic left in vc.el.
3047 The separation is not yet completely clean, but it's a good start.
3048 * vc.el: This file is about 1700 lines shorter now.
3049 Remove obsolete logentry-check from the backend API.
3050 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
3051 implementation of the logentry-check method, and it guarded against
3052 a log length limit that has probably been obsolete for 15 years (!).
3054 2008-05-02 Sam Steingold <sds@gnu.org>
3056 * progmodes/compile.el (compilation-start): Move setting of
3057 compilation-directory after (funcall mode) as that resets local
3058 variables, this fixes recompile in grep buffers.
3059 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
3061 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
3063 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
3064 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
3065 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
3066 has one of these and that all are called in compatible ways.
3067 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
3068 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
3069 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
3070 backend has one of these.
3072 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
3075 initialization into define-abbrev-table. Use :regexp.
3076 (octave-mode-syntax-table): Don't set word syntax for `.
3078 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
3081 * dired.el (dired-read-dir-and-switches):
3082 Set minibuffer-completing-file-name and call substitute-in-file-name.
3083 (dired-format-columns-of-files): Use completion--insert-strings.
3085 * minibuffer.el (completion-hilit-commonality): Revert last change:
3086 the leftover code was actually useful.
3087 (completion--insert-strings): Use string-width rather than length.
3089 2008-05-02 Sam Steingold <sds@gnu.org>
3091 * vc.el (vc-dir-mode-map): Enable mouse bindings.
3092 (vc-at-event): New macro: run the body at the even location.
3093 (vc-dir-menu, vc-dir-toggle-mark): Use it.
3094 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
3095 * subr.el (mouse-event-p): Check if the even is mouse-related.
3097 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
3099 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
3100 Don't throw error if no file is found.
3102 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
3104 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
3105 (vc-default-state-heuristic): Doc fix.
3107 2008-05-02 Richard Sharman <rsharman@pobox.com>
3109 * hilit-chg.el (highlight-changes-mode): Remove references to
3110 hooks that no longer exist. Because define-minor-mode is used the
3111 hook highlight-changes-mode-hook exists and can do what both the
3112 old hooks used to do. The documentation at the top of the file
3113 was updated to demonstrate this.
3114 (highlight-changes-mode): Remove commented out call to a hook
3115 function that is no longer there.
3116 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
3118 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
3120 * vc.el (vc-default-dired-state-info): Change name of primitive
3121 to prettify-state-info, in preparation for ripping out dired mode.
3122 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
3123 to prettify-state-info, in preparation for ripping out dired mode.
3124 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
3125 tries this on a version-controlled buffer. It will do useless or
3126 actively bad things on any version control system newer than RCS.
3127 * vc-hooks.el (vc-dired-resynch-file):
3128 * vc.el (vc-dired-resynch-file): Change name of primitive to
3129 vc-directory-resynch-file, preparing to remove dired.
3131 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
3133 * vc-rcs.el (vc-rcs-state): Fix typos.
3135 * vc.el (vc-register): Change argument order so that the prefix
3136 argument is assigned correctly.
3137 (vc-next-action, vc-dir-register): Update for the above change.
3139 2008-05-01 Juri Linkov <juri@jurta.org>
3141 * replace.el (occur-read-primary-args): Set default to the car of
3142 regexp-history and display it in the prompt, but don't add to the
3143 list of minibuffer defaults. Bind history-add-new-input to nil to
3144 not add automatically `default'. For empty input return `default'.
3145 Otherwise, add `input' to regexp-history and return it.
3146 (occur-1): Signal an error for the empty regexp.
3148 * progmodes/compile.el (compilation-auto-jump):
3149 Set window point to `pos' explicitly.
3151 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
3153 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
3155 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
3156 we report the 'unregistered state reliably.
3157 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
3158 we report the 'unregistered state reliably.
3159 * vc-git.el (vc-git-state): Call vc-git-unregistered so
3160 we report the 'unregistered state reliably.
3161 * vc-hooks (vc-state): Document that vc-unregistered is
3162 now expected to be returned reliably.
3163 * vc.el (vc-default-dired-state): Change needs-patch state to
3164 needs-update, since the name now shows up in dir-status listings
3165 and was somewhat misleading.
3166 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
3167 immediately after removing the file.
3168 * vc.el (vc-next-action): More informative messages when a fileset
3169 is in a mixed state or files are missing.
3171 2008-05-01 Sam Steingold <sds@gnu.org>
3173 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
3175 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
3179 2008-05-01 Daiki Ueno <ueno@unixuser.org>
3181 * epa-file-hook.el: New file split from epa-file.el.
3182 * epa-file.el: Require 'epa-file-hook.
3183 (epa-file-handler): Add autoload cookie.
3184 * loadup.el: Load epa-file-hook.
3185 * startup.el (command-line): Eval the body of auto-encryption-mode.
3187 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
3189 * vc.el (vc-dir-mode-map): Don't bind "r".
3191 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
3192 (vc-hg-status-printer): New function.
3193 (vc-hg-after-dir-status): Deal with copied and renamed files.
3194 (vc-hg-dir-status): Add flag to show copied files.
3196 2008-05-01 John Paul Wallington <jpw@pobox.com>
3198 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
3199 (ibuffer-do-sort-by-recency): Reverse sorting order if last
3200 sorting mode was recency.
3202 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
3203 reverse sorting order if last sorting mode was the sorter's.
3205 2008-05-01 Jason Rumney <jasonr@gnu.org>
3207 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
3209 2008-04-30 John Paul Wallington <jpw@pobox.com>
3211 * ibuffer.el (define-ibuffer-column filename): When the major mode
3212 is `vc-dir-mode' show the buffer's default directory.
3214 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
3215 major mode is `vc-dir-mode' use the buffer's default directory.
3217 2008-04-30 Sam Steingold <sds@gnu.org>
3219 * vc.el (vc-dir-delete-file): Add.
3220 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
3221 (vc-delete-file): Do not barf when the file has been already deleted.
3223 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3225 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
3227 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3229 * progmodes/octave-mod.el (octave-help): New function.
3230 * progmodes/octave-hlp.el: Delete.
3231 * info-look.el (octave-mode): Add operator index.
3233 * vc.el (vc-checkout): Typo.
3235 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3237 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
3238 Add "..." in the appropriate places.
3240 * epa.el (epa-key-list-mode-map): Add more menu entries.
3241 Add "..." in the appropriate places.
3243 * dired.el (dired-mode-map): Add :help.
3245 * vc.el (vc-deduce-fileset): Add new parameter.
3246 (vc-dir-marked-only-files): New function.
3247 (vc-next-action): Don't ignore directories, look at the files
3249 (vc-dir-mode): Document how the mark/unmark commands work.
3251 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3253 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
3254 Rule out trailing spaces in file and directory names as well.
3256 * minibuffer.el (completion--do-completion): Move point even if the
3257 completion makes no change.
3258 (completion-pcm-try-completion): Fix computation of new point.
3260 2008-04-30 David Hansen <david.hansen@gmx.net>
3262 * dired.el: Require 'cl.
3264 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
3266 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
3267 hollow if not in innermost frame.
3269 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3271 Make `checkout-model' apply to filesets.
3272 * vc-hooks.el (vc-checkout-model): Rewrite.
3273 (vc-before-save, vc-after-save): Adjust callers accordingly.
3274 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
3275 (vc-transfer-file): Adjust callers accordingly.
3276 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
3277 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
3278 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
3279 instead of vc-checkout-model.
3280 * vc-mcvs.el (vc-mcvs-revert):
3281 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
3282 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
3283 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
3284 * vc-svn.el (vc-svn-checkout-model):
3285 * vc-hg.el (vc-hg-checkout-model):
3286 * vc-git.el (vc-git-checkout-model):
3287 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
3289 * dired.el (dired-read-dir-and-switches): Replace last change with
3290 a new approach that mixes read-file-name and read-directory-name.
3292 * files.el (read-buffer-to-switch):
3293 Avoid making assumptions about `other-buffer'.
3295 2008-04-29 Sam Steingold <sds@gnu.org>
3297 * vc.el (vc-dir-mode-hook): Add normal hook.
3298 (vc-dir-mode): Run it.
3300 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3302 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
3303 Always split windows.
3304 (gdb-speedbar-timer-fn): Only raise frame after user input.
3305 (gdb-same-frame): Reverse initial value.
3306 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
3308 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
3309 gdb-speedbar-timer-fn.
3311 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
3315 2008-04-29 Daiki Ueno <ueno@unixuser.org>
3317 * epa.el (epa-key-list-mode-map): Add menu.
3318 (epa-delete-keys, epa-import-keys): Fix typo.
3320 2008-04-29 Glenn Morris <rgm@gnu.org>
3322 * find-cmd.el (top-level): Does not need cl when compiling.
3324 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
3326 * find-cmd.el: New file.
3328 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3330 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
3331 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
3332 (completion-pcm--hilit-commonality): New function.
3333 (completion-pcm-all-completions): Use it.
3335 * minibuffer.el (completion-common-substring): Mark obsolete.
3336 (completions-first-difference, completions-common-part):
3337 Move from simple.el.
3338 (completion-hilit-commonality): New fun.
3339 (display-completion-list, completion-emacs21-all-completions)
3340 (completion-emacs22-all-completions): Use it.
3341 * simple.el (completions-first-difference, completions-common-part):
3342 Move to minibuffer.el.
3343 (choose-completion-string): Use field functions and minibufferp.
3344 (completion-setup-function): Don't set completions faces.
3346 2008-04-29 Glenn Morris <rgm@gnu.org>
3348 * calendar/calendar.el (calendar-nth-named-absday)
3349 (calendar-nth-named-day):
3350 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
3351 * calendar/holidays.el (holiday-float): Doc fixes.
3353 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
3356 * org/org-agenda.el (calendar-iso-from-absolute):
3357 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
3360 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
3362 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
3363 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
3364 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
3365 (gdb-assembler-custom): Be careful not to match other addresses.
3367 2008-04-29 Jason Rumney <jasonr@gnu.org>
3369 * battery.el (battery-status-function): Use w32-battery-status
3371 (battery-echo-area-format): Make apm format the general case.
3372 (battery-mode-line-format): Merge apm and pmset formats as the
3375 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3377 * progmodes/gdb-ui.el (gdb-info-stack-custom):
3378 Use gud-tool-bar-item-visible-no-fringe.
3379 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
3380 is already visible in frame. Remove optional size parameter
3381 and add optional frame parameter.
3383 * progmodes/gud.el (gud-display-line): Only consider visible
3384 frames when looking for source buffer.
3386 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
3388 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
3389 argument to get-char-property, in case the current buffer hasn't
3390 been assigned to that window yet.
3391 (doc-view-display): Default to selected window if the current
3392 buffer hasn't been assigned to a window yet.
3394 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
3396 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
3398 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
3400 * net/tramp.el (tramp-mode): New defcustom.
3401 (tramp-file-name-handler, tramp-completion-file-name-handler):
3403 (tramp-replace-environment-variables): Handle "$$".
3405 2008-04-28 Sam Steingold <sds@gnu.org>
3407 * vc-hg.el (vc-hg-rename-file): Fix argument order.
3409 2008-04-28 Bastien Guerry <bzg@altern.org>
3411 * whitespace.el (whitespace-trailing): Fix typo.
3413 2008-04-28 Sam Steingold <sds@gnu.org>
3415 * textmodes/remember.el (diary-make-entry): Update the autoload.
3417 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3419 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
3422 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
3424 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
3426 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
3428 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
3429 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
3430 (vc-dir-mark-file): Add an optional argument.
3431 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
3433 2008-04-27 Daiki Ueno <ueno@unixuser.org>
3435 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
3436 rather than obsolete alias find-file-hooks.
3437 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
3438 Use find-file-hook rather than obsolete alias find-file-hooks.
3439 Add to find-file-not-found-functions.
3440 (epa-file-handler): Put 'safe-magic and 'operations properties.
3442 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
3443 (epa-menu-items): Remove.
3445 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
3446 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
3447 (epa-dired-mode, epa-global-dired-mode): Remove.
3449 * dired.el (dired-mode-map): Bind encryption/decryption commands.
3451 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
3453 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
3455 2008-04-27 Glenn Morris <rgm@gnu.org>
3457 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
3458 Remove un-needed local `orig-list'. Replace cl `copy-list'.
3460 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
3462 * org/org.el (org-html-level-start): Always have id's in HTML.
3463 (org-export-as-html): Use `org-link-protocols' to
3464 retrieve the export form of the link.
3465 (org-add-link-type): Final parameter renamed from PUBLISH.
3466 Better documentation of how it is to be used. Avoid double entries for
3468 (org-add-link-props): New function.
3469 (org-modules-loaded): New variable.
3470 (org-load-modules-maybe, org-set-modules): New function.
3471 (org-modules): New option.
3472 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
3473 (orgtbl-mode, org-store-link, org-insert-link-global)
3474 (org-open-at-point): Call `org-load-modules-maybe'.
3475 (org-search-view): Add more text properties.
3476 (org-agenda-schedule, org-agenda-deadline): Allow also in
3477 search-type agendas.
3478 (org-search-view): Order of arguments has been changed.
3479 Interpret prefix-arg as TODO-ONLY.
3480 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
3481 Take new argument order of `org-search-view' into account.
3482 (org-todo-only): New variable.
3483 (org-search-syntax-table): New variable and function.
3484 (org-search-view): Do the search with the special syntax table.
3485 (define-obsolete-function-alias): Make work with XEmacs.
3486 (org-add-planning-info): Use old date as default when modifying an
3487 existing deadline or scheduled item.
3488 (org-agenda-compute-time-span): Make argument N optional.
3489 (org-agenda-format-date-aligned): Require `cal-iso'.
3490 (org-agenda-list): Include week into agenda heading, don't
3491 list it at each date (only on Mondays).
3492 (org-read-date-analyze): Define local variable `iso-date'.
3493 (org-agenda-format-date-aligned): Remove dependency on
3494 `calendar-time-from-absolute'.
3495 (org-remember-apply-template, org-go-to-remember-target):
3496 Interpret filenames relative to `org-directory'.
3497 (org-complete): Silently fail when trying to complete
3498 keywords that don't have a default value.
3499 (org-get-current-options): Add a #+DATE: option.
3500 (org-additional-option-like-keywords): Remove "DATE:" from the
3501 list of additional keywords.
3502 (org-export-as-html): Remove (current-time) as unnecessary second
3503 argument of `format-time-string'.
3504 (org-clock-find-position): Handle special case at end of buffer.
3505 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
3506 `org-agenda-change-time-span'.
3507 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
3508 `org-agenda-change-time-span'.
3509 (org-agenda-month-view): New argument MONTH, pass it on to
3510 `org-agenda-change-time-span'.
3511 (org-agenda-year-view): New argument YEAR, pass it on to
3512 `org-agenda-change-time-span'.
3513 (org-agenda-change-time-span): New optional argument N, pass it on
3514 to `org-agenda-compute-time-span'.
3515 (org-agenda-compute-time-span): New argument N, interpret it by
3516 changing the starting day.
3517 (org-small-year-to-year): New function.
3518 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
3519 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
3520 into the future, and that the shift is at least one interval, never 0.
3521 (org-update-checkbox-count): Fix bug with checkbox counting.
3522 (org-add-note): New command.
3523 (org-add-log-setup): Rename from `org-add-log-maybe'.
3524 (org-log-note-headings): New entry for plain notes (i.e. notes not
3525 related to state changes or clocking).
3526 (org-get-org-file): Check for availability of `remember-data-file'.
3527 (org-cached-entry-get): Allow a regexp value for
3528 `org-use-property-inheritance'.
3529 (org-use-property-inheritance): Allow regexp value. Fix bug in
3531 (org-use-tag-inheritance): Allow a list and a regexp value for
3533 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
3534 (org-entry-get): Respect value `selective' for the INHERIT argument.
3535 (org-tag-inherit-p, org-property-inherit-p): New functions.
3536 (org-agenda-format-date-aligned): Allow 10 characters for
3537 weekday, to acomodate German locale.
3538 (org-add-archive-files): New function.
3539 (org-agenda-files): New argument `ext', to get archive files as well.
3540 (org-tbl-menu): Protect the use of variables that
3541 are only available when org-table.el gets loaded.
3542 (org-read-agenda-file-list): Error if `org-agenda-files' is a
3544 (org-open-file): Allow a batch process to trigger
3545 waiting after executing a system command.
3546 (org-store-link): Link to headline when there is not
3547 target and no region in an org-mode buffer when creating a link.
3548 (org-link-types-re): New variable.
3549 (org-make-link-regexps): Compute `org-link-types-re'.
3550 (org-make-link-description-function): New option.
3551 (org-agenda-date, org-agenda-date-weekend): New faces.
3552 (org-archive-sibling-heading): New option.
3553 (org-archive-to-archive-sibling): New function.
3554 (org-iswitchb): New command.
3555 (org-buffer-list): New function.
3556 (org-agenda-columns): Also try the #+COLUMNS line in
3557 the buffer associated with the entry at point (or with the first
3558 entry in the agenda view).
3559 (org-modules): Add entry for org-bibtex.el.
3560 (org-completion-fallback-command): Move into `org-completion' group.
3561 (org-clock-heading-function): Move to `org-progress' group.
3562 (org-auto-repeat-maybe): Make sure that a note can
3563 be enforces if `org-log-repeat' is `note'.
3564 (org-modules): Allow additional symbols for external packages.
3565 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
3566 (org-clock-goto): Hide drawers after showing an
3567 entry with `org-clock-goto'.
3568 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
3569 Try also a clocktable block shift.
3570 (org-clocktable-try-shift): New function.
3571 (org-columns-hscoll-title): New function.
3572 (org-columns-previous-hscroll): New variable.
3573 (org-columns-full-header-line-format): New variable.
3574 (org-columns-display-here-title, org-columns-remove-overlays):
3575 Install `org-columns-hscoll-title' in post-command-hook.
3577 * org/org.el: Split into many small files.
3579 * org/org-agenda.el: New file, split off from org.el.
3581 * org/org-archive.el: New file, split off from org.el.
3583 * org/org-bbdb.el: New file.
3585 * org/org-bibtex.el: New file, split off from org.el.
3587 * org/org-clock.el: New file, split off from org.el.
3589 * org/org-colview.el: New file, split off from org.el.
3591 * org/org-compat.el: New file, split off from org.el.
3593 * org/org-exp.el: New file, split off from org.el.
3595 * org/org-faces.el: New file, split off from org.el.
3597 * org/org-gnus.el: New file, split off from org.el.
3599 * org/org-info.el: New file, split off from org.el.
3601 * org/org-infojs.el: New file.
3603 * org/org-irc.el: New file.
3605 * org/org-macs.el: New file, split off from org.el.
3607 * org/org-mew.el: New file.
3609 * org/org-mhe.el: New file, split off from org.el.
3611 * org/org-publish.el: New file, split off from org.el.
3613 * org/org-remember.el: New file, split off from org.el.
3615 * org/org-rmail.el: New file, split off from org.el.
3617 * org/org-table.el: New file, split off from org.el.
3619 * org/org-vm.el: New file, split off from org.el.
3621 * org/org-wl.el: New file, split off from org.el.
3623 2008-04-27 Jason Riedy <jason@acm.org>
3625 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
3626 parameter that supresses lines that evaluate to NIL.
3627 (orgtbl-get-fmt): New inline function for
3628 picking apart formats that may be lists.
3629 (orgtbl-apply-fmt): New inline function for applying formats that
3631 (orgtbl-eval-str): New inline function for strings that may be
3633 (orgtbl-format-line, orgtbl-to-generic): Use and document.
3634 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
3635 (*orgtbl-llfmt*, *orgtbl-llstart*)
3636 (*orgtbl-llend*): Dynamic variables for last-line formatting.
3637 (orgtbl-format-section): Shift formatting to support detecting the
3638 last line and formatting it specially.
3639 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
3640 formats unless overridden.
3641 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
3642 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
3643 bound variables to hold the input collection of lines and output
3645 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
3646 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
3648 (orgtbl-format-line): New function encapsulating formatting for a
3650 (orgtbl-format-section): Similar for each section. Rebinding the
3651 dynamic vars customizes the formatting for each section.
3652 (orgtbl-to-generic): Use orgtbl-format-line and
3653 orgtbl-format-section.
3654 (org-get-param): Now unused, so delete.
3655 (orgtbl-gather-send-defs): New function to
3656 gather all the SEND definitions before a table.
3657 (orgtbl-send-replace-tbl): New function to find the RECEIVE
3658 corresponding to the current name.
3659 (orgtbl-send-table): Use the previous two functions and implement
3660 multiple destinations for each table.
3662 * doc/org.texi (A LaTeX example): Note that fmt may be a
3663 one-argument function, and efmt may be a two-argument function.
3664 (Radio tables): Document multiple destinations.
3666 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
3668 * org/org-agenda.el (org-add-to-diary-list): New function.
3669 (org-prefix-has-effort): New variable.
3670 (org-sort-agenda-noeffort-is-high): New option.
3671 (org-agenda-columns-show-summaries)
3672 (org-agenda-columns-compute-summary-properties): New options.
3673 (org-format-agenda-item): Compute the duration of the item.
3674 (org-agenda-weekend-days): New variable.
3675 (org-agenda-list, org-timeline): Use the proper faces for dates in
3676 the agenda and timeline buffers.
3677 (org-agenda-archive-to-archive-sibling): New command.
3678 (org-agenda-start-with-clockreport-mode): New option.
3679 (org-agenda-clockreport-parameter-plist): New option.
3680 (org-agenda-clocktable-mode): New variable.
3681 (org-agenda-deadline-leaders): Allow a function value for the
3683 (org-agenda-get-deadlines): Deal with new function value.
3685 * lisp/org-clock.el (org-clock): New customization group.
3686 (org-clock-into-drawer, org-clock-out-when-done)
3687 (org-clock-in-switch-to-state, org-clock-heading-function):
3688 Move into the new group.
3689 (org-clock-out-remove-zero-time-clocks): New option.
3690 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
3691 (org-dblock-write:clocktable): Allow a Lisp form for the scope
3693 (org-dblock-write:clocktable): Fix bug with total time calculation.
3694 (org-dblock-write:clocktable): Request the unrestricted list of files.
3695 (org-get-clocktable): New function.
3696 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
3697 be strings but also integers (an absolute day number) and lists (m d y).
3699 * org/org-colview.el (org-columns-next-allowed-value)
3700 (org-columns-edit-value): Limit the effort for updating in the
3701 agenda to recomputing a single file.
3702 (org-columns-compute): Only write property value if it has changed.
3703 This avoids raising the buffer-change-flag unnecessarily.
3704 (org-agenda-colview-summarize)
3705 (org-agenda-colview-compute): New functions.
3706 (org-agenda-columns): Call `org-agenda-colview-summarize'.
3708 * org/org-exp.el (org-export-run-in-background): New option.
3709 (org-export-icalendar): Allow a batch process to trigger waiting
3710 after executing a system command.
3711 (org-export-preprocess-string): Rename from
3712 `org-cleaned-string-for-export'.
3713 (org-export-html-style): Made target class look like normal text.
3714 (org-export-as-html): Make use of the better proprocessing in
3715 `org-cleaned-string-for-export'.
3716 (org-cleaned-string-for-export): Better treatment of heuristic
3717 targets, many more internal links will now work in HTML export.
3718 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
3719 (org-export-inbuffer-options-extra): New variable.
3720 (org-export-options-filters): New hook.
3721 (org-infile-export-plist): Find also the settings keywords in
3722 `org-export-inbuffer-options-extra'.
3723 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
3724 multiple #+INFOJS_OPT lines.
3725 (org-export-html-handle-js-options): New function.
3726 (org-export-html-infojs-setup): New option.
3727 (org-export-as-html): Call `org-export-html-handle-js-options'.
3728 Add autoload to all entry points.
3729 (org-skip-comments): Function removed.
3731 * org/org-table.el (org-table-make-reference): Extra parenthesis
3732 around single fields, to make sure that algebraic formulas get
3733 correctly interpreted by calc.
3734 (org-table-current-column): No longer interactive.
3736 * org/org-export-latex.el (org-export-latex-preprocess):
3737 Rename from `org-export-latex-cleaned-string'.
3739 2008-04-27 Bastien Guerry <bzg@altern.org>
3741 * org/org-publish.el (org-publish-get-base-files-1): New function.
3742 (org-publish-get-base-files): Use it.
3743 (org-publish-temp-files): New variable.
3744 Don't require 'dired-aux anymore.
3745 (org-publish-initial-buffer): New variable.
3746 (org-publish-org-to, org-publish): Use it.
3747 (org-publish-get-base-files-1): Bug fix: get
3748 the proper list of files when recursing thru a directory.
3749 (org-publish-get-base-files): Use the :exclude property to skip
3750 both files and directories.
3752 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
3754 * net/tramp.el (tramp-handle-make-symbolic-link)
3755 (tramp-handle-file-name-directory)
3756 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3757 (tramp-do-copy-or-rename-file-directly)
3758 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
3759 (tramp-handle-substitute-in-file-name)
3760 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3761 * net/tramp-cache.el (tramp-get-file-property)
3762 (tramp-set-file-property, tramp-flush-file-property)
3763 (tramp-flush-directory-property)
3764 * net/tramp-compat.el (tramp-compat-make-temp-file)
3765 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
3766 Disable `file-name-handler-alist' when handling localname.
3767 It could have a remote file syntax, like a VMS file name.
3769 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3771 * whitespace.el: New version 11.1.
3772 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
3773 enclosed by \\( and \\)$. Docstring fix.
3774 (whitespace-trailing-regexp): Fun removed.
3775 (whitespace-report-list): Const initialization fix.
3776 (whitespace-color-on): Code fix.
3778 2008-04-27 Andreas Schwab <schwab@suse.de>
3780 * Makefile.el: Unbreak bootstrap.
3782 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
3784 * net/tramp.el (tramp-replace-environment-variables): New defun.
3785 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
3788 2008-04-27 Glenn Morris <rgm@gnu.org>
3790 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
3792 * calculator.el (calculator-expt): Replace cl function `oddp'.
3794 2008-04-27 Johan Bockgård <bojohan@gnu.org>
3796 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
3797 Simplify. Collect `defun' and `autoload' entries.
3798 Avoid modifying load-history.
3800 2008-04-26 Glenn Morris <rgm@gnu.org>
3802 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
3804 * simple.el (quoted-insert, zap-to-char): Revert previous change.
3806 2008-04-26 John Paul Wallington <jpw@pobox.com>
3808 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
3809 `hexl-mode-old-eldoc-documentation-function'.
3810 (hexl-mode-exit): Restore it.
3811 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
3813 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
3815 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
3817 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
3818 (completion-pcm--all-completions): Doc fix.
3819 (completion-styles-alist, completion-all-completions):
3820 Fix typos in docstrings.
3822 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3824 * whitespace.el: There is now only one variable (whitespace-style) to
3825 specify which kind of blank is visualized. Doc and docstring fix.
3827 (whitespace-style): New option, replace whitespace-style-mark and
3828 whitespace-style-color.
3829 (whitespace-style-mark, whitespace-style-color): Options removed.
3830 (whitespace-hspace, whitespace-tab, whitespace-newline)
3831 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
3832 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
3833 (whitespace-hspace-regexp, whitespace-space-regexp)
3834 (whitespace-tab-regexp, whitespace-trailing-regexp)
3835 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3836 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3837 (whitespace-space-after-tab-regexp, whitespace-line-column)
3838 (whitespace-display-mappings, whitespace-report): Docstring fix.
3839 (whitespace-color-value-list, whitespace-mark-value-list)
3840 (whitespace-active-color, whitespace-active-mark)
3841 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
3842 (whitespace-style-value-list, whitespace-active-style)
3843 (whitespace-toggle-style): New vars.
3844 (whitespace-toggle-option-alist, whitespace-help-text):
3845 Var initialization and docstring fix.
3846 (whitespace-toggle-options, global-whitespace-toggle-options)
3847 (whitespace-cleanup, whitespace-cleanup-region)
3848 (whitespace-report-region, whitespace-interactive-char)
3849 (whitespace-toggle-list): Docstring and code fix.
3850 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
3851 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
3852 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
3853 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
3855 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
3858 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
3859 (diff-sanity-check-hunk): Adjust code accordingly.
3861 2008-04-26 Glenn Morris <rgm@gnu.org>
3863 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
3865 * forms-d2.dat: Move to ../etc.
3866 * forms-d2.el (forms-file): Adapt for above change.
3868 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
3869 `translation-table-for-input'.
3871 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
3872 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
3874 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
3875 to punctuation now it's not needed for abbrevs.
3876 (fortran-mode-abbrev-table): Remove defvar, make use of new
3877 define-abbrev-table :regexp feature.
3879 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
3880 insert, now that translation-table-for-input is not needed.
3882 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
3884 * emacs-lisp/pp.el (pp-display-expression): New function,
3885 extracted from pp-eval-expression.
3886 (pp-eval-expression): Use pp-display-expression.
3887 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
3888 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
3889 (pp-eval-last-sexp): Use pp-last-sexp.
3891 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * abbrev.el (define-abbrev-table): Apply props even if the table
3896 * minibuffer.el (completion-table-with-context): Fix `pred' for the
3897 various kinds of completion tables.
3898 (completion-emacs22-try-completion): Place cursor after the /, as was
3899 done in Emacs-22's minibuffer-complete-word.
3900 Fix bug reported by David Hansen <david.hansen@gmx.net>.
3901 (completion-emacs22-try-completion): Merge all mergable text rather
3903 (completion-pcm--delim-wild-regex): New var.
3904 (completion-pcm-word-delimiters): New custom.
3905 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
3906 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
3907 (completion-pcm--all-completions, completion-pcm-all-completions)
3908 (completion-pcm--merge-completions, completion-pcm--pattern->string)
3909 (completion-pcm-try-completion): New functions.
3910 (completion-styles-alist): Add them.
3911 (completion-styles): Add it to the default.
3913 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
3915 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
3916 (gdb-var-create-handler): ...until here when there are values.
3917 (gdb-post-prompt): Don't do -var-update with no watch expressions.
3918 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
3920 2008-04-25 Eli Zaretskii <eliz@gnu.org>
3922 * ls-lisp.el (ls-lisp-format): Fix last change.
3923 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
3924 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
3925 (ls-lisp-filesize-f-fmt): New defvars.
3926 (ls-lisp-insert-directory): Dynamically compute format specifiers
3927 for displaying UID, GID, and file size, and store them in the
3929 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
3930 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
3931 instead of constant format strings.
3932 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
3933 ls-lisp-filesize-d-fmt instead of constant format strings.
3935 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
3937 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
3938 value of addresses rather than (partial) string value.
3939 (gdb-frame-handler): Change regexp according to above change.
3940 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
3941 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
3942 (gdb-assembler-mode): Disable undo in these buffers.
3944 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
3946 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
3947 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
3949 2008-04-24 Sam Steingold <sds@gnu.org>
3951 * textmodes/remember.el (remember-diary-extract-entries): Use
3952 diary-make-entry instead of the obsolete make-diary-entry.
3954 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3956 * subr.el (translation-table-for-input): Mark as obsolete.
3958 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
3960 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
3962 * textmodes/ispell.el (ispell-dictionary-alist-1)
3963 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
3964 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
3965 (ispell-dictionary-alist-6): Remove.
3966 (ispell-dictionary-base-alist): New var, merges the above.
3967 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
3969 (ispell-dictionary-alist): Default to nil. Remove autoload.
3970 (ispell-local-dictionary-alist): Remove autoload.
3972 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
3973 (f90-mode-abbrev-table): Use the new :regexp feature.
3974 Merge defvar and mapc into define-abbrev-table.
3975 (f90-imenu-type-matcher): Remove unused `l'.
3976 (f90-imenu-generic-expression): Remove unused `not-ib'.
3977 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
3978 (f90-change-keywords): Use restore-buffer-modified-p.
3980 2008-04-24 Glenn Morris <rgm@gnu.org>
3982 * net/goto-addr.el (goto-address-prog-mode):
3983 * progmodes/bug-reference.el (bug-reference-prog-mode):
3984 Define for compiler.
3986 * minibuffer.el (x-file-dialog): Declare as function.
3988 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
3989 dframe-update-speed rather than obsolete alias speedbar-update-speed.
3991 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
3992 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
3993 work with easymenu. Add :keys where needed.
3995 * calendar/cal-move.el (calendar-scroll-left): Handle case when
3998 * calendar/calendar.el (calendar-mode-map): Fix typo.
4000 2008-04-24 Tom Tromey <tromey@redhat.com>
4002 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
4003 Document keywords. Add :suppress.
4004 * pcvs-defs.el (cvs-mode-map): Use :suppress.
4006 * net/goto-addr.el (goto-address-unfontify): New function.
4007 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
4008 (goto-address-fontify-region, goto-address-mode)
4009 (goto-address-prog-mode): New functions.
4011 * progmodes/bug-reference.el: New file.
4013 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4015 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
4017 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
4020 macros within lambdas.
4022 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * minibuffer.el (completion-try-completion): Add `point' argument.
4025 Change return value.
4026 (completion-all-completions): Add `point' argument.
4027 (minibuffer-completion-help): Pass the new `point' argument.
4028 (completion--do-completion): Pass the whole field to try-completion.
4029 (completion--try-word-completion): Rewrite, making fewer assumptions.
4030 (completion-emacs21-try-completion, completion-emacs21-all-completions)
4031 (completion-emacs22-try-completion, completion-emacs22-all-completions)
4032 (completion-basic-try-completion, completion-basic-all-completions):
4034 (completion-styles-alist): Use them.
4036 2008-04-23 AgustÃn MartÃn <agustin.martin@hispalinux.es>
4038 * ispell.el (ispell-set-spellchecker-params): New function to make sure
4039 right params and dictionary alists are used after spellchecker changes.
4040 (ispell-aspell-dictionary-alist, ispell-last-program-name)
4041 (ispell-initialize-spellchecker-hook): New variables and hook.
4042 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
4043 (ispell-maybe-find-aspell-dictionaries): Remove.
4044 Calls replaced by (ispell-set-spellchecker-params) calls.
4045 (ispell-have-aspell-dictionaries): Remove.
4046 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
4047 ispell-set-spellchecker-params.
4049 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * complete.el (PC-do-completion): Be more robust in the presence of
4052 unexpected values in minibuffer-completion-predicate.
4054 * minibuffer.el (read-file-name): Don't let-bind default-directory.
4055 Only abbreviate default-filename if it's a file.
4057 * minibuffer.el (read-file-name-function, read-file-name-predicate)
4058 (read-file-name-completion-ignore-case, insert-default-directory):
4059 New vars, moved from fileio.c.
4060 (read-file-name): New fun, moved from fileio.c.
4061 * cus-start.el: Remove insert-default-directory and
4062 read-file-name-completion-ignore-case.
4064 2008-04-23 Magnus Henoch <mange@freemail.hu>
4066 * tar-mode.el (tar-untar-buffer): If the entry has directory
4067 link type, extract it as a directory even if its file name doesn't
4068 end with a slash. Fixes extraction of NetBSD tar archives.
4070 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * server.el (server-start): Also don't get confused by CRs since we
4075 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
4077 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
4078 (gdb-set-gud-minor-mode-existing-buffers)
4079 (gdb-info-breakpoints-custom, gdb-get-location)
4080 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
4081 Previously gdb-create-define-alist wasn't always run and added to
4084 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
4086 2008-04-23 Kevin Ryde <user42@zip.com.au>
4088 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
4089 comments like unindented ones.
4091 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4093 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
4096 2008-04-23 Kevin Ryde <user42@zip.com.au>
4098 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4099 Bind print-level to ensure output forms aren't truncated if
4100 print-level is set to eval-expression-print-level when going via
4101 eval-defun and friends, or has been otherwise fiddled with.
4103 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * progmodes/cc-mode.el (c-basic-common-init): Don't set
4106 font-lock-extend-after-change-region-function globally.
4108 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
4110 * speedbar.el (speedbar-use-tool-tips-flag)
4111 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
4112 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
4113 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
4114 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
4115 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
4116 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
4117 (speedbar-separator-face): Fix typos in docstrings.
4118 (speedbar-stealthy-function-list, speedbar-verbosity-level)
4119 (speedbar-supported-extension-expressions, speedbar-update-current-file)
4120 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
4121 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
4122 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
4123 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
4124 (speedbar-check-vc-this-line, speedbar-files-line-directory)
4125 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4126 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
4127 (speedbar-recenter): Doc fixes.
4128 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
4129 declaration and remove redundant info in docstring.
4131 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
4133 * vc-git.el (vc-git-status-printer): Deal with directories.
4135 * vc.el (vc-next-action): Look at more than the first file to
4136 determine the state.
4138 2008-04-23 Glenn Morris <rgm@gnu.org>
4140 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
4142 (dframe-update-speed): Drop support for XEmacs < 20.
4143 (dframe-frame-mode): Drop support for Emacs < 20.
4144 (dframe-set-timer-internal): Drop support for Emacs without timers.
4145 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
4147 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
4148 versions. Add doc-string. Mark as obsolete.
4150 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
4152 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
4153 rather than using an Emacs version test.
4155 * tree-widget.el (tree-widget-image-enable): Use display-images-p
4156 rather than an Emacs version test.
4158 * calendar/cal-china.el (holiday-chinese-qingming)
4159 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
4160 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
4161 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
4163 * calendar/cal-islam.el (holiday-islamic): Doc fix.
4165 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
4166 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
4167 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
4169 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
4171 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
4172 (gdb-previous-frame-pc-address): ...to this.
4173 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
4174 of "info frame" with Gdb 6.4+.
4175 (gdb-stack-list-frames-regexp): New regexp.
4176 (gdb-frame-handler-1): Parse output of -stack-info-frame.
4178 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
4180 * tar-mode.el (tar-prefix-offset): New constant.
4181 (tar-header-block-tokenize): Support paths with long names
4182 which use the "ustar" standard.
4184 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
4186 * image-dired.el (image-dired-track-original-file)
4187 (image-dired-modify-mark-on-thumb-original-file):
4188 Use `dired-goto-file' instead of `search-forward'. This solves
4189 a bug with finding files where the file name is a subset of other
4190 file names. Doc fix.
4192 2008-04-22 Juri Linkov <juri@jurta.org>
4194 * menu-bar.el (buffers-menu-max-size): Move its definition down to
4195 the "Buffers Menu" section. Change group name `mouse' to `menu'.
4196 (yank-menu-length): Change group name `mouse' to `menu'.
4197 (buffers-menu-buffer-name-length): New user option.
4198 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
4199 instead of the hard-coded number 27.
4201 2008-04-22 Juri Linkov <juri@jurta.org>
4203 * isearch.el (eval-when-compile): Require `help-macro'.
4204 (isearch-help-for-help-internal): Isearch specific Help screen
4205 created by `make-help-screen'.
4206 (isearch-help-map): New variable that binds "b", "k", "m" to
4207 isearch-specific commands, and binds other keys to
4208 isearch-other-control-char, thus allowing other Help keys to
4209 exit isearch mode and execute their global definitions.
4210 (isearch-help-for-help, isearch-describe-bindings)
4211 (isearch-describe-key, isearch-describe-mode): New commands.
4212 (isearch-mode-help): Define alias to isearch-describe-mode
4213 and remove its old function definition.
4214 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
4215 Remove old comments because this issue is settled now.
4216 (isearch-forward): Describe three new Help commands in the docstring.
4217 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
4218 leave the single sentence at the first line of the docstring,
4219 and prepend the word "function" before `isearch-forward'
4220 to make the Help link to the function instead of variable.
4222 2008-04-22 Juri Linkov <juri@jurta.org>
4224 * isearch.el (isearch-success-function): New variable with default
4225 to `isearch-success-function-default'.
4226 (isearch-search): Call a function from `isearch-success-function'
4227 instead of calling the hard-coded `isearch-range-invisible'.
4228 (isearch-success-function-default): New function that calls
4229 `isearch-range-invisible' and inverts its return value.
4231 * info.el (Info-search): In two similar places that skip
4232 undesired search matches move code to Info-search-success-function,
4233 and call `isearch-success-function' instead.
4234 (Info-search-success-function): New function copied from code
4235 in Info-search. Replace isearch-range-invisible with
4236 text-property-not-all that checks for 'invisible and 'display
4237 properties to skip partially invisible matches (whose display
4238 properties were set by Info-fontify-node).
4239 (Info-mode): Set buffer-local isearch-success-function
4240 to Info-search-success-function.
4242 2008-04-22 Juri Linkov <juri@jurta.org>
4244 * minibuffer.el (internal-complete-buffer-except): New function.
4246 * files.el (read-buffer-to-switch): New function.
4247 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4248 Change interactive spec to call read-buffer-to-switch instead of
4249 using the letter "B".
4251 * simple.el (minibuffer-default-add-shell-commands): New function.
4252 Use declare-function for mailcap-file-default-commands from "mailcap".
4253 (shell-command): Set local minibuffer-default-add-function to
4254 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
4255 before calling read-shell-command. Set 4th arg default-value of
4256 read-shell-command to relative buffer-file-name in file buffers.
4258 * dired-aux.el (dired-read-shell-command-default): Move it to
4259 gnus/mailcap.el and change its name to more general name
4260 mailcap-file-default-commands.
4261 (minibuffer-default-add-dired-shell-commands): New function.
4262 Use declare-function for mailcap-file-default-commands from "mailcap".
4263 (dired-read-shell-command): Set local minibuffer-default-add-function
4264 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
4265 before calling read-shell-command. Remove dired-read-shell-command-default
4266 from the default value arg because default values are not set in
4267 minibuffer-default-add-dired-shell-commands. Doc fix.
4269 * dired-x.el (dired-smart-shell-command): Sync arguments and
4270 interactive spec with changes in `shell-command'.
4271 Use dired-get-filename to get the dired file name at point
4272 as the default value in dired mode.
4274 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4276 * info.el (Info-complete-menu-item): Add missing parenthesis.
4278 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * info.el (Info-complete-menu-item): Save point.
4282 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4284 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
4286 2008-04-22 Andreas Schwab <schwab@suse.de>
4288 * Makefile.in (emacs-deps): Define.
4289 Use it instead of $(lisp)/subdirs.el.
4291 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
4293 * vc.el (vc-next-action): Do not consider directories when
4294 checking for state compatibility.
4295 (vc-transfer-file): Use when not if.
4296 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
4297 (vc-dir-mark-file): Use them.
4298 (vc-deduce-fileset): Also return the backend.
4299 (vc-diff-internal): Take as argument the value returned by
4300 vc-deduce-fileset instead of just the fileset.
4301 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
4302 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
4303 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
4305 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
4307 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
4308 set-window-vscroll but image-scroll-down. Fixes a bug where a
4309 command following SPC scrolled up again.
4311 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
4313 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
4314 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
4315 (gud-watch): Add "$" prefix when in registers buffer.
4317 2008-04-22 Glenn Morris <rgm@gnu.org>
4319 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
4321 * whitespace.el (whitespace-display-table)
4322 (whitespace-display-table-was-local): Move definitions before use.
4324 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
4325 (copyright-limit): Respect copyright-at-end-flag.
4326 (copyright-re-search, copyright-start-point)
4327 (copyright-offset-too-large-p): New functions.
4328 (copyright-update-year): Use copyright-re-search.
4329 (copyright-update, copyright-fix-years): Use copyright-start-point,
4330 and copyright-re-search.
4331 (copyright): Use copyright-offset-too-large-p.
4332 * add-log.el (change-log-mode): Set copyright-at-end-flag.
4334 * add-log.el (top-level): Require 'cl when compiling.
4336 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
4339 Treat minibuffer-completion-predicate as a predicate.
4341 * minibuffer.el (completion--file-name-table): Accept both the old
4342 `dir' arg or the new `pred' arg.
4344 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
4345 `predicate' argument to pass non-predicate data.
4346 (ffap-read-url-internal, ffap-read-file-or-url-internal):
4347 Use second arg as proper predicate.
4349 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
4350 (vc-bzr-revision-completion-table): Use completion-table-with-context
4353 * simple.el (choose-completion-string): Use minibuffer-completion-table.
4355 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
4357 * term.el (term-emulate-terminal): Perform redisplay after the
4358 process filter has finished running.
4360 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
4364 * minibuffer.el (completion-try-completion): Change magic symbol
4365 property name. Rename from minibuffer-try-completion.
4366 (completion-all-completions): Rename from minibuffer-all-completions.
4367 Remove hide-spaces argument.
4368 (completion--do-completion): Rename from minibuffer--do-completion.
4369 (minibuffer-complete-and-exit): Call just try-completion rather than
4370 completion-try-completion to fix up the case.
4371 (completion--try-word-completion): Try to add space or hyphen before
4372 making `string' a prefix of `completion'.
4373 (completion--insert-strings): Rename from minibuffer--insert-strings.
4375 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
4377 * net/tls.el (tls-program): Add -ign_eof argument to call the
4379 (tls-checktrust): Ditto.
4381 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
4383 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
4385 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
4386 (vc-check-master-templates, vc-file-not-found-hook)
4387 (vc-kill-buffer-hook):
4388 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
4389 (vc-find-position-by-context, vc-buffer-context)
4390 (vc-restore-buffer-context, vc-responsible-backend)
4391 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
4392 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
4393 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
4394 (vc-version-diff, vc-diff, vc-insert-headers)
4395 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
4396 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
4397 (vc-revert, vc-rollback, vc-version-backup-file)
4398 (vc-rename-master, vc-delete-file, vc-rename-file)
4399 (vc-branch-part, vc-default-retrieve-snapshot)
4400 (vc-annotate-display-autoscale, vc-annotate-display-select)
4401 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
4402 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
4403 (vc-dir-update): Handle directories.
4404 (vc-default-status-printer): Simplify.
4406 * progmodes/asm-mode.el (asm-mode-map):
4407 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
4409 * progmodes/m4-mode.el (m4-mode-map): Add menu.
4411 2008-04-21 Kenichi Handa <handa@m17n.org>
4413 * select.el (xselect-convert-to-string): Send a C_STRING only if
4414 the polymorphic target TEXT is requested.
4416 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
4418 * minibuffer.el (completion-setup-hook, display-completion-list)
4419 (completion--file-name-table): Fix typos in docstrings.
4420 (completion-table-dynamic): Fix typo, and reflow docstring.
4422 2008-04-20 Andreas Schwab <schwab@suse.de>
4424 * server.el (server-switch-buffer): Also consider clients in the
4427 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4429 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4430 Select window clicked on first.
4431 (gdb): Display thread number in mode-line.
4432 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
4433 (gdb-breakpoints-header): New variable.
4434 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
4436 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
4439 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
4440 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
4441 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
4442 (vc-sccs-print-log): Use it.
4444 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
4446 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
4447 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
4449 * tooltip.el (tooltip-previous-message): New var.
4450 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
4451 the C code (avoid overwriting a minibuffer, restore previous echo
4453 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
4456 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4458 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
4459 (gdb-init-1): Initialise it.
4460 (gdb-annotation-rules): New entry for "new-thread".
4461 (gdb-thread-identification): New function to customize
4462 mode-line-buffer-identification.
4463 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
4464 (gdb-assembler-mode): Use it.
4465 (gdb-threads-mode): Force "info threads" onto queue.
4467 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * files.el (locate-file-completion-table): Rename from
4470 locate-file-completion and make it use `pred' in the normal way.
4471 (locate-file-completion): New compatibility wrapper.
4472 (load-library): Use locate-file-completion-table.
4473 * finder.el (finder-commentary):
4474 * subr.el (locate-library):
4475 * emacs-lisp/find-func.el (find-library): Likewise.
4476 * info.el: Use with-current-buffer and inhibit-read-only.
4477 (Info-read-node-name-2): Change to use `predicate' in the normal way.
4478 (Info-read-node-name-1): Adjust uses accordingly.
4480 * minibuffer.el (completion-table-with-context): Add support for `pred'.
4481 (completion-table-with-terminator): Don't use complete-with-action
4482 since we have to distinguish all three cases anyway.
4483 (completion-table-with-predicate): New function.
4484 (dynamic-completion-table): Add obsolete alias.
4486 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
4488 2008-04-18 Sam Steingold <sds@gnu.org>
4490 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
4491 Use quit-window instead of bury-buffer.
4493 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4495 * minibuffer.el (completion-table-with-terminator): Fix last fix.
4497 2008-04-18 Andreas Schwab <schwab@suse.de>
4499 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4500 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4501 Depend on $(lisp)/subdirs.el.
4503 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
4505 * descr-text.el (describe-char-after):
4506 Use `define-obsolete-function-alias'.
4508 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
4510 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
4512 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
4513 Remove redundant obsolescence info in docstring.
4515 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4516 (vc-header-alist): Add WHEN to obsolescence declaration.
4517 (vc-state): Fix typo in docstring.
4519 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
4520 Use `define-obsolete-variable-alias'.
4522 * emulation/tpu-edt.el (tpu-have-ispell):
4523 * international/codepage.el (codepage-setup):
4524 Fix typo in obsolescence declaration.
4526 * international/mule.el (char-coding-system-table):
4527 Remove redundant obsolescence info in docstring.
4528 (charset-list, generic-char-p, set-char-table-default):
4529 Fix typos in obsolescence decarations.
4531 * international/mule-diag.el (non-iso-charset-alist):
4532 Fix typo in obsolescence declaration.
4533 (decode-codepage-char): Remove redundant obsolescence info in docstring.
4535 * font-core.el (font-lock-defaults-alist):
4536 * font-lock.el (font-lock-reference-face):
4537 * frame.el (screen-height, screen-width, set-screen-width)
4538 (set-screen-height):
4539 * hilit-chg.el (highlight-changes-initial-state):
4540 * isearch.el (isearch-return-char):
4541 * log-edit.el (cvs-commit-buffer-require-final-newline)
4542 (cvs-changelog-full-paragraphs):
4543 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
4544 (mouse-popup-menubar-stuff):
4545 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
4546 (mouse-wheel-click-button):
4547 * outline.el (outline-visible):
4548 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
4549 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
4550 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
4551 * progmodes/compile.el (compile-internal):
4552 Add WHEN to obsolescence declarations.
4554 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
4557 is not better anyway.
4559 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4561 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
4564 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4566 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
4567 (python-use-skeletons): Remove, unused.
4568 (python-skeletons): Remove. Use the abbrev table instead.
4569 (python-mode-abbrev-table): Fix regexp;
4570 add enable-function and case-fixed.
4571 (def-python-skeleton): Simplify.
4572 (python-expand-template): Use the abbrev-table and abbrev-insert.
4573 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
4575 (python-mode): Don't set pre-abbrev-expand-hook.
4577 * skeleton.el: Set coding-tag.
4579 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
4580 (expand-abbrev): Use it.
4581 (abbrev-table-menu): New function.
4583 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
4585 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
4587 2008-04-17 Sam Steingold <sds@gnu.org>
4589 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
4590 idiosyncratic bury-buffer/delete-window logic.
4592 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
4594 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
4595 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
4597 2008-04-17 Kenichi Handa <handa@m17n.org>
4599 * international/characters.el: Don't make the width of U+00AD to 0.
4601 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
4603 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
4604 (gdb, gdb-starting, gdb-frames-mode): Use it.
4605 (gdb-invalidate-frames): Advise to call "info stack" only if
4606 execution has occurred.
4607 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
4608 selected frame if no execution has occurred.
4609 (gdb-frames-force-update): New interactive function.
4610 (gdb-frames-mode-map): Bind it to "F".
4612 2008-04-17 Michael Olson <mwolson@gnu.org>
4614 * textmodes/remember.el (remember-version): Release Remember 2.0.
4616 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
4618 * textmodes/artist.el:
4619 * progmodes/vhdl-mode.el:
4620 * progmodes/verilog-mode.el:
4621 * progmodes/vera-mode.el:
4622 * progmodes/simula.el:
4623 * progmodes/ps-mode.el:
4624 * progmodes/cmacexp.el:
4625 * obsolete/hilit19.el:
4626 * emulation/viper.el:
4627 * ediff.el: Cleanup the bug-report email addresses and make sure the
4628 maintainer is still willing to handle bug reports.
4630 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
4632 * vc.el (vc-dir-kill-query): Fix thinko.
4634 2008-04-16 Glenn Morris <rgm@gnu.org>
4636 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
4637 by diary-sexp-entry.
4639 2008-04-16 Markus Triska <markus.triska@gmx.at>
4641 * proced.el (proced-command-alist): Add support for darwin.
4643 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * proced.el (proced-mode): Redefine as just the major-mode.
4646 (proced): Separate it from proced-mode.
4648 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
4650 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4652 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
4653 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
4654 `tab-width' setting from user. New version 10.0. Doc and docstring
4656 (whitespace-style, whitespace-chars): Remove options.
4657 (whitespace-style-mark): New option, replace whitespace-style deleted
4658 option. Fix docstring.
4659 (whitespace-style-color): New option, replace whitespace-chars deleted
4660 option. Fix docstring.
4661 (whitespace-space, whitespace-hspace, whitespace-tab)
4662 (whitespace-newline, whitespace-trailing, whitespace-line)
4663 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4664 (whitespace-space-after-tab, whitespace-hspace-regexp)
4665 (whitespace-space-regexp, whitespace-tab-regexp)
4666 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4667 (whitespace-empty-at-eob-regexp, whitespace-line-column)
4668 (whitespace-toggle-option-alist): Fix docstring.
4669 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
4670 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
4671 docstring and initialization.
4672 (global-whitespace-mode): Autoloaded global minor mode.
4673 (whitespace-chars-value-list, whitespace-style-value-list)
4674 (whitespace-active-chars, whitespace-active-style)
4675 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
4676 (whitespace-color-value-list): New var, replace
4677 whitespace-chars-value-list removed var.
4678 (whitespace-mark-value-list): New var, replace
4679 whitespace-style-value-list removed var.
4680 (whitespace-active-color): New var, replace whitespace-active-chars
4682 (whitespace-active-mark): New var, replace whitespace-active-style
4684 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
4686 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
4688 (whitespace-toggle-option-alist, whitespace-report-list)
4689 (whitespace-report-text, whitespace-help-text): Fix initialization.
4690 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
4691 (whitespace-toggle-options, global-whitespace-toggle-options)
4692 (whitespace-cleanup-region, whitespace-report-region)
4693 (whitespace-interactive-char): Fix docstring and code.
4694 (whitespace-cleanup, whitespace-report): Fix docstring.
4695 (whitespace-replace-spaces-by-tabs): Remove fun.
4696 (whitespace-replace-action): New fun, replace
4697 whitespace-replace-spaces-by-tabs removed fun.
4698 (whitespace-regexp, whitespace-indentation-regexp)
4699 (whitespace-space-after-tab-regexp, whitespace-insert-value)
4700 (whitespace-kill-buffer): New funs.
4701 (whitespace-insert-option-mark, whitespace-help-on)
4702 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
4703 (whitespace-color-on, whitespace-color-off)
4704 (whitespace-display-char-on): Fix code.
4706 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
4709 (mouse-throw-magnifier-with-mouse-movement): Remove.
4710 (mouse-throw-magnifier-base): New const.
4711 (mouse-drag-scroll-delta): New fun.
4712 (mouse-drag-throw): Use it.
4714 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
4716 * international/uni-bidi.el, international/uni-category.el:
4717 * international/uni-combining.el, international/uni-comment.el:
4718 * international/uni-decimal.el, international/uni-decomposition.el:
4719 * international/uni-digit.el, international/uni-lowercase.el:
4720 * international/uni-mirrored.el, international/uni-name.el:
4721 * international/uni-numeric.el, international/uni-old-name.el:
4722 * international/uni-titlecase.el, international/uni-uppercase.el:
4723 * international/charprop.el: Regenerate.
4725 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
4727 * vc.el (vc-status-fileinfo): Add new member directoryp.
4728 (vc-default-status-printer): Print directories.
4729 (vc-status-update): Sort files before subdirectories.
4731 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
4732 Add alternative implementation based on "cvs update".
4734 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
4736 * doc-view.el: Changed requirements section to tell that only one
4737 of dvipdf or dvipdfm is needed.
4738 (doc-view-already-converted-p): Fix bug that forced reconversion
4739 if doc was already converted.
4741 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * minibuffer.el (minibuffer-message):
4744 Make sure we can put-text-property.
4746 * emacs-lisp/crm.el: Complete rewrite.
4748 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
4749 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
4750 case of an error in display-completion-list.
4752 * filecache.el (file-cache-completions-keymap): Move init from
4753 file-cache-completion-setup-function into declaration.
4754 (file-cache-minibuffer-complete): Simplify.
4755 (file-cache-completion-setup-function): Use standard-output,
4756 preserve current-buffer.
4758 * vc.el (vc-status-update): Fix typo.
4759 (vc-status-update): Set needs-update.
4760 (vc-status-refresh): η-reduce.
4762 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
4764 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
4767 2008-04-14 Alexandre Julliard <julliard@winehq.org>
4769 * vc.el (vc-status-update): Undo the previous revert.
4771 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4773 * minibuffer.el (completion-table-with-terminator): Those completions
4774 are never valid w.r.t test-completion.
4775 (completion--file-name-table):
4776 Check completion-all-completions-with-base-size.
4778 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
4780 * doc-view.el (doc-view-dvipdf-program): New variable.
4781 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
4782 (doc-view-mode-p): Check for doc-view-dvipdf-program as
4783 alternative for doc-view-dvipdfm-program.
4784 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
4786 * doc-view.el (doc-view-start-process): Don't set
4787 default-directory to "~/" if the current value is valid.
4788 This broke PS files that run other files in the same directory.
4790 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
4792 * vc.el (vc-status-kill-query): New function.
4793 (vc-status-mode): Add it to kill-buffer-query-functions.
4794 (vc-status-show-fileentry): New function.
4795 (vc-status-menu-map): Bind it. Bind vc-next-action.
4797 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * minibuffer.el (minibuffer-message): Put cursor at the right place.
4801 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4803 * proced.el (proced-send-signal): Fix error recognition.
4805 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4807 * proced.el (proced-command-alist): Remove sort column.
4808 (proced-command, proced-procname-column):
4809 Use make-variable-buffer-local.
4810 (proced-signal-function): Rename from proced-kill-program.
4811 Allow for elisp symbols and string values representing system calls.
4812 (proced-marker-regexp, proced-success-message): New functions.
4813 (proced): Use defalias. Add autoload cookie.
4814 (proced-unmark-backward, proced-toggle-marks)
4815 (proced-hide-processes): New commands.
4816 (proced-do-mark): Simplify code.
4817 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
4818 (proced-update): Remove sorting.
4819 (proced-send-signal): Display number of processes to operate on.
4820 Allow for system calls or elisp functions to send signals.
4821 Check if signal was sent successfully.
4823 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * minibuffer.el (completion-all-completion-with-base-size): New var.
4826 (completion--some): New function.
4827 (completion-table-with-context, completion--file-name-table):
4828 Return the base-size if requested.
4829 (completion-table-in-turn): Generalize to multiple arguments.
4830 (complete-in-turn): Compatibility alias.
4831 (completion-styles-alist): New var.
4832 (completion-styles): New customization.
4833 (minibuffer-try-completion, minibuffer-all-completions):
4835 (minibuffer--do-completion, minibuffer-complete-and-exit)
4836 (minibuffer-try-word-completion): Use them.
4837 (display-completion-list, minibuffer-completion-help): Use them.
4838 Handle all-completions's new base-size info to set completion-base-size.
4839 * info.el (Info-read-node-name-1): Use completion-table-with-context,
4840 completion-table-with-terminator and complete-with-action.
4841 Remove the now obsolete completion-base-size-function property.
4842 * simple.el (completion-list-mode-map): Move init into declaration.
4843 (completion-list-mode): Use define-derived-mode.
4844 (completion-setup-function): Use any completion-base-size that may
4845 have been set before. Remove handling of completion-base-size-function.
4846 * loadup.el: Move abbrev.el up earlier.
4848 2008-04-13 Alexandre Julliard <julliard@winehq.org>
4850 * vc-git.el (vc-git-after-dir-status-stage)
4851 (vc-git-dir-status-goto-stage): New functions.
4852 (vc-git-after-dir-status-stage1)
4853 (vc-git-after-dir-status-stage1-empty-db)
4854 (vc-git-after-dir-status-stage2): Remove, functionality moved
4855 into the new generic stage functions.
4856 (vc-git-dir-status-files): New function.
4858 * vc.el (vc-status-update): Revert an incorrect rewrite.
4860 (vc-status-refresh-files): New function.
4861 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
4862 state of up-to-date files.
4863 (vc-default-dir-status-files): New function.
4865 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
4867 * minibuffer.el (completion--embedded-envvar-table)
4868 (read-file-name-internal): Fix typos in 2008-04-11 change.
4870 * faces.el (read-face-name): Use `completion-table-in-turn',
4871 not `complete-in-turn'.
4873 2008-04-13 Andreas Schwab <schwab@suse.de>
4875 * progmodes/etags.el: Require 'cl when compiling.
4877 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
4879 * progmodes/gud.el (gud-menu-map): Expand tooltip.
4881 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
4882 (menu): Add/expand menu tooltips.
4884 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
4886 * progmodes/sh-script.el (sh-show-indent): Fix typo.
4887 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
4889 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
4890 considered registered.
4892 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
4894 * emacs-lisp/copyright.el (copyright-update-directory): New command.
4896 * ediff-wind.el (ediff-split-window-function)
4897 (ediff-merge-split-window-function): Improve custom type.
4899 2008-04-12 Eli Zaretskii <eliz@gnu.org>
4901 * loadup.el ("minibuffer"): Move after "faces".
4903 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * progmodes/hideif.el (hif-factor): Handle unary minus.
4907 2008-04-12 Glenn Morris <rgm@gnu.org>
4909 * calendar/cal-china.el (chinese-calendar-time-zone):
4910 Mark obsolete name as risky too.
4912 * calendar/calendar.el (calendar-faces): New custom group.
4913 (calendar-today, diary, holiday): Doc fix.
4914 Move to calendar-faces group.
4915 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
4916 (diary-button): Doc fix. Move to calendar-faces group.
4918 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4919 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
4920 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
4921 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
4922 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
4923 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
4924 not in dumped files before the associated defcustom.
4926 2008-04-11 Johan Bockgård <bojohan@gnu.org>
4928 * minibuffer.el (lazy-completion-table): Fix debug spec.
4930 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * minibuffer.el (complete-with-action, lazy-completion-table):
4934 (apply-partially, completion-table-dynamic)
4935 (completion-table-with-context, completion-table-with-terminator)
4936 (completion-table-in-turn): New funs.
4937 (completion--make-envvar-table, completion--embedded-envvar-table):
4939 (read-file-name-internal): Use them.
4940 (completion-setup-hook): Move from simple.el.
4941 * subr.el (complete-with-action, lazy-completion-table):
4942 * simple.el (completion-setup-hook): Move to minibuffer.el.
4944 2008-04-11 Glenn Morris <rgm@gnu.org>
4946 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
4948 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
4952 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
4954 * textmodes/fill.el (fill-forward-paragraph-function): New var.
4955 (fill-forward-paragraph): New fun.
4956 (fill-paragraph, fill-region): Use it.
4958 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
4959 (vc-status-create-fileinfo): Make `extra' optional.
4960 (vc-status-busy): New fun.
4961 (vc-status-menu-map): Use it.
4962 (vc-status-crt-marked): Remove.
4963 (vc-status-update): Rename from vc-status-add-entries.
4964 Add argument so as to prevent addition of entries. Rewrite.
4965 (vc-update-vc-status-buffer): Remove.
4966 (vc-status-refresh): Don't remove old entries, set them to
4967 up-to-date instead. Also do it after the update is complete.
4968 (vc-status-marked-files): η-reduce.
4970 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
4973 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
4975 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
4977 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
4979 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
4980 to t and don't truncate msg.
4982 2008-04-11 Glenn Morris <rgm@gnu.org>
4984 * calendar/calendar.el (diary, holidays):
4985 Move custom groups to other files.
4986 (holiday-general-holidays, holiday-oriental-holidays)
4987 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
4988 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
4989 (holiday-hebrew-holidays, holiday-christian-holidays)
4990 (holiday-islamic-holidays, holiday-bahai-holidays)
4991 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
4992 * calendar/diary-lib.el: Move custom group here from calendar.el.
4993 * calendar/holidays-lib.el: Move custom group and variables here
4996 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
4998 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
5000 (calendar-current-time-zone-cache): Autoload riskiness.
5002 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
5004 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
5006 * woman.el (woman2-TH): Use string-equal instead of string-match.
5008 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
5011 (smerge-resolve): Merge the "2-way refinement" case with one half of
5012 the "mere whitespace" resolution.
5014 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
5016 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
5018 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
5020 * subr.el (assoc-ignore-case, assoc-ignore-representation):
5021 Add WHEN to obsolescence declaration.
5023 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
5025 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
5027 * vc-hooks.el (vc-state): Add new state `conflict'.
5028 (vc-after-save): Use when not if.
5029 (vc-default-mode-line-string): Deal with the conflict state.
5030 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
5032 * vc.el (vc-editable-p, vc-default-status-printer)
5033 (vc-next-action): Deal with the conflict state.
5034 (vc-mark-resolved): New function.
5035 (vc-status-mode): Fix mode name.
5036 (vc-default-comment-history): Use when not if.
5037 (Todo): Add new entries, remove old ones.
5039 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
5040 (vc-cvs-parse-status, vc-cvs-after-dir-status):
5041 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
5042 Detect the conflict state.
5044 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
5046 2008-04-10 Glenn Morris <rgm@gnu.org>
5048 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
5049 Respect truncate-partial-width-windows in non-full windows,
5050 with regards to :toggle and :enable state.
5052 * simple.el (toggle-truncate-lines): Doc fix.
5054 * Makefile.in (MH_E_DIR): New variable.
5055 (MH_E_SRC): Restore variable removed 2008-03-13.
5056 (mh-loaddefs.el): Depend on $MH_E_SRC.
5057 (CAL_DIR, CAL_SRC): New variables.
5058 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
5061 * calendar/calendar.el (calendar, diary): Add :prefix.
5062 (holidays): Change :prefix.
5063 (calendar-today, holiday, calendar-holiday-marker)
5064 (european-calendar-style): Change custom groups.
5066 * calendar/calendar.el (diary-hook, diary-display-hook):
5067 Move to diary-lib.el.
5068 * calendar/diary-lib.el (diary-hook, diary-display-hook):
5069 Move here from calendar.el.
5070 * calendar/appt.el: Require diary-lib rather than calendar.
5071 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
5073 * calendar/appt.el (appt): Add :prefix.
5075 * calendar/diary-lib.el (diary-hook): Doc fix.
5076 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
5078 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5080 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
5083 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
5084 the arg to recursive calls.
5086 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
5088 * minibuffer.el (completion-auto-help): Fix typo.
5090 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
5094 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
5096 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
5097 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
5099 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
5103 * minibuffer.el (minibuffer): Move group from cus-edit.el.
5104 (completion-auto-help): Move from C code.
5105 (minibuffer--maybe-completion-help): Remove.
5106 (minibuffer--bitset): New function.
5107 (minibuffer--do-completion): Rename from minibuffer-do-completion.
5108 Renumber a bit. Really complete on string *before* point.
5109 Add argument used for word-completion.
5110 Join trailing / in completion with following text, as done in
5111 minibuffer-complete-word.
5112 Handle new value `lazy' for completion-auto-help.
5113 (minibuffer-try-word-completion): New function extracted from
5114 minibuffer-complete-word.
5115 (minibuffer-complete-word): Use minibuffer--do-completion.
5116 (minibuffer--insert-strings): Rename from
5117 minibuffer-complete-insert-strings.
5118 (exit-minibuffer): Fix typo.
5119 * cus-edit.el (minibuffer): Move group to minibuffer.el.
5120 * cus-start.el: Remove completion-auto-help.
5122 2008-04-09 Alexandre Julliard <julliard@winehq.org>
5124 * vc.el (vc-status-add-entries): New function.
5125 (vc-status-add-entry): Remove.
5126 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
5127 Use vc-status-add-entries.
5129 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
5132 2008-04-09 Jason Rumney <jasonr@gnu.org>
5134 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
5135 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
5136 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
5137 (AUTOGENEL): New variable.
5138 (distclean, maintainer-clean): New targets.
5140 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5142 * emacs-lisp/regexp-opt.el (regexp-opt):
5143 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
5145 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
5147 * nxml/nxml-mode.el (nxml-cleanup): New function.
5148 (nxml-mode): Add it to change-major-mode-hook.
5150 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5152 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
5154 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
5156 * calc/.cvsignore: New file.
5158 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5160 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
5162 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
5163 show-help-function when turning tooltip off.
5164 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
5165 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
5167 2008-04-09 Alan Mackenzie <acm@muc.de>
5169 * font-lock.el (font-lock-extend-after-change-region-function):
5170 Make it buffer local.
5172 2008-04-09 Glenn Morris <rgm@gnu.org>
5174 * calendar/calendar.el (diary-file, european-calendar-style):
5175 Remove autoload cookies.
5177 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5179 * outline.el (outline-mode-menu-bar-map):
5180 * log-view.el (log-view-mode-menu):
5181 * log-edit.el (log-edit-menu): Add :help.
5183 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5185 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5186 Use substring-no-properties for correct handling of unibyte strings.
5188 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5190 * add-log.el (change-log-next-buffer): Handle the case where version<
5193 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
5194 mouse-major-mode-menu.
5195 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
5196 (mouse-major-mode-menu, mouse-popup-menubar)
5197 (mouse-popup-menubar-stuff): Use them.
5198 (C-down-mouse-3): Bind to a dynamic map rather than to
5199 mouse-popup-menubar-stuff.
5201 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
5202 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
5204 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5206 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
5207 file:// access method.
5209 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5211 * minibuffer.el: New file.
5212 * loadup.el: Load it.
5214 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5216 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
5217 rather than subdirs.el. It introduces an ugly circular dependency, tho.
5219 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
5220 (calc-mode-map, calc-digit-map, calc-dispatch-map):
5221 Move initialization into declaration.
5222 * calc/calc-yank.el:
5223 * calc/calc-misc.el:
5224 * calc/calc-embed.el:
5225 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
5227 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
5229 * ps-samp.el (ps-add-printer, ps-remove-printer)
5230 (ps-make-dynamic-printer-menu): New functions.
5232 * net/zeroconf.el: New file.
5234 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
5238 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
5240 * vc-rcs.el (vc-rcs-modify-change-comment):
5241 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
5243 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
5245 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
5247 * international/mule-cmds.el (set-locale-environment): Don't warn if
5248 coding system doesn't agree with system locale (this reverts changes
5249 by Dave Love, dated 2002-10-27 and 2002-10-09).
5251 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5252 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
5254 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
5256 2008-04-08 Glenn Morris <rgm@gnu.org>
5258 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
5259 * textmodes/remember.el (remember-diary-convert-entry):
5262 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
5263 diary-file, since it is the default for make-diary-entry anyway.
5265 * calendar/cal-menu.el (cal-menu-event-to-date):
5266 Rename calendar-event-to-date. Update callers.
5267 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
5268 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
5269 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
5270 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
5271 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
5272 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
5273 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
5274 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
5275 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
5276 (calendar-mouse-tex-month-landscape):
5277 Rename cal-tex-mouse-month-landscape.
5278 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
5279 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
5280 (calendar-mouse-tex-year-landscape):
5281 Rename cal-tex-mouse-year-landscape.
5282 (cal-menu-context-mouse-menu): Update for above name changes.
5284 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5285 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5286 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
5287 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
5288 * calendar/holidays.el: Replace int-to-string with number-to-string.
5290 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
5292 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
5293 region if point moves.
5295 2008-04-08 Kenichi Handa <handa@m17n.org>
5297 * faces.el (font-slant-table): Change numeric values for `r',
5298 `roman', and `normal'.
5300 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
5302 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
5304 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
5306 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
5307 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
5309 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
5311 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
5312 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
5314 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
5318 2008-04-07 Sam Steingold <sds@gnu.org>
5320 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
5321 Add helper functions.
5322 (lisp-do-defun): Extract the common part of lisp-eval-defun and
5323 lisp-compile-defun; DEFVAR forms reset the variables to the init
5324 values, just like in emacs-lisp mode eval-defun.
5325 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
5326 (lisp-compile-region): Use lisp-compile-string.
5328 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5330 * subr.el (combine-and-quote-strings): Also quote strings that contain
5333 * pcvs-util.el (cvs-map): Avoid recursion :-(
5335 2008-04-07 Glenn Morris <rgm@gnu.org>
5337 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
5339 * calendar.el (diary-view-entries-initially-flag): Rename
5340 view-diary-entries-initially. Keep old name as alias, update users.
5341 (calendar-mark-diary-entries-flag): Rename
5342 mark-diary-entries-in-calendar. Keep old name as alias, update users.
5343 (calendar-view-holidays-initially-flag): Rename
5344 view-calendar-holidays-initially. Keep old name as alias, update users.
5345 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
5346 Keep old name as alias, update users.
5347 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
5348 Keep old name as alias, update users.
5349 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
5350 Keep old name as alias, update users.
5351 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
5352 Keep old name as alias, update users.
5353 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
5354 (diary-american-date-forms): Rename american-date-diary-pattern.
5355 Keep old name as alias, update users.
5356 (diary-european-date-forms): Rename european-date-diary-pattern.
5357 Keep old name as alias, update users.
5358 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
5359 Keep old name as alias, update users.
5360 (calendar-european-date-display-form): Rename
5361 european-calendar-display-form. Keep old name as alias, update users.
5362 (calendar-american-date-display-form): Rename
5363 european-calendar-display-form. Keep old name as alias, update users.
5364 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
5365 Keep old name as alias, update users.
5366 (holiday-general-holidays): Rename general-holidays.
5367 Keep old name as alias, update users.
5368 (holiday-oriental-holidays): Rename oriental-holidays.
5369 Keep old name as alias, update users.
5370 (holiday-local-holidays): Rename local-holidays.
5371 Keep old name as alias, update users.
5372 (holiday-other-holidays): Rename other-holidays.
5373 Keep old name as alias, update users.
5374 (holiday-hebrew-holidays): Rename hebrew-holidays.
5375 Keep old name as alias, update users.
5376 (holiday-christian-holidays): Rename christian-holidays.
5377 Keep old name as alias, update users.
5378 (holiday-islamic-holidays): Rename islamic-holidays.
5379 Keep old name as alias, update users.
5380 (holiday-bahai-holidays): Rename bahai-holidays.
5381 Keep old name as alias, update users.
5382 (holiday-solar-holidays): Rename solar-holidays.
5383 Keep old name as alias, update users.
5384 (diary-fancy-buffer): Rename fancy-diary-buffer.
5385 Keep old name as alias, update users.
5386 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
5388 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
5390 (calendar-increment-month): Rename increment-calendar-month.
5391 Keep old name as alias, update callers.
5392 (calendar-increment-month-cons): Rename old calendar-increment-month.
5394 (calendar-extract-month): Rename extract-calendar-month.
5395 Keep old name as alias, update callers.
5396 (calendar-extract-day): Rename extract-calendar-day.
5397 Keep old name as alias, update callers.
5398 (calendar-extract-year): Rename extract-calendar-year.
5399 Keep old name as alias, update callers.
5400 (calendar-generate-window): Rename generate-calendar-window.
5402 (calendar-generate): Rename generate-calendar. Update callers.
5403 (calendar-generate-month): Rename generate-calendar-month.
5405 (calendar-redraw): Rename redraw-calendar. Update callers.
5406 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
5407 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
5409 (calendar-update-mode-line): Rename update-calendar-mode-line.
5411 (calendar-exit): Rename exit-calendar. Keep old name as alias,
5413 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
5414 Keep old name as alias, update callers.
5415 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5416 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
5417 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
5418 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
5419 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
5420 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
5421 * calendar/solar.el: Update for calendar.el name changes.
5422 * org/org.el (org-agenda-format-date-aligned)
5423 (org-agenda-execute-calendar-command): Access date elements directly
5424 rather than using calendar functions.
5425 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
5426 Also set calendar-view-diary-initially-flag,
5427 calendar-view-holidays-initially-flag.
5428 (org-get-entries-from-diary): Also set diary-fancy-buffer.
5429 (org-agenda-execute-calendar-command): No need to set displayed-day.
5431 2008-04-06 Alan Mackenzie <acm@muc.de>
5433 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
5434 typo in the doc string.
5436 * progmodes/cc-mode.el (c-basic-common-init):
5437 Set font-lock-extend-after-change-region-function.
5438 (c-extend-after-change-region): New function, used in
5439 font-lock-extend-after-change-region-function, thus superseding
5440 advice on the Font Lock after change functions.
5441 (c-advise-fl-for-region): Remove this macro.
5443 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
5445 * textmodes/flyspell.el (flyspell-duplicate-distance):
5446 Improve custom type.
5448 2008-04-06 Glenn Morris <rgm@gnu.org>
5450 * calendar/diary-lib.el (diary-sexp-entry-symbol):
5451 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
5452 (diary-list-entries-hook): Rename list-diary-entries-hook.
5453 Keep old name as alias, update users.
5454 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
5455 Keep old name as alias, update users.
5456 (diary-nongregorian-listing-hook): Rename
5457 nongregorian-diary-listing-hook. Keep old name as alias, update users.
5458 (diary-nongregorian-marking-hook): Rename
5459 nongregorian-diary-marking-hook. Keep old name as alias, update users.
5460 (diary-print-entries-hook): Rename print-diary-entries-hook.
5461 Keep old name as alias, update users.
5462 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
5463 Keep old name as alias, update users.
5464 (diary-number-of-entries): Rename number-of-diary-entries.
5465 Keep old name as alias, update users.
5466 (view-diary-entries, list-diary-entries, show-all-diary-entries):
5467 Give version of obsolescence.
5468 (diary-view-other-diary-entries): Rename view-other-diary-entries.
5469 Keep old name as alias, update callers.
5470 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
5472 (diary-include-other-diary-files): Rename include-other-diary-files.
5473 Keep old name as alias, update callers.
5474 (diary-simple-display): Rename simple-diary-display.
5475 Keep old name as alias, update callers.
5476 (diary-fancy-display): Rename fancy-diary-display.
5477 Keep old name as alias, update callers.
5478 (diary-print-entries): Rename print-diary-entries.
5479 Keep old name as alias, update callers.
5480 (diary-marking-entries-flag): Rename marking-diary-entries.
5482 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
5483 (diary-mark-entries): Rename mark-diary-entries.
5484 Keep old name as alias, update callers.
5485 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
5486 Keep old name as alias, update callers.
5487 (diary-mark-included-diary-files): Rename mark-included-diary-files.
5488 Keep old name as alias, update callers.
5489 (calendar-mark-days-named): Rename mark-calendar-days-named.
5490 Keep old name as alias, update callers.
5491 (calendar-mark-month): Rename mark-calendar-month.
5492 Keep old name as alias, update callers.
5493 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
5494 Keep old name as alias, update callers.
5495 (diary-sort-entries): Rename sort-diary-entries.
5496 Keep old name as alias, update callers.
5497 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
5498 Keep old name as alias, update callers.
5499 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
5501 (diary-insert-entry): Rename insert-diary-entry.
5502 Keep old name as alias.
5503 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
5504 Keep old name as alias.
5505 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
5506 Keep old name as alias.
5507 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
5508 Keep old name as alias.
5509 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
5510 Keep old name as alias.
5511 (diary-insert-block-entry): Rename insert-block-diary-entry.
5512 Keep old name as alias.
5513 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
5514 Keep old name as alias.
5515 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
5516 Keep old name as alias, update users.
5517 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
5518 Keep old name as alias, update callers.
5519 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5520 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
5521 * calendar/icalendar.el: Update for diary-lib name changes.
5523 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
5525 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
5527 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
5528 for copy, move, and link operations.
5530 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
5532 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
5533 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
5535 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
5536 'require' statements with 1-argument ones (wrapped in if's).
5537 For compatibility with the current stable version of XEmacs.
5539 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
5541 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
5543 2008-04-06 Jason Rumney <jasonr@gnu.org>
5545 * language/burmese.el ("Burmese"): Make sample text consistent with
5548 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
5550 * progmodes/gdb-ui.el (gdb): New group.
5551 (gdb-debug-log-max, gdb-enable-debug)
5552 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
5553 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
5554 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
5555 (gdb-show-changed-values, gdb-max-children)
5556 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
5557 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
5558 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
5559 (gdb-memory-unit): Move to new group from GUD group.
5560 (menu): Allow customization from GDB-UI menu-item.
5562 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
5564 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
5566 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
5569 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
5570 Revision numbers can include ".".
5572 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
5573 "+" lines not accounted for by counting "-" and context lines.
5575 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5577 * term/mac-win.el (mac-service-open-file): Use file URL instead of
5580 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
5583 (vc-bzr-annotate-time): Accept space used to preserve alignment.
5585 2008-04-05 Richard Stallman <rms@gnu.org>
5587 * emacs-lisp/advice.el (defadvice): Add usage pattern.
5589 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
5591 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
5594 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
5596 * files.el (abort-if-file-too-large): Fix typo in docstring.
5598 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5600 * subr.el (functionp): Return nil for special forms.
5602 2008-04-05 Glenn Morris <rgm@gnu.org>
5604 * emacs-lisp/autoload.el (autoload-ensure-default-file):
5606 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
5607 Require loaddef file rather than loading it.
5608 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
5609 autoload-ensure-default-file provides a feature.
5611 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
5612 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
5613 (compile, compile-always, recompile): Use $LOADDEFS.
5614 (cal-autoloads): Remove.
5616 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
5617 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
5619 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
5620 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
5622 * calendar/calendar.el (diary-hebrew-entry-symbol):
5623 Rename hebrew-diary-entry-symbol. Keep old name as alias.
5624 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
5625 Keep old name as alias.
5626 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
5627 Keep old name as alias.
5628 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
5629 to diary-bahai-entry-symbol.
5630 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
5631 to diary-hebrew-entry-symbol.
5632 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
5633 to diary-islamic-entry-symbol.
5634 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
5636 * calendar/solar.el (diary-sabbath-candles-minutes)
5637 (diary-sabbath-candles): Move to cal-hebrew.
5638 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
5639 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
5640 Doc fix. Keep old name as alias.
5641 (diary-hebrew-sabbath-candles): Simplify.
5642 (solar-setup, solar-sunrise-sunset, calendar-latitude)
5643 (calendar-longitude, calendar-time-zone): Declare for compiler.
5644 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
5647 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
5648 Rename coptic-calendar-month-name-array. Update callers.
5649 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
5650 (calendar-coptic-name): Rename coptic-name. Update callers.
5651 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
5653 (calendar-coptic-last-day-of-month):
5654 Rename coptic-calendar-last-day-of-month. Update callers.
5655 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
5656 Keep old name as alias, update callers.
5657 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
5658 Keep old name as alias, update callers.
5659 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
5660 Keep old name as alias.
5661 (calendar-ethiopic-month-name-array):
5662 Rename ethiopic-calendar-month-name-array. Update callers.
5663 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
5665 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
5666 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
5667 Keep old name as alias, update callers.
5668 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
5669 Keep old name as alias, update callers.
5670 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
5671 Keep old name as alias.
5673 * calendar/cal-french.el (calendar-french-epoch):
5674 Rename french-calendar-epoch. Update callers.
5675 (calendar-french-month-name-array): Rename variable and function
5676 french-calendar-month-name-array. Update callers.
5677 (calendar-french-multibyte-month-name-array):
5678 Rename french-calendar-multibyte-month-name-array. Update callers.
5679 (calendar-french-day-name-array): Rename variable and function
5680 french-calendar-day-name-array. Update callers.
5681 (calendar-french-special-days-array): Rename variable and function
5682 french-calendar-special-days-array. Update callers.
5683 (calendar-french-multibyte-special-days-array):
5684 Rename french-calendar-multibyte-special-days-array. Update callers.
5685 (calendar-french-accents-p): Rename french-calendar-accents.
5687 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
5689 (calendar-french-last-day-of-month):
5690 Rename french-calendar-last-day-of-month. Update callers.
5691 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
5692 Keep old name as alias, update callers.
5693 (calendar-french-print-date): Rename calendar-print-french-date.
5694 Keep old name as alias, update callers.
5695 (calendar-french-goto-date): Rename calendar-goto-french-date.
5696 Keep old name as alias.
5698 * calendar/cal-menu.el, calendar/calendar.el:
5699 Update for Coptic and French name changes.
5701 * calendar/cal-china.el (calendar-chinese): Rename custom group
5702 from chinese-calendar. Update users.
5703 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
5704 Keep old name as alias, update users.
5705 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
5706 Keep old name as alias.
5707 (calendar-chinese-daylight-time-offset):
5708 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
5710 (calendar-chinese-standard-time-zone-name):
5711 Rename chinese-calendar-standard-time-zone-name.
5712 Keep old name as alias, update users.
5713 (calendar-chinese-daylight-saving-start):
5714 Rename chinese-calendar-daylight-savings-starts.
5715 Keep old name as alias, update users.
5716 (calendar-chinese-daylight-saving-end):
5717 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
5719 (calendar-chinese-daylight-saving-start-time):
5720 Rename chinese-calendar-daylight-savings-starts-time.
5721 Keep old name as alias, update users.
5722 (calendar-chinese-daylight-saving-end-time):
5723 Rename chinese-calendar-daylight-savings-ends-time.
5724 Keep old name as alias, update users.
5725 (calendar-chinese-celestial-stem): Rename
5726 calendar-chinese-celestial-stem. Keep old name as alias, update users.
5727 (calendar-chinese-terrestrial-branch):
5728 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
5730 (calendar-chinese-zodiac-sign-on-or-after):
5731 Rename chinese-zodiac-sign-on-or-after. Update callers.
5732 (calendar-chinese-new-moon-on-or-after):
5733 Rename chinese-new-moon-on-or-after. Update callers.
5734 (calendar-chinese-month-list): Rename chinese-month-list.
5736 (calendar-chinese-number-months): Rename number-chinese-months.
5738 (calendar-chinese-compute-year): Rename compute-chinese-year.
5740 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
5741 (calendar-chinese-year): Rename chinese-year. Update callers.
5742 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
5743 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
5744 Keep old name as alias, update callers.
5745 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
5746 Keep old name as alias, update callers.
5747 (calendar-chinese-months-to-alist):
5748 Rename make-chinese-month-assoc-list. Update callers.
5749 (calendar-chinese-months): Rename chinese-months. Update callers.
5750 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
5751 Keep old name as alias, update callers.
5753 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
5754 Rename hebrew-calendar-leap-year-p. Update callers.
5755 (calendar-hebrew-last-month-of-year):
5756 Rename hebrew-calendar-last-month-of-year. Update callers.
5757 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
5759 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
5761 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
5763 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
5765 (calendar-hebrew-last-day-of-month):
5766 Rename hebrew-calendar-last-day-of-month. Update callers.
5767 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
5768 Keep old name as alias, update callers.
5769 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
5770 Keep old name as alias, update callers.
5771 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
5772 Keep old name as alias, update callers.
5773 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
5774 Keep old name as alias.
5775 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
5776 Keep old name as alias.
5777 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
5778 Keep old name as alias.
5779 (holiday-hebrew-passover): Rename holiday-passover-etc.
5780 Keep old name as alias.
5781 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
5782 Keep old name as alias, update callers.
5783 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
5784 Keep old name as alias.
5785 (calendar-hebrew-mark-date-pattern):
5786 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
5788 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
5789 Keep old name as alias.
5790 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
5791 Keep old name as alias.
5792 (diary-hebrew-insert-monthly-entry):
5793 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
5794 (diary-hebrew-insert-yearly-entry):
5795 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
5796 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
5797 Keep old name as alias.
5798 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
5799 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
5800 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
5801 Keep old name as alias.
5802 (calendar-hebrew-parashiot-names):
5803 Rename hebrew-calendar-parashiot-names. Update callers.
5804 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
5805 (calendar-hebrew-year-Saturday-incomplete-Sunday):
5806 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
5807 (calendar-hebrew-year-Saturday-complete-Tuesday):
5808 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
5809 (calendar-hebrew-year-Monday-incomplete-Tuesday):
5810 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
5811 (calendar-hebrew-year-Monday-complete-Thursday):
5812 Rename hebrew-calendar-year-Monday-complete-Thursday.
5813 (calendar-hebrew-year-Tuesday-regular-Thursday):
5814 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
5815 (calendar-hebrew-year-Thursday-regular-Saturday):
5816 Rename hebrew-calendar-year-Thursday-regular-Saturday.
5817 (calendar-hebrew-year-Thursday-complete-Sunday):
5818 Rename hebrew-calendar-year-Thursday-complete-Sunday.
5819 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
5820 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
5821 (calendar-hebrew-year-Saturday-complete-Thursday):
5822 Rename hebrew-calendar-year-Saturday-complete-Thursday.
5823 (calendar-hebrew-year-Monday-incomplete-Thursday):
5824 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
5825 (calendar-hebrew-year-Monday-complete-Saturday):
5826 Rename hebrew-calendar-year-Monday-complete-Saturday.
5827 (calendar-hebrew-year-Tuesday-regular-Saturday):
5828 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
5829 (calendar-hebrew-year-Thursday-incomplete-Sunday):
5830 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
5831 (calendar-hebrew-year-Thursday-complete-Tuesday):
5832 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
5833 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
5834 Update for above name changes of constants.
5836 * calendar/cal-menu.el, calendar/calendar.el:
5837 Update for chinese and hebrew name changes.
5838 * calendar/diary-lib.el: Update for hebrew name changes.
5840 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * subr.el (keymap-canonicalize): Correct thinko.
5844 * server.el: Undo part of the multi-tty change, which is only
5845 needed if server.el is preloaded, and broke server-running-p.
5846 (server-socket-dir): Initialize in the defvar, as before.
5847 (server-start): Remove initialization of server-socket-dir.
5849 2008-04-05 Eli Zaretskii <eliz@gnu.org>
5851 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
5852 3-member cons cells.
5854 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
5856 * cus-face.el (custom-face-attributes): Handle roman slant.
5858 * faces.el (default): Ensure the face-defface-spec property is set.
5860 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
5862 * files.el (abort-if-file-too-large): New function.
5863 (find-file-noselect, insert-file-1): Use it.
5865 2008-04-05 Reto Zimmermann <reto@gnu.org>
5867 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5868 Replace C-c[a-zA-Z] key bindings.
5870 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * progmodes/hideif.el (hif-token-alist): New var.
5873 (hif-token-regexp, hif-tokenize): Use it.
5874 (hif-mathify-binop): New macro.
5875 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
5876 (hif-greater-equal, hif-less-equal): Use it.
5877 (hif-logior, hif-logand): New functions.
5878 (hif-math): Accept | and & as well.
5880 * progmodes/etags.el: Fix problem with completion for buffer-local
5881 tables. Reported by Radey Shouman <shouman@comcast.net>.
5882 (tags-complete-tag): Remove.
5883 (tags-lazy-completion-table): New function to replace it.
5884 (find-tag-tag, complete-tag): Update users.
5886 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
5888 * vc-rcs.el (vc-rcs-dir-status):
5889 * vc-sccs.el (vc-sccs-dir-status): New function.
5891 * outline.el (outline-mode-menu-bar-map):
5892 * term.el (terminal-signal-menu): Add :help.
5894 * net/eudc.el (eudc-mode-map): Declare and define in one step.
5895 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
5897 * emacs-lisp/re-builder.el (reb-mode-map):
5898 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
5900 * diff-mode.el (diff-file-junk-re): Recognize the git format for
5901 new files, deleted files and for changing permissions.
5902 (diff-mode): Set beginning-of-defun-function and
5903 end-of-defun-function.
5905 * vc-bzr.el (vc-bzr-state): Use when instead of if.
5907 * vc.el (vc-default-status-fileinfo-extra): New function.
5908 (vc-status-mark-buffer-changed): Use it.
5909 (vc-update-vc-status-buffer): Allow for partial updates.
5911 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * net/tramp.el (after-init-hook): Don't wrap a lambda around
5914 tramp-register-completion-file-name-handler.
5916 * subr.el (keymap-canonicalize): New function.
5917 * mouse.el (mouse-menu-non-singleton): Use it.
5918 (mouse-major-mode-menu): Remove hack made unnecessary.
5920 * simple.el (set-fill-column): Prompt rather than error by default.
5922 2008-04-04 Andreas Schwab <schwab@suse.de>
5924 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
5925 Reset new-rules after each round.
5927 * Makefile.in (cal-autoloads): New target.
5928 (compile, compile-always, recompile): Depend on it.
5929 ($(lisp)/calendar/cal-loaddefs.el)
5930 ($(lisp)/calendar/diary-loaddefs.el)
5931 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
5933 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
5935 * ediff*.el: Replace load with require in eval-when-compile.
5937 * ediff-hook: Delete all invocations of (autoload ...).
5939 * ediff-util.el (ediff-setup): Make window-min-height a local variable
5940 in ediff control window, and set its min height to 2.
5941 (ediff-setup-control-buffer): Dedicate the control window.
5942 (ediff-toggle-multiframe): Undedicate control window.
5943 Work directly with ediff-setup-windows-multiframe and
5944 ediff-setup-windows-plain.
5946 * ediff-wind (ediff-choose-window-setup-function-automatically):
5948 (ediff-window-setup-function): Change initialization.
5949 (ediff-setup-windows-automatic): Delete.
5950 (ediff-setup-windows-plain-merge): Make control window dedicated.
5951 (ediff-destroy-control-frame): Do not skip frames if working in a
5954 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
5957 * emulation/viper-util.el: Move provide's forward, prevent recursion in
5960 2008-04-04 Glenn Morris <rgm@gnu.org>
5962 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
5963 calendar-absolute-from-bahai. Update callers, keep old name as alias.
5965 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
5966 Rename islamic-calendar-leap-year-p. Update callers.
5967 (calendar-islamic-last-day-of-month):
5968 Rename islamic-calendar-last-day-of-month. Update callers.
5969 (calendar-islamic-day-number):
5970 Rename islamic-calendar-day-number. Update callers.
5971 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
5972 Update callers, keep old name as alias.
5973 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
5974 Update callers, keep old name as alias.
5975 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
5976 Keep old name as alias.
5977 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
5978 Update callers, keep old name as alias.
5979 (calendar-islamic-mark-date-pattern):
5980 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
5982 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
5983 Keep old name as alias.
5984 (diary-islamic-insert-monthly-entry):
5985 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
5986 (diary-islamic-insert-yearly-entry):
5987 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
5989 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
5990 calendar-absolute-from-iso. Update callers, keep old name as alias.
5991 (calendar-iso-print-date): Rename calendar-print-iso-date.
5992 Update callers, keep old name as alias.
5993 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
5994 Keep old name as alias.
5995 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
5996 Keep old name as alias.
5998 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
5999 calendar-absolute-from-julian. Update callers, keep old name as alias.
6000 (calendar-julian-print-date): Rename calendar-print-julian-date.
6001 Update callers, keep old name as alias.
6002 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
6003 Update callers, keep old name as alias.
6004 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
6005 Update callers, keep old name as alias.
6006 (calendar-astro-print-day-number):
6007 Rename calendar-print-astro-day-number. Update callers, keep old
6009 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
6010 Update callers, keep old name as alias.
6012 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
6013 Rename calendar-string-to-mayan-long-count. Update callers.
6014 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
6015 Update callers, keep old name as alias.
6016 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
6018 (calendar-mayan-read-tzolkin-date):
6019 Rename calendar-read-mayan-tzolkin-date. Update callers.
6020 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
6021 Keep old name as alias.
6022 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
6023 Keep old name as alias.
6024 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
6025 Keep old name as alias.
6026 (calendar-mayan-previous-tzolkin-date):
6027 Rename calendar-previous-tzolkin-date. Keep old name as alias.
6028 (calendar-mayan-next-round-date):
6029 Rename calendar-next-calendar-round-date. Keep old name as alias.
6030 (calendar-mayan-previous-round-date):
6031 Rename calendar-previous-calendar-round-date. Keep old name as alias.
6032 (calendar-mayan-long-count-to-absolute): Rename
6033 calendar-absolute-from-mayan-long-count. Keep old name as alias.
6034 (calendar-mayan-goto-long-count-date):
6035 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
6037 * calendar/cal-persia.el (calendar-persian-month-name-array):
6038 Rename persian-calendar-month-name-array. Update callers.
6039 (calendar-persian-epoch): Rename persian-calendar-epoch.
6041 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
6043 (calendar-persian-last-day-of-month):
6044 Rename persian-calendar-last-day-of-month. Update callers.
6045 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
6046 Update callers, keep old name as alias.
6047 (calendar-persian-print-date): Rename calendar-print-persian-date.
6048 Update callers, keep old name as alias.
6049 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
6050 Keep old name as alias.
6052 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
6053 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
6054 * calendar/solar.el: Update for cal-julian name changes.
6056 * calendar/cal-dst.el: Update for persian name changes.
6058 * calendar/cal-menu.el, calendar/calendar.el:
6059 Update for islamic, iso, julian, mayan, persian name changes.
6061 * calendar/diary-lib.el: Update for islamic name changes.
6063 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
6064 Rename all-hebrew-calendar-holidays. Update callers, keep old name
6066 (calendar-christian-all-holidays-flag):
6067 Rename all-christian-calendar-holidays. Update callers, keep old
6069 (calendar-islamic-all-holidays-flag):
6070 Rename all-islamic-calendar-holidays. Update callers, keep old
6072 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
6073 Update callers, keep old name as alias.
6074 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
6075 Update for the above name changes.
6077 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
6079 * hilit-chg.el (global-highlight-changes-mode)
6080 (highlight-changes-passive-string, highlight-changes-active-string):
6081 Mark as obsolete since 23.1, not 22.1.
6083 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
6085 * hilit-chg.el (highlight-changes-visibility-initial-state)
6086 (hilit-chg-update, highlight-changes-mode-turn-on):
6087 Fix typos in docstrings.
6089 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
6091 * newcomment.el (comment-enter-backward): Be careful to restore
6092 position changed during narrowing.
6094 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
6096 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
6097 Recognize `sub ($$)'.
6099 2008-04-03 Richard Sharman <rsharman@pobox.com>
6101 * hilit-chg.el (highlight-changes-mode): Rename from
6102 highlight-changes; no longer uses sub-modes active and passive;
6103 implemented by define-minor-mode.
6104 (highlight-changes-toggle-visibility): New function, to replace
6105 the old passive/active submodes of global-highlight-changes-mode;
6106 implemented by define-minor-mode.
6107 (global-highlight-changes-mode): Rename from global-highlight-changes;
6108 rewrite using define-globalized-minor-mode.
6109 (hilit-chg-major-mode-hook, hilit-chg-check-global)
6110 (hilit-chg-post-command-hook, hilit-chg-check-global)
6111 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
6112 to use of define-globalized-minor-mode.
6113 (highlight-changes-global-initial-state): Change to be boolean.
6114 (highlight-changes-visible-string, highlight-changes-invisible-string):
6115 Rename from highlight-changes-active-string and
6116 highlight-changes-passive-string.
6117 (hilit-chg-update, hilit-chg-set): Use them.
6118 (global-highlight-changes-mode): Rename from global-highlight-changes.
6119 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
6121 (hilit-chg-hide-changes): Rewrite to use dolist.
6122 (hilit-chg-set-face-on-change, hilit-chg-update)
6123 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
6124 variable instead of testing highlight-changes-mode.
6125 (highlight-markup-buffers): Add require ediff-util; argument on calls
6126 to highlight-changes-mode changed.
6127 (highlight-compare-with-file): Fix problems with interactive
6128 call giving invalid default file.
6130 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
6132 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
6133 Fix in disassembly buffer (regression in 22.2).
6135 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
6137 * emulation/viper-macs.el (viper-read-fast-keysequence):
6138 Use viper-read-event instead of viper-read-key.
6140 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
6142 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
6143 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
6146 * emulation/viper-ex.el, emulation/viper-macs.el:
6147 * emulation/viper-mous.el:
6148 Replace load with require in eval-when-compile.
6150 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6152 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
6154 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
6155 (archive-try-jka-compr): New function.
6156 (archive-set-buffer-as-visiting-file): Use it.
6158 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
6160 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6162 * simple.el (handle-shift-selection): New arg.
6164 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6166 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
6168 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
6170 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6172 * shell.el (shell-dynamic-complete-filename): New fun.
6173 (shell-dynamic-complete-functions): Use it.
6175 * help-fns.el (describe-variable): Undo 2008-02-25 change.
6177 2008-04-03 Kenichi Handa <handa@m17n.org>
6179 * international/fontset.el (create-fontset-from-x-resource):
6180 Handle the error of X resource more gracefully.
6182 * international/latin1-disp.el (latin1-display): Don't use make-char.
6183 Fix the argument to set-char-table-range.
6184 (latin1-display-identities): Don't use make-char.
6185 (latin1-display-reset): Use map-charset-chars instead of directly
6186 calling standard-display-default.
6187 (latin1-display-check-font): Don't use make-char.
6188 (latin1-display-setup): Likewise.
6189 (latin1-display-ucs-per-lynx): Likewise.
6191 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
6194 name the fields, to make the code clearer.
6195 Rewrite all `aset' and `aref' using the defined accessors.
6196 (timer--time): New pseudo-field.
6197 (timer-set-time, timer-set-idle-time, timer-inc-time)
6198 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
6199 (timer--time-less-p): New function.
6200 (timer--activate): New function, extracted from timer-activate.
6201 (timer-activate-when-idle, timer-activate): Use it.
6202 (cancel-function-timers): Use dolist.
6204 2008-04-03 Glenn Morris <rgm@gnu.org>
6206 * add-log.el (c-beginning-of-defun, c-end-of-defun):
6207 Remove declarations; no longer used.
6208 (c-cpp-define-name, c-defun-name): Declare as functions.
6210 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
6211 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
6213 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
6214 (holiday-passover-etc, holiday-hanukkah): Doc fix.
6215 Add optional argument. Simplify.
6216 (holiday-tisha-b-av-etc): Use memq rather than unless.
6217 (holiday-julian): Autoload it.
6218 (holiday-hebrew-misc): New function.
6220 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
6222 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
6223 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
6224 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
6225 all-hebrew-calendar-holidays.
6226 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
6227 Simplify using new functions.
6228 (calendar-holidays): Doc fix.
6229 (generate-calendar-window): Use bound-and-true-p.
6231 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
6233 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
6234 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
6235 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
6236 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
6238 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
6240 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6242 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
6244 * vc-bzr.el (vc-bzr-checkout): Simplify.
6246 * image-mode.el (image-mode-fit-frame): New command.
6248 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
6249 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
6250 (keyboard-escape-quit): Check region-active-p i.s.o
6251 transient-mark-mode.
6253 2008-04-02 Simon Josefsson <simon@josefsson.org>
6255 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
6256 (imap-message-copyuid-1): Use it.
6257 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
6259 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
6261 2008-04-02 Alan Mackenzie <acm@muc.de>
6263 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
6264 New optimised functions to get the name of the current defun/macro.
6266 * add-log.el (add-log-current-defun): Move the functionality which
6267 gets the current function name for C like modes to cc-cmds.el,
6268 thus optimising for speed.
6270 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
6272 * simple.el (deactivate-mark): When the mark is temporarily
6273 active, restore the original value of transient-mark-mode.
6274 (set-mark-command): First deactivate the mark if was temporarily active.
6275 (exchange-point-and-mark): Reactivate the mark if it was
6277 (handle-shift-selection): New fun.
6278 (transient-mark-mode): Move var documentation here from buffer.c.
6279 (next-line, previous-line, backward-word, move-end-of-line)
6280 (move-beginning-of-line, forward-to-indentation)
6281 (backward-to-indentation, back-to-indentation)
6282 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
6284 * mouse.el (mouse-set-region-1): Save the old value of
6285 transient-mark-mode.
6286 (mouse-drag-track): Ignore the now-obsolete value `identity' for
6287 transient-mark-mode.
6289 * textmodes/paragraphs.el (forward-paragraph)
6290 (backward-paragraph, forward-sentence, backward-sentence): Add ^
6293 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
6295 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
6297 * net/tramp.el (tramp-make-tramp-temp-file):
6298 Use `tramp-drop-volume-letter' for the local file name part.
6300 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
6302 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
6303 Add menu entries corresponding to all the key bindings.
6305 * emacs-lisp/debug.el (debugger-mode-map):
6306 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
6307 (conf-align-assignments): Only work on the region if it is active.
6308 (conf-quote-normal): Use when instead of if. Remove redundant test.
6310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6311 for tracing and re-builder.
6313 2008-04-02 Glenn Morris <rgm@gnu.org>
6315 * calendar/appt.el (appt-disp-window-function): Doc fix.
6316 (appt-display-message): Move beep before display.
6317 (appt-check): Make interactive. Reduce the number of lets.
6318 Use string-equal to compare mode-line strings.
6319 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
6321 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
6322 (appt-delete): Simplify.
6324 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
6326 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6328 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6329 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
6330 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
6332 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
6333 (calendar-holiday-marker, mark-visible-calendar-date):
6334 * calendar/diary-lib.el (fancy-diary-display):
6335 Check for font-lock-mode before using faces.
6337 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
6338 (calendar-gregorian-from-absolute): Reduce the number of lets.
6339 (hebrew-holidays-4, generate-calendar-window): Simplify.
6340 (calendar-for-loop): Make obsolete.
6341 (calendar-nth-named-day): Doc fix.
6343 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
6344 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
6345 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
6346 Reduce the number of lets.
6347 (mark-sexp-diary-entries, calendar-mark-complex):
6348 Expand calendar-for-loops.
6350 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
6352 * find-dired.el (find-dired-filter): Fix last patch to handle
6353 multi-line process input. Pad link numbers too.
6355 2008-04-01 Jari Aalto <jari.aalto@cante.net>
6357 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
6359 2008-04-01 Jason Rumney <jasonr@gnu.org>
6361 * international/characters.el (script-list): Add phonetic script,
6362 covering IPA (previously Latin), Phonetic Extensions and
6363 Phonetic Extensions Supplement (both previously unassigned).
6365 * international/fontset.el (setup-default-fontset): Use unicode fonts
6366 that cover bopomofo script for bopomofo.
6367 Likewise for braille and mathematical.
6368 Use unicode scripts that cover the phonetic script for IPA.
6370 2008-04-01 Johan Bockgård <bojohan@gnu.org>
6372 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
6373 return the assigned value.
6375 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * abbrev.el (abbrev-mode): Use define-minor-mode.
6379 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
6380 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
6382 (minor-mode-menu-from-indicator): Use it. Simplify.
6384 * bindings.el (mode-line-mode-menu): Move before (new) first use.
6385 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
6386 Bind the key directly to the menu.
6387 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
6389 2008-04-01 Daiki Ueno <ueno@unixuser.org>
6391 * epa.el (epa-decrypt-region): Explain the reason why this
6392 function should not be used in Lisp programs.
6393 (epa-decrypt-armor-in-region): Ditto.
6394 (epa-verify-region): Ditto.
6395 (epa-verify-cleartext-in-region): Ditto.
6396 (epa-sign-region): Ditto.
6397 (epa-encrypt-region): Ditto.
6399 * epg.el (epg-start-receive-keys): Fix typo in docstring.
6401 * epa.el (epa-select-keys): Show menu even if there is no key in
6404 2008-04-01 Glenn Morris <rgm@gnu.org>
6406 * calendar/calendar.el (calendar-make-temp-face): New function.
6407 (mark-visible-calendar-date):
6408 * calendar/diary-lib.el (fancy-diary-display): Use it.
6410 * vc-hooks.el (vc-responsible-backend): Declare as function.
6412 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
6413 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
6414 * calendar/cal-julian.el (holiday-julian): Use it.
6416 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
6417 (calendar-hebrew-date-is-visible-p): Extract some common code into
6419 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
6421 * calendar/cal-menu.el (cal-menu-holidays-menu):
6422 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
6423 rather than obsolete alias.
6425 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
6426 for mark characters.
6427 (calendar-unmark): Unmark by removing all overlays, rather than
6429 (calendar-starred-day): Remove.
6430 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
6431 (calendar-cursor-to-date): No need for special star handling now
6433 (calendar-star-date): Use overlays.
6435 * calendar/cal-french.el (calendar-goto-french-date):
6436 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
6437 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
6438 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
6439 * calendar/cal-persia.el (calendar-persian-date-string):
6440 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
6441 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
6442 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
6443 * calendar/solar.el (solar-equinoxes-solstices):
6444 Reduce nesting of some lets.
6446 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6447 (calendar-goto-mayan-long-count-date): Simplify.
6449 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
6450 Simplify by using mapcar.
6451 (calendar-list-holidays): Return holiday-list.
6452 (list-holidays): Use let rather than let*. Remove un-needed locals
6454 (calendar-check-holidays): Return result from dolist.
6455 (holiday-float): Use a single let*. Simplify if-and to and.
6456 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
6459 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
6461 * calc/calc.el: Autoload `calc-yank'.
6462 (calc-mode-map): Add keybindings for `calc-yank'.
6463 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
6464 assignments for `calc-yank'.
6466 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
6468 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
6469 (vc-status-mark-buffer-changed): Handle the extra field.
6471 * vc-bzr.el (vc-bzr-after-dir-status):
6472 * vc-cvs.el (vc-cvs-after-dir-status):
6473 * vc-hg.el (vc-hg-after-dir-status):
6474 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
6476 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * doc-view.el: Compute displayed pages first (in PDF).
6479 (doc-view-current-converter-processes): Rename from
6480 doc-view-current-converter-process. Update users.
6481 (doc-view-sentinel): Test buffer's liveness.
6482 (doc-view-pdf/ps->png-sentinel): Remove.
6483 (doc-view-start-process): New function.
6484 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
6485 (doc-view-ps->pdf): Use it.
6486 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
6488 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
6489 (doc-view-mode): Kill the processes when leaving the mode.
6491 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
6493 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
6494 Use `byte-compile-warning-types'. Add docstring.
6496 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6498 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
6499 (smerge-resolve): Add various resolution heuristics.
6501 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
6504 2008-03-31 Glenn Morris <rgm@gnu.org>
6506 * calendar/cal-bahai.el (diary-bahai-mark-entries):
6507 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
6508 * calendar/cal-islam.el (mark-islamic-diary-entries):
6509 Fix argument order in call to diary-mark-entries-1.
6511 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
6513 (holiday-bahai): Use an algorithm actually relevant to this calendar
6516 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
6518 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
6521 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
6522 in the last fortnight in Julian October.
6524 * calendar/calendar.el (increment-calendar-month): Optionally handle
6525 systems without 12 months per year.
6527 (calendar-date-is-visible-p): Doc fix. Simplify.
6529 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
6532 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
6534 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
6535 (hi-lock-unload-function): New function.
6537 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
6539 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
6540 overwriting when NEWNAME is a local file.
6542 * net/trampver.el: Update release number.
6544 2008-03-30 Alexandre Julliard <julliard@winehq.org>
6546 * vc-git.el: Make vc-status display information about copies,
6547 renames and permission changes.
6548 (vc-git-extra-fileinfo): New defstruct.
6549 (vc-git-escape-file-name, vc-git-file-type-as-string)
6550 (vc-git-rename-as-string, vc-git-permissions-as-string)
6551 (vc-git-status-printer): New functions.
6552 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
6553 (vc-git-after-dir-status-stage1): Look for copies, renames and
6555 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
6556 (vc-git-dir-status): Ask for staged files and renames.
6558 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
6560 * vc.el: Allow backends to display backend specific information in
6561 the vc-status listing.
6562 (vc-status-fileinfo): Add a field for backend specific information.
6563 (vc-status-printer): Rename to ...
6564 (vc-default-status-printer): ... this.
6565 (vc-status-printer): New function.
6566 (vc-update-vc-status-buffer): Set the backend specific file info
6569 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * textmodes/remember.el (remember-diary-convert-entry): Revert last
6572 change (ill-conceived).
6574 2008-03-29 Glenn Morris <rgm@gnu.org>
6576 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
6577 * calendar/cal-julian.el (holiday-julian): Simplify.
6579 * calendar/holidays.el (list-holidays): Use or.
6581 2008-03-29 Juri Linkov <juri@jurta.org>
6583 * window.el (split-window-preferred-horizontally): New function.
6585 * cus-start.el (split-window-preferred-function):
6586 Set choice for "vertically" to nil instead of split-window.
6587 Set choice for "horizontally" to split-window-preferred-horizontally
6590 2008-03-29 Juri Linkov <juri@jurta.org>
6592 * simple.el (minibuffer-default-add-function): New variable with
6593 the default to minibuffer-default-add-completions.
6594 (minibuffer-default-add-done): New variable. Make it buffer-local.
6595 (minibuffer-default-add-completions): New function.
6596 (goto-history-element): Set minibuffer-default-add-done to t and
6597 call a function in minibuffer-default-add-function when the
6598 specified absolute history position is greater than the length of
6599 the minibuffer-default list and minibuffer-default-add-done is nil.
6600 Change "^End of history; no next item$" to "^End of defaults;
6603 * bindings.el (debug-ignored-errors): Change "^End of history;
6604 no next item$" to "^End of defaults; no next item$".
6606 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
6610 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
6611 to with-no-warnings.
6613 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
6615 Sync with Tramp 2.1.13.
6617 * net/tramp-ftp.el: Require 'cl when byte-compiling.
6619 * net/trampver.el: Update release number.
6621 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
6623 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
6624 the current backend.
6626 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
6627 (vc-status-refresh): Create a temporary buffer and call the
6628 `dir-status' backend function from that buffer.
6630 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
6631 (vc-bzr-after-dir-status): Don't kill the buffer.
6633 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
6634 (vc-cvs-after-dir-status): Don't kill the buffer.
6636 * vc-git.el (vc-git-dir-status): Don't create a buffer.
6637 (vc-git-after-dir-status-stage2): Don't kill the buffer.
6639 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
6640 (vc-hg-after-dir-status): Don't kill the buffer.
6642 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
6643 (vc-svn-after-dir-status): Don't kill the buffer.
6645 2008-03-29 Glenn Morris <rgm@gnu.org>
6647 * calendar/calendar.el (diary-file, american-date-diary-pattern)
6648 (european-date-diary-pattern, european-calendar-display-form)
6649 (american-calendar-display-form, diary-display-hook): Doc fixes.
6650 (european-calendar-style): Doc fix. Use calendar-set-date-style for
6651 custom :set. Mark as obsolete.
6652 (calendar-date-style, iso-date-diary-pattern)
6653 (iso-calendar-display-form): New user variables.
6654 (diary-date-forms, calendar-date-display-form): Set using
6655 calendar-date-style. Doc fix.
6656 (calendar-set-date-style): New command.
6657 (european-calendar, american-calendar): Use calendar-set-date-style.
6660 * calendar/diary-lib.el (number): Move declaration where needed.
6661 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
6662 (diary-make-date): New function.
6663 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
6664 Use diary-make-date.
6665 (diary-date-display-form, diary-insert-entry-1): New functions.
6666 (insert-monthly-diary-entry, insert-yearly-diary-entry):
6667 Use diary-insert-entry-1.
6668 (insert-anniversary-diary-entry, insert-block-diary-entry)
6669 (insert-cyclic-diary-entry): Use diary-date-display-form.
6671 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6672 Autoload diary-insert-entry-1.
6673 * calendar/cal-bahai.el (diary-bahai-insert-entry)
6674 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
6675 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
6676 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
6677 * calendar/cal-islam.el (insert-islamic-diary-entry)
6678 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
6679 Use diary-insert-entry-1.
6681 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
6682 (diary-yahrzeit): Doc fix. Use diary-make-date.
6684 * calendar/icalendar.el (icalendar--datetime-to-american-date):
6685 New name for icalendar--datetime-to-noneuropean-date. Make old name
6687 (icalendar--datetime-to-iso-date): New function.
6688 (icalendar--datetime-to-diary-date): Doc fix. Respect
6689 calendar-date-style if bound.
6691 * textmodes/remember.el (remember-diary-convert-entry):
6692 Respect calendar-date-style if bound.
6694 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
6697 (xterm-mouse-handle-delete-frame): Delete.
6699 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
6700 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
6701 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
6702 in xterm-modify-other-keys-terminal-list.
6704 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
6707 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
6709 * vc.el (vc-update): Check if the buffer is unsaved only if it
6711 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
6714 2008-03-28 Magnus Henoch <mange@freemail.hu>
6716 * net/dns.el (dns-write): Use set-buffer-multibyte.
6718 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6720 * vc-bzr.el (vc-bzr-sha1): New fun.
6721 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
6722 (vc-bzr-registered): Use it.
6724 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
6726 * vc.el (vc-status-kill-dir-status-process): Simplify.
6727 (vc-status-refresh): Make sure the buffer is live.
6728 (ring): Don't require it, not used.
6730 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
6732 * progmodes/verilog-mode.el (verilog-auto-inout-module):
6733 Add optional regular expression to AUTOINOUTMODULE.
6734 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
6735 (verilog-auto-inst-param, verilog-auto-reg)
6736 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
6737 (verilog-auto-output-every, verilog-auto-input)
6738 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
6739 (verilog-auto-unused, verilog-auto): Update documentation to use
6740 more obvious instance module names versus cell names.
6742 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
6744 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
6745 kill if a process is running.
6747 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
6749 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
6751 * vc.el: Add new backend function 'status-extra-headers.
6752 (vc-default-status-extra-headers): New function.
6753 (vc-status-headers): Call 'status-extra-headers. Add colors.
6755 * vc-git.el (vc-git-status-extra-headers): New function.
6757 2008-03-28 Glenn Morris <rgm@gnu.org>
6759 * calendar/cal-menu.el (cal-menu-holidays-menu)
6760 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
6761 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
6762 holiday-list is optional.
6763 (calendar-mouse-holidays): Remove un-needed local `l'.
6765 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
6766 Remove un-needed local `date'.
6767 (calendar-cursor-to-visible-date): Use let rather than let*.
6768 Remove un-needed local `first-of-month-weekday'.
6770 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
6772 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
6774 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
6775 (diary-header-line-flag, diary-header-line-format): Declare.
6776 (diary-pull-attrs): Check for multiple matches.
6777 (diary-list-entries-2): Simplify finding start of date.
6778 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
6780 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
6781 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
6783 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
6785 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
6787 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
6789 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6791 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
6793 * image-mode.el (image-mode-reapply-winprops): Fix last change.
6795 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
6797 * international/mule-conf.el (define-iso-single-byte-charset):
6798 Don't make latin-iso8859-* supplementary.
6799 (#'set-charset-priority): Don't change the priority of charsets
6800 `unicode' and `emacs'.
6802 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
6807 2008-03-27 Glenn Morris <rgm@gnu.org>
6809 * calendar/cal-bahai.el (diary-bahai-list-entries):
6810 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
6811 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
6813 * calendar/calendar.el (diary-file): Doc fix.
6815 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
6816 (list-diary-entries-hook, mark-diary-entries-hook)
6817 (include-other-diary-files, diary-mail-entries)
6818 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
6819 (diary-set-header): New function.
6820 (diary-header-line-flag, diary-header-line-format):
6821 Use diary-set-header for custom :set function.
6822 (diary-set-maybe-redraw): Use symbol-value rather than eval.
6823 (diary-attrtype-convert): Use intern-soft rather than read.
6824 (diary-display-no-entries): New function.
6825 (simple-diary-display, fancy-diary-display): Use it.
6826 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
6827 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
6829 * calendar/holidays.el (list-holidays): Doc fix.
6831 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
6833 * calc/calc-store.el (calc-read-var-name-history): New variable.
6834 (calc-read-var-name): Use `calc-read-var-name-history'.
6836 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * image-mode.el (image-mode-reapply-winprops): Simplify now that
6839 window-configuration-change-hook works buffer-locally.
6841 2008-03-26 Johan Bockgård <bojohan@gnu.org>
6843 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
6844 for Emacs Lisp, not Lisp.
6846 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
6848 * help-fns.el (describe-function-1, describe-variable):
6849 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
6851 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
6852 replacement is provided, don't print "use nil instead".
6854 2008-03-26 Johan Bockgård <bojohan@gnu.org>
6856 * complete.el (PC-do-completion): Use regexp-quote.
6858 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
6860 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
6861 Detect missing files.
6863 * vc-git.el (vc-git-extra-menu-map): New key map.
6864 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
6867 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
6870 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6872 * calendar/holidays.el (list-holidays): Make Y2 optional.
6874 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
6875 buffers shown to the user.
6876 (appt-disp-window): Disable undo explicitly now that the leading space
6879 * simple.el (activate-mark): New function.
6880 (set-mark-command): Use it with region-active-p to clean up the code.
6881 (exchange-point-and-mark): Invert the meaning of C-u when
6882 transient-mark-mode is active.
6884 * dired-aux.el (dired-create-files): Use dolist.
6886 * bindings.el (mode-line-change-eol): Use with-selected-window.
6888 * apropos.el (apropos-command): Include macros.
6890 2008-03-26 Glenn Morris <rgm@gnu.org>
6892 * calendar/cal-bahai.el: Require calendar, not cal-julian.
6893 (calendar-bahai-epoch): Doc fix.
6895 * calendar/cal-china.el: Explicitly require calendar.
6897 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
6898 Require calendar rather than cal-julian.
6899 Autoload calendar-absolute-from-julian.
6900 * calendar/cal-coptic.el (coptic-calendar-epoch):
6901 * calendar/cal-islam.el (calendar-islamic-epoch):
6902 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
6904 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
6906 * calendar/cal-dst.el: Don't require cal-persia.
6907 (calendar-absolute-from-persian): Autoload it.
6908 (dst-adjust-time): Doc fix.
6910 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
6911 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
6914 * calendar/cal-menu.el: Require calendar rather than declaring
6916 * calendar/calendar.el: Provide calendar before requiring cal-menu.
6918 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
6919 calendar-after-frame-setup-hooks. Update callers, make old name an
6920 obsolete alias. Doc fix.
6921 (calendar-frame-1): Doc fix.
6923 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
6925 * calendar/calendar.el (oriental-holidays, solar-holidays):
6926 * calendar/holidays.el (list-holidays): Assume atan always bound.
6928 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
6929 Explicitly require calendar, not cal-julian.
6930 * calendar/lunar.el: Explicitly require cal-dst.
6932 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6934 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
6936 * help-fns.el (describe-function-1, describe-variable): If no
6937 replacement is provided, don't print "use nil instead".
6939 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
6941 * proced.el: New file.
6943 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
6945 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
6947 2008-03-25 Juri Linkov <juri@jurta.org>
6949 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
6950 in battery-mode-line-format.
6952 * bindings.el (minibuffer-local-map): For the command
6953 file-cache-minibuffer-complete replace keymap minibuffer-local-map
6954 with map which is already locally bound to minibuffer-local-map.
6956 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
6959 Remove `sort-first' argument.
6961 * subr.el (redisplay-end-trigger-functions)
6962 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
6963 (process-filter-multibyte-p, set-process-filter-multibyte):
6966 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
6968 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
6969 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
6970 use the LOCAL arg of `add-hook'.
6971 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
6972 Remove spurious * from defcustom docstrings.
6973 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
6974 Fix typos in messages.
6975 (reb-mode-buffer-p): New function.
6976 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
6977 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
6978 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
6979 Use `unless', `when'.
6980 (re-builder-unload-function): New function.
6982 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
6984 * vc-hooks.el (vc-state): Add documentation for 'missing.
6986 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
6988 * progmodes/verilog-mode.el (verilog-auto-output)
6989 (verilog-auto-input, verilog-auto-inout, verilog-auto)
6990 (verilog-delete-auto): Add optional regular expression to
6991 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
6992 (verilog-signals-matching-regexp): New internal function for
6995 2008-03-25 Johan Bockgård <bojohan@gnu.org>
6997 * info.el (Info-isearch-search): Always return point.
6999 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7001 * diff-mode.el (diff-remembered-defdir): New var.
7002 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
7004 2008-03-25 Glenn Morris <rgm@gnu.org>
7006 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
7007 calendar-bahai-prompt-for-date. Update callers, make old name an
7008 obsolete alias. Doc fix.
7009 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
7010 coptic-prompt-for-date. Update callers, make old name an
7011 obsolete alias. Doc fix.
7012 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
7013 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
7014 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
7015 calendar-islamic-prompt-for-date. Update callers. Doc fix.
7016 * calendar/cal-iso.el (calendar-iso-read-date): New name for
7017 calendar-iso-read-args. Update callers, make old name an obsolete
7019 * calendar/cal-persia.el (calendar-persian-read-date): New name for
7020 persian-prompt-for-date. Update callers, make old name an
7021 obsolete alias. Doc fix. Move definition before use.
7023 * calendar/cal-x.el (diary-frame-parameters)
7024 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
7025 (calendar-frame-1): Doc fixes.
7026 (make-fancy-diary-buffer): Remove declaration.
7027 (calendar-dedicate-diary): Replace call to deleted function
7028 make-fancy-diary-buffer.
7029 (calendar-frame-setup): New function.
7030 (calendar-one-frame-setup, calendar-only-one-frame-setup)
7031 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
7032 work, and mark as obsolete.
7033 (special-display-buffer-names): Don't mess with this; it's not our
7035 (cal-x-load-hook): Defvar it, and mark as obsolete.
7037 * calendar/calendar.el (calendar-remove-frame-by-deleting):
7038 Default to t. Add to 'calendar group.
7039 (calendar): Doc fix. Use calendar-frame-setup.
7040 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
7041 (generate-calendar-window): Doc fix.
7043 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
7047 2008-03-24 Drew Adams <drew.adams@oracle.com>
7049 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
7051 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
7052 (finder-exit): Ignore errors rather than avoiding them.
7053 Kill *Finder-package* buffer also.
7055 2008-03-24 Andreas Schwab <schwab@suse.de>
7057 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
7059 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
7061 * vc-hg.el (vc-hg-after-dir-status):
7062 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
7064 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
7065 Detect removed files.
7067 * vc.el (vc-status-printer): Use a different face for missing files.
7068 (vc-status-hide-up-to-date): Rename from
7069 vc-status-remove-up-to-date. Update all callers.
7070 (vc-status-mode-map): Bind C-m.
7072 2008-03-24 Alexandre Julliard <julliard@winehq.org>
7074 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
7076 (vc-git--state-code): ... to this new function.
7077 (vc-git-state): Use it.
7079 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
7081 * textmodes/remember.el (remember-mail-date)
7082 (remember-store-in-mailbox): Write date and From line in such a
7083 way that Mutt can read it.
7085 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
7087 * simple.el (transient-mark-mode): Turn on by default.
7089 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
7091 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
7092 'unregistered for unregistered files.
7094 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
7096 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
7098 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
7101 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
7102 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
7103 Add :enable for vc-status-refresh.
7104 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
7105 (vc-status-tool-bar-map): Add binding for
7106 vc-status-kill-dir-status-process.
7107 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
7108 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
7109 Reset vc-status-process-buffer.
7110 (vc-status-refresh): Don't run two refreshes at a time.
7111 (vc-status): If the buffer is already in vc-status-mode only refresh.
7112 (vc-status-mark-buffer-changed): Add an optional file parameter.
7113 (vc-resynch-buffer): Use it.
7114 (vc-delete-file): Expand the file name before using it.
7115 Be careful to not create a new buffer with the old file contents.
7116 Update the VC state after performing the operation.
7118 2008-03-23 Andreas Schwab <schwab@suse.de>
7120 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
7121 Fix radio button condition.
7123 [customize]: Add radio button.
7125 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
7127 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
7128 (calc-user-parse-tables, calc-gnuplot-default-device)
7129 (calc-gnuplot-default-output, calc-gnuplot-print-device)
7130 (calc-gnuplot-print-output, calc-gnuplot-geometry)
7131 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
7132 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
7133 (calc-undo-list, calc-redo-list, calc-main-buffer)
7134 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
7135 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
7136 (calc-said-hello, calc-executing-macro, calc-any-selections)
7137 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
7138 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
7139 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
7140 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
7141 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
7142 (calc-create-buffer, calc-quit): Add docstrings.
7144 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
7146 * makefile.w32-in (WINS_ALMOST): Add org.
7148 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
7150 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
7151 New functions to implement vc-status support.
7153 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7155 * vc.el (vc-status-prepare-status-buffer): New function.
7156 (vc-status): Use it.
7158 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
7161 2008-03-22 Alexandre Julliard <julliard@winehq.org>
7163 * vc-git.el (vc-git--empty-db-p)
7164 (vc-git-after-dir-status-stage1-empty-db): New functions.
7165 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
7166 Add support for empty repositories.
7168 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7170 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7171 Allow "^" in a version name.
7173 * vc-mtn.el (vc-mtn-state): Support the added state.
7175 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
7177 * org: New directory for Org-mode.
7179 * org/org-export-latex.el: Moved from lisp/texmodes.
7181 * org/org-irc.el: Moved from lisp/texmodes.
7183 * org/org-mac-message.el: Moved from lisp/texmodes.
7185 * org/org-mouse.el: Moved from lisp/texmodes.
7187 * org/org-publish.el: Moved from lisp/texmodes.
7189 2008-03-21 Juri Linkov <juri@jurta.org>
7191 * comint.el (comint-dynamic-simple-complete):
7192 Use variable `stub' for the second arg `common-substring'
7193 of `comint-dynamic-list-completions'.
7194 (comint-dynamic-list-filename-completions):
7195 Use variable `filenondir' for the second arg `common-substring'
7196 of `comint-dynamic-list-completions'.
7197 (comint-dynamic-list-completions): Add new optional arg
7198 `common-substring'. Add `common-substring' as the second arg of
7199 the call to `display-completion-list'. Doc fix.
7201 * comint.el (comint-dynamic-complete-as-filename)
7202 (comint-dynamic-list-filename-completions)
7203 (comint-dynamic-simple-complete): Use `minibuffer-message'
7204 to display message "No completions of %s" when a command
7205 is called in the minibuffer.
7206 (comint-dynamic-simple-complete): Don't display other
7207 completion messages when a command is called in the minibuffer.
7208 (comint-dynamic-list-completions): Use `minibuffer-message'
7209 to display message " [Type space to flush ...]" when a command
7210 is called in the minibuffer.
7212 * shell.el (shell-dynamic-complete-command)
7213 (shell-dynamic-complete-environment-variable): Don't display
7214 completion messages when command is called in the minibuffer.
7216 * emacs-lisp/lisp.el (lisp-complete-symbol):
7217 Use `minibuffer-message' to display message "No completions of %s"
7218 when this command is called in the minibuffer.
7220 * bindings.el (standard-mode-line-modes): Put special help-echo
7221 tooltip on recursive edit %[ %] mode-line constructs.
7223 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
7224 "^No dynamic expansion for .* found$" to allow error messages like
7225 "No dynamic expansion for \"%s\" found in this-buffer".
7227 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
7229 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
7232 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
7235 * vc.el (vc-default-dired-state-info): Use just "modified".
7236 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
7237 (vc-cvs-mode-line-string): Make use of the better default.
7238 (vc-cvs-parse-entry): Use the new `added'.
7239 (vc-cvs-dired-state-info): Remove.
7240 * vc-svn.el (vc-svn-dired-state-info): Remove.
7241 * vc-hg.el (vc-hg-dired-state-info): Remove.
7242 * vc-git.el (vc-git-dired-state-info): Remove.
7244 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7246 * vc-git.el (vc-git-status-result): New variable.
7247 (vc-git-dir-status): Split out ...
7248 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
7249 ... these new functions and work asynchronously.
7251 2008-03-21 Alexandre Julliard <julliard@winehq.org>
7253 * vc-git.el (vc-git-after-dir-status): Remove.
7254 (vc-git-dired-state-info): Reimplement.
7256 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7258 * replace.el (occur-mode-map): Add :help.
7260 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
7263 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
7265 (vc-status-remove-up-to-date): New function.
7266 (vc-status-mode-map, vc-status-menu-map): Bind it.
7267 (vc-status-printer): Use a different face up-to-date files.
7268 (vc-resynch-buffer): Update the vc-status buffer if it exists.
7269 (Todo): Remove solved entries.
7271 * vc-hg.el (vc-hg-state):
7272 * vc-git.el (vc-git-state):
7273 * vc-cvs.el (vc-cvs-parse-status):
7274 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
7277 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * progmodes/compile.el (compile):
7280 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
7282 * simple.el (minibuffer-local-shell-command-map): New var.
7283 (minibuffer-complete-shell-command, read-shell-command): New funs.
7284 (shell-command, shell-command-on-region): Use them.
7286 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7288 * vc.el (vc-status-mark-buffer-changed): New function to implement
7289 updating of the *vc-status* buffer when a buffer is saved.
7290 (vc-status-mode): Use it for after-change-hook.
7291 (vc-add-to-vc-status-buffer): Rename to ...
7292 (vc-status-add-entry): ... this.
7293 (Todo): Add new entry.
7295 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
7299 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
7301 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
7302 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
7303 Remove spurious * from defcustom docstrings.
7304 (icomplete-compute-delay): Fix docstring and remove spurious *.
7305 (icomplete-delay-completions-threshold): Fix typo in docstring and
7307 (icomplete-completions): While collecting the list of prospective
7308 candidates, don't overshoot `icomplete-prospects-length'.
7310 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7312 * textmodes/refbib.el:
7313 * textmodes/reftex.el:
7314 * textmodes/reftex-global.el:
7315 * textmodes/reftex-vars.el:
7316 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
7317 compiler pacifying defvars.
7318 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
7319 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
7322 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
7324 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
7325 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
7326 (verilog-customize, verilog-font-customize)
7327 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
7328 (verilog-mode): Update documentation strings to match tool tips.
7329 (verilog-auto-search-do, verilog-auto-re-search-do)
7330 (verilog-skip-forward-comment-or-string): Fix verilog-auto
7331 expansion when a .* appears inside a string.
7332 (verilog-re-search-forward, verilog-re-search-backward):
7333 Add comment to recall how this works.
7334 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
7336 2008-03-20 Glenn Morris <rgm@gnu.org>
7338 * calendar/calendar.el (calendar-other-dates): New function.
7339 (calendar-print-other-dates): Use calendar-other-dates.
7340 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
7341 the declarations it replaces.
7342 (calendar-mouse-print-dates): Use calendar-other-dates.
7344 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
7345 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
7346 (calendar-absolute-from-bahai): Fix the leap-year case.
7347 (calendar-bahai-from-absolute): Re-use the Gregorian month.
7348 (calendar-bahai-date-string, calendar-bahai-print-date):
7349 Handle pre-Bahai dates.
7351 * calendar/cal-china.el (chinese-calendar-celestial-stem)
7352 (chinese-calendar-terrestrial-branch): Make defcustoms.
7354 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
7355 (calendar-mouse-view-diary-entries): Use or.
7356 (calendar-mouse-chinese-date): Remove unused command.
7357 (cal-menu-load-hook): Mark as obsolete.
7359 * calendar/solar.el (calendar-location-name, calendar-latitude)
7360 (calendar-longitude, solar-arctan, sunrise-sunset)
7361 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
7363 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7365 * calc/calc.el: Remove outdated comments.
7366 (defcalcmodevar, calc-mode-var-list-restore-default-values)
7367 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
7370 2008-03-19 Jason Rumney <jasonr@gnu.org>
7372 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
7374 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
7376 * net/tls.el (open-tls-stream): Reindent.
7378 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
7380 * net/tramp.el (tramp-let-maybe): Removed.
7381 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
7382 It does not exist under XEmacs.
7383 (tramp-handle-file-truename, tramp-handle-expand-file-name)
7384 (tramp-completion-file-name-handler): Let-bind
7385 `directory-sep-char'.
7387 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
7388 `directory-sep-char'.
7390 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7392 * help-fns.el (describe-function-1): Don't signal "missing arglist"
7393 for autoloaded keymaps.
7395 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
7396 (electric-verilog-terminate-line, verilog-in-struct-region-p)
7397 (verilog-backward-ws&directives, verilog-forward-ws&directives)
7398 (verilog-in-comment-p, verilog-in-star-comment-p)
7399 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
7400 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
7401 (verilog-skip-forward-comment-or-string, verilog-in-paren)
7402 (verilog-skip-forward-comment-p): Use it.
7404 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7406 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
7407 (org-remember-templates, org-time-stamp-rounding-minutes)
7408 (org-back-over-empty-lines, org-find-base-buffer-visiting)
7409 (org-columns-new): Fix typos in docstrings.
7411 2008-03-19 Glenn Morris <rgm@gnu.org>
7413 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
7414 (tramp-handle-shell-command): Use condition-case rather than
7417 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7419 * diff-mode.el (diff-header): Make the color louder.
7420 (diff-refine-change): Tone the color down.
7422 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7424 * descr-text.el (describe-char): When `describe-char-unidata-list'
7425 is set to show all properties, list them in the right order.
7427 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7429 * international/mule.el (load-with-code-conversion): Avoid setting
7430 default-enable-multibyte-characters.
7432 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
7434 * vc.el (vc-annotate-background): Fix custom type.
7436 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * descr-text.el (describe-char-unidata-list): Allow specifying
7439 just all properties.
7440 (describe-char): Handle that new value.
7442 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
7444 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7446 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
7447 instead of file name extension to make docs with uncommon
7450 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7452 * doc-view.el (require): Require cl at compile time because
7455 2008-03-18 Glenn Morris <rgm@gnu.org>
7457 * calendar/calendar.el (initial-calendar-window-hook)
7458 (today-visible-calendar-hook): Doc fixes.
7460 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
7462 * net/tramp.el (tramp-root-regexp): Simplify.
7463 (tramp-completion-file-name-regexp-separate): Don't insist on
7464 leading "[". This prevents method or user or host completion.
7465 (tramp-let-maybe): Autoload it.
7466 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
7467 is an alias for `identity'.
7468 (tramp-handle-write-region): Protect `last-coding-system-used'
7469 over the trailing statements.
7470 (tramp-completion-file-name-handler-post-function): Remove.
7471 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
7472 instead of calling `tramp-drop-volume-letter'.
7476 * net/trampver.el: Move coding cookie at the end.
7478 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7480 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
7481 elements which may be something else than characters.
7483 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
7485 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
7486 New functions to implement vc-status support.
7488 * vc.el (vc-default-extra-status-menu)
7489 (vc-add-to-vc-status-buffer): New functions.
7491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7494 2008-03-17 Glenn Morris <rgm@gnu.org>
7496 * calendar/cal-x.el (diary-frame-parameters)
7497 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
7498 Fix custom type; add options.
7499 (calendar-frame, diary-frame): Doc fixes.
7500 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
7502 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
7503 Use calendar-frame-1 and calendar-dedicate-diary.
7504 (calendar-one-frame-setup): Also handle only-one-frame case.
7505 (calendar-only-one-frame-setup): Doc fix. Just call
7506 calendar-one-frame-setup.
7508 * calendar/diary-lib.el: Re-order some definitions before their use.
7509 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
7510 (diary-list-entries): Doc fixes.
7511 (make-fancy-diary-display): Remove function.
7513 * calendar/calendar.el (calendar-today-marker)
7514 (initial-calendar-window-hook, today-visible-calendar-hook)
7515 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
7516 (calendar-star-date, calendar-mark-today): Doc fixes.
7517 (today-visible-calendar-hook): Add options.
7518 (calendar-in-read-only-buffer): New macro.
7519 (calendar-basic-setup): Adapt for change in calendar-read-date.
7520 Place holiday let inside if.
7521 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
7522 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
7523 (calendar-print-other-dates): Use one let rather than many.
7525 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
7526 (calendar-print-other-dates):
7527 * calendar/cal-hebrew.el (list-yahrzeit-dates):
7528 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
7529 * calendar/holidays.el (calendar-list-holidays, list-holidays)
7530 (calendar-cursor-holidays):
7531 * calendar/lunar.el (calendar-phases-of-moon): Use
7532 calendar-in-read-only-buffer to replace previous code and disable undo.
7534 2008-03-16 Juri Linkov <juri@jurta.org>
7536 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
7537 and regexp-search-ring-yank-pointer for the HISTPOS argument of
7538 read-from-minibuffer to provide the correct initial minibuffer
7539 history position in isearch-edit-string when it is called from
7540 isearch-ring-adjust.
7542 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
7543 to check if the current buffer is the minibuffer, and in this case
7544 call abort-recursive-edit to kill the minibuffer. Doc fix.
7545 (kill-this-buffer-enabled-p): Allow this function to return non-nil
7546 when the current buffer is the minibuffer.
7548 * simple.el (goto-line): Leave mark at previous position. Doc fix.
7550 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
7552 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
7553 Use non-nil PARENTS attribute of make-directory instead of
7554 explicitly checking existence the current cache directory.
7556 2008-03-16 Daiki Ueno <ueno@unixuser.org>
7558 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
7559 M-x epa-file-select-keys.
7561 2008-03-16 Kenichi Handa <handa@m17n.org>
7563 * international/mule.el (auto-coding-alist):
7564 Use no-conversion-multibyte for archive files.
7566 2008-03-16 Glenn Morris <rgm@gnu.org>
7568 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
7570 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
7571 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
7572 Use calendar-mark-1.
7573 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
7574 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
7575 Use calendar-mark-complex.
7576 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
7577 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
7578 Use calendar-mark-1.
7580 * calendar/calendar.el (calendar-mod): Remove.
7581 * calendar/cal-china.el (calendar-chinese-from-absolute)
7582 (calendar-chinese-date-string): Expand calendar-mod calls.
7583 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
7584 Expand calendar-mod calls.
7586 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
7587 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7588 (diary-bahai-insert-yearly-entry): Use let rather than let*.
7589 Move obsolete aliases after the functions that replaced them.
7591 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
7592 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
7593 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
7594 Use let rather than let*.
7595 (calendar-hebrew-prompt-for-date): New function.
7596 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
7597 (holiday-tisha-b-av-etc): Use unless, let.
7599 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
7600 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
7602 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
7604 * calendar/calendar.el (calendar-for-loop): Add indent spec.
7606 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
7607 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
7609 (diary): Remove un-needed let.
7610 (view-other-diary-entries): Rename argument.
7611 (diary-list-entries-2): New function.
7612 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
7613 (print-diary-entries): Use unless.
7614 (diary-mark-entries-1): Change argument order, make all but
7615 markfunc optional. Handle the standard (Gregorian) case.
7616 Use match-string-no-properties. Handle marks.
7617 (mark-diary-entries): Use diary-mark-entries-1.
7618 (diary-font-lock-keywords-1): New macro.
7619 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
7621 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
7623 * icalendar.el (icalendar-version): Increase to 0.18.
7624 (icalendar-export-hidden-diary-entries): New variable.
7625 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
7626 In case of error, insert full error-val.
7627 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
7628 Use calendar-day-of-week. Return the day number.
7629 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
7631 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
7633 * icalendar.el (icalendar-recurring-start-year): New variable.
7634 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
7635 (icalendar-export-region): Ignore hidden diary entries.
7636 (icalendar--convert-ordinary-to-ical): Fix case where event
7637 spans across midnight boundary.
7638 (icalendar-first-weekday-of-year): New function.
7639 (icalendar--convert-weekly-to-ical): Allow user-selectable start
7640 year for recurring events (Mozilla calendars do not propagate
7641 recurring events forever, so year 2000 start date was not working).
7642 (icalendar--convert-yearly-to-ical): Remove extra spaces in
7643 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
7645 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
7647 * net/tramp.el (tramp-root-regexp): New defconst.
7648 (tramp-completion-file-name-regexp-unified)
7649 (tramp-completion-file-name-regexp-separate)
7650 (tramp-completion-file-name-regexp-url): Use it.
7651 (tramp-do-copy-or-rename-file-via-buffer):
7652 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
7653 t for `insert-file-contents-literally'.
7654 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
7656 (tramp-completion-file-name-handler-post-function): New defconst.
7657 (tramp-completion-file-name-handler): Use it.
7658 (tramp-maybe-open-connection): Update calls to
7659 `tramp-flush-connection-property' for removed 2nd argument.
7661 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7663 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
7664 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
7667 2008-03-15 Glenn Morris <rgm@gnu.org>
7669 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
7671 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
7672 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7673 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7674 (diary-bahai-list-entries): Use diary-list-entries-1.
7675 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
7676 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
7677 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7678 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7679 (list-hebrew-diary-entries): Use diary-list-entries-1.
7680 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
7681 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
7682 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7683 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7684 (list-islamic-diary-entries): Use diary-list-entries-1.
7685 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
7687 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
7689 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
7691 * calendar/cal-china.el (number-chinese-months)
7692 (calendar-chinese-from-absolute): Use nth, caar.
7694 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
7696 * calendar/cal-french.el (french-calendar-accents): Doc fix.
7698 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
7699 (calendar-hebrew-month-name-array-leap-year)
7700 (hebrew-calendar-parashiot-names): Make constants.
7701 (diary-parasha): Move definition after constants it uses.
7703 * calendar/cal-html.el (cal-html-insert-link-yearpage)
7704 (cal-html-htmlify-list): Doc fix.
7705 (cal-html-htmlify-entry): Use nth.
7707 * calendar/cal-islam.el (calendar-islamic-month-name-array)
7708 (calendar-islamic-epoch): Make constants.
7709 (calendar-islamic-epoch): Doc fix.
7711 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
7713 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
7714 (cal-tex-month-name): Doc fix.
7715 (cal-tex-last-blank-p): Use zerop.
7717 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
7718 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
7719 (calendar-cursor-to-date): Doc fix.
7720 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
7721 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
7722 (calendar-day-number): Use when.
7723 (generate-calendar-month): Use dotimes.
7724 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
7725 (calendar-set-mark): Reverse conditional.
7726 (calendar-make-alist): Move definition before use.
7728 * calendar/diary-lib.el (diary-face-attrs)
7729 (diary-glob-file-regexp-prefix, diary-selective-display)
7730 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
7731 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
7732 (diary-anniversary, diary-cyclic)
7733 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
7734 (diary-header-line-format): Change wording.
7735 (diary-list-entries): Set `date-start' in let.
7736 (include-other-diary-files, mark-included-diary-files): Use format.
7737 (simple-diary-display, fancy-diary-display): Use cadr, unless.
7738 (mark-diary-entries): Use 1+.
7739 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
7740 (mark-calendar-month): Use dotimes.
7742 * calendar/holidays.el (displayed-month, displayed-year):
7743 Move declarations where needed.
7744 (calendar-list-holidays): Doc fix.
7746 * calendar/parse-time.el (parse-time-string): Simplify.
7748 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
7750 (solar-sunrise-sunset): Rename some local variables for clarity.
7751 (sunrise-sunset): Use zerop.
7752 (solar-mean-equinoxes/solstices): Doc fix.
7754 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
7756 (timeclock-completing-read, timeclock-generate-report): Use zerop.
7757 (timeclock-mean, timeclock-generate-report): Use dolist.
7759 * calendar/todo-mode.el (todo-add-category): Simplify.
7760 (todo-more-important-p, todo-delete-item, todo-file-item):
7762 (todo-top-priorities): Use zerop.
7764 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
7766 * buff-menu.el (list-buffers-noselect): Display buffer name in
7767 tooltip instead of mouse binding when it doesn't fit in the list.
7769 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7771 * faces.el (xw-defined-colors):
7772 * simple.el (widget-convert, shell-mode): Declare as functions
7773 instead of autoloading.
7779 * emacs-lisp/backquote.el:
7780 * emacs-lisp/timer.el:
7786 * textmodes/fill.el:
7787 * textmodes/paragraphs.el: Remove autoloads, redundant when the
7788 files are preloaded.
7790 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * desktop.el (desktop-create-buffer): Don't catch errors if
7793 debug-on-error is set.
7795 2008-03-14 Eli Zaretskii <eliz@gnu.org>
7797 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7798 ($(lisp)/calendar/diary-loaddefs.el)
7799 ($(lisp)/calendar/hol-loaddefs.el): New targets.
7800 (LOADDEFS): New macro.
7801 (autoloads): Depend on $(LOADDEFS).
7803 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7805 * font-lock.el (featurep): Remove test, not useful anymore.
7806 (facemenu-keymap): Move key binding ...
7807 * facemenu.el (facemenu-keymap): ... here.
7809 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
7810 for each file in the list.
7811 (vc-bzr-log-view-mode): Recognize the file marker.
7813 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7814 for checkdoc and profiling.
7816 2008-03-14 Bastien Guerry <bzg@altern.org>
7818 * textmodes/flyspell.el (nxml-mode): Add the right
7819 `flyspell-mode-predicate'.
7821 * wid-edit.el (link): Use 'mouse-face for :follow-link.
7823 2008-03-14 Glenn Morris <rgm@gnu.org>
7825 * calendar/solar.el: Reorder so that functions are defined before use.
7826 (displayed-month, displayed-year): Move declarations where needed.
7827 (solar-get-number): Move definition before use. Use unless.
7828 (solar-equatorial-coordinates): Simplify.
7829 (solar-sunrise-and-sunset): Use let rather than let*.
7830 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
7832 * startup.el (command-line-1): Rename -internal-script back to
7833 -scriptload (reverts previous change).
7835 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
7836 (calendar-bahai-leap-base): Add doc strings.
7837 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
7838 Move definition before use.
7839 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
7840 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
7841 variables outside the loop. Use dolist.
7842 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
7844 * calendar/cal-china.el: Re-order so that functions are defined before
7846 (displayed-month, displayed-year): Move declarations where needed.
7847 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
7848 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7850 (chinese-year-cache): Recenter on 2010. Doc fix.
7851 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
7853 (chinese-year-cache-init): New function.
7854 (compute-chinese-year, holiday-chinese-new-year)
7855 (calendar-chinese-date-string, calendar-goto-chinese-date)
7856 (make-chinese-month-assoc-list): Use cadr, nth.
7857 (chinese-months): Remove un-needed let.
7859 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
7860 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
7861 (coptic-prompt-for-date): Move definition before use.
7863 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
7864 (calendar-dst-find-data, calendar-daylight-time-offset)
7865 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7866 (calendar-daylight-savings-starts-time)
7867 (calendar-daylight-savings-ends-time): Use cadr, nth.
7869 * calendar/cal-french.el (french-calendar-epoch)
7870 (calendar-goto-french-date): Doc fix.
7871 (french-calendar-month-name-array)
7872 (french-calendar-multibyte-month-name-array)
7873 (french-calendar-day-name-array, french-calendar-special-days-array):
7876 * calendar/cal-hebrew.el (displayed-month, displayed-year)
7877 (original-date): Move declarations where needed.
7878 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
7880 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
7881 constant variables outside the loop. Use dolist.
7883 * calendar/cal-islam.el (displayed-month, displayed-year)
7884 (original-date): Move declarations where needed.
7885 (islamic-calendar-day-number): Remove unused local variable `day'.
7886 (calendar-goto-islamic-date): Doc fix.
7887 (holiday-islamic): Use unless.
7888 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
7889 constant variables outside the loop. Use dolist.
7890 (mark-islamic-calendar-date-pattern): Move definition before use.
7892 (mark-islamic-diary-entries): Doc fix.
7893 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7894 (insert-yearly-islamic-diary-entry): Use let rather than let*.
7896 * calendar/cal-julian.el (calendar-absolute-from-julian):
7897 Move definition before use. Remove un-needed local `day'.
7898 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
7900 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
7901 (calendar-mayan-tzolkin-names-array): Add doc strings.
7902 (calendar-mayan-long-count-from-absolute): Use a single let.
7903 (calendar-string-to-mayan-long-count): Simplify.
7904 (calendar-next-haab-date, calendar-previous-haab-date)
7905 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
7906 (calendar-previous-calendar-round-date)
7907 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
7909 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
7910 (calendar-mayan-date-string, calendar-print-mayan-date)
7911 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7912 (calendar-mayan-long-count-common-era): Move definitions before use.
7914 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
7915 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
7917 (calendar-mouse-goto-date): Move definition before use.
7919 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
7920 Move definition before use.
7921 (calendar-cursor-to-visible-date): Move definition before use.
7922 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
7923 and place inside the conditional.
7924 (calendar-forward-day): Simplify.
7925 (calendar-end-of-month): Use unless.
7926 (calendar-goto-day-of-year): Doc fix.
7927 Relocate obsolete aliases after their replacements.
7929 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
7931 * calendar/diary-lib.el (mark-diary-entries): Move some constant
7932 variables outside the diary-date-forms loop.
7934 * calendar/calendar.el (diary-file): Doc fix.
7935 (calendar-buffer-list): Return buffers rather than strings (fixes
7937 (hebrew-holidays-4): Fix typo.
7939 * calendar/holidays.el (displayed-month, displayed-year):
7940 Move declarations where needed.
7941 (calendar-holiday-list, calendar-list-holidays)
7942 (holiday-filter-visible-calendar): Move definitions before use.
7943 (list-holidays): Use cadr.
7944 Relocate obsolete aliases after their replacements.
7946 * calendar/lunar.el (date, displayed-month, displayed-year):
7947 Move declarations where needed.
7948 (lunar-phase-list): Move definition after functions it uses.
7949 (calendar-phases-of-moon, diary-phases-of-moon)
7950 (lunar-new-moon-on-or-after): Use cadr, nth.
7951 (lunar-new-moon-on-or-after): Doc fix.
7953 * textmodes/org-irc.el (top-level): CL not required when compiling.
7954 (org-irc-visit-erc): Replace runtime CL functions.
7956 * textmodes/org-publish.el (declare-function): Add compatibility stub.
7957 (org-publish-delete-dups): Declare as function.
7959 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7961 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
7962 (vc-bzr-show-log-entry): Make regexp match more cases.
7963 (vc-diff-switches-list): Remove autoload, not needed.
7965 2008-03-14 Juri Linkov <juri@jurta.org>
7967 * isearch.el (isearch-edit-string): Remove one call to
7968 `isearch-push-state' not to push an inconsistent state,
7969 but keep another correct call to `isearch-push-state'.
7970 (isearch-ring-adjust): Call `isearch-push-state' only when
7971 `search-ring-update' is non-nil since `isearch-edit-string'
7972 already pushes its state.
7973 (isearch-message): Improve matching the failed part by checking
7974 if the original message starts with the last successful message.
7976 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
7977 (dired-perm-write): Rename from `dired-warn-writable'.
7978 Change parent face from `font-lock-warning-face' to
7979 `font-lock-comment-delimiter-face'.
7980 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
7981 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
7982 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
7983 with `dired-perm-write-face'.
7985 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
7987 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
7988 Create cache dir only if it doesn't already exist.
7990 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
7995 2008-03-13 Johan Bockgård <bojohan@gnu.org>
7997 * net/browse-url.el (browse-url-text-xterm):
7998 Unquote browse-url-text-browser.
8000 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
8002 * textmodes/org-mouse.el: Version number change.
8004 * textmodes/org-publish.el (org-publish-expand-components):
8005 Remove null projects from the list of components.
8006 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
8007 Remove unused retrieval of the :publishing-directory property.
8008 (org-publish-file): Bugfix: when using a relative directory as the
8009 publishing directory, convert it to a directory filename.
8010 (org-publish-project): New alias.
8011 (org-publish-get-files): Protect against empty p.
8012 (org-publish-file): Send an error when file is not part of any project.
8013 (org-publish-file): Offer to refresh the list of files in known
8014 project when the current file is not part of any project.
8015 (org-publish-before-export-hook)
8016 (org-publish-after-export-hook): New hooks.
8017 (org-publish-org-to): Use new hooks and kill buffers.
8018 (org-publish-file): Remove the code for killing buffers.
8019 (org-publish-initialize-files-alist): Use interactive.
8020 (org-publish-file): If the publishing function creates a new
8021 buffer, kill it after publishing.
8022 (org-publish-timestamp-filename): Protect ":" in file name path
8025 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
8026 change that killed the LaTeX buffer.
8028 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
8029 in the decision tree.
8030 (org-select-remember-template): Clean the code.
8031 (org-prepare-dblock): Add the extra :content parameter.
8032 (org-write-agenda): New output type ".ics" files.
8033 (org-write-agenda): Call `org-icalendar-verify-function', both for
8034 time stamps and for TODO entries.
8035 (org-agenda-collect-markers, org-create-marker-find-array)
8036 (org-check-agenda-marker-table): New functions.
8037 (org-agenda-marker-table): New variable.
8038 (org-export-as-html): Revert the change that killed the html
8039 buffer. Side effects first need to be studied carefully.
8040 (org-get-tags-at): Fix the structure of the condition-case statement.
8041 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
8042 (org-timestamp-change): Fix regulear expressions to swallow the
8043 extra character for repeat-shift control.
8044 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
8045 (org-get-legal-level): Alias to `org-get-valid-level'.
8046 (org-dblock-write:clocktable): Add a :link parameter, linking
8047 headlines to their location in the Org agenda files.
8048 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
8049 throwing an error when getting tags before headlines.
8050 (org-timestamp-change, org-modify-ts-extra)
8051 (org-ts-regexp1): Fix timestamp editing.
8052 (org-agenda-custom-commands-local-options): New constant.
8053 (org-agenda-custom-commands):
8054 Use `org-agenda-custom-commands-local-options' to improve customize
8055 type. "htmlize": Removed hack to fix face problem with htmlize,
8056 it no longer seem necessary.
8057 (org-follow-link-hook): New hook.
8058 (org-agenda-custom-commands): Add "Component" as a tag for each
8059 item in a command serie.
8060 (org-open-at-point): Run `org-follow-link-hook'.
8061 (org-agenda-schedule): Bugfix: don't display marker type when it
8063 (org-store-link): org-irc required.
8064 (org-set-regexps-and-options): Parse the new logging options.
8065 (org-extract-log-state-settings): New function.
8066 (org-todo): Handle the new ways of recording state change stuff.
8067 (org-local-logging): New function.
8068 (org-columns-open-link): Fix bug with opening link in column view.
8069 (org-local-logging): New function.
8070 (org-todo): Make sure that LOGGING properties are honoured.
8071 (org-todo-keywords): Improve docstring.
8072 (org-startup-options): Cleanup startup options.
8073 (org-set-regexps-and-options): Process the "!" markers.
8074 (org-todo): Respect the new logging stuff.
8075 (org-log-note-how): New variable.
8076 (org-add-log-maybe): New parameter HOW that defines how logging
8077 should be done and also overrides PURPOSE. Add a docstring.
8078 (org-add-log-note): Check if we really need to ask for a note.
8079 (org-get-current-options): Digest the new keyword.
8080 (org-agenda-reset-markers): Rename from
8081 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
8082 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
8083 function, without force argument.
8084 (org-buffer-property-keys): Bind local variables s and p.
8085 (org-make-tags-matcher): Allow "" to match an empty or
8086 non-existent property value.
8087 (org-export-as-html): Join unsorted lists when they directly
8088 follow each other. Such lists may be created by headlines that
8089 are converted to lists.
8090 (org-nofm-to-completion): New function.
8091 (org-export-as-html): Use :html-extension instead of
8092 org-export-html-extension.
8093 (org-store-link): Support for links from `rmail-summary-mode'.
8094 (org-columns-new, org-complete, org-set-property): Set the
8095 `include-columns' argument in the call to
8096 `org-buffer-property-keys'.
8097 (org-buffer-property-keys): New argument `include-columns', to
8098 include properties expected by any of the COLUMS formats in the
8100 (org-cleaned-string-for-export): Get rid of drawers first, so that
8101 they will be removed also in the text before the first headline.
8102 (org-clock-report): Show the clocktable when found.
8103 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
8104 (org-version): With prefix argument, insert `org-version' at point.
8105 (org-agenda-goto): Recenter the window after finding the target
8106 location, to make sure the correct position will be displayed.
8107 (org-agenda-get-deadlines): Don't scale priority with the warning
8109 (org-insert-heading): Don't break line in the middle of the line.
8110 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
8112 (org-update-checkbox-count): Revamp to deal with hierarchical
8113 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
8114 (org-remove-timestamp-with-keyword): New function.
8115 (org-schedule, org-deadline):
8116 Use `org-remove-timestamp-with-keyword' to make sure all such time
8118 (org-mode): Support for `align'.
8119 (org-agenda-get-deadlines): Make sure priorities increase as the
8120 due date approaches and is passed.
8121 (org-remember-apply-template): Fix problem with tags that
8123 (org-make-link-regexps): Improve the regular expression for plain links.
8124 (org-agenda-get-closed): List each clocking entry.
8125 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
8126 (org-special-ctrl-k): New option.
8127 (org-kill-line): New function.
8128 (org-archive-all-done): Fix incorrect number of stars in regexp.
8129 (org-refile-get-location): New function.
8130 (org-refile-goto-last-stored): New function.
8131 (org-global-tags-completion-table): Add the value of org-tag-alist
8132 in each buffer, to make sure that also unused tags will be
8133 available for completion.
8134 (org-columns-edit-value)
8135 (org-columns-next-allowed-value): Only update if not in agenda.
8136 (org-clocktable-steps): New function.
8137 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
8138 (org-archive-subtree): Add the outline tree context as a property.
8139 (org-closest-date): New optional argument `prefer'.
8140 (org-goto-auto-isearch): New option.
8141 (org-goto-map, org-get-location): Implement auto-isearch.
8142 (org-goto-local-auto-isearch-map): New variable.
8143 (org-goto-local-search-forward-headings)
8144 (org-goto-local-auto-isearch): New functions.
8146 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
8148 * textmodes/org-irc.el: New file.
8150 2008-03-13 John Wiegley <johnw@gnu.org>
8152 * textmodes/org-mac-message.el: New file.
8154 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
8156 * font-lock.el (font-lock-comment-face): Set the foreground for
8157 the light background 8 colors case.
8159 2008-03-13 Glenn Morris <rgm@gnu.org>
8161 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
8162 generate-autoload-cookie patterns.
8164 * startup.el (command-line-1): Rename -scriptload to -internal-script.
8166 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
8167 (MH_E_SRC): Remove variable.
8168 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
8169 Simplify file header. Use $@ for generated-autoload-file.
8171 * Makefile.in (LOADDEFS): New variable.
8172 (AUTOGENEL): Use $LOADDEFS.
8173 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
8174 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
8175 ($(lisp)/calendar/hol-loaddefs.el): New targets.
8176 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
8177 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
8178 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
8179 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
8180 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
8181 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
8182 Add calendar-specific autoload cookies, and remove any setting of
8183 generated-autoload-file.
8184 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
8185 * calendar/diary-lib.el: Replace explicit autoloads with reading of
8187 * calendar/holidays.el: Replace explicit autoloads with reading of
8190 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
8191 (calendar-buffer-list): Simplify.
8192 (generate-calendar-window): Use calendar-mark-holidays rather than
8195 * calendar/cal-hebrew.el (list-yahrzeit-dates):
8196 Use cal-hebrew-yahrzeit-buffer.
8198 * calendar/cal-x.el (calendar-only-one-frame-setup)
8199 (calendar-two-frame-setup): Doc fixes.
8200 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
8202 * calendar/appt.el (appt-mode-string): Mark as risky.
8203 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
8205 * calendar/cal-html.el (diary-list-entries):
8206 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
8207 (calendar-iso-from-absolute): Fix autoloads.
8209 * calendar/cal-iso.el (calendar-absolute-from-iso)
8210 (calendar-iso-read-args): Simplify.
8211 (calendar-iso-date-string, calendar-iso-read-args)
8212 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
8214 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
8215 (displayed-month, displayed-year): Move declarations where needed.
8216 (calendar-print-astro-day-number): Doc fix.
8218 * calendar/cal-persia.el (persian-calendar-month-name-array)
8219 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
8220 (persian-prompt-for-date): Remove local variable `today'.
8222 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
8224 * calendar/solar.el (solar-moment, solar-exact-local-noon)
8225 (solar-sunrise-sunset, solar-sunrise-sunset-string)
8226 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
8227 (diary-sabbath-candles, solar-equinoxes/solstices)
8228 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
8229 (solar-time-equation, solar-date-to-et): Simplify.
8231 * mail/supercite.el: Remove the `function' in `(function (lambda'.
8232 Replace `(car (cdr' with cadr'.
8234 * progmodes/f90.el (f90-font-lock-n): New function.
8235 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
8236 Use f90-font-lock-n.
8237 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
8239 * progmodes/f90.el (f90-mode-abbrev-table):
8240 * progmodes/fortran.el (fortran-mode-abbrev-table):
8241 Use newer form of define-abbrev, where supported. No need to bind
8242 abbrevs-changed for system abbrevs.
8244 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8246 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
8247 delete-frame-functions.
8249 * bookmark.el (Info-current-node): Remove.
8251 2008-03-12 Juri Linkov <juri@jurta.org>
8253 * help.el (describe-project): Remove defaliases for view-todo and
8254 describe-project that are now unnecessary after the merge from
8255 emacs--rel--22 that added define-obsolete-function-alias.
8257 * startup.el (inhibit-startup-screen): Revert incomplete
8258 2008-03-10 merge from emacs--rel--22 that partly reverted
8259 2008-02-28 change that added initial message to *scratch* buffer
8260 regardless of the value of `inhibit-startup-screen'.
8261 Now keep this change in the trunk, but not in the 22 branch.
8263 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * international/quail.el (quail-setup-completion-buf, quail-help):
8266 * mail/binhex.el (binhex-decode-region-internal):
8267 * mail/uudecode.el (uudecode-decode-region-internal):
8268 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
8269 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
8270 setting default-enable-multibyte-characters.
8272 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
8274 * comint.el: Fix up indentation and comment style. Remove `function'.
8276 * international/mule-cmds.el (reset-language-environment)
8277 (set-language-environment-nonascii-translation):
8278 Don't set-unibyte-charset.
8280 * doc-view.el: Remove all cb-args, use closures instead.
8281 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
8282 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
8283 doing an incorrect check). Update all callers to use the new name.
8284 (doc-view-doc->txt): Add missing `txt' argument.
8286 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8288 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
8289 md5 sum calculation to single-byte.
8291 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * doc-view.el (doc-view-new-window-function): Add assertion.
8294 (doc-view-doc-type): New var.
8295 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
8296 (doc-view-intersection): New fun.
8297 (doc-view-mode): Use it to set the new var.
8299 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8301 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
8302 (doc-view-already-converted-p): New functions.
8303 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
8304 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
8305 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
8306 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
8307 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
8308 (doc-view-convert-current-doc): Don't hardwire the functions the
8309 sentinels call. Now they're provided by two args CALLBACK and
8310 CB-ARGS to the functions.
8311 (doc-view-search): Use doc-view-doc->txt.
8312 (doc-view-initiate-display): Use doc-view-already-converted-p.
8313 Mention new binding C-c C-t if doc-view-mode doesn't work.
8315 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8317 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
8319 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8321 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
8322 Mark " outside of tags as punctuation.
8324 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * menu-bar.el (minibuffer-local-map): Use the same command for the
8327 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
8328 Prefer RET over C-j for exit-minibuffer.
8330 * files.el (display-buffer-other-frame): Eliminate problematic code.
8332 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
8333 (menu-bar-select-buffer): Remove.
8334 (menu-bar-select-frame): Make non-interactive and take a frame arg.
8335 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
8337 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
8339 * icomplete.el (icomplete-completions): Remove obsolete code.
8341 * net/net-utils.el (iwconfig-program-options): Doc fix.
8342 (net-utils-run-program, run-network-program): Define as functions.
8344 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8346 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
8348 2008-03-11 Glenn Morris <rgm@gnu.org>
8350 * faces.el (mode-line-emphasis): New face.
8351 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
8353 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
8355 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
8357 * simple.el (set-mark-command): Doc fix.
8359 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
8363 * emacs-lisp/autoload.el (autoload-find-destination):
8364 Don't force raw-text.
8366 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
8367 * calendar/cal-loaddefs.el: Don't version control.
8369 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8371 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
8372 entries and add :help to the existing ones.
8374 2008-03-10 Glenn Morris <rgm@gnu.org>
8376 * calendar/cal-hebrew.el (date, entry, number): Move declarations
8377 to where they are needed.
8379 * calendar/calendar.el (diary-file, hebrew-holidays-1)
8380 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
8381 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
8382 (calendar-version): Doc fixes.
8383 (calendar-absolute-from-gregorian): Use zerop.
8384 (calendar-mode-line-format): Make it a defcustom.
8386 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
8387 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
8388 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
8389 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
8390 (mark-included-diary-files, mark-calendar-days-named)
8391 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
8392 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
8393 (insert-monthly-diary-entry, insert-yearly-diary-entry)
8394 (insert-anniversary-diary-entry, insert-block-diary-entry)
8395 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
8396 (diary-font-lock-sexps): Doc fixes.
8397 (diary-remind-message, mark-calendar-month): Use zerop.
8398 (diary-attrtype-convert, diary-pull-attrs): Simplify.
8399 (diary-list-entries): Revert let to let* (previous change).
8401 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
8403 2008-03-10 Kim F. Storm <storm@cua.dk>
8405 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
8406 function aliases for the old names.
8408 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
8410 * iswitchb.el (iswitchb-use-faces): Doc fix.
8411 (iswitchb-buffer-ignore, iswitchb-read-buffer):
8412 Fix typos in docstrings.
8414 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8416 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
8418 (verilog-type-font-keywords): Reindent.
8420 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
8422 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
8423 grouping-keyword regular expression.
8424 (verilog-font-lock-keywords): Allow users to toggle special
8425 highlight of grouping-keywords.
8426 (verilog-highlight-grouping-keywords): The toggle for special
8427 highlighting of grouping keywords.
8429 2008-03-10 Juri Linkov <juri@jurta.org>
8431 * startup.el: Revert 2008-02-28 change that adds initial message
8432 to *scratch* buffer regardless of the value of
8433 `inhibit-startup-screen'.
8435 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8437 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
8438 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
8439 * progmodes/verilog-mode.el (verilog-mode):
8440 * net/socks.el (socks):
8441 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
8443 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
8445 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
8446 (doc-view-bookmark-make-record): Use them.
8447 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
8448 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
8450 * bookmark.el (bookmark-make-record-function): Change expected return
8451 value to include a suggested bookmark name.
8452 (bookmark-make): Split into bookmark-make-record and bookmark-store.
8453 Fix reversed `overwrite' semantics.
8454 (bookmark-set): Call bookmark-make-record before prompting the user.
8455 Then pass the result to bookmark-store later on.
8456 (bookmark-make-name-function): Remove.
8457 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
8458 * info.el (bookmark-make-name-function): Remove.
8459 (Info-mode): Don't set it.
8460 (Info-bookmark-make-name): Remove.
8461 (Info-bookmark-make-record): Use Info-current-node as suggested default
8464 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
8465 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
8466 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
8467 (bookmark-annotation-buffer, bookmark-annotation-file)
8468 (bookmark-annotation-point, bookmark-send-annotation)
8469 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
8470 (bookmark-edit-annotation-text-func): Rename from
8471 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
8472 (bookmark-edit-annotation-mode-map): Move initialization into
8475 * bookmark.el: Remove spurious * in docstrings.
8476 (bookmark-minibuffer-read-name-map): New var.
8477 (bookmark-set): Use it. Also pass the default value as it should.
8478 (bookmark-send-edited-annotation): Take no chances with text properties.
8479 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
8480 (bookmark-insert-buffer-name): Remove.
8481 (bookmark-buffer-file-name): Signal an error rather than returning nil.
8483 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
8485 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
8487 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
8489 * diff-mode.el (diff-mode-menu): Add :help.
8491 2008-03-09 Glenn Morris <rgm@gnu.org>
8493 * calendar/calendar.el (general-holidays, oriental-holidays)
8494 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
8495 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
8496 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
8497 (calendar-holidays): Restore autoload cookies, because people are
8498 used to using these variables without loading calendar.el.
8500 * calendar/cal-islam.el (diary-islamic-date): Move to end.
8501 (date, number): Declare where needed.
8503 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
8504 (list-sexp-diary-entries): Doc fixes.
8505 (diary-list-entries): Doc fix. Remove free variable `entry'.
8506 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
8507 Simplify setting of `date-holiday-list'.
8508 (mark-diary-entries): Remove free variable `entry'.
8509 (diary-list-entries, include-other-diary-files, fancy-diary-display):
8510 Use let where let* is not needed.
8512 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
8514 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
8515 make-record function, instead paste it in afterwards.
8516 (bookmark-make-record-for-text-file):
8517 * doc-view.el (doc-view-bookmark-make-record):
8518 * info.el (Info-bookmark-make-record): Don't mess with annotations.
8520 2008-03-08 Glenn Morris <rgm@gnu.org>
8522 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
8524 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
8526 * calendar/diary-lib.el (diary-list-entries)
8527 (include-other-diary-files, mark-diary-entries)
8528 (mark-sexp-diary-entries, mark-included-diary-files)
8529 (diary-entry-time, list-sexp-diary-entries): Remove the special
8530 handling of ^M that dates back to the use of selective-display.
8531 (simple-diary-display): Obey setting of pop-up-frames.
8532 (body, entry): Remove unnecessary declarations.
8534 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
8535 (bookmark-get-annotation, bookmark-set-annotation)
8536 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
8537 (bookmark-set-position, bookmark-get-front-context-string)
8538 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
8539 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
8540 * info.el (Info-bookmark-make-record): Don't bother recording point.
8541 (bookmark-get-filename, bookmark-get-front-context-string)
8542 (bookmark-get-rear-context-string, bookmark-get-position):
8543 Don't declare any more.
8544 (bookmark-get-info-node): Remove.
8545 (bookmark-prop-get): Declare.
8546 (Info-bookmark-jump): Use it.
8548 2008-03-08 Johan Bockgård <bojohan@gnu.org>
8550 * subr.el (while-no-input): Don't splice BODY directly into the
8553 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
8555 * diff-mode.el (diff-ignore-whitespace-hunk):
8556 Bind inhibit-read-only before trying to change the buffer.
8558 2008-03-08 Glenn Morris <rgm@gnu.org>
8560 * calendar/appt.el (appt): Move custom group here from calendar.el.
8561 (appt-disp-window, appt-convert-time): Doc fixes.
8563 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
8564 (calendar-bahai-mark-date-pattern):
8565 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
8566 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
8567 * calendar/cal-julian.el (calendar-absolute-from-julian):
8568 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
8570 * calendar/cal-china.el (chinese-calendar): Move custom group here from
8572 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
8574 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
8575 (chinese-calendar-daylight-savings-starts)
8576 (chinese-calendar-daylight-savings-ends)
8577 (chinese-calendar-daylight-savings-starts-time)
8578 (chinese-calendar-daylight-savings-ends-time)
8579 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
8582 * calendar/cal-coptic.el (coptic-name): Add doc string.
8584 * calendar/cal-french.el (french-calendar-month-name-array)
8585 (french-calendar-day-name-array, french-calendar-special-days-array):
8588 * calendar/cal-bahai.el (diary-bahai-mark-entries)
8589 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
8590 (diary-bahai-insert-yearly-entry):
8591 * calendar/cal-dst.el (calendar-next-time-zone-transition)
8592 (calendar-time-zone):
8593 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
8594 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
8595 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
8596 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
8597 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
8598 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
8599 (list-islamic-diary-entries, mark-islamic-diary-entries)
8600 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
8601 (insert-yearly-islamic-diary-entry):
8602 * calendar/cal-iso.el (calendar-iso-read-args):
8603 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
8604 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
8605 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
8606 (calendar-next-calendar-round-date)
8607 (calendar-mayan-long-count-common-era):
8608 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
8609 (cal-menu-x-popup-menu, calendar-mouse-holidays)
8610 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
8611 (calendar-mouse-goto-date):
8612 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
8613 * calendar/holidays.el (holidays):
8614 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
8615 * calendar/time-date.el (date-to-time, time-subtract, time-add)
8616 (safe-date-to-time): Doc fixes.
8618 * calendar/cal-persia.el (persian-calendar-month-name-array)
8619 (persian-calendar-epoch): Make constants.
8621 * calendar/cal-tex.el (calendar-tex): Move custom group here from
8624 * calendar/cal-x.el (diary-frame-parameters)
8625 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
8626 (calendar-after-frame-setup-hooks): Make defcustoms.
8627 (calendar-one-frame-setup, calendar-only-one-frame-setup)
8628 (calendar-two-frame-setup): Doc fix.
8630 * calendar/cal-loaddefs.el: New file.
8632 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
8633 * calendar/cal-french.el, calendar/cal-html.el:
8634 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
8635 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
8636 * calendar/cal-tex.el, calendar/cal-x.el:
8637 Unquote lambda functions. Add autoload cookies to functions formerly
8638 autoloaded in calendar.el. Set `generated-autoload-file' to
8641 * calendar/calendar.el: Move many autoloads to separate file,
8642 cal-loaddefs.el. Move defcustoms to start and re-order.
8643 (calendar-month-name-array, calendar-starred-day): No need to
8644 declare for compiler.
8645 (cal-loaddefs): Require it.
8646 (appt, chinese-calendar, calendar-tex): Move custom groups to the
8648 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
8650 (diary-face, diary-file-name-prefix-function, diary-include-string)
8651 (diary-glob-file-regexp-prefix, diary-face-attrs)
8652 (diary-file-name-prefix, sexp-diary-entry-symbol)
8653 (print-diary-entries-hook, list-diary-entries-hook)
8654 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
8655 (nongregorian-diary-marking-hook, diary-list-include-blanks):
8657 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
8658 (all-bahai-calendar-holidays): Doc fix.
8659 (calendar-insert-indented): Doc fix. Use when rather than if.
8660 (exit-calendar): Use mapc rather than mapcar.
8661 (calendar-cursor-to-date): Use zerop.
8662 (calendar-mark-ring): Add doc-string.
8663 (calendar-starred-day): Defvar it.
8664 (calendar-mode): Make calendar-starred-day local.
8665 (calendar-star-date): No need to make calendar-starred-day local.
8667 * calendar/diary-lib.el: Move defcustoms to start.
8668 (diary-include-string, diary-list-include-blanks)
8669 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
8670 (diary-file-name-prefix, diary-file-name-prefix-function)
8671 (sexp-diary-entry-symbol, list-diary-entries-hook)
8672 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
8673 (nongregorian-diary-marking-hook, print-diary-entries-hook):
8674 Move here from calendar.el.
8675 (diary-file-name-prefix-function): Use 'identity.
8676 (diary-face): Make it a defcustom, and mark as obsolete.
8677 (top-level): No need to require cal-hebrew, cal-islam when compiling.
8678 (calendar-hebrew-month-name-array-leap-year)
8679 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
8680 Define for compiler.
8681 (diary-font-lock-keywords): Use format rather than concat.
8682 Add bahai-diary-entry-symbol.
8684 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
8685 * calendar/solar.el: Unquote lambda functions.
8687 * calendar/solar.el (calendar-location-name, calendar-latitude)
8688 (calendar-longitude, solar-setup, solar-sin-degrees)
8689 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
8690 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
8691 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
8692 (solar-exact-local-noon, solar-julian-ut-centuries)
8693 (solar-ephemeris-time, solar-date-next-longitude)
8694 (solar-horizontal-coordinates, solar-equatorial-coordinates)
8695 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
8696 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
8697 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
8699 (solar-horizontal-coordinates, solar-equatorial-coordinates)
8700 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
8701 (solar-ecliptic-coordinates): Use unless.
8702 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
8705 * calendar/timeclock.el: Add doc-strings to all functions.
8706 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
8707 (timeclock-entry-list-length, timeclock-entry-list-projects)
8708 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
8710 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
8712 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
8713 (org-get-entries-from-diary): Require diary-lib.
8715 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
8717 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
8718 Pacify byte-compiler.
8720 2008-03-07 Alan Mackenzie <acm@muc.de>
8722 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
8723 paren/bracket pairs parsed, to solve performance problem.
8725 2008-03-07 Bastien Guerry <bzg@altern.org>
8727 * bookmark.el (bookmark-set): Don't check for
8728 `bookmark-make-name-function' since `bookmark-buffer-file-name'
8729 already takes care of this.
8730 (bookmark-buffer-name, bookmark-buffer-file-name):
8731 Remove Info-mode specific code.
8733 * info.el (bookmark-get-info-node): Define this function in
8734 info.el, not in bookmark.el.
8735 (Info-mode): Set `bookmark-make-name-function' to
8736 `Info-bookmark-make-name' locally.
8737 (Info-bookmark-make-name): New function.
8739 * bookmark.el (bookmark-make-name-function): New variable.
8741 2008-03-07 Karl Fogel <kfogel@red-bean.com>
8743 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
8744 buffer-local, not `bookmark-make-cell-function' (the old name).
8746 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
8748 * doc-view.el (doc-view-bookmark-make-record):
8749 * image-mode.el (image-bookmark-make-record):
8750 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
8752 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
8754 * vc.el (vc-status-menu-map-filter): Return orig-binding if
8755 boundp 'vc-ignore-menu-filter.
8756 (vc-status-tool-bar-map): Make it defvar.
8757 (vc-status-mode): vc-status-tool-bar-map now variable.
8758 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
8760 2008-03-07 Karl Fogel <kfogel@red-bean.com>
8762 Give a better name to part of the bookmark interface.
8764 This was originally a much larger change, but halfway through I
8765 updated and discovered that Stefan Monnier had done the rest.
8766 It looks like he anticipated the new name too, because he used
8767 `the-record' instead of `the-cell' for some internal variable names.
8769 * bookmark.el (bookmark-make-record-function): Was
8770 `bookmark-make-cell-function'.
8771 (bookmark-make, bookmark-send-annotation): Update for above.
8772 (bookmark-make-record-for-text-file):
8773 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
8775 * info.el: Adjust accordingly.
8776 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
8778 * image-mode.el: Adjust accordingly.
8779 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
8781 * doc-view.el: Adjust accordingly.
8782 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
8784 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
8787 Move initialization into declaration.
8788 (bookmark-get-info-node, bookmark-set-info-node): Remove.
8789 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
8790 (bookmark-info-current-node): Remove.
8791 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
8792 Add relocation fallback. Set bookmark-current-bookmark.
8793 (bookmark-default-handler): Rename from bookmark-jump-noselect.
8794 Remove relocation fallback. Don't set bookmark-current-bookmark.
8795 (bookmark-set): Let it be used even if there's no buffer-file-name
8796 as long as there is a bookmark-make-cell-function.
8797 * info.el (Info-bookmark-jump): Remove relocation fallback.
8798 Don't set bookmark-current-bookmark.
8800 2008-03-07 Glenn Morris <rgm@gnu.org>
8802 * calendar/appt.el (appt-issue-message)
8803 (appt-message-warning-time, appt-audible, appt-visible)
8804 (appt-msg-window, appt-display-mode-line, appt-display-duration)
8805 (appt-display-diary): Remove autoload cookies.
8807 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
8808 Remove leading `*' from defcustom doc-strings.
8810 * calendar/cal-dst.el (calendar-dst): New custom group.
8811 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
8812 (calendar-time-zone, calendar-daylight-time-offset)
8813 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
8814 (calendar-daylight-savings-starts-time)
8815 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
8816 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
8819 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
8821 * calendar/calendar.el (calendar-version): Use emacs-version and
8822 make it obsolete. Move to end.
8823 (calendar-offset, view-diary-entries-initially)
8824 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
8825 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
8826 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
8827 (all-bahai-calendar-holidays, calendar-load-hook)
8828 (initial-calendar-window-hook, today-visible-calendar-hook)
8829 (today-invisible-calendar-hook, calendar-move-hook)
8830 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
8831 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
8832 (diary-include-string, sexp-diary-entry-symbol)
8833 (abbreviated-calendar-year, american-date-diary-pattern)
8834 (european-date-diary-pattern, european-calendar-display-form)
8835 (american-calendar-display-form, print-diary-entries-hook)
8836 (list-diary-entries-hook, diary-hook, diary-display-hook)
8837 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
8838 (nongregorian-diary-marking-hook, diary-list-include-blanks)
8839 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
8840 (local-holidays, other-holidays, hebrew-holidays-1)
8841 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
8842 (hebrew-holidays, christian-holidays, islamic-holidays)
8843 (bahai-holidays, solar-holidays, calendar-setup)
8844 (calendar-week-start-day): Remove autoload cookies.
8845 (diary-glob-file-regexp-prefix): Doc fix.
8846 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
8847 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
8848 (calendar-week-start-day, calendar-debug-sexp): Move to start.
8850 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
8851 (calendar-time-display-form, calendar-latitude)
8852 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
8854 (calendar-latitude, calendar-longitude): Move functions after
8856 (diary-sabbath-candles-minutes): Move to start.
8857 (solar-setup): Use or rather than if.
8858 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
8859 Remove condition-case.
8860 (solar-atn2): Use zerop.
8861 (solar-equinoxes-solstices): Doc fix.
8863 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
8864 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
8866 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
8867 (calendar-longitude, calendar-latitude, calendar-location-name):
8868 Declare for compiler.
8870 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * arc-mode.el (archive-ar-file-header-re): New const.
8873 (archive-ar-summarize, archive-ar-extract): New funs.
8874 (archive-find-type): Recognize ar archives.
8876 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
8879 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
8881 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
8883 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
8884 Replace :enable (mark-active) with :enable mark-active.
8886 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
8888 * vms-patch.el (make-legal-file-name): New obsolete alias.
8889 (make-valid-file-name): Rename from `make-legal-file-name'.
8890 (make-auto-save-file-name): Use it.
8892 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
8893 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
8894 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
8896 * textmodes/org.el (org-export-html-style): Doc fix.
8897 (org-get-legal-level): New obsolete alias.
8898 (org-get-valid-level): Rename from `org-get-legal-level'.
8899 (org-promote, org-demote, org-archive-subtree)
8900 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
8902 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
8904 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
8906 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
8907 (vc-status-toggle-mark): New functions.
8908 (vc-status-mode): Set tool bar map.
8910 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
8912 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
8913 Reported by Drew Adams <drew.adams@oracle.com>.
8915 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
8917 * subr.el (read-quoted-char): Resolve modifers of the character
8920 * comint.el (comint-exec-1): Don't change the coding-system for
8921 decoding to dos-like EOL.
8922 (comint-carriage-motion): Fully rewrite.
8924 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
8926 * epg.el (epg-context-include-certs): Reflow docstring.
8927 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
8928 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
8929 (epg-context-set-signers, epg-context-set-sig-notations)
8930 (epg-make-import-status, epg-make-import-result)
8931 (epg-start-delete-keys): Fix typos in docstrings.
8932 (epg-start-sign-keys, epg-sign-keys):
8933 Fix typos in obsolescence declarations.
8935 * iswitchb.el: Don't check for `cadr' and `last'.
8936 (iswitchb-define-mode-map, iswitchb-default-keybindings):
8937 Add obsolescence declaration and remove redundant info from docstring.
8938 (iswitchb-set-common-completion, iswitchb-set-matches)
8939 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
8940 (recentf-list, most-len, most-is-exact):
8941 Don't wrap defvars within `eval-when-compile'.
8943 2008-03-05 Glenn Morris <rgm@gnu.org>
8945 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
8946 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
8947 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
8948 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
8949 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
8951 * ediff-hook.el (ediff-window-setup-function): Don't autoload
8952 declaration for compiler.
8953 (ediff-xemacs-init-menus): Use when rather than if.
8955 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
8957 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
8958 (ediff-delete-overlay): Move the XEmacs test inside the definition.
8960 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
8962 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
8963 test inside XEmacs test.
8964 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
8965 since it was doing nothing on Emacs.
8966 (ediff-make-bullet-proof-overlay): Use when rather than if.
8968 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
8969 (ediff-setup-control-frame): Remove
8970 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
8971 a (featurep 'xemacs) test.
8973 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
8975 * calc/calc-ext.el (calc-extended-command-history): New variable.
8976 (calc-exectute-extended-command): Use `calc-extended-command-history'.
8978 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
8980 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
8981 (standard-mode-line-position): Add mouse-face.
8983 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
8984 * progmodes/grep.el (grep-mode-map): Add :help.
8986 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
8987 initialize in one step. Add :help. Use :enable to activate menu
8988 items. Show the key binding for edebug-defun.
8989 (lisp-interaction-mode-map): Add a menu.
8991 * term.el (term-mode-map): Define and initialize in one step.
8993 * ediff-init.el (ediff-color-display-p): Simplify.
8994 (Xor): Remove unused function.
8995 (ediff-with-syntax-table): Simplify for Emacs.
8997 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
8998 menu-bar being loaded, it always is.
9000 2008-03-05 Glenn Morris <rgm@gnu.org>
9002 * textmodes/tex-mode.el (tex-mode): Suppress warning about
9003 multiple definitions when compiling.
9005 2008-03-04 Alan Mackenzie <acm@muc.de>
9007 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
9009 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
9010 doc-string, "c-old-LEN" -> "c-old-END".
9012 2008-03-04 Jason Rumney <jasonr@gnu.org>
9014 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
9017 2008-03-04 Glenn Morris <rgm@gnu.org>
9019 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
9021 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
9024 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
9026 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9027 (byte-compile-nilconstp): Can't use recursion in a defsubst.
9029 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
9030 so that M-q can fill comments.
9031 (tex-executable-exists-p, tex-compile): Extend with special syntax for
9032 commands implemented in elisp.
9033 (tex-compile-commands): Add an entry to use doc-view for pdf files.
9034 (tex-format-cmd): New function.
9035 (tex-compile): Use it to let the user specify default arguments.
9036 (tex-cmd-bibtex-args): New var.
9037 (tex-cmd-doc-view): New function.
9039 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
9041 * faces.el (face-spec-set): Fix typos in docstring.
9043 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
9045 * bindings.el (mode-line-column-line-number-mode-map): New variable.
9046 (standard-mode-line-position): Use it to add a menu for toggling
9047 column number and line number display.
9049 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
9052 Remove optimization that was working around the form-code-walker bug.
9054 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9055 Walk into the body of lambdas after byte-compile-unfold-lambda.
9057 2008-03-03 Glenn Morris <rgm@gnu.org>
9059 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
9060 value, if set, over frame value.
9062 * simple.el (transient-mark-mode): Don't turn on by default.
9064 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
9065 accidentally removed by the 2007-12-05 merge from Gnus.
9067 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
9069 * progmodes/compile.el (compilation-menu-map): Add menu entries
9072 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
9073 Glenn Morris <rgm@gnu.org>
9075 * emacs-lisp/bytecomp.el (byte-recompile-directory)
9076 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
9077 Give a `bytecomp-' prefix to local variables with common names.
9079 2008-03-01 Glenn Morris <rgm@gnu.org>
9081 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
9082 code commented out 2007-11-10.
9084 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
9086 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
9088 * emulation/viper-cmd.el, emulation/viper-ex.el:
9089 * emulation/viper-init.el, emulation/viper-keym.el:
9090 * emulation/viper-mous.el, emulation/viper-util.el:
9091 * emulation/viper.el:
9092 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
9095 Replace obselete frame-local variables with frame-parameters.
9096 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
9097 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
9098 (viper-vi-state-cursor-color): Only call make-variable-frame-local
9100 * emulation/viper-util.el (viper-frame-value): New macro.
9101 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
9102 (viper-R-state-post-command-sentinel)
9103 (viper-replace-state-post-command-sentinel)
9104 (viper-change-state-to-insert, viper-change-state-to-emacs):
9105 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
9106 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
9107 (viper-get-saved-cursor-color-in-insert-mode)
9108 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
9109 Use viper-frame-value for viper-replace-overlay-cursor-color,
9110 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
9111 viper-vi-state-cursor-color values.
9113 * emulation/viper-cmd.el (zmacs-region-stays):
9114 * emulation/viper-util.el (zmacs-region-stays): No need to define
9117 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
9120 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
9123 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
9126 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9128 * whitespace.el: New version 9.3. As the glyph code generation was
9129 fixed, it is possible now to use character code above ?\x1FFFF in the
9130 display table. Fix `whitespace-indentation-regexp' to not include an
9131 extra ending character. Reported by Michael Welsh Duggan
9132 <mwd@cert.org>. Added hook actions when buffer is written or killed as
9133 the original whitespace package had. Suggested by Eric Cooper
9134 <ecc@cmu.edu>. Doc fix.
9135 (whitespace-action): New option.
9136 (whitespace-display-mappings): Changed default newline visualization to
9137 display downwards arrow, as the glyph code generation was fixed.
9138 (whitespace-unload-function): Assure that all local whitespace mode is
9140 (whitespace-global-modes): Fix type customization.
9141 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
9142 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
9143 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
9145 (whitespace-buffer): Command removed.
9146 (whitespace-trailing-regexp, whitespace-mark-x)
9147 (whitespace-display-window, whitespace-action-when-on)
9148 (whitespace-add-local-hook, whitespace-remove-local-hook)
9149 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
9150 (whitespace-action): New funs.
9151 (whitespace-report-list, whitespace-report-text)
9152 (whitespace-report-buffer-name): New consts.
9153 (whitespace-report, whitespace-report-region): New commands.
9155 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9157 * disp-table.el (make-glyph-code): Don't test the result of
9158 `face-id', which already signals an error for invalid faces.
9159 (glyph-face): Simplify.
9161 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
9162 running `desktop-not-loaded-hook' to allow modifying it.
9163 Don't show warning message if `desktop-dirname' was modified.
9165 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
9168 we still expect more lines.
9170 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
9171 comment-paragraph filling if the commark doesn't match
9174 2008-03-01 Daiki Ueno <ueno@unixuser.org>
9176 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
9179 2008-03-01 Jason Rumney <jasonr@gnu.org>
9181 * files.el (make-auto-save-file-name): Encode more characters in
9182 non-file buffer names. Use url-encoding.
9184 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9186 * net/net-utils.el (ftp-program): Fix typo in docstring.
9187 (ifconfig-program-options, netstat-program-options)
9188 (arp-program-options, route-program-options, nslookup-program-options)
9189 (ftp-program-options, smbclient-program-options)
9190 (dns-lookup-program-options, arp, route): Doc fixes.
9192 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
9193 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
9194 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
9195 Fix typos in docstrings.
9196 (gdb-pending-triggers): Reflow docstring.
9197 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
9199 2008-03-01 Alan Mackenzie <acm@muc.de>
9201 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
9204 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9206 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
9208 2008-02-29 Kim F. Storm <storm@cua.dk>
9210 * emulation/cua-base.el (cua-remap-control-v)
9211 (cua-remap-control-z): New defcustoms.
9212 (cua-mode): Add them to set-after property.
9213 (cua--init-keymaps): Use them.
9214 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
9216 * help.el (view-emacs-todo): Rename from view-todo.
9217 (describe-gnu-project): Rename from describe-project. Users changed.
9218 (view-help-file): New helper function.
9219 (describe-distribution, describe-copying, describe-gnu-project)
9220 (view-todo, view-order-manuals, view-emacs-problems): Use it.
9221 (view-emacs-debugging, view-external-packages): New commands.
9222 (help-map): Move describe-distribution to C-h C-o (ordering).
9223 Move view-emacs-problems to C-h C-p (problems).
9224 Bind view-emacs-debugging to C-h C-d (debugging).
9225 Bind view-external-packages to C-h C-e (extras).
9226 (help-for-help-internal): Cleanup and align descriptions.
9227 Remove command names to reduce clutter.
9229 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9231 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
9232 and quieter face (not a warning).
9234 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
9236 * vc.el (vc-status-crt-marked): New variable.
9237 (vc-status-mode): Make it local.
9238 (vc-status-refresh): Use it to save the marked files.
9239 (vc-update-vc-status-buffer): Use it to restore the marked files.
9241 * vc-svn.el (vc-svn-after-dir-status):
9242 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
9244 2008-02-29 Glenn Morris <rgm@gnu.org>
9246 * allout.el (allout-topic-encryption-bullet)
9247 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
9248 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
9251 * net/imap.el (imap-ping-server):
9252 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
9253 Change defcustom :version from 23.0 to 23.1.
9255 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
9257 * desktop.el (desktop-save): Save the buffer name if the
9258 uniquified base name is empty.
9260 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9262 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
9263 correctly when user has "set print address off".
9265 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
9267 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
9268 version number of the next major Emacs release, not 23.0.
9270 * longlines.el (longlines-unload-function): New function.
9272 2008-02-28 Juri Linkov <juri@jurta.org>
9274 * startup.el (normal-splash-screen): Add argument `concise'.
9275 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
9276 to the created buffer. If `concise' is non-nil, call
9277 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
9278 (display-startup-screen): Add argument `concise' to the call to
9279 `normal-splash-screen'.
9281 2008-02-28 Kim F. Storm <storm@cua.dk>
9283 * startup.el (startup-echo-area-message): Check for about-emacs.
9285 2008-02-28 Juri Linkov <juri@jurta.org>
9287 * startup.el: Always add initial message to *scratch* buffer if
9288 `initial-scratch-message' is non-nil regardless of the value of
9289 `inhibit-startup-screen'.
9290 (inhibit-startup-screen, initial-scratch-message): Doc fix.
9291 (command-line-1): Move code that inserts `initial-scratch-message'
9292 up before the if-form that checks for `inhibit-startup-screen'.
9293 Suggested by Jonathan Rockway <jon@jrock.us>.
9295 2008-02-28 Juri Linkov <juri@jurta.org>
9297 * cus-edit.el (custom-mode-map, custom-mode-link-map):
9298 Rename `custom-mode' to `Custom-mode' in docstrings.
9299 (custom-buffer-create-internal, customize-browse):
9300 Rename `custom-mode' to `Custom-mode'.
9301 (custom-mode-hook): Rename to `Custom-mode-hook'.
9302 (Custom-mode-hook): Renamed from `custom-mode-hook'.
9303 (custom-mode): Rename to `Custom-mode'.
9304 (Custom-mode): Renamed from `custom-mode'. Doc fix.
9305 (custom-mode): Add backward-compatible non-interactive variant of
9306 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
9307 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
9309 * info-look.el: Rename `custom-mode' to `Custom-mode'.
9311 * emulation/viper.el (viper-emacs-state-mode-list):
9312 Rename `custom-mode' to `Custom-mode'.
9314 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
9315 Capitalize "Tagged Files".
9316 (minibuffer-local-map): Add menu items for next/previous
9317 history elements and isearch history forward/backward.
9319 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
9320 `hs-isearch-open' with t instead of `comment' in :selected
9321 for "Code and Comment blocks" menu item.
9323 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
9325 * uniquify.el (uniquify-buffer-base-name): Undo last change.
9326 Should be done in desktop.el instead.
9328 2008-02-28 Glenn Morris <rgm@gnu.org>
9330 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
9332 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
9334 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
9335 (Info-menu, Info-goto-node): Remove declarations.
9336 (report-emacs-bug-info): Use info rather than Info-goto-node.
9338 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
9339 (idlwave-convert-xml-system-routine-info): Don't require xml.
9340 (idlwave-show-commentary, idlwave-shell-show-commentary):
9341 Don't require finder.
9342 (idlwave-info): Don't require info. Use info rather than
9345 * textmodes/org.el (Info-goto-node): Remove declaration.
9346 (org-info): Use info rather than Info-goto-node.
9348 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
9349 (reftex-info): Don't require info. Use info rather than Info-goto-node.
9351 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
9353 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
9356 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
9357 (vc-finish-logentry): Check for vc-status-mode, not only for
9360 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
9362 * isearch.el (isearch-printing-char): Don't check
9363 keyboard-coding-system.
9364 Call isearch-process-search-multibyte-characters only when
9365 current-input-method is non-nil.
9367 2008-02-27 Kim F. Storm <storm@cua.dk>
9369 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
9370 (glyph-char, glyph-face): Handle cons encoding.
9372 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
9374 * uniquify.el (uniquify-buffer-base-name): If the base name is an
9375 empty string, return nil to allow the caller to default to the
9376 buffer name. Reported by Martin Fischer <parozusa@web.de>.
9378 * tool-bar.el (tool-bar-setup): Doc fix.
9380 * mail/supercite.el (sc-describe):
9381 Fix typos in obsolescence declaration.
9383 2008-02-27 Glenn Morris <rgm@gnu.org>
9385 * autoinsert.el (auto-insert-alist): Change permission text to
9386 match FSF's GPLv3 form.
9388 * mail/supercite.el (sc-cite-original): Doc fix.
9389 (sc-version): Make obsolete.
9390 (sc-describe): Show the SC info page. Make obsolete.
9392 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9394 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
9395 when using transient-mark-mode.
9396 (default-indicate-unused-lines): Remove unused var.
9398 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
9400 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
9403 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
9405 2008-02-26 Glenn Morris <rgm@gnu.org>
9407 * net/net-utils.el (top-level): Don't require comint when compiling.
9408 (nslookup-font-lock-keywords): Don't require font-lock.
9409 Use font-lock faces rather than variables.
9410 (nslookup, ftp, smbclient, network-service-connection):
9411 Don't require comint.
9412 (comint-prompt-regexp, comint-input-autoexpand)
9413 (comint-input-ring): Declare for compiler.
9414 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
9415 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
9417 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
9420 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * doc-view.el (doc-view-current-page): Add a `win' argument.
9424 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
9427 Demote it to plain defvar.
9428 (doc-view-conversion-refresh-interval): Reduce interval.
9429 (doc-view-goto-page): Allow moving to pages not yet rendered.
9430 (doc-view-goto-page): Construct a file name rather than extracting it
9431 from doc-view-current-files.
9432 (doc-view-kill-proc): Ignore errors from kill-process.
9433 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
9434 (doc-view-insert-image): Use appropriate text if the page hasn't been
9435 rendered yet. Adjust scrolling so the text is displayed.
9436 (doc-view-display): Detect not just that a page is available, but also
9437 that it wasn't available before, so as to avoid refreshing all pages
9439 (doc-view-mode): Make doc-view-cache-directory if needed.
9441 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9443 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
9446 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
9447 refering to a missing required field with the OPT prefix.
9448 Make unwindform more robust.
9450 * textmodes/bibtex.el: Remove support for hideshow minor mode as
9451 it duplicates the bibtex support in progmodes/hideshow.el.
9452 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
9453 entries that do not start at the beginning of a line.
9455 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
9457 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
9459 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
9461 * help-fns.el (describe-variable): Add phrases about
9462 initialization file with and without customization;
9463 use new button type help-info-variable.
9465 * help-mode.el (help-info-variable):
9466 New button able to read Info files for help-fns.el.
9468 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
9470 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
9471 (grep-mode): Use grep-mode-tool-bar-map.
9473 * progmodes/compile.el (tool-bar): Require tool-bar.
9474 (compilation-mode-tool-bar-map): New variable.
9475 (compilation-mode): Use compilation-mode-tool-bar-map.
9477 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
9479 2008-02-25 Glenn Morris <rgm@gnu.org>
9481 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
9483 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * diff-mode.el (diff-file-junk-re): New const.
9486 (diff-beginning-of-file-and-junk): Use it.
9487 (diff-file-kill): Make sure we were really inside a file diff.
9489 * diff-mode.el: Make it more robust in the presence of empty context
9490 lines in unified hunks.
9491 (diff-valid-unified-empty-line): New var.
9492 (diff-unified->context, diff-sanity-check-hunk): Obey it.
9493 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
9494 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
9495 (diff-hunk-header-re-unified): New const.
9496 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
9497 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
9498 (diff-sanity-check-hunk): Use it.
9500 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
9501 Index: line, don't search backward for the previous one.
9503 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
9505 * international/fontset.el (setup-default-fontset): Add non-OTF
9506 lao font for lao script.
9508 * language/tibetan.el: Register tibetan-composition-function in
9509 composition-function-table.
9511 * language/tibet-util.el (tibetan-composition-function):
9512 Adjust for the new calling way (argument changed). Try font-shape-text
9515 * language/lao.el: Register lao-composition-function in
9516 composition-function-table.
9518 * language/lao-util.el (lao-composition-function): Adjust for the new
9519 calling way (argument changed). Try font-shape-text if possible.
9521 2008-02-25 Jason Rumney <jasonr@gnu.org>
9523 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
9525 2008-02-25 Juri Linkov <juri@jurta.org>
9527 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
9528 background, "red4" for a dark background, "red" for 16 and
9529 8 colors, "grey" for grayscale, and inverse video otherwise.
9531 (isearch-message): Keep the original isearch-message intact, and
9532 add text properties to it where necessary. Add `isearch-error' to
9533 the condition that checks if isearch is unsuccessful.
9535 2008-02-24 Juri Linkov <juri@jurta.org>
9537 * progmodes/compile.el (compilation-handle-exit):
9538 Use compilation-error face instead of font-lock-warning-face.
9539 Display the same message in the minibuffer as is inserted
9540 at the end of the compilation buffer.
9542 2008-02-24 Glenn Morris <rgm@gnu.org>
9544 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
9547 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
9549 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
9550 multiple file case. Use a single `let' rather than two.
9552 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
9554 * progmodes/compile.el (compilation-start): Specify a face for
9556 (compilation-handle-exit): Specify a face and a tooltip for
9559 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9561 * hilit-chg.el: Remove spurious * in defcustom docstrings.
9562 (hilit-chg-make-ov): Simplify.
9563 (hilit-chg-fixup): Use remove-overlays.
9564 (hilit-chg-set-face-on-change): Remove redundant call to
9565 `remove-text-properties'.
9567 * dired.el (dired-mark-prompt): Don't count/display the t element.
9568 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
9570 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
9572 * progmodes/verilog-mode.el (eval-when-compile): Don't define
9574 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
9575 Remove. Move contents to the only use ...
9576 (verilog-menu): ... here.
9577 (verilog-statement-menu): Remove. Move contents to the only use ...
9578 (verilog-stmt-menu): ... here.
9579 (verilog-mark-defun): Simply call mark-defun for emacs.
9580 (occur-pos-list): Declare for byte compiler.
9581 (mode-popup-menu): Don't defvar.
9582 (verilog-add-statement-menu): Remove.
9583 (verilog-mode-hook): Don't add verilog-add-statement-menu.
9584 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
9586 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
9588 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
9590 (verilog-font-grouping-keywords-face): Make the begin..end
9591 keywords standout more than other verilog keywords.
9592 (verilog-type-font-keywords): Move the begin..end out of this list
9593 to facilitate making them to (potentially) stand out more.
9594 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
9595 function & task blocks.
9596 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
9597 initial, function & task blocks.
9598 (verilog-forward-sexp): Handle the new "disable fork" statement of
9600 (verilog-beg-block-re-ordered): Handle the new "disable fork"
9601 statement of IEEE-1800 Verilog.
9602 (verilog-calc-1): Handle the new "disable fork" statement of
9604 (verilog-disable-fork-re): Add const to help handle the new
9605 "disable fork" statement of IEEE-1800 Verilog.
9606 (verilog-declaration-core-re): Add port directions by themselves,
9607 with no qualification, as base item of a declaration.
9608 (verilog-pretty-declarations): Add new flag to ask it to refrain
9609 from printing to the message buffer.
9610 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
9611 printing to the message buffer. Improve handling of the many
9612 types of expression line up.
9613 (verilog-just-one-space): Remove printing of an empty message.
9614 (verilog-get-lineup-indent): Rework to support the better handling
9615 of expression lineup for verilog-pretty-expr.
9616 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
9618 2008-02-24 Alan Mackenzie <acm@muc.de>
9620 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
9623 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
9625 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
9626 to mouse-set-point in buffers that aren't associated with files.
9628 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
9630 2008-02-24 Alan Mackenzie <acm@muc.de>
9632 Set of changes so that "obtrusive" syntactic elements in a
9633 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
9634 unmatched paren) don't interact syntactically with stuff outside
9637 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
9638 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
9640 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
9641 a bit of refactoring.
9642 (c-awk-extend-and-syntax-tablify-region): Takes some of the
9643 functionality of c-awk-advise-fl-for-awk-region, which has been
9646 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
9647 (c-clear-char-property-with-value): New function and macro which
9648 remove text-properties `equal' to a supplied value.
9650 * progmodes/cc-engine.el: Comment about text properties amended.
9652 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
9653 parens around "error\\|warning".
9655 * progmodes/cc-langs.el (c-get-state-before-change-function)
9656 (c-before-font-lock-function, c-anchored-cpp-prefix):
9657 New language variables.
9658 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
9660 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
9661 syntax-table text properties.
9662 (c-common-init): Call language specific before/after-change
9663 functions at mode initialisation.
9664 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
9665 (c-extend-region-for-CPP, c-neutralize-CPP-line)
9666 (c-neutralize-syntax-in-CPP): New functions.
9667 (c-before-change, c-after-change): Call the new language specific
9668 change functions defined in cc-langs.el.
9669 (c-advise-fl-for-region): New macro.
9670 (awk-mode): Remove AWK specific stuff which has been refactored
9671 into language independent stuff.
9673 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
9675 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
9676 (gdb): (Re)set gdb-flush-pending-output to nil here...
9677 (gdb-init-1): ...instead of here (before gdb-prompt).
9679 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
9682 Recognize ''' just like any other char-constant.
9684 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
9687 careful enough. Detect the uid-change all within the main loop.
9689 2008-02-24 Stefan Monnier <monnier@pastel.home>
9691 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
9693 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * hilit-chg.el (highlight-save-buffer-state): New macro.
9696 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
9697 (hilit-chg-clear): Use it to preserve the modified-p flag.
9698 (highlight-changes-rotate-faces): Don't mess with the undo-list.
9700 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * font-lock.el (font-lock-set-defaults): Unset previously set variables
9705 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
9707 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
9708 from gnus-button-url-regexp.
9710 2008-02-24 Eli Zaretskii <eliz@gnu.org>
9712 * progmodes/compile.el (compilation-next-error): Doc fix.
9713 (compilation-find-file): Doc fix.
9715 2008-02-24 Glenn Morris <rgm@gnu.org>
9717 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
9718 Add obsolete aliases to the old names.
9720 2008-02-24 Richard Stallman <rms@gnu.org>
9722 * net/net-utils.el (ifconfig): Rename from ipconfig.
9723 (ipconfig): Alias to ifconfig.
9724 (ifconfig-program): Rename from ipconfig-program.
9725 (ifconfig-program-options): Rename from ipconfig-program-options.
9727 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
9729 * progmodes/verilog-mode.el (verilog-declaration-core-re):
9730 Add port directions by themselves, with no qualification, as base
9731 item of a declaration.
9732 (verilog-pretty-declarations): Add new flag that inhibits printing
9733 to the message buffer.
9734 (verilog-pretty-expr): Add new flag that inhibits printing to the
9735 message buffer. Improve handling of the many types of expression
9737 (verilog-just-one-space): Don't print an empty message.
9738 (verilog-get-lineup-indent): Rework to support the better handling
9739 of expression lineup for verilog-pretty-expr.
9740 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
9741 (verilog-mode-version, verilog-mode-release-date): Update.
9743 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9745 * subr.el (cancel-change-group): Don't move point.
9747 2008-02-23 Markus Triska <markus.triska@gmx.at>
9749 * linum.el (linum-after-config): Update all visible windows.
9751 2008-02-23 Glenn Morris <rgm@gnu.org>
9753 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
9754 Add :help for Solitaire and Tetris.
9756 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
9758 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
9759 (smtpmail-code-conv-from): Doc fix. Fix custom type.
9760 (smtpmail-queue-index-file): Make it a defcustom.
9761 (smtpmail-queue-index): Delete.
9762 (smtpmail-send-it, smtpmail-send-queued-mail):
9763 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
9764 smtpmail-queue-index.
9766 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
9769 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
9771 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
9773 (iwconfig): New function.
9775 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
9777 * vc.el (vc-find-revision): Make vc-parent-buffer local before
9779 (vc-status-menu-map): Do not define using easy-menu.
9780 (vc-status-menu-map): New defalias.
9781 (vc-status-mode-map): Hook up the menu.
9782 (top-level): Update TODO.
9784 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
9786 * vc-bzr.el (vc-bzr-init-version): Rename to ...
9787 (vc-bzr-init-revision): ... this.
9789 2008-02-23 Jason Rumney <jasonr@gnu.org>
9791 * makefile.w32-in (WINS_ALMOST): Remove term.
9792 (WINS): Add term here.
9793 (custom-deps, finder-data): Use WINS_ALMOST.
9795 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
9797 * faces.el (font-weight-table): Fix value of `semi-light'.
9799 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
9802 Make those tables bijective.
9804 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
9806 Finish pdbtrack integration cleanup, settling missing-functions
9807 byte compiler warnings appropriately.
9809 * progmodes/python.el (python-point): Remove this - beginning-of-line
9810 was all that was necessary for `python-pdbtrack-overlay-arrow'.
9811 (python-end-of-def-or-class, python-beginning-of-def-or-class)
9812 (python-goto-initial-line): Drop these - they were only needed for
9814 (python-comint-output-filter-function): Use condition-case and
9815 beginning-of-line directly, instead of python-mode.el functions
9816 which require all sorts of baggage.
9817 (point-safe): Unnecessary - we're using condition-case directly,
9819 (python-execute-file): Include for python-shell, which I'm leaving
9820 in keeping despite it being unnecessary for pdb tracking.
9822 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
9824 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9825 Add SRFI 11 support.
9826 (let-values, let*-values): Specify scheme-indent-function.
9828 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
9830 * vc.el (vc-exec-after): Move setting mode-line-process in the
9832 (vc-set-mode-line-busy-indicator): ... in this new function.
9833 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
9834 (vc-update-vc-status-buffer): Reset mode-line-process.
9835 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
9836 mark/unmark all the files with the same state as the current one.
9837 With a prefix argument mark/unmark all files.
9838 (vc-status-mode-menu): Adjust strings.
9839 (vc-update-vc-status-buffer): Only do something when the argument
9841 (vc-status-kill-dir-status-process): New function.
9842 (vc-status-mode-map): Bind it.
9843 (vc-status-process-buffer): New variable.
9844 (vc-status-mode): Make it local.
9845 (vc-status-refresh): Set it.
9847 * vc-hg.el (vc-hg-dir-status):
9848 * vc-git.el (vc-git-dir-status):
9849 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
9852 2008-02-22 Glenn Morris <rgm@gnu.org>
9854 * json.el (top-level): No need to require thingatpt.
9855 (json-read-keyword): Use thing-at-point rather than word-at-point.
9857 * time.el (top-level): No need to require time-date when compiling.
9859 * emacs-lisp/copyright.el (copyright-update-year):
9860 Fix subexpression numbering for the case when years are split over
9861 lines, and for the replace case.
9863 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
9864 (tpu-caar, tpu-cadr): Delete functions.
9865 (zmacs-regions): No need to declare for compiler.
9866 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
9867 (tpu-spell-check): Rewrite, and handle mark after point.
9868 (tpu-special-insert): Use or rather than if.
9870 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
9871 rather than spell-region.
9873 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
9874 warnings about spell-region.
9876 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
9878 * ldefs-boot.el: Regenerated.
9880 * loadup.el: Don't load language/devanagari, language/kannada,
9881 language/malayalam, and language/tamil. Load language/sinhala.
9883 * language/indian.el (indian-font-foundry)
9884 (indian-script-language-alist, indian-font-char-index-table)
9885 (indian-font-char, indian-font-char-range, indian-script-table)
9886 (indian-default-script, indian-composable-pattern): Delete them.
9887 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
9888 language environments moved to here.
9889 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
9890 New language environments.
9892 * language/devanagari.el, language/devan-util.el,
9893 * language/kannada.el, language/knd-util.el, language/malayalam.el,
9894 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
9897 * language/sinhala.el: New file.
9899 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
9901 Update Nick Robert's port of pdb tracking from python-mode.el.
9903 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
9905 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
9906 tracking is happening.
9907 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
9908 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
9909 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
9910 Tracking is plugged in to all comint buffers once python.el is loaded.
9911 (python-pdbtrack-overlay-arrow): Toggle activation of
9912 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
9913 (python-pdbtrack-track-stack-file): Use new
9914 `python-pdbtrack-get-source-buffer' for more flexible access to
9915 debugging source files.
9916 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
9917 according to pdb stack trace, optionally using new
9918 `python-pdbtrack-grub-for-buffer' if file is not locally available.
9919 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
9920 named buffer, or having function with indicated name.
9921 (python-shell): Remove comint-output-filter-functions hook
9922 addition, it's being done elsewhere. Wrap long line.
9924 2008-02-21 Michael Olson <mwolson@gnu.org>
9926 * json.el: Replace XEmacs compatibility code to get rid of
9929 * time.el: Fix compiler warning.
9931 2008-02-21 Edward O'Connor <ted@oconnor.cx>
9933 * json.el: New file (JavaScript Object Notation parser / generator).
9935 2008-02-21 Dave Love <fx@gnu.org>
9937 * progmodes/sym-comp.el: New file.
9939 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
9940 Require sym-comp. Add Python buffer to same-window-buffer-names.
9942 (python-font-lock-keywords): Add highlighting for Python builtins.
9943 (python-font-lock-syntactic-keywords): Rewrite.
9944 (python-quote-syntax): Use syntax-ppss-context instead of parsing
9946 (python-mode-map): Add binding for python-find-function.
9947 (python-calculate-indentation): Clean up the logic.
9948 (python-beginning-of-defun): Explicitly set return value.
9949 (python-beginning-of-statement): Stop looping if we get stuck
9951 (python-next-statement): Stop looping if we somehow end up inside
9952 a string while advancing.
9953 (python-preoutput-continuation, python-version-checked): New vars.
9954 (python-check-version): New function.
9955 (run-python): Set default command to python-command instead of
9956 python-python-command.
9957 (run-python): Use python-check-version. Give PYTHONPATH
9958 precedence over data-directory in the process environment.
9959 Load function definitions in python process after.
9960 (python-check-comint-prompt): New function.
9961 (python-send-command, python-send-receive): Use it.
9962 (python-complete-symbol, python-try-complete): Functions deleted.
9963 Use symbol-complete instead of python-complete-symbol throughout.
9964 (python-fill-paragraph): Further refine the fenced-string regexp.
9965 (def-python-skeleton): Expand to the original abbrev instead if in
9966 a comment or string. Tweak skeletons for `if', `while', `for',
9967 `try/except', `try/finally', `name'.
9968 (python-pea-hook, python-abbrev-pc-hook): New functions.
9969 (python-abbrev-syntax-table): New var.
9970 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
9971 Use symbol-completion-try-complete for hippie expansion.
9972 Turn on font lock unconditionally.
9973 (python-mode-hook): Defcustom it. No need to use make-local
9974 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
9975 option, since it's buffer-local.
9977 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
9979 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
9981 2008-02-21 Drew Adams <drew.adams@oracle.com>
9983 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
9984 "Turn off" and a "Help" entry when the minor mode has no menu.
9986 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
9988 * vc.el (vc-status-mark, vc-status-unmark): New functions.
9989 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
9990 vc-status-mark-file and vc-status-unmark-file.
9991 (vc-status-mark-unmark): New function.
9992 (vc-status-previous-line, vc-status-next-line): No longer interactive.
9994 2008-02-21 Glenn Morris <rgm@gnu.org>
9996 * composite.el (encode-composition-rule): Fix typo in error message.
9997 (composition-function-table, auto-composition-mode): Doc fixes.
9999 * subr.el (sit-for): Fix obsolete form for nil second argument.
10001 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
10002 (spell-string): Make obsolete, in favor of ispell.
10004 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
10006 * language/devanagari.el: Don't setup composition-function-table
10008 ("Devanagari"): Change charset, coding-system, coding-priority to
10009 Unicode-based ones. Don't require the feature devan-util.
10011 * composite.el (compose-chars-after): Fix arguments for a function
10012 in composition-function-table.
10013 (auto-compose-region): Likewise.
10015 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
10017 (ps-mule-plot-string): Ignore glyph-string based compositions.
10019 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
10021 * doc-view.el: Allow different windows to show different pages.
10022 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
10023 (doc-view-current-image, doc-view-current-overlay): Remove variables,
10024 add them back as macros instead, using image-mode-winprops instead.
10025 Update all users of those variables.
10026 (doc-view-new-window-function): New function to create a new overlay
10027 for each new window.
10028 (doc-view-mode): Use it and image-mode-setup-winprops.
10029 (doc-view-clone-buffer-hook): Rewrite accordingly.
10031 * image-mode.el: Extend [hv]scroll support to per-window properties.
10032 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
10033 (image-mode-winprops-alist): New var to replace them.
10034 (image-mode-new-window-functions): New hook.
10035 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
10037 (image-set-window-vscroll, image-set-window-hscroll): Use them.
10038 Remove the `window' argument, update callers.
10039 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
10040 Use the new functions.
10041 (image-mode-reapply-winprops): New fun.
10042 (image-mode): Use it.
10044 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
10046 * calc/calc-math.el (math-sin-raw): Add optional argument
10047 to keep track of original argument.
10048 (math-cos-raw): Use optional argument when calling math-sin-raw.
10049 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
10050 with close to original precision.
10052 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10054 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
10055 args in calls of sit-for.
10057 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
10059 * vc-svn.el (vc-svn-program): Fix typo in docstring.
10060 (vc-svn-checkin): Fix typo in error message.
10062 * help-mode.el: Require easymenu when compiling.
10064 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
10066 * help-mode.el (help-mode-menu): New menu.
10068 2008-02-20 Glenn Morris <rgm@gnu.org>
10070 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
10073 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
10075 * ps-mule.el (ps-mule-encode-region): Return a single string.
10076 (ps-mule-plot-string): Adjust for the above change.
10077 (ps-mule-encode-header-string): Likewise.
10079 * international/latin1-disp.el (latin1-display): Don't use
10080 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
10081 standard-display-table.
10082 (latin1-display-identities): Adjust for the change of what is
10083 returned by (get-language-info charset 'charset).
10085 * international/mule-util.el (char-displayable-p): Fix for Latin-1
10086 characters and terminal case.
10088 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
10090 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
10092 * progmodes/python.el: Also require comint when loading.
10093 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
10094 Replace python-shell with run-python on menu bar.
10095 (python-shell-map): New map.
10096 (python-default-interpreter, python-python-command-args)
10097 (python-jython-command-args, python-pdbtrack-do-tracking-p):
10099 (python-which-shell, python-which-args, python-which-bufname):
10100 New buffer local variables.
10101 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
10103 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
10104 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
10109 (python-point, python-end-of-def-or-class)
10110 (python-beginning-of-def-or-class, python-goto-initial-line)
10111 (python-comint-output-filter-function)
10112 (python-pdbtrack-overlay-arrow)
10113 (python-pdbtrack-track-stack-file, python-toggle-shells)
10114 (python-shell, python-pdbtrack-toggle-stack-tracking)
10115 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
10118 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
10120 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
10121 when the argument is nil.
10123 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10125 * vc.el (dir-status): Add a brief description.
10127 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
10129 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
10130 If non-nil, reverse the sense of the check.
10132 * vc-rcs.el (vc-rcs-root): New func.
10133 * vc-cvs.el (vc-cvs-root): New func.
10134 * vc-svn.el (vc-svn-root): New func.
10135 * vc-sccs.el (vc-sccs-root): New func.
10137 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
10139 * language/japan-util.el (setup-japanese-environment-internal):
10140 Call use-cjk-char-width-table.
10142 * language/japanese.el ("Japanese"): Set exit-function to
10143 use-default-char-width-table.
10145 * international/characters.el: Delete occurrences of non-Unicode
10146 tibetan and ethiopic characters.
10147 (cjk-char-width-table): New variable.
10148 (use-cjk-char-width-table, use-default-char-width-table):
10151 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10153 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
10154 (vc-status-mode-menu): Add a :filter.
10155 (vc-status-printer): Add faces.
10157 * vc-hg.el (vc-hg-extra-status-menu): New function.
10158 (vc-hg-dir-status): Clean up the buffer before using it.
10160 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
10163 (gdb): Initialize it here instead.
10165 * files.el (locate-dominating-file): Fix thinko in last change.
10166 Reported by Bruce Stephens <bruce.stephens@isode.com>.
10168 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
10170 * vc.el (vc-status-mode-menu): New menu for vc-status.
10172 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
10174 * progmodes/verilog-mode.el (customize): Fix typo in error message.
10175 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
10176 (verilog-mode-auto, verilog-indent-level-module)
10177 (verilog-minimum-comment-distance, verilog-library-flags)
10178 (verilog-library-directories, verilog-library-files)
10179 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
10180 (verilog-xemacs-menu, verilog-set-compile-command)
10181 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
10182 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
10183 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
10184 (verilog-batch-inject-auto, verilog-batch-indent)
10185 (verilog-continued-line, verilog-type-keywords)
10186 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
10187 (verilog-read-inst-pins, verilog-read-arg-pins)
10188 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
10189 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
10190 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
10191 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
10192 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
10193 (verilog-mode-version, verilog-mode-release-date)
10194 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
10195 (verilog-simulator, verilog-compiler)
10196 (verilog-auto-sense-defines-constant, verilog-company)
10197 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
10198 Fix typos in docstrings.
10199 (verilog-set-auto-endcomments, verilog-calculate-indent)
10200 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
10202 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
10203 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
10204 (electric-verilog-forward-sexp, verilog-in-case-region-p)
10205 (verilog-in-struct-region-p, verilog-in-generate-region-p)
10206 (verilog-leap-to-head, verilog-current-indent-level)
10207 (verilog-case-indent-level, verilog-cpp-keywords)
10208 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
10209 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
10210 (verilog-signals-not-in, verilog-symbol-detick-text)
10211 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
10212 (verilog-forward-close-paren, verilog-backward-open-paren)
10213 (verilog-backward-open-bracket): Doc fixes.
10215 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
10216 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
10217 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
10218 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
10219 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
10220 Fix typos in docstrings.
10222 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
10224 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
10226 * info.el (Info-read-node-name): Removed unused `default' arg.
10228 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
10230 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
10232 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10234 * image-mode.el (image-get-display-property): New fun.
10235 (image-forward-hscroll, image-next-line, image-eol, image-eob)
10236 (image-mode, image-minor-mode, image-toggle-display-text)
10237 (image-toggle-display): Use it.
10239 2008-02-18 Jason Rumney <jasonr@gnu.org>
10241 * international/mule.el (xml-find-file-coding-system): Don't warn
10242 about utf-16 with BOM.
10244 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
10246 * international/mule.el (sgml-xml-auto-coding-function): Detect and
10247 warn if file encoding is not utf-8 and encoding not specified.
10248 (xml-find-file-coding-system): New function.
10249 * international/mule-conf.el (file-coding-system-alist): Use it.
10251 2008-02-17 Glenn Morris <rgm@gnu.org>
10253 * international/mule-cmds.el (set-locale-environment):
10254 Pass `frame' to getenv for LC_MESSAGES.
10256 2008-02-17 Juri Linkov <juri@jurta.org>
10258 * time.el (emacs-init-time): Use format instead of format-seconds.
10260 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10262 * textmodes/bibtex.el (bibtex-search-entry): Rename from
10263 bibtex-find-entry. Add autoload cookie.
10264 (bibtex-find-entry): Alias for bibtex-search-entry.
10265 (bibtex-search-crossref): Rename from bibtex-find-crossref.
10266 (bibtex-find-crossref): Alias for bibtex-search-crossref.
10267 (bibtex-clean-entry): atomic-change-group removed.
10268 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
10269 to locate buffer location where error occurred.
10270 Make error messages more specific.
10271 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
10273 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
10275 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
10278 * simple.el (transient-mark-mode): Add an :init-value.
10280 * startup.el (command-line): Use custom-reevaluate-setting for
10281 transient-mark-mode.
10283 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
10285 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
10287 2008-02-16 Juri Linkov <juri@jurta.org>
10289 * startup.el (after-init-time): New variable.
10290 (command-line): Set `after-init-time' to the current time.
10292 * time.el (emacs-init-time): New function.
10294 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
10296 * files.el (locate-dominating-file): Remove initial loop because it's
10297 not careful enough. Detect the uid-change all within the main loop.
10299 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
10301 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
10303 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10305 * vc.el (vc-annotate): Add new argument.
10306 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
10308 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
10309 Move make-variable-buffer-local code after the corresponding defvar.
10310 (hs-minor-mode-map): Define and initialize in one step.
10311 (hs-minor-mode): Change from defun to define-minor-mode.
10313 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
10315 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
10316 (gdb-ready): Move declaration...
10318 * progmodes/gdb-ui.el (gdb-ready): ...to here.
10319 (gdb-early-user-input): New variable.
10320 (gdb): Reset gdb-flush-pending-output to nil and set
10321 comint-input-sender here (before gdb-prompt), instead of...
10322 (gdb-init-1): ...here.
10323 (gdb-send): If Emacs is not ready, defer user input to...
10324 (gdb-prompt): ...here.
10326 2008-02-16 Glenn Morris <rgm@gnu.org>
10328 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
10330 * startup.el (emacs-startup-time): Rename to `before-init-time'.
10331 (before-init-time): New name for `emacs-startup-time'.
10332 (command-line): Use before-init-time rather than emacs-startup-time.
10333 * time.el (emacs-uptime): Use before-init-time rather than
10334 emacs-startup-time.
10336 * composite.el (composition-function-table): Doc fix.
10338 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
10339 in favor of `%z' specifier.
10340 (emacs-uptime): Move to time.el.
10341 * time.el (emacs-uptime): Move here from time-date.el. Add optional
10342 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
10343 argument of format-seconds.
10345 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10347 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
10349 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
10351 * ielm.el (ielm-is-whitespace): Remove.
10352 (ielm-is-whitespace-or-comment): New function.
10353 (ielm-eval-input): Use it.
10355 2008-02-15 Jason Rumney <jasonr@gnu.org>
10357 * term/mac-win.el: Fix coding tag.
10359 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
10361 * vc-hooks.el (vc-menu-map):
10362 * bindings.el (mode-line-mode-menu): Add tooltips.
10364 * bindings.el (help-echo): Add more tooltips. Use a less
10365 telegraphic style for existing tooltips.
10367 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
10370 from the auto-generated one.
10372 2008-02-14 Glenn Morris <rgm@gnu.org>
10374 * mail/rmail-spam-filter.el (rmail-spam-filter):
10375 Let-bind message-spam-status.
10377 * mail/smtpmail.el (password-cache-add): Declare as function.
10379 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
10381 * mail/smtpmail.el: Use password-cache.
10383 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
10385 * uniquify.el (uniquify-buffer-base-name): New function.
10386 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10388 * desktop.el (uniquify-managed): Don't defvar.
10389 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
10390 `uniquify-managed'. Return also the buffer's base name.
10391 (desktop-save): When saving the buffer info, filter out the base name,
10392 and save it as buffer name if the buffer is managed by uniquify.
10393 (uniquify-item-base): Don't declare; not called anymore.
10395 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
10397 * vc.el (vc-annotate-find-revision-at-line): New function.
10398 (vc-annotate-mode-map): Bind it.
10399 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
10402 2008-02-14 Glenn Morris <rgm@gnu.org>
10404 * calendar/time-date.el (format-seconds): New function.
10405 (emacs-uptime): Use format-seconds.
10407 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
10408 Remove `LC_ALL=C', since it's included in $(emacs) now.
10410 2008-02-14 Zhang Wei <id.brep@gmail.com>
10412 * textmodes/org-publish.el (org-publish-timestamp-filename):
10413 Replace colon characters in filename too.
10415 2008-02-13 Bastien Guerry <bzg@altern.org>
10417 * mail/rmail.el (rmail-header-name): New face.
10418 (rmail-font-lock-keywords): Use rmail-header-name.
10420 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
10421 against X-Spam-Status header field.
10422 (rmail-spam-filter): Also check X-Spam-Status header field.
10424 2008-02-14 Mark A. Hershberger <mah@everybody.org>
10426 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10427 Add support for .pm files and .php files.
10428 (flymake-err-line-patterns): Add pattern for PHP errors.
10429 (flymake-php-init): New function. PHP support for flymake.
10431 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10432 Add regular expression for PHP errors.
10434 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
10436 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
10437 This DTRT even on w32 machines.
10438 (ange-ftp-cf1): Quote FILENAME.
10440 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
10443 (smerge-auto-combine): New fun.
10445 2008-02-12 Juri Linkov <juri@jurta.org>
10447 * startup.el (fancy-startup-screen, normal-splash-screen):
10448 Set default-directory to command-line-default-directory.
10450 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
10451 after reading the desktop.
10453 * progmodes/compile.el (compilation-auto-jump):
10454 Call compile-goto-error only when compilation-auto-jump-to-first-error
10456 (compilation-scroll-output): Replace :type 'boolean with a choice
10457 that has three options including a third option `first-error'.
10459 (compilation-start, compilation-forget-errors): Add an alternate
10460 condition comparing compilation-scroll-output with `first-error'
10461 in addition to compilation-auto-jump-to-first-error (to call
10462 compilation-auto-jump in the proper place).
10464 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * international/mule.el (sgml-html-meta-auto-coding-function):
10467 Make sure the search limit is ahead.
10469 * tar-mode.el: Fix broken indentation.
10470 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
10471 Use with-current-buffer.
10473 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
10475 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
10476 it is already automatically buffer-local.
10478 2008-02-11 Drew Adams <drew.adams@oracle.com>
10480 * help.el (describe-key): Join some split lines to facilitate filling.
10481 * help-fns.el (describe-function-1): Fill text of overlong lines.
10483 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
10485 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
10486 Use unibyte-string instead of string-make-unibyte.
10488 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
10490 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
10493 works also for buffers w/o buffer-file-name. Update callers.
10494 (doc-view-clone-buffer-hook): New fun.
10495 (doc-view-mode): Use it for indirect clones. Mark the overlays with
10496 the `doc-view' property so they can be recognized.
10498 * simple.el (clone-indirect-buffer-hook): New hook.
10499 (clone-indirect-buffer): Run it.
10501 2008-02-11 Daiki Ueno <ueno@unixuser.org>
10503 * epa.el (epa-menu-mode): Merge into epa-mode.
10504 (epa-menu-items): Rename the label "EasyPG Assistant" to
10505 "Encryption/Decryption".
10507 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
10508 (epa-dired-mode-map): Rename from epa-dired-map.
10509 (epa-global-dired-mode): Rename the global minor mode.
10511 2008-02-11 Drew Adams <drew.adams@oracle.com>
10513 * isearch.el (isearch-fail): New face.
10514 (isearch-message): Highlight failure part of input.
10516 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * ibuffer.el (ibuffer-header-line-format): New var.
10519 (ibuffer-mode): Set it instead of header-line-format.
10520 (ibuffer-update): Use it to set header-line-format.
10522 * international/mule-cmds.el (ucs-insert): Inherit surrounding
10523 properties like self-insert-command.
10525 2008-02-11 Drew Adams <drew.adams@oracle.com>
10527 * progmodes/etags.el: Add many doc strings.
10529 2008-02-11 Jason Rumney <jasonr@gnu.org>
10531 * ldefs-boot.el: Regenerated.
10533 2008-02-11 Glenn Morris <rgm@gnu.org>
10535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10536 Shorten some names.
10538 * ffap.el (ffap-rfc-directories): Add :version.
10540 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
10542 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
10543 files, and backup files of same.
10545 2008-02-11 Kevin Ryde <user42@zip.com.au>
10547 * ffap.el (ffap-rfc-directories): New variable.
10548 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
10550 * info.el (Info-next-reference, Info-prev-reference)
10551 (Info-try-follow-nearest-node): Move to and follow https:// links too.
10553 * simple.el (completion-list-mode): Show full completion-list-mode-map
10556 2008-02-11 Sam Steingold <sds@gnu.org>
10558 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
10560 2008-02-11 Glenn Morris <rgm@gnu.org>
10562 * startup.el (emacs-startup-time): New variable.
10563 (command-line): Set emacs-startup-time.
10565 * calendar/time-date.el (emacs-uptime): New function.
10567 2008-02-10 Bastien Guerry <bzg@altern.org>
10569 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
10570 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
10573 2008-02-10 Daiki Ueno <ueno@unixuser.org>
10575 * epg-config.el: Expand the contents of epg-package-info.el.
10576 (epg-package-name): New constant.
10577 (epg-version-number): New constant.
10578 (epg-bug-report-address): New constant.
10580 * epa-mail.el (epa-mail-mode): Add autoload cookie.
10581 (epa-global-mail-mode): New global minor mode.
10583 * epa-file.el (epa-file-mode): New global minor mode.
10585 * epa-dired.el (epa-dired-mode): New global minor mode.
10587 * epa.el (epa-menu): New variable.
10588 (epa-menu-items): New variable.
10589 (epa-menu-mode): New global minor mode.
10590 (epa-global-minor-modes): New user option.
10591 (epa-mode): New global minor mode.
10593 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
10595 * net/dbus.el: Remove `no-byte-compile' cookie.
10596 (dbus-call-method, dbus-register-signal, dbus-debug)
10597 (dbus-registered-functions-table): Declare them with
10598 `declare-function' or `defvar', respectively.
10599 (top): Don't assert any longer. Require 'cl when compiling.
10600 Apply `ignore-errors' but `dbus-ignore-errors'.
10602 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10604 * diff-mode.el (diff-add-change-log-entries-other-window):
10605 Use add-change-log-entry.
10607 2008-02-09 Jason Rumney <jasonr@gnu.org>
10609 * button.el (button-map):
10610 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
10611 * ldefs-boot.el: Regenerate.
10613 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
10615 * epa.el (epa-faces, epa):
10616 * epa-file.el (epa-file):
10617 * epg-config.el (epg): Add :version.
10619 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
10621 * vc.el (vc-exec-after): Append CODE to previous fragments.
10622 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
10623 take MESSAGES instead of VERBOSE; use it when non-nil.
10624 (vc-diff-internal): Compute messages once; use them;
10625 update call to vc-diff-finish.
10627 2008-02-09 Michael Olson <mwolson@gnu.org>
10629 * net/tramp.el (tramp-process-sentinel): Avoid error when process
10630 buffer has been killed, such as by
10631 `tramp-cleanup-all-connections'.
10633 2008-02-09 Miles Bader <miles@gnu.org>
10635 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
10637 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
10640 splitter in context hunks.
10642 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
10644 * international/fontset.el (setup-default-fontset): Fix arabic otf
10645 font specification.
10647 2008-02-08 Daiki Ueno <ueno@unixuser.org>
10655 * epg-package-info.el:
10656 * epg.el: Initial check-in of EasyPG.
10658 2008-02-08 Glenn Morris <rgm@gnu.org>
10660 * woman.el (woman-locale): New defcustom.
10661 (woman-expand-locale, woman-manpath-add-locales): New functions.
10662 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
10664 * international/mule-cmds.el (locale-translate): New function,
10665 with old code extracted from set-locale-environment.
10666 (set-locale-environment): Use locale-translate. Set woman-locale.
10668 * cus-start.el (selection-coding-system): Remove, since it's now
10669 defined in select.el rather than in xselect.c.
10670 * select.el (selection-coding-system): Make it a defcustom, and
10671 add the properties from cus-start.el. Bump :version.
10673 * custom.el (custom-theme-set-variables): Sort symbols that are
10674 dependencies before symbols that depend on them.
10675 (custom-enabled-themes): Set after custom-theme-directory.
10677 * pcmpl-unix.el (top-level): Move provide statement to end.
10678 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
10679 `*' from doc-string. Allow to be nil.
10680 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
10681 Allow to be nil. Add :version.
10682 (pcmpl-ssh-hosts): Move definition before use. Handle lines
10683 without hostnames, and multiple hostnames per line.
10685 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
10687 2008-02-08 Phil Hagelberg <phil@evri.com>
10689 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
10690 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
10692 2008-02-07 Timo Savola <timo.savola@iki.fi>
10694 * startup.el (command-line-x-option-alist): Add --parent-id.
10696 * term/x-win.el (x-handle-parent-id): New function.
10698 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
10700 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
10703 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
10705 * net/dbus.el (dbus-interface-peer): New defconst.
10706 (dbus-ping): New defun.
10708 2008-02-06 Sam Steingold <sds@gnu.org>
10710 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
10712 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
10715 Just return nil and let the C code provide a fallback.
10717 2008-02-05 Glenn Morris <rgm@gnu.org>
10719 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
10720 tramp-flush-connection-property for removed 2nd argument.
10722 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * diff-mode.el (diff-add-change-log-entries-other-window):
10725 Rename from diff-create-changelog. Change users.
10726 Minor change to hopefully work with plain diffs.
10727 (diff-mode-map): Add binding for it.
10729 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
10731 * diff-mode.el: Add new TODO entry.
10732 (diff-create-changelog): New function.
10733 (diff-mode-menu): Bind it.
10735 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
10737 * international/mule-diag.el (print-fontset-element): Handle the
10738 case of inhibiting the fallback fonts.
10740 2008-02-04 Kim F. Storm <storm@cua.dk>
10742 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
10743 (ido-magic-delete-char): Use prefix arg.
10745 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
10747 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
10748 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
10749 of today, the most recent libpng is 1.2.24).
10751 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
10753 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
10755 * net/dbus.el (top): Check (featurep 'dbusbind).
10757 * net/tramp.el (tramp-process-sentinel): New defun.
10758 (tramp-do-copy-or-rename-file-out-of-band)
10759 (tramp-maybe-open-connection): Use it as process sentinel.
10760 (tramp-handle-delete-directory): Don't use the "-f" option; it
10762 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
10764 (tramp-handle-shell-command): Set `mode-line-process' in the
10767 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
10769 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
10770 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10771 Use `tramp-process-sentinel' as process sentinel.
10773 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
10775 * whitespace.el (global-whitespace-mode): Revert last change.
10776 (whitespace-unload-function): Force `global-whitespace-mode'
10777 to deactivate local modes in a slightly less intrusive way.
10779 2008-02-02 Eli Zaretskii <eliz@gnu.org>
10781 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
10783 2008-02-02 Glenn Morris <rgm@gnu.org>
10785 * international/latin1-disp.el (latin1-display):
10786 * progmodes/fortran.el (fortran-comment-indent-char):
10787 * progmodes/idlw-shell.el (top-level):
10788 * term/mac-win.el (mac-keyboard-translate-char):
10789 * whitespace.el (whitespace-char-valid-p):
10790 * wid-edit.el (widget-key-sequence-read-event):
10791 Use characterp rather than char-valid-p.
10793 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
10794 to capitalized-find-word-boundary. Doc fix. Update callers.
10795 (capitalized-next-word-boundary-function-table): Rename to
10796 capitalized-find-word-boundary-function-table. Doc fix. Update users.
10798 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
10801 * ps-def.el (declare-function): Add compatibility definition.
10802 (ps-plot-with-face, ps-plot-string): Declare as functions.
10803 (ps-bold-faces, ps-italic-faces): Declare variables.
10805 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
10806 (ps-mule-end-job): Declare as functions.
10808 * wid-edit.el (widget-string-complete): Use assoc-string rather
10809 than assoc-ignore-case.
10811 See ChangeLog.13 for earlier changes.
10813 ;; Local Variables:
10815 ;; add-log-time-zone-rule: t
10816 ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
10819 Copyright (C) 2008 Free Software Foundation, Inc.
10821 This file is part of GNU Emacs.
10823 GNU Emacs is free software: you can redistribute it and/or modify
10824 it under the terms of the GNU General Public License as published by
10825 the Free Software Foundation, either version 3 of the License, or
10826 (at your option) any later version.
10828 GNU Emacs is distributed in the hope that it will be useful,
10829 but WITHOUT ANY WARRANTY; without even the implied warranty of
10830 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10831 GNU General Public License for more details.
10833 You should have received a copy of the GNU General Public License
10834 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
10836 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc