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: isearch in Dired Date: Fri, 25 Jul 2008 03:33:04 +0300 Organization: JURTA Message-ID: <87abg6ajlr.fsf@jurta.org> References: <874pjaiv45.fsf@gmail.com> <87lkclekep.fsf@jurta.org> <87r69k2vcw.fsf_-_@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216946256 20783 80.91.229.12 (25 Jul 2008 00:37:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 00:37:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 25 02:38:25 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 1KMBKB-0002xb-SR for ged-emacs-devel@m.gmane.org; Fri, 25 Jul 2008 02:38:24 +0200 Original-Received: from localhost ([127.0.0.1]:54899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMBJI-0003VZ-21 for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 20:37:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMBIY-0003Cx-9Z for emacs-devel@gnu.org; Thu, 24 Jul 2008 20:36:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMBIW-0003C1-E1 for emacs-devel@gnu.org; Thu, 24 Jul 2008 20:36:41 -0400 Original-Received: from [199.232.76.173] (port=44191 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMBIW-0003Bs-4X for emacs-devel@gnu.org; Thu, 24 Jul 2008 20:36:40 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]:1917) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMBIV-0003nR-9J for emacs-devel@gnu.org; Thu, 24 Jul 2008 20:36:39 -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 1KMBIN-0003av-AI; Fri, 25 Jul 2008 03:36:31 +0300 In-Reply-To: (Stefan Monnier's message of "Thu, 24 Jul 2008 09:53:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: e35cef5ed21d82303c208435479e4a86 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4443 [July 24 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: 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 Xref: news.gmane.org gmane.emacs.devel:101437 Archived-At: > ls-lisp uses `dired-filename'. And IIRC wdired.el as well. > Not sure why Tramp uses something else, but that should probably be > investigated and explained/fixed. OK, at least I will use `dired-filename' for Dired filename Isearch. > The other comment I have is that I'd like to be able to toggle the kind > of search from within isearch. Currently within `isearch', we have M-c, > M-r to toggle the case sensitivity and the use of regexps, and it would > make sense to provide additional such toggles for "word search" (tho it > might rather be folded into the regexp-toggle since there are really > only 3 possible states, not 4), and (in dired buffers) toggle-filename > and in some other buffers, other such things would make sense. > We should come up with a prefix key in isearch to replace M-c and M-r > and to give us space for extra toggles. Such a prefix already exists in Isearch, so we could use `M-s f' to toggle filename-only Isearch. As for 3-state regexp/word toggles, I currently have no idea for a good key: "r" means "regexp" and "w" means "word", but I don't see what a key would be common for them. -- Juri Linkov http://www.jurta.org/emacs/