From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: [O] Emacs master, faces with :extend t let cursor vanish at EOL?! Date: Tue, 22 Oct 2019 16:17:04 -0400 Message-ID: References: <8736fko8wr.fsf@kenko.localhost.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000097c780595857e46" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="146026"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-org list , Ingo Lohmar To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 22 22:18:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iN0bQ-000brI-JA for ged-emacs-devel@m.gmane.org; Tue, 22 Oct 2019 22:18:00 +0200 Original-Received: from localhost ([::1]:43732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN0bP-0005AL-9v for ged-emacs-devel@m.gmane.org; Tue, 22 Oct 2019 16:17:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43945) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN0bB-0005AE-Lh for emacs-devel@gnu.org; Tue, 22 Oct 2019 16:17:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iN0bA-0003if-CC for emacs-devel@gnu.org; Tue, 22 Oct 2019 16:17:45 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:41610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iN0bA-0003iF-0I; Tue, 22 Oct 2019 16:17:44 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id x4so7844886lfn.8; Tue, 22 Oct 2019 13:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TKRO7jeGP9sIxkBdz0ESpHneox8NMzGHipMQhFdJkNE=; b=eX+bQ3Lj0Y5JYCVV/41nYFpHlMijsCAkZIXprXxM02LUgemSwlpZNgzrvsjbqqgMCL byuc+1xZdGR+lwfGfeR0g6ZJQssWlQLSdIpgnjHN8Zbuw/JOBzhmUaW10BCaTPOGO9VR BWUp2z0Q8zXwZMgQEZ0euokDKPzG4VHZ/xH20AiN8jj7RQXWhfDysUDXjtB5+bofRzmk HWcjfNI0BSH/ESjnWHJEfM3a0djQNTqflsHNJdozrlrZU/iClZOzBOz4wAnfebDL/0r0 ebeV5kFMxFuB2oCRafwFUEmSuBbUAEkubEfk9Ks4SBQ3MVG9ybGEjfpe5OzbL2IV2Ahx 8elA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TKRO7jeGP9sIxkBdz0ESpHneox8NMzGHipMQhFdJkNE=; b=ZHmSaOcmUotpt/DNs6Bq4OFeybqZM/MMlxeNg+3u5tzOyXeew9PI2izs/1HVfgUTIE s2PohGCztpHEdeGMlMO4at71ICXTP86mLSrHrOdkI5TCx9xI10soRhY+00ky3IjOfxlm 5lMjGUa8QwbIY5ICwNXSK4t5hbUDvE8FODIm8ol8GvJYGL9ePxcnDgaukgYQHhDERt/0 9MoNUVXBKUUjWDXmVieztAIoIGdpK+2ZLjUTaqE6zl1qSgr3UUOTOdDBfKCUZMOJq1RA B47FgTKffzrQpdcJa50Bulegto7/+dOKPzZFBrehNmrW42tbHjbBxFHt+IAS3OZc8C/D 8F5A== X-Gm-Message-State: APjAAAWMSFjWiuf9QtMoDVRsTHsV6cKZqadaP7gwWdS2wGqmzE4DaEkg k7K84zHYT9deLXoK9Z8dvwfcnHSFpXiuBLXHYRbY6OLI X-Google-Smtp-Source: APXvYqzzA10bOq8UPWrF/SMPRBUoULHBSI+XABdTpl8fOXtANki5ft70q9Z8D2bBKhBvopZir2/NxdKCEfIqlEIkmGM= X-Received: by 2002:a19:dc14:: with SMTP id t20mr20115166lfg.21.1571775461291; Tue, 22 Oct 2019 13:17:41 -0700 (PDT) In-Reply-To: <8736fko8wr.fsf@kenko.localhost.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::131 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241355 gmane.emacs.orgmode:125758 Archived-At: --000000000000097c780595857e46 Content-Type: text/plain; charset="UTF-8" On Tue, Oct 22, 2019 at 3:52 PM Ingo Lohmar 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 > > --000000000000097c780595857e46 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Oct 22, 2019 at 3:52 PM Ingo Lohmar <ingo.lohmar@posteo.net> wrote:
I am writing to the org-mode li= st 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.=C2=A0 This is usefu= l
for a user to customize, eg, for `org-block', and it also applies to default faces like `region', `highlight' or `secondary-selection= 9;.

Hello,

I h= ave been seeing this issue too, but I haven't found time to create a pr= oper 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 ex= tend till end of lines.

With that enabled, I have = also seen that the cursor "hides" automatically only at end of li= nes inside the Org source blocks. i.e within

#+beg= in_src emacs-lisp
(message "hello")X
#+end_sr= c

Above: X is where the cursor would be, but it wo= uld not be visible (with the :extend t added to the org-block face). The cu= rsor would show up again on doing C-b i.e. bringing it to any column positi= on other than the EOL.
=C2=A0
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.=C2=A0 It reliably happens for `org-block', only some= times
for `secondary-selection'.

Has anybody else experienced that as well, or do you have any pointers
on how to further investigate this?=C2=A0 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

--000000000000097c780595857e46--