Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 1 May 2022 14:55:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 10:55:55 2022 Received: from localhost ([127.0.0.1]:33907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nlAzL-0002SM-Fs for submit <at> debbugs.gnu.org; Sun, 01 May 2022 10:55:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nlAzJ-0002S7-3G for 19846 <at> debbugs.gnu.org; Sun, 01 May 2022 10:55:53 -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=K/MF5haONg2jTA+wAgxMdqdTPqfosSBv4DrfLMiwtMk=; b=IwcedQbWgoznJckikO4pUB1SCW SZRmESsGXF8zCAYFR0T37PN+pUa/HCvrxKuAG6+aaWaS8wHVmvtUzS/GVSzddylyP9DZrh3YjfkHb AyVMSSoTSNoOosw25LnoRt2V7Emn5Fz2gH2SmhY5VLeYmIMV6Fkpsys5ptIu5S+krJ8I=; Received: from [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 <larsi@HIDDEN>) id 1nlAzA-0006Nk-Ki; Sun, 01 May 2022 16:55:46 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Alan Mackenzie <acm@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode References: <20150214114837.96359.qmail@HIDDEN> <54DF9244.7030700@HIDDEN> <87a6c1pnt1.fsf@HIDDEN> <Ym5wnNUf/qHOVi9F@ACM> <871qxdo4su.fsf@HIDDEN> <Ym6e/VmI3ir3zNlj@ACM> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF DQsMf3+BzM3P////v28VKwAAAAFiS0dEAxEMTPIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElN RQfmBQEONyNEa0ZmAAAAXElEQVQoz2NgGJaAUTQ0NDQAymFLnToRwQFKRMA4rNMiQyNhHEbX0EAR BoZVYLB01bKZWaugnJWhqZGhUXBOKIIDAstWITgrkWWWBLohcRyROKtWIRuwatXI4QAAoKfZR1or YwAAAABaZVhJZk1NACoAAAAIAAUBEgADAAAAAQABAAABGgAFAAAAAQAAAEoBGwAFAAAAAQAAAFIB KAADAAAAAQACAAACEwADAAAAAQABAAAAAAAAAAAASAAAAAEAAABIAAAAAR9S9zQAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjItMDUtMDFUMTQ6NTU6MzUrMDA6MDCkUXf7AAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIyLTA1LTAxVDE0OjU1OjM1KzAwOjAw1QzPRwAAABd0RVh0ZXhpZjpZQ2JDclBvc2l0aW9u aW5nADGsD4BjAAAAOHRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0 LVBhY2thcmQgQ29tcGFueflXeTcAAAAhdEVYdGljYzpkZXNjcmlwdGlvbgBzUkdCIElFQzYxOTY2 LTIuMVet2kcAAAAmdEVYdGljYzptYW51ZmFjdHVyZXIASUVDIGh0dHA6Ly93d3cuaWVjLmNoHH8A TAAAADd0RVh0aWNjOm1vZGVsAElFQyA2MTk2Ni0yLjEgRGVmYXVsdCBSR0IgY29sb3VyIHNwYWNl IC0gc1JHQkRTSKkAAAAASUVORK5CYII= X-Now-Playing: Every Day Is Halloween =?utf-8?Q?=2812=E2=80=9D?= Single's _Twelve Inch Singles (Expanded Edition)_: "1984)" Date: Sun, 01 May 2022 16:55:43 +0200 In-Reply-To: <Ym6e/VmI3ir3zNlj@ACM> (Alan Mackenzie's message of "Sun, 1 May 2022 14:53:49 +0000") Message-ID: <87r15de1zk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Alan Mackenzie <acm@HIDDEN> writes: > Thanks! It should indeed be merged with 19873, yes. OK; now done. 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: 19846 Cc: martin rudalics <rudalics@HIDDEN>, 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Alan Mackenzie <acm@HIDDEN> writes: > Thanks! It should indeed be merged with 19873, yes. OK; now done. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 1 May 2022 14:54:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 10:54:00 2022 Received: from localhost ([127.0.0.1]:33900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nlAxT-0002P0-Uv for submit <at> debbugs.gnu.org; Sun, 01 May 2022 10:54:00 -0400 Received: from colin.muc.de ([193.149.48.1]:62540 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from <acm@HIDDEN>) id 1nlAxR-0002Ol-9o for 19846 <at> debbugs.gnu.org; Sun, 01 May 2022 10:53:58 -0400 Received: (qmail 86133 invoked by uid 3782); 1 May 2022 14:53:50 -0000 Received: from acm.muc.de (p2e5d504b.dip0.t-ipconnect.de [46.93.80.75]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 01 May 2022 16:53:49 +0200 Received: (qmail 10048 invoked by uid 1000); 1 May 2022 14:53:49 -0000 Date: Sun, 1 May 2022 14:53:49 +0000 To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode Message-ID: <Ym6e/VmI3ir3zNlj@ACM> References: <20150214114837.96359.qmail@HIDDEN> <54DF9244.7030700@HIDDEN> <87a6c1pnt1.fsf@HIDDEN> <Ym5wnNUf/qHOVi9F@ACM> <871qxdo4su.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871qxdo4su.fsf@HIDDEN> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie <acm@HIDDEN> X-Primary-Address: acm@HIDDEN X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19846 Cc: martin rudalics <rudalics@HIDDEN>, 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, Lars. On Sun, May 01, 2022 at 13:44:49 +0200, Lars Ingebrigtsen wrote: > Alan Mackenzie <acm@HIDDEN> writes: > > In forward-paragraph, a regular expression is formed by concatenating > > the major mode's paragraph-start and paragraph-separate with a few other > > things. In CC Mode (at least), this gives rise to ill-formed regexps > > with adjacent sub-expressions which each can match the empty string, or > > arbitrary numbers of spaces. > Ah, so this is basically a variation on bug#19873? > > So, can you leave this bug open, please? > Sure. Should it be merged with 19873? Thanks! It should indeed be merged with 19873, yes. > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 1 May 2022 11:45:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 07:45:01 2022 Received: from localhost ([127.0.0.1]:59780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nl80a-0003OI-Pk for submit <at> debbugs.gnu.org; Sun, 01 May 2022 07:45:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nl80Y-0003Ny-6L for 19846 <at> debbugs.gnu.org; Sun, 01 May 2022 07:44:58 -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=Cy81GDp5EmPX3UxcupNr8UMUghtzigT6G14wwe1X4zs=; b=djyi8j9W3Cyn9K/c8jOh0p+klC z45/cb3vswQDqpcEwPoW7X3OwKuXoBMlXvX8c3H3MrXfoQY0gjlXDrUSf9yKX4Jp00nvGgfFrdJzg m+ciavr/238WcK7364QFiL4IJEAKONIhQZXSCVU9i1wJHE0IoDGluVtJ346AuXqdwhZA=; Received: from [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 <larsi@HIDDEN>) id 1nl80P-0003qv-NI; Sun, 01 May 2022 13:44:51 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Alan Mackenzie <acm@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode References: <20150214114837.96359.qmail@HIDDEN> <54DF9244.7030700@HIDDEN> <87a6c1pnt1.fsf@HIDDEN> <Ym5wnNUf/qHOVi9F@ACM> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEUnKjFIWW55hYZX Ym+RmZyMd4beO1DQtL/MydHqHjSzucl8quv////g3T9KAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+YF AQsqJs2mHB4AAAGjSURBVDjLbdFLbsIwEAZgrmDcCxBygcSpVHVpoqrqtmXBvg2EA5DQAxCLAwR5 XzXWdN37dfyIY1MGCYb5/DtOMpvN5nmSJEv9tSCJrxmC/5OR+U1YEkJuQoaQ3wAdIBSblPMyBB3Q kbTUZUA3nJs5obwc4c4uWVgg6QSm4ZmD+RWsCIkiHjIPRQRTgNAIpoDbywEP5vbyDhYZu4pY4Czc ihYeVixMUOaBZZSxac4KBytmyozZfVW95g7sPNMPPW27ppYfqQFul+MUoGla0aEYWOBilrzAGWBo jMj+Tb8PyvJSCSFAB7CEONbvCJRmz8LOh62R5tRXCAUr9Bw3+tlIU31V9QgPehsT+JVj1VsNnQvA xoNsDeyVHsPTNL8IDeKwv5rL1kInq/W6kmFA2IsfZVy7EU7xvBcW8Ke+DrhEHNGBEaLIdgIQhyDQ ejiD6qKzjoB3p6YTtxFAFwcMAOCzVZsoYEGps1LuxD1eUAilEB71Tkq5E++ww1OKEbC+bUAoUBEM Q20C5tVAmAC8yf4TZ/gBFQKeeDv2EAIcbeA/fF18C38TwJZnmmD7qQAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMi0wNS0wMVQxMTo0MjozOCswMDowMPv7YZEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjIt MDUtMDFUMTE6NDI6MzgrMDA6MDCKptktAAAAAElFTkSuQmCC X-Now-Playing: Colleen's _A Flame My Love, A Frequency_: "Another World" Date: Sun, 01 May 2022 13:44:49 +0200 In-Reply-To: <Ym5wnNUf/qHOVi9F@ACM> (Alan Mackenzie's message of "Sun, 1 May 2022 11:35:56 +0000") Message-ID: <871qxdo4su.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Alan Mackenzie <acm@HIDDEN> writes: > In forward-paragraph, a regular expression is formed by concatenating > the major mode's paragraph-start and paragraph-separate with a few other > things. In CC Mode (at least), this gives rise to i [...] 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: 19846 Cc: martin rudalics <rudalics@HIDDEN>, 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Alan Mackenzie <acm@HIDDEN> writes: > In forward-paragraph, a regular expression is formed by concatenating > the major mode's paragraph-start and paragraph-separate with a few other > things. In CC Mode (at least), this gives rise to ill-formed regexps > with adjacent sub-expressions which each can match the empty string, or > arbitrary numbers of spaces. Ah, so this is basically a variation on bug#19873? > So, can you leave this bug open, please? Sure. Should it be merged with 19873? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 1 May 2022 11:36:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 07:36:06 2022 Received: from localhost ([127.0.0.1]:59757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nl7ry-0003AH-Lv for submit <at> debbugs.gnu.org; Sun, 01 May 2022 07:36:06 -0400 Received: from colin.muc.de ([193.149.48.1]:56740 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from <acm@HIDDEN>) id 1nl7rw-00039m-H4 for 19846 <at> debbugs.gnu.org; Sun, 01 May 2022 07:36:05 -0400 Received: (qmail 53963 invoked by uid 3782); 1 May 2022 11:35:57 -0000 Received: from acm.muc.de (p2e5d504b.dip0.t-ipconnect.de [46.93.80.75]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 01 May 2022 13:35:57 +0200 Received: (qmail 3666 invoked by uid 1000); 1 May 2022 11:35:56 -0000 Date: Sun, 1 May 2022 11:35:56 +0000 To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode Message-ID: <Ym5wnNUf/qHOVi9F@ACM> References: <20150214114837.96359.qmail@HIDDEN> <54DF9244.7030700@HIDDEN> <87a6c1pnt1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a6c1pnt1.fsf@HIDDEN> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie <acm@HIDDEN> X-Primary-Address: acm@HIDDEN X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19846 Cc: martin rudalics <rudalics@HIDDEN>, 19846 <at> debbugs.gnu.org, acm@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, Lars. On Sun, May 01, 2022 at 12:08:58 +0200, Lars Ingebrigtsen wrote: > martin rudalics <rudalics@HIDDEN> writes: > > Here the impact is felt immediately, probably because of the way I build > > Emacs. Inserting 72 spaces doesn't make much sense anyway, so this is > > not what's bothering me. But here inserting _any_ character with auto > > filling turned on is a pain. I'm usually typing 2 to 3 characters ahead > > of what I see on screen. > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > I tried reproducing this, but inserting characters normally in that doc > string seems to be quite speedy. It's not until I have about two > hundred spaces at the start of the line that I start seeing hangs. You've got a fast machine, perhaps. :-) > Are you still seeing these issues in recent Emacs versions? I still see them. What's more, I know exactly what's causing the hangs. In forward-paragraph, a regular expression is formed by concatenating the major mode's paragraph-start and paragraph-separate with a few other things. In CC Mode (at least), this gives rise to ill-formed regexps with adjacent sub-expressions which each can match the empty string, or arbitrary numbers of spaces. When there fails to be a match, the regexp engine tries in every possible way to find a match, and thus failing to find one takes a long time. I started work on a library to fix ill-formed regexps in 2015, and after a long gap, recently re-started work on it. Although there is still quite a bit to do on it, I can see my way to finishing it. This would fix the cause of the bug properly. Perhaps I may be able to make the current state available on a git branch under scratch "soon". So, can you leave this bug open, please? > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 1 May 2022 10:09:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 06:09:12 2022 Received: from localhost ([127.0.0.1]:59644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nl6Vs-0002g5-MD for submit <at> debbugs.gnu.org; Sun, 01 May 2022 06:09:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nl6Vn-0002fi-DR for 19846 <at> debbugs.gnu.org; Sun, 01 May 2022 06:09:11 -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=R++JVggmbXoGKMR1bV5X1KLXwmWDZzhx4eNXrdKPv4M=; b=Z/8cIHAI7BFE7GEUzco99LL1U1 sNR9+wdG2guJD5OwN7gFMRAcWznHYjggc+vJAO3OFqu0Pt59fuqF3wF9BpckhognpMtE2w8a9RzUJ jP0YsYoEeVmGthVzjKu6UFluxvlvPEfIW0hgjAlj6sSH3sIoVGyRSJ4ahcMtolMWPv1k=; Received: from [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 <larsi@HIDDEN>) id 1nl6Ve-0002my-O5; Sun, 01 May 2022 12:09:01 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: martin rudalics <rudalics@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode References: <20150214114837.96359.qmail@HIDDEN> <54DF9244.7030700@HIDDEN> X-Now-Playing: David Byrne's _Music for The Knee Plays_: "The Sound of Business" Date: Sun, 01 May 2022 12:08:58 +0200 In-Reply-To: <54DF9244.7030700@HIDDEN> (martin rudalics's message of "Sat, 14 Feb 2015 19:21:56 +0100") Message-ID: <87a6c1pnt1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: martin rudalics <rudalics@HIDDEN> writes: > Here the impact is felt immediately, probably because of the way I build > Emacs. Inserting 72 spaces doesn't make much sense anyway, so this is > not what's bothering me. But here inserting _any_ c [...] 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: 19846 Cc: Alan Mackenzie <acm@HIDDEN>, 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) martin rudalics <rudalics@HIDDEN> writes: > Here the impact is felt immediately, probably because of the way I build > Emacs. Inserting 72 spaces doesn't make much sense anyway, so this is > not what's bothering me. But here inserting _any_ character with auto > filling turned on is a pain. I'm usually typing 2 to 3 characters ahead > of what I see on screen. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I tried reproducing this, but inserting characters normally in that doc string seems to be quite speedy. It's not until I have about two hundred spaces at the start of the line that I start seeing hangs. Are you still seeing these issues in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 14 Feb 2015 18:22:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 14 13:22:18 2015 Received: from localhost ([127.0.0.1]:44133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YMhM9-0005r0-Oe for submit <at> debbugs.gnu.org; Sat, 14 Feb 2015 13:22:18 -0500 Received: from mout.gmx.net ([212.227.15.18]:50000) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rudalics@HIDDEN>) id 1YMhM7-0005qm-CF for 19846 <at> debbugs.gnu.org; Sat, 14 Feb 2015 13:22:16 -0500 Received: from [188.22.43.91] ([188.22.43.91]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lp3x6-1Xhqp221NE-00exA8; Sat, 14 Feb 2015 19:22:08 +0100 Message-ID: <54DF9244.7030700@HIDDEN> Date: Sat, 14 Feb 2015 19:21:56 +0100 From: martin rudalics <rudalics@HIDDEN> MIME-Version: 1.0 To: Alan Mackenzie <acm@HIDDEN>, 19846 <at> debbugs.gnu.org Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode References: <20150214114837.96359.qmail@HIDDEN> In-Reply-To: <20150214114837.96359.qmail@HIDDEN> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:FuAfHYE+gEsavFzE5J2Vyg5jXq9/TphXdg3/etFrtgrYpaJRMVW JZP9ugbx2/GnXWO4lC+nqernPKaDArNEPwCQACG01XiKM27b1PogVdLFa+uXK5A2hNBQdW+ AqAtEDU4Ezm2Sw/ixyk+eURcvA6Q1uobNXD5lkAiNAkzLqcVxxr1Y0yEsCpiVDfUXEihzpw 6Umhpz/wJwkUHiKcJm6UQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19846 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) > I don't see the difference between 24.3 and current master. On both of > them, the behaviour is the same. You're right. > The spaces get inserted normally, up > to column 72, then the display freezes. Some long while later (several > minutes), the display catches up again. This is with point in column > ~500. (Both of my Emacs builds were with optimisation and without > debugging info. Your build was without and with.) Here the impact is felt immediately, probably because of the way I build Emacs. Inserting 72 spaces doesn't make much sense anyway, so this is not what's bothering me. But here inserting _any_ character with auto filling turned on is a pain. I'm usually typing 2 to 3 characters ahead of what I see on screen. I'll now revise the way I build. If this cures the problem, let's not bother too much about the column 72 problem. > Incidentally, that doc string > > If this variable is t, Emacs asks the window manager to give the frame > intermediately its normal size whenever changing from a full-height or > full-width state to the fully maximized one and vice versa. > > doesn't read well. The "intermediately" in that position isn't English! > Perhaps something like the following would be better: > > If this variable is t, Emacs first asks the window manager to give the > frame its normal size, and only then the final state, whenever changing > from a full-height or full-width state to the fully maximized one and vice > versa. If nothing else I at least found a way to get my doc-strings fixed ;-) Thanks, martin
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 14 Feb 2015 16:31:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 14 11:31:41 2015 Received: from localhost ([127.0.0.1]:43977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YMfd7-0003Hn-3m for submit <at> debbugs.gnu.org; Sat, 14 Feb 2015 11:31:41 -0500 Received: from colin.muc.de ([193.149.48.1]:20602 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <acm@HIDDEN>) id 1YMfd4-0003Hd-Lz for 19846 <at> debbugs.gnu.org; Sat, 14 Feb 2015 11:31:39 -0500 Received: (qmail 41255 invoked by uid 3782); 14 Feb 2015 16:31:37 -0000 Received: from acm.muc.de (pD9518CA9.dip0.t-ipconnect.de [217.81.140.169]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 14 Feb 2015 17:31:36 +0100 Received: (qmail 5882 invoked by uid 1000); 14 Feb 2015 16:31:09 -0000 Date: Sat, 14 Feb 2015 16:31:09 +0000 To: 19846 <at> debbugs.gnu.org Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode Message-ID: <20150214163109.GA5459@HIDDEN> References: <54DCF303.6030202@HIDDEN> <20150214114837.96359.qmail@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150214114837.96359.qmail@HIDDEN> User-Agent: Mutt/1.5.22 (2013-10-16) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie <acm@HIDDEN> X-Primary-Address: acm@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19846 Cc: martin rudalics <rudalics@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Hi, Martin. On Sat, Feb 14, 2015 at 11:48:37AM -0000, Alan Mackenzie wrote: > In article <mailman.19768.1423766347.1147.bug-gnu-emacs@HIDDEN> you wrote: > > With current trunk/master and emacs -Q evaluate the following form > > (add-hook > > 'c-mode-hook > > '(lambda () > > (turn-on-auto-fill) > > (set (make-local-variable 'fill-column) 72))) > > and visit ~/src/xterm.c. Go to the end of that file, move a few lines > > backwards so that point is at the beginning of some non-empty line > > within the doc-string of `x-frame-normalize-before-maximize' (which is > > coded as a C comment). Now keep the SPC key pressed. Here Emacs > > consumes the entire available CPU and eventually redisplay gets stuck > > completely. This used to work without problems in Emacs 24.3. > A quick use of the profiler shows that forward-paragraph is taking ~87% > of the total CPU. There'll be a reason for this. I'll have a look at it. I think I've found it. In foward-paragraph (paragraphs.el) L+37, sp-parstat is bound as follows: (sp-parstart (concat "^[ \t]*\\(?:" parstart "\\|" parsep "\\)")) , where parstart and parsep are, basically, paragraph-start and paragraph-separate. In CC Mode, paragraph-s{tart,eparate} both start with "[ \t]*". So when a regexp search for sp-parstart is done on a non-matching line beginning with spaces, there will be a lot of alternative ways for the regexp engine to attempt to match the spaces before finally giving up on the line. The optimal solution to the bug would involve intelligently combining parstart and parsep into a safe regexp. I don't know how to do this (suggestions welcome). The alternative seems to be to search for parstart and parsep separately inside an `or' form. Any thoughts? > > martin -- Alan Mackenzie (Nuremberg, Germany).
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 14 Feb 2015 11:48:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 14 06:48:41 2015 Received: from localhost ([127.0.0.1]:42746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YMbDF-0003f1-7X for submit <at> debbugs.gnu.org; Sat, 14 Feb 2015 06:48:41 -0500 Received: from colin.muc.de ([193.149.48.1]:13190 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <acm@HIDDEN>) id 1YMbDD-0003et-9e for 19846 <at> debbugs.gnu.org; Sat, 14 Feb 2015 06:48:40 -0500 Received: (qmail 96360 invoked by uid 3782); 14 Feb 2015 11:48:37 -0000 Date: 14 Feb 2015 11:48:37 -0000 Message-ID: <20150214114837.96359.qmail@HIDDEN> From: Alan Mackenzie <acm@HIDDEN> To: 19846 <at> debbugs.gnu.org Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode Organization: muc.de e.V. In-Reply-To: <mailman.19768.1423766347.1147.bug-gnu-emacs@HIDDEN> X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/8.4-RELEASE (amd64)) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19846 Cc: martin rudalics <rudalics@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Hi, Martin. In article <mailman.19768.1423766347.1147.bug-gnu-emacs@HIDDEN> you wrote: > With current trunk/master and emacs -Q evaluate the following form > (add-hook > 'c-mode-hook > '(lambda () > (turn-on-auto-fill) > (set (make-local-variable 'fill-column) 72))) > and visit ~/src/xterm.c. Go to the end of that file, move a few lines > backwards so that point is at the beginning of some non-empty line > within the doc-string of `x-frame-normalize-before-maximize' (which is > coded as a C comment). Now keep the SPC key pressed. Here Emacs > consumes the entire available CPU and eventually redisplay gets stuck > completely. This used to work without problems in Emacs 24.3. I don't see the difference between 24.3 and current master. On both of them, the behaviour is the same. The spaces get inserted normally, up to column 72, then the display freezes. Some long while later (several minutes), the display catches up again. This is with point in column ~500. (Both of my Emacs builds were with optimisation and without debugging info. Your build was without and with.) A quick use of the profiler shows that forward-paragraph is taking ~87% of the total CPU. There'll be a reason for this. I'll have a look at it. > In GNU Emacs 25.0.50.1 (i686-pc-mingw32) > of 2015-02-12 on MACHNO > Repository revision: da726ad0c6177a3442a374a135f40a24945d362c > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > Configured using: > `configure --prefix=/c/emacs-git/trunk --enable-checking=yes > --enable-check-lisp-object-type=yes 'CFLAGS=-O0 -g3'' Incidentally, that doc string If this variable is t, Emacs asks the window manager to give the frame intermediately its normal size whenever changing from a full-height or full-width state to the fully maximized one and vice versa. doesn't read well. The "intermediately" in that position isn't English! Perhaps something like the following would be better: If this variable is t, Emacs first asks the window manager to give the frame its normal size, and only then the final state, whenever changing from a full-height or full-width state to the fully maximized one and vice versa. > martin -- Alan Mackenzie (Nuremberg, Germany).
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 13 Feb 2015 18:27:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 13 13:27:48 2015 Received: from localhost ([127.0.0.1]:42143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YMKxw-0000Av-1t for submit <at> debbugs.gnu.org; Fri, 13 Feb 2015 13:27:48 -0500 Received: from mout.gmx.net ([212.227.17.21]:52687) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rudalics@HIDDEN>) id 1YMKxt-0000Ad-Kj for 19846 <at> debbugs.gnu.org; Fri, 13 Feb 2015 13:27:46 -0500 Received: from [88.117.117.6] ([88.117.117.6]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Mcgur-1Y4whd1MC9-00HwQ4; Fri, 13 Feb 2015 19:27:36 +0100 Message-ID: <54DE420E.7060304@HIDDEN> Date: Fri, 13 Feb 2015 19:27:26 +0100 From: martin rudalics <rudalics@HIDDEN> MIME-Version: 1.0 To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode References: <54DCF303.6030202@HIDDEN> <jwv4mqp91vo.fsf-monnier+emacsbugs@HIDDEN> In-Reply-To: <jwv4mqp91vo.fsf-monnier+emacsbugs@HIDDEN> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bLnsUs4ul29lQfIUd8Of79BtEzb15/eHdvMnJsNH4V6qXv6YiUi 5ARO5NQVfQCzwAMmwdwntWO6mw2AGuzy2Ur0eYmjtxQar33w3aZy+tBKqCCUhWJoqOcRmoc lJr2U3NWPgLGQrtsqXTZXAjE49ZhJPWeAc46iPUV9Z15ZpVhWFxA+4X1njFiPvLGTm9iq05 ZNWZQ8l2TZFiBVrOJmkmg== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19846 Cc: 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) >> '(lambda () > > Please don't quote your lambdas, Indeed. 15 years old .emacs code, maybe 20. I didn't even recall what `auto-fill-mode' does. Can you reproduce the issue? martin
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at 19846) by debbugs.gnu.org; 13 Feb 2015 17:07:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 13 12:07:45 2015 Received: from localhost ([127.0.0.1]:42079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YMJiS-0006jA-Se for submit <at> debbugs.gnu.org; Fri, 13 Feb 2015 12:07:45 -0500 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:42625) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1YMJiQ-0006j2-Ua for 19846 <at> debbugs.gnu.org; Fri, 13 Feb 2015 12:07:43 -0500 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 71D2A85F68; Fri, 13 Feb 2015 12:07:42 -0500 (EST) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 620621E5B8A; Fri, 13 Feb 2015 12:07:18 -0500 (EST) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 441DAB4102; Fri, 13 Feb 2015 12:07:18 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: martin rudalics <rudalics@HIDDEN> Subject: Re: bug#19846: 25.0.50; Problem with auto-fill-mode and C mode Message-ID: <jwv4mqp91vo.fsf-monnier+emacsbugs@HIDDEN> References: <54DCF303.6030202@HIDDEN> Date: Fri, 13 Feb 2015 12:07:18 -0500 In-Reply-To: <54DCF303.6030202@HIDDEN> (martin rudalics's message of "Thu, 12 Feb 2015 19:37:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@HIDDEN X-Spam-Status: No X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19846 Cc: 19846 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) > '(lambda () Please don't quote your lambdas, Stefan
bug-gnu-emacs@HIDDEN, bug-cc-mode@HIDDEN
:bug#19846
; Package emacs,cc-mode
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Feb 2015 18:38:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 12 13:38:24 2015 Received: from localhost ([127.0.0.1]:40983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YLyed-0007yu-VP for submit <at> debbugs.gnu.org; Thu, 12 Feb 2015 13:38:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42304) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rudalics@HIDDEN>) id 1YLyec-0007yi-Ex for submit <at> debbugs.gnu.org; Thu, 12 Feb 2015 13:38:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1YLyeW-00082N-AC for submit <at> debbugs.gnu.org; Thu, 12 Feb 2015 13:38:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1YLyeW-00082J-7V for submit <at> debbugs.gnu.org; Thu, 12 Feb 2015 13:38:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1YLyeS-00071z-Cb for bug-gnu-emacs@HIDDEN; Thu, 12 Feb 2015 13:38:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1YLyeP-000811-6o for bug-gnu-emacs@HIDDEN; Thu, 12 Feb 2015 13:38:12 -0500 Received: from mout.gmx.net ([212.227.15.18]:57997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rudalics@HIDDEN>) id 1YLyeO-00080S-Tt for bug-gnu-emacs@HIDDEN; Thu, 12 Feb 2015 13:38:09 -0500 Received: from [188.22.40.98] ([188.22.40.98]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MHX0m-1YIgrO1ogW-003Jyl for <bug-gnu-emacs@HIDDEN>; Thu, 12 Feb 2015 19:38:02 +0100 Message-ID: <54DCF303.6030202@HIDDEN> Date: Thu, 12 Feb 2015 19:37:55 +0100 From: martin rudalics <rudalics@HIDDEN> MIME-Version: 1.0 To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN> Subject: 25.0.50; Problem with auto-fill-mode and C mode Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:q2qI8oH8WQsOcsK8FBhec3V3KLGI/epPLFZ81HTb8G5Cniy2N1S JcevMe6SagcWGODY7O6kx7DEbPc83UUwsW8XUgkt1IUFSYPQnrUiIJer0J9UmY4EqBtPHPG qJFbFZVbfs4FLATaxaOqQ/uwR3tQyNM9JHVdKdB7b4nnP3BGpvraY5W9OmcoIIho8/U+leV xFWaKsbC37T0fKO9RWBcQ== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.1 (----) With current trunk/master and emacs -Q evaluate the following form (add-hook 'c-mode-hook '(lambda () (turn-on-auto-fill) (set (make-local-variable 'fill-column) 72))) and visit ~/src/xterm.c. Go to the end of that file, move a few lines backwards so that point is at the beginning of some non-empty line within the doc-string of `x-frame-normalize-before-maximize' (which is coded as a C comment). Now keep the SPC key pressed. Here Emacs consumes the entire available CPU and eventually redisplay gets stuck completely. This used to work without problems in Emacs 24.3. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2015-02-12 on MACHNO Repository revision: da726ad0c6177a3442a374a135f40a24945d362c Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/c/emacs-git/trunk --enable-checking=yes --enable-check-lisp-object-type=yes 'CFLAGS=-O0 -g3'' martin
martin rudalics <rudalics@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#19846
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.