unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#1220: marked as done (overlay before- and after-string and mouse-face)
Date: Mon, 22 Jun 2009 02:00:05 +0000	[thread overview]
Message-ID: <handler.1220.D1220.12456357463898.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: oytzb55uq6.fsf@fencepost.gnu.org

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]


Your message dated Sun, 21 Jun 2009 21:55:34 -0400
with message-id <87ljnlrq09.fsf@stupidchicken.com>
and subject line Re: overlay before- and after-string and mouse-face
has caused the Emacs bug report #1220,
regarding overlay before- and after-string and mouse-face
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1220: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1220
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2125 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: quiet@emacsbugs.donarmstrong.com
Subject: overlay before- and after-string and mouse-face
Date: Tue, 21 Oct 2008 20:39:13 -0400
Message-ID: <oytzb55uq6.fsf@fencepost.gnu.org>

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.



[-- Attachment #3: Type: message/rfc822, Size: 1786 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: 1220-done@emacsbugs.donarmstrong.com
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>

> 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.

           reply	other threads:[~2009-06-22  2:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <oytzb55uq6.fsf@fencepost.gnu.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.1220.D1220.12456357463898.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).