all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using Alt as Meta
@ 2008-04-07 20:16 Dan Davison
  2008-04-07 20:46 ` Chris Leyon
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Davison @ 2008-04-07 20:16 UTC (permalink / raw)
  To: emacs org-mode mailing list

I came across org-mode a couple of weeks ago. I'm really impressed: it looks excellent, useful, and like it will take me some time before I've worked out how best to use it. But I think I will carry on using it fairly seriously, so thanks very much Carsten for something that looks like it's going to be really useful.

I suspect I'm going to have quite a few questions for this list but I'm going to start off with something trivial and/or a stupid question.

Prior to installing org-mode, it had always been my understanding that in my set-up the Alt key provided the function of 'Meta' (e.g. I always use <Alt-x> some-emacs-function [RET])
Why is is that I have to use <Esc-Right> for org-metaright, and <Alt-Right> brings up the message: '<A-right> is undefined'? What's an appropriate way to
tell org-mode to use Alt as Meta in this situation?

Thanks!

Dan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using Alt as Meta
  2008-04-07 20:16 Using Alt as Meta Dan Davison
@ 2008-04-07 20:46 ` Chris Leyon
  2008-04-08  7:31   ` Dan Davison
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Leyon @ 2008-04-07 20:46 UTC (permalink / raw)
  To: emacs org-mode mailing list

On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison <davison@stats.ox.ac.uk> wrote:
>  Why is is that I have to use <Esc-Right> for org-metaright, and <Alt-Right> brings up the message: '<A-right> is undefined'? What's an appropriate way to
>  tell org-mode to use Alt as Meta in this situation?
>  Thanks!
>  Dan

Try putting `(setq x-alt-keysym 'meta)' in your .emacs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using Alt as Meta
  2008-04-07 20:46 ` Chris Leyon
@ 2008-04-08  7:31   ` Dan Davison
  2008-04-08 15:41     ` J. David Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Davison @ 2008-04-08  7:31 UTC (permalink / raw)
  To: emacs org-mode mailing list


On Mon, Apr 07, 2008 at 04:46:17PM -0400, Chris Leyon wrote:
> On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison <davison@stats.ox.ac.uk> wrote:
> >  Why is is that I have to use <Esc-Right> for org-metaright, and <Alt-Right> brings up the message: '<A-right> is undefined'? What's an appropriate way to
> >  tell org-mode to use Alt as Meta in this situation?
> >  Thanks!
> >  Dan
> 
> Try putting `(setq x-alt-keysym 'meta)' in your .emacs

Thanks, but that hasn't made a difference that I can see. <Alt-x> still functions as M-x but <Alt-Right/Left/Up/Down> bring up a message saying they're undefined,.
I should have said, this is under

GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-11-06 on terranova, modified by Ubuntu
Org-mode version 5.23a
Ubuntu
Linux Tichodroma 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Dan

> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Using Alt as Meta
  2008-04-08  7:31   ` Dan Davison
@ 2008-04-08 15:41     ` J. David Boyd
  2008-04-08 15:46       ` Dan Davison
  0 siblings, 1 reply; 6+ messages in thread
From: J. David Boyd @ 2008-04-08 15:41 UTC (permalink / raw)
  To: emacs-orgmode

Dan Davison <davison@stats.ox.ac.uk> writes:

> On Mon, Apr 07, 2008 at 04:46:17PM -0400, Chris Leyon wrote:
>> On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison <davison@stats.ox.ac.uk> wrote:
>> >  Why is is that I have to use <Esc-Right> for org-metaright, and <Alt-Right> brings up the message: '<A-right> is undefined'? What's an appropriate way to
>> >  tell org-mode to use Alt as Meta in this situation?
>> >  Thanks!
>> >  Dan
>> 
>> Try putting `(setq x-alt-keysym 'meta)' in your .emacs
>
> Thanks, but that hasn't made a difference that I can see. <Alt-x> still functions as M-x but <Alt-Right/Left/Up/Down> bring up a message saying they're undefined,.
> I should have said, this is under
>
> GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-11-06 on terranova, modified by Ubuntu
> Org-mode version 5.23a
> Ubuntu
> Linux Tichodroma 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
>
> Dan
>

What does C-h k show for those keys?  

For example, under my emacs running under cygwin under windows vista (I know, yuck), 

C-h k follwed by <Alt-key right arrow> shows

<M-right> runs the command forward-word


Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Using Alt as Meta
  2008-04-08 15:41     ` J. David Boyd
@ 2008-04-08 15:46       ` Dan Davison
  2008-04-08 16:40         ` Jason F. McBrayer
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Davison @ 2008-04-08 15:46 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Apr 08, 2008 at 10:41:22AM -0500, J. David Boyd wrote:
> Dan Davison <davison@stats.ox.ac.uk> writes:
> 
> > On Mon, Apr 07, 2008 at 04:46:17PM -0400, Chris Leyon wrote:
> >> On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison <davison@stats.ox.ac.uk> wrote:
> >> >  Why is is that I have to use <Esc-Right> for org-metaright, and <Alt-Right> brings up the message: '<A-right> is undefined'? What's an appropriate way to
> >> >  tell org-mode to use Alt as Meta in this situation?
> >> >  Thanks!
> >> >  Dan
> >> 
> >> Try putting `(setq x-alt-keysym 'meta)' in your .emacs
> >
> > Thanks, but that hasn't made a difference that I can see. <Alt-x> still functions as M-x but <Alt-Right/Left/Up/Down> bring up a message saying they're undefined,.
> > I should have said, this is under
> >
> > GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-11-06 on terranova, modified by Ubuntu
> > Org-mode version 5.23a
> > Ubuntu
> > Linux Tichodroma 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
> >
> > Dan
> >
> 
> What does C-h k show for those keys?  
> 
> For example, under my emacs running under cygwin under windows vista (I know, yuck), 
> 
> C-h k follwed by <Alt-key right arrow> shows
> 
> <M-right> runs the command forward-word

For me it shows

<A-right> is undefined

Dan

> 
> 
> Dave
> 
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Using Alt as Meta
  2008-04-08 15:46       ` Dan Davison
@ 2008-04-08 16:40         ` Jason F. McBrayer
  0 siblings, 0 replies; 6+ messages in thread
From: Jason F. McBrayer @ 2008-04-08 16:40 UTC (permalink / raw)
  To: Dan Davison; +Cc: emacs-orgmode

Dan Davison <davison@stats.ox.ac.uk> writes:

> For me it shows
>
> <A-right> is undefined
>

Looks like you have your alt key mapped to alt, not to meta.  You can
change that in a number of ways; if you're running Gnome the easiest way
is through the keyboard control panel.  The default is supposed to be
that the alt key sends both alt and meta, but something may have gone
wrong in your case.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-08 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07 20:16 Using Alt as Meta Dan Davison
2008-04-07 20:46 ` Chris Leyon
2008-04-08  7:31   ` Dan Davison
2008-04-08 15:41     ` J. David Boyd
2008-04-08 15:46       ` Dan Davison
2008-04-08 16:40         ` Jason F. McBrayer

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.