From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: O V Newsgroups: gmane.emacs.bugs Subject: bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs Date: Sun, 27 Sep 2020 12:12:16 +0200 Message-ID: References: <83sgb3o7yi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000070224005b048c9c5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43646@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 27 12:13:35 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMTgV-0009Sx-NQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 12:13:35 +0200 Original-Received: from localhost ([::1]:38178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMTgU-0007aR-NQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 06:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMTfy-0007a9-Ta for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:13:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMTfy-0001Rk-8V for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMTfy-00070Y-4d for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: O V Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Sep 2020 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43646 X-GNU-PR-Package: emacs Original-Received: via spool by 43646-submit@debbugs.gnu.org id=B43646.160120155726882 (code B ref 43646); Sun, 27 Sep 2020 10:13:02 +0000 Original-Received: (at 43646) by debbugs.gnu.org; 27 Sep 2020 10:12:37 +0000 Original-Received: from localhost ([127.0.0.1]:48398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMTfY-0006zV-Uz for submit@debbugs.gnu.org; Sun, 27 Sep 2020 06:12:37 -0400 Original-Received: from mail-io1-f41.google.com ([209.85.166.41]:46136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMTfU-0006zE-Rb for 43646@debbugs.gnu.org; Sun, 27 Sep 2020 06:12:36 -0400 Original-Received: by mail-io1-f41.google.com with SMTP id g7so8023290iov.13 for <43646@debbugs.gnu.org>; Sun, 27 Sep 2020 03:12:32 -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=l308bBI+d6U5qGrlMwhbQK57nrJxwwG5AtcSR0i5Fh8=; b=EETY829/rIZXc2Yg5IpWrMEMAtIKmER3GAgv0mBsixex9qS9JY13Ib81dqEhC4ao3t Cu8AXTLS0k66/pa8KbZMHGBTXMk2j9ItGsgGIIlJpWNlOCX0R4yIx3w/W5sfG+n1iY+7 Zlj/FPquVsrKXKb0adHjoo+k3rSh468ePk0pivMYLm3pcrINiIhxe8wMve6rD2bxoq/E Nw/lLg37uallNmyvsVUao6MqMMxpVv+bGXK8Ey3CnLmMmCwnkjJhpfz4iBx91iJVazX8 +7m8wt9wUbU2b+uC4cgd6PpgnaUpjDLbAfU1AftSa5LR5pP8TwFZoLhFBhhbbIPcLC21 havg== 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=l308bBI+d6U5qGrlMwhbQK57nrJxwwG5AtcSR0i5Fh8=; b=C8xeC6XYiYtLJ4UlBA/JSysoDUMP9Tp5Exrq4Xb3ddQ8P5BNCxTjkw3FHotrDCoE+o TcnpZka67Orv0CleGdWvWL2hBcgKkvp3KlfE+zwET4I5P/O/gf5dSbHuuPCREWUClHbI N3Sx9GEntfjlon+i5FGBQ0kv5A4cTSLLUF+i3fJkPjddRw22+uLG+0ApR7Us8rCpwC+Z yeTqwrnuSD+i4XZ3PIpHZBTSyOALD5THr+cGd7Qo0tMXoecdBzc38M//vBbxZR3jO/Kn xJD1viSXPDMb+KQzK65TVkeHHme++ABl00uoqSD4/bnE3zkLKhd3tqjTQ+5Ojtgm/huN aP8g== X-Gm-Message-State: AOAM531+yow2cISFlJksGkP9ny5UJ1vu53KcjH6yzG/Sri1+aU9LWwG2 yQAEnDZ0QwLcyyST/JqPG8Fd8+pkWxyAzTCJWpA= X-Google-Smtp-Source: ABdhPJyzNJTPiWXFkwUbSSEWz2h4ke2SFhLUGcjSJPQHT07KW/3FVqSGESXyuhFS9Gs3InulDay+lu7zkyNvDwqtwnQ= X-Received: by 2002:a6b:620c:: with SMTP id f12mr4003161iog.96.1601201547213; Sun, 27 Sep 2020 03:12:27 -0700 (PDT) In-Reply-To: <83sgb3o7yi.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189101 Archived-At: --00000000000070224005b048c9c5 Content-Type: multipart/alternative; boundary="00000000000070223805b048c9c3" --00000000000070223805b048c9c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Eli, Thank you for your reply. It is very easy to reproduce this behavior: 1. Open an org file (e.g. the example "test.org" in attachment) with "emacs -nw -Q test.org". 2. Run "M-x org-indent-mode". 3. Move the cursor to the beginning of an indented heading, where the heading stars are hidden. Behaviour: The cursor is not visible. Kind regards, Olivier Vasseur Le dim. 27 sept. 2020 =C3=A0 12:00, Eli Zaretskii a =C3=A9cr= it : > > From: O V > > Date: Sun, 27 Sep 2020 10:49:51 +0200 > > > > I am writing regarding a feature that I would like to be implemented, > and not a bug. > > > > When using 'org-indent-mode' in Emacs without a GUI (started by 'emacs > -nw'), the cursor is hidden when > > located on hidden headline stars. > > > > I believe this happens because, as per 'M-x customize-option cursor', > > the "cursor foreground color is taken from the background color of the > underlying text". As per the same > > doc, the cursor foreground cannot be changed to a fixed face. > > > > In my opinio, allowing this would be an enormous improvement, as the > hidden cursor is a real obstacle to > > correct viewing and editing of org files. > > > > Could you please make implementations that would solve this problem? > > Thank you for your report. > > Could you please provide a recipe for reproducing the problem, > starting from "emacs -Q"? Please include in your recipe the minimal > Org file needed for reproducing. TIA. > --00000000000070223805b048c9c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Eli,

Thank you for your reply.
It is very easy to reproduce this behavior:
1. Open an org= file (e.g. the example "test.org"= ; in attachment) with "emacs -nw -Q test.o= rg".
2. Run "M-x org-indent-mode".
3= . Move the cursor to the beginning of an indented heading, where the headin= g stars are hidden.
Behaviour: The cursor is not visible.

Kind regards,
Olivier Vasseur

Le=C2=A0dim.= 27 sept. 2020 =C3=A0=C2=A012:00, Eli Zaretskii <eliz@gnu.org> a =C3=A9crit=C2=A0:
> From: O V <oliviervasseur51@gmail.com>= ;
> Date: Sun, 27 Sep 2020 10:49:51 +0200
>
> I am writing regarding a feature that I would like to be implemented, = and not a bug.
>
> When using 'org-indent-mode' in Emacs without a GUI (started b= y 'emacs -nw'), the cursor is hidden when
> located on hidden headline stars.
>
> I believe this happens because, as per 'M-x customize-option curso= r',
> the "cursor foreground color is taken from the background color o= f the underlying text". As per the same
> doc, the cursor foreground cannot be changed to a fixed face.
>
> In my opinio, allowing this would be an enormous improvement, as the h= idden cursor is a real obstacle to
> correct viewing and editing of org files.
>
> Could you please make implementations that would solve this problem?
Thank you for your report.

Could you please provide a recipe for reproducing the problem,
starting from "emacs -Q"?=C2=A0 Please include in your recipe the= minimal
Org file needed for reproducing.=C2=A0 TIA.
--00000000000070223805b048c9c3-- --00000000000070224005b048c9c5 Content-Type: application/octet-stream; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kfkxzciw0 KiBIZWFkaW5nIDEKKiogU3ViaGVhZGluZyAxCioqIFN1YmhlYWRpbmcgMgoqIEhlYWRpbmcgMgo= --00000000000070224005b048c9c5--