X-Loop: owner@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Reply-To: Jameson Rollins <jrollins@HIDDEN>, 2677 <at> debbugs.gnu.org Resent-From: Jameson Rollins <jrollins@HIDDEN> Resent-To: bug-submit-list@HIDDEN Resent-CC: Emacs Bugs <bug-gnu-emacs@HIDDEN> Resent-Date: Sun, 15 Mar 2009 04:15:03 +0000 Resent-Message-ID: <handler.2677.B.12370900601059@HIDDEN> Resent-Sender: help-debbugs@HIDDEN X-Emacs-PR-Message: report 2677 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@HIDDEN id=B.12370900601059 (code B ref -1); Sun, 15 Mar 2009 04:15:03 +0000 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 <submit@HIDDEN>; 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 <jrollins@HIDDEN>) id 1LihdP-0002cB-VA for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005Qc-Dg for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005QM-5g for emacs-pretest-bug@HIDDEN; 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@HIDDEN 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 <jrollins@HIDDEN>) id 1LiMLn-0007Ue-GX; Sat, 14 Mar 2009 01:23:59 -0400 To: emacs-pretest-bug@HIDDEN CC: rfrancoise@HIDDEN Message-Id: <E1LiMLn-0007Ue-GX@HIDDEN> From: Jameson Rollins <jrollins@HIDDEN> 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 <switch-frame> 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...
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) Content-Type: text/plain; charset=utf-8 X-Loop: owner@HIDDEN From: help-debbugs@HIDDEN (Emacs bug Tracking System) To: Jameson Rollins <jrollins@HIDDEN> Subject: bug#2677: Acknowledgement (23.0.91; need ability to run emacs --daemon in the foreground) Message-ID: <handler.2677.B.12370900601059.ack@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> X-Emacs-PR-Message: ack 2677 X-Emacs-PR-Package: emacs Reply-To: 2677 <at> debbugs.gnu.org Date: Sun, 15 Mar 2009 04:15:04 +0000 Thank you for filing a new bug report with Emacs. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Emacs Bugs <bug-gnu-emacs@HIDDEN> If you wish to submit further information on this problem, please send it to 2677 <at> debbugs.gnu.org, as before. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 2677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2677 Emacs Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by emacsbugs.donarmstrong.com; 15 Mar 2009 15:29:29 +0000 From cyd@HIDDEN Sun Mar 15 08:29:29 2009 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 <control@HIDDEN>; 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 <cyd@HIDDEN> To: control <at> debbugs.gnu.org Subject: reassign bugs Date: Sun, 15 Mar 2009 11:30:45 -0400 Message-ID: <87r60yby6y.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii severity 2677 wishlist reassign 2674 spam thanks
Received: (at control) by debbugs.gnu.org; 29 May 2011 19:28:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 29 15:28:39 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QQlfC-000899-UU for submit <at> 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 <cyd@HIDDEN>) id 1QQlf9-00088x-PA for control <at> 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 <control <at> debbugs.gnu.org>; 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 <cyd@HIDDEN> To: control <at> debbugs.gnu.org Subject: merge 4944 2677 Date: Sun, 29 May 2011 15:28:26 -0400 Message-ID: <87hb8ds3vp.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) merge 4944 2677 thanks
Received: (at control) by debbugs.gnu.org; 5 Oct 2011 06:45:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 05 02:45:51 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RBLEk-0001If-Q8 for submit <at> 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 <rgm@HIDDEN>) id 1RBLEf-0001IQ-4n for control <at> 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 <rgm@HIDDEN>) id 1RBLEd-0006sD-AG for control <at> debbugs.gnu.org; Wed, 05 Oct 2011 02:45:43 -0400 Date: Wed, 05 Oct 2011 02:45:43 -0400 Message-Id: <E1RBLEd-0006sD-AG@HIDDEN> Subject: control message for bug 4944 To: <control <at> debbugs.gnu.org> X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris <rgm@HIDDEN> X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.4 (------) tag 4944 patch
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Feb 2016 03:49:01 +0000 Resent-Message-ID: <handler.2677.B2677.145671772218812 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Jameson Rollins <jrollins@HIDDEN> Cc: rfrancoise@HIDDEN, 2677 <at> debbugs.gnu.org Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.145671772218812 (code B ref 2677); Mon, 29 Feb 2016 03:49:01 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaEp7-0004tM-QT for submit <at> 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 <larsi@HIDDEN>) id 1aaEp6-0004tD-3o for 2677 <at> 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 <larsi@HIDDEN>) id 1aaEof-0000z7-6b; Mon, 29 Feb 2016 04:48:14 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> Date: Mon, 29 Feb 2016 14:48:08 +1100 In-Reply-To: <E1LiMLn-0007Ue-GX@HIDDEN> (Jameson Rollins's message of "Sat, 14 Mar 2009 01:23:59 -0400") Message-ID: <87vb58yy6f.fsf@HIDDEN> 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@HIDDEN MailScanner-NULL-Check: 1457322495.79512@2+DQyd16GOtPxpKIhPjdkg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) Jameson Rollins <jrollins@HIDDEN> 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
Received: (at control) by debbugs.gnu.org; 29 Feb 2016 03:48:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 28 22:48:50 2016 Received: from localhost ([127.0.0.1]:51249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaEpG-0004tg-1i for submit <at> 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 <larsi@HIDDEN>) id 1aaEpE-0004tY-8v for control <at> 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 <larsi@HIDDEN>) id 1aaEoq-0000zH-SF for control <at> debbugs.gnu.org; Mon, 29 Feb 2016 04:48:25 +0100 Date: Mon, 29 Feb 2016 14:48:21 +1100 Message-Id: <87twksyy62.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #2677 X-MailScanner-ID: 1aaEoq-0000zH-SF X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@HIDDEN MailScanner-NULL-Check: 1457322505.71991@s5snPFmx2XYVFtOYoCzqng X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) close 2677
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Feb 2016 17:10:02 +0000 Resent-Message-ID: <handler.2677.B2677.145676575029582 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: rfrancoise@HIDDEN, 2677 <at> debbugs.gnu.org, Jameson Rollins <jrollins@HIDDEN> Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.145676575029582 (code B ref 2677); Mon, 29 Feb 2016 17:10:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaRJm-0007h4-2D for submit <at> 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 <rgm@HIDDEN>) id 1aaRJj-0007gr-Sb for 2677 <at> 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 <rgm@HIDDEN>) id 1aaRJd-000838-TA for 2677 <at> 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 <rgm@HIDDEN>) 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 <rgm@HIDDEN>) id 1aaRJR-0001CF-Eq; Mon, 29 Feb 2016 12:08:49 -0500 From: Glenn Morris <rgm@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> 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-Attribution: GM Date: Mon, 29 Feb 2016 12:08:49 -0500 In-Reply-To: <87vb58yy6f.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Mon, 29 Feb 2016 14:48:08 +1100") Message-ID: <bdpovf1m1q.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Lars Ingebrigtsen wrote: > Jameson Rollins <jrollins@HIDDEN> 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.
Received: (at fakecontrol) by fakecontrolmessage; To: internal_control <at> debbugs.gnu.org From: Debbugs Internal Request <help-debbugs@HIDDEN> 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
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Feb 2016 17:12:01 +0000 Resent-Message-ID: <handler.2677.B2677.145676588829828 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: rfrancoise@HIDDEN, 2677 <at> debbugs.gnu.org, Jameson Rollins <jrollins@HIDDEN> Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.145676588829828 (code B ref 2677); Mon, 29 Feb 2016 17:12:01 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaRLz-0007l2-Nc for submit <at> 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 <rgm@HIDDEN>) id 1aaRLy-0007kq-4N for 2677 <at> 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 <rgm@HIDDEN>) id 1aaRLp-0000kX-EC for 2677 <at> 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 <rgm@HIDDEN>) 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 <rgm@HIDDEN>) id 1aaRLd-0001fJ-Vz; Mon, 29 Feb 2016 12:11:06 -0500 From: Glenn Morris <rgm@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> 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-Attribution: GM Date: Mon, 29 Feb 2016 12:11:05 -0500 In-Reply-To: <bdpovf1m1q.fsf@HIDDEN> (Glenn Morris's message of "Mon, 29 Feb 2016 12:08:49 -0500") Message-ID: <8dlh631lxy.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) PS there's more explanation in the merged bug 4944, so I reopened this.
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Jameson Graef Rollins <jrollins@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Feb 2016 17:23:03 +0000 Resent-Message-ID: <handler.2677.B2677.14567665544809 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris <rgm@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN> Cc: rfrancoise@HIDDEN, 2677 <at> debbugs.gnu.org Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.14567665544809 (code B ref 2677); Mon, 29 Feb 2016 17:23:03 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1aaRWk-0001FU-EK for submit <at> 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 <jrollins@HIDDEN>) id 1aaRWi-0001FI-S8 for 2677 <at> 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 <jrollins@HIDDEN> In-Reply-To: <bdpovf1m1q.fsf@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> 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@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain On Mon, Feb 29 2016, Glenn Morris <rgm@HIDDEN> wrote: > Lars Ingebrigtsen wrote: > >> Jameson Rollins <jrollins@HIDDEN> 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----- --=-=-=--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Glenn Morris <rgm@HIDDEN> Subject: bug#2677: closed (23.0.91; need ability to run emacs --daemon in the foreground) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.2677.D2677.14792817396961.ackdone <at> debbugs.gnu.org> References: <rm7f83zxku.fsf@HIDDEN> <E1LiMLn-0007Ue-GX@HIDDEN> X-Gnu-PR-Message: closed 2677 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Date: Wed, 16 Nov 2016 07:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1479281762-6993-0" This is a multi-part message in MIME format... ------------=_1479281762-6993-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 16 Nov 2016 02:35:29 -0500 with message-id <rm7f83zxku.fsf@HIDDEN> and subject line Re: bug#2677: 23.0.91; need ability to run emacs --daemon = in the foreground has caused the debbugs.gnu.org bug report #2677, regarding 23.0.91; need ability to run emacs --daemon in the foreground to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 2677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2677 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1479281762-6993-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <submit@HIDDEN>; 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 <jrollins@HIDDEN>) id 1LihdP-0002cB-VA for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005Qc-Dg for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005QM-5g for emacs-pretest-bug@HIDDEN; 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@HIDDEN 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 <jrollins@HIDDEN>) id 1LiMLn-0007Ue-GX; Sat, 14 Mar 2009 01:23:59 -0400 To: emacs-pretest-bug@HIDDEN CC: rfrancoise@HIDDEN Subject: 23.0.91; need ability to run emacs --daemon in the foreground Message-Id: <E1LiMLn-0007Ue-GX@HIDDEN> From: Jameson Rollins <jrollins@HIDDEN> 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 <switch-frame> 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... ------------=_1479281762-6993-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c6ukt-0001oC-1G for submit <at> 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 <rgm@HIDDEN>) id 1c6ukr-0001nw-Pu for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008u-8f for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008p-53 for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukk-0001Kh-7Q; Wed, 16 Nov 2016 02:35:30 -0500 From: Glenn Morris <rgm@HIDDEN> To: 2677-done <at> debbugs.gnu.org Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> X-Spook: Jiang Zemin Ortega Scammers Afghanistan Deaths Narcos X-Ran: (Iqou\=1'f2PxgOg2<uhniK3#.HSV\^biq7jPr{=Zmn!l(NRk=oEul'?K,*O3fWfnr}Zr4 X-Hue: brightblue X-Attribution: GM Date: Wed, 16 Nov 2016 02:35:29 -0500 In-Reply-To: <87d1rfv3cf.fsf@HIDDEN> (Jameson Graef Rollins's message of "Mon, 29 Feb 2016 09:22:24 -0800") Message-ID: <rm7f83zxku.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.8 (-------) Version: 26.1 Rev 36b99556 added --new-daemon which runs in the foreground. Sorry for the huge delay. ------------=_1479281762-6993-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jameson Rollins <jrollins@HIDDEN> Subject: bug#2677: closed (Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground) Message-ID: <handler.2677.D2677.14792817396961.notifdone <at> debbugs.gnu.org> References: <rm7f83zxku.fsf@HIDDEN> <E1LiMLn-0007Ue-GX@HIDDEN> X-Gnu-PR-Message: they-closed 2677 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 2677 <at> debbugs.gnu.org Date: Wed, 16 Nov 2016 07:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1479281762-6993-1" This is a multi-part message in MIME format... ------------=_1479281762-6993-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #2677: 23.0.91; need ability to run emacs --daemon in the foreground which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 2677 <at> debbugs.gnu.org. --=20 2677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2677 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1479281762-6993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c6ukt-0001oC-1G for submit <at> 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 <rgm@HIDDEN>) id 1c6ukr-0001nw-Pu for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008u-8f for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008p-53 for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukk-0001Kh-7Q; Wed, 16 Nov 2016 02:35:30 -0500 From: Glenn Morris <rgm@HIDDEN> To: 2677-done <at> debbugs.gnu.org Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> X-Spook: Jiang Zemin Ortega Scammers Afghanistan Deaths Narcos X-Ran: (Iqou\=1'f2PxgOg2<uhniK3#.HSV\^biq7jPr{=Zmn!l(NRk=oEul'?K,*O3fWfnr}Zr4 X-Hue: brightblue X-Attribution: GM Date: Wed, 16 Nov 2016 02:35:29 -0500 In-Reply-To: <87d1rfv3cf.fsf@HIDDEN> (Jameson Graef Rollins's message of "Mon, 29 Feb 2016 09:22:24 -0800") Message-ID: <rm7f83zxku.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.8 (-------) Version: 26.1 Rev 36b99556 added --new-daemon which runs in the foreground. Sorry for the huge delay. ------------=_1479281762-6993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <submit@HIDDEN>; 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 <jrollins@HIDDEN>) id 1LihdP-0002cB-VA for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005Qc-Dg for emacs-pretest-bug@HIDDEN; 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 <jrollins@HIDDEN>) id 1LihdO-0005QM-5g for emacs-pretest-bug@HIDDEN; 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@HIDDEN 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 <jrollins@HIDDEN>) id 1LiMLn-0007Ue-GX; Sat, 14 Mar 2009 01:23:59 -0400 To: emacs-pretest-bug@HIDDEN CC: rfrancoise@HIDDEN Subject: 23.0.91; need ability to run emacs --daemon in the foreground Message-Id: <E1LiMLn-0007Ue-GX@HIDDEN> From: Jameson Rollins <jrollins@HIDDEN> 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 <switch-frame> 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... ------------=_1479281762-6993-1--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Glenn Morris <rgm@HIDDEN> Subject: bug#4944: closed (23.1.50; starting a server without forking a daemon) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.4944.D2677.14792817396961.ackdone <at> debbugs.gnu.org> References: <rm7f83zxku.fsf@HIDDEN> <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> X-Gnu-PR-Message: closed 4944 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Date: Wed, 16 Nov 2016 07:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1479281762-6993-2" This is a multi-part message in MIME format... ------------=_1479281762-6993-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 16 Nov 2016 02:35:29 -0500 with message-id <rm7f83zxku.fsf@HIDDEN> and subject line Re: bug#2677: 23.0.91; need ability to run emacs --daemon = in the foreground has caused the debbugs.gnu.org bug report #2677, regarding 23.1.50; starting a server without forking a daemon to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 2677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2677 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1479281762-6993-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Nov 2009 14:47:39 +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=1.1 required=4.0 tests=FOURLA,MONOTONE_WORDS_5_8, MURPHY_DRUGS_REL8 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.14.3/8.14.3/Debian-5) with ESMTP id nAHElbXH012098 for <submit@HIDDEN>; Tue, 17 Nov 2009 06:47:38 -0800 Received: from mx10.gnu.org ([199.232.76.166]:36954) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from <kstuart@HIDDEN>) id 1NAPLE-0007Zl-Ga for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <kstuart@HIDDEN>) id 1NAPLB-0000qL-Kp for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:35 -0500 Received: from snt0-omc4-s17.snt0.hotmail.com ([65.55.90.220]:19087) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <kstuart@HIDDEN>) id 1NAOzz-0005XJ-EO for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:25:39 -0500 Received: from SNT120-W37 ([65.55.90.201]) by snt0-omc4-s17.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Nov 2009 06:25:34 -0800 Message-ID: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> Content-Type: multipart/mixed; boundary="_8c1f20e1-371c-41f3-855c-85a58218db06_" X-Originating-IP: [81.158.78.195] From: Kenny Stuart <kstuart@HIDDEN> To: <emacs-pretest-bug@HIDDEN> Subject: 23.1.50; starting a server without forking a daemon Date: Tue, 17 Nov 2009 14:25:34 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 17 Nov 2009 14:25:34.0776 (UTC) FILETIME=[D3612B80:01CA6791] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ --_8c1f20e1-371c-41f3-855c-85a58218db06_ Content-Type: multipart/alternative; boundary="_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_" --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please write in English if possible=2C because the Emacs maintainersusually= do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing lis= t. Please describe exactly what actions triggered the bugand the precise sympt= oms of the bug. If you can=2C givea recipe starting from `emacs -Q': This is a feature request to add the facility to start an emacs serverusing= a command-line option that runs as a foreground process insteadof forking = a daemon and exiting. Motivation: Forking a daemon then exiting the main process is incompatible withsystems = that manage processes as services=2C such as launchd on OS X=2Ctherefore it= is not possible to create an effective launchd serviceusing emacs in daemo= n mode. Possible Solution: For review I have included a patch that adds a --server command lineoption = that does what the --daemon option does=2C except it runs theserver in the = foreground process rather than forking a daemon andexiting. Please note that I am new to emacs and nix based operating systems andin th= e short time I have had to spend on this was unable to add a SIGINThandler = to gracefully shutdown the emacs server=2C not that it mattersto launchd si= nce it should send SIGTERM=2C but a solution would be nice. There appear to be issues on OS X with creating a new frame using the -c op= tionto emacsclient as emacs crashes (so far during garbage collection) when= doing this=2C however I am still learning the dev tools available to me on = thisplatform and it will be a while before I could effectively report such = bugs=2C sothis is just an FYI.=20 As I'm using a debug build so I can investigate further=2C can you confirmt= hat the build configure options I've used are ok and not likely to becontri= buting to the instability=2C are there any other options I should beusing? Please also note that this is the first time I have engaged with an opensou= rce project so if I'm not doing it right let me know. If Emacs crashed=2C and you have the Emacs process in the gdb debugger=2Cpl= ease include the output from the following gdb commands: `bt full' and `= xbacktrace'.For information about debugging Emacs=2C please read the file/A= pplications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-appkit-1038.2= 5) of 2009-11-17 on maverick.homeWindowing system distributor `Apple'=2C ve= rsion 10.3.1038configured using `configure '--with-ns' '--enable-asserts' = 'CFLAGS=3D-O0 -gdwarf-2 -g3 -Wno-pointer-sign'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil valu= e 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_GB.= UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default= enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode= : t menu-bar-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 line-number-mode: t = transient-mark-mode: t Recent input:<backspace> <backspace> L i b r a r y / L a u n c h A g e n t = s / <help-echo> o r g . g n u . e n <backspace> m a c s - s e r v e r . p l= i s t <return> <help-echo> t e x t / x m l <return> ~ / L i b r a r y / L = a u n c h A g e n t s SPC s c r i p t SPC o r <backspace> <backspace> f o r= SPC e m a c s SPC s e r v e r <left> <left> <left> <left> <left> <left> <l= eft> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> = <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> p l= s i t <backspace> <backspace> <backspace> i s t <return> a t t a c h m e n= t <return> <backspace> <help-echo> <menu-bar> <file> <write-file> <help-ec= ho> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace>= <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <b= ackspace> <backspace> <backspace> <backspace> <backspace> D o <tab> c <tab>= e m a c s - m a i l . t x t <return> <down-mouse-1> <mouse-1> <wheel-up> <= double-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <tri= ple-wheel-up> <wheel-down> <double-wheel-down> <wheel-down> <double-wheel-d= own> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel-dow= n> <triple-wheel-down> <wheel-down> <double-wheel-down> <triple-wheel-down>= <triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple= -wheel-up> <triple-wheel-up> <wheel-up> <double-wheel-up> <triple-wheel-up>= <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <wheel-up> <double-w= heel-up> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel= -down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up> <tr= iple-wheel-up> <wheel-up> <wheel-up> <wheel-up> <down-mouse-1> <mouse-movem= ent> <mouse-movement> <help-echo> <mouse-movement> <help-echo> <mouse-movem= ent> <mouse-movement> <mouse-movement> <help-echo> <mouse-movement> <mouse-= movement> <drag-mouse-1> <menu-bar> <edit> <copy> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> M-x r e p o r t - e m a c s - b u g <return> Recent messages:Auto-saving...doneUndo!Auto-saving...doneMaking completion = list...Saving file /Users/kstuart/Documents/emacs-mail.txt...Wrote /Users/k= stuart/Documents/emacs-mail.txtbyte-code: Beginning of buffer [2 times]byte= -code: End of buffer [2 times]byte-code: Beginning of buffer [8 times]Saved= text from "Please write in English if possible=2C bec" Load-path shadows:/Applications/Emacs.app/Contents/Resources/lisp/emacs-lis= p/lucid hides /Applications/Emacs.app/Contents/Resources/lisp/obsolete/luci= d/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/levents hides /= Applications/Emacs.app/Contents/Resources/lisp/obsolete/levents Features:(ispell newcomment help-mode view shadow mail-extr message ecomple= terfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcapma= il-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheadergnus-util= netrc time-date mm-util mail-prsvr gmm-utils wid-editmailheader canlock sh= a1 hex-util hashcash mail-utils emacsbug sendmailregexp-opt server tooltip = ediff-hook vc-hooks lisp-float-type mwheelns-win easymenu tool-bar dnd font= set image fringe lisp-mode registerpage menu-bar rfn-eshadow timer select s= croll-bar mldrag mouse jit-lockfont-lock syntax facemenu font-core frame ch= am georgian utf-8-langmisc-lang vietnamese tibetan thai tai-viet lao korean= japanese hebrewgreek romanian slovak czech european ethiopic indian cyrill= ic chinesecase-table epa-hook jka-cmpr-hook help simple abbrev loaddefs but= tonminibuffer faces cus-face text-properties overlay md5 base64 format envc= ode-pages mule custom widget hashtable-print-readable backquotemake-network= -process ns multi-tty emacs) =20 _________________________________________________________________ Use Hotmail to send and receive mail from your different email accounts http://clk.atdmt.com/UKM/go/186394592/direct/01/= --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } --></style> </head> <body class=3D'hmmessage'> <div>Please write in English if possible=2C because the Emacs maintainers</= div><div>usually do not have translators to read other languages for them.<= /div><div><br></div><div>Your bug report will be posted to the emacs-pretes= t-bug@HIDDEN mailing list.</div><div><br></div><div>Please describe exactl= y what actions triggered the bug</div><div>and the precise symptoms of the = bug.  =3BIf you can=2C give</div><div>a recipe starting from `emacs -Q'= :</div><div><br></div><div>This is a feature request to add the facility to= start an emacs server</div><div>using a command-line option that runs as a= foreground process instead</div><div>of forking a daemon and exiting.</div= ><div><br></div><div>Motivation:</div><div><br></div><div>Forking a daemon = then exiting the main process is incompatible with</div><div>systems that m= anage processes as services=2C such as launchd on OS X=2C</div><div>therefo= re it is not possible to create an effective launchd service</div><div>usin= g emacs in daemon mode.</div><div><br></div><div>Possible Solution:</div><d= iv><br></div><div>For review I have included a patch that adds a --server c= ommand line</div><div>option that does what the --daemon option does=2C exc= ept it runs the</div><div>server in the foreground process rather than fork= ing a daemon and</div><div>exiting.</div><div><br></div><div>Please note th= at I am new to emacs and nix based operating systems and</div><div>in the s= hort time I have had to spend on this was unable to add a SIGINT</div><div>= handler to gracefully shutdown the emacs server=2C not that it matters</div= ><div>to launchd since it should send SIGTERM=2C but a solution would be ni= ce.</div><div><br></div><div>There appear to be issues on OS X with creatin= g a new frame using the -c option</div><div>to emacsclient as emacs crashes= (so far during garbage collection) when</div><div>doing this=2C =3Bhow= ever I am still =3Blearning the dev tools available to me on this</div>= <div>platform and it will be a =3Bwhile before I could effectively repo= rt such bugs=2C so</div><div>this is just an FYI. =3B</div><div><br></d= iv><div>As I'm using a debug build so I can investigate further=2C can you = confirm</div><div>that the build configure options I've used are ok and not= likely to be</div><div>contributing to the instability=2C are there any ot= her options I should be</div><div>using?</div><div><br></div><div>Please al= so note that this is the first time I have engaged with an open</div><div>s= ource project so if I'm not doing it right let me know.</div><div><br></div= ><div>If Emacs crashed=2C and you have the Emacs process in the gdb debugge= r=2C</div><div>please include the output from the following gdb commands:</= div><div> =3B =3B  =3B`bt full' and `xbacktrace'.</div><div>For= information about debugging Emacs=2C please read the file</div><div>/Appli= cations/Emacs.app/Contents/Resources/etc/DEBUG.</div><div><br></div><div><b= r></div><div>In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-= appkit-1038.25)</div><div> =3Bof 2009-11-17 on maverick.home</div><div>= Windowing system distributor `Apple'=2C version 10.3.1038</div><div>configu= red using `configure  =3B'--with-ns' '--enable-asserts' 'CFLAGS=3D-O0 -= gdwarf-2 -g3 -Wno-pointer-sign''</div><div><br></div><div>Important setting= s:</div><div> =3B =3Bvalue of $LC_ALL: nil</div><div> =3B = =3Bvalue of $LC_COLLATE: nil</div><div> =3B =3Bvalue of $LC_CTYPE: = nil</div><div> =3B =3Bvalue of $LC_MESSAGES: nil</div><div> =3B=  =3Bvalue of $LC_MONETARY: nil</div><div> =3B =3Bvalue of $LC_N= UMERIC: nil</div><div> =3B =3Bvalue of $LC_TIME: nil</div><div>&nbs= p=3B =3Bvalue of $LANG: en_GB.UTF-8</div><div> =3B =3Bvalue of = $XMODIFIERS: nil</div><div> =3B =3Blocale-coding-system: utf-8-unix= </div><div> =3B =3Bdefault enable-multibyte-characters: t</div><div= ><br></div><div>Major mode: Text</div><div><br></div><div>Minor modes in ef= fect:</div><div> =3B =3Btooltip-mode: t</div><div> =3B =3Bm= ouse-wheel-mode: t</div><div> =3B =3Btool-bar-mode: t</div><div>&nb= sp=3B =3Bmenu-bar-mode: t</div><div> =3B =3Bfile-name-shadow-mo= de: t</div><div> =3B =3Bglobal-font-lock-mode: t</div><div> =3B=  =3Bfont-lock-mode: t</div><div> =3B =3Bglobal-auto-composition= -mode: t</div><div> =3B =3Bauto-composition-mode: t</div><div> = =3B =3Bauto-encryption-mode: t</div><div> =3B =3Bauto-compressi= on-mode: t</div><div> =3B =3Bline-number-mode: t</div><div> =3B=  =3Btransient-mark-mode: t</div><div><br></div><div>Recent input:</div>= <div><=3Bbackspace>=3B <=3Bbackspace>=3B L i b r a r y / L a u n c = h =3B</div><div>A g e n t s / <=3Bhelp-echo>=3B o r g . g n u . e n= <=3Bbackspace>=3B =3B</div><div>m a c s - s e r v e r . p l i s t = <=3Breturn>=3B <=3Bhelp-echo>=3B =3B</div><div>t e x t / x m l = <=3Breturn>=3B ~ / L i b r a r y / L a u =3B</div><div>n c h A g e = n t s SPC s c r i p t SPC o r <=3Bbackspace>=3B =3B</div><div><= =3Bbackspace>=3B f o r SPC e m a c s SPC s e r v e r <=3Bleft>=3B&nbs= p=3B</div><div><=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Blef= t>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B=  =3B</div><div><=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <= =3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft= >=3B =3B</div><div><=3Bbackspace>=3B <=3Bbackspace>=3B <=3B= backspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B</div><d= iv><=3Bbackspace>=3B p l s i t <=3Bbackspace>=3B <=3Bbackspace>= =3B <=3Bbackspace>=3B =3B</div><div>i s t <=3Breturn>=3B a t t = a c h m e n t <=3Breturn>=3B <=3Bbackspace>=3B =3B</div><div>&l= t=3Bhelp-echo>=3B <=3Bmenu-bar>=3B <=3Bfile>=3B <=3Bwrite-file&= gt=3B <=3Bhelp-echo>=3B =3B</div><div><=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace&= gt=3B =3B</div><div><=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B</div><di= v><=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B =3B</div><div><=3Bbackspace>= =3B <=3Bbackspace>=3B D o <=3Btab>=3B c <=3Btab>=3B e m a c s&n= bsp=3B</div><div>- m a i l . t x t <=3Breturn>=3B <=3Bdown-mouse-1>= =3B <=3Bmouse-1>=3B =3B</div><div><=3Bwheel-up>=3B <=3Bdouble= -wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B&nbs= p=3B</div><div><=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <= =3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B =3B</div><div><=3Bw= heel-down>=3B <=3Bdouble-wheel-down>=3B <=3Bwheel-down>=3B <=3B= double-wheel-down>=3B =3B</div><div><=3Btriple-wheel-down>=3B <= =3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B</div><div>= <=3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B <=3Btriple-wheel-dow= n>=3B =3B</div><div><=3Btriple-wheel-down>=3B <=3Bwheel-up>= =3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B</div><d= iv><=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Bwheel-up&g= t=3B <=3Bdouble-wheel-up>=3B =3B</div><div><=3Btriple-wheel-up>= =3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B</div><d= iv><=3Btriple-wheel-up>=3B <=3Bwheel-up>=3B <=3Bdouble-wheel-up&g= t=3B <=3Bwheel-down>=3B =3B</div><div><=3Bdouble-wheel-down>=3B= <=3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B</div><= div><=3Bwheel-up>=3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up&= gt=3B <=3Btriple-wheel-up>=3B =3B</div><div><=3Btriple-wheel-up&g= t=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B =3B= </div><div><=3Bdown-mouse-1>=3B <=3Bmouse-movement>=3B <=3Bmouse-= movement>=3B <=3Bhelp-echo>=3B =3B</div><div><=3Bmouse-movement= >=3B <=3Bhelp-echo>=3B <=3Bmouse-movement>=3B <=3Bmouse-movemen= t>=3B =3B</div><div><=3Bmouse-movement>=3B <=3Bhelp-echo>=3B = <=3Bmouse-movement>=3B <=3Bmouse-movement>=3B =3B</div><div><= =3Bdrag-mouse-1>=3B <=3Bmenu-bar>=3B <=3Bedit>=3B <=3Bcopy>= =3B <=3Bdown-mouse-1>=3B =3B</div><div><=3Bdown-mouse-1>=3B <= =3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B&nbs= p=3B</div><div><=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown= -mouse-1>=3B <=3Bdown-mouse-1>=3B =3B</div><div><=3Bdown-mouse-= 1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-= 1>=3B =3B</div><div><=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B= <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B =3B</div><div><=3B= down-mouse-1>=3B M-x r e p o r t - e m a c s - b u g =3B</div><div>&l= t=3Breturn>=3B</div><div><br></div><div>Recent messages:</div><div>Auto-s= aving...done</div><div>Undo!</div><div>Auto-saving...done</div><div>Making = completion list...</div><div>Saving file /Users/kstuart/Documents/emacs-mai= l.txt...</div><div>Wrote /Users/kstuart/Documents/emacs-mail.txt</div><div>= byte-code: Beginning of buffer [2 times]</div><div>byte-code: End of buffer= [2 times]</div><div>byte-code: Beginning of buffer [8 times]</div><div>Sav= ed text from "Please write in English if possible=2C bec"</div><div><br></d= iv><div>Load-path shadows:</div><div>/Applications/Emacs.app/Contents/Resou= rces/lisp/emacs-lisp/lucid hides /Applications/Emacs.app/Contents/Resources= /lisp/obsolete/lucid</div><div>/Applications/Emacs.app/Contents/Resources/l= isp/emacs-lisp/levents hides /Applications/Emacs.app/Contents/Resources/lis= p/obsolete/levents</div><div><br></div><div>Features:</div><div>(ispell new= comment help-mode view shadow mail-extr message ecomplete</div><div>rfc822 = mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap</div><div>= mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader</div><= div>gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit</div><d= iv>mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail</= div><div>regexp-opt server tooltip ediff-hook vc-hooks lisp-float-type mwhe= el</div><div>ns-win easymenu tool-bar dnd fontset image fringe lisp-mode re= gister</div><div>page menu-bar rfn-eshadow timer select scroll-bar mldrag m= ouse jit-lock</div><div>font-lock syntax facemenu font-core frame cham geor= gian utf-8-lang</div><div>misc-lang vietnamese tibetan thai tai-viet lao ko= rean japanese hebrew</div><div>greek romanian slovak czech european ethiopi= c indian cyrillic chinese</div><div>case-table epa-hook jka-cmpr-hook help = simple abbrev loaddefs button</div><div>minibuffer faces cus-face text-prop= erties overlay md5 base64 format env</div><div>code-pages mule custom widge= t hashtable-print-readable backquote</div><div>make-network-process ns mult= i-tty emacs)</div> <br /><hr />Use Hotmail to send and receive m= ail from your different email accounts. <a href=3D'http://clk.atdmt.com/UKM= /go/186394592/direct/01/' target=3D'_new'>Find out how.</a></body> </html>= --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_-- --_8c1f20e1-371c-41f3-855c-85a58218db06_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="emacs-foreground-server.patch" ZGlmZiAtLWdpdCBhL3NyYy9lbWFjcy5jIGIvc3JjL2VtYWNzLmMKaW5kZXggZDk2YjNhMS4uOTU2 Y2JlZSAxMDA2NDQKLS0tIGEvc3JjL2VtYWNzLmMKKysrIGIvc3JjL2VtYWNzLmMKQEAgLTI3OSw2 ICsyNzksNyBAQCBJbml0aWFsaXphdGlvbiBvcHRpb25zOlxuXAogLS1uby13aW5kb3ctc3lzdGVt LCAtbncgICAgIGRvIG5vdCBjb21tdW5pY2F0ZSB3aXRoIFgsIGlnbm9yaW5nICRESVNQTEFZXG5c CiAtLXF1aWNrLCAtUSAgICAgICAgICAgICAgICAgZXF1aXZhbGVudCB0byAtcSAtLW5vLXNpdGUt ZmlsZSAtLW5vLXNwbGFzaFxuXAogLS1zY3JpcHQgRklMRSAgICAgICAgICAgICAgIHJ1biBGSUxF IGFzIGFuIEVtYWNzIExpc3Agc2NyaXB0XG5cCistLXNlcnZlciAgICAgICAgICAgICAgICAgICAg c3RhcnQgYSBzZXJ2ZXIgaW4gdGhlIGZvcmVncm91bmRcblwKIC0tdGVybWluYWwsIC10IERFVklD RSAgICAgICB1c2UgREVWSUNFIGZvciB0ZXJtaW5hbCBJL09cblwKIC0tdXNlciwgLXUgVVNFUiAg ICAgICAgICAgICBsb2FkIH5VU0VSLy5lbWFjcyBpbnN0ZWFkIG9mIHlvdXIgb3duXG5cCiBcbiVz IgpAQCAtMTA4MSw3ICsxMDgyLDIwIEBAIG1haW4gKGludCBhcmdjLCBjaGFyICoqYXJndikKICAg ICAgIGV4aXQgKDApOwogICAgIH0KIAotICBpZiAoYXJnbWF0Y2ggKGFyZ3YsIGFyZ2MsICItZGFl bW9uIiwgIi0tZGFlbW9uIiwgNSwgTlVMTCwgJnNraXBfYXJncykKKyAgLyogc2VydmVyIG1vZGUg YW5kIGRhZW1vbiBtb2RlIGFyZSBtdXR1YWx5IGV4Y2x1c2l2ZSwgaWYgYm90aCBhcmUKKyAgICog c3BlY2lmaWVkIG9uIHRoZSBjb21tYW5kIGxpbmUsIHNlcnZlciBtb2RlIHdpbGwgdGFrZSBwcmVj ZWRlbmNlICovCisgIGlmIChhcmdtYXRjaCAoYXJndiwgYXJnYywgIi1zZXJ2ZXIiLCAiLS1zZXJ2 ZXIiLCA1LCBOVUxMLCAmc2tpcF9hcmdzKQorICAgICAgfHwgYXJnbWF0Y2ggKGFyZ3YsIGFyZ2Ms ICJzZXJ2ZXIiLCAiLS1zZXJ2ZXIiLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKKyAgICB7 CisgICAgICBpZiAoZG5hbWVfYXJnKQorICAgICAgICBkYWVtb25fbmFtZSA9IHhzdHJkdXAoZG5h bWVfYXJnKTsKKworICAgICAgLyogcmVxdWVzdCB0byBydW4gYXMgZm9yZWdyb3VuZCBzZXJ2ZXIg Ki8KKyAgICAgIGRhZW1vbl9waXBlWzFdID0gLTE7CisKKyAgICAgIC8qIEZJWE1FOiBuZWVkIHRv IHNodXQgdGhlIGZvcmVncm91bmQgc2VydmVyIGRvd24gZ3JhY2VmdWxseSBvbiBTSUdJTlQgKi8K KyAgICB9CisgIGVsc2UgaWYgKGFyZ21hdGNoIChhcmd2LCBhcmdjLCAiLWRhZW1vbiIsICItLWRh ZW1vbiIsIDUsIE5VTEwsICZza2lwX2FyZ3MpCiAgICAgICB8fCBhcmdtYXRjaCAoYXJndiwgYXJn YywgIi1kYWVtb24iLCAiLS1kYWVtb24iLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKICAg ICB7CiAjaWZuZGVmIERPU19OVApAQCAtMTg1NSw2ICsxODY5LDcgQEAgY29uc3Qgc3RydWN0IHN0 YW5kYXJkX2FyZ3Mgc3RhbmRhcmRfYXJnc1tdID0KICAgeyAiLWJhdGNoIiwgIi0tYmF0Y2giLCAx MDAsIDAgfSwKICAgeyAiLXNjcmlwdCIsICItLXNjcmlwdCIsIDEwMCwgMSB9LAogICB7ICItZGFl bW9uIiwgIi0tZGFlbW9uIiwgOTksIDAgfSwKKyAgeyAiLXNlcnZlciIsICItLXNlcnZlciIsIDk5 LCAwIH0sCiAgIHsgIi1oZWxwIiwgIi0taGVscCIsIDkwLCAwIH0sCiAgIHsgIi1uby11bmlieXRl IiwgIi0tbm8tdW5pYnl0ZSIsIDgzLCAwIH0sCiAgIHsgIi1tdWx0aWJ5dGUiLCAiLS1tdWx0aWJ5 dGUiLCA4MiwgMCB9LApAQCAtMjUxMiw3ICsyNTI3LDcgQEAgZnJvbSB0aGUgcGFyZW50IHByb2Nl c3MgYW5kIGl0cyB0dHkgZmlsZSBkZXNjcmlwdG9ycy4gICovKQogICBpZiAoIUlTX0RBRU1PTikK ICAgICBlcnJvciAoIlRoaXMgZnVuY3Rpb24gY2FuIG9ubHkgYmUgY2FsbGVkIGlmIGVtYWNzIGlz IHJ1biBhcyBhIGRhZW1vbiIpOwogCi0gIGlmIChkYWVtb25fcGlwZVsxXSA8IDApCisgIGlmIChk YWVtb25fcGlwZVsxXSA8IC0xKQogICAgIGVycm9yICgiVGhlIGRhZW1vbiBoYXMgYWxyZWFkeSBi ZWVuIGluaXRpYWxpemVkIik7CiAKICAgaWYgKE5JTFAgKFZhZnRlcl9pbml0X3RpbWUpKQpAQCAt MjUzMiwxMCArMjU0NywxNiBAQCBmcm9tIHRoZSBwYXJlbnQgcHJvY2VzcyBhbmQgaXRzIHR0eSBm aWxlIGRlc2NyaXB0b3JzLiAgKi8pCiAgICAgIEluc3RlYWQsIHdlIHNob3VsZCBwcm9iYWJseSBj bG9zZSB0aGUgcGlwZSBpbiBzdGFydC1wcm9jZXNzIGFuZAogICAgICBjYWxsLXByb2Nlc3MgdG8g bWFrZSBzdXJlIHRoZSBwaXBlIGlzIG5ldmVyIGluaGVyaXRlZCBieQogICAgICBzdWJwcm9jZXNz ZXMuICAqLwotICB3cml0ZSAoZGFlbW9uX3BpcGVbMV0sICJcbiIsIDEpOwotICBjbG9zZSAoZGFl bW9uX3BpcGVbMV0pOwotICAvKiBTZXQgaXQgdG8gYW4gaW52YWxpZCB2YWx1ZSBzbyB3ZSBrbm93 IHdlJ3ZlIGFscmVhZHkgcnVuIHRoaXMgZnVuY3Rpb24uICAqLwotICBkYWVtb25fcGlwZVsxXSA9 IC0xOworICBpZiAoZGFlbW9uX3BpcGVbMV0gPiAwKQorICAgIHsKKyAgICAgIHdyaXRlIChkYWVt b25fcGlwZVsxXSwgIlxuIiwgMSk7CisgICAgICBjbG9zZSAoZGFlbW9uX3BpcGVbMV0pOworICAg IH0KKworICAvKiBpbmRpY2F0ZSB0aGF0IHRoaXMgZnVuY3Rpb24gaGFzIGNvbXBsZXRlZCwgY2Fs bGluZyBpdCBhZ2FpbiB3aWxsCisgICAqIHJlc3VsdCBpbiBhbiBlcnJvciAqLworICBkYWVtb25f cGlwZVsxXSA9IC0yOworCiAgIHJldHVybiBRdDsKIH0KIAo= --_8c1f20e1-371c-41f3-855c-85a58218db06_-- ------------=_1479281762-6993-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c6ukt-0001oC-1G for submit <at> 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 <rgm@HIDDEN>) id 1c6ukr-0001nw-Pu for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008u-8f for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008p-53 for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukk-0001Kh-7Q; Wed, 16 Nov 2016 02:35:30 -0500 From: Glenn Morris <rgm@HIDDEN> To: 2677-done <at> debbugs.gnu.org Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> X-Spook: Jiang Zemin Ortega Scammers Afghanistan Deaths Narcos X-Ran: (Iqou\=1'f2PxgOg2<uhniK3#.HSV\^biq7jPr{=Zmn!l(NRk=oEul'?K,*O3fWfnr}Zr4 X-Hue: brightblue X-Attribution: GM Date: Wed, 16 Nov 2016 02:35:29 -0500 In-Reply-To: <87d1rfv3cf.fsf@HIDDEN> (Jameson Graef Rollins's message of "Mon, 29 Feb 2016 09:22:24 -0800") Message-ID: <rm7f83zxku.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.8 (-------) Version: 26.1 Rev 36b99556 added --new-daemon which runs in the foreground. Sorry for the huge delay. ------------=_1479281762-6993-2--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Kenny Stuart <kstuart@HIDDEN> Subject: bug#4944: closed (Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground) Message-ID: <handler.4944.D2677.14792817396961.notifdone <at> debbugs.gnu.org> References: <rm7f83zxku.fsf@HIDDEN> <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> X-Gnu-PR-Message: they-closed 4944 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 4944 <at> debbugs.gnu.org Date: Wed, 16 Nov 2016 07:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1479281762-6993-3" This is a multi-part message in MIME format... ------------=_1479281762-6993-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #2677: 23.1.50; starting a server without forking a daemon which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 4944 <at> debbugs.gnu.org. --=20 2677: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2677 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1479281762-6993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c6ukt-0001oC-1G for submit <at> 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 <rgm@HIDDEN>) id 1c6ukr-0001nw-Pu for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008u-8f for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukm-00008p-53 for 2677-done <at> 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 <rgm@HIDDEN>) id 1c6ukk-0001Kh-7Q; Wed, 16 Nov 2016 02:35:30 -0500 From: Glenn Morris <rgm@HIDDEN> To: 2677-done <at> debbugs.gnu.org Subject: Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> X-Spook: Jiang Zemin Ortega Scammers Afghanistan Deaths Narcos X-Ran: (Iqou\=1'f2PxgOg2<uhniK3#.HSV\^biq7jPr{=Zmn!l(NRk=oEul'?K,*O3fWfnr}Zr4 X-Hue: brightblue X-Attribution: GM Date: Wed, 16 Nov 2016 02:35:29 -0500 In-Reply-To: <87d1rfv3cf.fsf@HIDDEN> (Jameson Graef Rollins's message of "Mon, 29 Feb 2016 09:22:24 -0800") Message-ID: <rm7f83zxku.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.8 (-------) Version: 26.1 Rev 36b99556 added --new-daemon which runs in the foreground. Sorry for the huge delay. ------------=_1479281762-6993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Nov 2009 14:47:39 +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=1.1 required=4.0 tests=FOURLA,MONOTONE_WORDS_5_8, MURPHY_DRUGS_REL8 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.14.3/8.14.3/Debian-5) with ESMTP id nAHElbXH012098 for <submit@HIDDEN>; Tue, 17 Nov 2009 06:47:38 -0800 Received: from mx10.gnu.org ([199.232.76.166]:36954) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from <kstuart@HIDDEN>) id 1NAPLE-0007Zl-Ga for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <kstuart@HIDDEN>) id 1NAPLB-0000qL-Kp for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:35 -0500 Received: from snt0-omc4-s17.snt0.hotmail.com ([65.55.90.220]:19087) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <kstuart@HIDDEN>) id 1NAOzz-0005XJ-EO for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:25:39 -0500 Received: from SNT120-W37 ([65.55.90.201]) by snt0-omc4-s17.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Nov 2009 06:25:34 -0800 Message-ID: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> Content-Type: multipart/mixed; boundary="_8c1f20e1-371c-41f3-855c-85a58218db06_" X-Originating-IP: [81.158.78.195] From: Kenny Stuart <kstuart@HIDDEN> To: <emacs-pretest-bug@HIDDEN> Subject: 23.1.50; starting a server without forking a daemon Date: Tue, 17 Nov 2009 14:25:34 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 17 Nov 2009 14:25:34.0776 (UTC) FILETIME=[D3612B80:01CA6791] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ --_8c1f20e1-371c-41f3-855c-85a58218db06_ Content-Type: multipart/alternative; boundary="_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_" --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please write in English if possible=2C because the Emacs maintainersusually= do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing lis= t. Please describe exactly what actions triggered the bugand the precise sympt= oms of the bug. If you can=2C givea recipe starting from `emacs -Q': This is a feature request to add the facility to start an emacs serverusing= a command-line option that runs as a foreground process insteadof forking = a daemon and exiting. Motivation: Forking a daemon then exiting the main process is incompatible withsystems = that manage processes as services=2C such as launchd on OS X=2Ctherefore it= is not possible to create an effective launchd serviceusing emacs in daemo= n mode. Possible Solution: For review I have included a patch that adds a --server command lineoption = that does what the --daemon option does=2C except it runs theserver in the = foreground process rather than forking a daemon andexiting. Please note that I am new to emacs and nix based operating systems andin th= e short time I have had to spend on this was unable to add a SIGINThandler = to gracefully shutdown the emacs server=2C not that it mattersto launchd si= nce it should send SIGTERM=2C but a solution would be nice. There appear to be issues on OS X with creating a new frame using the -c op= tionto emacsclient as emacs crashes (so far during garbage collection) when= doing this=2C however I am still learning the dev tools available to me on = thisplatform and it will be a while before I could effectively report such = bugs=2C sothis is just an FYI.=20 As I'm using a debug build so I can investigate further=2C can you confirmt= hat the build configure options I've used are ok and not likely to becontri= buting to the instability=2C are there any other options I should beusing? Please also note that this is the first time I have engaged with an opensou= rce project so if I'm not doing it right let me know. If Emacs crashed=2C and you have the Emacs process in the gdb debugger=2Cpl= ease include the output from the following gdb commands: `bt full' and `= xbacktrace'.For information about debugging Emacs=2C please read the file/A= pplications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-appkit-1038.2= 5) of 2009-11-17 on maverick.homeWindowing system distributor `Apple'=2C ve= rsion 10.3.1038configured using `configure '--with-ns' '--enable-asserts' = 'CFLAGS=3D-O0 -gdwarf-2 -g3 -Wno-pointer-sign'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil valu= e 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_GB.= UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default= enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode= : t menu-bar-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 line-number-mode: t = transient-mark-mode: t Recent input:<backspace> <backspace> L i b r a r y / L a u n c h A g e n t = s / <help-echo> o r g . g n u . e n <backspace> m a c s - s e r v e r . p l= i s t <return> <help-echo> t e x t / x m l <return> ~ / L i b r a r y / L = a u n c h A g e n t s SPC s c r i p t SPC o r <backspace> <backspace> f o r= SPC e m a c s SPC s e r v e r <left> <left> <left> <left> <left> <left> <l= eft> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> = <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> p l= s i t <backspace> <backspace> <backspace> i s t <return> a t t a c h m e n= t <return> <backspace> <help-echo> <menu-bar> <file> <write-file> <help-ec= ho> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace>= <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <b= ackspace> <backspace> <backspace> <backspace> <backspace> D o <tab> c <tab>= e m a c s - m a i l . t x t <return> <down-mouse-1> <mouse-1> <wheel-up> <= double-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <tri= ple-wheel-up> <wheel-down> <double-wheel-down> <wheel-down> <double-wheel-d= own> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel-dow= n> <triple-wheel-down> <wheel-down> <double-wheel-down> <triple-wheel-down>= <triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple= -wheel-up> <triple-wheel-up> <wheel-up> <double-wheel-up> <triple-wheel-up>= <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <wheel-up> <double-w= heel-up> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel= -down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up> <tr= iple-wheel-up> <wheel-up> <wheel-up> <wheel-up> <down-mouse-1> <mouse-movem= ent> <mouse-movement> <help-echo> <mouse-movement> <help-echo> <mouse-movem= ent> <mouse-movement> <mouse-movement> <help-echo> <mouse-movement> <mouse-= movement> <drag-mouse-1> <menu-bar> <edit> <copy> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous= e-1> <down-mouse-1> M-x r e p o r t - e m a c s - b u g <return> Recent messages:Auto-saving...doneUndo!Auto-saving...doneMaking completion = list...Saving file /Users/kstuart/Documents/emacs-mail.txt...Wrote /Users/k= stuart/Documents/emacs-mail.txtbyte-code: Beginning of buffer [2 times]byte= -code: End of buffer [2 times]byte-code: Beginning of buffer [8 times]Saved= text from "Please write in English if possible=2C bec" Load-path shadows:/Applications/Emacs.app/Contents/Resources/lisp/emacs-lis= p/lucid hides /Applications/Emacs.app/Contents/Resources/lisp/obsolete/luci= d/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/levents hides /= Applications/Emacs.app/Contents/Resources/lisp/obsolete/levents Features:(ispell newcomment help-mode view shadow mail-extr message ecomple= terfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcapma= il-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheadergnus-util= netrc time-date mm-util mail-prsvr gmm-utils wid-editmailheader canlock sh= a1 hex-util hashcash mail-utils emacsbug sendmailregexp-opt server tooltip = ediff-hook vc-hooks lisp-float-type mwheelns-win easymenu tool-bar dnd font= set image fringe lisp-mode registerpage menu-bar rfn-eshadow timer select s= croll-bar mldrag mouse jit-lockfont-lock syntax facemenu font-core frame ch= am georgian utf-8-langmisc-lang vietnamese tibetan thai tai-viet lao korean= japanese hebrewgreek romanian slovak czech european ethiopic indian cyrill= ic chinesecase-table epa-hook jka-cmpr-hook help simple abbrev loaddefs but= tonminibuffer faces cus-face text-properties overlay md5 base64 format envc= ode-pages mule custom widget hashtable-print-readable backquotemake-network= -process ns multi-tty emacs) =20 _________________________________________________________________ Use Hotmail to send and receive mail from your different email accounts http://clk.atdmt.com/UKM/go/186394592/direct/01/= --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } --></style> </head> <body class=3D'hmmessage'> <div>Please write in English if possible=2C because the Emacs maintainers</= div><div>usually do not have translators to read other languages for them.<= /div><div><br></div><div>Your bug report will be posted to the emacs-pretes= t-bug@HIDDEN mailing list.</div><div><br></div><div>Please describe exactl= y what actions triggered the bug</div><div>and the precise symptoms of the = bug.  =3BIf you can=2C give</div><div>a recipe starting from `emacs -Q'= :</div><div><br></div><div>This is a feature request to add the facility to= start an emacs server</div><div>using a command-line option that runs as a= foreground process instead</div><div>of forking a daemon and exiting.</div= ><div><br></div><div>Motivation:</div><div><br></div><div>Forking a daemon = then exiting the main process is incompatible with</div><div>systems that m= anage processes as services=2C such as launchd on OS X=2C</div><div>therefo= re it is not possible to create an effective launchd service</div><div>usin= g emacs in daemon mode.</div><div><br></div><div>Possible Solution:</div><d= iv><br></div><div>For review I have included a patch that adds a --server c= ommand line</div><div>option that does what the --daemon option does=2C exc= ept it runs the</div><div>server in the foreground process rather than fork= ing a daemon and</div><div>exiting.</div><div><br></div><div>Please note th= at I am new to emacs and nix based operating systems and</div><div>in the s= hort time I have had to spend on this was unable to add a SIGINT</div><div>= handler to gracefully shutdown the emacs server=2C not that it matters</div= ><div>to launchd since it should send SIGTERM=2C but a solution would be ni= ce.</div><div><br></div><div>There appear to be issues on OS X with creatin= g a new frame using the -c option</div><div>to emacsclient as emacs crashes= (so far during garbage collection) when</div><div>doing this=2C =3Bhow= ever I am still =3Blearning the dev tools available to me on this</div>= <div>platform and it will be a =3Bwhile before I could effectively repo= rt such bugs=2C so</div><div>this is just an FYI. =3B</div><div><br></d= iv><div>As I'm using a debug build so I can investigate further=2C can you = confirm</div><div>that the build configure options I've used are ok and not= likely to be</div><div>contributing to the instability=2C are there any ot= her options I should be</div><div>using?</div><div><br></div><div>Please al= so note that this is the first time I have engaged with an open</div><div>s= ource project so if I'm not doing it right let me know.</div><div><br></div= ><div>If Emacs crashed=2C and you have the Emacs process in the gdb debugge= r=2C</div><div>please include the output from the following gdb commands:</= div><div> =3B =3B  =3B`bt full' and `xbacktrace'.</div><div>For= information about debugging Emacs=2C please read the file</div><div>/Appli= cations/Emacs.app/Contents/Resources/etc/DEBUG.</div><div><br></div><div><b= r></div><div>In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-= appkit-1038.25)</div><div> =3Bof 2009-11-17 on maverick.home</div><div>= Windowing system distributor `Apple'=2C version 10.3.1038</div><div>configu= red using `configure  =3B'--with-ns' '--enable-asserts' 'CFLAGS=3D-O0 -= gdwarf-2 -g3 -Wno-pointer-sign''</div><div><br></div><div>Important setting= s:</div><div> =3B =3Bvalue of $LC_ALL: nil</div><div> =3B = =3Bvalue of $LC_COLLATE: nil</div><div> =3B =3Bvalue of $LC_CTYPE: = nil</div><div> =3B =3Bvalue of $LC_MESSAGES: nil</div><div> =3B=  =3Bvalue of $LC_MONETARY: nil</div><div> =3B =3Bvalue of $LC_N= UMERIC: nil</div><div> =3B =3Bvalue of $LC_TIME: nil</div><div>&nbs= p=3B =3Bvalue of $LANG: en_GB.UTF-8</div><div> =3B =3Bvalue of = $XMODIFIERS: nil</div><div> =3B =3Blocale-coding-system: utf-8-unix= </div><div> =3B =3Bdefault enable-multibyte-characters: t</div><div= ><br></div><div>Major mode: Text</div><div><br></div><div>Minor modes in ef= fect:</div><div> =3B =3Btooltip-mode: t</div><div> =3B =3Bm= ouse-wheel-mode: t</div><div> =3B =3Btool-bar-mode: t</div><div>&nb= sp=3B =3Bmenu-bar-mode: t</div><div> =3B =3Bfile-name-shadow-mo= de: t</div><div> =3B =3Bglobal-font-lock-mode: t</div><div> =3B=  =3Bfont-lock-mode: t</div><div> =3B =3Bglobal-auto-composition= -mode: t</div><div> =3B =3Bauto-composition-mode: t</div><div> = =3B =3Bauto-encryption-mode: t</div><div> =3B =3Bauto-compressi= on-mode: t</div><div> =3B =3Bline-number-mode: t</div><div> =3B=  =3Btransient-mark-mode: t</div><div><br></div><div>Recent input:</div>= <div><=3Bbackspace>=3B <=3Bbackspace>=3B L i b r a r y / L a u n c = h =3B</div><div>A g e n t s / <=3Bhelp-echo>=3B o r g . g n u . e n= <=3Bbackspace>=3B =3B</div><div>m a c s - s e r v e r . p l i s t = <=3Breturn>=3B <=3Bhelp-echo>=3B =3B</div><div>t e x t / x m l = <=3Breturn>=3B ~ / L i b r a r y / L a u =3B</div><div>n c h A g e = n t s SPC s c r i p t SPC o r <=3Bbackspace>=3B =3B</div><div><= =3Bbackspace>=3B f o r SPC e m a c s SPC s e r v e r <=3Bleft>=3B&nbs= p=3B</div><div><=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Blef= t>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B=  =3B</div><div><=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <= =3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft= >=3B =3B</div><div><=3Bbackspace>=3B <=3Bbackspace>=3B <=3B= backspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B</div><d= iv><=3Bbackspace>=3B p l s i t <=3Bbackspace>=3B <=3Bbackspace>= =3B <=3Bbackspace>=3B =3B</div><div>i s t <=3Breturn>=3B a t t = a c h m e n t <=3Breturn>=3B <=3Bbackspace>=3B =3B</div><div>&l= t=3Bhelp-echo>=3B <=3Bmenu-bar>=3B <=3Bfile>=3B <=3Bwrite-file&= gt=3B <=3Bhelp-echo>=3B =3B</div><div><=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace&= gt=3B =3B</div><div><=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B</div><di= v><=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B =3B</div><div><=3Bbackspace>= =3B <=3Bbackspace>=3B D o <=3Btab>=3B c <=3Btab>=3B e m a c s&n= bsp=3B</div><div>- m a i l . t x t <=3Breturn>=3B <=3Bdown-mouse-1>= =3B <=3Bmouse-1>=3B =3B</div><div><=3Bwheel-up>=3B <=3Bdouble= -wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B&nbs= p=3B</div><div><=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <= =3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B =3B</div><div><=3Bw= heel-down>=3B <=3Bdouble-wheel-down>=3B <=3Bwheel-down>=3B <=3B= double-wheel-down>=3B =3B</div><div><=3Btriple-wheel-down>=3B <= =3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B</div><div>= <=3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B <=3Btriple-wheel-dow= n>=3B =3B</div><div><=3Btriple-wheel-down>=3B <=3Bwheel-up>= =3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B</div><d= iv><=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Bwheel-up&g= t=3B <=3Bdouble-wheel-up>=3B =3B</div><div><=3Btriple-wheel-up>= =3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B</div><d= iv><=3Btriple-wheel-up>=3B <=3Bwheel-up>=3B <=3Bdouble-wheel-up&g= t=3B <=3Bwheel-down>=3B =3B</div><div><=3Bdouble-wheel-down>=3B= <=3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B</div><= div><=3Bwheel-up>=3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up&= gt=3B <=3Btriple-wheel-up>=3B =3B</div><div><=3Btriple-wheel-up&g= t=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B =3B= </div><div><=3Bdown-mouse-1>=3B <=3Bmouse-movement>=3B <=3Bmouse-= movement>=3B <=3Bhelp-echo>=3B =3B</div><div><=3Bmouse-movement= >=3B <=3Bhelp-echo>=3B <=3Bmouse-movement>=3B <=3Bmouse-movemen= t>=3B =3B</div><div><=3Bmouse-movement>=3B <=3Bhelp-echo>=3B = <=3Bmouse-movement>=3B <=3Bmouse-movement>=3B =3B</div><div><= =3Bdrag-mouse-1>=3B <=3Bmenu-bar>=3B <=3Bedit>=3B <=3Bcopy>= =3B <=3Bdown-mouse-1>=3B =3B</div><div><=3Bdown-mouse-1>=3B <= =3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B&nbs= p=3B</div><div><=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown= -mouse-1>=3B <=3Bdown-mouse-1>=3B =3B</div><div><=3Bdown-mouse-= 1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-= 1>=3B =3B</div><div><=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B= <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B =3B</div><div><=3B= down-mouse-1>=3B M-x r e p o r t - e m a c s - b u g =3B</div><div>&l= t=3Breturn>=3B</div><div><br></div><div>Recent messages:</div><div>Auto-s= aving...done</div><div>Undo!</div><div>Auto-saving...done</div><div>Making = completion list...</div><div>Saving file /Users/kstuart/Documents/emacs-mai= l.txt...</div><div>Wrote /Users/kstuart/Documents/emacs-mail.txt</div><div>= byte-code: Beginning of buffer [2 times]</div><div>byte-code: End of buffer= [2 times]</div><div>byte-code: Beginning of buffer [8 times]</div><div>Sav= ed text from "Please write in English if possible=2C bec"</div><div><br></d= iv><div>Load-path shadows:</div><div>/Applications/Emacs.app/Contents/Resou= rces/lisp/emacs-lisp/lucid hides /Applications/Emacs.app/Contents/Resources= /lisp/obsolete/lucid</div><div>/Applications/Emacs.app/Contents/Resources/l= isp/emacs-lisp/levents hides /Applications/Emacs.app/Contents/Resources/lis= p/obsolete/levents</div><div><br></div><div>Features:</div><div>(ispell new= comment help-mode view shadow mail-extr message ecomplete</div><div>rfc822 = mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap</div><div>= mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader</div><= div>gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit</div><d= iv>mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail</= div><div>regexp-opt server tooltip ediff-hook vc-hooks lisp-float-type mwhe= el</div><div>ns-win easymenu tool-bar dnd fontset image fringe lisp-mode re= gister</div><div>page menu-bar rfn-eshadow timer select scroll-bar mldrag m= ouse jit-lock</div><div>font-lock syntax facemenu font-core frame cham geor= gian utf-8-lang</div><div>misc-lang vietnamese tibetan thai tai-viet lao ko= rean japanese hebrew</div><div>greek romanian slovak czech european ethiopi= c indian cyrillic chinese</div><div>case-table epa-hook jka-cmpr-hook help = simple abbrev loaddefs button</div><div>minibuffer faces cus-face text-prop= erties overlay md5 base64 format env</div><div>code-pages mule custom widge= t hashtable-print-readable backquote</div><div>make-network-process ns mult= i-tty emacs)</div> <br /><hr />Use Hotmail to send and receive m= ail from your different email accounts. <a href=3D'http://clk.atdmt.com/UKM= /go/186394592/direct/01/' target=3D'_new'>Find out how.</a></body> </html>= --_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_-- --_8c1f20e1-371c-41f3-855c-85a58218db06_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="emacs-foreground-server.patch" ZGlmZiAtLWdpdCBhL3NyYy9lbWFjcy5jIGIvc3JjL2VtYWNzLmMKaW5kZXggZDk2YjNhMS4uOTU2 Y2JlZSAxMDA2NDQKLS0tIGEvc3JjL2VtYWNzLmMKKysrIGIvc3JjL2VtYWNzLmMKQEAgLTI3OSw2 ICsyNzksNyBAQCBJbml0aWFsaXphdGlvbiBvcHRpb25zOlxuXAogLS1uby13aW5kb3ctc3lzdGVt LCAtbncgICAgIGRvIG5vdCBjb21tdW5pY2F0ZSB3aXRoIFgsIGlnbm9yaW5nICRESVNQTEFZXG5c CiAtLXF1aWNrLCAtUSAgICAgICAgICAgICAgICAgZXF1aXZhbGVudCB0byAtcSAtLW5vLXNpdGUt ZmlsZSAtLW5vLXNwbGFzaFxuXAogLS1zY3JpcHQgRklMRSAgICAgICAgICAgICAgIHJ1biBGSUxF IGFzIGFuIEVtYWNzIExpc3Agc2NyaXB0XG5cCistLXNlcnZlciAgICAgICAgICAgICAgICAgICAg c3RhcnQgYSBzZXJ2ZXIgaW4gdGhlIGZvcmVncm91bmRcblwKIC0tdGVybWluYWwsIC10IERFVklD RSAgICAgICB1c2UgREVWSUNFIGZvciB0ZXJtaW5hbCBJL09cblwKIC0tdXNlciwgLXUgVVNFUiAg ICAgICAgICAgICBsb2FkIH5VU0VSLy5lbWFjcyBpbnN0ZWFkIG9mIHlvdXIgb3duXG5cCiBcbiVz IgpAQCAtMTA4MSw3ICsxMDgyLDIwIEBAIG1haW4gKGludCBhcmdjLCBjaGFyICoqYXJndikKICAg ICAgIGV4aXQgKDApOwogICAgIH0KIAotICBpZiAoYXJnbWF0Y2ggKGFyZ3YsIGFyZ2MsICItZGFl bW9uIiwgIi0tZGFlbW9uIiwgNSwgTlVMTCwgJnNraXBfYXJncykKKyAgLyogc2VydmVyIG1vZGUg YW5kIGRhZW1vbiBtb2RlIGFyZSBtdXR1YWx5IGV4Y2x1c2l2ZSwgaWYgYm90aCBhcmUKKyAgICog c3BlY2lmaWVkIG9uIHRoZSBjb21tYW5kIGxpbmUsIHNlcnZlciBtb2RlIHdpbGwgdGFrZSBwcmVj ZWRlbmNlICovCisgIGlmIChhcmdtYXRjaCAoYXJndiwgYXJnYywgIi1zZXJ2ZXIiLCAiLS1zZXJ2 ZXIiLCA1LCBOVUxMLCAmc2tpcF9hcmdzKQorICAgICAgfHwgYXJnbWF0Y2ggKGFyZ3YsIGFyZ2Ms ICJzZXJ2ZXIiLCAiLS1zZXJ2ZXIiLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKKyAgICB7 CisgICAgICBpZiAoZG5hbWVfYXJnKQorICAgICAgICBkYWVtb25fbmFtZSA9IHhzdHJkdXAoZG5h bWVfYXJnKTsKKworICAgICAgLyogcmVxdWVzdCB0byBydW4gYXMgZm9yZWdyb3VuZCBzZXJ2ZXIg Ki8KKyAgICAgIGRhZW1vbl9waXBlWzFdID0gLTE7CisKKyAgICAgIC8qIEZJWE1FOiBuZWVkIHRv IHNodXQgdGhlIGZvcmVncm91bmQgc2VydmVyIGRvd24gZ3JhY2VmdWxseSBvbiBTSUdJTlQgKi8K KyAgICB9CisgIGVsc2UgaWYgKGFyZ21hdGNoIChhcmd2LCBhcmdjLCAiLWRhZW1vbiIsICItLWRh ZW1vbiIsIDUsIE5VTEwsICZza2lwX2FyZ3MpCiAgICAgICB8fCBhcmdtYXRjaCAoYXJndiwgYXJn YywgIi1kYWVtb24iLCAiLS1kYWVtb24iLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKICAg ICB7CiAjaWZuZGVmIERPU19OVApAQCAtMTg1NSw2ICsxODY5LDcgQEAgY29uc3Qgc3RydWN0IHN0 YW5kYXJkX2FyZ3Mgc3RhbmRhcmRfYXJnc1tdID0KICAgeyAiLWJhdGNoIiwgIi0tYmF0Y2giLCAx MDAsIDAgfSwKICAgeyAiLXNjcmlwdCIsICItLXNjcmlwdCIsIDEwMCwgMSB9LAogICB7ICItZGFl bW9uIiwgIi0tZGFlbW9uIiwgOTksIDAgfSwKKyAgeyAiLXNlcnZlciIsICItLXNlcnZlciIsIDk5 LCAwIH0sCiAgIHsgIi1oZWxwIiwgIi0taGVscCIsIDkwLCAwIH0sCiAgIHsgIi1uby11bmlieXRl IiwgIi0tbm8tdW5pYnl0ZSIsIDgzLCAwIH0sCiAgIHsgIi1tdWx0aWJ5dGUiLCAiLS1tdWx0aWJ5 dGUiLCA4MiwgMCB9LApAQCAtMjUxMiw3ICsyNTI3LDcgQEAgZnJvbSB0aGUgcGFyZW50IHByb2Nl c3MgYW5kIGl0cyB0dHkgZmlsZSBkZXNjcmlwdG9ycy4gICovKQogICBpZiAoIUlTX0RBRU1PTikK ICAgICBlcnJvciAoIlRoaXMgZnVuY3Rpb24gY2FuIG9ubHkgYmUgY2FsbGVkIGlmIGVtYWNzIGlz IHJ1biBhcyBhIGRhZW1vbiIpOwogCi0gIGlmIChkYWVtb25fcGlwZVsxXSA8IDApCisgIGlmIChk YWVtb25fcGlwZVsxXSA8IC0xKQogICAgIGVycm9yICgiVGhlIGRhZW1vbiBoYXMgYWxyZWFkeSBi ZWVuIGluaXRpYWxpemVkIik7CiAKICAgaWYgKE5JTFAgKFZhZnRlcl9pbml0X3RpbWUpKQpAQCAt MjUzMiwxMCArMjU0NywxNiBAQCBmcm9tIHRoZSBwYXJlbnQgcHJvY2VzcyBhbmQgaXRzIHR0eSBm aWxlIGRlc2NyaXB0b3JzLiAgKi8pCiAgICAgIEluc3RlYWQsIHdlIHNob3VsZCBwcm9iYWJseSBj bG9zZSB0aGUgcGlwZSBpbiBzdGFydC1wcm9jZXNzIGFuZAogICAgICBjYWxsLXByb2Nlc3MgdG8g bWFrZSBzdXJlIHRoZSBwaXBlIGlzIG5ldmVyIGluaGVyaXRlZCBieQogICAgICBzdWJwcm9jZXNz ZXMuICAqLwotICB3cml0ZSAoZGFlbW9uX3BpcGVbMV0sICJcbiIsIDEpOwotICBjbG9zZSAoZGFl bW9uX3BpcGVbMV0pOwotICAvKiBTZXQgaXQgdG8gYW4gaW52YWxpZCB2YWx1ZSBzbyB3ZSBrbm93 IHdlJ3ZlIGFscmVhZHkgcnVuIHRoaXMgZnVuY3Rpb24uICAqLwotICBkYWVtb25fcGlwZVsxXSA9 IC0xOworICBpZiAoZGFlbW9uX3BpcGVbMV0gPiAwKQorICAgIHsKKyAgICAgIHdyaXRlIChkYWVt b25fcGlwZVsxXSwgIlxuIiwgMSk7CisgICAgICBjbG9zZSAoZGFlbW9uX3BpcGVbMV0pOworICAg IH0KKworICAvKiBpbmRpY2F0ZSB0aGF0IHRoaXMgZnVuY3Rpb24gaGFzIGNvbXBsZXRlZCwgY2Fs bGluZyBpdCBhZ2FpbiB3aWxsCisgICAqIHJlc3VsdCBpbiBhbiBlcnJvciAqLworICBkYWVtb25f cGlwZVsxXSA9IC0yOworCiAgIHJldHVybiBRdDsKIH0KIAo= --_8c1f20e1-371c-41f3-855c-85a58218db06_-- ------------=_1479281762-6993-3--
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 16 Nov 2016 15:51:02 +0000 Resent-Message-ID: <handler.2677.B2677.14793114603930 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris <rgm@HIDDEN> Cc: rgm@HIDDEN, 2677 <at> debbugs.gnu.org, jrollins@HIDDEN Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.14793114603930 (code B ref 2677); Wed, 16 Nov 2016 15:51:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c72UF-00011K-VR for submit <at> 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 <eliz@HIDDEN>) id 1c72UE-000112-Ez for 2677 <at> 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 <eliz@HIDDEN>) id 1c72U5-0007Li-JC for 2677 <at> 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 <eliz@HIDDEN>) 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 <eliz@HIDDEN>) 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@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <rm7f83zxku.fsf@HIDDEN> (message from Glenn Morris on Wed, 16 Nov 2016 02:35:29 -0500) References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> <rm7f83zxku.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.9 (-------) > From: Glenn Morris <rgm@HIDDEN> > 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".
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: closed (Re: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground) Resent-From: Jameson Graef Rollins <jrollins@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 16 Nov 2016 17:23:01 +0000 Resent-Message-ID: <handler.2677.B2677.147931692513219 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 2677 <at> debbugs.gnu.org Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.147931692513219 (code B ref 2677); Wed, 16 Nov 2016 17:23:01 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c73uP-0003R9-Cm for submit <at> 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 <jrollins@HIDDEN>) id 1c73uN-0003Qb-BI for 2677 <at> 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 <at> 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 <at> 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 <jrollins@HIDDEN> In-Reply-To: <handler.2677.D2677.14792817396961.notifdone <at> debbugs.gnu.org> References: <rm7f83zxku.fsf@HIDDEN> <E1LiMLn-0007Ue-GX@HIDDEN> <handler.2677.D2677.14792817396961.notifdone <at> debbugs.gnu.org> 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@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.2 (----) On Tue, Nov 15 2016, GNU bug Tracking System <help-debbugs@HIDDEN> wrote: > Rev 36b99556 added --new-daemon which runs in the foreground. > Sorry for the huge delay. Thank you!!!
X-Loop: help-debbugs@HIDDEN Subject: bug#2677: 23.0.91; need ability to run emacs --daemon in the foreground Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 18 Nov 2016 07:02:02 +0000 Resent-Message-ID: <handler.2677.B2677.147945247026500 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 2677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: 2677 <at> debbugs.gnu.org, jrollins@HIDDEN Received: via spool by 2677-submit <at> debbugs.gnu.org id=B2677.147945247026500 (code B ref 2677); Fri, 18 Nov 2016 07:02:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c7dAc-0006tM-66 for submit <at> 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 <rgm@HIDDEN>) id 1c7dAa-0006t9-U7 for 2677 <at> 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 <rgm@HIDDEN>) id 1c7dAU-0000K3-9K for 2677 <at> 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 <rgm@HIDDEN>) 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 <rgm@HIDDEN>) id 1c7dAT-0006ik-5J; Fri, 18 Nov 2016 02:01:01 -0500 From: Glenn Morris <rgm@HIDDEN> References: <E1LiMLn-0007Ue-GX@HIDDEN> <87vb58yy6f.fsf@HIDDEN> <bdpovf1m1q.fsf@HIDDEN> <87d1rfv3cf.fsf@HIDDEN> <rm7f83zxku.fsf@HIDDEN> <83zikzfmpa.fsf@HIDDEN> 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-Attribution: GM Date: Fri, 18 Nov 2016 02:01:01 -0500 In-Reply-To: <83zikzfmpa.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 16 Nov 2016 17:50:41 +0200") Message-ID: <ohy40hgtle.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -7.9 (-------) There were more replies on emacs-devel, so I followed up there.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.