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: Sun, 23 Dec 2007 13:15:28 +0100 Organization: Organization?!? Message-ID: <85ir2p7gkf.fsf@lola.goethe.zz> References: <368f46fc-5a6b-4714-afb6-e7104805ff65@e23g2000prf.googlegroups.com> <85ir2vgiir.fsf@lola.goethe.zz> <2c647f9f-4fe2-4bdd-9372-8f594ac37c05@a35g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198413633 20717 80.91.229.12 (23 Dec 2007 12:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2007 12:40:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 23 13:40:46 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 1J6Q8H-0001p4-Ob for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Dec 2007 13:40:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J6Q7x-0005sn-Kd for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Dec 2007 07:40:21 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.news-service.com!club-internet.fr!feedme-small.clubint.net!feeder1-1.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.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:+Pz11qmdzr30xzkma8ahve1GwAY= Original-Lines: 50 Original-NNTP-Posting-Date: 23 Dec 2007 13:14:33 CET Original-NNTP-Posting-Host: e52d1112.newsspool4.arcor-online.net Original-X-Trace: DXC=P887VKg2<[Bk:C4l9A; OcO4IUKEM; ^O]:77VQbO Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:154879 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:50302 Archived-At: Santanu writes: > On Dec 19, 2:07 pm, David Kastrup wrote: >> Santanu writes: >> > ..... >> > 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. > > Oops! Gosh I feel like a cartoon right now... I dont know what I was > thinking... I think I did a "C-h m" and thought it was the manual (I > think I was inside the TeX-latex-mode at that time). Well, sort of unusual for a manual... Even then, with some imagination the lines [...] C-c . LaTeX-mark-environment C-c : .. C-c ; TeX-comment-or-uncomment-region C-c ? TeX-doc C-c ] LaTeX-close-environment C-c ^ TeX-home-buffer [...] would have contained a pointer... > Anyways, thanks for helping... and sorry for my stupid question. Nothing wrong with the question. I was just surprised that the information should have been non-obvious in the manual. Improving the documentation is always a priority, but in this case I have my doubts we could have done much better. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum