GNU bug report logs - #77362
30.1; isearch-forward in dired overshoots on `:' match attempt

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Van Ly <van.ly@HIDDEN>; Keywords: notabug; dated Sat, 29 Mar 2025 11:17:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77362 <at> debbugs.gnu.org:


Received: (at 77362) by debbugs.gnu.org; 29 Mar 2025 12:28:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 29 08:28:14 2025
Received: from localhost ([127.0.0.1]:57429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tyVIM-0003JD-Iv
	for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 08:28:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47100)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1tyVIH-0003Is-RB; Sat, 29 Mar 2025 08:28:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tyVIB-0002zb-Pj; Sat, 29 Mar 2025 08:28:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=qX69vUGsE6Vet8tL3V38wYmtsAu/6EAJTWY3oB+sLno=; b=Si2XZXnJXCP/
 RV+TqWkFkLx3Fzoqd9CBEcn7kjl5XsLhVuh1i7kzfY0g96Vs6Tq9Gzi9MVH3g9jnDse5708iqmwD9
 DFEpqwkdqSRpvXW3t8XZb7O38XT/vqahCkYKD2tinzl9pEjnbKuyIJUyfp3BDh6WyaQCQr+/zoL6I
 KdXhFmpyJta4lGCB/pccYZWxipsGVetEkIk1uSNcgz3TZS3AieFaMTk4kB+UtvRc1QkMZcMfCGYII
 HCwbK6UnJLXr7UrJd/9g5Uo1ngDrq7oVL9D7++tG7yIllSKJb+fVbCb2Np4JcwOsw8F09QHROVhyG
 Y7LbO9wIZ/qHRBWsWm6qZw==;
Date: Sat, 29 Mar 2025 15:28:00 +0300
Message-Id: <86ecyg6my7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Van Ly <van.ly@HIDDEN>
In-Reply-To: <dcsh63cnl2o.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#77362: 30.1;
 isearch-forward in dired overshoots on `:' match attempt
References: <dcsh63cnl2o.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77362
Cc: 77362 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 77362 notabug
thanks

> Date: Sat, 29 Mar 2025 11:16:31 +0000
> From:  Van Ly via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> At the top of dired buffer, I have a line as follows,
> 
>   /tmp: (41 GiB available)
> 
> and I want to move the cursor to select the path `/tmp'.
> 
> The problem is isearch-forward for the next `:' from the position at the
> left most occurrence of `/' overshoots to the end of line.
> 
> Steps to demonstrate,
>  1. start,                                     emacs -Q
>  2. goto directory,                            C-x d /tmp/
>  3. goto beginning of dired buffer,            ESC <
>     i.  move cursor to left most `/' position
>     ii. activate mark                          C-SPC
>  4. search forward to match `:',               C-s :
> 
> Intended unavailable effect, to move the cursor to the first occurence of `:'.
> 
> Unintended actual effect, the cursor moves to the end of line.

That's because we show a display property at the end.  Type "C-x =" or
"M-x describe-text-properties RET" to show them.

I don't understand the complaint.  If the problem is that C-s
overshoots, then just go back one character with C-b, and you can copy
the directory name with M-w or whatever.

I see no bug here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77362; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Mar 2025 11:17:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 29 07:17:02 2025
Received: from localhost ([127.0.0.1]:57206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tyUBR-0001zX-Gj
	for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:17:01 -0400
Received: from lists.gnu.org ([2001:470:142::17]:36124)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <van.ly@HIDDEN>) id 1tyUBC-0001yo-LN
 for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:16:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <van.ly@HIDDEN>) id 1tyUB3-0005nG-9I
 for bug-gnu-emacs@HIDDEN; Sat, 29 Mar 2025 07:16:37 -0400
Received: from mx.sdf.org ([205.166.94.24])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <van.ly@HIDDEN>) id 1tyUB1-0003c5-2c
 for bug-gnu-emacs@HIDDEN; Sat, 29 Mar 2025 07:16:36 -0400
Received: from sdf.org (iceland.freeshell.org [205.166.94.5])
 by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 52TBGWdF008821
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO)
 for <bug-gnu-emacs@HIDDEN>; Sat, 29 Mar 2025 11:16:33 GMT
Received: (from van.ly@localhost)
 by sdf.org (8.18.1/8.12.8/Submit) id 52TBGWTN015260;
 Sat, 29 Mar 2025 11:16:32 GMT
From: Van Ly <van.ly@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; isearch-forward in dired overshoots on `:' match attempt
Organization: SDF Public Access UNIX System
Date: Sat, 29 Mar 2025 11:16:31 +0000
Message-ID: <dcsh63cnl2o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=205.166.94.24; envelope-from=van.ly@HIDDEN;
 helo=mx.sdf.org
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--=-=-=
Content-Type: text/plain


At the top of dired buffer, I have a line as follows,

  /tmp: (41 GiB available)

and I want to move the cursor to select the path `/tmp'.

The problem is isearch-forward for the next `:' from the position at the
left most occurrence of `/' overshoots to the end of line.

Steps to demonstrate,
 1. start,                                     emacs -Q
 2. goto directory,                            C-x d /tmp/
 3. goto beginning of dired buffer,            ESC <
    i.  move cursor to left most `/' position
    ii. activate mark                          C-SPC
 4. search forward to match `:',               C-s :

Intended unavailable effect, to move the cursor to the first occurence of `:'.

Unintended actual effect, the cursor moves to the end of line.


--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=bug-gnu-emacs-diagnostics.text
Content-Transfer-Encoding: base64
Content-Description: diagnostics readout from emacs build

SW4gR05VIEVtYWNzIDMwLjEgKGJ1aWxkIDIsIGFhcmNoNjQtdW5rbm93bi1saW51eC1nbnUpIG9m
IDIwMjUtMDMtMDQKIGJ1aWx0IG9uIFhYWApTeXN0ZW0gRGVzY3JpcHRpb246IERlYmlhbiBHTlUv
TGludXggMTIgKGJvb2t3b3JtKQoKQ29uZmlndXJlZCB1c2luZzoKICdjb25maWd1cmUgLS13a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CAyNCA5MDI2KSAoaW50ZXJ2YWxz
IDU2IDI4NyAwKSAoYnVmZmVycyA5OTIgMTIpKQo=
--=-=-=
Content-Type: text/plain



-- 
vl

--=-=-=--




Acknowledgement sent to Van Ly <van.ly@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77362; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 29 Mar 2025 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.