nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] who uses ^R to create a new file?


From: Benno Schulenberg
Subject: [Nano-devel] who uses ^R to create a new file?
Date: Sat, 11 Jul 2015 12:12:28 +0200

At the moment, when using ^R in multibuffer mode and
trying to read in a file that does not exist, nano will
create an empty buffer with the specified name, as if
the user intended to create a new file.  Does anyone
purposefully use this feature/bug?

My guess is that when people use ^R, they want to read in
an existing file, and if they make a typo and the file
doesn't exist, nano should just mention this and not do
anything else.

So I propose to apply the attached patch.

For the original bug report by Mike Frysinger see:
  https://savannah.gnu.org/bugs/?45383

Benno

-- 
http://www.fastmail.com - Accessible with your email software
                          or over the web

Attachment: file-exists-and-is-normal.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]