From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: C-j is not doing as it is being told Date: Fri, 05 Mar 2004 17:56:14 -0500 Organization: Looking for work Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1078883783 29923 80.91.224.253 (10 Mar 2004 01:56:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Mar 2004 01:56:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 10 02:56:14 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B0sxB-0004fm-00 for ; Wed, 10 Mar 2004 02:56:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0srS-0006lj-3w for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Mar 2004 20:50:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.usenetserver.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 05 Mar 2004 16:56:14 -0600 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.4b4 (PPC Mac OS X) X-Copies-To: never Original-Lines: 18 Original-NNTP-Posting-Host: 24.34.107.202 Original-X-Trace: sv3-5GCal/1m55lgLfcEvsek04uFamo6bhDThCz2JAaU6VvEvuw1jJ55lWyisN/COEp5lnDTJlNbQl9gG0r!s9jZn2XdXRx3BEyi+h51+NXELw/h+mJrGo0dPiSV2UUcki8d95mitDBIEfAEz33EuDwlpnsW+nJv!ykDBhBOO6cE= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net 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.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:121498 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:17493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17493 In article , Ketil Karstad wrote: > Hi > > I wanted to remap some key combinations, including C-j. I use > global-unset-key followed by global-set-key for each key combo and it > works fine most of the time apart from when emacs enters Latex-mode > where C-j reverts to its default behavoir and ignores my remapping. > Any suggestion what is causing this and what I can do to stop it? Latex-mode has a local key binding. Global bindings are defaults that local bindings can override. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***