[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax highlighting
From: |
Emanuel Berg |
Subject: |
Re: syntax highlighting |
Date: |
Tue, 18 Nov 2014 03:00:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Bob Proulx <bob@proulx.com> writes:
> I rather dislike controls that toggle. Whether they
> are programmatic interfaces or physical buttons.
In programming they shouldn't be because of the state
problem you bring up.
I myself don't have a problem with hitting physical
buttons twice, but I agree an on/off physical switch
is optimal, however with computing you have the
keyboard to do everything - and even if you could have
dedicated, specialized hardware for everything that
would be to slow because you would have to move your
hands between the throttles and switches and then back
to typing position.
But: how about toggling not with a key, but an M-x
command?
An example I can give you straight from the holster is
the mode line. I don't care for the major mode to
show, because I know them by now. So I have it not
shown. But sometimes I don't know for a new mode and
then I want to know. Whenever so, I have a M-x command
("modes") to have it show up in the mode line (only
for that buffer). That's toggling just the same but I
don't do it often enough to bind it to a key.
Check it out:
http://user.it.uu.se/~embe8573/conf/emacs-init/mode-line.el
--
underground experts united
- Re: syntax highlighting, (continued)
- Re: syntax highlighting, Emanuel Berg, 2014/11/16
- Message not available
- Re: syntax highlighting, M P, 2014/11/16
- Re: syntax highlighting, Robert Thorpe, 2014/11/16
- Re: syntax highlighting, Bob Proulx, 2014/11/17
- Re: syntax highlighting, Bruno Félix Rezende Ribeiro, 2014/11/17
- Re: syntax highlighting, Stefan Monnier, 2014/11/17
- Re: syntax highlighting, Bob Proulx, 2014/11/17
- Re: syntax highlighting, Bruno Félix Rezende Ribeiro, 2014/11/18
- Re: syntax highlighting, Bob Proulx, 2014/11/18
- Message not available
- Re: syntax highlighting, Emanuel Berg, 2014/11/17
- Message not available
- Re: syntax highlighting,
Emanuel Berg <=
Re: syntax highlighting, Robert Thorpe, 2014/11/16