From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Isearch in dired Date: Sun, 09 Nov 2008 22:11:06 -0500 Message-ID: References: <87zlk90yjb.fsf@cyd.mit.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1226286865 2088 80.91.229.12 (10 Nov 2008 03:14:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 03:14:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 04:15:27 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 1KzNFP-0007qs-Dl for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 04:15:27 +0100 Original-Received: from localhost ([127.0.0.1]:50548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzNEH-0001Zx-12 for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 22:14:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzNEE-0001Zm-4v for emacs-devel@gnu.org; Sun, 09 Nov 2008 22:14:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzNEC-0001ZW-R3 for emacs-devel@gnu.org; Sun, 09 Nov 2008 22:14:13 -0500 Original-Received: from [199.232.76.173] (port=53595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzNEC-0001ZQ-IO for emacs-devel@gnu.org; Sun, 09 Nov 2008 22:14:12 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51185) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzNEC-00064T-DO for emacs-devel@gnu.org; Sun, 09 Nov 2008 22:14:12 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KzNBC-0004t9-Uv; Sun, 09 Nov 2008 22:11:06 -0500 In-reply-to: <87zlk90yjb.fsf@cyd.mit.edu> (message from Chong Yidong on Sun, 09 Nov 2008 09:22:32 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:105523 Archived-At: Although it's likely that the user wants to match the filename parts of the Dired buffer, there are two things to note: (1) There is a significant probability that the user might want to match the non-file parts. For instance, the user may want to find all files modified on a certain date. We already have a suggestion for a very convenient interface: to make it depend on where point is when you enter the search. 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. It's a reasonable idea, in principle. If we wanted a special dwim search in several modes, this could be a good way to invoke it -- if we can't find an even better interface. Right now we know of only one mode where we want a sort of dwim search, and we have an even better interface suggestion. I think we should use it.