help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnuserv vs Emacsserver


From: Chetan
Subject: Re: Gnuserv vs Emacsserver
Date: Fri, 28 Nov 2008 14:26:28 -0800
User-agent: Emacs Gnus

Magnus Berg <debianmailinglistspam@burgsvik.se> writes:

>>>> >/ Hi!/
>>>> >
>>>> >/ I'm little confused about the possibilities with Emacsserver in Emacs
>>>> > 23/
>>>> >/ (cvs). I had used Gnuserv before because it makes it possible to open a
>>>> > new/
>>>> >/ buffers/files, from the filemanager etc, in the initial frame (whith/
>>>> >/ dtemacs).  I don't want to have my screen cluttered with frames./
>>>> >/ Now I wonder if it's possible to do the same with Emacs 23:s
>>>> > Emacsserver or/
>>>> >/ if I should continue to use Gnuserver for that. If it's possible with/
>>>> >/ Emacsserver, can you tell me how./
>>>>
>>>> Maybe you can find your answer here:
>>>>
>>>>  http://www.emacswiki.org/emacs/EmacsClient
>>>>
>>>
>>> No, there was nothing about opening new buffers/files in the initial frame.
>>
>> Sorry, you are right. Look at the option server-window in Emacs. (I am
>> surprised it is not mentioned.) Does that help you?
>
> No! :-) I have read quite a lot about emacsserver. (I got the "GNU Emacs
> manual" as a book and it covers version 22) I have searched and looked up the
> options but I don't get a grip of it. I found a option for emacsserver there I
> can set the variable "server-window" to a window or a frame. And it is by
> default set to "Use selected window" and it is possible to chose "Display in
> new frame", "Use pop-to-buffer" and "Other function". I suppose the last
> alternative could include some smart setting for the ones who knows lisp or
> what to do. But I don't.
>
> But I'm not sitting here crying :-) I installed Gnuserv and it does what I
> want. But it should be fun to now how to do it without extra lisp packages, if
> it is possible with the included emacsserver.
>
> Thanks for your interest in my question Lennart!

I have wondered about swithing to emacsserver for some time. I have
been using gnuclient for a long time (on W32). Changing over to
emacsserver became a possibility with emacs 22, but I haven't yet done
it.

For my style of working, I find there are irritations in switching
over. I wonder if anybody has any solution.

1. My version of gnuclient starts emacs (if it can find it) if it
cannot connect to a running instance. I could, of course, make sure it
is running before I use it.

2. Irrespective of whether I am running emacs 21 or 22, it can still
connect.

3. The biggest irritant is that if I start another instance of emacs,
either by mistake or because I want to do something in a console
window, it clobbers my previous instance. With gnuserve, it fails with
a dialog box, which is also irritating, but it works the way I want
it. Ideally I would not like to keep changing the commandline, but I
don't see how I would do it even with that.

4. I need to change too many places in the system registry where it
invokes gnuclient. I can perhaps do that if I can handle the others.

Chetan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]