unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Font-lock seemingly interacting with insertion
@ 2018-03-21  5:28 Marcin Borkowski
  2018-03-21  6:54 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Marcin Borkowski @ 2018-03-21  5:28 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

I want to insert a string with a part made bold (using
`add-face-text-property').  In certain buffers (e.g. in Fundamental
mode) this works, but in some other ones (e.g. in Org-mode or
message-mode) it does not.  After turning font-lock off, it works back
again.  This means that font-lock kicks in right after inserting and
disables my boldface.

Is there a way to make it not happen, without turning font lock off?

I understand that my description is slightly vague, but I suspect that
knowledgeable people might know the answer right away.  If not, I can
provide code to show exactly what I am talking about.

TIA,

--
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-05-15  8:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-21  5:28 Font-lock seemingly interacting with insertion Marcin Borkowski
2018-03-21  6:54 ` Eli Zaretskii
2018-03-21  7:24   ` Marcin Borkowski
2018-03-21  7:47     ` Eli Zaretskii
2018-03-21  9:05       ` Marcin Borkowski
2018-03-21 14:11   ` Michael Heerdegen
2018-03-21 15:24     ` Eli Zaretskii
2018-03-21 15:38       ` Michael Heerdegen
2018-03-21 16:22         ` Eli Zaretskii
2018-03-22  0:39         ` Drew Adams
2018-03-22  6:53           ` Eli Zaretskii
2018-03-25 17:00           ` Marcin Borkowski
     [not found]           ` <mailman.11214.1521997256.27995.help-gnu-emacs@gnu.org>
2018-05-15  8:04             ` andlind
2018-03-25 16:55       ` Marcin Borkowski

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