From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: C-r and C-s in minibuffer should search completion Date: Thu, 20 Mar 2008 13:54:16 -0700 Message-ID: <008201c88acc$8fa955a0$c2b22382@us.oracle.com> References: <87fxul194g.fsf@jurta.org><47E2C414.2000408@gmail.com> <87lk4dxhas.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206046541 11263 80.91.229.12 (20 Mar 2008 20:55:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 20:55:41 +0000 (UTC) Cc: 'Stefan Monnier' , emacs-devel@gnu.org To: "'Juri Linkov'" , "'Lennart Borgman \(gmail\)'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 21:56:10 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 1JcRnz-0002PR-Q8 for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 21:56:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcRnP-0002ua-F9 for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 16:55:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcRnL-0002uR-3Q for emacs-devel@gnu.org; Thu, 20 Mar 2008 16:55:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcRnJ-0002ti-8z for emacs-devel@gnu.org; Thu, 20 Mar 2008 16:55:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcRnJ-0002tf-3P for emacs-devel@gnu.org; Thu, 20 Mar 2008 16:55:25 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JcRnI-0002X4-Ns for emacs-devel@gnu.org; Thu, 20 Mar 2008 16:55:24 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m2KKtGgW009447; Thu, 20 Mar 2008 15:55:16 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2KBiPQg003115; Thu, 20 Mar 2008 14:55:15 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3620755851206046450; Thu, 20 Mar 2008 13:54:10 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 Mar 2008 13:54:09 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87lk4dxhas.fsf@jurta.org> Thread-Index: AciKyvsMw205z9i5QJqZYgYUVU35/QAAGJww X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:93066 Archived-At: > However, I think PgDn is a good candidate for a new command that > just like PgUp displays a list of completions in a separate buffer, > will display a list of elements from the history list in a > separate buffer. I think this would be a useful feature. > It will allow browsing all elements of the history list in one buffer > and using normal isearch to search them. I proposed M-o, but which key you choose is not so important. However, I would argue to reserve the pair of keys `next' and `prior' (sometimes labeled PgDn and PgUp) for something that, well, comes in pairs and has some notion of, well, next and previous. That just makes sense. There is no need to use a different buffer from *Completions*. When the user hits M-o (or whatever), the current history list should simply become the *Completions* set; that's all. Nothing special. You don't need to use isearch to search the completion candidates (you can complete against them, as usual), but you of course can (as always), just by moving the cursor to buffer *Completions* and then using C-s.