From: David Andersson <david@symsoft(REMOVE_THIS).se>
Subject: Re: hyper & super in Emacs 21 in terminal?
Date: 24 Aug 2003 19:18:42 +0200 [thread overview]
Message-ID: <wulltj3rf2.fsf@symsoft.se> (raw)
In-Reply-To: mailman.853.1061693016.29551.help-gnu-emacs@gnu.org
Joe Corneli <jcorneli@math.utexas.edu> writes:
> > (global-set-key [(hyper g)] 'goto-line)
>
> Cool, thanks.
...
>
> Can you or anyone perhaps suggest a more economical "binding" than the
> default:
>
> (define-key function-key-map [?\C-x ?@ ?h] 'event-apply-hyper-modifier)
>
> I'm looking for something that has just one keypress associated with it.
> Like F8 or something like that - but I don't know the syntax for
> entering F8 as an ASCII keysequence recognizable to Emacs.
Type C-q f8 in the *scratch* buffer.
That should insert the ESC sequence, if it is a --no-window emacs.
Replace ^[ with \e.
For example, I got ^[[19~ and wrote to test:
(define-key function-key-map "\e[19~" 'event-apply-hyper-modifier)
(global-set-key [(hyper g)] 'goto-line)
next prev parent reply other threads:[~2003-08-24 17:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E19qV3W-0002cn-AD@monty-python.gnu.org>
2003-08-24 2:06 ` hyper & super in Emacs 21 in terminal? Joe Corneli
[not found] ` <mailman.853.1061693016.29551.help-gnu-emacs@gnu.org>
2003-08-24 17:18 ` David Andersson [this message]
2003-08-25 17:48 ` Kevin Rodgers
[not found] <E19rNm0-0003Fw-9T@monty-python.gnu.org>
2003-08-26 2:32 ` Joe Corneli
[not found] ` <mailman.996.1061865523.29551.help-gnu-emacs@gnu.org>
2003-08-26 17:20 ` Kevin Rodgers
[not found] <E19pjE4-0002Ax-4j@monty-python.gnu.org>
2003-08-22 4:30 ` Joe Corneli
[not found] ` <mailman.791.1061601295.29551.help-gnu-emacs@gnu.org>
2003-08-23 3:10 ` John Paul Wallington
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wulltj3rf2.fsf@symsoft.se \
--to=david@symsoft.se \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).