From: Karan Ahlawat <ahlawatkaran12@gmail.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Fixing cursor height when setting line-spacing
Date: Sat, 5 Aug 2023 17:22:24 +0530 [thread overview]
Message-ID: <23d7d36a-5a98-43eb-9eee-2d4181dc25aa@gmail.com> (raw)
In-Reply-To: <CAP_d_8W_ajftDZxFkin35CCminujnxzzu6L6pVM3DRS2dvjLNQ@mail.gmail.com>
On 05/08/23 16:11, Yuri Khan wrote:
> On Sat, 5 Aug 2023 at 12:45, Karan Ahlawat<ahlawatkaran12@gmail.com> wrote:
>
>> I set the line-height variable to be a positive integer (16). My
>> cursor-type is set to t. Now, whenever I move the cursor to the end of a
>> line, the height of the cursor is equal to the entire line height. But
>> anywhere else on the line, it's equal to the height of the character
>> under the cursor.
> I am using a non-zero line-spacing value and I don’t observe a
> difference in the block cursor size in my normal usage. This is likely
> because my normal usage includes ‘global-whitespace-mode’ for most
> editing modes, with a display mapping for the newline character. I
> have customized the ‘whitespace-space’ face to be very unobtrusive.
>
> ‘whitespace-mode’ modifies the display of spaces, tab characters, and
> newlines, so you can see the difference where it would not otherwise
> be visible. With it enabled, from redisplay’s point of view, the
> cursor is never at the end of line — instead, it’s on the glyph
> substituted for the newline, so the cursor at the logical end of line
> has the same height as within the line.
Hello, thank you for your advice as well. Right now I've decided to try
and get used to BAR cursor. If I can't though, I will most likely use
whitespace mode as well, to keep it consistent overall.
Cheers,
Karan
prev parent reply other threads:[~2023-08-05 11:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 5:44 Fixing cursor height when setting line-spacing Karan Ahlawat
2023-08-05 7:01 ` Eli Zaretskii
2023-08-05 7:41 ` Karan Ahlawat
[not found] ` <77dc7b13-d4a7-4d63-8f03-226cb06449e8@gmail.com>
2023-08-05 7:51 ` Eli Zaretskii
2023-08-05 8:08 ` Karan Ahlawat
2023-08-05 8:19 ` Eli Zaretskii
2023-08-05 8:43 ` Karan Ahlawat
2023-08-05 9:30 ` Eli Zaretskii
2023-08-05 10:41 ` Yuri Khan
2023-08-05 11:52 ` Karan Ahlawat [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23d7d36a-5a98-43eb-9eee-2d4181dc25aa@gmail.com \
--to=ahlawatkaran12@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=yuri.v.khan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.