From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Karr Newsgroups: gmane.emacs.help Subject: Re: How to get "electric" behavior in completions buffer? Date: Fri, 6 Mar 2009 15:34:00 -0800 Message-ID: <6824847a0903061534t12abae30ma9a0e3b066bb3dfa@mail.gmail.com> References: <6824847a0903061049w79172606o5f078aae38114941@mail.gmail.com> <1FDB0BA3-E403-46CB-B25B-854709B61B14@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636e0b56a2a325604647bb849 X-Trace: ger.gmane.org 1236405331 5283 80.91.229.12 (7 Mar 2009 05:55:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 05:55:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 06:56:45 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LfpWe-0007cn-Hv for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 06:56:44 +0100 Original-Received: from localhost ([127.0.0.1]:43916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfpVI-0008T7-Uf for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 00:55:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfjYK-0000Xl-MX for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:34:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfjYI-0000XY-Bp for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:34:03 -0500 Original-Received: from [199.232.76.173] (port=52813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfjYI-0000XV-7n for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:34:02 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.175]:22767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfjYH-0005Wp-OO for help-gnu-emacs@gnu.org; Fri, 06 Mar 2009 18:34:02 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so734481wfc.24 for ; Fri, 06 Mar 2009 15:34:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jwCcFTTPCy0YXz53CtAtP0aBPC6RV2I585DqOSwkMxw=; b=PSRPrV1Lbfuf02m2EyEPfhtJyG9ASUr8WsIHJ2HoX2OYMa+d50KE7DHhj05X0k8BJF Q5kwugSI2WdL9ZBY+wREdYS3hbFaQ2wwYMo6dT0BxxuUxUBP/viFOa4kj5W1bKkgTg2/ wOBP5IqrALBcdnBGy4q/s1boDPbiNGW8n74/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EvM6JxDA25OuSLGjk/cnHpzvzyWXoWP2kr4pxJ9mkujPLwf3mbL4vwytF0NVkeRBHd j6tq0VbpHrROPRQ1FJUFeis/QO/R99SbWbubpoMJMP5Rx+5hTYlOXz2gcselncbs5Xlh oujOlaLSyzr1Bn01BOo+OmhrjUxAbt0cfYXN4= Original-Received: by 10.143.2.19 with SMTP id e19mr1312396wfi.96.1236382440370; Fri, 06 Mar 2009 15:34:00 -0800 (PST) In-Reply-To: <1FDB0BA3-E403-46CB-B25B-854709B61B14@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 07 Mar 2009 00:54:55 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62714 Archived-At: --001636e0b56a2a325604647bb849 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Fri, Mar 6, 2009 at 3:10 PM, Peter Dyballa 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. --001636e0b56a2a325604647bb849 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Mar 6, 2009 at 3:10 PM, Peter Dyballa <Peter_Dyballa@w= eb.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 ma= ke it go
away.


You don't see "Type space to flush ..." in echo area? Or is t= his non-electric steamy behaviour?

Ah, well, now I see that most occurrences of = this buffer do work that way (space to flush).=A0 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 w= o" and press TAB.=A0 In my example, I have directories "work"= ; and "workspace" in that directory, so it completes "work&q= uot;, but then I press TAB to get the completion buffer.=A0 At that point, = if I press space it will clear the complete buffer, but if I do anything el= se, 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 afte= r 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.
--001636e0b56a2a325604647bb849--