bugGNU nano - Bugs: bug #27839, directories open new buffers

 
 

bug #27839: directories open new buffers

Submitted by:  Jordi Mallach <jordi>
Submitted on:  Wed 28 Oct 2009 06:15:29 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: In Progress
Privacy: PublicAssigned to: Chris Allegretta <astyanax>
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 Nov 2009 07:13:22 AM UTC, comment #1:

I agree, but fixing this is not a simple change without duplicating a lot of code. Once I'm caught up on everything else I didnt notice because gmail is eating my notifications I will give this another shot, I don't like what I had 1st try...

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Wed 28 Oct 2009 06:15:29 PM UTC, original submission:

(This bug was submitted by pabs in Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551717)

If I run this command, then I get one file opened and 3 "New Buffer"s.
It seems a bit silly that directories create new buffers. I think that
nano should ignore any directories listed on the command line.

echo foo > foo ; mkdir bar baz bloooooop ; nano foo bar baz bloooooop ; rm -rf foo mkdir bar baz bloooooop

Jordi Mallach <jordi>
Project Administrator

 

(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 astyanax (Posted a comment)
  • -unavailable- added by jordi (Submitted the item)
  • -unavailable- added by jordi
  •  

    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
    Tue 10 Nov 2009 07:13:22 AM UTCastyanaxAssigned toNone=>astyanax
      StatusNone=>In Progress
    Wed 28 Oct 2009 06:15:29 PM UTCjordiCarbon-Copy-=>Added pabs

    Back to the top


    Powered by Savane 3.1-cleanup