all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Xavier Maillard <xma@gnu.org>
Cc: "V.Rao" <mail.vjrao@yahoo.com>,
	nickrob@snap.net.nz, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: TODO
Date: Thu, 28 Feb 2008 17:20:26 +0100	[thread overview]
Message-ID: <nqlk55m4s5.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <200802280200.m1S20CN2006536@localhost.localdomain> (Xavier Maillard's message of "Thu, 28 Feb 2008 03:00:12 +0100")

Xavier Maillard <xma@gnu.org> writes:

>    Please let me know if anyone is already working on one of these tasks.
>
> I can't answer your question but this entry is really
> interesting. So if you need to "orient" your choice, I'd vote for
> this :)
>
>    ** Make "emacs --daemon" start emacs without showing any frame.
>    Use emacsclient later to open frames.
>
> This idea would be excellent to have. I am using a hack to mimic
> such behaviour based on GNU screen (I have a GNU Emacs launched
> through a screen session that acts as a server).

This could be implemented easily by DBus, because it supports starting
services on request. To give an impression how it could work (hacked
on my Ubuntu machine, paths needed to be adapted):

- Place a file daemon.el into the Emacs load path, containing:

(require 'dbus)
(dbus-register-method
 :session "org.gnu.Emacs" "/org/gnu/Emacs" "org.gnu.Emacs"
 "Daemon" 'recursive-edit)

- Create a DBus service file "emacs.service" (in my case located at
  /usr/share/dbus-1/services), containing:

[D-BUS Service]
Name=org.gnu.Emacs
Exec=/usr/local/src/emacs/src/emacs -l daemon

- Emulate the DBus message, emacsclient could send:

# dbus-send --session --print-reply --dest="org.gnu.Emacs" \
    "/org/gnu/Emacs" "org.gnu.Emacs.Daemon"

That is of course *very* rough. And going into this direction, it
would require to enhance emacsclient and server.el understanding DBus
messages (when available).

What do people think?

> 	Xavier

Best regards, Michael.





  reply	other threads:[~2008-02-28 16:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23 17:26 Looking for a new Emacs maintainer or team Vijay Rao
2008-02-24  0:54 ` Richard Stallman
2008-02-24 16:12   ` Vijay Rao
2008-02-24 23:04     ` Richard Stallman
2008-02-25  3:59       ` Vijay Rao
2008-02-25  4:45         ` TODO [was Re: Looking for a new Emacs maintainer or team] Nick Roberts
2008-02-26 15:33           ` V.Rao
2008-02-26 18:13             ` Dan Nicolaescu
2008-02-26 18:26               ` TODO Stefan Monnier
2008-02-26 18:48                 ` TODO Dan Nicolaescu
2008-02-26 18:54                   ` TODO Stefan Monnier
2008-02-26 19:03                     ` TODO Dan Nicolaescu
2008-02-26 23:08                   ` TODO Miles Bader
2008-02-26 23:23                     ` TODO Dan Nicolaescu
2008-02-27  0:08                       ` TODO Miles Bader
2008-02-27  1:17                         ` TODO Dan Nicolaescu
2008-02-27  2:56                           ` TODO Miles Bader
2008-02-27 16:07                   ` TODO Richard Stallman
2008-02-27 20:45                     ` TODO Stefan Monnier
2008-02-28 16:41                       ` TODO Richard Stallman
2008-02-28 17:09               ` TODO [was Re: Looking for a new Emacs maintainer or team] V.Rao
2008-02-29  1:39                 ` Richard Stallman
2008-02-28  2:00             ` Xavier Maillard
2008-02-28 16:20               ` Michael Albinus [this message]
2008-02-28 17:08                 ` TODO Dan Nicolaescu
2008-02-28 17:35                 ` TODO Stefan Monnier
2008-02-28 20:39                   ` TODO Michael Albinus
2008-02-28 23:23                     ` TODO Evans Winner
2008-02-29  4:52                     ` TODO Dan Nicolaescu
2008-02-29  7:58                       ` TODO Michael Albinus
2008-03-01  1:00                         ` TODO Xavier Maillard

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=nqlk55m4s5.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=mail.vjrao@yahoo.com \
    --cc=nickrob@snap.net.nz \
    --cc=rms@gnu.org \
    --cc=xma@gnu.org \
    /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.