X-Loop: help-debbugs@HIDDEN Subject: bug#71030: Display property of overlay-arrow-string is not honored Resent-From: Emre Yolcu <mail@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 18 May 2024 09:51:02 +0000 Resent-Message-ID: <handler.71030.B.17160258092541 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71030 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17160258092541 (code B ref -1); Sat, 18 May 2024 09:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2024 09:50:09 +0000 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> 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-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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Emre Yolcu <mail@HIDDEN> Subject: bug#71030: Acknowledgement (Display property of overlay-arrow-string is not honored) Message-ID: <handler.71030.B.17160258092541.ack <at> debbugs.gnu.org> References: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN> X-Gnu-PR-Message: ack 71030 X-Gnu-PR-Package: emacs Reply-To: 71030 <at> debbugs.gnu.org Date: Sat, 18 May 2024 09:51:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 71030 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71030: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71030 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71030: Display property of overlay-arrow-string is not honored Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 18 May 2024 11:37:01 +0000 Resent-Message-ID: <handler.71030.B71030.171603216418867 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Emre Yolcu <mail@HIDDEN> Cc: 71030 <at> debbugs.gnu.org Received: via spool by 71030-submit <at> debbugs.gnu.org id=B71030.171603216418867 (code B ref 71030); Sat, 18 May 2024 11:37:01 +0000 Received: (at 71030) by debbugs.gnu.org; 18 May 2024 11:36:04 +0000 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> In-Reply-To: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN> (message from Emre Yolcu on Sat, 18 May 2024 00:00:11 -0400) 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-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.
X-Loop: help-debbugs@HIDDEN Subject: bug#71030: Display property of overlay-arrow-string is not honored Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 May 2024 08:40:02 +0000 Resent-Message-ID: <handler.71030.B71030.17161079949608 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Emre Yolcu <mail@HIDDEN> Cc: 71030 <at> debbugs.gnu.org Received: via spool by 71030-submit <at> debbugs.gnu.org id=B71030.17161079949608 (code B ref 71030); Sun, 19 May 2024 08:40:02 +0000 Received: (at 71030) by debbugs.gnu.org; 19 May 2024 08:39:54 +0000 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> In-Reply-To: <636BA946-8D23-42AB-AB8B-47A9035B322D@HIDDEN> (message from Emre Yolcu on Sat, 18 May 2024 13:33:04 -0400) References: <808c2dea-bd72-408d-a81d-c750108cabde@HIDDEN> <865xvbe4iz.fsf@HIDDEN> <636BA946-8D23-42AB-AB8B-47A9035B322D@HIDDEN> X-Spam-Score: -2.3 (--) 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#71030: Display property of overlay-arrow-string is not honored Resent-From: Emre Yolcu <mail@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 19 May 2024 12:28:05 +0000 Resent-Message-ID: <handler.71030.B71030.171612167531020 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 71030 <at> debbugs.gnu.org Received: via spool by 71030-submit <at> debbugs.gnu.org id=B71030.171612167531020 (code B ref 71030); Sun, 19 May 2024 12:28:05 +0000 Received: (at 71030) by debbugs.gnu.org; 19 May 2024 12:27:55 +0000 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\)) 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> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sun, 19 May 2024 08:27:51 -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: -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.
Received: (at control) by debbugs.gnu.org; 1 Mar 2025 02:26:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 21:26:34 2025 Received: from localhost ([127.0.0.1]:56213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toCYk-0007HF-2c for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:26:34 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:54756) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toCYi-0007GR-GH for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:26:32 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5dca468c5e4so4637499a12.1 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 18:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740795986; x=1741400786; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=vqg2uicnlyqrtMyh7AdAu1TvOSsm0G2C0o3d5Nsps38=; b=jhST9I3h69LSvep4vnQs9a1b38qRTEr/pXteVVD67AjpWHKiTRBxf0UlG7zqNu3Y9m N8EYEjIRM4O3P32Jy1LPckZ14TsVwAOzvQJTYM4t4ked35+7SMs5PhGHfDqqLZPh3Isr OLVUnu4QXmDHXwblKJSr1iYh2ejVV5DRGnA/sp4SZ0SgHhq39mtoMUGCA6xxxiI27RSW xrM8OsaW4QA57BrdsFXelKf68DZNfoqnP7ynTVxX9HrNe+QD/Y4ObTGa3S1tly8w+j1w K9RGA2DCpWwfH5tWsh7xNSXMVVVoOxQJTKlffAdQDw+WCr+WgastC/K8ipB7yOzyki9o K+YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740795986; x=1741400786; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vqg2uicnlyqrtMyh7AdAu1TvOSsm0G2C0o3d5Nsps38=; b=NDpou+dLsVFNQ5xpj7GyJEVxJCvGiyZ+TGYQO7RCZbC59Ikxb2zBCPP+AyzH5DQsbl +eMjr+8vsfRpU1MyqkP9t1Y3WlciepQnbQ71CENEi2yIwh1TU64IuLES9Ob1XwtDeqAi 21R34u4mKxUZBJDhxkV010g2hgj9uVypNzcjKKJL0vw93LXsWwmotWmQ1128Yklk6U+g p3l9+J5/OBzCB4w+bBlpsKsfwRECNXIsJaKajfC/55xpOZR/8VD6RIGnKywU+tl2xSw4 OSbdoYqJCaebRab5WrZFGg0Igk2e5r826xO7hJOXdfKWIce+ujf7YOT5rJ7FPt9Tknrv aadA== X-Gm-Message-State: AOJu0YyQG4PO4Hm2rUOU/Jt1UcbhEQp4sCjpA0kAANC24MFu0qlnNIaz 2rEdG23X2SORA2ZHGECKKb0km6DWq0Ba9kANKtIi+54AITs8mnq4q7Wu65RV/a3fJ1bcIH3MOZH fZSDmdI4EgeJj/6eI4NbILSuw//aDDmAvLxY= X-Gm-Gg: ASbGncvmXbT5WMWM+aILSmykPshZt3SSbI3V2d8rWNzDKDOI+HEcnmIaz+PHLazecgD 3WGNVK98RZOE8K4LXCclkERmAOvKB6+z3X/7+XMoN8qpzaBY8C2h2hac5U1cocW/AeYx9v2Mf7a K5cinHTUaXUqFp3SVW6aNgx6BJUFg= X-Google-Smtp-Source: AGHT+IFY7bY8B5qp8pdpqK9f9AdymlBCHEU7gHwQhmybeNZxIpCEBOSPv7W1wxA8kxYzR7WTNhHLiHm5pj0zRakzurk= X-Received: by 2002:a05:6402:2790:b0:5e4:d229:ad3d with SMTP id 4fb4d7f45d1cf-5e4d6afa4c4mr5058387a12.16.1740795986128; Fri, 28 Feb 2025 18:26:26 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Feb 2025 18:26:25 -0800 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Fri, 28 Feb 2025 18:26:25 -0800 X-Gm-Features: AQ5f1Jrk6RI2cKG5sUydwqVGigIBw4q4906EqriAclcDN1MgtJ--AaDJ5Jtg2ik Message-ID: <CADwFkmk0SUbfJSgtfNY6hgSm9KQ4byXkqAkKxjSA3X5wMqeQNg@HIDDEN> Subject: control message for bug #71030 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) severity 71030 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.