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: propose: dired-isearch.el --- isearch in Dired Date: Sun, 12 Aug 2007 14:43:17 -0700 Message-ID: References: <87lkcgjxa4.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: sea.gmane.org 1186955029 22801 80.91.229.12 (12 Aug 2007 21:43:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 21:43:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juri Linkov" , "William Xu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 12 23:43:46 2007 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 1IKLDu-00032b-DO for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 23:43:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKLDt-0000Ex-TS for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 17:43:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKLDq-0000Es-Di for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:43:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKLDo-0000Eg-UQ for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:43:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKLDo-0000Ed-QG for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:43:40 -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 1IKLDo-0001Ku-Cr for emacs-devel@gnu.org; Sun, 12 Aug 2007 17:43:40 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l7CLhZxN027331; Sun, 12 Aug 2007 16:43:35 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id l7CLhYX7019743; Sun, 12 Aug 2007 15:43:35 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-129.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 3115911721186955012; Sun, 12 Aug 2007 14:43:32 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <87lkcgjxa4.fsf@jurta.org> X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: 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:76398 Archived-At: > >> FWIW, my guess is that most people will end up leaving those fields > >> invisible much of the time, once they find out about dired-details. > > > > In OSes like Windows XP, maybe this is true. But in *nix, i think > > those "details" are still very valuable to be visible. > > Even in *nix, `ls' without options or with `-1' lists just file names. > But I agree that in Dired the best default is to list details and allow > isearch to search everything. I agree with those defaults. > I regularly use isearch to search > filenames, but sometimes also need to search file sizes and dates. I too want normal isearch, not just file-name search. And with the normal isearch bindings. It's no problem to have an additional search command for file names, if people want that, but it shouldn't use C-s (or C-M-s). > I have one idea: if the initial point position before search is on the > filename, then search filenames only. If the initial position is on the > date, then search dates only, and so on for other ls columns. I don't like that; it's too restrictive. I don't want to have to position the cursor just to make sure I get the right kind of search. That's far more difficult than hitting a key to hide everything but the file names. However, if people think it is useful to have field-specific searches (beyond just file names), then we could have commands for that. They could have other bindings than the standard isearch ones, and they could be added to a Dired menu. They could even be accessible from isearch (e.g. C-s ). But plain old isearch should be available in Dired too, with its standard bindings.