From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: font-lock-face superseeds face?
Date: Sat, 16 Jun 2007 11:13:29 +0200 [thread overview]
Message-ID: <4673A9B9.8070209@gmail.com> (raw)
In-Reply-To: <4673A3F0.6010402@gmx.at>
martin rudalics wrote:
>> Is not the text property 'font-lock-face supposed to superseed 'face?
>> Should not this give one character shown in the face 'highlight:
>>
>> (put-text-property (1- (point)) (point) 'font-lock-face 'highlight)
>
> It works properly here with Emacs -Q, putting the line into *scratch*,
> point after it, and doing C-x C-e. The closing parenthesis is displayed
> with the 'highlight face. What did you do to make it fail?
Thanks for the answer. Yes, it works for me to evaluating it like you did.
I evaluated it from the minibuffer with M-:, but that does not make any
difference.
However if I now comment out the statement the 'highlight face is
hidden. Does that happen for you too?
next prev parent reply other threads:[~2007-06-16 9:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 16:45 font-lock-face superseeds face? Lennart Borgman (gmail)
2007-06-16 8:48 ` martin rudalics
2007-06-16 9:13 ` Lennart Borgman (gmail) [this message]
2007-06-16 10:09 ` martin rudalics
2007-06-16 10:11 ` Lennart Borgman (gmail)
2007-06-16 12:25 ` martin rudalics
2007-06-16 12:38 ` Lennart Borgman (gmail)
2007-06-16 14:44 ` martin rudalics
2007-06-16 20:15 ` Lennart Borgman (gmail)
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=4673A9B9.8070209@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/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).