Re: use of TAGS file for spellchecking in C mode

Stefan Kost <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
Hi Gary,

Gary Setter wrote:
> ----- Original Message ----- 
> From: "Gary Setter" <[email protected]>
> To: "Stefan Kost" <[email protected]>;
> <[email protected]>
> Sent: Monday, July 04, 2005 10:28 AM
> Subject: Re: [aspell-devel] use of TAGS file for spellchecking in
> C mode
> 
> 
> 
>>----- Original Message ----- 
>>From: "Stefan Kost" <[email protected]>
>>To: <[email protected]>
>>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
>>
> 
> For the record, I thought some more about my suggestion, and
> believe there is a better one.
> You don't need to compile your list of program symbols. Just save
> the list to as a normal text file. You could use any extension
> that does not conflict with the standard extensions. See
> add_data_set function for the list of standard extensions. Just
> put the line "personal_ws" at the beginning and it will be
> interpreted as a Writable dictionary just like your personal
> dictionary. You do need to keep your file in the same directory
> as your master dictionary.
> Gary
> 
Many thanks! This certainly helps. Now the only thing I need is to persuade 
aspell not to use '_' as an word delimiter. Any idea?

Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.