unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: Juanma Barranquero <lekktu@gmail.com>,
	Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: emacs daemon on win32?
Date: Tue, 28 Oct 2008 19:48:10 -0400	[thread overview]
Message-ID: <87tzawp9hh.fsf@cyd.mit.edu> (raw)
In-Reply-To: <49079DAD.9040404@harpegolden.net> (David De La Harpe Golden's message of "Tue, 28 Oct 2008 23:18:05 +0000")

David De La Harpe Golden <david@harpegolden.net> writes:

>> The easiest approach is to have a separate "emacs-systray" application
>> that (i) starts Emacs in daemon mode and (ii) adds a systray icon which
>> runs emacsclient when clicked.  "Minimizing to systray" is just the same
>> as closing the frame, which is already handled properly in daemon mode.
>>
>> (Same approach works for a Gnome or KDE applet.)
>
> Uhm. That sounds kind of complicated to me. Systray support shouldn't
> really be confused with daemon mode.  Daemon == detached from the
> process group, won't quit upon user logout, AFAIK.

The systray application could simply do something like

  emacsclient --eval "(kill-emacs)"

on logout.

The advantage of this is that it can be implemented rather easily.  Not
that I'm going to spend time on this, but I suspect it won't take more
than a day to hack up a usable Gnome applet, which won't need to do
anything but issue a handful of different shell commands.




  reply	other threads:[~2008-10-28 23:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12  5:15 emacs daemon on win32? dhruva
2008-10-12 19:03 ` Eli Zaretskii
2008-10-28 12:14   ` Juanma Barranquero
2008-10-28 14:39     ` jasonr
2008-10-28 15:13       ` Juanma Barranquero
2008-10-28 16:33     ` David De La Harpe Golden
2008-10-28 16:46       ` David De La Harpe Golden
2008-10-28 17:07       ` Juanma Barranquero
2008-10-28 18:19         ` Eli Zaretskii
2008-10-28 18:26           ` Lennart Borgman
2008-10-28 19:31           ` Chong Yidong
2008-10-28 20:12             ` Juanma Barranquero
2008-10-28 20:21             ` Eli Zaretskii
2008-10-28 23:18             ` David De La Harpe Golden
2008-10-28 23:48               ` Chong Yidong [this message]
2008-10-28 20:09           ` Juanma Barranquero
2008-10-28 18:18     ` Eli Zaretskii
2008-10-28 20:05       ` Juanma Barranquero
2008-10-28 20:22         ` Eli Zaretskii
2008-10-28 21:12           ` mail
2008-10-29  4:18             ` Eli Zaretskii
2008-10-28 21:27           ` Juanma Barranquero
2008-10-29  4:21             ` Eli Zaretskii
2008-10-29  8:22               ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzawp9hh.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=david@harpegolden.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).