From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#16479: 24.3.50; daemon freeze with tty menus Date: Fri, 17 Jan 2014 05:21:51 -0500 Message-ID: <87eh4652o0.fsf@holos.localdomain> References: <87y52fgd5g.fsf@holos.localdomain> <83ha93kk5m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389954073 20411 80.91.229.3 (17 Jan 2014 10:21:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 10:21:13 +0000 (UTC) To: 16479@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 11:21:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W46Y9-0006VL-BF for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 11:21:17 +0100 Original-Received: from localhost ([::1]:37222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46Y8-0007r9-Nc for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 05:21:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46Y0-0007qC-F5 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:21:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W46Xu-000677-UC for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:21:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46Xu-00066j-Qb for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W46Xu-000623-FH for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138995405323162 (code B ref -1); Fri, 17 Jan 2014 10:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jan 2014 10:20:53 +0000 Original-Received: from localhost ([127.0.0.1]:54459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W46Xk-00061U-T1 for submit@debbugs.gnu.org; Fri, 17 Jan 2014 05:20:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59282) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W46Xi-00061M-41 for submit@debbugs.gnu.org; Fri, 17 Jan 2014 05:20:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W46Xc-00060K-2r for submit@debbugs.gnu.org; Fri, 17 Jan 2014 05:20:49 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46Xb-00060G-Vj for submit@debbugs.gnu.org; Fri, 17 Jan 2014 05:20:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46XW-0007jY-NO for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:20:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W46XR-0005z4-Ba for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:20:38 -0500 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:52926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W46XQ-0005yX-TB for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 05:20:33 -0500 Original-Received: by mail-qc0-f169.google.com with SMTP id w7so3453444qcr.14 for ; Fri, 17 Jan 2014 02:20:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=+80mEk5Ylh88jD7NHFKiWoFfxwRXIqwpU4mGhIkrXHQ=; b=Mz1gJACrvdFmvMeVIG65VS/6iO9qu/YX5KhZa4Ohyjrw1H1hdI1aDFneYCoZNDkdK6 RfNWaOn9bMZghf7lHt540v8DU5V/GENRC/mFRZqaha5JHF1njwZiEUG8/zhAd0n84xGc gatMb8RyTuz6igU8pCIfhvGET0jBfH1mDd5r+Mrud+hX3ZRvmx+XY0Lub/Di/bwZg9rq gFm9IJ5ykN6Nolb7vnJn7LUiec/PwwZYYcWaXR6QY1rQdL9dxIgfPXcQPpswjpSsQbAl kvWIwZfVFMZJv/Sh1t2vAN4N/aa66RfSr1KMcbW5/YrgCyTl7GhrEpzwxchbHAFdfJTB 0dDA== X-Gm-Message-State: ALoCoQn4g8ATL+8mDTCZ6igvelH+sYnUBKa8WrgMwhHFCAYrrcKANUHxNCxaORIREzWD0N1C650q X-Received: by 10.224.68.70 with SMTP id u6mr1588976qai.5.1389954032498; Fri, 17 Jan 2014 02:20:32 -0800 (PST) Original-Received: from holos.localdomain (c-68-55-201-85.hsd1.md.comcast.net. [68.55.201.85]) by mx.google.com with ESMTPSA id f5sm13750115qas.11.2014.01.17.02.20.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2014 02:20:32 -0800 (PST) In-Reply-To: <83ha93kk5m.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Jan 2014 11:55:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83639 Archived-At: Eli Zaretskii writes: >> From: Mark Oteiza >> Date: Fri, 17 Jan 2014 04:39:55 -0500 >> >> >> >From emacs --daemon -Q: >> >> $ emacsclient -t >> M-x menu-bar-mode RET >> >> At this point, the daemon is started, and a client is open with a tty >> menu selected. Leaving the first client alone, open a new one >> >> $ emacsclient -t >> >> Now emacs is frozen. > > It's not frozen, it waits for you to finish the menu input. The same > happens if you type, e.g., "C-x" in one client and then switch to the > other: it will be unresponsive until you finish typing the command in > the first one. > > Emacs reads only from one keyboard at a time. > > This is not a bug, but a well-known limitation of multi-tty input in > Emacs. Ok. I understand that emacs has to wait for input. With menu-bar-mode disabled, I can open a menu in client A with F10, open another client B somewhere else, return to client A and do whatever with the menu. With menu-bar-mode (and thus the new tty menus) enabled, if I do the steps I outlined above, I expect to be able to return to the previous client and finish input. This is not the case: if I go back to the first client with the menu, and try an arrow key or C-{npbf}, emacs crashes. I think this is a bug. I realize I failed to communicate the problem in my first email.