GNU bug report logs - #71030
Display property of overlay-arrow-string is not honored

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; Severity: wishlist; Reported by: Emre Yolcu <mail@HIDDEN>; dated Sat, 18 May 2024 09:51:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 71030) by debbugs.gnu.org; 19 May 2024 12:27:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:27:55 2024
Received: from localhost ([127.0.0.1]:36083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8fdp-000848-U5
	for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:27:54 -0400
Received: from wfout2-smtp.messagingengine.com ([64.147.123.145]:37943)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1s8Nvn-0002fM-Ht
 for 71030 <at> debbugs.gnu.org; Sat, 18 May 2024 13:33:16 -0400
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
 by mailfout.west.internal (Postfix) with ESMTP id B40801C000F8;
 Sat, 18 May 2024 13:33:05 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute7.internal (MEProxy); Sat, 18 May 2024 13:33:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emreyolcu.com;
 h=cc:cc:content-transfer-encoding:content-type:content-type
 :date:date:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:subject:subject:to:to; s=fm2;
 t=1716053585; x=1716139985; bh=PXILBx0CVLmd8WLmuOpE4RFYLeNmS7zH
 eqDX3WyX4XU=; b=sBlAIV8vf92XubXyafMIM5/XJ4vtIYj640D8lkRvhYtXr77g
 hW7cpzuhivekg7R3AgQEemWW+dOCWCxMubkuzDSSztV1AzkDmLkpi6aXFAIbRhRn
 D5rCqbx6jVF3X2oIAMgxQ9lHEf/ifoCiL12WMzZDwhtqoR5FP/5LGWV9ZZh2lhQb
 +nPVlZVzzpaYtmk138xhxmOWjRnLbdLDI4watrBq7BGnWBkskjhlg+hEkVs/vC5o
 3++arOTD8nb0/wkOqQFItG0HXtBdykxSxuBTwWKcA8JpkgZbboLHBAblEsX75kQd
 UFOrN6xZjQrSJALWpP+tW+dIE98lWexpBu+FoQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716053585; x=
 1716139985; bh=PXILBx0CVLmd8WLmuOpE4RFYLeNmS7zHeqDX3WyX4XU=; b=T
 vAySRqOcH6lhjGS507EeqLgzFnf2WbeeMBM6OoMAoS6xDhBzKUF50y/NvtULWZrw
 XVZydGG76fGkhZ5qQa0iauYF6wY1TVB1xeA4+UsVN5WoEyV1eD1HnlsycbXVtm9N
 tbXz4rIYtFtJQe7xXrdyhUWTTxr34Ga3zvPYbvAvmCIonoOKBr+J2TS8zTD2zxr0
 4XnKralWMYdZHJ5AhPIQQbYrEPe4yd063Ad24pj9oj6cY1mynUebJ3cDdCfb1R4n
 vJGuyP/0MfknOB+8ajR06Bfx3EPeV4NvUAr/CR8fP4S0pYAtjziwBtsagzQMl142
 Xwflihl0DY7OTENDX0k1g==
X-ME-Sender: <xms:UOZIZkax3MexrMJWA-Vni2I_QsQfbpPjfkFS3CNURVDjz4GRC4sBCw>
 <xme:UOZIZvZ6usgqGkF5lukJ17ucwMFBfUyTOdrMQ8kojHCRl7qki6Jc4SShfIyqi7As-
 lk01HcjPJJJOHSOHN8>
X-ME-Received: <xmr:UOZIZu-2B6gILgw4LwJ1NHFjcncG960uNgAzkNLlh6C33aEbI05lAScJp-AD_RzkQXyS7eS2_1ISbYdIr3Udl3m-ZiA8fCRWwd3KbxsDg51hXok>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehiedgleehucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurheptggguffhjgffvefgkfhfvffosehtjehmtdhhtddvnecuhfhrohhmpefgmhhr
 vgcujgholhgtuhcuoehmrghilhesvghmrhgvhiholhgtuhdrtghomheqnecuggftrfgrth
 htvghrnhepledvvdefgedujeetudejfffgieekffevffeikeetffduudeifeefgeekleeh
 geeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh
 grihhlsegvmhhrvgihohhltghurdgtohhm
X-ME-Proxy: <xmx:UOZIZuoJ26TyRVGd723BP9BvUtqwD5Ok4zmp4q8vECE0BK503wzCEg>
 <xmx:UOZIZvo4J0judB5YPWYZH8ExrtKSpHFniZttKF8QoO_aq6b3m4tB2g>
 <xmx:UOZIZsR6QskTQEtZnS2qtuPGOWa5jU3_KxZsYsc5KV6eNmd_vRoHew>
 <xmx:UOZIZvru5wLV6WU2K8tEVAMyckVAM_6K_V8PxBCDpQmknwIZ_UqgPQ>
 <xmx:UeZIZm2rXuhsxdaMHgoPOnD06ylbCTYw4F_F0x5_DHN0Xz79SrUfJN2W>
Feedback-ID: i1b09467c:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 18 May 2024 13:33:04 -0400 (EDT)
Content-Type: text/plain;
	charset=us-ascii;
	delsp=yes;
	format=flowed
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Subject: Re: bug#71030: Display property of overlay-arrow-string is not honored
From: Emre Yolcu <mail@HIDDEN>
In-Reply-To: <865xvbe4iz.fsf@HIDDEN>
Date: Sat, 18 May 2024 13:33:04 -0400
Content-Transfer-Encoding: 7bit
Message-Id: <636BA946-8D23-42AB-AB8B-47A9035B322D@HIDDEN>
References: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN>
 <865xvbe4iz.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71030
X-Mailman-Approved-At: Sun, 19 May 2024 08:27:51 -0400
Cc: 71030 <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 (-)

Eli Zaretskii <eliz@HIDDEN> wrote:

> It is not very clear to me what, specifically, did you try and what
> did you expect to happen as result.  Would you mind showing a simple
> recipe, starting from "emacs -Q", that should have displayed the
> overlay arrow, but didn't?

Sorry for not being clear. Here is a recipe:

1. Launch with "emacs -Q".
2. Switch to the scratch buffer.
3. Copy the following into the buffer and evaluate each expression:

   (setq-default left-fringe-width 0)
   (setq-default left-margin-width 1)
   (setq overlay-arrow-string
         (propertize ">" 'display `((margin left-margin)
                                    ,(propertize ">" 'face 'default))))

