all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Oleh Krehel <ohwoeowho@gmail.com>
Cc: 20607@debbugs.gnu.org
Subject: bug#20607: 24.5; Problem with overlays at same position but in different windows
Date: Mon, 18 May 2015 21:59:26 +0300	[thread overview]
Message-ID: <83pp5xempd.fsf@gnu.org> (raw)
In-Reply-To: <87siatsps9.fsf@gmail.com>

> From: Oleh Krehel <ohwoeowho@gmail.com>
> Date: Mon, 18 May 2015 20:29:10 +0200
> 
> 
> Suppose I have two windows, WND1 and WND2, both displaying the same
> buffer. In WND1, there's an overlay from 1 to 2 with window property
> WND1 and display "ab". In WND2, there's an overlay from 1 to 3 with
> window property WND2 and display "abc".
> 
> Instead of the expected, I see "ab" in WND1, but "abcabc" in WND2.  When
> I `move-overlay' in the first window to 1-3, the glitch disappears, but
> I actually want the overlay to be 1-2, not 1-3. If I have to make it
> 1-3, I'd have to modify the display as well to include one more
> character from the buffer. I think it's better to fix the overlay logic
> rather than go for this work-around.

Please show the code to reproduce this.





  reply	other threads:[~2015-05-18 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 18:29 bug#20607: 24.5; Problem with overlays at same position but in different windows Oleh Krehel
2015-05-18 18:59 ` Eli Zaretskii [this message]
2015-05-18 19:04   ` Oleh Krehel
2015-05-18 19:14   ` Eli Zaretskii
2015-05-19 15:43     ` Eli Zaretskii
2015-05-19 15:50       ` Oleh Krehel

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=83pp5xempd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20607@debbugs.gnu.org \
    --cc=ohwoeowho@gmail.com \
    /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.