From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Avinash Chopde Newsgroups: gmane.emacs.bugs Subject: bug#28040: 25.2; nXML flyspell mode hangs on Yank Date: Thu, 10 Aug 2017 16:09:45 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1146b770edcffe05566bc89c" X-Trace: blaine.gmane.org 1502399894 23553 195.159.176.226 (10 Aug 2017 21:18:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2017 21:18:14 +0000 (UTC) To: 28040@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 10 23:18:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfuqC-0005Uf-TV for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Aug 2017 23:18:05 +0200 Original-Received: from localhost ([::1]:55345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfuqJ-00053W-1J for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Aug 2017 17:18:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfuqC-00053M-Ru for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 17:18:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfuqB-0003yF-BG for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 17:18:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfuqB-0003y4-5Y for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 17:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dfuqA-0004B3-GS for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Avinash Chopde Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Aug 2017 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28040 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150239983615999 (code B ref -1); Thu, 10 Aug 2017 21:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Aug 2017 21:17:16 +0000 Original-Received: from localhost ([127.0.0.1]:54797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfupP-00049y-Ra for submit@debbugs.gnu.org; Thu, 10 Aug 2017 17:17:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dftmn-0002a5-7v for submit@debbugs.gnu.org; Thu, 10 Aug 2017 16:10:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dftmg-00043m-SE for submit@debbugs.gnu.org; Thu, 10 Aug 2017 16:10:24 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dftmg-00043P-OT for submit@debbugs.gnu.org; Thu, 10 Aug 2017 16:10:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dftmf-0005Ix-CS for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 16:10:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dftmd-0003zE-NA for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 16:10:21 -0400 Original-Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:37183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dftmd-0003vB-Di for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2017 16:10:19 -0400 Original-Received: by mail-wr0-x231.google.com with SMTP id 33so6742578wrz.4 for ; Thu, 10 Aug 2017 13:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aczoom.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=fHep58klveEVZpgTSaQ86/RJKMYkpmue4aQPUpu6JYk=; b=Q1QVoPAFZ1yoRglR3ixCnaarHSLklpPj/G6GKxkUmG0+F/JeNOnpoHxnoxqaqVQ9kU mpuedGrjGJhd1QyvN4lazaAUaGpyYRaoIJ4zetoKVbCP8mERIFYRVTmpNgoMJo+E9IfM dVwPK/nuP6yU3oRSh+dlMgZixXFTYnCo9Ux6EawbnZCsu3OKB+gza2VT+bjpvxj01SQG MURx00ncDf1vs7DktG+oOI5Htaiv0ryMpJkrtCgOo1UfeUOhdaiS+29cgDk+lYLfKVTR zQ04k2Jc50f+Kdee6yznJdzLb9/E9fIRSAvWWPSbvcOjgl/1LsmLJew3ig5OSB39qxA/ BTPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fHep58klveEVZpgTSaQ86/RJKMYkpmue4aQPUpu6JYk=; b=lfzmPi7/o/n/bKdmjXnxeQxs6tndfrDHcB0vk7JI1NyPtqWoRbbodQAuGE0u5IAJJE /eTL4ej+ewfoJ3YYW7jbw5IZ8MKp1nf3mixoXw/mWV7xO4lP5Os3T0VoEqc59lO3OyzZ WWyIRL+3UXp1kZ5R9GS3QaOa4Wq489b4WCpVfGXj9Aa7xFABFzEOwxn/gu5l5WNAhCXh dTm/Qbz8zMFsIQPrOXajTfp+7piVaMjIROHZw27a9uZkDd5NcmuJPoZBkHL7HsAUySdw i2rC+DMIy+T+XNHc18pObzRfGKXj+YubAp/PIswwWnkDCfArg5UWsHgdI1cwlT9zCK8G 4aug== X-Gm-Message-State: AHYfb5jkVdw2vo6b9Sr2rzAMEIKC1XjlsQRf3raCKthRsGLnoZKO6thC /fE8soXPp62kybMSSKoRMlp+LRZ+KYBY2fA= X-Received: by 10.223.135.119 with SMTP id 52mr8657608wrz.141.1502395816063; Thu, 10 Aug 2017 13:10:16 -0700 (PDT) Original-Received: by 10.223.165.5 with HTTP; Thu, 10 Aug 2017 13:09:45 -0700 (PDT) X-Originating-IP: [2620:15c:6:413:b5f7:68cb:c48c:5da7] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 10 Aug 2017 17:17:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135628 Archived-At: --001a1146b770edcffe05566bc89c Content-Type: text/plain; charset="UTF-8" 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 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: --001a1146b770edcffe05566bc89c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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<= /div>

Steps to reproduce:

emacs -Q emacs-flyspell-hang.xml =C2=A0 [file contents at end of this emai= l]

M-x flyspell-mode

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Status line shows: (nXML = Valid Fly)

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

C-k =C2=A0[= line with <Element tag=3D... in the file

Then

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

Which s= hould 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=3D&= quot;V11">
=C2=A0 <Indent1 tag=3D"AGGRESSIVE"= ; level=3D"NONE">
=C2=A0 =C2=A0 <Indent2>
=C2=A0 =C2=A0 =C2=A0 <Indent3>
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 <Indent4 name=3D"CHEAPEST" index=3D"0">

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

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

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <Element tag=3D"A= BC">DEF</Element>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 -->
=C2=A0 =C2=A0 =C2=A0 =C2=A0 </Indent4>
=C2=A0 =C2=A0 =C2=A0 </Indent3>
=C2=A0 =C2=A0 </Indent2= >
=C2=A0 </Indent1>
</Top>

--001a1146b770edcffe05566bc89c--