From: Kaushal Modi <kaushal.modi@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Cc: emacs-org list <emacs-orgmode@gnu.org>,
Ingo Lohmar <ingo.lohmar@posteo.net>
Subject: Re: Emacs master, faces with :extend t let cursor vanish at EOL?!
Date: Tue, 22 Oct 2019 16:17:04 -0400 [thread overview]
Message-ID: <CAFyQvY2+EmyoOwwaVzOLU+MydOJ3etdSzo8sR1bG8Ef4B+Hn7Q@mail.gmail.com> (raw)
In-Reply-To: <8736fko8wr.fsf@kenko.localhost.com>
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
On Tue, Oct 22, 2019 at 3:52 PM Ingo Lohmar <ingo.lohmar@posteo.net> wrote:
> I am writing to the org-mode list first, because I have only been able
> to reproduce this problem in org-mode.
>
> With a recent Emacs master build, faces can have the :extend t property
> to indicated that they should extend after the newline. This is useful
> for a user to customize, eg, for `org-block', and it also applies to
> default faces like `region', `highlight' or `secondary-selection'.
>
Hello,
I have been seeing this issue too, but I haven't found time to create a
proper bug report for it.
But now that you have this email, I am forwarding this to the Emacs devel
list too.
The issue occurs because of the new :extend feature for faces to extend
till end of lines.
With that enabled, I have also seen that the cursor "hides" automatically
only at end of lines inside the Org source blocks. i.e within
#+begin_src emacs-lisp
(message "hello")X
#+end_src
Above: X is where the cursor would be, but it would not be visible (with
the :extend t added to the org-block face). The cursor would show up again
on doing C-b i.e. bringing it to any column position other than the EOL.
> Using this with a current elpa pkg of org-mode, and setting :extend t on
> faces like `org-block`, "often" the cursor vanishes at the EOL of a line
> using such a face. It reliably happens for `org-block', only sometimes
> for `secondary-selection'.
>
> Has anybody else experienced that as well, or do you have any pointers
> on how to further investigate this? I think I remember that org-mode does
> something with text overlays, but I can't relate that to what I see.
>
> There might also be an issue with face inheritance and the new :extend
> attribute --- I might post on emacs-devel to get a better idea of that
> as well.
>
> Thanks,
> Ingo
>
>
[-- Attachment #2: Type: text/html, Size: 2593 bytes --]
next prev parent reply other threads:[~2019-10-22 20:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-22 19:52 Emacs master, faces with :extend t let cursor vanish at EOL?! Ingo Lohmar
2019-10-22 20:17 ` Kaushal Modi [this message]
2019-10-23 16:06 ` Eli Zaretskii
2020-02-04 10:07 ` Bastien
2020-02-04 19:27 ` Ingo Lohmar
2020-02-04 23:16 ` Bastien
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFyQvY2+EmyoOwwaVzOLU+MydOJ3etdSzo8sR1bG8Ef4B+Hn7Q@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=ingo.lohmar@posteo.net \
/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/org-mode.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).