Re: SLIME, EMACS, and configuration



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
.



Relevant Pages

  • Re: SLIME, EMACS, and configuration
    ... appreciate a pointer to the correct group, or resource. ... How can I configure Emacs (running SLIME) to print the line numbers on ...
    (comp.lang.lisp)
  • Re: SLIME, EMACS, and configuration
    ... appreciate a pointer to the correct group, or resource. ... How can I configure Emacs (running SLIME) to print the line numbers on ...
    (comp.lang.lisp)
  • Re: LispboxSLIME on Windows problem
    ... compiling, a la C-c C-e in emacs not running Slime? ...
    (comp.lang.lisp)
  • Re: Which Scheme to choose?
    ... I use Emacs as an editor, but I couldn't make MzSheme work with Emacs ... My group is trying to keep Bigloo for Windows up to date. ... No support, difficult to compile, ...
    (comp.lang.scheme)
  • Re: Which Scheme to choose?
    ... I use Emacs as an editor, but I couldn't make MzSheme work with Emacs ... My group is trying to keep Bigloo for Windows up to date. ... No support, difficult to compile, ... I just copied the two header files from install-tools/include to the ...
    (comp.lang.scheme)