From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: propose: dired-isearch.el --- isearch in Dired Date: Mon, 13 Aug 2007 02:23:23 +0300 Organization: JURTA Message-ID: <87y7ggicuz.fsf@jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186961411 5441 80.91.229.12 (12 Aug 2007 23:30:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 23:30:11 +0000 (UTC) Cc: William Xu , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 01:30:08 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward.uio.no ([129.240.10.42]) by lo.gmane.org with esmtp (Exim 4.50) id 1IKMsp-0007Rn-O8 for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 01:30:07 +0200 Original-Received: from mail-mx6.uio.no ([129.240.10.47]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IKMsp-0005Fc-Jy for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 01:30:07 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx6.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IKMsl-0005By-SA for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2007 01:30:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKMsf-0006kR-Io for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 19:29:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKMs6-0006T5-SY for emacs-devel@gnu.org; Sun, 12 Aug 2007 19:29:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKMs5-0006SH-85 for emacs-devel@gnu.org; Sun, 12 Aug 2007 19:29:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKMs4-0006S5-Vd for emacs-devel@gnu.org; Sun, 12 Aug 2007 19:29:21 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IKMs4-0004T6-FJ for emacs-devel@gnu.org; Sun, 12 Aug 2007 19:29:20 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1IKMrt-000JLk-1u; Mon, 13 Aug 2007 02:29:11 +0300 In-Reply-To: (Drew Adams's message of "Sun\, 12 Aug 2007 14\:43\:17 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Scanner-Signature: 8abf2c83e696415c40c55866f9369f42 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1380 [August 12 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 10 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-Detected-Kernel: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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 X-UiO-SPF-Received: Received-SPF: pass (mail-mx6.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=12.0, autolearn=disabled, UNPARSEABLE_RELAY=0.001) X-UiO-Scanned: CCFE98DC1E0B598F6D3A02AD443F3B6201AD20A5 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 6 total 14662 max/h 41 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:76411 Archived-At: >> 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. I need to search file names without hiding everything else. > 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. Plain isearch could be available when called not at the file line, e.g. at the beginning of the dired buffer. -- Juri Linkov http://www.jurta.org/emacs/