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

 
 

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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 23 Oct 2016 06:00:40 PM 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.

 

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>
Project AdministratorIn charge of this item.
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>
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:
   

No files currently attached

 

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
    Mon 31 Oct 2016 10:19:36 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 27 Oct 2016 06:40:55 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1