all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Highlighted text which is not part of the buffer?
Date: Sat, 14 Jul 2007 08:50:25 +0200	[thread overview]
Message-ID: <85vecn8oni.fsf@lola.goethe.zz> (raw)
In-Reply-To: 1184353027.899593.10380@o61g2000hsh.googlegroups.com

"spamfilteraccount@gmail.com" <spamfilteraccount@gmail.com> writes:

> I created an empty overlay with before-string set and added a face
> property,

_Where_ did you add the face property?  To the overlay?  To the
before-string?

> but the before-string is not highlighted. (If the overlay is not
> empty, there is some real text in it then the before string is
> highlighted together with the real text.)

Probably only if the face property is inherited to the left.

> Is there an other way to show text with face properties which is not
> part of the buffer?

Put the face property on the before-string (I'd prefer using the
'display property).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-07-14  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 18:57 Highlighted text which is not part of the buffer? spamfilteraccount
2007-07-14  6:50 ` David Kastrup [this message]
2007-07-14  8:32   ` spamfilteraccount

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

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

  git send-email \
    --in-reply-to=85vecn8oni.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.