1 2008-06-28 Dan Nicolaescu <dann@ics.uci.edu>
3 * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
4 (vc-string-prefix-p): Move function ...
5 * vc.el (vc-string-prefix-p): ... here.
7 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
9 * vc-dir.el (vc-dir): Complete only directory names.
11 2008-06-27 Jason Rumney <jasonr@gnu.org>
13 * w32-fns.el (top-level): Unconditionally define all charsets.
15 2008-06-27 Alan Mackenzie <acm@muc.de>
17 * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to
18 the CC Mode specific functions; this is no longer needed, since
19 {beginning,end}-of-defun now pass ARG to ...-of-defun-function.
21 * progmodes/cc-defs.el (c-emacs-features): New feature
22 'argumentative-bod-function.
24 2008-06-27 John Paul Wallington <jpw@pobox.com>
26 * chistory.el (list-command-history): Use `bound-and-true-p'.
27 (command-history-map): Define within defvar. Add docstring.
29 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
31 * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
32 to unibyte; just assume it is not a JPEG. Use `string-match-p'.
33 (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
34 (image-type-from-buffer): Use `looking-at-p'.
36 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
38 * ibuf-ext.el (diff-sentinel): Declare.
40 2008-06-27 Glenn Morris <rgm@gnu.org>
42 * calendar/lunar.el (calendar-lunar-phases): Rename from
43 calendar-phases-of-moon. Keep old name as alias, update callers.
44 (lunar-phases): Rename from phases-of-moon. Keep old name as alias.
45 (diary-lunar-phases): Rename from diary-phases-of-moon.
46 Keep old name as alias.
47 * calendar/cal-menu.el (cal-menu-sunmoon-menu)
48 (cal-menu-global-mouse-menu): Update for lunar name changes.
49 * calendar/calendar.el (calendar-mode-map): Update for name change.
50 * calendar/diary-lib.el (diary-list-sexp-entries): Doc update.
52 2008-06-26 Glenn Morris <rgm@gnu.org>
54 * calendar/solar.el (solar-sunrise-sunset-string): Add optional
55 argument `nolocation'.
56 (calendar-sunrise-sunset-month): New function.
57 * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from
58 cal-menu-moon-menu. Add calendar-sunrise-sunset-month.
59 (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month.
60 * calendar/calendar.el (solar-sunrises-buffer): New constant.
61 (calendar-mode-map): Use cal-menu-sunmoon-menu.
62 (calendar-buffer-list): Add solar-sunrises-buffer.
64 * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name.
66 2008-06-26 Chong Yidong <cyd@stupidchicken.com>
68 * cus-start.el: Add customization types for word-wrap and
71 2008-06-26 John Paul Wallington <jpw@pobox.com>
73 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function.
74 (ibuffer-diff-with-file): Use it. Do diff on marked buffers.
75 (ibuffer-mark-on-buffer): Don't display message when removing marks.
76 (ibuffer-mark-by-mode): Use `buffer-local-value'.
78 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
80 * vc-dir.el (tool-bar): Require.
82 * vc.el (ewoc, tool-bar): Do not require.
84 2008-06-26 Kenichi Handa <handa@m17n.org>
86 * composite.el (terminal-composition-base-character-p): New function.
87 (terminal-composition-function):
88 Use terminal-composition-base-character-p. Include the base character
90 (auto-compose-chars): Don't check font-object for terminal display.
92 2008-06-26 Glenn Morris <rgm@gnu.org>
94 * doc-view.el (bookmark-make-record-default):
95 * image-mode.el (bookmark-make-record-default): Fix declaration.
97 * calendar/calendar.el (calendar-date-echo-text): Doc fix.
98 Add default :value for sexp type.
99 (calendar-month-edges): New variable.
100 (calendar-month-edges): New function.
101 (calendar-recompute-layout-variables): Set calendar-month-edges.
102 (calendar-intermonth-header, calendar-intermonth-text): New options.
103 (calendar-insert-at-column): New function.
104 (calendar-generate-month): Use calendar-insert-at-column.
105 Handle intermonth text. Add 'date property.
106 (calendar-column-to-month): Remove function.
107 (calendar-column-to-segment): New function.
108 (calendar-cursor-to-date): Use calendar-column-to-segment.
109 Check 'date property.
111 * calendar/calendar.el (calendar-print-other-dates):
113 * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
114 (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
116 * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events.
117 * calendar/cal-menu.el (calendar-mouse-holidays): Remove function.
118 (cal-menu-context-mouse-menu): Use calendar-cursor-holidays.
120 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
121 Use calendar-column-to-segment, calendar-month-edges, and
122 the 'date property to handle intermonth text.
124 * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
126 * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
127 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
129 (cal-menu-context-mouse-menu): Add some :keys.
130 (calendar-check-holidays): Declare rather than autoloading.
131 (diary-show-holidays-flag): Remove unneeded declaration.
133 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
134 * calendar/calendar.el (calendar-cursor-to-date): Handle case where
137 2008-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
139 * minibuffer.el (completion-basic-try-completion): Use the text after
140 point to constrain the completion candidates.
141 (completion-basic-all-completions): Adjust accordingly.
143 2008-06-25 Chong Yidong <cyd@stupidchicken.com>
145 * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of
148 * faces.el (set-face-attribute): Doc fix.
150 2008-06-25 Juri Linkov <juri@jurta.org>
152 * bindings.el (goto-map): New variable. Rebind goto-related
153 commands to this `M-g' prefix keymap.
154 (search-map): New variable for `M-s' prefix keymap.
155 Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to
156 `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp',
157 `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns',
158 `M-shw' to `hi-lock-write-interactive-patterns'.
160 * isearch.el (isearch-mode-map): Bind `M-s h r' to
161 `isearch-highlight-regexp'.
162 (isearch-highlight-regexp): New function.
164 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
166 * info.el (Info-bookmark-make-record):
167 Use bookmark-make-record-default.
168 (Info-bookmark-jump): Use bookmark-default-handler.
170 * image-mode.el (image-bookmark-make-record):
171 Use bookmark-make-record-default.
172 (image-bookmark-jump): Use bookmark-default-handler.
174 * doc-view.el (doc-view-bookmark-make-record):
175 Use bookmark-make-record-default.
176 (doc-view-bookmark-jump): Use bookmark-default-handler.
178 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats
179 used until now in bookmark.el's code.
180 (bookmark-get-bookmark): Accept bookmark names or bookmark records.
181 (bookmark-get-bookmark-record): Allow the 2 slightly different formats
182 used until now in bookmark.el's code.
183 (bookmark-set-filename): Remove special code, moved to its only caller.
184 (bookmark-store): Use the newer format.
185 (bookmark-make-record-default): Add arg `point-only'.
186 Rename from bookmark-make-record-for-text-file.
187 (bookmark--jump-via): New function.
188 (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
189 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
191 (bookmark-jump-noselect, bookmark-default-handler):
192 Don't return an alist, instead return the data implicitly by changing
193 current buffer and point. Signal an error if the file doesn't exist.
195 * buff-menu.el: Use with-current-buffer and inhibit-read-only.
196 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
198 * bs.el: Use with-current-buffer. Simplify.
199 (bs-toggle-readonly): Avoid vc-toggle-read-only.
201 * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command
202 is bound before using it.
204 2008-06-25 Kenichi Handa <handa@m17n.org>
206 * image.el (image-jpeg-p): Convert DATA to unibyte at first.
208 2008-06-25 Dan Nicolaescu <dann@ics.uci.edu>
211 * vc-git.el: Require vc-dir when compiling.
213 * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
214 vc-dir-marked-only-files. Change the return value.
215 (vc-dir-child-files-and-states): Rename from vc-dir-child-files.
216 Change the return value.
217 (vc-dir-deduce-fileset): New function broken out from ...
218 * vc.el (vc-deduce-fileset): ... here and ...
219 (vc-deduce-fileset): ... here.
221 * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler.
222 (vc-svn-parse-status): Do not set the vc-backend property.
224 2008-06-25 Andreas Schwab <schwab@suse.de>
226 * faces.el (face-font-family-alternatives, variable-pitch):
227 Use "Sans Serif", not "Sans-Serif".
229 2008-06-24 Chong Yidong <cyd@stupidchicken.com>
231 * faces.el (face-font-family-alternatives, variable-pitch):
232 Change "Sans" to the canonical name "Sans-Serif".
234 2008-06-24 Jay Belanger <jay.p.belanger@gmail.com>
236 * calc/calc.el (calc-mode-map): Add extra keybindings to
238 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
241 2008-06-24 Miles Bader <miles@gnu.org>
243 * mouse.el (mouse-appearance-menu): Don't do anything if the user
244 pops up the menu but doesn't select anything.
246 2008-06-24 Dan Nicolaescu <dann@ics.uci.edu>
248 * add-log.el (add-change-log-entry): Add new arg to force each new
249 entry to be on a new line.
250 * diff-mode.el (diff-add-change-log-entries-other-window): Use it.
252 * vc-dir.el (vc-client-object): Remove.
253 (vc-dir-prepare-status-buffer): Take a backend as an argument and
254 use it when looking for a buffer.
255 (vc-dir): Add a backend argument. Set revert-buffer-function.
256 Don't create a client object. Move bindings ...
257 (vc-dir-menu-map, vc-dir-mode-map): ... here.
258 (vc-dir-revert-buffer-function): New function.
259 (vc-generic-status-printer): Rename to ...
260 (vc-dir-status-printer): ... this.
261 (vc-generic-state, vc-generic-status-fileinfo-extra)
262 (vc-dir-extra-menu, vc-make-backend-object): Remove.
263 (vc-default-status-printer): Use a different face for
264 directories. Don't display any text for directories in the state
265 column. Add tooltips.
267 * vc.el (Todo): Update.
269 * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
270 * vc-rcs.el (vc-annotate-convert-time):
271 * vc-mtn.el (vc-annotate-convert-time):
272 * vc-git.el (vc-annotate-convert-time):
273 * vc-cvs.el (vc-annotate-convert-time):
274 * vc-bzr.el (vc-annotate-convert-time): Declare as functions.
276 2008-06-23 Dan Nicolaescu <dann@ics.uci.edu>
278 * vc-annotate.el (vc-annotate-mode): Derive from special-mode
279 instead of using view-mode.
281 2008-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
283 * Makefile.in (distclean): Don't delete *.elc and autogen files.
285 2008-06-22 Dan Nicolaescu <dann@ics.uci.edu>
289 * vc-dispatcher.el: Move vc-dir variables and functions ...
290 * vc-dir.el: ... here. New file.
291 * Makefile.in (ELCFILES): Add vc-dir.elc.
293 * vc.el: Move vc-annotate variables and functions ...
294 * vc-annotate.el: ... here. New file.
295 * Makefile.in (ELCFILES): Add vc-annotate.elc.
297 * vc-dav.el: Move here from url/vc-dav.el.
298 (Todo): Note work needed to make this backend functional.
300 * Makefile.in (ELCFILES): Update vc-dav.el location.
302 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
304 * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
306 2008-06-21 John Paul Wallington <jpw@pobox.com>
308 * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl.
310 * textmodes/rst.el (rst-mode): Put docstring in right place.
312 2008-06-21 Chong Yidong <cyd@stupidchicken.com>
314 * startup.el (fancy-about-text, fancy-startup-tail): Increase text
317 * faces.el (fixed-pitch): Use "Monospace" family.
318 (variable-pitch): Use "Sans" family.
319 (face-font-family-alternatives): Define alternatives for "Sans"
322 2008-06-21 Glenn Morris <rgm@gnu.org>
324 * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el:
325 Require 'cl when compiling.
327 * emacs-lisp/debug.el (help-xref-interned): Declare.
329 * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents):
330 Evaluate definition when compiling.
332 * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1
334 (bug-reference-url-format): Autoload safe if string.
335 (bug-reference-bug-regexp): Make space after "bug" optional.
337 * Makefile.in (all): Explicitly pass EMACS to sub-make,
338 for some non-GNU makes.
340 * cus-dep.el (custom-dependencies-no-scan-regexp):
341 * finder.el (finder-no-scan-regexp): Add ldefs-boot.el
343 * calendar/cal-move.el (calendar-forward-day): Scroll in one month
346 * calendar/calendar.el: Factor out the magic numbers controlling the
348 (calendar-month-digit-width, calendar-month-width)
349 (calendar-right-margin): New variables.
350 (calendar-recompute-layout-variables, calendar-set-layout-variable):
352 (calendar-left-margin, calendar-intermonth-spacing)
353 (calendar-column-width, calendar-day-header-width)
354 (calendar-day-digit-width): New options.
355 (calendar-first-date-row): New constant.
356 (calendar-move-to-column, calendar-ensure-newline): New functions,
357 replacing calendar-insert-indented.
358 (calendar-insert-indented): Remove function.
359 (calendar-generate-month): Use calendar-move-to-column and
360 calendar-ensure-newline. Use layout variables.
361 (calendar-generate, calendar-update-mode-line)
362 (calendar-font-lock-keywords): Use layout variables.
363 (calendar-column-to-month): New function.
364 (calendar-cursor-to-date): Use calendar-column-to-month.
365 Use layout variables.
366 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
367 Use layout variables. Use calendar-column-to-month.
368 (calendar-cursor-to-visible-date): Use layout variables.
370 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
372 * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
373 (all): Run compile-last.
374 (compile-onefile): New target.
375 (compile-first): Simplify.
376 (compile-last): Don't treat COMPILE_FIRST specially.
377 (COMPILE_FIRST): List the elc files rather than the el files.
380 2008-06-21 Ulf Jasper <ulf@web.de>
382 * net/newst-treeview.el: Remove dead code.
383 (newsticker--window-config): Remove.
384 (newsticker-treeview-quit): Do not save window config.
385 (newsticker-treeview): Do not try to restore window config.
386 (newsticker-groups, newsticker--treeview-list-sort-by-column)
387 (newsticker--treeview-list-new-items)
388 (newsticker--treeview-list-immortal-items)
389 (newsticker--treeview-list-obsolete-items)
390 (newsticker--treeview-list-all-items)
391 (newsticker--treeview-list-feed-items): Fix documentation.
393 2008-06-21 Miles Bader <miles@gnu.org>
395 * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil.
397 2008-06-21 Alan Mackenzie <acm@muc.de>
399 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an
400 infinite loop on invalid syntax.
402 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
404 * textmodes/rst.el: Run rst-define-level-faces when loading.
405 (rst-mode): Don't set the font-lock-multiline var.
406 (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment):
407 Set the font-lock-multiline property by hand.
409 * loadup.el: Don't add emacs-<VERS> name when bootstrapping.
411 * Makefile.in (emacs-deps): Remove.
412 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
414 (autogen-clean): Remove.
416 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
418 * Makefile.in (all): New target.
419 (bootstrap-prepare): Remove.
421 * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not
422 the .elc file to batch-byte-compile.
424 * progmodes/cc-mode.el (c-make-inherited-keymap): Only use
425 set-keymap-parents if set-keymap-parent doesn't exist.
427 * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line):
428 Allow more than one space before the |.
430 * textmodes/rst.el: Fix up docstring conventions.
431 Move vars to before their first use.
432 (rst-mode): Don't mess with font-lock-support-mode.
433 (rst-suggest-new-decoration, rst-adjust-decoration):
434 Avoid CL's copy-list.
435 (rst-delete-entire-line): Use line-beginning-position.
436 (rst-position): New fun.
437 (rst-straighten-decorations): Use it instead of CL's position.
438 (rst-straighten-bullets-region): Avoid CL's mapcar*.
439 (rst-toc-mode): Use define-derived-mode.
440 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2):
441 Remove unused var `in-par'. Use `point' rather than `point-marker'.
442 (rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg.
443 (rst-replace-lines): Simplify.
444 (auto-mode-alist): Use rst-mode for *.rst and *.rest files.
446 * simple.el (special-mode-map): New var.
447 (special-mode): New major mode.
449 2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
451 * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
454 * vc.el (vc-dir-hide-up-to-date): Undo previous change.
455 (vc-switch-backend): Simplify.
456 (Todo): Remove solved items.
458 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set
459 the vc-backend property.
461 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
463 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
464 Bind inhibit-read-only since the buffer is always read-only.
466 2008-06-20 Ulf Jasper <ulf@web.de>
468 * net/newst-treeview.el (newsticker-treeview-own-frame):
469 Change default value to nil.
470 (newsticker--treeview-list-add-item)
471 (newsticker--treeview-propertize-tag): Show item title in tooltip.
473 2008-06-20 Martin Blais <blais@furius.ca>
474 Stefan Merten <smerten@oekonux.de>
475 David Goodger <goodger@python.org>
477 * textmodes/rst.el: New file.
479 2008-06-20 Sam Steingold <sds@gnu.org>
481 * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also
482 remove DIRECTORY entries.
484 2008-06-20 Eli Zaretskii <eliz@gnu.org>
486 * makefile.w32-in (distclean): Depend on `clean'.
487 (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~.
488 (AUTOGENEL): Add $(lisp)/nxml/subdirs.el.
489 ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an
490 empty cus-load.el with `echo', and include "Local Variables"
491 section to prevent the empty file from being compiled.
492 (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets
493 that generate an empty cus-load.el.
495 2008-06-20 Juanma Barranquero <lekktu@gmail.com>
497 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
498 Don't copy ldefs-boot.el over loaddefs.el.
499 (bootstrap-clean): Remove loaddefs.el and don't depend on it.
500 (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars
501 to loaddefs.el; they are not needed now. Add coding cookie.
503 2008-06-20 Miles Bader <miles@gnu.org>
505 * face-remap.el (face-remap-add-relative, face-remap-set-base):
506 Strip unnecessary list levels from SPECS.
507 (buffer-face-set, buffer-face-toggle):
508 Change argument from FACE to &rest SPECS, and strip unnecessary
509 list levels from SPECS.
510 (buffer-face-mode-invoke): Change argument from FACE to SPECS.
512 2008-06-20 Jason Rumney <jasonr@gnu.org>
514 * international/fontset.el (setup-default-fontset): Specify script
515 for latin use of iso10646-1. Fix use of lang tags.
517 2008-06-19 Miles Bader <miles@gnu.org>
519 * face-remap.el (text-scale-increase): Start from zero if
520 text-scale-mode isn't enabled.
522 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
524 * faces.el (face-set-after-frame-default): Re-apply explicit `font'
525 frame parameters after setting up the `default' face.
527 2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
529 * faces.el (face-set-after-frame-default): Don't exclude `default'.
531 2008-06-18 Glenn Morris <rgm@gnu.org>
533 * mouse.el (buffer-face-mode-invoke): Declare.
535 * Makefile.in (ELCFILES): Add org/org-id.elc.
537 * calendar/holidays.el (calendar-cursor-holidays): Accept optional date.
538 * calendar/cal-menu.el (cal-menu-holidays-menu):
539 Use calendar-cursor-holidays rather than cal-menu-today-holidays.
540 (cal-menu-today-holidays): Remove function.
542 * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify.
543 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
544 (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date):
545 Remove unused functions.
546 (calendar-mouse-view-diary-entries): Use format rather than concat.
548 * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro.
549 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
550 (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change.
552 * calendar/cal-menu.el (cal-menu-event-to-date): Remove function.
553 (calendar-mouse-holidays, calendar-mouse-view-diary-entries)
554 (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates)
555 (cal-menu-set-date-title): Use calendar-cursor-to-date rather than
556 cal-menu-event-to-date.
558 * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year):
560 * calendar/cal-tex.el (cal-tex-cursor-year)
561 (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year)
562 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
563 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
564 (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week)
565 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
566 (cal-tex-cursor-day): Handle mouse events. Rename ARG to N.
567 (cal-tex-cursor-month): Mark N as optional.
568 * calendar/cal-menu.el (calendar-mouse-tex-day)
569 (calendar-mouse-tex-week, calendar-mouse-tex-week2)
570 (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday)
571 (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week)
572 (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month)
573 (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year)
574 (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape):
576 (cal-menu-context-mouse-menu): Replace the above functions with the
577 cal-tex versions. Add HTML submenu.
579 2008-06-17 Nick Roberts <nickrob@snap.net.nz>
581 * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to
583 (gdb): Explain that gud-gdb is needed for text command mode.
585 2008-06-17 Martin Rudalics <rudalics@gmx.at>
587 * window.el (split-height-threshold): Remove spurious extra line.
589 2008-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
591 * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'.
593 * calendar/diary-lib.el (diary-insert-entry):
594 * calendar/solar.el (calendar-sunrise-sunset): Use it.
595 * calendar/cal-menu.el (calendar-mouse-sunrise/sunset)
596 (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete.
597 (cal-menu-context-mouse-menu): Use calendar-set-mark,
598 diary-insert-entry, and calendar-sunrise-sunset instead.
600 * vc.el (vc-deduce-fileset): Add arg `only-files'.
601 (vc-next-action): Pass the new arg.
602 (vc-register): Don't use `only-files'.
603 Don't set `backup-inhibited' in the current buffer.
605 2008-06-17 Miles Bader <miles@gnu.org>
607 * mouse.el (mouse-appearance-menu): Use buffer-face-mode.
609 * face-remap.el (buffer-face-mode-face)
610 (buffer-face-mode-remapping): New variables.
611 (buffer-face-mode, buffer-face-set, buffer-face-toggle)
612 (buffer-face-mode-invoke): New functions.
613 (variable-pitch-mode-remapping): Variable removed.
614 (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'.
616 * face-remap.el (internal-lisp-face-attributes): New variable.
617 (face-attrs-more-relative-p, face-remap-order): New functions.
618 (face-remap-add-relative): Use `face-remap-order'.
620 2008-06-17 Glenn Morris <rgm@gnu.org>
622 * mouse.el (x-select-font): Declare.
624 * calendar/calendar.el (calendar-move-hook):
625 Add calendar-update-mode-line as an option.
626 (calendar-date-echo-text): New user option.
627 (calendar-generate-month): Set `day'. Use calendar-date-echo-text.
628 (calendar-insert-indented): Simplify newline insertion.
629 (calendar-describe-mode): Remove unused function.
630 (calendar-mode-line-entry): New function.
631 (calendar-mode-line-format): Doc fix. Use calendar-mode-line-entry.
633 (calendar-mouse-other-month): Remove function.
634 (calendar-other-month): Handle mouse events.
635 (calendar-goto-info-node): Call fit-window-to-buffer.
636 (calendar-mode): Use define-derived-mode. Doc fix.
637 (calendar-update-mode-line): Tweak whitespace.
639 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
641 * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p.
642 (vc-dir-marked-only-files): vc-string-prefix-p.
644 2008-06-16 Nick Roberts <nickrob@snap.net.nz>
646 * progmodes/gdb-ui.el (gdb-memory-set-address)
647 (gdb-memory-set-repeat-count): Allow keyboard bindings.
648 (gdb-memory-mode-map): Bind above functions respectively
651 2008-06-16 Derek Upham <sand@blarg.net> (tiny change)
653 * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks.
655 2008-06-16 Juanma Barranquero <lekktu@gmail.com>
657 * log-view.el (vc-diff-internal): Declare for compiler.
659 * vc-bzr.el (log-view-per-file-logs):
660 * vc-svn.el (log-view-per-file-logs): Pacify byte compiler.
662 2008-06-15 Chong Yidong <cyd@stupidchicken.com>
664 * mouse.el (mouse-appearance-menu-map): New var.
665 (mouse-appearance-menu): New function.
666 Bind it to S-down-mouse-1.
668 2008-06-15 Juri Linkov <juri@jurta.org>
670 * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc.
671 (Info-toc, Info-insert-toc): Increment nth's index to add PARENT
672 as the second element.
673 (Info-build-toc): Add PARENT element extracted from the Up pointer.
674 Don't print progress messages.
675 (Info-toc-nodes): New variable and function.
676 (Info-index-nodes): Optimize non-string file name case.
677 (Info-breadcrumbs-depth): Increment the default value from 3 to 4.
678 (Info-insert-breadcrumbs): Use the cached document structure instead
679 of visiting all ancestor nodes. Remove the initial `>'.
681 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
683 * log-view.el (log-view-diff-changeset): New function.
684 (log-view-mode-map, log-view-mode-menu): Bind it.
685 (log-view-per-file-logs, log-view-vc-fileset)
686 (log-view-vc-backend): New variables.
687 (log-view-find-revision, log-view-modify-change-comment)
688 (log-view-annotate-version): Throw an error if the log is for more
689 than one file and we can't find the current file. Get the current
690 file from log-view-vc-fileset if necessary.
691 (log-view-diff): Get the current file from log-view-vc-fileset if
694 * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend.
696 * vc-hg.el (vc-hg-log-view-mode): Call the log method only once.
697 (vc-hg-log-view-mode): Declare for compiler.
698 (vc-hg-log-view-mode): Set log-view-per-file-logs and
700 (vc-hg-diff): If no file is passed, use default-directory for cwd.
702 * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs.
704 * vc-svn.el (vc-svn-log-view-mode): New derived mode.
706 2008-06-15 Michael Albinus <michael.albinus@gmx.de>
708 * net/tramp.el (tramp-handle-start-file-process):
709 Clear modification time of the connection buffer.
710 (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error.
711 (tramp-open-connection-setup-interactive-shell): Flush cache, and
712 restart `tramp-maybe-open-connection' when the remote system has
713 been changed. Throw 'uname-changed event.
714 (tramp-maybe-open-connection): Catch it.
716 * net/tramp-cmds.el (tramp-cleanup-all-connections):
717 Reset `tramp-locked'.
719 2008-06-15 Ulf Jasper <ulf@web.de>
721 * net/newst-treeview.el (newsticker--treeview-list-update)
722 (newsticker--treeview-item-update)
723 (newsticker--treeview-tree-update)
724 (newsticker-treeview-jump, newsticker-group-add-group)
725 (newsticker-group-move-feed, newsticker-group-delete-group):
726 Remove window dedication.
727 (newsticker--group-manage-orphan-feeds): Handle ill-valued
729 (newsticker--treeview-tree-expand): Don't manage orphan feeds here.
731 2008-06-15 Andreas Schwab <schwab@suse.de>
733 * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
734 when parsing CVS/Repository.
736 * wdired.el (wdired-search-and-rename): Fix undocumented change.
738 2008-06-15 Ulf Jasper <ulf@web.de>
740 * net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
741 (newsticker-extra-face, newsticker-enclosure-face): Moved to
744 * net/newst-reader.el (newsticker-faces, newsticker-feed-face)
745 (newsticker-extra-face, newsticker-enclosure-face): Moved from
748 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
750 * international/encoded-kb.el (encoded-kbd-self-insert-utf-8):
751 Catch and recover from case when the bytes we thought we were reading
752 turn out to be something else entirely, such as latin-1 chars from
755 2008-06-15 Dan Nicolaescu <dann@ics.uci.edu>
757 * vc.el (vc-deduce-fileset): Check if the buffer has a file.
758 (vc-register): Call the backend function only once, instead of
760 (vc-next-action): Update call to vc-register.
761 (vc-dir-register): Remove function.
762 (vc-dir): Bind vc-register instead of vc-dir-register.
764 2008-06-14 Glenn Morris <rgm@gnu.org>
766 * Makefile.in (ELCFILES): Add net/newst-*.el.
768 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
770 * wdired.el (wdired-do-renames): New function.
771 (wdired-finish-edit): Use it to.
772 (wdired-preprocess-files): Don't hardcode (point-min) == 1.
774 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
776 * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc.
778 2008-06-14 Martin Rudalics <rudalics@gmx.at>
780 * window.el (window--even-window-heights): Even window heights
781 only if the selected window is higher than WINDOW.
782 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
784 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
786 * info.el (Info-insert-breadcrumbs): Be careful to preserve history.
788 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
790 * term/linux.el (terminal-init-linux): Load t-mouse.
792 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
793 Drew Adams <drew.adams@oracle.com>
795 * info.el (Info-breadcrumbs-depth): New var.
796 (Info-insert-breadcrumbs): New function.
797 (Info-fontify-node): Use it.
798 (Info-mode-map): Move initialization into declaration.
800 2008-06-13 Ulf Jasper <ulf.jasper@web.de>
802 Rename net/newsticker-*.el to net/newst-*.el.
803 * net/newst-backend.el: Rename from net/newsticker-backend.el.
804 * net/newst-plainview.el: Rename from net/newsticker-plainview.el.
805 * net/newst-reader.el: Rename from net/newsticker-reader.el.
806 * net/newst-ticker.el: Rename from net/newsticker-ticker.el.
807 * net/newst-treeview.el: Rename from net/newsticker-treeview.el.
808 * net/newsticker-backend.el: Rename to net/newst-backend.el.
809 * net/newsticker-plainview.el: Rename to net/newst-plainview.el.
810 * net/newsticker-reader.el: Rename to net/newst-reader.el.
811 * net/newsticker-ticker.el: Rename to net/newst-ticker.el.
812 * net/newsticker-treeview.el: Rename to net/newst-treeview.el.
814 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
816 * progmodes/compile.el (compilation-start): Don't disable undo in
817 comint buffer. Don't override the comint-filter with our own.
818 (compilation-filter): Change point's insertion-type.
820 * comint.el (comint-output-filter): Use copy-marker.
822 2008-06-13 David Reitter <david.reitter@gmail.com>
824 * textmodes/flyspell.el (mail-mode-flyspell-verify):
825 Check message-signature-separator exists before using it.
827 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu>
829 * vc.el (vc-delete-file): Bind default-directory before calling
831 (vc-annotate-show-diff-revision-at-line): Move most of the code to ...
832 (vc-annotate-show-diff-revision-at-line-internal): ... here.
834 (vc-annotate-show-changeset-diff-revision-at-line): New function.
835 (vc-annotate-mode-menu): Bind it.
837 2008-06-13 Jason Rumney <jasonr@gnu.org>
839 * term/w32-win.el (mouse-set-font): Remove overridden function.
840 (w32-select-font): Declare as obsolete alias for x-select-font.
842 2008-06-13 Daniel Engeler <engeler@gmail.com>
844 These changes add serial port access.
845 * term.el (term-update-mode-line): Modify.
846 (serial-port-is-file-p, serial-nice-speed-history)
847 (serial-no-speed, serial-mode-line-speed-menu)
848 (serial-mode-line-config-menu): New variables and constants.
849 (serial-name-history, serial-speed-history)
850 (serial-supported-or-barf, serial-read-name, serial-read-speed)
851 (serial-term, serial-speed, serial-mode-line-speed-menu-1)
852 (serial-mode-line-speed-menu, serial-update-speed-menu)
853 (serial-mode-line-config-menu-1, serial-mode-line-config-menu)
854 (serial-update-config-menu): New functions.
856 2008-06-13 Glenn Morris <rgm@gnu.org>
858 * menu-bar.el (menu-set-font): Use fboundp rather than functionp.
860 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix.
862 2008-06-13 Kenichi Handa <handa@m17n.org>
864 * cus-face.el (custom-face-attributes): Add :foundry.
866 * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
867 (face-x-resources): Add :foundry.
868 (face-valid-attribute-values): Likewise.
869 (face-attribute-name-alist): Likewise.
870 (describe-face): Likewise.
872 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
874 * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events.
876 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
878 * longlines.el (longlines-search-forward, longlines-search-backward)
879 (longlines-re-search-forward): Use a smarter search-spaces-regexp.
881 2008-06-12 Sam Steingold <sds@gnu.org>
883 * vc.el (vc-rename-file): DTRT when the destination is a directory
884 name and the source is a file.
886 2008-06-12 Chong Yidong <cyd@stupidchicken.com>
888 * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font.
890 2008-06-12 Glenn Morris <rgm@gnu.org>
892 * progmodes/f90.el (f90-beginning-of-subprogram)
893 (f90-end-of-subprogram): Only give a message when interactive.
895 * term/mac-win.el (x-toolkit-scroll-bars): Check bound.
897 * progmodes/cperl-mode.el (cperl-info-on-command):
898 Use display-pixel-height rather than x-display-pixel-height.
900 * mail/rmailedit.el (rmail-cease-edit):
901 * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound.
903 * emulation/edt.el (edt-xserver):
904 * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string.
906 * emulation/edt-mapper.el: Drop test for Emacs < 19.
908 * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window):
909 Evaluate definitions when compiling. Reverse tests.
911 * dframe.el (dframe-reposition-frame-emacs): Reorder test, and
914 * menu-bar.el (w32-menu-bar-open): Declare for compiler.
916 * textmodes/artist.el (x-pointer-shape):
917 * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu)
918 (x-open-connection, x-server-max-request-size, x-get-resource):
919 * term/w32console.el (x-setup-function-keys):
920 * term/w32-win.el (x-parse-geometry, x-resource-name)
921 (generate-fontset-menu, image-library-alist, x-open-connection)
922 (setup-default-fontset, set-fontset-font, setup-default-fontset)
923 (create-fontset-from-fontset-spec, create-fontset-from-x-resource)
925 * term/mac-win.el (x-parse-geometry, x-resource-name)
926 (x-get-selection-internal, tool-bar-mode, set-fontset-font)
927 (new-fontset, x-display-list, x-open-connection, x-get-resource):
928 * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide)
929 (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show)
930 (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer):
931 * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area)
932 (tooltip-identifier-from-point, define-fringe-bitmap):
933 * play/gamegrid.el (image-size):
934 * play/bubbles.el (image-size):
935 * mail/emacsbug.el (x-server-vendor, x-server-version):
936 * international/mule-util.el (internal-char-font):
937 * international/mule-diag.el (font-info, query-fontset, fontset-info)
938 (fontset-alias-alist, fontset-list, fontset-plain-name):
939 * international/mule-cmds.el (x-server-vendor, x-server-version):
940 * international/fontset.el (font-encoding-charset-alist)
941 (otf-script-alist, new-fontset, set-fontset-font)
942 (x-pixel-size-width-font-regexp, vertical-centering-font-regexp)
943 (fontset-list, query-fontset, x-get-resource):
944 * emulation/edt.el (x-server-vendor):
945 * emulation/edt-mapper.el (x-server-vendor):
946 * emacs-lisp/map-ynp.el (x-popup-dialog):
947 * emacs-lisp/lmenu.el (x-popup-dialog):
948 * x-dnd.el (x-window-property, x-change-window-property)
949 (x-get-selection-internal):
950 * woman.el (x-list-fonts):
951 * w32-fns.el (x-server-version):
952 * tooltip.el (x-show-tip, x-hide-tip):
953 * tool-bar.el (image-mask-p):
954 * thumbs.el (image-size):
955 * term.el (overflow-newline-into-fringe):
956 * subr.el (scroll-bar-scale):
957 * startup.el (x-get-resource, tool-bar-mode, image-size):
958 * select.el (x-get-selection-internal, x-own-selection-internal)
959 (x-disown-selection-internal):
960 * mouse.el (generate-fontset-menu):
961 * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value):
962 * image.el (image-library-alist):
963 * image-mode.el (image-size, image-refresh):
964 * image-dired.el (clear-image-cache):
965 * gs.el (x-display-mm-width, x-display-pixel-width)
966 (x-display-mm-height, x-display-pixel-height)
967 (x-change-window-property, x-display-grayscale-p, x-window-property):
968 * frame.el (tool-bar-mode, x-display-name, x-close-connection)
969 (x-focus-frame, x-list-fonts, x-display-screens)
970 (x-display-pixel-height, x-display-pixel-width, x-display-mm-height)
971 (x-display-mm-width, x-display-backing-store, x-display-save-under)
972 (x-display-planes, x-display-color-cells, x-display-visual-class):
973 * faces.el (internal-face-x-get-resource)
974 (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path)
975 (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values)
976 (xw-display-color-p, x-display-grayscale-p, x-get-resource)
977 (x-parse-geometry, x-create-frame, x-setup-function-keys)
979 * doc-view.el (clear-image-cache, image-size, tooltip-show):
980 * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri):
981 * dframe.el (x-display-pixel-width, x-display-pixel-height):
982 * descr-text.el (internal-char-font):
983 Define for compiler, for builds without X.
985 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
987 * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists.
989 2008-06-11 Glenn Morris <rgm@gnu.org>
991 * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match
992 before trying to move there.
993 (fortran-calculate-indent): When fortran-check-all-num-for-matching-do
994 is non-nil, indent most terminating statements like loop body.
996 * calendar/diary-lib.el (diary-list-entries-2): Accept optional
997 Gregorian date, and add it, not the local date, to diary-entries-list.
998 (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2.
1000 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * progmodes/compile.el (compilation-filter): Fix up last change.
1004 * term/linux.el (terminal-init-linux): Use gpm-mouse-enable.
1006 * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions.
1007 (gpm-mouse-mode): Make it into a proper global minor mode.
1009 * files.el (save-some-buffers-action-alist): Only use recursive-edit
1010 if the user enabled recursive-minibuffers.
1012 * emacs-lisp/map-ynp.el (map-y-or-n-p):
1013 Add support for scroll-other-window.
1015 2008-06-11 Jason Rumney <jasonr@gnu.org>
1017 * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open.
1018 Use tmm-menubar if menu is disabled in this frame.
1020 * menu-bar.el (menu-bar-open): Determine how to open menu bar
1021 from frame type, per documentation. Add w32 case.
1023 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * minibuffer.el (completion--merge-suffix): New function.
1026 (completion-basic-try-completion): Use it.
1027 (completion-pcm--find-all-completions): Add argument `filter'.
1028 (completion-pcm--filename-try-filter, completion-pcm--merge-try):
1030 (completion-pcm-try-completion): Use them.
1032 * xt-mouse.el (turn-on-xterm-mouse-tracking)
1033 (turn-off-xterm-mouse-tracking): Use terminal-list.
1035 * cus-start.el (underline-minimum-offset): Rename from
1036 x-underline-minimum-display-offset.
1038 2008-06-10 David De La Harpe Golden <david@harpegolden.net> (tiny change)
1040 * cus-start.el (x-underline-minimum-display-offset): Give it a type.
1042 2008-06-10 Chong Yidong <cyd@stupidchicken.com>
1044 * mouse.el (mouse-select-font): New function.
1046 * faces.el (face-spec-recalc): When the face is set using
1047 Customize, avoid recalculating it twice.
1049 * menu-bar.el (menu-set-font): New function. Bind "Set Default
1050 Font" menu item to it. Apply selected font to all frames, and
1052 (menu-bar-options-save): Save `default' font if changed.
1054 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * ffap.el (ffap-string-at-point-mode-alist):
1057 Use alpha rather than lower.
1059 * dired.el (dired-insert-directory): Don't assume Unix-style dir names.
1061 * subr.el (momentary-string-display): Use an overlay.
1063 * progmodes/compile.el (compilation-mode):
1064 Set window-point-insertion-type.
1065 (compilation-filter): Don't use insert-before-markers any more.
1066 * emacs-lisp/trace.el (trace-make-advice):
1067 Set window-point-insertion-type in the trace buffer.
1068 * startup.el (normal-top-level): Set window-point-insertion-type in
1070 * net/telnet.el (telnet-mode): Set window-point-insertion-type.
1071 (telnet-filter): Don't use insert-before-markers any more.
1072 * comint.el (comint-mode): Set window-point-insertion-type.
1073 (comint-output-filter): Don't use insert-before-markers any more.
1074 * button.el (make-text-button): Allow `start' to be a string.
1076 2008-06-10 Juanma Barranquero <lekktu@gmail.com>
1078 * emacs-lisp/autoload.el (autoload-rubric):
1079 Fix coding cookie not to force Unix EOL.
1081 2008-06-10 Martin Rudalics <rudalics@gmx.at>
1083 * window.el (window--splittable-p, window--try-to-split-window):
1084 Don't use with-selected-window to avoid messing up get-lru-window.
1085 Reported by David Hansen <david.hansen@gmx.net>.
1087 2008-06-10 Glenn Morris <rgm@gnu.org>
1089 * subr.el (locate-library): Doc fix.
1091 * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare.
1092 (newsticker-treeview-tool-bar-map, newsticker-treeview-mode):
1093 Check tool-bar-map is bound, for non-X builds.
1095 * net/newsticker-reader.el (newsticker--next-item-image)
1096 (newsticker--previous-item-image, newsticker--previous-feed-image)
1097 (newsticker--next-feed-image, newsticker--mark-read-image)
1098 (ewsticker--mark-immortal-image, newsticker--narrow-image)
1099 (newsticker--get-all-image, newsticker--update-image)
1100 (newsticker--browse-image): Check xpm images are available.
1101 (newsticker--mark-read-image, newsticker--mark-immortal-image)
1102 (newsticker--narrow-image, newsticker--get-all-image): Doc fix.
1104 * net/newsticker-plainview.el (tool-bar-map): Don't declare.
1105 (newsticker--plainview-tool-bar-map, newsticker-mode):
1106 Check tool-bar-map is bound, for non-X builds.
1107 (w3m-toggle-inline-image): Declare.
1109 * net/newsticker-backend.el (tool-bar-map): Don't declare.
1111 * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie.
1113 * finder.el (finder-font-lock-keywords): Handle ``quotes''.
1114 (finder-compile-keywords): Move let to where needed.
1115 (finder-mouse-face-on-line): Go back one more line if needed.
1116 (finder-list-matches): Use cadr.
1117 (finder-goto-xref): New function.
1118 (finder-commentary): Add buttons to jump to foo.el libraries.
1120 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * apropos.el (apropos-function, apropos-macro, apropos-command)
1123 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1124 (apropos-plist): Add apropos-short-label property.
1125 (apropos-multi-type): New variables.
1126 (apropos-command, apropos-value): Set it.
1127 (apropos-compact-layout): New custom.
1128 (apropos-print, apropos-print-doc): Use it.
1129 (apropos-print): Truncate lines.
1131 2008-06-09 Kenichi Handa <handa@m17n.org>
1133 * international/fontset.el (font-encoding-alist):
1134 Add an entry for "ascii-0".
1136 2008-06-09 Jihyun Cho <jihyun.jo@gmail.com>
1138 * language/hanja-util.el (hanja-init-load): Show the message only
1139 when loading a table.
1141 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1143 * net/newsticker-treeview.el (newsticker-treeview):
1144 * net/newsticker-plainview.el (newsticker-plainview):
1145 Add autoload cookie.
1147 2008-06-08 Ulf Jasper <ulf.jasper@web.de>
1149 * net/newsticker.el: Split up into newsticker-backend, -ticker,
1150 -reader, -plainview, and -treeview.
1151 (newsticker-version): Change to 1.99.
1153 * net/newsticker-backend.el: New. Move backend functionality from
1154 newsticker.el to newsticker-backend.el.
1155 (newsticker--download-logos): New.
1156 (newsticker--sentinel-callback): New.
1157 (newsticker--set-customvar): Remove. Split up into specific
1158 functions related to retrieval, ticker, buffer, and display.
1159 (newsticker--set-customvar-retrieval): New. Extracted from
1160 `newsticker--set-customvar'.
1161 (newsticker-retrieval): New. Renamed from `newsticker-feed'.
1162 (newsticker-url-list-defaults):
1163 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1164 (newsticker-url-list): Doc changed. URL can be a function.
1165 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1166 (newsticker-retrieval-method): New.
1167 (newsticker-wget-name, newsticker-wget-arguments): Change :group.
1168 (newsticker-retrieval-interval):
1169 Use `newsticker--set-customvar-retrieval' for :set. Change :group.
1170 (newsticker-desc-comp-max): Change :group.
1171 (newsticker--cache): Doc changed.
1172 (newsticker--guid-to-string): New.
1173 (newsticker--guid): Use `newsticker--guid-to-string'.
1174 (newsticker--real-feed-name): New.
1175 (newsticker--start-feed): New. Extracted from `newsticker-start'.
1176 (newsticker-start): Use `insert-file-contents' for reading cache.
1177 Use `newsticker--start-feed'.
1178 (newsticker--stop-feed): New. Extracted from `newsticker-stop'.
1179 (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound.
1180 Use `newsticker--stop-feed'.
1181 (newsticker-save-item): New.
1182 (newsticker--get-news-by-funcall): New.
1183 (newsticker-get-news): Handle new retrieval methods.
1184 (newsticker--sentinel): Use `newsticker--sentinel-work'.
1185 (newsticker--sentinel-work): New. Extracted from
1186 `newsticker--sentinel'. Use `newsticker--download-logos',
1187 `newsticker--sentinel-callback'.
1188 (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'.
1189 (newsticker--parse-atom-1.0): Fix link determination.
1190 (newsticker--parse-rss-0.91): Fix time determination.
1191 (newsticker--parse-rss-0.92): Fix time determination.
1192 (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'.
1193 (newsticker--parse-generic-feed): New arg order in
1194 `newsticker--cache-add'.
1195 (newsticker--parse-generic-items): Fix for multiple items.
1196 New arg order in `newsticker--cache-add'.
1197 (newsticker--forget-preformatted): Check whether
1198 `newsticker--buffer-set-uptodate' is fbound.
1199 (newsticker--decode-iso8601-date): Handle fractions of seconds.
1200 (newsticker--decode-rfc822-date): Partial timezone handling.
1201 (newsticker--cache-contains): Fix guid problem.
1202 (newsticker--cache-add): Swap args AGE and TIME. Fix guid problem.
1203 (newsticker--cache-save): New.
1204 (newsticker--cache-update): Use temp buffer.
1205 (newsticker--stat-num-items): Allow multiple AGE args.
1206 (newsticker--stat-num-items-total): New.
1207 (newsticker--opml-import-outlines): New.
1208 (newsticker-opml-import): Use `newsticker--opml-import-outlines'.
1209 (newsticker--do-run-auto-mark-filter): Doc changed.
1210 (newsticker-retrieve-random-message): New.
1212 * net/newsticker-ticker.el: New. Move ticker functionality from
1213 net/newsticker.el to net/newsticker-ticker.el.
1214 (newsticker--ticker-timer): Rename `newsticker--display-timer' to
1215 `newsticker--ticker-timer'.
1216 (newsticker-ticker-running-p): Rename `newsticker--display-timer'
1217 to `newsticker--ticker-timer'.
1218 (newsticker--set-customvar-ticker): New. Extracted from
1219 `newsticker--set-customvar'.
1220 (newsticker-ticker-interval): Rename `newsticker-display-interval'
1221 to `newsticker-ticker-interval'. Use `newsticker--set-customvar-ticker
1222 for :set. Change :group.
1223 (newsticker-scroll-smoothly): Doc changed. Change :group.
1224 (newsticker-hide-immortal-items-in-echo-area)
1225 (newsticker-hide-old-items-in-echo-area)
1226 (newsticker-hide-obsolete-items-in-echo-area):
1227 Use `newsticker--set-customvar-ticker for :set. Change :group.
1228 (newsticker-start-ticker): Rename `newsticker--display-timer' to
1229 `newsticker--ticker-timer'. Rename `newsticker-display-interval'
1230 to `newsticker-ticker-interval'.
1231 (newsticker-stop-ticker): Rename `newsticker--display-timer' to
1232 `newsticker--ticker-timer'.
1234 * net/newsticker-reader.el: New. Move reader functionality from
1235 net/newsticker.el to net/newsticker-reader.el.
1236 (newsticker--set-customvar-formatting): New. Extracted from
1237 `newsticker--set-customvar'.
1238 (newsticker-reader, newsticker-frontend): New.
1239 (newsticker-enable-logo-manipulations): Change :group.
1240 (newsticker-justification): Use `newsticker--set-customvar-formatting'
1241 for :set. Change :group.
1242 (newsticker-use-full-width): Use `newsticker--set-customvar-formatting'
1243 for :set. Change :group.
1244 (newsticker-html-renderer): Doc changed.
1245 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1246 (newsticker-date-format):
1247 Use `newsticker--set-customvar-formatting' for :set. Change :group.
1248 (newsticker--insert-enclosure):
1249 Rename `newsticker--buffer-insert-enclosure' to
1250 `newsticker--insert-enclosure'. Add keymap arg.
1251 (newsticker--print-extra-elements):
1252 Rename `newsticker--buffer-print-extra-elements' to
1253 `newsticker--print-extra-elements'. Add keymap arg.
1254 (newsticker--do-print-extra-element):
1255 Rename `newsticker--buffer-do-print-extra-element' to
1256 `newsticker--do-print-extra-element'. Add keymap arg.
1257 (newsticker-show-news): Use `newsticker-frontend'.
1259 * net/newsticker-plainview.el: New. Move plainview functionality
1260 from net/newsticker.el to net/newsticker-reader.el.
1261 (newsticker-plainview): New.
1262 (newsticker--set-customvar-sorting): New. Extracted from
1263 `newsticker--set-customvar'.
1264 (newsticker-sort-method): Use `newsticker--set-customvar-sorting
1265 for :set. Changed :group.
1266 (newsticker-heading-format, newsticker-item-format)
1267 (newsticker-desc-format, newsticker-statistics-format):
1268 Use `newsticker--set-customvar-formatting for :set. Change :group.
1269 (newsticker-faces): Change :group.
1270 (newsticker-default-face): Enable again.
1271 (newsticker-hide-old-items-in-newsticker-buffer)
1272 (newsticker-show-descriptions-of-new-items):
1273 Use `newsticker--set-customvar-buffer' for :set. Change :group.
1274 (newsticker-show-all-news-elements): Change :group.
1275 (newsticker-plainview-hooks): New.
1276 (newsticker-select-item-hook, newsticker-select-feed-hook)
1277 (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group.
1278 (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map'
1279 to `newsticker--plainview-tool-bar-map'.
1280 (newsticker--url-keymap): Add mouse-1 binding.
1281 (newsticker-plainview): New.
1282 (newsticker-mark-all-items-of-feed-as-read): Change doc.
1283 (newsticker--buffer-do-insert-text): Use renamed
1284 newsticker--[buffer-]insert-enclosure and
1285 newsticker--[buffer-]print-extra-elements.
1286 (newsticker--buffer-set-faces): Use newsticker-default-face.
1288 * net/newsticker-treeview.el: New.
1290 2008-06-08 Andreas Schwab <schwab@suse.de>
1292 * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check.
1294 * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs.
1296 * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an
1299 * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for.
1301 2008-06-08 Martin Rudalics <rudalics@gmx.at>
1303 * window.el (split-height-threshold, split-width-threshold):
1305 (split-window-preferred-function): Allow either nil or a function.
1306 (window--splittable-p, window--try-to-split-window):
1307 Handle changed option values.
1309 (window--frame-usable-p): Handle nil argument.
1311 (display-buffer): Call get-lru-window when pop-up-windows is nil
1312 and window can't be split.
1314 2008-06-08 Michael Albinus <michael.albinus@gmx.de>
1316 * uniquify.el (uniquify-get-proposed-name): Handle remote files.
1318 * net/tramp.el (top): Quote feature names. Remove
1319 `tramp-rfn-eshadow-setup-minibuffer' from
1320 `rfn-eshadow-setup-minibuffer-hook' when unloading.
1321 (tramp-read-passwd): There is only one call to
1322 `auth-source-user-or-password' needed. Pacify byte compiler.
1324 2008-06-08 Andreas Schwab <schwab@suse.de>
1326 * window.el (display-buffer): Use lru window if current window
1329 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * apropos.el (apropos-library): New command and new button.
1332 (apropos-library-button): New function.
1334 * apropos.el: Remove spurious * in docstrings.
1335 (apropos-label-face): Use variable pitch.
1336 (apropos-print): Use dolist and with-current-buffer.
1337 (apropos-print-doc): Use when.
1339 * window.el (special-display-p, display-buffer):
1340 Fix up C->Elisp transcription error.
1342 2008-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1344 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
1345 (byte-compile-file): Initialize it.
1346 (byte-compile-nogroup-warn): Keep track of the current group.
1348 2008-06-08 Glenn Morris <rgm@gnu.org>
1350 * Makefile.in (compile, compile-always, bootstrap-prepare):
1351 Explictly pass EMACS to sub-makes that use it, for non-GNU makes.
1353 2008-06-07 Jihyun Cho <jihyun.jo@gmail.com>
1355 * language/hanja-util.el (hanja-init-load): Use a char-table for
1357 (hangul-to-hanja-char): Adjust for the above change.
1359 2008-06-07 Glenn Morris <rgm@gnu.org>
1361 * finder.el (finder-compile-keywords): Use lm-keywords-list rather than
1364 * mail/sendmail.el (mail-interactive): Add :version.
1366 * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than
1369 * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el:
1370 * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el:
1371 * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el:
1372 * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el:
1373 * eshell/esh-util.el, international/mule-cmds.el:
1374 * international/mule-diag.el, mail/smtpmail.el, net/netrc.el:
1375 * net/tls.el, progmodes/etags.el, textmodes/page-ext.el:
1376 Remove unnecessary eval-when-compiles and eval-and-compiles.
1378 * Makefile.in (bootstrap-clean): Run autogen-clean.
1379 (maintainer-clean): No need to run autogen-clean now it is included in
1382 2008-06-06 Miles Bader <miles@gnu.org>
1384 * Makefile.in (ELCFILES): Add gnus/nndir.elc.
1386 2008-06-06 Chong Yidong <cyd@stupidchicken.com>
1388 * menu-bar.el (menu-bar-options-menu): Add Menu entry for
1391 * replace.el (replace-search-function)
1392 (replace-re-search-function): New vars.
1393 (perform-replace): Use them.
1395 * longlines.el (longlines-re-search-forward): New function.
1396 (longlines-mode): Bind replace-search-function and
1397 replace-re-search-function, to ensure that replacement commands
1398 treat newlines as spaces.
1399 (longlines-show-effect): Default to a pilcrow sign.
1401 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * help.el (function-called-at-point):
1404 * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table
1405 even when calling find-tag-default.
1407 2008-06-06 Daniel Colascione <danc@merrillpress.com>
1409 * nxml/nxml-mode.el (nxml-syntax-highlight-flag)
1410 (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified)
1411 (nxml-clear-fontified, nxml-fontify, nxml-fontify1)
1412 (nxml-fontify-buffer, nxml-do-fontify):
1413 Remove obsolete variables and functions.
1414 (nxml-font-lock-keywords, nxml-set-face, nxml-mode)
1415 (nxml-degrade, nxml-after-change, nxml-after-change1)
1416 (nxml-extend-region, nxml-extend-after-change-region)
1417 (nxml-extend-after-change-region1, nxml-fontify-matcher)
1418 (nxml-toggle-char-ref-extra-display): Use font-lock, and
1419 font-lock-extend-region-functions in particular, to fontify
1421 (nxml-debug-region): New debugging helper function.
1423 * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside)
1424 (nxml-scan-after-change, nxml-move-tag-backwards):
1425 Adapt for font-lock changes.
1427 * nxml/nxml-util.el (nxml-debug, nxml-debug-change)
1428 (nxml-debug-set-inside, nxml-debug-clear-inside):
1429 New debugging functions.
1430 (nxml-with-degradation-on-error): New helper macro.
1432 2008-06-06 Martin Rudalics <rudalics@gmx.at>
1434 * window.el (display-buffer): Remove dead call to get-lru-window.
1436 2008-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * mail/sendmail.el (mail-interactive): Change default.
1440 2008-06-05 John Paul Wallington <jpw@pobox.com>
1442 * bindings.el (completion-ignored-extensions):
1443 Add .p64fsl, .d64fsl, and .dx64fsl.
1445 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * ffap.el (ffap-prompter): Don't use the region.
1449 2008-06-05 Sam Steingold <sds@gnu.org>
1451 * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS
1452 subdirectory to be registered.
1454 2008-06-05 Martin Rudalics <rudalics@gmx.at>
1456 * window.el (display-buffer-function, special-display-p)
1457 (special-display-buffer-names, special-display-regexps)
1458 (special-display-function, same-window-p, same-window-buffer-names)
1459 (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
1460 (pop-up-frame-function, pop-up-windows, even-window-heights)
1461 (split-window-preferred-function, split-height-threshold)
1462 (window--display-buffer-1, display-buffer, pop-to-buffer):
1463 Move from window.c and buffer.c.
1464 (window--splittable-p, window--try-to-split-window)
1465 (window--frame-usable-p, window--display-buffer-2)
1466 (window--even-window-heights): New functions.
1467 (split-width-threshold): New option.
1468 (split-window-preferred-horizontally): Remove.
1470 * cus-start.el: Remove corresponding declarations.
1472 2008-06-05 Sam Steingold <sds@gnu.org>
1474 * vc.el (vc-update): Use `save-some-buffers' instead of signaling
1475 an error on modified buffers.
1477 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * progmodes/etags.el (tags-verify-table): Be careful to use and update
1480 tags-file-name and tags-table-list from the right buffer.
1481 (tags-table-check-computed-list, tags-table-extend-computed-list)
1482 (find-tag-noselect): Use with-current-buffer.
1484 * emacs-lisp/trace.el (trace-entry-message, trace-exit-message):
1487 * minibuffer.el (minibuffer-local-must-match-filename-map):
1488 Declare obsolete alias for the old name.
1490 * abbrev.el (unexpand-abbrev): Better preserve markers.
1492 2008-06-05 Glenn Morris <rgm@gnu.org>
1494 * emacs-lisp/autoload.el (autoload-rubric): New function,
1495 extracted from autoload-ensure-default-file.
1496 (autoload-ensure-default-file): Use autoload-rubric.
1498 * cus-dep.el (generated-custom-dependencies-file): Doc fix.
1499 (custom-dependencies-no-scan-regexp): New variable.
1500 (custom-make-dependencies): Use with-temp-buffer and autoload-rubric.
1501 Don't scan files matching custom-dependencies-no-scan-regexp.
1502 Disable undo in the output buffer. Remove kept-new-versions wackiness.
1504 * finder.el (finder-headmark): Initialize and add doc string.
1505 (generated-finder-keywords-file): Doc fix.
1506 (finder-no-scan-regexp): New variable.
1507 (finder-compile-keywords): Use a single let binding.
1508 Disable undo in the output buffer. Use autoload-rubric.
1509 Use mapc rather than mapcar. Don't scan files matching
1510 finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name
1511 rather than concat. Use directory-files to do regexp matching.
1512 No need to require jka-compr.
1513 (finder-list-keywords): Remove un-needed set-buffer. Disable undo.
1514 (finder-list-matches): Disable undo.
1515 (finder-commentary): Use let rather than let*. Disable undo.
1516 (finder-current-item): Use zerop.
1517 (finder-mode): Use define-derived-mode.
1518 (finder-exit): Doc fix. Use dolist.
1520 * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule.
1521 (custom-deps): Don't require $(lisp)/cus-load.el.
1522 (custom-deps, finder-data): Don't depend on autoloads.
1523 Should not be needed now, and doing so was causing make install to
1524 re-dump emacs post-bootstrap.
1525 (bootstrap-after): Don't run update-elclist, since modifying Makefile.in
1526 mid-build forces some things to be rebuilt.
1528 2008-06-05 Miles Bader <miles@gnu.org>
1531 (face-remap-add-relative): Renamed from `add-relative-face-remapping'.
1532 (face-remap-remove-relative): Renamed from
1533 `remove-relative-face-remapping'.
1534 (face-remap-reset-base): Renamed from
1535 `set-default-base-face-remapping'.
1536 (face-remap-set-base): Renamed from `set-base-face-remapping'.
1537 (text-scale-increase): Renamed from `increase-buffer-face-height'.
1538 (text-scale-decrease): Renamed from `decrease-buffer-face-height'.
1539 (text-scale-adjust): Renamed from `adjust-buffer-face-height'.
1541 * face-remap.el (variable-pitch-mode): Autoload.
1543 2008-06-04 Sam Steingold <sds@gnu.org>
1545 * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers):
1546 Generate extra status headers for a Mercurial tree.
1548 2008-06-04 John Paul Wallington <jpw@pobox.com>
1550 * echistory.el (electric-history-map): Define within defvar.
1553 * font-lock.el (font-lock-turn-off-thing-lock)
1554 (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer):
1555 Use `bound-and-true-p'.
1556 (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords):
1559 * international/ccl.el (define-ccl-program): Add `doc-string'
1562 2008-06-04 Juanma Barranquero <lekktu@gmail.com>
1564 * face-remap.el (variable-pitch-mode): Reflow docstrings.
1565 (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
1567 2008-06-04 Trent W. Buck <trentbuck@gmail.com> (tiny change)
1569 * emacs-lisp/rx.el (rx): Doc fix.
1571 2008-06-04 Markus Triska <markus.triska@gmx.at>
1573 * image-mode.el (image-mode-map): Add doc-view-inspired bindings.
1575 2008-06-04 Miles Bader <miles@gnu.org>
1577 * face-remap.el (adjust-buffer-face-height): New function.
1578 Add autoloaded keybindings in ctl-x-map.
1579 (increase-buffer-face-height, decrease-buffer-face-height):
1580 Simplify interactive spec to just "p". Remove autoloaded keybindings.
1582 2008-06-03 Chong Yidong <cyd@stupidchicken.com>
1584 * simple.el (line-move-1): If we did not move as far as desired,
1585 ensure that point-left and point-entered hooks are called.
1587 2008-06-03 Sam Steingold <sds@gnu.org>
1589 * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines.
1591 2008-06-03 John Paul Wallington <jpw@pobox.com>
1593 * progmodes/make-mode.el (makefile-cleanup-continuations)
1594 (makefile-warn-suspicious-lines, makefile-warn-continuations):
1595 Use `derived-mode-p'.
1597 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * Makefile.in (update-elclist): Impose a fixed collation for sorting.
1602 2008-06-03 Miles Bader <miles@gnu.org>
1604 * face-remap.el: New file.
1605 * Makefile.in (ELCFILES): Add face-remap.elc.
1607 2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * progmodes/flymake.el (flymake-process-filter): Make sure the source
1612 * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
1613 * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
1614 * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,
1615 * obsolete/auto-show.el, obsolete/hscroll.el:
1616 Remove packages that were obsolete in Emacs-20, or that were obsolete
1617 in Emacs-21 and do not contain any more code.
1619 * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if
1620 vc-client-mode is not set.
1622 * image-mode.el (image-mode-map): Suppress key map and bind `q'.
1623 * doc-view.el (doc-view-mode-map): Inherit from image-mode-map.
1625 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be
1626 yet a bit more clever at distinguishing / from /.
1628 2008-06-03 Kenichi Handa <handa@m17n.org>
1630 * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc.
1632 2008-06-03 Jihyun Cho <jihyun.jo@gmail.com>
1634 * language/hanja-util.el: New file.
1636 2008-06-03 Glenn Morris <rgm@gnu.org>
1638 * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like):
1639 Check that end-of-word follows "type".
1641 2008-06-02 Daiki Ueno <ueno@unixuser.org>
1643 * epa-file.el (epa-file-write-region): Write the entire buffer
1644 content if START is nil.
1646 2008-06-01 Thomas Morgan <tlm@thomasmorgan.net> (tiny change)
1648 * select.el (x-get-selection): Fix typo.
1650 2008-06-01 Juanma Barranquero <lekktu@gmail.com>
1652 * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify.
1653 (describe-char): Use `looking-at-p', `string-match-p' when possible.
1655 2008-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1657 * tar-mode.el (tar-header-block-summarize): Ensure one space around
1660 2008-05-31 John Paul Wallington <jpw@pobox.com>
1662 * help-fns.el (describe-variable-custom-version-info):
1663 Handle dotted `package-version' info.
1665 2008-05-31 Juanma Barranquero <lekktu@gmail.com>
1667 * icomplete.el (icomplete-get-keys): Doc fix. Use `when'.
1669 2008-05-31 Dan Nicolaescu <dann@ics.uci.edu>
1671 * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file
1672 names and improve support for unregistered files.
1674 2008-05-31 Glenn Morris <rgm@gnu.org>
1676 * Makefile.in (compile-last): Replace tr in `els' assignment with sed.
1677 Remove shell variable `elc'. Split tests to hopefully be more portable.
1678 Fix `sel' assignment.
1680 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
1682 * minibuffer.el (completion-table-dynamic): Doc fix.
1684 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status):
1687 Try and return `unregistered' when applicable.
1689 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1690 Don't encourage naming variables with "-flag".
1692 2008-05-30 Glenn Morris <rgm@gnu.org>
1694 * Makefile.in (update-elclist): Hide the warning when it does not apply,
1695 make it milder when it does.
1696 (autogen-clean): New target.
1697 (maintainer-clean): Use autogen-clean.
1699 * calendar/diary-lib.el (diary-display-function): New name for
1700 diary-display-hook. Keep old name as obsolete alias. Doc fix.
1701 Change custom type and version.
1702 (diary-list-entries-hook, diary-list-entries, diary-simple-display)
1703 (diary-fancy-display): Doc fixes.
1704 (diary-list-entries, diary-include-other-diary-files)
1705 (diary-mail-entries):
1706 Use diary-display-function rather than diary-display-hook.
1708 * calendar/appt.el (appt-check): Use diary-display-function rather than
1710 * calendar/cal-x.el (calendar-dedicate-diary): Update for
1711 diary-display-function replacing diary-display-hook.
1712 * org/org-agenda.el (org-get-entries-from-diary): Also set
1713 diary-display-function.
1715 * calendar/cal-html.el (cal-html-list-diary-entries):
1716 * calendar/cal-menu.el (calendar-mouse-view-diary-entries):
1717 * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY
1718 argument of diary-list-entries rather than setting diary-display-hook.
1720 2008-05-30 Kenichi Handa <handa@m17n.org>
1722 * international/mule-conf.el (utf-8-with-signature): Renamed from
1724 (utf-8-auto): Adjusted for the above change.
1726 * international/mule-diag.el (describe-font): Don't check fontset
1727 here, and just call font-info. Get the default font by from the
1730 2008-05-29 Kenichi Handa <handa@m17n.org>
1732 * international/mule-conf.el (utf-8-sig, utf-8-auto):
1735 * international/mule.el (define-coding-system): Accept :bom for utf-8.
1737 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change)
1739 * international/utf-7.el (utf-7-encode): Use the right escape char
1740 depending on imap/nonimap encoding.
1742 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * minibuffer.el (completion-pcm-all-completions): Add the base-size.
1746 2008-05-29 Juanma Barranquero <lekktu@gmail.com>
1748 * icomplete.el (icomplete-prospects-height): Add :group.
1750 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * icomplete.el (icomplete-prospects-length): Make obsolete.
1753 (icomplete-prospects-height): New var.
1754 (icomplete-completions): Use it.
1756 2008-05-29 David Kastrup <dak@gnu.org>
1758 * autoinsert.el (auto-insert): Add :link.
1760 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * tar-mode.el (tar-header): New field `header-start'.
1763 (tar-header-block-tokenize): Set it when useful.
1764 Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
1765 (tar-header-data-end): New function.
1766 (tar-summarize-buffer): Use it.
1767 (tar-next-line): Fix goal column for long usernames.
1768 (tar-expunge-internal): Use header-start.
1769 (tar-rename-entry): Handle ustar-style long names.
1770 (tar-alter-one-field): Add optional `descriptor' argument.
1771 (tar-subfile-save-buffer): Use it.
1773 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1775 * tar-mode.el (tar-header): New field `header-start'.
1776 (tar-header-block-tokenize): Set header-start for longlink entries.
1777 (tar-expunge-internal): Use header-start to expunge longlink entries.
1779 * files.el (hack-local-variables): Don't signal an error if the local
1780 variable section is not properly terminated.
1782 * emacs-lisp/easymenu.el (easy-menu-convert-item)
1783 (easy-menu-convert-item-1): Move the duplicate-generation outside of
1784 the caching so it also works for identical entries.
1786 * tar-mode.el (tar-summarize-buffer): Fix reporter initialization.
1787 (tar-mode): Use write-region-annotate-functions rather than
1788 write-contents-functions.
1789 (tar-extract): Remove unused var `pos'.
1790 (tar-subfile-save-buffer): Remove unused var `following-descs'.
1791 (tar-mode-write-file): Remove.
1792 (tar-write-region-annotate): New function.
1794 * progmodes/flymake.el (flymake-save-buffer-in-file):
1795 * shadowfile.el (shadow-copy-file):
1796 * arc-mode.el (archive-*-write-file-member):
1797 * files.el (diff-buffer-with-file):
1798 * subr.el (with-temp-file): Pass nil to write-region.
1799 * jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
1801 * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is
1804 * files.el (basic-save-buffer-2): Pass nil rather than (point-min)
1807 2008-05-28 Glenn Morris <rgm@gnu.org>
1809 * Makefile.in (update-elclist): Work around non-portability of "\"
1810 in various implementations of echo.
1812 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1814 * international/mule-diag.el (describe-current-coding-system):
1815 Don't assume selection-coding-system is always defined.
1817 * tar-mode.el: Use defstruct and markers.
1819 (tar-header): Use defstruct. Add `data-start' field.
1820 (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header.
1821 (tar-desc-data-start): Remove (now called tar-header-data-start).
1822 (tar-roundup-512): New fun.
1823 (tar-header-block-tokenize): Receive a buffer position rather than
1824 a string. Handle @longLink here, be more careful about it.
1825 Create a marker for data-start.
1826 (tar-summarize-buffer): Don't handle @LongLink here any more.
1827 (tar-expunge-internal, tar-subfile-save-buffer): Don't update
1828 data-start on the following entries any more.
1829 (tar-chown-entry, tar-chgrp-entry): Use read-number.
1831 * tar-mode.el: Use buffer-swap-text to separate summary and raw data.
1832 (tar-header-offset): Remove.
1833 (tar-parse-info, tar-header-offset, tar-file-name-coding-system):
1834 Not permanent any more.
1835 (tar-data-buffer): New var.
1836 (tar-data-swapped-p, tar-change-major-mode-hook)
1837 (tar-mode-kill-buffer-hook): New funs.
1838 (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert)
1839 (tar-extract, tar-copy, tar-expunge-internal, tar-expunge)
1840 (tar-clear-modification-flags, tar-alter-one-field)
1841 (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file):
1844 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
1846 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
1847 (vc-dir-resynch-file): ... this. Update callers.
1848 Use vc-string-prefix-p. Ignore directory args.
1849 (vc-string-prefix-p): CSE.
1850 (vc-resynch-buffer): Restore conditional.
1852 * vc-hooks.el (vc-after-save): Improve test.
1853 (vc-mode-line): Fix indentation.
1855 2008-05-27 Chong Yidong <cyd@stupidchicken.com>
1857 * calendar/parse-time.el (parse-time-months)
1858 (parse-time-weekdays): Add long-form month and day names.
1860 2008-05-27 Glenn Morris <rgm@gnu.org>
1862 * Makefile.in (update-elclist): Make errors in final sed non-fatal.
1864 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1866 * vc-dispatcher.el (vc-string-prefix-p): New function.
1867 (vc-dir-parent-marked-p): Use it.
1869 2008-05-27 Dan Nicolaescu <dann@ics.uci.edu>
1871 * vc.el (Problems): Remove fixed issues.
1872 (vc-expand-dirs): Avoid returning directories.
1873 (vc-dir): Fix C-x v v binding.
1874 (vc-make-backend-object): Fix name.
1875 (vc-dir-show-fileentry): Fix docstring.
1876 (vc-dir-refresh): Use vc-dir-backend. Fix docstring.
1877 (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring.
1878 Reset the state for directories.
1879 (vc-dir-headers): Align labels.
1880 (vc-default-status-printer): Do no call prettify-state-info.
1881 (vc-deduce-fileset): Replace implementation with one based on a
1882 working older version.
1883 (vc-next-action): Use the new form of vc-deduce-fileset.
1884 Fix dealing with unregistered files.
1886 * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating.
1887 (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu.
1888 (vc-dir-child-files): New function.
1889 (vc-dir-node-directory): New function.
1890 (vc-dir-update, vc-dir-parent-marked-p)
1891 (vc-dir-children-marked-p, vc-dir-mark-all-files)
1892 (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
1894 * vc-cvs.el (vc-cvs-status-extra-headers): Align labels.
1896 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * diff-mode.el (diff-context-mid-hunk-header-re): New const.
1899 (diff-font-lock-keywords, diff-context->unified)
1900 (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk)
1901 (diff-hunk-text, diff-find-source-location): Use it.
1902 (diff-post-command-hook): Let the user edit the hunk headers.
1904 2008-05-26 Andreas Schwab <schwab@suse.de>
1906 * vc.el (vc-default-prettify-state-info): Fix formatting of an
1909 * tar-mode.el (tar-summarize-buffer): Comment fix.
1911 2008-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format.
1915 2008-05-26 Glenn Morris <rgm@gnu.org>
1917 * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler.
1919 2008-05-25 John Paul Wallington <jpw@pobox.com>
1921 * proced.el (proced-next-line, proced-previous-line):
1922 Avoid calling `next-line' and `previous-line' from Lisp code.
1924 2008-05-25 Ed Reingold <reingold@emr.cs.iit.edu>
1926 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
1927 Use diary-ordinal-suffix.
1929 2008-05-24 Juanma Barranquero <lekktu@gmail.com>
1931 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs)
1932 (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows)
1933 (edebug-save-displayed-buffer-points, edebug-initial-mode)
1934 (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro)
1935 (edebug-print-length, edebug-print-level, edebug-print-circle)
1936 (edebug-unwrap-results, edebug-on-error, edebug-on-quit)
1937 (edebug-global-break-condition, edebug-sit-for-seconds):
1938 Remove spurious * from defcustom docstrings.
1939 (edebug-unwrap*, edebug-signal, edebug-eval-display):
1940 Improve argument/docstring consistency.
1941 (edebug-test-coverage, edebug-gensym, edebug-read)
1942 (edebug-top-level-nonstop, edebug-eval-result-list)
1943 (edebug-eval-redisplay, edebug-trace): Fix typos in docstring.
1944 (edebug-eval-defun, edebug-eval-top-level-form, edebug)
1945 (edebug-display-freq-count): Reflow docstrings.
1946 (edebug-restore-status): Doc fix.
1948 2008-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * proced.el (proced-header-line): Use the :align-to 0 feature
1951 rather than computing the corresponding position manually.
1952 (proced-update): Don't hardcode point-min==1.
1954 2008-05-24 Alan Mackenzie <acm@muc.de>
1956 * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
1957 if c-file-style is set to a non-string.
1959 (c-neutralize-CPP-line): Surround by `save-excursion'.
1960 (c-neutralize-syntax-in-CPP): Optimize for speed.
1962 2008-05-24 Glenn Morris <rgm@gnu.org>
1964 * Makefile.in (update-elclist): New target, to update ELCFILES.
1965 (bootstrap-after): Run update-elclist.
1967 2008-05-24 Ulf Jasper <ulf.jasper@web.de>
1969 * icalendar.el (icalendar-version): Increase to "0.19".
1970 (icalendar--date-style): New function.
1971 (icalendar--datetime-to-diary-date): Doc fix.
1972 Use icalendar--date-style.
1973 (icalendar--datestring-to-isodate): Doc fix. Handle iso date style.
1974 (icalendar--convert-yearly-to-ical)
1975 (icalendar--convert-recurring-to-diary): Handle iso date style,
1976 use icalendar-date-style.
1978 2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
1980 * vc.el (vc-delete-file): Make sure the buffer is deleted and
1981 vc-dir buffers are updated.
1983 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1985 * vc.el (vc-delete-file): Don't try to resynch the buffer.
1987 2008-05-23 Paul Rivier <paul.r.ml@gmail.com>
1989 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
1990 * textmodes/reftex.el (reftex-extra-bindings-map): New var.
1991 (reftex-extra-bindings): Use it.
1993 * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
1994 away from the user-reserved keys.
1996 * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix):
1998 (ada-create-keymap): Use them.
2000 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * emacs-lisp/regexp-opt.el (regexp-opt): Always return
2003 a properly-grouped regexp.
2005 2008-05-23 Juanma Barranquero <lekktu@gmail.com>
2007 * progmodes/cap-words.el (capitalized-words-mode):
2008 Fix typos in docstring.
2010 2008-05-23 Kenichi Handa <handa@m17n.org>
2012 * international/mule-conf.el: Don't define the charset `emacs'
2013 here, just put :docstring, :short-name, and :long-name.
2015 2008-05-22 Kenichi Handa <handa@m17n.org>
2017 * international/mule-diag.el (font-show-log): Limit each listing
2020 2008-05-23 Nick Roberts <nickrob@snap.net.nz>
2022 * progmodes/gdb-ui.el (gdb-enable-debug): New function.
2023 (gdb-annotation-rules): New entry for "thread-changed".
2024 (gdb-thread-changed): New function.
2026 2008-05-23 Glenn Morris <rgm@gnu.org>
2028 * Makefile.in (SOURCES): Remove, unused.
2029 (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
2030 (TAGS, TAGS-LISP): Use a single rule with multiple targets.
2031 Exclude more '*loaddefs' files.
2032 (compile-always): Simplify '.elc' deletion.
2034 2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
2037 (vc-bzr-revision-completion-table): Handle `boundaries' argument.
2039 * minibuffer.el (completion-boundaries): Change calling
2040 convention, so `string' has the same semantics as in
2041 try-completion and all-completions.
2042 (completion-table-with-context, completion--embedded-envvar-table)
2043 (completion--file-name-table)
2044 (completion-pcm--find-all-completions): Adjust code accordingly.
2046 2008-05-22 Chong Yidong <cyd@stupidchicken.com>
2048 * image-mode.el (image-mode-winprops): Add argument CLEANUP to
2049 prune image-mode-winprops-alist, preventing it from growing
2051 (image-mode-reapply-winprops): Use it.
2053 2008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
2055 * net/netrc.el (netrc-machine): Always match if the port is not given.
2057 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * minibuffer.el (completion-pcm--find-all-completions):
2060 Don't add pseudo-completions.
2062 * icomplete.el (icomplete-eoinput): Remove.
2063 (icomplete-overlay): New var to replace it.
2064 (icomplete-tidy): Rewrite.
2065 (icomplete-exhibit): Use an overlay.
2066 (icomplete-completions): Use completion-all-sorted-completions.
2067 Obey completion-ignore-case.
2069 * files.el (locate-dominating-file): Accept non-existing argument.
2070 (project-find-settings-file): Rewrite, using locate-dominating-file.
2072 2008-05-22 Kenichi Handa <handa@m17n.org>
2074 * faces.el (font-weight-table, font-slant-table, font-width-table):
2075 Delete them. Don't call internal-set-font-style-table.
2077 * international/mule-diag.el (font-show-log): New function.
2079 * international/fontset.el (script-representative-chars): Add more
2080 chars for latin. Add data for symbol.
2081 (setup-default-fontset): Add entries for phonetic, armenian, and symbol.
2083 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2085 * minibuffer.el (completion-all-sorted-completions): New var.
2086 (completion--flush-all-sorted-completions)
2087 (completion-all-sorted-completions): New functions.
2088 (minibuffer-force-complete): New command.
2090 2008-05-21 Glenn Morris <rgm@gnu.org>
2092 * files.el (c-postprocess-file-styles): Declare for compiler.
2094 * Makefile.in: Allow for parallel byte-compiling.
2095 (ELCFILES): New variable.
2096 (.el.elc): Remove prerequisites from suffix rule. Print a message.
2097 (compile-first, compile-main, compile-last): New targets.
2098 (compile-always): Simplify - delete .elc files, then `make compile'.
2100 * Makefile.in (compile-calc): Use glob rather than find.
2101 ($(lisp)/progmodes/cc-mode.elc): Use $@.
2103 * eshell/esh-module.el: No need for cl when compiling.
2105 * eshell/eshell.el (eshell-defgroup): New alias.
2106 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2107 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2108 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2109 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2110 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2111 * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup.
2112 Autoload the custom group. Set generated-autoload-file.
2113 * eshell/em-basic.el, eshell/esh-module.el: Require eshell,
2114 for eshell-defgroup.
2115 * eshell/esh-module.el (eshell-load-defgroups): Remove.
2116 Require esh-groups rather than loading it.
2118 2008-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2120 * proced.el (proced-header-line): New variable and new function.
2121 (proced-mode): Set header-line-format.
2122 (proced-update): Set proced-header-line.
2123 (proced-send-signal): Use proced-header-line.
2125 2008-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * macros.el (insert-kbd-macro): Use prin1-char.
2129 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * minibuffer.el (completion-boundaries): New function.
2132 (completion--some): Delay errors.
2133 (complete-with-action, completion-table-with-context):
2134 Handle `boundaries' case.
2135 (completion--try-word-completion): Avoid partial-completion
2136 when the user hasn't entered anything yet.
2137 (minibuffer-local-map, minibuffer-local-filename-completion-map)
2138 (minibuffer-local-must-match-map, minibuffer-local-completion-map)
2139 (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
2140 Setup default keybindings.
2141 (completion--embedded-envvar-re): New var.
2142 (completion--embedded-envvar-table): Use it. Handle `boundaries' case.
2143 (completion--file-name-table): Handle `boundaries' case.
2144 (completion-pcm--pattern->regex): Avoid pathological backtracking.
2145 (completion-pcm--all-completions): Add a `prefix' arg.
2146 (completion-pcm--find-all-completions): New function.
2147 (completion-pcm-all-completions, completion-pcm-try-completion):
2150 * icomplete.el (icomplete-completions): Don't use `predicate' with
2151 a table of a different type than `candidates'.
2153 2008-05-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2155 * proced.el (proced-goal-column): Rename from proced-procname-column.
2156 (proced-goal-header-re): Rename from proced-procname-column-regexp.
2157 (proced-move-to-goal-column): Rename from proced-move-to-procname.
2158 (proced-header-face, proced-header-regexp): Remove.
2159 (proced-font-lock-keywords): Remove proced-header-face.
2160 (proced-header-alist, proced-sorting-schemes-re): New variables.
2161 (proced): Rename Proced buffer to *Proced*.
2162 (proced-next-line, proced-previous-line): New commands.
2163 (proced-do-mark, proced-do-mark-all, proced-toggle-marks)
2164 (proced-hide-processes): Do not treat first line as special.
2165 (proced-header-space): New function.
2166 (proced-update): Use header-line-format.
2167 Initialize proced-header-alist and proced-sorting-schemes-re.
2168 Set proced-goal-column. Include proced-command in mode-name.
2169 (proced-send-signal): Use header-line-format for *Marked
2171 (proced-sort): Restrict minibuffer completion to applicable
2173 (proced-sorting-scheme-p): Use proced-sorting-schemes-re.
2175 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * icomplete.el (icomplete-simple-completing-p):
2178 Allow icomplete-with-completion-tables to say "use it everywhere".
2179 (icomplete-completions): Obey completion-styles. Try to accommodate
2180 partial-completion style.
2182 2008-05-20 Michael Olson <mwolson@gnu.org>
2184 * files.el (project-find-settings-file): Change concat to
2187 2008-05-19 Tom Tromey <tromey@redhat.com>
2189 * files.el (normal-mode): Call hack-project-variables.
2190 (hack-local-variables-confirm): Add 'project' argument.
2191 (hack-local-variables-apply): New function.
2192 (hack-local-variables): Use it.
2193 (project-class-alist, project-directory-alist): New variables.
2194 (project-get-alist): New function.
2195 (project-collect-bindings-from-alist)
2196 (project-collect-binding-list, set-directory-project)
2197 (project-find-settings-file, project-define-from-project-file)
2198 (hack-project-variables): New functions.
2200 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec.
2204 2008-05-19 Juanma Barranquero <lekktu@gmail.com>
2206 * faces.el (font-weight-table): Fix typo in docstring.
2208 2008-05-18 David Hull <david@snap.com> (tiny change)
2210 * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow.
2211 (vc-hg-annotate-command): Allow white space before version number.
2213 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2215 * calc/calc-yank.el (calc-register-alist): New variable.
2216 (calc-set-register, calc-get-register, calc-copy-to-register)
2217 (calc-insert-register, calc-add-to-register, calc-append-to-register)
2218 (calc-prepend-to-register): New functions.
2220 * calc/calc-ext.el (calc-init-extensions): Add keybindings for
2221 `calc-copy-to-register' and `calc-insert-register'.
2222 Autoload new register functions.
2224 * calc/calc-help.el (calc-r-prefix-help): Add help for register
2227 2008-05-18 Dan Nicolaescu <dann@ics.uci.edu>
2229 * vc.el (Todo): Add known problems.
2230 (vc-dir-backend): New variable.
2232 (vc-make-backend-object, vc-generic-status-printer)
2233 (vc-generic-state, vc-generic-status-fileinfo-extra)
2234 (vc-dir-extra-menu): Use it.
2235 (vc-generic-dir-headers): Remove, unused.
2237 * vc-dispatcher.el (vc-dir-previous-directory): Rename from
2238 vc-dir-prev-directory for consistency with vc-dir-previous-line.
2239 (vc-dir-mode-map): Fix bindings.
2241 * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding.
2243 2008-05-18 Jay Belanger <jay.p.belanger@gmail.com>
2245 * calc/calc-yank.el (calc-kill): Make sure that only the stack is
2247 (calc-kill-region): Kill entire lines.
2249 2008-05-17 Glenn Morris <rgm@gnu.org>
2251 * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and
2252 simplify initial value.
2253 (defezimage): Drop support for Emacs without defimage, use a featurep
2254 test rather than fboundp when defining, drop with-no-warnings.
2255 (ezimage-insert-over-text): Move featurep test inside
2256 add-text-properties.
2258 * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format.
2260 * net/tramp.el (top-level): Load auth-source when compiling.
2262 * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv.
2264 2008-05-17 Andreas Schwab <schwab@suse.de>
2266 * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding.
2268 2008-05-17 Dan Nicolaescu <dann@ics.uci.edu>
2270 * vc.el (vc-annotate-show-diff-revision-at-line): Change
2271 vc-diff-internal arg to match what vc-deduce-fileseset returns now.
2273 2008-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2275 * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it.
2277 2008-05-17 Jim Meyering <meyering@redhat.com>
2279 * ido.el (ido-save-history): Do not emit a trailing newline at the
2280 end of the ido history file.
2282 2008-05-16 John Paul Wallington <jpw@pobox.com>
2284 * vc-dispatcher.el (top-level): Revert previous change: require cl
2287 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2289 * vc.el (vc-default-status-printer)
2290 (vc-default-prettify-state-info): Enhance the state prettyprinter
2291 to deal better with unknown states and indirect through it when
2292 painting vc-dir buffers.
2294 2008-05-16 John Paul Wallington <jpw@pobox.com>
2296 * vc-dispatcher.el (top-level): Don't require cl when compiling.
2297 (vc-dir-mode-map): Fix backquote.
2298 (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'.
2300 2008-05-16 Michael Albinus <michael.albinus@gmx.de>
2302 * net/tramp.el (tramp-handle-write-region): Fix check for short track.
2303 Reported by Glenn Morris <rgm@gnu.org>.
2305 2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
2307 * vc.el: Remove my analysis of SCCS/RCS concurrency issues from
2308 the end of the file, it was good work at one time but has been
2309 stale since 1995 and may now be actively misleading.
2310 * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the
2311 CVS repository and module (assumptions for the latter a bit iffy).
2312 * vc-svn.el (vc-svn-status-extra-headers): Extract and display the
2315 2008-05-16 Juanma Barranquero <lekktu@gmail.com>
2317 * vc-rcs.el (vc-rcs-create-tag):
2318 * vc-sccs.el (vc-sccs-create-tag):
2319 Fix typo in error message and pass backend arg.
2321 2008-05-15 Michael Albinus <michael.albinus@gmx.de>
2323 * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'.
2325 2008-05-15 Teodor Zlatanov <tzz@lifelogs.com>
2327 * net/tramp.el: Load auth-source library.
2328 (tramp-read-passwd): Use it for password, not login.
2330 2008-05-15 Shigeru Fukaya <shugeru.fukaya@gmail.com>
2332 * ses.el (ses-goto-print): Use move-to-column rather than forward-char.
2333 (ses-print-cell): Use string-width, truncate-string-to-width,
2334 delete-region rather than length, substring, delete-char.
2335 (ses-setup): Set inhibit-point-motion-hooks to t.
2336 Calculate position by actually moving point rather than just using
2337 unibyte character length.
2338 (ses-mode): Set indent-tabs-mode to nil.
2339 (ses-center): Use string-width rather than length.
2341 2008-05-15 Eric S. Raymond <esr@snark.thyrsus.com>
2343 * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el,
2344 * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el:
2345 Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to
2346 vc-*-create-tag and vc-*-retrieve-tag respectively.
2348 * vc-dispatcher.el: Fix an incorrect buffer name and remove an
2351 * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move.
2353 * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption
2356 2008-05-15 Glenn Morris <rgm@gnu.org>
2358 * vc-hooks.el (vc-directory-resynch-file): Fix declaration.
2360 * org/org-exp.el (org-infojs-options-inbuffer-template):
2363 * progmodes/cc-mode.el (declare-function): Add compat definition.
2364 (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
2366 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
2368 * vc-dispatcher.el (vc-dispatcher-selection): Change the returned
2369 list to a cons so the caller can get back both expanded and
2370 unexpanded filesets.
2371 * vc.el (vc-deduce-fileseset, vc-next-action, vc-diff-internal)
2372 (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback):
2373 Change handling of selection-set returns as required.
2375 2008-05-15 John Paul Wallington <jpw@pobox.com>
2377 * add-log.el (top-level): Don't require cl when compiling.
2379 * arc-mode.el (archive-add-new-member): Use `derived-mode-p'.
2380 (archive-*-extract): Use `zerop'.
2381 (archive-*-write-file-member): Use `or', use `zerop'.
2383 * diff-mode.el (diff-current-defun): Use `buffer-local-value'.
2385 * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst.
2386 (ibuffer-mark-interactive, ibuffer-set-mark)
2387 (ibuffer-insert-buffer-line, ibuffer-redisplay-current)
2388 (ibuffer-map-lines, ibuffer-switch-format)
2389 (ibuffer-update-title-and-summary)
2390 (ibuffer-redisplay-engine): Use it.
2392 * ibuf-ext.el (ibuffer-interactive-filter-by-mode)
2393 (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
2394 (define-ibuffer-filter mode, define-ibuffer-filter used-mode)
2395 (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
2396 (ibuffer-mark-read-only-buffers)
2397 (ibuffer-mark-dired-buffers): Use `buffer-local-value'.
2399 * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks)
2400 (define-ibuffer-column, define-ibuffer-sorter)
2401 (define-ibuffer-op, define-ibuffer-filter): Add declarations
2402 containing indentation specs, replacing equivalent top-level
2403 forms that set `lisp-indent-function' properties.
2404 (define-ibuffer-op): Use `derived-mode-p'.
2405 (define-ibuffer-filter): Remove redundant `concat' call.
2407 2008-05-14 Michael Albinus <michael.albinus@gmx.de>
2409 * net/tramp.el (tramp-echo-mark): Update docstring.
2410 (tramp-echo-mark-marker): New defconst.
2411 (tramp-check-for-regexp): Use it.
2413 2008-05-14 Eric S. Raymond <esr@snark.thyrsus.com>
2415 * vc.el (vc-deduce-fileset): Do the right thing when visting a
2416 buffer (say, a log buffer or diff buffer) with a vc-dir buffer
2419 2008-05-14 John Paul Wallington <jpw@pobox.com>
2421 * international/mule.el (convert-define-charset-argument):
2422 Remove period from end of error message.
2423 (coding-system-mnemonic): Doc fix.
2424 (ctext-pre-write-conversion): Doc fix.
2426 2008-05-14 Simon Marshall <simon@gnu.org>
2428 * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "."
2429 from its default value and give it the risky-local-variable
2430 property (CVE-2008-2142).
2432 2008-05-14 Kenichi Handa <handa@m17n.org>
2434 * language/korean.el ("Korean"): Set `iso639-language'
2437 * language/japanese.el ("Japanese"): Set `iso639-language'
2440 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2441 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK")
2442 ("Chinese-GB18030"): Set `iso639-language' property to `zh'.
2444 * international/mule-cmds.el (set-language-environment):
2445 Set current-iso639-language.
2447 * international/fontset.el (setup-default-fontset): For kana, han,
2448 hangul, and cjk-misc, move an entry with font-spec at the end.
2449 (generate-fontset-menu): Exclue fontset-auto* from the list.
2451 * composite.el (compose-chars-after): Assume that WINDOW is always
2454 * faces.el (font-weight-table, font-slant-table)
2455 (font-swidth-table): Declare them by defconst. Change the format
2456 of elements. Call internal-set-font-style-table after their
2458 (face-valid-attribute-values): Call font-family-list. Get values
2459 for width, weight, and slant from font-xxx-table.
2461 * cus-face.el (custom-face-attributes): Add "thin" for :weight.
2463 2008-05-13 John Paul Wallington <jpw@pobox.com>
2465 * ibuffer.el (ibuffer-buffer-file-name): New function.
2466 (define-ibuffer-column filename): Use it.
2468 * ibuf-ext.el (define-ibuffer-filter filename): Use it.
2470 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
2472 * talk.el (talk): Simplify. Pass display arg to talk-add-display
2474 (talk-add-display): Simplify. Accept only string args.
2476 2008-05-13 Jay Belanger <jay.p.belanger@gmail.com>
2478 * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'.
2480 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * Makefile.in (bootstrap-prepare): Don't chmod files.
2483 (autoloads): Do it here instead, where it's actually needed.
2485 2008-05-13 Chong Yidong <cyd@stupidchicken.com>
2487 * tool-bar.el (tool-bar-make-keymap): Account for the optional
2488 KEY-BINDING-DATA field in menu-item list.
2490 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2492 * dired.el (dired-read-dir-and-switches): Move things about to use less
2493 recursion during macroexpansion.
2495 * dired.el (dired-read-dir-and-switches): Use read-file-name.
2497 * dired.el (dired-read-dir-and-switches): Ignore ., .., and
2498 completion-ignored-extension directories if there's something else.
2499 (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert)
2500 (dired-remember-marks, dired-undo, dired-build-subdir-alist)
2501 (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark)
2502 (dired-toggle-marks, dired-change-marks, dired-unmark-all-files):
2503 buffer-read-only -> inhibit-read-only.
2505 2008-05-12 Eric S. Raymond <esr@snark.thyrsus.com>
2507 * vc.el (vc-expand-dirs): Stop this function from tossing out
2508 explicitly specified files.
2510 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil
2515 2008-05-12 Dan Nicolaescu <dann@ics.uci.edu>
2517 * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect
2518 cons. Use vc-annotate-backend.
2519 (with-vc-file, edit-vc-file): Remove unused macros.
2521 2008-05-12 Teodor Zlatanov <tzz@lifelogs.com>
2523 * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'.
2524 (smtpmail-try-auth-methods): Use it.
2526 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that
2529 (setf (nthcdr ..) ..) doesn't require CL at runtime.
2531 2008-05-11 Carsten Dominik <dominik@science.uva.nl>
2533 * org/org.el (org-modules): Repair problems with loading org-jsinfo.org.
2535 2008-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr)
2538 (vc-bzr-revision-completion-table): Use process-file.
2539 (vc-bzr-working-revision): Pass relative file names.
2541 * diff-mode.el (diff-hunk-header-re): Refine the regexp.
2543 2008-05-11 Juri Linkov <juri@jurta.org>
2545 * wid-edit.el (widget-image-directory): Change default image data
2546 subdirectory from "custom" to "images/custom".
2548 * info.el (Info-next-preorder): Let-bind `Info-history' to nil
2549 before recursive call to `Info-next-preorder' to not add
2550 intermediate nodes to the history.
2552 * isearch.el: Put isearch-scroll property on recenter-top-bottom.
2554 * emulation/cua-base.el: Put isearch-scroll property
2555 on cua-scroll-up and cua-scroll-down.
2557 2008-05-11 Eric S. Raymond <esr@snark.thyrsus.com>
2559 * vc-hooks.el (vc-recompute-state): Remove (dead code).
2561 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
2563 * vc-dispatcher.el (ewoc): Require.
2564 (vc-log-edit, vc-buffer-sync): Declare for byte compiler.
2566 * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if.
2568 2008-05-10 Chong Yidong <cyd@stupidchicken.com>
2570 * term/w32-win.el (x-colors):
2571 * term/mac-win.el (x-colors):
2572 * term/x-win.el (x-colors): Re-order colors.
2574 2008-05-10 Reiner Steib <reiner.steib@gmx.de>
2576 * smerge-mode.el (smerge-command-prefix): Fix custom type.
2578 2008-05-10 Eric S. Raymond <esr@snark.thyrsus.com>
2580 * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory):
2581 New functions implementing motion to next and previous directory.
2583 * vc-arch.el (vc-arch-command):
2584 * vc-bzr.el (vc-bzr-command):
2585 * vc-cvs.el (vc-cvs-command):
2586 * vc-dispatcher.el (vc-do-command):
2587 * vc-git.el (vc-git-command):
2588 * vc-hg.el (vc-hg-command):
2589 * vc-mcvs.el (vc-mvcs-command):
2590 * vc-mtn.el (vc-mtn-command):
2591 * vc-sccs.el (vc-sccs-command, vc-sccs-workfile)
2592 (vc-sccs-workfile-unchanged-p):
2593 * vc-svn.el (vc-svn-command, vc-svn-create-repo):
2594 * vc-rcs.el (all methods): Remove assumption about what a nil
2595 argument to vc-do-command means. This means no buffer name needs
2596 to be hardcoded into the dispatcher layer, and it's better to be
2599 * vc-svn.el (vc-svn-dir-state-heuristic): Remove.
2601 2008-05-10 Dan Nicolaescu <dann@ics.uci.edu>
2603 * vc.el: Update todo.
2605 * vc-sccs.el (vc-sccs-dir-status):
2606 * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple
2607 backends and returning up to date files.
2609 * vc-hooks.el (vc-prefix-map): Remove duplicate binding.
2611 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2614 * vc-hooks.el: Tweak the VC directory bindings. These are now
2615 documented in the manual.
2617 * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p)
2618 (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global.
2619 (vc-dispatcher-selection-set): Allow callers to pass in an
2620 observer flag that says no buffer sync is required.
2621 * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff):
2622 Use the observer flag.
2624 2008-05-09 Michael Albinus <michael.albinus@gmx.de>
2626 * simple.el (start-file-process): Clarify docstring.
2628 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2630 * vc-sccs.el, vc.svn.el, vc-git.el, vc-hg.el, vc-mtn.el:
2631 Remove stub implementations of, and references to, wash-log.
2632 * vc-rcs.el (vc-rcs-comment-history):
2633 * vc-cvs.el (vc-cvs-comment-history):
2634 Inline the code that used to be wash-log.
2636 * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback)
2637 (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment)
2638 (vc-sccs-print-log, vc-sccs-diff): Grok directories.
2639 * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout)
2640 (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment)
2641 (vc-rcs-print-log): Grok directories.
2643 2008-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * vc.el (vc-mark-resolved): Add `backend' argument.
2646 (vc-next-action): Pass it the backend.
2647 (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff)
2648 (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file)
2649 (vc-default-comment-history, vc-default-create-snapshot)
2650 (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate)
2651 (vc-annotate-revision-previous-to-line)
2652 (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision):
2653 * vc-svn.el (vc-svn-checkout):
2654 * vc-mcvs.el (vc-mcvs-checkout):
2655 * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p)
2656 (vc-working-revision, vc-before-save, vc-mode-line):
2657 Prefer vc-call-backend to vc-call so as not to recompute the backend.
2659 * vc.el (vc-deduce-fileset): Don't require the checkout-model and the
2660 state to be consistent since it's often an unwarranted restriction.
2661 Don't return the state either.
2662 (vc-next-action): Check that the state is consistent.
2663 (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert)
2664 (vc-rollback, vc-update): Adapt to new return value of
2667 * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p.
2668 (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
2669 (vc-dispatcher-in-fileset-p): New fun.
2670 (vc-dispatcher-selection-set): Use it to properly handle directories.
2672 2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
2674 * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
2675 (vc-update): Remove unused let bindings.
2677 2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
2679 * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
2680 (vc-diff, vc-revert, vc-rollback, vc-update):
2681 * vc-dispatcher.el (vc-dispatcher-selection-set):
2682 Get rid of 4 special cases in fileset selection. This involved
2683 changing the return value of (vc-deduce-fileset) so that it passes
2684 back a deduced state as well as a deduced back end.
2686 2008-05-08 Sam Steingold <sds@gnu.org>
2688 * progmodes/compile.el (compilation-minor-mode-map)
2689 (compilation-mode-map): Bind "g" to recompile and "q" to quit-window.
2690 * grep.el (grep-mode-map): Use `set-keymap-parent' to connect it
2691 to `compilation-minor-mode-map' (instead of an explicit `cons').
2693 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
2695 * org/org.el (org-modules, org-format-latex-options):
2696 * org/org-archive.el (org-archive-stamp-time)
2697 (org-archive-save-context-info):
2698 * org/org-faces.el (org-hide):
2699 * org/org-irc.el (org-irc-parse-link):
2700 * org/org-macs.el (org-call-with-arg, org-autoload):
2701 * org/org-mew.el (org-mew-store-link):
2702 * org/org-remember.el (org-remember-store-without-prompt)
2703 (org-remember-templates): Fix typos in docstrings.
2705 * org/org-info.el (org-info-store-link): Remove leftover docstring.
2707 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2708 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2709 (org-bbdb-anniv-split): Fix typos in docstrings.
2711 * org/org-publish.el (org-publish-project-alist): Doc fixes.
2712 (org-publish-use-timestamps-flag): Reflow docstring.
2713 (org-publish-files-alist): Fix typos in docstring.
2715 2008-05-07 Sam Steingold <sds@gnu.org>
2717 * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window
2718 appears to be too aggressive with window removal.
2720 2008-05-08 Michael McNamara <mac@mail.brushroad.com>
2722 * verilog-mode.el (verilog-type-font-keywords): Add leda and 0in
2724 (verilog-pretty-expr): Support lining up assignments which include
2726 (verilog-mode): More portable check for the availability of
2728 (verilog-do-indent): Remove special indent for declarations inside
2729 a parenthetical list. The code is ill-advised, and doesn't work
2730 given the new user defined types.
2731 (verilog-set-auto-endcomments): Enhance function automatic
2732 endcomment to support functions that return user defined types.
2733 (verilog-mode): Add code to tell which-function-mode minor mode
2734 that Verilog supports this feature.
2736 2008-05-08 Eli Zaretskii <eliz@gnu.org>
2738 * epa-file.el: Require epa-hook.
2740 * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook.
2742 * epa-hook.el: Renamed from epa-file-hook.el, to avoid
2743 file-names clashes on 8+3 filesystems. Provide epa-hook.
2745 * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid
2746 file-names clashes on 8+3 filesystems.
2748 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
2750 * org/org.el (org-read-date-get-relative): Interpret lone
2751 weekday abbreviation as relative to today.
2753 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
2755 * abbrev.el (define-abbrev-table):
2756 * composite.el (toggle-auto-composition):
2757 * json.el (json-alist-p, json-plist-p):
2758 * minibuffer.el (completion-table-with-predicate):
2759 * ps-mule.el (ps-mule-external-libraries):
2760 * emacs-lisp/advice.el (ad-special-form-p):
2761 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2762 * eshell/em-smart.el (eshell-review-quick-commands):
2763 * progmodes/python.el (python-comment-line-p, python-blank-line-p)
2764 (python-skip-out, python-check-comint-prompt):
2765 Don't use `iff' in docstrings.
2767 * international/robin.el (robin-package-alist): Fix typo in docstring.
2768 (robin-current-package-name): Doc fix.
2769 (robin-activate): Don't use `iff' in docstring.
2771 2008-05-07 Eric S. Raymond <esr@snark.thyrsus.com>
2773 * vc.el, vc-dispatcher.el: VC-Dired support removed.
2774 The code uses a ewoc-based implementation now.
2775 * vc-hooks.el: Support for Meta-CVS has been removed.
2777 2008-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2779 * tool-bar.el: Choose images dynamically.
2780 (tool-bar-make-keymap, tool-bar-find-image): New function.
2781 (tool-bar-find-image-cache): New var.
2782 (tool-bar-local-item, tool-bar-local-item-from-menu):
2783 Don't select the image yet, do it later in tool-bar-make-keymap.
2785 2008-05-07 Andreas Schwab <schwab@suse.de>
2787 * window.el: Require 'cl when compiling.
2789 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
2791 * vc-dispatcher.el (vc-dir-insert-directories): Default to t.
2793 2008-05-07 Glenn Morris <rgm@gnu.org>
2795 * subr.el (ignore-errors): Move here from cl-macs.el.
2796 * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el.
2798 * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords
2801 2008-05-06 Eric S. Raymond <esr@snark.thyrsus.com>
2803 * vc-hooks.el (vc-find-file-hook):
2804 * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher
2806 * vc.el (vc-dir-mode): Move VC-specific context menu entries here.
2808 2008-05-06 Wilson Snyder <wsnyder@wsnyder.org>
2810 * verilog-mode.el (verilog-getopt-file): Cleanup warning message format.
2811 (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
2812 (verilog-auto-inout, verilog-auto-inout-module)
2813 (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
2814 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2815 (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
2816 (verilog-auto-sense-sigs, verilog-auto-tieoff)
2817 (verilog-auto-unused, verilog-auto-wire)
2818 (verilog-decls-get-assigns, verilog-decls-get-consts)
2819 (verilog-decls-get-gparams, verilog-decls-get-inouts)
2820 (verilog-decls-get-inputs, verilog-decls-get-outputs)
2821 (verilog-decls-get-ports, verilog-decls-get-regs)
2822 (verilog-decls-get-signals, verilog-decls-get-wires)
2823 (verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
2824 (verilog-dir-cache-preserving, verilog-dir-file-exists-p)
2825 (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
2826 (verilog-inject-sense, verilog-library-filenames)
2827 (verilog-mode-release-date, verilog-mode-version)
2828 (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
2829 (verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
2830 (verilog-modi-get-assigns, verilog-modi-get-consts)
2831 (verilog-modi-get-gparams, verilog-modi-get-inouts)
2832 (verilog-modi-get-inputs, verilog-modi-get-outputs)
2833 (verilog-modi-get-ports, verilog-modi-get-regs)
2834 (verilog-modi-get-signals, verilog-modi-get-sub-inouts)
2835 (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
2836 (verilog-modi-get-wires, verilog-preserve-cache)
2837 (verilog-preserve-dir-cache, verilog-preserve-modi-cache)
2838 (verilog-read-sub-decls, verilog-read-sub-decls-line)
2839 (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
2840 (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
2841 Add caching of additional state, and rework signal extraction
2842 routines to improve AUTO expansion performance by 300%++.
2844 2008-05-06 Chong Yidong <cyd@stupidchicken.com>
2846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2847 Tweak Open Watcom regexp to distinguish between errors and warnings.
2849 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * dired.el (dired-read-dir-and-switches): Fix up last change.
2853 2008-05-05 Eric S. Raymond <esr@snark.thyrsus.com>
2855 * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff
2856 out of this function, move it to vc-dispatcher-selection-set.
2858 2008-05-05 Sam Steingold <sds@gnu.org>
2860 * window.el (delete-other-windows-vertically): New function.
2862 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2864 * dired.el (dired-read-dir-and-switches):
2865 Obey read-file-name-completion-ignore-case.
2867 2008-05-05 Nick Roberts <nickrob@snap.net.nz>
2869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2870 Add regexp for Open Watcom compiler output.
2872 2008-05-05 Phil Sung <psung@mit.edu> (tiny change)
2874 * progmodes/python.el (python-block-pairs): Align finally with except.
2876 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop.
2880 2008-05-05 Tom Tromey <tromey@redhat.com>
2882 * smerge-mode.el (smerge-start-session): Don't call smerge-next if
2883 looking at conflict marker.
2885 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo
2888 client-mode -> vc-client-object, and guess `funcall' was meant.
2889 (vc-dir-mode): Rename client-mode -> vc-client-mode.
2891 2008-05-05 Dan Nicolaescu <dann@ics.uci.edu>
2893 * net/zeroconf.el (dbus-call-method, dbus-register-signal)
2894 (dbus-debug): Move declarations outside eval-when-compile.
2896 2008-05-04 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2898 * proced.el (proced-command-alist): Fix system-type values.
2900 (proced-sorting-schemes-alist, proced-sorting-scheme): New variables.
2901 (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid)
2902 (proced-sort-start, proced-sort, proced-sort-time): New commands.
2903 (proced-update): Use proced-sorting-scheme. Update modeline.
2904 (proced-send-signal): Use nreverse.
2905 (proced-sorting-scheme-p): New function.
2907 2008-05-04 Andreas Schwab <schwab@suse.de>
2909 * vc.el: Require dired when compiling.
2911 * minibuffer.el (completion--insert-strings): Don't delete past bol.
2913 2008-05-03 Glenn Morris <rgm@gnu.org>
2915 * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el:
2916 * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el:
2917 Simplify compilation requirements.
2918 * ediff-init.el, ediff-vers.el: Remove unnecessary variable
2921 2008-05-03 Dave Love <fx@gnu.org>
2923 * progmodes/python.el (python-beginning-of-statement):
2924 Loop at least once (fixes 2008-02-21 change).
2926 2008-05-03 Eli Zaretskii <eliz@gnu.org>
2928 * ls-lisp.el (ls-lisp-insert-directory): Use `string-width'
2929 instead of `length' for comparing length of user and group names.
2931 2008-05-03 Eric S. Raymond <esr@snark.thyrsus.com>
2933 * vc-dispatcher.el: New file, separates out the UI and command
2934 execution machinery from VCS-specific logic left in vc.el.
2935 The separation is not yet completely clean, but it's a good start.
2936 * vc.el: This file is about 1700 lines shorter now.
2937 Remove obsolete logentry-check from the backend API.
2938 * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only
2939 implementation of the logentry-check method, and it guarded against
2940 a log length limit that has probably been obsolete for 15 years (!).
2942 2008-05-02 Sam Steingold <sds@gnu.org>
2944 * progmodes/compile.el (compilation-start): Move setting of
2945 compilation-directory after (funcall mode) as that resets local
2946 variables, this fixes recompile in grep buffers.
2947 * grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
2949 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
2951 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
2952 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
2953 * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend
2954 has one of these and that all are called in compatible ways.
2955 * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el,
2956 * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el,
2957 * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every
2958 backend has one of these.
2960 2008-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2962 * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and
2963 initialization into define-abbrev-table. Use :regexp.
2964 (octave-mode-syntax-table): Don't set word syntax for `.
2966 * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather
2969 * dired.el (dired-read-dir-and-switches):
2970 Set minibuffer-completing-file-name and call substitute-in-file-name.
2971 (dired-format-columns-of-files): Use completion--insert-strings.
2973 * minibuffer.el (completion-hilit-commonality): Revert last change:
2974 the leftover code was actually useful.
2975 (completion--insert-strings): Use string-width rather than length.
2977 2008-05-02 Sam Steingold <sds@gnu.org>
2979 * vc.el (vc-dir-mode-map): Enable mouse bindings.
2980 (vc-at-event): New macro: run the body at the even location.
2981 (vc-dir-menu, vc-dir-toggle-mark): Use it.
2982 (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
2983 * subr.el (mouse-event-p): Check if the even is mouse-related.
2985 2008-05-02 Nick Roberts <nickrob@snap.net.nz>
2987 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom):
2988 Don't throw error if no file is found.
2990 2008-05-02 Juanma Barranquero <lekktu@gmail.com>
2992 * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings.
2993 (vc-default-state-heuristic): Doc fix.
2995 2008-05-02 Richard Sharman <rsharman@pobox.com>
2997 * hilit-chg.el (highlight-changes-mode): Remove references to
2998 hooks that no longer exist. Because define-minor-mode is used the
2999 hook highlight-changes-mode-hook exists and can do what both the
3000 old hooks used to do. The documentation at the top of the file
3001 was updated to demonstrate this.
3002 (highlight-changes-mode): Remove commented out call to a hook
3003 function that is no longer there.
3004 (hilit-chg-set): Remove running of highlight-changes-enable-hook.
3006 2008-05-02 Eric S. Raymond <esr@snark.thyrsus.com>
3008 * vc.el (vc-default-dired-state-info): Change name of primitive
3009 to prettify-state-info, in preparation for ripping out dired mode.
3010 * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive
3011 to prettify-state-info, in preparation for ripping out dired mode.
3012 * vc-hooks.el (vc-toggle-read-only): Throw an error when a user
3013 tries this on a version-controlled buffer. It will do useless or
3014 actively bad things on any version control system newer than RCS.
3015 * vc-hooks.el (vc-dired-resynch-file):
3016 * vc.el (vc-dired-resynch-file): Change name of primitive to
3017 vc-directory-resynch-file, preparing to remove dired.
3019 2008-05-02 Dan Nicolaescu <dann@ics.uci.edu>
3021 * vc-rcs.el (vc-rcs-state): Fix typos.
3023 * vc.el (vc-register): Change argument order so that the prefix
3024 argument is assigned correctly.
3025 (vc-next-action, vc-dir-register): Update for the above change.
3027 2008-05-01 Juri Linkov <juri@jurta.org>
3029 * replace.el (occur-read-primary-args): Set default to the car of
3030 regexp-history and display it in the prompt, but don't add to the
3031 list of minibuffer defaults. Bind history-add-new-input to nil to
3032 not add automatically `default'. For empty input return `default'.
3033 Otherwise, add `input' to regexp-history and return it.
3034 (occur-1): Signal an error for the empty regexp.
3036 * progmodes/compile.el (compilation-auto-jump):
3037 Set window point to `pos' explicitly.
3039 2008-05-01 Eric S. Raymond <esr@snark.thyrsus.com>
3041 * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored
3043 * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so
3044 we report the 'unregistered state reliably.
3045 * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so
3046 we report the 'unregistered state reliably.
3047 * vc-git.el (vc-git-state): Call vc-git-unregistered so
3048 we report the 'unregistered state reliably.
3049 * vc-hooks (vc-state): Document that vc-unregistered is
3050 now expected to be returned reliably.
3051 * vc.el (vc-default-dired-state): Change needs-patch state to
3052 needs-update, since the name now shows up in dir-status listings
3053 and was somewhat misleading.
3054 * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit"
3055 immediately after removing the file.
3056 * vc.el (vc-next-action): More informative messages when a fileset
3057 is in a mixed state or files are missing.
3059 2008-05-01 Sam Steingold <sds@gnu.org>
3061 * vc.el (vc-delete-file): Check if the file has uncommitted changes.
3063 2008-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * Makefile.in: Revert incorrect fix for claimed bootstrap breakage.
3067 2008-05-01 Daiki Ueno <ueno@unixuser.org>
3069 * epa-file-hook.el: New file split from epa-file.el.
3070 * epa-file.el: Require 'epa-file-hook.
3071 (epa-file-handler): Add autoload cookie.
3072 * loadup.el: Load epa-file-hook.
3073 * startup.el (command-line): Eval the body of auto-encryption-mode.
3075 2008-05-01 Dan Nicolaescu <dann@ics.uci.edu>
3077 * vc.el (vc-dir-mode-map): Don't bind "r".
3079 * vc-hg.el (vc-hg-extra-fileinfo): New defstruct.
3080 (vc-hg-status-printer): New function.
3081 (vc-hg-after-dir-status): Deal with copied and renamed files.
3082 (vc-hg-dir-status): Add flag to show copied files.
3084 2008-05-01 John Paul Wallington <jpw@pobox.com>
3086 * ibuffer.el (ibuffer-last-sorting-mode): New variable.
3087 (ibuffer-do-sort-by-recency): Reverse sorting order if last
3088 sorting mode was recency.
3090 * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to
3091 reverse sorting order if last sorting mode was the sorter's.
3093 2008-05-01 Jason Rumney <jasonr@gnu.org>
3095 * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258.
3097 2008-04-30 John Paul Wallington <jpw@pobox.com>
3099 * ibuffer.el (define-ibuffer-column filename): When the major mode
3100 is `vc-dir-mode' show the buffer's default directory.
3102 * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
3103 major mode is `vc-dir-mode' use the buffer's default directory.
3105 2008-04-30 Sam Steingold <sds@gnu.org>
3107 * vc.el (vc-dir-delete-file): Add.
3108 (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
3109 (vc-delete-file): Do not barf when the file has been already deleted.
3111 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3113 * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu.
3115 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3117 * progmodes/octave-mod.el (octave-help): New function.
3118 * progmodes/octave-hlp.el: Delete.
3119 * info-look.el (octave-mode): Add operator index.
3121 * vc.el (vc-checkout): Typo.
3123 2008-04-30 Dan Nicolaescu <dann@ics.uci.edu>
3125 * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last.
3126 Add "..." in the appropriate places.
3128 * epa.el (epa-key-list-mode-map): Add more menu entries.
3129 Add "..." in the appropriate places.
3131 * dired.el (dired-mode-map): Add :help.
3133 * vc.el (vc-deduce-fileset): Add new parameter.
3134 (vc-dir-marked-only-files): New function.
3135 (vc-next-action): Don't ignore directories, look at the files
3137 (vc-dir-mode): Document how the mark/unmark commands work.
3139 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
3142 Rule out trailing spaces in file and directory names as well.
3144 * minibuffer.el (completion--do-completion): Move point even if the
3145 completion makes no change.
3146 (completion-pcm-try-completion): Fix computation of new point.
3148 2008-04-30 David Hansen <david.hansen@gmx.net>
3150 * dired.el: Require 'cl.
3152 2008-04-30 Nick Roberts <nickrob@snap.net.nz>
3154 * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow
3155 hollow if not in innermost frame.
3157 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3159 Make `checkout-model' apply to filesets.
3160 * vc-hooks.el (vc-checkout-model): Rewrite.
3161 (vc-before-save, vc-after-save): Adjust callers accordingly.
3162 * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
3163 (vc-transfer-file): Adjust callers accordingly.
3164 * vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
3165 (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
3166 (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
3167 instead of vc-checkout-model.
3168 * vc-mcvs.el (vc-mcvs-revert):
3169 Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
3170 * vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
3171 (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
3172 * vc-svn.el (vc-svn-checkout-model):
3173 * vc-hg.el (vc-hg-checkout-model):
3174 * vc-git.el (vc-git-checkout-model):
3175 * vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
3177 * dired.el (dired-read-dir-and-switches): Replace last change with
3178 a new approach that mixes read-file-name and read-directory-name.
3180 * files.el (read-buffer-to-switch):
3181 Avoid making assumptions about `other-buffer'.
3183 2008-04-29 Sam Steingold <sds@gnu.org>
3185 * vc.el (vc-dir-mode-hook): Add normal hook.
3186 (vc-dir-mode): Run it.
3188 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3190 * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer.
3191 Always split windows.
3192 (gdb-speedbar-timer-fn): Only raise frame after user input.
3193 (gdb-same-frame): Reverse initial value.
3194 (gdb-display-gdb-buffer): Check for GUD buffer in other frames.
3196 * progmodes/gud.el (gud-speedbar-buttons): Raise frame in
3197 gdb-speedbar-timer-fn.
3199 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects.
3203 2008-04-29 Daiki Ueno <ueno@unixuser.org>
3205 * epa.el (epa-key-list-mode-map): Add menu.
3206 (epa-delete-keys, epa-import-keys): Fix typo.
3208 2008-04-29 Glenn Morris <rgm@gnu.org>
3210 * find-cmd.el (top-level): Does not need cl when compiling.
3212 2008-04-29 Phil Jackson <phil@shellarchive.co.uk>
3214 * find-cmd.el: New file.
3216 2008-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * minibuffer.el (completion-hilit-commonality): Remove leftover code.
3219 (completion-pcm--pattern->regex): Let `group' be a list of symbols.
3220 (completion-pcm--hilit-commonality): New function.
3221 (completion-pcm-all-completions): Use it.
3223 * minibuffer.el (completion-common-substring): Mark obsolete.
3224 (completions-first-difference, completions-common-part):
3225 Move from simple.el.
3226 (completion-hilit-commonality): New fun.
3227 (display-completion-list, completion-emacs21-all-completions)
3228 (completion-emacs22-all-completions): Use it.
3229 * simple.el (completions-first-difference, completions-common-part):
3230 Move to minibuffer.el.
3231 (choose-completion-string): Use field functions and minibufferp.
3232 (completion-setup-function): Don't set completions faces.
3234 2008-04-29 Glenn Morris <rgm@gnu.org>
3236 * calendar/calendar.el (calendar-nth-named-absday)
3237 (calendar-nth-named-day):
3238 * calendar/diary-lib.el (diary-list-sexp-entries, diary-float):
3239 * calendar/holidays.el (holiday-float): Doc fixes.
3241 * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in
3244 * org/org-agenda.el (calendar-iso-from-absolute):
3245 * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute):
3248 2008-04-28 Nick Roberts <nickrob@snap.net.nz>
3250 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint
3251 icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
3252 (gdb-goto-breakpoint): Likewise for visiting breakpoints.
3253 (gdb-assembler-custom): Be careful not to match other addresses.
3255 2008-04-29 Jason Rumney <jasonr@gnu.org>
3257 * battery.el (battery-status-function): Use w32-battery-status
3259 (battery-echo-area-format): Make apm format the general case.
3260 (battery-mode-line-format): Merge apm and pmset formats as the
3263 2008-04-29 Nick Roberts <nickrob@snap.net.nz>
3265 * progmodes/gdb-ui.el (gdb-info-stack-custom):
3266 Use gud-tool-bar-item-visible-no-fringe.
3267 (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
3268 is already visible in frame. Remove optional size parameter
3269 and add optional frame parameter.
3271 * progmodes/gud.el (gud-display-line): Only consider visible
3272 frames when looking for source buffer.
3274 2008-04-28 Chong Yidong <cyd@stupidchicken.com>
3276 * doc-view.el (doc-view-new-window-function): Avoid using WINDOW
3277 argument to get-char-property, in case the current buffer hasn't
3278 been assigned to that window yet.
3279 (doc-view-display): Default to selected window if the current
3280 buffer hasn't been assigned to a window yet.
3282 2008-04-28 Vinicius Jose Latorre <bzg@altern.org>
3284 * whitespace.el (whitespace-trailing-regexp): Fix docstring.
3286 2008-04-28 Michael Albinus <michael.albinus@gmx.de>
3288 * net/tramp.el (tramp-mode): New defcustom.
3289 (tramp-file-name-handler, tramp-completion-file-name-handler):
3291 (tramp-replace-environment-variables): Handle "$$".
3293 2008-04-28 Sam Steingold <sds@gnu.org>
3295 * vc-hg.el (vc-hg-rename-file): Fix argument order.
3297 2008-04-28 Bastien Guerry <bzg@altern.org>
3299 * whitespace.el (whitespace-trailing): Fix typo.
3301 2008-04-28 Sam Steingold <sds@gnu.org>
3303 * textmodes/remember.el (diary-make-entry): Update the autoload.
3305 2008-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * minibuffer.el (completion-pcm--all-completions): Don't pass nil to
3310 2008-04-28 Juanma Barranquero <lekktu@gmail.com>
3312 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
3314 2008-04-27 Dan Nicolaescu <dann@ics.uci.edu>
3316 * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert.
3317 (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement.
3318 (vc-dir-mark-file): Add an optional argument.
3319 (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories.
3321 2008-04-27 Daiki Ueno <ueno@unixuser.org>
3323 * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook
3324 rather than obsolete alias find-file-hooks.
3325 (auto-encryption-mode): Rename from epa-file-mode. Default to on.
3326 Use find-file-hook rather than obsolete alias find-file-hooks.
3327 Add to find-file-not-found-functions.
3328 (epa-file-handler): Put 'safe-magic and 'operations properties.
3330 * epa.el (epa-global-minor-modes, epa-mode, epa-menu)
3331 (epa-menu-items): Remove.
3333 * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
3334 (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
3335 (epa-dired-mode, epa-global-dired-mode): Remove.
3337 * dired.el (dired-mode-map): Bind encryption/decryption commands.
3339 * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.
3341 * files.el (insert-file-contents-literally): Inhibit epa-file-handler.
3343 2008-04-27 Glenn Morris <rgm@gnu.org>
3345 * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file):
3346 Remove un-needed local `orig-list'. Replace cl `copy-list'.
3348 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
3350 * org/org.el (org-html-level-start): Always have id's in HTML.
3351 (org-export-as-html): Use `org-link-protocols' to
3352 retrieve the export form of the link.
3353 (org-add-link-type): Final parameter renamed from PUBLISH.
3354 Better documentation of how it is to be used. Avoid double entries for
3356 (org-add-link-props): New function.
3357 (org-modules-loaded): New variable.
3358 (org-load-modules-maybe, org-set-modules): New function.
3359 (org-modules): New option.
3360 (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode)
3361 (orgtbl-mode, org-store-link, org-insert-link-global)
3362 (org-open-at-point): Call `org-load-modules-maybe'.
3363 (org-search-view): Add more text properties.
3364 (org-agenda-schedule, org-agenda-deadline): Allow also in
3365 search-type agendas.
3366 (org-search-view): Order of arguments has been changed.
3367 Interpret prefix-arg as TODO-ONLY.
3368 (org-agenda, org-run-agenda-series, org-agenda-manipulate-query):
3369 Take new argument order of `org-search-view' into account.
3370 (org-todo-only): New variable.
3371 (org-search-syntax-table): New variable and function.
3372 (org-search-view): Do the search with the special syntax table.
3373 (define-obsolete-function-alias): Make work with XEmacs.
3374 (org-add-planning-info): Use old date as default when modifying an
3375 existing deadline or scheduled item.
3376 (org-agenda-compute-time-span): Make argument N optional.
3377 (org-agenda-format-date-aligned): Require `cal-iso'.
3378 (org-agenda-list): Include week into agenda heading, don't
3379 list it at each date (only on Mondays).
3380 (org-read-date-analyze): Define local variable `iso-date'.
3381 (org-agenda-format-date-aligned): Remove dependency on
3382 `calendar-time-from-absolute'.
3383 (org-remember-apply-template, org-go-to-remember-target):
3384 Interpret filenames relative to `org-directory'.
3385 (org-complete): Silently fail when trying to complete
3386 keywords that don't have a default value.
3387 (org-get-current-options): Add a #+DATE: option.
3388 (org-additional-option-like-keywords): Remove "DATE:" from the
3389 list of additional keywords.
3390 (org-export-as-html): Remove (current-time) as unnecessary second
3391 argument of `format-time-string'.
3392 (org-clock-find-position): Handle special case at end of buffer.
3393 (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to
3394 `org-agenda-change-time-span'.
3395 (org-agenda-week-view): New argument ISO-WEEK, pass it on to
3396 `org-agenda-change-time-span'.
3397 (org-agenda-month-view): New argument MONTH, pass it on to
3398 `org-agenda-change-time-span'.
3399 (org-agenda-year-view): New argument YEAR, pass it on to
3400 `org-agenda-change-time-span'.
3401 (org-agenda-change-time-span): New optional argument N, pass it on
3402 to `org-agenda-compute-time-span'.
3403 (org-agenda-compute-time-span): New argument N, interpret it by
3404 changing the starting day.
3405 (org-small-year-to-year): New function.
3406 (org-scheduled-past-days): Respect `org-scheduled-past-days'.
3407 (org-auto-repeat-maybe): Make sure that repeating dates are pushed
3408 into the future, and that the shift is at least one interval, never 0.
3409 (org-update-checkbox-count): Fix bug with checkbox counting.
3410 (org-add-note): New command.
3411 (org-add-log-setup): Rename from `org-add-log-maybe'.
3412 (org-log-note-headings): New entry for plain notes (i.e. notes not
3413 related to state changes or clocking).
3414 (org-get-org-file): Check for availability of `remember-data-file'.
3415 (org-cached-entry-get): Allow a regexp value for
3416 `org-use-property-inheritance'.
3417 (org-use-property-inheritance): Allow regexp value. Fix bug in
3419 (org-use-tag-inheritance): Allow a list and a regexp value for
3421 (org-scan-tags, org-get-tags-at): Implement selective tag inheritance.
3422 (org-entry-get): Respect value `selective' for the INHERIT argument.
3423 (org-tag-inherit-p, org-property-inherit-p): New functions.
3424 (org-agenda-format-date-aligned): Allow 10 characters for
3425 weekday, to acomodate German locale.
3426 (org-add-archive-files): New function.
3427 (org-agenda-files): New argument `ext', to get archive files as well.
3428 (org-tbl-menu): Protect the use of variables that
3429 are only available when org-table.el gets loaded.
3430 (org-read-agenda-file-list): Error if `org-agenda-files' is a
3432 (org-open-file): Allow a batch process to trigger
3433 waiting after executing a system command.
3434 (org-store-link): Link to headline when there is not
3435 target and no region in an org-mode buffer when creating a link.
3436 (org-link-types-re): New variable.
3437 (org-make-link-regexps): Compute `org-link-types-re'.
3438 (org-make-link-description-function): New option.
3439 (org-agenda-date, org-agenda-date-weekend): New faces.
3440 (org-archive-sibling-heading): New option.
3441 (org-archive-to-archive-sibling): New function.
3442 (org-iswitchb): New command.
3443 (org-buffer-list): New function.
3444 (org-agenda-columns): Also try the #+COLUMNS line in
3445 the buffer associated with the entry at point (or with the first
3446 entry in the agenda view).
3447 (org-modules): Add entry for org-bibtex.el.
3448 (org-completion-fallback-command): Move into `org-completion' group.
3449 (org-clock-heading-function): Move to `org-progress' group.
3450 (org-auto-repeat-maybe): Make sure that a note can
3451 be enforces if `org-log-repeat' is `note'.
3452 (org-modules): Allow additional symbols for external packages.
3453 (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined.
3454 (org-clock-goto): Hide drawers after showing an
3455 entry with `org-clock-goto'.
3456 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft):
3457 Try also a clocktable block shift.
3458 (org-clocktable-try-shift): New function.
3459 (org-columns-hscoll-title): New function.
3460 (org-columns-previous-hscroll): New variable.
3461 (org-columns-full-header-line-format): New variable.
3462 (org-columns-display-here-title, org-columns-remove-overlays):
3463 Install `org-columns-hscoll-title' in post-command-hook.
3465 * org/org.el: Split into many small files.
3467 * org/org-agenda.el: New file, split off from org.el.
3469 * org/org-archive.el: New file, split off from org.el.
3471 * org/org-bbdb.el: New file.
3473 * org/org-bibtex.el: New file, split off from org.el.
3475 * org/org-clock.el: New file, split off from org.el.
3477 * org/org-colview.el: New file, split off from org.el.
3479 * org/org-compat.el: New file, split off from org.el.
3481 * org/org-exp.el: New file, split off from org.el.
3483 * org/org-faces.el: New file, split off from org.el.
3485 * org/org-gnus.el: New file, split off from org.el.
3487 * org/org-info.el: New file, split off from org.el.
3489 * org/org-infojs.el: New file.
3491 * org/org-irc.el: New file.
3493 * org/org-macs.el: New file, split off from org.el.
3495 * org/org-mew.el: New file.
3497 * org/org-mhe.el: New file, split off from org.el.
3499 * org/org-publish.el: New file, split off from org.el.
3501 * org/org-remember.el: New file, split off from org.el.
3503 * org/org-rmail.el: New file, split off from org.el.
3505 * org/org-table.el: New file, split off from org.el.
3507 * org/org-vm.el: New file, split off from org.el.
3509 * org/org-wl.el: New file, split off from org.el.
3511 2008-04-27 Jason Riedy <jason@acm.org>
3513 * lisp/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines
3514 parameter that supresses lines that evaluate to NIL.
3515 (orgtbl-get-fmt): New inline function for
3516 picking apart formats that may be lists.
3517 (orgtbl-apply-fmt): New inline function for applying formats that
3519 (orgtbl-eval-str): New inline function for strings that may be
3521 (orgtbl-format-line, orgtbl-to-generic): Use and document.
3522 (orgtbl-to-latex, orgtbl-to-texinfo): Document.
3523 (*orgtbl-llfmt*, *orgtbl-llstart*)
3524 (*orgtbl-llend*): Dynamic variables for last-line formatting.
3525 (orgtbl-format-section): Shift formatting to support detecting the
3526 last line and formatting it specially.
3527 (orgtbl-to-generic): Document :ll* formats. Set to the non-ll
3528 formats unless overridden.
3529 (orgtbl-to-latex): Suggest using :llend to suppress the final \\.
3530 (*orgtbl-table*, *orgtbl-rtn*): Dynamically
3531 bound variables to hold the input collection of lines and output
3533 (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*)
3534 (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound
3536 (orgtbl-format-line): New function encapsulating formatting for a
3538 (orgtbl-format-section): Similar for each section. Rebinding the
3539 dynamic vars customizes the formatting for each section.
3540 (orgtbl-to-generic): Use orgtbl-format-line and
3541 orgtbl-format-section.
3542 (org-get-param): Now unused, so delete.
3543 (orgtbl-gather-send-defs): New function to
3544 gather all the SEND definitions before a table.
3545 (orgtbl-send-replace-tbl): New function to find the RECEIVE
3546 corresponding to the current name.
3547 (orgtbl-send-table): Use the previous two functions and implement
3548 multiple destinations for each table.
3550 * doc/org.texi (A LaTeX example): Note that fmt may be a
3551 one-argument function, and efmt may be a two-argument function.
3552 (Radio tables): Document multiple destinations.
3554 2008-04-27 Carsten Dominik <dominik@science.uva.nl>
3556 * org/org-agenda.el (org-add-to-diary-list): New function.
3557 (org-prefix-has-effort): New variable.
3558 (org-sort-agenda-noeffort-is-high): New option.
3559 (org-agenda-columns-show-summaries)
3560 (org-agenda-columns-compute-summary-properties): New options.
3561 (org-format-agenda-item): Compute the duration of the item.
3562 (org-agenda-weekend-days): New variable.
3563 (org-agenda-list, org-timeline): Use the proper faces for dates in
3564 the agenda and timeline buffers.
3565 (org-agenda-archive-to-archive-sibling): New command.
3566 (org-agenda-start-with-clockreport-mode): New option.
3567 (org-agenda-clockreport-parameter-plist): New option.
3568 (org-agenda-clocktable-mode): New variable.
3569 (org-agenda-deadline-leaders): Allow a function value for the
3571 (org-agenda-get-deadlines): Deal with new function value.
3573 * lisp/org-clock.el (org-clock): New customization group.
3574 (org-clock-into-drawer, org-clock-out-when-done)
3575 (org-clock-in-switch-to-state, org-clock-heading-function):
3576 Move into the new group.
3577 (org-clock-out-remove-zero-time-clocks): New option.
3578 (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'.
3579 (org-dblock-write:clocktable): Allow a Lisp form for the scope
3581 (org-dblock-write:clocktable): Fix bug with total time calculation.
3582 (org-dblock-write:clocktable): Request the unrestricted list of files.
3583 (org-get-clocktable): New function.
3584 (org-dblock-write:clocktable): Make sure :tstart and :tend can not only
3585 be strings but also integers (an absolute day number) and lists (m d y).
3587 * org/org-colview.el (org-columns-next-allowed-value)
3588 (org-columns-edit-value): Limit the effort for updating in the
3589 agenda to recomputing a single file.
3590 (org-columns-compute): Only write property value if it has changed.
3591 This avoids raising the buffer-change-flag unnecessarily.
3592 (org-agenda-colview-summarize)
3593 (org-agenda-colview-compute): New functions.
3594 (org-agenda-columns): Call `org-agenda-colview-summarize'.
3596 * org/org-exp.el (org-export-run-in-background): New option.
3597 (org-export-icalendar): Allow a batch process to trigger waiting
3598 after executing a system command.
3599 (org-export-preprocess-string): Rename from
3600 `org-cleaned-string-for-export'.
3601 (org-export-html-style): Made target class look like normal text.
3602 (org-export-as-html): Make use of the better proprocessing in
3603 `org-cleaned-string-for-export'.
3604 (org-cleaned-string-for-export): Better treatment of heuristic
3605 targets, many more internal links will now work in HTML export.
3606 (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS.
3607 (org-export-inbuffer-options-extra): New variable.
3608 (org-export-options-filters): New hook.
3609 (org-infile-export-plist): Find also the settings keywords in
3610 `org-export-inbuffer-options-extra'.
3611 (org-infile-export-plist): Allow multiple #+OPTIONS lines and
3612 multiple #+INFOJS_OPT lines.
3613 (org-export-html-handle-js-options): New function.
3614 (org-export-html-infojs-setup): New option.
3615 (org-export-as-html): Call `org-export-html-handle-js-options'.
3616 Add autoload to all entry points.
3617 (org-skip-comments): Function removed.
3619 * org/org-table.el (org-table-make-reference): Extra parenthesis
3620 around single fields, to make sure that algebraic formulas get
3621 correctly interpreted by calc.
3622 (org-table-current-column): No longer interactive.
3624 * org/org-export-latex.el (org-export-latex-preprocess):
3625 Rename from `org-export-latex-cleaned-string'.
3627 2008-04-27 Bastien Guerry <bzg@altern.org>
3629 * org/org-publish.el (org-publish-get-base-files-1): New function.
3630 (org-publish-get-base-files): Use it.
3631 (org-publish-temp-files): New variable.
3632 Don't require 'dired-aux anymore.
3633 (org-publish-initial-buffer): New variable.
3634 (org-publish-org-to, org-publish): Use it.
3635 (org-publish-get-base-files-1): Bug fix: get
3636 the proper list of files when recursing thru a directory.
3637 (org-publish-get-base-files): Use the :exclude property to skip
3638 both files and directories.
3640 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
3642 * net/tramp.el (tramp-handle-make-symbolic-link)
3643 (tramp-handle-file-name-directory)
3644 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3645 (tramp-do-copy-or-rename-file-directly)
3646 (tramp-handle-insert-directory, tramp-handle-expand-file-name)
3647 (tramp-handle-substitute-in-file-name)
3648 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3649 * net/tramp-cache.el (tramp-get-file-property)
3650 (tramp-set-file-property, tramp-flush-file-property)
3651 (tramp-flush-directory-property)
3652 * net/tramp-compat.el (tramp-compat-make-temp-file)
3653 * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
3654 Disable `file-name-handler-alist' when handling localname.
3655 It could have a remote file syntax, like a VMS file name.
3657 2008-04-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3659 * whitespace.el: New version 11.1.
3660 (whitespace-trailing-regexp): Option fix, now trailing regexp must be
3661 enclosed by \\( and \\)$. Docstring fix.
3662 (whitespace-trailing-regexp): Fun removed.
3663 (whitespace-report-list): Const initialization fix.
3664 (whitespace-color-on): Code fix.
3666 2008-04-27 Andreas Schwab <schwab@suse.de>
3668 * Makefile.el: Unbreak bootstrap.
3670 2008-04-27 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp.el (tramp-replace-environment-variables): New defun.
3673 (tramp-handle-substitute-in-file-name, tramp-file-name-handler):
3676 2008-04-27 Glenn Morris <rgm@gnu.org>
3678 * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix.
3680 * calculator.el (calculator-expt): Replace cl function `oddp'.
3682 2008-04-27 Johan Bockgård <bojohan@gnu.org>
3684 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
3685 Simplify. Collect `defun' and `autoload' entries.
3686 Avoid modifying load-history.
3688 2008-04-26 Glenn Morris <rgm@gnu.org>
3690 * textmodes/ispell.el (ispell-insert-word): Revert previous change.
3692 * simple.el (quoted-insert, zap-to-char): Revert previous change.
3694 2008-04-26 John Paul Wallington <jpw@pobox.com>
3696 * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in
3697 `hexl-mode-old-eldoc-documentation-function'.
3698 (hexl-mode-exit): Restore it.
3699 (hexl-mode-old-eldoc-documentation-function): Declare for compiler.
3701 * w32-fns.el (top-level): Don't set `completion-ignore-case' to t.
3703 2008-04-26 Juanma Barranquero <lekktu@gmail.com>
3705 * minibuffer.el (completion-pcm-word-delimiters): Add :group.
3706 (completion-pcm--all-completions): Doc fix.
3707 (completion-styles-alist, completion-all-completions):
3708 Fix typos in docstrings.
3710 2008-04-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3712 * whitespace.el: There is now only one variable (whitespace-style) to
3713 specify which kind of blank is visualized. Doc and docstring fix.
3715 (whitespace-style): New option, replace whitespace-style-mark and
3716 whitespace-style-color.
3717 (whitespace-style-mark, whitespace-style-color): Options removed.
3718 (whitespace-hspace, whitespace-tab, whitespace-newline)
3719 (whitespace-trailing, whitespace-line, whitespace-space-before-tab)
3720 (whitespace-indentation, whitespace-empty, whitespace-space-after-tab)
3721 (whitespace-hspace-regexp, whitespace-space-regexp)
3722 (whitespace-tab-regexp, whitespace-trailing-regexp)
3723 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
3724 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3725 (whitespace-space-after-tab-regexp, whitespace-line-column)
3726 (whitespace-display-mappings, whitespace-report): Docstring fix.
3727 (whitespace-color-value-list, whitespace-mark-value-list)
3728 (whitespace-active-color, whitespace-active-mark)
3729 (whitespace-toggle-color, whitespace-toggle-mark): Vars removed.
3730 (whitespace-style-value-list, whitespace-active-style)
3731 (whitespace-toggle-style): New vars.
3732 (whitespace-toggle-option-alist, whitespace-help-text):
3733 Var initialization and docstring fix.
3734 (whitespace-toggle-options, global-whitespace-toggle-options)
3735 (whitespace-cleanup, whitespace-cleanup-region)
3736 (whitespace-report-region, whitespace-interactive-char)
3737 (whitespace-toggle-list): Docstring and code fix.
3738 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
3739 (whitespace-turn-off, whitespace-color-on, whitespace-color-off)
3740 (whitespace-display-char-on, whitespace-display-char-off): Code fix.
3741 (whitespace-style-face-p, whitespace-style-mark-p): New fun.
3743 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3745 * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts.
3746 (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs)
3747 (diff-sanity-check-hunk): Adjust code accordingly.
3749 2008-04-26 Glenn Morris <rgm@gnu.org>
3751 * abbrev.el (define-abbrev): Don't use `iff' in doc-strings.
3753 * forms-d2.dat: Move to ../etc.
3754 * forms-d2.el (forms-file): Adapt for above change.
3756 * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete
3757 `translation-table-for-input'.
3759 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function.
3760 (byte-compile-obsolete, byte-compile-variable-ref): Use it.
3762 * progmodes/fortran.el (fortran-mode-syntax-table): Change `;'
3763 to punctuation now it's not needed for abbrevs.
3764 (fortran-mode-abbrev-table): Remove defvar, make use of new
3765 define-abbrev-table :regexp feature.
3767 * textmodes/ispell.el (ispell-insert-word): Remove, and replace with
3768 insert, now that translation-table-for-input is not needed.
3770 2008-04-26 Johannes Weiner <hannes@saeurebad.de>
3772 * emacs-lisp/pp.el (pp-display-expression): New function,
3773 extracted from pp-eval-expression.
3774 (pp-eval-expression): Use pp-display-expression.
3775 (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions.
3776 (pp-last-sexp): New function, extracted from pp-eval-last-sexp.
3777 (pp-eval-last-sexp): Use pp-last-sexp.
3779 2008-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * abbrev.el (define-abbrev-table): Apply props even if the table
3784 * minibuffer.el (completion-table-with-context): Fix `pred' for the
3785 various kinds of completion tables.
3786 (completion-emacs22-try-completion): Place cursor after the /, as was
3787 done in Emacs-22's minibuffer-complete-word.
3788 Fix bug reported by David Hansen <david.hansen@gmx.net>.
3789 (completion-emacs22-try-completion): Merge all mergable text rather
3791 (completion-pcm--delim-wild-regex): New var.
3792 (completion-pcm-word-delimiters): New custom.
3793 (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
3794 (completion-pcm--string->pattern, completion-pcm--pattern->regex)
3795 (completion-pcm--all-completions, completion-pcm-all-completions)
3796 (completion-pcm--merge-completions, completion-pcm--pattern->string)
3797 (completion-pcm-try-completion): New functions.
3798 (completion-styles-alist): Add them.
3799 (completion-styles): Add it to the default.
3801 2008-04-25 Nick Roberts <nickrob@snap.net.nz>
3803 * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
3804 (gdb-var-create-handler): ...until here when there are values.
3805 (gdb-post-prompt): Don't do -var-update with no watch expressions.
3806 (gdb-info-locals-handler): Don't match "struct {...}" as an array.
3808 2008-04-25 Eli Zaretskii <eliz@gnu.org>
3810 * ls-lisp.el (ls-lisp-format): Fix last change.
3811 (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
3812 (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
3813 (ls-lisp-filesize-f-fmt): New defvars.
3814 (ls-lisp-insert-directory): Dynamically compute format specifiers
3815 for displaying UID, GID, and file size, and store them in the
3817 (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
3818 ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
3819 instead of constant format strings.
3820 (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
3821 ls-lisp-filesize-d-fmt instead of constant format strings.
3823 2008-04-24 Nick Roberts <nickrob@snap.net.nz>
3825 * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
3826 value of addresses rather than (partial) string value.
3827 (gdb-frame-handler): Change regexp according to above change.
3828 (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
3829 (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
3830 (gdb-assembler-mode): Disable undo in these buffers.
3832 2008-04-24 Michael Albinus <michael.albinus@gmx.de>
3834 * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s.
3835 Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
3837 2008-04-24 Sam Steingold <sds@gnu.org>
3839 * textmodes/remember.el (remember-diary-extract-entries): Use
3840 diary-make-entry instead of the obsolete make-diary-entry.
3842 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * subr.el (translation-table-for-input): Mark as obsolete.
3846 * isearch.el (isearch-search-string): Avoid string-bytes and aset.
3848 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
3850 * textmodes/ispell.el (ispell-dictionary-alist-1)
3851 (ispell-dictionary-alist-2, ispell-dictionary-alist-3)
3852 (ispell-dictionary-alist-4, ispell-dictionary-alist-5)
3853 (ispell-dictionary-alist-6): Remove.
3854 (ispell-dictionary-base-alist): New var, merges the above.
3855 (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
3857 (ispell-dictionary-alist): Default to nil. Remove autoload.
3858 (ispell-local-dictionary-alist): Remove autoload.
3860 * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
3861 (f90-mode-abbrev-table): Use the new :regexp feature.
3862 Merge defvar and mapc into define-abbrev-table.
3863 (f90-imenu-type-matcher): Remove unused `l'.
3864 (f90-imenu-generic-expression): Remove unused `not-ib'.
3865 (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
3866 (f90-change-keywords): Use restore-buffer-modified-p.
3868 2008-04-24 Glenn Morris <rgm@gnu.org>
3870 * net/goto-addr.el (goto-address-prog-mode):
3871 * progmodes/bug-reference.el (bug-reference-prog-mode):
3872 Define for compiler.
3874 * minibuffer.el (x-file-dialog): Declare as function.
3876 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
3877 dframe-update-speed rather than obsolete alias speedbar-update-speed.
3879 * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
3880 (cal-menu-scroll-menu): Use commands rather than key macros, which don't
3881 work with easymenu. Add :keys where needed.
3883 * calendar/cal-move.el (calendar-scroll-left): Handle case when
3886 * calendar/calendar.el (calendar-mode-map): Fix typo.
3888 2008-04-24 Tom Tromey <tromey@redhat.com>
3890 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
3891 Document keywords. Add :suppress.
3892 * pcvs-defs.el (cvs-mode-map): Use :suppress.
3894 * net/goto-addr.el (goto-address-unfontify): New function.
3895 (goto-address-fontify): Use it. Respect goto-address-prog-mode.
3896 (goto-address-fontify-region, goto-address-mode)
3897 (goto-address-prog-mode): New functions.
3899 * progmodes/bug-reference.el: New file.
3901 2008-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3903 * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
3905 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3907 * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
3908 macros within lambdas.
3910 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3912 * minibuffer.el (completion-try-completion): Add `point' argument.
3913 Change return value.
3914 (completion-all-completions): Add `point' argument.
3915 (minibuffer-completion-help): Pass the new `point' argument.
3916 (completion--do-completion): Pass the whole field to try-completion.
3917 (completion--try-word-completion): Rewrite, making fewer assumptions.
3918 (completion-emacs21-try-completion, completion-emacs21-all-completions)
3919 (completion-emacs22-try-completion, completion-emacs22-all-completions)
3920 (completion-basic-try-completion, completion-basic-all-completions):
3922 (completion-styles-alist): Use them.
3924 2008-04-23 AgustÃn MartÃn <agustin.martin@hispalinux.es>
3926 * ispell.el (ispell-set-spellchecker-params): New function to make sure
3927 right params and dictionary alists are used after spellchecker changes.
3928 (ispell-aspell-dictionary-alist, ispell-last-program-name)
3929 (ispell-initialize-spellchecker-hook): New variables and hook.
3930 (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
3931 (ispell-maybe-find-aspell-dictionaries): Remove.
3932 Calls replaced by (ispell-set-spellchecker-params) calls.
3933 (ispell-have-aspell-dictionaries): Remove.
3934 * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
3935 ispell-set-spellchecker-params.
3937 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * complete.el (PC-do-completion): Be more robust in the presence of
3940 unexpected values in minibuffer-completion-predicate.
3942 * minibuffer.el (read-file-name): Don't let-bind default-directory.
3943 Only abbreviate default-filename if it's a file.
3945 * minibuffer.el (read-file-name-function, read-file-name-predicate)
3946 (read-file-name-completion-ignore-case, insert-default-directory):
3947 New vars, moved from fileio.c.
3948 (read-file-name): New fun, moved from fileio.c.
3949 * cus-start.el: Remove insert-default-directory and
3950 read-file-name-completion-ignore-case.
3952 2008-04-23 Magnus Henoch <mange@freemail.hu>
3954 * tar-mode.el (tar-untar-buffer): If the entry has directory
3955 link type, extract it as a directory even if its file name doesn't
3956 end with a slash. Fixes extraction of NetBSD tar archives.
3958 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * server.el (server-start): Also don't get confused by CRs since we
3963 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
3965 * progmodes/gdb-ui.el (gdb-init-buffer): New function.
3966 (gdb-set-gud-minor-mode-existing-buffers)
3967 (gdb-info-breakpoints-custom, gdb-get-location)
3968 (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
3969 Previously gdb-create-define-alist wasn't always run and added to
3972 * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer.
3974 2008-04-23 Kevin Ryde <user42@zip.com.au>
3976 * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
3977 comments like unindented ones.
3979 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3981 * term/mac-win.el (mac-ae-open-documents): Adjust selection range
3984 2008-04-23 Kevin Ryde <user42@zip.com.au>
3986 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3987 Bind print-level to ensure output forms aren't truncated if
3988 print-level is set to eval-expression-print-level when going via
3989 eval-defun and friends, or has been otherwise fiddled with.
3991 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * progmodes/cc-mode.el (c-basic-common-init): Don't set
3994 font-lock-extend-after-change-region-function globally.
3996 2008-04-23 Juanma Barranquero <lekktu@gmail.com>
3998 * speedbar.el (speedbar-use-tool-tips-flag)
3999 (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
4000 (speedbar-file-regexp, speedbar-message, speedbar-item-info)
4001 (speedbar-files-item-info, speedbar-maybe-add-localized-support)
4002 (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
4003 (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
4004 (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
4005 (speedbar-separator-face): Fix typos in docstrings.
4006 (speedbar-stealthy-function-list, speedbar-verbosity-level)
4007 (speedbar-supported-extension-expressions, speedbar-update-current-file)
4008 (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
4009 (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
4010 (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
4011 (speedbar-show-info-under-mouse, speedbar-directory-buttons)
4012 (speedbar-check-vc-this-line, speedbar-files-line-directory)
4013 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4014 (speedbar-buffers-line-directory, speedbar-recenter-to-top)
4015 (speedbar-recenter): Doc fixes.
4016 (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
4017 declaration and remove redundant info in docstring.
4019 2008-04-23 Dan Nicolaescu <dann@ics.uci.edu>
4021 * vc-git.el (vc-git-status-printer): Deal with directories.
4023 * vc.el (vc-next-action): Look at more than the first file to
4024 determine the state.
4026 2008-04-23 Glenn Morris <rgm@gnu.org>
4028 * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
4030 (dframe-update-speed): Drop support for XEmacs < 20.
4031 (dframe-frame-mode): Drop support for Emacs < 20.
4032 (dframe-set-timer-internal): Drop support for Emacs without timers.
4033 (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
4035 * ediff-init.el (ediff-check-version): Drop support for very old Emacs
4036 versions. Add doc-string. Mark as obsolete.
4038 * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
4040 * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
4041 rather than using an Emacs version test.
4043 * tree-widget.el (tree-widget-image-enable): Use display-images-p
4044 rather than an Emacs version test.
4046 * calendar/cal-china.el (holiday-chinese-qingming)
4047 (holiday-chinese-winter-solstice, holiday-chinese): New functions.
4048 * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
4049 * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
4051 * calendar/cal-islam.el (holiday-islamic): Doc fix.
4053 * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
4054 (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
4055 Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
4057 2008-04-23 Nick Roberts <nickrob@snap.net.nz>
4059 * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
4060 (gdb-previous-frame-pc-address): ...to this.
4061 (gdb-get-selected-frame): Use MI command -stack-info-frame instead
4062 of "info frame" with Gdb 6.4+.
4063 (gdb-stack-list-frames-regexp): New regexp.
4064 (gdb-frame-handler-1): Parse output of -stack-info-frame.
4066 2008-04-22 David Glasser <glasser@davidglasser.net> (tiny change)
4068 * tar-mode.el (tar-prefix-offset): New constant.
4069 (tar-header-block-tokenize): Support paths with long names
4070 which use the "ustar" standard.
4072 2008-04-22 Mathias Dahl <mathias.dahl@gmail.com>
4074 * image-dired.el (image-dired-track-original-file)
4075 (image-dired-modify-mark-on-thumb-original-file):
4076 Use `dired-goto-file' instead of `search-forward'. This solves
4077 a bug with finding files where the file name is a subset of other
4078 file names. Doc fix.
4080 2008-04-22 Juri Linkov <juri@jurta.org>
4082 * menu-bar.el (buffers-menu-max-size): Move its definition down to
4083 the "Buffers Menu" section. Change group name `mouse' to `menu'.
4084 (yank-menu-length): Change group name `mouse' to `menu'.
4085 (buffers-menu-buffer-name-length): New user option.
4086 (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
4087 instead of the hard-coded number 27.
4089 2008-04-22 Juri Linkov <juri@jurta.org>
4091 * isearch.el (eval-when-compile): Require `help-macro'.
4092 (isearch-help-for-help-internal): Isearch specific Help screen
4093 created by `make-help-screen'.
4094 (isearch-help-map): New variable that binds "b", "k", "m" to
4095 isearch-specific commands, and binds other keys to
4096 isearch-other-control-char, thus allowing other Help keys to
4097 exit isearch mode and execute their global definitions.
4098 (isearch-help-for-help, isearch-describe-bindings)
4099 (isearch-describe-key, isearch-describe-mode): New commands.
4100 (isearch-mode-help): Define alias to isearch-describe-mode
4101 and remove its old function definition.
4102 (isearch-mode-map): Bind "\C-h" to isearch-help-map.
4103 Remove old comments because this issue is settled now.
4104 (isearch-forward): Describe three new Help commands in the docstring.
4105 (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
4106 leave the single sentence at the first line of the docstring,
4107 and prepend the word "function" before `isearch-forward'
4108 to make the Help link to the function instead of variable.
4110 2008-04-22 Juri Linkov <juri@jurta.org>
4112 * isearch.el (isearch-success-function): New variable with default
4113 to `isearch-success-function-default'.
4114 (isearch-search): Call a function from `isearch-success-function'
4115 instead of calling the hard-coded `isearch-range-invisible'.
4116 (isearch-success-function-default): New function that calls
4117 `isearch-range-invisible' and inverts its return value.
4119 * info.el (Info-search): In two similar places that skip
4120 undesired search matches move code to Info-search-success-function,
4121 and call `isearch-success-function' instead.
4122 (Info-search-success-function): New function copied from code
4123 in Info-search. Replace isearch-range-invisible with
4124 text-property-not-all that checks for 'invisible and 'display
4125 properties to skip partially invisible matches (whose display
4126 properties were set by Info-fontify-node).
4127 (Info-mode): Set buffer-local isearch-success-function
4128 to Info-search-success-function.
4130 2008-04-22 Juri Linkov <juri@jurta.org>
4132 * minibuffer.el (internal-complete-buffer-except): New function.
4134 * files.el (read-buffer-to-switch): New function.
4135 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4136 Change interactive spec to call read-buffer-to-switch instead of
4137 using the letter "B".
4139 * simple.el (minibuffer-default-add-shell-commands): New function.
4140 Use declare-function for mailcap-file-default-commands from "mailcap".
4141 (shell-command): Set local minibuffer-default-add-function to
4142 minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
4143 before calling read-shell-command. Set 4th arg default-value of
4144 read-shell-command to relative buffer-file-name in file buffers.
4146 * dired-aux.el (dired-read-shell-command-default): Move it to
4147 gnus/mailcap.el and change its name to more general name
4148 mailcap-file-default-commands.
4149 (minibuffer-default-add-dired-shell-commands): New function.
4150 Use declare-function for mailcap-file-default-commands from "mailcap".
4151 (dired-read-shell-command): Set local minibuffer-default-add-function
4152 to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
4153 before calling read-shell-command. Remove dired-read-shell-command-default
4154 from the default value arg because default values are not set in
4155 minibuffer-default-add-dired-shell-commands. Doc fix.
4157 * dired-x.el (dired-smart-shell-command): Sync arguments and
4158 interactive spec with changes in `shell-command'.
4159 Use dired-get-filename to get the dired file name at point
4160 as the default value in dired mode.
4162 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4164 * info.el (Info-complete-menu-item): Add missing parenthesis.
4166 2008-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * info.el (Info-complete-menu-item): Save point.
4170 2008-04-22 Juanma Barranquero <lekktu@gmail.com>
4172 * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
4174 2008-04-22 Andreas Schwab <schwab@suse.de>
4176 * Makefile.in (emacs-deps): Define.
4177 Use it instead of $(lisp)/subdirs.el.
4179 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu>
4181 * vc.el (vc-next-action): Do not consider directories when
4182 checking for state compatibility.
4183 (vc-transfer-file): Use when not if.
4184 (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
4185 (vc-dir-mark-file): Use them.
4186 (vc-deduce-fileset): Also return the backend.
4187 (vc-diff-internal): Take as argument the value returned by
4188 vc-deduce-fileset instead of just the fileset.
4189 (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
4190 (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
4191 (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
4193 2008-04-22 Tassilo Horn <tassilo@member.fsf.org>
4195 * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
4196 set-window-vscroll but image-scroll-down. Fixes a bug where a
4197 command following SPC scrolled up again.
4199 2008-04-22 Nick Roberts <nickrob@snap.net.nz>
4201 * progmodes/gdb-ui.el (gdb-locals-header): New variable.
4202 (gdb-locals-mode, gdb-registers-mode): Use it for header line.
4203 (gud-watch): Add "$" prefix when in registers buffer.
4205 2008-04-22 Glenn Morris <rgm@gnu.org>
4207 * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
4209 * whitespace.el (whitespace-display-table)
4210 (whitespace-display-table-was-local): Move definitions before use.
4212 * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
4213 (copyright-limit): Respect copyright-at-end-flag.
4214 (copyright-re-search, copyright-start-point)
4215 (copyright-offset-too-large-p): New functions.
4216 (copyright-update-year): Use copyright-re-search.
4217 (copyright-update, copyright-fix-years): Use copyright-start-point,
4218 and copyright-re-search.
4219 (copyright): Use copyright-offset-too-large-p.
4220 * add-log.el (change-log-mode): Set copyright-at-end-flag.
4222 * add-log.el (top-level): Require 'cl when compiling.
4224 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
4227 Treat minibuffer-completion-predicate as a predicate.
4229 * minibuffer.el (completion--file-name-table): Accept both the old
4230 `dir' arg or the new `pred' arg.
4232 * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
4233 `predicate' argument to pass non-predicate data.
4234 (ffap-read-url-internal, ffap-read-file-or-url-internal):
4235 Use second arg as proper predicate.
4237 * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
4238 (vc-bzr-revision-completion-table): Use completion-table-with-context
4241 * simple.el (choose-completion-string): Use minibuffer-completion-table.
4243 2008-04-21 Chong Yidong <cyd@stupidchicken.com>
4245 * term.el (term-emulate-terminal): Perform redisplay after the
4246 process filter has finished running.
4248 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * vc.el (vc-dir): Use pop-to-buffer, so it can be customized.
4252 * minibuffer.el (completion-try-completion): Change magic symbol
4253 property name. Rename from minibuffer-try-completion.
4254 (completion-all-completions): Rename from minibuffer-all-completions.
4255 Remove hide-spaces argument.
4256 (completion--do-completion): Rename from minibuffer--do-completion.
4257 (minibuffer-complete-and-exit): Call just try-completion rather than
4258 completion-try-completion to fix up the case.
4259 (completion--try-word-completion): Try to add space or hyphen before
4260 making `string' a prefix of `completion'.
4261 (completion--insert-strings): Rename from minibuffer--insert-strings.
4263 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change)
4265 * net/tls.el (tls-program): Add -ign_eof argument to call the
4267 (tls-checktrust): Ditto.
4269 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
4271 * vc-cvs.el (vc-cvs-status-extra-headers): New function.
4273 * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
4274 (vc-check-master-templates, vc-file-not-found-hook)
4275 (vc-kill-buffer-hook):
4276 * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command)
4277 (vc-find-position-by-context, vc-buffer-context)
4278 (vc-restore-buffer-context, vc-responsible-backend)
4279 (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync)
4280 (vc-next-action, vc-register, vc-register-with, vc-steal-lock)
4281 (vc-finish-logentry, vc-coding-system-for-diff, vc-switches)
4282 (vc-version-diff, vc-diff, vc-insert-headers)
4283 (vc-dired-buffers-for-dir, vc-dired-resynch-file)
4284 (vc-snapshot-precondition, vc-create-snapshot, vc-print-log)
4285 (vc-revert, vc-rollback, vc-version-backup-file)
4286 (vc-rename-master, vc-delete-file, vc-rename-file)
4287 (vc-branch-part, vc-default-retrieve-snapshot)
4288 (vc-annotate-display-autoscale, vc-annotate-display-select)
4289 (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference)
4290 (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if.
4291 (vc-dir-update): Handle directories.
4292 (vc-default-status-printer): Simplify.
4294 * progmodes/asm-mode.el (asm-mode-map):
4295 * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.
4297 * progmodes/m4-mode.el (m4-mode-map): Add menu.
4299 2008-04-21 Kenichi Handa <handa@m17n.org>
4301 * select.el (xselect-convert-to-string): Send a C_STRING only if
4302 the polymorphic target TEXT is requested.
4304 2008-04-21 Juanma Barranquero <lekktu@gmail.com>
4306 * minibuffer.el (completion-setup-hook, display-completion-list)
4307 (completion--file-name-table): Fix typos in docstrings.
4308 (completion-table-dynamic): Fix typo, and reflow docstring.
4310 2008-04-20 Andreas Schwab <schwab@suse.de>
4312 * server.el (server-switch-buffer): Also consider clients in the
4315 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4317 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
4318 Select window clicked on first.
4319 (gdb): Display thread number in mode-line.
4320 (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
4321 (gdb-breakpoints-header): New variable.
4322 (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
4324 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command.
4327 (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision)
4328 (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert)
4329 (vc-sccs-steal-lock, vc-sccs-modify-change-comment)
4330 (vc-sccs-print-log): Use it.
4332 * vc-hooks.el (vc-path): Remove SCCS-specific hack.
4334 * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
4335 * progmodes/scheme.el (scheme-mode-variables): Don't use it.
4337 * tooltip.el (tooltip-previous-message): New var.
4338 (tooltip-show-help-non-mode): Rewrite to better follow the behavior of
4339 the C code (avoid overwriting a minibuffer, restore previous echo
4341 (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt):
4344 2008-04-19 Nick Roberts <nickrob@snap.net.nz>
4346 * progmodes/gdb-ui.el (gdb-thread-indicator): New variable.
4347 (gdb-init-1): Initialise it.
4348 (gdb-annotation-rules): New entry for "new-thread".
4349 (gdb-thread-identification): New function to customize
4350 mode-line-buffer-identification.
4351 (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
4352 (gdb-assembler-mode): Use it.
4353 (gdb-threads-mode): Force "info threads" onto queue.
4355 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * files.el (locate-file-completion-table): Rename from
4358 locate-file-completion and make it use `pred' in the normal way.
4359 (locate-file-completion): New compatibility wrapper.
4360 (load-library): Use locate-file-completion-table.
4361 * finder.el (finder-commentary):
4362 * subr.el (locate-library):
4363 * emacs-lisp/find-func.el (find-library): Likewise.
4364 * info.el: Use with-current-buffer and inhibit-read-only.
4365 (Info-read-node-name-2): Change to use `predicate' in the normal way.
4366 (Info-read-node-name-1): Adjust uses accordingly.
4368 * minibuffer.el (completion-table-with-context): Add support for `pred'.
4369 (completion-table-with-terminator): Don't use complete-with-action
4370 since we have to distinguish all three cases anyway.
4371 (completion-table-with-predicate): New function.
4372 (dynamic-completion-table): Add obsolete alias.
4374 * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window.
4376 2008-04-18 Sam Steingold <sds@gnu.org>
4378 * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map):
4379 Use quit-window instead of bury-buffer.
4381 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4383 * minibuffer.el (completion-table-with-terminator): Fix last fix.
4385 2008-04-18 Andreas Schwab <schwab@suse.de>
4387 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4388 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4389 Depend on $(lisp)/subdirs.el.
4391 2008-04-18 Juanma Barranquero <lekktu@gmail.com>
4393 * descr-text.el (describe-char-after):
4394 Use `define-obsolete-function-alias'.
4396 * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'.
4398 * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description.
4400 * savehist.el (savehist-load): Add WHEN to obsolescence declaration.
4401 Remove redundant obsolescence info in docstring.
4403 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4404 (vc-header-alist): Add WHEN to obsolescence declaration.
4405 (vc-state): Fix typo in docstring.
4407 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap):
4408 Use `define-obsolete-variable-alias'.
4410 * emulation/tpu-edt.el (tpu-have-ispell):
4411 * international/codepage.el (codepage-setup):
4412 Fix typo in obsolescence declaration.
4414 * international/mule.el (char-coding-system-table):
4415 Remove redundant obsolescence info in docstring.
4416 (charset-list, generic-char-p, set-char-table-default):
4417 Fix typos in obsolescence decarations.
4419 * international/mule-diag.el (non-iso-charset-alist):
4420 Fix typo in obsolescence declaration.
4421 (decode-codepage-char): Remove redundant obsolescence info in docstring.
4423 * font-core.el (font-lock-defaults-alist):
4424 * font-lock.el (font-lock-reference-face):
4425 * frame.el (screen-height, screen-width, set-screen-width)
4426 (set-screen-height):
4427 * hilit-chg.el (highlight-changes-initial-state):
4428 * isearch.el (isearch-return-char):
4429 * log-edit.el (cvs-commit-buffer-require-final-newline)
4430 (cvs-changelog-full-paragraphs):
4431 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar)
4432 (mouse-popup-menubar-stuff):
4433 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
4434 (mouse-wheel-click-button):
4435 * outline.el (outline-visible):
4436 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name):
4437 * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path):
4438 * emacs-lisp/lisp-mode.el (lisp-comment-indent):
4439 * progmodes/compile.el (compile-internal):
4440 Add WHEN to obsolescence declarations.
4442 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
4445 is not better anyway.
4447 2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4449 * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
4452 2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4454 * progmodes/python.el (python-mode-map): Use abbrev-table-menu.
4455 (python-use-skeletons): Remove, unused.
4456 (python-skeletons): Remove. Use the abbrev table instead.
4457 (python-mode-abbrev-table): Fix regexp;
4458 add enable-function and case-fixed.
4459 (def-python-skeleton): Simplify.
4460 (python-expand-template): Use the abbrev-table and abbrev-insert.
4461 (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
4463 (python-mode): Don't set pre-abbrev-expand-hook.
4465 * skeleton.el: Set coding-tag.
4467 * abbrev.el (abbrev-insert): New function extracted from expand-abbrev.
4468 (expand-abbrev): Use it.
4469 (abbrev-table-menu): New function.
4471 * abbrev.el (define-abbrev-table): Fontify dosctrings as such.
4473 * minibuffer.el (completion-table-with-terminator): Fix paren typo.
4475 2008-04-17 Sam Steingold <sds@gnu.org>
4477 * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the
4478 idiosyncratic bury-buffer/delete-window logic.
4480 2008-04-17 Juanma Barranquero <lekktu@gmail.com>
4482 * emacs-lisp/crm.el (crm-completion-help, crm-complete)
4483 (crm-complete-word, crm-complete-and-exit): Fix typo in previous change.
4485 2008-04-17 Kenichi Handa <handa@m17n.org>
4487 * international/characters.el: Don't make the width of U+00AD to 0.
4489 2008-04-17 Nick Roberts <nickrob@snap.net.nz>
4491 * progmodes/gdb-ui.el (gdb-stack-update): New variable.
4492 (gdb, gdb-starting, gdb-frames-mode): Use it.
4493 (gdb-invalidate-frames): Advise to call "info stack" only if
4494 execution has occurred.
4495 (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
4496 selected frame if no execution has occurred.
4497 (gdb-frames-force-update): New interactive function.
4498 (gdb-frames-mode-map): Bind it to "F".
4500 2008-04-17 Michael Olson <mwolson@gnu.org>
4502 * textmodes/remember.el (remember-version): Release Remember 2.0.
4504 2008-04-16 Yoni Rabkin <yoni@rabkins.net>
4506 * textmodes/artist.el:
4507 * progmodes/vhdl-mode.el:
4508 * progmodes/verilog-mode.el:
4509 * progmodes/vera-mode.el:
4510 * progmodes/simula.el:
4511 * progmodes/ps-mode.el:
4512 * progmodes/cmacexp.el:
4513 * obsolete/hilit19.el:
4514 * emulation/viper.el:
4515 * ediff.el: Cleanup the bug-report email addresses and make sure the
4516 maintainer is still willing to handle bug reports.
4518 2008-04-16 Dan Nicolaescu <dann@ics.uci.edu>
4520 * vc.el (vc-dir-kill-query): Fix thinko.
4522 2008-04-16 Glenn Morris <rgm@gnu.org>
4524 * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
4525 by diary-sexp-entry.
4527 2008-04-16 Markus Triska <markus.triska@gmx.at>
4529 * proced.el (proced-command-alist): Add support for darwin.
4531 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * proced.el (proced-mode): Redefine as just the major-mode.
4534 (proced): Separate it from proced-mode.
4536 * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc.
4538 2008-04-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4540 * whitespace.el: Honor the `indent-tabs-mode' setting from user.
4541 Suggested by Stephen Deasey <sdeasey@gmail.com>. Honor also the
4542 `tab-width' setting from user. New version 10.0. Doc and docstring
4544 (whitespace-style, whitespace-chars): Remove options.
4545 (whitespace-style-mark): New option, replace whitespace-style deleted
4546 option. Fix docstring.
4547 (whitespace-style-color): New option, replace whitespace-chars deleted
4548 option. Fix docstring.
4549 (whitespace-space, whitespace-hspace, whitespace-tab)
4550 (whitespace-newline, whitespace-trailing, whitespace-line)
4551 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4552 (whitespace-space-after-tab, whitespace-hspace-regexp)
4553 (whitespace-space-regexp, whitespace-tab-regexp)
4554 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
4555 (whitespace-empty-at-eob-regexp, whitespace-line-column)
4556 (whitespace-toggle-option-alist): Fix docstring.
4557 (whitespace-space-before-tab-regexp, whitespace-indentation-regexp)
4558 (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix
4559 docstring and initialization.
4560 (global-whitespace-mode): Autoloaded global minor mode.
4561 (whitespace-chars-value-list, whitespace-style-value-list)
4562 (whitespace-active-chars, whitespace-active-style)
4563 (whitespace-toggle-chars, whitespace-toggle-style): Remove vars.
4564 (whitespace-color-value-list): New var, replace
4565 whitespace-chars-value-list removed var.
4566 (whitespace-mark-value-list): New var, replace
4567 whitespace-style-value-list removed var.
4568 (whitespace-active-color): New var, replace whitespace-active-chars
4570 (whitespace-active-mark): New var, replace whitespace-active-style
4572 (whitespace-toggle-color): New var, replace whitespace-toggle-chars
4574 (whitespace-toggle-mark): New var, replace whitespace-toggle-style
4576 (whitespace-toggle-option-alist, whitespace-report-list)
4577 (whitespace-report-text, whitespace-help-text): Fix initialization.
4578 (whitespace-indent-tabs-mode, whitespace-tab-width): New vars.
4579 (whitespace-toggle-options, global-whitespace-toggle-options)
4580 (whitespace-cleanup-region, whitespace-report-region)
4581 (whitespace-interactive-char): Fix docstring and code.
4582 (whitespace-cleanup, whitespace-report): Fix docstring.
4583 (whitespace-replace-spaces-by-tabs): Remove fun.
4584 (whitespace-replace-action): New fun, replace
4585 whitespace-replace-spaces-by-tabs removed fun.
4586 (whitespace-regexp, whitespace-indentation-regexp)
4587 (whitespace-space-after-tab-regexp, whitespace-insert-value)
4588 (whitespace-kill-buffer): New funs.
4589 (whitespace-insert-option-mark, whitespace-help-on)
4590 (whitespace-help-off, whitespace-turn-on, whitespace-turn-off)
4591 (whitespace-color-on, whitespace-color-off)
4592 (whitespace-display-char-on): Fix code.
4594 2008-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar)
4597 (mouse-throw-magnifier-with-mouse-movement): Remove.
4598 (mouse-throw-magnifier-base): New const.
4599 (mouse-drag-scroll-delta): New fun.
4600 (mouse-drag-throw): Use it.
4602 2008-04-15 Juanma Barranquero <lekktu@gmail.com>
4604 * international/uni-bidi.el, international/uni-category.el:
4605 * international/uni-combining.el, international/uni-comment.el:
4606 * international/uni-decimal.el, international/uni-decomposition.el:
4607 * international/uni-digit.el, international/uni-lowercase.el:
4608 * international/uni-mirrored.el, international/uni-name.el:
4609 * international/uni-numeric.el, international/uni-old-name.el:
4610 * international/uni-titlecase.el, international/uni-uppercase.el:
4611 * international/charprop.el: Regenerate.
4613 2008-04-15 Dan Nicolaescu <dann@ics.uci.edu>
4615 * vc.el (vc-status-fileinfo): Add new member directoryp.
4616 (vc-default-status-printer): Print directories.
4617 (vc-status-update): Sort files before subdirectories.
4619 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
4620 Add alternative implementation based on "cvs update".
4622 2008-04-15 Tassilo Horn <tassilo@member.fsf.org>
4624 * doc-view.el: Changed requirements section to tell that only one
4625 of dvipdf or dvipdfm is needed.
4626 (doc-view-already-converted-p): Fix bug that forced reconversion
4627 if doc was already converted.
4629 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4631 * minibuffer.el (minibuffer-message):
4632 Make sure we can put-text-property.
4634 * emacs-lisp/crm.el: Complete rewrite.
4636 * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1.
4637 (tmm-add-prompt): Make sure completion-setup-hook is preserved even in
4638 case of an error in display-completion-list.
4640 * filecache.el (file-cache-completions-keymap): Move init from
4641 file-cache-completion-setup-function into declaration.
4642 (file-cache-minibuffer-complete): Simplify.
4643 (file-cache-completion-setup-function): Use standard-output,
4644 preserve current-buffer.
4646 * vc.el (vc-status-update): Fix typo.
4647 (vc-status-update): Set needs-update.
4648 (vc-status-refresh): η-reduce.
4650 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
4652 * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e
4655 2008-04-14 Alexandre Julliard <julliard@winehq.org>
4657 * vc.el (vc-status-update): Undo the previous revert.
4659 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * minibuffer.el (completion-table-with-terminator): Those completions
4662 are never valid w.r.t test-completion.
4663 (completion--file-name-table):
4664 Check completion-all-completions-with-base-size.
4666 2008-04-14 Tassilo Horn <tassilo@member.fsf.org>
4668 * doc-view.el (doc-view-dvipdf-program): New variable.
4669 (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
4670 (doc-view-mode-p): Check for doc-view-dvipdf-program as
4671 alternative for doc-view-dvipdfm-program.
4672 (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
4674 * doc-view.el (doc-view-start-process): Don't set
4675 default-directory to "~/" if the current value is valid.
4676 This broke PS files that run other files in the same directory.
4678 2008-04-14 Dan Nicolaescu <dann@ics.uci.edu>
4680 * vc.el (vc-status-kill-query): New function.
4681 (vc-status-mode): Add it to kill-buffer-query-functions.
4682 (vc-status-show-fileentry): New function.
4683 (vc-status-menu-map): Bind it. Bind vc-next-action.
4685 2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * minibuffer.el (minibuffer-message): Put cursor at the right place.
4689 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4691 * proced.el (proced-send-signal): Fix error recognition.
4693 2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4695 * proced.el (proced-command-alist): Remove sort column.
4696 (proced-command, proced-procname-column):
4697 Use make-variable-buffer-local.
4698 (proced-signal-function): Rename from proced-kill-program.
4699 Allow for elisp symbols and string values representing system calls.
4700 (proced-marker-regexp, proced-success-message): New functions.
4701 (proced): Use defalias. Add autoload cookie.
4702 (proced-unmark-backward, proced-toggle-marks)
4703 (proced-hide-processes): New commands.
4704 (proced-do-mark): Simplify code.
4705 (proced-insert-mark): Use optional arg BACKWARD instead of line number.
4706 (proced-update): Remove sorting.
4707 (proced-send-signal): Display number of processes to operate on.
4708 Allow for system calls or elisp functions to send signals.
4709 Check if signal was sent successfully.
4711 2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * minibuffer.el (completion-all-completion-with-base-size): New var.
4714 (completion--some): New function.
4715 (completion-table-with-context, completion--file-name-table):
4716 Return the base-size if requested.
4717 (completion-table-in-turn): Generalize to multiple arguments.
4718 (complete-in-turn): Compatibility alias.
4719 (completion-styles-alist): New var.
4720 (completion-styles): New customization.
4721 (minibuffer-try-completion, minibuffer-all-completions):
4723 (minibuffer--do-completion, minibuffer-complete-and-exit)
4724 (minibuffer-try-word-completion): Use them.
4725 (display-completion-list, minibuffer-completion-help): Use them.
4726 Handle all-completions's new base-size info to set completion-base-size.
4727 * info.el (Info-read-node-name-1): Use completion-table-with-context,
4728 completion-table-with-terminator and complete-with-action.
4729 Remove the now obsolete completion-base-size-function property.
4730 * simple.el (completion-list-mode-map): Move init into declaration.
4731 (completion-list-mode): Use define-derived-mode.
4732 (completion-setup-function): Use any completion-base-size that may
4733 have been set before. Remove handling of completion-base-size-function.
4734 * loadup.el: Move abbrev.el up earlier.
4736 2008-04-13 Alexandre Julliard <julliard@winehq.org>
4738 * vc-git.el (vc-git-after-dir-status-stage)
4739 (vc-git-dir-status-goto-stage): New functions.
4740 (vc-git-after-dir-status-stage1)
4741 (vc-git-after-dir-status-stage1-empty-db)
4742 (vc-git-after-dir-status-stage2): Remove, functionality moved
4743 into the new generic stage functions.
4744 (vc-git-dir-status-files): New function.
4746 * vc.el (vc-status-update): Revert an incorrect rewrite.
4748 (vc-status-refresh-files): New function.
4749 (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
4750 state of up-to-date files.
4751 (vc-default-dir-status-files): New function.
4753 2008-04-13 Juanma Barranquero <lekktu@gmail.com>
4755 * minibuffer.el (completion--embedded-envvar-table)
4756 (read-file-name-internal): Fix typos in 2008-04-11 change.
4758 * faces.el (read-face-name): Use `completion-table-in-turn',
4759 not `complete-in-turn'.
4761 2008-04-13 Andreas Schwab <schwab@suse.de>
4763 * progmodes/etags.el: Require 'cl when compiling.
4765 2008-04-12 Nick Roberts <nickrob@snap.net.nz>
4767 * progmodes/gud.el (gud-menu-map): Expand tooltip.
4769 * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
4770 (menu): Add/expand menu tooltips.
4772 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu>
4774 * progmodes/sh-script.el (sh-show-indent): Fix typo.
4775 (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
4777 * vc-cvs.el (vc-cvs-registered): Allow removed files to be
4778 considered registered.
4780 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de>
4782 * emacs-lisp/copyright.el (copyright-update-directory): New command.
4784 * ediff-wind.el (ediff-split-window-function)
4785 (ediff-merge-split-window-function): Improve custom type.
4787 2008-04-12 Eli Zaretskii <eliz@gnu.org>
4789 * loadup.el ("minibuffer"): Move after "faces".
4791 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4793 * progmodes/hideif.el (hif-factor): Handle unary minus.
4795 2008-04-12 Glenn Morris <rgm@gnu.org>
4797 * calendar/cal-china.el (chinese-calendar-time-zone):
4798 Mark obsolete name as risky too.
4800 * calendar/calendar.el (calendar-faces): New custom group.
4801 (calendar-today, diary, holiday): Doc fix.
4802 Move to calendar-faces group.
4803 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
4804 (diary-button): Doc fix. Move to calendar-faces group.
4806 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4807 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
4808 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
4809 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
4810 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
4811 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
4812 not in dumped files before the associated defcustom.
4814 2008-04-11 Johan Bockgård <bojohan@gnu.org>
4816 * minibuffer.el (lazy-completion-table): Fix debug spec.
4818 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * minibuffer.el (complete-with-action, lazy-completion-table):
4822 (apply-partially, completion-table-dynamic)
4823 (completion-table-with-context, completion-table-with-terminator)
4824 (completion-table-in-turn): New funs.
4825 (completion--make-envvar-table, completion--embedded-envvar-table):
4827 (read-file-name-internal): Use them.
4828 (completion-setup-hook): Move from simple.el.
4829 * subr.el (complete-with-action, lazy-completion-table):
4830 * simple.el (completion-setup-hook): Move to minibuffer.el.
4832 2008-04-11 Glenn Morris <rgm@gnu.org>
4834 * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
4836 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * progmodes/python.el (python-mode): Don't mess with hippie-expand.
4840 * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
4842 * textmodes/fill.el (fill-forward-paragraph-function): New var.
4843 (fill-forward-paragraph): New fun.
4844 (fill-paragraph, fill-region): Use it.
4846 * vc.el: Change `dir-status' to not take (and pass) status-buffer.
4847 (vc-status-create-fileinfo): Make `extra' optional.
4848 (vc-status-busy): New fun.
4849 (vc-status-menu-map): Use it.
4850 (vc-status-crt-marked): Remove.
4851 (vc-status-update): Rename from vc-status-add-entries.
4852 Add argument so as to prevent addition of entries. Rewrite.
4853 (vc-update-vc-status-buffer): Remove.
4854 (vc-status-refresh): Don't remove old entries, set them to
4855 up-to-date instead. Also do it after the update is complete.
4856 (vc-status-marked-files): η-reduce.
4858 * dired.el (dired-read-dir-and-switches): Use read-directory-name even
4861 * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
4863 * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
4865 2008-04-11 Jan Djärv <jan.h.d@swipnet.se>
4867 * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
4868 to t and don't truncate msg.
4870 2008-04-11 Glenn Morris <rgm@gnu.org>
4872 * calendar/calendar.el (diary, holidays):
4873 Move custom groups to other files.
4874 (holiday-general-holidays, holiday-oriental-holidays)
4875 (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
4876 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
4877 (holiday-hebrew-holidays, holiday-christian-holidays)
4878 (holiday-islamic-holidays, holiday-bahai-holidays)
4879 (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
4880 * calendar/diary-lib.el: Move custom group here from calendar.el.
4881 * calendar/holidays-lib.el: Move custom group and variables here
4884 * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
4886 * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
4888 (calendar-current-time-zone-cache): Autoload riskiness.
4890 * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
4892 2008-04-11 Chong Yidong <cyd@stupidchicken.com>
4894 * woman.el (woman2-TH): Use string-equal instead of string-match.
4896 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
4899 (smerge-resolve): Merge the "2-way refinement" case with one half of
4900 the "mere whitespace" resolution.
4902 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
4904 * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
4906 2008-04-10 Juanma Barranquero <lekktu@gmail.com>
4908 * subr.el (assoc-ignore-case, assoc-ignore-representation):
4909 Add WHEN to obsolescence declaration.
4911 * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
4913 2008-04-10 Dan Nicolaescu <dann@ics.uci.edu>
4915 * vc-hooks.el (vc-state): Add new state `conflict'.
4916 (vc-after-save): Use when not if.
4917 (vc-default-mode-line-string): Deal with the conflict state.
4918 (vc-prefix-map, vc-menu-map): Bind vc-status instead of vc-directory.
4920 * vc.el (vc-editable-p, vc-default-status-printer)
4921 (vc-next-action): Deal with the conflict state.
4922 (vc-mark-resolved): New function.
4923 (vc-status-mode): Fix mode name.
4924 (vc-default-comment-history): Use when not if.
4925 (Todo): Add new entries, remove old ones.
4927 * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
4928 (vc-cvs-parse-status, vc-cvs-after-dir-status):
4929 * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
4930 Detect the conflict state.
4932 * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
4934 2008-04-10 Glenn Morris <rgm@gnu.org>
4936 * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
4937 Respect truncate-partial-width-windows in non-full windows,
4938 with regards to :toggle and :enable state.
4940 * simple.el (toggle-truncate-lines): Doc fix.
4942 * Makefile.in (MH_E_DIR): New variable.
4943 (MH_E_SRC): Restore variable removed 2008-03-13.
4944 (mh-loaddefs.el): Depend on $MH_E_SRC.
4945 (CAL_DIR, CAL_SRC): New variables.
4946 (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
4949 * calendar/calendar.el (calendar, diary): Add :prefix.
4950 (holidays): Change :prefix.
4951 (calendar-today, holiday, calendar-holiday-marker)
4952 (european-calendar-style): Change custom groups.
4954 * calendar/calendar.el (diary-hook, diary-display-hook):
4955 Move to diary-lib.el.
4956 * calendar/diary-lib.el (diary-hook, diary-display-hook):
4957 Move here from calendar.el.
4958 * calendar/appt.el: Require diary-lib rather than calendar.
4959 * calendar/cal-x.el (diary-display-hook): Declare for compiler.
4961 * calendar/appt.el (appt): Add :prefix.
4963 * calendar/diary-lib.el (diary-hook): Doc fix.
4964 (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
4966 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
4971 * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
4972 the arg to recursive calls.
4974 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
4976 * minibuffer.el (completion-auto-help): Fix typo.
4978 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.
4982 2008-04-09 Michael Albinus <michael.albinus@gmx.de>
4984 * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
4985 (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
4987 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
4991 * minibuffer.el (minibuffer): Move group from cus-edit.el.
4992 (completion-auto-help): Move from C code.
4993 (minibuffer--maybe-completion-help): Remove.
4994 (minibuffer--bitset): New function.
4995 (minibuffer--do-completion): Rename from minibuffer-do-completion.
4996 Renumber a bit. Really complete on string *before* point.
4997 Add argument used for word-completion.
4998 Join trailing / in completion with following text, as done in
4999 minibuffer-complete-word.
5000 Handle new value `lazy' for completion-auto-help.
5001 (minibuffer-try-word-completion): New function extracted from
5002 minibuffer-complete-word.
5003 (minibuffer-complete-word): Use minibuffer--do-completion.
5004 (minibuffer--insert-strings): Rename from
5005 minibuffer-complete-insert-strings.
5006 (exit-minibuffer): Fix typo.
5007 * cus-edit.el (minibuffer): Move group to minibuffer.el.
5008 * cus-start.el: Remove completion-auto-help.
5010 2008-04-09 Alexandre Julliard <julliard@winehq.org>
5012 * vc.el (vc-status-add-entries): New function.
5013 (vc-status-add-entry): Remove.
5014 (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
5015 Use vc-status-add-entries.
5017 * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
5020 2008-04-09 Jason Rumney <jasonr@gnu.org>
5022 * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
5023 ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
5024 (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
5025 (AUTOGENEL): New variable.
5026 (distclean, maintainer-clean): New targets.
5028 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5030 * emacs-lisp/regexp-opt.el (regexp-opt):
5031 Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
5033 2008-04-09 Lennart Borgman <lennart.borgman@gmail.com>
5035 * nxml/nxml-mode.el (nxml-cleanup): New function.
5036 (nxml-mode): Add it to change-major-mode-hook.
5038 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5040 * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
5042 2008-04-09 Juanma Barranquero <lekktu@gmail.com>
5044 * calc/.cvsignore: New file.
5046 2008-04-09 Jan Djärv <jan.h.d@swipnet.se>
5048 * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
5050 * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
5051 show-help-function when turning tooltip off.
5052 (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
5053 (tooltip-trunc-str, tooltip-show-help-non-mode): New.
5055 2008-04-09 Alan Mackenzie <acm@muc.de>
5057 * font-lock.el (font-lock-extend-after-change-region-function):
5058 Make it buffer local.
5060 2008-04-09 Glenn Morris <rgm@gnu.org>
5062 * calendar/calendar.el (diary-file, european-calendar-style):
5063 Remove autoload cookies.
5065 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5067 * outline.el (outline-mode-menu-bar-map):
5068 * log-view.el (log-view-mode-menu):
5069 * log-edit.el (log-edit-menu): Add :help.
5071 2008-04-09 Chong Yidong <cyd@stupidchicken.com>
5073 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5074 Use substring-no-properties for correct handling of unibyte strings.
5076 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5078 * add-log.el (change-log-next-buffer): Handle the case where version<
5081 * mouse.el (mouse-menu-major-mode-map): New fun extracted from
5082 mouse-major-mode-menu.
5083 (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
5084 (mouse-major-mode-menu, mouse-popup-menubar)
5085 (mouse-popup-menubar-stuff): Use them.
5086 (C-down-mouse-3): Bind to a dynamic map rather than to
5087 mouse-popup-menubar-stuff.
5089 * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
5090 to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
5092 2008-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5094 * vc-svn.el (vc-svn-modify-change-comment): Add support for the
5095 file:// access method.
5097 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5099 * minibuffer.el: New file.
5100 * loadup.el: Load it.
5102 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5104 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
5105 rather than subdirs.el. It introduces an ugly circular dependency, tho.
5107 * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
5108 (calc-mode-map, calc-digit-map, calc-dispatch-map):
5109 Move initialization into declaration.
5110 * calc/calc-yank.el:
5111 * calc/calc-misc.el:
5112 * calc/calc-embed.el:
5113 * calc/calc-aent.el: Add autoload cookies. Set generated-autoload-file.
5115 2008-04-08 Michael Albinus <michael.albinus@gmx.de>
5117 * ps-samp.el (ps-add-printer, ps-remove-printer)
5118 (ps-make-dynamic-printer-menu): New functions.
5120 * net/zeroconf.el: New file.
5122 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
5126 2008-04-08 Dan Nicolaescu <dann@ics.uci.edu>
5128 * vc-rcs.el (vc-rcs-modify-change-comment):
5129 * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
5131 * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
5133 2008-04-08 Juanma Barranquero <lekktu@gmail.com>
5135 * international/mule-cmds.el (set-locale-environment): Don't warn if
5136 coding system doesn't agree with system locale (this reverts changes
5137 by Dave Love, dated 2002-10-27 and 2002-10-09).
5139 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5140 * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
5142 * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
5144 2008-04-08 Glenn Morris <rgm@gnu.org>
5146 * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
5147 * textmodes/remember.el (remember-diary-convert-entry):
5150 * textmodes/remember.el (remember-diary-extract-entries): Don't pass
5151 diary-file, since it is the default for make-diary-entry anyway.
5153 * calendar/cal-menu.el (cal-menu-event-to-date):
5154 Rename calendar-event-to-date. Update callers.
5155 (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
5156 (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
5157 (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
5158 (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
5159 (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
5160 (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
5161 (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
5162 (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
5163 (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
5164 (calendar-mouse-tex-month-landscape):
5165 Rename cal-tex-mouse-month-landscape.
5166 (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
5167 (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
5168 (calendar-mouse-tex-year-landscape):
5169 Rename cal-tex-mouse-year-landscape.
5170 (cal-menu-context-mouse-menu): Update for above name changes.
5172 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5173 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5174 * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
5175 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
5176 * calendar/holidays.el: Replace int-to-string with number-to-string.
5178 2008-04-08 Chong Yidong <cyd@stupidchicken.com>
5180 * mwheel.el (mwheel-scroll): Deactivate any temporarily active
5181 region if point moves.
5183 2008-04-08 Kenichi Handa <handa@m17n.org>
5185 * faces.el (font-slant-table): Change numeric values for `r',
5186 `roman', and `normal'.
5188 2008-04-07 Vincent Belaïche <vincent.b.1@hotmail.fr>
5190 * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
5192 2008-04-07 Jay Belanger <jay.p.belanger@gmail.com>
5194 * calc/calc-ext.el (calc-init-extensions): Add `calc-kron' and
5195 `calcFunc-kron' to autoloads. Add keybinding for `calc-kron'.
5197 2008-04-07 Michael Albinus <michael.albinus@gmx.de>
5199 * net/tramp.el (tramp-methods): Fix again tramp-copy-args of
5200 "pscp" and "psftp". Reported by Gilles Pion <gpion@lfdj.com>.
5202 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5204 * dired-aux.el (dired-read-shell-command): Use read-shell-command.
5206 2008-04-07 Sam Steingold <sds@gnu.org>
5208 * progmodes/inf-lisp.el (lisp-compile-string, lisp-eval-string):
5209 Add helper functions.
5210 (lisp-do-defun): Extract the common part of lisp-eval-defun and
5211 lisp-compile-defun; DEFVAR forms reset the variables to the init
5212 values, just like in emacs-lisp mode eval-defun.
5213 (lisp-eval-defun, lisp-compile-defun): Use lisp-do-defun.
5214 (lisp-compile-region): Use lisp-compile-string.
5216 2008-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * subr.el (combine-and-quote-strings): Also quote strings that contain
5221 * pcvs-util.el (cvs-map): Avoid recursion :-(
5223 2008-04-07 Glenn Morris <rgm@gnu.org>
5225 * calendar/calendar.el (calendar-mode-map): Replace use of kbd.
5227 * calendar.el (diary-view-entries-initially-flag): Rename
5228 view-diary-entries-initially. Keep old name as alias, update users.
5229 (calendar-mark-diary-entries-flag): Rename
5230 mark-diary-entries-in-calendar. Keep old name as alias, update users.
5231 (calendar-view-holidays-initially-flag): Rename
5232 view-calendar-holidays-initially. Keep old name as alias, update users.
5233 (calendar-mark-holidays-flag): Rename mark-holidays-in-calendar.
5234 Keep old name as alias, update users.
5235 (calendar-initial-window-hook): Rename initial-calendar-window-hook.
5236 Keep old name as alias, update users.
5237 (calendar-today-visible-hook): Rename today-visible-calendar-hook.
5238 Keep old name as alias, update users.
5239 (calendar-today-invisible-hook): Rename today-invisible-calendar-hook.
5240 Keep old name as alias, update users.
5241 (diary-iso-date-forms): Rename iso-date-diary-pattern. Update users.
5242 (diary-american-date-forms): Rename american-date-diary-pattern.
5243 Keep old name as alias, update users.
5244 (diary-european-date-forms): Rename european-date-diary-pattern.
5245 Keep old name as alias, update users.
5246 (calendar-iso-date-display-form): Rename iso-calendar-display-form.
5247 Keep old name as alias, update users.
5248 (calendar-european-date-display-form): Rename
5249 european-calendar-display-form. Keep old name as alias, update users.
5250 (calendar-american-date-display-form): Rename
5251 european-calendar-display-form. Keep old name as alias, update users.
5252 (diary-show-holidays-flag): Rename holidays-in-diary-buffer.
5253 Keep old name as alias, update users.
5254 (holiday-general-holidays): Rename general-holidays.
5255 Keep old name as alias, update users.
5256 (holiday-oriental-holidays): Rename oriental-holidays.
5257 Keep old name as alias, update users.
5258 (holiday-local-holidays): Rename local-holidays.
5259 Keep old name as alias, update users.
5260 (holiday-other-holidays): Rename other-holidays.
5261 Keep old name as alias, update users.
5262 (holiday-hebrew-holidays): Rename hebrew-holidays.
5263 Keep old name as alias, update users.
5264 (holiday-christian-holidays): Rename christian-holidays.
5265 Keep old name as alias, update users.
5266 (holiday-islamic-holidays): Rename islamic-holidays.
5267 Keep old name as alias, update users.
5268 (holiday-bahai-holidays): Rename bahai-holidays.
5269 Keep old name as alias, update users.
5270 (holiday-solar-holidays): Rename solar-holidays.
5271 Keep old name as alias, update users.
5272 (diary-fancy-buffer): Rename fancy-diary-buffer.
5273 Keep old name as alias, update users.
5274 (calendar-other-calendars-buffer): Rename other-calendars-buffer.
5276 (calendar-hebrew-yahrzeit-buffer): Rename cal-hebrew-yahrzeit-buffer.
5278 (calendar-increment-month): Rename increment-calendar-month.
5279 Keep old name as alias, update callers.
5280 (calendar-increment-month-cons): Rename old calendar-increment-month.
5282 (calendar-extract-month): Rename extract-calendar-month.
5283 Keep old name as alias, update callers.
5284 (calendar-extract-day): Rename extract-calendar-day.
5285 Keep old name as alias, update callers.
5286 (calendar-extract-year): Rename extract-calendar-year.
5287 Keep old name as alias, update callers.
5288 (calendar-generate-window): Rename generate-calendar-window.
5290 (calendar-generate): Rename generate-calendar. Update callers.
5291 (calendar-generate-month): Rename generate-calendar-month.
5293 (calendar-redraw): Rename redraw-calendar. Update callers.
5294 (calendar-describe-mode): Rename describe-calendar-mode. Update uses.
5295 (calendar-mouse-other-month): Rename mouse-calendar-other-month.
5297 (calendar-update-mode-line): Rename update-calendar-mode-line.
5299 (calendar-exit): Rename exit-calendar. Keep old name as alias,
5301 (calendar-mark-visible-date): Rename mark-visible-calendar-date.
5302 Keep old name as alias, update callers.
5303 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
5304 * calendar/cal-dst.el, calendar/cal-french.el, calendar/cal-hebrew.el:
5305 * calendar/cal-html.el, calendar/cal-islam.el, calendar/cal-iso.el:
5306 * calendar/cal-julian.el, calendar/cal-menu.el, calendar/cal-move.el:
5307 * calendar/cal-persia.el, calendar/cal-tex.el, calendar/cal-x.el:
5308 * calendar/diary-lib.el, calendar/holidays.el, calendar/lunar.el:
5309 * calendar/solar.el: Update for calendar.el name changes.
5310 * org/org.el (org-agenda-format-date-aligned)
5311 (org-agenda-execute-calendar-command): Access date elements directly
5312 rather than using calendar functions.
5313 (org-read-date, org-goto-calendar, org-agenda-goto-calendar):
5314 Also set calendar-view-diary-initially-flag,
5315 calendar-view-holidays-initially-flag.
5316 (org-get-entries-from-diary): Also set diary-fancy-buffer.
5317 (org-agenda-execute-calendar-command): No need to set displayed-day.
5319 2008-04-06 Alan Mackenzie <acm@muc.de>
5321 * progmodes/cc-langs.el (c-before-font-lock-function): Correct a
5322 typo in the doc string.
5324 * progmodes/cc-mode.el (c-basic-common-init):
5325 Set font-lock-extend-after-change-region-function.
5326 (c-extend-after-change-region): New function, used in
5327 font-lock-extend-after-change-region-function, thus superseding
5328 advice on the Font Lock after change functions.
5329 (c-advise-fl-for-region): Remove this macro.
5331 2008-04-06 Reiner Steib <Reiner.Steib@gmx.de>
5333 * textmodes/flyspell.el (flyspell-duplicate-distance):
5334 Improve custom type.
5336 2008-04-06 Glenn Morris <rgm@gnu.org>
5338 * calendar/diary-lib.el (diary-sexp-entry-symbol):
5339 Rename sexp-diary-entry-symbol. Keep old name as alias, update users.
5340 (diary-list-entries-hook): Rename list-diary-entries-hook.
5341 Keep old name as alias, update users.
5342 (diary-mark-entries-hook): Rename mark-diary-entries-hook.
5343 Keep old name as alias, update users.
5344 (diary-nongregorian-listing-hook): Rename
5345 nongregorian-diary-listing-hook. Keep old name as alias, update users.
5346 (diary-nongregorian-marking-hook): Rename
5347 nongregorian-diary-marking-hook. Keep old name as alias, update users.
5348 (diary-print-entries-hook): Rename print-diary-entries-hook.
5349 Keep old name as alias, update users.
5350 (diary-abbreviated-year-flag): Rename abbreviated-calendar-year.
5351 Keep old name as alias, update users.
5352 (diary-number-of-entries): Rename number-of-diary-entries.
5353 Keep old name as alias, update users.
5354 (view-diary-entries, list-diary-entries, show-all-diary-entries):
5355 Give version of obsolescence.
5356 (diary-view-other-diary-entries): Rename view-other-diary-entries.
5357 Keep old name as alias, update callers.
5358 (diary-add-to-list): Rename add-to-diary-list. Keep old name as alias,
5360 (diary-include-other-diary-files): Rename include-other-diary-files.
5361 Keep old name as alias, update callers.
5362 (diary-simple-display): Rename simple-diary-display.
5363 Keep old name as alias, update callers.
5364 (diary-fancy-display): Rename fancy-diary-display.
5365 Keep old name as alias, update callers.
5366 (diary-print-entries): Rename print-diary-entries.
5367 Keep old name as alias, update callers.
5368 (diary-marking-entries-flag): Rename marking-diary-entries.
5370 (diary-marking-entry-flag): Rename marking-diary-entry. Update users.
5371 (diary-mark-entries): Rename mark-diary-entries.
5372 Keep old name as alias, update callers.
5373 (diary-mark-sexp-entries): Rename mark-sexp-diary-entries.
5374 Keep old name as alias, update callers.
5375 (diary-mark-included-diary-files): Rename mark-included-diary-files.
5376 Keep old name as alias, update callers.
5377 (calendar-mark-days-named): Rename mark-calendar-days-named.
5378 Keep old name as alias, update callers.
5379 (calendar-mark-month): Rename mark-calendar-month.
5380 Keep old name as alias, update callers.
5381 (calendar-mark-date-pattern): Rename mark-calendar-date-pattern.
5382 Keep old name as alias, update callers.
5383 (diary-sort-entries): Rename sort-diary-entries.
5384 Keep old name as alias, update callers.
5385 (diary-list-sexp-entries): Rename list-sexp-diary-entries.
5386 Keep old name as alias, update callers.
5387 (diary-make-entry): Rename make-diary-entry. Keep old name as alias,
5389 (diary-insert-entry): Rename insert-diary-entry.
5390 Keep old name as alias.
5391 (diary-insert-weekly-entry): Rename insert-weekly-diary-entry.
5392 Keep old name as alias.
5393 (diary-insert-monthly-entry): Rename insert-monthly-diary-entry.
5394 Keep old name as alias.
5395 (diary-insert-yearly-entry): Rename insert-yearly-diary-entry.
5396 Keep old name as alias.
5397 (diary-insert-anniversary-entry): Rename insert-anniversary-diary-entry.
5398 Keep old name as alias.
5399 (diary-insert-block-entry): Rename insert-block-diary-entry.
5400 Keep old name as alias.
5401 (diary-insert-cyclic-entry): Rename insert-cyclic-diary-entry.
5402 Keep old name as alias.
5403 (diary-fancy-font-lock-keywords): Rename fancy-diary-font-lock-keywords.
5404 Keep old name as alias, update users.
5405 (diary-fancy-display-mode): Rename fancy-diary-display-mode.
5406 Keep old name as alias, update callers.
5407 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
5408 * calendar/cal-menu.el, calendar/cal-x.el, calendar/calendar.el:
5409 * calendar/icalendar.el: Update for diary-lib name changes.
5411 2008-04-06 Chong Yidong <cyd@stupidchicken.com>
5413 * dired-aux.el (dired-overwrite-confirmed): Revert last change.
5415 * dired.el (dired-dnd-handle-local-file): Obey dired-backup-overwrite
5416 for copy, move, and link operations.
5418 2008-04-06 Michael Kifer <kifer@cs.stonybrook.edu>
5420 * emulation/viper-init.el, emulation/viper-ex.el, emulation/viper-cmd.el
5421 (viper-search-wrap-around-t): Replace with viper-search-wrap-around.
5423 * ediff-util.el, ediff-vers.el, ediff-wind.el: Replace 3-argument
5424 'require' statements with 1-argument ones (wrapped in if's).
5425 For compatibility with the current stable version of XEmacs.
5427 2008-04-06 Dan Nicolaescu <dann@ics.uci.edu>
5429 * vc.el (vc-status-prepare-status-buffer): Reset vc-parent-buffer-name.
5431 2008-04-06 Jason Rumney <jasonr@gnu.org>
5433 * language/burmese.el ("Burmese"): Make sample text consistent with
5436 2008-04-06 Nick Roberts <nickrob@snap.net.nz>
5438 * progmodes/gdb-ui.el (gdb): New group.
5439 (gdb-debug-log-max, gdb-enable-debug)
5440 (gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
5441 (gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
5442 (gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
5443 (gdb-show-changed-values, gdb-max-children)
5444 (gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
5445 (breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
5446 (gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
5447 (gdb-memory-unit): Move to new group from GUD group.
5448 (menu): Allow customization from GDB-UI menu-item.
5450 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
5452 * dired-aux.el (dired-overwrite-confirmed): Supply initial value.
5454 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5456 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-annotate-command)
5457 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
5458 Revision numbers can include ".".
5460 * diff-mode.el (diff-end-of-hunk): Be careful not to overlook trailing
5461 "+" lines not accounted for by counting "-" and context lines.
5463 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5465 * term/mac-win.el (mac-service-open-file): Use file URL instead of
5468 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5470 * vc-bzr.el (vc-bzr-annotate-command): Preserve line alignment.
5471 (vc-bzr-annotate-time): Accept space used to preserve alignment.
5473 2008-04-05 Richard Stallman <rms@gnu.org>
5475 * emacs-lisp/advice.el (defadvice): Add usage pattern.
5477 2008-04-05 Nick Roberts <nickrob@snap.net.nz>
5479 * progmodes/gdb-ui.el: Add advice about using Cygwin GDB (from a
5482 2008-04-05 Juanma Barranquero <lekktu@gmail.com>
5484 * files.el (abort-if-file-too-large): Fix typo in docstring.
5486 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * subr.el (functionp): Return nil for special forms.
5490 2008-04-05 Glenn Morris <rgm@gnu.org>
5492 * emacs-lisp/autoload.el (autoload-ensure-default-file):
5494 * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
5495 Require loaddef file rather than loading it.
5496 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
5497 autoload-ensure-default-file provides a feature.
5499 * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
5500 (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
5501 (compile, compile-always, recompile): Use $LOADDEFS.
5502 (cal-autoloads): Remove.
5504 * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
5505 than buffer-live-p. Reported by David Koppelman <koppel@ece.lsu.edu>.
5507 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
5508 (hebrew-holidays-3, hebrew-holidays-4): Don't autoload obsolescence.
5510 * calendar/calendar.el (diary-hebrew-entry-symbol):
5511 Rename hebrew-diary-entry-symbol. Keep old name as alias.
5512 (diary-islamic-entry-symbol): Rename islamic-diary-entry-symbol.
5513 Keep old name as alias.
5514 (diary-bahai-entry-symbol): Rename bahai-diary-entry-symbol.
5515 Keep old name as alias.
5516 * calendar/cal-bahai.el: Update for rename bahai-diary-entry-symbol
5517 to diary-bahai-entry-symbol.
5518 * calendar/cal-hebrew.el: Update for rename hebrew-diary-entry-symbol
5519 to diary-hebrew-entry-symbol.
5520 * calendar/cal-islam.el: Update for rename islamic-diary-entry-symbol
5521 to diary-islamic-entry-symbol.
5522 * calendar/diary-lib.el: Update for diary-entry-symbol renames.
5524 * calendar/solar.el (diary-sabbath-candles-minutes)
5525 (diary-sabbath-candles): Move to cal-hebrew.
5526 * calendar/cal-hebrew.el (diary-hebrew-sabbath-candles-minutes)
5527 (diary-hebrew-sabbath-candles): Move here from solar.el and rename.
5528 Doc fix. Keep old name as alias.
5529 (diary-hebrew-sabbath-candles): Simplify.
5530 (solar-setup, solar-sunrise-sunset, calendar-latitude)
5531 (calendar-longitude, calendar-time-zone): Declare for compiler.
5532 * calendar/diary-lib.el (list-sexp-diary-entries): Update doc for
5535 * calendar/cal-coptic.el (calendar-coptic-month-name-array):
5536 Rename coptic-calendar-month-name-array. Update callers.
5537 (calendar-coptic-epoch): Rename coptic-calendar-epoch. Update callers.
5538 (calendar-coptic-name): Rename coptic-name. Update callers.
5539 (calendar-coptic-leap-year-p): Rename coptic-calendar-leap-year-p.
5541 (calendar-coptic-last-day-of-month):
5542 Rename coptic-calendar-last-day-of-month. Update callers.
5543 (calendar-coptic-to-absolute): Rename calendar-absolute-from-coptic.
5544 Keep old name as alias, update callers.
5545 (calendar-coptic-print-date): Rename calendar-print-coptic-date.
5546 Keep old name as alias, update callers.
5547 (calendar-coptic-goto-date): Rename calendar-goto-coptic-date.
5548 Keep old name as alias.
5549 (calendar-ethiopic-month-name-array):
5550 Rename ethiopic-calendar-month-name-array. Update callers.
5551 (calendar-ethiopic-epoch): Rename ethiopic-calendar-epoch.
5553 (calendar-ethiopic-name): Rename ethiopic-name. Update callers.
5554 (calendar-ethiopic-to-absolute): Rename calendar-absolute-from-ethiopic.
5555 Keep old name as alias, update callers.
5556 (calendar-ethiopic-print-date): Rename calendar-print-ethiopic-date.
5557 Keep old name as alias, update callers.
5558 (calendar-ethiopic-goto-date): Rename calendar-goto-ethiopic-date.
5559 Keep old name as alias.
5561 * calendar/cal-french.el (calendar-french-epoch):
5562 Rename french-calendar-epoch. Update callers.
5563 (calendar-french-month-name-array): Rename variable and function
5564 french-calendar-month-name-array. Update callers.
5565 (calendar-french-multibyte-month-name-array):
5566 Rename french-calendar-multibyte-month-name-array. Update callers.
5567 (calendar-french-day-name-array): Rename variable and function
5568 french-calendar-day-name-array. Update callers.
5569 (calendar-french-special-days-array): Rename variable and function
5570 french-calendar-special-days-array. Update callers.
5571 (calendar-french-multibyte-special-days-array):
5572 Rename french-calendar-multibyte-special-days-array. Update callers.
5573 (calendar-french-accents-p): Rename french-calendar-accents.
5575 (calendar-french-leap-year-p): Rename french-calendar-leap-year-p.
5577 (calendar-french-last-day-of-month):
5578 Rename french-calendar-last-day-of-month. Update callers.
5579 (calendar-french-to-absolute): Rename calendar-absolute-from-french.
5580 Keep old name as alias, update callers.
5581 (calendar-french-print-date): Rename calendar-print-french-date.
5582 Keep old name as alias, update callers.
5583 (calendar-french-goto-date): Rename calendar-goto-french-date.
5584 Keep old name as alias.
5586 * calendar/cal-menu.el, calendar/calendar.el:
5587 Update for Coptic and French name changes.
5589 * calendar/cal-china.el (calendar-chinese): Rename custom group
5590 from chinese-calendar. Update users.
5591 (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
5592 Keep old name as alias, update users.
5593 (calendar-chinese-location-name): Rename chinese-calendar-location-name.
5594 Keep old name as alias.
5595 (calendar-chinese-daylight-time-offset):
5596 Rename chinese-calendar-daylight-time-offset. Keep old name as alias,
5598 (calendar-chinese-standard-time-zone-name):
5599 Rename chinese-calendar-standard-time-zone-name.
5600 Keep old name as alias, update users.
5601 (calendar-chinese-daylight-saving-start):
5602 Rename chinese-calendar-daylight-savings-starts.
5603 Keep old name as alias, update users.
5604 (calendar-chinese-daylight-saving-end):
5605 Rename chinese-calendar-daylight-savings-ends. Keep old name as alias,
5607 (calendar-chinese-daylight-saving-start-time):
5608 Rename chinese-calendar-daylight-savings-starts-time.
5609 Keep old name as alias, update users.
5610 (calendar-chinese-daylight-saving-end-time):
5611 Rename chinese-calendar-daylight-savings-ends-time.
5612 Keep old name as alias, update users.
5613 (calendar-chinese-celestial-stem): Rename
5614 calendar-chinese-celestial-stem. Keep old name as alias, update users.
5615 (calendar-chinese-terrestrial-branch):
5616 Rename calendar-chinese-terrestrial-branch. Keep old name as alias,
5618 (calendar-chinese-zodiac-sign-on-or-after):
5619 Rename chinese-zodiac-sign-on-or-after. Update callers.
5620 (calendar-chinese-new-moon-on-or-after):
5621 Rename chinese-new-moon-on-or-after. Update callers.
5622 (calendar-chinese-month-list): Rename chinese-month-list.
5624 (calendar-chinese-number-months): Rename number-chinese-months.
5626 (calendar-chinese-compute-year): Rename compute-chinese-year.
5628 (calendar-chinese-year-cache): Rename chinese-year-cache. Update users.
5629 (calendar-chinese-year): Rename chinese-year. Update callers.
5630 (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
5631 (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
5632 Keep old name as alias, update callers.
5633 (calendar-chinese-print-date): Rename calendar-print-chinese-date.
5634 Keep old name as alias, update callers.
5635 (calendar-chinese-months-to-alist):
5636 Rename make-chinese-month-assoc-list. Update callers.
5637 (calendar-chinese-months): Rename chinese-months. Update callers.
5638 (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
5639 Keep old name as alias, update callers.
5641 * calendar/cal-hebrew.el (calendar-hebrew-leap-year-p):
5642 Rename hebrew-calendar-leap-year-p. Update callers.
5643 (calendar-hebrew-last-month-of-year):
5644 Rename hebrew-calendar-last-month-of-year. Update callers.
5645 (calendar-hebrew-elapsed-days): Rename hebrew-calendar-elapsed-days.
5647 (calendar-hebrew-days-in-year): Rename hebrew-calendar-days-in-year.
5649 (calendar-hebrew-long-heshvan-p): Rename hebrew-calendar-long-heshvan-p.
5651 (calendar-hebrew-short-kislev-p): Rename hebrew-calendar-short-kislev-p.
5653 (calendar-hebrew-last-day-of-month):
5654 Rename hebrew-calendar-last-day-of-month. Update callers.
5655 (calendar-hebrew-to-absolute): Rename calendar-absolute-from-hebrew.
5656 Keep old name as alias, update callers.
5657 (calendar-hebrew-print-date): Rename calendar-print-hebrew-date.
5658 Keep old name as alias, update callers.
5659 (calendar-hebrew-yahrzeit): Rename hebrew-calendar-yahrzeit.
5660 Keep old name as alias, update callers.
5661 (calendar-hebrew-goto-date): Rename calendar-goto-hebrew-date.
5662 Keep old name as alias.
5663 (holiday-hebrew-rosh-hashanah): Rename holiday-rosh-hashanah-etc.
5664 Keep old name as alias.
5665 (holiday-hebrew-hanukkah): Rename holiday-hanukkah.
5666 Keep old name as alias.
5667 (holiday-hebrew-passover): Rename holiday-passover-etc.
5668 Keep old name as alias.
5669 (holiday-hebrew-tisha-b-av): Rename holiday-tisha-b-av-etc.
5670 Keep old name as alias, update callers.
5671 (diary-hebrew-list-entries): Rename list-hebrew-diary-entries.
5672 Keep old name as alias.
5673 (calendar-hebrew-mark-date-pattern):
5674 Rename mark-hebrew-calendar-date-pattern. Keep old name as alias,
5676 (diary-hebrew-mark-entries): Rename mark-hebrew-diary-entries.
5677 Keep old name as alias.
5678 (diary-hebrew-insert-entry): Rename insert-hebrew-diary-entry.
5679 Keep old name as alias.
5680 (diary-hebrew-insert-monthly-entry):
5681 Rename insert-monthly-hebrew-diary-entry. Keep old name as alias.
5682 (diary-hebrew-insert-yearly-entry):
5683 Rename insert-yearly-hebrew-diary-entry. Keep old name as alias.
5684 (calender-hebrew-list-yahrzeits): Rename list-yahrzeit-dates.
5685 Keep old name as alias.
5686 (diary-hebrew-omer): Rename diary-omer. Keep old name as alias.
5687 (diary-hebrew-yahrzeit): Rename diary-yahrzeit. Keep old name as alias.
5688 (diary-hebrew-rosh-hodesh): Rename diary-rosh-hodesh.
5689 Keep old name as alias.
5690 (calendar-hebrew-parashiot-names):
5691 Rename hebrew-calendar-parashiot-names. Update callers.
5692 (calendar-hebrew-parasha-name): Rename hebrew-calendar-parasha-name.
5693 (calendar-hebrew-year-Saturday-incomplete-Sunday):
5694 Rename hebrew-calendar-year-Saturday-incomplete-Sunday.
5695 (calendar-hebrew-year-Saturday-complete-Tuesday):
5696 Rename hebrew-calendar-year-Saturday-complete-Tuesday.
5697 (calendar-hebrew-year-Monday-incomplete-Tuesday):
5698 Rename hebrew-calendar-year-Monday-incomplete-Tuesday.
5699 (calendar-hebrew-year-Monday-complete-Thursday):
5700 Rename hebrew-calendar-year-Monday-complete-Thursday.
5701 (calendar-hebrew-year-Tuesday-regular-Thursday):
5702 Rename hebrew-calendar-year-Tuesday-regular-Thursday.
5703 (calendar-hebrew-year-Thursday-regular-Saturday):
5704 Rename hebrew-calendar-year-Thursday-regular-Saturday.
5705 (calendar-hebrew-year-Thursday-complete-Sunday):
5706 Rename hebrew-calendar-year-Thursday-complete-Sunday.
5707 (calendar-hebrew-year-Saturday-incomplete-Tuesday):
5708 Rename hebrew-calendar-year-Saturday-incomplete-Tuesday.
5709 (calendar-hebrew-year-Saturday-complete-Thursday):
5710 Rename hebrew-calendar-year-Saturday-complete-Thursday.
5711 (calendar-hebrew-year-Monday-incomplete-Thursday):
5712 Rename hebrew-calendar-year-Monday-incomplete-Thursday.
5713 (calendar-hebrew-year-Monday-complete-Saturday):
5714 Rename hebrew-calendar-year-Monday-complete-Saturday.
5715 (calendar-hebrew-year-Tuesday-regular-Saturday):
5716 Rename hebrew-calendar-year-Tuesday-regular-Saturday.
5717 (calendar-hebrew-year-Thursday-incomplete-Sunday):
5718 Rename hebrew-calendar-year-Thursday-incomplete-Sunday.
5719 (calendar-hebrew-year-Thursday-complete-Tuesday):
5720 Rename hebrew-calendar-year-Thursday-complete-Tuesday.
5721 (diary-hebrew-parasha): Rename diary-parasha. Keep old name as alias.
5722 Update for above name changes of constants.
5724 * calendar/cal-menu.el, calendar/calendar.el:
5725 Update for chinese and hebrew name changes.
5726 * calendar/diary-lib.el: Update for hebrew name changes.
5728 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5730 * subr.el (keymap-canonicalize): Correct thinko.
5732 * server.el: Undo part of the multi-tty change, which is only
5733 needed if server.el is preloaded, and broke server-running-p.
5734 (server-socket-dir): Initialize in the defvar, as before.
5735 (server-start): Remove initialization of server-socket-dir.
5737 2008-04-05 Eli Zaretskii <eliz@gnu.org>
5739 * ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
5740 3-member cons cells.
5742 2008-04-05 Chong Yidong <cyd@stupidchicken.com>
5744 * cus-face.el (custom-face-attributes): Handle roman slant.
5746 * faces.el (default): Ensure the face-defface-spec property is set.
5748 2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
5750 * files.el (abort-if-file-too-large): New function.
5751 (find-file-noselect, insert-file-1): Use it.
5753 2008-04-05 Reto Zimmermann <reto@gnu.org>
5755 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5756 Replace C-c[a-zA-Z] key bindings.
5758 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * progmodes/hideif.el (hif-token-alist): New var.
5761 (hif-token-regexp, hif-tokenize): Use it.
5762 (hif-mathify-binop): New macro.
5763 (hif-plus, hif-minus, hif-notequal, hif-greater, hif-less)
5764 (hif-greater-equal, hif-less-equal): Use it.
5765 (hif-logior, hif-logand): New functions.
5766 (hif-math): Accept | and & as well.
5768 * progmodes/etags.el: Fix problem with completion for buffer-local
5769 tables. Reported by Radey Shouman <shouman@comcast.net>.
5770 (tags-complete-tag): Remove.
5771 (tags-lazy-completion-table): New function to replace it.
5772 (find-tag-tag, complete-tag): Update users.
5774 2008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
5776 * vc-rcs.el (vc-rcs-dir-status):
5777 * vc-sccs.el (vc-sccs-dir-status): New function.
5779 * outline.el (outline-mode-menu-bar-map):
5780 * term.el (terminal-signal-menu): Add :help.
5782 * net/eudc.el (eudc-mode-map): Declare and define in one step.
5783 (eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
5785 * emacs-lisp/re-builder.el (reb-mode-map):
5786 * textmodes/nroff-mode.el (nroff-mode-map): Add menus.
5788 * diff-mode.el (diff-file-junk-re): Recognize the git format for
5789 new files, deleted files and for changing permissions.
5790 (diff-mode): Set beginning-of-defun-function and
5791 end-of-defun-function.
5793 * vc-bzr.el (vc-bzr-state): Use when instead of if.
5795 * vc.el (vc-default-status-fileinfo-extra): New function.
5796 (vc-status-mark-buffer-changed): Use it.
5797 (vc-update-vc-status-buffer): Allow for partial updates.
5799 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5801 * net/tramp.el (after-init-hook): Don't wrap a lambda around
5802 tramp-register-completion-file-name-handler.
5804 * subr.el (keymap-canonicalize): New function.
5805 * mouse.el (mouse-menu-non-singleton): Use it.
5806 (mouse-major-mode-menu): Remove hack made unnecessary.
5808 * simple.el (set-fill-column): Prompt rather than error by default.
5810 2008-04-04 Andreas Schwab <schwab@suse.de>
5812 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
5813 Reset new-rules after each round.
5815 * Makefile.in (cal-autoloads): New target.
5816 (compile, compile-always, recompile): Depend on it.
5817 ($(lisp)/calendar/cal-loaddefs.el)
5818 ($(lisp)/calendar/diary-loaddefs.el)
5819 ($(lisp)/calendar/hol-loaddefs.el): Depend on calendar/*.el.
5821 2008-04-04 Michael Kifer <kifer@cs.stonybrook.edu>
5823 * ediff*.el: Replace load with require in eval-when-compile.
5825 * ediff-hook: Delete all invocations of (autoload ...).
5827 * ediff-util.el (ediff-setup): Make window-min-height a local variable
5828 in ediff control window, and set its min height to 2.
5829 (ediff-setup-control-buffer): Dedicate the control window.
5830 (ediff-toggle-multiframe): Undedicate control window.
5831 Work directly with ediff-setup-windows-multiframe and
5832 ediff-setup-windows-plain.
5834 * ediff-wind (ediff-choose-window-setup-function-automatically):
5836 (ediff-window-setup-function): Change initialization.
5837 (ediff-setup-windows-automatic): Delete.
5838 (ediff-setup-windows-plain-merge): Make control window dedicated.
5839 (ediff-destroy-control-frame): Do not skip frames if working in a
5842 * emulation/viper-ex.el: Move provide's forward, prevent recursion in
5845 * emulation/viper-util.el: Move provide's forward, prevent recursion in
5848 2008-04-04 Glenn Morris <rgm@gnu.org>
5850 * calendar/cal-bahai.el (calendar-bahai-to-absolute): Rename
5851 calendar-absolute-from-bahai. Update callers, keep old name as alias.
5853 * calendar/cal-islam.el (calendar-islamic-leap-year-p):
5854 Rename islamic-calendar-leap-year-p. Update callers.
5855 (calendar-islamic-last-day-of-month):
5856 Rename islamic-calendar-last-day-of-month. Update callers.
5857 (calendar-islamic-day-number):
5858 Rename islamic-calendar-day-number. Update callers.
5859 (calendar-islamic-to-absolute): Rename calendar-absolute-from-islamic.
5860 Update callers, keep old name as alias.
5861 (calendar-islamic-print-date): Rename calendar-print-islamic-date.
5862 Update callers, keep old name as alias.
5863 (calendar-islamic-goto-date): Rename calendar-goto-islamic-date.
5864 Keep old name as alias.
5865 (diary-islamic-list-entries): Rename list-islamic-diary-entries.
5866 Update callers, keep old name as alias.
5867 (calendar-islamic-mark-date-pattern):
5868 Rename mark-islamic-calendar-date-pattern. Update callers, keep old
5870 (diary-islamic-insert-entry): Rename insert-islamic-diary-entry.
5871 Keep old name as alias.
5872 (diary-islamic-insert-monthly-entry):
5873 Rename insert-monthly-islamic-diary-entry. Keep old name as alias.
5874 (diary-islamic-insert-yearly-entry):
5875 Rename insert-yearly-islamic-diary-entry. Keep old name as alias.
5877 * calendar/cal-iso.el (calendar-iso-to-absolute): Rename
5878 calendar-absolute-from-iso. Update callers, keep old name as alias.
5879 (calendar-iso-print-date): Rename calendar-print-iso-date.
5880 Update callers, keep old name as alias.
5881 (calendar-iso-goto-date): Rename calendar-goto-iso-date.
5882 Keep old name as alias.
5883 (calendar-iso-goto-week): Rename calendar-goto-iso-week.
5884 Keep old name as alias.
5886 * calendar/cal-julian.el (calendar-julian-to-absolute): Rename
5887 calendar-absolute-from-julian. Update callers, keep old name as alias.
5888 (calendar-julian-print-date): Rename calendar-print-julian-date.
5889 Update callers, keep old name as alias.
5890 (calendar-julian-goto-date): Rename calendar-goto-julian-date.
5891 Update callers, keep old name as alias.
5892 (calendar-astro-to-absolute): Rename calendar-absolute-from-astro.
5893 Update callers, keep old name as alias.
5894 (calendar-astro-print-day-number):
5895 Rename calendar-print-astro-day-number. Update callers, keep old
5897 (calendar-astro-goto-day-number): Rename calendar-goto-astro-day-number.
5898 Update callers, keep old name as alias.
5900 * calendar/cal-mayan.el (calendar-mayan-string-from-long-count):
5901 Rename calendar-string-to-mayan-long-count. Update callers.
5902 (calendar-mayan-print-date): Rename calendar-print-mayan-date.
5903 Update callers, keep old name as alias.
5904 (calendar-mayan-read-haab-date): Rename calendar-read-mayan-haab-date.
5906 (calendar-mayan-read-tzolkin-date):
5907 Rename calendar-read-mayan-tzolkin-date. Update callers.
5908 (calendar-mayan-next-haab-date): Rename calendar-next-haab-date.
5909 Keep old name as alias.
5910 (calendar-mayan-previous-haab-date): Rename calendar-previous-haab-date.
5911 Keep old name as alias.
5912 (calendar-mayan-next-tzolkin-date): Rename calendar-next-tzolkin-date.
5913 Keep old name as alias.
5914 (calendar-mayan-previous-tzolkin-date):
5915 Rename calendar-previous-tzolkin-date. Keep old name as alias.
5916 (calendar-mayan-next-round-date):
5917 Rename calendar-next-calendar-round-date. Keep old name as alias.
5918 (calendar-mayan-previous-round-date):
5919 Rename calendar-previous-calendar-round-date. Keep old name as alias.
5920 (calendar-mayan-long-count-to-absolute): Rename
5921 calendar-absolute-from-mayan-long-count. Keep old name as alias.
5922 (calendar-mayan-goto-long-count-date):
5923 Rename calendar-goto-mayan-long-count-date. Keep old name as alias.
5925 * calendar/cal-persia.el (calendar-persian-month-name-array):
5926 Rename persian-calendar-month-name-array. Update callers.
5927 (calendar-persian-epoch): Rename persian-calendar-epoch.
5929 (calendar-persian-leap-year-p): Rename persian-calendar-leap-year-p.
5931 (calendar-persian-last-day-of-month):
5932 Rename persian-calendar-last-day-of-month. Update callers.
5933 (calendar-persian-to-absolute): Rename calendar-absolute-from-persian.
5934 Update callers, keep old name as alias.
5935 (calendar-persian-print-date): Rename calendar-print-persian-date.
5936 Update callers, keep old name as alias.
5937 (calendar-persian-goto-date): Rename calendar-goto-persian-date.
5938 Keep old name as alias.
5940 * calendar/cal-china.el, calendar/cal-coptic.el, calendar/cal-islam.el:
5941 * calendar/cal-persia.el, calendar/holidays.el, calendar/lunar.el:
5942 * calendar/solar.el: Update for cal-julian name changes.
5944 * calendar/cal-dst.el: Update for persian name changes.
5946 * calendar/cal-menu.el, calendar/calendar.el:
5947 Update for islamic, iso, julian, mayan, persian name changes.
5949 * calendar/diary-lib.el: Update for islamic name changes.
5951 * calendar/calendar.el (calendar-hebrew-all-holidays-flag):
5952 Rename all-hebrew-calendar-holidays. Update callers, keep old name
5954 (calendar-christian-all-holidays-flag):
5955 Rename all-christian-calendar-holidays. Update callers, keep old
5957 (calendar-islamic-all-holidays-flag):
5958 Rename all-islamic-calendar-holidays. Update callers, keep old
5960 (calendar-bahai-all-holidays-flag): Rename all-bahai-calendar-holidays.
5961 Update callers, keep old name as alias.
5962 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/holidays.el:
5963 Update for the above name changes.
5965 2008-04-04 Juanma Barranquero <lekktu@gmail.com>
5967 * hilit-chg.el (global-highlight-changes-mode)
5968 (highlight-changes-passive-string, highlight-changes-active-string):
5969 Mark as obsolete since 23.1, not 22.1.
5971 2008-04-03 Juanma Barranquero <lekktu@gmail.com>
5973 * hilit-chg.el (highlight-changes-visibility-initial-state)
5974 (hilit-chg-update, highlight-changes-mode-turn-on):
5975 Fix typos in docstrings.
5977 2008-04-03 Stephen Berman <Stephen.Berman@gmx.net>
5979 * newcomment.el (comment-enter-backward): Be careful to restore
5980 position changed during narrowing.
5982 2008-04-03 Giuliano Procida <giuliano.procida@googlemail.com> (tiny change)
5984 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
5985 Recognize `sub ($$)'.
5987 2008-04-03 Richard Sharman <rsharman@pobox.com>
5989 * hilit-chg.el (highlight-changes-mode): Rename from
5990 highlight-changes; no longer uses sub-modes active and passive;
5991 implemented by define-minor-mode.
5992 (highlight-changes-toggle-visibility): New function, to replace
5993 the old passive/active submodes of global-highlight-changes-mode;
5994 implemented by define-minor-mode.
5995 (global-highlight-changes-mode): Rename from global-highlight-changes;
5996 rewrite using define-globalized-minor-mode.
5997 (hilit-chg-major-mode-hook, hilit-chg-check-global)
5998 (hilit-chg-post-command-hook, hilit-chg-check-global)
5999 (hilit-chg-update-all-buffers, hilit-chg-turn-off-maybe): Remove due
6000 to use of define-globalized-minor-mode.
6001 (highlight-changes-global-initial-state): Change to be boolean.
6002 (highlight-changes-visible-string, highlight-changes-invisible-string):
6003 Rename from highlight-changes-active-string and
6004 highlight-changes-passive-string.
6005 (hilit-chg-update, hilit-chg-set): Use them.
6006 (global-highlight-changes-mode): Rename from global-highlight-changes.
6007 (hilit-chg-map-changes, hilit-chg-display-changes): Add arguments to
6009 (hilit-chg-hide-changes): Rewrite to use dolist.
6010 (hilit-chg-set-face-on-change, hilit-chg-update)
6011 (highlight-changes-rotate-faces): Use highlight-changes-visible-mode
6012 variable instead of testing highlight-changes-mode.
6013 (highlight-markup-buffers): Add require ediff-util; argument on calls
6014 to highlight-changes-mode changed.
6015 (highlight-compare-with-file): Fix problems with interactive
6016 call giving invalid default file.
6018 2008-04-03 Nick Roberts <nickrob@snap.net.nz>
6020 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
6021 Fix in disassembly buffer (regression in 22.2).
6023 2008-04-03 Michael Kifer <kifer@cs.stonybrook.edu>
6025 * emulation/viper-macs.el (viper-read-fast-keysequence):
6026 Use viper-read-event instead of viper-read-key.
6028 * emulation/viper.el (viper-mode): Move the check for fundamental mode.
6030 * emulation/viper-utils.el (viper-get-saved-cursor-color-in-insert-mode)
6031 (viper-get-saved-cursor-color-in-replace-mode): Get rid of redundant
6034 * emulation/viper-ex.el, emulation/viper-macs.el:
6035 * emulation/viper-mous.el:
6036 Replace load with require in eval-when-compile.
6038 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * files.el (auto-mode-alist): Use archive-mode for Debian packages.
6042 * arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
6043 (archive-try-jka-compr): New function.
6044 (archive-set-buffer-as-visiting-file): Use it.
6046 * tar-mode.el (tar-mode-map): Obey mouse-1-click-follows-link.
6048 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6050 * simple.el (handle-shift-selection): New arg.
6052 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * emacs-lisp/cl-macs.el (defsetf): Accept a lambda for the 2-arg form.
6056 * vc-bzr.el (vc-bzr-previous-revision, vc-bzr-next-revision): New funs.
6058 2008-04-03 Chong Yidong <cyd@stupidchicken.com>
6060 * shell.el (shell-dynamic-complete-filename): New fun.
6061 (shell-dynamic-complete-functions): Use it.
6063 * help-fns.el (describe-variable): Undo 2008-02-25 change.
6065 2008-04-03 Kenichi Handa <handa@m17n.org>
6067 * international/fontset.el (create-fontset-from-x-resource):
6068 Handle the error of X resource more gracefully.
6070 * international/latin1-disp.el (latin1-display): Don't use make-char.
6071 Fix the argument to set-char-table-range.
6072 (latin1-display-identities): Don't use make-char.
6073 (latin1-display-reset): Use map-charset-chars instead of directly
6074 calling standard-display-default.
6075 (latin1-display-check-font): Don't use make-char.
6076 (latin1-display-setup): Likewise.
6077 (latin1-display-ucs-per-lynx): Likewise.
6079 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * emacs-lisp/timer.el (timer): Define as a defstruct, so we can
6082 name the fields, to make the code clearer.
6083 Rewrite all `aset' and `aref' using the defined accessors.
6084 (timer--time): New pseudo-field.
6085 (timer-set-time, timer-set-idle-time, timer-inc-time)
6086 (timer-set-time-with-usecs, with-timeout-suspend): Use it.
6087 (timer--time-less-p): New function.
6088 (timer--activate): New function, extracted from timer-activate.
6089 (timer-activate-when-idle, timer-activate): Use it.
6090 (cancel-function-timers): Use dolist.
6092 2008-04-03 Glenn Morris <rgm@gnu.org>
6094 * add-log.el (c-beginning-of-defun, c-end-of-defun):
6095 Remove declarations; no longer used.
6096 (c-cpp-define-name, c-defun-name): Declare as functions.
6098 * calendar/cal-bahai.el (holiday-fixed): Autoload it.
6099 (holiday-bahai-new-year, holiday-bahai-ridvan): New functions.
6101 * calendar/cal-hebrew.el (holiday-rosh-hashanah-etc)
6102 (holiday-passover-etc, holiday-hanukkah): Doc fix.
6103 Add optional argument. Simplify.
6104 (holiday-tisha-b-av-etc): Use memq rather than unless.
6105 (holiday-julian): Autoload it.
6106 (holiday-hebrew-misc): New function.
6108 * calendar/cal-islam.el (holiday-islamic-new-year): New function.
6110 * calendar/calendar.el (hebrew-holidays-1, hebrew-holidays-2)
6111 (hebrew-holidays-3, hebrew-holidays-4): Make obsolete.
6112 (hebrew-holidays-2): Just use holiday-hanukkah now it respects
6113 all-hebrew-calendar-holidays.
6114 (hebrew-holidays, christian-holidays, islamic-holidays, bahai-holidays):
6115 Simplify using new functions.
6116 (calendar-holidays): Doc fix.
6117 (generate-calendar-window): Use bound-and-true-p.
6119 * calendar/diary-lib.el (diary-mail-addr): Use bound-and-true-p.
6121 * calendar/holidays.el (calendar-holiday-list): Fix previous change.
6122 (holiday-filter-visible-calendar): Doc fix. Use mapcar.
6123 (holiday-easter-etc): Fix nesting of result. Tweak holiday order.
6124 Use calendar-date-is-visible-p, not holiday-filter-visible-calendar.
6126 * net/tramp.el (tramp-drop-volume-letter): Move definition before use.
6128 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * vc-mtn.el (vc-mtn-command): Avoid localization of messages.
6132 * vc-bzr.el (vc-bzr-checkout): Simplify.
6134 * image-mode.el (image-mode-fit-frame): New command.
6136 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
6137 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
6138 (keyboard-escape-quit): Check region-active-p i.s.o
6139 transient-mark-mode.
6141 2008-04-02 Simon Josefsson <simon@josefsson.org>
6143 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
6144 (imap-message-copyuid-1): Use it.
6145 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
6147 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
6149 2008-04-02 Alan Mackenzie <acm@muc.de>
6151 * progmodes/cc-cmds.el (c-defun-name, c-cpp-define-name):
6152 New optimised functions to get the name of the current defun/macro.
6154 * add-log.el (add-log-current-defun): Move the functionality which
6155 gets the current function name for C like modes to cc-cmds.el,
6156 thus optimising for speed.
6158 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
6160 * simple.el (deactivate-mark): When the mark is temporarily
6161 active, restore the original value of transient-mark-mode.
6162 (set-mark-command): First deactivate the mark if was temporarily active.
6163 (exchange-point-and-mark): Reactivate the mark if it was
6165 (handle-shift-selection): New fun.
6166 (transient-mark-mode): Move var documentation here from buffer.c.
6167 (next-line, previous-line, backward-word, move-end-of-line)
6168 (move-beginning-of-line, forward-to-indentation)
6169 (backward-to-indentation, back-to-indentation)
6170 (beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
6172 * mouse.el (mouse-set-region-1): Save the old value of
6173 transient-mark-mode.
6174 (mouse-drag-track): Ignore the now-obsolete value `identity' for
6175 transient-mark-mode.
6177 * textmodes/paragraphs.el (forward-paragraph)
6178 (backward-paragraph, forward-sentence, backward-sentence): Add ^
6181 * emulation/cua-base.el (cua-mode): Turn off shift-select-mode.
6183 2008-04-02 Michael Albinus <michael.albinus@gmx.de>
6185 * net/tramp.el (tramp-make-tramp-temp-file):
6186 Use `tramp-drop-volume-letter' for the local file name part.
6188 2008-04-02 Dan Nicolaescu <dann@ics.uci.edu>
6190 * progmodes/sh-script.el (sh-mode-map): Rename the menu. Add :help.
6191 Add menu entries corresponding to all the key bindings.
6193 * emacs-lisp/debug.el (debugger-mode-map):
6194 * textmodes/conf-mode.el (conf-mode-map): Add a menu.
6195 (conf-align-assignments): Only work on the region if it is active.
6196 (conf-quote-normal): Use when instead of if. Remove redundant test.
6198 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
6199 for tracing and re-builder.
6201 2008-04-02 Glenn Morris <rgm@gnu.org>
6203 * calendar/appt.el (appt-disp-window-function): Doc fix.
6204 (appt-display-message): Move beep before display.
6205 (appt-check): Make interactive. Reduce the number of lets.
6206 Use string-equal to compare mode-line strings.
6207 (appt-disp-window): Pluralize "minute" as needed. Make appt buffer
6209 (appt-select-lowest-window, appt-make-list): Reduce the number of lets.
6210 (appt-delete): Simplify.
6212 * calendar/cal-china.el (holiday-chinese-new-year): Use a single let.
6214 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
6216 * calendar/cal-hebrew.el (list-yahrzeit-dates):
6217 * calendar/cal-tex.el (cal-tex-insert-blank-days-at-end)
6218 (cal-tex-last-blank-p, cal-tex-daily-page): Expand calendar-for-loops.
6220 * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
6221 (calendar-holiday-marker, mark-visible-calendar-date):
6222 * calendar/diary-lib.el (fancy-diary-display):
6223 Check for font-lock-mode before using faces.
6225 * calendar/calendar.el (hebrew-holidays-3, generate-calendar-month)
6226 (calendar-gregorian-from-absolute): Reduce the number of lets.
6227 (hebrew-holidays-4, generate-calendar-window): Simplify.
6228 (calendar-for-loop): Make obsolete.
6229 (calendar-nth-named-day): Doc fix.
6231 * calendar/diary-lib.el (diary-list-entries, fancy-diary-display)
6232 (print-diary-entries, mark-sexp-diary-entries, calendar-mark-complex)
6233 (calendar-mark-1, list-sexp-diary-entries, diary-remind):
6234 Reduce the number of lets.
6235 (mark-sexp-diary-entries, calendar-mark-complex):
6236 Expand calendar-for-loops.
6238 2008-04-01 Chong Yidong <cyd@stupidchicken.com>
6240 * find-dired.el (find-dired-filter): Fix last patch to handle
6241 multi-line process input. Pad link numbers too.
6243 2008-04-01 Jari Aalto <jari.aalto@cante.net>
6245 * find-dired.el (find-dired-filter): Align columns by padding file sizes.
6247 2008-04-01 Jason Rumney <jasonr@gnu.org>
6249 * international/characters.el (script-list): Add phonetic script,
6250 covering IPA (previously Latin), Phonetic Extensions and
6251 Phonetic Extensions Supplement (both previously unassigned).
6253 * international/fontset.el (setup-default-fontset): Use unicode fonts
6254 that cover bopomofo script for bopomofo.
6255 Likewise for braille and mathematical.
6256 Use unicode scripts that cover the phonetic script for IPA.
6258 2008-04-01 Johan Bockgård <bojohan@gnu.org>
6260 * emacs-lisp/cl-macs.el (frame-parameter) <defsetf>: Make it
6261 return the assigned value.
6263 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * abbrev.el (abbrev-mode): Use define-minor-mode.
6267 * mouse.el (mouse-major-mode-menu-prefix): Remove. Remove uses.
6268 (mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
6270 (minor-mode-menu-from-indicator): Use it. Simplify.
6272 * bindings.el (mode-line-mode-menu): Move before (new) first use.
6273 (mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
6274 Bind the key directly to the menu.
6275 (mode-line-mode-menu-1, mode-line-mode-menu): Remove functions.
6277 2008-04-01 Daiki Ueno <ueno@unixuser.org>
6279 * epa.el (epa-decrypt-region): Explain the reason why this
6280 function should not be used in Lisp programs.
6281 (epa-decrypt-armor-in-region): Ditto.
6282 (epa-verify-region): Ditto.
6283 (epa-verify-cleartext-in-region): Ditto.
6284 (epa-sign-region): Ditto.
6285 (epa-encrypt-region): Ditto.
6287 * epg.el (epg-start-receive-keys): Fix typo in docstring.
6289 * epa.el (epa-select-keys): Show menu even if there is no key in
6292 2008-04-01 Glenn Morris <rgm@gnu.org>
6294 * calendar/calendar.el (calendar-make-temp-face): New function.
6295 (mark-visible-calendar-date):
6296 * calendar/diary-lib.el (fancy-diary-display): Use it.
6298 * vc-hooks.el (vc-responsible-backend): Declare as function.
6300 * calendar/calendar.el (calendar-nongregorian-visible-p): New function.
6301 * calendar/cal-hebrew.el (calendar-hebrew-date-is-visible-p):
6302 * calendar/cal-julian.el (holiday-julian): Use it.
6304 * calendar/cal-hebrew.el (hebrew-calendar-elapsed-days): Doc fix.
6305 (calendar-hebrew-date-is-visible-p): Extract some common code into
6307 (holiday-hebrew, mark-hebrew-calendar-date-pattern): Use it.
6309 * calendar/cal-menu.el (cal-menu-holidays-menu):
6310 * calendar/calendar.el (calendar-mode-map): Use calendar-mark-holidays
6311 rather than obsolete alias.
6313 * calendar/calendar.el (mark-visible-calendar-date): Also use overlay
6314 for mark characters.
6315 (calendar-unmark): Unmark by removing all overlays, rather than
6317 (calendar-starred-day): Remove.
6318 (calendar-mode): Disable undo. Don't make calendar-starred-day local.
6319 (calendar-cursor-to-date): No need for special star handling now
6321 (calendar-star-date): Use overlays.
6323 * calendar/cal-french.el (calendar-goto-french-date):
6324 * calendar/cal-hebrew.el (calendar-hebrew-from-absolute)
6325 (holiday-hanukkah, mark-hebrew-calendar-date-pattern):
6326 * calendar/cal-move.el (calendar-forward-month, calendar-end-of-month):
6327 * calendar/cal-persia.el (calendar-persian-date-string):
6328 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
6329 (cal-tex-cursor-month, cal-tex-LaTeXify-string):
6330 * calendar/lunar.el (lunar-phase-list, lunar-new-moon-on-or-after):
6331 * calendar/solar.el (solar-equinoxes-solstices):
6332 Reduce nesting of some lets.
6334 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
6335 (calendar-goto-mayan-long-count-date): Simplify.
6337 * calendar/holidays.el (calendar-holiday-list, holiday-easter-etc):
6338 Simplify by using mapcar.
6339 (calendar-list-holidays): Return holiday-list.
6340 (list-holidays): Use let rather than let*. Remove un-needed locals
6342 (calendar-check-holidays): Return result from dolist.
6343 (holiday-float): Use a single let*. Simplify if-and to and.
6344 (holiday-sexp, holiday-advent, holiday-greek-orthodox-easter): Use a
6347 2008-04-01 Jay Belanger <jay.p.belanger@gmail.com>
6349 * calc/calc.el: Autoload `calc-yank'.
6350 (calc-mode-map): Add keybindings for `calc-yank'.
6351 * calc/calc-ext.el (calc-init-extensions): Remove keybinding
6352 assignments for `calc-yank'.
6354 2008-03-31 Dan Nicolaescu <dann@ics.uci.edu>
6356 * vc.el (vc-status-add-entry): Assume ENTRY is a list, not a cons.
6357 (vc-status-mark-buffer-changed): Handle the extra field.
6359 * vc-bzr.el (vc-bzr-after-dir-status):
6360 * vc-cvs.el (vc-cvs-after-dir-status):
6361 * vc-hg.el (vc-hg-after-dir-status):
6362 * vc-svn.el (vc-svn-after-dir-status): Return a list, not a cons.
6364 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * doc-view.el: Compute displayed pages first (in PDF).
6367 (doc-view-current-converter-processes): Rename from
6368 doc-view-current-converter-process. Update users.
6369 (doc-view-sentinel): Test buffer's liveness.
6370 (doc-view-pdf/ps->png-sentinel): Remove.
6371 (doc-view-start-process): New function.
6372 (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
6373 (doc-view-ps->pdf): Use it.
6374 (doc-view-pdf->png-1, doc-view-pdf->png, doc-view-active-pages):
6376 (doc-view-convert-current-doc, doc-view-goto-page): Use them.
6377 (doc-view-mode): Kill the processes when leaving the mode.
6379 2008-03-31 Juanma Barranquero <lekktu@gmail.com>
6381 * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p):
6382 Use `byte-compile-warning-types'. Add docstring.
6384 2008-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * smerge-mode.el (smerge-apply-resolution-patch): New fun.
6387 (smerge-resolve): Add various resolution heuristics.
6389 * smerge-mode.el (smerge-refine): Allow highlighting other subparts
6392 2008-03-31 Glenn Morris <rgm@gnu.org>
6394 * calendar/cal-bahai.el (diary-bahai-mark-entries):
6395 * calendar/cal-hebrew.el (mark-hebrew-diary-entries):
6396 * calendar/cal-islam.el (mark-islamic-diary-entries):
6397 Fix argument order in call to diary-mark-entries-1.
6399 * calendar/cal-bahai.el (calendar-bahai-date-string): Avoid an error for
6401 (holiday-bahai): Use an algorithm actually relevant to this calendar
6404 * calendar/cal-china.el (holiday-chinese-new-year): Doc fix.
6406 * calendar/cal-islam.el (holiday-islamic): Remove un-needed let.
6409 * calendar/cal-julian.el (holiday-julian): Fix a problem with holidays
6410 in the last fortnight in Julian October.
6412 * calendar/calendar.el (increment-calendar-month): Optionally handle
6413 systems without 12 months per year.
6415 (calendar-date-is-visible-p): Doc fix. Simplify.
6417 * calendar/holidays.el (holiday-filter-visible-calendar): Return result
6420 2008-03-30 Juanma Barranquero <lekktu@gmail.com>
6422 * hi-lock.el (hi-lock-mode): Fix typos in docstring.
6423 (hi-lock-unload-function): New function.
6425 2008-03-30 Michael Albinus <michael.albinus@gmx.de>
6427 * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
6428 overwriting when NEWNAME is a local file.
6430 * net/trampver.el: Update release number.
6432 2008-03-30 Alexandre Julliard <julliard@winehq.org>
6434 * vc-git.el: Make vc-status display information about copies,
6435 renames and permission changes.
6436 (vc-git-extra-fileinfo): New defstruct.
6437 (vc-git-escape-file-name, vc-git-file-type-as-string)
6438 (vc-git-rename-as-string, vc-git-permissions-as-string)
6439 (vc-git-status-printer): New functions.
6440 (vc-git-after-dir-status-stage2): Also return vc-git-extra-fileinfo.
6441 (vc-git-after-dir-status-stage1): Look for copies, renames and
6443 (vc-git-after-dir-status-stage1-empty-db): Set permissions.
6444 (vc-git-dir-status): Ask for staged files and renames.
6446 2008-03-30 Dan Nicolaescu <dann@ics.uci.edu>
6448 * vc.el: Allow backends to display backend specific information in
6449 the vc-status listing.
6450 (vc-status-fileinfo): Add a field for backend specific information.
6451 (vc-status-printer): Rename to ...
6452 (vc-default-status-printer): ... this.
6453 (vc-status-printer): New function.
6454 (vc-update-vc-status-buffer): Set the backend specific file info
6457 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6459 * textmodes/remember.el (remember-diary-convert-entry): Revert last
6460 change (ill-conceived).
6462 2008-03-29 Glenn Morris <rgm@gnu.org>
6464 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
6465 * calendar/cal-julian.el (holiday-julian): Simplify.
6467 * calendar/holidays.el (list-holidays): Use or.
6469 2008-03-29 Juri Linkov <juri@jurta.org>
6471 * window.el (split-window-preferred-horizontally): New function.
6473 * cus-start.el (split-window-preferred-function):
6474 Set choice for "vertically" to nil instead of split-window.
6475 Set choice for "horizontally" to split-window-preferred-horizontally
6478 2008-03-29 Juri Linkov <juri@jurta.org>
6480 * simple.el (minibuffer-default-add-function): New variable with
6481 the default to minibuffer-default-add-completions.
6482 (minibuffer-default-add-done): New variable. Make it buffer-local.
6483 (minibuffer-default-add-completions): New function.
6484 (goto-history-element): Set minibuffer-default-add-done to t and
6485 call a function in minibuffer-default-add-function when the
6486 specified absolute history position is greater than the length of
6487 the minibuffer-default list and minibuffer-default-add-done is nil.
6488 Change "^End of history; no next item$" to "^End of defaults;
6491 * bindings.el (debug-ignored-errors): Change "^End of history;
6492 no next item$" to "^End of defaults; no next item$".
6494 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6496 * subr.el (with-temp-buffer): Assume kill-buffer can change cur-buf.
6498 * textmodes/remember.el (remember-diary-convert-entry): Prefer boundp
6499 to with-no-warnings.
6501 2008-03-29 Michael Albinus <michael.albinus@gmx.de>
6503 Sync with Tramp 2.1.13.
6505 * net/tramp-ftp.el: Require 'cl when byte-compiling.
6507 * net/trampver.el: Update release number.
6509 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
6511 * vc-hooks.el (vc-menu-map-filter): Be more careful when finding
6512 the current backend.
6514 * vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
6515 (vc-status-refresh): Create a temporary buffer and call the
6516 `dir-status' backend function from that buffer.
6518 * vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
6519 (vc-bzr-after-dir-status): Don't kill the buffer.
6521 * vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
6522 (vc-cvs-after-dir-status): Don't kill the buffer.
6524 * vc-git.el (vc-git-dir-status): Don't create a buffer.
6525 (vc-git-after-dir-status-stage2): Don't kill the buffer.
6527 * vc-hg.el (vc-hg-dir-status): Don't create a buffer.
6528 (vc-hg-after-dir-status): Don't kill the buffer.
6530 * vc-svn.el (vc-svn-dir-status): Don't create a buffer.
6531 (vc-svn-after-dir-status): Don't kill the buffer.
6533 2008-03-29 Glenn Morris <rgm@gnu.org>
6535 * calendar/calendar.el (diary-file, american-date-diary-pattern)
6536 (european-date-diary-pattern, european-calendar-display-form)
6537 (american-calendar-display-form, diary-display-hook): Doc fixes.
6538 (european-calendar-style): Doc fix. Use calendar-set-date-style for
6539 custom :set. Mark as obsolete.
6540 (calendar-date-style, iso-date-diary-pattern)
6541 (iso-calendar-display-form): New user variables.
6542 (diary-date-forms, calendar-date-display-form): Set using
6543 calendar-date-style. Doc fix.
6544 (calendar-set-date-style): New command.
6545 (european-calendar, american-calendar): Use calendar-set-date-style.
6548 * calendar/diary-lib.el (number): Move declaration where needed.
6549 (diary-mail-entries, list-sexp-diary-entries): Doc fixes.
6550 (diary-make-date): New function.
6551 (diary-date, diary-block, diary-anniversary, diary-cyclic): Doc fix.
6552 Use diary-make-date.
6553 (diary-date-display-form, diary-insert-entry-1): New functions.
6554 (insert-monthly-diary-entry, insert-yearly-diary-entry):
6555 Use diary-insert-entry-1.
6556 (insert-anniversary-diary-entry, insert-block-diary-entry)
6557 (insert-cyclic-diary-entry): Use diary-date-display-form.
6559 * calendar/cal-bahai.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
6560 Autoload diary-insert-entry-1.
6561 * calendar/cal-bahai.el (diary-bahai-insert-entry)
6562 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
6563 * calendar/cal-hebrew.el (insert-hebrew-diary-entry)
6564 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry)
6565 * calendar/cal-islam.el (insert-islamic-diary-entry)
6566 (insert-monthly-islamic-diary-entry, insert-yearly-islamic-diary-entry):
6567 Use diary-insert-entry-1.
6569 * calendar/cal-hebrew.el (diary-make-date): Autoload it.
6570 (diary-yahrzeit): Doc fix. Use diary-make-date.
6572 * calendar/icalendar.el (icalendar--datetime-to-american-date):
6573 New name for icalendar--datetime-to-noneuropean-date. Make old name
6575 (icalendar--datetime-to-iso-date): New function.
6576 (icalendar--datetime-to-diary-date): Doc fix. Respect
6577 calendar-date-style if bound.
6579 * textmodes/remember.el (remember-diary-convert-entry):
6580 Respect calendar-date-style if bound.
6582 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * xt-mouse.el (xterm-mouse-mode): Use delete-terminal-functions.
6585 (xterm-mouse-handle-delete-frame): Delete.
6587 * term/xterm.el (terminal-init-xterm): Use delete-terminal-functions.
6588 (xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
6589 (xterm-remove-modify-other-keys): Lookup terminal rather than frame
6590 in xterm-modify-other-keys-terminal-list.
6592 * vc-bzr.el (vc-bzr-state-heuristic): Fix last change for when there
6595 2008-03-29 Dan Nicolaescu <dann@ics.uci.edu>
6597 * vc.el (vc-update): Check if the buffer is unsaved only if it
6599 (vc-status-mode-map, vc-status-menu-map): Bind vc-update and
6602 2008-03-28 Magnus Henoch <mange@freemail.hu>
6604 * net/dns.el (dns-write): Use set-buffer-multibyte.
6606 2008-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * vc-bzr.el (vc-bzr-sha1): New fun.
6609 (vc-bzr-state-heuristic): New fun, extracted from vc-bzr-registered.
6610 (vc-bzr-registered): Use it.
6612 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
6614 * vc.el (vc-status-kill-dir-status-process): Simplify.
6615 (vc-status-refresh): Make sure the buffer is live.
6616 (ring): Don't require it, not used.
6618 2008-03-28 Wilson Snyder <wsnyder@wsnyder.org>
6620 * progmodes/verilog-mode.el (verilog-auto-inout-module):
6621 Add optional regular expression to AUTOINOUTMODULE.
6622 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inst)
6623 (verilog-auto-inst-param, verilog-auto-reg)
6624 (verilog-auto-reg-input, verilog-auto-wire, verilog-auto-output)
6625 (verilog-auto-output-every, verilog-auto-input)
6626 (verilog-auto-inout, verilog-auto-sense, verilog-auto-tieoff)
6627 (verilog-auto-unused, verilog-auto): Update documentation to use
6628 more obvious instance module names versus cell names.
6630 2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
6632 * progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
6633 kill if a process is running.
6635 * progmodes/grep.el (grep-mode-tool-bar-map): The same.
6637 2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
6639 * vc.el: Add new backend function 'status-extra-headers.
6640 (vc-default-status-extra-headers): New function.
6641 (vc-status-headers): Call 'status-extra-headers. Add colors.
6643 * vc-git.el (vc-git-status-extra-headers): New function.
6645 2008-03-28 Glenn Morris <rgm@gnu.org>
6647 * calendar/cal-menu.el (cal-menu-holidays-menu)
6648 (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year)
6649 (cal-menu-list-holidays-previous-year): Simplify now that 2nd arg of
6650 holiday-list is optional.
6651 (calendar-mouse-holidays): Remove un-needed local `l'.
6653 * calendar/cal-move.el (calendar-cursor-to-nearest-date):
6654 Remove un-needed local `date'.
6655 (calendar-cursor-to-visible-date): Use let rather than let*.
6656 Remove un-needed local `first-of-month-weekday'.
6658 * calendar/calendar.el (abbreviated-calendar-year): Move to diary-lib.
6660 * calendar/diary-lib.el (print-diary-entries-hook, diary-list-entries):
6662 (abbreviated-calendar-year): Move here from calendar.el. Doc fix.
6663 (diary-header-line-flag, diary-header-line-format): Declare.
6664 (diary-pull-attrs): Check for multiple matches.
6665 (diary-list-entries-2): Simplify finding start of date.
6666 (diary-show-all-entries, make-diary-entry): Respect non-nil values of
6668 (diary-mark-entries-1): Re-use offset in abbreviated-year case.
6669 (mark-sexp-diary-entries): Remove superfluous call to diary-pull-attrs.
6671 2008-03-27 Dan Nicolaescu <dann@ics.uci.edu>
6673 * vc-hg.el (vc-hg-state, vc-hg-dir-state): Deal with 'missing files.
6675 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
6677 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * vc-hooks.el (vc-before-save): Don't prevent saving the file.
6681 * image-mode.el (image-mode-reapply-winprops): Fix last change.
6683 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp>
6685 * international/mule-conf.el (define-iso-single-byte-charset):
6686 Don't make latin-iso8859-* supplementary.
6687 (#'set-charset-priority): Don't change the priority of charsets
6688 `unicode' and `emacs'.
6690 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6692 * vc.el (vc-do-command): Don't pop to the buffer if it's an internal
6695 2008-03-27 Glenn Morris <rgm@gnu.org>
6697 * calendar/cal-bahai.el (diary-bahai-list-entries):
6698 * calendar/cal-hebrew.el (list-hebrew-diary-entries):
6699 * calendar/cal-islam.el (list-islamic-diary-entries): Doc fix.
6701 * calendar/calendar.el (diary-file): Doc fix.
6703 * calendar/diary-lib.el (diary-face-attrs): Fix `height' regexp.
6704 (list-diary-entries-hook, mark-diary-entries-hook)
6705 (include-other-diary-files, diary-mail-entries)
6706 (mark-included-diary-files, list-sexp-diary-entries): Doc fixes.
6707 (diary-set-header): New function.
6708 (diary-header-line-flag, diary-header-line-format):
6709 Use diary-set-header for custom :set function.
6710 (diary-set-maybe-redraw): Use symbol-value rather than eval.
6711 (diary-attrtype-convert): Use intern-soft rather than read.
6712 (diary-display-no-entries): New function.
6713 (simple-diary-display, fancy-diary-display): Use it.
6714 (fancy-diary-display): Doc fix. Remove unneeded local entry-list.
6715 (diary-mark-entries-1): Fix position offsets in non-gregorian case.
6717 * calendar/holidays.el (list-holidays): Doc fix.
6719 2008-03-26 Jay Belanger <jay.p.belanger@gmail.com>
6721 * calc/calc-store.el (calc-read-var-name-history): New variable.
6722 (calc-read-var-name): Use `calc-read-var-name-history'.
6724 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6726 * image-mode.el (image-mode-reapply-winprops): Simplify now that
6727 window-configuration-change-hook works buffer-locally.
6729 2008-03-26 Johan Bockgård <bojohan@gnu.org>
6731 * emacs-lisp/lisp-mnt.el (lm-with-file): Use mode and syntax table
6732 for Emacs Lisp, not Lisp.
6734 2008-03-26 Juanma Barranquero <lekktu@gmail.com>
6736 * help-fns.el (describe-function-1, describe-variable):
6737 If CURRENT-NAME is nil, don't end obsolescence info with semicolon.
6739 * emacs-lisp/bytecomp.el (byte-compile-obsolete): If no
6740 replacement is provided, don't print "use nil instead".
6742 2008-03-26 Johan Bockgård <bojohan@gnu.org>
6744 * complete.el (PC-do-completion): Use regexp-quote.
6746 2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
6748 * vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status):
6749 Detect missing files.
6751 * vc-git.el (vc-git-extra-menu-map): New key map.
6752 (vc-git-extra-menu, vc-git-extra-status-menu, vc-git-grep):
6755 * vc-hooks.el (vc-default-mode-line-string): Deal with 'removed
6758 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6760 * calendar/holidays.el (list-holidays): Make Y2 optional.
6762 * calendar/appt.el (appt-buffer-name): Don't use a leading space for
6763 buffers shown to the user.
6764 (appt-disp-window): Disable undo explicitly now that the leading space
6767 * simple.el (activate-mark): New function.
6768 (set-mark-command): Use it with region-active-p to clean up the code.
6769 (exchange-point-and-mark): Invert the meaning of C-u when
6770 transient-mark-mode is active.
6772 * dired-aux.el (dired-create-files): Use dolist.
6774 * bindings.el (mode-line-change-eol): Use with-selected-window.
6776 * apropos.el (apropos-command): Include macros.
6778 2008-03-26 Glenn Morris <rgm@gnu.org>
6780 * calendar/cal-bahai.el: Require calendar, not cal-julian.
6781 (calendar-bahai-epoch): Doc fix.
6783 * calendar/cal-china.el: Explicitly require calendar.
6785 * calendar/cal-coptic.el, calendar/cal-islam.el, calendar/cal-persia.el:
6786 Require calendar rather than cal-julian.
6787 Autoload calendar-absolute-from-julian.
6788 * calendar/cal-coptic.el (coptic-calendar-epoch):
6789 * calendar/cal-islam.el (calendar-islamic-epoch):
6790 * calendar/cal-persia.el (persian-calendar-epoch): Set when compiling.
6792 * calendar/cal-islam.el (calendar-islamic-epoch): Doc fix.
6794 * calendar/cal-dst.el: Don't require cal-persia.
6795 (calendar-absolute-from-persian): Autoload it.
6796 (dst-adjust-time): Doc fix.
6798 * calendar/cal-menu.el (cal-menu-diary-menu): Remove menu headings that
6799 cause cal-bahai, cal-islam, cal-hebrew to be loaded on starting the
6802 * calendar/cal-menu.el: Require calendar rather than declaring
6804 * calendar/calendar.el: Provide calendar before requiring cal-menu.
6806 * calendar/cal-x.el (calendar-after-frame-setup-hook): New name for
6807 calendar-after-frame-setup-hooks. Update callers, make old name an
6808 obsolete alias. Doc fix.
6809 (calendar-frame-1): Doc fix.
6811 * calendar/calendar.el (solar-holidays): Simplify holiday-sexp calls.
6813 * calendar/calendar.el (oriental-holidays, solar-holidays):
6814 * calendar/holidays.el (list-holidays): Assume atan always bound.
6816 * calendar/lunar.el, calendar/solar.el: Remove floating-point check.
6817 Explicitly require calendar, not cal-julian.
6818 * calendar/lunar.el: Explicitly require cal-dst.
6820 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6822 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
6824 * help-fns.el (describe-function-1, describe-variable): If no
6825 replacement is provided, don't print "use nil instead".
6827 2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
6829 * proced.el: New file.
6831 2008-03-25 Tetsurou Okazaki <okazaki@be.to> (tiny change)
6833 * emacs-lisp/byte-opt.el (side-effect-free-fns): Fix typo.
6835 2008-03-25 Juri Linkov <juri@jurta.org>
6837 * battery.el: Add file cookie coding:iso-8859-1 for the degree sign
6838 in battery-mode-line-format.
6840 * bindings.el (minibuffer-local-map): For the command
6841 file-cache-minibuffer-complete replace keymap minibuffer-local-map
6842 with map which is already locally bound to minibuffer-local-map.
6844 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * subr.el (map-keymap-sorted): Rename from map-keymap-internal.
6847 Remove `sort-first' argument.
6849 * subr.el (redisplay-end-trigger-functions)
6850 (window-redisplay-end-trigger, set-window-redisplay-end-trigger)
6851 (process-filter-multibyte-p, set-process-filter-multibyte):
6854 2008-03-25 Juanma Barranquero <lekktu@gmail.com>
6856 * emacs-lisp/re-builder.el (reb-mode-common): Remove reference to
6857 bogus variable `reb-kill-buffer'; don't make hooks buffer-local,
6858 use the LOCAL arg of `add-hook'.
6859 (reb-blink-delay, reb-mode-hook, reb-re-syntax, reb-auto-match-limit):
6860 Remove spurious * from defcustom docstrings.
6861 (reb-next-match, reb-prev-match, reb-enter-subexp-mode):
6862 Fix typos in messages.
6863 (reb-mode-buffer-p): New function.
6864 (re-builder, reb-kill-buffer): Use `reb-mode-buffer-p'. Use `when'.
6865 (top, reb-show-subexp, reb-auto-update, reb-delete-overlays)
6866 (reb-cook-regexp, reb-update-regexp, reb-update-overlays):
6867 Use `unless', `when'.
6868 (re-builder-unload-function): New function.
6870 2008-03-25 Dan Nicolaescu <dann@ics.uci.edu>
6872 * vc-hooks.el (vc-state): Add documentation for 'missing.
6874 2008-03-25 Wilson Snyder <wsnyder@wsnyder.org>
6876 * progmodes/verilog-mode.el (verilog-auto-output)
6877 (verilog-auto-input, verilog-auto-inout, verilog-auto)
6878 (verilog-delete-auto): Add optional regular expression to
6879 AUTOINPUT/AUTOOUTPUT/AUTOINOUT.
6880 (verilog-signals-matching-regexp): New internal function for
6883 2008-03-25 Johan Bockgård <bojohan@gnu.org>
6885 * info.el (Info-isearch-search): Always return point.
6887 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * diff-mode.el (diff-remembered-defdir): New var.
6890 (diff-find-file-name): Use it to flush diff-remembered-files-alist.
6892 2008-03-25 Glenn Morris <rgm@gnu.org>
6894 * calendar/cal-bahai.el (calendar-bahai-read-date): New name for
6895 calendar-bahai-prompt-for-date. Update callers, make old name an
6896 obsolete alias. Doc fix.
6897 * calendar/cal-coptic.el (calendar-coptic-read-date): New name for
6898 coptic-prompt-for-date. Update callers, make old name an
6899 obsolete alias. Doc fix.
6900 * calendar/cal-hebrew.el (calendar-hebrew-read-date): New name for
6901 calendar-hebrew-prompt-for-date. Update callers. Doc fix.
6902 * calendar/cal-islam.el (calendar-islamic-read-date): New name for
6903 calendar-islamic-prompt-for-date. Update callers. Doc fix.
6904 * calendar/cal-iso.el (calendar-iso-read-date): New name for
6905 calendar-iso-read-args. Update callers, make old name an obsolete
6907 * calendar/cal-persia.el (calendar-persian-read-date): New name for
6908 persian-prompt-for-date. Update callers, make old name an
6909 obsolete alias. Doc fix. Move definition before use.
6911 * calendar/cal-x.el (diary-frame-parameters)
6912 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
6913 (calendar-frame-1): Doc fixes.
6914 (make-fancy-diary-buffer): Remove declaration.
6915 (calendar-dedicate-diary): Replace call to deleted function
6916 make-fancy-diary-buffer.
6917 (calendar-frame-setup): New function.
6918 (calendar-one-frame-setup, calendar-only-one-frame-setup)
6919 (calendar-two-frame-setup): Call calendar-frame-setup to do the actual
6920 work, and mark as obsolete.
6921 (special-display-buffer-names): Don't mess with this; it's not our
6923 (cal-x-load-hook): Defvar it, and mark as obsolete.
6925 * calendar/calendar.el (calendar-remove-frame-by-deleting):
6926 Default to t. Add to 'calendar group.
6927 (calendar): Doc fix. Use calendar-frame-setup.
6928 (calendar-basic-setup): Doc fix. Add optional NODISPLAY argument.
6929 (generate-calendar-window): Doc fix.
6931 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6933 * vc-bzr.el (vc-bzr-print-log, vc-bzr-diff): Do it asynchronously.
6935 2008-03-24 Drew Adams <drew.adams@oracle.com>
6937 * finder.el (finder-mode-syntax-table, finder-font-lock-keywords):
6939 (finder-mode): Use finder-mode-syntax-table. Set font-lock-defaults.
6940 (finder-exit): Ignore errors rather than avoiding them.
6941 Kill *Finder-package* buffer also.
6943 2008-03-24 Andreas Schwab <schwab@suse.de>
6945 * xt-mouse.el (xterm-mouse-event): Avoid error with buttons > 5.
6947 2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
6949 * vc-hg.el (vc-hg-after-dir-status):
6950 * vc-bzr.el (vc-bzr-after-dir-status): Detect missing files.
6952 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status):
6953 Detect removed files.
6955 * vc.el (vc-status-printer): Use a different face for missing files.
6956 (vc-status-hide-up-to-date): Rename from
6957 vc-status-remove-up-to-date. Update all callers.
6958 (vc-status-mode-map): Bind C-m.
6960 2008-03-24 Alexandre Julliard <julliard@winehq.org>
6962 * vc-git.el (vc-git-after-dir-status-stage1): Move state matching
6964 (vc-git--state-code): ... to this new function.
6965 (vc-git-state): Use it.
6967 2008-03-24 Trent Buck <trentbuck@gmail.com> (tiny change)
6969 * textmodes/remember.el (remember-mail-date)
6970 (remember-store-in-mailbox): Write date and From line in such a
6971 way that Mutt can read it.
6973 2008-03-23 Chong Yidong <cyd@stupidchicken.com>
6975 * simple.el (transient-mark-mode): Turn on by default.
6977 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
6979 * vc-bzr.el (vc-bzr-state): Return 'removed for removed files and
6980 'unregistered for unregistered files.
6982 * vc-hg.el (vc-hg-state): Return 'removed for removed files.
6984 * bindings.el (standard-mode-line-modes): Avoid duplicating a string.
6986 * vc-cvs.el (vc-cvs-parse-status): Note there are problems with
6989 * vc.el (vc-status-prepare-status-buffer): Fix thinko.
6990 (vc-status-menu-map): Add binding for vc-status-kill-dir-status-process.
6991 Add :enable for vc-status-refresh.
6992 (vc-status-menu-map-filter): Remove vc-ignore-menu-filter test.
6993 (vc-status-tool-bar-map): Add binding for
6994 vc-status-kill-dir-status-process.
6995 Don't test display-graphic-p and don't bind vc-ignore-menu-filter.
6996 (vc-update-vc-status-buffer, vc-status-kill-dir-status-process):
6997 Reset vc-status-process-buffer.
6998 (vc-status-refresh): Don't run two refreshes at a time.
6999 (vc-status): If the buffer is already in vc-status-mode only refresh.
7000 (vc-status-mark-buffer-changed): Add an optional file parameter.
7001 (vc-resynch-buffer): Use it.
7002 (vc-delete-file): Expand the file name before using it.
7003 Be careful to not create a new buffer with the old file contents.
7004 Update the VC state after performing the operation.
7006 2008-03-23 Andreas Schwab <schwab@suse.de>
7008 * menu-bar.el (menu-bar-showhide-fringe-ind-menu) [mixed]:
7009 Fix radio button condition.
7011 [customize]: Add radio button.
7013 2008-03-23 Jay Belanger <jay.p.belanger@gmail.com>
7015 * calc/calc.el (calc-was-keypad-mode, calc-full-mode)
7016 (calc-user-parse-tables, calc-gnuplot-default-device)
7017 (calc-gnuplot-default-output, calc-gnuplot-print-device)
7018 (calc-gnuplot-print-output, calc-gnuplot-geometry)
7019 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
7020 (calc-invocation-macro, calc-trail-pointer, calc-trail-overlay)
7021 (calc-undo-list, calc-redo-list, calc-main-buffer)
7022 (calc-trail-buffer, calc-why, calc-last-kill, calc-dollar-values)
7023 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
7024 (calc-said-hello, calc-executing-macro, calc-any-selections)
7025 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
7026 (calc-display-dirty, calc-embedded-info, calc-embedded-active)
7027 (calc-standalone-flag, var-EvalRules, math-expr-function-mapping)
7028 (math-expr-variable-mapping, calc-mode-map, calc-digit-map)
7029 (calc-dispatch-map, calc-do-dispatch, calc-read-key-sequence)
7030 (calc-create-buffer, calc-quit): Add docstrings.
7032 2008-03-23 Juanma Barranquero <lekktu@gmail.com>
7034 * makefile.w32-in (WINS_ALMOST): Add org.
7036 2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
7038 * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status):
7039 New functions to implement vc-status support.
7041 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7043 * vc.el (vc-status-prepare-status-buffer): New function.
7044 (vc-status): Use it.
7046 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add ... where
7049 2008-03-22 Alexandre Julliard <julliard@winehq.org>
7051 * vc-git.el (vc-git--empty-db-p)
7052 (vc-git-after-dir-status-stage1-empty-db): New functions.
7053 (vc-git-dir-status, vc-git-after-dir-status-stage1, vc-git-state):
7054 Add support for empty repositories.
7056 2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
7058 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7059 Allow "^" in a version name.
7061 * vc-mtn.el (vc-mtn-state): Support the added state.
7063 2008-03-22 Carsten Dominik <dominik@science.uva.nl>
7065 * org: New directory for Org-mode.
7067 * org/org-export-latex.el: Moved from lisp/texmodes.
7069 * org/org-irc.el: Moved from lisp/texmodes.
7071 * org/org-mac-message.el: Moved from lisp/texmodes.
7073 * org/org-mouse.el: Moved from lisp/texmodes.
7075 * org/org-publish.el: Moved from lisp/texmodes.
7077 2008-03-21 Juri Linkov <juri@jurta.org>
7079 * comint.el (comint-dynamic-simple-complete):
7080 Use variable `stub' for the second arg `common-substring'
7081 of `comint-dynamic-list-completions'.
7082 (comint-dynamic-list-filename-completions):
7083 Use variable `filenondir' for the second arg `common-substring'
7084 of `comint-dynamic-list-completions'.
7085 (comint-dynamic-list-completions): Add new optional arg
7086 `common-substring'. Add `common-substring' as the second arg of
7087 the call to `display-completion-list'. Doc fix.
7089 * comint.el (comint-dynamic-complete-as-filename)
7090 (comint-dynamic-list-filename-completions)
7091 (comint-dynamic-simple-complete): Use `minibuffer-message'
7092 to display message "No completions of %s" when a command
7093 is called in the minibuffer.
7094 (comint-dynamic-simple-complete): Don't display other
7095 completion messages when a command is called in the minibuffer.
7096 (comint-dynamic-list-completions): Use `minibuffer-message'
7097 to display message " [Type space to flush ...]" when a command
7098 is called in the minibuffer.
7100 * shell.el (shell-dynamic-complete-command)
7101 (shell-dynamic-complete-environment-variable): Don't display
7102 completion messages when command is called in the minibuffer.
7104 * emacs-lisp/lisp.el (lisp-complete-symbol):
7105 Use `minibuffer-message' to display message "No completions of %s"
7106 when this command is called in the minibuffer.
7108 * bindings.el (standard-mode-line-modes): Put special help-echo
7109 tooltip on recursive edit %[ %] mode-line constructs.
7111 * dabbrev.el (debug-ignored-errors): Remove $ from the end of
7112 "^No dynamic expansion for .* found$" to allow error messages like
7113 "No dynamic expansion for \"%s\" found in this-buffer".
7115 2008-03-21 Michael Albinus <michael.albinus@gmx.de>
7117 * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and
7120 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * vc-hooks.el (vc-default-mode-line-string): Add case for added files.
7123 * vc.el (vc-default-dired-state-info): Use just "modified".
7124 * vc-cvs.el (vc-cvs-state-heuristic): Turn rev 0 into `added'.
7125 (vc-cvs-mode-line-string): Make use of the better default.
7126 (vc-cvs-parse-entry): Use the new `added'.
7127 (vc-cvs-dired-state-info): Remove.
7128 * vc-svn.el (vc-svn-dired-state-info): Remove.
7129 * vc-hg.el (vc-hg-dired-state-info): Remove.
7130 * vc-git.el (vc-git-dired-state-info): Remove.
7132 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7134 * vc-git.el (vc-git-status-result): New variable.
7135 (vc-git-dir-status): Split out ...
7136 (vc-git-after-dir-status-stage1, vc-git-after-dir-status-stage2):
7137 ... these new functions and work asynchronously.
7139 2008-03-21 Alexandre Julliard <julliard@winehq.org>
7141 * vc-git.el (vc-git-after-dir-status): Remove.
7142 (vc-git-dired-state-info): Reimplement.
7144 2008-03-21 Dan Nicolaescu <dann@ics.uci.edu>
7146 * replace.el (occur-mode-map): Add :help.
7148 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entry
7151 * vc.el (vc-status-mark-buffer-changed): Better deal with files in
7153 (vc-status-remove-up-to-date): New function.
7154 (vc-status-mode-map, vc-status-menu-map): Bind it.
7155 (vc-status-printer): Use a different face up-to-date files.
7156 (vc-resynch-buffer): Update the vc-status buffer if it exists.
7157 (Todo): Remove solved entries.
7159 * vc-hg.el (vc-hg-state):
7160 * vc-git.el (vc-git-state):
7161 * vc-cvs.el (vc-cvs-parse-status):
7162 * vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
7165 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * progmodes/compile.el (compile):
7168 * progmodes/grep.el (grep, grep-find): Use read-shell-command.
7170 * simple.el (minibuffer-local-shell-command-map): New var.
7171 (minibuffer-complete-shell-command, read-shell-command): New funs.
7172 (shell-command, shell-command-on-region): Use them.
7174 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7176 * vc.el (vc-status-mark-buffer-changed): New function to implement
7177 updating of the *vc-status* buffer when a buffer is saved.
7178 (vc-status-mode): Use it for after-change-hook.
7179 (vc-add-to-vc-status-buffer): Rename to ...
7180 (vc-status-add-entry): ... this.
7181 (Todo): Add new entry.
7183 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7185 * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness.
7187 2008-03-20 Juanma Barranquero <lekktu@gmail.com>
7189 * icomplete.el (icomplete-prospects-length, icomplete-max-delay-chars)
7190 (icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
7191 Remove spurious * from defcustom docstrings.
7192 (icomplete-compute-delay): Fix docstring and remove spurious *.
7193 (icomplete-delay-completions-threshold): Fix typo in docstring and
7195 (icomplete-completions): While collecting the list of prospective
7196 candidates, don't overshoot `icomplete-prospects-length'.
7198 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
7200 * textmodes/refbib.el:
7201 * textmodes/reftex.el:
7202 * textmodes/reftex-global.el:
7203 * textmodes/reftex-vars.el:
7204 * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
7205 compiler pacifying defvars.
7206 (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
7207 * textmodes/reftex-index.el (zmacs-regions): Remove pacifier,
7210 2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
7212 * progmodes/verilog-mode.el (verilog-easy-menu-filter): New function.
7213 (verilog-stmt-menu, verilog-menu): Add :help and filter it.
7214 (verilog-customize, verilog-font-customize)
7215 (electric-verilog-backward-sexp, electric-verilog-forward-sexp)
7216 (verilog-mode): Update documentation strings to match tool tips.
7217 (verilog-auto-search-do, verilog-auto-re-search-do)
7218 (verilog-skip-forward-comment-or-string): Fix verilog-auto
7219 expansion when a .* appears inside a string.
7220 (verilog-re-search-forward, verilog-re-search-backward):
7221 Add comment to recall how this works.
7222 (verilog-read-decls): Fix AUTOINPUT/AUTOOUTPUT mis-including genvars.
7224 2008-03-20 Glenn Morris <rgm@gnu.org>
7226 * calendar/calendar.el (calendar-other-dates): New function.
7227 (calendar-print-other-dates): Use calendar-other-dates.
7228 * calendar/cal-menu.el (calendar-other-dates): Declare it, and removes
7229 the declarations it replaces.
7230 (calendar-mouse-print-dates): Use calendar-other-dates.
7232 * calendar/cal-bahai.el (calendar-bahai-leap-year-p)
7233 (calendar-bahai-leap-base, calendar-bahai-from-absolute): Doc fixes.
7234 (calendar-absolute-from-bahai): Fix the leap-year case.
7235 (calendar-bahai-from-absolute): Re-use the Gregorian month.
7236 (calendar-bahai-date-string, calendar-bahai-print-date):
7237 Handle pre-Bahai dates.
7239 * calendar/cal-china.el (chinese-calendar-celestial-stem)
7240 (chinese-calendar-terrestrial-branch): Make defcustoms.
7242 * calendar/cal-menu.el (calendar-mouse-holidays): Re-use the title.
7243 (calendar-mouse-view-diary-entries): Use or.
7244 (calendar-mouse-chinese-date): Remove unused command.
7245 (cal-menu-load-hook): Mark as obsolete.
7247 * calendar/solar.el (calendar-location-name, calendar-latitude)
7248 (calendar-longitude, solar-arctan, sunrise-sunset)
7249 (solar-mean-equinoxes/solstices): Use the appropriate equality test.
7251 2008-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7253 * calc/calc.el: Remove outdated comments.
7254 (defcalcmodevar, calc-mode-var-list-restore-default-values)
7255 (calc-mode-var-list-restore-saved-values, calc-autorange-units):
7258 2008-03-19 Jason Rumney <jasonr@gnu.org>
7260 * w32-fns.el (x-alternatives-map): Add S-tab mapping.
7262 2008-03-19 Reiner Steib <Reiner.Steib@gmx.de>
7264 * net/tls.el (open-tls-stream): Reindent.
7266 2008-03-19 Michael Albinus <michael.albinus@gmx.de>
7268 * net/tramp.el (tramp-let-maybe): Removed.
7269 (tramp-drop-volume-letter): Don't use `replace-regexp-in-string'.
7270 It does not exist under XEmacs.
7271 (tramp-handle-file-truename, tramp-handle-expand-file-name)
7272 (tramp-completion-file-name-handler): Let-bind
7273 `directory-sep-char'.
7275 * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
7276 `directory-sep-char'.
7278 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * help-fns.el (describe-function-1): Don't signal "missing arglist"
7281 for autoloaded keymaps.
7283 * progmodes/verilog-mode.el (verilog-syntax-ppss): New function.
7284 (electric-verilog-terminate-line, verilog-in-struct-region-p)
7285 (verilog-backward-ws&directives, verilog-forward-ws&directives)
7286 (verilog-in-comment-p, verilog-in-star-comment-p)
7287 (verilog-in-slash-comment-p, verilog-skip-backward-comments)
7288 (verilog-parenthesis-depth, verilog-skip-backward-comment-or-string)
7289 (verilog-skip-forward-comment-or-string, verilog-in-paren)
7290 (verilog-skip-forward-comment-p): Use it.
7292 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7294 * textmodes/org.el (org-link-store, org-link-follow, org-latex)
7295 (org-remember-templates, org-time-stamp-rounding-minutes)
7296 (org-back-over-empty-lines, org-find-base-buffer-visiting)
7297 (org-columns-new): Fix typos in docstrings.
7299 2008-03-19 Glenn Morris <rgm@gnu.org>
7301 * net/tramp.el (tramp-drop-volume-letter): Evaluate when compiling.
7302 (tramp-handle-shell-command): Use condition-case rather than
7305 2008-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7307 * diff-mode.el (diff-header): Make the color louder.
7308 (diff-refine-change): Tone the color down.
7310 2008-03-19 Juanma Barranquero <lekktu@gmail.com>
7312 * descr-text.el (describe-char): When `describe-char-unidata-list'
7313 is set to show all properties, list them in the right order.
7315 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * international/mule.el (load-with-code-conversion): Avoid setting
7318 default-enable-multibyte-characters.
7320 2008-03-19 Gustav HÃ¥llberg <gustav@virtutech.com> (tiny change)
7322 * vc.el (vc-annotate-background): Fix custom type.
7324 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7326 * descr-text.el (describe-char-unidata-list): Allow specifying
7327 just all properties.
7328 (describe-char): Handle that new value.
7330 * emulation/cua-base.el (cua-paste): Signal an error in read-only buf.
7332 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7334 * doc-view.el (doc-view-initiate-display): Use doc-view-doc-type
7335 instead of file name extension to make docs with uncommon
7338 2008-03-18 Tassilo Horn <tassilo@member.fsf.org>
7340 * doc-view.el (require): Require cl at compile time because
7343 2008-03-18 Glenn Morris <rgm@gnu.org>
7345 * calendar/calendar.el (initial-calendar-window-hook)
7346 (today-visible-calendar-hook): Doc fixes.
7348 2008-03-17 Michael Albinus <michael.albinus@gmx.de>
7350 * net/tramp.el (tramp-root-regexp): Simplify.
7351 (tramp-completion-file-name-regexp-separate): Don't insist on
7352 leading "[". This prevents method or user or host completion.
7353 (tramp-let-maybe): Autoload it.
7354 (tramp-drop-volume-letter): Don't autoload. When not on W32, it
7355 is an alias for `identity'.
7356 (tramp-handle-write-region): Protect `last-coding-system-used'
7357 over the trailing statements.
7358 (tramp-completion-file-name-handler-post-function): Remove.
7359 (tramp-completion-file-name-handler): Let-bind `directory-sep-char'
7360 instead of calling `tramp-drop-volume-letter'.
7364 * net/trampver.el: Move coding cookie at the end.
7366 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7368 * net/tramp.el (tramp-completion-mode-p): Don't use char-equal for
7369 elements which may be something else than characters.
7371 2008-03-17 Dan Nicolaescu <dann@ics.uci.edu>
7373 * vc-bzr.el (vc-bzr-dir-status, vc-bzr-after-dir-status):
7374 New functions to implement vc-status support.
7376 * vc.el (vc-default-extra-status-menu)
7377 (vc-add-to-vc-status-buffer): New functions.
7379 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7382 2008-03-17 Glenn Morris <rgm@gnu.org>
7384 * calendar/cal-x.el (diary-frame-parameters)
7385 (calendar-frame-parameters, calendar-and-diary-frame-parameters):
7386 Fix custom type; add options.
7387 (calendar-frame, diary-frame): Doc fixes.
7388 (calendar-dedicate-diary, calendar-frame-1): Extract common code into
7390 (calendar-one-frame-setup, calendar-two-frame-setup): Doc fixes.
7391 Use calendar-frame-1 and calendar-dedicate-diary.
7392 (calendar-one-frame-setup): Also handle only-one-frame case.
7393 (calendar-only-one-frame-setup): Doc fix. Just call
7394 calendar-one-frame-setup.
7396 * calendar/diary-lib.el: Re-order some definitions before their use.
7397 (nongregorian-diary-listing-hook, nongregorian-diary-marking-hook)
7398 (diary-list-entries): Doc fixes.
7399 (make-fancy-diary-display): Remove function.
7401 * calendar/calendar.el (calendar-today-marker)
7402 (initial-calendar-window-hook, today-visible-calendar-hook)
7403 (today-invisible-calendar-hook, diary-file, calendar-basic-setup)
7404 (calendar-star-date, calendar-mark-today): Doc fixes.
7405 (today-visible-calendar-hook): Add options.
7406 (calendar-in-read-only-buffer): New macro.
7407 (calendar-basic-setup): Adapt for change in calendar-read-date.
7408 Place holiday let inside if.
7409 (calendar-day-name-array, calendar-month-name-array): Make defcustoms.
7410 (calendar-read-date): Set day to 1 rather than nil in the NODAY case.
7411 (calendar-print-other-dates): Use one let rather than many.
7413 * calendar/calendar.el (calendar-in-read-only-buffer): New macro.
7414 (calendar-print-other-dates):
7415 * calendar/cal-hebrew.el (list-yahrzeit-dates):
7416 * calendar/diary-lib.el (simple-diary-display, fancy-diary-display):
7417 * calendar/holidays.el (calendar-list-holidays, list-holidays)
7418 (calendar-cursor-holidays):
7419 * calendar/lunar.el (calendar-phases-of-moon): Use
7420 calendar-in-read-only-buffer to replace previous code and disable undo.
7422 2008-03-16 Juri Linkov <juri@jurta.org>
7424 * isearch.el (isearch-edit-string): Use search-ring-yank-pointer
7425 and regexp-search-ring-yank-pointer for the HISTPOS argument of
7426 read-from-minibuffer to provide the correct initial minibuffer
7427 history position in isearch-edit-string when it is called from
7428 isearch-ring-adjust.
7430 * menu-bar.el (kill-this-buffer): Use menu-bar-non-minibuffer-window-p
7431 to check if the current buffer is the minibuffer, and in this case
7432 call abort-recursive-edit to kill the minibuffer. Doc fix.
7433 (kill-this-buffer-enabled-p): Allow this function to return non-nil
7434 when the current buffer is the minibuffer.
7436 * simple.el (goto-line): Leave mark at previous position. Doc fix.
7438 2008-03-16 Tassilo Horn <tassilo@member.fsf.org>
7440 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
7441 Use non-nil PARENTS attribute of make-directory instead of
7442 explicitly checking existence the current cache directory.
7444 2008-03-16 Daiki Ueno <ueno@unixuser.org>
7446 * epa-file.el (epa-file-select-keys): Fix bug with C-x C-s after
7447 M-x epa-file-select-keys.
7449 2008-03-16 Kenichi Handa <handa@m17n.org>
7451 * international/mule.el (auto-coding-alist):
7452 Use no-conversion-multibyte for archive files.
7454 2008-03-16 Glenn Morris <rgm@gnu.org>
7456 * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
7458 * calendar/cal-bahai.el (calendar-mark-1): Autoload it.
7459 (calendar-bahai-mark-date-pattern): Add optional argument `color'.
7460 Use calendar-mark-1.
7461 * calendar/cal-hebrew.el (calendar-mark-complex): Autoload it.
7462 (mark-hebrew-calendar-date-pattern): Add optional argument `color'.
7463 Use calendar-mark-complex.
7464 * calendar/cal-islam.el (calendar-mark-1): Autoload it.
7465 (mark-islamic-calendar-date-pattern): Add optional argument `color'.
7466 Use calendar-mark-1.
7468 * calendar/calendar.el (calendar-mod): Remove.
7469 * calendar/cal-china.el (calendar-chinese-from-absolute)
7470 (calendar-chinese-date-string): Expand calendar-mod calls.
7471 * calendar/cal-mayan.el (calendar-mayan-tzolkin-from-absolute):
7472 Expand calendar-mod calls.
7474 * calendar/cal-bahai.el (calendar-bahai-date-string): Use a single let.
7475 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
7476 (diary-bahai-insert-yearly-entry): Use let rather than let*.
7477 Move obsolete aliases after the functions that replaced them.
7479 * calendar/cal-hebrew.el (calendar-absolute-from-hebrew)
7480 (hebrew-calendar-yahrzeit, insert-hebrew-diary-entry)
7481 (insert-monthly-hebrew-diary-entry, insert-yearly-hebrew-diary-entry):
7482 Use let rather than let*.
7483 (calendar-hebrew-prompt-for-date): New function.
7484 (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date.
7485 (holiday-tisha-b-av-etc): Use unless, let.
7487 * calendar/cal-islam.el (calendar-islamic-prompt-for-date): New func.
7488 (calendar-goto-islamic-date): Use calendar-islamic-prompt-for-date.
7490 * calendar/cal-mayan.el (calendar-mayan-haab-to-string): Simplify.
7492 * calendar/calendar.el (calendar-for-loop): Add indent spec.
7494 * calendar/diary-lib.el (diary-remind-message, mark-sexp-diary-entries)
7495 (list-sexp-diary-entries, diary-font-lock-sexps): Use format rather
7497 (diary): Remove un-needed let.
7498 (view-other-diary-entries): Rename argument.
7499 (diary-list-entries-2): New function.
7500 (diary-list-entries-1, diary-list-entries): Use diary-list-entries-2.
7501 (print-diary-entries): Use unless.
7502 (diary-mark-entries-1): Change argument order, make all but
7503 markfunc optional. Handle the standard (Gregorian) case.
7504 Use match-string-no-properties. Handle marks.
7505 (mark-diary-entries): Use diary-mark-entries-1.
7506 (diary-font-lock-keywords-1): New macro.
7507 (diary-font-lock-keywords): Use diary-font-lock-keywords-1.
7509 2008-03-16 Ulf Jasper <ulf.jasper@web.de>
7511 * icalendar.el (icalendar-version): Increase to 0.18.
7512 (icalendar-export-hidden-diary-entries): New variable.
7513 (icalendar-export-region): Use icalendar-export-hidden-diary-entries.
7514 In case of error, insert full error-val.
7515 (icalendar-first-weekday-of-year): Remove `offset' argument. Doc fix.
7516 Use calendar-day-of-week. Return the day number.
7517 (icalendar--convert-weekly-to-ical): Use funcall rather than apply.
7519 2008-03-16 Craig Markwardt <Craig.Markwardt@nasa.gov>
7521 * icalendar.el (icalendar-recurring-start-year): New variable.
7522 (icalendar--diarytime-to-isotime): Fix treatment of 12:00pm - 12:59pm.
7523 (icalendar-export-region): Ignore hidden diary entries.
7524 (icalendar--convert-ordinary-to-ical): Fix case where event
7525 spans across midnight boundary.
7526 (icalendar-first-weekday-of-year): New function.
7527 (icalendar--convert-weekly-to-ical): Allow user-selectable start
7528 year for recurring events (Mozilla calendars do not propagate
7529 recurring events forever, so year 2000 start date was not working).
7530 (icalendar--convert-yearly-to-ical): Remove extra spaces in
7531 formatting of BYMONTH and BYMONTHDAY (not allowed by ical spec).
7533 2008-03-15 Michael Albinus <michael.albinus@gmx.de>
7535 * net/tramp.el (tramp-root-regexp): New defconst.
7536 (tramp-completion-file-name-regexp-unified)
7537 (tramp-completion-file-name-regexp-separate)
7538 (tramp-completion-file-name-regexp-url): Use it.
7539 (tramp-do-copy-or-rename-file-via-buffer):
7540 Set `enable-multibyte-characters' to nil. Set `jka-compr-inhibit' to
7541 t for `insert-file-contents-literally'.
7542 (tramp-drop-volume-letter): Rewrite, using `tramp-root-regexp'.
7544 (tramp-completion-file-name-handler-post-function): New defconst.
7545 (tramp-completion-file-name-handler): Use it.
7546 (tramp-maybe-open-connection): Update calls to
7547 `tramp-flush-connection-property' for removed 2nd argument.
7549 2008-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * vc-bzr.el (vc-bzr-diff): Use a faster invocation when possible.
7552 (vc-bzr-complete-with-prefix, vc-bzr-revision-completion-table):
7555 2008-03-15 Glenn Morris <rgm@gnu.org>
7557 * calendar/diary-lib.el (diary-list-entries-1, diary-mark-entries-1):
7559 * calendar/cal-bahai.el (number, original-date, add-to-diary-list)
7560 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7561 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7562 (diary-bahai-list-entries): Use diary-list-entries-1.
7563 (diary-bahai-mark-entries): Doc fix. Use diary-mark-entries-1.
7564 * calendar/cal-hebrew.el (number, original-date, add-to-diary-list)
7565 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7566 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7567 (list-hebrew-diary-entries): Use diary-list-entries-1.
7568 (mark-hebrew-diary-entries): Doc fix. Use diary-mark-entries-1.
7569 * calendar/cal-islam.el (number, original-date, add-to-diary-list)
7570 (diary-name-pattern, mark-calendar-days-named): Remove declarations.
7571 (diary-list-entries-1, diary-mark-entries-1): Autoload.
7572 (list-islamic-diary-entries): Use diary-list-entries-1.
7573 (mark-islamic-diary-entries): Doc fix. Use diary-mark-entries-1.
7575 * calendar/appt.el (appt-check, appt-delete, appt-make-list): Use caar.
7577 * calendar/cal-bahai.el (calendar-bahai-epoch): Doc fix.
7579 * calendar/cal-china.el (number-chinese-months)
7580 (calendar-chinese-from-absolute): Use nth, caar.
7582 * calendar/cal-coptic.el (coptic-calendar-epoch): Doc fix.
7584 * calendar/cal-french.el (french-calendar-accents): Doc fix.
7586 * calendar/cal-hebrew.el (calendar-hebrew-month-name-array-common-year)
7587 (calendar-hebrew-month-name-array-leap-year)
7588 (hebrew-calendar-parashiot-names): Make constants.
7589 (diary-parasha): Move definition after constants it uses.
7591 * calendar/cal-html.el (cal-html-insert-link-yearpage)
7592 (cal-html-htmlify-list): Doc fix.
7593 (cal-html-htmlify-entry): Use nth.
7595 * calendar/cal-islam.el (calendar-islamic-month-name-array)
7596 (calendar-islamic-epoch): Make constants.
7597 (calendar-islamic-epoch): Doc fix.
7599 * calendar/cal-menu.el (cal-menu-goto-menu): Use "Go To".
7601 * calendar/cal-tex.el (cal-tex-hook, cal-tex-insert-preamble)
7602 (cal-tex-month-name): Doc fix.
7603 (cal-tex-last-blank-p): Use zerop.
7605 * calendar/calendar.el (european-calendar-style, calendar-for-loop)
7606 (calendar-sum, calendar-insert-indented, mouse-calendar-other-month)
7607 (calendar-cursor-to-date): Doc fix.
7608 (hebrew-holidays-1, hebrew-holidays-4): Simplify.
7609 (extract-calendar-day, extract-calendar-year): Use cadr, nth.
7610 (calendar-day-number): Use when.
7611 (generate-calendar-month): Use dotimes.
7612 (exit-calendar, calendar-print-other-dates): Use let rather than let*.
7613 (calendar-set-mark): Reverse conditional.
7614 (calendar-make-alist): Move definition before use.
7616 * calendar/diary-lib.el (diary-face-attrs)
7617 (diary-glob-file-regexp-prefix, diary-selective-display)
7618 (number-of-diary-entries, diary-list-entries, diary-goto-entry)
7619 (list-sexp-diary-entries, diary-date, diary-block, diary-float)
7620 (diary-anniversary, diary-cyclic)
7621 (diary-fancy-font-lock-fontify-region-function): Doc fixes.
7622 (diary-header-line-format): Change wording.
7623 (diary-list-entries): Set `date-start' in let.
7624 (include-other-diary-files, mark-included-diary-files): Use format.
7625 (simple-diary-display, fancy-diary-display): Use cadr, unless.
7626 (mark-diary-entries): Use 1+.
7627 (mark-sexp-diary-entries, list-sexp-diary-entries): Use when.
7628 (mark-calendar-month): Use dotimes.
7630 * calendar/holidays.el (displayed-month, displayed-year):
7631 Move declarations where needed.
7632 (calendar-list-holidays): Doc fix.
7634 * calendar/parse-time.el (parse-time-string): Simplify.
7636 * calendar/solar.el (solar-n-hemi-seasons, solar-s-hemi-seasons):
7638 (solar-sunrise-sunset): Rename some local variables for clarity.
7639 (sunrise-sunset): Use zerop.
7640 (solar-mean-equinoxes/solstices): Doc fix.
7642 * calendar/timeclock.el (timeclock-time-to-seconds, timeclock-log-data):
7644 (timeclock-completing-read, timeclock-generate-report): Use zerop.
7645 (timeclock-mean, timeclock-generate-report): Use dolist.
7647 * calendar/todo-mode.el (todo-add-category): Simplify.
7648 (todo-more-important-p, todo-delete-item, todo-file-item):
7650 (todo-top-priorities): Use zerop.
7652 2008-03-14 Nick Roberts <nickrob@snap.net.nz>
7654 * buff-menu.el (list-buffers-noselect): Display buffer name in
7655 tooltip instead of mouse binding when it doesn't fit in the list.
7657 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7659 * faces.el (xw-defined-colors):
7660 * simple.el (widget-convert, shell-mode): Declare as functions
7661 instead of autoloading.
7667 * emacs-lisp/backquote.el:
7668 * emacs-lisp/timer.el:
7674 * textmodes/fill.el:
7675 * textmodes/paragraphs.el: Remove autoloads, redundant when the
7676 files are preloaded.
7678 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * desktop.el (desktop-create-buffer): Don't catch errors if
7681 debug-on-error is set.
7683 2008-03-14 Eli Zaretskii <eliz@gnu.org>
7685 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7686 ($(lisp)/calendar/diary-loaddefs.el)
7687 ($(lisp)/calendar/hol-loaddefs.el): New targets.
7688 (LOADDEFS): New macro.
7689 (autoloads): Depend on $(LOADDEFS).
7691 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7693 * font-lock.el (featurep): Remove test, not useful anymore.
7694 (facemenu-keymap): Move key binding ...
7695 * facemenu.el (facemenu-keymap): ... here.
7697 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
7698 for each file in the list.
7699 (vc-bzr-log-view-mode): Recognize the file marker.
7701 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
7702 for checkdoc and profiling.
7704 2008-03-14 Bastien Guerry <bzg@altern.org>
7706 * textmodes/flyspell.el (nxml-mode): Add the right
7707 `flyspell-mode-predicate'.
7709 * wid-edit.el (link): Use 'mouse-face for :follow-link.
7711 2008-03-14 Glenn Morris <rgm@gnu.org>
7713 * calendar/solar.el: Reorder so that functions are defined before use.
7714 (displayed-month, displayed-year): Move declarations where needed.
7715 (solar-get-number): Move definition before use. Use unless.
7716 (solar-equatorial-coordinates): Simplify.
7717 (solar-sunrise-and-sunset): Use let rather than let*.
7718 (solar-longitude, solar-equinoxes-solstices): Use cadr, nth.
7720 * startup.el (command-line-1): Rename -internal-script back to
7721 -scriptload (reverts previous change).
7723 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
7724 (calendar-bahai-leap-base): Add doc strings.
7725 (calendar-bahai-prompt-for-date, calendar-bahai-mark-date-pattern):
7726 Move definition before use.
7727 (calendar-bahai-goto-date, diary-bahai-list-entries): Doc fix.
7728 (diary-bahai-list-entries, diary-bahai-mark-entries): Move some constant
7729 variables outside the loop. Use dolist.
7730 (holiday-bahai, calendar-bahai-mark-date-pattern): Use unless.
7732 * calendar/cal-china.el: Re-order so that functions are defined before
7734 (displayed-month, displayed-year): Move declarations where needed.
7735 (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
7736 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
7738 (chinese-year-cache): Recenter on 2010. Doc fix.
7739 (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
7741 (chinese-year-cache-init): New function.
7742 (compute-chinese-year, holiday-chinese-new-year)
7743 (calendar-chinese-date-string, calendar-goto-chinese-date)
7744 (make-chinese-month-assoc-list): Use cadr, nth.
7745 (chinese-months): Remove un-needed let.
7747 * calendar/cal-coptic.el (coptic-calendar-month-name-array)
7748 (ethiopic-calendar-month-name-array, ethiopic-name): Add doc strings.
7749 (coptic-prompt-for-date): Move definition before use.
7751 * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Simplify.
7752 (calendar-dst-find-data, calendar-daylight-time-offset)
7753 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
7754 (calendar-daylight-savings-starts-time)
7755 (calendar-daylight-savings-ends-time): Use cadr, nth.
7757 * calendar/cal-french.el (french-calendar-epoch)
7758 (calendar-goto-french-date): Doc fix.
7759 (french-calendar-month-name-array)
7760 (french-calendar-multibyte-month-name-array)
7761 (french-calendar-day-name-array, french-calendar-special-days-array):
7764 * calendar/cal-hebrew.el (displayed-month, displayed-year)
7765 (original-date): Move declarations where needed.
7766 (calendar-goto-hebrew-date, list-hebrew-diary-entries, diary-yahrzeit):
7768 (list-hebrew-diary-entries, mark-hebrew-diary-entries): Move some
7769 constant variables outside the loop. Use dolist.
7771 * calendar/cal-islam.el (displayed-month, displayed-year)
7772 (original-date): Move declarations where needed.
7773 (islamic-calendar-day-number): Remove unused local variable `day'.
7774 (calendar-goto-islamic-date): Doc fix.
7775 (holiday-islamic): Use unless.
7776 (list-islamic-diary-entries, mark-islamic-diary-entries): Move some
7777 constant variables outside the loop. Use dolist.
7778 (mark-islamic-calendar-date-pattern): Move definition before use.
7780 (mark-islamic-diary-entries): Doc fix.
7781 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
7782 (insert-yearly-islamic-diary-entry): Use let rather than let*.
7784 * calendar/cal-julian.el (calendar-absolute-from-julian):
7785 Move definition before use. Remove un-needed local `day'.
7786 (calendar-goto-julian-date, calendar-goto-astro-day-number): Doc fix.
7788 * calendar/cal-mayan.el (calendar-mayan-haab-month-name-array)
7789 (calendar-mayan-tzolkin-names-array): Add doc strings.
7790 (calendar-mayan-long-count-from-absolute): Use a single let.
7791 (calendar-string-to-mayan-long-count): Simplify.
7792 (calendar-next-haab-date, calendar-previous-haab-date)
7793 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
7794 (calendar-previous-calendar-round-date)
7795 (calendar-goto-mayan-long-count-date, calendar-mayan-date-string):
7797 (calendar-mayan-tzolkin-haab-on-or-before): Use zerop.
7798 (calendar-mayan-date-string, calendar-print-mayan-date)
7799 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
7800 (calendar-mayan-long-count-common-era): Move definitions before use.
7802 * calendar/cal-menu.el (displayed-year): Move declaration where needed.
7803 (calendar-event-to-date, cal-tex-mouse-week, cal-tex-mouse-week-iso):
7805 (calendar-mouse-goto-date): Move definition before use.
7807 * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use or, when.
7808 Move definition before use.
7809 (calendar-cursor-to-visible-date): Move definition before use.
7810 (calendar-scroll-left): Use unless and zerop. Combine lets into one,
7811 and place inside the conditional.
7812 (calendar-forward-day): Simplify.
7813 (calendar-end-of-month): Use unless.
7814 (calendar-goto-day-of-year): Doc fix.
7815 Relocate obsolete aliases after their replacements.
7817 * calendar/cal-persia.el (calendar-goto-persian-date): Doc fix.
7819 * calendar/diary-lib.el (mark-diary-entries): Move some constant
7820 variables outside the diary-date-forms loop.
7822 * calendar/calendar.el (diary-file): Doc fix.
7823 (calendar-buffer-list): Return buffers rather than strings (fixes
7825 (hebrew-holidays-4): Fix typo.
7827 * calendar/holidays.el (displayed-month, displayed-year):
7828 Move declarations where needed.
7829 (calendar-holiday-list, calendar-list-holidays)
7830 (holiday-filter-visible-calendar): Move definitions before use.
7831 (list-holidays): Use cadr.
7832 Relocate obsolete aliases after their replacements.
7834 * calendar/lunar.el (date, displayed-month, displayed-year):
7835 Move declarations where needed.
7836 (lunar-phase-list): Move definition after functions it uses.
7837 (calendar-phases-of-moon, diary-phases-of-moon)
7838 (lunar-new-moon-on-or-after): Use cadr, nth.
7839 (lunar-new-moon-on-or-after): Doc fix.
7841 * textmodes/org-irc.el (top-level): CL not required when compiling.
7842 (org-irc-visit-erc): Replace runtime CL functions.
7844 * textmodes/org-publish.el (declare-function): Add compatibility stub.
7845 (org-publish-delete-dups): Declare as function.
7847 2008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
7849 * vc-bzr.el (vc-bzr-log-view-mode): "." can be part of a revno.
7850 (vc-bzr-show-log-entry): Make regexp match more cases.
7851 (vc-diff-switches-list): Remove autoload, not needed.
7853 2008-03-14 Juri Linkov <juri@jurta.org>
7855 * isearch.el (isearch-edit-string): Remove one call to
7856 `isearch-push-state' not to push an inconsistent state,
7857 but keep another correct call to `isearch-push-state'.
7858 (isearch-ring-adjust): Call `isearch-push-state' only when
7859 `search-ring-update' is non-nil since `isearch-edit-string'
7860 already pushes its state.
7861 (isearch-message): Improve matching the failed part by checking
7862 if the original message starts with the last successful message.
7864 * dired.el (dired-warn-writable): Rename to `dired-perm-write'.
7865 (dired-perm-write): Rename from `dired-warn-writable'.
7866 Change parent face from `font-lock-warning-face' to
7867 `font-lock-comment-delimiter-face'.
7868 (dired-warn-writable-face): Rename to `dired-perm-write-face'.
7869 (dired-perm-write-face): Rename from `dired-warn-writable-face'.
7870 (dired-font-lock-keywords): Replace `dired-warn-writable-face'
7871 with `dired-perm-write-face'.
7873 2008-03-13 Tassilo Horn <tassilo@member.fsf.org>
7875 * doc-view.el (doc-view-doc->txt, doc-view-convert-current-doc):
7876 Create cache dir only if it doesn't already exist.
7878 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Fix handling
7883 2008-03-13 Johan Bockgård <bojohan@gnu.org>
7885 * net/browse-url.el (browse-url-text-xterm):
7886 Unquote browse-url-text-browser.
7888 2008-03-13 Carsten Dominik <dominik@science.uva.nl>
7890 * textmodes/org-mouse.el: Version number change.
7892 * textmodes/org-publish.el (org-publish-expand-components):
7893 Remove null projects from the list of components.
7894 (org-publish-attachment): Bugfix: handle mandatory argument pub-dir.
7895 Remove unused retrieval of the :publishing-directory property.
7896 (org-publish-file): Bugfix: when using a relative directory as the
7897 publishing directory, convert it to a directory filename.
7898 (org-publish-project): New alias.
7899 (org-publish-get-files): Protect against empty p.
7900 (org-publish-file): Send an error when file is not part of any project.
7901 (org-publish-file): Offer to refresh the list of files in known
7902 project when the current file is not part of any project.
7903 (org-publish-before-export-hook)
7904 (org-publish-after-export-hook): New hooks.
7905 (org-publish-org-to): Use new hooks and kill buffers.
7906 (org-publish-file): Remove the code for killing buffers.
7907 (org-publish-initialize-files-alist): Use interactive.
7908 (org-publish-file): If the publishing function creates a new
7909 buffer, kill it after publishing.
7910 (org-publish-timestamp-filename): Protect ":" in file name path
7913 * textmodes/org-export-latex.el (org-export-as-latex): Revert the
7914 change that killed the LaTeX buffer.
7916 * textmodes/org.el (org-ctrl-c-star): Implement a missing branch
7917 in the decision tree.
7918 (org-select-remember-template): Clean the code.
7919 (org-prepare-dblock): Add the extra :content parameter.
7920 (org-write-agenda): New output type ".ics" files.
7921 (org-write-agenda): Call `org-icalendar-verify-function', both for
7922 time stamps and for TODO entries.
7923 (org-agenda-collect-markers, org-create-marker-find-array)
7924 (org-check-agenda-marker-table): New functions.
7925 (org-agenda-marker-table): New variable.
7926 (org-export-as-html): Revert the change that killed the html
7927 buffer. Side effects first need to be studied carefully.
7928 (org-get-tags-at): Fix the structure of the condition-case statement.
7929 (org-ts-regexp0, org-repeat-re, org-display-custom-time)
7930 (org-timestamp-change): Fix regulear expressions to swallow the
7931 extra character for repeat-shift control.
7932 (org-auto-repeat-maybe): Implement the new repeater mechanisms.
7933 (org-get-legal-level): Alias to `org-get-valid-level'.
7934 (org-dblock-write:clocktable): Add a :link parameter, linking
7935 headlines to their location in the Org agenda files.
7936 (org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
7937 throwing an error when getting tags before headlines.
7938 (org-timestamp-change, org-modify-ts-extra)
7939 (org-ts-regexp1): Fix timestamp editing.
7940 (org-agenda-custom-commands-local-options): New constant.
7941 (org-agenda-custom-commands):
7942 Use `org-agenda-custom-commands-local-options' to improve customize
7943 type. "htmlize": Removed hack to fix face problem with htmlize,
7944 it no longer seem necessary.
7945 (org-follow-link-hook): New hook.
7946 (org-agenda-custom-commands): Add "Component" as a tag for each
7947 item in a command serie.
7948 (org-open-at-point): Run `org-follow-link-hook'.
7949 (org-agenda-schedule): Bugfix: don't display marker type when it
7951 (org-store-link): org-irc required.
7952 (org-set-regexps-and-options): Parse the new logging options.
7953 (org-extract-log-state-settings): New function.
7954 (org-todo): Handle the new ways of recording state change stuff.
7955 (org-local-logging): New function.
7956 (org-columns-open-link): Fix bug with opening link in column view.
7957 (org-local-logging): New function.
7958 (org-todo): Make sure that LOGGING properties are honoured.
7959 (org-todo-keywords): Improve docstring.
7960 (org-startup-options): Cleanup startup options.
7961 (org-set-regexps-and-options): Process the "!" markers.
7962 (org-todo): Respect the new logging stuff.
7963 (org-log-note-how): New variable.
7964 (org-add-log-maybe): New parameter HOW that defines how logging
7965 should be done and also overrides PURPOSE. Add a docstring.
7966 (org-add-log-note): Check if we really need to ask for a note.
7967 (org-get-current-options): Digest the new keyword.
7968 (org-agenda-reset-markers): Rename from
7969 `org-agenda-maybe-reset-markers'. Remove FORCE argument.
7970 (org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
7971 function, without force argument.
7972 (org-buffer-property-keys): Bind local variables s and p.
7973 (org-make-tags-matcher): Allow "" to match an empty or
7974 non-existent property value.
7975 (org-export-as-html): Join unsorted lists when they directly
7976 follow each other. Such lists may be created by headlines that
7977 are converted to lists.
7978 (org-nofm-to-completion): New function.
7979 (org-export-as-html): Use :html-extension instead of
7980 org-export-html-extension.
7981 (org-store-link): Support for links from `rmail-summary-mode'.
7982 (org-columns-new, org-complete, org-set-property): Set the
7983 `include-columns' argument in the call to
7984 `org-buffer-property-keys'.
7985 (org-buffer-property-keys): New argument `include-columns', to
7986 include properties expected by any of the COLUMS formats in the
7988 (org-cleaned-string-for-export): Get rid of drawers first, so that
7989 they will be removed also in the text before the first headline.
7990 (org-clock-report): Show the clocktable when found.
7991 (org-refile): Fix positioning bug when `org-reverse-note-order' is nil.
7992 (org-version): With prefix argument, insert `org-version' at point.
7993 (org-agenda-goto): Recenter the window after finding the target
7994 location, to make sure the correct position will be displayed.
7995 (org-agenda-get-deadlines): Don't scale priority with the warning
7997 (org-insert-heading): Don't break line in the middle of the line.
7998 (org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
8000 (org-update-checkbox-count): Revamp to deal with hierarchical
8001 beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
8002 (org-remove-timestamp-with-keyword): New function.
8003 (org-schedule, org-deadline):
8004 Use `org-remove-timestamp-with-keyword' to make sure all such time
8006 (org-mode): Support for `align'.
8007 (org-agenda-get-deadlines): Make sure priorities increase as the
8008 due date approaches and is passed.
8009 (org-remember-apply-template): Fix problem with tags that
8011 (org-make-link-regexps): Improve the regular expression for plain links.
8012 (org-agenda-get-closed): List each clocking entry.
8013 (org-set-tags): Only tabify before tags if indent-tabs-mode is t.
8014 (org-special-ctrl-k): New option.
8015 (org-kill-line): New function.
8016 (org-archive-all-done): Fix incorrect number of stars in regexp.
8017 (org-refile-get-location): New function.
8018 (org-refile-goto-last-stored): New function.
8019 (org-global-tags-completion-table): Add the value of org-tag-alist
8020 in each buffer, to make sure that also unused tags will be
8021 available for completion.
8022 (org-columns-edit-value)
8023 (org-columns-next-allowed-value): Only update if not in agenda.
8024 (org-clocktable-steps): New function.
8025 (org-dblock-write:clocktable): Call `org-clocktable-steps'.
8026 (org-archive-subtree): Add the outline tree context as a property.
8027 (org-closest-date): New optional argument `prefer'.
8028 (org-goto-auto-isearch): New option.
8029 (org-goto-map, org-get-location): Implement auto-isearch.
8030 (org-goto-local-auto-isearch-map): New variable.
8031 (org-goto-local-search-forward-headings)
8032 (org-goto-local-auto-isearch): New functions.
8034 2008-03-13 Philip Jackson <emacs@shellarchive.co.uk>
8036 * textmodes/org-irc.el: New file.
8038 2008-03-13 John Wiegley <johnw@gnu.org>
8040 * textmodes/org-mac-message.el: New file.
8042 2008-03-13 Dan Nicolaescu <dann@ics.uci.edu>
8044 * font-lock.el (font-lock-comment-face): Set the foreground for
8045 the light background 8 colors case.
8047 2008-03-13 Glenn Morris <rgm@gnu.org>
8049 * font-lock.el (lisp-font-lock-keywords-1): Support wider range of
8050 generate-autoload-cookie patterns.
8052 * startup.el (command-line-1): Rename -scriptload to -internal-script.
8054 * Makefile.in ($(lisp)/loaddefs.el): Remove this target.
8055 (MH_E_SRC): Remove variable.
8056 ($(lisp)/mh-e/mh-loaddefs.el): Remove $MH_E_SRC dependency.
8057 Simplify file header. Use $@ for generated-autoload-file.
8059 * Makefile.in (LOADDEFS): New variable.
8060 (AUTOGENEL): Use $LOADDEFS.
8061 (autoloads): Remove $(lisp)/loaddefs.el dependency; add $LOADDEFS.
8062 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
8063 ($(lisp)/calendar/hol-loaddefs.el): New targets.
8064 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
8065 * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-html.el:
8066 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
8067 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
8068 * calendar/cal-tex.el, calendar/cal-x.el, calendar/diary-lib.el:
8069 * calendar/holidays.el, calendar/lunar.el, calendar/solar.el:
8070 Add calendar-specific autoload cookies, and remove any setting of
8071 generated-autoload-file.
8072 * calendar/calendar.el: Remove explicit autoloads now in cal-loaddefs.
8073 * calendar/diary-lib.el: Replace explicit autoloads with reading of
8075 * calendar/holidays.el: Replace explicit autoloads with reading of
8078 * calendar/calendar.el (cal-hebrew-yahrzeit-buffer): New constant.
8079 (calendar-buffer-list): Simplify.
8080 (generate-calendar-window): Use calendar-mark-holidays rather than
8083 * calendar/cal-hebrew.el (list-yahrzeit-dates):
8084 Use cal-hebrew-yahrzeit-buffer.
8086 * calendar/cal-x.el (calendar-only-one-frame-setup)
8087 (calendar-two-frame-setup): Doc fixes.
8088 (special-display-buffer-names): Use cal-hebrew-yahrzeit-buffer.
8090 * calendar/appt.el (appt-mode-string): Mark as risky.
8091 (appt-check): Apply mode-line-emphasis face to appt-mode-string.
8093 * calendar/cal-html.el (diary-list-entries):
8094 * calendar/cal-tex.el (calendar-holiday-list, diary-list-entries)
8095 (calendar-iso-from-absolute): Fix autoloads.
8097 * calendar/cal-iso.el (calendar-absolute-from-iso)
8098 (calendar-iso-read-args): Simplify.
8099 (calendar-iso-date-string, calendar-iso-read-args)
8100 (calendar-goto-iso-date, calendar-goto-iso-week): Doc fixes.
8102 * calendar/cal-julian.el (calendar-julian-from-absolute): Use zerop.
8103 (displayed-month, displayed-year): Move declarations where needed.
8104 (calendar-print-astro-day-number): Doc fix.
8106 * calendar/cal-persia.el (persian-calendar-month-name-array)
8107 (persian-calendar-epoch, calendar-persian-date-string): Doc fixes.
8108 (persian-prompt-for-date): Remove local variable `today'.
8110 * calendar/diary-lib.el (mark-calendar-month): Use zerop.
8112 * calendar/solar.el (solar-moment, solar-exact-local-noon)
8113 (solar-sunrise-sunset, solar-sunrise-sunset-string)
8114 (solar-ephemeris-time, solar-date-next-longitude, solar-sidereal-time)
8115 (diary-sabbath-candles, solar-equinoxes/solstices)
8116 (solar-equinoxes-solstices): Use cadr, cdar, nth, zerop.
8117 (solar-time-equation, solar-date-to-et): Simplify.
8119 * mail/supercite.el: Remove the `function' in `(function (lambda'.
8120 Replace `(car (cdr' with cadr'.
8122 * progmodes/f90.el (f90-font-lock-n): New function.
8123 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
8124 Use f90-font-lock-n.
8125 (f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
8127 * progmodes/f90.el (f90-mode-abbrev-table):
8128 * progmodes/fortran.el (fortran-mode-abbrev-table):
8129 Use newer form of define-abbrev, where supported. No need to bind
8130 abbrevs-changed for system abbrevs.
8132 2008-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * term/xterm.el (terminal-init-xterm): delete-frame-hook ->
8135 delete-frame-functions.
8137 * bookmark.el (Info-current-node): Remove.
8139 2008-03-12 Juri Linkov <juri@jurta.org>
8141 * help.el (describe-project): Remove defaliases for view-todo and
8142 describe-project that are now unnecessary after the merge from
8143 emacs--rel--22 that added define-obsolete-function-alias.
8145 * startup.el (inhibit-startup-screen): Revert incomplete
8146 2008-03-10 merge from emacs--rel--22 that partly reverted
8147 2008-02-28 change that added initial message to *scratch* buffer
8148 regardless of the value of `inhibit-startup-screen'.
8149 Now keep this change in the trunk, but not in the 22 branch.
8151 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8153 * international/quail.el (quail-setup-completion-buf, quail-help):
8154 * mail/binhex.el (binhex-decode-region-internal):
8155 * mail/uudecode.el (uudecode-decode-region-internal):
8156 * net/dns.el (dns-read-string-name, dns-read, dns-read-type, query-dns):
8157 * sha1.el (sha1-string-external): Use set-buffer-multibyte rather than
8158 setting default-enable-multibyte-characters.
8160 * emulation/viper-util.el (viper-file-remote-p): Remove, unused.
8162 * comint.el: Fix up indentation and comment style. Remove `function'.
8164 * international/mule-cmds.el (reset-language-environment)
8165 (set-language-environment-nonascii-translation):
8166 Don't set-unibyte-charset.
8168 * doc-view.el: Remove all cb-args, use closures instead.
8169 (doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
8170 doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was
8171 doing an incorrect check). Update all callers to use the new name.
8172 (doc-view-doc->txt): Add missing `txt' argument.
8174 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8176 * doc-view.el (doc-view-current-cache-dir): Set buffer used for
8177 md5 sum calculation to single-byte.
8179 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8181 * doc-view.el (doc-view-new-window-function): Add assertion.
8182 (doc-view-doc-type): New var.
8183 (doc-view-convert-current-doc, doc-view-doc->txt): Use it.
8184 (doc-view-intersection): New fun.
8185 (doc-view-mode): Use it to set the new var.
8187 2008-03-12 Tassilo Horn <tassilo@member.fsf.org>
8189 * doc-view.el (doc-view-doc->txt, doc-view-open-text)
8190 (doc-view-already-converted-p): New functions.
8191 (doc-view-clear-cache): Don't recreate doc-view-cache-directory.
8192 (doc-view-mode-map): Bind C-c C-t to doc-view-open-text.
8193 (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
8194 (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
8195 (doc-view-ps->pdf-sentinel, doc-view-ps->pdf)
8196 (doc-view-convert-current-doc): Don't hardwire the functions the
8197 sentinels call. Now they're provided by two args CALLBACK and
8198 CB-ARGS to the functions.
8199 (doc-view-search): Use doc-view-doc->txt.
8200 (doc-view-initiate-display): Use doc-view-already-converted-p.
8201 Mention new binding C-c C-t if doc-view-mode doesn't work.
8203 2008-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8205 * diff-mode.el (diff-refine-change): Adjust colors to be more visible.
8207 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords):
8210 Mark " outside of tags as punctuation.
8212 2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * menu-bar.el (minibuffer-local-map): Use the same command for the
8215 "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
8216 Prefer RET over C-j for exit-minibuffer.
8218 * files.el (display-buffer-other-frame): Eliminate problematic code.
8220 * menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
8221 (menu-bar-select-buffer): Remove.
8222 (menu-bar-select-frame): Make non-interactive and take a frame arg.
8223 (menu-bar-update-buffers): Don't use buffer-names or frame names as events.
8225 2008-03-11 Juanma Barranquero <lekktu@gmail.com>
8227 * icomplete.el (icomplete-completions): Remove obsolete code.
8229 * net/net-utils.el (iwconfig-program-options): Doc fix.
8230 (net-utils-run-program, run-network-program): Define as functions.
8232 2008-03-11 Dan Nicolaescu <dann@ics.uci.edu>
8234 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map): Fix typo.
8236 2008-03-11 Glenn Morris <rgm@gnu.org>
8238 * faces.el (mode-line-emphasis): New face.
8239 * vc.el (vc-set-mode-line-busy-indicator): Use mode-line-emphasis face.
8241 * calendar/calendar.el (top-level): Load cal-loaddefs when compiling.
8243 2008-03-11 Chong Yidong <cyd@stupidchicken.com>
8245 * simple.el (set-mark-command): Doc fix.
8247 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * Makefile.in (bootstrap-prepare): Don't chmod cal-loaddefs.el.
8251 * emacs-lisp/autoload.el (autoload-find-destination):
8252 Don't force raw-text.
8254 * calendar/calendar.el ("cal-loaddefs"): Load, rather than require.
8255 * calendar/cal-loaddefs.el: Don't version control.
8257 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8259 * progmodes/make-mode.el (makefile-mode-abbrev-table): Add menu
8260 entries and add :help to the existing ones.
8262 2008-03-10 Glenn Morris <rgm@gnu.org>
8264 * calendar/cal-hebrew.el (date, entry, number): Move declarations
8265 to where they are needed.
8267 * calendar/calendar.el (diary-file, hebrew-holidays-1)
8268 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
8269 (calendar, calendar-basic-setup, calendar-mode-map, calendar-set-mark)
8270 (calendar-version): Doc fixes.
8271 (calendar-absolute-from-gregorian): Use zerop.
8272 (calendar-mode-line-format): Make it a defcustom.
8274 * calendar/diary-lib.el (diary-face-attrs): Fix custom :type.
8275 (diary-face-attrs, diary-glob-file-regexp-prefix, diary-unknown-time)
8276 (diary-pull-attrs, diary-header-line-flag, diary-list-entries)
8277 (diary-unhide-everything, include-other-diary-files, diary-goto-entry)
8278 (mark-included-diary-files, mark-calendar-days-named)
8279 (mark-calendar-date-pattern, mark-calendar-month, diary-entry-compare)
8280 (diary-remind, insert-diary-entry, insert-weekly-diary-entry)
8281 (insert-monthly-diary-entry, insert-yearly-diary-entry)
8282 (insert-anniversary-diary-entry, insert-block-diary-entry)
8283 (insert-cyclic-diary-entry, fancy-diary-font-lock-keywords)
8284 (diary-font-lock-sexps): Doc fixes.
8285 (diary-remind-message, mark-calendar-month): Use zerop.
8286 (diary-attrtype-convert, diary-pull-attrs): Simplify.
8287 (diary-list-entries): Revert let to let* (previous change).
8289 * Makefile.in (bootstrap-prepare): Also chmod cal-loaddefs.el.
8291 2008-03-10 Kim F. Storm <storm@cua.dk>
8293 * help.el (view-emacs-todo, describe-gnu-project): Define obsolete
8294 function aliases for the old names.
8296 2008-03-10 Juanma Barranquero <lekktu@gmail.com>
8298 * iswitchb.el (iswitchb-use-faces): Doc fix.
8299 (iswitchb-buffer-ignore, iswitchb-read-buffer):
8300 Fix typos in docstrings.
8302 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8304 * progmodes/verilog-mode.el (verilog-highlight-grouping-keywords):
8306 (verilog-type-font-keywords): Reindent.
8308 2008-03-10 Michael McNamara <mac@mail.brushroad.com>
8310 * verilog-mode.el (verilog-font-grouping-keywords): Fix bug in the
8311 grouping-keyword regular expression.
8312 (verilog-font-lock-keywords): Allow users to toggle special
8313 highlight of grouping-keywords.
8314 (verilog-highlight-grouping-keywords): The toggle for special
8315 highlighting of grouping keywords.
8317 2008-03-10 Juri Linkov <juri@jurta.org>
8319 * startup.el: Revert 2008-02-28 change that adds initial message
8320 to *scratch* buffer regardless of the value of
8321 `inhibit-startup-screen'.
8323 2008-03-10 Dan Nicolaescu <dann@ics.uci.edu>
8325 * textmodes/css-mode.el (css-indent-offset, css-electric-keys):
8326 * textmodes/bibtex-style.el (bibtex-style-indent-basic):
8327 * progmodes/verilog-mode.el (verilog-mode):
8328 * net/socks.el (socks):
8329 * vc-mtn.el (vc-mtn-mode-line-rewrite): Add :version.
8331 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
8333 * doc-view.el (bookmark-buffer-file-name, bookmark-prop-get): Declare.
8334 (doc-view-bookmark-make-record): Use them.
8335 (doc-view-bookmark-jump): Use them. Fix find-file ->find-file-noselect.
8336 (bookmark-get-filename, bookmark-get-bookmark-record): Remove.
8338 * bookmark.el (bookmark-make-record-function): Change expected return
8339 value to include a suggested bookmark name.
8340 (bookmark-make): Split into bookmark-make-record and bookmark-store.
8341 Fix reversed `overwrite' semantics.
8342 (bookmark-set): Call bookmark-make-record before prompting the user.
8343 Then pass the result to bookmark-store later on.
8344 (bookmark-make-name-function): Remove.
8345 (bookmark-buffer-file-name, bookmark-buffer-name): Don't use it.
8346 * info.el (bookmark-make-name-function): Remove.
8347 (Info-mode): Don't set it.
8348 (Info-bookmark-make-name): Remove.
8349 (Info-bookmark-make-record): Use Info-current-node as suggested default
8352 * bookmark.el (bookmark-set): Make bookmark before reading annotations.
8353 I.e. use bookmark-edit-annotation rather than bookmark-read-annotation.
8354 (bookmark-read-annotation-mode-map, bookmark-annotation-paragraph)
8355 (bookmark-annotation-buffer, bookmark-annotation-file)
8356 (bookmark-annotation-point, bookmark-send-annotation)
8357 (bookmark-read-annotation-mode, bookmark-read-annotation): Remove.
8358 (bookmark-edit-annotation-text-func): Rename from
8359 bookmark-read-annotation-text-func. Keep old name as an obsolete alias.
8360 (bookmark-edit-annotation-mode-map): Move initialization into
8363 * bookmark.el: Remove spurious * in docstrings.
8364 (bookmark-minibuffer-read-name-map): New var.
8365 (bookmark-set): Use it. Also pass the default value as it should.
8366 (bookmark-send-edited-annotation): Take no chances with text properties.
8367 (bookmark-insert-current-bookmark): Inline bookmark-insert-buffer-name.
8368 (bookmark-insert-buffer-name): Remove.
8369 (bookmark-buffer-file-name): Signal an error rather than returning nil.
8371 2008-03-09 Thomas Hühn <xf27@arcor.de> (tiny change)
8373 * tutorial.el (tutorial--default-keys): Update `C-l' binding.
8375 2008-03-09 Dan Nicolaescu <dann@ics.uci.edu>
8377 * diff-mode.el (diff-mode-menu): Add :help.
8379 2008-03-09 Glenn Morris <rgm@gnu.org>
8381 * calendar/calendar.el (general-holidays, oriental-holidays)
8382 (local-holidays, other-holidays, hebrew-holidays-1, hebrew-holidays-2)
8383 (hebrew-holidays-3, hebrew-holidays-4, hebrew-holidays)
8384 (christian-holidays, islamic-holidays, bahai-holidays, solar-holidays)
8385 (calendar-holidays): Restore autoload cookies, because people are
8386 used to using these variables without loading calendar.el.
8388 * calendar/cal-islam.el (diary-islamic-date): Move to end.
8389 (date, number): Declare where needed.
8391 * calendar/diary-lib.el (nongregorian-diary-marking-hook)
8392 (list-sexp-diary-entries): Doc fixes.
8393 (diary-list-entries): Doc fix. Remove free variable `entry'.
8394 (fancy-diary-display): Use dolist, bobp. Remove free variable `entry'.
8395 Simplify setting of `date-holiday-list'.
8396 (mark-diary-entries): Remove free variable `entry'.
8397 (diary-list-entries, include-other-diary-files, fancy-diary-display):
8398 Use let where let* is not needed.
8400 2008-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * bookmark.el (bookmark-make): Don't pass the `annotation' to the
8403 make-record function, instead paste it in afterwards.
8404 (bookmark-make-record-for-text-file):
8405 * doc-view.el (doc-view-bookmark-make-record):
8406 * info.el (Info-bookmark-make-record): Don't mess with annotations.
8408 2008-03-08 Glenn Morris <rgm@gnu.org>
8410 * calendar/diary-lib.el (entry): Declare for compiler part-way through.
8412 2008-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * calendar/diary-lib.el (diary-list-entries)
8415 (include-other-diary-files, mark-diary-entries)
8416 (mark-sexp-diary-entries, mark-included-diary-files)
8417 (diary-entry-time, list-sexp-diary-entries): Remove the special
8418 handling of ^M that dates back to the use of selective-display.
8419 (simple-diary-display): Obey setting of pop-up-frames.
8420 (body, entry): Remove unnecessary declarations.
8422 * bookmark.el (bookmark-prop-get, bookmark-prop-set): New funs.
8423 (bookmark-get-annotation, bookmark-set-annotation)
8424 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
8425 (bookmark-set-position, bookmark-get-front-context-string)
8426 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
8427 (bookmark-set-rear-context-string, bookmark-get-handler): Use them.
8428 * info.el (Info-bookmark-make-record): Don't bother recording point.
8429 (bookmark-get-filename, bookmark-get-front-context-string)
8430 (bookmark-get-rear-context-string, bookmark-get-position):
8431 Don't declare any more.
8432 (bookmark-get-info-node): Remove.
8433 (bookmark-prop-get): Declare.
8434 (Info-bookmark-jump): Use it.
8436 2008-03-08 Johan Bockgård <bojohan@gnu.org>
8438 * subr.el (while-no-input): Don't splice BODY directly into the
8441 2008-03-08 Dan Nicolaescu <dann@ics.uci.edu>
8443 * diff-mode.el (diff-ignore-whitespace-hunk):
8444 Bind inhibit-read-only before trying to change the buffer.
8446 2008-03-08 Glenn Morris <rgm@gnu.org>
8448 * calendar/appt.el (appt): Move custom group here from calendar.el.
8449 (appt-disp-window, appt-convert-time): Doc fixes.
8451 * calendar/cal-bahai.el (calendar-bahai-prompt-for-date)
8452 (calendar-bahai-mark-date-pattern):
8453 * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern):
8454 * calendar/cal-islam.el (mark-islamic-calendar-date-pattern):
8455 * calendar/cal-julian.el (calendar-absolute-from-julian):
8456 * calendar/cal-persia.el (persian-prompt-for-date): Use zerop.
8458 * calendar/cal-china.el (chinese-calendar): Move custom group here from
8460 (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
8462 (chinese-calendar-time-zone, chinese-calendar-daylight-time-offset)
8463 (chinese-calendar-daylight-savings-starts)
8464 (chinese-calendar-daylight-savings-ends)
8465 (chinese-calendar-daylight-savings-starts-time)
8466 (chinese-calendar-daylight-savings-ends-time)
8467 (chinese-zodiac-sign-on-or-after, chinese-new-moon-on-or-after):
8470 * calendar/cal-coptic.el (coptic-name): Add doc string.
8472 * calendar/cal-french.el (french-calendar-month-name-array)
8473 (french-calendar-day-name-array, french-calendar-special-days-array):
8476 * calendar/cal-bahai.el (diary-bahai-mark-entries)
8477 (diary-bahai-insert-entry, diary-bahai-insert-monthly-entry)
8478 (diary-bahai-insert-yearly-entry):
8479 * calendar/cal-dst.el (calendar-next-time-zone-transition)
8480 (calendar-time-zone):
8481 * calendar/cal-hebrew.el (hebrew-calendar-leap-year-p)
8482 (hebrew-calendar-elapsed-days, hebrew-calendar-long-heshvan-p)
8483 (hebrew-calendar-short-kislev-p, mark-hebrew-diary-entries)
8484 (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
8485 (insert-yearly-hebrew-diary-entry, diary-yahrzeit):
8486 * calendar/cal-islam.el (islamic-calendar-leap-year-p)
8487 (list-islamic-diary-entries, mark-islamic-diary-entries)
8488 (insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
8489 (insert-yearly-islamic-diary-entry):
8490 * calendar/cal-iso.el (calendar-iso-read-args):
8491 * calendar/cal-mayan.el (calendar-string-to-mayan-long-count)
8492 (calendar-mayan-haab-to-string, calendar-mayan-tzolkin-to-string)
8493 (calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date)
8494 (calendar-next-calendar-round-date)
8495 (calendar-mayan-long-count-common-era):
8496 * calendar/cal-menu.el (cal-menu-holiday-window-suffix)
8497 (cal-menu-x-popup-menu, calendar-mouse-holidays)
8498 (calendar-mouse-view-diary-entries, calendar-mouse-print-dates)
8499 (calendar-mouse-goto-date):
8500 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
8501 * calendar/holidays.el (holidays):
8502 * calendar/lunar.el (phases-of-moon, lunar-new-moon-on-or-after):
8503 * calendar/time-date.el (date-to-time, time-subtract, time-add)
8504 (safe-date-to-time): Doc fixes.
8506 * calendar/cal-persia.el (persian-calendar-month-name-array)
8507 (persian-calendar-epoch): Make constants.
8509 * calendar/cal-tex.el (calendar-tex): Move custom group here from
8512 * calendar/cal-x.el (diary-frame-parameters)
8513 (calendar-frame-parameters, calendar-and-diary-frame-parameters)
8514 (calendar-after-frame-setup-hooks): Make defcustoms.
8515 (calendar-one-frame-setup, calendar-only-one-frame-setup)
8516 (calendar-two-frame-setup): Doc fix.
8518 * calendar/cal-loaddefs.el: New file.
8520 * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
8521 * calendar/cal-french.el, calendar/cal-html.el:
8522 * calendar/cal-islam.el, calendar/cal-iso.el, calendar/cal-julian.el:
8523 * calendar/cal-mayan.el, calendar/cal-move.el, calendar/cal-persia.el:
8524 * calendar/cal-tex.el, calendar/cal-x.el:
8525 Unquote lambda functions. Add autoload cookies to functions formerly
8526 autoloaded in calendar.el. Set `generated-autoload-file' to
8529 * calendar/calendar.el: Move many autoloads to separate file,
8530 cal-loaddefs.el. Move defcustoms to start and re-order.
8531 (calendar-month-name-array, calendar-starred-day): No need to
8532 declare for compiler.
8533 (cal-loaddefs): Require it.
8534 (appt, chinese-calendar, calendar-tex): Move custom groups to the
8536 (diary-entry-marker, calendar-today-marker, calendar-holiday-marker):
8538 (diary-face, diary-file-name-prefix-function, diary-include-string)
8539 (diary-glob-file-regexp-prefix, diary-face-attrs)
8540 (diary-file-name-prefix, sexp-diary-entry-symbol)
8541 (print-diary-entries-hook, list-diary-entries-hook)
8542 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
8543 (nongregorian-diary-marking-hook, diary-list-include-blanks):
8545 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
8546 (all-bahai-calendar-holidays): Doc fix.
8547 (calendar-insert-indented): Doc fix. Use when rather than if.
8548 (exit-calendar): Use mapc rather than mapcar.
8549 (calendar-cursor-to-date): Use zerop.
8550 (calendar-mark-ring): Add doc-string.
8551 (calendar-starred-day): Defvar it.
8552 (calendar-mode): Make calendar-starred-day local.
8553 (calendar-star-date): No need to make calendar-starred-day local.
8555 * calendar/diary-lib.el: Move defcustoms to start.
8556 (diary-include-string, diary-list-include-blanks)
8557 (diary-glob-file-regexp-prefix, diary-face, diary-face-attrs)
8558 (diary-file-name-prefix, diary-file-name-prefix-function)
8559 (sexp-diary-entry-symbol, list-diary-entries-hook)
8560 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
8561 (nongregorian-diary-marking-hook, print-diary-entries-hook):
8562 Move here from calendar.el.
8563 (diary-file-name-prefix-function): Use 'identity.
8564 (diary-face): Make it a defcustom, and mark as obsolete.
8565 (top-level): No need to require cal-hebrew, cal-islam when compiling.
8566 (calendar-hebrew-month-name-array-leap-year)
8567 (calendar-islamic-month-name-array, calendar-bahai-month-name-array):
8568 Define for compiler.
8569 (diary-font-lock-keywords): Use format rather than concat.
8570 Add bahai-diary-entry-symbol.
8572 * calendar/cal-hebrew.el, calendar/holidays.el, calendar/lunar.el:
8573 * calendar/solar.el: Unquote lambda functions.
8575 * calendar/solar.el (calendar-location-name, calendar-latitude)
8576 (calendar-longitude, solar-setup, solar-sin-degrees)
8577 (solar-cosine-degrees, solar-tangent-degrees, solar-xy-to-quadrant)
8578 (solar-degrees-to-quadrant, solar-atn2, solar-arccos)
8579 (solar-sunrise-and-sunset, solar-moment, solar-daylight)
8580 (solar-exact-local-noon, solar-julian-ut-centuries)
8581 (solar-ephemeris-time, solar-date-next-longitude)
8582 (solar-horizontal-coordinates, solar-equatorial-coordinates)
8583 (solar-ecliptic-coordinates, solar-data-list, solar-longitude)
8584 (solar-ephemeris-correction, solar-sidereal-time, solar-date-to-et)
8585 (sunrise-sunset, solar-seasons-data, solar-equinoxes/solstices):
8587 (solar-horizontal-coordinates, solar-equatorial-coordinates)
8588 (solar-ecliptic-coordinates): Rename argument `for-sunrise-sunset'.
8589 (solar-ecliptic-coordinates): Use unless.
8590 (calendar-sunrise-sunset, diary-sunrise-sunset, diary-sabbath-candles):
8593 * calendar/timeclock.el: Add doc-strings to all functions.
8594 (timeclock-workday, timeclock-in, timeclock-completing-read): Doc fixes.
8595 (timeclock-entry-list-length, timeclock-entry-list-projects)
8596 (timeclock-day-list-projects, timeclock-day-list): Use dolist.
8598 * calendar/todo-mode.el: Remove un-needed eval-when-compile.
8600 * textmodes/org.el (list-diary-entries-hook): Declare for compiler.
8601 (org-get-entries-from-diary): Require diary-lib.
8603 2008-03-08 Juanma Barranquero <lekktu@gmail.com>
8605 * info.el (bookmark-make-name-function, bookmark-get-bookmark-record):
8606 Pacify byte-compiler.
8608 2008-03-07 Alan Mackenzie <acm@muc.de>
8610 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
8611 paren/bracket pairs parsed, to solve performance problem.
8613 2008-03-07 Bastien Guerry <bzg@altern.org>
8615 * bookmark.el (bookmark-set): Don't check for
8616 `bookmark-make-name-function' since `bookmark-buffer-file-name'
8617 already takes care of this.
8618 (bookmark-buffer-name, bookmark-buffer-file-name):
8619 Remove Info-mode specific code.
8621 * info.el (bookmark-get-info-node): Define this function in
8622 info.el, not in bookmark.el.
8623 (Info-mode): Set `bookmark-make-name-function' to
8624 `Info-bookmark-make-name' locally.
8625 (Info-bookmark-make-name): New function.
8627 * bookmark.el (bookmark-make-name-function): New variable.
8629 2008-03-07 Karl Fogel <kfogel@red-bean.com>
8631 * bookmark.el (bookmark-set): Make `bookmark-make-record-function'
8632 buffer-local, not `bookmark-make-cell-function' (the old name).
8634 2008-03-07 Tassilo Horn <tassilo@member.fsf.org>
8636 * doc-view.el (doc-view-bookmark-make-record):
8637 * image-mode.el (image-bookmark-make-record):
8638 * info.el (Info-bookmark-make-record): Delete obsolete second arg.
8640 2008-03-07 Jan Djärv <jan.h.d@swipnet.se>
8642 * vc.el (vc-status-menu-map-filter): Return orig-binding if
8643 boundp 'vc-ignore-menu-filter.
8644 (vc-status-tool-bar-map): Make it defvar.
8645 (vc-status-mode): vc-status-tool-bar-map now variable.
8646 (vc-status-toggle-mark): toggle-mark-file => vc-status-toggle-mark-file.
8648 2008-03-07 Karl Fogel <kfogel@red-bean.com>
8650 Give a better name to part of the bookmark interface.
8652 This was originally a much larger change, but halfway through I
8653 updated and discovered that Stefan Monnier had done the rest.
8654 It looks like he anticipated the new name too, because he used
8655 `the-record' instead of `the-cell' for some internal variable names.
8657 * bookmark.el (bookmark-make-record-function): Was
8658 `bookmark-make-cell-function'.
8659 (bookmark-make, bookmark-send-annotation): Update for above.
8660 (bookmark-make-record-for-text-file):
8661 Was `bookmark-make-cell-for-text-file'. Fix doc string re 2008-03-07T05:00:18Z!monnier@iro.umontreal.ca.
8663 * info.el: Adjust accordingly.
8664 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
8666 * image-mode.el: Adjust accordingly.
8667 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
8669 * doc-view.el: Adjust accordingly.
8670 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
8672 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
8674 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
8675 Move initialization into declaration.
8676 (bookmark-get-info-node, bookmark-set-info-node): Remove.
8677 (bookmark-make, bookmark-make-cell-for-text-file): Remove info-node arg.
8678 (bookmark-info-current-node): Remove.
8679 (bookmark-jump-noselect): Rename from bookmark-jump-internal.
8680 Add relocation fallback. Set bookmark-current-bookmark.
8681 (bookmark-default-handler): Rename from bookmark-jump-noselect.
8682 Remove relocation fallback. Don't set bookmark-current-bookmark.
8683 (bookmark-set): Let it be used even if there's no buffer-file-name
8684 as long as there is a bookmark-make-cell-function.
8685 * info.el (Info-bookmark-jump): Remove relocation fallback.
8686 Don't set bookmark-current-bookmark.
8688 2008-03-07 Glenn Morris <rgm@gnu.org>
8690 * calendar/appt.el (appt-issue-message)
8691 (appt-message-warning-time, appt-audible, appt-visible)
8692 (appt-msg-window, appt-display-mode-line, appt-display-duration)
8693 (appt-display-diary): Remove autoload cookies.
8695 * calendar/cal-china.el, calendar/timeclock.el, calendar/todo-mode.el:
8696 Remove leading `*' from defcustom doc-strings.
8698 * calendar/cal-dst.el (calendar-dst): New custom group.
8699 (calendar-daylight-savings-starts, calendar-daylight-savings-ends)
8700 (calendar-time-zone, calendar-daylight-time-offset)
8701 (calendar-standard-time-zone-name, calendar-daylight-time-zone-name)
8702 (calendar-daylight-savings-starts-time)
8703 (calendar-daylight-savings-ends-time): Convert from defvar to defcustom.
8704 (calendar-daylight-savings-starts, calendar-daylight-savings-ends):
8707 * calendar/cal-menu.el (holidays-in-diary-buffer): Declare for compiler.
8709 * calendar/calendar.el (calendar-version): Use emacs-version and
8710 make it obsolete. Move to end.
8711 (calendar-offset, view-diary-entries-initially)
8712 (mark-diary-entries-in-calendar, calendar-remove-frame-by-deleting)
8713 (view-calendar-holidays-initially, all-hebrew-calendar-holidays)
8714 (all-christian-calendar-holidays, all-islamic-calendar-holidays)
8715 (all-bahai-calendar-holidays, calendar-load-hook)
8716 (initial-calendar-window-hook, today-visible-calendar-hook)
8717 (today-invisible-calendar-hook, calendar-move-hook)
8718 (diary-nonmarking-symbol, hebrew-diary-entry-symbol)
8719 (islamic-diary-entry-symbol, bahai-diary-entry-symbol)
8720 (diary-include-string, sexp-diary-entry-symbol)
8721 (abbreviated-calendar-year, american-date-diary-pattern)
8722 (european-date-diary-pattern, european-calendar-display-form)
8723 (american-calendar-display-form, print-diary-entries-hook)
8724 (list-diary-entries-hook, diary-hook, diary-display-hook)
8725 (nongregorian-diary-listing-hook, mark-diary-entries-hook)
8726 (nongregorian-diary-marking-hook, diary-list-include-blanks)
8727 (holidays-in-diary-buffer, general-holidays, oriental-holidays)
8728 (local-holidays, other-holidays, hebrew-holidays-1)
8729 (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
8730 (hebrew-holidays, christian-holidays, islamic-holidays)
8731 (bahai-holidays, solar-holidays, calendar-setup)
8732 (calendar-week-start-day): Remove autoload cookies.
8733 (diary-glob-file-regexp-prefix): Doc fix.
8734 (calendar-goto-info-node): Use `info' rather than `Info-find-node'.
8735 (Info-find-emacs-command-nodes, Info-find-node): Remove declarations.
8736 (calendar-week-start-day, calendar-debug-sexp): Move to start.
8738 * calendar/solar.el: Remove leading `*' from defcustom doc-strings.
8739 (calendar-time-display-form, calendar-latitude)
8740 (calendar-longitude, solar-equinoxes-solstices): Remove autoload
8742 (calendar-latitude, calendar-longitude): Move functions after
8744 (diary-sabbath-candles-minutes): Move to start.
8745 (solar-setup): Use or rather than if.
8746 (solar-sin-degrees, solar-cosine-degrees, solar-tangent-degrees):
8747 Remove condition-case.
8748 (solar-atn2): Use zerop.
8749 (solar-equinoxes-solstices): Doc fix.
8751 * mail/supercite.el: Remove leading `*' from defcustom doc-strings.
8752 (sc-mode-map-prefix): Doc fix. Make it a defcustom.
8754 * textmodes/org.el (org-agenda-sunrise-sunset): Require solar.
8755 (calendar-longitude, calendar-latitude, calendar-location-name):
8756 Declare for compiler.
8758 2008-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8760 * arc-mode.el (archive-ar-file-header-re): New const.
8761 (archive-ar-summarize, archive-ar-extract): New funs.
8762 (archive-find-type): Recognize ar archives.
8764 * vc-bzr.el (vc-bzr-resolve-when-done, vc-bzr-find-file-hook):
8767 * info.el (Info-bookmark-make-cell): Don't use the info-node argument.
8769 2008-03-06 Lennart Borgman <lennart.borgman@gmail.com>
8771 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
8772 Replace :enable (mark-active) with :enable mark-active.
8774 2008-03-06 Juanma Barranquero <lekktu@gmail.com>
8776 * vms-patch.el (make-legal-file-name): New obsolete alias.
8777 (make-valid-file-name): Rename from `make-legal-file-name'.
8778 (make-auto-save-file-name): Use it.
8780 * calendar/calendar.el (calendar-date-is-legal-p): New obsolete alias.
8781 (calendar-date-is-valid-p): Rename from `calendar-date-is-legal-p'.
8782 (calendar-date-is-visible-p, mark-visible-calendar-date): Use it.
8784 * textmodes/org.el (org-export-html-style): Doc fix.
8785 (org-get-legal-level): New obsolete alias.
8786 (org-get-valid-level): Rename from `org-get-legal-level'.
8787 (org-promote, org-demote, org-archive-subtree)
8788 (org-remember-handler, org-refile, org-put-clock-overlay): Use it.
8790 2008-03-06 Jan Djärv <jan.h.d@swipnet.se>
8792 * term/x-win.el (x-gtk-stock-map): Add bookmark_add.
8794 * vc.el (vc-status-tool-bar-map, vc-status-toggle-mark-file)
8795 (vc-status-toggle-mark): New functions.
8796 (vc-status-mode): Set tool bar map.
8798 2008-03-05 Chong Yidong <cyd@stupidchicken.com>
8800 * emacs-lisp/lisp.el (parens-require-spaces): Doc fix.
8801 Reported by Drew Adams <drew.adams@oracle.com>.
8803 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp>
8805 * subr.el (read-quoted-char): Resolve modifers of the character
8808 * comint.el (comint-exec-1): Don't change the coding-system for
8809 decoding to dos-like EOL.
8810 (comint-carriage-motion): Fully rewrite.
8812 2008-03-05 Juanma Barranquero <lekktu@gmail.com>
8814 * epg.el (epg-context-include-certs): Reflow docstring.
8815 (epg-start-sign-keys, epg-sign-keys, epg-context-armor)
8816 (epg-context-signers, epg-context-sig-notations, epg-context-set-armor)
8817 (epg-context-set-signers, epg-context-set-sig-notations)
8818 (epg-make-import-status, epg-make-import-result)
8819 (epg-start-delete-keys): Fix typos in docstrings.
8820 (epg-start-sign-keys, epg-sign-keys):
8821 Fix typos in obsolescence declarations.
8823 * iswitchb.el: Don't check for `cadr' and `last'.
8824 (iswitchb-define-mode-map, iswitchb-default-keybindings):
8825 Add obsolescence declaration and remove redundant info from docstring.
8826 (iswitchb-set-common-completion, iswitchb-set-matches)
8827 (iswitchb-get-matched-buffers, iswitchb-visit-buffer): Use `let'.
8828 (recentf-list, most-len, most-is-exact):
8829 Don't wrap defvars within `eval-when-compile'.
8831 2008-03-05 Glenn Morris <rgm@gnu.org>
8833 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
8834 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): Remove.
8835 * ediff-diff.el, ediff-help.el, ediff-hook.el, ediff-init.el:
8836 * ediff-mult.el, ediff-util.el, ediff-wind.el: Expand all
8837 ediff-cond-compile-for-xemacs-or-emacs calls to a featurep test.
8839 * ediff-hook.el (ediff-window-setup-function): Don't autoload
8840 declaration for compiler.
8841 (ediff-xemacs-init-menus): Use when rather than if.
8843 * ediff-init.el (top-level, ediff-frame-iconified-p): Simplify
8845 (ediff-read-event, ediff-overlayp, ediff-make-overlay)
8846 (ediff-delete-overlay): Move the XEmacs test inside the definition.
8848 * ediff-mult.el (ediff-get-meta-info): Use or and unless rather than if.
8850 * ediff-util.el (ediff-kill-bottom-toolbar): Place (ediff-use-toolbar-p)
8851 test inside XEmacs test.
8852 (ediff-make-bottom-toolbar): Place whole cond inside XEmacs test,
8853 since it was doing nothing on Emacs.
8854 (ediff-make-bullet-proof-overlay): Use when rather than if.
8856 * ediff-wind.el (ediff-select-lowest-window): Use when rather than if.
8857 (ediff-setup-control-frame): Remove
8858 ediff-cond-compile-for-xemacs-or-emacs, since it is already inside
8859 a (featurep 'xemacs) test.
8861 2008-03-05 Jay Belanger <jay.p.belanger@gmail.com>
8863 * calc/calc-ext.el (calc-extended-command-history): New variable.
8864 (calc-exectute-extended-command): Use `calc-extended-command-history'.
8866 2008-03-05 Dan Nicolaescu <dann@ics.uci.edu>
8868 * bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
8869 (standard-mode-line-position): Add mouse-face.
8871 * progmodes/compile.el (compilation-menu-map, compilation-mode-map):
8872 * progmodes/grep.el (grep-mode-map): Add :help.
8874 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
8875 initialize in one step. Add :help. Use :enable to activate menu
8876 items. Show the key binding for edebug-defun.
8877 (lisp-interaction-mode-map): Add a menu.
8879 * term.el (term-mode-map): Define and initialize in one step.
8881 * ediff-init.el (ediff-color-display-p): Simplify.
8882 (Xor): Remove unused function.
8883 (ediff-with-syntax-table): Simplify for Emacs.
8885 * ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
8886 menu-bar being loaded, it always is.
8888 2008-03-05 Glenn Morris <rgm@gnu.org>
8890 * textmodes/tex-mode.el (tex-mode): Suppress warning about
8891 multiple definitions when compiling.
8893 2008-03-04 Alan Mackenzie <acm@muc.de>
8895 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix coding bug.
8897 * progmodes/cc-langs.el (c-before-font-lock-function): Fix bug in
8898 doc-string, "c-old-LEN" -> "c-old-END".
8900 2008-03-04 Jason Rumney <jasonr@gnu.org>
8902 * nxml/rng-nxml.el (rng-preferred-prefix-alist): Add dublin core
8905 2008-03-04 Glenn Morris <rgm@gnu.org>
8907 * textmodes/tex-mode.el (tex-cmd-bibtex-args): Add :version and :group.
8909 * ediff-init.el (ediff-clear-fine-diff-vector): Use mapc rather
8912 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8915 (byte-compile-nilconstp): Can't use recursion in a defsubst.
8917 * textmodes/tex-mode.el (latex-mode): Remove % from paragraph-separate
8918 so that M-q can fill comments.
8919 (tex-executable-exists-p, tex-compile): Extend with special syntax for
8920 commands implemented in elisp.
8921 (tex-compile-commands): Add an entry to use doc-view for pdf files.
8922 (tex-format-cmd): New function.
8923 (tex-compile): Use it to let the user specify default arguments.
8924 (tex-cmd-bibtex-args): New var.
8925 (tex-cmd-doc-view): New function.
8927 2008-03-03 Juanma Barranquero <lekktu@gmail.com>
8929 * faces.el (face-spec-set): Fix typos in docstring.
8931 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu>
8933 * bindings.el (mode-line-column-line-number-mode-map): New variable.
8934 (standard-mode-line-position): Use it to add a menu for toggling
8935 column number and line number display.
8937 2008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
8939 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded):
8940 Remove optimization that was working around the form-code-walker bug.
8942 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8943 Walk into the body of lambdas after byte-compile-unfold-lambda.
8945 2008-03-03 Glenn Morris <rgm@gnu.org>
8947 * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
8948 value, if set, over frame value.
8950 * simple.el (transient-mark-mode): Don't turn on by default.
8952 * net/tls.el (open-tls-stream): Restore the 2007-11-04 change
8953 accidentally removed by the 2007-12-05 merge from Gnus.
8955 2008-03-02 Dan Nicolaescu <dann@ics.uci.edu>
8957 * progmodes/compile.el (compilation-menu-map): Add menu entries
8960 2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
8961 Glenn Morris <rgm@gnu.org>
8963 * emacs-lisp/bytecomp.el (byte-recompile-directory)
8964 (byte-compile-file, batch-byte-compile, batch-byte-compile-file):
8965 Give a `bytecomp-' prefix to local variables with common names.
8967 2008-03-01 Glenn Morris <rgm@gnu.org>
8969 * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Restore
8970 code commented out 2007-11-10.
8972 * emulation/edt.el (zmacs-region-stays): Define for compiler once only.
8974 * emulation/viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
8976 * emulation/viper-cmd.el, emulation/viper-ex.el:
8977 * emulation/viper-init.el, emulation/viper-keym.el:
8978 * emulation/viper-mous.el, emulation/viper-util.el:
8979 * emulation/viper.el:
8980 Expand all viper-cond-compile-for-xemacs-or-emacs calls to a
8983 Replace obselete frame-local variables with frame-parameters.
8984 * emulation/viper-init.el (viper-replace-overlay-cursor-color)
8985 (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
8986 (viper-vi-state-cursor-color): Only call make-variable-frame-local
8988 * emulation/viper-util.el (viper-frame-value): New macro.
8989 * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel)
8990 (viper-R-state-post-command-sentinel)
8991 (viper-replace-state-post-command-sentinel)
8992 (viper-change-state-to-insert, viper-change-state-to-emacs):
8993 * emulation/viper-util.el (viper-set-cursor-color-according-to-state)
8994 (viper-save-cursor-color, viper-get-saved-cursor-color-in-replace-mode)
8995 (viper-get-saved-cursor-color-in-insert-mode)
8996 (viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
8997 Use viper-frame-value for viper-replace-overlay-cursor-color,
8998 viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
8999 viper-vi-state-cursor-color values.
9001 * emulation/viper-cmd.el (zmacs-region-stays):
9002 * emulation/viper-util.el (zmacs-region-stays): No need to define
9005 * emulation/viper-keym.el (viper-add-keymap): Use mapc rather than
9008 * emulation/viper-mous.el (viper-counting-clicks-p): Only define
9011 * emulation/viper-util.el (viper-set-minibuffer-overlay): Use when
9014 2008-03-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9016 * whitespace.el: New version 9.3. As the glyph code generation was
9017 fixed, it is possible now to use character code above ?\x1FFFF in the
9018 display table. Fix `whitespace-indentation-regexp' to not include an
9019 extra ending character. Reported by Michael Welsh Duggan
9020 <mwd@cert.org>. Added hook actions when buffer is written or killed as
9021 the original whitespace package had. Suggested by Eric Cooper
9022 <ecc@cmu.edu>. Doc fix.
9023 (whitespace-action): New option.
9024 (whitespace-display-mappings): Changed default newline visualization to
9025 display downwards arrow, as the glyph code generation was fixed.
9026 (whitespace-unload-function): Assure that all local whitespace mode is
9028 (whitespace-global-modes): Fix type customization.
9029 (whitespace-mode, global-whitespace-mode, whitespace-cleanup-region)
9030 (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on)
9031 (whitespace-turn-off, whitespace-color-on, whitespace-display-char-on):
9033 (whitespace-buffer): Command removed.
9034 (whitespace-trailing-regexp, whitespace-mark-x)
9035 (whitespace-display-window, whitespace-action-when-on)
9036 (whitespace-add-local-hook, whitespace-remove-local-hook)
9037 (whitespace-write-file-hook, whitespace-kill-buffer-hook)
9038 (whitespace-action): New funs.
9039 (whitespace-report-list, whitespace-report-text)
9040 (whitespace-report-buffer-name): New consts.
9041 (whitespace-report, whitespace-report-region): New commands.
9043 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9045 * disp-table.el (make-glyph-code): Don't test the result of
9046 `face-id', which already signals an error for invalid faces.
9047 (glyph-face): Simplify.
9049 * desktop.el (desktop-read): Set `desktop-dirname' to nil before
9050 running `desktop-not-loaded-hook' to allow modifying it.
9051 Don't show warning message if `desktop-dirname' was modified.
9053 2008-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
9055 * diff-mode.el (diff-sanity-check-hunk): Only accept an empty line if
9056 we still expect more lines.
9058 * textmodes/fill.el (fill-comment-paragraph): Don't try to do
9059 comment-paragraph filling if the commark doesn't match
9062 2008-03-01 Daiki Ueno <ueno@unixuser.org>
9064 * international/utf-7.el (utf-7-encode): Never skip the trailing - for
9067 2008-03-01 Jason Rumney <jasonr@gnu.org>
9069 * files.el (make-auto-save-file-name): Encode more characters in
9070 non-file buffer names. Use url-encoding.
9072 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9074 * net/net-utils.el (ftp-program): Fix typo in docstring.
9075 (ifconfig-program-options, netstat-program-options)
9076 (arp-program-options, route-program-options, nslookup-program-options)
9077 (ftp-program-options, smbclient-program-options)
9078 (dns-lookup-program-options, arp, route): Doc fixes.
9080 * progmodes/gdb-ui.el (gdb-pc-address, gdb-source-file-list)
9081 (gdb-cpp-define-alist-program, gdb-mouse-jump, gdb-get-buffer-create)
9082 (gdb-set-gud-minor-mode-existing-buffers-1, gdb-debug-log):
9083 Fix typos in docstrings.
9084 (gdb-pending-triggers): Reflow docstring.
9085 (gdb, gdb-init-1): Fix typos in docstrings of gud-def definitions.
9087 2008-03-01 Alan Mackenzie <acm@muc.de>
9089 * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on
9092 2008-03-01 Juanma Barranquero <lekktu@gmail.com>
9094 * emulation/cua-base.el (cua-remap-control-z): Fix typo in docstring.
9096 2008-02-29 Kim F. Storm <storm@cua.dk>
9098 * emulation/cua-base.el (cua-remap-control-v)
9099 (cua-remap-control-z): New defcustoms.
9100 (cua-mode): Add them to set-after property.
9101 (cua--init-keymaps): Use them.
9102 Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
9104 * help.el (view-emacs-todo): Rename from view-todo.
9105 (describe-gnu-project): Rename from describe-project. Users changed.
9106 (view-help-file): New helper function.
9107 (describe-distribution, describe-copying, describe-gnu-project)
9108 (view-todo, view-order-manuals, view-emacs-problems): Use it.
9109 (view-emacs-debugging, view-external-packages): New commands.
9110 (help-map): Move describe-distribution to C-h C-o (ordering).
9111 Move view-emacs-problems to C-h C-p (problems).
9112 Bind view-emacs-debugging to C-h C-d (debugging).
9113 Bind view-external-packages to C-h C-e (extras).
9114 (help-for-help-internal): Cleanup and align descriptions.
9115 Remove command names to reduce clutter.
9117 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9119 * vc.el (vc-set-mode-line-busy-indicator): Use shorter message
9120 and quieter face (not a warning).
9122 2008-02-29 Dan Nicolaescu <dann@ics.uci.edu>
9124 * vc.el (vc-status-crt-marked): New variable.
9125 (vc-status-mode): Make it local.
9126 (vc-status-refresh): Use it to save the marked files.
9127 (vc-update-vc-status-buffer): Use it to restore the marked files.
9129 * vc-svn.el (vc-svn-after-dir-status):
9130 * vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
9132 2008-02-29 Glenn Morris <rgm@gnu.org>
9134 * allout.el (allout-topic-encryption-bullet)
9135 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling)
9136 (allout-encrypt-unencrypted-on-saves): Change defcustom :version
9139 * net/imap.el (imap-ping-server):
9140 * net/tls.el (tls-checktrust, tls-untrusted, tls-hostmismatch):
9141 Change defcustom :version from 23.0 to 23.1.
9143 2008-02-29 Juanma Barranquero <lekktu@gmail.com>
9145 * desktop.el (desktop-save): Save the buffer name if the
9146 uniquified base name is empty.
9148 2008-02-29 Nick Roberts <nickrob@snap.net.nz>
9150 * progmodes/gdb-ui.el (gdb-info-stack-custom): Apply function-name-face
9151 correctly when user has "set print address off".
9153 2008-02-28 Juanma Barranquero <lekktu@gmail.com>
9155 * cus-edit.el (custom-mode, custom-mode-hook): Use 23.1 as
9156 version number of the next major Emacs release, not 23.0.
9158 * longlines.el (longlines-unload-function): New function.
9160 2008-02-28 Juri Linkov <juri@jurta.org>
9162 * startup.el (normal-splash-screen): Add argument `concise'.
9163 Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
9164 to the created buffer. If `concise' is non-nil, call
9165 `display-buffer', otherwise `switch-to-buffer'. Doc fix.
9166 (display-startup-screen): Add argument `concise' to the call to
9167 `normal-splash-screen'.
9169 2008-02-28 Kim F. Storm <storm@cua.dk>
9171 * startup.el (startup-echo-area-message): Check for about-emacs.
9173 2008-02-28 Juri Linkov <juri@jurta.org>
9175 * startup.el: Always add initial message to *scratch* buffer if
9176 `initial-scratch-message' is non-nil regardless of the value of
9177 `inhibit-startup-screen'.
9178 (inhibit-startup-screen, initial-scratch-message): Doc fix.
9179 (command-line-1): Move code that inserts `initial-scratch-message'
9180 up before the if-form that checks for `inhibit-startup-screen'.
9181 Suggested by Jonathan Rockway <jon@jrock.us>.
9183 2008-02-28 Juri Linkov <juri@jurta.org>
9185 * cus-edit.el (custom-mode-map, custom-mode-link-map):
9186 Rename `custom-mode' to `Custom-mode' in docstrings.
9187 (custom-buffer-create-internal, customize-browse):
9188 Rename `custom-mode' to `Custom-mode'.
9189 (custom-mode-hook): Rename to `Custom-mode-hook'.
9190 (Custom-mode-hook): Renamed from `custom-mode-hook'.
9191 (custom-mode): Rename to `Custom-mode'.
9192 (Custom-mode): Renamed from `custom-mode'. Doc fix.
9193 (custom-mode): Add backward-compatible non-interactive variant of
9194 `Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
9195 (custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
9197 * info-look.el: Rename `custom-mode' to `Custom-mode'.
9199 * emulation/viper.el (viper-emacs-state-mode-list):
9200 Rename `custom-mode' to `Custom-mode'.
9202 * menu-bar.el (menu-bar-search-menu, menu-bar-replace-menu):
9203 Capitalize "Tagged Files".
9204 (minibuffer-local-map): Add menu items for next/previous
9205 history elements and isearch history forward/backward.
9207 * progmodes/hideshow.el (hs-minor-mode-menu): Compare
9208 `hs-isearch-open' with t instead of `comment' in :selected
9209 for "Code and Comment blocks" menu item.
9211 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
9213 * uniquify.el (uniquify-buffer-base-name): Undo last change.
9214 Should be done in desktop.el instead.
9216 2008-02-28 Glenn Morris <rgm@gnu.org>
9218 * autoinsert.el (auto-insert-alist): Update to FDL 1.2.
9220 * emacs-lisp/byte-run.el (make-obsolete): Doc fix.
9222 * mail/emacsbug.el: Remove leading `*' from defcustom doc-strings.
9223 (Info-menu, Info-goto-node): Remove declarations.
9224 (report-emacs-bug-info): Use info rather than Info-goto-node.
9226 * progmodes/idlwave.el (Info-goto-node): Remove declaration.
9227 (idlwave-convert-xml-system-routine-info): Don't require xml.
9228 (idlwave-show-commentary, idlwave-shell-show-commentary):
9229 Don't require finder.
9230 (idlwave-info): Don't require info. Use info rather than
9233 * textmodes/org.el (Info-goto-node): Remove declaration.
9234 (org-info): Use info rather than Info-goto-node.
9236 * textmodes/reftex.el (reftex-show-commentary): Don't require finder.
9237 (reftex-info): Don't require info. Use info rather than Info-goto-node.
9239 2008-02-28 Dan Nicolaescu <dann@ics.uci.edu>
9241 * progmodes/hideshow.el (hs-minor-mode-menu): Add some options to
9244 * vc.el (vc-deduce-fileset, vc-next-action, vc-start-entry)
9245 (vc-finish-logentry): Check for vc-status-mode, not only for
9248 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp>
9250 * isearch.el (isearch-printing-char): Don't check
9251 keyboard-coding-system.
9252 Call isearch-process-search-multibyte-characters only when
9253 current-input-method is non-nil.
9255 2008-02-27 Kim F. Storm <storm@cua.dk>
9257 * disp-table.el (make-glyph-code): Encode as cons if face id > 63.
9258 (glyph-char, glyph-face): Handle cons encoding.
9260 2008-02-27 Juanma Barranquero <lekktu@gmail.com>
9262 * uniquify.el (uniquify-buffer-base-name): If the base name is an
9263 empty string, return nil to allow the caller to default to the
9264 buffer name. Reported by Martin Fischer <parozusa@web.de>.
9266 * tool-bar.el (tool-bar-setup): Doc fix.
9268 * mail/supercite.el (sc-describe):
9269 Fix typos in obsolescence declaration.
9271 2008-02-27 Glenn Morris <rgm@gnu.org>
9273 * autoinsert.el (auto-insert-alist): Change permission text to
9274 match FSF's GPLv3 form.
9276 * mail/supercite.el (sc-cite-original): Doc fix.
9277 (sc-version): Make obsolete.
9278 (sc-describe): Show the SC info page. Make obsolete.
9280 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9282 * simple.el (set-mark-command): Deactivate mark on second C-SPC C-SPC
9283 when using transient-mark-mode.
9284 (default-indicate-unused-lines): Remove unused var.
9286 2008-02-26 Jan Djärv <jan.h.d@swipnet.se>
9288 * progmodes/grep.el (grep-mode-tool-bar-map): Change place on next
9291 * progmodes/compile.el (compilation-mode-tool-bar-map): The same.
9293 2008-02-26 Glenn Morris <rgm@gnu.org>
9295 * net/net-utils.el (top-level): Don't require comint when compiling.
9296 (nslookup-font-lock-keywords): Don't require font-lock.
9297 Use font-lock faces rather than variables.
9298 (nslookup, ftp, smbclient, network-service-connection):
9299 Don't require comint.
9300 (comint-prompt-regexp, comint-input-autoexpand)
9301 (comint-input-ring): Declare for compiler.
9302 (comint-mode, ffap-string-at-point, comint-exec): Autoload.
9303 (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
9305 * ibuffer.el (ibuffer-do-toggle-read-only): Don't use `iff' in
9308 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * doc-view.el (doc-view-current-page): Add a `win' argument.
9312 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
9314 * doc-view.el (doc-view-conversion-buffer): Give it an internal name.
9315 Demote it to plain defvar.
9316 (doc-view-conversion-refresh-interval): Reduce interval.
9317 (doc-view-goto-page): Allow moving to pages not yet rendered.
9318 (doc-view-goto-page): Construct a file name rather than extracting it
9319 from doc-view-current-files.
9320 (doc-view-kill-proc): Ignore errors from kill-process.
9321 (doc-view-pdf/ps->png-sentinel): Die gracefully if the buffer is dead.
9322 (doc-view-insert-image): Use appropriate text if the page hasn't been
9323 rendered yet. Adjust scrolling so the text is displayed.
9324 (doc-view-display): Detect not just that a page is available, but also
9325 that it wasn't available before, so as to avoid refreshing all pages
9327 (doc-view-mode): Make doc-view-cache-directory if needed.
9329 2008-02-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9331 * ibuffer.el (ibuffer-do-toggle-read-only): New optional arg as in
9334 * textmodes/bibtex.el (bibtex-format-entry): Handle error message
9335 refering to a missing required field with the OPT prefix.
9336 Make unwindform more robust.
9338 * textmodes/bibtex.el: Remove support for hideshow minor mode as
9339 it duplicates the bibtex support in progmodes/hideshow.el.
9340 * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex
9341 entries that do not start at the beginning of a line.
9343 2008-02-25 Chong Yidong <cyd@stupidchicken.com>
9345 * files.el (shell-quote-wildcard-pattern): Quote ' and " as well.
9347 2008-02-25 Robert J. Chassell <bob@rattlesnake.com>
9349 * help-fns.el (describe-variable): Add phrases about
9350 initialization file with and without customization;
9351 use new button type help-info-variable.
9353 * help-mode.el (help-info-variable):
9354 New button able to read Info files for help-fns.el.
9356 2008-02-25 Jan Djärv <jan.h.d@swipnet.se>
9358 * progmodes/grep.el (grep-mode-tool-bar-map): New variable.
9359 (grep-mode): Use grep-mode-tool-bar-map.
9361 * progmodes/compile.el (tool-bar): Require tool-bar.
9362 (compilation-mode-tool-bar-map): New variable.
9363 (compilation-mode): Use compilation-mode-tool-bar-map.
9365 * term/x-win.el (x-gtk-stock-map): Add cancel. Remove extensions.
9367 2008-02-25 Glenn Morris <rgm@gnu.org>
9369 * vc-sccs.el (vc-sccs-diff): Fix setting of oldvers and newvers.
9371 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
9373 * diff-mode.el (diff-file-junk-re): New const.
9374 (diff-beginning-of-file-and-junk): Use it.
9375 (diff-file-kill): Make sure we were really inside a file diff.
9377 * diff-mode.el: Make it more robust in the presence of empty context
9378 lines in unified hunks.
9379 (diff-valid-unified-empty-line): New var.
9380 (diff-unified->context, diff-sanity-check-hunk): Obey it.
9381 (diff-end-of-hunk): Obey it. New arg `donttrustheader'.
9382 (diff-fixup-modifs, diff-post-command-hook): Use this new arg.
9383 (diff-hunk-header-re-unified): New const.
9384 (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
9385 (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
9386 (diff-sanity-check-hunk): Use it.
9388 * diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
9389 Index: line, don't search backward for the previous one.
9391 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp>
9393 * international/fontset.el (setup-default-fontset): Add non-OTF
9394 lao font for lao script.
9396 * language/tibetan.el: Register tibetan-composition-function in
9397 composition-function-table.
9399 * language/tibet-util.el (tibetan-composition-function):
9400 Adjust for the new calling way (argument changed). Try font-shape-text
9403 * language/lao.el: Register lao-composition-function in
9404 composition-function-table.
9406 * language/lao-util.el (lao-composition-function): Adjust for the new
9407 calling way (argument changed). Try font-shape-text if possible.
9409 2008-02-25 Jason Rumney <jasonr@gnu.org>
9411 * files.el (file-name-invalid-regexp): Fix octal/decimal confusion.
9413 2008-02-25 Juri Linkov <juri@jurta.org>
9415 * isearch.el (isearch-fail): Use "RosyBrown1" for a light
9416 background, "red4" for a dark background, "red" for 16 and
9417 8 colors, "grey" for grayscale, and inverse video otherwise.
9419 (isearch-message): Keep the original isearch-message intact, and
9420 add text properties to it where necessary. Add `isearch-error' to
9421 the condition that checks if isearch is unsuccessful.
9423 2008-02-24 Juri Linkov <juri@jurta.org>
9425 * progmodes/compile.el (compilation-handle-exit):
9426 Use compilation-error face instead of font-lock-warning-face.
9427 Display the same message in the minibuffer as is inserted
9428 at the end of the compilation buffer.
9430 2008-02-24 Glenn Morris <rgm@gnu.org>
9432 * vc-cvs.el (vc-cvs-register): Fix registering of directories in
9435 * vc-mcvs.el (vc-mcvs-register): Fix let-binding (for use of `file').
9437 * vc-rcs.el (vc-rcs-register): Fix treatment of directories in
9438 multiple file case. Use a single `let' rather than two.
9440 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
9442 * progmodes/compile.el (compilation-start): Specify a face for
9444 (compilation-handle-exit): Specify a face and a tooltip for
9447 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9449 * hilit-chg.el: Remove spurious * in defcustom docstrings.
9450 (hilit-chg-make-ov): Simplify.
9451 (hilit-chg-fixup): Use remove-overlays.
9452 (hilit-chg-set-face-on-change): Remove redundant call to
9453 `remove-text-properties'.
9455 * dired.el (dired-mark-prompt): Don't count/display the t element.
9456 Reported by Carsten Blaauw <it-media.blaauw@daimler.com>.
9458 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
9460 * progmodes/verilog-mode.el (eval-when-compile): Don't define
9462 (verilog-xemacs-menu): Add :keys for C-M-a, C-M-e and C-M-h.
9463 Remove. Move contents to the only use ...
9464 (verilog-menu): ... here.
9465 (verilog-statement-menu): Remove. Move contents to the only use ...
9466 (verilog-stmt-menu): ... here.
9467 (verilog-mark-defun): Simply call mark-defun for emacs.
9468 (occur-pos-list): Declare for byte compiler.
9469 (mode-popup-menu): Don't defvar.
9470 (verilog-add-statement-menu): Remove.
9471 (verilog-mode-hook): Don't add verilog-add-statement-menu.
9472 (verilog-mode): Call easy-menu-add and set mode-popup-menu for XEmacs.
9474 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
9476 * progmodes/verilog-mode.el (verilog-xemacs-menu): Remove XEmacs
9478 (verilog-font-grouping-keywords-face): Make the begin..end
9479 keywords standout more than other verilog keywords.
9480 (verilog-type-font-keywords): Move the begin..end out of this list
9481 to facilitate making them to (potentially) stand out more.
9482 (verilog-backward-token): Fix indent of bare always{_*}?, initial,
9483 function & task blocks.
9484 (verilog-behavioral-block-beg-re): Fix indent of bare always{_*}?,
9485 initial, function & task blocks.
9486 (verilog-forward-sexp): Handle the new "disable fork" statement of
9488 (verilog-beg-block-re-ordered): Handle the new "disable fork"
9489 statement of IEEE-1800 Verilog.
9490 (verilog-calc-1): Handle the new "disable fork" statement of
9492 (verilog-disable-fork-re): Add const to help handle the new
9493 "disable fork" statement of IEEE-1800 Verilog.
9494 (verilog-declaration-core-re): Add port directions by themselves,
9495 with no qualification, as base item of a declaration.
9496 (verilog-pretty-declarations): Add new flag to ask it to refrain
9497 from printing to the message buffer.
9498 (verilog-pretty-expr): Add a QUIET flag to ask it to refrain from
9499 printing to the message buffer. Improve handling of the many
9500 types of expression line up.
9501 (verilog-just-one-space): Remove printing of an empty message.
9502 (verilog-get-lineup-indent): Rework to support the better handling
9503 of expression lineup for verilog-pretty-expr.
9504 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
9506 2008-02-24 Alan Mackenzie <acm@muc.de>
9508 * progmodes/cc-mode.el (c-extend-region-for-CPP): Bug fix from
9511 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
9513 * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Fall back
9514 to mouse-set-point in buffers that aren't associated with files.
9516 * progmodes/gud.el: Rename menu item to "Show GUD tooltips".
9518 2008-02-24 Alan Mackenzie <acm@muc.de>
9520 Set of changes so that "obtrusive" syntactic elements in a
9521 C/C++/ObjC preprocessor line (e.g. an unbalanced string quote or
9522 unmatched paren) don't interact syntactically with stuff outside
9525 * progmodes/cc-awk.el (c-awk-beyond-logical-line, c-awk-old-ByLL):
9526 Replace c-awk-end-of-logical-line and c-awk-old-EoLL to solve an
9528 (c-awk-record-region-clear-NL): Replaces c-awk-before-change, with
9529 a bit of refactoring.
9530 (c-awk-extend-and-syntax-tablify-region): Takes some of the
9531 functionality of c-awk-advise-fl-for-awk-region, which has been
9534 * progmodes/cc-defs.el (c-clear-char-property-with-value-function)
9535 (c-clear-char-property-with-value): New function and macro which
9536 remove text-properties `equal' to a supplied value.
9538 * progmodes/cc-engine.el: Comment about text properties amended.
9540 * progmodes/cc-fonts.el (c-cpp-matchers): Make it put regexp
9541 parens around "error\\|warning".
9543 * progmodes/cc-langs.el (c-get-state-before-change-function)
9544 (c-before-font-lock-function, c-anchored-cpp-prefix):
9545 New language variables.
9546 (c-cpp-message-directives): Handle "#warning" in C, C++ and ObjC.
9548 * progmodes/cc-mode.el (c-basic-common-init): C and ObjC now use
9549 syntax-table text properties.
9550 (c-common-init): Call language specific before/after-change
9551 functions at mode initialisation.
9552 (c-new-BEG, c-new-END, c-old-BOM, c-old-EOM): New variables.
9553 (c-extend-region-for-CPP, c-neutralize-CPP-line)
9554 (c-neutralize-syntax-in-CPP): New functions.
9555 (c-before-change, c-after-change): Call the new language specific
9556 change functions defined in cc-langs.el.
9557 (c-advise-fl-for-region): New macro.
9558 (awk-mode): Remove AWK specific stuff which has been refactored
9559 into language independent stuff.
9561 2008-02-24 Nick Roberts <nickrob@snap.net.nz>
9563 * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb.
9564 (gdb): (Re)set gdb-flush-pending-output to nil here...
9565 (gdb-init-1): ...instead of here (before gdb-prompt).
9567 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9569 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
9570 Recognize ''' just like any other char-constant.
9572 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * vc-hooks.el (vc-find-root): Remove initial loop because it's not
9575 careful enough. Detect the uid-change all within the main loop.
9577 2008-02-24 Stefan Monnier <monnier@pastel.home>
9579 * textmodes/sgml-mode.el (sgml-mode): Fix comment syntax.
9581 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9583 * hilit-chg.el (highlight-save-buffer-state): New macro.
9584 (highlight-save-buffer-state, hilit-chg-set-face-on-change)
9585 (hilit-chg-clear): Use it to preserve the modified-p flag.
9586 (highlight-changes-rotate-faces): Don't mess with the undo-list.
9588 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * font-lock.el (font-lock-set-defaults): Unset previously set variables
9593 2008-02-24 Ævar Arnfjörð Bjarmason <avar@cpan.org> (tiny change)
9595 * net/rcirc.el (rcirc-url-regexp): Replace definition by copying
9596 from gnus-button-url-regexp.
9598 2008-02-24 Eli Zaretskii <eliz@gnu.org>
9600 * progmodes/compile.el (compilation-next-error): Doc fix.
9601 (compilation-find-file): Doc fix.
9603 2008-02-24 Glenn Morris <rgm@gnu.org>
9605 * net/net-utils.el (ipconfig-program, ipconfig-program-options):
9606 Add obsolete aliases to the old names.
9608 2008-02-24 Richard Stallman <rms@gnu.org>
9610 * net/net-utils.el (ifconfig): Rename from ipconfig.
9611 (ipconfig): Alias to ifconfig.
9612 (ifconfig-program): Rename from ipconfig-program.
9613 (ifconfig-program-options): Rename from ipconfig-program-options.
9615 2008-02-24 Michael McNamara <mac@mail.brushroad.com>
9617 * progmodes/verilog-mode.el (verilog-declaration-core-re):
9618 Add port directions by themselves, with no qualification, as base
9619 item of a declaration.
9620 (verilog-pretty-declarations): Add new flag that inhibits printing
9621 to the message buffer.
9622 (verilog-pretty-expr): Add new flag that inhibits printing to the
9623 message buffer. Improve handling of the many types of expression
9625 (verilog-just-one-space): Don't print an empty message.
9626 (verilog-get-lineup-indent): Rework to support the better handling
9627 of expression lineup for verilog-pretty-expr.
9628 (verilog-auto-wire): Pass the quiet flag to verilog-pretty-expr.
9629 (verilog-mode-version, verilog-mode-release-date): Update.
9631 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * subr.el (cancel-change-group): Don't move point.
9635 2008-02-23 Markus Triska <markus.triska@gmx.at>
9637 * linum.el (linum-after-config): Update all visible windows.
9639 2008-02-23 Glenn Morris <rgm@gnu.org>
9641 * menu-bar.el (menu-bar-games-menu): Add Bubbles and Pong.
9642 Add :help for Solitaire and Tetris.
9644 * tree-widget.el (tree-widget-lookup-image): Let-bind `file'.
9646 * mail/smtpmail.el: Remove leading `*' from defcustom doc-strings.
9647 (smtpmail-code-conv-from): Doc fix. Fix custom type.
9648 (smtpmail-queue-index-file): Make it a defcustom.
9649 (smtpmail-queue-index): Delete.
9650 (smtpmail-send-it, smtpmail-send-queued-mail):
9651 Use smtpmail-queue-index-file and smtpmail-queue-dir rather than
9652 smtpmail-queue-index.
9654 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
9657 2008-02-23 Yoni Rabkin <yoni@rabkins.net> (tiny change)
9659 * net/net-utils.el (iwconfig-program, iwconfig-program-options):
9661 (iwconfig): New function.
9663 2008-02-23 Dan Nicolaescu <dann@ics.uci.edu>
9665 * vc.el (vc-find-revision): Make vc-parent-buffer local before
9667 (vc-status-menu-map): Do not define using easy-menu.
9668 (vc-status-menu-map): New defalias.
9669 (vc-status-mode-map): Hook up the menu.
9670 (top-level): Update TODO.
9672 * vc-hg.el (vc-hg-extra-status-menu): Return a keymap.
9674 * vc-bzr.el (vc-bzr-init-version): Rename to ...
9675 (vc-bzr-init-revision): ... this.
9677 2008-02-23 Jason Rumney <jasonr@gnu.org>
9679 * makefile.w32-in (WINS_ALMOST): Remove term.
9680 (WINS): Add term here.
9681 (custom-deps, finder-data): Use WINS_ALMOST.
9683 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
9685 * faces.el (font-weight-table): Fix value of `semi-light'.
9687 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
9689 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
9690 Make those tables bijective.
9692 2008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
9694 Finish pdbtrack integration cleanup, settling missing-functions
9695 byte compiler warnings appropriately.
9697 * progmodes/python.el (python-point): Remove this - beginning-of-line
9698 was all that was necessary for `python-pdbtrack-overlay-arrow'.
9699 (python-end-of-def-or-class, python-beginning-of-def-or-class)
9700 (python-goto-initial-line): Drop these - they were only needed for
9702 (python-comint-output-filter-function): Use condition-case and
9703 beginning-of-line directly, instead of python-mode.el functions
9704 which require all sorts of baggage.
9705 (point-safe): Unnecessary - we're using condition-case directly,
9707 (python-execute-file): Include for python-shell, which I'm leaving
9708 in keeping despite it being unnecessary for pdb tracking.
9710 2008-02-22 Peter Danenberg <pcd@wikitex.org> (tiny change)
9712 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9713 Add SRFI 11 support.
9714 (let-values, let*-values): Specify scheme-indent-function.
9716 2008-02-22 Dan Nicolaescu <dann@ics.uci.edu>
9718 * vc.el (vc-exec-after): Move setting mode-line-process in the
9720 (vc-set-mode-line-busy-indicator): ... in this new function.
9721 (vc-status-refresh): Call vc-set-mode-line-busy-indicator.
9722 (vc-update-vc-status-buffer): Reset mode-line-process.
9723 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
9724 mark/unmark all the files with the same state as the current one.
9725 With a prefix argument mark/unmark all files.
9726 (vc-status-mode-menu): Adjust strings.
9727 (vc-update-vc-status-buffer): Only do something when the argument
9729 (vc-status-kill-dir-status-process): New function.
9730 (vc-status-mode-map): Bind it.
9731 (vc-status-process-buffer): New variable.
9732 (vc-status-mode): Make it local.
9733 (vc-status-refresh): Set it.
9735 * vc-hg.el (vc-hg-dir-status):
9736 * vc-git.el (vc-git-dir-status):
9737 * vc-svn.el (vc-svn-dir-status): Return the buffer in which the
9740 2008-02-22 Glenn Morris <rgm@gnu.org>
9742 * json.el (top-level): No need to require thingatpt.
9743 (json-read-keyword): Use thing-at-point rather than word-at-point.
9745 * time.el (top-level): No need to require time-date when compiling.
9747 * emacs-lisp/copyright.el (copyright-update-year):
9748 Fix subexpression numbering for the case when years are split over
9749 lines, and for the replace case.
9751 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
9752 (tpu-caar, tpu-cadr): Delete functions.
9753 (zmacs-regions): No need to declare for compiler.
9754 (tpu-goto-breadcrumb): Use cadr rather than tpu-cadr.
9755 (tpu-spell-check): Rewrite, and handle mark after point.
9756 (tpu-special-insert): Use or rather than if.
9758 * emulation/vip.el (vip-special-prefix-com): Use ispell-region
9759 rather than spell-region.
9761 * textmodes/spell.el (spell-buffer, spell-word): Suppress compiler
9762 warnings about spell-region.
9764 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
9766 * ldefs-boot.el: Regenerated.
9768 * loadup.el: Don't load language/devanagari, language/kannada,
9769 language/malayalam, and language/tamil. Load language/sinhala.
9771 * language/indian.el (indian-font-foundry)
9772 (indian-script-language-alist, indian-font-char-index-table)
9773 (indian-font-char, indian-font-char-range, indian-script-table)
9774 (indian-default-script, indian-composable-pattern): Delete them.
9775 ("Devanagari", "Kannada", "Malayalam", "Tamil"): Definitions of
9776 language environments moved to here.
9777 ("Bengali", "Punjabi", "Gujarati", "Oriya", "Telugu"):
9778 New language environments.
9780 * language/devanagari.el, language/devan-util.el,
9781 * language/kannada.el, language/knd-util.el, language/malayalam.el,
9782 * language/mlm-util.el, language/tamil.el, language/tml-util.el:
9785 * language/sinhala.el: New file.
9787 2008-02-21 Ken Manheimer <ken.manheimer@gmail.com>
9789 Update Nick Robert's port of pdb tracking from python-mode.el.
9791 * progmodes/python.el (python-pdbtrack-toggle-stack-tracking):
9793 (python-pdbtrack-minor-mode-string): A sign indicating that pdb
9794 tracking is happening.
9795 (python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
9796 (python-pdbtrack-input-prompt): Better recognize PDB prompts.
9797 (comint-output-filter-functions): Add python-pdbtrack-track-stack-file.
9798 Tracking is plugged in to all comint buffers once python.el is loaded.
9799 (python-pdbtrack-overlay-arrow): Toggle activation of
9800 `python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
9801 (python-pdbtrack-track-stack-file): Use new
9802 `python-pdbtrack-get-source-buffer' for more flexible access to
9803 debugging source files.
9804 (python-pdbtrack-get-source-buffer): Identify debugging target buffer
9805 according to pdb stack trace, optionally using new
9806 `python-pdbtrack-grub-for-buffer' if file is not locally available.
9807 (python-pdbtrack-grub-for-buffer): Find most recent python-mode
9808 named buffer, or having function with indicated name.
9809 (python-shell): Remove comint-output-filter-functions hook
9810 addition, it's being done elsewhere. Wrap long line.
9812 2008-02-21 Michael Olson <mwolson@gnu.org>
9814 * json.el: Replace XEmacs compatibility code to get rid of
9817 * time.el: Fix compiler warning.
9819 2008-02-21 Edward O'Connor <ted@oconnor.cx>
9821 * json.el: New file (JavaScript Object Notation parser / generator).
9823 2008-02-21 Dave Love <fx@gnu.org>
9825 * progmodes/sym-comp.el: New file.
9827 * progmodes/python.el: Merge from Dave Love's 2008-01-20 version.
9828 Require sym-comp. Add Python buffer to same-window-buffer-names.
9830 (python-font-lock-keywords): Add highlighting for Python builtins.
9831 (python-font-lock-syntactic-keywords): Rewrite.
9832 (python-quote-syntax): Use syntax-ppss-context instead of parsing
9834 (python-mode-map): Add binding for python-find-function.
9835 (python-calculate-indentation): Clean up the logic.
9836 (python-beginning-of-defun): Explicitly set return value.
9837 (python-beginning-of-statement): Stop looping if we get stuck
9839 (python-next-statement): Stop looping if we somehow end up inside
9840 a string while advancing.
9841 (python-preoutput-continuation, python-version-checked): New vars.
9842 (python-check-version): New function.
9843 (run-python): Set default command to python-command instead of
9844 python-python-command.
9845 (run-python): Use python-check-version. Give PYTHONPATH
9846 precedence over data-directory in the process environment.
9847 Load function definitions in python process after.
9848 (python-check-comint-prompt): New function.
9849 (python-send-command, python-send-receive): Use it.
9850 (python-complete-symbol, python-try-complete): Functions deleted.
9851 Use symbol-complete instead of python-complete-symbol throughout.
9852 (python-fill-paragraph): Further refine the fenced-string regexp.
9853 (def-python-skeleton): Expand to the original abbrev instead if in
9854 a comment or string. Tweak skeletons for `if', `while', `for',
9855 `try/except', `try/finally', `name'.
9856 (python-pea-hook, python-abbrev-pc-hook): New functions.
9857 (python-abbrev-syntax-table): New var.
9858 (python-mode): Add python-pea-hook to pre-abbrev-expand-hook.
9859 Use symbol-completion-try-complete for hippie expansion.
9860 Turn on font lock unconditionally.
9861 (python-mode-hook): Defcustom it. No need to use make-local
9862 variable on indent-tabs-mode in "Turn off Indent Tabs mode"
9863 option, since it's buffer-local.
9865 2008-02-21 Juanma Barranquero <lekktu@gmail.com>
9867 * play/hanoi.el (hanoi-internal): Set `show-trailing-whitespace' to nil.
9869 2008-02-21 Drew Adams <drew.adams@oracle.com>
9871 * mouse.el (minor-mode-menu-from-indicator): Create a menu with a
9872 "Turn off" and a "Help" entry when the minor mode has no menu.
9874 2008-02-21 Dan Nicolaescu <dann@ics.uci.edu>
9876 * vc.el (vc-status-mark, vc-status-unmark): New functions.
9877 (vc-status-mode-map, vc-status-mode-menu): Bind them instead of
9878 vc-status-mark-file and vc-status-unmark-file.
9879 (vc-status-mark-unmark): New function.
9880 (vc-status-previous-line, vc-status-next-line): No longer interactive.
9882 2008-02-21 Glenn Morris <rgm@gnu.org>
9884 * composite.el (encode-composition-rule): Fix typo in error message.
9885 (composition-function-table, auto-composition-mode): Doc fixes.
9887 * subr.el (sit-for): Fix obsolete form for nil second argument.
9889 * textmodes/spell.el (spell-buffer, spell-word, spell-region)
9890 (spell-string): Make obsolete, in favor of ispell.
9892 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
9894 * language/devanagari.el: Don't setup composition-function-table
9896 ("Devanagari"): Change charset, coding-system, coding-priority to
9897 Unicode-based ones. Don't require the feature devan-util.
9899 * composite.el (compose-chars-after): Fix arguments for a function
9900 in composition-function-table.
9901 (auto-compose-region): Likewise.
9903 * ps-mule.el (ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf
9905 (ps-mule-plot-string): Ignore glyph-string based compositions.
9907 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * doc-view.el: Allow different windows to show different pages.
9910 (doc-view-current-page, doc-view-current-slice, doc-view-current-info)
9911 (doc-view-current-image, doc-view-current-overlay): Remove variables,
9912 add them back as macros instead, using image-mode-winprops instead.
9913 Update all users of those variables.
9914 (doc-view-new-window-function): New function to create a new overlay
9915 for each new window.
9916 (doc-view-mode): Use it and image-mode-setup-winprops.
9917 (doc-view-clone-buffer-hook): Rewrite accordingly.
9919 * image-mode.el: Extend [hv]scroll support to per-window properties.
9920 (image-mode-current-vscroll, image-mode-current-hscroll): Remove.
9921 (image-mode-winprops-alist): New var to replace them.
9922 (image-mode-new-window-functions): New hook.
9923 (image-mode-winprops, image-mode-window-get, image-mode-window-put):
9925 (image-set-window-vscroll, image-set-window-hscroll): Use them.
9926 Remove the `window' argument, update callers.
9927 (image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
9928 Use the new functions.
9929 (image-mode-reapply-winprops): New fun.
9930 (image-mode): Use it.
9932 2008-02-20 Jay Belanger <jay.p.belanger@gmail.com>
9934 * calc/calc-math.el (math-sin-raw): Add optional argument
9935 to keep track of original argument.
9936 (math-cos-raw): Use optional argument when calling math-sin-raw.
9937 (math-sin-raw-2, math-cos-raw-2): Check for a zero argument
9938 with close to original precision.
9940 2008-02-20 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9942 * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional
9943 args in calls of sit-for.
9945 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
9947 * vc-svn.el (vc-svn-program): Fix typo in docstring.
9948 (vc-svn-checkin): Fix typo in error message.
9950 * help-mode.el: Require easymenu when compiling.
9952 2008-02-20 Dan Nicolaescu <dann@ics.uci.edu>
9954 * help-mode.el (help-mode-menu): New menu.
9956 2008-02-20 Glenn Morris <rgm@gnu.org>
9958 * mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
9961 2008-02-20 Kenichi Handa <handa@ni.aist.go.jp>
9963 * ps-mule.el (ps-mule-encode-region): Return a single string.
9964 (ps-mule-plot-string): Adjust for the above change.
9965 (ps-mule-encode-header-string): Likewise.
9967 * international/latin1-disp.el (latin1-display): Don't use
9968 ucs-mule-8859-to-mule-unicode. Fix the way of resetting
9969 standard-display-table.
9970 (latin1-display-identities): Adjust for the change of what is
9971 returned by (get-language-info charset 'charset).
9973 * international/mule-util.el (char-displayable-p): Fix for Latin-1
9974 characters and terminal case.
9976 2008-02-19 Ken Manheimer <ken.manheimer@gmail.com>
9978 Minor Adaptions by Nick Roberts <nickrob@snap.net.nz> for Emacs.
9980 * progmodes/python.el: Also require comint when loading.
9981 (python-mode-map): Bind python-pdbtrack-toggle-stack-tracking.
9982 Replace python-shell with run-python on menu bar.
9983 (python-shell-map): New map.
9984 (python-default-interpreter, python-python-command-args)
9985 (python-jython-command-args, python-pdbtrack-do-tracking-p):
9987 (python-which-shell, python-which-args, python-which-bufname):
9988 New buffer local variables.
9989 (python-file-queue, python-pdbtrack-is-tracking-p): New variables.
9991 * progmodes/python.el (python-pdbtrack-stack-entry-regexp)
9992 (python-pdbtrack-input-prompt, python-pdbtrack-track-range):
9997 (python-point, python-end-of-def-or-class)
9998 (python-beginning-of-def-or-class, python-goto-initial-line)
9999 (python-comint-output-filter-function)
10000 (python-pdbtrack-overlay-arrow)
10001 (python-pdbtrack-track-stack-file, python-toggle-shells)
10002 (python-shell, python-pdbtrack-toggle-stack-tracking)
10003 (turn-on-pdbtrack, turn-off-pdbtrack, python-sentinel):
10006 2008-02-19 Katsumi Yamaoka <yamaoka@jpl.org>
10008 * net/ange-ftp.el (ange-ftp-quote-string): Return the null string
10009 when the argument is nil.
10011 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10013 * vc.el (dir-status): Add a brief description.
10015 2008-02-19 Thien-Thi Nguyen <ttn@gnuvola.org>
10017 * vc-hooks.el (vc-find-root): Take optional arg INVERT.
10018 If non-nil, reverse the sense of the check.
10020 * vc-rcs.el (vc-rcs-root): New func.
10021 * vc-cvs.el (vc-cvs-root): New func.
10022 * vc-svn.el (vc-svn-root): New func.
10023 * vc-sccs.el (vc-sccs-root): New func.
10025 2008-02-18 Kenichi Handa <handa@ni.aist.go.jp>
10027 * language/japan-util.el (setup-japanese-environment-internal):
10028 Call use-cjk-char-width-table.
10030 * language/japanese.el ("Japanese"): Set exit-function to
10031 use-default-char-width-table.
10033 * international/characters.el: Delete occurrences of non-Unicode
10034 tibetan and ethiopic characters.
10035 (cjk-char-width-table): New variable.
10036 (use-cjk-char-width-table, use-default-char-width-table):
10039 2008-02-19 Dan Nicolaescu <dann@ics.uci.edu>
10041 * vc.el (vc-status-menu, vc-status-menu-map-filter): New functions.
10042 (vc-status-mode-menu): Add a :filter.
10043 (vc-status-printer): Add faces.
10045 * vc-hg.el (vc-hg-extra-status-menu): New function.
10046 (vc-hg-dir-status): Clean up the buffer before using it.
10048 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
10051 (gdb): Initialize it here instead.
10053 * files.el (locate-dominating-file): Fix thinko in last change.
10054 Reported by Bruce Stephens <bruce.stephens@isode.com>.
10056 2008-02-18 Dan Nicolaescu <dann@ics.uci.edu>
10058 * vc.el (vc-status-mode-menu): New menu for vc-status.
10060 2008-02-18 Juanma Barranquero <lekktu@gmail.com>
10062 * progmodes/verilog-mode.el (customize): Fix typo in error message.
10063 (verilog-mode, verilog-mode-indent, verilog-mode-actions)
10064 (verilog-mode-auto, verilog-indent-level-module)
10065 (verilog-minimum-comment-distance, verilog-library-flags)
10066 (verilog-library-directories, verilog-library-files)
10067 (verilog-auto-reset-widths, verilog-imenu-generic-expression)
10068 (verilog-xemacs-menu, verilog-set-compile-command)
10069 (verilog-set-compile-command, verilog-mode-syntax-table, verilog-mode)
10070 (verilog-get-expr, verilog-strip-comments, verilog-one-line)
10071 (verilog-lint-off, verilog-batch-auto, verilog-batch-delete-auto)
10072 (verilog-batch-inject-auto, verilog-batch-indent)
10073 (verilog-continued-line, verilog-type-keywords)
10074 (verilog-read-sub-decls-sig, verilog-read-sub-decls-line)
10075 (verilog-read-inst-pins, verilog-read-arg-pins)
10076 (verilog-read-auto-template, verilog-read-signals, verilog-getopt-file)
10077 (verilog-add-list-unique, verilog-symbol-detick, verilog-modi-filename)
10078 (verilog-auto-star, verilog-auto-inst, verilog-auto-wire)
10079 (verilog-enum-ascii, verilog-sk-begin, verilog-sk-fork)
10080 (verilog-sk-datadef, verilog-colorize-include-files-buffer)
10081 (verilog-mode-version, verilog-mode-release-date)
10082 (verilog-mode-release-emacs, verilog-linter, verilog-coverage)
10083 (verilog-simulator, verilog-compiler)
10084 (verilog-auto-sense-defines-constant, verilog-company)
10085 (verilog-project, verilog-mark-defun, verilog-submit-bug-report):
10086 Fix typos in docstrings.
10087 (verilog-set-auto-endcomments, verilog-calculate-indent)
10088 (verilog-inject-auto, verilog-auto-arg, verilog-auto-inout-module):
10090 (verilog-tab-always-indent, verilog-highlight-p1800-keywords)
10091 (verilog-auto-star-save, verilog-auto-inst-vector, verilog-mode-hook)
10092 (electric-verilog-forward-sexp, verilog-in-case-region-p)
10093 (verilog-in-struct-region-p, verilog-in-generate-region-p)
10094 (verilog-leap-to-head, verilog-current-indent-level)
10095 (verilog-case-indent-level, verilog-cpp-keywords)
10096 (verilog-defun-keywords, verilog-block-keywords, verilog-tf-keywords)
10097 (verilog-case-keywords, verilog-separator-keywords, verilog-completion)
10098 (verilog-signals-not-in, verilog-symbol-detick-text)
10099 (verilog-modi-cache-preserve-tick, verilog-modi-cache-preserve-buffer)
10100 (verilog-forward-close-paren, verilog-backward-open-paren)
10101 (verilog-backward-open-bracket): Doc fixes.
10103 * progmodes/gud.el (gud-def, gud-last-speedbar-stackframe): Doc fixes.
10104 (gud-symbol, gud-expansion-speedbar-buttons, gud-speedbar-buttons)
10105 (gud-gdb-run-command-fetch-lines, gud-dbx-use-stopformat-p)
10106 (gud-jdb-classpath, gud-jdb-find-source-using-classpath, jdb)
10107 (gud-find-class, gdb-script-mode, gud-tooltip-event, gud-tooltip-tips):
10108 Fix typos in docstrings.
10110 * w32-vars.el (w32-system-shells): Add TCC (new name for 4NT).
10112 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr>
10114 * info.el (Info-read-node-name): Removed unused `default' arg.
10116 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org>
10118 * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs.
10120 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * image-mode.el (image-get-display-property): New fun.
10123 (image-forward-hscroll, image-next-line, image-eol, image-eob)
10124 (image-mode, image-minor-mode, image-toggle-display-text)
10125 (image-toggle-display): Use it.
10127 2008-02-18 Jason Rumney <jasonr@gnu.org>
10129 * international/mule.el (xml-find-file-coding-system): Don't warn
10130 about utf-16 with BOM.
10132 * nxml/nxml-mode.el (nxml-mode): Don't add a write-contents-hook.
10134 * international/mule.el (sgml-xml-auto-coding-function): Detect and
10135 warn if file encoding is not utf-8 and encoding not specified.
10136 (xml-find-file-coding-system): New function.
10137 * international/mule-conf.el (file-coding-system-alist): Use it.
10139 2008-02-17 Glenn Morris <rgm@gnu.org>
10141 * international/mule-cmds.el (set-locale-environment):
10142 Pass `frame' to getenv for LC_MESSAGES.
10144 2008-02-17 Juri Linkov <juri@jurta.org>
10146 * time.el (emacs-init-time): Use format instead of format-seconds.
10148 2008-02-17 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10150 * textmodes/bibtex.el (bibtex-search-entry): Rename from
10151 bibtex-find-entry. Add autoload cookie.
10152 (bibtex-find-entry): Alias for bibtex-search-entry.
10153 (bibtex-search-crossref): Rename from bibtex-find-crossref.
10154 (bibtex-find-crossref): Alias for bibtex-search-crossref.
10155 (bibtex-clean-entry): atomic-change-group removed.
10156 (bibtex-format-entry): Use atomic-change-group. Use unwind-protect
10157 to locate buffer location where error occurred.
10158 Make error messages more specific.
10159 (bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
10161 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
10163 * progmodes/hideshow.el (hs-minor-mode-map): Move menu creation to
10166 * simple.el (transient-mark-mode): Add an :init-value.
10168 * startup.el (command-line): Use custom-reevaluate-setting for
10169 transient-mark-mode.
10171 2008-02-17 Michaël Cadilhac <michael@cadilhac.name>
10173 * wdired.el (wdired-allow-to-change-permissions): Fix typo.
10175 2008-02-16 Juri Linkov <juri@jurta.org>
10177 * startup.el (after-init-time): New variable.
10178 (command-line): Set `after-init-time' to the current time.
10180 * time.el (emacs-init-time): New function.
10182 2008-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
10184 * files.el (locate-dominating-file): Remove initial loop because it's
10185 not careful enough. Detect the uid-change all within the main loop.
10187 2008-02-16 Lawrence Mitchell <wence@gmx.li> (tiny change)
10189 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix.
10191 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10193 * vc.el (vc-annotate): Add new argument.
10194 (vc-annotate-warp-revision): Pass the current line to vc-annotate.
10196 * progmodes/hideshow.el: Remove the minor-mode bookkeeping.
10197 Move make-variable-buffer-local code after the corresponding defvar.
10198 (hs-minor-mode-map): Define and initialize in one step.
10199 (hs-minor-mode): Change from defun to define-minor-mode.
10201 2008-02-16 Nick Roberts <nickrob@snap.net.nz>
10203 * progmodes/gud.el (gud-gdb): Don't reset gdb-ready.
10204 (gdb-ready): Move declaration...
10206 * progmodes/gdb-ui.el (gdb-ready): ...to here.
10207 (gdb-early-user-input): New variable.
10208 (gdb): Reset gdb-flush-pending-output to nil and set
10209 comint-input-sender here (before gdb-prompt), instead of...
10210 (gdb-init-1): ...here.
10211 (gdb-send): If Emacs is not ready, defer user input to...
10212 (gdb-prompt): ...here.
10214 2008-02-16 Glenn Morris <rgm@gnu.org>
10216 * nxml/test.invalid.xml, nxml/test.valid.xml: Move to etc/nxml.
10218 * startup.el (emacs-startup-time): Rename to `before-init-time'.
10219 (before-init-time): New name for `emacs-startup-time'.
10220 (command-line): Use before-init-time rather than emacs-startup-time.
10221 * time.el (emacs-uptime): Use before-init-time rather than
10222 emacs-startup-time.
10224 * composite.el (composition-function-table): Doc fix.
10226 * calendar/time-date.el (format-seconds): Remove `nonzero' argument
10227 in favor of `%z' specifier.
10228 (emacs-uptime): Move to time.el.
10229 * time.el (emacs-uptime): Move here from time-date.el. Add optional
10230 `format' argument. Doc fix. Use `%z' rather than removed `nonzero'
10231 argument of format-seconds.
10233 2008-02-16 Dan Nicolaescu <dann@ics.uci.edu>
10235 * bindings.el (mode-line-mule-info): Make the tooltips more explicit.
10237 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
10239 * ielm.el (ielm-is-whitespace): Remove.
10240 (ielm-is-whitespace-or-comment): New function.
10241 (ielm-eval-input): Use it.
10243 2008-02-15 Jason Rumney <jasonr@gnu.org>
10245 * term/mac-win.el: Fix coding tag.
10247 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu>
10249 * vc-hooks.el (vc-menu-map):
10250 * bindings.el (mode-line-mode-menu): Add tooltips.
10252 * bindings.el (help-echo): Add more tooltips. Use a less
10253 telegraphic style for existing tooltips.
10255 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * frame.el (frame-notice-user-settings): Distinguish explicit parent-id
10258 from the auto-generated one.
10260 2008-02-14 Glenn Morris <rgm@gnu.org>
10262 * mail/rmail-spam-filter.el (rmail-spam-filter):
10263 Let-bind message-spam-status.
10265 * mail/smtpmail.el (password-cache-add): Declare as function.
10267 2008-02-14 Justus Piater <Justus-bulk@Piater.name> (tiny change)
10269 * mail/smtpmail.el: Use password-cache.
10271 2008-02-14 Juanma Barranquero <lekktu@gmail.com>
10273 * uniquify.el (uniquify-buffer-base-name): New function.
10274 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10276 * desktop.el (uniquify-managed): Don't defvar.
10277 (desktop-buffer-info): Use `uniquify-buffer-base-name', not
10278 `uniquify-managed'. Return also the buffer's base name.
10279 (desktop-save): When saving the buffer info, filter out the base name,
10280 and save it as buffer name if the buffer is managed by uniquify.
10281 (uniquify-item-base): Don't declare; not called anymore.
10283 2008-02-14 Dan Nicolaescu <dann@ics.uci.edu>
10285 * vc.el (vc-annotate-find-revision-at-line): New function.
10286 (vc-annotate-mode-map): Bind it.
10287 (vc-annotate-mode-menu): Add a menu entry for it. Add :help for
10290 2008-02-14 Glenn Morris <rgm@gnu.org>
10292 * calendar/time-date.el (format-seconds): New function.
10293 (emacs-uptime): Use format-seconds.
10295 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
10296 Remove `LC_ALL=C', since it's included in $(emacs) now.
10298 2008-02-14 Zhang Wei <id.brep@gmail.com>
10300 * textmodes/org-publish.el (org-publish-timestamp-filename):
10301 Replace colon characters in filename too.
10303 2008-02-13 Bastien Guerry <bzg@altern.org>
10305 * mail/rmail.el (rmail-header-name): New face.
10306 (rmail-font-lock-keywords): Use rmail-header-name.
10308 * mail/rmail-spam-filter.el (rsf-definitions-alist): Allow check
10309 against X-Spam-Status header field.
10310 (rmail-spam-filter): Also check X-Spam-Status header field.
10312 2008-02-14 Mark A. Hershberger <mah@everybody.org>
10314 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10315 Add support for .pm files and .php files.
10316 (flymake-err-line-patterns): Add pattern for PHP errors.
10317 (flymake-php-init): New function. PHP support for flymake.
10319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10320 Add regular expression for PHP errors.
10322 2008-02-13 Michael Albinus <michael.albinus@gmx.de>
10324 * net/ange-ftp.el (ange-ftp-quote-string): Use `shell-quote-argument'.
10325 This DTRT even on w32 machines.
10326 (ange-ftp-cf1): Quote FILENAME.
10328 2008-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * smerge-mode.el (smerge-auto-combine-max-separation): New var.
10331 (smerge-auto-combine): New fun.
10333 2008-02-12 Juri Linkov <juri@jurta.org>
10335 * startup.el (fancy-startup-screen, normal-splash-screen):
10336 Set default-directory to command-line-default-directory.
10338 * desktop.el (after-init-hook): Set inhibit-startup-screen to t
10339 after reading the desktop.
10341 * progmodes/compile.el (compilation-auto-jump):
10342 Call compile-goto-error only when compilation-auto-jump-to-first-error
10344 (compilation-scroll-output): Replace :type 'boolean with a choice
10345 that has three options including a third option `first-error'.
10347 (compilation-start, compilation-forget-errors): Add an alternate
10348 condition comparing compilation-scroll-output with `first-error'
10349 in addition to compilation-auto-jump-to-first-error (to call
10350 compilation-auto-jump in the proper place).
10352 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10354 * international/mule.el (sgml-html-meta-auto-coding-function):
10355 Make sure the search limit is ahead.
10357 * tar-mode.el: Fix broken indentation.
10358 (tar-mouse-extract, tar-extract, tar-subfile-save-buffer):
10359 Use with-current-buffer.
10361 2008-02-12 Juanma Barranquero <lekktu@gmail.com>
10363 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
10364 it is already automatically buffer-local.
10366 2008-02-11 Drew Adams <drew.adams@oracle.com>
10368 * help.el (describe-key): Join some split lines to facilitate filling.
10369 * help-fns.el (describe-function-1): Fill text of overlong lines.
10371 2008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
10373 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
10374 Use unibyte-string instead of string-make-unibyte.
10376 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
10378 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
10380 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
10381 works also for buffers w/o buffer-file-name. Update callers.
10382 (doc-view-clone-buffer-hook): New fun.
10383 (doc-view-mode): Use it for indirect clones. Mark the overlays with
10384 the `doc-view' property so they can be recognized.
10386 * simple.el (clone-indirect-buffer-hook): New hook.
10387 (clone-indirect-buffer): Run it.
10389 2008-02-11 Daiki Ueno <ueno@unixuser.org>
10391 * epa.el (epa-menu-mode): Merge into epa-mode.
10392 (epa-menu-items): Rename the label "EasyPG Assistant" to
10393 "Encryption/Decryption".
10395 * epa-dired.el: Define a new minor-mode epa-dired-mode for dired.
10396 (epa-dired-mode-map): Rename from epa-dired-map.
10397 (epa-global-dired-mode): Rename the global minor mode.
10399 2008-02-11 Drew Adams <drew.adams@oracle.com>
10401 * isearch.el (isearch-fail): New face.
10402 (isearch-message): Highlight failure part of input.
10404 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10406 * ibuffer.el (ibuffer-header-line-format): New var.
10407 (ibuffer-mode): Set it instead of header-line-format.
10408 (ibuffer-update): Use it to set header-line-format.
10410 * international/mule-cmds.el (ucs-insert): Inherit surrounding
10411 properties like self-insert-command.
10413 2008-02-11 Drew Adams <drew.adams@oracle.com>
10415 * progmodes/etags.el: Add many doc strings.
10417 2008-02-11 Jason Rumney <jasonr@gnu.org>
10419 * ldefs-boot.el: Regenerated.
10421 2008-02-11 Glenn Morris <rgm@gnu.org>
10423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10424 Shorten some names.
10426 * ffap.el (ffap-rfc-directories): Add :version.
10428 2008-02-11 Chris Moore <christopher.ian.moore@gmail.com>
10430 * jka-cmpr-hook.el (jka-compr-compression-info-list): Handle .sifz
10431 files, and backup files of same.
10433 2008-02-11 Kevin Ryde <user42@zip.com.au>
10435 * ffap.el (ffap-rfc-directories): New variable.
10436 (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
10438 * info.el (Info-next-reference, Info-prev-reference)
10439 (Info-try-follow-nearest-node): Move to and follow https:// links too.
10441 * simple.el (completion-list-mode): Show full completion-list-mode-map
10444 2008-02-11 Sam Steingold <sds@gnu.org>
10446 * vc-hooks.el (vc-prefix-key): Remove (undo 2008-02-06 patch).
10448 2008-02-11 Glenn Morris <rgm@gnu.org>
10450 * startup.el (emacs-startup-time): New variable.
10451 (command-line): Set emacs-startup-time.
10453 * calendar/time-date.el (emacs-uptime): New function.
10455 2008-02-10 Bastien Guerry <bzg@altern.org>
10457 * mail/rmail.el (rmail-nonignored-headers): Allow to be nil.
10458 (rmail-clear-headers): Don't check `rmail-nonignored-headers' when
10461 2008-02-10 Daiki Ueno <ueno@unixuser.org>
10463 * epg-config.el: Expand the contents of epg-package-info.el.
10464 (epg-package-name): New constant.
10465 (epg-version-number): New constant.
10466 (epg-bug-report-address): New constant.
10468 * epa-mail.el (epa-mail-mode): Add autoload cookie.
10469 (epa-global-mail-mode): New global minor mode.
10471 * epa-file.el (epa-file-mode): New global minor mode.
10473 * epa-dired.el (epa-dired-mode): New global minor mode.
10475 * epa.el (epa-menu): New variable.
10476 (epa-menu-items): New variable.
10477 (epa-menu-mode): New global minor mode.
10478 (epa-global-minor-modes): New user option.
10479 (epa-mode): New global minor mode.
10481 2008-02-10 Michael Albinus <michael.albinus@gmx.de>
10483 * net/dbus.el: Remove `no-byte-compile' cookie.
10484 (dbus-call-method, dbus-register-signal, dbus-debug)
10485 (dbus-registered-functions-table): Declare them with
10486 `declare-function' or `defvar', respectively.
10487 (top): Don't assert any longer. Require 'cl when compiling.
10488 Apply `ignore-errors' but `dbus-ignore-errors'.
10490 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10492 * diff-mode.el (diff-add-change-log-entries-other-window):
10493 Use add-change-log-entry.
10495 2008-02-09 Jason Rumney <jasonr@gnu.org>
10497 * button.el (button-map):
10498 * wid-edit.el (widget-keymap): Avoid line-end confusion in autoloads.
10499 * ldefs-boot.el: Regenerate.
10501 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
10503 * epa.el (epa-faces, epa):
10504 * epa-file.el (epa-file):
10505 * epg-config.el (epg): Add :version.
10507 2008-02-09 Thien-Thi Nguyen <ttn@gnuvola.org>
10509 * vc.el (vc-exec-after): Append CODE to previous fragments.
10510 (vc-diff-finish): Take BUFFER directly, not BUFFER-NAME;
10511 take MESSAGES instead of VERBOSE; use it when non-nil.
10512 (vc-diff-internal): Compute messages once; use them;
10513 update call to vc-diff-finish.
10515 2008-02-09 Michael Olson <mwolson@gnu.org>
10517 * net/tramp.el (tramp-process-sentinel): Avoid error when process
10518 buffer has been killed, such as by
10519 `tramp-cleanup-all-connections'.
10521 2008-02-09 Miles Bader <miles@gnu.org>
10523 * net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
10525 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
10527 * diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
10528 splitter in context hunks.
10530 2008-02-08 Kenichi Handa <handa@ni.aist.go.jp>
10532 * international/fontset.el (setup-default-fontset): Fix arabic otf
10533 font specification.
10535 2008-02-08 Daiki Ueno <ueno@unixuser.org>
10543 * epg-package-info.el:
10544 * epg.el: Initial check-in of EasyPG.
10546 2008-02-08 Glenn Morris <rgm@gnu.org>
10548 * woman.el (woman-locale): New defcustom.
10549 (woman-expand-locale, woman-manpath-add-locales): New functions.
10550 (woman-manpath): Call woman-manpath-add-locales. Bump :version.
10552 * international/mule-cmds.el (locale-translate): New function,
10553 with old code extracted from set-locale-environment.
10554 (set-locale-environment): Use locale-translate. Set woman-locale.
10556 * cus-start.el (selection-coding-system): Remove, since it's now
10557 defined in select.el rather than in xselect.c.
10558 * select.el (selection-coding-system): Make it a defcustom, and
10559 add the properties from cus-start.el. Bump :version.
10561 * custom.el (custom-theme-set-variables): Sort symbols that are
10562 dependencies before symbols that depend on them.
10563 (custom-enabled-themes): Set after custom-theme-directory.
10565 * pcmpl-unix.el (top-level): Move provide statement to end.
10566 (pcmpl-unix-group-file, pcmpl-unix-passwd-file): Remove leading
10567 `*' from doc-string. Allow to be nil.
10568 (pcmpl-ssh-known-hosts-file): Convert comment into expanded doc-string.
10569 Allow to be nil. Add :version.
10570 (pcmpl-ssh-hosts): Move definition before use. Handle lines
10571 without hostnames, and multiple hostnames per line.
10573 * term/x-win.el (x-handle-parent-id): Remove free variable `parent-id'.
10575 2008-02-08 Phil Hagelberg <phil@evri.com>
10577 * pcmpl-unix.el (pcmpl-ssh-known-hosts-file): New defcustom.
10578 (pcomplete/ssh, pcomplete/scp, pcmpl-ssh-hosts): New functions.
10580 2008-02-07 Timo Savola <timo.savola@iki.fi>
10582 * startup.el (command-line-x-option-alist): Add --parent-id.
10584 * term/x-win.el (x-handle-parent-id): New function.
10586 2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
10588 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
10591 2008-02-06 Michael Albinus <michael.albinus@gmx.de>
10593 * net/dbus.el (dbus-interface-peer): New defconst.
10594 (dbus-ping): New defun.
10596 2008-02-06 Sam Steingold <sds@gnu.org>
10598 * vc-hooks.el (vc-prefix-key): New user-customizable variable.
10600 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * net/ange-ftp.el (ange-ftp-unhandled-file-name-directory):
10603 Just return nil and let the C code provide a fallback.
10605 2008-02-05 Glenn Morris <rgm@gnu.org>
10607 * net/tramp-cmds.el (tramp-cleanup-connection): Update calls to
10608 tramp-flush-connection-property for removed 2nd argument.
10610 2008-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10612 * diff-mode.el (diff-add-change-log-entries-other-window):
10613 Rename from diff-create-changelog. Change users.
10614 Minor change to hopefully work with plain diffs.
10615 (diff-mode-map): Add binding for it.
10617 2008-02-04 Dan Nicolaescu <dann@ics.uci.edu>
10619 * diff-mode.el: Add new TODO entry.
10620 (diff-create-changelog): New function.
10621 (diff-mode-menu): Bind it.
10623 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp>
10625 * international/mule-diag.el (print-fontset-element): Handle the
10626 case of inhibiting the fallback fonts.
10628 2008-02-04 Kim F. Storm <storm@cua.dk>
10630 * ido.el (ido-magic-forward-char, ido-magic-backward-char)
10631 (ido-magic-delete-char): Use prefix arg.
10633 2008-02-03 Juanma Barranquero <lekktu@gmail.com>
10635 * term/w32-win.el (image-library-alist): Prefer libpng12 to libpng13,
10636 because the latter is in fact a 1.2.8 build distributed with GTK+ (as
10637 of today, the most recent libpng is 1.2.24).
10639 2008-02-03 Michael Albinus <michael.albinus@gmx.de>
10641 * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote files.
10643 * net/dbus.el (top): Check (featurep 'dbusbind).
10645 * net/tramp.el (tramp-process-sentinel): New defun.
10646 (tramp-do-copy-or-rename-file-out-of-band)
10647 (tramp-maybe-open-connection): Use it as process sentinel.
10648 (tramp-handle-delete-directory): Don't use the "-f" option; it
10650 (tramp-handle-start-file-process): Echo `tramp-end-of-output'
10652 (tramp-handle-shell-command): Set `mode-line-process' in the
10655 * net/tramp-cache.el (tramp-flush-connection-property): Remove EVENT.
10657 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
10658 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10659 Use `tramp-process-sentinel' as process sentinel.
10661 2008-02-02 Juanma Barranquero <lekktu@gmail.com>
10663 * whitespace.el (global-whitespace-mode): Revert last change.
10664 (whitespace-unload-function): Force `global-whitespace-mode'
10665 to deactivate local modes in a slightly less intrusive way.
10667 2008-02-02 Eli Zaretskii <eliz@gnu.org>
10669 * view.el (kill-buffer-if-not-modified): Add an autoload cookie.
10671 2008-02-02 Glenn Morris <rgm@gnu.org>
10673 * international/latin1-disp.el (latin1-display):
10674 * progmodes/fortran.el (fortran-comment-indent-char):
10675 * progmodes/idlw-shell.el (top-level):
10676 * term/mac-win.el (mac-keyboard-translate-char):
10677 * whitespace.el (whitespace-char-valid-p):
10678 * wid-edit.el (widget-key-sequence-read-event):
10679 Use characterp rather than char-valid-p.
10681 * progmodes/cap-words.el (capitalized-next-word-boundary): Rename
10682 to capitalized-find-word-boundary. Doc fix. Update callers.
10683 (capitalized-next-word-boundary-function-table): Rename to
10684 capitalized-find-word-boundary-function-table. Doc fix. Update users.
10686 * ps-bdf.el (bdf-read-font-info): Use string-to-number rather than
10689 * ps-def.el (declare-function): Add compatibility definition.
10690 (ps-plot-with-face, ps-plot-string): Declare as functions.
10691 (ps-bold-faces, ps-italic-faces): Declare variables.
10693 * ps-print.el (ps-mule-initialize, ps-mule-begin-job)
10694 (ps-mule-end-job): Declare as functions.
10696 * wid-edit.el (widget-string-complete): Use assoc-string rather
10697 than assoc-ignore-case.
10699 See ChangeLog.13 for earlier changes.
10701 ;; Local Variables:
10703 ;; add-log-time-zone-rule: t
10704 ;; bug-reference-url-format: "http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=%s"
10707 Copyright (C) 2008 Free Software Foundation, Inc.
10709 This file is part of GNU Emacs.
10711 GNU Emacs is free software: you can redistribute it and/or modify
10712 it under the terms of the GNU General Public License as published by
10713 the Free Software Foundation, either version 3 of the License, or
10714 (at your option) any later version.
10716 GNU Emacs is distributed in the hope that it will be useful,
10717 but WITHOUT ANY WARRANTY; without even the implied warranty of
10718 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10719 GNU General Public License for more details.
10721 You should have received a copy of the GNU General Public License
10722 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
10724 ;; arch-tag: c241c1f9-d668-48bf-920a-2897ed0340bc