From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Santanu Newsgroups: gmane.emacs.help Subject: A Question about auctex usage in GNU Emacs Date: Wed, 19 Dec 2007 00:31:06 -0800 (PST) Organization: http://groups.google.com Message-ID: <368f46fc-5a6b-4714-afb6-e7104805ff65@e23g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198053639 14216 80.91.229.12 (19 Dec 2007 08:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 08:40:39 +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 09:40:51 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 1J4uTy-0004pA-I1 for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 09:40:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4uTf-0004Mn-2p for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 03:40:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e23g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 203.200.188.2 Original-X-Trace: posting.google.com 1198053067 25477 127.0.0.1 (19 Dec 2007 08:31:07 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 19 Dec 2007 08:31:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e23g2000prf.googlegroups.com; posting-host=203.200.188.2; posting-account=R_BDFgoAAABML1HpMLCTWTyWOZzR1via User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8 (Ubuntu-feisty),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 vsnlnet.wbut.ac.in:3128 (squid/2.5.STABLE9) Original-Xref: shelby.stanford.edu gnu.emacs.help:154777 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:50203 Archived-At: 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 also tried M-Tab for auto completion after typing "\end{x", but that did not help either.) Could you point me to the right direction? Thanks in advance for your help. Regards, Santanu Chatterjee