all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.