Gerd Moellmann [Wed, 16 Aug 2000 12:14:15 +0000 (12:14 +0000)]
(write_glyphs): Also turn off inverse video after turning
off other appearances in case TS_exit_attribute_mode is not equal
to TS_end_standout_mode.
(insert_glyphs): Turn inverse video on/off for each run of glyphs
with the same face.
(turn_off_face): Reset standout_mode only if
TS_exit_attribute_mode has been output and TS_exit_attribute_mode
is equal to TS_end_standout_mode.
Kenichi Handa [Wed, 16 Aug 2000 01:37:20 +0000 (01:37 +0000)]
(MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted.
(conversion_buffer, conversion_buffer_size): Variables deleted.
(get_conversion_buffer): Function deleted.
(struct conversion_buffer): New structure.
(MAX_ALLOCA): New macro.
(allocate_conversion_buffer): New macro.
(extend_conversion_buffer, free_conversion_buffer): New functions.
(ccl_coding_driver): Set coding->result.
(decode_coding): Set coding->result to CODING_FINISH_NORMAL if
this is the last block of source.
(encode_coding): Likewise. Handle the source block as the last
one only when the whole source text is consumed.
(decode_coding_string): Handle the case that the output buffer is
too small to decode the whole source text. Use
allocate_conversion_buffer, extend_conversion_buffer and
free_conversion_buffer, not get_conversion_buffer.
(encode_coding_string): Likewise.
(init_coding): Function deleted.
(init_coding_once): Delete code to initialize
conversion_buffer_size.
Gerd Moellmann [Tue, 15 Aug 2000 21:28:08 +0000 (21:28 +0000)]
(list-buffers-noselect): Set `buffer' as well as
'buffer-menu' property.
(Buffer-menu-buffer): Use `buffer' property if `buffer-name'
fails.
(Buffer-menu-execute): When deleting, test `(and buf (buffer-name
buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
wasn't killed.
Dave Love [Tue, 15 Aug 2000 14:04:13 +0000 (14:04 +0000)]
(glasses) <defgroup>: Add :version.
(glasses-custom-set): Use set-default, not set.
(minor-mode-alist): Propertize the lighter.
(glasses-mode): Provide optional arg.
Dave Love [Tue, 15 Aug 2000 13:44:37 +0000 (13:44 +0000)]
(cwarn) <defgroup>: Add :version, :link.
(global-cwarn-mode): Don't make it a user option. Unquote lambda.
(cwarn-font-lock-feature-keywords-alist): Don't make it a user
option. Provide :type.
(cwarn-configuration): Provide :type.
(cwarn-mode): Doc fix.
Dave Love [Tue, 15 Aug 2000 11:19:13 +0000 (11:19 +0000)]
(msb--few-menus, msb--very-many-menus): Use current Gnus
modes.
(msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
Fix previous change to mapcan.
(msb--init-file-alist, msb--add-separators)
(msb--make-keymap-menu): Simplify.
(msb--choose-file-menu): Use copy-sequence.
(msb-mode-map): Add title to keymap.
(msb-unload-hook): New function.
Dave Love [Tue, 15 Aug 2000 11:17:17 +0000 (11:17 +0000)]
(browse-url-filename-alist): Add a clause for
Doze and Dog.
(browse-url): Use dolist, not mapcar.
(browse-url-at-point): Check for null url.
(browse-url-event-buffer, browse-url-event-point): Functions
deleted.
(browse-url-at-mouse, browse-url-netscape): Simplify.
Eli Zaretskii [Fri, 11 Aug 2000 13:10:55 +0000 (13:10 +0000)]
(Info-find-emacs-command-nodes): Rewrite to use
technique similar to Info-index, instead of relying on specific
names of relevant Index nodes.
(Info-goto-emacs-command-node): Bind Info-history to nil when
going to the first node found by Info-find-emacs-command-nodes.
Gerd Moellmann [Fri, 11 Aug 2000 12:59:31 +0000 (12:59 +0000)]
(hashfn_eq, hashfn_eql): Don't handle strings specially
since they aren't relocated anymore.
(sxhash_string): Make sure returned hash code fits in a Lisp
integer.
Kenichi Handa [Fri, 11 Aug 2000 05:44:50 +0000 (05:44 +0000)]
(CCL_READ_CHAR): If source is multibyte, pay attention to
the multibyte form of eight-bit-control characters.
(Fccl_execute_on_string): Initialize ccl->multibyte.
Kenichi Handa [Fri, 11 Aug 2000 00:49:39 +0000 (00:49 +0000)]
Include coding.h.
(XTread_socket): Work around a bug of XmbLookupString. If the
input is from XIM, decode it according to the current locale. In
that case, generate multibyte_char_keystroke events.
Gerd Moellmann [Thu, 10 Aug 2000 19:17:01 +0000 (19:17 +0000)]
(trace_move) [GLYPH_DEBUG]: New variable.
(TRACE_MOVE) [GLYPH_DEBUG]: New macro.
(move_it_in_display_line_to): Record iterator's ascent and descent
before producing glyphs, and restore them when we know the glyph
doesn't fit on the line.
(move_it_to): Restructured so that it's easier to debug. If
moving to a vpos, and not moving to an x or character position,
stop as soon as the specified vpos is reached; don't move further
into that line because that might change the computed line height.
(try_cursor_movement): New function, extracted from the cursor
movement branch of redisplay_window. If ending on a partially
visible line, don't try to scroll if the cursor line is taller
than the window.
(redisplay_window): Use try_cursor_movement.