GNU bug report logs - #64520
Cursor type, fill-column, and ruler numbering

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Fri, 7 Jul 2023 19:06:01 UTC

Severity: normal

To reply to this bug, email your comments to 64520 AT debbugs.gnu.org.

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#64520; Package emacs. (Fri, 07 Jul 2023 19:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to uzibalqa <uzibalqa <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 07 Jul 2023 19:06:02 GMT) Full text and rfc822 format available.

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

From: uzibalqa <uzibalqa <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Cursor type, fill-column, and ruler numbering
Date: Fri, 07 Jul 2023 19:04:42 +0000
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.







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64520; Package emacs. (Fri, 07 Jul 2023 19:16:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: 64520 <at> debbugs.gnu.org
Subject: Re: bug#64520: Cursor type, fill-column, and ruler numbering
Date: Fri, 07 Jul 2023 22:15:24 +0300
> 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 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64520; Package emacs. (Fri, 07 Jul 2023 19:31:01 GMT) Full text and rfc822 format available.

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

From: uzibalqa <uzibalqa <at> proton.me>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64520 <at> debbugs.gnu.org
Subject: Re: bug#64520: Cursor type, fill-column, and ruler numbering
Date: Fri, 07 Jul 2023 19:30:01 +0000
------- Original Message -------
On Saturday, July 8th, 2023 at 7:15 AM, Eli Zaretskii <eliz <at> 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 <at> 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.








This bug report was last modified 301 days ago.

Previous Next


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