From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alexandre Russel" Newsgroups: gmane.emacs.help Subject: where to put my .xmodmap? Date: 21 Aug 2004 23:25:32 +0900 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093098652 9012 80.91.224.253 (21 Aug 2004 14:30:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Aug 2004 14:30:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 21 16:30:46 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ByWtI-00068E-00 for ; Sat, 21 Aug 2004 16:30:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByWxe-0001bX-9B for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Aug 2004 10:35:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!news.cs.univ-paris8.fr!news.zanker.org!npeer.de.kpn-eurorings.net!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: pl724.nas926.o-tokyo.nttpc.ne.jp Original-X-Trace: quimby.gnus.org 1093098334 18069 210.165.239.212 (21 Aug 2004 14:25:34 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 21 Aug 2004 14:25:34 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:124854 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20203 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20203 Hi all, I use Fedora core 1 with gnome. After following the thread concerning RSI and Emacs, I decided to use .xmodmap to add some Control key to my keyboard: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock keycode 115 = Control_L add Control = Control_L keycode 116 = Control_R add Control = Control_R It works fine when I do xmodmap .xmodmap. I want to use this map each time I use Emacs. I tried to add the line: xmodmap ~/.xmodmap to my .bashrc. It works fine untill I start another application(ie: terminal), then it comes back to the old map(probably because this other app doesn't use bash). What can I do for emacs to always this key map? Cheers, Alex