all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gnuserv - emacs problem (23.0.60.1)
@ 2008-03-26 10:05 M G Berberich
  2008-03-26 10:41 ` Thorsten Bonow
  0 siblings, 1 reply; 5+ messages in thread
From: M G Berberich @ 2008-03-26 10:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have GNU Emacs and running gnuserv constantly in an iconified frame
(linux, X11), editing files with gnuclient. This worked fine until I
updated emacs to 23.0.60.1. Now I have the problem that the emacs
(running the gnuserv) terminates after I finish editing (the last)
file with “C-x #”. No error-message, no coredump it seems to be a
clean exit.

Is there a way to make emacs stay until explicitly exited?

   MfG	
   bmg

-- 
Artikel 3 und 12a des Grundgesetzes  kurz  | M G Berberich
zusammengefaßt: Männer  und  Frauen  sind  | berberic@fmi.uni-passau.de
gleichberechtigt, ausgenommen Männer, die  |
müssen zur Bundeswehr.                     | http://www.uni-passau.de/~berberic


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

* Re: gnuserv - emacs problem (23.0.60.1)
  2008-03-26 10:05 gnuserv - emacs problem (23.0.60.1) M G Berberich
@ 2008-03-26 10:41 ` Thorsten Bonow
  2008-03-26 12:39   ` M G Berberich
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Bonow @ 2008-03-26 10:41 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "M" == M G Berberich <M> writes:

    M> Hello, I have GNU Emacs and running gnuserv constantly in an iconified
    M> frame (linux, X11), editing files with gnuclient. This worked fine until
    M> I updated emacs to 23.0.60.1. Now I have the problem that the emacs
    M> (running the gnuserv) terminates after I finish editing (the last) file
    M> with “C-x #”. No error-message, no coredump it seems to be a clean
    M> exit.

    M> Is there a way to make emacs stay until explicitly exited?

    M>    MfG bmg

I haven't tested it and it is possible that it is not working for you because
23.0.61 is a development version.

But in any case: GNU Emacs comes with it's own emacsclient and server which has
long ago added all (and more) of the gnuclient/server features. So you should
give it a try (Add "(server-start)" to your init file, it's all in the manual),
especially if you try to live on the bleeding edge with 23.0.61 ;-)

This works on my system, although my snapshot of the development version at the
moment is somewhat buggy. A new release of the stable GNU Emacs 22
line---sporting an emacsclient which already has all the features you know from
gnuclient---is due to be released soon, I think. The current officially released
version works for me, too.

Toto

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

Enter the bureaucrat...

Senator Palpatine, Star Wars Episode I, The Phantom Menace


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

* Re: gnuserv - emacs problem (23.0.60.1)
  2008-03-26 10:41 ` Thorsten Bonow
@ 2008-03-26 12:39   ` M G Berberich
  2008-03-26 14:47     ` Thorsten Bonow
  0 siblings, 1 reply; 5+ messages in thread
From: M G Berberich @ 2008-03-26 12:39 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 26 Mar 2008 11:41:51 +0100, Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de> wrote:
>>>>>> "M" == M G Berberich <M> writes:
>
>    M> Hello, I have GNU Emacs and running gnuserv constantly in an iconified
>    M> frame (linux, X11), editing files with gnuclient. This worked fine until
>    M> I updated emacs to 23.0.60.1. Now I have the problem that the emacs
>    M> (running the gnuserv) terminates after I finish editing (the last) file
>    M> with “C-x #”. No error-message, no coredump it seems to be a clean
>    M> exit.
>
>    M> Is there a way to make emacs stay until explicitly exited?
>
> I haven't tested it and it is possible that it is not working for
> you because 23.0.61 is a development version.

I was running a dev-version before (2007-05-17) and it worked fine
(main reason for it was UTF-8 support and anti-aliased fonts).

> But in any case: GNU Emacs comes with it's own emacsclient and
> server which has long ago added all (and more) of the
> gnuclient/server features. So you should give it a try (Add
> "(server-start)" to your init file, it's all in the manual),
> especially if you try to live on the bleeding edge with 23.0.61 ;-)

