emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: rxvt vs xterm keybindings


From: Dan Nicolaescu
Subject: Re: rxvt vs xterm keybindings
Date: Fri, 22 Jul 2005 14:58:43 -0700

Stefan Monnier <address@hidden> writes:

  > >> > How about we put something like that at the beginning of term/xterm.el
  > >> > and do 
  > >> > 
  > >> > (if (and (getenv "COLORTERM")
  > >> >      (string-match "\\`rxvt" (getenv "COLORTERM")))
  > >> >      (load "term/rxvt")
  > 
  > Let's say you have the following scenario:
  > 
  > - 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.

True, but IMHO this is a _very_ unlikely scenario. 

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

If you prefer this way... but please consider my previous message
before making a final decision. 




reply via email to

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