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'.
Ben Key [Sat, 24 Jul 2004 04:52:27 +0000 (04:52 +0000)]
Removed the various "echo." lines from lisp\makefile.w32-in and nt\makefile.w32-in.
They caused mingw32-make.exe bootstrap to fail with the following error if cmd.exe
was being used as the shell:
"process_begin: CreateProcess((null), echo., ...) failed."
I replaced the "@echo." lines in nt\makefile.w32-in with "@echo ." This writes a .
to the screen but that is far more desirable than make bootstrap failing.
I replaced the "echo. ..." line in lisp\makefile.w32-in with "echo ;;; ...". This
writes an extra comment line to loaddefs.el. Again this is far more desirable than
make bootstrap failing.
NOTE: I am using cmd.exe as my shell when building Emacs with MinGW instead of
the sh.exe that comes with msys because when I use sh.exe as my shell, loaddefs.el
does not get properly generated and I get various auto load errors.
Kim F. Storm [Wed, 21 Jul 2004 21:09:43 +0000 (21:09 +0000)]
(display_line): Increment nrows_scale_factor and set
fonts_changed_p if past last allocated row.
(append_glyph, append_composite_glyph, produce_image_glyph)
(append_stretch_glyph): Increment ncols_scale_factor and set
fonts_changed_p if current area is full.
(fill-comment-paragraph): Handle indent-tabs-mode.
(fill-delete-newlines): Call sentence-end as function.
(fill-nobreak-p, canonically-space-region): Likewise.
(fill-nobreak-p): If this break point is at the end of the line,
don't consider the newline which follows as a reason to return t.
Various small changes in addition to:
(Window Point): Mention return value of `set-window-point'.
(Window Start): `pos-visible-in-window-p' disregards horizontal
scrolling. Explain return value if PARTIALLY is non-nil.
(Vertical Scrolling): Mention PIXELS-P argument to `window-vscroll'
and `set-window-vscroll'.
(Size of Window): The argument WINDOW to `window-inside-edges',
`window-pixel-edges' and `window-inside-pixel-edges' is optional.
(Resizing Windows): Explain return value of
`shrink-window-if-larger-than-buffer'.
`window-size-fixed' automatically becomes buffer local when set.
(Window Configurations): Explain return value of `set-window-configuration'.