bugGNU nano - Bugs: bug #48660, spellchecking the NEWS file fails...

 
 

bug #48660: spellchecking the NEWS file fails with an Internal error

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 30 Jul 2016 10:08:25 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 Aug 2016 11:34:41 AM UTC, comment #1:

Fixed in git, by commit 20058a1, and doubly by 14ac475.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 30 Jul 2016 10:08:25 AM UTC, original submission:

To reproduce, don't have a speller defined in your nanorc files, run 'src/nano +1055 NEWS', and type:
M-A ^Down ^T <Enter>

[ Internal error: speller listed unfindable word: GPLv ]

Apparently the internal speller considers digits not to be parts of words, but nano does, so nano cannot find the separate word GPLv, because only GPLv2 occurs.

Attached patch fixes this, but I don't like it: the reporting of an unfindable word is too unexpected. Maybe it is better to just skip such a word, like nano used to, even though this could mean that a true misspelling isn't found -- say, someone typed "heav7" instead of "heavy".

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Aug 2016 10:53:30 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 03 Aug 2016 11:34:41 AM UTCbensStatusIn Progress=>Fixed
    Sat 30 Jul 2016 10:08:25 AM UTCbensAttached File-=>Added 0001-spelling-when-a-misspelled-word-isn-t-found-notify-t.patch, #38051

    Back to the top


    Powered by Savane 3.1-cleanup1