Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf Jonathan de Boyne Pollard: Tip: In the daemontools world all services have ther own service directory, at minimum; and this directory is the working directory of the service. You can put an mpd.conf that is particula

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Jonathan de Boyne Pollard: One of the interesting developments over the past couple of decades is how much the world has been influenced to come around to the daemontools way of doing this. I've observed before, elsewhere, the number of daemon programs, especially in the BSD worlds, that have i

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Martin "eto" Misuth
> On Thu, 8 Dec 2016 08:33:22 + > Jonathan de Boyne Pollard wrote: > > Martin "eto" Misuth: > > On my presonal box "user level" s6 /services subtrees are in > > `.config/s6/host` > > For comparison: ~/.config/service-bundles/services/ and > ~/.config/service-bundles/targets/ Well what I

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Laurent Bercot
Martin "eto" Misuth: #!/bin/sh exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf Tip: In the daemontools world all services have ther own service directory, at minimum; and this directory is the working directory of the service. You can put an mpd.conf that is particular to the servi

Re: GNU Emacs now runs in foreground

2016-12-08 Thread Jonathan de Boyne Pollard
Martin "eto" Misuth: On my presonal box "user level" s6 /services subtrees are in `.config/s6/host` For comparison: ~/.config/service-bundles/services/ and ~/.config/service-bundles/targets/ Martin "eto" Misuth: #!/bin/sh exec mpd --no-daemon /usr/home/eto/.config/mpd/mpd.conf Tip: In th

Re: GNU Emacs now runs in foreground

2016-12-07 Thread Martin "eto" Misuth
> On Tue, 6 Dec 2016 10:26:37 -0500 > Steve Litt wrote: > > Thanks Martin, > > Could you please show me your run scripts for tmux, screen and mpd? > These are the three I could see myself using in this manner. > > SteveT > > Steve Litt > November 2016 featured book: Quit Joblessness: Start Yo

Re: GNU Emacs now runs in foreground

2016-12-07 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor: dbus-user-session supports at most one graphical session concurrently ... in order to avoid people encountering the very problem of half-hearted and flawed implementations that I described. Non-half-hearted implementations are the goal, however. Read https://lists.debia

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Daniel Kahn Gillmor
On Tue 2016-12-06 07:15:49 -0500, Jonathan de Boyne Pollard wrote: > and the Desktop Environment people are making away from per-session > instances of the D-BUS daemon to per-user instances of the same. This > causes fun with deciding what the daemon's $DISPLAY should be set to. fwiw, dbus-use

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Jean Louis
On Tue, Dec 06, 2016 at 10:44:11AM -0500, Steve Litt wrote: > I think I can live without GNOME, so for me this is no problem at all. I > think a lot of people on this list can live without GNOME. No GNOME here, no KDE, no such things, just to confirm, I am best without it. > Dbus isn't part of my

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Steve Litt
On Tue, 6 Dec 2016 12:15:49 + Jonathan de Boyne Pollard wrote: > Martin "eto" Misuth: > > First, there are two major caveats, > > There are actually three. They break scripting. For example: People > cannot use the GNOME Editor as $VISUAL or $EDITOR because one of the > things implicit

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Steve Litt
On Tue, 6 Dec 2016 10:40:20 +0100 "Martin \"eto\" Misuth" wrote: > I am immense fan of these user-level daemons (maybe they should have > some more exact name). > > First, there are two major caveats, that I noticed, being seen as > disadvantages, to this design: > > 1 - When such daemon cr

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Jean Louis
On Tue, Dec 06, 2016 at 10:40:20AM +0100, Martin "eto" Misuth wrote: > - mpd - the music player daemon - basically music player > - when spawned as it's own service outside of/before X it can keep music > playing even as you are tweaking you xorg.conf :) > - can route music over fi

Re: GNU Emacs now runs in foreground

2016-12-06 Thread Martin "eto" Misuth
> On Thu, 1 Dec 2016 12:54:38 -0500 > Steve Litt wrote: > > > On Thu, 1 Dec 2016 20:48:37 +0300 > > Jean Louis wrote: > > I have a strange feeling that you are joking... > > Not at all. You know mplayer can interact via a FIFO. > > Seriously, I'm not joking. I'm always interested in new ways

Re: GNU Emacs now runs in foreground

2016-12-03 Thread Jean Louis
Hello Jonathan, Now when I use s6, I don't want to switch, maybe on some other computers I can test the nosh. It looks like good system, especially if you start providing such solutions for various daemons. On Sat, Dec 03, 2016 at 11:33:51AM +, Jonathan de Boyne Pollard wrote: > Jean Louis:

Re: GNU Emacs now runs in foreground

2016-12-03 Thread Jonathan de Boyne Pollard
Jean Louis: emacs --new-daemon=NAME I have added a new per-user service for this to nosh, ready for version 1.30 . So one just has to start the per-user service manager # system-control start user@jlouis.target then start the emacs server $ system-control --user start emacs Adj

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Jean Louis
On Thu, Dec 01, 2016 at 12:54:38PM -0500, Steve Litt wrote: > On Thu, 1 Dec 2016 20:48:37 +0300 > Jean Louis wrote: > > > On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote: > > > > > > > > Just before some time, emacs --daemon, would go into background, > > > > so it was not feasible to

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
On Thu, 1 Dec 2016 20:48:37 +0300 Jean Louis wrote: > On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote: > > > > > > Just before some time, emacs --daemon, would go into background, > > > so it was not feasible to control it with s6 scripts. Now > > > developers changed it, and it is po

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Jean Louis
On Thu, Dec 01, 2016 at 12:41:18PM -0500, Steve Litt wrote: > > > > Just before some time, emacs --daemon, would go into background, so it > > was not feasible to control it with s6 scripts. Now developers changed > > it, and it is possible to invoke multiple instances by name, and still > > keep

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
On Thu, 1 Dec 2016 20:28:46 +0300 Jean Louis wrote: > On Thu, Dec 01, 2016 at 12:05:31PM -0500, Steve Litt wrote: > > OK, I'll byte. > > > > I thought emacs was an editor that a human runs in the foreground to > > edit files, so my reaction to this was "of course it runs in the > > foreground!"

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Jean Louis
On Thu, Dec 01, 2016 at 12:05:31PM -0500, Steve Litt wrote: > On Thu, 1 Dec 2016 11:18:29 +0300 > Jean Louis wrote: > > > The GNU Emacs now has got a new option: > > > > emacs --new-daemon=NAME > > > > that is running emacs daemon in foreground, obviously someone reacted > > since last time I w

Re: GNU Emacs now runs in foreground

2016-12-01 Thread Steve Litt
On Thu, 1 Dec 2016 11:18:29 +0300 Jean Louis wrote: > The GNU Emacs now has got a new option: > > emacs --new-daemon=NAME > > that is running emacs daemon in foreground, obviously someone reacted > since last time I wrote to the emacs mailing list. It is in the > development version or git. OK