Bug 1950158 - Emacs freezes in Modula-2 mode
Summary: Emacs freezes in Modula-2 mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 33
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-15 22:24 UTC by Matthew Saltzman
Modified: 2021-05-06 01:00 UTC (History)
9 users (show)

Fixed In Version: emacs-27.2-3.fc35 emacs-27.2-3.eln110 emacs-27.2-2.fc33 emacs-27.2-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-26 14:36:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Saltzman 2021-04-15 22:24:02 UTC
Description of problem: Inputting a certain string in an empty file whose name ends in .mod freezes Emacs.


Version-Release number of selected component (if applicable): 
emacs-27.2-1.fc33.x86_64


How reproducible: Always


Steps to Reproduce:
1. emacs foo.mod
2. Input the line
set PROD :
3. 

Actual results:
As soon as you enter the :, Emacs freezes.

Expected results:
Should be able to continue editing.

Additional info:
I'm not actually programming in Modula-2, but the product I'm using typically names files with the .mod suffix. Switching to text mode works around the problem.

The file is autosaved as #foo.mod#. Recovering it also freezes Emacs as soon as you place your cursor following the :.

The identifier can be anything, not just PROD.

Comment 1 Matthew Saltzman 2021-04-18 23:24:01 UTC
Only happens when the offending line is entered on line 1.

Comment 2 Dan Čermák 2021-04-25 07:45:58 UTC
This appears to be a general Emacs issue, as I can reproduce that with the Emacs flatpak as well.

Comment 3 Dan Čermák 2021-04-25 20:54:47 UTC
Reported upstream: https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-04/msg01449.html

Comment 4 Fedora Update System 2021-04-26 14:36:55 UTC
FEDORA-2021-81bffad259 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-04-26 15:54:56 UTC
FEDORA-2021-80ba6477f3 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-04-26 16:18:44 UTC
FEDORA-2021-ebd6e6afa2 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ebd6e6afa2

Comment 7 Fedora Update System 2021-04-26 17:52:19 UTC
FEDORA-2021-c879f63d24 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c879f63d24

Comment 8 Fedora Update System 2021-04-27 01:23:12 UTC
FEDORA-2021-ebd6e6afa2 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ebd6e6afa2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ebd6e6afa2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-04-27 01:26:58 UTC
FEDORA-2021-c879f63d24 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c879f63d24`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c879f63d24

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-05-05 00:53:36 UTC
FEDORA-2021-c879f63d24 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2021-05-06 01:00:31 UTC
FEDORA-2021-ebd6e6afa2 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.