From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal? Date: Mon, 04 Jun 2018 13:29:44 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528111755 2662 195.159.176.226 (4 Jun 2018 11:29:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2018 11:29:15 +0000 (UTC) To: 31709@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 04 13:29:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPnfj-0000ac-6b for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jun 2018 13:29:11 +0200 Original-Received: from localhost ([::1]:38981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPnhq-0007pX-91 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jun 2018 07:31:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPnha-0007nr-3E for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPnhX-00065G-1C for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPnhW-000656-Ug for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPnhW-0004Kj-Lb for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jun 2018 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152811180712977 (code B ref -1); Mon, 04 Jun 2018 11:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jun 2018 11:30:07 +0000 Original-Received: from localhost ([127.0.0.1]:60942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPngd-0003Mr-6f for submit@debbugs.gnu.org; Mon, 04 Jun 2018 07:30:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPngb-0003HK-Rn for submit@debbugs.gnu.org; Mon, 04 Jun 2018 07:30:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPngV-0005BY-Lc for submit@debbugs.gnu.org; Mon, 04 Jun 2018 07:30:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fPngV-0005BS-Hw for submit@debbugs.gnu.org; Mon, 04 Jun 2018 07:29:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPngU-0006rj-8z for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPngQ-00059e-VN for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:29:58 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPngQ-00057J-O4 for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 07:29:54 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fPngG-0003yb-QI for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2018 13:29:46 +0200 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: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146948 Archived-At: Once again I find myself in the situation that I've started an Emacs at home without an Emacs server socket, and I know there's something in a buffer there that I want to get a hold of. But I'm at work, and there's no way to make Emacs start a server remotely. It would be really nice if I could just ssh to the machine where the Emacs is running, do "kill -USR1 " and then ... Emacs could do something. Like load "~/.emacs.d/load-file-USR1" or something. Or just start emacs-server. There are security implications, of course... But does this seem like something useful? Writing a package that does this is easy, of course, but if you know that this is something you need, then you'd already have started the Emacs server anyway. So it would have to be something that's available in Emacs by default, because you only need it if you didn't know that you were going to need it. :-) In GNU Emacs 27.0.50 (build 22, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2018-05-31 built on stories Repository revision: c0a0351249c1e6a9307224d8337ff8916f4cf138 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 9 (stretch) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no