4. Invoke "M-x occur", and enter "setq" when prompted for a regexp.
5. Switch to the Occur buffer and move between the matches by pressing "n"  
and "p".

   Expected behavior: Indicator arrow ">" appears in the margin.
   Current behavior: Indicator arrow ">" appears in the buffer.

6 (extra). Evaluate the following expression:

   (setq overlay-arrow-string (propertize ">" 'face 'shadow))

Unlike the display property, the face property does get applied and the  
appearance of the arrow in the Occur buffer changes.





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

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


Received: (at 71030) by debbugs.gnu.org; 19 May 2024 08:39:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 04:39:54 2024
Received: from localhost ([127.0.0.1]:35872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8c5C-0002Uu-4i
	for submit <at> debbugs.gnu.org; Sun, 19 May 2024 04:39:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42408)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s8c58-0002Uo-VI
 for 71030 <at> debbugs.gnu.org; Sun, 19 May 2024 04:39: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 1s8c4z-0002XU-Ec; Sun, 19 May 2024 04:39: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=5gPX2lX9h+NFhi9l3Bx9VdtMWBwuYvg/MYtDkleVNAA=; b=SvWGmXqrX1tP
 zb+mRMqUfupchFAu6B62ZI/Z+vgGZ2N98idH/HB4oHJjqeyn4V1H+9YhqTjD3+QA3JYvip34qVEXb
 V0Ha3RuiWO0M3yMH7FjwqgzEALuesdoudjVyuw1C43jops1NFX7JxKa2nYiDUQGT8mJBzfBnY91bv
 O7YKz49/D0uIlruTS1enzsWotUThK1uHfQA2rdd8q7KdDZYz8nI/5BqZU3e9lfHzGqwc3ApA8ifSO
 eZVN4wZvfi5Sdom4prKOdnZeTBVv1fYIGRW+OTyPeNnwW1Fcph61Pwt/TIdW3ys2wgLYwzYreEfSr
 iKr+H8TFPMmsq4gSzO1+LA==;
Date: Sun, 19 May 2024 11:39:36 +0300
Message-Id: <86h6eub3g7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Emre Yolcu <mail@HIDDEN>
In-Reply-To: <636BA946-8D23-42AB-AB8B-47A9035B322D@HIDDEN> (message
 from Emre Yolcu on Sat, 18 May 2024 13:33:04 -0400)
Subject: Re: bug#71030: Display property of overlay-arrow-string is not honored
References: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN>
 <865xvbe4iz.fsf@HIDDEN> <636BA946-8D23-42AB-AB8B-47A9035B322D@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71030
Cc: 71030 <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: Emre Yolcu <mail@HIDDEN>
> Date: Sat, 18 May 2024 13:33:04 -0400
> Cc: 71030 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz@HIDDEN> wrote:
> 
> > It is not very clear to me what, specifically, did you try and what
> > did you expect to happen as result.  Would you mind showing a simple
> > recipe, starting from "emacs -Q", that should have displayed the
> > overlay arrow, but didn't?
> 
> Sorry for not being clear. Here is a recipe:
> 
> 1. Launch with "emacs -Q".
> 2. Switch to the scratch buffer.
> 3. Copy the following into the buffer and evaluate each expression:
> 
>    (setq-default left-fringe-width 0)
>    (setq-default left-margin-width 1)
>    (setq overlay-arrow-string
>          (propertize ">" 'display `((margin left-margin)
>                                     ,(propertize ">" 'face 'default))))
> 
> 4. Invoke "M-x occur", and enter "setq" when prompted for a regexp.
> 5. Switch to the Occur buffer and move between the matches by pressing "n"  
> and "p".
> 
>    Expected behavior: Indicator arrow ">" appears in the margin.
>    Current behavior: Indicator arrow ">" appears in the buffer.

Thanks, I understand now.  What you want to do is not currently
supported: we basically disregard the properties of
overlay-arrow-string and always display the string in the text-area.
The function get_overlay_arrow_glyph_row will need to be enhanced to
support displaying the overlay arrow in the margin via 'display'
properties.

> 6 (extra). Evaluate the following expression:
> 
>    (setq overlay-arrow-string (propertize ">" 'face 'shadow))
> 
> Unlike the display property, the face property does get applied and the  
> appearance of the arrow in the Occur buffer changes.

Yes, the above function explicitly accounts for the string's 'face'
property (and only that property), so it works.  But try setting the
face of the display string, like this:

   (setq overlay-arrow-string
         (propertize ">" 'display `((margin left-margin)
                                    ,(propertize ">" 'face 'shadow))))

and you will see that the face is ignored, since it's part of the
'display' property spec.




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

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


Received: (at 71030) by debbugs.gnu.org; 18 May 2024 11:36:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 07:36:04 2024
Received: from localhost ([127.0.0.1]:32950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8IM8-0004uF-A0
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 07:36:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55472)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s8IM7-0004tq-6B
 for 71030 <at> debbugs.gnu.org; Sat, 18 May 2024 07:36: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 1s8ILy-0003l3-A2; Sat, 18 May 2024 07:35:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=zSpGlw/6bcT22o+dEwE60itvOpEFwnWWXy7228b1kt8=; b=IOn77YKrbOhBvkLhEPFM
 KedCbdpfuVnNI6x0VbPcApOabE3AE+tmqDKFmAbIgG0xXVKM4XsCAjHJYlxlB5o18+lr4W5/V7Zkg
 P1SdeeNsD6+iRpBkB5jHGpmyk5AEOQ5Gm8YbOfFL/6GZhxbc+UVxKf6wiYd365it2Cg5zuhTaqlQ5
 IqnwjjKPfYIQzWa+UwGtNZDziKnOjJ/+/o+rBUlCALao22ak7kz/qzfjobk+FtOk2SqMG42LdNwjx
 8YLXFjDC/NHTUqHRgdlioymvERw1mg+ET0TMu/+Tcj1beXI7uCP4NBm+TGSfbFogUajeSUPvMUKSb
 di2+nIPzG3V7NA==;
