all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: line/wrap-prefix patch
Date: Fri, 04 Jul 2008 17:25:15 -0400	[thread overview]
Message-ID: <jwvr6a9e42d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8763rlpe4u.fsf@escher.local.home> (Stephen Berman's message of "Fri, 04 Jul 2008 22:50:57 +0200")

> If my usage above is correct, I think this approach would effectively
> need to be augmented by something like longlines.el.  If I just enable
> word wrapping and set wrap-prefix text properties as above, then as soon
> as I add enough text to force new word wrapping before a position
> indented by the wrap-prefix property, that indentation is lost.  Without
> line wrapping via post-command-hook a la longlines.el I don't see how to
> reliably retain the indentation after such changes in the previous text,
> at least at the lisp level (the alternative would be to integrate
> "adaptive indentation" into redisplay, as you did with "simple"
> indentation).

I'd expect it to be a job for jit-lock.


        Stefan




  reply	other threads:[~2008-07-04 21:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30  3:38 line/wrap-prefix patch Miles Bader
2008-06-30  4:18 ` Miles Bader
2008-07-01  0:36   ` Miles Bader
2008-07-01  4:52     ` Chong Yidong
2008-07-01  5:38       ` Miles Bader
2008-07-01 14:10         ` Chong Yidong
2008-07-01 22:19 ` Stephen Berman
2008-07-03  4:19   ` Miles Bader
2008-07-04 20:50     ` Stephen Berman
2008-07-04 21:25       ` Stefan Monnier [this message]
2008-07-05  0:52       ` Miles Bader
2008-07-05 21:30         ` Stephen Berman
2008-07-06  1:05           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvr6a9e42d.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.