help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing cursor height when setting line-spacing


From: Eli Zaretskii
Subject: Re: Fixing cursor height when setting line-spacing
Date: Sat, 05 Aug 2023 10:51:37 +0300

> Date: Sat, 5 Aug 2023 12:52:14 +0530
> From: Karan Ahlawat <ahlawatkaran12@gmail.com>
> 
> I miswrote, my apologies.
> 
> I meant to say, I set the line-spacing variable (not the line-height). 
> 
> I was looking into the C source code and debugging Emacs to try and figure 
> out how the height of a
> cursor at the EOL is decided (with no luck).
> 
> Anyways, the effect I want to accomplish is, after setting line-spacing to a 
> value, I'd want the cursor to
> always be the full line of the height, and not the character underneath. I'd 
> attach an image showing
> exactly what I want to reproduce, but I'm not sure if image attachments are 
> okay or even usable in a
> mailing list.

First, please reply to the list, not just to me in personal email
(please use Reply All or a similar function of your email program).

And second, I asked what do you want to achieve by setting
line-spacing, not how you would like to see the cursor displayed.  I
understand how you want to see the cursor, there's no need for posting
images.

Anyway, the only suggestion to have the cursor of the same height even
when you set line-spacing non-nil is to set cursor-type to 'bar.  Then
you will have the cursor displayed as a vertical bar whose height is
the height of the line.  We currently don't have a way of doing this
with the default box cursor.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]