From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 18417@debbugs.gnu.org
Subject: bug#18417: 24.3.93; posn-at-point confused by fill-column-indicator
Date: Sun, 07 Sep 2014 22:43:49 +0300 [thread overview]
Message-ID: <83zjebb4i2.fsf@gnu.org> (raw)
In-Reply-To: <540CAA26.8070303@yandex.ru>
> Date: Sun, 07 Sep 2014 22:55:34 +0400
> From: Dmitry Gutov <dgutov@yandex.ru>
> 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?
next prev parent reply other threads:[~2014-09-07 19:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-06 9:43 bug#18417: 24.3.93; posn-at-point confused by fill-column-indicator Dmitry
2014-09-07 17:22 ` Eli Zaretskii
2014-09-07 18:55 ` Dmitry Gutov
2014-09-07 19:43 ` Eli Zaretskii [this message]
2014-09-07 19:52 ` Alp Aker
2014-09-07 19:56 ` Eli Zaretskii
2014-09-08 3:11 ` Alp Aker
2014-09-09 14:38 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zjebb4i2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=18417@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).