From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: A Question about auctex usage in GNU Emacs Date: Wed, 19 Dec 2007 10:07:08 +0100 Organization: Organization?!? Message-ID: <85ir2vgiir.fsf@lola.goethe.zz> References: <368f46fc-5a6b-4714-afb6-e7104805ff65@e23g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198057474 25572 80.91.229.12 (19 Dec 2007 09:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 09:44:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 10:44:47 2007 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 1J4vTq-0006xB-8V for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 10:44:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4vTW-0003nq-08 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 04:44:26 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.germany.com!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:GUsMR2xA6ea2BWbq7J6K5ICwlNs= Original-Lines: 33 Original-NNTP-Posting-Date: 19 Dec 2007 10:06:19 CET Original-NNTP-Posting-Host: f3362a94.newsspool3.arcor-online.net Original-X-Trace: DXC=NXie\LA2?aCV`H8_`hhQd^9QSCVg3dOfOIC5DBZVJ9kZn?`]CL4aLjWPIY:@41ZWc Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:154779 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:50206 Archived-At: Santanu writes: > Hello Everybody, > > Recently I have started using the amazing Auctex mode > for creating latex files. Now, the more one gets, the more one > asks :-) > > Let's say I am using a certain package or a document class > (in my case the exam document class) that has its own > environments about which apparently Auctex does not know. > In that case, it has no template for these environments. > > In this situation, I was looking for a way to do the following: > I manually write the "\begin{xyz}" environment, and would like > Auctex to automatically insert the "\end{xyz}" at the press of > some key-binding. Is this facility available via Auctex? I tried to > find it in the Auctex manual, but could not find anything yet. I find that hard to believe. Taking a look in Frequently used Commands -> Environments via the table of contents, or using C-h i environments RET leads to a chapter which right at the bottom explains how to do this. So, pray, where did you look in the manual? And it is not like the "LaTeX" menu does not have a "Close Environment" menu item, either. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum