GNU bug report logs - #28040
25.2; nXML flyspell mode hangs on Yank

Previous Next

Package: emacs;

Reported by: Avinash Chopde <avinash <at> aczoom.com>

Date: Thu, 10 Aug 2017 21:18:02 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 16449, 20995, 22319, 24253

Found in versions 24.3.50, 24.5, 25.1.50, 25.2

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Avinash Chopde <avinash <at> aczoom.com>
To: 28040 <at> debbugs.gnu.org
Subject: bug#28040: 25.2; nXML flyspell mode hangs on Yank
Date: Thu, 10 Aug 2017 16:09:45 -0400
[Message part 1 (text/plain, inline)]
CPU pegs to 100%, can't do anything in emacs, C-g etc no keys work. Have to
kill emacs.

GNU Emacs 25.2.1

Steps to reproduce:

emacs -Q emacs-flyspell-hang.xml   [file contents at end of this email]

M-x flyspell-mode

              Status line shows: (nXML Valid Fly)

When I cut or copy the line in the comment (see comments in attached XML)

C-k  [line with <Element tag=... in the file

Then

Move to outside the XML comment (to line below <Indent4 ..>
and
C-y

Which should paste that text, but instead, it just hangs, and emacs CPU
usage goes to 100%.

emacs does not respond to any keys, have to kill it.

If not using flyspell-mode, it all works fine.

Not sure if the bug system handles attachments, so sending the body of the
file in this email:
File emacs-flyspell-hang.xml:

<Top version="V11">
  <Indent1 tag="AGGRESSIVE" level="NONE">
    <Indent2>
      <Indent3>
        <Indent4 name="CHEAPEST" index="0">

          <!--
              GNU Emacs 25.2.1
              emacs -Q [this file name]
              nXML mode, with M-x flyspell-mode
              Status line shows: (nXML Valid Fly)

              Cut or Copy this line below into the XML, then Yank C-y it
              and Emacs pegs CPU to 100% on the Paste
              Paste has to be in the XML above this comment,
              pasting in this comment seems to work fine and causes no hang.

              <Element tag="ABC">DEF</Element>
          -->
        </Indent4>
      </Indent3>
    </Indent2>
  </Indent1>
</Top>
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 341 days ago.

Previous Next


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