public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* SourceNav with NTEmacs
@ 2001-08-08  6:24 Dalton, Barnaby
  2001-08-09 10:45 ` Mark Purtill
  0 siblings, 1 reply; 2+ messages in thread
From: Dalton, Barnaby @ 2001-08-08  6:24 UTC (permalink / raw)
  To: 'sourcenav@sourceware.cygnus.com', Ntemacs (E-mail)

Does anyone use sourcenav with ntemacs? I'm trying to get it working with
gnuclient. The first time I try to edit a file from sourcenav a new emacs
process is launched even if I have already started one via other means. This
second process starts with the *messages*

Server subprocess exited
connection failed: connection refused, 127.0.0.1, sn

From then on sourcenav always uses this second process. Doesn anyone know
what is going on?

Gnuclient/serv is defnitely working ok as I have used it from windows
explorer/msdev for years.

thanks
Barney

------------------------------------------------------------------------
RadioScape Ltd. - Software Radio Solutions for Digital Broadcasting
------------------------------------------------------------------------
Barney Dalton
Phone:  +44 (0)20 7317 3426
Fax:    +44 (0)20 7224 1595
Email:  barnaby.dalton@radioscape.com
----------------------------------
RadioScape Ltd.
2 Albany Terrace, 
Regent's Park, 
London NW1 4DS, 
Web: http://www.radioscape.com
------------------------------------------------------------------------ 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster@radioscape.com.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses known at the time of sending.

www.radioscape.com
**********************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

* SourceNav with NTEmacs
  2001-08-08  6:24 SourceNav with NTEmacs Dalton, Barnaby
@ 2001-08-09 10:45 ` Mark Purtill
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Purtill @ 2001-08-09 10:45 UTC (permalink / raw)
  To: sourcenav

Dalton, Barnaby writes:
 > Does anyone use sourcenav with ntemacs? I'm trying to get it working with
 > gnuclient. The first time I try to edit a file from sourcenav a new emacs
 > process is launched even if I have already started one via other means. This
 > second process starts with the *messages*
 > 
 > Server subprocess exited
 > connection failed: connection refused, 127.0.0.1, sn
 > 
 > >From then on sourcenav always uses this second process. Doesn anyone know
 > what is going on?
 > 
 > Gnuclient/serv is defnitely working ok as I have used it from windows
 > explorer/msdev for years.


	I had a similar problem under Linux.  When you set the editor
to gnuclient, SN recognizes that and does what it thinks is the right
thing, which seems to be to start a new emacs for you.  (Subsequent
calls would try to use gnuclient.)  In your case, it sounds like this
doesn't work because the server that gnuclient talks to has already
been started by your previous emacs.  Try writing a script with a name
different from gnuclient; I have one that looks something like this:

#! /bin/sh
TMPDIR=/tmp
export TMPDIR
gnuclient $*

You'll need the equivalent for NT, except probably not the TMPDIR
stuff.  (There's an additional problem on Linux that SN sets TEMPDIR,
which gnuclient uses to connect to the emacs; if the two processes
have different TMPDIRs, they can't connect, so I reset it.)  You might
try naming the progam both a name with "emacs" in the name and not and
see which works better for you.  (The behavior is different because,
again, SN is looking at the name and trying to be clever.)

--
^.-.^ Mark Purtill
(("))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-09 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08  6:24 SourceNav with NTEmacs Dalton, Barnaby
2001-08-09 10:45 ` Mark Purtill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).