From: sato_ichi@yahoo.com
To: help-gnu-emacs@gnu.org
Subject: Re: spell checker in nroff mode?
Date: Sun, 13 Apr 2008 19:50:03 -0700 (PDT) [thread overview]
Message-ID: <c4ab7290-4ef6-4df1-8a8a-686676d8520c@f36g2000hsa.googlegroups.com> (raw)
In-Reply-To: mailman.10053.1207430872.18990.help-gnu-emacs@gnu.org
On Apr 5, 1:54 pm, Luke Huang <luke.hu...@exludus.com> wrote:
> I am not a English native speaker so that I always open spell checker
> on-the-fly. It works pretty well even if in programming. But, it's a
> bit inconvenient when it works when I am writing troff file.
>
> For example:
>
> \fBPhysical Address\fP
>
> In this case spell checker highlights \fBPhysical as a wrong word. How
> can I avoid this? (either in an Emacs way or in a troff way)
Which spell checker do you have installed, ispell or aspell? If I use
aspell in ispell compatibility mode from within Emacs, I can never get
it to parse troff files when in nroff mode, no matter what options I
try. The only way I got it to work was to use the real ispell program.
If you have aspell installed then you probably have a /usr/bin/ispell
linked to aspell, so you'll have to rename or delete that link. After
installing the real ispell, put this in your .emacs file:
(setq ispell-program-name "ispell")
(add-hook 'nroff-mode-hook (lambda () (setq ispell-parser 'nroff)))
The spell checker should then be able to parse troff when in nroff
mode.
next parent reply other threads:[~2008-04-14 2:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.10053.1207430872.18990.help-gnu-emacs@gnu.org>
2008-04-14 2:50 ` sato_ichi [this message]
2008-04-05 17:54 spell checker in nroff mode? Luke Huang
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=c4ab7290-4ef6-4df1-8a8a-686676d8520c@f36g2000hsa.googlegroups.com \
--to=sato_ichi@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
/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.