[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16988: 24.3.50; emacs -nw -Q --eval '(kill-emacs)' takes 2 seconds u

From: Stefan Monnier
Subject: bug#16988: 24.3.50; emacs -nw -Q --eval '(kill-emacs)' takes 2 seconds unless I hit a key
Date: Wed, 26 Mar 2014 08:46:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> +        ;; gnome-terminal pretends to be xterm but lacks some of its
> +        ;; more recent features.  See bug#16988.
> +        (let ((colorterm (getenv "COLORTERM" (selected-frame))))
> +          (when (and colorterm
> +                     (string-match "\\`gnome-terminal" colorterm))
> +            (setq version 200)))

As a matter of fact, all my xterms have "COLORTERM = gnome-terminal", so
the above ends up running even though I'm in a plain uptodate xterm
rather than in a gnome-terminal.

This is probably not the usual situation (it's a result of some silly
way I log in), but it does point to the fact that xterm itself does not
reset COLORTERM, so it's not a reliable indicator.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]