From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: C-r and C-s in minibuffer should search completion Date: Sat, 29 Mar 2008 14:30:41 +0200 Organization: JURTA Message-ID: <877iflk8zy.fsf@jurta.org> References: <87fxul194g.fsf@jurta.org> <200803290100.m2T10S3j007668@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206794849 3329 80.91.229.12 (29 Mar 2008 12:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 12:47:29 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Xavier Maillard Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 13:48:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfaTW-00059B-EO for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 13:47:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfaSu-0005Ak-Sf for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 08:47:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfaS8-0004KG-UV for emacs-devel@gnu.org; Sat, 29 Mar 2008 08:46:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfaS7-0004IY-Fm for emacs-devel@gnu.org; Sat, 29 Mar 2008 08:46:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfaS7-0004II-7I for emacs-devel@gnu.org; Sat, 29 Mar 2008 08:46:31 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JfaS3-0004BI-5Q; Sat, 29 Mar 2008 08:46:27 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JfaRx-0009V1-S2; Sat, 29 Mar 2008 14:46:22 +0200 In-Reply-To: <200803290100.m2T10S3j007668@localhost.localdomain> (Xavier Maillard's message of "Sat, 29 Mar 2008 02:00:28 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 0a21689c2f1d2e94d8aa83f1a1b60733 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2455 [Mar 21 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93784 Archived-At: > But really there is no need to mix two separate search spaces. > There exist already a convenient key sequence to search the completion > table: `PgUp C-s'. PgUp switches to the *Completions* buffer and > C-s starts searching among completion candidates. > > Gotcha ! I now understand why sometimes there is this > *Completion* buffer that pops up when I do something wrong on my > tiny keyboard :) Thank you for the tip ! No wonder that you sometimes accidentally get the *Completions* buffer. Normally is bound to previous-history-element, but in some minibuffers it is bound to switch-to-completions. Maybe we should avoid this inconsistency by using another key for switch-to-completions? What about binding switch-to-completions to because typing simply starts moving to the next item in a list of defaults and completions. And also to bind a new command switch-to-history (that will display a list of history items in a separate window) to because simply moves to the previous history item. Note that these keys are already used in many other programs to open a pop-up list of history/completion items, so they will do what a typical user would expect. -- Juri Linkov http://www.jurta.org/emacs/