emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: C-c / r key-setting bug (?)


From: Andreas Röhler
Subject: [Orgmode] Re: C-c / r key-setting bug (?)
Date: Thu, 21 Oct 2010 16:53:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6

Am 21.10.2010 16:31, schrieb Carsten Dominik:

On Oct 21, 2010, at 4:11 PM, Andreas Röhler wrote:

Am 21.10.2010 16:04, schrieb Carsten Dominik:

On Oct 21, 2010, at 3:34 PM, Andreas Röhler wrote:

Am 21.10.2010 15:00, schrieb Carsten Dominik:

On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:

[ ... ]
C-c / will prompt for another key and then dispatch depending on
that
key.
Many do.

Hmm, that would fit into the already mentioned coding-style
category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?

Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just
`C-c
/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then
you
want to have the real command names. This is one of the reasons
why I
like to have them in the manual, for look up.


Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)

I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.


OK, but can't you make it known to the keymap?

No, I cannot.

- Carsten





Ah, we can, I'm sure.
Let's assume you assigned the same keys to different commands.
Somehow Emacs must discriminate the states where the one or the other
are to use.
So let's call these states modes, make a keymap for it, no?

Hi Andreas,

We could make C-c / a prefix and define the other commands in the
keymap of the prefix command. But this would defeat the purpose of the
dispatcher with its friendly prompt etc.

In fact, I do not want describe-mode to show all these. I have thought
carefully about this.

- Carsten

OK, you are the mastermind :-)

There is a bug-report still an-responded.

Been sent with mail at 14:42

Missing org-occur, no key displayed as expected.

Andreas





reply via email to

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