Please read the documentation for the variable gnuserv-frame.
--
``The answer to `can emacs...?' is always yes.''
David Carlisle
<9oen4h$7h5$1...@fstgss02.tu-graz.ac.at> divulged:
>I am using xemacs 21.4 under win2k. I have associated some file types with
>xemacs so that cliking on these file will start xemacs. But the trouble is
>that xemacs will keep on opening new frames as click on new files.
yep. that's because you are starting new instances of xemacs each time you
"open" the file.
stop using using explorer. use dired mode (from within xemacs) instead.
<http://www.math.auc.dk/~dethlef/Tips/gnuserv.txt>.
Gnuserv is the solution. I don't know if it can be done likewise with
XEmacs, but it may be worth a try.
--
Priv.-Doz. Dr. Rainer Thiel
FB 10, Klass. Phil. - D-35032 Marburg, Germany (EU)
r...@epost.de
http://staff-www.uni-marburg.de/~thielr/
>There are very good hints on how to do that with Emacs 20.x at
>
><http://www.math.auc.dk/~dethlef/Tips/gnuserv.txt>.
>
>Gnuserv is the solution. I don't know if it can be done likewise with
>XEmacs, but it may be worth a try.
Yes, I've done this with XEmacs and it works fine. I have these
settings in my .emacs file:
(require 'gnuserv)
(gnuserv-start)
(setq gnuserv-frame (selected-frame))
--
-- Steve __
> In comp.emacs.xemacs Guy-Armand <gkam...@iaik.at> wrote:
>
> > Hi,
> > I am using xemacs 21.4 under win2k. I have associated some file types with
> > xemacs so that cliking on these file will start xemacs. But the trouble is
> > that xemacs will keep on opening new frames as click on new files. Is there
> > a way to force xemacs to always open new files in the same frame?
>
> Please read the documentation for the variable gnuserv-frame.
Or use DDE.
--
/J. Haglund
(1) (error/warning) Error in process filter: (void-function
server-edit-files-quickly)
Guy
"Guy-Armand" <gkam...@iaik.at> wrote in message
news:9oplb2$jm7$1...@fstgss02.tu-graz.ac.at...
> Here the error message that I get when trying to open a file associated with
> gnuclient
>
> (1) (error/warning) Error in process filter: (void-function
> server-edit-files-quickly)
> Guy
>
I don't think that the the gnuserv package included with the XEmacs
distribution is the same version as the one included with Emacs (on my
system, the XEmacs version appears to be older). Also, in XEmacs, the
functions are prefixed with gnuserv, not server. You will probably
have to use gnuserve-edit-files in lieu of server-edit-files-quickly
(or use Emacs' gnuserv).
N.B. I don't use XEmacs, and am not an XEmacs expert, so double-check
my advice before using it.
hth,
--
BPT <b...@tunes.org> /"\ ASCII Ribbon Campaign
backronym for Linux: \ / No HTML or RTF in mail
Linux Is Not Unix X No MS-Word in mail
Meme plague ;) ---------> / \ Respect Open Standards