From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Font-lock seemingly interacting with insertion Date: Sun, 25 Mar 2018 18:55:34 +0200 Message-ID: <87lgeg14e1.fsf@mbork.pl> References: <87bmfi0zgb.fsf@mbork.pl> <83bmfhly00.fsf@gnu.org> <87d0zx8qmy.fsf@web.de> <83tvt9jvsv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521996874 7863 195.159.176.226 (25 Mar 2018 16:54:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 16:54:34 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 25 18:54:30 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f08ub-0001wH-9G for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 18:54:29 +0200 Original-Received: from localhost ([::1]:51932 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f08we-0007tl-Da for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 12:56:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f08wH-0007tQ-Gw for help-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f08wG-00012m-LY for help-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:56:13 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:52535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f08wD-0000zp-By; Sun, 25 Mar 2018 12:56:09 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 56A77E69DC; Sun, 25 Mar 2018 18:56:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZDfBGCJqUWRw; Sun, 25 Mar 2018 18:55:59 +0200 (CEST) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 88655E6700; Sun, 25 Mar 2018 18:55:59 +0200 (CEST) In-reply-to: <83tvt9jvsv.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116274 Archived-At: On 2018-03-21, at 16:24, Eli Zaretskii wrote: >> From: Michael Heerdegen >> Cc: help-gnu-emacs@gnu.org >> Date: Wed, 21 Mar 2018 15:11:49 +0100 >> >> I thought the text property "font-lock-face" was exactly for such >> cases. Isn't it appropriate in this case? > > That's a possibility, but it will only work in modes/buffers that turn > on font-lock. AFAIU, that was not OP's intent. I was quite vague, but indeed that was my intent. However, font-lock-face generated further problems. I'll report back when I solve the problem (I know how to do it, I just need more time). Thanks, -- Marcin Borkowski http://mbork.pl