unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: indentation via text or overlay property?
Date: 04 Jun 2003 17:16:39 -0400	[thread overview]
Message-ID: <5lof1dh7bc.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 3EDE44C1.9040500@yahoo.com

>>>>> "Kevin" == Kevin Rodgers <ihs_4664@yahoo.com> 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	other threads:[~2003-06-04 21:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04 19:13 indentation via text or overlay property? Kevin Rodgers
2003-06-04 21:16 ` Stefan Monnier [this message]
2003-06-06 16:23   ` Kevin Rodgers
2003-06-06 16:59     ` Stefan Monnier
2003-06-06 18:09       ` Kevin Rodgers
2003-06-06 19:29         ` Stefan Monnier
2003-06-09 21:56           ` Kevin Rodgers
2003-06-09 22:57             ` Stefan Monnier

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=5lof1dh7bc.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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.
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).