help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flyspell-buffer add word keep higlighted errors


From: Emanuel Berg
Subject: Re: flyspell-buffer add word keep higlighted errors
Date: Wed, 06 Jan 2016 07:02:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Thorsten Grothe <grothe_news@e.mail.de> writes:

> That checks only errors for the current session of
> course. So sometimes I need to flyspell-buffer my
> old text. When I add an unknown word to the user dic
> *all* other marked words vanish and I have to run
> flyspell-buffer again, this is very frustrating for
> me, what I'm doing wrong?

As I've said a couple of times, I don't think flyspell
is a good idea, instead I prefer to do spelling once
and have the write and spell processes separated in
time. (But that's me and not you.)

What you are doing wrong is most likely putting all
that code into itself and each other like
a glacier icefall!

Take a look at this file of code, which by accident is
what I use for spelling:

    http://user.it.uu.se/~embe8573/conf/emacs-init/spell.el

You see the variables clearly defined at base level -
the settings - then the functions to control behavior.
Without boasting, it is mostly short and isolated
stuff with clear purposes and intentions.

If you write code in that style this will in one
strike get you closer to solving your problem if
indeed it remains. Whatever future problems/wishes
will be much easier to detect/solve/do, as well.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]