From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 11:47:41 2014 Received: (at submit) by debbugs.gnu.org; 20 Jan 2014 16:47:42 +0000 Received: from localhost ([127.0.0.1]:58546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5I0j-0007Dw-CZ for submit@debbugs.gnu.org; Mon, 20 Jan 2014 11:47:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53199) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5E4Z-0008P2-B4 for submit@debbugs.gnu.org; Mon, 20 Jan 2014 07:35:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5E4Q-0000Qn-Ni for submit@debbugs.gnu.org; Mon, 20 Jan 2014 07:35:23 -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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5E4Q-0000Qh-Jz for submit@debbugs.gnu.org; Mon, 20 Jan 2014 07:35:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5E4I-00056f-6f for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 07:35:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5E49-00005n-RH for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 07:35:06 -0500 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:50329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5E49-00005f-KH for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 07:34:57 -0500 Received: by mail-ea0-f178.google.com with SMTP id a15so1969767eae.9 for ; Mon, 20 Jan 2014 04:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=FmcueT0HX5G4XL/7RusEUGMJkew2R/utLw0d5UKVFCA=; b=oKlpxHgrdGFUTZJ/1pu94Flbqn0ySCKk8CKVMZkBqFodPeVMl2nwcHl+1uj/WLmtPF 7zj3qT4kdE7YjBQEMm0+8TC+Ipyh3GhTKIOyc01VG+Jjkkzn7rQcrP6WE31Zet9SYfZ6 6lBTC5mPiWEXsk18UmZ4Nv0EMbpHaxsglJEKbNqGe3DbuEeExn1B77QCKJOHboRA5zYI pMrt3jhbQ1Q9UGpUWyalVAUXCLlU5lEWYnHZQtbgqEtwMVrEmGcMXwsn98GYLnY11yHd n0t0ul4YE+VGW8rgctyUZyCVMb8vtAhsWjtwQa2vK4s268Mp7Xt6nBH32QEwvQ0qeTgE C1sA== X-Received: by 10.14.178.65 with SMTP id e41mr2099234eem.79.1390221296515; Mon, 20 Jan 2014 04:34:56 -0800 (PST) Received: from determinist (dhcp-111-231.mpi-inf.mpg.de. [139.19.111.231]) by mx.google.com with ESMTPSA id o13sm2795430eex.19.2014.01.20.04.34.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 04:34:55 -0800 (PST) From: Philipp Moeller To: bug-gnu-emacs@gnu.org Subject: 24.3; systemd unit for a GNU Emacs daemon Date: Mon, 20 Jan 2014 13:34:51 +0100 Message-ID: <8738ki4ys4.fsf@geometryfactory.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 20 Jan 2014 11:47:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) systemd provides an easy way to set-up a per-user Emacs daemon and there are several unit files floating around the web. One that works is: /etc/systemd/system/emacs@.service ---------------------------------- [Unit] Description=GNU Emacs: the extensible, self-documenting text editor [Service] Type=forking ExecStart=/usr/bin/emacs --daemon ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))" Restart=always User=%i [Install] WantedBy=multi-user.target It would be helpful to include this with the default GNU Emacs, so users don't need to maintain their own files. The above file would need some configuration through configure to set the install path correctly and there should be an option to enable or disable installing it via --with-systemd. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 11:58:12 2014 Received: (at 16507) by debbugs.gnu.org; 20 Jan 2014 16:58:12 +0000 Received: from localhost ([127.0.0.1]:58571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5IAt-0007ji-Hr for submit@debbugs.gnu.org; Mon, 20 Jan 2014 11:58:11 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:53771) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5IAr-0007jU-35 for 16507@debbugs.gnu.org; Mon, 20 Jan 2014 11:58:10 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3f7Jwb66gjz3hhbt; Mon, 20 Jan 2014 17:58:07 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3f7Jwb2B5hzbbfQ; Mon, 20 Jan 2014 17:58:07 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 8pGDnui9ZFce; Mon, 20 Jan 2014 17:58:01 +0100 (CET) X-Auth-Info: VnscselADnWI4Ni4SxAbB0veEh4FKZJcJv/z8dPvqrM= Received: from igel.home (ppp-88-217-41-90.dynamic.mnet-online.de [88.217.41.90]) by mail.mnet-online.de (Postfix) with ESMTPA; Mon, 20 Jan 2014 17:58:01 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 6A9B22C214E; Mon, 20 Jan 2014 17:58:01 +0100 (CET) From: Andreas Schwab To: Philipp Moeller Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon References: <8738ki4ys4.fsf@geometryfactory.com> X-Yow: I like the way ONLY their mouths move.. They look like DYING OYSTERS Date: Mon, 20 Jan 2014 17:58:01 +0100 In-Reply-To: <8738ki4ys4.fsf@geometryfactory.com> (Philipp Moeller's message of "Mon, 20 Jan 2014 13:34:51 +0100") Message-ID: <87mwiqwpye.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Philipp Moeller writes: > ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))" 'nil is the same as nil. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 12:05:31 2014 Received: (at 16507) by debbugs.gnu.org; 20 Jan 2014 17:05:31 +0000 Received: from localhost ([127.0.0.1]:58579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5IHy-00085K-06 for submit@debbugs.gnu.org; Mon, 20 Jan 2014 12:05:30 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:37765) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5IHu-000856-VE for 16507@debbugs.gnu.org; Mon, 20 Jan 2014 12:05:27 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1W5IHt-0007Z3-9a; Mon, 20 Jan 2014 12:05:25 -0500 From: Glenn Morris To: Andreas Schwab Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon References: <8738ki4ys4.fsf@geometryfactory.com> <87mwiqwpye.fsf@igel.home> X-Spook: smuggle national information infrastructure Noriega X-Ran: (e/(m5yr|x[Pl?\WLQ:)'1tt+n3BH_hgUqrw9y."^}/p#Zh"\.nI064U'brk%`i-UtALam X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 20 Jan 2014 12:05:24 -0500 In-Reply-To: <87mwiqwpye.fsf@igel.home> (Andreas Schwab's message of "Mon, 20 Jan 2014 17:58:01 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 16507 Cc: Philipp Moeller , 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Andreas Schwab wrote: >> ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))" > > 'nil is the same as nil. Also: why set kill-emacs-hook to nil at all? If it is to avoid prompting: "functions placed on this hook should not expect to be able to interact with the user. To ask for confirmation, see `kill-emacs-query-functions' instead." From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 13:51:33 2014 Received: (at 16507) by debbugs.gnu.org; 20 Jan 2014 18:51:33 +0000 Received: from localhost ([127.0.0.1]:58700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5Jwb-0004QX-FS for submit@debbugs.gnu.org; Mon, 20 Jan 2014 13:51:33 -0500 Received: from mail-qa0-f42.google.com ([209.85.216.42]:47285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5Jwa-0004QP-4H for 16507@debbugs.gnu.org; Mon, 20 Jan 2014 13:51:32 -0500 Received: by mail-qa0-f42.google.com with SMTP id k4so5931033qaq.29 for <16507@debbugs.gnu.org>; Mon, 20 Jan 2014 10:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=kUfS4lRaCqJSweRoBVWHzHMh47nd6vpwyUMgLx0aCgw=; b=cVe/t4NQgwBuQ+pJE4OlsPFfXuycjyyvGQkCFoNuN+mNmQwa7zMpQcnrilpmI4noj/ i1n+FxOfHn4P23kqlAPYFKsaIOwxWoPCD5YEQlSOPAhDnvjesVz8nxaqrzS5cKS3tSSB 5AkGUAzZ3u5Isi8EDvi2C5aAiMP7ohTx2kQ8o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=kUfS4lRaCqJSweRoBVWHzHMh47nd6vpwyUMgLx0aCgw=; b=h5F1Kre75yYbjPlhsYTuRtRYB4TzAy9gewdqmiZPdZtn3PjR5x+06uieHw7pO4Tl9H 8hW98z/4w7b4uEpWbQ8qMTnC7wRyVTuTAxUAuC1NngRdo5oNhq7qiHezsahbu4DShFwx R1Rpqhkq0sMZdcHI4WyXXZac1KBJXOdj9V2e77BvWxryoJCp+PoKTfQK5CnTOV7uvWyf XvJDxprdmjDaHorH2iT7ij78BgfPxOJ8MM1x3qr/q1nuxVeUoc0HKs4jkrr4PN3fgaAZ hb4/NX9SAeaWF3Gn5rUCsPdglyFYRtVMRGEeClSn8CRDMl+MBxU194yhifEMTIhMFeOV SvLw== X-Gm-Message-State: ALoCoQkrgt5D2U+qxsl7B4JbjIxJJ1w5WaZeSegeLpVeks6n+0JEY5rMfNRpaFOhRFXEKciN5AE7 X-Received: by 10.224.38.137 with SMTP id b9mr30860004qae.38.1390243891428; Mon, 20 Jan 2014 10:51:31 -0800 (PST) Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id s14sm2360845qad.20.2014.01.20.10.51.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 10:51:30 -0800 (PST) From: Ted Zlatanov To: Philipp Moeller Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos References: <8738ki4ys4.fsf@geometryfactory.com> X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Mon, 20 Jan 2014 13:53:26 -0500 In-Reply-To: <8738ki4ys4.fsf@geometryfactory.com> (Philipp Moeller's message of "Mon, 20 Jan 2014 13:34:51 +0100") Message-ID: <87sisio57d.fsf@flea.lifelogs.com> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, 20 Jan 2014 13:34:51 +0100 Philipp Moeller wrote: PM> systemd provides an easy way to set-up a per-user Emacs daemon and there PM> are several unit files floating around the web. One that works is: ... PM> It would be helpful to include this with the default GNU Emacs, so PM> users don't need to maintain their own files. PM> The above file would need some configuration through configure to set PM> the install path correctly and there should be an option to enable or PM> disable installing it via --with-systemd. I would like that as part of the package, even if 95% of users never need it. The 5% that do will appreciate the convenience. Ted From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 15:25:53 2014 Received: (at 16507) by debbugs.gnu.org; 20 Jan 2014 20:25:53 +0000 Received: from localhost ([127.0.0.1]:58741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5LPs-00075o-MA for submit@debbugs.gnu.org; Mon, 20 Jan 2014 15:25:52 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33122) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5LPp-00075f-N6 for 16507@debbugs.gnu.org; Mon, 20 Jan 2014 15:25:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0KABK/CFFsoXIQ/2dsb2JhbABEvg0EAnsXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: At0KABK/CFFsoXIQ/2dsb2JhbABEvg0EAnsXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="45425804" Received: from 108-161-114-16.dsl.teksavvy.com (HELO pastel.home) ([108.161.114.16]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Jan 2014 15:25:49 -0500 Received: by pastel.home (Postfix, from userid 20848) id CFF5860587; Mon, 20 Jan 2014 15:25:48 -0500 (EST) From: Stefan Monnier To: Philipp Moeller Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon Message-ID: References: <8738ki4ys4.fsf@geometryfactory.com> <87sisio57d.fsf@flea.lifelogs.com> Date: Mon, 20 Jan 2014 15:25:48 -0500 In-Reply-To: <87sisio57d.fsf@flea.lifelogs.com> (Ted Zlatanov's message of "Mon, 20 Jan 2014 13:53:26 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > I would like that as part of the package, even if 95% of users never > need it. The 5% that do will appreciate the convenience. I don't see any problem with adding such a file. I guess it would go in `etc'? Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 16:03:22 2014 Received: (at 16507) by debbugs.gnu.org; 20 Jan 2014 21:03:22 +0000 Received: from localhost ([127.0.0.1]:58755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5M09-00087m-W6 for submit@debbugs.gnu.org; Mon, 20 Jan 2014 16:03:22 -0500 Received: from oproxy19-pub.mail.unifiedlayer.com ([70.40.200.33]:37861) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1W5M05-00087a-9J for 16507@debbugs.gnu.org; Mon, 20 Jan 2014 16:03:20 -0500 Received: (qmail 27989 invoked by uid 0); 20 Jan 2014 21:03:13 -0000 Received: from unknown (HELO host393.hostmonster.com) (66.147.240.193) by oproxy19.mail.unifiedlayer.com with SMTP; 20 Jan 2014 21:03:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbtrap.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=h1cii9yChH7O65k8XVm3g7fu7WtF6AGg4RHhUu+U5nE=; b=NWKTovgR6ZQgCsVDEMdXW3xNLvoCbQkahAA5eWnao87r6M/6wRYarO/t7mqTqrcmEh+HySTLaWxF1sEgYCCzc5mpiv0RONVjlHkCvMKwFTqWffYm3DrL0bew5EimBn4I; Received: from [50.90.253.209] (port=48156 helo=Nathan-GNU) by host393.hostmonster.com with esmtpsa (UNKNOWN:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1W5M01-0002c6-By; Mon, 20 Jan 2014 14:03:13 -0700 From: Nathan Trapuzzano To: Stefan Monnier Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon References: <8738ki4ys4.fsf@geometryfactory.com> <87sisio57d.fsf@flea.lifelogs.com> Date: Mon, 20 Jan 2014 16:03:04 -0500 In-Reply-To: (Stefan Monnier's message of "Mon, 20 Jan 2014 15:25:48 -0500") Message-ID: <87k3dutlh3.fsf@nbtrap.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {1585:host393.hostmonster.com:nbtrapco:nbtrap.com} {sentby:smtp auth 50.90.253.209 authed with nbtrap@nbtrap.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: Philipp Moeller , 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Stefan Monnier writes: > I don't see any problem with adding such a file. I guess it would go > in `etc'? I think the suggestion was that it could be a build feature like --with-systemd-unit-file or something like that. That would indeed be nice. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 20 17:36:37 2014 Received: (at submit) by debbugs.gnu.org; 20 Jan 2014 22:36:37 +0000 Received: from localhost ([127.0.0.1]:58788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5NSO-0002G0-NU for submit@debbugs.gnu.org; Mon, 20 Jan 2014 17:36:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58089) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W5NSM-0002Fs-S2 for submit@debbugs.gnu.org; Mon, 20 Jan 2014 17:36:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5NSF-00083t-Tp for submit@debbugs.gnu.org; Mon, 20 Jan 2014 17:36:34 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5NSF-00083o-QM for submit@debbugs.gnu.org; Mon, 20 Jan 2014 17:36:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5NS9-0006FG-Uq for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 17:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5NS4-00080l-4g for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 17:36:21 -0500 Received: from mail-qa0-f54.google.com ([209.85.216.54]:59255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5NS4-00080Z-11 for bug-gnu-emacs@gnu.org; Mon, 20 Jan 2014 17:36:16 -0500 Received: by mail-qa0-f54.google.com with SMTP id i13so5916270qae.41 for ; Mon, 20 Jan 2014 14:36:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Nk4l7e9BgM4FInP9hh96yqOIaI+hjF1XeCXFWmySow0=; b=RCINVPf4lO9jOcJslgJ3bsOOkhp5jyiqYMNY2huKqgH+vtI5fYf5RYRWUjlnwiVz3X LuJ3opkdobEtKeVXnqEuwGjPLkOiiIX35V3KwRoo7A0B4+8U3igImpi9i3LQHMIaUa6M dhFo/kkWHt9qERuYV2Jjx6onRUi7iDvrvjZb+Rj0fVXbf/mdcNPu1jUKcs2PQJIjy6LP Sq9FiBrmYWpZ1x6P9+YM1N3v9jx0NklkGc2DtnTJvoalXjP5hgSkrfCVl/ASWbhamvdO xmnAJjuI70EpYK3JY3wpJ6Zmh9mY5esQE8CS3FDrekd9RQtBt3kQke6xNaB663dpnSA/ 7oew== X-Gm-Message-State: ALoCoQn4ofDx7CxDOUaLyEzJQXSkypvGbjb4tT6hFnjmlxF9Jh45Sr1NC4TZ5bh3zl9Srrfa2pIk X-Received: by 10.224.88.3 with SMTP id y3mr32273737qal.80.1390257375026; Mon, 20 Jan 2014 14:36:15 -0800 (PST) Received: from holos.localdomain (wifi-roaming-128-4-116-34.nss.udel.edu. [128.4.116.34]) by mx.google.com with ESMTPSA id 67sm1345526qgr.15.2014.01.20.14.36.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jan 2014 14:36:14 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon References: <8738ki4ys4.fsf@geometryfactory.com> <87sisio57d.fsf@flea.lifelogs.com> Date: Mon, 20 Jan 2014 17:36:13 -0500 In-Reply-To: (Stefan Monnier's message of "Mon, 20 Jan 2014 15:25:48 -0500") Message-ID: <87eh422sde.fsf@holos.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Stefan Monnier writes: >> I would like that as part of the package, even if 95% of users never >> need it. The 5% that do will appreciate the convenience. > > I don't see any problem with adding such a file. > I guess it would go in `etc'? > > > Stefan Units of installed packages go in lib, per systemd.unit(5) The addition of a user unit should also be considered. Here is an example: [Unit] Description=GNU Emacs daemon Documentation=man:emacs(1) info:Emacs [Service] Type=forking ExecStart=/usr/bin/emacs --daemon ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" [Install] WantedBy=default.target From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 14:40:06 2014 Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 19:40:07 +0000 Received: from localhost ([127.0.0.1]:52982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwFmM-0005Hc-K0 for submit@debbugs.gnu.org; Wed, 03 Dec 2014 14:40:06 -0500 Received: from ptmx.org ([178.63.28.110]:58639) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwFmG-0005HG-OM for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 14:40:01 -0500 Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 02CAC2D8D2; Wed, 3 Dec 2014 20:39:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zFH32GI7x3Pl; Wed, 3 Dec 2014 20:39:50 +0100 (CET) Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 5B3122D853; Wed, 3 Dec 2014 20:39:50 +0100 (CET) From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: emacs-devel@gnu.org Subject: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Wed, 03 Dec 2014 20:39:44 +0100 Message-ID: <5741989.eboZExnV48@descartes> User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) As discussed in Bug#16507, I've added a systemd service file to deal wi= th=20 emacs --daemon. This however requires some installation changes. That= 's why=20 I submit this patch for review before pushing it. A new configuration flag `--with-systemduserunitdir' is added to set th= e=20 installation directory for the user unit. If it is unset an attempt is= made=20 to locate the default directory by using pkg-config. (I guess this should also get an entry in etc/NEWS.) * configure.ac (with_systemduserunitdir): New option. * Makefile.in (systemdunitdir,SYSTEMD_UNITS): New variables. (install-etc): Install systemd unit file. (uninstall): Uninstall systemd unit file. * etc/emacs.service.in: New file. --- ChangeLog | 8 ++++++++ Makefile.in | 17 +++++++++++++++++ configure.ac | 19 +++++++++++++++++++ etc/ChangeLog | 5 +++++ etc/emacs.service.in | 14 ++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 etc/emacs.service.in diff --git a/ChangeLog b/ChangeLog index cd7698c..05ad878 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-12-03 R=C3=BCdiger Sonderfeld + +=09Add a systemd service file for dealing with emacs --daemon. +=09* configure.ac (with_systemduserunitdir): New option. +=09* Makefile.in (systemdunitdir,SYSTEMD_UNITS): New variables. +=09(install-etc): Install systemd unit file. +=09(uninstall): Uninstall systemd unit file. + 2014-12-01 Lars Magne Ingebrigtsen =20 =09* .gitignore: Ignore loaddefs directly under lisp, and in diff --git a/Makefile.in b/Makefile.in index ccb70a4..b1e6be5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -241,6 +241,9 @@ etcdocdir=3D@etcdocdir@ # Where to install Emacs game score files. gamedir=3D@gamedir@ =20 +# Where to install systemd unit files. +systemdunitdir=3D@systemdunitdir@ + # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Utility= Programs for the Build =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =20 # Allow the user to specify the install program. @@ -286,6 +289,9 @@ SUBDIR_MAKEFILES =3D `echo $(SUBDIR_MAKEFILES_IN:.i= n=3D) | sed=20 's|$(srcdir)/||g'` COPYDIR =3D ${srcdir}/etc ${srcdir}/lisp COPYDESTS =3D "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}" =20 +# systemd unit +SYSTEMD_UNITS =3D @SYSTEMD_UNITS@ + all: ${SUBDIR} info =20 .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emac= sver @@ -716,6 +722,16 @@ install-etc: =09 || exit 1; \ =09 done ; \ =09done +=09if test "x$(SYSTEMD_UNITS)" =3D "xemacs.service" ; then \ +=09 tmp=3Detc/emacs.service; rm -f $${tmp}; \ +=09 sed \ + -e "s;@emacs_prog@;${bindir}/${EMACSFULL};" \ +=09 -e "s;@emacsclient_prog@;${bindir}/emacsclient${EXEEXT};" \ +=09 "$(srcdir)/etc/emacs.service.in" > $${tmp}; \ +=09 umask 022; $(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"; \ +=09 $(INSTALL_DATA) $${tmp} "$(DESTDIR)$(systemdunitdir)/emacs.servic= e"; \ +=09 rm -f $${tmp}; \ +=09fi =20 ### Build Emacs and install it, stripping binaries while installing th= em. install-strip: @@ -771,6 +787,7 @@ uninstall: uninstall-$(NTDIR) uninstall-doc =09 file=3D"$(DESTDIR)${gamedir}/$${file}"; \ =09 [ -s "$${file}" ] || rm -f "$$file"; \ =09done +=09-rm -f "$(DESTDIR)$(systemdunitdir)/emacs.service" =20 ### Windows-specific uninstall target for removing programs produced ### in nt/, and its Posix do-nothing shadow. diff --git a/configure.ac b/configure.ac index 010abc8..e737f1b 100644 --- a/configure.ac +++ b/configure.ac @@ -374,6 +374,10 @@ otherwise for the first of `gfile' or `inotify' th= at is=20 usable.]) ], [with_file_notification=3D$with_features]) =20 +AC_ARG_WITH([systemduserunitdir], + AS_HELP_STRING([--with-systemduserunitdir=3DDIR], [Directory for syst= emd user=20 service files]), + [], [with_systemduserunitdir=3Ddefault]) + ## For the times when you want to build Emacs but don't have ## a suitable makeinfo, and can live without the manuals. dnl http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01844.htm= l @@ -2678,6 +2682,21 @@ AC_SUBST(NOTIFY_OBJ) AC_SUBST(GFILENOTIFY_CFLAGS) AC_SUBST(GFILENOTIFY_LIBS) =20 +if test "x$with_systemduserunitdir" !=3D xno; then + if test "x$with_systemduserunitdir" =3D xdefault; then + with_systemduserunitdir=3D`"$PKG_CONFIG" --variable=3Dsystemduseru= nitdir=20 systemd` + fi + AC_SUBST([systemdunitdir], [$with_systemduserunitdir]) +fi + +if test -n "$with_systemduserunitdir" -a "x$with_systemduserunitdir" != =3D xno ;=20 then + SYSTEMD_UNITS=3D"emacs.service" +else + SYSTEMD_UNITS=3D"" +fi + +AC_SUBST(SYSTEMD_UNITS) + dnl Do not put whitespace before the #include statements below. dnl Older compilers (eg sunos4 cc) choke on it. HAVE_XAW3D=3Dno diff --git a/etc/ChangeLog b/etc/ChangeLog index 4f672df..02c0895 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-03 R=C3=BCdiger Sonderfeld + +=09Add a systemd service file for dealing with emacs --daemon. +=09* emacs.service.in: New file. + 2014-12-02 Eli Zaretskii =20 =09* NEWS: Mention 'bidi-find-overridden-directionality'. diff --git a/etc/emacs.service.in b/etc/emacs.service.in new file mode 100644 index 0000000..0e59bc2 --- /dev/null +++ b/etc/emacs.service.in @@ -0,0 +1,14 @@ +# -*- conf-mode -*- +# Copyright (C) 2014 Free Software Foundation, Inc. +[Unit] +Description=3DEmacs: the extensible, customizable text editor - and mo= re. +Documentation=3Dinfo:Emacs man:emacs(1) https://gnu.org/software/emacs= / + +[Service] +Type=3Dforking +ExecStart=3D@emacs_prog@ --daemon +ExecStop=3D@emacsclient_prog@ --eval "(kill-emacs)" +Restart=3Don-failure + +[Install] +WantedBy=3Ddefault.target --=20 2.1.3 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 16:08:41 2014 Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 21:08:42 +0000 Received: from localhost ([127.0.0.1]:53022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHA9-0007UV-Ib for submit@debbugs.gnu.org; Wed, 03 Dec 2014 16:08:41 -0500 Received: from stringer.orebokech.com ([212.83.175.182]:36153) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHA6-0007UL-OI for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 16:08:39 -0500 Received: from kima.orebokech.com (kima [192.168.2.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by stringer.orebokech.com (Postfix) with ESMTPS id 99A6E14015C; Wed, 3 Dec 2014 22:08:37 +0100 (CET) Received: by kima.orebokech.com (Postfix, from userid 1000) id 86DE6240203; Wed, 3 Dec 2014 22:08:37 +0100 (CET) From: Romain Francoise To: =?iso-8859-1?Q?R=FCdiger?= Sonderfeld Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. Organization: orebokech dot com References: <5741989.eboZExnV48@descartes> Date: Wed, 03 Dec 2014 22:08:37 +0100 In-Reply-To: <5741989.eboZExnV48@descartes> (=?iso-8859-1?Q?=22R=FCdiger?= Sonderfeld"'s message of "Wed, 03 Dec 2014 20:39:44 +0100") Message-ID: <87iohstp9m.fsf@kima.orebokech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, On Wed, Dec 03, 2014 at 08:39:44PM +0100, Rüdiger Sonderfeld wrote: > As discussed in Bug#16507, I've added a systemd service file to deal > with emacs --daemon. This however requires some installation changes. > That's why I submit this patch for review before pushing it. Is this something that distributions would be expected to enable? Because I use both systemd and Emacs, yet I absolutely don't want to have an Emacs daemon started by default in my user instance. Also, by default user instances are killed when the last session is closed, which would therefore kill the emacs process and kinda defeat the point of having a persistent daemon. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 16:17:20 2014 Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 21:17:20 +0000 Received: from localhost ([127.0.0.1]:53027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHIS-0007i3-Il for submit@debbugs.gnu.org; Wed, 03 Dec 2014 16:17:20 -0500 Received: from mx1.bahnhof.se ([213.80.101.11]:59922) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHIN-0007hn-TN for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 16:17:15 -0500 Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 6A5C240AB6; Wed, 3 Dec 2014 22:17:10 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF4) X-Spam-Score: 0.241 X-Spam-Level: X-Spam-Status: No, score=0.241 tagged_above=-99 required=5 tests=[AWL=-0.309, NO_REAL_NAME=0.55] Received: from mf4.bahnhof.se ([127.0.0.1]) by localhost (mf4.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkPXKsibk6gj; Wed, 3 Dec 2014 22:17:00 +0100 (CET) Received: from mta.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf4.bahnhof.se (Postfix) with ESMTP id C60953D77FA; Wed, 3 Dec 2014 22:16:59 +0100 (CET) Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 7F3BB52720D; Wed, 3 Dec 2014 21:16:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mkl5ruL1J6Ei; Wed, 3 Dec 2014 22:16:45 +0100 (CET) Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id E7DC6527205; Wed, 3 Dec 2014 22:16:45 +0100 (CET) From: joakim@verona.se To: =?iso-8859-1?Q?R=FCdiger?= Sonderfeld Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. References: <5741989.eboZExnV48@descartes> Date: Wed, 03 Dec 2014 22:16:45 +0100 In-Reply-To: <5741989.eboZExnV48@descartes> (=?iso-8859-1?Q?=22R=FCdiger?= Sonderfeld"'s message of "Wed, 03 Dec 2014 20:39:44 +0100") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) R=FCdiger Sonderfeld writes: > As discussed in Bug#16507, I've added a systemd service file to deal with= =20 > emacs --daemon. This however requires some installation changes. That's= why=20 > I submit this patch for review before pushing it. > > A new configuration flag `--with-systemduserunitdir' is added to set the= =20 > installation directory for the user unit. If it is unset an attempt is m= ade=20 > to locate the default directory by using pkg-config. > > (I guess this should also get an entry in etc/NEWS.) > > * configure.ac (with_systemduserunitdir): New option. > * Makefile.in (systemdunitdir,SYSTEMD_UNITS): New variables. > (install-etc): Install systemd unit file. > (uninstall): Uninstall systemd unit file. > * etc/emacs.service.in: New file. > --- > ChangeLog | 8 ++++++++ > Makefile.in | 17 +++++++++++++++++ > configure.ac | 19 +++++++++++++++++++ > etc/ChangeLog | 5 +++++ > etc/emacs.service.in | 14 ++++++++++++++ > 5 files changed, 63 insertions(+) > create mode 100644 etc/emacs.service.in > > diff --git a/ChangeLog b/ChangeLog > index cd7698c..05ad878 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,11 @@ > +2014-12-03 R=FCdiger Sonderfeld > + > + Add a systemd service file for dealing with emacs --daemon. > + * configure.ac (with_systemduserunitdir): New option. > + * Makefile.in (systemdunitdir,SYSTEMD_UNITS): New variables. > + (install-etc): Install systemd unit file. > + (uninstall): Uninstall systemd unit file. > + > 2014-12-01 Lars Magne Ingebrigtsen >=20=20 > * .gitignore: Ignore loaddefs directly under lisp, and in > diff --git a/Makefile.in b/Makefile.in > index ccb70a4..b1e6be5 100644 > --- a/Makefile.in > +++ b/Makefile.in > @@ -241,6 +241,9 @@ etcdocdir=3D@etcdocdir@ > # Where to install Emacs game score files. > gamedir=3D@gamedir@ >=20=20 > +# Where to install systemd unit files. > +systemdunitdir=3D@systemdunitdir@ > + > # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Utility P= rograms for the Build =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >=20=20 > # Allow the user to specify the install program. > @@ -286,6 +289,9 @@ SUBDIR_MAKEFILES =3D `echo $(SUBDIR_MAKEFILES_IN:.in= =3D) | sed=20 > 's|$(srcdir)/||g'` > COPYDIR =3D ${srcdir}/etc ${srcdir}/lisp > COPYDESTS =3D "$(DESTDIR)${etcdir}" "$(DESTDIR)${lispdir}" >=20=20 > +# systemd unit > +SYSTEMD_UNITS =3D @SYSTEMD_UNITS@ > + > all: ${SUBDIR} info >=20=20 > .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 etc-emacsv= er > @@ -716,6 +722,16 @@ install-etc: > || exit 1; \ > done ; \ > done > + if test "x$(SYSTEMD_UNITS)" =3D "xemacs.service" ; then \ > + tmp=3Detc/emacs.service; rm -f $${tmp}; \ > + sed \ > + -e "s;@emacs_prog@;${bindir}/${EMACSFULL};" \ > + -e "s;@emacsclient_prog@;${bindir}/emacsclient${EXEEXT};" \ > + "$(srcdir)/etc/emacs.service.in" > $${tmp}; \ > + umask 022; $(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"; \ > + $(INSTALL_DATA) $${tmp} "$(DESTDIR)$(systemdunitdir)/emacs.service"; \ > + rm -f $${tmp}; \ > + fi >=20=20 > ### Build Emacs and install it, stripping binaries while installing them. > install-strip: > @@ -771,6 +787,7 @@ uninstall: uninstall-$(NTDIR) uninstall-doc > file=3D"$(DESTDIR)${gamedir}/$${file}"; \ > [ -s "$${file}" ] || rm -f "$$file"; \ > done > + -rm -f "$(DESTDIR)$(systemdunitdir)/emacs.service" >=20=20 > ### Windows-specific uninstall target for removing programs produced > ### in nt/, and its Posix do-nothing shadow. > diff --git a/configure.ac b/configure.ac > index 010abc8..e737f1b 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -374,6 +374,10 @@ otherwise for the first of `gfile' or `inotify' that= is=20 > usable.]) > ], > [with_file_notification=3D$with_features]) >=20=20 > +AC_ARG_WITH([systemduserunitdir], > + AS_HELP_STRING([--with-systemduserunitdir=3DDIR], [Directory for system= d user=20 > service files]), > + [], [with_systemduserunitdir=3Ddefault]) > + > ## For the times when you want to build Emacs but don't have > ## a suitable makeinfo, and can live without the manuals. > dnl http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01844.html@= @ -2678,6 +2682,21 @@ AC_SUBST(NOTIFY_OBJ) > AC_SUBST(GFILENOTIFY_CFLAGS) > AC_SUBST(GFILENOTIFY_LIBS) >=20=20 > +if test "x$with_systemduserunitdir" !=3D xno; then > + if test "x$with_systemduserunitdir" =3D xdefault; then > + with_systemduserunitdir=3D`"$PKG_CONFIG" --variable=3Dsystemduseruni= tdir=20 > systemd` > + fi > + AC_SUBST([systemdunitdir], [$with_systemduserunitdir]) > +fi > + > +if test -n "$with_systemduserunitdir" -a "x$with_systemduserunitdir" != =3D xno ;=20 > then > + SYSTEMD_UNITS=3D"emacs.service" > +else > + SYSTEMD_UNITS=3D"" > +fi > + > +AC_SUBST(SYSTEMD_UNITS) > + > dnl Do not put whitespace before the #include statements below. > dnl Older compilers (eg sunos4 cc) choke on it. > HAVE_XAW3D=3Dno > diff --git a/etc/ChangeLog b/etc/ChangeLog > index 4f672df..02c0895 100644 > --- a/etc/ChangeLog > +++ b/etc/ChangeLog > @@ -1,3 +1,8 @@ > +2014-12-03 R=FCdiger Sonderfeld > + > + Add a systemd service file for dealing with emacs --daemon. > + * emacs.service.in: New file. > + > 2014-12-02 Eli Zaretskii >=20=20 > * NEWS: Mention 'bidi-find-overridden-directionality'. > diff --git a/etc/emacs.service.in b/etc/emacs.service.in > new file mode 100644 > index 0000000..0e59bc2 > --- /dev/null > +++ b/etc/emacs.service.in > @@ -0,0 +1,14 @@ > +# -*- conf-mode -*- > +# Copyright (C) 2014 Free Software Foundation, Inc. > +[Unit] > +Description=3DEmacs: the extensible, customizable text editor - and more. > +Documentation=3Dinfo:Emacs man:emacs(1) https://gnu.org/software/emacs/+ > +[Service] > +Type=3Dforking > +ExecStart=3D@emacs_prog@ --daemon > +ExecStop=3D@emacsclient_prog@ --eval "(kill-emacs)" > +Restart=3Don-failure > + > +[Install] > +WantedBy=3Ddefault.target I have a unit file that enables ssh-agent, which is otherwise a problem. I'm not sure if its generally usable. [Unit] Description=3DEmacs: the extensible, self-documenting text editor [Service] Type=3Dforking ExecStart=3D/usr/bin/ssh-agent /usr/local/bin/emacs --daemon ExecStop=3D/usr/local/bin/emacs --eval "(progn (setq kill-emacs-hook 'nil) = (kill-emacs))" Restart=3Dalways User=3D%i WorkingDirectory=3D%h [Install] WantedBy=3Dmulti-user.target The corresponding elisp looks like (warning, lame hard-coding): (defun ssh-agent-init () (interactive) (save-excursion (if (get-buffer "ssh-agent-process") (kill-buffer "ssh-agent-process" )) (with-current-buffer (get-buffer-create "ssh-agent-process") (call-process "ssh-agent" nil t t "-c" "-a" "/home/joakim/.ssh-agent= -sock") (goto-char (point-min)) (message "buf: %s cont: %s"(current-buffer) (buffer-string)) (search-forward-regexp ".* .* \\(.*\\);") (message "1: %s" (match-string 0)(match-string 1)) (setenv "SSH_AUTH_SOCK" (match-string 1)) (setq ssh-auth-sock (getenv "SSH_AUTH_SOCK" )) (message "%s" (getenv "SSH_AUTH_SOCK" ))) ) ) (setenv "SSH_AUTH_SOCK" "/home/joakim/.ssh-agent-sock") ;;from the internetz ;; - it hangs, but works anyway ;; - it should also run ssh-agent-init intelligently (defun ssh-add-process-filter (process string) (save-match-data (if (string-match ":\\s *\\'" string) (process-send-string process (concat (read-passwd string) "\n")) (message "%s" string)))) (defun ssh-add () "Run ssh-add to add a key to the running SSH agent. Let Emacs prompt for the passphrase." (interactive) (let ((process-connection-type t) process) (unwind-protect (progn (setq process (start-process "ssh-add" nil "ssh-add" )) (set-process-filter process 'ssh-add-process-filter) (while (accept-process-output process))) (if (eq (process-status process) 'run) (kill-process process))))) --=20 Joakim Verona From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 16:44:18 2014 Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 21:44:18 +0000 Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHib-0008OO-M1 for submit@debbugs.gnu.org; Wed, 03 Dec 2014 16:44:17 -0500 Received: from ptmx.org ([178.63.28.110]:60889) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwHiY-0008OC-N0 for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 16:44:15 -0500 Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id A58EA2D8E0; Wed, 3 Dec 2014 22:44:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPB9xmzIQ4tl; Wed, 3 Dec 2014 22:44:11 +0100 (CET) Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id EF8002C5F6; Wed, 3 Dec 2014 22:44:09 +0100 (CET) From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: emacs-devel@gnu.org Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Wed, 03 Dec 2014 22:44:03 +0100 Message-ID: <6721261.0nGYaTEs1s@descartes> User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <87iohstp9m.fsf@kima.orebokech.com> References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, Romain Francoise , =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Wednesday 03 December 2014 22:08:37 Romain Francoise wrote: > Is this something that distributions would be expected to enable? > Because I use both systemd and Emacs, yet I absolutely don't want to > have an Emacs daemon started by default in my user instance. It's something the user would be expected to enable. This should only = provide=20 the service file and the user can then enable it, using systemctl enable --user emacs.service (or disable it by using disable). > Also, by default user instances are killed when the last session is > closed, which would therefore kill the emacs process and kinda defeat= > the point of having a persistent daemon. Users should be able to prevent this, by using `loginctl enable-linger'= . Regards, R=C3=BCdiger From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 17:08:34 2014 Received: (at 16507) by debbugs.gnu.org; 3 Dec 2014 22:08:34 +0000 Received: from localhost ([127.0.0.1]:53048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwI65-0000Xc-WB for submit@debbugs.gnu.org; Wed, 03 Dec 2014 17:08:34 -0500 Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:60449) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwI64-0000XS-5x for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 17:08:33 -0500 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id sB3M8UHf018991; Wed, 3 Dec 2014 23:08:30 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id sB3M8UIc013352; Wed, 3 Dec 2014 23:08:30 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id sB3M8UUl013346; Wed, 3 Dec 2014 23:08:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21631.35293.852427.367195@a1i15.kph.uni-mainz.de> Date: Wed, 3 Dec 2014 23:08:29 +0100 To: Romain Francoise Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. In-Reply-To: <87iohstp9m.fsf@kima.orebokech.com> References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org, =?iso-8859-1?Q?R=FCdiger?= Sonderfeld X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >>>>> On Wed, 03 Dec 2014, Romain Francoise wrote: > Is this something that distributions would be expected to enable? As it is proposed, it won't work for Gentoo. We support installation of several Emacs versions in parallel, so a systemd unit file installed under a fixed path name would lead to file collisions between different versions. Which means that we shall disable installation of the file in Gentoo. (Besides, systemd isn't our default init system ...) From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 19:18:34 2014 Received: (at 16507) by debbugs.gnu.org; 4 Dec 2014 00:18:34 +0000 Received: from localhost ([127.0.0.1]:53100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwK7u-0003id-0N for submit@debbugs.gnu.org; Wed, 03 Dec 2014 19:18:34 -0500 Received: from ptmx.org ([178.63.28.110]:35118) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwK7r-0003iV-V0 for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 19:18:32 -0500 Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 3843D2D8C8; Thu, 4 Dec 2014 01:18:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pCbKLp88m+ae; Thu, 4 Dec 2014 01:18:28 +0100 (CET) Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 005872D880; Thu, 4 Dec 2014 01:18:27 +0100 (CET) From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: emacs-devel@gnu.org Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Thu, 04 Dec 2014 01:18:11 +0100 Message-ID: <5628178.gi3dgk9OHo@descartes> User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <21631.35293.852427.367195@a1i15.kph.uni-mainz.de> References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> <21631.35293.852427.367195@a1i15.kph.uni-mainz.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: Ulrich Mueller , Romain Francoise , 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Wednesday 03 December 2014 23:08:29 Ulrich Mueller wrote: > >>>>> On Wed, 03 Dec 2014, Romain Francoise wrote: > > Is this something that distributions would be expected to enable? >=20 > As it is proposed, it won't work for Gentoo. We support installation > of several Emacs versions in parallel, so a systemd unit file > installed under a fixed path name would lead to file collisions > between different versions. >=20 > Which means that we shall disable installation of the file in Gentoo.= > (Besides, systemd isn't our default init system ...) Multiple versions are indeed an issue. I don't know if the systemd fol= ks have=20 a suggestion for that case. But as far as I understand the recommendat= ion is=20 indeed to install unit files to the directory given by pkg-config. The installation directory can of course be changed and you could simpl= y point=20 it elsewhere and then have the user copy the unit file she wants. Regards, R=C3=BCdiger From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 21:57:47 2014 Received: (at 16507) by debbugs.gnu.org; 4 Dec 2014 02:57:47 +0000 Received: from localhost ([127.0.0.1]:53127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwMbz-0007dC-1I for submit@debbugs.gnu.org; Wed, 03 Dec 2014 21:57:47 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:48868) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwMbw-0007d1-Tn for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 21:57:45 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sB42vc4i030248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Dec 2014 02:57:39 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sB42vXjJ020287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 4 Dec 2014 02:57:35 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sB42vX9P020282; Thu, 4 Dec 2014 02:57:33 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 3 Dec 2014 18:57:32 -0800 (PST) From: Drew Adams To: =?utf-8?B?UsO8ZGlnZXIgU29uZGVyZmVsZA==?= , emacs-devel@gnu.org Subject: RE: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> <21631.35293.852427.367195@a1i15.kph.uni-mainz.de> <5628178.gi3dgk9OHo@descartes> In-Reply-To: <5628178.gi3dgk9OHo@descartes> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16507 Cc: Ulrich Mueller , Romain Francoise , 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Please drop one or the other from the recipients list: emacs-devel or debbugs. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 03 22:00:47 2014 Received: (at 16507) by debbugs.gnu.org; 4 Dec 2014 03:00:48 +0000 Received: from localhost ([127.0.0.1]:53131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwMet-0007jH-KA for submit@debbugs.gnu.org; Wed, 03 Dec 2014 22:00:47 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:48718) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwMeq-0007j6-U7 for 16507@debbugs.gnu.org; Wed, 03 Dec 2014 22:00:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XwMeq-0001Qg-DD; Wed, 03 Dec 2014 22:00:44 -0500 From: Glenn Morris To: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> X-Spook: Craig Livingstone Vickie Weaver Steve Case Project X-Ran: xOAMxL\6?05qBF9(rH<7Hx)H!I$-z2tGo{cAv2JH3_/\@?(}T%/E_(1TCY#[%W`&PMOfI9 X-Hue: white X-Attribution: GM Date: Wed, 03 Dec 2014 22:00:44 -0500 In-Reply-To: <5741989.eboZExnV48@descartes> (=?utf-8?Q?=22R=C3=BCdiger?= Sonderfeld"'s message of "Wed, 03 Dec 2014 20:39:44 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Thanks, looks nice. (Don't see why it needed to be posted to two mailing lists though.) Should the name of the service file not respect program-transform though? Ie, if I am installing the Emacs binary as "emacs24", should the service file not be installed as "emacs24.service"? From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 04 01:27:03 2014 Received: (at 16507) by debbugs.gnu.org; 4 Dec 2014 06:27:03 +0000 Received: from localhost ([127.0.0.1]:53191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwPsT-0004PK-73 for submit@debbugs.gnu.org; Thu, 04 Dec 2014 01:27:02 -0500 Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:35005) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwPsO-0004PA-Gl for 16507@debbugs.gnu.org; Thu, 04 Dec 2014 01:26:57 -0500 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id sB46QtOx006133; Thu, 4 Dec 2014 07:26:55 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id sB46QsFo018664; Thu, 4 Dec 2014 07:26:54 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id sB46Qs6Y018658; Thu, 4 Dec 2014 07:26:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <21631.65197.961969.61702@a1i15.kph.uni-mainz.de> Date: Thu, 4 Dec 2014 07:26:53 +0100 To: =?iso-8859-1?Q?R=FCdiger?= Sonderfeld Subject: Re: [RFC] Add a systemd service file for dealing with emacs --daemon. In-Reply-To: <5628178.gi3dgk9OHo@descartes> References: <5741989.eboZExnV48@descartes> <87iohstp9m.fsf@kima.orebokech.com> <21631.35293.852427.367195@a1i15.kph.uni-mainz.de> <5628178.gi3dgk9OHo@descartes> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org, Romain Francoise , emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >>>>> On Thu, 04 Dec 2014, Rüdiger Sonderfeld wrote: > On Wednesday 03 December 2014 23:08:29 Ulrich Mueller wrote: >> Which means that we shall disable installation of the file in >> Gentoo. (Besides, systemd isn't our default init system ...) > Multiple versions are indeed an issue. I don't know if the systemd > folks have a suggestion for that case. But as far as I understand > the recommendation is indeed to install unit files to the directory > given by pkg-config. > The installation directory can of course be changed and you could > simply point it elsewhere and then have the user copy the unit file > she wants. IIUC, a copy of the file is installed with the data-directory (etc/) anyway? So the file will be available to the user, even if not installed in the pkgconfig location. Alternatively, if there is users' demand for it, we (Gentoo) could add the unit to another package (like app-emacs/emacs-common-gentoo which contains the desktop files, or app-emacs/emacs-daemon). We try to keep the number of files installed such at a minimum, though, and follow upstream's install locations whereever possible. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 05 12:27:38 2014 Received: (at submit) by debbugs.gnu.org; 5 Dec 2014 17:27:38 +0000 Received: from localhost ([127.0.0.1]:54903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwwfJ-0002Nn-Sl for submit@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35178) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwwfH-0002Nf-Lu for submit@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwwf7-0006e4-MY for submit@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:35 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwf7-0006dw-K3 for submit@debbugs.gnu.org; Fri, 05 Dec 2014 12:27:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwf0-0008Uj-06 for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:27:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwwes-0006a2-Gf for bug-gnu-emacs@gnu.org; Fri, 05 Dec 2014 12:27:17 -0500 Received: from ptmx.org ([178.63.28.110]:59364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwwes-0006Zy-9g; Fri, 05 Dec 2014 12:27:10 -0500 Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 9BDE42D96E; Fri, 5 Dec 2014 18:27:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JesH+8KvafCi; Fri, 5 Dec 2014 18:27:06 +0100 (CET) Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 60B762C92C; Fri, 5 Dec 2014 18:27:06 +0100 (CET) From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: bug-gnu-emacs@gnu.org, 16507@debbugs.gnu.org Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. Date: Fri, 05 Dec 2014 18:26:58 +0100 Message-ID: <13253045.UFzoSI2klF@descartes> User-Agent: KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Wednesday 03 December 2014 22:00:44 Glenn Morris wrote: > Thanks, looks nice. > (Don't see why it needed to be posted to two mailing lists though.) Sorry about that. > Should the name of the service file not respect program-transform tho= ugh? > Ie, if I am installing the Emacs binary as "emacs24", should the serv= ice > file not be installed as "emacs24.service"? That makes sense and would solve the problem of having several Emacs ve= rsions=20 installed. I'm a bit afraid that using the directory given by systemd might be con= fusing=20 because it won't respect the prefix set by the user. E.g., Emacs being= =20 installed to /usr/local but the service file going to /usr/lib/systemd/= user. =20 However, I think this is just the way systemd expects things to be and = it=20 would be up to the systemd developers to change this. Regards, R=C3=BCdiger From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 08 12:03:27 2014 Received: (at 16507) by debbugs.gnu.org; 8 Dec 2014 17:03:27 +0000 Received: from localhost ([127.0.0.1]:57869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy1iZ-0002WE-1i for submit@debbugs.gnu.org; Mon, 08 Dec 2014 12:03:27 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:53677) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy1iX-0002W5-IX for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 12:03:25 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Xy1iW-0003OX-0c; Mon, 08 Dec 2014 12:03:24 -0500 From: Glenn Morris To: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@descartes> X-Spook: BCCI dictionary Albright halcon Cocaine AFSPC Soviet Dick X-Ran: EA>8z/1pr?GSf/|'OnOE(sKSc7.{/#ANQ^EKWc%A,tB.{]:/Jlq (=?utf-8?Q?=22R=C3=BCdiger?= Sonderfeld"'s message of "Fri, 05 Dec 2014 18:26:58 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 16507 Cc: 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) R=C3=BCdiger Sonderfeld wrote: > I'm a bit afraid that using the directory given by systemd might be > confusing because it won't respect the prefix set by the user. E.g., > Emacs being installed to /usr/local but the service file going to > /usr/lib/systemd/user. I agree that that is an issue. Personally I think you should respect the user's prefix. For example, I often install software as a non-root user into my local software space, and it's always annoying when things try to install files into /usr (which fails due to lack of permission). It's going to take a bit of know-how to actually enable the service, and I think people doing that will be able to cope with copying the file to the appropriate location if they need to. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 08 13:51:24 2014 Received: (at 16507) by debbugs.gnu.org; 8 Dec 2014 18:51:24 +0000 Received: from localhost ([127.0.0.1]:57998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy3P1-0002IA-Ll for submit@debbugs.gnu.org; Mon, 08 Dec 2014 13:51:23 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:51784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy3P0-0002I1-Dy for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 13:51:22 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflRFxLi7/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCw4mEhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IPAS-Result: AjsPAOwQflRFxLi7/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCw4mEhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="99887265" Received: from 69-196-184-187.dsl.teksavvy.com (HELO ceviche.home) ([69.196.184.187]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Dec 2014 13:51:21 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 9FC6E660F3; Mon, 8 Dec 2014 13:51:21 -0500 (EST) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. Message-ID: References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@descartes> Date: Mon, 08 Dec 2014 13:51:21 -0500 In-Reply-To: (Glenn Morris's message of "Mon, 08 Dec 2014 12:03:23 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16507 Cc: =?windows-1252?Q?R=FCdiger?= Sonderfeld , 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> Emacs being installed to /usr/local but the service file going to >> /usr/lib/systemd/user. > I agree that that is an issue. Personally I think you should respect > the user's prefix. Indeed, if the prefix is /usr/local we should not install anything outside /usr/local. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 08 15:41:33 2014 Received: (at 16507) by debbugs.gnu.org; 8 Dec 2014 20:41:33 +0000 Received: from localhost ([127.0.0.1]:58165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy57d-0000pO-69 for submit@debbugs.gnu.org; Mon, 08 Dec 2014 15:41:33 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:35115) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy57a-0000pF-Cn for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 15:41:31 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NGA00L006I6V400@mtaout26.012.net.il> for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 22:40:25 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGA00EUU6RD4070@mtaout26.012.net.il>; Mon, 08 Dec 2014 22:40:25 +0200 (IST) Date: Mon, 08 Dec 2014 22:41:20 +0200 From: Eli Zaretskii Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <8361dlyivj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@descartes> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16507 Cc: ruediger@c-plusplus.de, rgm@gnu.org, 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Date: Mon, 08 Dec 2014 13:51:21 -0500 > Cc: Rüdiger Sonderfeld , > 16507@debbugs.gnu.org > > >> Emacs being installed to /usr/local but the service file going to > >> /usr/lib/systemd/user. > > I agree that that is an issue. Personally I think you should respect > > the user's prefix. > > Indeed, if the prefix is /usr/local we should not install anything > outside /usr/local. AFAIK, there are packages out there which install stuff in /etc, so I'm not sure this rule is valid. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 08 21:47:29 2014 Received: (at 16507) by debbugs.gnu.org; 9 Dec 2014 02:47:29 +0000 Received: from localhost ([127.0.0.1]:58398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyApl-0008Jr-Bk for submit@debbugs.gnu.org; Mon, 08 Dec 2014 21:47:29 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:63056) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyApi-0008Jf-Pw for 16507@debbugs.gnu.org; Mon, 08 Dec 2014 21:47:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflRFxLi7/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQRWIxALNBIUGA0kiFPWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IPAS-Result: AjsPAOwQflRFxLi7/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQRWIxALNBIUGA0kiFPWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="99920372" Received: from 69-196-184-187.dsl.teksavvy.com (HELO ceviche.home) ([69.196.184.187]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Dec 2014 21:47:25 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 8BB0B6610C; Mon, 8 Dec 2014 21:47:25 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#16507: [RFC] Add a systemd service file for dealing with emacs --daemon. Message-ID: References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@descartes> <8361dlyivj.fsf@gnu.org> Date: Mon, 08 Dec 2014 21:47:25 -0500 In-Reply-To: <8361dlyivj.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Dec 2014 22:41:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16507 Cc: ruediger@c-plusplus.de, rgm@gnu.org, 16507@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> >> Emacs being installed to /usr/local but the service file going to >> >> /usr/lib/systemd/user. >> > I agree that that is an issue. Personally I think you should respect >> > the user's prefix. >> Indeed, if the prefix is /usr/local we should not install anything >> outside /usr/local. > AFAIK, there are packages out there which install stuff in /etc, so > I'm not sure this rule is valid. I'm talking about a general rule, which I think Emacs should follow. Some other packages may have good reasons to break this rule, but I can't think of any reason why Emacs should. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 13 18:52:13 2016 Received: (at 16507-done) by debbugs.gnu.org; 13 Nov 2016 23:52:13 +0000 Received: from localhost ([127.0.0.1]:56201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c64ZJ-0004Ro-LD for submit@debbugs.gnu.org; Sun, 13 Nov 2016 18:52:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c64ZH-0004RY-G5 for 16507-done@debbugs.gnu.org; Sun, 13 Nov 2016 18:52:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c64ZB-0004hi-Kh for 16507-done@debbugs.gnu.org; Sun, 13 Nov 2016 18:52:06 -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.7 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]:54824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c64ZB-0004hc-HH for 16507-done@debbugs.gnu.org; Sun, 13 Nov 2016 18:52:05 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1c64Z9-0005TU-Q4; Sun, 13 Nov 2016 18:52:03 -0500 From: Glenn Morris To: 16507-done@debbugs.gnu.org Subject: Re: bug#16507: 24.3; systemd unit for a GNU Emacs daemon References: <8738ki4ys4.fsf@geometryfactory.com> <5741989.eboZExnV48@descartes> <13253045.UFzoSI2klF@descartes> <8361dlyivj.fsf@gnu.org> X-Spook: Matamoros Dirty bomb quarter Euskadi ta Askatasuna X-Ran: `[F2v*{Ovb[-8$V_rD-I`?][!D(jG)o+TFJH)G]}LF+z3Hyxy3g]L'4yw]/8~Z#JJ{+lvI X-Hue: brightcyan X-Attribution: GM Date: Sun, 13 Nov 2016 18:52:03 -0500 In-Reply-To: (Stefan Monnier's message of "Mon, 08 Dec 2014 21:47:25 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.8 (-------) X-Debbugs-Envelope-To: 16507-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.8 (-------) Version: 26.1 An emacs.service file is now included (since 181bd84). Sorry for the delay. From unknown Fri Aug 15 16:21:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Dec 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator