From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Isearch in dired Date: Sun, 09 Nov 2008 10:08:59 -0500 Message-ID: References: <87zlk90yjb.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 1226243356 27587 80.91.229.12 (9 Nov 2008 15:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2008 15:09:16 +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 Sun Nov 09 16:10:19 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 1KzBvb-0005kA-Gf for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 16:10:15 +0100 Original-Received: from localhost ([127.0.0.1]:58005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzBuT-0005Bg-Tc for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 10:09:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzBuQ-0005BZ-Eg for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:09:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzBuP-0005BN-UE for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:09:02 -0500 Original-Received: from [199.232.76.173] (port=34667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzBuP-0005BK-Pq for emacs-devel@gnu.org; Sun, 09 Nov 2008 10:09:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:50074) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzBuO-0006X0-6x; Sun, 09 Nov 2008 10:09:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMEAOWLFklMCqyo/2dsb2JhbACBdscRg1iBEQ X-IronPort-AV: E=Sophos;i="4.33,569,1220241600"; d="scan'208";a="29582940" Original-Received: from 76-10-172-168.dsl.teksavvy.com (HELO pastel.home) ([76.10.172.168]) by ironport2-out.teksavvy.com with ESMTP; 09 Nov 2008 10:09:00 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 822C489DE; Sun, 9 Nov 2008 10:08:59 -0500 (EST) In-Reply-To: <87zlk90yjb.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 09 Nov 2008 09:22:32 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:105498 Archived-At: > However, one possibility is to define a standard "dwim search" key > binding, and try to use that key binding everywhere we want a command > that tries to guess where the user wants to search. Then we can make a > "dwim search" in Dired mean searching filenames. That might work indeed. In the case of dired we could use a heuristic either based on the start column, or based on "if the string matches a filename, then treat it as a filename search, and if no filename matches the string, then search over the whole buffer". Stefan