[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switch-to-completions
From: |
Stefan Monnier |
Subject: |
Re: switch-to-completions |
Date: |
Wed, 18 Nov 2009 20:12:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> I'm not sure what function should take care about finding the right place
> since creation of the *Completions* buffer is shared among several functions:
> `display-completion-list' inserts the text "Possible completions are:\n",
> `completion-setup-function' inserts the help text with one newline or
> two newlines depending on `(display-mouse-p)' or no help text if
> `completion-show-help' is nil.
Good point, maybe minibuffer-completion-help is not the best place, but
it's closer than switch-to-completions.
> And there are many packages that
> don't call `minibuffer-completion-help' - they use something like
> (with-output-to-temp-buffer "*Completions*" (display-completion-list ...
Yes, this redundancy sucks, but it's another problem.
> Maybe `switch-to-completions' should simply call `(next-completion 1)'?
> It seems this is the most reliable way to move point to the first completion.
Fine by me. Install your patch for now, but please include a comment
explaining that the cursor-movement should really be done elsewhere.
Stefan
- Re: Backward completions, (continued)
- Re: Backward completions, Juri Linkov, 2009/11/18
- Re: Backward completions (was: Vertical completions), Dan Nicolaescu, 2009/11/18
- Re: Backward completions, Juri Linkov, 2009/11/19
- Re: Backward completions, Dan Nicolaescu, 2009/11/19
- RE: Backward completions, Drew Adams, 2009/11/19
- Re: Backward completions, Dan Nicolaescu, 2009/11/19
- RE: Backward completions, Drew Adams, 2009/11/19
- switch-to-completions (was: Vertical completions), Juri Linkov, 2009/11/18
- Re: switch-to-completions, Stefan Monnier, 2009/11/18
- Re: switch-to-completions, Juri Linkov, 2009/11/18
- Re: switch-to-completions,
Stefan Monnier <=
- Re: Vertical completions (was: completions - remove window after use?), Štěpán Němec, 2009/11/12
- Re: Vertical completions (was: completions - remove window after use?), Eli Zaretskii, 2009/11/12
- Re: Vertical completions (was: completions - remove window after use?), Lennart Borgman, 2009/11/12
- Re: completions - remove window after use?, Lluís, 2009/11/12
- Re: completions - remove window after use?, David Reitter, 2009/11/12
- Re: completions - remove window after use?, Stefan Monnier, 2009/11/12
- Re: completions - remove window after use?, Richard Stallman, 2009/11/13
Re: completions - remove window after use?, Xavier Maillard, 2009/11/11
Re: completions - remove window after use?, martin rudalics, 2009/11/12