From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.help Subject: Re: natbib, emacs, & ispell Date: Sun, 09 Jan 2005 12:41:33 +0100 Message-ID: <34cjjgF4846dbU1@individual.net> References: Reply-To: angeli@iwi.uni-sb.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105271015 7035 80.91.229.6 (9 Jan 2005 11:43:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2005 11:43:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 09 12:43:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CnbTl-00088t-00 for ; Sun, 09 Jan 2005 12:43:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnbfD-0007pe-3l for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jan 2005 06:55:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.text.tex,gnu.emacs.help Original-Followup-To: gnu.emacs.help Original-Lines: 25 Original-X-Trace: individual.net 1DmPUnw+WM6WT3wqTSNojw9F1v+Gf1TYPy4U4OnJLqW+jAq/AKNKnUo1dO Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:r/o5nP+5g+XMfmxcNelWbzacYQo= Original-Xref: shelby.stanford.edu comp.text.tex:294119 gnu.emacs.help:127759 Original-To: help-gnu-emacs@gnu.org 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: main.gmane.org gmane.emacs.help:23228 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23228 * Leif Harcke (2005-01-09) writes: > How does one get the ispell command in emacs to ignore the \citep and > \citet commands of the NatBib bibliography style package used in the > natural sciences? Hm, I thought this could be done like this: (eval-after-load "ispell" (let ((list (car ispell-tex-skip-alists))) (add-to-list 'list '("\\\\cite[tp]" ispell-tex-arg-end)) (setcar ispell-tex-skip-alists list))) But in my case this actually results in an "invalid-function" error as soon as one loads ispell.el e.g. with `M-x load-library RET ispell RET'. However, simply copying the value from the definition of `ispell-tex-skip-alists', adapting it and using `setq' works, but is not so nice of course. Followup-To: gnu.emacs.help -- Ralf