From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Auto-fill-mode bug: unbreakable space lost Date: Tue, 22 Mar 2005 15:29:32 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1111523647 31548 80.91.229.2 (22 Mar 2005 20:34:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2005 20:34:07 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 21:34:06 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDq4X-0002EL-KJ for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 21:33:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDqLt-0002cK-W2 for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 15:51:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDqJJ-00014j-Pr for emacs-devel@gnu.org; Tue, 22 Mar 2005 15:49:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDqJD-00010L-8x for emacs-devel@gnu.org; Tue, 22 Mar 2005 15:49:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDqJD-0000zZ-0y for emacs-devel@gnu.org; Tue, 22 Mar 2005 15:49:03 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDq0Z-0005mh-46 for emacs-devel@gnu.org; Tue, 22 Mar 2005 15:29:47 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D2DC034001D; Tue, 22 Mar 2005 15:29:46 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 413C14AC26E; Tue, 22 Mar 2005 15:29:32 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 2B59B1165C1; Tue, 22 Mar 2005 15:29:32 -0500 (EST) Original-To: Gaetan Leurent In-Reply-To: (Gaetan Leurent's message of "Tue, 22 Mar 2005 21:08:45 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.824, requis 5, autolearn=not spam, AWL 0.08, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34990 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34990 > - Steps to reproduce with a recent CVS emacs: > start emacs -Q > switch some buffer to text-mode: M-x text-mode > activate auto-fill-mode: M-x auto-fill-mode > insert the following text: > blahblah blahblah blahblahblah blahblah blahblahblah blahblah blahblah=A0= blah > (note that the last space is an unbreakable one) > put the point before the unbreakable space, and insert a normal space > the unbreakable space disappears when the text warps (fill-column should > be 70) > - This behavior seems wrong to me: I think the unbreakable space should > be kept. Besides, it was kept in emacs 21.3. It seems the problem is due to `back-to-indentation' which skips chars with a "whitespace" syntax and NBSP does have whitespace syntax. Maybe NBSP shouldn't have whitespace syntax. Stefan