GNU bug report logs - #20296
11.88.3; LaTeX-fill-paragraph gives unexpected result

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: auctex; Reported by: jfbu <jfbu@HIDDEN>; dated Fri, 10 Apr 2015 20:33:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

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


Received: (at 20296) by debbugs.gnu.org; 11 Apr 2015 19:28:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 15:28:01 2015
Received: from localhost ([127.0.0.1]:53424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yh14S-0008H2-Rr
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 15:28:01 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:45417)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Yh14R-0008Gs-03
 for 20296 <at> debbugs.gnu.org; Sat, 11 Apr 2015 15:27:59 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id B45E5208C7
 for <20296 <at> debbugs.gnu.org>; Sat, 11 Apr 2015 15:27:54 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute1.internal (MEProxy); Sat, 11 Apr 2015 15:27:58 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=fTu5n39ogR41OlhWBsdQ73GUX9M=; b=p9bJk
 ElmvwNDriJFv6ifD8ieKtx/BruokMgSEmZtejL+tlgSfXghZsywNsAu4Qb4yI2nw
 SWicNCSxcXf27B/y7/IrAZJkrK6PeZGbZQBvgk1Gj+3KMbUV3LOGoiWCr//S+sKE
 fFSGgSKLUUvlpw2jHjO4E9MvBhGwBGnIfMT/2Y=
X-Sasl-enc: de/zagGl92r2d59hRJ+BTj38m3tq2dPZK16wmAJJlYE4 1428780478
Received: from thinkpad-t440p (unknown [2.161.103.173])
 by mail.messagingengine.com (Postfix) with ESMTPA id E5FD5680178;
 Sat, 11 Apr 2015 15:27:57 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: jfbu <jfbu@HIDDEN>
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
 <87twwnd5p0.fsf@HIDDEN>
 <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN>
 <87fv86khb1.fsf@HIDDEN>
 <EC444C8D-5BC0-40C1-B293-1FC76D0BADF4@HIDDEN>
Date: Sat, 11 Apr 2015 21:27:55 +0200
In-Reply-To: <EC444C8D-5BC0-40C1-B293-1FC76D0BADF4@HIDDEN> (jfbu@HIDDEN's
 message of "Sat, 11 Apr 2015 16:46:33 +0200")
Message-ID: <87r3rqwjlw.fsf@HIDDEN>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

jfbu <jfbu@HIDDEN> writes:

>> I can reproduce that here but I have no clue why that line breaks
>> indentation.  But at least the problem isn't there in the development
>> version.  I'll try to make a new ELPA release ASAP.  Please report back
>> if that fixes things.
>
> good news that it is already fixed in the development version !
>
> thus my custom setup for LaTeX-verbatim-macros-with-delims shouldn't
> have theoretically by itself caused the trouble ?

David has a point there.  I'll have to look how the regexp is used in
the filling code.

> I will of course report back when next ELPA release becomes available

Thanks.

> These days, I am sometimes off the net for some more or less extended
> periods, thus in case feedback is not immediate, it will be because
> I am in the "off" phase,

That's no problem.  I won't hold my breath until your feedback. :-)

