From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.devel Subject: Re: Input for TTY menus Date: Fri, 18 Oct 2013 12:55:59 +0800 Message-ID: References: <831u4llymo.fsf@gnu.org> <83r4bjoq33.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1382072166 9822 80.91.229.3 (18 Oct 2013 04:56:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 04:56:06 +0000 (UTC) Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 18 06:56:11 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VX26c-0003nd-9Q for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2013 06:56:10 +0200 Original-Received: from localhost ([::1]:55716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX26c-0006em-0d for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2013 00:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX26Z-0006eW-1D for emacs-devel@gnu.org; Fri, 18 Oct 2013 00:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX26Y-0003Cu-2v for emacs-devel@gnu.org; Fri, 18 Oct 2013 00:56:06 -0400 Original-Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:51407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX26T-0003CC-3i; Fri, 18 Oct 2013 00:56:01 -0400 Original-Received: by mail-we0-f177.google.com with SMTP id x55so3172650wes.22 for ; Thu, 17 Oct 2013 21:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/xBePV5SE1f175gfFKph3xKdD0zOnJK6CV+qTPK8/Z4=; b=Syx40ayFVRhRnOh9in9bcAhqIgCRnqMEAeFN1IA+mJPao2kCSRB0OflP1jlOMzpOr0 Z6CMkXvHqTD4AYw3vT8KEmHELjyVhrKSIOAd+xQOg9xP4sTUo49h8lIhccuPMlLXj/B9 hbht5QDvDM9NoZDkSlQh/fnvkEgTVVuN3RPq3bgWNWuMeR4JdtPzrptAs4SmySbV4Z42 khaA4HTOL2CMS9lzvQs26anogF1vM3qAnWAee8dtBL7pQwbCXi4msiETNNGvY6eIUcSs iG4OktTK6PE9aKLut2AsZxSmgS0ol9b84TsKpgMV+SrHnYqhQpE4d1F7rBPa3kQJE653 BHAQ== X-Received: by 10.194.122.99 with SMTP id lr3mr719985wjb.21.1382072159500; Thu, 17 Oct 2013 21:55:59 -0700 (PDT) Original-Received: by 10.194.6.162 with HTTP; Thu, 17 Oct 2013 21:55:59 -0700 (PDT) In-Reply-To: <83r4bjoq33.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164283 Archived-At: Hi Eli, On Thu, Oct 17, 2013 at 11:49 PM, Eli Zaretskii wrote: > Finished, see > > http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00258.html. I am sorry to have missed this one. Excuse me for describing my problem earlier as vaguely as "does not work". The problem is I actually didn't know how to use it. That post really clear things up for me. >> I've tried latest bzr revno: 114690 and it does not work on these >> environments that I have used to test: >> >> 1. xterm on GNU/Linux, >> 2. GPM-enabled virtual console on GNU/Linux. >> 3. iterm2 on OSX > > What do you mean by "does not work"? Are the problems with the mouse, > or can't you even open the menus with F10 and then navigate with arrow > keys or with C-f/C-b/C-n/C-p? The latter certainly works for me on > GNU/Linux. Great! the latter works for me too on either of the three above I tested. There's one problem with the NS-build, the menu of text-mode of NS-Build is like this: File Edit Options Tools Lisp-Interaction Buffers Services Help ^^^^^^^^^ The Services menu is empty(I think it is not of much use on text-mode) So while cycling through the menu with right char (tty-menu-next-menu) tty menu exits when it reaches Services thus Help can not be reached except using left char to go backwards. > If the problem is with the mouse, then xt-mouse indeed does not work > (it starts tmm-menubar instead). I could not test with GPM, and I > don't know what is iterm2. I don't have access to these environments, > so the text-mode mouse is only tested on Windows text terminal. > Details of why things don't work and patches are welcome. I see. With GPM mouse it works on modeline, if the mouse is over the modeline, there're tips showing on the echo area and mouse click do bring up the menu. One problem I found so far: say I stay at a fundamental mode buffer and I click Fundamental on modeline => Edit => Goto => Goto-Line, then the focus(point) is on the buffer not on the minibuffer that prompts for input. Also with GPM, click on the top menu it gives: is undefined It would be great that the top menu can be brought up by clicking as the modeline does.