I can make it open a new frame (Window) by setting “server-window” to
“switch-to-buffer-other-frame”, but then “C-x #” leaves a window on the
desktop behind, containing “*scratch*” or whatever. 

	MfG
	bmg

-- 
Artikel 3 und 12a des Grundgesetzes  kurz  | M G Berberich
zusammengefaßt: Männer  und  Frauen  sind  | berberic@fmi.uni-passau.de
gleichberechtigt, ausgenommen Männer, die  |
müssen zur Bundeswehr.                     | http://www.uni-passau.de/~berberic


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

* Re: gnuserv - emacs problem (23.0.60.1)
  2008-03-26 12:39   ` M G Berberich
@ 2008-03-26 14:47     ` Thorsten Bonow
  2008-03-26 17:27       ` M G Berberich
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Bonow @ 2008-03-26 14:47 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "M" == M G Berberich <M> writes:

    M> I can make it open a new frame (Window) by setting “server-window” to
    M> “switch-to-buffer-other-frame”, but then “C-x #” leaves a window on
    M> the desktop behind, containing “*scratch*” or whatever.

    M> 	MfG bmg

It's documented (try 'emacsclient --help' if you don't want to read it all)
that emacsclient from the development version you're using has the '-c' option
for creating a new frame. It vanishes again after you quit with 'C-x #'. 

I think this is the behaviour you're looking for.

GNU Emacs 23 also has the "multi-tty" capability added, meaning that you can
use emacsclient to open up new frames either on your X display or in the
console/xterm from the *same* instance of your running emacs. That makes it
possible to start an emacs in a "GNU Screen" session in the background. Use
emacsclient calls to open up frames on the device of your choice. With that, you can
even log out of X without losing your emacs session.

Toto

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

People who advocate simplicity have money in the bank; the money
came first, not the simplicity.

Douglas Coupland: JPod


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

* Re: gnuserv - emacs problem (23.0.60.1)
  2008-03-26 14:47     ` Thorsten Bonow
@ 2008-03-26 17:27       ` M G Berberich
  0 siblings, 0 replies; 5+ messages in thread
From: M G Berberich @ 2008-03-26 17:27 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 26 Mar 2008 15:47:43 +0100, Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de> wrote:
>>>>>> "M" == M G Berberich <M> writes:
>
>    M> I can make it open a new frame (Window) by setting
>    M> “server-window” to “switch-to-buffer-other-frame”, but then
>    M> “C-x #” leaves a window on the desktop behind, containing
>    M> “*scratch*” or whatever.
>
> It's documented (try 'emacsclient --help' if you don't want to read
> it all) that emacsclient from the development version you're using
> has the '-c' option for creating a new frame. It vanishes again
> after you quit with 'C-x #'.
>
> I think this is the behaviour you're looking for.

Yes, I thought this as ”server-behavior“, so I did not even look at
the emacsclient options – my fault.

> GNU Emacs 23 also has the "multi-tty" capability added, meaning that
> you can use emacsclient to open up new frames either on your X
> display or in the console/xterm from the *same* instance of your
> running emacs. That makes it possible to start an emacs in a "GNU
> Screen" session in the background. Use emacsclient calls to open up
> frames on the device of your choice. With that, you can even log out
> of X without losing your emacs session.

Fine, thanks a lot.

	MfG
	bmg

-- 
Artikel 3 und 12a des Grundgesetzes  kurz  | M G Berberich
zusammengefaßt: Männer  und  Frauen  sind  | berberic@fmi.uni-passau.de
gleichberechtigt, ausgenommen Männer, die  |
müssen zur Bundeswehr.                     | http://www.uni-passau.de/~berberic


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

end of thread, other threads:[~2008-03-26 17:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 10:05 gnuserv - emacs problem (23.0.60.1) M G Berberich
2008-03-26 10:41 ` Thorsten Bonow
2008-03-26 12:39   ` M G Berberich
2008-03-26 14:47     ` Thorsten Bonow
2008-03-26 17:27       ` M G Berberich

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.