patchGNU nano - Patches: patch #10460, allow directories to be opened

 
 

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

patch #10460: allow directories to be opened

Submitter:  Max <mjango>
Submitted:  Mon 24 Jun 2024 01:04:45 AM UTC
   
 
Priority:  5 - Normal Status:  Wont Do
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None

Tue 25 Jun 2024 01:22:59 PM UTC, comment #1: 

Thanks for the idea and the patch.  But...

Personally I never use the file browser, nor would it occur to me to try and open a directory -- if I happen to do it, it will be a typo.  In my guesstimate, a large majority of nano users never uses the file browser either, and wouldn't recognize its layout when they accidentally open a directory.  So... I'm not going to apply this patch.

(About the patch itself: when I open a directory and then type ^X or ^C to exit from the browser, then the message is odd: "... is a directory.  It would be better to move the line with this message to before browse_in() call.)

Benno Schulenberg <bens>
Group administrator
Mon 24 Jun 2024 01:04:45 AM UTC, original submission:  

Hello,

This patch changes what happens when a directory is opened, instead of showing an error and opening a blank buffer, nano will open it in the file browser (if enabled).

Max <mjango>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by mjango (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-09-19 bens Open/ClosedOpen Closed
        SummaryAllow directories to be opened allow directories to be opened
    2024-06-25 bens StatusNone Wont Do
    2024-06-24 mjango Attached File- Added 0001-Allow-directories-to-be-opened.patch, #56196

    Back to the top

    Powered by Savane 3.14-7003.
    Corresponding source code