bugGNU nano - Bugs: bug #47283, [Request] add an option to specify...

 
 

bug #47283: [Request] add an option to specify which characters form part of a word

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 27 Feb 2016 03:18:04 PM UTC  
 
Severity: 1 - WishStatus: 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.

 

Sat 30 Jul 2016 09:05:25 AM UTC, comment #3:

Released in 2.6.2.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 13 Jul 2016 07:07:15 PM UTC, comment #2:

Feature was added to git, 6f12992.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 30 Jun 2016 03:53:51 PM UTC, comment #1:

Second version of the patch is attached. (The first version only allowed single-byte characters as wordchars.)

(file #37634)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 27 Feb 2016 03:18:04 PM UTC, original submission:

Some people would like to consider underscores to be part of a word, others hyphens, still others things like $ or +. (This for the sake of being able to Ctrl+Left and Ctrl+Right over them.)

So allow the user to specify exactly which characters should be considered components of a word (besides [[:alnum:]]), analogous to 'set brackets' and 'set punct'. It could be called 'wordchars', and it should probably replace the option 'wordbounds', as with the former the user can specify exactly which punctuation should be considered as part of a word.

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:
   

Attached Files
file #37634:  wordchars-option.patch added by bens (5KiB - text/x-diff)

 

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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 30 Jul 2016 09:05:25 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 13 Jul 2016 07:07:15 PM UTCbensSeverity3 - Normal=>1 - Wish
      StatusIn Progress=>Fixed
    Thu 30 Jun 2016 03:53:51 PM UTCbensAttached File-=>Added wordchars-option.patch, #37634
      StatusNone=>In Progress
    Thu 30 Jun 2016 02:05:21 PM UTCbensAssigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1