[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info invisible changes
From: |
Kim F. Storm |
Subject: |
Re: info invisible changes |
Date: |
14 Nov 2002 01:39:02 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"Stefan Monnier" <monnier+gnu/emacs/address@hidden> writes:
>
> > 3) when the fill code inserts a newline to wrap the text, it may
> > insert that newline in an invisible part of the buffer, so it has
> > no visible effect (i.e. displaying one very long line rather than
> > two normal width lines).
>
> You can fix this easily. See fill-nobreak-predicate.
I tried using this, but it is only checked if not at (bolp) --
which may happen inside invisible text.
I have added an explicit fill-nobreak-invisible variable which causes
fill-nobreak-p to return t for invisible text, and explicitly causes
fill-newline to remove any invisible property on the newline it
inserts.
I then modified info to set fill-nobreak-invisible to t and run
fill-paragraph on the paragraphs with mangled *note references.
I think the result is quite pleasant!
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: info invisible changes, (continued)
- Re: info invisible changes, Kim F. Storm, 2002/11/12
- Re: info invisible changes, Miles Bader, 2002/11/12
- Re: info invisible changes, Kim F. Storm, 2002/11/12
- Re: info invisible changes, Robert J. Chassell, 2002/11/12
- Re: info invisible changes, Kim F. Storm, 2002/11/13
- Re: info invisible changes, Robert J. Chassell, 2002/11/13
- Re: info invisible changes, Richard Stallman, 2002/11/14
- Re: info invisible changes, Kim F. Storm, 2002/11/14
- Re: info invisible changes, Stefan Monnier, 2002/11/12
- Re: info invisible changes, Kim F. Storm, 2002/11/13
- Re: info invisible changes,
Kim F. Storm <=
- Re: info invisible changes, Richard Stallman, 2002/11/13
Re: info invisible changes, Karl Berry, 2002/11/14