* How to get "electric" behavior in completions buffer?
@ 2009-03-06 18:49 David Karr
2009-03-06 23:10 ` Peter Dyballa
0 siblings, 1 reply; 4+ messages in thread
From: David Karr @ 2009-03-06 18:49 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
In my previous lives using various Emacsen, I seemed to remember that when a
completions buffer came up, I could press "q" in the buffer to make it go
away. This works for other buffers ("Help" buffers, for instance). Is it
practical to set this up in GNU Emacs (I no longer ask if things are
"possible" in Emacs, as there's not much point to that.)? I've searched
through the various documentation, but I can't find anything like this.
[-- Attachment #2: Type: text/html, Size: 486 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get "electric" behavior in completions buffer?
2009-03-06 18:49 How to get "electric" behavior in completions buffer? David Karr
@ 2009-03-06 23:10 ` Peter Dyballa
2009-03-06 23:34 ` David Karr
0 siblings, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2009-03-06 23:10 UTC (permalink / raw)
To: David Karr; +Cc: help-gnu-emacs
Am 06.03.2009 um 19:49 schrieb David Karr:
> In my previous lives using various Emacsen, I seemed to remember
> that when a
> completions buffer came up, I could press "q" in the buffer to make
> it go
> away.
You don't see "Type space to flush ..." in echo area? Or is this non-
electric steamy behaviour?
--
Greetings
Pete
It's not the valleys in life I dread so much as the dips.
– Garfield
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get "electric" behavior in completions buffer?
2009-03-06 23:10 ` Peter Dyballa
@ 2009-03-06 23:34 ` David Karr
2009-03-07 0:12 ` Peter Dyballa
0 siblings, 1 reply; 4+ messages in thread
From: David Karr @ 2009-03-06 23:34 UTC (permalink / raw)
To: Peter Dyballa; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
On Fri, Mar 6, 2009 at 3:10 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 06.03.2009 um 19:49 schrieb David Karr:
>
> In my previous lives using various Emacsen, I seemed to remember that when
>> a
>> completions buffer came up, I could press "q" in the buffer to make it go
>> away.
>>
>
>
> You don't see "Type space to flush ..." in echo area? Or is this
> non-electric steamy behaviour?
>
Ah, well, now I see that most occurrences of this buffer do work that way
(space to flush). When I saw this question I had to spend a little time
figuring out how I was getting this.
I realized that this happens to me in shell buffers, when I type "cd wo" and
press TAB. In my example, I have directories "work" and "workspace" in that
directory, so it completes "work", but then I press TAB to get the
completion buffer. At that point, if I press space it will clear the
complete buffer, but if I do anything else, like ENTER because I decided the
current one was the one I wanted, then I lose the chance to easily dismiss
the completion buffer.
It seems awkward that I lose the "space to flush" option after pressing a
key, but I can't see a better way to do it. I guess I'll just have to get
into the right habit.
[-- Attachment #2: Type: text/html, Size: 1796 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get "electric" behavior in completions buffer?
2009-03-06 23:34 ` David Karr
@ 2009-03-07 0:12 ` Peter Dyballa
0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2009-03-07 0:12 UTC (permalink / raw)
To: David Karr; +Cc: help-gnu-emacs
Am 07.03.2009 um 00:34 schrieb David Karr:
> At that point, if I press space it will clear the
> complete buffer, but if I do anything else, like ENTER because I
> decided the
> current one was the one I wanted, then I lose the chance to easily
> dismiss
> the completion buffer.
Is your PC's RAM limited to some kB? Then it might be thoughtful to
take care of the *Completions* buffer.
Mostly I am successful in creating other buffers of the same name,
but until know I either had no or just one *Completions* buffer in
GNU Emacs. I guess I should try harder to get more of them ...
--
Greetings
Pete
And always remember the last words of my grandfather, who said: “A
truck!”
— Emo Phillips
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-07 0:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 18:49 How to get "electric" behavior in completions buffer? David Karr
2009-03-06 23:10 ` Peter Dyballa
2009-03-06 23:34 ` David Karr
2009-03-07 0:12 ` Peter Dyballa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.