Date: Sat, 18 May 2024 14:35:48 +0300
Message-Id: <865xvbe4iz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Emre Yolcu <mail@HIDDEN>
In-Reply-To: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN> (message
 from Emre Yolcu on Sat, 18 May 2024 00:00:11 -0400)
Subject: Re: bug#71030: Display property of overlay-arrow-string is not honored
References: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71030
Cc: 71030 <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 (---)

> Date: Sat, 18 May 2024 00:00:11 -0400
> From: Emre Yolcu <mail@HIDDEN>
> 
> I have been trying to replace the use of fringes with margins in my 
> configuration. (This is to work around the fact that fringe indicators 
> look bad on high-DPI displays.) Using display properties, I was able to 
> move almost all of the indicators I care about to the margins. However, 
> as of Emacs 29.3, the display property of `overlay-arrow-string` is not 
> honored. I have the following in my configuration:
> 
>    (setq overlay-arrow-string
>          (propertize ">" 'display `((margin left-margin)
>                                     ,(propertize ">" 'face 'default))))
> 
> The above setting fails to move the overlay arrow in, say, Occur buffers 
> to the margin. On the other hand, the face property of 
> `overlay-arrow-string` does get applied, so the following works as expected:
> 
>    (setq overlay-arrow-string (propertize ">" 'face 'shadow))
> 
> I am not sure what the intended behavior is supposed to be here, so this 
> may be more of a feature request than a bug report.

It is not very clear to me what, specifically, did you try and what
did you expect to happen as result.  Would you mind showing a simple
recipe, starting from "emacs -Q", that should have displayed the
overlay arrow, but didn't?  Then I could look into the relevant code
and see if this is supported and/or whether or how we could make it
work.

Thanks.




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

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


