From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mads Jensen Newsgroups: gmane.emacs.help Subject: Re: AUCTeX: LaTeX-close-environment Date: 06 Oct 2005 18:05:46 +0200 Organization: TDC Totalloesninger Message-ID: <87psqi3a1x.fsf@madamex.madamex.dk> References: <873bnh6sq8.fsf@madamex.madamex.dk> <85hdbwdhtn.fsf@lola.goethe.zz> <877jcru7cb.fsf@madamex.madamex.dk> <85y857zt1q.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128615057 21042 80.91.229.2 (6 Oct 2005 16:10:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2005 16:10:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 18:10:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENYId-0003cY-E6 for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Oct 2005 18:08:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENYIc-0007pA-Po for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Oct 2005 12:08:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed-00.mathworks.com!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Lines: 19 Original-NNTP-Posting-Host: 80.197.19.230 Original-X-Trace: 1128614761 dread16.news.tele.dk 87593 80.197.19.230:6249 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:134405 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: , 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:29980 Archived-At: David Kastrup writes: > Unless you have a "Command" menu, you don't have AUCTeX active. That menu is there. I bounded it to "C-c x" using (add-hook 'LaTeX-mode-hook (lambda() (define-key (kbd "C-c x") 'LaTeX-close-environment))) and that works as intended. Rebinding it "C-c ]" still just outputs a ]. I will just bind it to C-c x and stop giving myself anymore headaches over this problem. -- Mads Jensen - mail sent to address ends in /dev/null s/spam/madsj for emailing me gpg: 7E775BDA It is impossible to make anything foolproof because fools are so ingenious.