From unknown Thu Jun 19 14:06:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40611 <40611@debbugs.gnu.org> To: bug#40611 <40611@debbugs.gnu.org> Subject: Status: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) Reply-To: bug#40611 <40611@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:59 +0000 retitle 40611 Fontification of source bufffer can make Occur very slow (Ema= cs 27.0.90 pretest)=20 reassign 40611 emacs submitter 40611 Konrad Podczeck severity 40611 normal tag 40611 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 16:33:53 2020 Received: (at submit) by debbugs.gnu.org; 13 Apr 2020 20:33:53 +0000 Received: from localhost ([127.0.0.1]:60891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO5mC-0002iy-QV for submit@debbugs.gnu.org; Mon, 13 Apr 2020 16:33:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:57502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO5mB-0002ip-O3 for submit@debbugs.gnu.org; Mon, 13 Apr 2020 16:33:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO5m8-0004zD-EK for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 16:33:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO5m7-0000cY-CP for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 16:33:48 -0400 Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]:47284) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jO5m6-0000ak-TI for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 16:33:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc: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=HNmBuVMsBqcJDhFT6ykUDADKnWKh8pAXfT+Ow7d8EKs=; b=os1bt2tTDZoPiCiLidjofMAvmu Rut8nvIzSAwUMsb5nEoqxAchQQjqmEqA8Em4rImMRfcotXckHNl21Tmp+ehp5C6eXAVVmtCsgnsyD dRBAK/LoTS8cRLf5+8zhFbG2/e8140XBXtnycuaLRY7zCUj2SegAgHMEcGvhhm/IzsSE=; Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.93) (envelope-from ) id 1jO5ly-0005xa-Kf for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 22:33:38 +0200 Received: from 217-149-168-55.nat.highway.telekom.at ([217.149.168.55] helo=[10.0.0.13]) by justin.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.93) (envelope-from ) id 1jO5ly-0005CO-BF for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 22:33:38 +0200 From: Konrad Podczeck Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) Message-Id: Date: Mon, 13 Apr 2020 22:33:32 +0200 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:62a:4:25::25:115 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit 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 (-) Open a latex file for which "M-x occur Ret the Ret" gives about 3000 = hits. If the source buffer is fontified, it takes about 2 seconds until = the occur-buffer pops up, a time that is about 7 times longer than = starting the Emacs app! On the other hand, without fontification of the = source buffer, the occur buffer pops up almost immediately. Setting the = user option "occur-mode-hook" to nil has no effect on this difference. Konrad Podczeck= From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 07:44:02 2020 Received: (at 40611) by debbugs.gnu.org; 26 Oct 2020 11:44:02 +0000 Received: from localhost ([127.0.0.1]:38721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX0uw-0003pA-CO for submit@debbugs.gnu.org; Mon, 26 Oct 2020 07:44:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX0uu-0003nV-9v for 40611@debbugs.gnu.org; Mon, 26 Oct 2020 07:44:01 -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=stSYRyG8OM5Vn7XumhDmhewZ9vVTH6sMaB0f+lQRcJg=; b=i7i6ATXyYV4suFIEmu9/AawzJT LUDh5z+JVHWQqn4HmVn4lwMmKULjlxVyJA07qYl90wU+HOi+ijfOE4wWDgoYYT0hEiRgKZ37OLiul aa8dS0Gso/5pZbS4ssIxCMyUjI490PplZ5xLJjMI+ZCafesiyef6gAXKsVVwXD9ke938=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX0uc-0000OE-Cj; Mon, 26 Oct 2020 12:43:53 +0100 From: Lars Ingebrigtsen To: Konrad Podczeck Subject: Re: bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) References: X-Now-Playing: Sly & The Family Stone's _There's a Riot Goin' On_: "Thank You for Talkin' to Me Africa" Date: Mon, 26 Oct 2020 12:43:40 +0100 In-Reply-To: (Konrad Podczeck's message of "Mon, 13 Apr 2020 22:33:32 +0200") Message-ID: <87zh491ac3.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: Konrad Podczeck writes: > Open a latex file for which "M-x occur Ret the Ret" gives about 3000 > hits. If the source buffer is fontified, it takes about 2 seconds > until the occur-buffer pops up, a time that is about 7 time [...] 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.0 (/) X-Debbugs-Envelope-To: 40611 Cc: 40611@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.0 (-) Konrad Podczeck writes: > Open a latex file for which "M-x occur Ret the Ret" gives about 3000 > hits. If the source buffer is fontified, it takes about 2 seconds > until the occur-buffer pops up, a time that is about 7 times longer > than starting the Emacs app! On the other hand, without fontification > of the source buffer, the occur buffer pops up almost > immediately. Setting the user option "occur-mode-hook" to nil has no > effect on this difference. I tried this in a tex file with about 2700 "the" matches, and it took about half a second whether font-lock-mode was on or not (I assume that's what you mean by "without fontification"). So I'm unable to reproduce this problem. Are you still seeing this in newer versions of Emacs? If so, do you have a test file that demonstrates this problem (starting from "emacs -Q")? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 07:44:08 2020 Received: (at control) by debbugs.gnu.org; 26 Oct 2020 11:44:08 +0000 Received: from localhost ([127.0.0.1]:38724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX0v1-0003pV-LN for submit@debbugs.gnu.org; Mon, 26 Oct 2020 07:44:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX0uz-0003oa-LD for control@debbugs.gnu.org; Mon, 26 Oct 2020 07:44:05 -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=/tiZTDyQWN82ut6h+b4iUTLv+qT82y3aeb5WJjM9wmI=; b=VMKy4h8irmPoh5/9/kfGmqZTBi g/ExtJXru8i79p6s8kH8cBHuy+DuYWPwjaGYHy4AcWzTHFL6NcGuLUcBOgiD1D8Rj2ODPq+smbFBV Wu+l4v7XLgkanxuJM4EvUOICgnvxdfJi3vKywRMg2Cov1hzmlroMnOkvRREyWs7ilcR8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX0ur-0000OX-Vj for control@debbugs.gnu.org; Mon, 26 Oct 2020 12:44:00 +0100 Date: Mon, 26 Oct 2020 12:43:57 +0100 Message-Id: <87y2jt1abm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40611 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 40611 + 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.0 (/) 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.0 (-) tags 40611 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 07:48:00 2020 Received: (at 40611) by debbugs.gnu.org; 30 Nov 2020 12:48:00 +0000 Received: from localhost ([127.0.0.1]:54082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjib2-0001qh-58 for submit@debbugs.gnu.org; Mon, 30 Nov 2020 07:48:00 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjib0-0001qQ-I2 for 40611@debbugs.gnu.org; Mon, 30 Nov 2020 07:47:58 -0500 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=NqpnYvMp0ht9XIVDO4ilubM10iaSYAERGqF2I7zLCLs=; b=G6WrEmhD3V7KZynPc8rJNcyc+i wE0VH8aPCbBtpLqaIm4kyVYKiui2WkXReLjtegGwhzFZWJEAxPq3sXOmKyUhipeB/6rFduAMZrxgH qZjT18Hs6gOIQVSrHcaYbAYGPFdfQsKZFkqXyaDN+YZCbbhdRG4jpRpLrI1ToodVlqsI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjiar-0000Wj-TL; Mon, 30 Nov 2020 13:47:52 +0100 From: Lars Ingebrigtsen To: Konrad Podczeck Subject: Re: bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) References: <87zh491ac3.fsf@gnus.org> X-Now-Playing: Stephen Mallinder's _Um Dada_: "Satellite" Date: Mon, 30 Nov 2020 13:47:48 +0100 In-Reply-To: <87zh491ac3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 26 Oct 2020 12:43:40 +0100") Message-ID: <87v9dn6mff.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: > I tried this in a tex file with about 2700 "the" matches, and it took > about half a second whether font-lock-mode was on or not (I assume > that's what you mean by "without fontification"). > > So [...] 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.0 (/) X-Debbugs-Envelope-To: 40611 Cc: 40611@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.0 (-) Lars Ingebrigtsen writes: > I tried this in a tex file with about 2700 "the" matches, and it took > about half a second whether font-lock-mode was on or not (I assume > that's what you mean by "without fontification"). > > So I'm unable to reproduce this problem. Are you still seeing this in > newer versions of Emacs? If so, do you have a test file that > demonstrates this problem (starting from "emacs -Q")? More information was requested, but none was received, so I'm closing this bug report. If this is still an issue, please respond to the debbugs address and we'll reopen the report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 07:48:05 2020 Received: (at control) by debbugs.gnu.org; 30 Nov 2020 12:48:05 +0000 Received: from localhost ([127.0.0.1]:54094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjib7-0001s8-HF for submit@debbugs.gnu.org; Mon, 30 Nov 2020 07:48:05 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjib6-0001qa-4u for control@debbugs.gnu.org; Mon, 30 Nov 2020 07:48:04 -0500 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=XQ1pxKZu7XD1UsLXpG9K+kcwCpOdZVazKLeFXZlo8ME=; b=fvb5i4PPDqj7cfYt8EMvVq5JFI L4QDbb74eVJqMYJnSt67tq2dB5SJzZ2Y+81KGNk/Ayr/T3F5PeG9aat5m7kNjxQet/5oRhPbInndG UKRCGKPGISkOhaONbUc8BEsA/GnygSHy3E4gZSi9MeiLEUaFdHIVAjTK6qNCVtc3jRj0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjiay-0000Wp-BP for control@debbugs.gnu.org; Mon, 30 Nov 2020 13:47:58 +0100 Date: Mon, 30 Nov 2020 13:47:55 +0100 Message-Id: <87tut76mf8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40611 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 40611 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.0 (/) 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.0 (-) close 40611 quit From unknown Thu Jun 19 14:06:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Dec 2020 12:24:06 +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