From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs-snapshot keybinding problem
Date: Fri, 30 Dec 2005 16:45:04 +0100 [thread overview]
Message-ID: <89094436dbe19fc651e2bc3fd10bfcce@Web.DE> (raw)
In-Reply-To: <8764p6u0mp.fsf@magma.ca>
Am 30.12.2005 um 15:21 schrieb Angelina Carlton:
> I can edit this file or is this not a good idea?
The better idea is to put into a file you have full control on. Once
you update GNU Emacs you changes could be overwritten, putting them
into ~/.emacs or a site-init.el will keep them longer.
>
> One more thing, the Apple keyboard has real F11-F16 keys which I have
> not been able to get working under X,
> Option "XkbModel" "macintosh"
> seemed like the right choice but perhaps I need to address this first?
>
That's probably correct. The Apple *external* keyboards are a few
models -- and they all have evolved as those in the PowerBooks or
iBooks too. With xev (it's sometimes 'hidden' in a subdirectory of
/usr/X11R6/bin) you can record the missing key codes, and with xmodmap
you can make them (re-)assigned when X11 is launched.
In ~/.xinitrc the lines can be:
userresources=$HOME/.Xdefaults
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
In .xmodmaprc the lines could be like:
keycode 10 = 1 exclam exclamdown onesuperior
To cite from the man page:
Up to eight keysyms may be attached to a key, however the last four
are not used in any major X server implementation. The first keysym is
used when no modifier key is pressed in conjunction with this key, the
second with Shift, the third when the Mode_Switch key is used with this
key and the fourth when both the Mode_Switch and Shift keys are used.
One problem is to find the keysyms (names) your system understands.
These are predefined in a C header file,
/usr/X11R6/include/X11/keysymdef.h. Check whether F1[1-9] are #define'd
there!
--
Greetings
Pete
In a world without walls and fences, who needs gates and windows?
next prev parent reply other threads:[~2005-12-30 15:45 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.20812.1135883611.20277.help-gnu-emacs@gnu.org>
2005-12-30 4:49 ` emacs-snapshot keybinding problem Stefan Monnier
2005-12-30 14:21 ` Angelina Carlton
2005-12-30 15:45 ` Peter Dyballa [this message]
2005-12-30 18:31 ` Angelina Carlton
2005-12-30 23:52 ` Peter Dyballa
2005-12-31 15:41 ` Angelina Carlton
2005-12-31 17:21 ` Peter Dyballa
2006-01-01 18:04 ` Angelina Carlton
2006-01-01 18:57 ` Peter Dyballa
2006-01-02 20:24 ` Angelina Carlton
2006-01-03 12:58 ` Peter Dyballa
2006-01-03 22:49 ` Angelina Carlton
2006-01-03 23:52 ` Peter Dyballa
2006-01-04 21:51 ` Angelina Carlton
2006-01-04 22:48 ` Peter Dyballa
2006-01-06 5:08 ` Ian Zimmerman
2006-01-06 18:17 ` Angelina Carlton
[not found] ` <mailman.21417.1136411578.20277.help-gnu-emacs@gnu.org>
2006-01-05 10:57 ` Romain Francoise
2006-01-05 14:05 ` Angelina Carlton
2006-01-02 16:36 ` Stefan Monnier
2006-01-04 21:43 ` Angelina Carlton
2005-12-29 19:11 Angelina Carlton
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=89094436dbe19fc651e2bc3fd10bfcce@Web.DE \
--to=peter_dyballa@web.de \
--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.