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: Fri, 10 Aug 2007 08:56:50 -0700 Message-ID: References: <7dbe73ed0708100137y55064dbai906582ca3d23a986@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186761501 24198 80.91.229.12 (10 Aug 2007 15:58:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 15:58:21 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 17:58:19 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 1IJWsU-0001Nh-Cp for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 17:58:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJWsU-0006sA-2j for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 11:58:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJWsQ-0006rB-IO for emacs-devel@gnu.org; Fri, 10 Aug 2007 11:58:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJWsP-0006pA-5M for emacs-devel@gnu.org; Fri, 10 Aug 2007 11:58:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJWsO-0006p2-Tr for emacs-devel@gnu.org; Fri, 10 Aug 2007 11:58:12 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IJWsO-0004Fl-DW for emacs-devel@gnu.org; Fri, 10 Aug 2007 11:58:12 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l7AFvoCX007783 for ; Fri, 10 Aug 2007 09:57:50 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l7A2otiA012474 for ; Fri, 10 Aug 2007 09:57:49 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-188.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3112903931186761414; Fri, 10 Aug 2007 08:56:54 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <7dbe73ed0708100137y55064dbai906582ca3d23a986@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Importance: Normal 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:76325 Archived-At: Mathias> I think I like Drew's suggestion, to use dired-details and Mathias> toggle the display of those extra fields when we need to Mathias> search in them. I haven't tried that out though. FWIW, it works fine in Emacs 21 and 22. It does not work in Emacs 20 - the invisible part of the buffer is still searched. David> That's jumpy. I assume you mean that the display changes when you hide the non-file fields. 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 that case, there is no display change to search only the file names. Instead, there would then be a display change to search beyond the file names. An advantage of this approach is WYSIWYG: search searches the text that you see, nothing more or less. Another advantage is that isearch always acts the same, in Dired and elsewhere. David> How about using file-name-shadow face for this? Use it for what? Do you mean not hide the details and instead use that face for fields other than the file names? How would that affect searching?