aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-07-11 18:39:28 +0000
committerPaul Eggert2011-07-11 18:39:28 +0000
commite9eb6f14fe334d0e37d2037c952e6541eeb242ad (patch)
tree7087ce37a1e6233093f80a4fa653e91a1f96529c /src
parente3c25c689524aa85ce37840fff344cc297cf42ec (diff)
parent07151e498ff9174518675e14b619aca4b8307733 (diff)
downloademacs-e9eb6f14fe334d0e37d2037c952e6541eeb242ad.tar.gz
emacs-e9eb6f14fe334d0e37d2037c952e6541eeb242ad.zip
Merge from trunk.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/term.c49
-rw-r--r--src/xdisp.c4
3 files changed, 10 insertions, 51 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c519100b2f0..b0913ab983c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -156,6 +156,14 @@
156 Use EMACS_INT, not EMACS_UINT, for sizes. The code works equally 156 Use EMACS_INT, not EMACS_UINT, for sizes. The code works equally
157 well either way, and we prefer signed to unsigned. 157 well either way, and we prefer signed to unsigned.
158 158
1592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
160
161 * xdisp.c (syms_of_xdisp): Make it explicit that the mini-windows
162 are the mini-buffer and the echo area (bug#3320).
163
164 * term.c (init_tty): Remove support for supdup, c10 and perq
165 terminals, which are no longer supported (bug#1482).
166
1592011-07-10 Johan Bockgård <bojohan@gnu.org> 1672011-07-10 Johan Bockgård <bojohan@gnu.org>
160 168
161 * xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check. 169 * xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
diff --git a/src/term.c b/src/term.c
index be23e547514..b9f10b122a7 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3505,55 +3505,6 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
3505 Down (tty) = 0; 3505 Down (tty) = 0;
3506 } 3506 }
3507 3507
3508 /* Special handling for certain terminal types known to need it */
3509
3510 if (!strcmp (terminal_type, "supdup"))
3511 {
3512 terminal->memory_below_frame = 1;
3513 tty->Wcm->cm_losewrap = 1;
3514 }
3515 if (!strncmp (terminal_type, "c10", 3)
3516 || !strcmp (terminal_type, "perq"))
3517 {
3518 /* Supply a makeshift :wi string.
3519 This string is not valid in general since it works only
3520 for windows starting at the upper left corner;
3521 but that is all Emacs uses.
3522
3523 This string works only if the frame is using
3524 the top of the video memory, because addressing is memory-relative.
3525 So first check the :ti string to see if that is true.
3526
3527 It would be simpler if the :wi string could go in the termcap
3528 entry, but it can't because it is not fully valid.
3529 If it were in the termcap entry, it would confuse other programs. */
3530 if (!tty->TS_set_window)
3531 {
3532 const char *m = tty->TS_termcap_modes;
3533 while (*m && strcmp (m, "\033v "))
3534 m++;
3535 if (*m)
3536 tty->TS_set_window = "\033v%C %C %C %C ";
3537 }
3538 /* Termcap entry often fails to have :in: flag */
3539 terminal->must_write_spaces = 1;
3540 /* :ti string typically fails to have \E^G! in it */
3541 /* This limits scope of insert-char to one line. */
3542 strcpy (area, tty->TS_termcap_modes);
3543 strcat (area, "\033\007!");
3544 tty->TS_termcap_modes = area;
3545 area += strlen (area) + 1;
3546 p = AbsPosition (tty);
3547 /* Change all %+ parameters to %C, to handle
3548 values above 96 correctly for the C100. */
3549 while (*p)
3550 {
3551 if (p[0] == '%' && p[1] == '+')
3552 p[1] = 'C';
3553 p++;
3554 }
3555 }
3556
3557 tty->specified_window = FrameRows (tty); 3508 tty->specified_window = FrameRows (tty);
3558 3509
3559 if (Wcm_init (tty) == -1) /* can't do cursor motion */ 3510 if (Wcm_init (tty) == -1) /* can't do cursor motion */
diff --git a/src/xdisp.c b/src/xdisp.c
index a4a9e236a9e..490b23891af 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26846,13 +26846,13 @@ but does not change the fact they are interpreted as raw bytes. */);
26846 unibyte_display_via_language_environment = 0; 26846 unibyte_display_via_language_environment = 0;
26847 26847
26848 DEFVAR_LISP ("max-mini-window-height", Vmax_mini_window_height, 26848 DEFVAR_LISP ("max-mini-window-height", Vmax_mini_window_height,
26849 doc: /* *Maximum height for resizing mini-windows. 26849 doc: /* *Maximum height for resizing mini-windows (the minibuffer and the echo area).
26850If a float, it specifies a fraction of the mini-window frame's height. 26850If a float, it specifies a fraction of the mini-window frame's height.
26851If an integer, it specifies a number of lines. */); 26851If an integer, it specifies a number of lines. */);
26852 Vmax_mini_window_height = make_float (0.25); 26852 Vmax_mini_window_height = make_float (0.25);
26853 26853
26854 DEFVAR_LISP ("resize-mini-windows", Vresize_mini_windows, 26854 DEFVAR_LISP ("resize-mini-windows", Vresize_mini_windows,
26855 doc: /* *How to resize mini-windows. 26855 doc: /* *How to resize mini-windows (the minibuffer and the echo area).
26856A value of nil means don't automatically resize mini-windows. 26856A value of nil means don't automatically resize mini-windows.
26857A value of t means resize them to fit the text displayed in them. 26857A value of t means resize them to fit the text displayed in them.
26858A value of `grow-only', the default, means let mini-windows grow 26858A value of `grow-only', the default, means let mini-windows grow