From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacsw32 on Linux
Date: Tue, 24 Mar 2009 17:55:00 -0600 [thread overview]
Message-ID: <KcydnR583MD0-VTUnZ2dnUVZ_hOWnZ2d@posted.cpinternet> (raw)
In-Reply-To: <mailman.3918.1237923641.31690.help-gnu-emacs@gnu.org>
Rasmus Pank Roulund wrote:
> Hello,
> I am trying to move from Windows to Linux. However, I have gotten used
> to all the nice features of EmacsW32. It is more than CUA-mode; It is
> also Win-button as meta and the setup of tab switching etc. Is it
> possible to somehow add the features of Emacsw32 to a Linux-Emacs
> /easily/? BTW: I use the latest CVS Emacs on Linux.
>
> BTW: A read an old post (2006) by David Kastrup who proposed a
> "themeing" feature for Emacs. I.e. that you could make Linux-Emacs
> behave like Mac-Emacs (maybe Aquamacs) or Win-Emacs or vice versa. I do
> not think anything like that is possible at the moment, but I think it
> is a really nice idea!
>
> Cheers,
> Rasmus
>
>
>
Here is the Xmodmap I got to work on fedora core 8. It may go somewhere
else in other distros. This assumes that you want the bottom row to be
win alt ctl space ctl alt win menu and with assignments super meta ctl
space ctl meta super hyper. If I remember right the left hyper is
assigned to Caps Lock. This same key layout can be accomplished in MS os
versions 2000 or higher with the KeyTweak program that remaps keyboard
scan codes in the registry. If you have one of the older keyboard with
swappable keycaps you can make them match the new layout if you don't
touch type.
! /etc/X11/Xmodmap
!
! global Xmodmap file -- used by both xdm and xinit (startx)
! keycode and keysym remapping should generally be used only if the X
! server config file has been configured to disable the XKEYBOARD
! extension
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Shift = Shift_L Shift_R
add Control = Control_L Control_R
add Mod1 = Mode_switch
add Mod2 = Meta_L Meta_R
add Mod4 = Hyper_L Hyper_R
add Mod5 = Super_L Super_R
keycode 66 = Hyper_L
keycode 37 = Super_L
keycode 115 = Meta_L
keycode 64 = Control_L
keycode 113 = Control_R
keycode 116 = Meta_R
keycode 117 = Super_R
keycode 109 = Hyper_R
pointer = 3 2 1
Btw, the only part of CUA you really need is
'(pc-selection-mode t nil (pc-select))
'(delete-selection-mode t nil (delsel))
and
'(transient-mark-mode t)
under (custom-set-variables
in .emacs Then you don't have to mess with the Emacs way. Copy is M-w,
cut is C-w, and paste is C-y
next parent reply other threads:[~2009-03-24 23:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3918.1237923641.31690.help-gnu-emacs@gnu.org>
2009-03-24 23:55 ` B. T. Raven [this message]
2009-03-25 9:11 ` Emacsw32 on Linux Rasmus Pank Roulund
2009-03-25 10:01 ` Peter Dyballa
[not found] ` <mailman.3951.1237975339.31690.help-gnu-emacs@gnu.org>
2009-03-25 14:11 ` rustom
2009-03-24 19:40 Rasmus Pank Roulund
2009-03-24 21:36 ` Lennart Borgman
2009-03-24 22:20 ` Rasmus Pank Roulund
2009-03-24 22:58 ` Peter Dyballa
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=KcydnR583MD0-VTUnZ2dnUVZ_hOWnZ2d@posted.cpinternet \
--to=nihil@nihilo.net \
--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.