From unknown Sun Aug 17 09:11:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13407 <13407@debbugs.gnu.org> To: bug#13407 <13407@debbugs.gnu.org> Subject: Status: 23.2; nxml: fill-paragraph does not work before root element Reply-To: bug#13407 <13407@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:11:26 +0000 retitle 13407 23.2; nxml: fill-paragraph does not work before root element reassign 13407 emacs submitter 13407 Benjamin Riefenstahl severity 13407 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 10 11:53:26 2013 Received: (at submit) by debbugs.gnu.org; 10 Jan 2013 16:53:26 +0000 Received: from localhost ([127.0.0.1]:54391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TtLNc-0005vt-63 for submit@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 ) id 1TtFxl-0003fd-Je for submit@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 ) id 1TtFxb-0004Bq-O2 for submit@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 ) id 1TtFxb-0004Bk-LB for submit@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 ) id 1TtFxW-0003OC-3X for bug-gnu-emacs@gnu.org; Thu, 10 Jan 2013 06:06:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtFxR-0004A5-Ej for bug-gnu-emacs@gnu.org; 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 ) id 1TtFxR-00049q-56 for bug-gnu-emacs@gnu.org; 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 To: bug-gnu-emacs@gnu.org 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@riefenstahl3.mecom.de> 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@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@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@gnu.org 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: - 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 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 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: M-x f i l l - p a r a C-z M-x u n d o M-x e m a c s - r e p o r t - e 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 10 14:18:38 2013 Received: (at control) by debbugs.gnu.org; 10 Jan 2013 19:18:38 +0000 Received: from localhost ([127.0.0.1]:54459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TtNe9-0001PB-Dn for submit@debbugs.gnu.org; Thu, 10 Jan 2013 14:18:37 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36398 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TtNe8-0001P5-6v for control@debbugs.gnu.org; Thu, 10 Jan 2013 14:18:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TtNe5-0008Q8-G6 for control@debbugs.gnu.org; Thu, 10 Jan 2013 14:18:33 -0500 Date: Thu, 10 Jan 2013 14:18:33 -0500 Message-Id: Subject: control message for bug 13407 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) found 13407 24.2.92 From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 03:24:22 2021 Received: (at 13407) by debbugs.gnu.org; 31 May 2021 07:24:22 +0000 Received: from localhost ([127.0.0.1]:60880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncHe-0000nh-7Z for submit@debbugs.gnu.org; Mon, 31 May 2021 03:24:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncHb-0000nR-Se for 13407@debbugs.gnu.org; Mon, 31 May 2021 03:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ULTxI2TB9Ek5UE1rsBNlsmDQ6naLqaW5CKOibASl8xo=; b=EcyAMkFqtQqMYhrjvtN3G7j1IK j3c9R5wPSmnLYDAskebWmjo2PND9DR6WaI5RAZ043yKtKx3plxEKqbTqmYSsIjadDBkS2xFR1t181 Nd3lu116A5/EcmvQiQnz4r+ZetsAVxZvAJrtZ3QNyBievKqLK4HihRLmyQsiAID2AbzA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lncHT-0006rN-7d; Mon, 31 May 2021 09:24:13 +0200 From: Lars Ingebrigtsen To: Benjamin Riefenstahl Subject: Re: bug#13407: 23.2; nxml: fill-paragraph does not work before root element References: <86fw29wb59.fsf@riefenstahl3.mecom.de> X-Now-Playing: d'Eon's _LP_: "audio_15.mp3" Date: Mon, 31 May 2021 09:24:09 +0200 In-Reply-To: <86fw29wb59.fsf@riefenstahl3.mecom.de> (Benjamin Riefenstahl's message of "Thu, 10 Jan 2013 12:05:54 +0100") Message-ID: <87k0nficx2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Benjamin Riefenstahl writes: > - C-x C-f /tmp/sample.xml > - Insert this text: > > > > > > > > - 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. (I'm going through old bug reports that unfortunately got no response at the time.) I can reproduce this bug in Emacs 25.1, but not in Emacs 28, so I'm going to go ahead and guess that this as been fixed now, and I'm closing this bug report. If you're still seeing this behaviour in Emacs 28, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 03:24:27 2021 Received: (at control) by debbugs.gnu.org; 31 May 2021 07:24:27 +0000 Received: from localhost ([127.0.0.1]:60883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncHj-0000ny-G6 for submit@debbugs.gnu.org; Mon, 31 May 2021 03:24:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lncHg-0000nY-4P for control@debbugs.gnu.org; Mon, 31 May 2021 03:24:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IwFtcJgQ0Pvqsp6aB8dLW1C/nCf5/JtDDKDXL8pkyI4=; b=Ur0nIQ64x8FkuTrtK+6Tcj07Lo wnC1T6c2Yvo0re7Jcj77kSiYCmRkZ1wCTR4Iz1BjWjD7uNydDv2fkrlTZUEvldBdft0ApGgGHiLsq K0T79WY7wGDTF+u+MID1w9xYfVIPLsaIvHHX4Hj/nKSHqrY0k7IeSTOAiznncfQzdkH4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lncHY-0006rX-J5 for control@debbugs.gnu.org; Mon, 31 May 2021 09:24:18 +0200 Date: Mon, 31 May 2021 09:24:16 +0200 Message-Id: <87im2zicwv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13407 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 13407 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 13407 quit From debbugs-submit-bounces@debbugs.gnu.org Mon May 31 05:19:56 2021 Received: (at 13407) by debbugs.gnu.org; 31 May 2021 09:19:56 +0000 Received: from localhost ([127.0.0.1]:32842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lne5U-0006NR-Cm for submit@debbugs.gnu.org; Mon, 31 May 2021 05:19:56 -0400 Received: from smtp-dmz2.mecom.de ([194.213.98.85]:56635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lne5S-0006NA-96 for 13407@debbugs.gnu.org; Mon, 31 May 2021 05:19:55 -0400 Received: from [192.168.226.244] (helo=exchange-cas1.mecom.de) by smtp-dmz2.mecom.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1lne5L-00073R-Oj; Mon, 31 May 2021 11:19:47 +0200 Received: from riefenstahl-linux.mecom.de.mecom.de (192.168.226.74) by EXCHANGE-CAS.mecom.de (192.168.226.243) with Microsoft SMTP Server (TLS) id 14.3.498.0; Mon, 31 May 2021 11:19:47 +0200 From: Benjamin Riefenstahl To: Lars Ingebrigtsen Subject: Re: bug#13407: 23.2; nxml: fill-paragraph does not work before root element References: <86fw29wb59.fsf@riefenstahl3.mecom.de> <87k0nficx2.fsf@gnus.org> Date: Mon, 31 May 2021 11:19:47 +0200 In-Reply-To: <87k0nficx2.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 May 2021 09:24:09 +0200") Message-ID: <87k0nf6z0s.fsf@riefenstahl-linux.mecom.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.226.74] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 13407 Cc: 13407@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > I can reproduce this bug in Emacs 25.1, but not in Emacs 28, so I'm > going to go ahead and guess that this as been fixed now Right, this also works for me in 27.1 now. Thank you for your time, Benjamin Riefenstahl --=20 IT-Architekt mecom Medien-Communikations-Gesellschaft mbH Mittelweg 143, 20148 Hamburg Fax: +49 40 451962 http://www.mecom.de Registergericht Hamburg, HRB 43177 Gesch=E4ftsf=FChrung: Barbara Bliefert, Norbert Schmidt-Banasch Unseren Hinweis zum Datenschutz finden Sie hier: https://www.dpa.com/de/dat= enschutzerklaerung From unknown Sun Aug 17 09:11:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Jun 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator