bugGNU nano - Bugs: bug #55583, in current git, an 'unset nowrap'...

 
 

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

bug #55583: in current git, an 'unset nowrap' does not override the default

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 26 Jan 2019 11:33:37 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 18 Feb 2019 08:54:38 AM UTC, comment #2: 

Fixed in git by commit 556c0a38.

And closing because unreleased.

Benno Schulenberg <bens>
Group administrator
Sun 27 Jan 2019 10:08:39 AM UTC, comment #1: 

I can't figure out how to fix this in current git -- all these negations of negations spin my head.

The thing is, the mechanism by which command-line flags override rcfile ones assumes that all flags are unset by default.  Instead of trying to add a bunch of temporary code that will do the right thing in current git, I will just wait until the new options have been added and then invert the flags (or rather: add new flags and start using those) and then this will be fixed as a side effect -- mostly.

Benno Schulenberg <bens>
Group administrator
Sat 26 Jan 2019 11:33:37 AM UTC, original submission:  

Commit 946755a3 set the NO_WRAP, NO_NEWLINES, SMOOTH_SCROLL and MORE_SPACE by default, but in such a way that it is equivalent to these flags being set via the command line, meaning that a nanorc cannot unset them.  Not good.

Expected behavior: those flags should be switched on by default, but in such a way that when an rcfile unsets them, they should become unset.

Benno Schulenberg <bens>
Group administrator

 

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

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-18 bens Severity3 - Normal 2 - Minor
        StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2019-01-31 bens StatusPostponed In Progress
    2019-01-27 bens StatusNone Postponed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code