Bye,
Tassilo




Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at 20296) by debbugs.gnu.org; 11 Apr 2015 14:47:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 10:47:00 2015
Received: from localhost ([127.0.0.1]:53291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YgwgV-0001MK-OG
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 10:47:00 -0400
Received: from smtp02.univ-lille1.fr ([193.49.225.20]:60910)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1YgwgS-0001Lz-AS
 for 20296 <at> debbugs.gnu.org; Sat, 11 Apr 2015 10:46:58 -0400
Received: from smtps2.univ-lille1.fr (smtps2.univ-lille1.fr [193.49.225.53])
 by smtp02.univ-lille1.fr (8.14.3/8.14.3) with ESMTP id t3BEkdeH027727;
 Sat, 11 Apr 2015 16:46:39 +0200
Received: from [192.168.0.11] (hel59-4-88-160-125-12.fbx.proxad.net
 [88.160.125.12]) (authenticated bits=0)
 by smtps2.univ-lille1.fr (8.14.3/8.14.3/Debian-5) with ESMTP id t3BEkWHN008435
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Sat, 11 Apr 2015 16:46:34 +0200
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
From: jfbu <jfbu@HIDDEN>
In-Reply-To: <87fv86khb1.fsf@HIDDEN>
Date: Sat, 11 Apr 2015 16:46:33 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC444C8D-5BC0-40C1-B293-1FC76D0BADF4@HIDDEN>
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
 <87twwnd5p0.fsf@HIDDEN> <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN>
 <87fv86khb1.fsf@HIDDEN>
To: Tassilo Horn <tsdh@HIDDEN>
X-Mailer: Apple Mail (2.1878.6)
X-USTL-MailScanner-Information: Please contact the ISP for more information
X-USTL-MailScanner-ID: t3BEkdeH027727
X-USTL-MailScanner: Found to be clean
X-USTL-MailScanner-From: jfbu@HIDDEN
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


Hi Tassilo,

>> I have identified the bad config (sorry for not having done it
>> earlier).
>>=20
>> Turns out I have=20
>>=20
>> (custom-set-variables
>> ;; custom-set-variables was added by Custom.
>> ;; If you edit it by hand, you could mess it up, so be careful.
>> ;; Your init file should contain only one such instance.
>> ;; If there is more than one, they won't work right.
>> ; ...
>> '(LaTeX-verbatim-macros-with-delims nil)
>> ;...
>> )
>>=20
>> For my current context, commenting out the bad line is enough of a =
fix
>> but I would like to understand better why the bad line is bad.
>=20
> I can reproduce that here but I have no clue why that line breaks
> indentation.  But at least the problem isn't there in the development
> version.  I'll try to make a new ELPA release ASAP.  Please report =
back
> if that fixes things.

good news that it is already fixed in the development version !

thus my custom setup for LaTeX-verbatim-macros-with-delims shouldn't
have theoretically by itself caused the trouble ?

I will of course report back when next ELPA release becomes available

These days, I am sometimes off the net for some more or less extended
periods, thus in case feedback is not immediate, it will be because
I am in the "off" phase,

thanks

Jean-Fran=E7ois






Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at 20296) by debbugs.gnu.org; 11 Apr 2015 12:07:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 08:07:14 2015
Received: from localhost ([127.0.0.1]:52966 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YguBu-0004eF-1d
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 08:07:14 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:42197 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dak@HIDDEN>) id 1YguBs-0004e6-37
 for 20296 <at> debbugs.gnu.org; Sat, 11 Apr 2015 08:07:12 -0400
Received: from localhost ([127.0.0.1]:54685 helo=lola)
 by fencepost.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dak@HIDDEN>)
 id 1YguBr-0002Ks-CZ; Sat, 11 Apr 2015 08:07:11 -0400
Received: by lola (Postfix, from userid 1000)
 id 0A906E0645; Sat, 11 Apr 2015 14:07:11 +0200 (CEST)
From: David Kastrup <dak@HIDDEN>
To: Tassilo Horn <tsdh@HIDDEN>
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
 <87twwnd5p0.fsf@HIDDEN>
 <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN>
 <87fv86khb1.fsf@HIDDEN>
