all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trouble binding Alt *by itself* to the execute-extended-command...(Alt-x and ESC-x work fine.)
Date: Sat, 6 Jul 2013 20:44:32 -0600	[thread overview]
Message-ID: <20130707024432.GA9497@hysteria.proulx.com> (raw)
In-Reply-To: <6a969c8d-e606-4143-afd1-83ee32c82aeb@googlegroups.com>

Chris Seberino wrote:
> Alt-x invokes the execute-extended-command just fine.
> I'd like the Alt key *by itself* to this command.

That doesn't make any sense to me.  It would be like asking for making
the shift key by itself produce a shift-A.  Keys like shift and
meta (alt on modern keyboards) and control aren't supposed to produce
keys by themselves.  They are supposed to modify other keys pressed
with them.

If you did this then how would you type in M-a or M-e or any of the
others without the meta (alt) key?

> I'm on Ubuntu 12.04.  I've read a few docs on X Windows, xmodmap,
> xev, Ubuntu Unity 3D but *still* can't seem to make this work.

I think that is because it just isn't something that makes sense to
do.  Now if you phrase something in the form of a challenge people
will go to extreme lengths to accomplish it.  So I have no doubt that
what you are asking for is possible.  I am just challenging that it
isn't actually something that should be done.  IMNHO. :-)

For example you can move the meta modifier from alt and assign it to a
different key.  Or leave it on ALT_R while reassigning ALT_L.  And
then you could assign a high numbered function key to ALT_L.  And then
have your window manager apply a keyboard macro short whenever that
(new) function key is pressed.  It would do exactly as you have
asked.  But it would make no sense to me.

Bob



  parent reply	other threads:[~2013-07-07  2:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06 21:18 Trouble binding Alt *by itself* to the execute-extended-command...(Alt-x and ESC-x work fine.) Chris Seberino
2013-07-06 22:16 ` Pascal J. Bourguignon
2013-07-06 22:21 ` Peter Dyballa
2013-07-07  2:44 ` Bob Proulx [this message]
2013-07-07  3:49 ` Yuri Khan
2013-07-07  5:08 ` Chris Seberino
2013-07-07 12:24   ` Raffaele Ricciardi
2013-07-07 12:51   ` Pascal J. Bourguignon
2013-07-07 20:50     ` Chris Seberino
2013-07-07 22:06       ` Pascal J. Bourguignon
     [not found] ` <mailman.469.1373165078.12400.help-gnu-emacs@gnu.org>
2013-07-07 12:49   ` Pascal J. Bourguignon

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=20130707024432.GA9497@hysteria.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.