Gerd Moellmann [Tue, 28 Aug 2001 14:34:17 +0000 (14:34 +0000)]
(x_set_glyph_string_background_width): Set the glyph
strings background width so that multi-line mouse-face is drawn to
the right edge of the window.
(show_mouse_face): Set the row's mouse_face_p flag after drawing
glyphs.
Gerd Moellmann [Tue, 28 Aug 2001 08:33:51 +0000 (08:33 +0000)]
(display_mode_element): Use string_byte_to_char to
determine character positions in strings, use chars_in_text
instead of strwidth.
(dump_glyph_row) [GLYPH_DEBUG]: Take a glyph row instead of
a matrix as parameter; this is easier to use from GDB.
Eli Zaretskii [Tue, 28 Aug 2001 06:35:00 +0000 (06:35 +0000)]
(mouse-buffer-menu): If the buffer menu is split by
major modes, don't create panes for modes for which
mouse-buffer-menu-alist returns an empty alist.
Thien-Thi Nguyen [Mon, 27 Aug 2001 22:23:09 +0000 (22:23 +0000)]
Update first-line description.
Sync comments w/ maintainer version 5.31.
(hs-isearch-open): Default value now `code'.
Fix docstring to use "code blocks" vs "comment blocks",
as opposed to "block" vs "comment".
(hs-flag-region): Accept `hs-isearch-open' value
of `block' as synonymous w/ `code'.
(hs-hide-block-at-point): For code blocks, pass `code'
to `hs-flag-region' instead of `block'.
Gerd Moellmann [Mon, 27 Aug 2001 13:52:50 +0000 (13:52 +0000)]
(init_from_display_pos, init_to_row_end): Return 0 if
there exist overlay strings with newlines at POS.
(text_outside_line_unchanged_p): Return 0 if changes start at
START and overlays exist at START. Likewise for END.
(try_window_id): Give up if init_to_row_end returns 0.
Miles Bader [Mon, 27 Aug 2001 13:03:53 +0000 (13:03 +0000)]
(comint-get-old-input-default): Don't signal an error if point is not on
an input field; instead, return the current line (using `comint-bol' to
skip any prompt, in case we're not using fields at all).
Eli Zaretskii [Sat, 25 Aug 2001 12:31:18 +0000 (12:31 +0000)]
(IT-character-translations) <hebrew-iso8859-8>:
Replace some of the undefined characters with emulations of bidi
formatting characters and Niqud as per SI 1311-1.
(IT-unicode-translations): Ditto.
(IT-display-table-setup, IT-setup-unicode-display): Fill
characters without translations with dos-unsupported-char-glyph.
Gerd Moellmann [Fri, 24 Aug 2001 09:40:22 +0000 (09:40 +0000)]
(gs-load-image): Wait for GHOSTVIEW window property
being reset by Ghostscript. Don't kill the gs process.
From David.Kastrup@neuroinformatik.ruhr-uni-bochum.de.
Andrew Choi [Fri, 24 Aug 2001 07:46:40 +0000 (07:46 +0000)]
2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* src/macterm.c (init_font_name_table): Add an additional entry to
the font table with the script code smRoman for each Apple
Japanese font.
(XLoadQueryFont): Recognize a font as having the smRoman script
code even when FontToScript returns smJapanese if it is one of
those created above.
Gerd Moellmann [Thu, 23 Aug 2001 13:18:33 +0000 (13:18 +0000)]
(Finsert_file_contents): If VISIT is non-nil, and
coding.type is coding_type_no_conversion or coding_type_raw_text,
use Fset_buffer_multibyte to make the buffer unibyte if REPLACE is
non-nil instead of just setting enable_multibyte_characters in the
buffer to nil.
Eli Zaretskii [Thu, 23 Aug 2001 10:55:30 +0000 (10:55 +0000)]
(hexl-insert-multibyte-char) New function.
(hexl-quoted-insert, hexl-self-insert-command)
(hexl-insert-hex-char, hexl-insert-decimal-char)
(hexl-insert-octal-char): Call it instead of hexl-insert-char.
Fix the doc strings accordingly.
(hexl-insert-char): Reject characters whose code is above 255.
Doc fix.
(hexl-mode-map): Copy the global keymap instead of creating a
sparse keymap, and bind all self-inserting characters to
hexl-self-insert-command.
Gerd Moellmann [Wed, 22 Aug 2001 09:44:15 +0000 (09:44 +0000)]
(menu_face_changed_default): New variable.
(menu_face_changed_count): Variable removed.
(Finternal_set_lisp_face_attribute): Doc fix. If FRAME is t, set
the menu_face_changed_default flag, otherwise set the FRAME's
menu_face_changed_p flag if the `menu' face has been changed.
Prevent calling set_font_frame_param if FRAME is t.
(make_face_cache): Initialize cache's menu_face_changed_p
from menu_face_changed_default.
(realize_basic_faces): Look into the frame's face cache to
determine if the menu appearance needs updating.
Gerd Moellmann [Wed, 22 Aug 2001 08:54:43 +0000 (08:54 +0000)]
(mode-line-unbury-buffer): Add EVENT parameter.
Temporarily select EVENT's window for switching buffers.
(mode-line-bury-buffer): New function.
(mode-line-buffer-identification-keymap): Use it instead of
bury-buffer. Bind down-mouse events to prevent global down-mouse
events to shine through.
* src/mac.c (mac-filename-to-unix): Change to
mac-file-name-to-posix.
(unix-filename-to-mac): Change to posix-file-name-to-mac.
(mac_to_unix_pathname): Change to mac_to_posix_pathname.
(unix_to_mac_pathname): Change to posix_to_mac_pathname.
* src/macterm.c (do_ae_open_documents): Change call to
mac_to_unix_pathname to mac_to_posix_pathname.
Gerd Moellmann [Tue, 21 Aug 2001 12:58:07 +0000 (12:58 +0000)]
(gs-set-ghostview-colors-window-prop): Call
x-change-window-property with 3rd arg FRAME.
(gs-load-image): Wait for a previoius Ghostscript process
to complete before starting a new one.
Gerd Moellmann [Tue, 21 Aug 2001 10:42:27 +0000 (10:42 +0000)]
(access_keymap): If a binding of the form (GENERIC-CHAR
. BINDING) exists, where GENERIC-CHAR is the generic character of
the charset of IDX, return BINDING, unless there exists or binding
for IDX itself.
Andrew Choi [Tue, 21 Aug 2001 10:06:09 +0000 (10:06 +0000)]
2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* src/macterm.c (mac_scroll_area): Call CopyBits with local
coordinates and portBits instead of global coordinates and
screenBits. Set fore color and back color to black and white,
respectively, before calling CopyBits.