From: "Drew Adams" <drew.adams@oracle.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: RE: Overlay before-string property
Date: Sat, 30 Sep 2006 20:57:31 -0700 [thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMOEKNCLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwvmz8g1zmi.fsf-monnier+emacs@gnu.org>
> Unfortunately, the depth-indicator overlay picks up the face
> used for the first character of the prompt string. I don't
> want that - I want it to have its own face (e.g. the default).
> So, I tried adding this at the end of the above code:
> (overlay-put minibuf-depth-overlay 'face 'default)
Put the face property on the before-string string.
OK, that makes sense (and it works). Thanks.
However, I'd like to be able to just use the existing code as is, without
redefining it. That is, I'd prefer to do something simple after loading the
file minibuf-depth.el, rather than rewriting part of it.
Can you explain what is going on here, so I can understand it? Is this a
quality of the `before-string' property, in general, or does it result from
something else?
And should Miles' code (presumably to be added to Emacs after the release)
not result in this stickiness, or is it intended (does it have some
benefit)?
next prev parent reply other threads:[~2006-10-01 3:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-01 1:20 Overlay before-string property Drew Adams
2006-10-01 3:31 ` Stefan Monnier
2006-10-01 3:57 ` Drew Adams [this message]
2006-10-01 6:12 ` David Kastrup
2006-10-01 6:26 ` Drew Adams
2006-10-01 6:34 ` David Kastrup
2006-10-01 6:55 ` Drew Adams
2006-10-01 12:41 ` martin rudalics
2006-10-01 16:20 ` Drew Adams
2006-10-01 22:25 ` Richard Stallman
2006-10-07 9:56 ` martin rudalics
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=EIENLHALHGIMHGDOLMIMOEKNCLAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@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.