From: nic.d.m.1@googlemail.com
To: help-gnu-emacs@gnu.org
Subject: auctex and parentheses for optional arguments
Date: Sat, 9 May 2009 13:05:36 -0700 (PDT) [thread overview]
Message-ID: <d388fc9d-58b2-4bbb-9096-c62b77eec121@g19g2000vbi.googlegroups.com> (raw)
Hi!
I have the following problem with auctex:
If I define a new command, for example
\newcommand{\test}[1][default]{#1}
and I press C-c C-m \test
auctex inserts
\test{}
But I want that auctex inserts
\test[]
to get the correct parenthesis for optional arguments.
Any ideas?
Thanks in advance
nic
next reply other threads:[~2009-05-09 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-09 20:05 nic.d.m.1 [this message]
2009-05-09 20:50 ` auctex and parentheses for optional arguments nic.d.m.1
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d388fc9d-58b2-4bbb-9096-c62b77eec121@g19g2000vbi.googlegroups.com \
--to=nic.d.m.1@googlemail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).