Sam Steingold [Mon, 12 Nov 2001 23:01:17 +0000 (23:01 +0000)]
* vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
set-buffer-modified-p to nil after `vc-exec-after'.
* log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
(log-view-mode): Make read-only.
(log-view-current-file): Do final `expand-file-name' in the
current `default-directory'.
(log-view-current-tag): Take an optional `where' arg.
(log-view-diff): New user command.
Many trivial doc fixes.
(dired-get-file-for-visit): New function.
(dired-find-alternate-file, dired-mouse-find-file-other-window):
(dired-view-file, dired-find-file-other-window, dired-display-file):
(dired-find-file): Use dired-get-file-for-visit.
Eli Zaretskii [Mon, 12 Nov 2001 11:39:45 +0000 (11:39 +0000)]
(toplevel): Bind mouse buttons.
(calc-do-keypad): Don't attempt to use nonexistent global
mouse-map, use calc-keypad-map.
(calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
(calc-keypad-left-click): Don't use mouse-map; update to new event
interface.
(calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
(calc-keypad-press): Use `unread-command-events' instead of
`unread-command-char'.
(XTread_socket): Don't update focus for EnterNotify or
LeaveNotify events. Only FocusIn and FocusOut do that now.
(x_display_and_set_cursor): Do display hollow cursors in active
minibuffer windows when they are not selected.
Eli Zaretskii [Sun, 11 Nov 2001 10:33:50 +0000 (10:33 +0000)]
(toplevel): Require calc-macs.
(calc-minibuffer-size): New.
(calcDigit-nondigit): Use it instead of `buffer-size'.
(calcDigit-backspace): Likewise.
(calcDigit-nondigit): Use `minibuffer-contents' instead of `buffer-string'.
(calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of `point-min'.
(calcDigit-key): Use `calc-minibuffer-contains' instead of a `save-excursion'.
Eli Zaretskii [Sun, 11 Nov 2001 10:26:44 +0000 (10:26 +0000)]
(toplevel): Require calc-macs during compilation.
(calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
(calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
(calcAlg-enter): Likewise.
(calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
(ps-mode-font-lock-keywords-1): Merge two regular expressions into one.
(ps-mode): Make local bindings for `comment-start' and `comment-start-skip'.
(ps-mode-looking-at-nested): Simplify an if-else construct;
use `set-match-data' to set the result.
(flyspell-correct-word/local-keymap): Function deleted.
(flyspell-correct-word): Old definition deleted.
(flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
All references renamed too.
Eli Zaretskii [Sat, 10 Nov 2001 13:57:42 +0000 (13:57 +0000)]
Add Copyright notice.
(prefix): Remove.
(infodir): Change value to "../info".
(VPATH): New variable.
(MAKE): Don't define.
(texmacrodir): Don't define.
(texinputdir): Append the existing value of TEXINPUTS.
($(infodir)/elisp): Instead of just "elisp". Reformat the
command to be compatible with man/Makefile.in, and to put the
output into ../info.
(installall): Target removed.
Jason Rumney [Sat, 10 Nov 2001 13:51:02 +0000 (13:51 +0000)]
(enum_font_cb2): Use leading @ on face name to detect
vertical fonts. Allow them if face name is explicitly specified.
Do not give up if we find a font that cannot be converted to an
xlfd.
Use the keymap property instead of local-map, and don't use a minor-mode map.
(flyspell-mode-map): Variable deleted.
Don't mess with minor-mode-map-alist.
(calling add-minor-mode): Specify nil for keymap.
And always use add-minor-mode, now that it exists.
(flyspell-overlay-keymap-property-name): Set it to `keymap'.
(flyspell-mode-on): Don't locally bind flyspell-mouse-map
or flyspell-local-mouse-map.
(make-flyspell-overlay): Use flyspell-mouse-map directly.
(flyspell-mode): Doc fix.
(flyspell-mode-on): Don't call make-local-hook.