all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 31709@debbugs.gnu.org
Subject: bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?
Date: Mon, 04 Jun 2018 14:27:34 +0200	[thread overview]
Message-ID: <877ene91op.fsf@mbork.pl> (raw)
In-Reply-To: <m3tvqikcwn.fsf@gnus.org>


On 2018-06-04, at 13:29, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> 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 <pid>" 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.  :-)

Out of curiosity: is there any downside to having server-start in your
init.el?

Best,

--
Marcin Borkowski
http://mbork.pl





  reply	other threads:[~2018-06-04 12:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 11:29 bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal? Lars Ingebrigtsen
2018-06-04 12:27 ` Marcin Borkowski [this message]
2018-06-05 13:27   ` Lars Ingebrigtsen
2018-06-04 14:52 ` João Távora
2018-06-05 13:28   ` Lars Ingebrigtsen
2018-06-04 16:02 ` Eli Zaretskii
2018-06-05 13:31   ` Lars Ingebrigtsen
2018-06-05 14:28     ` Phil Sainty
2018-06-05 14:38     ` Eli Zaretskii
2018-06-05 15:21       ` Lars Ingebrigtsen
2018-06-05 15:45         ` Eli Zaretskii
2018-06-05 16:20         ` Robert Pluim
2018-06-05 15:35       ` Phil Sainty
2018-06-05 15:51         ` Phil Sainty
2018-06-05 16:24           ` Robert Pluim
2018-06-05 16:36             ` Phil Sainty
2018-06-05 17:05               ` Phil Sainty
2019-09-21  8:19 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ene91op.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=31709@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.