unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christopher Dimech <dimech@gmx.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Line Number in the mode line shows ??.
Date: Sun, 16 May 2021 08:09:13 +0200	[thread overview]
Message-ID: <trinity-d1f83068-92c0-4f4c-9a9f-9a2d5fc0bd21-1621145353134@3c-app-mailcom-bs16> (raw)
In-Reply-To: <83y2cfutzz.fsf@gnu.org>

I do not think it is very long, it is 8607 lines

Length of longest line is 139.

> Sent: Sunday, May 16, 2021 at 5:29 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Line Number in the mode line shows ??.
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Cc: help-gnu-emacs@gnu.org
> > Date: Sun, 16 May 2021 06:43:23 +0200
> >
> > When I load the file, the line number is there and is correct.  Howewer, when
> > I start changing the file, I then get "??".  It continues to be "??" even when
> > I save the file.
> >
> > Then I close emacs and load the file to get the line number correct again.
>
> How many lines are there in the file, and what is the length of the
> longest line?
>
> Emacs will not stop showing line numbers until it actually displays
> for the first time a line that is wider that
> line-number-display-limit-width columns.  So if the number of lines
> there is less that line-number-display-limit, but one of the lines is
> very wide, and that wide line is not at the first portion of the file
> that Emacs displayed when you visit the file, then you could have line
> numbers initially, but they will be turned off whenever the wide line
> comes into the view.
>
>



  reply	other threads:[~2021-05-16  6:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16  2:13 Line Number in the mode line shows ?? Christopher Dimech
2021-05-16  3:01 ` Óscar Fuentes
2021-05-16  4:05   ` Christopher Dimech
2021-05-16  4:27     ` Eli Zaretskii
2021-05-16  4:34       ` Christopher Dimech
2021-05-16  5:21         ` Eli Zaretskii
2021-05-16  4:43       ` Christopher Dimech
2021-05-16  5:29         ` Eli Zaretskii
2021-05-16  6:09           ` Christopher Dimech [this message]
2021-05-16  6:34             ` 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=trinity-d1f83068-92c0-4f4c-9a9f-9a2d5fc0bd21-1621145353134@3c-app-mailcom-bs16 \
    --to=dimech@gmx.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).