Emacs line numbers are set to "??" in the status bar


bph

I'm having problems with emacs(24), occasionally without line numbers. The settings in the status bar are ??, e.g.

U:---   filename   All   (1000, 4)    (Conf[Unix])

Switch to:

U:---   filename   All   (??, 4)    (Conf[Unix])

It's a bit annoying and I'd like to be able to avoid

Jay

Get the line number pattern from the emacs documentation:

"For very large buffers and buffers with very long lines, line numbers do not appear; see variable line-number-display-limitsum line-number-display-limit-width."

If you set line-number-display-limit to nil, you should always see line numbers.

Related


Emacs line numbers are set to "??" in the status bar

bph I'm having problems with emacs(24), occasionally without line numbers. The settings in the status bar are ??, e.g. U:--- filename All (1000, 4) (Conf[Unix]) Switch to: U:--- filename All (??, 4) (Conf[Unix]) It's a bit annoying and I'd

Emacs line numbers are set to "??" in the status bar

bph I'm having problems with emacs(24), occasionally without line numbers. The settings in the status bar are ??, e.g. U:--- filename All (1000, 4) (Conf[Unix]) Switch to: U:--- filename All (??, 4) (Conf[Unix]) It's a bit annoying and I'd

Emacs line numbers are set to "??" in the status bar

bph I'm having problems with emacs(24), occasionally without line numbers. The settings in the status bar are ??, e.g. U:--- filename All (1000, 4) (Conf[Unix]) Switch to: U:--- filename All (??, 4) (Conf[Unix]) It's a bit annoying and I'd

Emacs line numbers

flood I'm having trouble getting line numbers in an emacs buffer. I have the following numbers in my init file: (setq line-number-display-limit 2000000) and I have verified that it has line number mode turned on. When I first enter the (~500) line buffer, emac

Emacs line numbers

flood I'm having trouble getting line numbers in an emacs buffer. I have the following numbers in my init file: (setq line-number-display-limit 2000000) and I have verified that it has line number mode turned on. When I first enter the (~500) line buffer, emac

set the status bar to black

illegal I want to set the color status bar(the top bar that shows the clock and battery) to a black background with white text. How can I do this? My approach so far: I have added the following to theinfo.plist View controller-based status bar appearance --> N

set status bar -> black

Jason M I'm trying to theme my app without action bar (header) and black status bar, but I can't get it to work. I browsed old threads on this topic, but I didn't find any solution. Any help? <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http

Add line numbers to GNU Emacs

Akma How to add line numbers in Emacs? Please explain, I am an absolute beginner. monster dragon If you run it in default mode, it's in the menu: Options > Show/Hide > Line Numbers. Then select Options > Save Options to save it for later sessions. If you run i

Add line numbers to GNU Emacs

Akma How to add line numbers in Emacs? Please explain, I am an absolute beginner. monster dragon If you run it in default mode, it's in the menu: Options > Show/Hide > Line Numbers. Then select Options > Save Options to save it for future sessions. If you run

What are the arrows and numbers in the status bar?

MakeLemonade During Find and Replace today, a large arrow flashed on the screen and disappeared after a few seconds. Now there is an up arrow icon and a number in the status bar at the bottom of the screen, what are these? James Fenwick That's two things. When

What are the arrows and numbers in the status bar?

MakeLemonade During Find and Replace today, a large arrow flashed on the screen and disappeared after a few seconds. Now there is an up arrow icon and a number in the status bar at the bottom of the screen, what are these? James Fenwick That's two things. When

Set regex in emacs header line

Rob F So I'm new to emacs lisp and I have a long file with a wall of text separated by date. Sometimes I can't see the date I want to read without scrolling up and losing my position, so I decided to see it all the time. After skimming the manual, borrowing co

SwiftUI set the status bar style

Shaims I've been trying to set the status bar to light text in my SwiftUI app because it has a dark background. I found this solution on several sites but couldn't get it to work. HostingController.swift import Foundation import UIKit import SwiftUI class Hos

