From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Lohmar Subject: Emacs master, faces with :extend t let cursor vanish at EOL?! Date: Tue, 22 Oct 2019 21:52:04 +0200 Message-ID: <8736fko8wr.fsf@kenko.localhost.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40252) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN0CQ-0003z9-5y for emacs-orgmode@gnu.org; Tue, 22 Oct 2019 15:52:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iN0CO-0006RE-Qs for emacs-orgmode@gnu.org; Tue, 22 Oct 2019 15:52:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46173) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iN0CO-0006QS-7Z for emacs-orgmode@gnu.org; Tue, 22 Oct 2019 15:52:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 90AA12400FB for ; Tue, 22 Oct 2019 21:52:05 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46yPKd0MFYz9rxH for ; Tue, 22 Oct 2019 21:52:04 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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'. 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