[Top][All Lists]
[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: |
Wed, 23 Mar 2005 14:57:46 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> The current behavior annoys me because I make the French quotation mark
> '«' insert '« »' and put the point between the NBSP, because french
> quotations should be « like this », and if auto-fill mode gets in my way
> while I fill the quotation, I loose the NBSP.
I find NBSP to be a source of too many problems, so I think it should be
kept for those rare cases where the unbreakability of a space isn't obvious
from context.
Try (add-hook 'fill-nobreak-predicate 'fill-french-nobreak-p)
Note that fill-french-nobreak-p is new in Emacs-CVS.
> Concerning whitespace, a quick 'fgrep '" \t"' -r .' in the emacs source
> shows quite lot of place where this is still used to match whitespace
> instead of using the whitespace syntax, even in fill.el, so it's a bit
> confusing...
Indeed, it's messy.
Stefan
- Auto-fill-mode bug: unbreakable space lost, Gaetan Leurent, 2005/03/22
- Re: Auto-fill-mode bug: unbreakable space lost, Stefan Monnier, 2005/03/22
- Re: Auto-fill-mode bug: unbreakable space lost, Kevin Rodgers, 2005/03/22
- Re: Auto-fill-mode bug: unbreakable space lost, David Kastrup, 2005/03/22
- Re: Auto-fill-mode bug: unbreakable space lost, Stefan, 2005/03/23
- Re: Auto-fill-mode bug: unbreakable space lost, Gaetan Leurent, 2005/03/23
- Re: Auto-fill-mode bug: unbreakable space lost,
Stefan Monnier <=
- Re: Auto-fill-mode bug: unbreakable space lost, Gaetan Leurent, 2005/03/24
- Re: Auto-fill-mode bug: unbreakable space lost, Stefan, 2005/03/24
- Re: Auto-fill-mode bug: unbreakable space lost, Stefan, 2005/03/24
- Re: Auto-fill-mode bug: unbreakable space lost, Juri Linkov, 2005/03/24
- Re: Auto-fill-mode bug: unbreakable space lost, Ehud Karni, 2005/03/25
- Re: Auto-fill-mode bug: unbreakable space lost, Andreas Schwab, 2005/03/25
- Re: Auto-fill-mode bug: unbreakable space lost, Stefan Monnier, 2005/03/25
- Re: Auto-fill-mode bug: unbreakable space lost, Richard Stallman, 2005/03/26
- Re: Auto-fill-mode bug: unbreakable space lost, Miles Bader, 2005/03/27
- Re: Auto-fill-mode bug: unbreakable space lost, Richard Stallman, 2005/03/28