From jrollins@finestructure.net Sat Mar 14 21:07:40 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Mar 2009 04:07:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2F47aap001052 for ; Sat, 14 Mar 2009 21:07:38 -0700 Received: from mx10.gnu.org ([199.232.76.166]:52193) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LihdP-0002cB-VA for emacs-pretest-bug@gnu.org; Sun, 15 Mar 2009 00:07:36 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LihdO-0005Qc-Dg for emacs-pretest-bug@gnu.org; Sun, 15 Mar 2009 00:07:35 -0400 Received: from brinza.cc.columbia.edu ([128.59.29.8]:56421) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LihdO-0005QM-5g for emacs-pretest-bug@gnu.org; Sun, 15 Mar 2009 00:07:34 -0400 Received: from servo.finestructure.net (w098.z064003065.lax-ca.dsl.cnc.net [64.3.65.98]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by brinza.cc.columbia.edu (8.14.3/8.14.1) with ESMTP id n2F47Nmh023578 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sun, 15 Mar 2009 00:07:27 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.69) (envelope-from ) id 1LiMLn-0007Ue-GX; Sat, 14 Mar 2009 01:23:59 -0400 To: emacs-pretest-bug@gnu.org CC: rfrancoise@debian.org Subject: 23.0.91; need ability to run emacs --daemon in the foreground Message-Id: From: Jameson Rollins Date: Sat, 14 Mar 2009 01:23:59 -0400 X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.65 on 128.59.29.8 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 This is a feature request more than a bug: I would really like to see the ability to run the emacs server daemon ("emacs --daemon") in the foreground. This would be very useful. I would like to be able to start/control this daemon with a service supervisor (i.e. runit [0]). This would allow me to easily start the daemon on system start up, and have access to the daemon from all xsessions and virtual terminals. I would also be prefer to be able to specify daemon parameters as well, such as the location of the socket file. I find the new server to be incredibly useful. It is a really great new feature. I would just like to see these small changes so that I can really turn my editor into the server it needs to be. Thanks for all the great work, and let me know if I can provide any additional information. [0] http://smarden.org/runit/ In GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-02-28 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090228-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.91/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.91/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t server-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: x e c SPC m p d p r o x y C-x b RET C-x b RET ESC [ B ESC [ B RET ESC O a ESC [ B C-k C-k C-x C-s C-y ESC [ B ESC [ B C-x C-s C-x b RET e x e c SPC 2 > & 1 C-x C-s ESC [ B ESC [ B ESC [ B C-x C-s C-x k RET C-x C-s C-x C-f ESC [ A ESC b C-k l o TAB r u TAB RET C-x k RET C-x C-s C-x k RET C-x C-g C-f C-x C-f ESC [ A DEL DEL DEL c o n f i g RET s s i z e DEL DEL DEL DEL 1 0 0 0 0 0 0 RET n n u m DEL DEL DEL 3 DEL 2 ESC [ B ESC [ B RET C-x C-s C-x C-c C-g C-x k RET ESC [ B ESC [ B ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ~ / b i n / C-x C-s C-x C-c ESC [ B ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ B C-d / h o m e / j r o l l i n s C-x C-s C-x C-c C-x C-f ESC [ A ESC [ A ESC [ B RET ESC [ B ESC [ B ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C c h p s t SPC e n v SPC C-x C-s ESC b - e SPC C-x C-s C-x C-s C-x C-s C-x C-s C-x k RET ESC x r e p o TAB r TAB RET Recent messages: Setting up indent for shell type sh setting up indent stuff Indentation variables are now local. Indentation setup for shell type sh Saving file /home/jrollins/.service/mpdproxy/run... Wrote /home/jrollins/.service/mpdproxy/run Saving file /home/jrollins/.service/mpdproxy/run... Wrote /home/jrollins/.service/mpdproxy/run (No changes need to be saved) [3 times] Making completion list... From cyd@stupidchicken.com Sun Mar 15 08:29:29 2009 Received: (at control) by emacsbugs.donarmstrong.com; 15 Mar 2009 15:29:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2FFTRUn026711 for ; Sun, 15 Mar 2009 08:29:28 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 80DF657E21C; Sun, 15 Mar 2009 11:30:45 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: reassign bugs Date: Sun, 15 Mar 2009 11:30:45 -0400 Message-ID: <87r60yby6y.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 2677 wishlist reassign 2674 spam thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 29 15:28:39 2011 Received: (at control) by debbugs.gnu.org; 29 May 2011 19:28:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQlfC-000899-UU for submit@debbugs.gnu.org; Sun, 29 May 2011 15:28:39 -0400 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQlf9-00088x-PA for control@debbugs.gnu.org; Sun, 29 May 2011 15:28:36 -0400 Received: from furball ([64.134.101.122]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p4TJSSHE023696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 29 May 2011 15:28:30 -0400 Received: by furball (Postfix, from userid 1000) id B42FF16087D; Sun, 29 May 2011 15:28:26 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: merge 4944 2677 Date: Sun, 29 May 2011 15:28:26 -0400 Message-ID: <87hb8ds3vp.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) merge 4944 2677 thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 02:45:51 2011 Received: (at control) by debbugs.gnu.org; 5 Oct 2011 06:45:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBLEk-0001If-Q8 for submit@debbugs.gnu.org; Wed, 05 Oct 2011 02:45:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBLEf-0001IQ-4n for control@debbugs.gnu.org; Wed, 05 Oct 2011 02:45:46 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBLEd-0006sD-AG for control@debbugs.gnu.org; Wed, 05 Oct 2011 02:45:43 -0400 Date: Wed, 05 Oct 2011 02:45:43 -0400 Message-Id: Subject: control message for bug 4944 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) tag 4944 patch From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 22:48:42 2016 Received: (at 2677) by debbugs.gnu.org; 29 Feb 2016 03:48:42 +0000 Received: from localhost ([127.0.0.1]:51246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaEp7-0004tM-QT for submit@debbugs.gnu.org; Sun, 28 Feb 2016 22:48:41 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39517) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaEp6-0004tD-3o for 2677@debbugs.gnu.org; Sun, 28 Feb 2016 22:48:40 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaEof-0000z7-6b; Mon, 29 Feb 2016 04:48:14 +0100 From: Lars Ingebrigtsen To: Jameson Rollins Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: Date: Mon, 29 Feb 2016 14:48:08 +1100 In-Reply-To: (Jameson Rollins's message of "Sat, 14 Mar 2009 01:23:59 -0400") Message-ID: <87vb58yy6f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aaEof-0000z7-6b X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457322495.79512@2+DQyd16GOtPxpKIhPjdkg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 2677 Cc: rfrancoise@debian.org, 2677@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Jameson Rollins writes: > This is a feature request more than a bug: I would really like to see > the ability to run the emacs server daemon ("emacs --daemon") in the > foreground. This would be very useful. I would like to be able to > start/control this daemon with a service supervisor (i.e. runit [0]). > This would allow me to easily start the daemon on system start up, and > have access to the daemon from all xsessions and virtual terminals. > > I would also be prefer to be able to specify daemon parameters as > well, such as the location of the socket file. --daemon is a switch for running Emacs in the background. If you don't want Emacs running in the background, you don't have to do anything in particular. And setting the server socket location can be done easily from an .el file or with --eval. So I don't really think there's anything that needs to be done here. Please reopen the bug report if you disagree. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 22:48:50 2016 Received: (at control) by debbugs.gnu.org; 29 Feb 2016 03:48:50 +0000 Received: from localhost ([127.0.0.1]:51249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaEpG-0004tg-1i for submit@debbugs.gnu.org; Sun, 28 Feb 2016 22:48:50 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39525) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaEpE-0004tY-8v for control@debbugs.gnu.org; Sun, 28 Feb 2016 22:48:48 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaEoq-0000zH-SF for control@debbugs.gnu.org; Mon, 29 Feb 2016 04:48:25 +0100 Date: Mon, 29 Feb 2016 14:48:21 +1100 Message-Id: <87twksyy62.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #2677 X-MailScanner-ID: 1aaEoq-0000zH-SF X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457322505.71991@s5snPFmx2XYVFtOYoCzqng X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 2677 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 12:09:10 2016 Received: (at 2677) by debbugs.gnu.org; 29 Feb 2016 17:09:10 +0000 Received: from localhost ([127.0.0.1]:53903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRJm-0007h4-2D for submit@debbugs.gnu.org; Mon, 29 Feb 2016 12:09:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42426) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRJj-0007gr-Sb for 2677@debbugs.gnu.org; Mon, 29 Feb 2016 12:09:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaRJd-000838-TA for 2677@debbugs.gnu.org; Mon, 29 Feb 2016 12:09:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaRJT-0007yZ-Bf; Mon, 29 Feb 2016 12:08:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aaRJR-0001CF-Eq; Mon, 29 Feb 2016 12:08:49 -0500 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <87vb58yy6f.fsf@gnus.org> X-Spook: Recruitment Al Qaida Tremor cracking threat fissionable X-Ran: U*".Yv_{CBr(y3:ZjC<64Gc1O>:61frI%;fLv(YXYkm#BoVY"ciIp]M1jBIiE*'kLd'5s5 X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 29 Feb 2016 12:08:49 -0500 In-Reply-To: <87vb58yy6f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 29 Feb 2016 14:48:08 +1100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 2677 Cc: rfrancoise@debian.org, 2677@debbugs.gnu.org, Jameson Rollins X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Lars Ingebrigtsen wrote: > Jameson Rollins writes: > >> This is a feature request more than a bug: I would really like to see >> the ability to run the emacs server daemon ("emacs --daemon") in the >> foreground. This would be very useful. I would like to be able to >> start/control this daemon with a service supervisor (i.e. runit [0]). >> This would allow me to easily start the daemon on system start up, and >> have access to the daemon from all xsessions and virtual terminals. > > --daemon is a switch for running Emacs in the background. If you don't > want Emacs running in the background, you don't have to do anything in > particular. --daemon _should_ be a switch for running a "headless" Emacs. The fact that it forks and runs in the background is not an essential condition, and the justification for not doing so is provided in the report. See eg "new-style daemons" on https://www.freedesktop.org/software/systemd/man/daemon.html I guess that systemd type = forking should be able to handle current Emacs, but the above reference says that "new-style" daemons are preferred. From unknown Fri Jun 13 10:22:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Mon, 29 Feb 2016 17:11:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 12:11:27 2016 Received: (at 2677) by debbugs.gnu.org; 29 Feb 2016 17:11:28 +0000 Received: from localhost ([127.0.0.1]:53911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRLz-0007l2-Nc for submit@debbugs.gnu.org; Mon, 29 Feb 2016 12:11:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44165) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRLy-0007kq-4N for 2677@debbugs.gnu.org; Mon, 29 Feb 2016 12:11:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaRLp-0000kX-EC for 2677@debbugs.gnu.org; Mon, 29 Feb 2016 12:11:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaRLf-0000Za-Gx; Mon, 29 Feb 2016 12:11:07 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aaRLd-0001fJ-Vz; Mon, 29 Feb 2016 12:11:06 -0500 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <87vb58yy6f.fsf@gnus.org> X-Spook: clones eternity server Agfa smugglers Wildfire Bomb squad X-Ran: =cu")wQ(IL0?s~xhk)G~/O5_#UyatP?|A?L+?-a?i}DIZ:?}j63z'5>=UBfGJM~;bm>%_d X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 29 Feb 2016 12:11:05 -0500 In-Reply-To: (Glenn Morris's message of "Mon, 29 Feb 2016 12:08:49 -0500") Message-ID: <8dlh631lxy.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 2677 Cc: rfrancoise@debian.org, 2677@debbugs.gnu.org, Jameson Rollins X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) PS there's more explanation in the merged bug 4944, so I reopened this. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 12:22:34 2016 Received: (at 2677) by debbugs.gnu.org; 29 Feb 2016 17:22:34 +0000 Received: from localhost ([127.0.0.1]:53930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRWk-0001FU-EK for submit@debbugs.gnu.org; Mon, 29 Feb 2016 12:22:34 -0500 Received: from outgoing-mail.its.caltech.edu ([131.215.239.19]:49551) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaRWi-0001FI-S8 for 2677@debbugs.gnu.org; Mon, 29 Feb 2016 12:22:33 -0500 Received: from smtp01.caltech.edu (localhost [127.0.0.1]) by smtp01.caltech.edu (Postfix) with ESMTP id F16DDA1B16; Mon, 29 Feb 2016 09:22:26 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on smtp01.caltech.edu by amavisd-new Received: from finestructure.net (gwave-185.ligo.caltech.edu [131.215.114.185]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jrollins) by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id 19ED9A1F5D; Mon, 29 Feb 2016 09:22:26 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 0960B601F0; Mon, 29 Feb 2016 09:22:26 -0800 (PST) From: Jameson Graef Rollins To: Glenn Morris , Lars Ingebrigtsen Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground In-Reply-To: References: <87vb58yy6f.fsf@gnus.org> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Mon, 29 Feb 2016 09:22:24 -0800 Message-ID: <87d1rfv3cf.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2677 Cc: rfrancoise@debian.org, 2677@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain On Mon, Feb 29 2016, Glenn Morris wrote: > Lars Ingebrigtsen wrote: > >> Jameson Rollins writes: >> >>> This is a feature request more than a bug: I would really like to see >>> the ability to run the emacs server daemon ("emacs --daemon") in the >>> foreground. This would be very useful. I would like to be able to >>> start/control this daemon with a service supervisor (i.e. runit [0]). >>> This would allow me to easily start the daemon on system start up, and >>> have access to the daemon from all xsessions and virtual terminals. >> >> --daemon is a switch for running Emacs in the background. If you don't >> want Emacs running in the background, you don't have to do anything in >> particular. > > --daemon _should_ be a switch for running a "headless" Emacs. > The fact that it forks and runs in the background is not an essential > condition, and the justification for not doing so is provided in the > report. See eg "new-style daemons" on > https://www.freedesktop.org/software/systemd/man/daemon.html > > I guess that systemd type = forking should be able to handle current > Emacs, but the above reference says that "new-style" daemons are > preferred. Glenn, than you very much for responding to this and reopening the bug (I was going to reopen as well). The issue is as you describe. There should at least be a way to operate the emacs server such that it does not fork, but just runs in a "headless" mode, with logs to stderr. This is the "new-style" that you're referring to, that is how all modern init systems handle daemons. Thanks for the consideration. jamie. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJW1H5QAAoJEO00zqvie6q8hmQQAKJ0dW6km/mTCbqJVwRWxePC u0Ltt0Ub1qf5RcfF0J7F/E0pvn0OgYTUUBCDmN3u4n6DnqfXLfi7+O8S74/Kp17R gWYC4PQDXPFFgtL8c/AXIZd/h4XxA4xTP/FDnaawooE2XpomS5zeqwbdOm9ktVxH IBRZy0h75rfOWzALYCv7AOfc5zdCU08br7WPeLaAbCQnpwzDcmiOnShJZgNHiJem DAgSnpVIhI3psFBOIk20TrEeFwt1iEcFFZ4vktS6cFsHggYXhEmu014kzBFj7RMi 8Bvj16dYBqqJSwPRoHdyJJG+MkPtUiQwFo/x5b/eQIH94Z1uJGjSHFfVB0OubaQ4 Kssn3EVp4ICENAsA4q1spgDnRk6wkwRi0aysREQl5KA7OpjBvcU0pVVb2XofLfg4 U7pKGogUzujYbCZiph/5K5Q5UzYcqBfMkv8iXslaSZn7+lbu1xxW5f4AauVTgsWC 3DieDBmTnELhB375qEAprVuhB9Ph28Ow68j0UsC13ECbrYKVYtDg6PKuLkAc6uuT XRkl6xsSoWz0E+hl1Ytmgk4DO+/RlTGjMwtJcC/EpZwLlO3hOswoYzzBi/EvcuIY J6BtfXHU7kFIFvZkXdqPyEGqXwFSRtMmUypTEQe7HiS6JbVLxlfDbdLWY1xCUydZ MftLMQGbbpzeieTlog3n =WMHk -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 16 02:35:39 2016 Received: (at 2677-done) by debbugs.gnu.org; 16 Nov 2016 07:35:39 +0000 Received: from localhost ([127.0.0.1]:58787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6ukt-0001oC-1G for submit@debbugs.gnu.org; Wed, 16 Nov 2016 02:35:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6ukr-0001nw-Pu for 2677-done@debbugs.gnu.org; Wed, 16 Nov 2016 02:35:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6ukm-00008u-8f for 2677-done@debbugs.gnu.org; Wed, 16 Nov 2016 02:35:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6ukm-00008p-53 for 2677-done@debbugs.gnu.org; Wed, 16 Nov 2016 02:35:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1c6ukk-0001Kh-7Q; Wed, 16 Nov 2016 02:35:30 -0500 From: Glenn Morris To: 2677-done@debbugs.gnu.org Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <87vb58yy6f.fsf@gnus.org> <87d1rfv3cf.fsf@servo.finestructure.net> X-Spook: Jiang Zemin Ortega Scammers Afghanistan Deaths Narcos X-Ran: (Iqou\=1'f2PxgOg2 (Jameson Graef Rollins's message of "Mon, 29 Feb 2016 09:22:24 -0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.8 (-------) X-Debbugs-Envelope-To: 2677-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.8 (-------) Version: 26.1 Rev 36b99556 added --new-daemon which runs in the foreground. Sorry for the huge delay. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 16 10:51:00 2016 Received: (at 2677) by debbugs.gnu.org; 16 Nov 2016 15:51:00 +0000 Received: from localhost ([127.0.0.1]:59741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c72UF-00011K-VR for submit@debbugs.gnu.org; Wed, 16 Nov 2016 10:51:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c72UE-000112-Ez for 2677@debbugs.gnu.org; Wed, 16 Nov 2016 10:50:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c72U5-0007Li-JC for 2677@debbugs.gnu.org; Wed, 16 Nov 2016 10:50:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c72Tz-0007HR-V8; Wed, 16 Nov 2016 10:50:43 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4256 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c72Tz-00061D-2C; Wed, 16 Nov 2016 10:50:43 -0500 Date: Wed, 16 Nov 2016 17:50:41 +0200 Message-Id: <83zikzfmpa.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Wed, 16 Nov 2016 02:35:29 -0500) Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <87vb58yy6f.fsf@gnus.org> <87d1rfv3cf.fsf@servo.finestructure.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 2677 Cc: rgm@gnu.org, 2677@debbugs.gnu.org, jrollins@finestructure.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) > From: Glenn Morris > Date: Wed, 16 Nov 2016 02:35:29 -0500 > > Version: 26.1 > > Rev 36b99556 added --new-daemon which runs in the foreground. > Sorry for the huge delay. Thanks. I wonder if the options should better be called --daemon-bg/fg or maybe --daemon=bg/fg. That might better explain the nature of the distinction than "new" and "old". From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 16 12:22:05 2016 Received: (at 2677) by debbugs.gnu.org; 16 Nov 2016 17:22:05 +0000 Received: from localhost ([127.0.0.1]:59813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c73uP-0003R9-Cm for submit@debbugs.gnu.org; Wed, 16 Nov 2016 12:22:05 -0500 Received: from outgoing-mail.its.caltech.edu ([131.215.239.19]:48973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c73uN-0003Qb-BI for 2677@debbugs.gnu.org; Wed, 16 Nov 2016 12:22:03 -0500 Received: from smtp01.caltech.edu (localhost [127.0.0.1]) by smtp01.caltech.edu (Postfix) with ESMTP id 8E3E9A0AFC for <2677@debbugs.gnu.org>; Wed, 16 Nov 2016 09:21:56 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on smtp01.caltech.edu by amavisd-new Received: from finestructure.net (gwave-71.ligo.caltech.edu [131.215.114.71]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jrollins) by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id BCC8BA0A18 for <2677@debbugs.gnu.org>; Wed, 16 Nov 2016 09:21:55 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id AE564602C6; Wed, 16 Nov 2016 09:21:55 -0800 (PST) From: Jameson Graef Rollins To: 2677@debbugs.gnu.org Subject: Re: bug#2677: closed (Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground) In-Reply-To: References: User-Agent: Notmuch/0.22.1+72~gbb2cd53 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 16 Nov 2016 09:21:55 -0800 Message-ID: <87twb7tk5o.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 2677 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.2 (----) On Tue, Nov 15 2016, GNU bug Tracking System wrote: > Rev 36b99556 added --new-daemon which runs in the foreground. > Sorry for the huge delay. Thank you!!! From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 18 02:01:10 2016 Received: (at 2677) by debbugs.gnu.org; 18 Nov 2016 07:01:10 +0000 Received: from localhost ([127.0.0.1]:32990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7dAc-0006tM-66 for submit@debbugs.gnu.org; Fri, 18 Nov 2016 02:01:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7dAa-0006t9-U7 for 2677@debbugs.gnu.org; Fri, 18 Nov 2016 02:01:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7dAU-0000K3-9K for 2677@debbugs.gnu.org; Fri, 18 Nov 2016 02:01:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7dAU-0000Jt-6f; Fri, 18 Nov 2016 02:01:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1c7dAT-0006ik-5J; Fri, 18 Nov 2016 02:01:01 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <87vb58yy6f.fsf@gnus.org> <87d1rfv3cf.fsf@servo.finestructure.net> <83zikzfmpa.fsf@gnu.org> X-Spook: Leitrim INS Bletchley Park Police Narco banners Palestine X-Ran: 2km%i<^)%{{o~QW-m$D5tm^b.*J_"@A.')PnnvzSzg=a@eQk?Y$AK4Wb[;e&LCK~?Z&Dzw X-Hue: brightblue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 18 Nov 2016 02:01:01 -0500 In-Reply-To: <83zikzfmpa.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Nov 2016 17:50:41 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: 2677 Cc: 2677@debbugs.gnu.org, jrollins@finestructure.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) There were more replies on emacs-devel, so I followed up there.