Hi Gary, On Mon, 2005-07-04 at 10:28 -0500, Gary Setter wrote: > ----- Original Message ----- > From: "Stefan Kost" <[EMAIL PROTECTED]> > To: <aspell-devel@gnu.org> > Sent: Monday, July 04, 2005 6:11 AM > Subject: [aspell-devel] use of TAGS file for spellchecking in C > mode > > > > hi hi, > > > > at first thanks for the c comment spell-checking mode. Its a > good start to get > > better source documentation. On annoying thing is that aspell > does not know > > about symbol names and thus brings up a lot of false warnings > when referencing > > symbol names in doc-comments. > > One idea would be to use a local TAGS file as an additional > wordlist. > > Unfortunately I neither found how to use a local wordlist, nor > how such a > > wordlist should look like. Can someone please point me to the > right place. Then > > I can write a simple perl-tool to convert the TAGS file into > the appropriate > > format for aspell. > > > > Ciao > > Stefan > > Hi Stefan, > > The personal file is an ordinary text file. You can look at it, > and create your own. > What you're suggesting doesn't need to be a personal file. The > personal file is suppose to be a writeable file which is managed > as part of correcting a document. > You could define your dictionary as a .multi file which lists > some .rws files (compiled word lists). One of the .rws files > would > be the your compiled current tags file. See how the aspell > utility program supports the create master file to see how to > compile a word list. > > Hope that helps! > Gary > unfortunately all this information is splatterned across the docs (I am reading http://aspell.sourceforge.net/0.50-doc/man-html/index.html, never docs are not online :-( ) My installed aspell-0.60.2 does not even has docs installed (I am on gentoo and usually install docs). My initial tests are not prommising either:
$ cat tags.wordlist my_test_function $ aspell --lang=en create master ./tags <tags.wordlist Warning: The word "my_test_function" is invalid. The character '_' (U +5F) may not appear in the middle of a word. Skipping word. Segmentation fault At first this dictionary does not really need a language, should imho be "C" or "POSIX". Does anyone has done this at all or is this only supposed to work, but has never actually been tried? Stefan _______________________________________________ Aspell-devel mailing list Aspell-devel@gnu.org http://lists.gnu.org/mailman/listinfo/aspell-devel