bugGNU nano - Bugs: bug #34898, [Request] reuse existing buffers...


bug #34898: [Request] reuse existing buffers when adding files

Submitted by:  Kelsey Hightower <kelseyhightower>
Submitted on:  Fri 25 Nov 2011 04:49:47 PM UTC  
Severity: 1 - WishStatus: None
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 14 Jun 2014 04:19:10 PM UTC, comment #1:

With the new locking code, trying to open (into a new buffer) a file that nano already has opened, now results in the statusbar message "File being edited (...) continue?" So you will not accidentally have the same file opened twice.

But I don't like the behaviour when answering No or Cancel: it opens an empty buffer, instead of renouncing the whole opening action entirely.

Benno Schulenberg <bens>
Project Administrator
Fri 25 Nov 2011 04:49:47 PM UTC, original submission:

When using multiple buffers, nano creates a new buffer for each file that I open, even if that file is already open in an existing buffer.

This does not seem like a bug, but more of a usability issue. Many text editors check to see if a file is already "opened" in an existing buffer, if so instead of opening the requested file in a new buffer, switch to the existing one.

nano --version
GNU nano version 2.2.3 (compiled 10:55:27, Nov 22 2011)
(C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
2008, 2009 Free Software Foundation, Inc.
Email: -unavailable- Web: http://www.nano-editor.org/
Compiled options: --disable-wrapping-as-root --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8

Kelsey Hightower <kelseyhightower>


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

Attach File(s):

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 (Posted a comment)
  • -unavailable- added by kelseyhightower (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Feb 2018 12:57:18 PM UTCbensSeverity3 - Normal=>1 - Wish
    Sat 14 Jun 2014 04:19:10 PM UTCbensSummary[Feature Request] Reuse existing buffers when adding files=>[Request] reuse existing buffers when adding files

    Back to the top

    Powered by Savane 3.1-cleanup1