bugGNU nano - Bugs: bug #61496, misleading feedback from M-O when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61496: misleading feedback from M-O when syntax has 'tabgives' command

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 17 Nov 2021 09:18:50 AM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Open

Wed 17 Nov 2021 09:37:05 AM UTC, comment #1: 

Fixed in git, commit 2b0bcc7c, by saying that the "Current syntax determines Tab" when that is the case.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 17 Nov 2021 09:18:50 AM UTC, original submission:  

To reproduce, add a line with 'tabgives "xxx"' to the syntax/default.nanorc file.  Then run:

src/nano --rc=syntax/default.nanorc -x  README

Type <Tab> to see that it indeed produces xxx.  Now type M-O.  See that the status bar says: "[ Conversion of typed tabs to spaces enabled ]".  Type <Tab> again.  It still produces xxx (as it should).  So the feedback from M-O is... misleading.  (In theory the feedback is correct, because normally, when aterward switching to a buffer that is not covered by a syntax with a 'tabgives' command, the conversion of tabs-to-spaces will indeed have been toggled.  But that is not how the user will interpret the message.)

Expected behavior: when the syntax has a 'tabgives' command, M-O should somehow report that and not change the setting of the tabs-to-spaces flag.

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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-17 bens Summaryfeedback from M-O is false when the syntax has a 'tabgives' command => misleading feedback from M-O when syntax has 'tabgives' command
    2021-11-17 bens StatusNone => Fixed

    Back to the top


    Powered by Savane 3.7