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

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

Re: indentation via text or overlay property?


From: Stefan Monnier
Subject: Re: indentation via text or overlay property?
Date: 04 Jun 2003 17:16:39 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Kevin" == Kevin Rodgers <address@hidden> writes:
> Is there a way to implement indentation via a text property like left-margin
> or an overlay property like before-string?

(put-text-property start end 'display '(space :align-to N))

will make the text between `start' and `end' appear like a space
that ends at column N.
This is at least documented in the NEWS file of Emacs-21.1, and
I'd expect there to be something about it as well in the elisp manual.


        Stefan


reply via email to

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