🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1994

Re: nn's use of editor: emacs

#1994
From: Milt Epstein
Date: Sat, 17 Aug 1991 22:47
45 lines
2693 bytes
In <93@raider.RAIDERNET.COM> tob@raider.RAIDERNET.COM (Tom Barron) writes:

>ric@updike.sri.com (Richard Steinberger) writes:
>
>>	We recently upgraded GNU emacs so that it no comes up in a 
>>separate X window (unless the -nw option is entered on the emacs
>>invocation command line).  As a result, when I use an editor in
>>nn, I get a emacs within an X window.  This is because EDITOR is set
>>to emacs which now comes up in its default X window mode.
>
>>	I would like to have nn be able to cause emacs to come up
>>in the same window that nn is running in, not a separate X window.
>>Does anyone know how to do this?  Thanks in advance for any 
>>suggestions.
>
>Could you set EDITOR to "emacs -nw"?

Do you mean the EDITOR environment variable or nn's EDITOR variable?
Probably both would work, but I just wanted to relate my experience
when I tried to do this.

I am not the original poster, but I have basically the same problem --
I would like to have emacs not start up in its own window.  So, I have
"emacs" (and "e") aliased to "emacs -nw" -- that controls whenever I
call emacs myself.  I also tried putting the following in my .login:

     setenv EDITOR "<path-to-emacs> -nw"

in the hopes that that would control it from mail or nn (or other
programs that use this variable).  Now, this does what I want it to do
on the Suns I use (running SunOS 4.1.1, I believe), but not on an IBM
RS6000 I use -- nn works fine with this, but the mail there (just
regular mail) doesn't like it -- it complains about "a file or
directory in the path name does not exist".

Now it would be nice if there was some way to control how emacs starts
up, in terms of a environment variable or such.  I realize this is
more of an emacs (or perhaps RS6000) issue than an nn issue, so I will
ask the appropriate questions over in the appropriate newsgroups.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Technical Details
Message-ID: <28ADA797.2E63@ibma0.cs.uiuc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc4.cs.uiuc.edu!epstein
References: <27176@unix.SRI.COM> <93@raider.RAIDERNET.COM>

Show Full Headers
Complete Article Headers
Message-ID: <28ADA797.2E63@ibma0.cs.uiuc.edu>
Subject: Re: nn's use of editor: emacs
Date: Sat, 17 Aug 1991 22:47:51 +0000
From: epstein@sunc4.cs.uiuc.edu (Milt Epstein)
References: <27176@unix.SRI.COM> <93@raider.RAIDERNET.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!wupost!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!sunc4.cs.uiuc.edu!epstein
Newsgroups: news.software.nn
Sender: news@ibma0.cs.uiuc.edu
Reply-To: epstein@cs.uiuc.edu
Organization: University of Illinois at Urbana-Champaign
Lines: 45