> Cc: Eli Zaretskii <[EMAIL PROTECTED]>, [email protected]
> From: Stefan Monnier <[EMAIL PROTECTED]>
> Date: Fri, 22 Jul 2005 17:40:27 -0400
> 
> - start a shell in an rxvt
> - in the shell, type "xterm& RET"
> - in the xterm, start "emacs -nw"
> - in the Emacs you just started, I expect that (getenv "COLORTERM") matches
>   "\\`rxvt", so your code will wrongly think it's running in an rxvt whereas
>   it's actually running in an xterm.

This is IMHO an extremely rare situation.  If we are worried about it,
we should find a solution for this situation alone, instead of
punishing the more frequent cases.

> I'd rather output a warning telling the user that she should not use
> TERM=xterm when running in an rxvt.

Such a warning during startup will almost certainly go unnoticed, as
many echo area messages are likely to be displayed then one after the
other.

If we are looking for a warning-style solution, I'd rather do that in
your scenario of running xterm from within Emacs.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to