all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* auctex and parentheses for optional arguments
@ 2009-05-09 20:05 nic.d.m.1
  2009-05-09 20:50 ` nic.d.m.1
  0 siblings, 1 reply; 2+ messages in thread
From: nic.d.m.1 @ 2009-05-09 20:05 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-09 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09 20:05 auctex and parentheses for optional arguments nic.d.m.1
2009-05-09 20:50 ` nic.d.m.1

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.