nano-devel
[Top][All Lists]
Advanced

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

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


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

On Mon, Jul 13, 2015, at 08:34, Mike Frysinger wrote:
> On 11 Jul 2015 12:12, Benno Schulenberg wrote:
> > 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?
> 
> we shouldn't attempt to read a file if they just hit enter after ^R, but 
> otherwise keeping that trick to create a new buffer makes sense to me.

Okay.  The change went into SVN, r5304.

So now nano will only complain (and not open a blank buffer)
when the named thing exists but is not a file.  When the named
thing does not exist, it will (in multibuffer mode) create an
empty buffer with the given name.

Benno

-- 
http://www.fastmail.com - IMAP accessible web-mail




reply via email to

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