GNU bug report logs - #81109
32.0.50; Edebug, overlay and tabulation

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: Manuel Giraud <manuel@HIDDEN>; dated Sun, 24 May 2026 12:13:06 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 18:25:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 14:25:37 2026
Received: from localhost ([127.0.0.1]:45811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU7KS-0004mR-G7
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:25:36 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:55316)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wU7KQ-0004hv-Iw
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:25:35 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gTj7V6SP1z9tTx;
 Mon,  1 Jun 2026 20:25:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1780338327;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=e5UsiCzyDaCKW7msJqV5gVHyNvjtmhC/MNwuDySUHc4=;
 b=pggSVWJ/pnji8VpZJQlhHBNPk+NzYMgkx+vPI7zI6NphacQk3904plyBOPrs+gfjQD8CX+
 fpBgRaP2C5tcx96q1lr+NU6gYVCO1b1KiTRATnHpWGn+oovC9WqrH4KF0VMbItbQbv0B71
 q9W1ct3EOPu2Q2EJ3F2spNrURu5lCrp5rvElvn7AKRyb5D9f8S4HdnwAb+5qgal80A5Pso
 HsNiK+8sFy4lsblv5fUVfgozNBwc5rkMR18atLEb0Pk/9v1NFTT3YVzbz/NZcQzIApmIqj
 qKiAI3R/nkjk/4SIvD2v1lVT/WKLVXf1q6Zw9wjA5e87D8hDz3B0xYHZZAPanQ==
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86jysiw2pf.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <87o6hydx9j.fsf@HIDDEN> <87bjdv799r.fsf@HIDDEN>
 <86jysjxvm5.fsf@HIDDEN> <87jysi46up.fsf@HIDDEN>
 <86jysiw2pf.fsf@HIDDEN>
Date: Mon, 01 Jun 2026 21:24:34 +0300
Message-ID: <875x422k65.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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: -1.7 (-)

