[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: menu system in recent Emacs?
From: |
Ted Zlatanov |
Subject: |
Re: menu system in recent Emacs? |
Date: |
Wed, 02 May 2012 20:53:31 -0400 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) |
On Thu, 03 May 2012 01:52:50 +0200 Thien-Thi Nguyen <address@hidden> wrote:
TN> () Ted Zlatanov <address@hidden>
TN> () Wed, 02 May 2012 17:34:38 -0400
TN> Also it's hard to insert explanatory text [...].
TN> Can that be done somehow? I don't see a way.
TN> You can include that text in the prompt, with newlines for readability.
TN> (completing-read "Here are some choices:\n- A\t- B\n- C\t- D\nChoose one: "
TN> '("A" "B" "C" "D"))
I see, it's obvious now that you point it out :) I can use that.
I would really like it to show the list of choices immediately, as if
the user pressed `TAB'. Can that be fed into the function somehow as a
synthetic keypress? I'd prefer to avoid modifying `completing-read' in
the source, so my code will work with older Emacsen as well.
Ted
- Re: auth-source change default spec, (continued)
- Re: auth-source change default spec, Tim Cross, 2012/05/01
- Re: auth-source change default spec, Ted Zlatanov, 2012/05/02
- Re: menu system in recent Emacs?, Tassilo Horn, 2012/05/02
- Re: menu system in recent Emacs?, Ted Zlatanov, 2012/05/02
- Re: menu system in recent Emacs?, Eric Schulte, 2012/05/02
- Re: menu system in recent Emacs?, Ted Zlatanov, 2012/05/02
- Re: menu system in recent Emacs?, Thien-Thi Nguyen, 2012/05/02
- Re: menu system in recent Emacs?,
Ted Zlatanov <=
- Re: menu system in recent Emacs?, Thien-Thi Nguyen, 2012/05/02
- Re: menu system in recent Emacs?, Ted Zlatanov, 2012/05/02
- Re: menu system in recent Emacs?, Thierry Volpiatto, 2012/05/03
- Re: menu system in recent Emacs?, Thierry Volpiatto, 2012/05/03
- Re: menu system in recent Emacs?, Thien-Thi Nguyen, 2012/05/03
- Re: menu system in recent Emacs?, Thierry Volpiatto, 2012/05/03
- Re: menu system in recent Emacs?, Stefan Monnier, 2012/05/03
- Re: menu system in recent Emacs?, Stefan Reichör, 2012/05/03
- Re: menu system in recent Emacs?, Ted Zlatanov, 2012/05/03
- Re: auth-source change default spec, Tim Cross, 2012/05/03