bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11358: 24.1.50; Feature request: A way to abort emacs-client


From: Eli Zaretskii
Subject: bug#11358: 24.1.50; Feature request: A way to abort emacs-client
Date: Thu, 03 Jun 2021 10:54:47 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 03 Jun 2021 09:07:52 +0200
> Cc: "11358@debbugs.gnu.org" <11358@debbugs.gnu.org>,
>  "npostavs@users.sourceforge.net" <npostavs@users.sourceforge.net>
> 
> Harald Hanche-Olsen <harald.hanche-olsen@ntnu.no> writes:
> 
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> >
> >> Anyway -- was the request here to add a new command to work like
> >> `C-x #', but instead send "-error Canceled by user"?  
> >
> > That was my thought, yes. It would not need to be bound to any key by 
> > default.
> > Perhaps ‘server-edit-abort’ is a good name?
> 
> Sure.  I'm not that familiar with how server.el/emacsclient works,
> though -- can somebody else propose a patch to implement this command?

The commands accepted by the client are documented in the doc string
of server-process-filter.  There's already a command that causes the
client to exit with a non-zero exit status: "-error MESSAGE".  Maybe
just reusing it would do.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]