1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Richard M. Stallman
3b8c40f5ba Various optimizations. The main one is to optimize for
simple output at the end of the buffer, with no paging, and in that
case to defer scrolling while we can.
(term-emulate-terminal):  Don't call term-handle-scroll in
simple cases unless we are either paging or term-scroll-with-delete.
(term-down):  Likewise.
(term-handle-scroll):  Modify accordingly.
(term-emulate-terminal):  Avoid deleting old text in common case.
Optimize the simple case of CRLF when we're at buffer end.
Handle deferred scroll when done processing output.
(term-handle-deferred-scroll):  New function.
(term-down):  Simplify - no longer take RIGHT argument.  Tune.
(term-goto):  Use term-move-columns to compensate for the above.

(term-escape-char, term-set-escape-char):  Add doc-string.
(term-mouse-paste):  Add xemacs support.

Various speed enhencements:
(term-handle-scroll):  Don't clear term-current-row; maybe adjust it.
(term-down):  Don't call term-adjust-current-row-cache if we've
done term-handle-scroll.
(term-emulate-terminal):  Don't call term-adjust-current-row-cache.
(term-emulate-terminal):  For TAB, don't nil term-start-line-column.
(term-goto):  Possible optimization.
1995-06-14 22:30:16 +00:00
Karl Heuer
feb4aa21c8 (term-update-mode-line, term-process-pager): Use force-mode-line-update.
(term-pager-continue): Use force-mode-line-update.
1995-04-25 22:25:25 +00:00
Per Bothner
aade4ab28e (term-mouse-paste): Make work for xemacs. Minor GNU emacs fixes. 1995-03-16 02:23:24 +00:00
Per Bothner
5232b7532b (term-char-mode): Fix arrow key and [button2] support for xemacs. 1995-03-16 01:24:19 +00:00
Per Bothner
624f44f19f * term.el (term-eol-on-send): New variable. Use it.
(term-send-input):  Don't move process-mark until after 'history stuff.
1995-03-08 00:54:20 +00:00
Richard M. Stallman
d2d9b86c1c (term-protocol-version): Renamed from term-version. 1995-02-07 08:00:33 +00:00
Per Bothner
bfda79ab49 Version 0.95. Numerous small fixes. See ChangeLog. 1995-02-06 21:56:37 +00:00
Richard M. Stallman
7fee191284 (term-version): Increased to 0.94.
(term-if-emacs19, term-if-xemacs, term-ifnot-xemacs):  New macros
to conditionalize at compile-time for different emacs versions.
(various places):  Use them (instead of term-is-XXXX).
(term-is-emacs19):  Removed, no longer needed.

Change keybindings to not use C-c LETTER, for
term-char-mode, term-line-mode.  Keybindings for term-pager-enable
and term-pager-disable replaced by one for term-pager-toggle.
(term-pager-toggle):  New function.

(term-fake-pager-enable, term-fake-pager-disable):
Define as aliases, so that menubar code will find proper keybindings.
(term-char-mode):  Make no-op if already in char mode.
(term-line-mode):  Make no-op if already in line mode.
(term-mode-map):  Add keybinding for no-op term-line-mode, so
code to display menubar keybindings doesn't lose it.  (Needed
as long as char-mode and line-mode share term-terminal-menu.)
(term-raw-escape-map):  Likewise for term-char-mode.
(term-char-mode, term-line-mode):  Better documentation strings.

 Added menubar for pager sub-mode.

(term-command-hook):  Disabled the feature that allowed
inferior to send a lisp command to emacs - too big a security hole.
1995-01-22 02:21:32 +00:00
Richard M. Stallman
38550ee1d8 entered into RCS 1994-11-22 10:47:06 +00:00
Richard M. Stallman
41b9e2b568 *** empty log message *** 1994-10-19 03:55:13 +00:00
Richard M. Stallman
4060e6ee3b Initial revision 1994-10-13 06:30:49 +00:00