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#18285: 24.3.92; A combination of `display' on text and `invisible' and `before/after-string' leads to the before/after string being displayed twice Date: Fri, 22 Aug 2014 23:55:55 +0300 Message-ID: <83iolkmeg4.fsf@gnu.org> References: <86d2bypwx1.fsf@yandex.ru> <83k365defw.fsf@gnu.org> <53F5FD0B.1070800@yandex.ru> <83ppftc2kv.fsf@gnu.org> <53F6130A.5090102@yandex.ru> <83mwaxbze5.fsf@gnu.org> <53F695CF.1040606@yandex.ru> <83bnrdauwa.fsf@gnu.org> <53F72C7F.7050108@yandex.ru> <83sikomz1a.fsf@gnu.org> <53F7A1B7.2080607@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1408741044 1036 80.91.229.3 (22 Aug 2014 20:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2014 20:57:24 +0000 (UTC) Cc: 18285@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 22:57:16 2014 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 1XKvtc-000746-PU for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 22:57:16 +0200 Original-Received: from localhost ([::1]:39167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKvtc-00042H-1E for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 16:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKvtU-000425-Df for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2014 16:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKvtP-0007kV-1G for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2014 16:57:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKvtO-0007kQ-Uo for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2014 16:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XKvtO-00052h-ID for bug-gnu-emacs@gnu.org; Fri, 22 Aug 2014 16:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Aug 2014 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18285 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18285-submit@debbugs.gnu.org id=B18285.140874096619303 (code B ref 18285); Fri, 22 Aug 2014 20:57:02 +0000 Original-Received: (at 18285) by debbugs.gnu.org; 22 Aug 2014 20:56:06 +0000 Original-Received: from localhost ([127.0.0.1]:49803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XKvsT-00051G-Az for submit@debbugs.gnu.org; Fri, 22 Aug 2014 16:56:05 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:48157) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XKvsP-00050h-5y for 18285@debbugs.gnu.org; Fri, 22 Aug 2014 16:56:02 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NAQ00C00751MM00@mtaout29.012.net.il> for 18285@debbugs.gnu.org; Fri, 22 Aug 2014 23:55:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAQ00C7J7H0I810@mtaout29.012.net.il>; Fri, 22 Aug 2014 23:55:48 +0300 (IDT) In-reply-to: <53F7A1B7.2080607@yandex.ru> 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:92613 Archived-At: > Date: Sat, 23 Aug 2014 00:01:59 +0400 > From: Dmitry Gutov > CC: 18285@debbugs.gnu.org > > > But the question is, > > won't that cause overlay strings not to be displayed in some cases? > > The reverse, maybe? Making `invisible' inactive means something might > become visible, right? No. > But I'd have to see some examples. Look at the code inside load_overlay_strings that handles this, to understand what I'm saying. > > The question is what would you expect from the second example, if it > > used before-string there? Should the before-string be displayed or > > shouldn't it? Since invisible makes the beginning of the overlay > > disappear, under your suggestion it won't be displayed. > > I think I'm suggesting the reverse, no? No. > And anyway, with the current logic, both examples render the > `before-string' if I use it there just fine. Of course, they do, because that's how Emacs was coded. > I see no reason for that that to change. You asked to ignore the invisible, so it will change.