unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: natbib, emacs, & ispell
Date: Sun, 09 Jan 2005 12:41:33 +0100	[thread overview]
Message-ID: <34cjjgF4846dbU1@individual.net> (raw)
In-Reply-To: pan.2005.01.09.06.45.33.385608@stanford.edu

* 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

  parent reply	other threads:[~2005-01-09 11:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-09  6:45 natbib, emacs, & ispell Leif Harcke
2005-01-09 11:15 ` Peter Dyballa
2005-01-09 11:41 ` Ralf Angeli [this message]
2005-01-09 13:28   ` Lawrence Mitchell
2005-01-09 13:35     ` Ralf Angeli
2005-01-09 21:06     ` Leif Harcke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34cjjgF4846dbU1@individual.net \
    --to=dev.null@iwi.uni-sb.de \
    --cc=angeli@iwi.uni-sb.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).