From: Ergus <spacibba@aol.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, juri@linkov.net
Subject: Re: xterm [menu] key definition
Date: Wed, 25 Aug 2021 13:53:15 +0200 [thread overview]
Message-ID: <20210825115315.nlkppccghmg3clzx@Ergus> (raw)
In-Reply-To: <83r1ehvk6e.fsf@gnu.org>
On Wed, Aug 25, 2021 at 02:27:21PM +0300, Eli Zaretskii wrote:
>> Date: Tue, 24 Aug 2021 22:23:40 +0200
>> From: Ergus <spacibba@aol.com>
>> Cc: juri@linkov.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org
>>
>> I am not saying the current code is wrong. Just that the so called
>> [print] key does not exist while the same key is seen as [menu] in gui.
>
>We need evidence for that, and we need evidence that would explain why
>xterm.el does have a translation for that key.
>
This was my very first question on this: why Print. And why I started
this thread. In the worst case we shouldn't have mapped the escape no
anything or in the best it should be bound to <f16> for what I have
learned here.
>> I already wrote to Thomas Dickey (xterm maintainer) some days ago about
>> this:
>
>AFAIU, Thomas just says that he doesn't know of any standard xterm
>assignment to the Menu key. I already knew that, because I looked
>into the xterm sequences documentation when you first reported the
>issue. So what Thomas wrote doesn't tell me anything new.
>
The maps are there as mentioned before by Yuri:
https://github.com/Maximus5/xterm/blob/master/src/input.c#L1460
>> The other change I propose is the S-<f6> instead of S-<f10> and for that
>> we have all the evidence that urxvt binds the same escape sequence to
>> S-<f6> (since we do:
>>
>> lisp/term/rxvt.el:67: (define-key map "\e[29~" [S-f6])
>
>I don't think using S-F6 for this is a good idea. F10 is our key for
>menus, so S-F10 sounds a lot better.
>
From the code it looks like [menu] is an alias for <f16>. rxvt
convention makes <f 10+X> = S-<fX>. xterm used a similar approach but
with 12 instead of 10; now it is more complete and with many more
bindings emacs does not support for backward compatibility... (like
C-S-letter for example)
>> Otherwise we will need to request to all the compatible terminals around
>> to update their terminfo.. a very long process that will delay for years
>> until all the systems in all the servers will be updated.
>
>I don't understand why would we need to request anything. If this is
>for the Print key, then since it seems that no keyboard has it, we are
>good.
>
Not for the print; but for the menu. When I wrote this I didn't know it
was generally an alias for <f16>.
next prev parent reply other threads:[~2021-08-25 11:53 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210819024728.kgnf6jmpakqdto4p.ref@Ergus>
2021-08-19 2:47 ` xterm [menu] key definition Ergus
2021-08-23 17:53 ` Ergus
2021-08-24 6:37 ` Juri Linkov
2021-08-24 8:19 ` Ergus
2021-08-24 8:34 ` tomas
2021-08-24 9:17 ` Ergus
2021-08-24 10:03 ` Andreas Schwab
2021-08-24 11:00 ` tomas
2021-08-24 15:30 ` Ergus
2021-08-25 7:06 ` tomas
2021-08-25 9:32 ` Ergus
2021-08-25 10:47 ` tomas
2021-08-25 11:31 ` Ergus
2021-08-26 5:47 ` chad
2021-08-26 7:14 ` tomas
2021-08-26 8:16 ` Andreas Schwab
2021-08-24 8:34 ` Andreas Schwab
2021-08-24 9:07 ` Ergus
2021-08-24 22:05 ` Stefan Monnier
2021-08-25 6:38 ` tomas
2021-08-25 9:04 ` Ergus
2021-08-24 16:40 ` Ergus via Emacs development discussions.
2021-08-24 17:28 ` Eli Zaretskii
2021-08-24 18:09 ` Juri Linkov
2021-08-24 20:23 ` Ergus
2021-08-25 11:27 ` Eli Zaretskii
2021-08-25 11:53 ` Ergus [this message]
2021-08-24 22:16 ` Stefan Monnier
2021-08-24 23:20 ` Ergus
2021-08-25 2:53 ` Stefan Monnier
2021-08-25 8:58 ` Ergus
2021-08-25 14:13 ` Stefan Monnier
2021-08-25 11:34 ` Eli Zaretskii
2021-08-25 22:41 ` Stefan Monnier
2021-08-26 6:55 ` Eli Zaretskii
2021-08-26 7:17 ` Ergus
2021-08-26 7:23 ` Eli Zaretskii
2021-08-26 12:52 ` Ergus
2021-08-26 13:48 ` Eli Zaretskii
2021-08-26 13:59 ` Stefan Monnier
2021-08-26 14:51 ` Andreas Schwab
2021-08-26 15:52 ` Eli Zaretskii
2021-08-25 7:10 ` tomas
2021-08-25 8:02 ` Andreas Schwab
2021-08-25 6:36 ` Yuri Khan
2021-08-25 7:17 ` tomas
2021-08-25 9:00 ` Ergus
2021-08-25 14:01 ` Olaf Rogalsky
[not found] ` <87k0kcovp4.fsf@no.workgroup>
2021-08-25 12:09 ` Gregor Zattler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210825115315.nlkppccghmg3clzx@Ergus \
--to=spacibba@aol.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.