all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ed Avis <eda@waniasset.com>
To: Glenn Morris <rgm@gnu.org>
Cc: "21718@debbugs.gnu.org" <21718@debbugs.gnu.org>
Subject: bug#21718: 24.5; Backgrounding emacsclient hangs emacs
Date: Thu, 22 Oct 2015 08:27:04 +0000	[thread overview]
Message-ID: <9A504DE8-6337-4D62-B2F7-B57FE0CCDEDD@waniasset.com> (raw)
In-Reply-To: <wfeggoce0a.fsf@fencepost.gnu.org>

On 2015-10-21, 18:44, "Glenn Morris" <rgm@gnu.org> wrote:

>> % emacsclient foo
>> C-x b RET                  (switch back to shell buffer)
>> M-x comint-stop-subjob RET
>>
>> I expected this to background the emacsclient process within the shell
>> window. 
>
>It sends SIGSTOP.

There's more to it than that.  'killall -STOP emacsclient' works fine and suspends the
emacsclient process as expected.  And C-c C-c in the shell buffer, sending SIGTERM to
the emacsclient process, also works.  What is comint-stop-subjob doing which is more than
just sending the SIGSTOP?

By the way, running emacsclient inside an emacs shell buffer is quite common for me.
For example on 'git commit' or 'git rebase' etc, which prompt for a log message.
Simple version control operations can be done from emacs itself with vc-mode or other
libraries, but sometimes you want to go to the shell and run the raw git commands.
The same is true of other version control systems.

-- 
Ed Avis <eda@waniasset.com>
Please ignore autogenerated disclaimer below this point.



This email is intended only for the person to whom it is addressed and may contain confidential information. Any retransmission, copying, disclosure or other use of, this information by persons other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material. This email is for information only and is not intended as an offer or solicitation for the purchase or sale of any financial instrument. Wadhwani Asset Management LLP is a Limited Liability Partnership registered in England (OC303168) with registered office at 40 Berkeley Square, 3rd Floor, London, W1J 5AL. It is authorised and regulated by the Financial Conduct Authority.

  reply	other threads:[~2015-10-22  8:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 11:14 bug#21718: 24.5; Backgrounding emacsclient hangs emacs Ed Avis
2015-10-21 17:44 ` Glenn Morris
2015-10-22  8:27   ` Ed Avis [this message]
2021-07-08 13:42 ` Lars Ingebrigtsen
2021-07-08 13:50   ` Ed Avis
2021-07-08 13:57     ` Lars Ingebrigtsen
2021-07-08 14:00       ` Ed Avis
2021-07-08 14:01         ` Ed Avis
2021-07-08 14:02         ` Lars Ingebrigtsen
2021-07-08 14:05           ` Ed Avis
2021-07-08 14:09             ` Ed Avis
2021-07-08 14:14               ` 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=9A504DE8-6337-4D62-B2F7-B57FE0CCDEDD@waniasset.com \
    --to=eda@waniasset.com \
    --cc=21718@debbugs.gnu.org \
    --cc=rgm@gnu.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.