From unknown Fri Jun 20 07:18:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1220 <1220@debbugs.gnu.org> To: bug#1220 <1220@debbugs.gnu.org> Subject: Status: overlay before- and after-string and mouse-face Reply-To: bug#1220 <1220@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:18:58 +0000 retitle 1220 overlay before- and after-string and mouse-face reassign 1220 emacs submitter 1220 Glenn Morris severity 1220 normal thanks From rgm@gnu.org Tue Oct 21 17:41:57 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-13.8 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 22 Oct 2008 00:41:58 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9M0ft3c027958 for ; Tue, 21 Oct 2008 17:41:56 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KsRko-0007ID-0M; Tue, 21 Oct 2008 20:39:14 -0400 From: Glenn Morris To: quiet@debbugs.gnu.org Subject: overlay before- and after-string and mouse-face X-Spook: Plame UNSCOM Watergate Glock Elvis UMTS Agfa wire transfer X-Ran: !{&[Q!$66]"D?Bv'V^^mu\gkHLJWWtrF~'?nc/?IE2dYckL!9+{lF,vMJ-IM7dM/l>4I'? X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 21 Oct 2008 20:39:13 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Package: emacs Version: 23.0.60 This bug is extracted from #1176, which contained several issues. The mouse-face property of an overlay with a display string does not affect any before-string, but it does affect the after-string. This can be worked around to some extent by copying the mouse-face property to the before-string, but one cannot get the whole overlay highlighted at one time. Example: (let ((buff (generate-new-buffer "overlay test")) o) (with-current-buffer buff (insert "text") (setq o (make-overlay (point-min) (point-max))) (overlay-put o 'mouse-face '(:background "green")) (overlay-put o 'display "display") (overlay-put o 'before-string "before string") (overlay-put o 'after-string "after string") (pop-to-buffer buff))) "displayafter string" has mouse-face, but "before string" does not. From cyd@stupidchicken.com Sun Jun 21 18:55:45 2009 Received: (at 1220-done) by emacsbugs.donarmstrong.com; 22 Jun 2009 01:55:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po34.its.yale.edu (pantheon-po34.its.yale.edu [130.132.50.80]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5M1tgVw003748 for <1220-done@emacsbugs.donarmstrong.com>; Sun, 21 Jun 2009 18:55:43 -0700 Received: from furry (c-71-232-13-53.hsd1.ma.comcast.net [71.232.13.53]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5M1taBm012861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <1220-done@emacsbugs.donarmstrong.com>; Sun, 21 Jun 2009 21:55:36 -0400 Received: by furry (Postfix, from userid 1000) id EF9AEC09B; Sun, 21 Jun 2009 21:55:34 -0400 (EDT) From: Chong Yidong To: 1220-done@debbugs.gnu.org Subject: Re: overlay before- and after-string and mouse-face Date: Sun, 21 Jun 2009 21:55:34 -0400 Message-ID: <87ljnlrq09.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > The mouse-face property of an overlay with a display string does not > affect any before-string, but it does affect the after-string. > > This can be worked around to some extent by copying the mouse-face > property to the before-string, but one cannot get the whole overlay > highlighted at one time. I've checked a fix for this into the trunk. From unknown Fri Jun 20 07:18:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 12 Aug 2009 14:24:20 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator