From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 21:21:43 2010 Received: (at submit) by debbugs.gnu.org; 30 May 2010 01:21:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIXDi-0006TD-Ag for submit@debbugs.gnu.org; Sat, 29 May 2010 21:21:42 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIXDh-0006T8-4O for submit@debbugs.gnu.org; Sat, 29 May 2010 21:21:41 -0400 Received: from lists.gnu.org ([199.232.76.165]:37650) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OIXDd-0003VW-El for submit@debbugs.gnu.org; Sat, 29 May 2010 21:21:37 -0400 Received: from [140.186.70.92] (port=37796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIXDc-0006RG-3C for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 21:21:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIXDb-00074s-97 for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 21:21:35 -0400 Received: from mail-yw0-f187.google.com ([209.85.211.187]:46536) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIXDb-00074e-5P for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 21:21:35 -0400 Received: by ywh17 with SMTP id 17so90253ywh.1 for ; Sat, 29 May 2010 18:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=swwK7onnAWTaVIiDEAJm59R1F6C5dYb6QyKanfbN31o=; b=dmOJj5DiMjCcpPjeD9tEvrFCKsWI9bgG3ysx0DMOmyXsVSCp/WPb6H5fbw43UhCr1l +mbKt4sAsU7UosNv9U58sKXyN+mArH8W17EjaysXvDYD4lHwLpV+Jq3VpQI1rnXcDFsN bNaXpnUAAs81DMv/m02R5QWGlHE2eZqTUvUsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=BTL07VaMn+MxO7aSgqtMdWBX2J2K5BKYHJotECXPrhoIQ6CO97DN3uETfFyHzktWW9 GRH0nZFgRLTJ2a/d6SOL49d1L5r2N5FV+nxMOgk6uTELhrUAylBI9BXlsV9CVyS9bL3n oN2E1xBFrfO1eKST5yVr2ZCztwYNACoZ/acLE= Received: by 10.101.28.39 with SMTP id f39mr2800445anj.69.1275182494161; Sat, 29 May 2010 18:21:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.44.20 with HTTP; Sat, 29 May 2010 18:21:14 -0700 (PDT) From: Lennart Borgman Date: Sun, 30 May 2010 03:21:14 +0200 Message-ID: Subject: hi-lock-set-pattern, font-lock-mode, overlays and occur To: Emacs Bugs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) I will never understand font-lock-add-keywords, but here are some thoughts about it and hi-lock-set-pattern. hi-lock-set-pattern can operate with and without font lock. In the latter case it uses overlays. However it locks to me like it mixes those two ways a bit: - It calls font-lock-add-keywords even when it is going to use overlays. - Secondly it checks font-lock-fontified instead of font-lock-mode to see whether to use overlays or not. And it does not seem to know about jit-lock: - It calls font-lock-fontify-buffer instead of jit-lock-refontify. This mean that it can't work in ocurr buffers. Beside that font-lock-mode is t in occur buffers. Is font lock used there, or? From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 10:03:17 2010 Received: (at control) by debbugs.gnu.org; 31 May 2010 14:03:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ5aH-0003O7-CY for submit@debbugs.gnu.org; Mon, 31 May 2010 10:03:17 -0400 Received: from pantheon-po14.its.yale.edu ([130.132.50.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ5aF-0003O1-Km for control@debbugs.gnu.org; Mon, 31 May 2010 10:03:16 -0400 Received: from furry (dhcp128036014059.central.yale.edu [128.36.14.59]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4VE3DAq025065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 May 2010 10:03:13 -0400 Received: by furry (Postfix, from userid 1000) id 4F17616D427; Mon, 31 May 2010 10:03:12 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6309 Date: Mon, 31 May 2010 10:03:12 -0400 Message-ID: <87sk58cgnz.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) close 6309 severity 6310 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 04:51:36 2021 Received: (at 6310) by debbugs.gnu.org; 3 Jun 2021 08:51:36 +0000 Received: from localhost ([127.0.0.1]:42206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loj4i-00064n-FZ for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:51:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loj4h-00064X-AB for 6310@debbugs.gnu.org; Thu, 03 Jun 2021 04:51:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=irebGhMK9TICWgbUmw+INnBOZfqPCbbkFL110eVSVMo=; b=HaQFAQ/FG4c0Bm3gUaC9jmOn7m FB15RvVLKiUrVQa7X4xL7ynBlm+W9p6mvbKSxutDIw4AMPkjMoIwvyfLy0/MWGcpLNfZjbcnSdB47 9OjU9g9N5bpNRmgiKuS0pghrt29ol+Ev7OMGKkPxcJqqmKVuKTcH33PBhKoR2iEmRpQs=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loj4Y-0008VY-MD; Thu, 03 Jun 2021 10:51:28 +0200 From: Lars Ingebrigtsen To: Lennart Borgman Subject: Re: bug#6310: hi-lock-set-pattern, font-lock-mode, overlays and occur References: X-Now-Playing: Little Simz's _Grey Area_: "Offence" Date: Thu, 03 Jun 2021 10:51:26 +0200 In-Reply-To: (Lennart Borgman's message of "Sun, 30 May 2010 03:21:14 +0200") Message-ID: <875yyv8h69.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lennart Borgman writes: > hi-lock-set-pattern can operate with and without font lock. In the > latter case it uses overlays. > > However it locks to me like it mixes those two ways a bit: > > - It calls font-lock-add-keyword [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 6310 Cc: 6310@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lennart Borgman writes: > hi-lock-set-pattern can operate with and without font lock. In the > latter case it uses overlays. > > However it locks to me like it mixes those two ways a bit: > > - It calls font-lock-add-keywords even when it is going to use overlays. > > - Secondly it checks font-lock-fontified instead of font-lock-mode to > see whether to use overlays or not. > > And it does not seem to know about jit-lock: > > - It calls font-lock-fontify-buffer instead of jit-lock-refontify. > > This mean that it can't work in ocurr buffers. > > Beside that font-lock-mode is t in occur buffers. Is font lock used there, or? (I'm going through old bug reports that unfortunately got no response at the time.) This bug report doesn't have a clear recipe, but I tried using (hi-lock-set-pattern "This" 'highlight) in an *Occur* buffer, and it seems to work fine. So has this problem gone away in the years since it was reported, or are you still seeing issues? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 03 04:51:40 2021 Received: (at control) by debbugs.gnu.org; 3 Jun 2021 08:51:40 +0000 Received: from localhost ([127.0.0.1]:42209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loj4m-000653-MY for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:51:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loj4l-00064e-Mt for control@debbugs.gnu.org; Thu, 03 Jun 2021 04:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nkHoOmDZcd4k/4wb1IFjp0yxIUaWl7nxRojGeuVFfOc=; b=KP4nPjH2ySmlqlPn7BdfxjwuM8 5iWAYQ7WD/N6tvnshy3fBe/FnEhgN58xaBOti/KoMW08d1hVsqXpTxTw/6nGI2RZrYz6AzeVjaP5t ve7L6oJXkiPGmOMOsgO8WdYGqC1D2PO09wLuzKdcRTd+WJhW1ziPZI7J0D5cW2uUiLbY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loj4e-0008Vg-8z for control@debbugs.gnu.org; Thu, 03 Jun 2021 10:51:34 +0200 Date: Thu, 03 Jun 2021 10:51:31 +0200 Message-Id: <874kef8h64.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6310 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 6310 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 6310 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 07:18:49 2021 Received: (at 6310) by debbugs.gnu.org; 2 Jul 2021 11:18:49 +0000 Received: from localhost ([127.0.0.1]:35118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHC5-0000Up-Bl for submit@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHC4-0000UZ-4L for 6310@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DdfdjCExouvVCvgvjcFZ5FQfyOJ1iFMy+v1dKhOAcRo=; b=E2OMn18NwsQr5DUSomPCW1GjH4 h8/6rBEEUeiIHr6nNLRm9gzpGuGlKQ/cDtaNghvSvZhLDSY0XrJDK8hJs6wolzPMlVmqO4zGOzHYd dlkXdWNk+/BUqYvWYyZSMhN995JlNJH9O6SxqQY5zCfzyvZmyS3UcSuUnbOKrJc010kY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzHBv-00089W-TY; Fri, 02 Jul 2021 13:18:42 +0200 From: Lars Ingebrigtsen To: Lennart Borgman Subject: Re: bug#6310: hi-lock-set-pattern, font-lock-mode, overlays and occur References: <875yyv8h69.fsf@gnus.org> X-Now-Playing: Katie Gately's _The Wire Tapper 52_: "Waltz" Date: Fri, 02 Jul 2021 13:18:39 +0200 In-Reply-To: <875yyv8h69.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Jun 2021 10:51:26 +0200") Message-ID: <871r8hufow.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > This bug report doesn't have a clear recipe, but I tried using > (hi-lock-set-pattern "This" 'highlight) in an *Occur* buffer, and it > seems to work fine. > > So has this problem gone away in the y [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 6310 Cc: 6310@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > This bug report doesn't have a clear recipe, but I tried using > (hi-lock-set-pattern "This" 'highlight) in an *Occur* buffer, and it > seems to work fine. > > So has this problem gone away in the years since it was reported, or are > you still seeing issues? More information was requested, but no response was given within a month, so I'm closing this bug report. If the problem still exists, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 07:18:53 2021 Received: (at control) by debbugs.gnu.org; 2 Jul 2021 11:18:53 +0000 Received: from localhost ([127.0.0.1]:35121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHC9-0000V6-Np for submit@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzHC8-0000Ud-1b for control@debbugs.gnu.org; Fri, 02 Jul 2021 07:18:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YQWGN/tnA4+WGqP6BRABtMZ8zeSs2I8Q24Bc10Djd6U=; b=U2V8qLhe2lnUHt8ah8Ji7OoM8c 94hvjcAsD4TQCM9SObIoemOrDQ/z3LY/0vCuRZWeJHZiXAQmfg1PXXwCER6hiMzdt33jOFKjmGoQK A3le4cO80zHaJG4hsmW2JpvHl7iyGzCnkLEAA2ULRQpqbFZmTV3fAsjCp9bZnjqeQE+U=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lzHC0-00089d-Fc for control@debbugs.gnu.org; Fri, 02 Jul 2021 13:18:46 +0200 Date: Fri, 02 Jul 2021 13:18:44 +0200 Message-Id: <87zgv5t14b.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6310 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 6310 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 6310 quit From unknown Tue Jun 17 01:35:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Jul 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator