From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: key map entry for shift-return? Date: Thu, 9 Jul 2009 22:14:09 +0000 (UTC) Organization: muc.de e.V. Message-ID: References: <961bb7e9-56d4-40d5-b0dc-4c15e0da722b@x25g2000prf.googlegroups.com> <878wiykk2r.fsf@catnip.gol.com> <1648be38-5e41-4d7b-98d8-1f6e6494d2a2@g7g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247179245 7852 80.91.229.12 (9 Jul 2009 22:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 22:40:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 00:40:39 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MP2IA-0007aE-FR for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jul 2009 00:40:38 +0200 Original-Received: from localhost ([127.0.0.1]:53505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP2I9-0004Bs-Uu for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jul 2009 18:40:37 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.esat.net!colt.net!feeder.news-service.com!news2.euro.net!newsfeed.freenet.de!news.tu-darmstadt.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: marvin.muc.de Original-X-Trace: colin2.muc.de 1247177649 7273 2001:608:1000::2 (9 Jul 2009 22:14:09 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: Thu, 9 Jul 2009 22:14:09 +0000 (UTC) User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386)) Original-Xref: news.stanford.edu gnu.emacs.help:170709 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65907 Archived-At: Peter Dyballa wrote: > Am 09.07.2009 um 20:02 schrieb Alan Mackenzie: >> It can be fixed for Emacs running on a tty, as indeed I have fixed >> mine. > Is this fix *very* specific? If it can be used in many terminal > emulations on many operating systems by many users, then it's really > worth to become part of GNU Emacs ? or is it 'just' X resources? Then > it's worth to become part of the documentation. The fix is specific to Linux virtual terminals, the things that use `loadkeys' and friends to setup the keyboard, and to which you get by pressing, e.g. C-A- from X-Windows. I don't know if it would work without modification in an X-Windows terminal window. The fix arranges for modifier keys to apply prefixes, so that where is normally "ESC [ C", C- becomes "ESC [ 1 } ESC [ C" and C-S- would be "ESC [ 5 } ESC [ C". Additionally, there's some stuff in the function key map to handle the prefices. It works flawlessly. The guy who wrote it, Kalle Niemitalo, doesn't much like GPL-3, and doesn't want to assign it to the FSF, so it can't become part of Emacs. I keep meaning to put it up on the Emacs Wiki, though. > Pete -- Alan Mackenzie (Nuremberg, Germany).