unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Auto-fill-mode bug: unbreakable space lost
Date: Tue, 22 Mar 2005 15:29:32 -0500	[thread overview]
Message-ID: <jwv3buno274.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <qlkacov78aa.fsf@clipper.ens.fr> (Gaetan Leurent's message of "Tue, 22 Mar 2005 21:08:45 +0100")

> - 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	other threads:[~2005-03-22 20:29 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 20:08 Auto-fill-mode bug: unbreakable space lost Gaetan Leurent
2005-03-22 20:29 ` Stefan Monnier [this message]
2005-03-23  0:30   ` Kevin Rodgers
2005-03-23  0:44     ` David Kastrup
2005-03-23 13:34     ` Stefan
2005-03-23 19:19       ` Gaetan Leurent
2005-03-23 19:57         ` Stefan Monnier
2005-03-24 12:10           ` Gaetan Leurent
2005-03-24 13:52             ` Stefan
2005-03-24 14:05             ` Stefan
2005-03-24 21:33               ` Juri Linkov
2005-03-25 17:23                 ` Ehud Karni
2005-03-25 18:08                   ` Andreas Schwab
2005-03-25 18:22                   ` Stefan Monnier
2005-03-27  3:52                   ` Richard Stallman
2005-03-27  5:30                     ` Miles Bader
2005-03-28 16:25                       ` Richard Stallman
2005-03-28 18:45                       ` David Kastrup
2005-03-27  5:34                     ` Miles Bader
2005-03-28 16:25                       ` Richard Stallman
2005-03-28 20:52                         ` Miles Bader
2005-03-27 10:56                     ` Eli Zaretskii
2005-03-29  0:51                     ` Gaetan Leurent
2005-03-29 14:51                     ` Evil Boris
2005-03-29 15:55                       ` Gaetan Leurent
2005-03-30  0:04                       ` Richard Stallman
2005-03-26  2:17                 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-04-03 18:56 EvilborisNet
2005-04-04 19:05 Stefan Monnier
2005-04-05  4:22 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv3buno274.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).