unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Avinash Chopde <avinash@aczoom.com>
To: 28040@debbugs.gnu.org
Subject: bug#28040: 25.2; nXML flyspell mode hangs on Yank
Date: Thu, 10 Aug 2017 16:09:45 -0400	[thread overview]
Message-ID: <CAC4Vf7KYHr6=bHmK7kh6a4KFCP4aNbrQL5y=-RMGnxyKfLbQfg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1508 bytes --]

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>

[-- Attachment #2: Type: text/html, Size: 2443 bytes --]

             reply	other threads:[~2017-08-10 20:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 20:09 Avinash Chopde [this message]
2017-08-11  1:06 ` bug#28040: 25.2; nXML flyspell mode hangs on Yank npostavs
2017-08-11 23:17   ` Avinash Chopde
2017-08-12  1:12     ` npostavs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC4Vf7KYHr6=bHmK7kh6a4KFCP4aNbrQL5y=-RMGnxyKfLbQfg@mail.gmail.com' \
    --to=avinash@aczoom.com \
    --cc=28040@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).