Re: SLIME, EMACS, and configuration
- From: Tim X <timx@xxxxxxxxxxxxxxx>
- Date: Fri, 12 Feb 2010 16:29:26 +1100
ccc31807 <cartercc@xxxxxxxxx> writes:
This may be the wrong forum to ask this question, and if so, I would
appreciate a pointer to the correct group, or resource.
How can I configure Emacs (running SLIME) to print the line numbers on
the screen? I'd like to do what "set nu" does in vi.
Thanks, CC.
There are a couple of possible solutions. It isn't a slime config, but
rather a matter of loading either some options or another minor mode.
There is a line number mode that will put the line number next to the
line in the buffer. I think you can find details on the emacs wiki at
http://www.emacswiki.org
There is also a line number mode that will display the current line
number (and if wanted, column number) in the mode line. This is
available from the options menu. Note that with emacs 23 (and I think
22) you can jump to a specific line with A-g A-g
I have to say I'm surprised you find line numbers of much use in lisp
development. Unlike developing with C, as you don't have the run compile
edit loop, I don't tend to jump to some line number reported as a
problem by the compiler. In Cl, I tend to find using things like paredit
and working with sexps etc far more efficient.
--
tcross (at) rapttech dot com dot au
.
- Follow-Ups:
- Re: SLIME, EMACS, and configuration
- From: ccc31807
- Re: SLIME, EMACS, and configuration
- References:
- SLIME, EMACS, and configuration
- From: ccc31807
- SLIME, EMACS, and configuration
- Prev by Date: Emacs/SLIME indentation for CLSQL code?
- Next by Date: Re: Lisp on Mac OS X
- Previous by thread: Re: SLIME, EMACS, and configuration
- Next by thread: Re: SLIME, EMACS, and configuration
- Index(es):
Relevant Pages
|