From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.help Subject: Re: Rebinding keys Date: Mon, 25 Mar 2013 21:20:08 +0100 Message-ID: <87d2un9qpz.fsf@micropit.couberia.selfip.net> References: <87boa7k23g.fsf@scipolis.de> <87k3ovic99.fsf@scipolis.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1364242865 6810 80.91.229.3 (25 Mar 2013 20:21:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 20:21:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 25 21:21:32 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKDtY-0005Gr-U6 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 21:21:29 +0100 Original-Received: from localhost ([::1]:52207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKDtB-00060n-0G for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 16:21:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKDsg-0005zB-9r for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKDsZ-0005Oq-TK for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:20:34 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKDsZ-0005Ol-Ml for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:20:27 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UKDsu-000476-Fu for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 21:20:48 +0100 Original-Received: from arennes-651-1-166-104.w86-214.abo.wanadoo.fr ([86.214.173.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Mar 2013 21:20:48 +0100 Original-Received: from pmlists by arennes-651-1-166-104.w86-214.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Mar 2013 21:20:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-166-104.w86-214.abo.wanadoo.fr User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:oIe/eZXJqTMCvW7+Tp8aOPMJ6n8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89748 Archived-At: On Mon, Mar 25 2013, Nicolas Neuss wrote: >> Why is (insert "]") more useful than "รค"? > > I often write English texts. Thanks. So kind of "if LaTeX then English, else German". (Be aware, that you'll need to change your habits when LaTeXing German texts... ;) If you ever need such special key-mappings outside of emacs, I recommend xmodmap. For example, I use the following script for switching between French and German: --8<---------------cut here---------------start------------->8--- #!/bin/bash # change between french and german keyboard DIR=~/.fvwm FLAG=$DIR/french FRENCH=$DIR/Xmodmap.french GERMAN=$DIR/Xmodmap.german if [ "$1" = german ] || [ -f $FLAG -a -z "$1" ]; then xmodmap $GERMAN rm -f $FLAG else xmodmap $FRENCH touch $FLAG fi --8<---------------cut here---------------end--------------->8--- -- Peter