From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20607: 24.5; Problem with overlays at same position but in different windows Date: Mon, 18 May 2015 21:59:26 +0300 Message-ID: <83pp5xempd.fsf@gnu.org> References: <87siatsps9.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1431975630 6353 80.91.229.3 (18 May 2015 19:00:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2015 19:00:30 +0000 (UTC) Cc: 20607@debbugs.gnu.org To: Oleh Krehel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 18 21:00:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YuQGt-00018s-RI for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 May 2015 21:00:15 +0200 Original-Received: from localhost ([::1]:42578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQGt-0006Z3-99 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 May 2015 15:00:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQGq-0006Yn-1n for bug-gnu-emacs@gnu.org; Mon, 18 May 2015 15:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuQGl-0001s5-Uw for bug-gnu-emacs@gnu.org; Mon, 18 May 2015 15:00:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQGl-0001rd-Rk for bug-gnu-emacs@gnu.org; Mon, 18 May 2015 15:00:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YuQGk-0006SA-O6 for bug-gnu-emacs@gnu.org; Mon, 18 May 2015 15:00:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 May 2015 19:00:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20607-submit@debbugs.gnu.org id=B20607.143197558724750 (code B ref 20607); Mon, 18 May 2015 19:00:06 +0000 Original-Received: (at 20607) by debbugs.gnu.org; 18 May 2015 18:59:47 +0000 Original-Received: from localhost ([127.0.0.1]:49414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YuQGQ-0006R8-Ka for submit@debbugs.gnu.org; Mon, 18 May 2015 14:59:46 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:40333) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YuQGO-0006Qt-4b for 20607@debbugs.gnu.org; Mon, 18 May 2015 14:59:45 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NOK00D006S3WY00@mtaout27.012.net.il> for 20607@debbugs.gnu.org; Mon, 18 May 2015 21:54:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOK00ELP77CZ200@mtaout27.012.net.il>; Mon, 18 May 2015 21:54:48 +0300 (IDT) In-reply-to: <87siatsps9.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102934 Archived-At: > From: Oleh Krehel > 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.