>> By design, 'window-margin-functions' is a list of functions,
>> so its default value could be something like this:
>> 
>> (defvar window-margin-functions '(window-margin-overlay-arrow))
>> 
>> (defun window-margin-overlay-arrow ()
>>   "Return the number of margin columns."
>>   (when overlay-arrow-position
>>     (length overlay-arrow-string)))
>
> This cannot be so simple, because the margin is supposed to be set
> only in the window showing the buffer of the marker that is the value
> of overlay-arrow-position.  Also, I think if a margin already exists,
> it should be enlarged by that value.

This is exactly how window-margin-functions was supposed to work.

> And finally, we need some way of preventing this from happening on GUI
> frames with fringes.

This was already demonstrated in
https://yhetil.org/emacs-devel/87tszurv9u.fsf@HIDDEN/

  (add-hook 'window-margin-functions
            (lambda (window)
              `(,(if (< 0 (nth 0 (window-fringes window))) 0 2)
                .
                ,(if (< 0 (nth 1 (window-fringes window))) 0 3)))
            nil t)

> But yes, if this hook is called at the right time (just before
> redisplay), it will probably work.




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 18:17:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 14:17:20 2026
Received: from localhost ([127.0.0.1]:45703 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU7CM-0004C1-OA
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:17:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45612)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wU7Br-00049I-16
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:17:07 -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 1wU7Bi-0001pr-NF; Mon, 01 Jun 2026 14:16:35 -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=OaJsA8nScgooZEm3TMBh4pARqUGvHAvtzPuUyd7IXv0=; b=k/onc6azz9x/
 yfelLOH0IUQt1SxJhWYP02ixuEAKM429Mpv2ig+laIu75vgZTPsQcfQh7AgE+iv2dFFEI02y5E5YL
 rANecPUEpEqak3Vg5+TmtLoBD9q96lpVxleRH0g/4X1aqfmuqGmHnmLmXzhFpdd8Ar8soBRpbTxQ0
 fBRrfSPKxQmIKV7UD0Uq2awSgt92nzOiBuqbJU1tiYAZOjKbuqziQzAg/ecH9cygUF0omb8OLQ2wX
 DFghUaTwzq6wWkZpBoTu5US1WO1R2eXX1ge/oQSUdixYt0y1tjWfs/d9ZciXZOU+nEXNhJBdP0Uaj
 SFW73HUxVxbgPzH9T+Xu/Q==;
Date: Mon, 01 Jun 2026 21:16:32 +0300
Message-Id: <86ik82w2gv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <878q8ygpsb.fsf@HIDDEN> (message from Manuel Giraud on
 Mon, 01 Jun 2026 18:59:32 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN> <87ldczsg9b.fsf@HIDDEN>
 <86v7c2wgwc.fsf@HIDDEN> <87wlwigvbe.fsf@HIDDEN>
 <86se76wa58.fsf@HIDDEN> <878q8ygpsb.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 01 Jun 2026 18:59:32 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> >> Date: Mon, 01 Jun 2026 17:00:05 +0200
> >> 
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >> 
> >> >> This way the interface for users of overlay arrow is "have a margin if
> >> >> you want to use it" and this falls back to overlay into the text area
> >> >> otherwise.
> >> >
> >> > We could do this, if we don't care about other features that use the
> >> > margins.  
> >> 
> >> Yes right.  Maybe I should start at a row->used[LEFT_MARGIN_AREA] offset
> >> inside the left margin area.  WDYT?
> >
> > Good idea.  But this will only work well if the code which inserts the
> > overlay-arrow glyphs will always run after all the other glyphs for
> > the left margin were already produced and added to the glyph row.
> 
> Ok so this is not satisfactory.  Or maybe, after having increased the
> margin, we should always put the overlay arrow starting at first column.
> This is not really different than what we have now in the text area.

Yes, so it its acceptable.  I just wonder whether we could do better
here.  But maybe not easily.




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 18:11:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 14:11:45 2026
Received: from localhost ([127.0.0.1]:45646 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU76z-0003o5-2S
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:11:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53064)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wU76r-0003nY-2U
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 14:11:37 -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 1wU76k-00004v-LC; Mon, 01 Jun 2026 14:11:26 -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=zv9i3K0dHSUaHD8xKa1LDO566W7ZWl1/OJIh1sXuGo0=; b=ofIY+1Sgmdr7
 cph6EXHKX8rxPKCU3ToDKJJZEVHPQI/x15IEpq1v5Kp6OnsaTEwUyi2jYfvrMMqeb9UbSQ22o1abg
 e8t0tJPyOrYXyDVFLOHyTJsztp59BZPfi2SrYVBscyQVs4pSd0VrLF6cW48vJngoL2gABi7OnHisn
 6iOYqWZb1nnb8RCnu4yKUcaMoCmgtAT6F2CCxefm6kEst9xBqX/BJmTeFh04CgpiqGowSm3e/8EaO
 8Aii3j/OHppILj0M0JvzaSIc9wlW8fRk5vero6tCYrfm0+d8MWkBXZ713hvV6tISwsFeAddV5AZ4B
 mutM3pz6e/lV3R4HEGYPqA==;
Date: Mon, 01 Jun 2026 21:11:24 +0300
Message-Id: <86jysiw2pf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87jysi46up.fsf@HIDDEN> (message from Juri Linkov on
 Mon, 01 Jun 2026 18:59:18 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <87o6hydx9j.fsf@HIDDEN> <87bjdv799r.fsf@HIDDEN>
 <86jysjxvm5.fsf@HIDDEN> <87jysi46up.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: manuel@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 01 Jun 2026 18:59:18 +0300
> 
> By design, 'window-margin-functions' is a list of functions,
> so its default value could be something like this:
> 
> (defvar window-margin-functions '(window-margin-overlay-arrow))
> 
> (defun window-margin-overlay-arrow ()
>   "Return the number of margin columns."
>   (when overlay-arrow-position
>     (length overlay-arrow-string)))

This cannot be so simple, because the margin is supposed to be set
only in the window showing the buffer of the marker that is the value
of overlay-arrow-position.  Also, I think if a margin already exists,
it should be enlarged by that value.  And finally, we need some way of
preventing this from happening on GUI frames with fringes.

But yes, if this hook is called at the right time (just before
redisplay), it will probably work.





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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 16:59:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 12:59:44 2026
Received: from localhost ([127.0.0.1]:45100 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU5zJ-0007FM-Ig
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 12:59:44 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:45189)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wU5zD-0007Es-Kn
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 12:59:39 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=BaDbjAKX
 Y+1EuRHvrLBY+TG/drIecxv7AbWZlhD/HzI=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=4jMLSnzULd/Sh4BXTn3c8VP2yDJ+H+
 k7XmojEUT0AMc+7/9KA/zqCElR76dJWlNY/SEdeUx4Y2baneVU32GrBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=BaDbjAKXY+1EuRHv
 rLBY+TG/drIecxv7AbWZlhD/HzI=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=ZA6OITqRzBvXSuk0XKR5BosNKF94ZjLmC4YDVV
 hbAxnzsWPcjVq6yion56hNf/Mi0RqKyizR71UG/SR4Lr4DaFGINluDRqgUKCADPe7MUNy+
 LjFz8SwtQqdVIl9TuDNT2Fb6kg6JXeJeIGtB3lMBWaI9rNmUX+2Z8WQ4HAl7NjJDByjjpj
 mVQupj+tBDHMYGofGxtZq/vs8YPN3U2gvV8VTwSMnYi5e/BjUflOFAJhqvlA1vrABFD12J
 qILPbhaEF5vW1VqQP0UBTBloC47ScH4WthwJTT6Hn1WZ7Zt4I8Ze/DMfI8JyATjHPJD355
 jdPVtArwlFoDnjgPSNoLS2rw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 8b48bba0
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 1 Jun 2026 18:59:34 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86se76wa58.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN> <87ldczsg9b.fsf@HIDDEN>
 <86v7c2wgwc.fsf@HIDDEN> <87wlwigvbe.fsf@HIDDEN>
 <86se76wa58.fsf@HIDDEN>
Date: Mon, 01 Jun 2026 18:59:32 +0200
Message-ID: <878q8ygpsb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
>> Date: Mon, 01 Jun 2026 17:00:05 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> This way the interface for users of overlay arrow is "have a margin if
>> >> you want to use it" and this falls back to overlay into the text area
>> >> otherwise.
>> >
>> > We could do this, if we don't care about other features that use the
>> > margins.  
>> 
>> Yes right.  Maybe I should start at a row->used[LEFT_MARGIN_AREA] offset
>> inside the left margin area.  WDYT?
>
> Good idea.  But this will only work well if the code which inserts the
> overlay-arrow glyphs will always run after all the other glyphs for
> the left margin were already produced and added to the glyph row.

Ok so this is not satisfactory.  Or maybe, after having increased the
margin, we should always put the overlay arrow starting at first column.
This is not really different than what we have now in the text area.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 16:01:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 12:01:18 2026
Received: from localhost ([127.0.0.1]:44642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU54o-0003VF-HW
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 12:01:18 -0400
Received: from mout-p-201.mailbox.org ([80.241.56.171]:38834)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wU54m-0003Un-ED
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 12:01:16 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gTdx02w1lz9tWp;
 Mon,  1 Jun 2026 18:01:08 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1780329668;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=g1x2WuOODETZpIlwYO5DTcOQ0EDzbV3mZUU4S4Mb2X0=;
 b=hba8A2+5yfOx52zKvPOcs+GbfwMVgCFyXr7xgZLy7t2L3v7y1ew8aLCItwnKi+Wj1gnZkb
 mVJ9GoxVs90qXyRuQyuGpwSF+Z3woRB7Fc/H4FIG/5Xl+qvoe+T/y109QUxagQhP4Pa6G+
 juOvY2aAJhm+7iKnpsiW+W+W9/4pumu7erua85PLnmn9N0LRf7ZXFZpEYxMmrRQJ4afmd7
 ARBuoTVmP35wSCTRs914/DK8ewXrpfDMNUHVbMvA9OmQ12bljGnQpCFub38n+L1hkSVJfR
 LiDsA+ZVxvtDySmb9B0ZpUXmDhY/qBH3Xrgp4yT4NdUe60eOagrjQWppaTDKGA==
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86jysjxvm5.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <87o6hydx9j.fsf@HIDDEN> <87bjdv799r.fsf@HIDDEN>
 <86jysjxvm5.fsf@HIDDEN>
Date: Mon, 01 Jun 2026 18:59:18 +0300
Message-ID: <87jysi46up.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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: -1.7 (-)

>> Maybe the same code that changes 'overlay-arrow-string'
>> should also modify the 'window-margin-functions' hook.
>
> [You mean, overlay-arrow-position, I presume (overlay-arrow-string is
> always defined)?]

Indeed, I meant 'overlay-arrow-position'.  But maybe changing
the length of 'overlay-arrow-string' also should reserve
the corresponding number of columns in the margins area.

> Yes, that will work, but since these variables are modified from Lisp,
> it would mean that setting up the margin will be the responsibility of
> the calling Lisp program.  Whereas I thought you wanted to have some
> feature whereby the margin will be shown automatically when the
> overlay-arrow is activated?

By design, 'window-margin-functions' is a list of functions,
so its default value could be something like this:

(defvar window-margin-functions '(window-margin-overlay-arrow))

(defun window-margin-overlay-arrow ()
  "Return the number of margin columns."
  (when overlay-arrow-position
    (length overlay-arrow-string)))




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 15:30:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 11:30:55 2026
Received: from localhost ([127.0.0.1]:44365 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU4bO-0001X4-MJ
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 11:30:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33026)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wU4bL-0001Wl-MG
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 11:30:52 -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 1wU4bF-0000im-H5; Mon, 01 Jun 2026 11:30:45 -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=RcJ/qHFyI4sbT2Memeb3od0NSH5lILZz89a1YyV90fo=; b=mD2KU7Qev9KA
 TSZiXLURPxsbrY6wHYC7bt2vOG2GwrB+N948KXN2p5kxQSG6heP+vsu8L9gm+SZRTmUNUPA5iZAjc
 EdU8/YprAr0owSuOmZSeb4+BLPc/Gk5VfBTS2Vle2FxwLzowTQleHe2LSA+VCiesdyIlOXg8Lfmbf
 sxr9oaqou1hcpAWqEWCargR8HEq7FlsTbT548LhiyTZA195om0iCgIk7dQjD/DUs0TWi1Bgrg5qnL
 yKpRyVSZ/EdlLwp3FFGonY7huHiV/FuMFRiKlYXkM9exc89VX++pM9shdTh8YUmpkn1NMTlpQKpjT
 K8Cfb3nLunlyCe8CpSjiig==;
Date: Mon, 01 Jun 2026 18:30:43 +0300
Message-Id: <86se76wa58.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87wlwigvbe.fsf@HIDDEN> (message from Manuel Giraud on
 Mon, 01 Jun 2026 17:00:05 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN> <87ldczsg9b.fsf@HIDDEN>
 <86v7c2wgwc.fsf@HIDDEN> <87wlwigvbe.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 01 Jun 2026 17:00:05 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> This way the interface for users of overlay arrow is "have a margin if
> >> you want to use it" and this falls back to overlay into the text area
> >> otherwise.
> >
> > We could do this, if we don't care about other features that use the
> > margins.  
> 
> Yes right.  Maybe I should start at a row->used[LEFT_MARGIN_AREA] offset
> inside the left margin area.  WDYT?

Good idea.  But this will only work well if the code which inserts the
overlay-arrow glyphs will always run after all the other glyphs for
the left margin were already produced and added to the glyph row.




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 15:00:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 11:00:12 2026
Received: from localhost ([127.0.0.1]:44122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU47g-0007uU-3O
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 11:00:12 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:16661)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wU47c-0007t5-1H
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 11:00:09 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=aQF4E0H9
 BlF4Cmbr1JtD6M2A5hwdm76m89zmKMecaCk=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=DVL85wVqlZL3x4Zlfm1mJVDPbFZ5dU
 9Wf2DmVdG0d+62kyPMwTV1JmA7ANtf/w6S/+TRGkWzkfIUqqDA8jQ1Cg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=aQF4E0H9BlF4Cmbr
 1JtD6M2A5hwdm76m89zmKMecaCk=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=CiEijdEmzW0ZahFAImm2+lJVTXfcwvb4lpljU9
 H/sly1epAaONlpe3yXZ7vw5BBmCjiFicyiSCiCwdMxK2WruoGeUPtd2U4J0ZLCuhoXtl1y
 6mvM1aVjN8Le5J+94Edv3Tx+AUQG9gbRv/zPGDe0wvEz+EU9iXaJ6qc8Ogb3oBifL33eAQ
 Q4o3eEb2Kf2qOh0dFOHHNcPtW/l6igaEvrIL6+fT2EaJxvpotCE2Fq9ifbB0/5iuTCIiwz
 TVJwnK9YTVYQNT+4QxFe1v1tH+hgS4Tl0qgfw+fzo/uFoTKQoPrCvmzorEWliwu4yZwtnU
 wBMXZcv2h6+0YGLwh57G2Hng==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 3b43c92f
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 1 Jun 2026 17:00:06 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86v7c2wgwc.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN> <87ldczsg9b.fsf@HIDDEN>
 <86v7c2wgwc.fsf@HIDDEN>
Date: Mon, 01 Jun 2026 17:00:05 +0200
Message-ID: <87wlwigvbe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
>> Date: Sun, 31 May 2026 18:20:00 +0200
>> 
>> What do you think of this new patch?  While working on it, I thought
>> that I could use the presence of a left margin to decide what to do.
>> 
>> This way the interface for users of overlay arrow is "have a margin if
>> you want to use it" and this falls back to overlay into the text area
>> otherwise.
>
> We could do this, if we don't care about other features that use the
> margins.  

Yes right.  Maybe I should start at a row->used[LEFT_MARGIN_AREA] offset
inside the left margin area.  WDYT?

> Do we envision that there will be some situations where the user or
> some Lisp program will prefer not to use the margin even though it is
> available?  But I'm okay to leave this unsupported until there's
> demand.

Ok.

>> diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
>> index 3bb12e18842..2fc7d895a1e 100644
>> --- a/lisp/emacs-lisp/edebug.el
>> +++ b/lisp/emacs-lisp/edebug.el
>> @@ -3008,6 +3008,7 @@ edebug-overlay-arrow
>>    (let ((pos (line-beginning-position)))
>>      (setq overlay-arrow-string
>>  	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
>> +    (set-window-margins nil (length overlay-arrow-string))
>
> Maybe _enlarge_ the size of the margin (if it already exists) instead
> of overwriting it?

Yes.  This part of the patch is more a usage example (and maybe should
be in a later patch) but you're right that I should enlarge here.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 1 Jun 2026 13:05:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 01 09:05:04 2026
Received: from localhost ([127.0.0.1]:41958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wU2KE-00005k-Fu
	for submit <at> debbugs.gnu.org; Mon, 01 Jun 2026 09:05:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44012)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wU2KB-000052-Oj
 for 81109 <at> debbugs.gnu.org; Mon, 01 Jun 2026 09:05:01 -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 1wU2K5-0004rs-Oe; Mon, 01 Jun 2026 09:04:53 -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=UFn51KBYWgpp7n3UoICFH+R2QKiMbHA0FMZdgwSCp80=; b=QqPcIm57ps6W
 sBv9D2YEwiXWpaa+dfCvqyT36zo7N3L3aisxQD2RS2oBr/r5zswfqhrO5MBlB/GRu13XoM4og3m8e
 rC3uTQn5t47z64zi8+05l7P+1lvFSPjrH/wvOVk/ZudR4r6hAjzEmAtOaeO3Dc6hsvdeTb1g7GB9w
 o0BiB32XEaSfKLzvjpaLkS8J/piWvQCNaTfxKnKvtp5rPGdPelOZ4o98ROwZOaIM8pDP2taiGtEao
 yVdzggoJ1qPQcG4oo4bkqchBMVrwb2Ll5tWwr61zfWUYq7k9u7qiWbJt+/smBuQ+ibKUiadhnmiDd
 CKKGPpkCNV0YRHf+73HZhA==;
Date: Mon, 01 Jun 2026 16:04:51 +0300
Message-Id: <86v7c2wgwc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87ldczsg9b.fsf@HIDDEN> (message from Manuel Giraud on
 Sun, 31 May 2026 18:20:00 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN> <87ldczsg9b.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Sun, 31 May 2026 18:20:00 +0200
> 
> What do you think of this new patch?  While working on it, I thought
> that I could use the presence of a left margin to decide what to do.
> 
> This way the interface for users of overlay arrow is "have a margin if
> you want to use it" and this falls back to overlay into the text area
> otherwise.

We could do this, if we don't care about other features that use the
margins.  Do we envision that there will be some situations where the
user or some Lisp program will prefer not to use the margin even
though it is available?  But I'm okay to leave this unsupported until
there's demand.

> diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
> index 3bb12e18842..2fc7d895a1e 100644
> --- a/lisp/emacs-lisp/edebug.el
> +++ b/lisp/emacs-lisp/edebug.el
> @@ -3008,6 +3008,7 @@ edebug-overlay-arrow
>    (let ((pos (line-beginning-position)))
>      (setq overlay-arrow-string
>  	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
> +    (set-window-margins nil (length overlay-arrow-string))

Maybe _enlarge_ the size of the margin (if it already exists) instead
of overwriting it?

Otherwise, LGTM, thanks.




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 18:49:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 14:49:34 2026
Received: from localhost ([127.0.0.1]:33143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTlE5-0003nG-Mz
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 14:49:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37764)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTlE3-0003mr-A6
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 14:49:31 -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 1wTlDx-0002i0-C1; Sun, 31 May 2026 14:49:25 -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=QN3kJwD5d/tDZhJ9IgQvgfXcgXmvT0oDQM3qZ8e/opQ=; b=i6NX8xCU7+u2
 YUXT/na5vLu97m9J2VPqQWBJJgAGptyDV1T9PgfOPVkniD1K4Lforc5/fIVe2sp/0Y6yIuSYWLpq7
 9Ao0KtHLZpbT6rouTtCDJ0YCt4eX4cykpHWwizf0ENCDDp9Sp8qI7ImqIFM3oyMWYj0pAE0XQwsBN
 gj/ymq8M2kflLq4+32ox32yLpMj5S0iZ4n3CFvfgxJ5Cmj5AhTtggZai+Srqyu5MF0IL+iFxc/qyg
 swQsukfAFHxa3bddmol1YnKqBMNqcZWdkhLQ7MTxTqmWPi05BRg71N6Obhsdn2aVJmFdELHoIrO+k
 x1KvfKHvmjUcNDWU/cWW8Q==;
Date: Sun, 31 May 2026 21:49:22 +0300
Message-Id: <86jysjxvm5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87bjdv799r.fsf@HIDDEN> (message from Juri Linkov on
 Sun, 31 May 2026 20:56:32 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <87o6hydx9j.fsf@HIDDEN> <87bjdv799r.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
> Date: Sun, 31 May 2026 20:56:32 +0300
> 
> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
> >> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
> >> could set it to an appropriate value.
> >
> > Ok so if I understand correctly 'window-margin-functions' is a hook that
> > will sum all the values returned by the functions in it, right?  So
> > users of overlay arrow just have to record the size of the arrow here?
> > This is fine by me and more versatile than what I proposed.
> >
> > FTR, there is not just Edebug and "M-x gdb".  That I know of, there is
> > also at least Gnus summary buffer.
> 
> Maybe the same code that changes 'overlay-arrow-string'
> should also modify the 'window-margin-functions' hook.

[You mean, overlay-arrow-position, I presume (overlay-arrow-string is
always defined)?]

Yes, that will work, but since these variables are modified from Lisp,
it would mean that setting up the margin will be the responsibility of
the calling Lisp program.  Whereas I thought you wanted to have some
feature whereby the margin will be shown automatically when the
overlay-arrow is activated?




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 18:21:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 14:21:10 2026
Received: from localhost ([127.0.0.1]:32889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTkma-0001xI-Vv
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 14:21:09 -0400
Received: from mout-p-201.mailbox.org ([80.241.56.171]:59676)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wTkm7-0001qW-Hd
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 14:20:44 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gT54H3Wz1z9tx6;
 Sun, 31 May 2026 20:20:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1780251631;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=l0sX3hQhoR2cvvlPvEKh67mv5323ouyuBdvWVv351k0=;
 b=J+mlIO2c9qZ3BfxkwYJpLzf23XNNy9lk/h6B1kTRDrZoL0o0VoRxLwpVKdyH8ddko7wnlL
 zySqx2eiO6TJUSZ6B0vng392bnf0Zll78uC8Pm3+t+1pJYUhrkDfkgUR4napzXNtRED8UU
 w4qAGjx95q621ZxNhf4BeC4dbZFfkWIFQyq1yuZxdd/ZCMdZcPFkAcjNYe2OUkY37zGlga
 EjF1ZzH0adGhlMh2wdHFYNwd/t9t35XUsCofnX7tK6qIAvTlVmZJRbMZsRlSmtcck7NDJg
 V6QrNag4Y9k/nXRUfLm9PY5Z/4IDD3iSkwmjhWkqoMoSD2Obsky39ICCrMs5Nw==
From: Juri Linkov <juri@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <87o6hydx9j.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <87o6hydx9j.fsf@HIDDEN>
Date: Sun, 31 May 2026 20:56:32 +0300
Message-ID: <87bjdv799r.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81109
Cc: Eli Zaretskii <eliz@HIDDEN>, 81109 <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: -1.7 (-)

>> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
>> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
>> could set it to an appropriate value.
>
> Ok so if I understand correctly 'window-margin-functions' is a hook that
> will sum all the values returned by the functions in it, right?  So
> users of overlay arrow just have to record the size of the arrow here?
> This is fine by me and more versatile than what I proposed.
>
> FTR, there is not just Edebug and "M-x gdb".  That I know of, there is
> also at least Gnus summary buffer.

Maybe the same code that changes 'overlay-arrow-string'
should also modify the 'window-margin-functions' hook.




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 16:20:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 12:20:07 2026
Received: from localhost ([127.0.0.1]:60107 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTitT-00026v-3G
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 12:20:07 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:31353)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wTitP-00024G-CM
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 12:20:05 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=WA9RKGUK
 bJmrr/09Ovmchxya0EjkR0GpYNXFM/3NuLM=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=kKYYSnpZsFz6kQSsIT3EvQSjTmjkQS
 utQPpuzDBBlzqZQEtaTmHFsiwKyKPVuqayWCE09IHEF2S1Dx7ffFhODg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=WA9RKGUKbJmrr/09
 Ovmchxya0EjkR0GpYNXFM/3NuLM=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=Y7J5rMJu1VTmtOiLPgaPiSybUxgaLEeIDceyPx
 0NmQ0Skhlvy7dofeV3eE1MdYTOosE2Q6dX8DO7/47YlsUr8Gmz1ULHOTveYD+jyynM4P/h
 jjLGo6OmRj8nl0jVo+lAlv2+qg+1iUv91eDFUowV/uLwJzb7RDoJ8mPm5JuWZ0MuG6Fxy3
 QkRaBRClW58waqQafejDqoCGlwWbuE74HVHAT6zY7JgMSbJ6k9fSr1eNmMjqU7qxMcHk05
 bF/93Dvc90FFR4Yrp3x2rpbigGa3EX0tqsNtOBBlH9g9qfy5veUS1LsDiuqV5WHvswbjR1
 pJTm45UWWnOLn1BtHyXSoiWg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 312e02ed
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 31 May 2026 18:20:01 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <864ijnzsdb.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
 <864ijnzsdb.fsf@HIDDEN>
Date: Sun, 31 May 2026 18:20:00 +0200
Message-ID: <87ldczsg9b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

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

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
>> Date: Sun, 31 May 2026 13:37:49 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> >> Yes why not.  Do you think it is possible to modify the window margin
>> >> >> inside display_line?
>> >> >
>> >> > No, that's definitely not possible, because the basic geometry of the
>> >> > iterator is determined before display_line is called.  So the only way
>> >> > to do that would be to abort the current redisplay, in a way that
>> >> > causes adjust_frame_glyphs to be called (e.g., by setting the frame's
>> >> > fonts_changed flag), and then repeat the display from the beginning.
>> >> 
>> >> Ok.  Let's not do that then.  So in order to setup the margin in this
>> >> patch, I think I should wait for Juri's patch (bug#76193) to land, no?
>> >
>> > Unless I'm missing something, the code in the display engine is
>> > independent of Juri's patch, so it could be installed without waiting,
>> > with the caveat that any Lisp programs that want to use this will have
>> > to set up the margin "by hand" for the time being.
>> 
>> Ok.  So do you want me clean up and document this current patch minus
>> the Edebug part?  Maybe you also want me to add the opt-in option you
>> talked about?
>
> Yes, please, on both counts.

What do you think of this new patch?  While working on it, I thought
that I could use the presence of a left margin to decide what to do.

This way the interface for users of overlay arrow is "have a margin if
you want to use it" and this falls back to overlay into the text area
otherwise.

FWIW, I have tested this on a Gnus summary buffer and with olivetti-mode
(a mode that uses left and right margin to center the buffer contents in
a window).  When olivetti-mode is active the overlay arrow uses the left
margin and when I toggle olivetti-mode off, the overlay arrow
automatically switch to using the text area.
-- 
Manuel Giraud

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-WIP-Overlay-arrow-in-margin.patch

From de6d877e4a18ec00419d0bd03ea12436a291fffc Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Thu, 28 May 2026 10:01:58 +0200
Subject: [PATCH] [WIP] Overlay arrow in margin

with test in Edebug.
---
 lisp/emacs-lisp/edebug.el |  1 +
 src/xdisp.c               | 22 ++++++++++++++++++----
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 3bb12e18842..2fc7d895a1e 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -3008,6 +3008,7 @@ edebug-overlay-arrow
   (let ((pos (line-beginning-position)))
     (setq overlay-arrow-string
 	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
+    (set-window-margins nil (length overlay-arrow-string))
     (setq overlay-arrow-position (make-marker))
     (set-marker overlay-arrow-position pos (current-buffer))))
 
diff --git a/src/xdisp.c b/src/xdisp.c
index b00a4b2e1e7..b5befe4dd18 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26733,8 +26733,22 @@ #define RECORD_MAX_MIN_POS(IT)					\
 	    = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string);
 	  struct glyph *glyph = arrow_row->glyphs[TEXT_AREA];
 	  struct glyph *arrow_end = glyph + arrow_row->used[TEXT_AREA];
-	  struct glyph *p = row->glyphs[TEXT_AREA];
-	  struct glyph *p2, *end;
+	  struct glyph *p, *p2, *end, *where;
+	  short *p_used;
+
+	  /* Put the arrow glyphs into the left margin when possible.
+	     Otherwise put them into the text area.  */
+	  if (WINDOW_LEFT_MARGIN_WIDTH (it->w) >= arrow_row->used[TEXT_AREA])
+	    {
+	      p = where = row->glyphs[LEFT_MARGIN_AREA];
+	      p_used = &(row->used[LEFT_MARGIN_AREA]);
+	      row->used[LEFT_MARGIN_AREA] += arrow_row->used[TEXT_AREA];
+	    }
+	  else
+	    {
+	      p = where = row->glyphs[TEXT_AREA];
+	      p_used = &(row->used[TEXT_AREA]);
+	    }
 
 	  /* Copy the arrow glyphs.  */
 	  while (glyph < arrow_end)
@@ -26742,14 +26756,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
 
 	  /* Throw away padding glyphs.  */
 	  p2 = p;
-	  end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
+	  end = where + *p_used;
 	  while (p2 < end && CHAR_GLYPH_PADDING_P (*p2))
 	    ++p2;
 	  if (p2 > p)
 	    {
 	      while (p2 < end)
 		*p++ = *p2++;
-	      row->used[TEXT_AREA] = p2 - row->glyphs[TEXT_AREA];
+	      *p_used = p2 - where;
 	    }
 	}
       else
-- 
2.54.0


--=-=-=--




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 12:16:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 08:16:44 2026
Received: from localhost ([127.0.0.1]:57001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTf5w-0002hD-6T
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 08:16:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33316)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTf5t-0002gi-RG
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 08:16:42 -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 1wTf5n-0005ng-Bk; Sun, 31 May 2026 08:16:35 -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=aHpTf5fSzWjehM0w+KUJnMrjTk5U0JD8GOP3uozxvow=; b=azD/hRkj6+N9
 GYNUO+HJ9mhW7NRIMGgjS9s61/NGrBvWPonzJ8ptYDkSo8pqjg4ahH05MqB+aLRmAS3z0c0hVk0bj
 LXeqalPALnMpMARALSGl/p3DE/QJLjQtymILi48GatBkaEcdjNdJwmvTvwf6x/YY6DjFJv1aXO4Tu
 rFTvROpplFE9LXVzOyVglGsxyjOscY8KoPNyDYd7W8m7a4uwN8WHI2FNCu1hnBf19eg6BVbAKDVXS
 08qiVENFZnS6Mp0OzeTBeYFzOot98gauUPdp6iHXHXTcDzVdJ5q0IJloutVIU7atDoK75rqx+6Z+e
 K0NAY8A2pG3b/FYNM/LJJg==;
Date: Sun, 31 May 2026 15:16:32 +0300
Message-Id: <864ijnzsdb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87bjdv24j6.fsf@HIDDEN> (message from Manuel Giraud on
 Sun, 31 May 2026 13:37:49 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN> <87bjdv24j6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Sun, 31 May 2026 13:37:49 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> >> Yes why not.  Do you think it is possible to modify the window margin
> >> >> inside display_line?
> >> >
> >> > No, that's definitely not possible, because the basic geometry of the
> >> > iterator is determined before display_line is called.  So the only way
> >> > to do that would be to abort the current redisplay, in a way that
> >> > causes adjust_frame_glyphs to be called (e.g., by setting the frame's
> >> > fonts_changed flag), and then repeat the display from the beginning.
> >> 
> >> Ok.  Let's not do that then.  So in order to setup the margin in this
> >> patch, I think I should wait for Juri's patch (bug#76193) to land, no?
> >
> > Unless I'm missing something, the code in the display engine is
> > independent of Juri's patch, so it could be installed without waiting,
> > with the caveat that any Lisp programs that want to use this will have
> > to set up the margin "by hand" for the time being.
> 
> Ok.  So do you want me clean up and document this current patch minus
> the Edebug part?  Maybe you also want me to add the opt-in option you
> talked about?

Yes, please, on both counts.




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 11:38:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 07:38:02 2026
Received: from localhost ([127.0.0.1]:56572 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTeUR-0007LV-GH
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 07:38:02 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:14635)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wTeUK-0007K5-Ah
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 07:37:56 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=KDXQYbJU
 j/p+QLmXL7o6G+Z0vA6CDF8dtIi1aXXQrCM=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=NlnlQ3FGu+qIwEekmk+gbcrt2ZofgN
 6sTPLf8Fy21MQqUOK+RtJi+z01O1sB+7k7Xo8il+QwBnI7DB9NdMRkAw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=KDXQYbJUj/p+QLmX
 L7o6G+Z0vA6CDF8dtIi1aXXQrCM=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=0L0PBGL1lSnJ9Lv5zHieDTazZfY4WV5DqtP/5s
 x5xaK2nSnnKeb/ivtYIXWrvYGp/kEh2ogt80S3wAevAfuHLjQlDWh2XudcA+vVlicJigA9
 0CZTGmjKiZp+I5VKGSzv6EvU2UgQ+mk6ajZeMDtMijPScCxTQWYclvfixS05M4N5ePvnak
 h768Ra16ReWHRDDUNjH799XQI38b9nrgb9e+IeQ+ujAV8/sUSh0MF3dWhjkF2mCmU/TWPm
 jTAJZDbgK3g339PEB8X8mAjbWGp7XwIcKW/MolK1wUi7VxID/nh9wJZr6Wr7BJRyYN5eLP
 yYwMFBCcd0XqVtLohxUk6tWw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d61acc66
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 31 May 2026 13:37:50 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <865x43zwa2.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
 <865x43zwa2.fsf@HIDDEN>
Date: Sun, 31 May 2026 13:37:49 +0200
Message-ID: <87bjdv24j6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
>> Date: Sun, 31 May 2026 12:37:32 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Manuel Giraud <manuel@HIDDEN>
>> >> Cc: Juri Linkov <juri@HIDDEN>,  81109 <at> debbugs.gnu.org
>> >> Date: Sat, 30 May 2026 11:05:57 +0200
>> >> 
>> >> Eli Zaretskii <eliz@HIDDEN> writes:
>> >> 
>> >> >> From: Juri Linkov <juri@HIDDEN>
>> >> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
>> >> >> Date: Fri, 29 May 2026 18:04:14 +0300
>> >> >> 
>> >> >> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
>> >> >> >> the window margins (by default, given some new user option).  We can
>> >> >> >> then document in the doc string of overlay-arrow-string that the
>> >> >> >> margin needs to be set up to have the arrow appear there.
>> >> >> >
>> >> >> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
>> >> >> > uses overlay arrow and modify it to set up the window margins.  But my
>> >> >> > question of acceptability was more about potential external/package
>> >> >> > code.
>> >> >> 
>> >> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
>> >> >> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
>> >> >> could set it to an appropriate value.
>> >> >
>> >> > Yes, but I think Manuel is looking for a solution that would
>> >> > "magically" create the margins as soon as the overlay-arrow-position
>> >> > is set non-nil.
>> >> 
>> >> Yes why not.  Do you think it is possible to modify the window margin
>> >> inside display_line?
>> >
>> > No, that's definitely not possible, because the basic geometry of the
>> > iterator is determined before display_line is called.  So the only way
>> > to do that would be to abort the current redisplay, in a way that
>> > causes adjust_frame_glyphs to be called (e.g., by setting the frame's
>> > fonts_changed flag), and then repeat the display from the beginning.
>> 
>> Ok.  Let's not do that then.  So in order to setup the margin in this
>> patch, I think I should wait for Juri's patch (bug#76193) to land, no?
>
> Unless I'm missing something, the code in the display engine is
> independent of Juri's patch, so it could be installed without waiting,
> with the caveat that any Lisp programs that want to use this will have
> to set up the margin "by hand" for the time being.

Ok.  So do you want me clean up and document this current patch minus
the Edebug part?  Maybe you also want me to add the opt-in option you
talked about?
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 10:52:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 06:52:22 2026
Received: from localhost ([127.0.0.1]:56063 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTdmE-0007Lg-FJ
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 06:52:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46658)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTdmB-0007KU-Fs
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 06:52:16 -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 1wTdm4-0002Hl-Q1; Sun, 31 May 2026 06:52:08 -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=BUEL7a9LpNP8mS7l7Bl1/sQybIc8/N03V2gxczmb8xI=; b=XKFfXu5snkFC
 YvflSveHG4/SjqZS3F2hBZHrCZK73Ann+pIqFw9DRzzKbVTlkQQ385HpJkCfK2TqgyOcvi8OGgCa0
 pyyNDe7b+f0pXMBkxSWiTAIIRL4lEknreE+uXGqJEfqtX7X9ONjlzdrTFpRWAI52XU/ltQ4mnmPY2
 FNO1Y8L9UW/dqbT4jB4ACKaQXVkCrWTyY2PjITbdjdwqM6Sk7YnhB6jhw1CIP2xQmWnuMzY00hjRg
 8CGQHNlbEEgsR/UQLwaHpK+OpywHalCwJTY8n7GIWqmmrytG0LlDV8CzYHplS2dNJPFnjEdktMwRY
 HGmhjF/764Un9XOQcxrGuQ==;
Date: Sun, 31 May 2026 13:52:05 +0300
Message-Id: <865x43zwa2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87ik83dfv7.fsf@HIDDEN> (message from Manuel Giraud on
 Sun, 31 May 2026 12:37:32 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN> <87ik83dfv7.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: juri@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Sun, 31 May 2026 12:37:32 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Cc: Juri Linkov <juri@HIDDEN>,  81109 <at> debbugs.gnu.org
> >> Date: Sat, 30 May 2026 11:05:57 +0200
> >> 
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >> 
> >> >> From: Juri Linkov <juri@HIDDEN>
> >> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
> >> >> Date: Fri, 29 May 2026 18:04:14 +0300
> >> >> 
> >> >> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
> >> >> >> the window margins (by default, given some new user option).  We can
> >> >> >> then document in the doc string of overlay-arrow-string that the
> >> >> >> margin needs to be set up to have the arrow appear there.
> >> >> >
> >> >> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
> >> >> > uses overlay arrow and modify it to set up the window margins.  But my
> >> >> > question of acceptability was more about potential external/package
> >> >> > code.
> >> >> 
> >> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
> >> >> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
> >> >> could set it to an appropriate value.
> >> >
> >> > Yes, but I think Manuel is looking for a solution that would
> >> > "magically" create the margins as soon as the overlay-arrow-position
> >> > is set non-nil.
> >> 
> >> Yes why not.  Do you think it is possible to modify the window margin
> >> inside display_line?
> >
> > No, that's definitely not possible, because the basic geometry of the
> > iterator is determined before display_line is called.  So the only way
> > to do that would be to abort the current redisplay, in a way that
> > causes adjust_frame_glyphs to be called (e.g., by setting the frame's
> > fonts_changed flag), and then repeat the display from the beginning.
> 
> Ok.  Let's not do that then.  So in order to setup the margin in this
> patch, I think I should wait for Juri's patch (bug#76193) to land, no?

Unless I'm missing something, the code in the display engine is
independent of Juri's patch, so it could be installed without waiting,
with the caveat that any Lisp programs that want to use this will have
to set up the margin "by hand" for the time being.




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

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


Received: (at 81109) by debbugs.gnu.org; 31 May 2026 10:37:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 31 06:37:39 2026
Received: from localhost ([127.0.0.1]:55887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTdY2-0005kF-So
	for submit <at> debbugs.gnu.org; Sun, 31 May 2026 06:37:39 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:20601)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wTdXz-0005jb-Uz
 for 81109 <at> debbugs.gnu.org; Sun, 31 May 2026 06:37:37 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=Wg5sCMcf
 d6j+N9tLKdx1vPvzIUYKgbR/cAo5HWP4Hg4=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=GkvexYW7F4/F/Dvg96Fl+neI7iOoG0
 z93fr3peY8w3xeO0bcR7O21zfapNLxOcu+FIJy4pGfmxhy4Y/pyn+MCA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Wg5sCMcfd6j+N9tL
 Kdx1vPvzIUYKgbR/cAo5HWP4Hg4=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=l4VFgHsWDZKEJW7CODzCqadMgkXyi5kOhg0neM
 1cGDwF0Hy7j6wvdfxd6uaAMm6WKMG9Q0Fiuzgy/dA9BuqiJ2GqNmnWu+ag6Ge0sQAvQ4zJ
 qW+3UqfYYDo6JMocOVc77AsUT2II4vvNOdOuu/CwX817Rj9+EVCTppSH/drN+RuwAM0OUq
 OtV9VfgKfjK0/t8b19/L9QzLyCshd2nIM9yvH3iOLCYuJig/38OhVeYGmb0C70EGK2sLFc
 cn5eFsmS8LoA28HOG3ZC7OUa1e2GKEKg8a5WAppCiwuTbmAoLYubFOk+VkGRHSpahBfkJM
 Ruv2VW/IsKwx2VagEfTyja5Q==
Received: from computer (gut75-1-82-67-177-112.fbx.proxad.net [82.67.177.112])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id c88aaf28
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 31 May 2026 12:37:33 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86bjdx1caz.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
 <86bjdx1caz.fsf@HIDDEN>
Date: Sun, 31 May 2026 12:37:32 +0200
Message-ID: <87ik83dfv7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: Juri Linkov <juri@HIDDEN>,  81109 <at> debbugs.gnu.org
>> Date: Sat, 30 May 2026 11:05:57 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Juri Linkov <juri@HIDDEN>
>> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
>> >> Date: Fri, 29 May 2026 18:04:14 +0300
>> >> 
>> >> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
>> >> >> the window margins (by default, given some new user option).  We can
>> >> >> then document in the doc string of overlay-arrow-string that the
>> >> >> margin needs to be set up to have the arrow appear there.
>> >> >
>> >> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
>> >> > uses overlay arrow and modify it to set up the window margins.  But my
>> >> > question of acceptability was more about potential external/package
>> >> > code.
>> >> 
>> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
>> >> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
>> >> could set it to an appropriate value.
>> >
>> > Yes, but I think Manuel is looking for a solution that would
>> > "magically" create the margins as soon as the overlay-arrow-position
>> > is set non-nil.
>> 
>> Yes why not.  Do you think it is possible to modify the window margin
>> inside display_line?
>
> No, that's definitely not possible, because the basic geometry of the
> iterator is determined before display_line is called.  So the only way
> to do that would be to abort the current redisplay, in a way that
> causes adjust_frame_glyphs to be called (e.g., by setting the frame's
> fonts_changed flag), and then repeat the display from the beginning.

Ok.  Let's not do that then.  So in order to setup the margin in this
patch, I think I should wait for Juri's patch (bug#76193) to land, no?
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 30 May 2026 09:23:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 05:23:11 2026
Received: from localhost ([127.0.0.1]:37587 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTFuQ-0001xf-Ux
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 05:23:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44622)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wTFuP-0001xM-1C
 for 81109 <at> debbugs.gnu.org; Sat, 30 May 2026 05:23:09 -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 1wTFuI-0006oB-FR; Sat, 30 May 2026 05:23:02 -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=fkMWHzBkI4lDO+79hbaJGjT5jB2DeaVH4g+mS7BWWBU=; b=ZqV3aVl1ZjKU
 qCZhBRvXeVcEAmcHMa79nI4Yrwt9k0phEqacvREMInXrrkl4FfOhAMicgk+PJdRFzw+8qugNHpsIP
 oEUaslARXKkplGyk71luCdUF3UrG8ThikrDg/iNAtOpriIzPW6JQV4uHQJXNboqK47/rEHey0Vp7m
 2CNi6IspaAROxKXTOemNnLX8WYeh8ic2TZ69MNtED2e0Z6ZVZ9tpA3fww2w+iimh0xj1huTwnXy1l
 lax+6Cg+FHvfObUAmv5djTCByV+N51CvrCjLMZuulYvhsEtQhAeDRP82aTOjxgVsF+R/7n1gzNtgI
 1WV/XvCLwpwY9ABtc8J9uw==;
Date: Sat, 30 May 2026 12:23:00 +0300
Message-Id: <86bjdx1caz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87qzmtclmy.fsf@HIDDEN> (message from Manuel Giraud on
 Sat, 30 May 2026 11:05:57 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN> <87qzmtclmy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: Juri Linkov <juri@HIDDEN>,  81109 <at> debbugs.gnu.org
> Date: Sat, 30 May 2026 11:05:57 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Juri Linkov <juri@HIDDEN>
> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
> >> Date: Fri, 29 May 2026 18:04:14 +0300
> >> 
> >> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
> >> >> the window margins (by default, given some new user option).  We can
> >> >> then document in the doc string of overlay-arrow-string that the
> >> >> margin needs to be set up to have the arrow appear there.
> >> >
> >> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
> >> > uses overlay arrow and modify it to set up the window margins.  But my
> >> > question of acceptability was more about potential external/package
> >> > code.
> >> 
> >> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
> >> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
> >> could set it to an appropriate value.
> >
> > Yes, but I think Manuel is looking for a solution that would
> > "magically" create the margins as soon as the overlay-arrow-position
> > is set non-nil.
> 
> Yes why not.  Do you think it is possible to modify the window margin
> inside display_line?

No, that's definitely not possible, because the basic geometry of the
iterator is determined before display_line is called.  So the only way
to do that would be to abort the current redisplay, in a way that
causes adjust_frame_glyphs to be called (e.g., by setting the frame's
fonts_changed flag), and then repeat the display from the beginning.




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

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


Received: (at 81109) by debbugs.gnu.org; 30 May 2026 09:06:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 05:06:04 2026
Received: from localhost ([127.0.0.1]:37418 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wTFds-0000r9-GQ
	for submit <at> debbugs.gnu.org; Sat, 30 May 2026 05:06:04 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:26632)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wTFdo-0000qd-Px
 for 81109 <at> debbugs.gnu.org; Sat, 30 May 2026 05:06:02 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=d8D7ODZe
 jyZDPakabfK+1J5dhcTYJJybTdS361BQIZE=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=kt6fAB+b5Hy3YSUBn+MmyiGXEe1fpD
 PpCfro7i19HB+9z36Q9/PwD525fHqL090I+G3vMFVoZ70CiT21KYcQBQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=d8D7ODZejyZDPaka
 bfK+1J5dhcTYJJybTdS361BQIZE=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=kSMsi5PL0djEggd8BANJ0aVAkPTX/TS/xj/Q3l
 JZTKC5kekUfGwoCk0WgJJt9qfCsmac0tIo65X8i/9GHHJSymHwmYfJGOBg1Ghqk9o+ch+l
 JFj8arBdAXs5UJj02ic8z3IdLCRDu91oiO/AQ+EIA/E1X3hwV1kwhBXl5YDmULggL736Kn
 +dh3xMPH2B3a5KNDJ90ZBc+gsrEZV22QXxhAp1YGhGKxEgd1/GCA6xzTZcg43AEIeXrh7N
 Ub/7y9HWee5KN2xDCk2TJuNVGbNzqiQ/pIH1J35cnrv+BXOMJKgNqUyPScuIAvo+ENTyml
 MM7krjpW2Q35APAxLieoTO8w==
Received: from computer (gut75-1-82-67-177-112.fbx.proxad.net [82.67.177.112])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id ab27c6d5
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 30 May 2026 11:05:58 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86wlwm11tx.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
 <86wlwm11tx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Sat, 30 May 2026 11:05:57 +0200
Message-ID: <87qzmtclmy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Juri Linkov <juri@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
>> Date: Fri, 29 May 2026 18:04:14 +0300
>> 
>> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
>> >> the window margins (by default, given some new user option).  We can
>> >> then document in the doc string of overlay-arrow-string that the
>> >> margin needs to be set up to have the arrow appear there.
>> >
>> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
>> > uses overlay arrow and modify it to set up the window margins.  But my
>> > question of acceptability was more about potential external/package
>> > code.
>> 
>> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
>> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
>> could set it to an appropriate value.
>
> Yes, but I think Manuel is looking for a solution that would
> "magically" create the margins as soon as the overlay-arrow-position
> is set non-nil.

Yes why not.  Do you think it is possible to modify the window margin
inside display_line?

Anyway you seem to say this is not easy to do so modifying the code
using overlay arrow maybe a better option.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 19:15:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 15:15:32 2026
Received: from localhost ([127.0.0.1]:58731 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wT2g6-0001zC-Ic
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 15:15:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48860)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wT2fw-0001vE-3z
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 15:15:22 -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 1wT2fq-00035N-6Z; Fri, 29 May 2026 15:15:14 -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=hNQfIHAQSHtu2IevixO0u1fJ96I/DsYuRHyP9Nukjqs=; b=AygxLgkaz0Zc
 E7qxeqMO2sQnmqs23sbjxDRTe6+sZi1Qyigt1bBa1zteH2wjCfh9R2Q33ZFvcApIff80yadXCk+A+
 4iVBnYBfUv4SHUlc2XGu9JrFlEArZQh3XDYuKnDJbTy/PIWcedruZ2KCxShu2JF6ze5TjsFV9rMkX
 pXShox1LwNEdjZkIfRUiSugjx4YWptRicsGy2T+avFfoZxVZ5nFig4aFFoXGo8rIgXsarg/iyRFF9
 77i5wFRdUiYKlO+T5GPb8Jdhhf2Z6aCN3p5M6hJ9rlnEWCkht1jf+1u9eqVTY0w6Oa3serNOSCIXC
 i5m5KHNj+VrBsYTUMea3OQ==;
Date: Fri, 29 May 2026 22:15:08 +0300
Message-Id: <86pl2e10zn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87eciudvby.fsf@HIDDEN> (message from Manuel Giraud on
 Fri, 29 May 2026 18:38:57 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <8633za2yd2.fsf@HIDDEN>
 <878q92ffa1.fsf@HIDDEN> <86zf1i1a7t.fsf@HIDDEN>
 <87eciudvby.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> Date: Fri, 29 May 2026 18:38:57 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> >> Date: Fri, 29 May 2026 16:42:46 +0200
> >> 
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >> 
> >> >> From: Manuel Giraud <manuel@HIDDEN>
> >> >> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> >> >> Date: Fri, 29 May 2026 14:02:59 +0200
> >> >> 
> >> >> But my question of acceptability was more about potential
> >> >> external/package code.
> >> >
> >> > In that case, I don't think I understand the question.  Please
> >> > elaborate.
> >> 
> >> What I mean is if there are packages that are using overlay-arrow-string
> >> but are unaware that now the margin should be set up, those packages
> >> will appear to be "broken".
> >
> > Which is why I think we should still support the old implementation as
> > opt-in behavior controlled by some option.
> 
> Ok but then the package has to opt-in anyway.

Yes, but that's inevitable, IMO.

> So instead it can just adapt to set up the margin.

If they can, yes.  The opt-out possibility is for the cases when it's
undesirable or not practical.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 18:57:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 14:57:09 2026
Received: from localhost ([127.0.0.1]:58435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wT2OK-0008IO-Og
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 14:57:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38080)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wT2OI-0008HQ-EH
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 14:57:07 -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 1wT2OC-0006Q8-Oo; Fri, 29 May 2026 14:57:00 -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=hWq7BT04CG7y0BAf85SN25U2Y2aeLZDTLOGyY+vWvPE=; b=fVimMRpW1Euh
 U0qLHiLiOGucB9QEXID014/MvasmO1m8s+bTz3mbnSUuACf7WND0cagtOKvknS3t6MZhwhMeWEZf5
 vFNvL990BEkFlRuyttlUG6rTJS95V/jEbXtznKiRk460iGN09W9gFbiykbBeA0V4EXeAQtBWAkwwS
 5EZ1ZHErYqpc/XdVEK3J6fEWDAhqKe7spi6lskFgPF5BTUj1+Fpzbl71cQemvHyXVd8LwqPbHpLB5
 ntU+GV46kiug2y43Gd0fewfieCvHDfBbJlahyDLhQwVhmkRm6Z+Grdx2V4uxjEnzhwaLEBerDYztq
 OHZMZkmbGd/4PixNxFQBcQ==;
Date: Fri, 29 May 2026 21:56:58 +0300
Message-Id: <86wlwm11tx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87ik86s2s9.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 29 May 2026 18:04:14 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  81109 <at> debbugs.gnu.org
> Date: Fri, 29 May 2026 18:04:14 +0300
> 
> >> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
> >> the window margins (by default, given some new user option).  We can
> >> then document in the doc string of overlay-arrow-string that the
> >> margin needs to be set up to have the arrow appear there.
> >
> > Ok.  User option or not, we'll have to pinpoint every Emacs' code that
> > uses overlay arrow and modify it to set up the window margins.  But my
> > question of acceptability was more about potential external/package
> > code.
> 
> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
> could set it to an appropriate value.

Yes, but I think Manuel is looking for a solution that would
"magically" create the margins as soon as the overlay-arrow-position
is set non-nil.  I don't think this is easy to accomplish, because the
margins must be set before redisplay kicks in.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 16:39:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 12:39:04 2026
Received: from localhost ([127.0.0.1]:57373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wT0Eh-0006LG-Jp
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 12:39:03 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:34251)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wT0Ee-0006Kh-9E
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 12:39:01 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=mOMVYtcn
 xkmrKoDzjHtVWVKiaj4AWo/cFK7bqqTSMSo=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=4HLTIw3j40XOgGkSxrW0c3Up4FUxDU
 Yz3HCk6f7jGCxsdG+2t6eV3ReL+VJKHrMctQ9Z3MBqdwXpaZRzmYlfBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=mOMVYtcnxkmrKoDz
 jHtVWVKiaj4AWo/cFK7bqqTSMSo=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=m1EAdzYLlqEZdlsTZIbVyQ6wCnduGwcdV5OQQC
 ohZ5ETIrhmUT3KoXcsKUyS2v1c4wIhn2BLtQZZd1YJ5qpwGda7RW/3Z7KmHO/D3JJleFJS
 eNIU9n6fHSsECLy9zepTgcCm2ir91CNnXequZSYGjUeDxhqn56yIAB1XfsR6gSQ3hvX93o
 bCntEI/Fq+YF3f+27jHcNKx7Jl7MtxKCk4IfZiOXxko1QMfnH6jrv/RePH8WUcP9a+c8kt
 vXuaXwnpnVAFj4aD98gbx0/n38JevSV3bJ8ZU61ycjfgtg8Ibl5RRrBoMRhlz50I7SfFLH
 Xv85Wo9OkTmNV4Ao0+xYyxoQ==
Received: from computer (gut75-1-82-67-177-112.fbx.proxad.net [82.67.177.112])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 04d9f212
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 29 May 2026 18:38:58 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86zf1i1a7t.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <8633za2yd2.fsf@HIDDEN>
 <878q92ffa1.fsf@HIDDEN> <86zf1i1a7t.fsf@HIDDEN>
Date: Fri, 29 May 2026 18:38:57 +0200
Message-ID: <87eciudvby.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
>> Date: Fri, 29 May 2026 16:42:46 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Manuel Giraud <manuel@HIDDEN>
>> >> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
>> >> Date: Fri, 29 May 2026 14:02:59 +0200
>> >> 
>> >> But my question of acceptability was more about potential
>> >> external/package code.
>> >
>> > In that case, I don't think I understand the question.  Please
>> > elaborate.
>> 
>> What I mean is if there are packages that are using overlay-arrow-string
>> but are unaware that now the margin should be set up, those packages
>> will appear to be "broken".
>
> Which is why I think we should still support the old implementation as
> opt-in behavior controlled by some option.

Ok but then the package has to opt-in anyway.  So instead it can just
adapt to set up the margin.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 15:57:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 11:57:17 2026
Received: from localhost ([127.0.0.1]:56967 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSzaH-0003gr-2F
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 11:57:17 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:24452)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wSzaF-0003gb-3u
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 11:57:16 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=nNb4MzKT
 PUw40Zms2ARYnqgBiyH3hnWZeMH35eHWzoI=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=xjgLLZz81hsXDwc1R+r86pWQvDgetP
 c2QA9tugEEslFJCLPa1hF7T6YyECtjNCQReVh8hA8t0FZIqvhQiwoCCw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=nNb4MzKTPUw40Zms
 2ARYnqgBiyH3hnWZeMH35eHWzoI=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=ChVml08xGkw5YwN2mYMgx53WHoFIwes9ksHjJ3
 7ewT9wGMnsYgQrWStS8FTA3v9ray9ChCS6DkHDHUws51PGCxwteJ2PQ2nCSqCXy0oqcGw2
 cwHP6rjY+kZlUf9nL6XxFZKy1BWslel5AOyTKKQKuONdpdDcTJvxTjSSVkMe5XH8tEFYbC
 Q3tfBcGcH9UXPVaN8U0iOmVtR9gcSBEY976bIQ2cJMvbfQ68Epuuz2Q3UurDRtsT1Im+cN
 ps5Vg2TMfPQtDTySzpl8C9KVvaptc1dxgh9TUhAU0d9Md4UTe6rRZCH7/F/x2RChidzVoB
 EUN+wNk/1+eJOnyIJlJ5ilBw==
Received: from computer (gut75-1-82-67-177-112.fbx.proxad.net [82.67.177.112])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id bad33003
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 29 May 2026 17:57:13 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <87ik86s2s9.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <87ik86s2s9.fsf@HIDDEN>
Date: Fri, 29 May 2026 17:57:12 +0200
Message-ID: <87o6hydx9j.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: Eli Zaretskii <eliz@HIDDEN>, 81109 <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: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

>>> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
>>> the window margins (by default, given some new user option).  We can
>>> then document in the doc string of overlay-arrow-string that the
>>> margin needs to be set up to have the arrow appear there.
>>
>> Ok.  User option or not, we'll have to pinpoint every Emacs' code that
>> uses overlay arrow and modify it to set up the window margins.  But my
>> question of acceptability was more about potential external/package
>> code.
>
> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
> I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
> could set it to an appropriate value.

Ok so if I understand correctly 'window-margin-functions' is a hook that
will sum all the values returned by the functions in it, right?  So
users of overlay arrow just have to record the size of the arrow here?
This is fine by me and more versatile than what I proposed.

FTR, there is not just Edebug and "M-x gdb".  That I know of, there is
also at least Gnus summary buffer.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 15:56:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 11:56:05 2026
Received: from localhost ([127.0.0.1]:56950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSzZ4-0003e6-OY
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 11:56:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44426)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wSzZ0-0003dd-Et
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 11:56:00 -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 1wSzYu-0001ZU-R7; Fri, 29 May 2026 11:55:52 -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=XNeVYM5gwS6hwiTaYV6JyizJnOL/p+m1fF0mfGEAO3k=; b=KeHVJiC2HHb9
 V6gyLbr49jEInHA0rvkKrlsqU0mEVWsA9ZSczoXTP1J/GMe9jQNYFJhG2rIZYc7mSClOTSfBXV7al
 ekp4GJGmSESIrAtcCFsflsGz/b0OVQCF7otxP0X/10D5ZyAppGRBAc7TBcN1JBIlv808/BNjYAIwp
 0R0EyeVAHXEn58ey9H5fIGSHi5Syy1zjsm2sxdEueO5DoW9sTcDHw8CvA1mMfjwsryIpIBgamRuem
 KCGHvRlMlTrxbfUdVlRhk5sgj2SRbslQUldxpiPqQSuDUhew6jzGKGhpqOCiZIPVH3Sn0gQnOtPQu
 e0FIdkdzc1xiigqAhw0HHA==;
Date: Fri, 29 May 2026 18:55:50 +0300
Message-Id: <86zf1i1a7t.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <878q92ffa1.fsf@HIDDEN> (message from Manuel Giraud on
 Fri, 29 May 2026 16:42:46 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <8633za2yd2.fsf@HIDDEN>
 <878q92ffa1.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> Date: Fri, 29 May 2026 16:42:46 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> >> Date: Fri, 29 May 2026 14:02:59 +0200
> >> 
> >> But my question of acceptability was more about potential
> >> external/package code.
> >
> > In that case, I don't think I understand the question.  Please
> > elaborate.
> 
> What I mean is if there are packages that are using overlay-arrow-string
> but are unaware that now the margin should be set up, those packages
> will appear to be "broken".

Which is why I think we should still support the old implementation as
opt-in behavior controlled by some option.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 15:18:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 11:18:25 2026
Received: from localhost ([127.0.0.1]:56612 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSyye-0001QK-V9
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 11:18:25 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151]:60170)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wSyyd-0001Pl-4M
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 11:18:23 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4gRn6s48Wrz9tjF;
 Fri, 29 May 2026 17:18:13 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1780067893;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=9r8xmhBpETt2RPk5xeOWQwaTZav5UPTXDsv3NCRCtDA=;
 b=ojge62EDyN7jlGq0YktPzgtDdw6hLuw6aCkjLSWAnS+N9LfbYNNh0T7/hHUTN7Vab4GIpN
 q9pjy9hZhmXctjehsTmGOCOEc8oaZWAicHwqV97IVjqcJRWcHLuLoaUYqqBlKnET/A9DTp
 TBiO70RHP2IAH7RVHhYQXQTadUqGhrpUtfiJHt23Rte+fk5T/AX4VOskvPfrd8/+Vb9cGC
 reBHySZ+Q7Ia+6pAvW/bcJPAU6nXdEmjNw/HnGA5l60V3LdU8PE8rhjQ1vTi+YI5eWxZ/g
 bvlRMH6dvwk07zEfwInNXT08Vq+iOchq1jBkFa6V33Bw760vDkCBPDtFdPv8Pg==
From: Juri Linkov <juri@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <87wlwmfmoc.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN>
Date: Fri, 29 May 2026 18:04:14 +0300
Message-ID: <87ik86s2s9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81109
Cc: Eli Zaretskii <eliz@HIDDEN>, 81109 <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: -1.7 (-)

>> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
>> the window margins (by default, given some new user option).  We can
>> then document in the doc string of overlay-arrow-string that the
>> margin needs to be set up to have the arrow appear there.
>
> Ok.  User option or not, we'll have to pinpoint every Emacs' code that
> uses overlay arrow and modify it to set up the window margins.  But my
> question of acceptability was more about potential external/package
> code.

In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76193#17
I proposed 'window-margin-functions'.  Edebug and "M-x gdb"
could set it to an appropriate value.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 14:42:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 10:42:52 2026
Received: from localhost ([127.0.0.1]:56139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSyQG-0007AW-Af
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 10:42:52 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:10523)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wSyQC-0007AF-RK
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 10:42:50 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=fuai4bkf
 Ied6tDldRjEEpSGtd0v6O1xbD+oEVMkG/+U=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=/FnqYDevexO8EzwR1frQLM3NiDzN8F
 SipwaYv0SNRnUArlXvqcrbsfChL6rP/CWghSGypn+q3II6p7Oh1HsZDQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=fuai4bkfIed6tDld
 RjEEpSGtd0v6O1xbD+oEVMkG/+U=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=sbRJh2STZrU1vuKkXGWH+uHGew0T31KC5tk+so
 WJVO8ceGRd4GGUE7qaQBTymymzj9kZ6VL+mxAXvi05WzQnNDfe9IFl7ZXFMduignWnlMoe
 xXGhYhGHI7Y0IqYgvJ9BXtywt6bn0VW6sPhnKgLKjStLHk+QchadELbWvf/oat7tjjup8d
 EjGlKzdssLUWVAeqGCgXkPNU2lRmYSywt2mFSMshdy5ywMAX4BsDvAw7/bKXMIHa9CFtt4
 o3kOYZqcMga5v5jn0NeHraH76z3PlgblV5imrKMd6zLIo9ium45hGzN4v/VAgeSgylxedA
 ul1ilkcQcUAmlKTCvPhL7ngg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id a6d91723
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 29 May 2026 16:42:47 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <8633za2yd2.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN> <8633za2yd2.fsf@HIDDEN>
Date: Fri, 29 May 2026 16:42:46 +0200
Message-ID: <878q92ffa1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
>> Date: Fri, 29 May 2026 14:02:59 +0200
>> 
>> But my question of acceptability was more about potential
>> external/package code.
>
> In that case, I don't think I understand the question.  Please
> elaborate.

What I mean is if there are packages that are using overlay-arrow-string
but are unaware that now the margin should be set up, those packages
will appear to be "broken".
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 12:29:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 08:29:14 2026
Received: from localhost ([127.0.0.1]:54521 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSwKu-0002j9-MO
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 08:29:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50212)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wSwKp-0002hj-I9
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 08:29:09 -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 1wSwKj-0000mW-8m; Fri, 29 May 2026 08:29:01 -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=vto8Dl/sBhWsPyT57kz6b65KFXiV8arBFAdFDPcnp+s=; b=cC48VRdI/jlx
 6zRtsTlpd+0GVkauV6eVOyihYaXSAkKIXY5RZq818xtsXAg1dyvTQe1pbnrpfiKZBTkQtnhGprTEv
 0hUnfJCpapd69X8UrqqqrtsT89kOoiQO5Alp6wQ78uKqI8+MAmEdjklJaufKDu8qtLy4G//aEoe1J
 q7shtmzBtnYc5p6nVMTlDjCmshUBBdvisBKqYRzzRgc6vTn0xq1A5WdVxEO/EZ5omBkh8PTl0ef0B
 Ij6CO9vCZIcOwax8kE+tE2dfAdqXXaguGDsCoY9qd8IcHrINpytAIyX5/l+GFgVeaLtx/y5HeP7h4
 4EvTAuK1l38X3HTQ0Ms9BQ==;
Date: Fri, 29 May 2026 15:28:57 +0300
Message-Id: <8633za2yd2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87wlwmfmoc.fsf@HIDDEN> (message from Manuel Giraud on
 Fri, 29 May 2026 14:02:59 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
 <87wlwmfmoc.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org,  juri@HIDDEN
> Date: Fri, 29 May 2026 14:02:59 +0200
> 
> But my question of acceptability was more about potential
> external/package code.

In that case, I don't think I understand the question.  Please
elaborate.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 12:03:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 08:03:10 2026
Received: from localhost ([127.0.0.1]:54445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSvvg-0006k1-0f
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 08:03:10 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:25114)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wSvva-0006it-Vz
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 08:03:05 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=rQzUsg7e
 V+BZ0wVUC7vplyy0rEMd7T0wrWQ1WPN+gps=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=b0gGxqgmKvq5kGqV2uN28hl2AXS3MO
 OrFnh0TUoE3/qLPRr9G/q9CxHwmrCmOrqh5GjQBWQ75v/pEkguHPzrDQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=rQzUsg7eV+BZ0wVU
 C7vplyy0rEMd7T0wrWQ1WPN+gps=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=j54ARK9zpZxUbuvSo2wGVkPYCs9MTOMSBO0ZzO
 u9+Jkcov9hSQ5eJN8zQzQbG5VUbbV439jdhpJg+y8eOa1AFr30F6q4vRxPM4c8EUPpBx6U
 FhhwJ/Xujque2D7ye/gc5mCmTPN+RF5LpqdRCl7D8gfiv4gJMFBXiuIyEhLOxFBTQEJefR
 FED635F8ESV0dYtjgkydi8akEwfxMjUKLzG6NKsdWm8ilsiuzwYBsie4AQyqwZQ0k2+Pm3
 tBxydZ7qzyMuyqG0lc68105dalzdgyu6Jv4Y/TRtaFMbJpAQ8P+S3c1KsKtKtKSZGoLz7Y
 gqo6Vq5kIqh+U+O2RJ2fA3Zg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 90488cdf
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 29 May 2026 14:03:00 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <867bom32w9.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN> <867bom32w9.fsf@HIDDEN>
Date: Fri, 29 May 2026 14:02:59 +0200
Message-ID: <87wlwmfmoc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
>> Date: Fri, 29 May 2026 10:59:49 +0200
>> 
>> I think I have found the issue of why the overlay string does not
>> appeared in the margin: the glyph row's used[LEFT_MARGIN_AREA] was not
>> moved accordingly.
>
> Sounds right to me, thanks.
>
>> This new patch makes this feature works with Edebug but now I have one
>> question.  With this feature, every user of overlay string have to
>> activate the window margin (as I have done with Edebug) otherwise the
>> arrow won't be visible at all (I have tested it in Gnus).  Is it
>> something acceptable?
>
> Yes, I think so.
>
> For the actual implementation, we need to discuss whether we want to
> leave the original behavior as opt-in.

I don't know if it worth it to add more logical maze to xdisp.c for such
a niche feature.  As you said previously, default GUI users won't even
be affected by this.

> If we do, perhaps Edebug and "M-x gdb" will take care of setting up
> the window margins (by default, given some new user option).  We can
> then document in the doc string of overlay-arrow-string that the
> margin needs to be set up to have the arrow appear there.

Ok.  User option or not, we'll have to pinpoint every Emacs' code that
uses overlay arrow and modify it to set up the window margins.  But my
question of acceptability was more about potential external/package
code.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 10:51:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 06:51:25 2026
Received: from localhost ([127.0.0.1]:53615 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSuoD-000259-Nf
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 06:51:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44598)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wSuo8-00023L-7t
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 06:51:18 -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 1wSuo0-0001Wb-B5; Fri, 29 May 2026 06:51:08 -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=/25KnSPJFBpXrpA86haBQ9UqXx8Tv4lA089CsLa45kk=; b=S8r4mPq1fzs4
 mBayv0+M+ipGTAB0VJTvL8Pt7R5Fmc437ZfNiCc/Nd26571tRa7ttYO69I9UN6GhcNoaW3Brp9QFv
 JidJqAHv3F86DEAEvnbAYkQ3MdPH7DP7wmvVKZa7bOVPOph5TNDfb2Oh5bwTH5AhWeCSrh1zFIIcP
 Q5vZrsvKWDnRg5PHF8AP8kFM7j6u6orWej3jmimM9RU+flIclZl5yzj/0rf0NYCekPNxNKcpkhRBb
 tJk4Kip5w6+T4+vstp9ilBfDdkSyccKRAH4yT/xlL91xRRbcETWl6UIeoZyLoa3WCH96DfoO8ehCY
 pprTMFwLn6p2vU8ch+JeYA==;
Date: Fri, 29 May 2026 13:51:02 +0300
Message-Id: <867bom32w9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87jysmegl6.fsf@HIDDEN> (message from Manuel Giraud on
 Fri, 29 May 2026 10:59:49 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
 <87jysmegl6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, juri@HIDDEN
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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
> Date: Fri, 29 May 2026 10:59:49 +0200
> 
> I think I have found the issue of why the overlay string does not
> appeared in the margin: the glyph row's used[LEFT_MARGIN_AREA] was not
> moved accordingly.

Sounds right to me, thanks.

> This new patch makes this feature works with Edebug but now I have one
> question.  With this feature, every user of overlay string have to
> activate the window margin (as I have done with Edebug) otherwise the
> arrow won't be visible at all (I have tested it in Gnus).  Is it
> something acceptable?

Yes, I think so.

For the actual implementation, we need to discuss whether we want to
leave the original behavior as opt-in.  If we do, perhaps Edebug and
"M-x gdb" will take care of setting up the window margins (by default,
given some new user option).  We can then document in the doc string
of overlay-arrow-string that the margin needs to be set up to have the
arrow appear there.




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

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


Received: (at 81109) by debbugs.gnu.org; 29 May 2026 08:59:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 04:59:57 2026
Received: from localhost ([127.0.0.1]:51532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSt4O-0003ez-QG
	for submit <at> debbugs.gnu.org; Fri, 29 May 2026 04:59:57 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:39902)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wSt4L-0003eM-Am
 for 81109 <at> debbugs.gnu.org; Fri, 29 May 2026 04:59:54 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=/sdXnt8d
 fGCwS+Sgwntn3JfrX5P5mfWGI3Kk0Y0SM0k=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=EPe7OW6MsDjwU9fqLWyko1i+cvxboJ
 XI4WToumYh1Au7dXCy5GzkF2uUDfyqP3d3egaOhwA1hVPACdvauPPJCw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=/sdXnt8dfGCwS+Sg
 wntn3JfrX5P5mfWGI3Kk0Y0SM0k=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=GzH0TWDUJDMCBfDdJYY2r3UBpsux6a/PxXX8uP
 utDfN7ro+R9Cdo8IsrNau3B/t4nZlXp4SqLkXaGftfAdVarVPZQD4/r51XcxOIJRTyKbOZ
 nh8BkAsjJpClnCAYDzj3vGB2jenEHRuek05MneGXGcF0j5LVWVXjKt0pPZnn13QUPNQJ48
 1rb/tNcCNQisLllxozV7MHBALuZEfQ9dB7mgOByLxj7FZkxtArhEqaUcMeeT5KssGZH0us
 HPIZ3HWsiI0ADWQCfs39kjCG5FuBTrUrdvMDKCcCphCb7BECJzSOxtmlDf+SOViNeIonO5
 xz2rz9LVOCiifKmIUDYJEX9w==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id dbbb0938
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Fri, 29 May 2026 10:59:51 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <878q95f2b7.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN> <878q95f2b7.fsf@HIDDEN>
Date: Fri, 29 May 2026 10:59:49 +0200
Message-ID: <87jysmegl6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
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: -1.0 (-)

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

Hi Eli and Juri (and all),

I think I have found the issue of why the overlay string does not
appeared in the margin: the glyph row's used[LEFT_MARGIN_AREA] was not
moved accordingly.

This new patch makes this feature works with Edebug but now I have one
question.  With this feature, every user of overlay string have to
activate the window margin (as I have done with Edebug) otherwise the
arrow won't be visible at all (I have tested it in Gnus).  Is it
something acceptable?
-- 
Manuel Giraud

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=0001-WIP.patch

From a2e579680df7c0495ad2c4c1f3a709621d88dfcf Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Thu, 28 May 2026 10:01:58 +0200
Subject: [PATCH] WIP

with test in edebug.
---
 lisp/emacs-lisp/edebug.el |  1 +
 src/xdisp.c               | 16 ++++++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 3bb12e18842..2fc7d895a1e 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -3008,6 +3008,7 @@ edebug-overlay-arrow
   (let ((pos (line-beginning-position)))
     (setq overlay-arrow-string
 	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
+    (set-window-margins nil (length overlay-arrow-string))
     (setq overlay-arrow-position (make-marker))
     (set-marker overlay-arrow-position pos (current-buffer))))
 
diff --git a/src/xdisp.c b/src/xdisp.c
index b00a4b2e1e7..127ee16d543 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26727,29 +26727,33 @@ #define RECORD_MAX_MIN_POS(IT)					\
 	  !NILP (overlay_arrow_string)))
     {
       /* Overlay arrow in window redisplay is a fringe bitmap.  */
-      if (STRINGP (overlay_arrow_string))
+      if (STRINGP (overlay_arrow_string)
+	  && (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0))
 	{
 	  struct glyph_row *arrow_row
 	    = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string);
 	  struct glyph *glyph = arrow_row->glyphs[TEXT_AREA];
 	  struct glyph *arrow_end = glyph + arrow_row->used[TEXT_AREA];
-	  struct glyph *p = row->glyphs[TEXT_AREA];
+	  struct glyph *p = row->glyphs[LEFT_MARGIN_AREA];
 	  struct glyph *p2, *end;
 
-	  /* Copy the arrow glyphs.  */
+	  /* Copy the arrow glyphs into the left margin.  */
 	  while (glyph < arrow_end)
-	    *p++ = *glyph++;
+	    {
+	      *p++ = *glyph++;
+	      row->used[LEFT_MARGIN_AREA]++;
+	    }
 
 	  /* Throw away padding glyphs.  */
 	  p2 = p;
-	  end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
+	  end = row->glyphs[LEFT_MARGIN_AREA] + row->used[LEFT_MARGIN_AREA];
 	  while (p2 < end && CHAR_GLYPH_PADDING_P (*p2))
 	    ++p2;
 	  if (p2 > p)
 	    {
 	      while (p2 < end)
 		*p++ = *p2++;
-	      row->used[TEXT_AREA] = p2 - row->glyphs[TEXT_AREA];
+	      row->used[LEFT_MARGIN_AREA] = p2 - row->glyphs[LEFT_MARGIN_AREA];
 	    }
 	}
       else
-- 
2.54.0


--=-=-=--




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

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


Received: (at 81109) by debbugs.gnu.org; 27 May 2026 12:46:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 08:46:12 2026
Received: from localhost ([127.0.0.1]:44574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSDeG-0006PY-0u
	for submit <at> debbugs.gnu.org; Wed, 27 May 2026 08:46:12 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:27572)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wSDeB-0006PB-KM
 for 81109 <at> debbugs.gnu.org; Wed, 27 May 2026 08:46:10 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=VX0D34uv
 a/yssxIfIWxcHx9vS+DktWkL9xWpf1vzniM=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=ZIj+RyPxHzaYTbvjkQaxyLILWrplOq
 3XIYIfxWNOE21Tgw+aGCk3I0WNXOqGw6j/1kaGY5A3rY9k19890CnIBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=VX0D34uva/yssxIf
 IWxcHx9vS+DktWkL9xWpf1vzniM=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=apbV65lpLTTuOlcnu5Y2L6ldSCE974P3YUZeb+
 qW+XiXYWlumPL7DoPbRe46JfA58T5b24QOHeL40D5/M79h2bSGmIlnjdswaVdwZixjytYC
 0mvskEv/1JQ38LtpKq0ulJT6rB2E1K1IMkjAEvHarO7+Ut3yG2GEFjHDoeMEVd29mJb9GL
 XfTTZAe5kdJg0/uf0Hb98qQGPdE6OgH0zb+uVMymDvEOh0Ila4pO1k6jDLhhVw9JJj01Fx
 iJpz3gQK9rPqqTfXXiXD7S5VZPBEe/CBX7I9loVizcz+BZz4RohX5FP4Ym0X8Gq0s123E2
 oTjep9LEfmGM/wK9vmfbeUAg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 7f61f16c
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 27 May 2026 14:46:05 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <865x49oxa9.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
 <865x49oxa9.fsf@HIDDEN>
Date: Wed, 27 May 2026 14:46:04 +0200
Message-ID: <878q95f2b7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org
>> Date: Wed, 27 May 2026 08:50:30 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Manuel Giraud <manuel@HIDDEN>
>> >> Cc: 81109 <at> debbugs.gnu.org
>> >> Date: Tue, 26 May 2026 15:59:25 +0200
>> >> 
>> >> Just to be sure, your idea is to make the complete overlay-arrow
>> >> mechanism to use margin or just switch to using margin in some places
>> >> (for example in edebug)?
>> >
>> > The former.
>> >
>> >> I ask this because the former seems a bit tricky to me: AFAIU the
>> >> current overlay-arrow implementation is internal in Emacs (i.e. the main
>> >> work is done in xdisp.c) while the margin is a simpler/nicer Lisp
>> >> interface to manipulate.  And I don't know how to reconcile the two.
>> >
>> > Maybe I'm missing something and/or oversimplifying, but it sounds like
>> > "all you need" is to modify the code in display_line which starts with
>> > this:
>> 
>> Thanks!  I have tried the following patch and tested with edebug but
>> without much success:
>> 
>> diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
>> index 3bb12e18842..2fc7d895a1e 100644
>> --- a/lisp/emacs-lisp/edebug.el
>> +++ b/lisp/emacs-lisp/edebug.el
>> @@ -3008,6 +3008,7 @@ edebug-overlay-arrow
>>    (let ((pos (line-beginning-position)))
>>      (setq overlay-arrow-string
>>  	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
>> +    (set-window-margins nil (length overlay-arrow-string))
>>      (setq overlay-arrow-position (make-marker))
>>      (set-marker overlay-arrow-position pos (current-buffer))))
>>  
>> diff --git a/src/xdisp.c b/src/xdisp.c
>> index b00a4b2e1e7..25ff191242e 100644
>> --- a/src/xdisp.c
>> +++ b/src/xdisp.c
>> @@ -26727,13 +26727,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
>>  	  !NILP (overlay_arrow_string)))
>>      {
>>        /* Overlay arrow in window redisplay is a fringe bitmap.  */
>> -      if (STRINGP (overlay_arrow_string))
>> +      if (STRINGP (overlay_arrow_string)
>> +	  && (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0))
>>  	{
>>  	  struct glyph_row *arrow_row
>>  	    = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string);
>>  	  struct glyph *glyph = arrow_row->glyphs[TEXT_AREA];
>>  	  struct glyph *arrow_end = glyph + arrow_row->used[TEXT_AREA];
>> -	  struct glyph *p = row->glyphs[TEXT_AREA];
>> +	  struct glyph *p = row->glyphs[LEFT_MARGIN_AREA];
>>  	  struct glyph *p2, *end;
>>  
>>  	  /* Copy the arrow glyphs.  */
>> @@ -26742,14 +26743,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
>>  
>>  	  /* Throw away padding glyphs.  */
>>  	  p2 = p;
>> -	  end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
>> +	  end = row->glyphs[LEFT_MARGIN_AREA] + row->used[LEFT_MARGIN_AREA];
>>  	  while (p2 < end && CHAR_GLYPH_PADDING_P (*p2))
>>  	    ++p2;
>>  	  if (p2 > p)
>>  	    {
>>  	      while (p2 < end)
>>  		*p++ = *p2++;
>> -	      row->used[TEXT_AREA] = p2 - row->glyphs[TEXT_AREA];
>> +	      row->used[LEFT_MARGIN_AREA] = p2 - row->glyphs[LEFT_MARGIN_AREA];
>>  	    }
>>  	}
>>        else
>> 
>> I also tried to move whole "if ((MATRIX_ROW_DISPLAYS_TEXT_P (row) ||
>> !overlay_arrow_seen)..." block upward in display_line but the overlay
>> arrow is never displayed in the margin.
>
> Do you need help debugging this?  Or did you expect me to debug it?
>
> If the former, I suggest first to look at the glyph row near the end
> of display_line (e.g., using the 'pgrow' GDB command defined in
> src/.gdbinit) and see if the glyphs of the arrow are in the glyph row.

Ok thanks.  I'll try to do this myself for the moment.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 27 May 2026 12:24:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 08:24:40 2026
Received: from localhost ([127.0.0.1]:44361 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wSDJQ-0004rB-DJ
	for submit <at> debbugs.gnu.org; Wed, 27 May 2026 08:24:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54922)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wSDJO-0004ql-36
 for 81109 <at> debbugs.gnu.org; Wed, 27 May 2026 08:24:38 -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 1wSDJI-00086s-Hz; Wed, 27 May 2026 08:24:32 -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=E8+HkgKlBwh5Z+1+QsFwWFCQlkkVU0dvUYsmq3UtLIM=; b=G8G7v2snLyMP
 F+YK1MFUglH3qbrZrhQmBfU9lGeRGNN4ElKUm696Veb9RLf+S3h9VdGJdpz4nDz0vEgjs8Z1aiVFh
 MUiccCdbvQGH1PjmGojuNKPLgx6AJuzsW7DcIuZoOMczcdh/QYU1NNNyEGTTfmWcxmqtvVmHAuC7I
 KE537ptBZW4nTHx7hYLG/fcFkLJq8xENjbbNO6kXlolGTFjvbO7V/1QwlLFAM4QOknN+8pzpnxMT0
 FGepvqxO61XOGDZeht6rxl6EwLIegpp8vR3l7yrDksHk/pevKaWSxWHjCCv1DWTMNvj8cGvW1jbuQ
 KHZo7VprKbj1Vlu/BMu+Ig==;
Date: Wed, 27 May 2026 15:24:30 +0300
Message-Id: <865x49oxa9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87se7dgxc9.fsf@HIDDEN> (message from Manuel Giraud on
 Wed, 27 May 2026 08:50:30 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN> <87se7dgxc9.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Wed, 27 May 2026 08:50:30 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Cc: 81109 <at> debbugs.gnu.org
> >> Date: Tue, 26 May 2026 15:59:25 +0200
> >> 
> >> Just to be sure, your idea is to make the complete overlay-arrow
> >> mechanism to use margin or just switch to using margin in some places
> >> (for example in edebug)?
> >
> > The former.
> >
> >> I ask this because the former seems a bit tricky to me: AFAIU the
> >> current overlay-arrow implementation is internal in Emacs (i.e. the main
> >> work is done in xdisp.c) while the margin is a simpler/nicer Lisp
> >> interface to manipulate.  And I don't know how to reconcile the two.
> >
> > Maybe I'm missing something and/or oversimplifying, but it sounds like
> > "all you need" is to modify the code in display_line which starts with
> > this:
> 
> Thanks!  I have tried the following patch and tested with edebug but
> without much success:
> 
> diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
> index 3bb12e18842..2fc7d895a1e 100644
> --- a/lisp/emacs-lisp/edebug.el
> +++ b/lisp/emacs-lisp/edebug.el
> @@ -3008,6 +3008,7 @@ edebug-overlay-arrow
>    (let ((pos (line-beginning-position)))
>      (setq overlay-arrow-string
>  	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
> +    (set-window-margins nil (length overlay-arrow-string))
>      (setq overlay-arrow-position (make-marker))
>      (set-marker overlay-arrow-position pos (current-buffer))))
>  
> diff --git a/src/xdisp.c b/src/xdisp.c
> index b00a4b2e1e7..25ff191242e 100644
> --- a/src/xdisp.c
> +++ b/src/xdisp.c
> @@ -26727,13 +26727,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
>  	  !NILP (overlay_arrow_string)))
>      {
>        /* Overlay arrow in window redisplay is a fringe bitmap.  */
> -      if (STRINGP (overlay_arrow_string))
> +      if (STRINGP (overlay_arrow_string)
> +	  && (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0))
>  	{
>  	  struct glyph_row *arrow_row
>  	    = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string);
>  	  struct glyph *glyph = arrow_row->glyphs[TEXT_AREA];
>  	  struct glyph *arrow_end = glyph + arrow_row->used[TEXT_AREA];
> -	  struct glyph *p = row->glyphs[TEXT_AREA];
> +	  struct glyph *p = row->glyphs[LEFT_MARGIN_AREA];
>  	  struct glyph *p2, *end;
>  
>  	  /* Copy the arrow glyphs.  */
> @@ -26742,14 +26743,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
>  
>  	  /* Throw away padding glyphs.  */
>  	  p2 = p;
> -	  end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
> +	  end = row->glyphs[LEFT_MARGIN_AREA] + row->used[LEFT_MARGIN_AREA];
>  	  while (p2 < end && CHAR_GLYPH_PADDING_P (*p2))
>  	    ++p2;
>  	  if (p2 > p)
>  	    {
>  	      while (p2 < end)
>  		*p++ = *p2++;
> -	      row->used[TEXT_AREA] = p2 - row->glyphs[TEXT_AREA];
> +	      row->used[LEFT_MARGIN_AREA] = p2 - row->glyphs[LEFT_MARGIN_AREA];
>  	    }
>  	}
>        else
> 
> I also tried to move whole "if ((MATRIX_ROW_DISPLAYS_TEXT_P (row) ||
> !overlay_arrow_seen)..." block upward in display_line but the overlay
> arrow is never displayed in the margin.

Do you need help debugging this?  Or did you expect me to debug it?

If the former, I suggest first to look at the glyph row near the end
of display_line (e.g., using the 'pgrow' GDB command defined in
src/.gdbinit) and see if the glyphs of the arrow are in the glyph row.




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

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


Received: (at 81109) by debbugs.gnu.org; 27 May 2026 06:50:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 27 02:50:39 2026
Received: from localhost ([127.0.0.1]:41294 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wS86A-000162-CH
	for submit <at> debbugs.gnu.org; Wed, 27 May 2026 02:50:39 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:8224)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wS864-00014j-Pm
 for 81109 <at> debbugs.gnu.org; Wed, 27 May 2026 02:50:36 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=92Ua+0zT
 6fn6Efua/zBY/gYTfOw97piIeXUHJTpSJrU=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=EUe+LckDzg41nMQkJDYjVG2dVz/lR4
 nemCEH2S1DerkMkirYXu0PO8O3oqE7UBiFppFpUKuX3Ddh54TkxwWqDg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=92Ua+0zT6fn6Efua
 /zBY/gYTfOw97piIeXUHJTpSJrU=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=fGS3wVKZnbalURM7b6Q0QA+mVZU2YvTEKZc/bi
 FIq8IFDyiMIifOIkjckETk5OsfB8m6ip8T9Ot56bZ+CnAQummno8G1/gi9tCV8y3WqjjN4
 lZBMumwVTPRJeZqzY0AaflIMTQmNYWr39BmM1WjRhixuzmZZWoSynb9OyfjwIopnKKKpl3
 rOIa9+BNT/PGLltkzgQeOPsL3DLHI6KV6A49sSPtf6vecF53ifDSCprfeFlD/PAxJ5bppu
 Wegi8aqw/7eWkDawttfRPkS1NFkGA+Tp3smt2/kFboy4XzkLHRuW9q4JdUNxEkHRUC11mK
 FDzB5B+KNwEMoceoENzA4HMg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 71817810
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 27 May 2026 08:50:30 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86mrxmp7p1.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
 <86mrxmp7p1.fsf@HIDDEN>
Date: Wed, 27 May 2026 08:50:30 +0200
Message-ID: <87se7dgxc9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org
>> Date: Tue, 26 May 2026 15:59:25 +0200
>> 
>> Just to be sure, your idea is to make the complete overlay-arrow
>> mechanism to use margin or just switch to using margin in some places
>> (for example in edebug)?
>
> The former.
>
>> I ask this because the former seems a bit tricky to me: AFAIU the
>> current overlay-arrow implementation is internal in Emacs (i.e. the main
>> work is done in xdisp.c) while the margin is a simpler/nicer Lisp
>> interface to manipulate.  And I don't know how to reconcile the two.
>
> Maybe I'm missing something and/or oversimplifying, but it sounds like
> "all you need" is to modify the code in display_line which starts with
> this:

Thanks!  I have tried the following patch and tested with edebug but
without much success:

diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 3bb12e18842..2fc7d895a1e 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -3008,6 +3008,7 @@ edebug-overlay-arrow
   (let ((pos (line-beginning-position)))
     (setq overlay-arrow-string
 	  (cdr (assq edebug-execution-mode edebug-arrow-alist)))
+    (set-window-margins nil (length overlay-arrow-string))
     (setq overlay-arrow-position (make-marker))
     (set-marker overlay-arrow-position pos (current-buffer))))
 
diff --git a/src/xdisp.c b/src/xdisp.c
index b00a4b2e1e7..25ff191242e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26727,13 +26727,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
 	  !NILP (overlay_arrow_string)))
     {
       /* Overlay arrow in window redisplay is a fringe bitmap.  */
-      if (STRINGP (overlay_arrow_string))
+      if (STRINGP (overlay_arrow_string)
+	  && (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0))
 	{
 	  struct glyph_row *arrow_row
 	    = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string);
 	  struct glyph *glyph = arrow_row->glyphs[TEXT_AREA];
 	  struct glyph *arrow_end = glyph + arrow_row->used[TEXT_AREA];
-	  struct glyph *p = row->glyphs[TEXT_AREA];
+	  struct glyph *p = row->glyphs[LEFT_MARGIN_AREA];
 	  struct glyph *p2, *end;
 
 	  /* Copy the arrow glyphs.  */
@@ -26742,14 +26743,14 @@ #define RECORD_MAX_MIN_POS(IT)					\
 
 	  /* Throw away padding glyphs.  */
 	  p2 = p;
-	  end = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA];
+	  end = row->glyphs[LEFT_MARGIN_AREA] + row->used[LEFT_MARGIN_AREA];
 	  while (p2 < end && CHAR_GLYPH_PADDING_P (*p2))
 	    ++p2;
 	  if (p2 > p)
 	    {
 	      while (p2 < end)
 		*p++ = *p2++;
-	      row->used[TEXT_AREA] = p2 - row->glyphs[TEXT_AREA];
+	      row->used[LEFT_MARGIN_AREA] = p2 - row->glyphs[LEFT_MARGIN_AREA];
 	    }
 	}
       else

I also tried to move whole "if ((MATRIX_ROW_DISPLAYS_TEXT_P (row) ||
!overlay_arrow_seen)..." block upward in display_line but the overlay
arrow is never displayed in the margin.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 26 May 2026 14:27:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 26 10:27:37 2026
Received: from localhost ([127.0.0.1]:33853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRsko-0007Pq-LC
	for submit <at> debbugs.gnu.org; Tue, 26 May 2026 10:27:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50362)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRskk-0007Od-RN
 for 81109 <at> debbugs.gnu.org; Tue, 26 May 2026 10:27:33 -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 1wRske-0000pE-Ob; Tue, 26 May 2026 10:27:24 -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=/rTfqDU2/1/59avoRnLKbpOtLVlqL/SIl81J3H1PK58=; b=VXVz9a0X06Q+
 trzQ+hFsWAAY282QMtZFW0LwgSV5tfYMogO4NEVpshwagtnDwiItgA/0yo068LiPcwvOIdb+ZFuUt
 Y3GIxcwhBTDxORn2KNHPjyFD0oHKEc15GMZBbX4My0KTgeFhVu7XuqlwHqv4THJQEnK7b45IlvRnO
 kge7zAGOsVfTljdmvfSfMoG7cS4fu7Uzg8A0yYO/I1NPdnH7LTzsRB+As4fVVa39tPRrlsKI9TlXB
 Vbws7PM+VIGcpbECLYbGrAp7tdisCdV855rAz4TVEey0U8IbwHqjJ9pRT54A0EbQKA361kpHeIjZz
 a8km8W7/WcAQPNC1j4ZnvQ==;
Date: Tue, 26 May 2026 17:27:22 +0300
Message-Id: <86mrxmp7p1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87jysq9sqq.fsf@HIDDEN> (message from Manuel Giraud on
 Tue, 26 May 2026 15:59:25 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN> <87jysq9sqq.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Tue, 26 May 2026 15:59:25 +0200
> 
> Just to be sure, your idea is to make the complete overlay-arrow
> mechanism to use margin or just switch to using margin in some places
> (for example in edebug)?

The former.

> I ask this because the former seems a bit tricky to me: AFAIU the
> current overlay-arrow implementation is internal in Emacs (i.e. the main
> work is done in xdisp.c) while the margin is a simpler/nicer Lisp
> interface to manipulate.  And I don't know how to reconcile the two.

Maybe I'm missing something and/or oversimplifying, but it sounds like
"all you need" is to modify the code in display_line which starts with
this:

  /* If the start of this line is the overlay arrow-position, then
     mark this glyph row as the one containing the overlay arrow.
     This is clearly a mess with variable size fonts.  It would be
     better to let it be displayed like cursors under X.  */
  if ((MATRIX_ROW_DISPLAYS_TEXT_P (row) || !overlay_arrow_seen)
      && (overlay_arrow_string = overlay_arrow_at_row (it, row),
	  !NILP (overlay_arrow_string)))
    {
      /* Overlay arrow in window redisplay is a fringe bitmap.  */
      if (STRINGP (overlay_arrow_string))
	{

to put the glyphs it produces for the overlay-arrow in the margin
instead of text-area of the glyph row.  Of course, this should be
conditioned on the margin being wide enough (so users will need to
set-window-margins to actually have the arrow displayed.  You will see
that the code I mention puts the glyphs of the arrow in the TEXT_AREA
part of the glyph row.  You want to put then in the LEFT_MARGIN_AREA
instead.

IOW, the arrow glyphs will "magically" appear in the margin at the
correct screen line, like they now "magically" appear overwriting the
displayed buffer text, without any 'display' property or overlay
specifying that they should appear.

One complication is that the above code is after the left-margin
glyphs were already produced by this function.  That might mean this
code will need to be moved back towards the beginning of display_line,
so that the overlay-arrow glyphs take precedence.




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

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


Received: (at 81109) by debbugs.gnu.org; 26 May 2026 13:59:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 26 09:59:30 2026
Received: from localhost ([127.0.0.1]:33622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRsJe-0004xA-H3
	for submit <at> debbugs.gnu.org; Tue, 26 May 2026 09:59:30 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:10095)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wRsJb-0004wv-Q1
 for 81109 <at> debbugs.gnu.org; Tue, 26 May 2026 09:59:28 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=bm/wdVzS
 4gNdBfy0ghhtcCG3havF/OoiTQqP2iWzEKM=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=NSFxm448qoILXcvB+/O5zOl9h41LPY
 GkVa4qC8DL5bA/IYpEl5bzJvPIClBywREqIw7CwPWLgkJjiaRlPZWnDw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=bm/wdVzS4gNdBfy0
 ghhtcCG3havF/OoiTQqP2iWzEKM=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=0p0XE8jnRKdqTJjD1dIFCVXhU4famavgIGsmMY
 q6ySnaTqoNPwzSh61itIrsE0l+cGOqnmaAK7icGdBrlNJ2o7Ee1F7Ub6p7gAFlKxDmbqBf
 rC2XzNsoLD5N891e0M5onxV7kvPvMFytfj8rY1GfErd8fDnPevXmfIKBmCY/AomdVflVWa
 N9jgp1ENdMzqrZwX5khny66apo9bu5t+arS5D6buhiEAk5xgziU9czkSH2T2ZWPZ8x9HL+
 ApoGAZm+UYmsE62op+paR+rvIiwKWtqfn6WPE0dzlflX8/5IMCoqCIBfKjhTJZ7CbHv+f9
 wDZm9rnqjv1h3C7/8AeWkA4Q==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id a49aa7b8
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 26 May 2026 15:59:25 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86ldd6qvvq.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
 <86ldd6qvvq.fsf@HIDDEN>
Date: Tue, 26 May 2026 15:59:25 +0200
Message-ID: <87jysq9sqq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

[...]

>> > Btw, if someone wants to fix this problem for good, I'd rather add a
>> > new feature whereby the overlay-arrow is displayed in the display
>> > margin.  At least that will solve the problem of overwriting
>> > characters on display, so it will be much cleaner.
>> 
>> I don't really know what that entail but I could try that.  Thank you.
>
> Thanks, feel free to ask questions as needed.

Just to be sure, your idea is to make the complete overlay-arrow
mechanism to use margin or just switch to using margin in some places
(for example in edebug)?

I ask this because the former seems a bit tricky to me: AFAIU the
current overlay-arrow implementation is internal in Emacs (i.e. the main
work is done in xdisp.c) while the margin is a simpler/nicer Lisp
interface to manipulate.  And I don't know how to reconcile the two.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 26 May 2026 11:03:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 26 07:03:21 2026
Received: from localhost ([127.0.0.1]:59790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRpZA-0002yv-KL
	for submit <at> debbugs.gnu.org; Tue, 26 May 2026 07:03:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35778)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRpZ8-0002yg-AT
 for 81109 <at> debbugs.gnu.org; Tue, 26 May 2026 07:03:18 -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 1wRpZ2-0006VO-RW; Tue, 26 May 2026 07:03:12 -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=6ZkYxFd2vzoOEd1hNZkyxljeryTMuVVGaJkailnOsvo=; b=MUaq4lXo8lhE
 wdtU2ZGCpaVXHMfOf5n8T2OrZJZPfjuz+ibXR5WLy8nNQgqLtf2eXi/s5aBawPa8CQiSBKoUQT6xA
 wvhxhAJfWMBugv/HbRE4zsjvRUHyUciARkhBx1FIlFt+0o3p3CQGavoB51IzNbNogXoQKw/DbjPSI
 otl7Tz9E18SyFw4ho181cSm/xJQvXeYwlWkisLQG4B/T67a5JBXqpJzgoi5ZSGEFMt/qK6T3FY8ZX
 6UY2nS2WcrAx9EEU8H3qOOni2w5QihckaLlfxYbH7R/FF9bt8ZK6UPJCdcGktln9c2WVxNvZeGn6J
 e24dFthiaDswJgnOTL8a9g==;
Date: Tue, 26 May 2026 14:02:57 +0300
Message-Id: <86jysqqvq6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87cxyjs52e.fsf@HIDDEN> (message from Juri Linkov on
 Mon, 25 May 2026 21:43:37 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87tsrvs6xa.fsf@HIDDEN>
 <86o6i3qrkb.fsf@HIDDEN> <87cxyjs52e.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: manuel@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 21:43:37 +0300
> 
> > No, the truncation and continuation glyphs are shown in the text-area,
> > as they have always been.
> >
> >> Could it be extended to support more margin columns?
> >
> > I guess this was based on the (incorrect) assumption that the special
> > glyphs are shown in the display margins?  Because otherwise I don't
> > understand the question.
> 
> I see that the special glyphs are displayed in the separate column,
> so I thought about adding more such columns like were proposed for
> margin columns.

Yes, but those columns are usurped in advance when there are no
fringes, so they unconditionally remove 1 column from the width of the
window.  I don't think it'd be the best idea for the overlay-arrow,
especially given that the default arrow string takes 2 character
cells.




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

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


Received: (at 81109) by debbugs.gnu.org; 26 May 2026 10:59:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 26 06:59:50 2026
Received: from localhost ([127.0.0.1]:59764 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRpVl-0002ix-Gu
	for submit <at> debbugs.gnu.org; Tue, 26 May 2026 06:59:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52562)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRpVj-0002ic-9A
 for 81109 <at> debbugs.gnu.org; Tue, 26 May 2026 06:59:48 -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 1wRpVd-0004M4-Jn; Tue, 26 May 2026 06:59:41 -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=SzuLsVVNiRnGDq31wX0o/RmGi0HG6RqLbJe7I34f9T4=; b=Njj1kQUqlNW4
 nGLa0sugCMGf9A7Mr+K259gX2RrcQ1sh++ttCsLuJG+hovMX1v9cEkWOXGgb3I4baYJlssun0aU08
 KAouBUou14ffEbizlvGFAuqiyZD162iVOEYdJMRZVc4opCJ/D0Ehpgu6Ur7c/eyEdOfcAD1YC6Z+d
 Nka28q7H+wSZSjJd7p5Jj9cbaONx6RQCzdI/h126IxShAxbOwkgPAGLqrEgPQN3LzGEamqzKL5NRP
 KE8+taxwAgOke3kIVqHkDWlEFn4JYZuNrQVDJYvOFVego1JCzFmdsQ0Pr5IUlcAKp9JKelD3Oq8Ml
 jbV/IdBhmM8yYkbxlNxUeQ==;
Date: Tue, 26 May 2026 13:59:37 +0300
Message-Id: <86ldd6qvvq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87ik8b77e2.fsf@HIDDEN> (message from Manuel Giraud on
 Mon, 25 May 2026 18:59:01 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87ik8b77e2.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 18:59:01 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> Cc: 81109 <at> debbugs.gnu.org
> >> Date: Mon, 25 May 2026 18:05:42 +0300
> >> From: Eli Zaretskii <eliz@HIDDEN>
> >> 
> >> > From: Manuel Giraud <manuel@HIDDEN>
> >> > Cc: 81109 <at> debbugs.gnu.org
> >> > Date: Mon, 25 May 2026 16:42:18 +0200
> >> > 
> >> > Eli Zaretskii <eliz@HIDDEN> writes:
> >> > 
> >> > > And even if we'd want to change the string, it won't help.  By
> >> > > default, overlay-arrow-string is a 2-character string, but can be
> >> > > longer.  So for any source line that has anything but SPC characters
> >> > > in the first 2 columns, we must overwrite some contents of the line to
> >> > > show the arrow.  In the case of a leading TAB, we could perhaps make
> >> > > the stretch glyph used to show the TAB narrower by recomputing its
> >> > > pixel-width, but that is a solution only for some of the use cases.
> >> > 
> >> > My idea was something like this (just for edebug of course): If the
> >> > character at beginning of line is a TAB, temporarly set
> >> > `overlay-arrow-string' to "=>" + enough space up to `tab-width'.
> >> 
> >> That's what I meant above.  But again, this is a partial solution,
> >> and I expect that someone will definitely complain about the parts we
> >> cannot solve that way.
> >> 
> >> > > More generally, the UI of the GUI frames is _with_ the fringes.  We
> >> > > added the no-fringes option because someone asked for it for reasons I
> >> > > couldn't understand even back then.  
> >> > 
> >> > I also think that the no-fringes mode is quite capable even for GUI.
> >> 
> >> It just reuses code from TTY Frames, that's all.
> >
> > Btw, if someone wants to fix this problem for good, I'd rather add a
> > new feature whereby the overlay-arrow is displayed in the display
> > margin.  At least that will solve the problem of overwriting
> > characters on display, so it will be much cleaner.
> 
> I don't really know what that entail but I could try that.  Thank you.

Thanks, feel free to ask questions as needed.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 18:44:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 14:44:18 2026
Received: from localhost ([127.0.0.1]:51436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRaHi-000730-Bb
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 14:44:18 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:36928)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wRaHf-00071Y-Pk
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 14:44:16 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gPPtJ10yjz9v7b;
 Mon, 25 May 2026 20:44:08 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1779734648;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=ScMeH2MtSHvFADIQZf/mVNt05C2NISSABdoqQfVew/8=;
 b=Zq6RNnpoIT8XsLz6fLp3hhR5FrXEjCyW9mLfN8VwNLlIevg0jvdG8wtLkJd6ZYuf9gQjSH
 zpVVPt/ygrwOjKXW815tQTBeTFd+YKrkwcmFktn27z6olXiTVreFGISKqmLtNjSYVGxK0+
 w2D+HMT8BUDSi7O3UYhAkIPM9+hirUgKQlnbKKsxoLeKzbYp7v2XESKmN5pyIFvxNcr174
 Z6rfuMEuMDaLsZlXUgl2urSYK7aw1/XXtqL5k6ncW4bwbFoXmlb1UiqXaZBX1zK7koPq2r
 Ke5vJf6roCDlJwzFIbhSaKxHCuKTroNtvZWOyqA2dX+T3MfW4VdcaYNIfbGofA==
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86o6i3qrkb.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87tsrvs6xa.fsf@HIDDEN>
 <86o6i3qrkb.fsf@HIDDEN>
Date: Mon, 25 May 2026 21:43:37 +0300
Message-ID: <87cxyjs52e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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: -1.0 (-)

> No, the truncation and continuation glyphs are shown in the text-area,
> as they have always been.
>
>> Could it be extended to support more margin columns?
>
> I guess this was based on the (incorrect) assumption that the special
> glyphs are shown in the display margins?  Because otherwise I don't
> understand the question.

I see that the special glyphs are displayed in the separate column,
so I thought about adding more such columns like were proposed for
margin columns.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 18:23:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 14:23:05 2026
Received: from localhost ([127.0.0.1]:51252 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRZxA-0005aP-QI
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 14:23:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40440)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRZx8-0005Zc-PT
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 14:23:03 -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 1wRZx3-0000aq-3p; Mon, 25 May 2026 14:22:57 -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=noIrD0GMtxMaFRH37q2DjNoiGbitagU90w4enx+zj78=; b=dCdqyA6qaqtq
 oP/8+MqePwF7vrEf740UDxJthefh+2VBty4qh1XNPAsH00p3JD+DxYvGIigAVlcAtC+BvdlwjKWqN
 rKG00JUoQ4b0Fcy0ST/rBtBbhmrDYMdMfqfmm7kmNvlMSiI6bUmbluGzLxYXjLJ+2mL2cIpL15usq
 YA+X3k09oyZjIMPdi7YPevzv/nXaZOyrB9wtDw+cX30xgEVRGCSGtGQXssf3Wz2PxgpQFUPiTsAae
 7XFuBeZBDjnAMrt8+JvBgr2K7x0t/RTkWZJ81/MbmOFAOsxbS0Zsgn6f6qKLVKNpqMK8accHmBjZV
 6Yh40KqLm73+asX+BTn9vQ==;
Date: Mon, 25 May 2026 21:22:55 +0300
Message-Id: <86mrxnqrgg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87tsrvs6xa.fsf@HIDDEN> (message from Juri Linkov on
 Mon, 25 May 2026 21:03:29 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87tsrvs6xa.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: manuel@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 21:03:29 +0300
> 
> > Btw, if someone wants to fix this problem for good, I'd rather add a
> > new feature whereby the overlay-arrow is displayed in the display
> > margin.
> 
> I wonder what display element is used by prettify-special-glyphs-mode?
> Not margin?  Could it be extended to support more margin columns?

Or maybe by "display element" you mean glyphs that come from the
display-table?  If so, the special glyphs do come from a
display-table, but I don't see what that has to do with the margin.  A
display-table is a way of displaying a character as another character
or a string of characters, regardless of where the original character
was supposed to be shown on display.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 18:20:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 14:20:54 2026
Received: from localhost ([127.0.0.1]:51239 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRZv4-0005UV-3U
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 14:20:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51360)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRZv2-0005U6-Eh
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 14:20:53 -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 1wRZuw-0008Dp-N2; Mon, 25 May 2026 14:20:46 -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=wDDBj/vZTGEnxibroYY0RooNlkS+O1B8BMIgjuFlkc0=; b=eakE9b+H08/1
 RR6k+t+NKtL5LDb1rvjVSLk4+P42VY/6AWtaBz89gaHvauh1ONAstLR0IktpBDKDOSaeu3QF2BS+y
 S0rh4/Wtyfoc9UUAQbSMXDMx4u3Nls+Eczm8Tw6Bojs6PZ79rlDQGEESNzcoZkm0+tRq8KPsaXTTA
 KhTPAk2jcXQYfbmx4j5DUlsDu+DEBlaRW42t0Qq1Z+5PWOM6UvAeCO4HLSJRuyENXUpaXfp481Cn0
 EqEhcjcpDudHYNYbSIBlSaCR1ZoFtBO9lw7WUQyghI8gZ3MwUl+n6jQou1b1ZwHw6Fkdg2zyH1G+R
 +wLtua1iw+28PMgt+lMWtA==;
Date: Mon, 25 May 2026 21:20:36 +0300
Message-Id: <86o6i3qrkb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <87tsrvs6xa.fsf@HIDDEN> (message from Juri Linkov on
 Mon, 25 May 2026 21:03:29 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN> <87tsrvs6xa.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: manuel@HIDDEN,  81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 21:03:29 +0300
> 
> > Btw, if someone wants to fix this problem for good, I'd rather add a
> > new feature whereby the overlay-arrow is displayed in the display
> > margin.
> 
> I wonder what display element is used by prettify-special-glyphs-mode?
> Not margin?

No, the truncation and continuation glyphs are shown in the text-area,
as they have always been.

> Could it be extended to support more margin columns?

I guess this was based on the (incorrect) assumption that the special
glyphs are shown in the display margins?  Because otherwise I don't
understand the question.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 18:16:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 14:16:29 2026
Received: from localhost ([127.0.0.1]:51190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRZqm-00059n-Uc
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 14:16:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40202)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRZqj-00059R-TR
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 14:16:27 -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 1wRZqb-0006NT-48; Mon, 25 May 2026 14:16:18 -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=Hg4kzILxst2u/X9Xb8Avitv7Qy8u0KaQdIVXNjoi81A=; b=GNHwV5aPA2Iq
 AHZ4r/My9hUlxPPM89m/1LujqkQCXUU5t+Ck8udrVoY7TgNizGZLdN/Ah8/xrI/Mg1aE9JXgW36xH
 jgvyGlWxV64P+0c4f4BK2MxQ5XYSzEelrirB5Z/BGALWWfjhq0FFBUf7lvwdnmqKik4EZ1K6F0BNO
 6VJ+qpwicYO7+zcw4Wz6dXxLecAcKiSzCSn2aa1C53fAur/mOBD1whDoZ8cEeNh1dNQsCLNRnoZGX
 XOvY5ohztZnYEGHCRpNp0lCfJdlXiQwq9TW2Sn2TqJUVukuAHLuhWF92ji//Hy9Oypm92sah1br2F
 hDE2jet0HKuG4dOPRTURTA==;
Date: Mon, 25 May 2026 21:16:13 +0300
Message-Id: <86pl2jqrrm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87mrxn77kk.fsf@HIDDEN> (message from Manuel Giraud on
 Mon, 25 May 2026 18:55:07 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <87mrxn77kk.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 18:55:07 +0200
> 
> >> The fringes seems a bit dated to me (bitmap, limited to 8 pixels width)
> >> in regard to what Emacs is able to do with fonts.
> >
> > Yes, people say that about Emacs all the time.
> 
> I don't understand.  What part of what I wrote do people say about Emacs
> all the time?

That its looks are old.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 18:05:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 14:05:58 2026
Received: from localhost ([127.0.0.1]:51093 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRZga-0004Kl-Ia
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 14:05:58 -0400
Received: from mout-p-102.mailbox.org ([80.241.56.152]:34824)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wRZgU-0004Iw-Vs
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 14:05:54 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gPP1z475Jz9w48;
 Mon, 25 May 2026 20:05:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1779732343;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=Up8z8vHWv9LVPPhIx/PvR/7LjEMVrveCT3F8G6i0L0Y=;
 b=0o9qivLMG4u9d5UlaYG693xkhfBepj6uoGZK1W8IDLgKo3hccNPK2st7HVInqKWmfLoN2r
 v29D49oqx3tbc8T5s2T656PdKz64Zxj02MTslZ50iLyW7xHdraf+LW+O4Mh2dKZvmiXtdM
 s0nac7FKa3iaT8xTRBpxAgd+U5JiuE5e4G8ljQB/kUcTX9za48Sfu0m+ygYCP78cTOCxDA
 fPbypsDk+Ysf1UL0OFK7vwWI0mtOvDajk6E+/jqO1xJ58UL+L126dSF7XPXo7HwCt7U7R2
 bHEkwm+V7l++ippqhDFVWNs7MsWHLT8/ahccCUWOav7Zj7w3xH6PilfUWA/cwA==
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86se7fqz6l.fsf@HIDDEN>
Organization: LINKOV.NET
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN>
Date: Mon, 25 May 2026 21:03:29 +0300
Message-ID: <87tsrvs6xa.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <at> debbugs.gnu.org, manuel@HIDDEN
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: -1.7 (-)

> Btw, if someone wants to fix this problem for good, I'd rather add a
> new feature whereby the overlay-arrow is displayed in the display
> margin.

I wonder what display element is used by prettify-special-glyphs-mode?
Not margin?  Could it be extended to support more margin columns?




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 16:59:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 12:59:06 2026
Received: from localhost ([127.0.0.1]:50474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRYdu-0007VD-9q
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 12:59:06 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:13733)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wRYdr-0007V0-Aj
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 12:59:04 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=KVwDtvfy
 BBULyxl0LIZw4b7x+IP/hno1N4rvgfvckDc=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=GW583D3kju8ZWo6U+mo1tjGBOwb0kE
 OHgHPqGJa3SWotBk49g7DvZwDW4oA9Us+4W0FDcUekwtpla4E4AQ1UAA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=KVwDtvfyBBULyxl0
 LIZw4b7x+IP/hno1N4rvgfvckDc=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=0kfmtdC2Zo6+ZbN8lwh1Zn+E3GCB9xQCLmnH0b
 RQnGGqQMgTCaiVMGLsKllUCgQP9bu4rv/jiXE1SJqhp/6E6Tbj4PGvIc+gdwWJyAAkJnDb
 LjKp7N38TQw2nWh1WuZ1RZrUX9mUNRyQLfr6L6Ph852d/W5JRFxjbNoH4p/kDpCMJIKM/2
 CRGVS9jpLaNcWWNrHlCmz7zyQAIKI+/B534axeRe4ebX0ufjBnDbmwx0BvF8oSs3W4GCvn
 YBf/mNg4Xnm00fqLdDu8+x9VR/WWocAC7vicfqmyaW15mEGuykpljuOUOuhAltuRfiUlnO
 nSlu1i2SozJfEg5VLdY6In6g==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 01938321
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 25 May 2026 18:59:02 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86se7fqz6l.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
 <86se7fqz6l.fsf@HIDDEN>
Date: Mon, 25 May 2026 18:59:01 +0200
Message-ID: <87ik8b77e2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Cc: 81109 <at> debbugs.gnu.org
>> Date: Mon, 25 May 2026 18:05:42 +0300
>> From: Eli Zaretskii <eliz@HIDDEN>
>> 
>> > From: Manuel Giraud <manuel@HIDDEN>
>> > Cc: 81109 <at> debbugs.gnu.org
>> > Date: Mon, 25 May 2026 16:42:18 +0200
>> > 
>> > Eli Zaretskii <eliz@HIDDEN> writes:
>> > 
>> > > And even if we'd want to change the string, it won't help.  By
>> > > default, overlay-arrow-string is a 2-character string, but can be
>> > > longer.  So for any source line that has anything but SPC characters
>> > > in the first 2 columns, we must overwrite some contents of the line to
>> > > show the arrow.  In the case of a leading TAB, we could perhaps make
>> > > the stretch glyph used to show the TAB narrower by recomputing its
>> > > pixel-width, but that is a solution only for some of the use cases.
>> > 
>> > My idea was something like this (just for edebug of course): If the
>> > character at beginning of line is a TAB, temporarly set
>> > `overlay-arrow-string' to "=>" + enough space up to `tab-width'.
>> 
>> That's what I meant above.  But again, this is a partial solution,
>> and I expect that someone will definitely complain about the parts we
>> cannot solve that way.
>> 
>> > > More generally, the UI of the GUI frames is _with_ the fringes.  We
>> > > added the no-fringes option because someone asked for it for reasons I
>> > > couldn't understand even back then.  
>> > 
>> > I also think that the no-fringes mode is quite capable even for GUI.
>> 
>> It just reuses code from TTY Frames, that's all.
>
> Btw, if someone wants to fix this problem for good, I'd rather add a
> new feature whereby the overlay-arrow is displayed in the display
> margin.  At least that will solve the problem of overwriting
> characters on display, so it will be much cleaner.

I don't really know what that entail but I could try that.  Thank you.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 16:55:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 12:55:14 2026
Received: from localhost ([127.0.0.1]:50447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRYa9-0007MD-On
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 12:55:14 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:35553)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wRYa6-0007Iu-I9
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 12:55:12 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=e3JL3WHM
 e1/1kwEm6OQ6MW2JQegwvk8mGfcGWVjpYr0=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=R7V0wAolO37u6ONT76B5teYN5wLk10
 579EDG+Bbz1Dbv0/Ub/qKkz4dDBdB9BWx2m/IGZG/SG9lX/9wWp94dBw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=e3JL3WHMe1/1kwEm
 6OQ6MW2JQegwvk8mGfcGWVjpYr0=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=WYNQlAqO9NhNvQY/vDTA9AwVf/bsl/ntyVgxLV
 0gI45aoj7fikTaJNUveF31170DN0IcItn8y6MuKG6lSbAleXbiMclNa11gbK2SjGRJxTpJ
 XDi+G4zmBLQsqYdxCi4o1IwOKXI25mNv1GpD5+Jt8yVQOBwkiUKTiT4Y//x8cPB/YrBE//
 ltKZZBmikUiQsaiQBeyoeKf4cxdL4JDL9m+dU6z9ruHIEsZGV5WN15tgr5XLjsuHAQ+xIK
 O3bBvXvWCSqWEAyemH/E66gzUBC+6ODV00R71jmQQQlT+VD1BMWvAT3xHmxvbeRsfOnFs+
 KI8QBoGFvh7n/LOoDK2tbdoQ==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 94882aa9
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 25 May 2026 18:55:08 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86v7cbr0l5.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
Date: Mon, 25 May 2026 18:55:07 +0200
Message-ID: <87mrxn77kk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org
>> Date: Mon, 25 May 2026 16:42:18 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> > And even if we'd want to change the string, it won't help.  By
>> > default, overlay-arrow-string is a 2-character string, but can be
>> > longer.  So for any source line that has anything but SPC characters
>> > in the first 2 columns, we must overwrite some contents of the line to
>> > show the arrow.  In the case of a leading TAB, we could perhaps make
>> > the stretch glyph used to show the TAB narrower by recomputing its
>> > pixel-width, but that is a solution only for some of the use cases.
>> 
>> My idea was something like this (just for edebug of course): If the
>> character at beginning of line is a TAB, temporarly set
>> `overlay-arrow-string' to "=>" + enough space up to `tab-width'.
>
> That's what I meant above.  But again, this is a partial solution,
> and I expect that someone will definitely complain about the parts we
> cannot solve that way.

I have just tried it and of course that is not so simple :-)

[...]

>> FWIW, I think that it was the point of `prettify-special-glyphs-mode'.
>> I think this mode does a better job than the default fringes at
>> displaying nice continuation and truncation glyphs that supports
>> anti-aliasing and scales accordingly to whatever the user might want.
>
> There's no point in arguing about personal preferences.  All I'm
> saying is that Emacs's GUI display was designed under the assumption
> that the fringes are there, so disabling them means you are up to a
> bumpy ride and perhaps even a few uphill battles.

Ok I understand that.  Maybe it would be better if fringes were "just" a
column of one character then.

>> The fringes seems a bit dated to me (bitmap, limited to 8 pixels width)
>> in regard to what Emacs is able to do with fonts.
>
> Yes, people say that about Emacs all the time.

I don't understand.  What part of what I wrote do people say about Emacs
all the time?
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 15:36:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 11:36:14 2026
Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRXLh-0004xD-1S
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 11:36:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53090)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRXLe-0004vm-At
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 11:36:11 -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 1wRXLY-0006qz-UH; Mon, 25 May 2026 11:36:04 -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=6GaPCkMjvCsXKY7bmEPuW+sl7sbTp9XRIrv9WDAhEnY=; b=PXL1ISGaIr1D
 zipPYe6upLBbSXW0j4xEOgH5hIL7pc6I7W+OutKm6rmt+C87kGhz62fxFvF4Uo4cT6NdOOL/20ApW
 qc7+bJUVOMLs4SSh98gRvdF+RmTQ5NOAKtlXW9sFTNB+VAVhiYNGJyR6LwMstrivkk0kvVV6fh1S8
 o2vKe8+wZjlE6WzAdBuPzbNzwmRPiOvliAoLD55CHYaT2DLSoPcVLYiVoXwu8AvPJF5ZCbTNnMV8M
 Sj7lhNoZGUhXklG+iIP1iNlCFiUtwPGD+elM9oWG19/yxKPYj4kMufBwpMLNJLHFYbotuNBtvNMCk
 fkjsaZBZRwDs3f7qgKhvZA==;
Date: Mon, 25 May 2026 18:36:02 +0300
Message-Id: <86se7fqz6l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: manuel@HIDDEN
In-Reply-To: <86v7cbr0l5.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 25
 May 2026 18:05:42 +0300)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN> <86v7cbr0l5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> Cc: 81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 18:05:42 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> > From: Manuel Giraud <manuel@HIDDEN>
> > Cc: 81109 <at> debbugs.gnu.org
> > Date: Mon, 25 May 2026 16:42:18 +0200
> > 
> > Eli Zaretskii <eliz@HIDDEN> writes:
> > 
> > > And even if we'd want to change the string, it won't help.  By
> > > default, overlay-arrow-string is a 2-character string, but can be
> > > longer.  So for any source line that has anything but SPC characters
> > > in the first 2 columns, we must overwrite some contents of the line to
> > > show the arrow.  In the case of a leading TAB, we could perhaps make
> > > the stretch glyph used to show the TAB narrower by recomputing its
> > > pixel-width, but that is a solution only for some of the use cases.
> > 
> > My idea was something like this (just for edebug of course): If the
> > character at beginning of line is a TAB, temporarly set
> > `overlay-arrow-string' to "=>" + enough space up to `tab-width'.
> 
> That's what I meant above.  But again, this is a partial solution,
> and I expect that someone will definitely complain about the parts we
> cannot solve that way.
> 
> > > More generally, the UI of the GUI frames is _with_ the fringes.  We
> > > added the no-fringes option because someone asked for it for reasons I
> > > couldn't understand even back then.  
> > 
> > I also think that the no-fringes mode is quite capable even for GUI.
> 
> It just reuses code from TTY Frames, that's all.

Btw, if someone wants to fix this problem for good, I'd rather add a
new feature whereby the overlay-arrow is displayed in the display
margin.  At least that will solve the problem of overwriting
characters on display, so it will be much cleaner.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 15:05:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 11:05:56 2026
Received: from localhost ([127.0.0.1]:49399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRWsO-0000ZS-6R
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 11:05:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58180)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wRWsL-0000Yr-1P
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 11:05:54 -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 1wRWsF-0001QC-8o; Mon, 25 May 2026 11:05:47 -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=g2UBVZETnglT8HkzQxrO1gucdnYZrpocp1rbqVCQVKs=; b=qQZfLZtdp6xq
 5nvcStZfqu1xxJxibTLdijY/KhHGXPf6HnK/lNXwT1vZvnp+0FV3vc7ItLuscP0uGMqr3mEwRzPYB
 0cR8UtDaXqASGUe7yk4ficNP5KlSekdc3nEtH8+lVfmBwoxFoqu2wjrNA2s1qgGtO0gK9eQs5FWUs
 cf5nXRcclrRoEHrbiibe+PCiA9yb1LGIRtOsp50zwTJ5bInQNipkWoXLqIFCookUj6XWy800zM+UB
 xQIZp/myF8t89lyGlqh0MbjyRH1YTxdXzuRRG2YWK4R8Fxm20gkmZWkPyEjdudetMZa0ZiaQDB6uC
 HNgY5bkuRYQlmIm/1er2Tg==;
Date: Mon, 25 May 2026 18:05:42 +0300
Message-Id: <86v7cbr0l5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87jysr1rg5.fsf@HIDDEN> (message from Manuel Giraud on
 Mon, 25 May 2026 16:42:18 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
 <87jysr1rg5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Mon, 25 May 2026 16:42:18 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > And even if we'd want to change the string, it won't help.  By
> > default, overlay-arrow-string is a 2-character string, but can be
> > longer.  So for any source line that has anything but SPC characters
> > in the first 2 columns, we must overwrite some contents of the line to
> > show the arrow.  In the case of a leading TAB, we could perhaps make
> > the stretch glyph used to show the TAB narrower by recomputing its
> > pixel-width, but that is a solution only for some of the use cases.
> 
> My idea was something like this (just for edebug of course): If the
> character at beginning of line is a TAB, temporarly set
> `overlay-arrow-string' to "=>" + enough space up to `tab-width'.

That's what I meant above.  But again, this is a partial solution,
and I expect that someone will definitely complain about the parts we
cannot solve that way.

> > More generally, the UI of the GUI frames is _with_ the fringes.  We
> > added the no-fringes option because someone asked for it for reasons I
> > couldn't understand even back then.  
> 
> I also think that the no-fringes mode is quite capable even for GUI.

It just reuses code from TTY Frames, that's all.

> FWIW, I think that it was the point of `prettify-special-glyphs-mode'.
> I think this mode does a better job than the default fringes at
> displaying nice continuation and truncation glyphs that supports
> anti-aliasing and scales accordingly to whatever the user might want.

There's no point in arguing about personal preferences.  All I'm
saying is that Emacs's GUI display was designed under the assumption
that the fringes are there, so disabling them means you are up to a
bumpy ride and perhaps even a few uphill battles.

> The fringes seems a bit dated to me (bitmap, limited to 8 pixels width)
> in regard to what Emacs is able to do with fonts.

Yes, people say that about Emacs all the time.




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

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


Received: (at 81109) by debbugs.gnu.org; 25 May 2026 14:42:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 10:42:25 2026
Received: from localhost ([127.0.0.1]:49195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRWVc-000788-WF
	for submit <at> debbugs.gnu.org; Mon, 25 May 2026 10:42:25 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:23788)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wRWVa-00077t-8P
 for 81109 <at> debbugs.gnu.org; Mon, 25 May 2026 10:42:23 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=pbPBeeoe
 Y/7cjOSMDjHJYYZ2XtYBs6SiVsusWbovfN8=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=Am7nTjkBCo0fc1llrla8GOIVt8w+Cg
 RP6BzsXwRnh4RzbJ4otfR0F1YCnCwL6G9DeIkUJdi5nmBr07k/ktFdDA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=pbPBeeoeY/7cjOSM
 DjHJYYZ2XtYBs6SiVsusWbovfN8=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=nxoToih5PASGv5QYHNvZpadufFzmiwHrZm8N8R
 JH6qLaCYs2KCWLRFMCR8mVl8VTzcmicTCw3YzWpTbu15KIG7y5y9rJVhdTO0/99pL5Thnk
 2gRG9wZ7eP9Vo5KxQzA81CL26TDeu0UmZL36IysZ/Z3rqTJQaBW1e5hUfSUE/8DVjN2yy3
 V/lu0Tu7yhTdtF22JPqpZ/sPc3kdE3aibADzd/rC89J9mAj691qfKgLnioQB3gmUl94aj/
 t5GcUznBf9Niev/vjCHXxVUHTho4X2YX41bYlkFXdm3nSgtJIntyssZrM/y4THqnfMNbEz
 e7yTsj2wZiDTODfcrgd0Lnzw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id e372e84f
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Mon, 25 May 2026 16:42:19 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <86wlwssiff.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN> <86wlwssiff.fsf@HIDDEN>
Date: Mon, 25 May 2026 16:42:18 +0200
Message-ID: <87jysr1rg5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: 81109 <at> debbugs.gnu.org
>> Date: Sun, 24 May 2026 19:21:43 +0200
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Manuel Giraud <manuel@HIDDEN>
>> >> Date: Sun, 24 May 2026 14:12:24 +0200
>> >> 
>> >> When using 'no-fringes mode (or on TUI), edebug relies on
>> >> `overlay-arrow-string' and `overlay-arrow-position' to mark which line
>> >> it currently is in the code.  This is nice but when a line in the code
>> >> is indented with TAB characters, this overlay mechanism "moves" the line
>> >> at an incorrect indentation place.
>> >
>> > AFAIR, this is a known issue.  The overlay arrow simply overwrites the
>> > first character on the line.  How else can we show the arrow when
>> > there are no fringes, without affecting the display in any way?
>> 
>> Maybe it is possible to dynamically adapt the overlay in such case.
>
> Not sure I understand what you mean by that.  overlay-arrow-string is
> exposed to Lisp, so Emacs must obey its value and cannot change it, if
> that's what you meant.
>
> And even if we'd want to change the string, it won't help.  By
> default, overlay-arrow-string is a 2-character string, but can be
> longer.  So for any source line that has anything but SPC characters
> in the first 2 columns, we must overwrite some contents of the line to
> show the arrow.  In the case of a leading TAB, we could perhaps make
> the stretch glyph used to show the TAB narrower by recomputing its
> pixel-width, but that is a solution only for some of the use cases.

My idea was something like this (just for edebug of course): If the
character at beginning of line is a TAB, temporarly set
`overlay-arrow-string' to "=>" + enough space up to `tab-width'.

> More generally, the UI of the GUI frames is _with_ the fringes.  We
> added the no-fringes option because someone asked for it for reasons I
> couldn't understand even back then.  

I also think that the no-fringes mode is quite capable even for GUI.
FWIW, I think that it was the point of `prettify-special-glyphs-mode'.
I think this mode does a better job than the default fringes at
displaying nice continuation and truncation glyphs that supports
anti-aliasing and scales accordingly to whatever the user might want.

The fringes seems a bit dated to me (bitmap, limited to 8 pixels width)
in regard to what Emacs is able to do with fonts.
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 24 May 2026 19:43:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 24 15:43:27 2026
Received: from localhost ([127.0.0.1]:39243 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wREjO-0007SU-TH
	for submit <at> debbugs.gnu.org; Sun, 24 May 2026 15:43:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33692)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wREjJ-0007S0-O3
 for 81109 <at> debbugs.gnu.org; Sun, 24 May 2026 15:43:25 -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 1wREjE-00028V-6b; Sun, 24 May 2026 15:43:16 -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=XsfMHgHb5dU5/4g6baaGwSfoTmCaFpVo8yRczcrNWYk=; b=B8h4eKPhgvpB
 iHwSh7gvIlWtTHtVbP90OZ3YqEAPXCGlI3+GI7Ku22DMH6DG6NjoPC/Gurlc/TUEs4JsWaigNT0Fr
 43uQAnsn/dey0nGFic45MnmDOL9CS7510bQS3wMGpHaML/tdrjBgr4/sQ6HzB7YXszbUQjuQvucGg
 kw0dfnV/R4e5ZmVk/FMSxzk3A4p6ZsvrVnPqnTCJWDiyoU5oWeLnMpiJiwDySswXz0lJXWIyEFI7u
 jaKF3WlahJ6ezgnB4Mep4kAJfnPtgQRGwq4YPLEefUwJTR0ICxP1zi0O9UKRcpkAXktsttuc9IsG7
 0n/Usl3FNThBo+pXSyZCwQ==;
Date: Sun, 24 May 2026 22:42:44 +0300
Message-Id: <86wlwssiff.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87pl2krae0.fsf@HIDDEN> (message from Manuel Giraud on
 Sun, 24 May 2026 19:21:43 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
 <87pl2krae0.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Cc: 81109 <at> debbugs.gnu.org
> Date: Sun, 24 May 2026 19:21:43 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Manuel Giraud <manuel@HIDDEN>
> >> Date: Sun, 24 May 2026 14:12:24 +0200
> >> 
> >> When using 'no-fringes mode (or on TUI), edebug relies on
> >> `overlay-arrow-string' and `overlay-arrow-position' to mark which line
> >> it currently is in the code.  This is nice but when a line in the code
> >> is indented with TAB characters, this overlay mechanism "moves" the line
> >> at an incorrect indentation place.
> >
> > AFAIR, this is a known issue.  The overlay arrow simply overwrites the
> > first character on the line.  How else can we show the arrow when
> > there are no fringes, without affecting the display in any way?
> 
> Maybe it is possible to dynamically adapt the overlay in such case.

Not sure I understand what you mean by that.  overlay-arrow-string is
exposed to Lisp, so Emacs must obey its value and cannot change it, if
that's what you meant.

And even if we'd want to change the string, it won't help.  By
default, overlay-arrow-string is a 2-character string, but can be
longer.  So for any source line that has anything but SPC characters
in the first 2 columns, we must overwrite some contents of the line to
show the arrow.  In the case of a leading TAB, we could perhaps make
the stretch glyph used to show the TAB narrower by recomputing its
pixel-width, but that is a solution only for some of the use cases.

More generally, the UI of the GUI frames is _with_ the fringes.  We
added the no-fringes option because someone asked for it for reasons I
couldn't understand even back then.  But I wouldn't want us to go out
of our way to make this niche feature work as well as the default UI
with the fringes, especially when the problems are not easy to solve.
After all, all that a user who debugs code needs to do to avoid
overwriting the first characters on a line is to enable fringes, if
only for the duration of the debugging session.




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

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


Received: (at 81109) by debbugs.gnu.org; 24 May 2026 17:21:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 24 13:21:50 2026
Received: from localhost ([127.0.0.1]:37826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wRCWL-00057P-Om
	for submit <at> debbugs.gnu.org; Sun, 24 May 2026 13:21:50 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:17685)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wRCWI-000579-0s
 for 81109 <at> debbugs.gnu.org; Sun, 24 May 2026 13:21:48 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=Y2F89CEZ
 D/cg892xDzPtDY98DaJI5dffPfWxjuTPt6c=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=wC+tQet10SUsKfktK1I0+saziCihiU
 ikAg05NWCTbX1U7jw8oLVk2tpvLM4XWFLVBbODNoINmeP98xpDMkEJCQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Y2F89CEZD/cg892x
 DzPtDY98DaJI5dffPfWxjuTPt6c=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=OlkAACqt5I4Yxtwjoe925gqu0M4xsxQQSJt3j5
 mmWceTboEFPFokipeC2rOzfFHQdHh2jtE1+p6b/XzzgXgSEM8lvyG3OhXfFFpNxlAqGa9P
 iz+aEaM9wEwFM9E0y0roKidJ/2GbK7FYsDbK6AWuSY78i2o053iaPRlDpiUaTxrCn93wEg
 RGCz59pPvxsTAnHsVX9JZanxe9VeqO2s23LDHFp/9DD1YbeOuyG4jDXjtCVWgXoMMhaalk
 aYVRq+NhXebHZ5IUj56rutrfft8umOzCwKWcRdDC78pE8NvklXkEYTRMHMRQpNMgNebEbG
 ocuyrjea578PyX8E8MZOKsVw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 9d03458d
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 24 May 2026 19:21:44 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
In-Reply-To: <868q99t1y9.fsf@HIDDEN>
References: <87pl2lgg5z.fsf@HIDDEN> <868q99t1y9.fsf@HIDDEN>
Date: Sun, 24 May 2026 19:21:43 +0200
Message-ID: <87pl2krae0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Manuel Giraud <manuel@HIDDEN>
>> Date: Sun, 24 May 2026 14:12:24 +0200
>> 
>> When using 'no-fringes mode (or on TUI), edebug relies on
>> `overlay-arrow-string' and `overlay-arrow-position' to mark which line
>> it currently is in the code.  This is nice but when a line in the code
>> is indented with TAB characters, this overlay mechanism "moves" the line
>> at an incorrect indentation place.
>
> AFAIR, this is a known issue.  The overlay arrow simply overwrites the
> first character on the line.  How else can we show the arrow when
> there are no fringes, without affecting the display in any way?

Maybe it is possible to dynamically adapt the overlay in such case.
Note that I have no idea if this feasible (or a good idea).
-- 
Manuel Giraud




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

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


Received: (at 81109) by debbugs.gnu.org; 24 May 2026 12:41:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 24 08:41:23 2026
Received: from localhost ([127.0.0.1]:33696 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wR88v-0005C6-Q4
	for submit <at> debbugs.gnu.org; Sun, 24 May 2026 08:41:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57496)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wR88r-0005Aa-Lp
 for 81109 <at> debbugs.gnu.org; Sun, 24 May 2026 08:41:19 -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 1wR88f-0006tf-Bi; Sun, 24 May 2026 08:41:12 -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=qn40G5SKRPn3gAtrTUkuEeb2qELbFZFs5iVWWRh7obE=; b=Cdx/+DaHfw3L
 +lZTCuMl6RbxgfVhXuvDSdbO0AzcP3/I58PcH+5m9EwPBNXpSl9v+RXmRLMsdvyrugSYK8+I+GXi+
 14Z1ws1K2rc0DIeUPgce4P81IhHQHKhy3DyuRRIGxf3IHeZ1tCeCD62GBTiIBUVxxLxwtxWShUrS8
 cyv18Gt+PWCyhHIHxYQkDg1WphpIwnmLe938mkCZyf5PMvQpF19UJofwMZ3gVqn7Hu8SKmzP59SJ4
 rgkrQkMU/sxE4lH+YrXOGGqR4OErgHkBDmeOvg82xV4r1veeVy/keL2jjO3mxLWG+tG3D7K9lVjwz
 +iY8p36C5acJAMyodLCy5A==;
Date: Sun, 24 May 2026 15:41:02 +0300
Message-Id: <868q99t1y9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87pl2lgg5z.fsf@HIDDEN> (message from Manuel Giraud on
 Sun, 24 May 2026 14:12:24 +0200)
Subject: Re: bug#81109: 32.0.50; Edebug, overlay and tabulation
References: <87pl2lgg5z.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81109
Cc: 81109 <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 (---)

> From: Manuel Giraud <manuel@HIDDEN>
> Date: Sun, 24 May 2026 14:12:24 +0200
> 
> When using 'no-fringes mode (or on TUI), edebug relies on
> `overlay-arrow-string' and `overlay-arrow-position' to mark which line
> it currently is in the code.  This is nice but when a line in the code
> is indented with TAB characters, this overlay mechanism "moves" the line
> at an incorrect indentation place.

AFAIR, this is a known issue.  The overlay arrow simply overwrites the
first character on the line.  How else can we show the arrow when
there are no fringes, without affecting the display in any way?




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

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


Received: (at submit) by debbugs.gnu.org; 24 May 2026 12:12:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 24 08:12:52 2026
Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wR7hI-0008PB-8O
	for submit <at> debbugs.gnu.org; Sun, 24 May 2026 08:12:52 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:55726)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
 id 1wR7hA-0008MV-6d
 for submit <at> debbugs.gnu.org; Sun, 24 May 2026 08:12:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1wR7h1-0001Sj-VU
 for bug-gnu-emacs@HIDDEN; Sun, 24 May 2026 08:12:32 -0400
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1wR7gy-0004kB-Hr
 for bug-gnu-emacs@HIDDEN; Sun, 24 May 2026 08:12:31 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=nTkpxiku
 P89GPfm5/DeW5zkJlYwKOR5flA06CzgMQ6c=; h=date:subject:to:from; 
 d=ledu-giraud.fr;
 b=2T4gb4VK0QUI1mSAvAyhXPNHaPrZgPk2tobBGuxuZ67b+YQbxf
 Wc6tY+to7SJH28gzot9Prhw/0Y5JBkQiusCw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=nTkpxikuP89GPfm5
 /DeW5zkJlYwKOR5flA06CzgMQ6c=; h=date:subject:to:from;
 d=ledu-giraud.fr; b=0wV75mORyA7gGBp/MN9+KL4g/9gI/DJRp5+p1aR4Go14RCuJ1Z
 fzeuswUuFnmKNPU8ouw/+HRtsoyUl3xigGArSJWM5H6Kfd1pg/yTqgp94R/R0+AZTcV9Z+
 uUUHgxm4IZRjABNpxIHpCwyklUDJRxK4Pe0Gtls9Eu3f+nv+oOIy7kaRRnbQE7uHk52e93
 HkRM3HnpIwWeTIWqr4F1R8U/RGAPbqbrKRuLk03iyaFc5ouUqvtslTCNVmv0dxT4NWoAAr
 0b6gyE2HSiLAQ6M3BXiuplM8BKeznkWvJuv6ysW8AJAr1t9BGMrRzlcj+5Y/A7lMVSfz1V
 vy29JKAGFTZg==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id e29c6b13
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <bug-gnu-emacs@HIDDEN>;
 Sun, 24 May 2026 14:12:25 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 32.0.50; Edebug, overlay and tabulation
X-Debbugs-Cc: 
Date: Sun, 24 May 2026 14:12:24 +0200
Message-ID: <87pl2lgg5z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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


Hi,

When using 'no-fringes mode (or on TUI), edebug relies on
`overlay-arrow-string' and `overlay-arrow-position' to mark which line
it currently is in the code.  This is nice but when a line in the code
is indented with TAB characters, this overlay mechanism "moves" the line
at an incorrect indentation place.

Here is a recipe to reproduce this with the attached file:

     - emacs -Q
     
     - M-: (set-fringe-mode 0) <RET>

     - Open the attached file "edebug-overlay-test.el" and instrument
       the function +foo with 'C-u C-M-x'

     - M-x +foo <RET>

     - Step in the code by hitting <SPC> repeatedly and observe that
       stepping on line 6 the line is "moved" to a different column
       resulting in a temporary incorrect indentation
     

--=-=-=
Content-Type: application/emacs-lisp
Content-Disposition: attachment; filename=edebug-overlay-test.el
Content-Transfer-Encoding: quoted-printable

(defun +foo ()
  (interactive)
  (let ((hello "Hello"))
    (let ((world "World!"))
      (let ((unused "Foo"))
	(message hello)
        (message world)))))

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




In GNU Emacs 32.0.50 (build 5, x86_64-unknown-openbsd7.9) of 2026-05-23
 built on computer
Repository revision: 7fe595465bcca3a7ef59feadfd29b38a75315c65
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101022
System Description: OpenBSD computer 7.9 GENERIC.MP#501 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no
 --with-toolkit-scroll-bars=no --without-cairo
 --without-compress-install'

Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF
LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3
THREADS TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINERAMA XINPUT2 XPM
XRANDR ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  display-time-mode: t
  display-battery-mode: t
  desktop-save-mode: t
  exwm-randr-mode: t
  exwm-wm-mode: t
  server-mode: t
  prettify-special-glyphs-mode: t
  debbugs-browse-mode: t
  bug-reference-mode: t
  gnus-undo-mode: t
  electric-pair-mode: t
  repeat-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm
/home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-xsettings
/home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-xim
/home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-workspace
/home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-randr
/home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-manage
/home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-layout
/home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-input
/home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-floating
/home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-systemtray
/home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-core
/home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.34/exwm-background
/home/manuel/.el/lua-mode hides /home/manuel/emacs/share/emacs/32.0.50/lisp/progmodes/lua-mode
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-toolbar hides /home/manuel/emacs/share/emacs/32.0.50/lisp/obsolete/idlw-toolbar
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-shell hides /home/manuel/emacs/share/emacs/32.0.50/lisp/obsolete/idlw-shell
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-complete-structtag hides /home/manuel/emacs/share/emacs/32.0.50/lisp/obsolete/idlw-complete-structtag
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlwave hides /home/manuel/emacs/share/emacs/32.0.50/lisp/obsolete/idlwave
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-help hides /home/manuel/emacs/share/emacs/32.0.50/lisp/obsolete/idlw-help

Features:
(shadow emacsbug lisp-mnt tramp-sh shortdoc shortdoc-doc comp-common
dabbrev find-dired ffap help-fns radix-tree tmm cl-print edebug debug
backtrace whitespace misearch multi-isearch xcb-xsettings xcb-xim
xcb-xlib xcb-systemtray xcb-xembed display-line-numbers term/lk201
term/vt100 term/vt200 pulse mhtml-mode flow-fill gnus-bcklg gnus-async
gnus-ml mailalias smtpmail textsec uni-scripts idna-mapping
ucs-normalize uni-confusable textsec-check sort proced gnus-cite
mail-extr gnus-topic mm-archive url-cache qp utf-7 imap rfc2104 nndoc
nndraft nnmh nnatom nnfeed network-stream nnfolder nnml gnus-agent
gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache nnrss
doric-coral-theme tramp-archive tramp-gvfs nov recentf tree-widget
esxml-query texinfo texinfo-loaddefs python php-ts-mode mhtml-ts-mode js
css-mode imenu html-ts-mode c-ts-common rng-xsd xsd-regexp rng-cmpct
rng-nxml rng-valid nxml-mode nxml-outln nxml-rap sgml-mode facemenu
macrostep-c cmacexp view smerge-mode diff cursor-sensor info conf-mode
dired-aux gnus-dired vc-dir ewoc ob-lisp ob-gnuplot ob-shell time
battery dbus org-indent vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log-view log-edit add-log pcvs-util vc
vc-dispatcher oc-basic ol-eww eww track-changes vtable url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view
filenotify jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi desktop frameset exwm-randr xcb-randr exwm
exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor
xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb
xcb-xproto xcb-types xcb-debug kmacro server disp-table doric-themes osm
bookmark zone speed-type url-http url-auth url-gw nsm ytdious mpdired
transmission color calc-bin calc-ext calc calc-loaddefs rect calc-macs
debbugs-browse bug-reference supercite regi ebdb-gnus gnus-msg
ebdb-message ebdb-mua ebdb-com crm ebdb-format ebdb eieio-opt speedbar
ezimage dframe eieio-base timezone gnus-icalendar org-capture gnus-art
mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill
kinsoku url-file svg xml dom gnus-group gnus-undo gnus-start gnus-cloud
nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range
message yank-media puny rfc822 mml mml-sec epa derived epg rfc6068
epg-config mailabbrev mailheader gnus-win mm-decode mm-bodies mm-encode
gmm-utils icalendar-utils icalendar-parser icalendar-ast icalendar gnus
nnheader gnus-util range sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils olivetti face-remap
erlang-start idlwave idlwave-menus idlw-menus idlwave-bindings
idlw-bindings idlwave-routine idlw-routine idlwave-scan idlw-scan
idlwave-help idlw-help idlwave-complete idlw-complete idlwave-variables
idlw-variables skeleton cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs slime-asdf grep slime-tramp
tramp-cache time-stamp tramp trampver tramp-integration files-x
tramp-message tramp-compat shell parse-time iso8601 tramp-loaddefs
byte-opt slime-fancy slime-indentation slime-cl-indent cl-indent
slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree advice slime-scratch slime-presentations
slime-macrostep macrostep compat slime-mdot-fu slime-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl slime-parse bytecomp
byte-compile slime easy-mmode apropos compile etags fileloop xref
text-property-search project arc-mode archive-mode hyperspec elec-pair
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element
org-persist org-id org-refile avl-tree generator org ob ob-tangle ob-ref
ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit
executable ob-comint org-element-ast inline org-pcomplete pcomplete
comint ansi-osc ansi-color ring org-list org-footnote org-faces
org-entities time-date noutline outline org-version ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core
org-keys oc org-compat org-loaddefs thingatpt find-func org-macs
format-spec appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
pcase dired-x dired dired-loaddefs repeat cus-edit pp cus-start cus-load
wid-edit package browse-url xdg url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
password-cache json subr-x mule-util map url-vars debbugs-autoloads
doric-themes-autoloads ebdb-autoloads cl-extra help-mode eieio-core
cl-macs gv ef-themes-autoloads elpher-autoloads exwm-autoloads
faff-theme-autoloads gnuplot-autoloads idlwave-autoloads
modus-themes-autoloads notmuch-autoloads nov-autoloads esxml-autoloads
olivetti-autoloads osm-autoloads pdf-tools-autoloads warnings icons
cl-loaddefs cl-lib reddigg-autoloads ht-autoloads dash-autoloads
promise-autoloads rust-mode-autoloads slime-autoloads
macrostep-autoloads speed-type-autoloads svg-clock-autoloads
tablist-autoloads tomorrow-night-deepblue-theme-autoloads
transmission-autoloads xelb-autoloads ytdious-autoloads package-activate
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue lcms2 dynamic-setting system-font-setting
font-render-setting xinput2 x multi-tty move-toolbar
make-network-process tty-child-frames emacs)

Memory information:
((conses 16 1400810 307807) (symbols 48 66601 10)
 (strings 32 401042 14265) (string-bytes 1 25148648)
 (vectors 16 196071) (vector-slots 8 2638163 185184)
 (floats 8 1066 5782) (intervals 56 42198 2285) (buffers 1064 181))

-- 
Manuel Giraud

--=-=-=--




Acknowledgement sent to Manuel Giraud <manuel@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#81109; 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: Mon, 1 Jun 2026 18:30:02 UTC

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