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: Wed, 21 Mar 2018 10:05:56 +0100 Message-ID: <877eq5x0gb.fsf@mbork.pl> References: <87bmfi0zgb.fsf@mbork.pl> <83bmfhly00.fsf@gnu.org> <877eq528nk.fsf@mbork.pl> <83605plvir.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1521623094 12510 195.159.176.226 (21 Mar 2018 09:04:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 09:04:54 +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 Wed Mar 21 10:04:49 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 1eyZfs-00037c-2f for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 10:04:48 +0100 Original-Received: from localhost ([::1]:53538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyZht-0004gU-Li for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 05:06:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyZhR-0004fu-Hh for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 05:06:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyZhQ-0002tK-J7 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 05:06:25 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:37683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyZhM-0002rz-R8; Wed, 21 Mar 2018 05:06:20 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id C5444E676E; Wed, 21 Mar 2018 10:06:19 +0100 (CET) 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 RTdEErKlyhlS; Wed, 21 Mar 2018 10:06:16 +0100 (CET) Original-Received: from localhost (188.47.33.82.ipv4.supernova.orange.pl [188.47.33.82]) by mail.mojserwer.eu (Postfix) with ESMTPSA id A1A4CE6700; Wed, 21 Mar 2018 10:06:16 +0100 (CET) In-reply-to: <83605plvir.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:116228 Archived-At: On 2018-03-21, at 08:47, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Cc: help-gnu-emacs@gnu.org >> Date: Wed, 21 Mar 2018 08:24:31 +0100 >> >> This means that instead of inserting stuff with added faces, I need >> either to modify font lock keywords or use overlays. > > You could use hi-lock-mode instead. It plays well with font-lock. Thanks. It might be a good idea, but you know, when I have a problem, and I decide to use regexen... But I'll think about it. Thanks again! Best, -- Marcin Borkowski http://mbork.pl