Date: Sat, 11 Apr 2015 14:07:11 +0200
In-Reply-To: <87fv86khb1.fsf@HIDDEN> (Tassilo Horn's message of "Sat, 11 Apr
 2015 13:58:26 +0200")
Message-ID: <87twwmlvgw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org, jfbu <jfbu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Tassilo Horn <tsdh@HIDDEN> writes:

> jfbu <jfbu@HIDDEN> writes:
>
> Hi!
>> I have identified the bad config (sorry for not having done it
>> earlier).
>>
>> Turns out I have 
>>
>> (custom-set-variables
>>  ;; custom-set-variables was added by Custom.
>>  ;; If you edit it by hand, you could mess it up, so be careful.
>>  ;; Your init file should contain only one such instance.
>>  ;; If there is more than one, they won't work right.
>>  ; ...
>>  '(LaTeX-verbatim-macros-with-delims nil)
>>  ;...
>> )
>>
>> For my current context, commenting out the bad line is enough of a fix
>> but I would like to understand better why the bad line is bad.
>
> I can reproduce that here but I have no clue why that line breaks
> indentation.  But at least the problem isn't there in the development
> version.  I'll try to make a new ELPA release ASAP.  Please report back
> if that fixes things.

(regexp-opt nil t) => ""

Which does _not_ heed "If optional PAREN is non-nil, ensure that the
returned regexp is enclosed by at least one regexp grouping construct."
and matches everywhere instead of nowhere.

Probably enough to throw AUCTeX off track.

-- 
David Kastrup




Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at 20296) by debbugs.gnu.org; 11 Apr 2015 11:58:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 07:58:32 2015
Received: from localhost ([127.0.0.1]:52949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ygu3U-0004He-4p
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 07:58:32 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34531)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Ygu3R-0004HT-U4
 for 20296 <at> debbugs.gnu.org; Sat, 11 Apr 2015 07:58:30 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 844752086D
 for <20296 <at> debbugs.gnu.org>; Sat, 11 Apr 2015 07:58:25 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute3.internal (MEProxy); Sat, 11 Apr 2015 07:58:29 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=pkvGSVYB7P5h0COp6VnpZSdzFn8=; b=EkQ2H
 W20mrNUQqdLf33D0a83DavVybmpIYVJ4+g7VllqcaDQvRLBJSIbI+V4LbRXWL3xX
 WlRe/6ydkppiSMxdaU6y3YGaA5sO+W0FrdprXGTcs02eHCnEcGM1hBJIXsJjVIuI
 K3wHFPymPPtLO8jwpDSs9u1gOepBgeYu4AdmHk=
X-Sasl-enc: d22NcqALDp63/44eHnbDs0xFMlgOzHj348uQ6bD8N1L9 1428753509
Received: from thinkpad-t440p (unknown [2.161.103.173])
 by mail.messagingengine.com (Postfix) with ESMTPA id B168C6801A0;
 Sat, 11 Apr 2015 07:58:28 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: jfbu <jfbu@HIDDEN>
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
 <87twwnd5p0.fsf@HIDDEN>
 <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN>
Date: Sat, 11 Apr 2015 13:58:26 +0200
In-Reply-To: <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN> (jfbu@HIDDEN's
 message of "Sat, 11 Apr 2015 09:42:43 +0200")
Message-ID: <87fv86khb1.fsf@HIDDEN>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

jfbu <jfbu@HIDDEN> writes:

Hi!
> I have identified the bad config (sorry for not having done it
> earlier).
>
> Turns out I have 
>
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  ; ...
>  '(LaTeX-verbatim-macros-with-delims nil)
>  ;...
> )
>
> For my current context, commenting out the bad line is enough of a fix
> but I would like to understand better why the bad line is bad.

I can reproduce that here but I have no clue why that line breaks
indentation.  But at least the problem isn't there in the development
version.  I'll try to make a new ELPA release ASAP.  Please report back
if that fixes things.

Bye,
Tassilo




Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at 20296) by debbugs.gnu.org; 11 Apr 2015 07:43:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 03:43:05 2015
Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ygq4G-0004Qk-VV
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 03:43:05 -0400
Received: from smtp01.univ-lille1.fr ([193.49.225.19]:50019)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1Ygq4F-0004QC-0P
 for 20296 <at> debbugs.gnu.org; Sat, 11 Apr 2015 03:43:03 -0400
Received: from smtps1.univ-lille1.fr (smtps1.univ-lille1.fr [193.49.225.52])
 by smtp01.univ-lille1.fr (8.14.3/8.14.3) with ESMTP id t3B7grKs000435;
 Sat, 11 Apr 2015 09:42:53 +0200
Received: from [192.168.0.11] (hel59-4-88-160-125-12.fbx.proxad.net
 [88.160.125.12]) (authenticated bits=0)
 by smtps1.univ-lille1.fr (8.14.3/8.14.3/Debian-5) with ESMTP id t3B7gh3H010353
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Sat, 11 Apr 2015 09:42:45 +0200
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
From: jfbu <jfbu@HIDDEN>
In-Reply-To: <87twwnd5p0.fsf@HIDDEN>
Date: Sat, 11 Apr 2015 09:42:43 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <E4789A9E-41E9-441F-A20E-2F2811CFEB7D@HIDDEN>
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
 <87twwnd5p0.fsf@HIDDEN>
