Date: Fri, 26 Nov 1999 18:42:46 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Michael Elbel <Michael.Elbel@consol.de> Cc: questions@freebsd.org Subject: Re: Programmers' editor? Message-ID: <19991126184246.A713@marder-1> In-Reply-To: <19991126095558.C48221@consol.de> References: <19991126095558.C48221@consol.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 26, 1999 at 09:55:58AM +0100, Michael Elbel wrote: > In lists.freebsd.questions you write: > > >BTW Greg, you mentioned that you use emacs for composing e-mail with > >mutt, which is what I'm doing now. Is there a way to make it (mutt) > >open another buffer in an emacs window that's already running rather > >than starting another instance of emacs? > > You sure it was Greg? I've mentioned this before: > Yes, earlier in this thread (and in the past as well). > Set your editor to gnuclient and it will do what you want > (export EDITOR=gnuclient). OK, I've done that (well, ``setenv EDITOR gnuclient'' as I use csh(1)). > You can also do this on the commandline, of course > > $ gnuclient /etc/passwd > gnuclient is a program? I don't appear to have it on my system. > You need to load gnuserv in your .emacs file. This is what I have in mine: > > (load-library "gnuserv") > (gnuserv-start nil) > Done that, but all I get from emacs is: Error in init file: File error: "Cannot open load file", "gnuserv" Is gnu{serv,client} an add-on and, if so, where can it be d/l from? > I once even found a mutt.el that highlites nicely and provides macros > to modify the header fields of a mail. > Where can it be found? Thanks. > And, to repeat myself. I see no real use trying to learn too much of Emacs' > native editing if there is viper available for those used to vi. At least > me, I'm so much more productive using things like command repetition, > things like "cfX", "dtY" and so on. > > What one probably should do with viper, is set expert level to 5 so one can > get at the Emacs keys and tweak a couple of other things to ones taste. > There's an excellent Info package coming with viper that explains > everything. > > Here's what I have in my .viper: > > (setq viper-inhibit-startup-message 't) > (setq viper-expert-level '5) > (viper-buffer-search-enable) > (setq viper-auto-indent 't) > (setq viper-want-ctl-h-help 't) > (setq viper-ex-style-motion nil) > (setq viper-ex-style-editing-in-insert nil) > (setq viper-keep-point-on-undo nil) > (define-key viper-vi-global-user-map "s" 'switch-to-buffer) > (define-key viper-vi-global-user-map "K" 'kill-buffer) > (define-key viper-vi-global-user-map [backspace] [delete]) > (define-key viper-insert-global-user-map [backspace] [delete]) > (define-key viper-emacs-global-user-map [backspace] [delete]) > > Michael > -- > \|/ > -O- Michael Elbel, ConSol* GmbH, - me@consol.de - 089 / 45841-256 > /|\ Fermentation fault (coors dumped) -- PERL has been described as "the duct tape of the Internet" and "the Unix Swiss Army chainsaw" - Computer Shopper 12/99 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991126184246.A713>