lkml.org 
[lkml]   [2006]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] 2.6.16.18 - spelling fix
On Monday May 29, nikita@clusterfs.com wrote:
> Neil Brown writes:
> > On Saturday May 27, jpiszcz@lucidpixels.com wrote:
> > > I was experimenting with Linux SW raid today and found a spelling error
> > > when reading the help menus...
> > >
> > > Patch attached, not sure if this is the right place to send it or if
> > > patches go to Andrew Morton (misc ones like this)...
> >
> > Thanks....
> > but more helpful than a spelling fix would be a chunk of elisp that I
> > could stick in my .emacs, which would automatically turn on flyspell
> > mode in Kconfig files, and inside comments in .c and .h files.
>
> (defun linux-c-mode ()
> ...
> (flyspell-prog-mode)
> ...)
>

Seems easy enough.... doesn't work for me :-(

Further exploration shows that I need font-lock mode enabled for it to
highlight speeling errors for me, and I never could get used to seeing
my C code look like a Disco.

It seems that flyspell-prog-mode absolutely requires font-lock as it
uses the font-lock tags to detect which text to spell check.

So I guess I need to tell font-lock that all the different text types
should be displayed in the same font.

Why is it never easy?

Thanks.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-29 10:29    [W:0.040 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site