To: Tassilo Horn <tsdh@HIDDEN>
X-Mailer: Apple Mail (2.1878.6)
X-USTL-MailScanner-Information: Please contact the ISP for more information
X-USTL-MailScanner-ID: t3B7grKs000435
X-USTL-MailScanner: Found to be clean
X-USTL-MailScanner-From: jfbu@HIDDEN
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


Le 10 avr. 2015 =E0 23:38, Tassilo Horn <tsdh@HIDDEN> a =E9crit :

> jfbu <jfbu@HIDDEN> writes:
>=20
>> I do not understand the behavior of LaTeX-fill-paragraph. It keeps
>> annoying me with partially filled paragraphs.
>>=20
>> Sample .tex file illustrating the problem:
>>=20
>> -------------
>> \documentclass{article}
>>=20
>> \begin{document}
>> % Sample paragraph
>>=20
>> Without the separation axiom this does not work, for example let $V$ =
be an
>> infinite dimensional Banach space and let $X =3D V\cup\{*\}$, and =
let's declare=20
>> open the standard open $U\subset V$ as well as $X$ itself. This =
defines a=20
>> topology. The space is globally compact in the sense of coverings, =
but it=20
>> is not locally compact. Fortunately, it is not separated.
>>=20
>> % Applying M-q (LaTeX-fill-paragraph) to the paragraph above we get:
>>=20
>> Without the separation axiom this does not work, for example let $V$ =
be an
>> infinite dimensional Banach space and let $X =3D
>> V\cup\{*\}$, and let's declare open the standard open $U\subset V$ as =
well as
>> $X$ itself. This defines a topology. The space is globally compact in =
the sense
>> of coverings, but it is not locally compact. Fortunately, it is not =
separated.
>>=20
>> % fill-column is 78
>> \end{document}
>> -------------
>=20
> With a fresh emacs running AUCTeX 11.88.3 with no configurations, the
> paragraph above is filled to
>=20
> --8<---------------cut here---------------start------------->8---
> Without the separation axiom this does not work, for example let $V$ =
be an
> infinite dimensional Banach space and let $X =3D V\cup\{*\}$, and =
let's declare
> open the standard open $U\subset V$ as well as $X$ itself. This =
defines a
> topology. The space is globally compact in the sense of coverings, but =
it is
> not locally compact. Fortunately, it is not separated.
> --8<---------------cut here---------------end--------------->8---
>=20
> here when fill-column is 78.  That looks correct to me.  So maybe
> something in your configs causes the bad filling.
>=20
> Bye,
> Tassilo

Hi Tassilo,=20

thanks for having looked into this.

I have identified the bad config (sorry for not having done it earlier).

Turns out I have=20

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 ; ...
 '(LaTeX-verbatim-macros-with-delims nil)
 ;...
)

in my custom file

If I comment the LaTeX-verbatim-macros-with-delims setting, the problem
disappears.

(I obtained that via a dichotomy search on both my custom and init =
files,=20
that was full of suspense and the final result is a surprise)

As it stands the effect is:

