emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto-fill-mode bug: unbreakable space lost


From: Stefan Monnier
Subject: Re: Auto-fill-mode bug: unbreakable space lost
Date: Tue, 22 Mar 2005 15:29:32 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> - 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 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]