* subr.el (remove-overlays): Make arguments optional.
* wid-edit.el (widget-specify-button): Put evaporate to the
overlay for sample.
(widget-specify-sample): Put evaporate to the overlay for sample.
(widget-specify-doc): Put evaporate to the overlay for documentation.
* etc/NEWS: Write about remove-overlays's arguments.
* man/widget.texi: Add remove-overlays to the example.
Eli Zaretskii [Tue, 27 Apr 2004 14:03:10 +0000 (14:03 +0000)]
(browse-url-netscape-sentinel)
(browse-url-mozilla-sentinel, browse-url-galeon-sentinel)
(browse-url-epiphany-sentinel, browse-url-mosaic): Use
browse-url-*-program instead of a literal program name.
Eli Zaretskii [Tue, 27 Apr 2004 13:12:07 +0000 (13:12 +0000)]
Capitalise Emacs and Lisp.
(type-break-good-break-interval, type-break-demo-boring-stats)
(type-break-terse-messages, type-break-file-name): New defcustoms.
(type-break-post-command-hook)
(type-break-warning-countdown-string): Quote variable names in doc.
(type-break-interval-start, type-break-auto-save-file-name): New defvars.
(type-break-mode): Document type-break-good-break-interval and the
"session" file. Schedule break according to the session file.
Kill session file buffer on exit. Organise for save-some-buffers
to always save the session file.
(type-break-mode-line-message-mode, type-break-query-mode):
Uppercase arguments.
(type-break-file-time, type-break-file-keystroke-count, timep)
(type-break-choose-file, type-break-get-previous-time)
(type-break-get-previous-count): New defuns.
(type-break): Avoid break querying after a completed break in the
case where the query was initiated during user invocation of the
break. Optional terse messages. Use
type-break-good-break-interval if type-break-good-rest-interval is
nil. File the break time.
(type-break-schedule): New optional args for overriding the use of
the current time.
(type-break-cancel-time-warning-schedule): Avoid leftover warnings
after a break.
(type-break-check): File the keystroke count.
(type-break-do-query): Prevent a second query when the break is
interrupted. Optional terse message.
(type-break-keystroke-reset): Record the start of a typing interval.
(type-break-demo-boring): Optional terse messages. Display word
per minute and keystroke counts according to
type-break-demo-boring-stats.
Juri Linkov [Tue, 27 Apr 2004 06:43:42 +0000 (06:43 +0000)]
(show-paren-highlight-openparen): New var.
(show-paren-function): Turn on openparen highlighting when
matching forward if show-paren-highlight-openparen is non-nil.
Juri Linkov [Tue, 27 Apr 2004 06:39:46 +0000 (06:39 +0000)]
Add *info*<[0-9]+> to same-window-regexps instead of
same-window-buffer-names.
(info): New arg `buffer'. Use it. Doc fix. Read file name for
non-numeric prefix argument, append the number to the buffer name
for numeric prefix argument.
(info-other-window): Bind same-window-regexps to nil.
(Info-reference-name): Rename to Info-point-loc.
(Info-find-node-2): Call forward-line for numeric Info-point-loc,
and Info-find-index-name for stringy Info-point-loc.
(Info-extract-menu-node-name): New arg `index-node'. Use regexp
without middle `.', but with final `.' and optional line number
for it. Set Info-point-loc for index nodes.
(Info-index): Remove middle `.' from index entry regexp.
Modify line number regexp.
(Info-index-next): Decrement line number.
(info-apropos): Remove middle `.' from index entry regexp.
Add optional line number regexp at the end. Add matched value
for line number to the result list and insert it to the buffer.
(Info-fontify-node): Hide index line numbers.
(Info-goto-node): Replace "\\s *\\'" by "\\s +\\'" to not trim
empty matches.
(Info-follow-reference): Use `str' instead of
Info-following-node-name-re.
(Info-toc): Use full file names. Set Info-current-node to "Top".
(Info-fontify-node): Compare file names without directory name.
(Info-try-follow-nearest-node): Don't set Info-reference-name.
Set second arg of Info-extract-menu-node-name for index nodes.
(info-xref-visited): Use magenta3 instead of magenta4.
(Info-mode): Add info-apropos to docstring.
Juri Linkov [Tue, 27 Apr 2004 06:35:25 +0000 (06:35 +0000)]
(view-emacs-news): With argument, display info for the
selected version by finding it among different NEWS files, and
narrowing the buffer to the selected version.
Kim F. Storm [Mon, 26 Apr 2004 22:05:43 +0000 (22:05 +0000)]
(Qline_height): New variable.
(syms_of_xdisp): Intern and staticpro it.
(append_space_for_newline): Partially undo 2004-04-25 change;
add default_face_p arg, and restore callers.
Clear it->use_default_face after use.
(x_produce_glyphs): Set default font for ascii char if
it->use_default_font is set. Change line-spacing property to set
just extra line spacing. Handle new line-height property.
Lars Hansen [Mon, 26 Apr 2004 18:58:19 +0000 (18:58 +0000)]
(desktop-buffer-misc-data-function): Rename to desktop-save-buffer and change docstring.
(desktop-buffer-modes-to-save): Delete.
(desktop-save-buffer-p): Use desktop-save-buffer instead of
desktop-buffer-modes-to-save.
(desktop-save): Rename desktop-buffer-misc-data-function to
desktop-save-buffer and allow non-function value.
(desktop-missing-file-warning): Correct docstring.
Steven Tamm [Sun, 25 Apr 2004 21:07:58 +0000 (21:07 +0000)]
lread.c (init_lread): Don't display missing lisp directory
warnings with Carbon Emacs because self-contained bundled Emacs
may be build without correct installation path.
(inferior-emacs-lisp-mode): Display working buffer on the mode line. Bind
`inhibit-read-only' to t before modifying properties of text in the buffer.
(ielm): Force point to the end of buffer, even when running ielm from inside
itself.
(compilation-get-file-structure): New function inherits functionality of the two preceding ones.
(compilation-internal-error-properties, compilation-fake-loc): Use it so that different paths to the same file share the same markers. Also optimize finding adjacent marker slightly.
Kim F. Storm [Sat, 24 Apr 2004 23:28:37 +0000 (23:28 +0000)]
(append_space_for_newline): Rename from append_space.
Remove DEFAULT_FACE_P arg; always use current face. Callers changed.
(x_produce_glyphs): Handle line-spacing property on newline char.
If value is t, adjust ascent and descent to fit current row height.
If value is an integer or float, set extra_line_spacing to integer
value, or to float value x current line height.
(ielm-prompt-read-only): New user option.
(ielm-prompt): Expand docstring to describe new behavior.
(inferior-emacs-lisp-mode): Implement ielm-prompt-read-only and
mention it in the docstring.
Eli Zaretskii [Sat, 24 Apr 2004 16:36:15 +0000 (16:36 +0000)]
(mail-bury): Don't delete the frame where the
mail was being composed if the terminal cannot display more than
one frame; instead, switch to previous frame.
Stefan Monnier [Fri, 23 Apr 2004 22:22:13 +0000 (22:22 +0000)]
(wdired-mode-map): Move init into declaration. Fix `return' binding.
(wdired-change-to-wdired-mode, wdired-change-to-dired-mode):
Use force-mode-line-update.
(wdired-get-filename): Use `unless'.
(wdired-preprocess-files): Don't assume names have no \n and use / for dirsep.
(wdired-normalize-filename): Use replace-regexp-in-string.
(wdired-load-hooks): Remove.
(wdired-mode-hooks): Rename to wdired-mode-hook.