Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

question: always a signle emacs window

20 views
Skip to first unread message

Guy-Armand

unread,
Sep 21, 2001, 2:34:15 AM9/21/01
to
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?
Thanks Guy.


Kilian A. Foth

unread,
Sep 21, 2001, 3:07:52 AM9/21/01
to

Please read the documentation for the variable gnuserv-frame.

--
``The answer to `can emacs...?' is always yes.''
David Carlisle

those who know me have no need of my name

unread,
Sep 21, 2001, 3:53:39 AM9/21/01
to
[ng trimmed]

<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.

Rainer Thiel

unread,
Sep 21, 2001, 5:41:39 AM9/21/01
to
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.
--
Priv.-Doz. Dr. Rainer Thiel
FB 10, Klass. Phil. - D-35032 Marburg, Germany (EU)
r...@epost.de
http://staff-www.uni-marburg.de/~thielr/

Steve Allan

unread,
Sep 21, 2001, 1:25:54 PM9/21/01
to
Rainer Thiel <r...@epost.de> writes:

>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 __

J Haglund

unread,
Sep 23, 2001, 6:50:26 PM9/23/01
to
"Kilian A. Foth" <fo...@informatik.uni-hamburg.de> writes:

> 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

Guy-Armand

unread,
Sep 25, 2001, 6:11:30 AM9/25/01
to
I have tried to proceed as explained in
http://www.math.auc.dk/~dethlef/Tips/gnuserv.txt but there is something
wrong on my side.
Please could you tell me how you which steps you have followed? (I am using
XEmacs 21.4 on Win2k)
Thanks
Guy
"Steve Allan" <ste...@wrq.com> wrote in message
news:u66aco...@wrq.com...

Guy-Armand

unread,
Sep 25, 2001, 7:19:37 AM9/25/01
to
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

"Guy-Armand" <gkam...@iaik.at> wrote in message
news:9oplb2$jm7$1...@fstgss02.tu-graz.ac.at...

Brian P Templeton

unread,
Sep 26, 2001, 8:27:04 PM9/26/01
to
"Guy-Armand" <gkam...@iaik.at> writes:

> 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

0 new messages