From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nic.d.m.1@googlemail.com Newsgroups: gmane.emacs.help Subject: auctex and parentheses for optional arguments Date: Sat, 9 May 2009 13:05:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: 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 1241902852 23908 80.91.229.12 (9 May 2009 21:00:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2009 21:00:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 09 23:00:42 2009 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 1M2tef-0007cc-Bt for geh-help-gnu-emacs@m.gmane.org; Sat, 09 May 2009 23:00:21 +0200 Original-Received: from localhost ([127.0.0.1]:41273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2tee-0005M8-QF for geh-help-gnu-emacs@m.gmane.org; Sat, 09 May 2009 17:00:20 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g19g2000vbi.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 87.178.244.30 Original-X-Trace: posting.google.com 1241899536 17751 127.0.0.1 (9 May 2009 20:05:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 9 May 2009 20:05:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000vbi.googlegroups.com; posting-host=87.178.244.30; posting-account=_7N1JQoAAAB0FctXxwlvpYS2S0bN82NB User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20071008 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169019 X-Mailman-Approved-At: Sat, 09 May 2009 16:58:25 -0400 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:64285 Archived-At: 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