unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Kliff Jochens <jk-listas@bol.com.br>
Subject: Re: prefix line with number WAS: Are Windows-Emacs' scrollbars broken?
Date: 13 Apr 2003 06:16:44 -0300	[thread overview]
Message-ID: <1050225404.18297.4.camel@arcadia.localdomain> (raw)
In-Reply-To: <84u1d2rfif.fsf@lucy.is.informatik.uni-duisburg.de>

On Sun, 2003-04-13 at 05:03, Kai Großjohann wrote:

> John Kliff Jochens <jk-listas@bol.com.br> writes:
> 
> > Now that you mentioned it, how can I have each line of the buffer
> > prefixed with its number? All I managed to do was to show on the line
> > with the file name (and etc), as well as the column, but I'd preffer to
> > have the line shown at the begginig of line.
> 
> There is a file setnu.el (or set-nu.el) floating about on the Net
> somewhere.

Thanks a lot.
It worked just fine but, as I tried to do as indicated to have it
working automatically (indicated on the .el file itself)

[added to .emacs]

(add-hook 'text-mode-hook 'turn-on-setnu-mode)

I got the following error on running emacs:
"Symbol's function definition is void: turn-on-setnu-mode"

M-x turn-on-setnu-mode doesn't work neither.
 
As I'm no lisp connaisseur, I am a little lost :) 
Can you help me find a workaround to get it working automatically?

thanks inadvance.


-- 
John Kliff Jochens <jk-listas@bol.com.br>

  reply	other threads:[~2003-04-13  9:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10  9:10 Are Windows-Emacs' scrollbars broken? Jon
2003-04-12 10:07 ` Eli Zaretskii
2003-04-13  2:01   ` prefix line with number WAS: " John Kliff Jochens
     [not found]   ` <mailman.4499.1050199969.21513.help-gnu-emacs@gnu.org>
2003-04-13  8:03     ` Kai Großjohann
2003-04-13  9:16       ` John Kliff Jochens [this message]
     [not found]       ` <mailman.4515.1050226027.21513.help-gnu-emacs@gnu.org>
2003-04-13 11:57         ` Kai Großjohann
2003-04-13 20:41           ` John Kliff Jochens
2003-04-14  5:47             ` Kai Großjohann
     [not found]             ` <mailman.4543.1050304974.21513.help-gnu-emacs@gnu.org>
2003-04-14 13:41               ` Johan Bockgård
     [not found]           ` <mailman.4530.1050267377.21513.help-gnu-emacs@gnu.org>
2003-04-13 21:36             ` Martin Stemplinger
2003-04-14  2:11             ` Peter Lee
2003-04-14  2:31               ` John Kliff Jochens
2003-04-14  5:58               ` Kai Großjohann
2003-04-18  0:16     ` Pascal Bourguignon
     [not found] ` <mailman.4474.1050138530.21513.help-gnu-emacs@gnu.org>
2003-04-12 18:05   ` Stefan Monnier

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=1050225404.18297.4.camel@arcadia.localdomain \
    --to=jk-listas@bol.com.br \
    /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).