unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Make all line # show up?
@ 2003-11-13  7:51 Wu, Pengcheng
  2003-11-13 16:59 ` Dan Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Wu, Pengcheng @ 2003-11-13  7:51 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 286 bytes --]

I am a new convert from VI, just a quick question, how to have
line # preceding each line?

Besides, I modified color setting in .Xdefaults, but now font in
pop-up window becomes white or lightgray which is killing me. How to
change that one too? See attached bmp file.

thanks,
Peacher

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 120186 bytes --]

[-- Attachment #3: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Make all line # show up?
  2003-11-13  7:51 Make all line # show up? Wu, Pengcheng
@ 2003-11-13 16:59 ` Dan Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Anderson @ 2003-11-13 16:59 UTC (permalink / raw)
  Cc: help-gnu-emacs

On Thu, 2003-11-13 at 02:51, Wu, Pengcheng wrote:
> I am a new convert from VI, just a quick question, how to have
> line # preceding each line?

You may not actually need to.  If you look at the bottom right corner of
your buffer you should see something like L5.  That means Line number. 
If you want to go to a particular line, number n, you can type: M-g n
RET.  M-x goto-line RET if that doesn't work.

Also, typing M-x count-lines-page or C-x l will get you the total number
of lines on the page.

C-h a line RET will get you some other interesting commands -- like M-x
global-hl-line-mode.

HTH,

-Dan

-Dan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-13 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-13  7:51 Make all line # show up? Wu, Pengcheng
2003-11-13 16:59 ` Dan Anderson

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).