[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: key map entry for shift-return?
From: |
Alan Mackenzie |
Subject: |
Re: key map entry for shift-return? |
Date: |
Thu, 9 Jul 2009 18:02:09 +0000 (UTC) |
User-agent: |
tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386)) |
Hi, Despen!
In gnu.emacs.help despen@verizon.net wrote:
> Xah Lee <xahlee@gmail.com> writes:
>> On Jul 9, 7:27 am, Miles Bader <mi...@gnu.org> wrote:
>>> Alan Mackenzie <a...@muc.de> writes:
>>> > Hey, stop being so enigmatic! I think the OP only wants Shift Return
>>> > for his own use, which should be OK. So please tell him (and me) what
>>> > this other complexity is.
>> Well, perhaps just a sentence or two to answer Alan.
>> Basically, for good or bad, emacs does not capture the key by itself,
>> but goes thru ascii representation in its implementation...
It's not quite as simple as that, actually. ;-)
>> my phrasing here is not exact but don't want to spend too much time
>> writing this. Basically, the end result is that when people want to
>> map keys like Tab, Return, or with modifiers, it has many
>> complexities.
Thanks for being so exact about this, Xah! ;-)
>> Many threads asked or discussed these in the past year
>> or two here.... another example comes to mind is that emacs is unable
>> to capture Ctrl+Shift+key combos in terminal.
It is on my terminal, a Linux tty with a suitable keyboard layout. I
just wish the Linux guys would have the courage to make standard keyboard
layouts with unique codes for every modified key combination.
>> Perhaps historically justifiable... but today's apps that goes thru
>> network don't have this limitation...
> I'm not sure what this is all about, I never saw the original post.
> But binding something to shift return doesn't seem to be a big problem.
> Try evaling this:
> (define-key global-map [(S-return)] 'compile)
> It works for me.
:-) Then feel free to use it.
> I don't expect it would work in a TTY, but that's an issue with the TTY
> not emacs. For some TTY programs even that can be fixed.
It can be fixed for Emacs running on a tty, as indeed I have fixed mine.
--
Alan Mackenzie (Nuremberg, Germany).
Re: key map entry for shift-return?, Xah Lee, 2009/07/09
- Re: key map entry for shift-return?, Alan Mackenzie, 2009/07/09
- Re: key map entry for shift-return?, Miles Bader, 2009/07/09
- Re: key map entry for shift-return?, Xah Lee, 2009/07/10
- Re: key map entry for shift-return?, despen, 2009/07/09
- Re: key map entry for shift-return?,
Alan Mackenzie <=
- Re: key map entry for shift-return?, Peter Dyballa, 2009/07/09
- Message not available
- Re: key map entry for shift-return?, Alan Mackenzie, 2009/07/09
- Re: key map entry for shift-return?, Miles Bader, 2009/07/09
- Re: key map entry for shift-return?, Alan Mackenzie, 2009/07/10
- Re: key map entry for shift-return?, Miles Bader, 2009/07/10
- Re: key map entry for shift-return?, Alan Mackenzie, 2009/07/10
Re: key map entry for shift-return?, Xah Lee, 2009/07/10
Re: key map entry for shift-return?, despen, 2009/07/09