From owner-freebsd-questions Fri Nov 26 13:28:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id D1A9814DF7 for ; Fri, 26 Nov 1999 13:28:24 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 16784 invoked from network); 26 Nov 1999 21:28:22 -0000 Received: from userat48.uk.uudial.com (HELO marder-1.) (62.188.137.151) by smtp.dial.pipex.com with SMTP; 26 Nov 1999 21:28:22 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id VAA00620; Fri, 26 Nov 1999 21:28:17 GMT (envelope-from mark) Date: Fri, 26 Nov 1999 21:28:16 +0000 From: Mark Ovens To: Gary Jennejohn Cc: Michael Elbel , Greg Lehey , questions@freebsd.org Subject: Re: Programmers' editor? Message-ID: <19991126212816.A565@marder-1> References: <19991126184246.A713@marder-1> <199911262034.VAA14853@peedub.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <199911262034.VAA14853@peedub.muc.de> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 26, 1999 at 09:34:41PM +0100, Gary Jennejohn wrote: > Mark Ovens writes: > >On Fri, Nov 26, 1999 at 09:55:58AM +0100, Michael Elbel wrote: > >> 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)). > > > > Seems to me that gnuclient is an xemacs-ism. With emacs I thinks it's > called emacsclient (could be wrong). There's also an emacsserver in > there. I found this by grep'ing the PLIST for emacs20. > That's it! Thanks. I set "editor" to "emacsclient" in ~/.muttrc and changed ~/.emacs to ``(server-start nil)'' and it works :) I had to remove ``(load-library "gnuserver")'' though as it just caused errors (even when changed to "start-server" or "emacsserver"), but works without it. Thanks again for the help. > >> 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" > > > > this is also an xemacs-ism. Check out the emacs help, there should be > a mention of emacsclient or emacsserver in there somewhere. > > > --- > Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 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