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

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

Re: Auto-correcting proper nouns with flyspell?


From: Fabrice Niessen
Subject: Re: Auto-correcting proper nouns with flyspell?
Date: Thu, 17 Sep 2009 11:16:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Dave,

Dave Täht wrote:
> "Fabrice Niessen" <fgdmjuzqrjgh@spammotel.com> writes:
>> Andreas Politz wrote:
>>> d@teklibre.org (Dave Täht) writes:
>>
>> [...]
>>
>> On the other hand, one thing that I want from Emacs + ispell, and that MS
>> doesn't offer (IMHO): the possibility to leave buffers unscanned for errors
>> when just opening files for reading. As soon as we change something in
>> them, then, yes, ispell is launched over the whole buffer. I have this
>> behavior already working for years, but I still have troubles with ispell
>> and some modes (like Org). Have to spend some time identifiying the root
>> cause.
>
> I have run into this too (was subject to a minor rant on the org-mode
> mailing list a few days ago). Before org and semantic, I rarely cracked a
> few dozen files open at a time, now it is often in the hundreds. I actually
> find semantic unusable in precisely the situations where it would be most
> useful - very large - ardour.org sized - codebases. I'll keep trying it
> though)
>
> Org, in particular, fires up my 8 or 9 text mode hooks and flyspell for
> every buffer it scans in the background and that can get chunky, especially
> on the first scan.
>
> I would like to defer instanciation of my ever increasing number of
> text-mode hooks, until I actually have the buffer visible on the screen
> (best), or I actually type a character in the buffer (not as good).

I agree with you that waiting for the fontifying and the spelling of Org files
when firing up Emacs is annoying, at least as long as you don't switch to
those buffers. Good point.

Though, in some cases, I don't want to get my buffers scanned for spelling
mistakes if I don't (plan to) edit them:

- files that I edit, and which are scanned when I edit them, don't need to be
  rescanned at opening: I know that the spelling is correct;

- files that I may not or don't want to edit (because I'm not the author,
  because they're read-only, etc., etc.) shouldn't be scanned. The decision
  point is: wait until I change those files.


> Like everything else in emacs, I'm pretty sure there's a way to do that, but
> haven't gotten around to doing it.
>
>> If you're interested, take a look at
>> http://www.mygooglest.com/fni/dot-emacs.html.
>
> Will do.
>
> This is my kinder, gentler fix to my org configuration, to only let it scan
> agenda entries when the system is idle for a minute. I would like to make it
> even gentler and have it not run after 7PM at all, but haven't got around to
> it yet. It may be overly or underly complex as written.
>
> [code]

Thanks for sharing.

Best regards,
  Fabrice

-- 
Fabrice Niessen
Search the Web with "My Google Search Tools" on http://www.MyGooglest.com


reply via email to

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