Using gnuserv (Re: bigots - was Emacs - was Mail/news software)
Here's why I use gnuserv all the time.
Say I in a shell in a directory called
and I want to edit a file in Emacs. I could go in Emacs and type
C-x C-f and then type in (or cut/paste) the whole path. That's
Instead, if I want to edit a file called Makefile, from the shell I type
$ e Makefile
and it magically pops up in Emacs.
How to set it up (in slink anyway):
Step 1) install the gnuserv package
Step 2) insert the following in your ~/emacs file :
Step 3) Optionally, create a short-cut alias name for `gnuclient -q`
by inserting the following in your shell startup file,
~/.tcshrc for me
alias e gnuclient -q
Step 4) start Emacs
Step 5) type from the shell:
$ e somefile
$ gnuclient -q somefile
Step 6) Oh wait... There's no step 6! :-)
john s jacobs anderson wrote:
> >>>>> "Peter" == Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> writes:
> Peter> Felix Natter wrote:
> >> john s jacobs anderson <firstname.lastname@example.org> writes:
> >> > Oh, I'm with you -- I'll often use vi for small edits, even if
> >> > I have XEmacs open on another desktop, just because doing the
> >> > edit 'in-line' in an xterm fits my work-flow better. Again,
> >> > it's all about choosing the right tool for the job.
> >> you can do emacs -nw ("no windowing").
> Peter> Or use gnuserv.
> Gnuserv is on that eternally-growing list of things that I need to
> check out, learn, and integrate into my toolkit. Alas, I'm not there
> yet, so I keep reaching for the vi out of habit.