Set the activity below the status bar

Carlos Alder Horta When I deploy my app in the iphone simulator, it centers the screen with the start of the activity, but when I put the controls on top of some activities, the controls won't work because they are displayed in on the status bar. I need the pa

Set timed status bar notifications

Soheyl I want to activate a notification when a button is pressed at a specific time (say 12:56 in this example), so I use this notification in my code: Button notificationButton = (Button) findViewById(R.id.button1); notificationButton.setOnClickListener

SwiftUI set the status bar style

Shaims I've been trying to set the status bar to light text in my SwiftUI app because it has a dark background. I found this solution on several sites but couldn't get it to work. HostingController.swift import Foundation import UIKit import SwiftUI class Hos

Set the activity below the status bar

Carlos Alder Horta When I deploy my app in the iphone simulator, it centers the screen with the start of the activity, but when I put the controls on top of some activities, the controls won't work because they are displayed in on the status bar. I need the pa

Set text for status bar in QtDesigner?

sdbbs By default, if I create a new form of type "Main Window" in QtDesigner, I get three elements in it: centralwidget, menubar- not visible in the preview (Ctrl-R) unless the actual menu entry is added; and statusbar. The problem is - by default the status b

Set status bar color in Iphone

Nikash Hi I'm working on small Iphone app where I give color to navigation bar like this [self.navigationController.navigationBar setTranslucent:NO]; [self.navigationController.navigationBar setBarTintColor:[UIColor redColor]]; But for this reason my stat

Programmatically set the status bar style

Marandall Xcode has an option "Hide during app launch": Is there a way to set this in code so that I can build the app automatically from the command line without having to manually check this box every time? Thanh-Nhon Nguyen No, you can't, because these sett

Set the activity below the status bar

Carlos Alder Horta When I deploy my app in the iphone simulator, it centers the screen with the start of the activity, but when I put the controls on top of some activities, the controls won't work because they are displayed in on the status bar. I need the pa

Set timed status bar notifications

Soheyl I want to activate a notification when a button is pressed at a specific time (say 12:56 in this example), so I use this notification in my code: Button notificationButton = (Button) findViewById(R.id.button1); notificationButton.setOnClickListener

SwiftUI set the status bar style

Shaims I've been trying to set the status bar to light text in my SwiftUI app because it has a dark background. I found this solution on several sites but couldn't get it to work. HostingController.swift import Foundation import UIKit import SwiftUI class Hos

Set the activity below the status bar

Carlos Alder Horta When I deploy my app in the iphone simulator, it centers the screen with the start of the activity, but when I put the controls on top of some activities, the controls won't work because they are displayed in on the status bar. I need the pa

Set the activity below the status bar

Carlos Alder Horta When I deploy my app in the iphone simulator, it centers the screen with the start of the activity, but when I put the controls on top of some activities, the controls won't work because they are displayed in on the status bar. I need the pa

Set status bar color in Iphone

Nikash Hi I'm working on small Iphone app where I give color to navigation bar like this [self.navigationController.navigationBar setTranslucent:NO]; [self.navigationController.navigationBar setBarTintColor:[UIColor redColor]]; But for this reason my stat

Programmatically set the status bar style

Marandall Xcode has an option "Hide during app launch": Is there a way to set this in code so that I can build the app automatically from the command line without having to manually check this box every time? Thanh-Nhon Nguyen No, you can't, because these sett

Set gradient on navigation bar and status bar

Pablo Acero I am trying to change the background of the navbar by creating a layer and adding it as a sublayer to the navbar. However, this only affects the navigation bar. I don't want to affect the whole top of the screen. The code includes: let navBarLayer

Set the status bar color to be the same as the navigation bar

Mr. Rickson I want my app's status bar to have the exact same color as the navigation bar. The way I found to change the status bar color is just by creating a view the size of the status bar and changing the background color. However, even if I set the color