Luc Teirlinck [Sun, 8 Aug 2004 16:17:23 +0000 (16:17 +0000)]
Declare Qdisabled_command_function instead of Qdisabled_command_hook.
(Fcommand_execute): Use Qdisabled_command_function instead of
Qdisabled_command_hook.
(syms_of_keyboard): Ditto.
Luc Teirlinck [Sun, 8 Aug 2004 16:05:14 +0000 (16:05 +0000)]
(disabled-command-function): New variable renamed from
`disabled-command-hook'.
(disabled-command-hook): Keep the _variable_ as alias for
`disabled-command-function' and make obsolete.
(disabled-command-function): Function renamed from
`disabled-command-hook'. Adapt code to namechange of the variable.
Luc Teirlinck [Sun, 8 Aug 2004 15:47:21 +0000 (15:47 +0000)]
(Key Sequence Input): Remove unnecessary anchor,
(Command Loop Info): Replace reference to it.
(Disabling Commands): `disabled-command-hook' has been renamed to
`disabled-command-function'.
Luc Teirlinck [Sun, 8 Aug 2004 00:00:07 +0000 (00:00 +0000)]
(Translating Input): Only non-prefix bindings in `key-translation-map'
override actual key bindings. Warn about possible indirect effect of
actual key bindings on non-prefix bindings in `key-translation-map'.
(reb-re-syntax): Add `rx' syntax.
(reb-lisp-mode): Require `rx' feature when `re-reb-syntax' is `rx'.
(reb-lisp-syntax-p, reb-change-syntax): `rx' is a Lisp syntax.
(reb-cook-regexp): Call `rx-to-string' when `re-reb-syntax' is `rx'.
Luc Teirlinck [Sat, 7 Aug 2004 01:12:59 +0000 (01:12 +0000)]
Various changes in addition to:
(Using Interactive): Clarify description of `interactive-form'.
(Interactive Call): Mention default for KEYS argument to
`call-interactively'.
(Command Loop Info): Clarify description of `this-command-keys'.
Mention KEEP-RECORD argument to `clear-this-command-keys'.
Value of `last-event-frame' can be `macro'.
(Repeat Events): `double-click-fuzz' is also used to distinguish
clicks and drags.
(Classifying Events): Clarify descriptions of `event-modifiers'
`event-basic-type' and `event-convert-list'.
(Accessing Events): `posn-timestamp' takes POSITION argument.
(Quoted Character Input): Clarify description of
`read-quoted-char' and fix example.
(Quitting): Add `with-local-quit'.
(Disabling Commands): Correct and clarify descriptions of
`enable-command' and `disable-command'.
Mention what happens if `disabled-command-hook' is nil.
(Keyboard Macros): Mention LOOPFUNC arg to `execute-kbd-macro'.
Describe `executing-kbd-macro' instead of obsolete `executing-macro'.
Kenichi Handa [Tue, 3 Aug 2004 12:06:47 +0000 (12:06 +0000)]
The following changes are to
utilize key-translation-map instead of minor mode map.
(encoded-kbd-iso2022-non-ascii-map): Delete it.
(encoded-kbd-coding, encoded-kbd-handle-8bit): Delete them.
(encoded-kbd-last-key): New function.
(encoded-kbd-iso2022-single-shift): New function.
(encoded-kbd-iso2022-designation)
(encoded-kbd-self-insert-iso2022-7bit)
(encoded-kbd-self-insert-iso2022-8bit)
(encoded-kbd-self-insert-sjis, encoded-kbd-self-insert-big5)
(encoded-kbd-self-insert-ccl): Make them suitable for bindings in
key-translation-map.
(encoded-kbd-setup-keymap): Setup key-translation-map.
(saved-key-translation-map): New variable.
(encoded-kbd-mode): Save/restore key-translation-map. Adjusted
for the change of encoded-kbd-setup-keymap.
Kim F. Storm [Mon, 2 Aug 2004 15:19:24 +0000 (15:19 +0000)]
(mouse-avoidance-point-position): Use window-inside-edges
and call compute-motion with nil for topos and width to get proper
usable width and height for both window and non-window systems.
Kim F. Storm [Mon, 2 Aug 2004 15:06:06 +0000 (15:06 +0000)]
(compute_motion): Use actual window width if WIDTH is -1,
properly accounting for continuation glyph on non-window systems.
(Fcompute_motion): Use actual window width if WIDTH is nil, and
actual window width/height if TOPOS is nil, properly accounting for
continuation glyphs on non-window systems, and optional header lines.
(vmotion): Let compute_motion calculate actual window width.
David Kastrup [Sun, 1 Aug 2004 12:59:09 +0000 (12:59 +0000)]
(query-replace-read-from): Use
`query-replace-compile-replacement'.
(query-replace-compile-replacement): New function.
(query-replace-read-to): Use `query-replace-compile-replacement'
for repeating the last command.
(toplevel, pr-ps-fast-fire, pr-ps-set-utility)
(pr-ps-set-printer, pr-txt-set-printer, pr-eval-setting-alist)
(pr-switches): Remove period from end of error messages.
Kim F. Storm [Mon, 26 Jul 2004 23:16:48 +0000 (23:16 +0000)]
(move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after
we have ensured that the glyph fits on the current line (or returned
MOVE_LINE_CONTINUED otherwise).
Kim F. Storm [Sun, 25 Jul 2004 22:15:03 +0000 (22:15 +0000)]
(move_it_in_display_line_to): If overflow-newline-into-fringe
is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV
if target position is at end of display line but char is not a newline.
(coordinates_in_window): Return ON_SCROLL_BAR
instead of ON_VERTICAL_BORDER, when on scroll bar.
(Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil.
Various changes in addition to:
(Creating Frames): Expand and clarify description of `make-frame'.
(Window Frame Parameters): Either none or both of the `icon-left'
and `icon-top' parameters must be specified. Put descriptions of
`menu-bar-lines' and `toolbar-lines' closer together and change
them accordingly.
(Frame Titles): `multiple-frames' is not guaranteed to be accurate
except while processing `frame-title-format' or `icon-title-format'.
(Deleting Frames): Correct description of `delete-frame'.
Non-nil return values of `frame-live-p' are like those of `framep'.
(Frames and Windows): mention return value of
`set-frame-selected-window'.
(Visibility of Frames): Mention `force' argument to
`make-frame-invisible'. `frame-visible-p' returns t for all
frames on text-only terminals.
(Frame Configurations): Restoring a frame configuration does not
restore deleted frames.
(Window System Selections): `x-set-selection' returns DATA.
(Resources): Add example.
(Display Feature Testing): Clarify descriptions of
`display-pixel-height', `display-pixel-width', `x-server-version'
and `x-server-vendor'.