GNU bug report logs - #43646
27.1; Feature request: Set the cursor foreground color in no-window Emacs

Previous Next

Package: emacs;

Reported by: O V <oliviervasseur51 <at> gmail.com>

Date: Sun, 27 Sep 2020 09:43:03 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43646 in the body.
You can then email your comments to 43646 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43646; Package emacs. (Sun, 27 Sep 2020 09:43:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to O V <oliviervasseur51 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 27 Sep 2020 09:43:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: O V <oliviervasseur51 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1;
 Feature request: Set the cursor foreground color in no-window Emacs
Date: Sun, 27 Sep 2020 10:49:51 +0200
[Message part 1 (text/plain, inline)]
Dear Developers,

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?

Kind regards,
Olivier Vasseur
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43646; Package emacs. (Sun, 27 Sep 2020 10:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 43646 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: O V <oliviervasseur51 <at> gmail.com>
Cc: 43646 <at> debbugs.gnu.org
Subject: Re: bug#43646: 27.1;
 Feature request: Set the cursor foreground color in no-window Emacs
Date: Sun, 27 Sep 2020 13:00:21 +0300
> From: O V <oliviervasseur51 <at> 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 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43646; Package emacs. (Sun, 27 Sep 2020 10:13:02 GMT) Full text and rfc822 format available.

Message #11 received at 43646 <at> debbugs.gnu.org (full text, mbox):

From: O V <oliviervasseur51 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43646 <at> debbugs.gnu.org
Subject: Re: 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 part 1 (text/plain, inline)]
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 à 12:00, Eli Zaretskii <eliz <at> gnu.org> a écrit :

> > From: O V <oliviervasseur51 <at> 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 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.
>
[Message part 2 (text/html, inline)]
[test.org (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43646; Package emacs. (Sun, 27 Sep 2020 10:39:01 GMT) Full text and rfc822 format available.

Message #14 received at 43646 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: O V <oliviervasseur51 <at> gmail.com>
Cc: 43646 <at> debbugs.gnu.org
Subject: Re: bug#43646: 27.1; Feature request: Set the cursor foreground color
 in no-window Emacs
Date: Sun, 27 Sep 2020 13:37:39 +0300
> From: O V <oliviervasseur51 <at> gmail.com>
> Date: Sun, 27 Sep 2020 12:12:16 +0200
> Cc: 43646 <at> debbugs.gnu.org
> 
> 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.

Thanks.  However, I cannot reproduce the behavior you describe with
this recipe: I do see the cursor in those places.

Btw, AFAIK the colors of the cursor in the -nw session are determined
by the terminal emulator, not by Emacs.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 27 Sep 2020 15:40:02 GMT) Full text and rfc822 format available.

Notification sent to O V <oliviervasseur51 <at> gmail.com>:
bug acknowledged by developer. (Sun, 27 Sep 2020 15:40:02 GMT) Full text and rfc822 format available.

Message #19 received at 43646-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: O V <oliviervasseur51 <at> gmail.com>
Cc: 43646-done <at> debbugs.gnu.org
Subject: Re: bug#43646: 27.1; Feature request: Set the cursor foreground color
 in no-window Emacs
Date: Sun, 27 Sep 2020 18:39:36 +0300
> From: O V <oliviervasseur51 <at> gmail.com>
> Date: Sun, 27 Sep 2020 17:26:23 +0200
> 
> Dear Eli,
> 
> Thank you for your feedback.
> You actually solved my problem: by changing the cursor colors in my terminal emulator settings, I have now
> a visible cursor.
> I suppose you had different terminal emulator settings, so you did not have the same problem.

Great, so I'm closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Oct 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.