From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14013: 24.3.50; dired-isearch-filenames-regexp is matching text outside filenames Date: Tue, 15 Feb 2022 04:12:41 +0100 Message-ID: <87sfsk961i.fsf@web.de> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17344"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , 14013@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 15 04:13:12 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 1nJoH9-0004K3-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 04:13:11 +0100 Original-Received: from localhost ([::1]:42348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJoH8-0005lm-EC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 22:13:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJoH0-0005lN-BD for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 22:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJoH0-0001yP-2p for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 22:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJoGz-000116-UJ for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 22:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2022 03:13:01 +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.16448947753896 (code B ref 14013); Tue, 15 Feb 2022 03:13:01 +0000 Original-Received: (at 14013) by debbugs.gnu.org; 15 Feb 2022 03:12:55 +0000 Original-Received: from localhost ([127.0.0.1]:43188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJoGt-00010k-B8 for submit@debbugs.gnu.org; Mon, 14 Feb 2022 22:12:55 -0500 Original-Received: from mout.web.de ([212.227.17.12]:38847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJoGq-00010V-9w for 14013@debbugs.gnu.org; Mon, 14 Feb 2022 22:12:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1644894762; bh=hJyNNi+7mvq7Iyx7V6pWmlmr8FPobJWmRewgba1KN2U=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=V2SUu4UXETIgTqgFmvz9//gAhCnjM74GlMmdaaxYsIzD2fG7cu9RNo3ZjnLlD76Zz Ui9nXCOoYGrjS0vbjVU8vPv9R4xm3z8rDojIaB2SNBC4R3nMeB6OqUQefo4TdgKp0Z QS1tQ/Xf+JrIzkOR0QniNh07o51BClHNVfEX3iZE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mav2X-1nq6wj1vuV-00cMig; Tue, 15 Feb 2022 04:12:42 +0100 In-Reply-To: <86r185520f.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 14 Feb 2022 09:41:04 +0200") X-Provags-ID: V03:K1:LO8Kh6ry0pDkuKxS+D0OpNw8o48eviqr71YoJQ7xzSD0ZX2RGK9 qNBalu66WD4SQSPUydrwi29KNLwFs0vF1hkpCwtAKqYotcMFgUDesex+KVZL9S6GtIO4tTn z5bXh6HpQoT0KK/rQUQM87uupI517rYBGjUUmJit5sE42YnqQ/9rfz+bmQ4fdGkXVMM/wBi llf3syXeoPwYcLsVNxUQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:fWpGB/Cw+/8=:1nEVEwc9dYhOKmg5cexFkS aSms75fEI2exZRBqpQrx6UrwYuiQ1QElabH/alByxmO1SzJs1VKFokw32rH2Szp4rLWJHhG+b WLC21jI9vz7FI1CKwCMyrDBWrozUjzjvVfShRt/6Gmb47AMKKyQR88wU0YqiiH/EevQc/PpL1 Tg47D0oiYy7zpDjgJttzq0W3wwj3ULRAiKOwlX56wtmTFv+2jPJpMOsBTu37av29/yIHNmIf2 qjcgV/l1z0BiR/GPmiX/ALJLi5S9xXcwPfTnBYpMeCVlcMgTf7fdYgdGFBvAtNI8vFLIRiUNs SUxT+iBNlhIZmMIiszhTtrk3TdR79cedf89/20A5uMwhKv/mInz5k0DovHsi7cKdC8axNctGf 9xurT1pwujv92BeVFhdP1yXYrVYiKHPcBKN24E3WJs5d2+HkOg2xLdLl/EsEyMo8tgNHwj3sS YOUZ+4/U7dTE8nBup/p5yvkPYYIOs3Ev/mQqAsOvVIVcBZhDweumyH18LycExsUo651HwEgtk ynBpfelZYLYr+UdSzOajDmIEKMGRP7PwTUX0quoRwCGjbFURG/kyMDMpmfHCbDE/5wnqqk8TR bGlM4CO4eHQB0Ponytjh3t8HXf///Ru31u7b0fx/MOWHKln6vyOHpGCFPNHUH3VU/r6/1Z3dx 5Nnb1TKmSnOOU5QhYFzGf8bfKCcVccS7S+/2qveXjmcAZnCHo+tZuYbAtgaePT3XieP+/SSIL IcsKV8OHkxZpA/L3bi+SSOMZTXdN05WScdgTROAhLjso9St8hSt7OEAiIp2/Vo4bxd0wiqJ1 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:226960 Archived-At: Juri Linkov writes: > To implement ^, I see no way other than special handling: > when a regexp begins with ^, then after removing ^ from the regexp, > call 'looking-at' at the beginning of the file name. Just an idea: Seems that currently \= matches the position at the beginning of the file names! Could we maybe just guarantee and document that? 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. Michael.