From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Isearch in dired Date: Sat, 08 Nov 2008 17:05:08 +0100 Message-ID: References: <87skq2xq9s.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226160467 17704 80.91.229.12 (8 Nov 2008 16:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Nov 2008 16:07:47 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 08 17:08:49 2008 connect(): Connection refused 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 1KyqMj-0001I9-Bz for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2008 17:08:49 +0100 Original-Received: from localhost ([127.0.0.1]:33300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyqLc-0003eI-0T for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2008 11:07:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyqLT-0003c7-8V for emacs-devel@gnu.org; Sat, 08 Nov 2008 11:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyqLR-0003bT-Oj for emacs-devel@gnu.org; Sat, 08 Nov 2008 11:07:30 -0500 Original-Received: from [199.232.76.173] (port=37777 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyqLR-0003bM-KQ for emacs-devel@gnu.org; Sat, 08 Nov 2008 11:07:29 -0500 Original-Received: from iwfs.imcode.com ([82.115.149.64]:44910 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KyqLP-0004Tm-Jm; Sat, 08 Nov 2008 11:07:28 -0500 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id mA8G7Ha0031656; Sat, 8 Nov 2008 17:07:17 +0100 In-Reply-To: <87skq2xq9s.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 08 Nov 2008 09:10:07 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/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:105466 Archived-At: Chong Yidong writes: > "Richard M. Stallman" writes: > >> It would be useful for isearch in a dired buffer to match only file >> names by default. I think this would be a good feature -- if we can >> come up with a natural way to request ordinary search of the entire >> buffer. > > Emacs 23 has the M-s f C-s (dired-isearch-filenames) command which does > just that, and the variable dired-isearch-filename which can be changed > to non-nil to make C-s do the same as M-s f C-s. Sounds nice! I would also like to point out that searching for filenames is somewhat similar to searching for function names. That is, the buffer is parsed and you search for semantic entities of some kind. It so happens that Cedet, which is slated for inclusion, contains a tool called Senator which does this. > -- Joakim Verona