bugGNU nano - Bugs: bug #60660, a new file gets wrongly advertised...

 
 

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

bug #60660: a new file gets wrongly advertised as being in Mac format

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 23 May 2021 03:16:18 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 23 May 2021 05:04:35 PM UTC, comment #2: 

Fixed in git, commit b38f0cba, by ensuring that the "DOS" or "Mac" gets printed only when 'openfile->fmt' is DOS_FILE or MAC_FILE, not when it is UNSPECIFIED.

Benno Schulenberg <bens>
Group administrator
Sun 23 May 2021 03:29:29 PM UTC, comment #1: 

The offending commit is 77da54c6: "do not store an error message in the record of another buffer".

Benno Schulenberg <bens>
Group administrator
Sun 23 May 2021 03:16:18 PM UTC, original submission:  

To reproduce, run:

src/nano --ignore fresh README

(where 'fresh' is a nonexistent file).
See that the status bar says: "[ fresh -- 0 lines (Mac) ]".
Now type ^O.  There is no "[Mac Format]" in the prompt, so the "(Mac)" in the status message was false.

Bug exists since version 5.7.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-16 bens Open/ClosedOpen Closed
    2021-05-23 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code