LaTeX-verbatim-macros-with-delims is a variable defined in `latex.el'.
Its value is nil
Original value was ("verb" "verb*")

As I don't master elisp I must have done an error, and assigning nil
value to this variable is not the correct way to remove "verb" and =
"verb*"
from it.

The rationale for me is that sometimes I redefine the \verb macro to
allow line breaks in the source and also in the dvi/pdf output, thus I =
don't
care about fill-paragraph not breaking \verb|...| things.

Here is a more complete excerpt with possibly relevant lines:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(Info-additional-directory-list (quote ("/sw/share/info")))
 '(LaTeX-indent-environment-list
   (quote
    (("verbatim" current-indentation)
     ("verbatim*" current-indentation)
     ("everbatim" current-indentation)
     ("everbatim*" current-indentation)
     ("array")
     ("displaymath")
     ("eqnarray")
     ("eqnarray*")
     ("equation")
     ("equation*")
     ("picture")
     ("tabbing")
     ("table")
     ("table*")
     ("tabular")
     ("tabular*"))))
 '(LaTeX-verbatim-environments (quote ("verbatim" "verbatim*" =
"everbatim" "everbatim*")))
;;BAD
  '(LaTeX-verbatim-macros-with-delims nil)
;;ENDBAD
 '(TeX-auto-save nil)
 '(TeX-close-quote "=BB")
 '(TeX-command "etex")
 ;
 ; <many more lines>
)

For my current context, commenting out the bad line is enough of a fix
but I would like to understand better why the bad line is bad.

Sorry again for not having looked for a bad config before posting the
bug report (I should have posted the bug report to myself only first)

best
Jean-Fran=E7ois





Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at 20296) by debbugs.gnu.org; 10 Apr 2015 21:38:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 10 17:38:58 2015
Received: from localhost ([127.0.0.1]:52749 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yggdd-0004X2-QI
	for submit <at> debbugs.gnu.org; Fri, 10 Apr 2015 17:38:58 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53566)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1Yggdb-0004Wt-Ep
 for 20296 <at> debbugs.gnu.org; Fri, 10 Apr 2015 17:38:56 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 3386E20D06
 for <20296 <at> debbugs.gnu.org>; Fri, 10 Apr 2015 17:38:51 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
 by compute5.internal (MEProxy); Fri, 10 Apr 2015 17:38:55 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=SsCyQLN1QP7z5KrngeOxU9it5QQ=; b=r18GG
 UW/YX4cc3CHSwIzixcH6DMq34/kB+nJuLbrZFoCWgo5s1BIVFe1xmvh+WO9Uzwj7
 8jzd7O6WE2OEWSfin9bThzccZ2K9DD6bR8lmNBfz4lh90VL4pz1njfobG+wxD3P1
 AipqUAofPVH0w1Qsk4V6xVDqRP4WzU9xeKQ5Yg=
X-Sasl-enc: QhvCashD88TG4i39WpsPcvUQfnOJ/lp2sh0O/QFF17l8 1428701934
Received: from thinkpad-t440p (unknown [2.163.240.161])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5ED1AC0001D;
 Fri, 10 Apr 2015 17:38:54 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: jfbu <jfbu@HIDDEN>
Subject: Re: bug#20296: 11.88.3; LaTeX-fill-paragraph gives unexpected result
References: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
Date: Fri, 10 Apr 2015 23:38:51 +0200
In-Reply-To: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN> (jfbu@HIDDEN's
 message of "Fri, 10 Apr 2015 22:09:26 +0200")
Message-ID: <87twwnd5p0.fsf@HIDDEN>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 20296
Cc: 20296 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

jfbu <jfbu@HIDDEN> writes:

> I do not understand the behavior of LaTeX-fill-paragraph. It keeps
> annoying me with partially filled paragraphs.
>
> Sample .tex file illustrating the problem:
>
> -------------
> \documentclass{article}
>
> \begin{document}
> % Sample paragraph
>
> Without the separation axiom this does not work, for example let $V$ be an
> infinite dimensional Banach space and let $X = V\cup\{*\}$, and let's declare 
> open the standard open $U\subset V$ as well as $X$ itself. This defines a 
> topology. The space is globally compact in the sense of coverings, but it 
> is not locally compact. Fortunately, it is not separated.
>
> % Applying M-q (LaTeX-fill-paragraph) to the paragraph above we get:
>
> Without the separation axiom this does not work, for example let $V$ be an
> infinite dimensional Banach space and let $X =
> V\cup\{*\}$, and let's declare open the standard open $U\subset V$ as well as
> $X$ itself. This defines a topology. The space is globally compact in the sense
> of coverings, but it is not locally compact. Fortunately, it is not separated.
>
> % fill-column is 78
> \end{document}
> -------------

With a fresh emacs running AUCTeX 11.88.3 with no configurations, the
paragraph above is filled to

--8<---------------cut here---------------start------------->8---
Without the separation axiom this does not work, for example let $V$ be an
infinite dimensional Banach space and let $X = V\cup\{*\}$, and let's declare
open the standard open $U\subset V$ as well as $X$ itself. This defines a
topology. The space is globally compact in the sense of coverings, but it is
not locally compact. Fortunately, it is not separated.
--8<---------------cut here---------------end--------------->8---

here when fill-column is 78.  That looks correct to me.  So maybe
something in your configs causes the bad filling.

Bye,
Tassilo




Information forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 10 Apr 2015 20:32:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 10 16:32:39 2015
Received: from localhost ([127.0.0.1]:52698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YgfbS-0002jt-Kq
	for submit <at> debbugs.gnu.org; Fri, 10 Apr 2015 16:32:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40812)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1YgfbQ-0002jf-LN
 for submit <at> debbugs.gnu.org; Fri, 10 Apr 2015 16:32:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1YgfbK-0004Id-0j
 for submit <at> debbugs.gnu.org; Fri, 10 Apr 2015 16:32:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:40894)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jfbu@HIDDEN>)
 id 1YgfbJ-0004IX-Ui
 for submit <at> debbugs.gnu.org; Fri, 10 Apr 2015 16:32:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54317)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1YgfbI-0002L1-Pp
 for bug-auctex@HIDDEN; Fri, 10 Apr 2015 16:32:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1YgfbE-0004Eu-L8
 for bug-auctex@HIDDEN; Fri, 10 Apr 2015 16:32:28 -0400
Received: from smtp02.univ-lille1.fr ([2001:660:4401:100::20]:57673)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jfbu@HIDDEN>)
 id 1YgfbE-0004Dt-BG
 for bug-auctex@HIDDEN; Fri, 10 Apr 2015 16:32:24 -0400
Received: from smtps1.univ-lille1.fr (smtps1.univ-lille1.fr [193.49.225.52])
 by smtp02.univ-lille1.fr (8.14.3/8.14.3) with ESMTP id t3AK9Y4r024343
 for <bug-auctex@HIDDEN>; Fri, 10 Apr 2015 22:09:34 +0200
Received: from [192.168.0.11] (hel59-4-88-160-125-12.fbx.proxad.net
 [88.160.125.12]) (authenticated bits=0)
 by smtps1.univ-lille1.fr (8.14.3/8.14.3/Debian-5) with ESMTP id t3AK9TjE030027
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO)
 for <bug-auctex@HIDDEN>; Fri, 10 Apr 2015 22:09:32 +0200
From: jfbu <jfbu@HIDDEN>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: 11.88.3; LaTeX-fill-paragraph gives unexpected result
Message-Id: <54EBC8B1-115C-4B35-881F-CAFD189FB669@HIDDEN>
Date: Fri, 10 Apr 2015 22:09:26 +0200
To: bug-auctex@HIDDEN
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
X-USTL-MailScanner-Information: Please contact the ISP for more information
X-USTL-MailScanner-ID: t3AK9Y4r024343
X-USTL-MailScanner: Found to be clean
X-USTL-MailScanner-From: jfbu@HIDDEN
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your report will be posted for the auctex package at the GNU bug
tracker.  Visit http://debbugs.gnu.org/cgi/pkgreport.cgi?pkg=3Dauctex
to browse existing AUCTeX bugs.
------------------------------------------------------------------------

Emacs  : GNU Emacs 24.4.91.1 (x86_64-apple-darwin13.4.0, Carbon Version =
157 AppKit 1265.21)
 of 2015-03-15 on Atago.local
Package: 11.88.3

I do not understand the behavior of LaTeX-fill-paragraph. It keeps =
annoying
me with partially filled paragraphs.

I always work with hard-wrapped paragraphs and hit M-q very often to =
rewrap
when I modify things.

But something seems weird with LaTeX-fill-paragraph perhaps related to =
$..$
material it finds.

Sample .tex file illustrating the problem:

-------------
\documentclass{article}

\begin{document}
% Sample paragraph

Without the separation axiom this does not work, for example let $V$ be =
an
infinite dimensional Banach space and let $X =3D V\cup\{*\}$, and let's =
declare=20
open the standard open $U\subset V$ as well as $X$ itself. This defines =
a=20
topology. The space is globally compact in the sense of coverings, but =
it=20
is not locally compact. Fortunately, it is not separated.

% Applying M-q (LaTeX-fill-paragraph) to the paragraph above we get:

Without the separation axiom this does not work, for example let $V$ be =
an
infinite dimensional Banach space and let $X =3D
V\cup\{*\}$, and let's declare open the standard open $U\subset V$ as =
well as $X$ itself. This defines a topology. The space is globally =
compact in the sense of coverings, but it is not locally compact. =
Fortunately, it is not separated.

% fill-column is 78
\end{document}
-------------

regards,
Jean-Fran=E7ois=




Acknowledgement sent to jfbu <jfbu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#20296; Package auctex. 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: Mon, 25 Nov 2019 12:00:02 UTC

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