emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#25362: closed (26.0.50; comment-region goes into a


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#25362: closed (26.0.50; comment-region goes into an infinite loop)
Date: Wed, 11 Jan 2017 18:33:02 +0000

Your message dated Wed, 11 Jan 2017 18:32:02 +0000
with message-id <address@hidden>
and subject line Re: bug#25362: 26.0.50; comment-region goes into an infinite 
loop
has caused the debbugs.gnu.org bug report #25362,
regarding 26.0.50; comment-region goes into an infinite loop
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25362: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25362
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.0.50; comment-region goes into an infinite loop Date: Wed, 04 Jan 2017 15:37:25 -0800
Hi. I'm using a very recent emacs built from master:

  eb3416016b4

I'm observing (comment-region) go into an infinite loop when presented
with particular data. I'm attaching a small source file that
demonstrates the issue. To see it break, run this:

    emacs --eval '(add-hook (quote c-mode-common-hook) (lambda () (setq 
comment-start "//" comment-end "")))'  \
          --eval '(global-set-key (kbd "<f5>") (lambda () (interactive) 
(comment-region 16 45)))'              \
          -Q tst6.c

This loads the demo file with a clean configuration, and runs two bits
of lisp:

1. Sets up a c++ commenting style. This is required for the issue to
   present itself

2. Binds f5 to run the problematic (comment-region)

On my machine, invoking emacs that way, and then hitting f5 shows the problem.

void f(void)
{

    g( // output
      s );

}

--- End Message ---
--- Begin Message --- Subject: Re: bug#25362: 26.0.50; comment-region goes into an infinite loop Date: Wed, 11 Jan 2017 18:32:02 +0000 User-agent: Mutt/1.5.24 (2015-08-30)
Bug fixed.  Closing.

-- 
Alan Mackenzie (Nuremberg, Germany).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]