From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juha Nieminen Newsgroups: gmane.emacs.help Subject: Re: Setting auto-indentation of braces Date: Wed, 18 Feb 2009 23:43:08 GMT Organization: Sonera Customer Message-ID: References: <4991527f$0$14913$9b536df3@news.fv.fi> <499936d0$0$14920$9b536df3@news.fv.fi> <499bca7b$0$30006$9b536df3@news.fv.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235022839 21470 80.91.229.12 (19 Feb 2009 05:53:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2009 05:53:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 06:55:15 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 1La1sJ-0004l2-RS for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Feb 2009 06:55:07 +0100 Original-Received: from localhost ([127.0.0.1]:47578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La1qy-0008I1-S0 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Feb 2009 00:53:44 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!feeder2.news.saunalahti.fi!newsfeed2.funet.fi!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail User-Agent: Thunderbird 2.0.0.19 (X11/20081227) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Enigmail-Version: 0.95.7 Original-Lines: 16 Original-NNTP-Posting-Host: 88.193.76.143 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1235000588 88.193.76.143 (Thu, 19 Feb 2009 01:43:08 EET) Original-NNTP-Posting-Date: Thu, 19 Feb 2009 01:43:08 EET Original-Xref: news.stanford.edu gnu.emacs.help:166883 X-Mailman-Approved-At: Thu, 19 Feb 2009 00:50:46 -0500 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:62195 Archived-At: Peter Dyballa wrote: > > Am 18.02.2009 um 09:44 schrieb Juha Nieminen: > >> Does this mean there's no way in emacs to remap keys (so that a key >> combination, such as "\M-7", is made equivalent to pressing some other >> key or key combination, such as "{")? > > Maybe you just need to understand that a minor-mode keymap overrides a > global-mode keymap when in some buffer this minor-mode is active ... > (meaning: apply your changes to the keymap owned by that C mode) Apply? How? That's exactly what I'm asking. I don't know elisp. I don't know how to remap keys in emacs, regardless of the mode.