From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Emacsw32 on Linux Date: Tue, 24 Mar 2009 17:55:00 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237938083 9493 80.91.229.12 (24 Mar 2009 23:41:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 23:41:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 25 00:42:40 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmGGL-0006nk-Nx for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Mar 2009 00:42:30 +0100 Original-Received: from localhost ([127.0.0.1]:52644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmGEy-0007MH-U2 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2009 19:41:04 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.posted.cpinternet!news.posted.cpinternet.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 24 Mar 2009 17:53:28 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 82 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 64.61.220.10 Original-X-Trace: sv3-SBoJh1eY8lMEhs/GcizMmcz+el46DKHKiJ+ask9+n7HFvpYCdkIEKx/kAlGbsfg5W/36jcEjBGYko6g!ouavGGe4CQ3P+gWSHa8QjgNqzAE2lfaZS31ySRcmEA300z2GDHzHJoslCoJsuEJ5thvpacB84gTd!4A54N9XszOZhbYdTAg== Original-X-Complaints-To: abuse@cpinternet.com X-DMCA-Complaints-To: abuse@cpinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:167956 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63245 Archived-At: 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