GNU bug report logs - #48011
27.2; Emacs freezes in modula 2 mode when entering a :

Previous Next

Package: emacs;

Reported by: Dan Čermák <dan.cermak <at> cgc-instruments.com>

Date: Sun, 25 Apr 2021 08:28:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 48011 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Dan Čermák <dan.cermak <at> cgc-instruments.com>,
 48011 <at> debbugs.gnu.org
Subject: Re: bug#48011: 27.2; Emacs freezes in modula 2 mode when entering a :
Date: Tue, 25 May 2021 13:09:31 +0000
>> This is a forward of 
>> https://bugzilla.redhat.com/show_bug.cgi?id=1950158 Emacs 27.2 freezes 
>> when editing a file that ends with .mod (i.e. it opens the file in 
>> Modula 2 mode) after one enters a ':'. The UI simply hangs until one 
>> interrupts it with C-g.
>
> First, I was super happy to see a bug report about modula2.el's 
> indentation code (which I kind of presumed was never used).
>

Alas, the original bug report says: "I'm not actually programming in 
Modula-2, but the product I'm using typically names files with the .mod 
suffix."

>
> But I'm starting to think that the real problem here is that you 
> actually didn't open a Modula-2 file.
>
> What kind of file was that `.mod` file?
>

Why is this important?  Even if the file is not actually a Modula-2 file, 
Emacs should not freeze when the user types ":": with emacs -Q foo.mod, 
type "a:", and Emacs freezes (until the user presses C-g).




This bug report was last modified 3 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.