all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Ami Fischman" <ami@fischman.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: poor handling of multiple C-g with multi-tty (apparent hangs)
Date: Tue, 16 Sep 2008 10:00:19 -0400	[thread overview]
Message-ID: <jwvr67k9ox1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9aa0cfde0809151600h6d61c248g3e801ccc3d363cc2@mail.gmail.com> (Ami Fischman's message of "Mon, 15 Sep 2008 16:00:39 -0700")

> This was never checked in, even though it is strictly an improvement to the
> current situation (see my original email for why I believe this is an
> improvement to emacs users as a whole).  Are you still working on refining
> it or would you mind checking it in as it is?

I think your patch is going in the right direction but isn't quite
right either.  What we should check is whether the currently active
terminal is the "controlling terminal" from which Emacs was started.

An even better fix would be that if the seletected terminal is another
tty, we should ideally also do something (e.g. pass a "suspend" message
to the emacsclient).

Basically, we want to do the suspend, but only if the selected terminal
is an output_termcap, and then we want to make sure that we suspend the
process associated with this terminal (either the main Emacs process or
one of the emacsclients).


        Stefan




  parent reply	other threads:[~2008-09-16 14:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11  6:14 poor handling of multiple C-g with multi-tty (apparent hangs) Ami Fischman
2008-08-11 17:40 ` Chong Yidong
2008-08-11 18:56   ` Dan Nicolaescu
2008-08-11 22:00     ` Chong Yidong
2008-08-12  4:53     ` Richard M. Stallman
2008-08-11 21:19   ` Ami Fischman
     [not found] ` <48a85bf8.02a6420a.410f.ffffc5a1MFETCHER_ADDED@google.com>
2008-09-15 23:00   ` Ami Fischman
2008-09-16  3:16     ` Eli Zaretskii
2008-09-16  3:33       ` Ami Fischman
2008-09-16 14:00     ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-20 13:13 Markus Triska

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=jwvr67k9ox1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=ami@fischman.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@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.