GNU bug report logs - #11189
24.0.95; texinfmt deletes " and \ at bol

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: Katsumi Yamaoka <yamaoka@HIDDEN>; dated Fri, 6 Apr 2012 07:05:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 11189) by debbugs.gnu.org; 6 Apr 2012 10:53:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 06 06:53:49 2012
Received: from localhost ([127.0.0.1]:42151 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SG6nd-0005Wf-0G
	for submit <at> debbugs.gnu.org; Fri, 06 Apr 2012 06:53:49 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:58495)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <whitebox@HIDDEN>) id 1SG6nZ-0005WW-Ab
	for 11189 <at> debbugs.gnu.org; Fri, 06 Apr 2012 06:53:46 -0400
Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net
	[192.168.8.180])
	by mail-out.m-online.net (Postfix) with ESMTP id 3VPHnF1mjNz3hhcB;
	Fri,  6 Apr 2012 12:53:05 +0200 (CEST)
Received: from igel.home (ppp-88-217-121-221.dynamic.mnet-online.de
	[88.217.121.221])
	by mail.mnet-online.de (Postfix) with ESMTPA id 3VPHnF2Pr0z4KK2h;
	Fri,  6 Apr 2012 12:53:05 +0200 (CEST)
Received: by igel.home (Postfix, from userid 501)
	id 95B16CA2A9; Fri,  6 Apr 2012 12:53:04 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Katsumi Yamaoka <yamaoka@HIDDEN>
Subject: Re: bug#11189: 24.0.95; texinfmt deletes " and \ at bol
References: <b4m1uo1uyta.fsf@HIDDEN>
X-Yow: It's NO USE..  I've gone to ``CLUB MED''!!
Date: Fri, 06 Apr 2012 12:53:04 +0200
In-Reply-To: <b4m1uo1uyta.fsf@HIDDEN> (Katsumi Yamaoka's message of "Fri, 06
	Apr 2012 16:03:29 +0900")
Message-ID: <m2fwch9lnz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11189
Cc: 11189 <at> debbugs.gnu.org
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: -1.9 (-)

Katsumi Yamaoka <yamaoka@HIDDEN> writes:

> because `texinfo-format-syntax-table' sets the character syntax
> of " and \ to " ".

gnus-article-mode-syntax-table has the same problem, it sets the syntax
of ?` and ?' to " ", which causes these characters to disappear at bol
during format=flowed refilling.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11189; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 6 Apr 2012 07:04:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 06 03:04:34 2012
Received: from localhost ([127.0.0.1]:42007 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SG3Dk-0000Ib-FY
	for submit <at> debbugs.gnu.org; Fri, 06 Apr 2012 03:04:34 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44372)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3Dh-0000IU-TO
	for submit <at> debbugs.gnu.org; Fri, 06 Apr 2012 03:04:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3D5-00066r-BO
	for submit <at> debbugs.gnu.org; Fri, 06 Apr 2012 03:03:52 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:45587)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3D5-00066n-8G
	for submit <at> debbugs.gnu.org; Fri, 06 Apr 2012 03:03:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33398)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3D3-0004Vq-Kw
	for bug-gnu-emacs@HIDDEN; Fri, 06 Apr 2012 03:03:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3Cx-00065W-JW
	for bug-gnu-emacs@HIDDEN; Fri, 06 Apr 2012 03:03:49 -0400
Received: from orlando.hostforweb.net ([216.246.45.90]:45268)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yamaoka@HIDDEN>) id 1SG3Cx-00065I-FB
	for bug-gnu-emacs@HIDDEN; Fri, 06 Apr 2012 03:03:43 -0400
Received: from localhost ([127.0.0.1]:46423)
	by orlando.hostforweb.net with smtp (Exim 4.69)
	(envelope-from <yamaoka@HIDDEN>)
	id 1SG3Ct-0005FR-FT; Fri, 06 Apr 2012 02:03:39 -0500
Date: Fri, 06 Apr 2012 16:03:29 +0900
Message-ID: <b4m1uo1uyta.fsf@HIDDEN>
From: Katsumi Yamaoka <yamaoka@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.95; texinfmt deletes " and \ at bol
Organization: Emacsen advocacy group
X-Face: #kKnN,xUnmKia.'[pp`;
	Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk
	B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;
	B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&(
User-Agent: Gnus/5.130004 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.4)
	Emacs/24.0.95 (i686-pc-cygwin)
Cancel-Lock: sha1:wSpwWzGP/Ix8lhgm1znvHYQ0fzY=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - orlando.hostforweb.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jpl.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
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 (------)

Hi,

Please try `M-x texinfo-format-buffer' in a buffer filled with
this text:

--8<---------------cut here---------------start------------->8---
@setfilename /tmp/test

111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 @dfn{FOO}

222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 222 ``BAR''

333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 \BAZ/
--8<---------------cut here---------------end--------------->8---

@dfn{FOO} and ``BAR'' should be formatted into "FOO" and "BAR"
respectively, but you will see the leftmost " and \ disappear.
This happens with not only Emacs 24 but also at least Emacs 23.

`back-to-indentation' does it in this way

  texinfo-format-refill
    -> fill-paragraph
      -> fill-indent-to-left-margin
        -> indent-line-to
          -> back-to-indentation

because `texinfo-format-syntax-table' sets the character syntax
of " and \ to " ".  Though I'm not sure whether that is the root
cause, modifying those syntax to "w" seems to work around it.

Note that texinfmt.el is still indispensable for formatting non-
English texinfo files.

Regards,




Acknowledgement sent to Katsumi Yamaoka <yamaoka@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#11189; 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.