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#19307: 24.4.51; Ellipsis created with `invisible' removes highlighting from overlay after-string after it Date: Tue, 03 Feb 2015 20:54:55 +0200 Message-ID: <8361bihlkw.fsf@gnu.org> References: <86d27uw3zj.fsf@yandex.ru> <54CEF33F.3030704@yandex.ru> <83k300gtuk.fsf@gnu.org> <54D0416E.7090507@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422989831 2380 80.91.229.3 (3 Feb 2015 18:57:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 18:57:11 +0000 (UTC) Cc: 19307@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 19:57:10 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 1YIies-0003ut-Me for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 19:57:10 +0100 Original-Received: from localhost ([::1]:60936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIies-0003vy-6z for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 13:57:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIieo-0003uu-6A for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2015 13:57:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIiek-0001Ty-QP for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2015 13:57:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIiek-0001Tp-N9 for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2015 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YIiek-0007fi-7E for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2015 13:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Feb 2015 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19307 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19307-submit@debbugs.gnu.org id=B19307.142298980329468 (code B ref 19307); Tue, 03 Feb 2015 18:57:02 +0000 Original-Received: (at 19307) by debbugs.gnu.org; 3 Feb 2015 18:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:33131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIieQ-0007fE-RR for submit@debbugs.gnu.org; Tue, 03 Feb 2015 13:56:43 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:57803) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIieN-0007ey-SN for 19307@debbugs.gnu.org; Tue, 03 Feb 2015 13:56:41 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NJ700E00LOX6N00@mtaout26.012.net.il> for 19307@debbugs.gnu.org; Tue, 03 Feb 2015 20:55:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJ70074FLVWML70@mtaout26.012.net.il>; Tue, 03 Feb 2015 20:55:08 +0200 (IST) In-reply-to: <54D0416E.7090507@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:99018 Archived-At: > Date: Tue, 03 Feb 2015 05:33:02 +0200 > From: Dmitry Gutov > CC: 19307@debbugs.gnu.org > > This bug was introduced in Emacs 23, 10 years(!) ago. > > Don't know your feelings on this subject, but I'm kinda proud. :) You should be. > > Now fixed in > > commit 27e11c0 on the emacs-24 branch. > > Thanks, but it introduced a regression. Insert some text at the end, and "xxx" will get displayed twice: Turns out the bug I fixed concealed another one that was also there for a long time (more than 9 years), and became exposed due to my fix. Now fixed in commit e589765 on the emacs-24 branch. > Not to diminish your efforts, but I've noticed that the fix for each display problem I've reported lately involved move added lines than removed ones. Which looks like adding more special cases. That's worrying. The bugs happened in special cases for which no one coded the solution, so catering to those cases often needs additional code. Isn't that natural? Say you have something like int reckless_division = a / b; and then someone reports a divide-by-zero crash, and you add protection against b being zero -- won't you expect the code to grow a little? Anyway, you should be happier with this last fix, since it removes more lines than it adds ;-)