From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: A Question about auctex usage in GNU Emacs
Date: Sun, 23 Dec 2007 13:15:28 +0100 [thread overview]
Message-ID: <85ir2p7gkf.fsf@lola.goethe.zz> (raw)
In-Reply-To: 2c647f9f-4fe2-4bdd-9372-8f594ac37c05@a35g2000prf.googlegroups.com
Santanu <thisissantanu@gmail.com> writes:
> On Dec 19, 2:07 pm, David Kastrup <d...@gnu.org> wrote:
>> Santanu <thisissant...@gmail.com> 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
prev parent reply other threads:[~2007-12-23 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 8:31 A Question about auctex usage in GNU Emacs Santanu
2007-12-19 9:07 ` David Kastrup
2007-12-23 7:47 ` Santanu
2007-12-23 12:15 ` David Kastrup [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85ir2p7gkf.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.