From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roger Levy Newsgroups: gmane.emacs.help Subject: Re: adding C-c C-f C-p shortcut for \textipa Date: Tue, 22 Jan 2008 11:49:52 -0800 (PST) Organization: http://groups.google.com Message-ID: References: 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 1201034444 18097 80.91.229.12 (22 Jan 2008 20:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2008 20:40:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 22 21:41:03 2008 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 1JHPvW-0000cj-6I for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jan 2008 21:40:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHPv6-0006Zi-5p for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jan 2008 15:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k39g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 132.239.165.121 Original-X-Trace: posting.google.com 1201031393 31151 127.0.0.1 (22 Jan 2008 19:49:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Jan 2008 19:49:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k39g2000hsf.googlegroups.com; posting-host=132.239.165.121; posting-account=-3sXwAoAAABzUnyzi9zrPCDp50ddk2SA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155464 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:50868 Archived-At: On Jan 22, 9:54 am, Stephen Berman wrote: > On Mon, 21 Jan 2008 15:18:13 -0800 (PST) Roger Levy wrote: > > > I am a linguist who uses AucTeX and I would like to add a key binding > > for C-c C-f C-p that behaves exactly like other C-c C-f * commands > > (e.g., C-c C-f C-e for \emph), but introduces the textfont \textipa > > (for the International Phonetic Alphabet). How would I do this? It > > looks to me like I need to customize TeX-font-list but I'm not sure > > the best way to do it (I'd prefer to doing this in my .emacs file > > directly to using Emacs customization menus). > > Does this work? > > (add-to-list 'TeX-font-list '(?\C-p "\\textipa{" "}")) Nope...but thanks for the suggestion! (Also, putting that straight into .emacs causes emacs to balk on startup, presumably because it doesn't know anything about 'TeX-font-list.) Actually, please don't respond further to this message as I think the AUCTeX mailing list is a more appropriate forum. Roger