unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs
@ 2020-09-27  8:49 O V
  2020-09-27 10:00 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: O V @ 2020-09-27  8:49 UTC (permalink / raw)
  To: 43646

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 950 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs
  2020-09-27  8:49 bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs O V
@ 2020-09-27 10:00 ` Eli Zaretskii
  2020-09-27 10:12   ` O V
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2020-09-27 10:00 UTC (permalink / raw)
  To: O V; +Cc: 43646

> 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 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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs
  2020-09-27 10:00 ` Eli Zaretskii
@ 2020-09-27 10:12   ` O V
  2020-09-27 10:37     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: O V @ 2020-09-27 10:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 43646


[-- Attachment #1.1: Type: text/plain, Size: 1524 bytes --]

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@gnu.org> a écrit :

> > 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 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.
>

[-- Attachment #1.2: Type: text/html, Size: 2181 bytes --]

[-- Attachment #2: test.org --]
[-- Type: application/octet-stream, Size: 56 bytes --]

* Heading 1
** Subheading 1
** Subheading 2
* Heading 2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs
  2020-09-27 10:12   ` O V
@ 2020-09-27 10:37     ` Eli Zaretskii
       [not found]       ` <CAKZ0wG8DbdFdPeANYJEs31F+4wO=FSOOh2C+2c==NuLgRLfobQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2020-09-27 10:37 UTC (permalink / raw)
  To: O V; +Cc: 43646

> From: O V <oliviervasseur51@gmail.com>
> Date: Sun, 27 Sep 2020 12:12:16 +0200
> Cc: 43646@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs
       [not found]       ` <CAKZ0wG8DbdFdPeANYJEs31F+4wO=FSOOh2C+2c==NuLgRLfobQ@mail.gmail.com>
@ 2020-09-27 15:39         ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2020-09-27 15:39 UTC (permalink / raw)
  To: O V; +Cc: 43646-done

> From: O V <oliviervasseur51@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-27 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27  8:49 bug#43646: 27.1; Feature request: Set the cursor foreground color in no-window Emacs O V
2020-09-27 10:00 ` Eli Zaretskii
2020-09-27 10:12   ` O V
2020-09-27 10:37     ` Eli Zaretskii
     [not found]       ` <CAKZ0wG8DbdFdPeANYJEs31F+4wO=FSOOh2C+2c==NuLgRLfobQ@mail.gmail.com>
2020-09-27 15:39         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).