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.
Miles Bader [Thu, 10 Aug 2000 10:54:40 +0000 (10:54 +0000)]
(gud-filter): Use `with-current-buffer' instead of save-excursion when
inserting the output, so that point gets updated correctly; the old
method relied on a rather dodgy side-effect of comint-output-filter to
avoid the effect of save-excursion.
Miles Bader [Thu, 10 Aug 2000 10:52:29 +0000 (10:52 +0000)]
(comint-send-input): Make the newline boundary overlay rear-nonsticky.
Use `insert' instead of `insert-before-markers'.
(comint-output-filter): Use `insert' instead of `insert-before-markers'.
Extend comint-last-output-overlay when necessary since we can't rely on
insert-before-markers to do it.
Miles Bader [Thu, 10 Aug 2000 10:35:40 +0000 (10:35 +0000)]
(comint-highlight-prompt, comint-highlight-prompt-face)
(comint-last-prompt-overlay): New variables.
(comint-output-filter): Implement prompt highlighting.
(comint-snapshot-last-prompt): New function.
(comint-send-input): Snapshot the last prompt.
Use comint-highlight-input-face.
(comint-highlight-input-face): Renamed from `comint-highlight-face'.
Use defface instead of defcustom.
(send-invisible, comint-send-eof): Snapshot the last prompt.
(comint-delchar-or-maybe-eof): Use comint-send-eof.
(comint-mode): Make `comint-last-prompt-overlay' buffer-local.
Eli Zaretskii [Thu, 10 Aug 2000 06:45:57 +0000 (06:45 +0000)]
(IT_note_mouse_highlight): Update the calls to overlays_at.
(toplevel) <kbd_buffer_store_event>: Remove prototype, it's
redundant now that keyboard.h is included.
Gerd Moellmann [Wed, 9 Aug 2000 18:39:58 +0000 (18:39 +0000)]
(Qredisplay_dont_pause): New variable.
(syms_of_display): Initialize and staticpro it.
(update_frame_1): Don't interrupt the display for pending input if
redisplay_dont_pause is set.
Stefan Monnier [Wed, 9 Aug 2000 15:49:33 +0000 (15:49 +0000)]
(make-bool-vector): Remove.
(regexp-opt-group): Use a list of chars for `letters'.
(regexp-opt-charset): `chars' is now a list of chars.
Use a char-table rather than a vector so it works for multibyte chars.
Stefan Monnier [Wed, 9 Aug 2000 15:28:06 +0000 (15:28 +0000)]
(cvs-menu): Don't move point. Use popup-menu.
Set cvs-minor-current-files to the selected fileinfo.
(cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
(cvs-mode-insert): Manually macroexpand `ignore-errors'.
Eli Zaretskii [Wed, 9 Aug 2000 12:26:13 +0000 (12:26 +0000)]
Include keyboard.h.
(XMenuActivate): Empty no_event events from the event buffer. If
no events are left after that, call clear_input_pending.
(mouse_clear_clicks): New function, code moved from mouse_init.
(mouse_init, XMenuActivate): Call mouse_clear_clicks to force the
mouse driver to ``forget'' any past clicks.
Gerd Moellmann [Tue, 8 Aug 2000 18:29:49 +0000 (18:29 +0000)]
(Info-insert-dir): Use Info-additional-directory-list if
non-nil.
(Info-file-list-for-emacs): Remove "info" from the list because
that leads to trying to use the documentation from file `info'
in various situations where it isn't appropriate, for instance
C-h C-k C-h i.
Ken Raeburn [Tue, 8 Aug 2000 14:36:34 +0000 (14:36 +0000)]
(message_dolog): Save and protect string "*Messages*" to reuse as buffer name,
instead of recreating (and discarding) every time a message is logged.
(with_echo_area_buffer): Make callback arg A2 a lisp object.
(current_message_1, truncate_message_1, set_message_1, display_echo_area_1,
resize_mini_window_1): Signatures changed.
(current_message, truncate_echo_area, display_echo_area,
resize_echo_area_axactly): Changed calls.
Ken Raeburn [Tue, 8 Aug 2000 14:34:05 +0000 (14:34 +0000)]
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
(Ffind_coding_systems_region_internal): First argument to Fappend must be an
integer, not a lisp object.
Gerd Moellmann [Tue, 8 Aug 2000 12:18:17 +0000 (12:18 +0000)]
(print-help-return-message): When
display-buffer-reuse-frames is set, let the help window been quit,
instead of deleting it, which might delete a reused frame.
Kenichi Handa [Tue, 8 Aug 2000 01:39:26 +0000 (01:39 +0000)]
(quail-define-rules): Handle Quail decode
map correctly. Add code for supporting annotations.
(quail-install-decode-map): New function.
(quail-defrule-internal): New optional arguments decode-map and
props.
(quail-advice): New function.
Gerd Moellmann [Mon, 7 Aug 2000 21:52:14 +0000 (21:52 +0000)]
(start_display): WHen starting display on a continuation
line, clear ascent and descent members of the iterator structure;
the height of the continued line does not affect the height of the
continuation line.
(make_cursor_line_fully_visible): Do nothing if cursor is on a
line taller than the window.
(redisplay_window) <forced window start>: Handle case that the
middle of the window is not found in any row.
(dump_glyph_row): Show more information.
(compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the
first text line in a glyph matrix.