From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Adding xterm-extras to Emacs Date: Sat, 13 Oct 2007 11:37:13 +0100 Message-ID: References: <200709140102.l8E12pVF020239@oogie-boogie.ics.uci.edu> <200709140130.l8E1U9Hi020965@oogie-boogie.ics.uci.edu> <200709140232.l8E2Wj0A022451@oogie-boogie.ics.uci.edu> <200709141638.l8EGcegt015804@oogie-boogie.ics.uci.edu> <200709150032.l8F0Wkix005504@oogie-boogie.ics.uci.edu> <200709211351.l8LDpEXR008997@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1192271990 23296 80.91.229.12 (13 Oct 2007 10:39:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 10:39:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 12:39:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgePD-0001Uc-3F for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 12:39:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgeP6-00069G-FI for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 06:39:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgeP3-000671-4D for emacs-devel@gnu.org; Sat, 13 Oct 2007 06:39:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgeP0-000639-Sk for emacs-devel@gnu.org; Sat, 13 Oct 2007 06:39:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgeP0-00062t-Mq for emacs-devel@gnu.org; Sat, 13 Oct 2007 06:39:26 -0400 Original-Received: from ppsw-5.csi.cam.ac.uk ([131.111.8.135]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgeP0-0002Yl-E5 for emacs-devel@gnu.org; Sat, 13 Oct 2007 06:39:26 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]:35565 helo=localhost.localdomain) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1IgeOt-0000eR-GC (Exim 4.67) (return-path ); Sat, 13 Oct 2007 11:39:19 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 12 Oct 2007 12:18:38 -0400") User-Agent: Gnus/5.110007 Emacs/23.0.50 (20071010) Fedora 7 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80783 Archived-At: On 2007-10-12 17:18 +0100, Stefan Monnier wrote: >>>> However, Alt+Ctrl+Right is shown as "" but not "" >>>> while Alt+Right is shown as "" but not . You can see >>>> they are _INCONSISTENT_. >>> >>> Can you check C-h l as well to see if Alt+Ctrl+Right sends ESC followed by >>> the escape sequence for Ctrl+Right and if Alr+Right does the same. >>> If not, then the inconsistency is in xterm and should be reported there >>> (after reporting there, we may also decide to workaround the problem in >>> Emacs by binding those escape sequences to M-right instead). > >> Yes, it looks like Alt+Ctrl+Right and Alt+Right send ESC. > >> Alt+Ctrl+Right ^[[1;7C >> Alt+Right ^[[1;3C > > You mean "it looks like they *don't*"! The ESC you see are the first char > of an escape sequence, not standalone ESC characters. > > What "metaSendsEscape" is supposed to do is to turn Alt+A into ESC A, so if > Right sends ^[[C (aka ESC [ C), then Alt+Right should send ^[^[[C (aka ESC > ESC [ C). Please report this as a feature request to xterm's maintainers. > > But looking at lisp/xterm.el now I see that we indeed inconsistently map > things to S-M-foo but A-foo, so the inconsistency is our fault and should be > corrected with the patch below, I have updated xterm.el to the latest and now Alt+Right is recognized as etc. Do you still think that xterm is missing the feature? > Stefan [...] -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/