all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mac os x 10.4 emacs keys with Xmodmap
@ 2005-09-22  9:59 arno
  2005-09-22 10:14 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: arno @ 2005-09-22  9:59 UTC (permalink / raw)


not withstanding some hints here. i cannot get to use the meta/alt keys
in gnuemacs in the X11 environment.

i like to use emacs in -nw mode on my xterm (running screen) on my 12"
powerbook
running 10.4. i run Apple's X11 with quartz-wm, simple and fast.

right now my Apple/Command and alt/option keys do not allow me to use
the
meta (M-) keys in emacs. very annoying.
can anybody clearly say what to put in the ~/.Xmodmap file to remap
these keys?
when running xev and pressing alt/option i get something with 66 and
when
doing that with Apple (left) key i get 63.
and what to do with the X11 Preferences when it comes to Input options.

cheers,
arno.

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

* Re: mac os x 10.4 emacs keys with Xmodmap
  2005-09-22  9:59 mac os x 10.4 emacs keys with Xmodmap arno
@ 2005-09-22 10:14 ` Peter Dyballa
       [not found] ` <mailman.8011.1127384233.20277.help-gnu-emacs@gnu.org>
  2005-09-22 18:50 ` B. Smith-Mannschott
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2005-09-22 10:14 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 22.09.2005 um 11:59 schrieb arno:

> can anybody clearly say what to put in the ~/.Xmodmap file to remap
> these keys?
>

I think it's not a problem with xmodmap, but with X11's preferences, 
Input tab. You have probably active checked "Enable key equivalents 
under X11." If you switch this off the Meta or Cmd key won't have a Mac 
specific meaning to Quartz WM.

--
Greetings

   Pete

Without vi there is only GNU Emacs

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

* Re: mac os x 10.4 emacs keys with Xmodmap
       [not found] ` <mailman.8011.1127384233.20277.help-gnu-emacs@gnu.org>
@ 2005-09-22 13:31   ` arno
  2005-09-22 19:23     ` Peter Dyballa
  0 siblings, 1 reply; 5+ messages in thread
From: arno @ 2005-09-22 13:31 UTC (permalink / raw)


no, i have unchecked all of the buttons in the Preferences, even the 3
mouse emulator. nothing is there. i have started X11 without any
.Xmodmap and still,
when i type
Apple-shift-5 to do a query replace i get the yen symbol (or something
like it).
i do get query replace when i use a carbon emacs like GNU 22 for
powerppc.
but i would really like to use emacs -nw inside xterms.

by the way, i am testing this on my 12" iBook, not the 12" PB (that one
is my wife is using).

cheers,
arno.

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

* Re: mac os x 10.4 emacs keys with Xmodmap
  2005-09-22  9:59 mac os x 10.4 emacs keys with Xmodmap arno
  2005-09-22 10:14 ` Peter Dyballa
       [not found] ` <mailman.8011.1127384233.20277.help-gnu-emacs@gnu.org>
@ 2005-09-22 18:50 ` B. Smith-Mannschott
  2 siblings, 0 replies; 5+ messages in thread
From: B. Smith-Mannschott @ 2005-09-22 18:50 UTC (permalink / raw)
  Cc: help-gnu-emacs


On Sep 22, 2005, at 11:59, arno wrote:
> not withstanding some hints here. i cannot get to use the meta/alt  
> keys
> in gnuemacs in the X11 environment.

I use Emacs under X11.app on Mac OS 10.4 (previously on 10.3 as  
well). I find that I can use the command key as meta and the option  
key to enter international characters (as in any Mac program).  I  
don't know what's different here than on your machine, but here are  
the specifics:

X11.app:
     Preferences:
         "Enable keyboard shortcuts under X11" is disabled.
         "Use the system keyboard layout" is disabled.

Emacs:
     21.3.50.1 built and installed with the fink package manager.  
I've also used emacs build from cvs sources in the past and had a  
working meta key.

.xinitrc:
     1. loads .Xresources, which defines Emacs.Font: 6x13
     2. execs quartz-wm

     I have not customized .Xmodmap (the file doesn't exist on my  
system: neither in my home directory, nor in /etc/X11/xinit/.)

I searched through my .emacs, but didn't find any customizations that  
seemed related to Mac OS or meta keys.

I have noticed one *odd* thing with this command key behavior: it  
works fine as meta for emacs (both executed locally and when running  
on a remote machine but displaying here). It does not work as Meta  
when I'm displaying a remotely executing Eclipse instance, so there's  
clearly still some X keyboard voodoo I'm not understanding.

HTH
// Ben

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

* Re: mac os x 10.4 emacs keys with Xmodmap
  2005-09-22 13:31   ` arno
@ 2005-09-22 19:23     ` Peter Dyballa
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2005-09-22 19:23 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 22.09.2005 um 15:31 schrieb arno:

> no, i have unchecked all of the buttons in the Preferences, even the 3
> mouse emulator. nothing is there. i have started X11 without any
> .Xmodmap and still,
> when i type
> Apple-shift-5 to do a query replace i get the yen symbol

I have in my .xmodmaprc:

	clear Mod1
	keycode 66 = Meta_L
	add Mod1 = Meta_L

You can check your keys with xev. You probably already used xmodmap -pk 
or xmodmap -pm?

--
Greetings

   Pete

The future will be much better tomorrow.
   -- George W. Bush

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

end of thread, other threads:[~2005-09-22 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22  9:59 mac os x 10.4 emacs keys with Xmodmap arno
2005-09-22 10:14 ` Peter Dyballa
     [not found] ` <mailman.8011.1127384233.20277.help-gnu-emacs@gnu.org>
2005-09-22 13:31   ` arno
2005-09-22 19:23     ` Peter Dyballa
2005-09-22 18:50 ` B. Smith-Mannschott

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.