From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Trey Ethan Harris Newsgroups: gmane.emacs.bugs Subject: bug#13697: A way to tell if Emacs can interact with the user Date: Wed, 3 Apr 2019 19:25:11 -0400 Message-ID: References: <87ef6ig0kl.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004432220585a891d4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="23539"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 13697@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 01:26:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBpGz-0005x5-DE for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Apr 2019 01:26:25 +0200 Original-Received: from localhost ([127.0.0.1]:60506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBpGy-0005up-C3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Apr 2019 19:26:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBpGn-0005uh-NB for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 19:26:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBpGh-0005oa-IE for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 19:26:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBpGc-0005dz-4o for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 19:26:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBpGb-0000OX-OI for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2019 19:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Trey Ethan Harris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2019 23:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13697 X-GNU-PR-Package: emacs Original-Received: via spool by 13697-submit@debbugs.gnu.org id=B13697.15543339301471 (code B ref 13697); Wed, 03 Apr 2019 23:26:01 +0000 Original-Received: (at 13697) by debbugs.gnu.org; 3 Apr 2019 23:25:30 +0000 Original-Received: from localhost ([127.0.0.1]:43428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBpG6-0000Ne-Dv for submit@debbugs.gnu.org; Wed, 03 Apr 2019 19:25:30 -0400 Original-Received: from mail-it1-f178.google.com ([209.85.166.178]:52150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBpG3-0000NO-SY for 13697@debbugs.gnu.org; Wed, 03 Apr 2019 19:25:28 -0400 Original-Received: by mail-it1-f178.google.com with SMTP id s3so774548itk.1 for <13697@debbugs.gnu.org>; Wed, 03 Apr 2019 16:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rk24nocyVEH0NVrIbn6AkDQcy80zZj9zJ8HiulAqvX4=; b=QFwYOQ3p5mNo7/3LWtzxmxCZzKrs5J2ZO9JLPVsSG+xoZiLXBIvHb74LcDlKXne23h 59eunA0jBrglhGK66cnRuu0zXDjrDbluSfofmznaAdBrSd2ZNUYzNzaj8OMrljF9B5uY avkYKwqhqJANg8CgxxJDy7u8iVesf/CMKmP2vUZS8Df0s4fvZCpU0R7rc1nTYhnQqiEt SmJWK/lOwBMKnV1gwwRScKaQKs6Wr9C9T9kOLJs1CtOjXP3nyzC8hZ8WWQqHvO3/dSDh nkVtQgW/fFXcsesPa+ZGZkHC/r//QxFQdOp2nZt8s0ESH00qp41mu/LNbI53r64pgJfs cI3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rk24nocyVEH0NVrIbn6AkDQcy80zZj9zJ8HiulAqvX4=; b=IAa4JE2yy/pfvsRH7DL+9luRuCvMqgnmyGv4ggbHpZDXbT0j/JnkWdEJDpRr7ayFxB jUIG/jQWvr2P83ryiPrmlNNcBxi08pjDqnctRvDPHog3hxgNzJ76JjSPdo3T7J7us6yF w6SVdBr5Fnq0KZmr7zDgAz5Kpx5+rQFwzoMpbivUDY/6Bi0vfarsh+TB0xmw2RvWlCuA nZnML/O4V/cqK7ZrX3ntXVrG92CnLAfUmNRAE13rpunMhkfFOOHsSvaIcHouwHjVzXQa rCu/FxdzrY3nliq9BAZ6gFuA2Yz1N2JIUTe1UV406UmrCJiMzkS6teHeOy79Albk4qz0 5n8g== X-Gm-Message-State: APjAAAXpwXNfRZ4YkBcytugJSq7q1zKwjSSCVPda/cMCX0/fit+OQxrC 2p+zvKhqYlIlrkBhsOTl5xI+eaLtcftX3xwAN2g= X-Google-Smtp-Source: APXvYqyd2BcBdsG9WnsRa9R9occwT5DcsAlHk7kZXRTkjO9Gxelb5DorkHccIdeJ+9ljmRtK1MFv6YXe6A0DJ0pfyTk= X-Received: by 2002:a24:254c:: with SMTP id g73mr2392561itg.77.1554333921717; Wed, 03 Apr 2019 16:25:21 -0700 (PDT) In-Reply-To: <87ef6ig0kl.fsf_-_@gmail.com> 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: 209.51.188.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:157147 Archived-At: --0000000000004432220585a891d4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 3, 2019 at 6:56 PM Noam Postavsky npostavs@gmail.com wrote: > > Hmm, I'm not sure where all these threads you're talking about will come > from. Emacs is still mostly single-threaded, and we still have stuff > like Bug#25214 "Interacting with user from threads other than the > primary" open. > Curious; when I start Emacs interactively and it gets stuck on, say, a desktop lock file (the most common thing that interrupts startup for me), initialization continues even as the yes-or-no-p waits. I assumed that meant there was threading. If it does not, then can whatever asynchronicity does let this continuation happen be substituted for =E2=80=9Cthreads=E2=80= =9D in my suggestion above? --0000000000004432220585a891d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Apr 3, 2019 at 6:56 PM Noam Pos= tavsky npostavs@gmail.com = wrote:



Hmm, I'm not sure where all these threads you're talking about will= come
from.=C2=A0 Emacs is still mostly single-threaded, and we still have stuff<= br> like Bug#25214 "Interacting with user from threads other than the
primary" open.

Curious; when I start Emacs int= eractively and it gets stuck on, say, a desktop lock file (the most common = thing that interrupts startup for me), initialization continues even as the= yes-or-no-p w= aits. I assumed that meant there was threading. If it does not, then can wh= atever asynchronicity does let this continuation happen be substituted for = =E2=80=9Cthreads=E2=80=9D in my suggestion above?

--0000000000004432220585a891d4--