Subject: bug#16449: 24.3.50; emacs hangs while deleting comment in xml file with flyspell-mode on

From: Agustin Martin <[email-masked]>
Date: Wed, 15 Jan 2014 14:48:09 +0100

On Wed, Jan 15, 2014 at 11:16:17AM +0800, Levin Du wrote:
> 1. Starting from `emacs -Q'
> 
> 2. open a xml file with contents shown below:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <window>
>   <control>
>     <!--<visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>-->
>     <visible>false</visible>
>   </control>
> </window>
> 
> 3. Turn on flyspell mode with `M-x flyspell-mode'
> 
> 4. Move the cursor to the comment start '<!--', then begin to delete
>  comment start chars with C-d. When the line changes to :
>     <visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>-->
> 
>    Emacs hangs.
>
> In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.17)
>  of 2014-01-15 on DuJingwu

Hi,

Cannot reproduce here with emacs-snapshot 20140101 in Debian,
[GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.6)].
Here aspell is used spellchecker [/usr/bin/aspell::default] and LANG was set
to "es_ES.UTF-8". Same with

$ LC_ALL=C LANG=C emacs-snapshot -Q  test-16449.xml
$ LC_ALL=C LANG=en_US.UTF-8 emacs-snapshot -Q  test-16449.xml

aspell-es and aspell-en are installed. Which spellchecker and dictionary are
the default at your site? Is something relevant in your messages buffer?

Regards,

-- 
Agustin