From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Line Number in the mode line shows ??. Date: Sun, 16 May 2021 08:09:13 +0200 Message-ID: References: <87y2cfz8iy.fsf@telefonica.net> <8335unwbfu.fsf@gnu.org> <83y2cfutzz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28709"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 16 08:10:16 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1li9yg-0007GM-IN for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 16 May 2021 08:10:14 +0200 Original-Received: from localhost ([::1]:42194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li9ye-0001jb-G4 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 16 May 2021 02:10:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li9xk-0001jS-Ts for help-gnu-emacs@gnu.org; Sun, 16 May 2021 02:09:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:46521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li9xj-0003PA-3o; Sun, 16 May 2021 02:09:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621145353; bh=teaXlr1WgGqyyF0Xb5UdWDNR0Y4747CVQwH6Ss9frOY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XmTqTyJo98TQo7xZf+2qliZCzd8GfhCXgZohnFxnfRMyTG4lP06sp088eosPR3RPO aT7VKSKAQxquChRM2dURNWyYWemf8WgK7pPW/DhAB6kyCTWA+jBdYXuSdHdaGYRRaN F/QFVOIV3PPMUdsPqu3nJmIGQ298L6yRS+BH8coc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Sun, 16 May 2021 08:09:13 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <83y2cfutzz.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:WTu5GAB9TyrQWKhENIsR5GxS086KdTN7vHGe7WiOKawg0nfj0k3MjzKHsH3N7//ELqGxt 2PA3Hev5NARt+AJB3q6vY8uywUqg6kOkAGlfXI9LZwS7JWNZceP4/2mDSkALgmgGdk+OV2A5mRvQ KnJHEDcxYeiODpIQvCS4hPXpZ9x3sL8Kpar/7h9IgAUUh9KAZbvjqsOvsseggXnVXHSziIWl5atb HjZcfKUX6GhXpFH2EOZJ83dQguzQUxuJHjcuFAF1HvFgB1Crh8Jx7/6CRGzRewVh89gCZpOPX1sO WQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:EDLYFywM24g=:XTaaVYW+csY+xDahlgX4eU MhVGy+g6GjJNN7kOOdv+gD+7SbseNk6EyU9J3/Skpn7zengsjJQj+GPNKUWvhouoqemqVV0Oq KVc9CWF/MERjWjYLucxoIOgL4pbyLWF1fWXEp5PG7ZNOJjUrQbXUZsMnxKVXRzapZ5vYJFbBy 2VmrRJ1sSvAID1xsV9+AnP1Kon+hMsAHg5xIc5+RF+EKndPNM2+9qM6eVGqfLZh7FMN9qSy39 H8C5UE7pFROXTJ7Lm7gaKGBJKcLM6Ot6KhFqcHe81YHNedu9lYZI3E457Oqnfbi0s9Zz4l/57 SSrkVNsstE5Quc2Y7baHfMIesiVZQtZdUgq8kL4Zvy1k6o+OrNOPnYZehznNgieq7wZpaEF8W ZuObyqL54C/dA+OyK4cHUqzoWRTSgvLahygu/fd3ekx0L2WOEkBOCXrbcxLDHxiC4TomZDQc/ M+7g6a/PZQpju5KZ/OSG+T4BqydIVBDA7Xu+BOflPMiy9FaFqncPWzT2j+6xufhaEoMritvu3 sSqy8Ed51LKbOIKS3fIBj4656U4QgStJLI2vV9g5sTZaINJ65nAl/+rnARvVuXtGwerRo1R+t ymB+Ww2YW3VmbHN9vxde+NYqFTulGYNrQMCa3QS9TecxZktG7oYMpySOjpIYK0brFbyfovtOr M00nGHyJscccYa3pdPdmOindvlgRE6mk/cuYJgfJt1Zz7G8O2ZUAipRCMk6JTVW5DUSxAHRIT TUZSFK4FqQUjQXRSNzmPS/b0TICh7h8+KZluhxBtJ4WuALFxtO3TDhlY+pFR8bLz3FOBVyJp Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129825 Archived-At: 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" > To: help-gnu-emacs@gnu.org > Subject: Re: Line Number in the mode line shows ??. > > > From: Christopher Dimech > > 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. Howewe= r, when > > I start changing the file, I then get "??". It continues to be "??" e= ven when > > I save the file. > > > > Then I close emacs and load the file to get the line number correct ag= ain. > > 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. > >