* bug#64520: Cursor type, fill-column, and ruler numbering
@ 2023-07-07 19:04 uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-07 19:15 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-07 19:04 UTC (permalink / raw)
To: 64520
I have set fill-column to 72.
When I write in the buffer, I get a change in the background colour
upon reaching 72 when looking at the ruler. There is a shift of 1
in the ruler because the ruler starts at 0.
But when using a block cursor, it looks like one is at column 0, rather
than column 1. Could the ruler have the ability to be changed so that
it starts at 1 ? Because one can use either a line or a block for the
cursor, there can be a different interpretation about column numbers.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#64520: Cursor type, fill-column, and ruler numbering
2023-07-07 19:04 bug#64520: Cursor type, fill-column, and ruler numbering uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-07-07 19:15 ` Eli Zaretskii
2023-07-07 19:30 ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-07-07 19:15 UTC (permalink / raw)
To: uzibalqa; +Cc: 64520
> Date: Fri, 07 Jul 2023 19:04:42 +0000
> From: uzibalqa via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> I have set fill-column to 72.
>
> When I write in the buffer, I get a change in the background colour
> upon reaching 72 when looking at the ruler. There is a shift of 1
> in the ruler because the ruler starts at 0.
>
> But when using a block cursor, it looks like one is at column 0, rather
> than column 1. Could the ruler have the ability to be changed so that
> it starts at 1 ? Because one can use either a line or a block for the
> cursor, there can be a different interpretation about column numbers.
The ruler shows columns, so it starts with zero. If it would start
from 1, it would be inconsistent and confusing. I see no reason to
make such not useful changes in Emacs.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#64520: Cursor type, fill-column, and ruler numbering
2023-07-07 19:15 ` Eli Zaretskii
@ 2023-07-07 19:30 ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; 3+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-07 19:30 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 64520
------- Original Message -------
On Saturday, July 8th, 2023 at 7:15 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Fri, 07 Jul 2023 19:04:42 +0000
> > From: uzibalqa via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org
> >
> > I have set fill-column to 72.
> >
> > When I write in the buffer, I get a change in the background colour
> > upon reaching 72 when looking at the ruler. There is a shift of 1
> > in the ruler because the ruler starts at 0.
> >
> > But when using a block cursor, it looks like one is at column 0, rather
> > than column 1. Could the ruler have the ability to be changed so that
> > it starts at 1 ? Because one can use either a line or a block for the
> > cursor, there can be a different interpretation about column numbers.
>
>
> The ruler shows columns, so it starts with zero. If it would start
> from 1, it would be inconsistent and confusing. I see no reason to
> make such not useful changes in Emacs.
It is confusing if the cursor is a blinking block and the column ruler is
showing a value 'N'. The reason is that the number fills the region of
a cursor block, and one thinks that the cursor block is at column N.
Could there be something else based on numbering columns rather than as a ruler
that starts from 0. Could be a feature of ruler to specify column numbers instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-07 19:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07 19:04 bug#64520: Cursor type, fill-column, and ruler numbering uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-07 19:15 ` Eli Zaretskii
2023-07-07 19:30 ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
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).