bugGNU nano - Bugs: bug #49423, inserting the result of a command...

 
 

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

bug #49423: inserting the result of a command into a new buffer does not set the modified flag

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 23 Oct 2016 06:00:40 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 27 Oct 2016 06:40:55 PM UTC, comment #1: 

Fixed in git, 0eef561.

No one protested against the change -- see https://lists.gnu.org/archive/html/nano-devel/2016-10/msg00084.html.

Benno Schulenberg <bens>
Group administrator
Sun 23 Oct 2016 06:00:40 PM UTC, original submission:  

To reproduce run 'src/nano --ignore --multi', type ^R ^X ls <Enter>.  See how in the upper right corner it does not say "Modified".  Type ^X.  It simply closes the buffer, without asking to save it.

Other than when "inserting" a file into a new buffer (in which case the buffer exactly matches the file, so it is unmodified), inserting the output of a command creates new content in a new buffer -- typing this content would set the Modified flag, so inserting this content in another way should set the flag too.

So, expected behavior: inserting the output of a command should mark the buffer as modified.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-31 bens Open/ClosedOpen Closed
    2016-10-27 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code