From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Koppelman Newsgroups: gmane.emacs.bugs Subject: bug#17021: 24.3.50; extension to hi-lock.el Date: Thu, 13 Aug 2020 13:43:03 -0500 Message-ID: References: <87mwgp1mq4.fsf@yun.yagibdah.de> <877du2g7jj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: lee , 17021@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 13 20:44:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6ICx-0007y1-Nb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Aug 2020 20:44:11 +0200 Original-Received: from localhost ([::1]:38258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6ICw-0001mW-PO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Aug 2020 14:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6ICo-0001m7-R1 for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2020 14:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6ICo-00020j-H2 for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2020 14:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6ICo-0005f1-EK for bug-gnu-emacs@gnu.org; Thu, 13 Aug 2020 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Koppelman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Aug 2020 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17021 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 17021-submit@debbugs.gnu.org id=B17021.159734419221686 (code B ref 17021); Thu, 13 Aug 2020 18:44:02 +0000 Original-Received: (at 17021) by debbugs.gnu.org; 13 Aug 2020 18:43:12 +0000 Original-Received: from localhost ([127.0.0.1]:51073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6IC0-0005di-5C for submit@debbugs.gnu.org; Thu, 13 Aug 2020 14:43:12 -0400 Original-Received: from relay001.lsu.edu ([130.39.6.46]:44766 helo=relay.lsu.edu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6IBy-0005dT-GI for 17021@debbugs.gnu.org; Thu, 13 Aug 2020 14:43:11 -0400 Original-Received: from cyc.ece.lsu.edu (cyc.ece.lsu.edu [96.125.115.182]) by relay.lsu.edu (Postfix) with ESMTPS id 2B5DF2194137; Thu, 13 Aug 2020 13:43:03 -0500 (CDT) In-Reply-To: <877du2g7jj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 13 Aug 2020 12:32:48 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185058 Archived-At: This does sound useful, but I'd need to see the patch. Use of this variable should be guarded by hi-lock-file-patterns-policy too. Lars Ingebrigtsen writes: > lee writes: > >> | This is an extension to hi-lock mode (of bzr revno 116727): >> | >> | You can use the buffer-local variable `hi-lock-patterns-file' to >> | specify a file to write the higlighting-patterns to. When this >> | variable is set, the highlighting-patterns will be kept in a dedicated >> | buffer instead of being written into the very file you`re editing. > > This patch unfortunately got no attention when it was posted seven years > ago, and it no longer applies to Emacs 28. > > I am not a hi-lock user myself -- are there anybody else on the bugs > mailing list here that can comment on whether this is something we'd > want to add? It does sound useful to me, but I'm not really familiar > with how hi-lock works.