help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Filling a string?


From: Tassilo Horn
Subject: Re: Filling a string?
Date: Fri, 17 Jul 2015 14:14:07 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Tassilo Horn <tsdh@gnu.org> writes:

> Ah, ok.  I think it's possible, too.  There are left-margin and
> right-margin text properties.
>
> ,----[ (info "(elisp)Format Properties") ]
> | These text properties affect the behavior of the fill commands.  They
> | are used for representing formatted text.  *Note Filling::, and *note
> | Margins::.
> | 
> | [...]
> | 
> | ‘right-margin’
> |      This property specifies an extra right margin for filling this part
> |      of the text.
> | 
> | ‘left-margin’
> |      This property specifies an extra left margin for filling this part
> |      of the text.
> `----
>
> So possibly adding these properties to some paragraphs in your buffer
> + `visual-line-mode' might do the trick.

I just had some time to test this, and sadly it seems to apply only to
hard filling with `fill-paragraph' and friends.

Bye,
Tassilo



reply via email to

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