GNU bug report logs - #13407
23.2; nxml: fill-paragraph does not work before root element

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Benjamin Riefenstahl <riefenstahl@HIDDEN>; dated Thu, 10 Jan 2013 16:54:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 24.2.92. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jan 2013 16:53:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 10 11:53:26 2013
Received: from localhost ([127.0.0.1]:54391 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TtLNc-0005vt-63
	for submit <at> debbugs.gnu.org; Thu, 10 Jan 2013 11:53:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46601)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxl-0003fd-Je
	for submit <at> debbugs.gnu.org; Thu, 10 Jan 2013 06:06:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxb-0004Bq-O2
	for submit <at> debbugs.gnu.org; Thu, 10 Jan 2013 06:06:15 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:34678)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxb-0004Bk-LB
	for submit <at> debbugs.gnu.org; Thu, 10 Jan 2013 06:06:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57923)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxW-0003OC-3X
	for bug-gnu-emacs@HIDDEN; Thu, 10 Jan 2013 06:06:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxR-0004A5-Ej
	for bug-gnu-emacs@HIDDEN; Thu, 10 Jan 2013 06:06:06 -0500
Received: from smtp2.mecom.de ([193.109.231.33]:58142)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Riefenstahl@HIDDEN>) id 1TtFxR-00049q-56
	for bug-gnu-emacs@HIDDEN; Thu, 10 Jan 2013 06:06:01 -0500
Received: from [192.168.226.18] (helo=exchange1.mecom.de)
	by smtp2.mecom.de with smtp (Exim 4.50)
	id 1TtFxL-00086a-KN; Thu, 10 Jan 2013 12:05:55 +0100
Received: from riefenstahl3.mecom.de.mecom.de ([192.168.226.188]) by
	exchange1.mecom.de with Microsoft SMTPSVC(6.0.3790.4675); 
	Thu, 10 Jan 2013 12:05:55 +0100
From: Benjamin Riefenstahl <riefenstahl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.2; nxml: fill-paragraph does not work before root element
Date: Thu, 10 Jan 2013 12:05:54 +0100
Message-ID: <86fw29wb59.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-OriginalArrivalTime: 10 Jan 2013 11:05:55.0551 (UTC)
	FILETIME=[7640FEF0:01CDEF22]
X-Host-Lookup-Failed: Reverse DNS lookup failed for 192.168.226.18 (failed)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 10 Jan 2013 11:53:23 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@HIDDEN mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
A recipe starting from `emacs -Q':

- C-x C-f /tmp/sample.xml
- Insert this text:

<?xml version="1.0"?>
<!-- Lorem ipsum dolor sit amet,
     consectetuer adipiscing elit,
     sed diam nonummy nibh euismod
     tincidunt ut laoreet dolore
     magna aliquam erat volutpat.  -->
<root>
  <!-- Lorem ipsum dolor sit amet,
       consectetuer adipiscing elit,
       sed diam nonummy nibh euismod
       tincidunt ut laoreet dolore
       magna aliquam erat volutpat.  -->
</root>

- Position the point in the first comment
- M-x fill-paragraph

- What I observe: The paragraph in the second comment gets filled.
- What I expect: The paragraph where the point is gets filled.

- Variant 1: This works if I move the first comment after the <root>
  tag.

- Variant 2: If I add a second paragraph in the first comment and try to
  fill the first paragraph, still the paragraph in the second comment
  gets filled.

- Variant 2: If I add another comment with more text before the <root>
  tag and try to fill the first paragraph, still the paragraph in the
  second comment gets filled.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/23.2/etc/DEBUG.


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-12-11 on brahms, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: nXML

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> M-x f i l l - p a r a <tab> <return> C-z M-x 
u n d o <return> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> M-x e m a c s - <S-home> r e p o r t - e 
<backspace> <S-end> <backspace> <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Using vacuous schema
Undo!

Load-path shadows:
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug nxml-uchnm rng-xsd xsd-regexp
rng-cmpct regexp-opt rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)




Acknowledgement sent to Benjamin Riefenstahl <riefenstahl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13407; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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