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#18417: 24.3.93; posn-at-point confused by fill-column-indicator Date: Sun, 07 Sep 2014 22:43:49 +0300 Message-ID: <83zjebb4i2.fsf@gnu.org> References: <86sik513vf.fsf@yandex.ru> <837g1fcpm9.fsf@gnu.org> <540CAA26.8070303@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410119065 4796 80.91.229.3 (7 Sep 2014 19:44:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2014 19:44:25 +0000 (UTC) Cc: 18417@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 21:44:18 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 1XQiNk-00089o-LL for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2014 21:44:16 +0200 Original-Received: from localhost ([::1]:39408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQiNk-0001kD-0k for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2014 15:44:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQiNc-0001je-Ku for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2014 15:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQiNX-0006JA-5s for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2014 15:44:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQiNX-0006J3-2W for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2014 15:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XQiNW-0007T7-BI for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2014 15:44: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: Sun, 07 Sep 2014 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18417 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18417-submit@debbugs.gnu.org id=B18417.141011903428689 (code B ref 18417); Sun, 07 Sep 2014 19:44:02 +0000 Original-Received: (at 18417) by debbugs.gnu.org; 7 Sep 2014 19:43:54 +0000 Original-Received: from localhost ([127.0.0.1]:33012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQiNO-0007Sf-Gn for submit@debbugs.gnu.org; Sun, 07 Sep 2014 15:43:54 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:48420) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQiNL-0007SN-1m for 18417@debbugs.gnu.org; Sun, 07 Sep 2014 15:43:52 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NBJ00E00Q659000@a-mtaout21.012.net.il> for 18417@debbugs.gnu.org; Sun, 07 Sep 2014 22:43:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBJ00E4JQSV9S10@a-mtaout21.012.net.il>; Sun, 07 Sep 2014 22:43:44 +0300 (IDT) In-reply-to: <540CAA26.8070303@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:93113 Archived-At: > Date: Sun, 07 Sep 2014 22:55:34 +0400 > From: Dmitry Gutov > CC: 18417@debbugs.gnu.org > > > The recipe in > > effect invokes undefined behavior in posn-at-point, because fci-mode > > uses a zero-length (a.k.a. "empty") overlay to place, in a very > > convoluted way, a stretch of whitespace followed by an image, before > > the newline. > > If it's a problem, would you maybe suggest a better way to implement > this feature, for the Fill-Column-Indicator author? I could try, but right now I don't feel I understand all the subtle details and reasons that led to such an implementation. There are 2 special characters, u+e000 and u+e001, each one has a display-table setting to display it as something else, then there's an empty overlay with an after-string made of these special characters that has a display property with :align-to, followed by an image... And I'm not sure I listed all of the "features". (The 'cursor' property I omitted intentionally, because I believe I know why they are needed.) Why each one of these is needed?