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.
Miles Bader [Mon, 7 Aug 2000 14:52:52 +0000 (14:52 +0000)]
(sql-magic-go): Use comint-bol instead of explicitly matching
comint-prompt-regexp.
(sql-copy-column): Use comint-line-beginning-position instead of
explicitly matching comint-prompt-regexp.
Miles Bader [Mon, 7 Aug 2000 14:50:09 +0000 (14:50 +0000)]
(comint-use-prompt-regexp-instead-of-fields): New variable.
(comint-prompt-regexp, comint-get-old-input): Document dependence on
comint-use-prompt-regexp-instead-of-fields.
(comint-send-input): Add `input' field property to stuff we send to
the process, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-output-filter): Add `output' field property to process
output, if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-replace-by-expanded-history)
(comint-get-old-input-default, comint-show-output)
(comint-backward-matching-input, comint-forward-matching-input)
(comint-next-prompt, comint-previous-prompt): Use field
properties if comint-use-prompt-regexp-instead-of-fields is nil.
(comint-line-beginning-position): New function.
(comint-bol): Use comint-line-beginning-position. Make ARG optional.
(comint-replace-by-expanded-history-before-point): Use
comint-line-beginning-position and line-end-position.
(comint-last-output-overlay): New variable.
(comint-mode): Make `comint-last-output-overlay' buffer-local.