From unknown Sat Aug 16 21:20:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19201: 24.4.51; Faulty interaction between overlays with display-related properties in TTY Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Nov 2014 03:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 19201@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.141705754122841 (code B ref -1); Thu, 27 Nov 2014 03:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Nov 2014 03:05:41 +0000 Received: from localhost ([127.0.0.1]:46793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtpOn-0005wK-5h for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtpOi-0005w8-Cj for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtpOd-0003lr-6Q for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOd-0003lj-2r for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOY-0008UZ-2P for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtpOT-0003hx-9U for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:25 -0500 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:49511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOT-0003hj-3Q for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:21 -0500 Received: by mail-wi0-f171.google.com with SMTP id bs8so14411022wib.4 for ; Wed, 26 Nov 2014 19:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=MVZdB171MuQ/MFnL/yu3G2lKkTyAdHJWcbxE1Z2wJRs=; b=SgRu3LGTiEarIcILHDGSi2uUInnJFopRC2NoGoosFTmSBaw+/gbIaGIZxu1Map/ajl Stzcj1Yw1jJpuYkjqVr0J7octEPmzXpWRzpWj1YQWgTKrviTTQVEvJhjG5CNa7Hdulyv S1LuWWAFM50oHyF8GHLOD2HtfaCs6N4A2vEnxaSOXSQWDy6KgVS1LAq99cU511paQmjQ /mp3SDror892ZcSDjckjxSEsatOM/FU3Qcq5mVYCt8rn9WEUCiBHbLhF1Y8vU4tJAmCw OQW5MFGC8irj6Mk6/m4RWdBYCYUipU8HM7nkZHzqbi1UAfp2UeLaCm/1bpF4Moz6wvnM skLg== X-Received: by 10.194.94.132 with SMTP id dc4mr55841008wjb.56.1417057519959; Wed, 26 Nov 2014 19:05:19 -0800 (PST) Received: from axl (93-12-230.netrun.cytanet.com.cy. [93.109.12.230]) by mx.google.com with ESMTPSA id i3sm23352399wix.0.2014.11.26.19.05.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Nov 2014 19:05:19 -0800 (PST) From: Dmitry Gutov Date: Thu, 27 Nov 2014 05:05:16 +0200 Message-ID: <868uixbaxf.fsf@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Calling the command defined below results in different behaviors between a graphical frame and a text terminal. (defun display-test () (interactive) (pop-to-buffer (get-buffer-create "display-test")) (insert "aaa\nbbb\nccc\nddd\neee") (goto-char 14) (let ((ias (make-overlay 4 16)) (bsf (make-overlay 1 4))) (overlay-put ias 'invisible t) (overlay-put ias 'after-string "\nxxx\nyyy\nzzz") (overlay-put bsf 'before-string (propertize "!" 'display (list 'left-fringe 'question-mark 'warning))))) Evaluate this, then type `M-x display-test'. In graphical mode, I see what I'd expect: aaa xxx yyy zzz eee (with a fringe indicator on the first line), whereas when trying this in terminal, I see: aaa eee Originally reported in https://github.com/flycheck/flycheck/issues/526. In GNU Emacs 24.4.51.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2014-11-16 on axl Repository revision: c613f4d6c12ad7a8ebbc88dcef48949c6a775996 Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS From unknown Sat Aug 16 21:20:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19201: 24.4.51; Faulty interaction between overlays with display-related properties in TTY Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Nov 2014 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 19201@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 19201-submit@debbugs.gnu.org id=B19201.141710649617043 (code B ref 19201); Thu, 27 Nov 2014 16:42:01 +0000 Received: (at 19201) by debbugs.gnu.org; 27 Nov 2014 16:41:36 +0000 Received: from localhost ([127.0.0.1]:47788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu28N-0004Qo-Vj for submit@debbugs.gnu.org; Thu, 27 Nov 2014 11:41:36 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:37299) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu28M-0004Qd-A3 for 19201@debbugs.gnu.org; Thu, 27 Nov 2014 11:41:35 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NFP00400HU31Y00@mtaout28.012.net.il> for 19201@debbugs.gnu.org; Thu, 27 Nov 2014 18:39:02 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFP0016KI92L540@mtaout28.012.net.il>; Thu, 27 Nov 2014 18:39:02 +0200 (IST) Date: Thu, 27 Nov 2014 18:41:51 +0200 From: Eli Zaretskii In-reply-to: <868uixbaxf.fsf@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <83bnnsoasw.fsf@gnu.org> References: <868uixbaxf.fsf@yandex.ru> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Dmitry Gutov > Date: Thu, 27 Nov 2014 05:05:16 +0200 > > Calling the command defined below results in different behaviors between > a graphical frame and a text terminal. > > (defun display-test () > (interactive) > (pop-to-buffer (get-buffer-create "display-test")) > (insert "aaa\nbbb\nccc\nddd\neee") > (goto-char 14) > (let ((ias (make-overlay 4 16)) > (bsf (make-overlay 1 4))) > (overlay-put ias 'invisible t) > (overlay-put ias 'after-string "\nxxx\nyyy\nzzz") > (overlay-put bsf 'before-string > (propertize "!" > 'display > (list 'left-fringe > 'question-mark > 'warning))))) > > Evaluate this, then type `M-x display-test'. > > In graphical mode, I see what I'd expect: > > aaa > xxx > yyy > zzz > eee > > (with a fringe indicator on the first line), > > whereas when trying this in terminal, I see: > > aaa > eee For the record, this has nothing to do with TTY vs GUI frames. You can have the same problem on a GUI frame if you use a bogus symbol for the fringe bitmap, like 'foobar instead of 'question-mark. Evidently, the Founding Fathers never meant for us to use display properties on after-strings that specify display on the fringe. Emacs 22 and 23 infloop if you try your recipe on a TTY there. Emacs 24.1 is the first release that doesn't, and it already has this bug. Fixed in 6b765b8 on the emacs-24 branch. From unknown Sat Aug 16 21:20:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dmitry Gutov Subject: bug#19201: closed (Re: bug#19201: 24.4.51; Faulty interaction between overlays with display-related properties in TTY) Message-ID: References: <5477BBAE.1090405@yandex.ru> <868uixbaxf.fsf@yandex.ru> X-Gnu-PR-Message: they-closed 19201 X-Gnu-PR-Package: emacs Reply-To: 19201@debbugs.gnu.org Date: Fri, 28 Nov 2014 00:03:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1417132983-7451-1" This is a multi-part message in MIME format... ------------=_1417132983-7451-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #19201: 24.4.51; Faulty interaction between overlays with display-related p= roperties in TTY which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19201@debbugs.gnu.org. --=20 19201: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19201 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1417132983-7451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19201-done) by debbugs.gnu.org; 28 Nov 2014 00:02:59 +0000 Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu91W-0001vu-R7 for submit@debbugs.gnu.org; Thu, 27 Nov 2014 19:02:59 -0500 Received: from mail-wg0-f44.google.com ([74.125.82.44]:40668) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu91V-0001vm-6G for 19201-done@debbugs.gnu.org; Thu, 27 Nov 2014 19:02:57 -0500 Received: by mail-wg0-f44.google.com with SMTP id b13so7577450wgh.17 for <19201-done@debbugs.gnu.org>; Thu, 27 Nov 2014 16:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=jFBL8m33HJMN1X8rLrbCo5tuJ4QOavuhyjQrTfM4nfA=; b=skYtQ365uKnKNwNNsZXjSqtvThSYJyBUt7iPuyaxFhEr6vADKySCrjmsMrjtoWmOym GeLxPPxnwU79Vmz66Mgct4jJ/50KmpnAN0SOA6tzp3+B1hivIp0f2M+zgs9KASTp5u2q aRzHycfW1vYbn31aMZr+6ZPJ/ELaQwpdDYM3qiq1VKTuK0Cx9kq/OXS0fzlfWBhJu6Jh 4zMYVlWJ3HV1mH7GkXzsQvxze+KxtmskXH8wrjMK0mZmhaqJlEuzJ9Q/iYgi+Qw1gbmw VGgC/tb1sEPfbEV/BSlpj0fxbFI3KTTX6KBAlvtNELcTOTXNbqyB5PdBWfwJA70pwBhD DG+g== X-Received: by 10.194.187.164 with SMTP id ft4mr62747390wjc.76.1417132976540; Thu, 27 Nov 2014 16:02:56 -0800 (PST) Received: from [192.168.10.25] (93-12-230.netrun.cytanet.com.cy. [93.109.12.230]) by mx.google.com with ESMTPSA id td9sm13633003wic.15.2014.11.27.16.02.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Nov 2014 16:02:56 -0800 (PST) Message-ID: <5477BBAE.1090405@yandex.ru> Date: Fri, 28 Nov 2014 02:02:54 +0200 From: Dmitry Gutov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#19201: 24.4.51; Faulty interaction between overlays with display-related properties in TTY References: <868uixbaxf.fsf@yandex.ru> <83bnnsoasw.fsf@gnu.org> In-Reply-To: <83bnnsoasw.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19201-done Cc: 19201-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/27/2014 06:41 PM, Eli Zaretskii wrote: > For the record, this has nothing to do with TTY vs GUI frames. You > can have the same problem on a GUI frame if you use a bogus symbol for > the fringe bitmap, like 'foobar instead of 'question-mark. Makes sense. > Evidently, the Founding Fathers never meant for us to use display > properties on after-strings that specify display on the fringe. Emacs > 22 and 23 infloop if you try your recipe on a TTY there. Emacs 24.1 > is the first release that doesn't, and it already has this bug. The given example uses before-string, but I guess you mean both. That's odd, though, because when used with overlays, before- and after-strings are the most flexible for this and similar use cases. > Fixed in 6b765b8 on the emacs-24 branch. Works fine. Thanks! ------------=_1417132983-7451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Nov 2014 03:05:41 +0000 Received: from localhost ([127.0.0.1]:46793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtpOn-0005wK-5h for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtpOi-0005w8-Cj for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtpOd-0003lr-6Q for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:60273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOd-0003lj-2r for submit@debbugs.gnu.org; Wed, 26 Nov 2014 22:05:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOY-0008UZ-2P for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtpOT-0003hx-9U for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:25 -0500 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:49511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtpOT-0003hj-3Q for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 22:05:21 -0500 Received: by mail-wi0-f171.google.com with SMTP id bs8so14411022wib.4 for ; Wed, 26 Nov 2014 19:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=MVZdB171MuQ/MFnL/yu3G2lKkTyAdHJWcbxE1Z2wJRs=; b=SgRu3LGTiEarIcILHDGSi2uUInnJFopRC2NoGoosFTmSBaw+/gbIaGIZxu1Map/ajl Stzcj1Yw1jJpuYkjqVr0J7octEPmzXpWRzpWj1YQWgTKrviTTQVEvJhjG5CNa7Hdulyv S1LuWWAFM50oHyF8GHLOD2HtfaCs6N4A2vEnxaSOXSQWDy6KgVS1LAq99cU511paQmjQ /mp3SDror892ZcSDjckjxSEsatOM/FU3Qcq5mVYCt8rn9WEUCiBHbLhF1Y8vU4tJAmCw OQW5MFGC8irj6Mk6/m4RWdBYCYUipU8HM7nkZHzqbi1UAfp2UeLaCm/1bpF4Moz6wvnM skLg== X-Received: by 10.194.94.132 with SMTP id dc4mr55841008wjb.56.1417057519959; Wed, 26 Nov 2014 19:05:19 -0800 (PST) Received: from axl (93-12-230.netrun.cytanet.com.cy. [93.109.12.230]) by mx.google.com with ESMTPSA id i3sm23352399wix.0.2014.11.26.19.05.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Nov 2014 19:05:19 -0800 (PST) From: Dmitry Gutov To: bug-gnu-emacs@gnu.org Subject: 24.4.51; Faulty interaction between overlays with display-related properties in TTY Date: Thu, 27 Nov 2014 05:05:16 +0200 Message-ID: <868uixbaxf.fsf@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Calling the command defined below results in different behaviors between a graphical frame and a text terminal. (defun display-test () (interactive) (pop-to-buffer (get-buffer-create "display-test")) (insert "aaa\nbbb\nccc\nddd\neee") (goto-char 14) (let ((ias (make-overlay 4 16)) (bsf (make-overlay 1 4))) (overlay-put ias 'invisible t) (overlay-put ias 'after-string "\nxxx\nyyy\nzzz") (overlay-put bsf 'before-string (propertize "!" 'display (list 'left-fringe 'question-mark 'warning))))) Evaluate this, then type `M-x display-test'. In graphical mode, I see what I'd expect: aaa xxx yyy zzz eee (with a fringe indicator on the first line), whereas when trying this in terminal, I see: aaa eee Originally reported in https://github.com/flycheck/flycheck/issues/526. In GNU Emacs 24.4.51.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2014-11-16 on axl Repository revision: c613f4d6c12ad7a8ebbc88dcef48949c6a775996 Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.1 LTS ------------=_1417132983-7451-1-- From unknown Sat Aug 16 21:20:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19201: 24.4.51; Faulty interaction between overlays with display-related properties in TTY Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Nov 2014 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19201 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 19201@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 19201-submit@debbugs.gnu.org id=B19201.141716276129753 (code B ref 19201); Fri, 28 Nov 2014 08:20:02 +0000 Received: (at 19201) by debbugs.gnu.org; 28 Nov 2014 08:19:21 +0000 Received: from localhost ([127.0.0.1]:48090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuGls-0007jo-GF for submit@debbugs.gnu.org; Fri, 28 Nov 2014 03:19:20 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:59804) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuGlp-0007jf-VJ for 19201@debbugs.gnu.org; Fri, 28 Nov 2014 03:19:19 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NFQ00N00PIVTP00@mtaout26.012.net.il> for 19201@debbugs.gnu.org; Fri, 28 Nov 2014 10:17:02 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFQ00MG4POEY310@mtaout26.012.net.il>; Fri, 28 Nov 2014 10:17:02 +0200 (IST) Date: Fri, 28 Nov 2014 10:18:20 +0200 From: Eli Zaretskii In-reply-to: <5477BBAE.1090405@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <83sih3n3g3.fsf@gnu.org> References: <868uixbaxf.fsf@yandex.ru> <83bnnsoasw.fsf@gnu.org> <5477BBAE.1090405@yandex.ru> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 28 Nov 2014 02:02:54 +0200 > From: Dmitry Gutov > CC: 19201-done@debbugs.gnu.org > > On 11/27/2014 06:41 PM, Eli Zaretskii wrote: > > > Evidently, the Founding Fathers never meant for us to use display > > properties on after-strings that specify display on the fringe. Emacs > > 22 and 23 infloop if you try your recipe on a TTY there. Emacs 24.1 > > is the first release that doesn't, and it already has this bug. > > The given example uses before-string, but I guess you mean both. > > That's odd, though, because when used with overlays, before- and > after-strings are the most flexible for this and similar use cases. When looked upon from a user POV, I agree. But from the implementation POV, I'm telling you: it's a nightmare. The state machine in handle_stop alone is bad enough. That stuff is in sore need of refactoring, but I'm too coward^H^H^H^H^H^Hbusy to do that myself.