all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Andrus <darthandrus@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17244-done@debbugs.gnu.org
Subject: bug#17244: 24.3.90; `line-move-visual' errors when moving across wrapped lines with an	overlay property of 'display
Date: Sun, 13 Apr 2014 19:43:08 -0600	[thread overview]
Message-ID: <0B5D9042-8250-4B40-9445-CEC864CFF458@gmail.com> (raw)
In-Reply-To: <834n1yu6lz.fsf@gnu.org>

On Apr 12, 2014, at 5:31 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> Thanks for the report.  I fixed this in revision 116947 on the
> emacs-24 branch.

Thanks for fixing this Eli.

> <rant>
> To tell the truth, Lisp code which covers large portions of buffer
> text with much shorter display strings that include newlines deserves
> to be broken.  The current Emacs display engine was never designed to
> handle situations where the displayed text is so starkly different
> from buffer text, so the result of trying to fix "bugs" such as this
> one is a never-ending series of band-aids, one upon the other, which
> make the code utterly incomprehensible and unmaintainable.
> 
> So I'm this close to refusing to fix such "bugs", and instead asking
> the authors of such Lisp to either find more benign ways of expressing
> what they need, or work around the limitations of the display engine
> in their own Lisp.
> </rant>	

So is the problem having newlines in the 'display property, or hiding large portions of the buffer?  Because, in my original use case (my modified version of http://www.emacswiki.org/emacs/fold.el) I don’t think I have newlines in the display property, though I definitely hide large portions of the buffer.  The overlays are also nested, so it might it be related to that?

That said, your change seems to have fixed it.  

Thanks again,
Ivan




  reply	other threads:[~2014-04-14  1:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11 21:28 bug#17244: 24.3.90; `line-move-visual' errors when moving across wrapped lines with an overlay property of 'display Ivan Andrus
2014-04-12 11:31 ` Eli Zaretskii
2014-04-14  1:43   ` Ivan Andrus [this message]
2014-04-14  8:11     ` Eli Zaretskii
2014-04-14 16:12       ` Ivan Andrus

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=0B5D9042-8250-4B40-9445-CEC864CFF458@gmail.com \
    --to=darthandrus@gmail.com \
    --cc=17244-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.