Mercurial > emacs
comparison README.multi-tty @ 83074:34a7a8f40548
Fix background-mode on terminal frames (Dan Nicolaescu).
lisp/faces.el (frame-set-background-mode): Guess the background mode
on terminal frames from the termcap type string.
(tty-create-frame-with-faces): Switch to the new frame during its setup.
Load the customization library corresponding to the terminal type of the
newly created frame. (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)
lisp/startup.el (normal-top-level): Moved background-mode heuristic to
frame-set-background-mode.
src/dispnew.c (init_display): Update the tty-type frame parameter of
the initial terminal frame.
src/frame.h (Qtty, Qtty_type): New externs.
src/term.c (term_init): Update comments.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-114
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 11 Mar 2004 01:11:38 +0000 |
parents | dceddd93a691 |
children | 5eaa708b8d47 |
comparison
equal
deleted
inserted
replaced
83073:ced0b1beba09 | 83074:34a7a8f40548 |
---|---|
183 | 183 |
184 ** Emacs assumes that all terminal frames have the same locale | 184 ** Emacs assumes that all terminal frames have the same locale |
185 settings as Emacs itself. This may lead to bogus results in a | 185 settings as Emacs itself. This may lead to bogus results in a |
186 multi-locale setup. (E.g., while logging in from a remote client | 186 multi-locale setup. (E.g., while logging in from a remote client |
187 with a different locale.) | 187 with a different locale.) |
188 | |
189 ** Change Lisp code not to (getenv "TERM"); use the `tty-type' frame | |
190 parameter or the frame-tty-type function instead. | |
191 (M-x tags-search "TERM" helps with this.) | |
192 | |
193 ** The terminal customization files in term/*.el tend to change global | |
194 parameters, which may confuse Emacs with multiple displays. Change | |
195 them to tweak only frame-local settings, if possible. | |
188 | 196 |
189 ** Dan Nicolaescu suggests that -nw should be added as an alias for -t | 197 ** Dan Nicolaescu suggests that -nw should be added as an alias for -t |
190 in emacsclient. Good idea. (Alas, implementing this is not | 198 in emacsclient. Good idea. (Alas, implementing this is not |
191 trivial, getopt_long does not seem to support two-letter ``short'' | 199 trivial, getopt_long does not seem to support two-letter ``short'' |
192 options.) | 200 options.) |