all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Alt as meta, except for certain keys, how?
@ 2003-08-07 17:33 Jussi Piitulainen
  2003-08-07 18:38 ` Kevin Rodgers
  0 siblings, 1 reply; 14+ messages in thread
From: Jussi Piitulainen @ 2003-08-07 17:33 UTC (permalink / raw)


Hello,

I'm tearing my hair off.

I want to use Alt as a Meta key, with the exception that certain keys
should be interpreted as ordinary unmodified characters: Alt-7 should
produce vertical bar |, Shift-Alt-7 alias Alt-/ should produce
backslash \, and there are a few others, all in ASCII.

I have managed to (global-set-key "\M-7" "|"). That works for writing
but is not a real solution. At least in an incremental search Alt-7
has already been interpreted as two keys: the escape terminates the
search and 7 is inserted in the buffer.

I could not work out how to use keyboard-translate to turn Alt-7 into
vertical bar. If this is possible, could someone please show me the
concrete command? Or any other way to achieve my goal?

Emacs is 21.3.50.6 from 2002-11-27, a binary distribution for Mac OS
X, the keyboards are Apple's - Finnish layout - Alt is sometimes
called Option. I know I lose a couple of command bindings; I can
produce all accented letters with dead keys.

Thanks for any help,
-- 
Jussi 

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

end of thread, other threads:[~2003-08-15 13:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-07 17:33 Alt as meta, except for certain keys, how? Jussi Piitulainen
2003-08-07 18:38 ` Kevin Rodgers
2003-08-08  7:05   ` Ehud Karni
     [not found]   ` <mailman.222.1060326618.29551.help-gnu-emacs@gnu.org>
2003-08-08 18:51     ` Kevin Rodgers
2003-08-08 21:26       ` Ehud Karni
     [not found]       ` <mailman.235.1060378027.29551.help-gnu-emacs@gnu.org>
2003-08-11 18:10         ` Jussi Piitulainen
2003-08-11 20:29           ` Kevin Rodgers
2003-08-12  8:26             ` Jussi Piitulainen
2003-08-12 17:14               ` Kevin Rodgers
2003-08-13  5:14                 ` Jussi Piitulainen
2003-08-15 13:05             ` Kai Großjohann
2003-08-11 19:54         ` Kevin Rodgers
2003-08-12 11:13           ` Ehud Karni
     [not found]           ` <mailman.336.1060687053.29551.help-gnu-emacs@gnu.org>
2003-08-12 18:16             ` Jussi Piitulainen

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.