Your message dated Thu, 27 Jan 2005 11:02:03 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#292508: fixed in auctex 11.54-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Jan 2005 14:11:40 +0000
>From [EMAIL PROTECTED] Thu Jan 27 06:11:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from idmailgate2.unizh.ch [130.60.68.106] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CuAN1-0006o6-00; Thu, 27 Jan 2005 06:11:40 -0800
Received: from alhambra.kuesterei.ch ([130.60.169.112])
        by idmailgate2.unizh.ch (8.12.10/8.12.10/Debian-2) with ESMTP id 
j0REBbIJ016108
        for <[EMAIL PROTECTED]>; Thu, 27 Jan 2005 15:11:37 +0100
Received: from frank by alhambra.kuesterei.ch with local (Exim 3.35 #1 (Debian))
        id 1CuAMz-0001Dq-00
        for <[EMAIL PROTECTED]>; Thu, 27 Jan 2005 15:11:37 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: auctex: AUCTeX destroys non-breakable spaces in the text
X-Debbugs-CC: Frank K�ster <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Message-Id: <[EMAIL PROTECTED]>
From: =?iso-8859-1?Q?Frank_K=FCster?= <[EMAIL PROTECTED]>
Date: Thu, 27 Jan 2005 15:11:37 +0100
X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by idmailgate2.unizh.ch id 
j0REBbIJ016108
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: auctex
Version: 11.54-2
Severity: important
Tags: patch

This has been reported on the auctex mailinglist. I think it is quite
important to fix this even if there will not be an AUCTeX release
soon, because it destroys users' texts in a way that can only be
restored manually. A patch is included below.

Regards, Frank

From: Ralf Angeli <[EMAIL PROTECTED]>
Subject: Re: Bug in LaTeX-fill-paragraph
To: [EMAIL PROTECTED] (Frank K=FCster)
Cc: [EMAIL PROTECTED]
Date: Thu, 27 Jan 2005 10:12:59 +0100
Gnus-Warning: This is a duplicate of message <[EMAIL PROTECTED]
iwi.uni-sb.de>

* Frank K=FCster (2005-01-26) writes:

> Ralf Angeli <[EMAIL PROTECTED]> schrieb:
>
>> * Peter Heslin (2005-01-26) writes:
>>
>>> Start emacs -q, add auctex to the load path, and open an empty buffer
>>> in LaTeX-mode.  Type ~~foo.  Now hit M-q, and the text is unchanged,
>>> as it should be.  Now put one or two spaces in front, so that it is:
>>>
>>>   ~~foo
>>>
>>> Now do M-q again.  The two spaces disappear, as they should, but the
>>> two non-breaking spaces disappear as well!
>>
>> Fixed in CVS.  Thanks for the report.
>
> Can you send the patch, or point us to the commit that did it? I think
> this bug is worth fixing, e.g. in Debian, even if there is no new
> release soon.=20

cvs diff -kk -u -r 5.478 -r 5.479 tex.el

--=20
Ralf

The resulting patch is:

Index: tex.el
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/auctex/auctex/tex.el,v
retrieving revision 5.478
retrieving revision 5.479
diff -u -r5.478 -r5.479
--- tex.el      19 Jan 2005 09:03:10 -0000      5.478
+++ tex.el      26 Jan 2005 07:22:40 -0000      5.479
@@ -3107,7 +3107,7 @@
   (modify-syntax-entry ?&  "."  TeX-mode-syntax-table)
   (modify-syntax-entry ?_  "."  TeX-mode-syntax-table)
   (modify-syntax-entry ?@  "_"  TeX-mode-syntax-table)
-  (modify-syntax-entry ?~  " "  TeX-mode-syntax-table)
+  (modify-syntax-entry ?~  "."  TeX-mode-syntax-table)
   (modify-syntax-entry ?$  "$"  TeX-mode-syntax-table)
   (modify-syntax-entry ?'  "w"  TeX-mode-syntax-table)
   (modify-syntax-entry ?=AB  "."  TeX-mode-syntax-table)



-- System Information
Debian Release: 3.0-bunk-2
Architecture: i386
Kernel: Linux alhambra 2.4.27 #1 Sam Sep 25 11:29:41 CEST 2004 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages auctex depends on:
ii  debconf                       1.2.34     Debian configuration managem=
ent sy
ii  debianutils                   2.5.4      Miscellaneous utilities spec=
ific t
ii  emacs21                       21.3+1-4   The GNU Emacs editor
ii  make                          3.79.1-14  The GNU version of the "make=
" util

---------------------------------------
Received: (at 292508-close) by bugs.debian.org; 27 Jan 2005 16:05:51 +0000
>From [EMAIL PROTECTED] Thu Jan 27 08:05:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CuC9X-0003n8-00; Thu, 27 Jan 2005 08:05:51 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1CuC5r-00034X-00; Thu, 27 Jan 2005 11:02:03 -0500
From: [EMAIL PROTECTED] (Davide G. M. Salvetti)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#292508: fixed in auctex 11.54-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 27 Jan 2005 11:02:03 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: auctex
Source-Version: 11.54-3

We believe that the bug you reported is fixed in the latest version of
auctex, which is due to be installed in the Debian FTP archive:

auctex_11.54-3.diff.gz
  to pool/main/a/auctex/auctex_11.54-3.diff.gz
auctex_11.54-3.dsc
  to pool/main/a/auctex/auctex_11.54-3.dsc
auctex_11.54-3_all.deb
  to pool/main/a/auctex/auctex_11.54-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Davide G. M. Salvetti <[EMAIL PROTECTED]> (supplier of updated auctex package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 27 Jan 2005 16:34:12 +0100
Source: auctex
Binary: auctex
Architecture: source all
Version: 11.54-3
Distribution: unstable
Urgency: high
Maintainer: Davide G. M. Salvetti <[EMAIL PROTECTED]>
Changed-By: Davide G. M. Salvetti <[EMAIL PROTECTED]>
Description: 
 auctex     - An integrated environment for writing TeX/LaTeX documents
Closes: 292508
Changes: 
 auctex (11.54-3) unstable; urgency=high
 .
   * Urgency high: fixes an important bug.  (See: #292508)
   * ../tex.el: Apply a patch from Ralf Angeli, thanks to Frank Küster.
     (Closes: #292508)
   * control (Conflicts): Add emacspeak (<= 21), thanks to Frank Küster.
     (See: #291970)
Files: 
 8b43f0c5b1ffb4d38db6e3d568d6abf1 651 tex optional auctex_11.54-3.dsc
 116600e0bb68b61e1e3b71f807e3f19b 24682 tex optional auctex_11.54-3.diff.gz
 4e0b8989c14c0bee9fb83a34a378065f 643812 tex optional auctex_11.54-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: http://www.linux.it/~salve/dgms.gpg

iD8DBQFB+Q0zISswbJOWhl0RAq/BAKC7Zedh7ZyFMjNKzwKoFxYJNt8nigCeP52h
m8vMeL+r6N8TuEikIFW3GTA=
=g9Tz
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to