From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#14013: 24.3.50; dired-isearch-filenames-regexp is matching text outside filenames Date: Tue, 15 Feb 2022 21:25:06 +0200 Organization: LINKOV.NET Message-ID: <86leycoszt.fsf@mail.linkov.net> References: <87li9hk5e5.fsf@web.de> <87wqt1vd0o.fsf@mail.jurta.org> <87d2ut4mji.fsf@web.de> <87620lvavl.fsf@mail.jurta.org> <87zjxxsd6c.fsf@web.de> <87vc8ke4os.fsf@mail.jurta.org> <86zgmutwx9.fsf@mail.linkov.net> <87o83ab67d.fsf@web.de> <86r185520f.fsf@mail.linkov.net> <87sfsk961i.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40042"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Monnier , 14013@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 15 21:01:59 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nK41P-000AI3-Am for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 21:01:59 +0100 Original-Received: from localhost ([::1]:46176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK41O-0000w3-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 15:01:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK3Xg-0003WD-E7 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 14:31:18 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK3XS-0006yk-TK for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 14:31:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nK3XS-0004Tu-Da for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2022 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14013 X-GNU-PR-Package: emacs Original-Received: via spool by 14013-submit@debbugs.gnu.org id=B14013.164495345717208 (code B ref 14013); Tue, 15 Feb 2022 19:31:02 +0000 Original-Received: (at 14013) by debbugs.gnu.org; 15 Feb 2022 19:30:57 +0000 Original-Received: from localhost ([127.0.0.1]:46490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK3XK-0004TM-6a for submit@debbugs.gnu.org; Tue, 15 Feb 2022 14:30:57 -0500 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK3XI-0004T5-8C for 14013@debbugs.gnu.org; Tue, 15 Feb 2022 14:30:52 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 6008B1C0003; Tue, 15 Feb 2022 19:30:43 +0000 (UTC) In-Reply-To: <87sfsk961i.fsf@web.de> (Michael Heerdegen's message of "Tue, 15 Feb 2022 04:12:41 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227007 Archived-At: > Just an idea: Seems that currently \= matches the position at the > beginning of the file names! Could we maybe just guarantee and document > that? Nice finding. This works reliably only because the search function puts point at the beginning of every file name during search. > If \= works reliably, we may also transform a leading \` in the regexp > into \=. ^ is not so important in my eyes, it's easier to type than \`, > but the semantics of "beginning of line" is not as clear in this context > as "beginning of the object searched". If \= and \` would work, I would > be very happy. Since ^ is easier to type, maybe both ^ and \` should be transformed into \=.