[Top][All Lists]
[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 20:07:51 -0700 |
"Richard M. Stallman" <address@hidden> writes:
> (if (and (getenv "COLORTERM")
> (string-match "\\`rxvt" (getenv "COLORTERM")))
> (load "term/rxvt")
>
> THE REST OF TERM/XTERM.EL
> )
>
> This approach may be good, but that is an ugly way to do it. Most of
> the code either is, or could be put, into functions. Only the CALLS
> to these functions should be conditional.
Sure, I can put the code into functions.
This actually brings us a step closer to another proposal that is
needed for the multi-tty branch: each one of the term/*.el files
should define an autoloaded function called
TERMNAME-initialize-terminal. Then when emacs wants to initialize a
terminal TERMNAME it does something like:
(if (fboundp 'TERMNAME-initialize-terminal)
(TERMNAME-initialize-terminal))
instead of having the terminal initialization performed (as it is
currently done) by doing (load "term/TERMNAME")
- Re: rxvt vs xterm keybindings, (continued)
- Re: rxvt vs xterm keybindings, Jan D., 2005/07/27
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/23
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Stefan Monnier, 2005/07/23
- Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/24
Re: rxvt vs xterm keybindings, Stefan Monnier, 2005/07/22
Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/22
- Re: rxvt vs xterm keybindings,
Dan Nicolaescu <=
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/23
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Stefan Monnier, 2005/07/23
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/23
Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/23
Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/25
Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/26
Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/26
Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/26