emacs as a service
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
emacs as a service         


Author: Rustom Mody
Date: Aug 28, 2008 23:42

I want to start emacs as a service (This is under windows)
The emacs-y side is easy (server-start)
But I want to do it also from the windows perspective.
This involves:
-- starting emacs as a service (using Sc perhaps??)
-- emacs should not (by default) show in a tab on the desktop
-- C-x C-c should close a frame not emacs
-- it should be possible for emacs to be running without there being any
frame

Anyone done somethng like this?
Show full article (0.88Kb)
4 Comments
Re: emacs as a service         


Author: Torsten Mueller
Date: Aug 28, 2008 23:52

"Rustom Mody" gmail.com> schrieb:
> I want to start emacs as a service (This is under windows)
> The emacs-y side is easy (server-start)
> But I want to do it also from the windows perspective.
> This involves:
> -- starting emacs as a service (using Sc perhaps??)

Have you ever seen a Windows service from inside? A Windows service is
a completely different application than an .exe file, more DLL-like.
Running Emacs as a Windows service would require code changes.
> -- emacs should not (by default) show in a tab on the desktop

What is a "tab on the desktop"?
> -- C-x C-c should close a frame not emacs

A Windows service normally does not react on keys at all.

I think what you mean is something line the emacs client/server
concept.

T.M.
no comments
Re: emacs as a service         


Author: Chet
Date: Aug 29, 2008 08:06

"Rustom Mody" gmail.com> writes:
> I want to start emacs as a service (This is under windows)
> The emacs-y side is easy (server-start)
> But I want to do it also from the windows perspective.
> This involves:
> -- starting emacs as a service (using Sc perhaps??)
> -- emacs should not (by default) show in a tab on the desktop
> -- C-x C-c should close a frame not emacs
> -- it should be possible for emacs to be running without there being any frame
>
> Anyone done somethng like this?

Actually it looks like what is needed is the ability to minimize emacs frames
to the system tray. A web search found many applications that claim to be
able to minimize *any* window to the system tray. I tried one such and it
completely ignored emacs frames, so obviously there is something missing that I
will try to find out. But has anybody been successful with such "window
managers" on w32?

Chetan
no comments
Re: emacs as a service         


Author: Ken Goldman
Date: Aug 29, 2008 09:04

Rustom Mody wrote:
> I want to start emacs as a service (This is under windows)
> The emacs-y side is easy (server-start)
> But I want to do it also from the windows perspective.
> This involves:
> -- starting emacs as a service (using Sc perhaps??)
> -- emacs should not (by default) show in a tab on the desktop
> -- C-x C-c should close a frame not emacs

I can answer this piece:

(global-set-key "\C-x\C-c" 'delete-frame)
> -- it should be possible for emacs to be running without there being any
> frame
>
> Anyone done something like this?
no comments
Re: emacs as a service         


Author: Dan Espen
Date: Aug 29, 2008 09:24

"Rustom Mody" gmail.com> writes:
> I want to start emacs as a service (This is under windows)
> The emacs-y side is easy (server-start)
> But I want to do it also from the windows perspective.
> This involves:
> -- starting emacs as a service (using Sc perhaps??)
> -- emacs should not (by default) show in a tab on the desktop

Since I don't "do Windows", I'm not sure what it takes to be
a windows service.
> -- C-x C-c should close a frame not emacs

As someone else said, rebind the key to delete frame.
> -- it should be possible for emacs to be running without there being
> any frame

XEmacs has a command line argument "-unmapped" to accomplish
that. It doesn't seem to work for my version of emacs,
but maybe someone could add that to emacs.
no comments