Received: (at submit) by debbugs.gnu.org; 18 May 2024 09:50:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 05:50:09 2024
Received: from localhost ([127.0.0.1]:60680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8Ghb-0000er-Ms
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 05:50:09 -0400
Received: from lists.gnu.org ([209.51.188.17]:55100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1s8BFB-0001IB-IS
 for submit <at> debbugs.gnu.org; Sat, 18 May 2024 00:00:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1s8BF6-0003gN-1B
 for bug-gnu-emacs@HIDDEN; Sat, 18 May 2024 00:00:21 -0400
Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1s8BF3-0001p2-OF
 for bug-gnu-emacs@HIDDEN; Sat, 18 May 2024 00:00:19 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailfhigh.nyi.internal (Postfix) with ESMTP id D92621140190
 for <bug-gnu-emacs@HIDDEN>; Sat, 18 May 2024 00:00:13 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Sat, 18 May 2024 00:00:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emreyolcu.com;
 h=cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:message-id:mime-version:reply-to
 :subject:subject:to:to; s=fm2; t=1716004813; x=1716091213; bh=OG
 7BxFr2a0xhiAhNy27w6ji+9zq4my4Wx73R0yS13c4=; b=hCuoBkZY/NOMICfMTh
 KKT/mHoCbAAxG5FvPT6O+TOQoCBffHu2vV68GCafkdW1iHbkYoF/aU27fu0jTqgI
 8pl23Tu5cfICSmXUSACIj/8Uriinqk1jYaubKi9ObZtOSp1pzqLIbGChFWhRCf+c
 cIqQCdPV69M2A6NH7E7NASd4nr98LAPWVgyxNpoIC+B9kxKpmLyE4SsrKLzHnaiw
 O8VTZTCRIKcp8NMa/Q5JNq0OxFBiiLmdFoEGQgAFX3GOxDLuQwcFpo9pcGkqBDY0
 bQ7eK7Ixj3934oqzi5AbrnO2RL2GEvkdtulXTw9+GiqDWXnBA5dDA9UktrpzSto+
 f4JA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1716004813; x=1716091213; bh=OG7BxFr2a0xhiAhNy27w6ji+9zq4
 my4Wx73R0yS13c4=; b=bTpE61Eih9+yMNfZkBXLtm4T0OFxA3FSzhozhnTGxgr/
 cPU20fCHwBnOXKF4Bv6GjuAABtxhFQm6ppHgzxM/iIWf71xhgnvDRphkD2dZDHGp
 968lMBuzCseMwf9o3gmxEolmZun4wJRtr9msv0zzf+pDx6tsXykfOstLmQC5/jbP
 oXsZWF2WbzDeaoajkqci3Gdm5IDQxbaVNEgQpoOeF5ojogV5TLypUcU6G3+0ESd3
 Bjwz6lQIkjVMffeLfUJl+a3DqrMFylftWdTd6LTSLoKVvwLB3kTF0slLSSOIejM1
 ae3Um8V1CjVTeMtPOG34pLDEqbGP+L5mujrf/Lmp7g==
X-ME-Sender: <xms:zSdIZjjm53IxqFOSWuvWVrSuWvQT6o676RUnTjnU1ZVNceE44UTnCQ>
 <xme:zSdIZgByKVlP5Ge2GnPiloSxxIo24QbtxigD-zTaYb3W9TH99_mLqWgVCxrhk1Fqq
 v5c-eFFZTUbpuHDrz0>
X-ME-Received: <xmr:zSdIZjHicUIlKokDGRnuwh98V4lEi6CuKQ3MUPgC1AYGvZMuywAFrTX2GF4pB3tVQNG2-OrNW-hGHtE72Ms7BVZz8K4Bo36aUrmm4IqoA9ZdfsY>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehhedgjeejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfhuffvtgfgsehtkeertd
 dtvdejnecuhfhrohhmpefgmhhrvgcujgholhgtuhcuoehmrghilhesvghmrhgvhiholhgt
 uhdrtghomheqnecuggftrfgrthhtvghrnhepueetjedtvefhheduhfehgeefvedvtdeuie
 fhtdevuddvveehtddtfeeugfdtudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepmhgrihhlsegvmhhrvgihohhltghurdgtohhm
X-ME-Proxy: <xmx:zSdIZgTBxON_VW_8izccx_oqWPm4s5mPEJ5ZVzt7UcumTs8m5kBTPQ>
 <xmx:zSdIZgyLI2QLjzEvD_C1rMDKFOcQaYBNLse_jYtf2nrAj6I_KVmNlQ>
 <xmx:zSdIZm6YBappvC3wh2g43FP_S7mUAgajA_jiynfzkpGW-UcndCzYGw>
 <xmx:zSdIZlxMWsd1UMQvs8feIBI8Ax49GThyEIzuktGAcJqvPIbWoxp8bQ>
 <xmx:zSdIZtpoKQ1gLfv7DGgEbVVPq6ndEcWamQ9Dal1rSxPxD0lZjesDfQgB>
Feedback-ID: i1b09467c:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Sat, 18 May 2024 00:00:13 -0400 (EDT)
Message-ID: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN>
Date: Sat, 18 May 2024 00:00:11 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: Emre Yolcu <mail@HIDDEN>
Subject: Display property of overlay-arrow-string is not honored
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=103.168.172.156; envelope-from=mail@HIDDEN;
 helo=fhigh5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 18 May 2024 05:50:05 -0400
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: -2.6 (--)

I have been trying to replace the use of fringes with margins in my 
configuration. (This is to work around the fact that fringe indicators 
look bad on high-DPI displays.) Using display properties, I was able to 
move almost all of the indicators I care about to the margins. However, 
as of Emacs 29.3, the display property of `overlay-arrow-string` is not 
honored. I have the following in my configuration:

   (setq overlay-arrow-string
         (propertize ">" 'display `((margin left-margin)
                                    ,(propertize ">" 'face 'default))))

The above setting fails to move the overlay arrow in, say, Occur buffers 
to the margin. On the other hand, the face property of 
`overlay-arrow-string` does get applied, so the following works as expected:

   (setq overlay-arrow-string (propertize ">" 'face 'shadow))

I am not sure what the intended behavior is supposed to be here, so this 
may be more of a feature request than a bug report.




Acknowledgement sent to Emre Yolcu <mail@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#71030; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Mar 2025 02:30:02 UTC

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