unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Native line numbers display and tab stops
Date: Fri, 23 Jun 2017 17:50:09 +0000	[thread overview]
Message-ID: <20170623175009.GA3295@acm> (raw)
In-Reply-To: <838tkivj1i.fsf@gnu.org>

Hello, Eli.

On Fri, Jun 23, 2017 at 18:08:09 +0300, Eli Zaretskii wrote:
> Someone reported on Reddit that turning on native line numbers display
> (available on the line-numbers branch) doesn't update the tab stops to
> start from zero after the line numbers.  This looked like a bug, but I
> see that the same happens when line-prefix is set to a non-nil value.

> So maybe this is a feature?  What do people think?  Should I fix this
> for all display features which insert stuff before the line beginning?

Well, as far as the line numbers are concerned, they are a pure display
feature.  They should not affect editing commands.  I think it is a bug
if a user types `tab-to-tab-stop' on one line, switches on the line
numbers, then types the same on the next line and finds that the two
places tabbed to don't line up.

Whether it's a bug with other display features, I can't really say,
because I'm not familiar enough with them.

> TIA

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2017-06-23 17:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23 15:08 Native line numbers display and tab stops Eli Zaretskii
2017-06-23 17:33 ` Dmitry Gutov
2017-06-23 17:50 ` Alan Mackenzie [this message]
2017-06-23 21:09   ` Eli Zaretskii
2017-06-23 22:27     ` John Wiegley
2017-06-23 23:02       ` Stephen Berman
2017-06-24 17:31       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170623175009.GA3295@acm \
    --to=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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).