GNU bug report logs - #33416
GUI (X) Emacs 26.1 locks up when '(' character is entered into a comment in (C/*l Abbrev) mode

Previous Next

Packages: emacs, cc-mode;

Reported by: James Vaughan <dev.jamesvaughan <at> gmail.com>

Date: Sat, 17 Nov 2018 22:27:01 UTC

Severity: normal

Tags: patch

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Mackenzie <acm <at> muc.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33416: closed (GUI (X) Emacs 26.1 locks up when '(' character
 is entered into a comment in (C/*l Abbrev) mode)
Date: Sat, 24 Nov 2018 10:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 Nov 2018 10:39:15 +0000
with message-id <20181124103915.GA5221 <at> ACM>
and subject line Re: bug#33416: GUI (X) Emacs 26.1 locks up when '(' character is entered into a comment in (C/*l Abbrev) mode
has caused the debbugs.gnu.org bug report #33416,
regarding GUI (X) Emacs 26.1 locks up when '(' character is entered into a comment in (C/*l Abbrev) mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33416: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33416
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: James Vaughan <dev.jamesvaughan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: GUI (X) Emacs 26.1 locks up when '(' character is entered into a
 comment in (C/*l Abbrev) mode
Date: Sat, 17 Nov 2018 17:04:38 -0500
[Message part 3 (text/plain, inline)]
Reproduction
These are the precise steps I took, using this code
<https://gitlab.com/jvaughan/bpm.c> @
b6e7e4a6462644d83642ef2b1fae0a937c2fb339 :
1. With working directory in 'bpm.c/', start GUI Emacs in the background
with `emacs &`
2. Enter `C-x 3` to get vertical split, click into the right window, and
enter `C-x 2`.
3. From there, `M-x shell` to get a shell (zsh) in the bottom right corner.
4. Click into top right corner, `C-x C-f inc/parser.h`
5. Click into left half, `C-x C-f src/parser.c`
6. Append `// Continue checking if line is a comment (`.
Emacs will hang, not showing `(` or responding to clicks, commands, or GUI
interaction.
I had to `kill -9` it to get rid of it completely.
ps -a shows stat of emacs as RNl

$ uname -a
Linux workstation 4.19.1-arch1-1-ARCH #1 SMP PREEMPT Sun Nov 4 16:49:26 UTC
2018 x86_64 GNU/Linux

Thank you for looking into this.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: James Vaughan <dev.jamesvaughan <at> gmail.com>
Cc: 33416-done <at> debbugs.gnu.org
Subject: Re: bug#33416: GUI (X) Emacs 26.1 locks up when '(' character is
 entered into a comment in (C/*l Abbrev) mode
Date: Sat, 24 Nov 2018 10:39:15 +0000
Hello, James.

Thanks for the testing!

I've committed the patch to the emacs-26 branch, so it should hopefully
be part of the "soon" to be released Emacs 26.2.  With this post I'm
closing the bug.

-- 
Alan Mackenzie (Nuremberg, Germany).

On Mon, Nov 19, 2018 at 18:15:42 -0500, James Vaughan wrote:
> Hello Alan,

> Your patch does appear to have solved the problem, thank you!

> I also got to learn some things about Emacs in the process.
> Win-win situation to me ;)

> Thanks,

> James Vaughan


This bug report was last modified 6 years and 238 days ago.

Previous Next


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