From: David De La Harpe Golden <david@harpegolden.net>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: emacs daemon on win32?
Date: Tue, 28 Oct 2008 16:33:31 +0000 [thread overview]
Message-ID: <49073EDB.7020703@harpegolden.net> (raw)
In-Reply-To: <f7ccd24b0810280514l537e1969o84ea6f98de8381f6@mail.gmail.com>
Juanma Barranquero wrote:
> The cool thing would be to have a Windows Emacs server start as a
> systray app. I'd love for Emacs not to use space in the taskbar, just
> in the tray, until I bring it forward with emacsclient. David De La
> Harpe Golden proposed as much back in August (though he was talking
> about GNU/Linux, I think).
>
I was, or rather freedesktop.org compliant desktops in general that
follow the relevant systray spec*, but only because that's the
environment I personally know or care about, similar functionality on
other platforms with GUI conventions for such things is presumably
equally desirable.
While I believe the spec is straightforward, I personally won't have
time to look implementing it in the next few days anyway (tax filing
deadline is Hallowe'en in Ireland, appropriately enough!), so below find
my (trivial) design notes.
*
http://standards.freedesktop.org/systemtray-spec/systemtray-spec-latest.html
I imagined an emacs icon in the systray, clicking left button just
opening a new frame, right button bringing up a small menu with
something like
Open File... [1]
New Frame
New Frame on Display... [2]
Start Emacs Server [/ Stop Emacs Server] [3]
Settings... [4]
Quit Emacs [5]
I really don't think you'd want more than that on the menu, keep it simple.
Note that the systray support could also be used for popup balloon
message notifications too, in the manner described in *, e.g. new mail
notifications for intra-emacs mail/news clients. (biff being long-dead
for all practical purposes)
[1] - Jumping straight to open file dialog, opening in new frame.
(or of course new frame and show file list if you've turned the
dire-on-gtk/gnome system GUI file dialog off)
[2] Not sure about this one, might be considered advanced functionality.
[3] I think for the present people will want to be able to restart the
emacsclient server from the menu (since in my experience it's fairly
easy to accidentally nuke the socket with another emacs or whatever, and
then the only practical option is to restart it). I guess a tooltip
should say something like "when the server is running, you can use
emacsclient from the command line to edit files in this emacs session".
The started/stopped state should probably be persistent across sessions
(i.e. whether emacs starts the server when emacs is started upon login).
[4] jumping straight to a new frame opened on the customize toplevel I
guess.
[5] This should probably give a modified close dialog asking if you want
emacs restarted upon next login or not, most systray apps do AFAIK even
if it's strictly kinda redundant (since one could just not quit it or
restart it before logout if you wanted the session to save the fact it's
there...)
next prev parent reply other threads:[~2008-10-28 16:33 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49073EDB.7020703@harpegolden.net \
--to=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 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.