🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188829

Re: openwindows and emacs

#188829
From: Bob Froehlig
Date: Fri, 14 Jun 1991 23:12
21 lines
1545 bytes
sjm@moggie.anu.edu.au (Stephen Meatheringham) writes:

>I am running OW2 on a Sparcstation IPC and am using the filemanager.   Under
>the tool properties menu I set the default document editor to run Xemacs
>(i.e. xemacs $FILE - where $FILE is the OW shorthand for the selected file).
>When the Xemacs window opens I am not editting the correct file if I am in
>a subdirectory of my home area.   The problem is that as far as emacs is 
>concerned I am in my home directory.   Does anyone have a fix for this??

A user here at USC had the same request, and by trial and error I found a way
around it using csh (since I tried and found out that emacs doesn't get
default-directory from sh).  What I ended up doing was setting the document
editor to 

	csh -c "x11emacs $FILE"

I hope that is of some help to you and others.
----
Bob Froehlig			    internet: bobf@usc.edu
 Consultant/Programmer		    uucp: ...!uunet!usc!bobf
 University of Southern California  University Computing Services
Technical Details
Message-ID: <33611@usc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!usc!skat.usc.edu!froehlig
References: <1991Jun12.021808.4753@newshost.anu.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,e2a80e0ff27cf9d7
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-15 06:36:09 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!usc!skat.usc.edu!froehlig
From: froehlig@skat.usc.edu (Bob Froehlig)
Newsgroups: gnu.emacs.help
Subject: Re: openwindows and emacs
Message-ID: <33611@usc.edu>
Date: 14 Jun 91 23:12:37 GMT
References: <1991Jun12.021808.4753@newshost.anu.edu.au>
Sender: news@usc.edu
Lines: 21
Nntp-Posting-Host: skat.usc.edu