Kim F. Storm [Fri, 30 Apr 2004 21:38:44 +0000 (21:38 +0000)]
(cua--standard-movement-commands):
Add cua-scroll-up and cua-scroll-down.
(cua-scroll-up, cua-scroll-down): New commands.
(cua--init-keymaps): Remap scroll-up and scroll-down.
Kim F. Storm [Fri, 30 Apr 2004 21:38:23 +0000 (21:38 +0000)]
(kill-ring-save): If region face background color is
unspecified (if no highlighting), show extent of fully visible
region even if transient-mark-mode is enabled.
Alex Schroeder [Fri, 30 Apr 2004 20:00:19 +0000 (20:00 +0000)]
(xml-debug-print-internal): Don't add newline and
indentation to text nodes and write empty elements as empty tags
instead of opening and closing tags.
(xml-debug-print): Take optional indent-string argument.
(xml-print): Alias for xml-debug-print.
(f90-get-present-comment-type): Return whitespace, as well as comment
chars, for consistent filling of comment blocks. Use
`match-string-no-properties'.
(f90-break-line): Do not leave trailing whitespace when filling
comments.
From Dave Love <fx@gnu.org>:
(diary-outlook-formats): New variable.
(diary-from-outlook-internal, diary-from-outlook)
(diary-from-outlook-gnus, diary-from-outlook-rmail): New functions to
import diary entries from Outlook-format appointments in mail
messages.
Kim F. Storm [Thu, 29 Apr 2004 22:37:52 +0000 (22:37 +0000)]
(init_iterator): Handle line-spacing float value.
Initialize override_ascent member.
(append_space_for_newline): Reset override_ascent.
Remove use_default_face.
(calc_line_height_property): New function to calculate value of
line-height and line-spacing properties. Look at overlays, too.
Set override_ascent, override_descent, override_boff members when
using another face than the current face. Float values are now
relative to the frame default font, by default; accept a cons
of ratio and face name to specify value relative to a specific face.
(x_produce_glyphs): Use calc_line_height_property.
Use override_ascent etc. when set to handle different face heights.
A negative line-spacing property value is interpreted as a total
line height, rather than inter-line spacing.
(note_mouse_highlight): Allocate room for 40 overlays initially.
Stefan Monnier [Thu, 29 Apr 2004 18:46:13 +0000 (18:46 +0000)]
(help-C-file-name): Use new subr-name.
Prepend `src/' to the file name.
(help-C-source-directory, help-subr-name, help-find-C-source): Remove.
(describe-function-1, describe-variable): Only find a C source file name
if DOC is already loaded.
Juri Linkov [Thu, 29 Apr 2004 15:34:58 +0000 (15:34 +0000)]
(outline-next-preface, outline-show-heading): Don't leave unhidden blank line before heading.
(outline-end-of-subtree): Include last newline into subtree.
(hide-entry): Leave point at beginning of heading instead of end.
(outline-up-heading): Push mark for the first call of successive command calls.
Juri Linkov [Thu, 29 Apr 2004 15:28:55 +0000 (15:28 +0000)]
(isearch-mode-map): Bind \C-w to isearch-yank-word instead of isearch-yank-word-or-char.
Add new key bindings for isearch-yank-char to \C-f, and isearch-del-char to \C-b.
(isearch-del-char): New fun.
(isearch-forward, isearch-edit-string): Update docstring.
(isearch-yank-char): Doc fix.
(isearch-other-meta-char): Restore point after scrolling.
(ielm-prompt-read-only, ielm-prompt): Update docstring.
(ielm-prompt-internal): New variable.
(ielm-font-lock-keywords): Remove irrelevant ielm-prompt keyword.
(ielm-send-input): Delete unused variable `buf'.
(ielm-eval-input): Use `ielm-prompt-internal'.
(inferior-emacs-lisp-mode): Use new variables
`comint-prompt-read-only' and `ielm-prompt-internal'.
Get rid of obsolete variable `directory-sep-char'.
(ielm): Use `zerop'.
(thumbs-delete-images): Fix formatting of prompt.
(thumbs-show-image-num): Move assignment of
`thumbs-current-image-filename' within dynamic scope of `i'.
(thumbs-emboss-image): Don't use `evenp'.
Stefan Monnier [Tue, 27 Apr 2004 22:00:03 +0000 (22:00 +0000)]
(x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup.
(on_hot_spot_p): Make sure we always return a value.
(Flookup_image_map): Remove unused var ix and iy.
(note_mode_line_or_margin_highlight): Remove unused var `image'.
* 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.