From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael Newsgroups: gmane.emacs.help Subject: Modify latex commands in emacs Date: Mon, 10 May 2010 08:37:42 -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 X-Trace: dough.gmane.org 1291825037 8724 80.91.229.12 (8 Dec 2010 16:17:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 16:17:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 17:17:13 2010 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.69) (envelope-from ) id 1PQMha-0008JR-Vq for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:17:11 +0100 Original-Received: from localhost ([127.0.0.1]:40693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQMhZ-0007Fg-TC for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 11:17:10 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!l28g2000yqd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 132.230.1.27 Original-X-Trace: posting.google.com 1273505862 531 127.0.0.1 (10 May 2010 15:37:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 10 May 2010 15:37:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l28g2000yqd.googlegroups.com; posting-host=132.230.1.27; posting-account=H3kG6goAAABkWPS6Jo4F126NCW9gYB4c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3pre) Gecko/20100316 Ubuntu/9.04 (jaunty) Namoroka/3.6.3pre,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:178103 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:75593 Archived-At: Hi, in auctex for emacs there is a command LaTeX-environment bound to C-c C-e. If you call it, it asks you for an environment name, say test and inserts then \begin{test} \end{test} If you are in an latex-environment (possibly with some text in it) you can easily modify the environment name by calling C-u C-c C-e = LaTeX- environment with arg. The analogous emacs command for inserting LaTeX (or TeX) commands is TeX-insert-command (bound to C-c C-m in auctex). Now my question is, if there is a way to modify an existing LaTeX- command like in the environment case. Calling C-u C-c C-e seems not to work. Thanks Michael