From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefano Zacchiroli Newsgroups: gmane.emacs.bugs Subject: bug#13793: 24.3.50; M-x broken in viper and X Date: Mon, 24 Jun 2013 16:37:31 +0200 Message-ID: <20130624143731.GA24473@upsilon.cc> References: <20130223123501.43568c52@susi> <20130615122529.GA25730@upsilon.cc> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1372084696 11879 80.91.229.3 (24 Jun 2013 14:38:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2013 14:38:16 +0000 (UTC) Cc: 13793@debbugs.gnu.org, Michael Kifer To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 16:38:17 2013 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 1Ur7uH-0005Uy-Ps for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 16:38:14 +0200 Original-Received: from localhost ([::1]:49699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7uH-0006iZ-Dh for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2013 10:38:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7u9-0006X4-4c for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ur7u7-0007ez-Fp for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:38:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur7u7-0007eq-63 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ur7u6-0005T2-Dd for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2013 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefano Zacchiroli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2013 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13793 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13793-submit@debbugs.gnu.org id=B13793.137208465720945 (code B ref 13793); Mon, 24 Jun 2013 14:38:02 +0000 Original-Received: (at 13793) by debbugs.gnu.org; 24 Jun 2013 14:37:37 +0000 Original-Received: from localhost ([127.0.0.1]:38702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ur7tg-0005Rl-Je for submit@debbugs.gnu.org; Mon, 24 Jun 2013 10:37:36 -0400 Original-Received: from upsilon.hackadomia.org ([91.121.245.170]:58694) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ur7td-0005RR-BA for 13793@debbugs.gnu.org; Mon, 24 Jun 2013 10:37:34 -0400 Original-Received: from usha.takhisis.invalid (unknown [IPv6:2001:660:3013:3:f2de:f1ff:fed1:eff6]) by upsilon.hackadomia.org (Postfix) with ESMTPSA id D263F960D0; Mon, 24 Jun 2013 16:37:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upsilon.cc; s=mail; t=1372084651; bh=Sv99flzCO+kOf0e8I67kDpVo3585MPOS+7X6lpUziXo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dZB5pc7z3l9rV5sYnO3T8VGsJ7fuJb8FRDrWoQhUnSwNw/42WXurU7dz1gS5RNYbQ dJ3/8I7zJ0OZohH3hnDz/HfR8vhUUUNdMMmq3njGgKvpFcEZqyOxc9ubsSs1EGcNUy q7sK/PX5Kicx//Itd4Ic2pZOlErkB+ZAQPb1Aebc= Original-Received: by usha.takhisis.invalid (Postfix, from userid 1000) id 284966813B8; Mon, 24 Jun 2013 16:37:31 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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:75503 Archived-At: On Sat, Jun 22, 2013 at 05:56:28PM -0400, Stefan Monnier wrote: > Could you try the patch below under X11 and under a tty, ideally even > using emacsclient to create new X11 and tty frames? Hi Stefan, I've just tried the patch (sorry for the delay, but in the process I stumbled upon #14596 and I was short on time, found only now the workaround for that). The patch works in fixing the M-x issue, which now works fine in both console (emacsclient -t) and GUI (emacsclient -c) clients. Unfortunately, the patch has a very nasty side-effect: it makes impossible to leave insert mode in console clients. Hitting ESC result (after the expected brief delay) in "ESC-" being shown in the Emacs minibuffer, but the nothing else happens. The key remains shown there indefinitely, whereas Viper remains in insert mode ( shown in the line just above the minibuffer). Hitting some other key then makes the "ESC-" message going away (presumably because ESC-that_char is not mapped to anything meaningful), but that's hit. There's no way to leave insert mode. On the other hand, everything works fine in the GUI clients, where both M-x and entering/leaving insert mode work as expected. For the sake of debugging, I've also tried to open in parallel the same buffer in a side-by-side console and GUI clients. It is possible to enter insert mode in the console client, and then use the GUI client to leave it. This was probably obvious to you, but it shows to me that the issue is in the interaction with the client, and not a sticky property of the underlying buffer. Thanks a lot for a first stab at the patch, I really appreciate. Hope this feedback helps, Cheers. -- Stefano Zacchiroli . . . . . . . zack@upsilon.cc . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Former Debian Project Leader . . @zack on identi.ca . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club »