nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] toggle at ^Read file prompt.


From: Chris Allegretta
Subject: Re: [Nano-devel] toggle at ^Read file prompt.
Date: Sun, 2 Feb 2003 21:01:06 -0800
User-agent: Mutt/1.2.5.1i

On Thu, Jan 30, 2003 at 05:42:12PM -0500, David Benbennick wrote:
> On Wed, Jan 29, 2003 at 08:45:21PM -0500, David Benbennick wrote:
> > 2) With operating directory set, ^Read file, type something outside the
> > directory (like /tmp/), do a toggle like M-F.
> 
> Nano will also complain on ^X.  Also, if you type "foo" at the prompt then
> do ^X and enter a command, the buffer's name becomes foo.
> 
> Finally, I replaced tail recursion in do_insertfile() with a goto.  If you
> hold down M-F at the prompt, Nano uses more and more memory to record the
> call stack.
> 
> Anyway, here's a fix.

Credited and committed, except for:

> Also, cancelling the "Command to execute" prompt brings you back to the
> "Read file" prompt now.

^R^X and ^W^T should both behave the same way, ^C completely cancels the 
operation in progress.  I put it in the TODO for 1.4 that the 
subfunction key within the subfunction should return it to the parent 
function the way you have it here, but this is out of the scope of 1.2.  

What should probably happen in 1.3 is now that we have hacked all this
extra functionality on top of the old statusq code, statusq and
nanogetstr should be completely rewritten so we don't have to have so
much logic in the calling functions, e.g. backupstrings and history 
should be handled in statusq, blah blah.  :)

Chris A
-- 
Chris Allegretta        http://www.asty.org

"Share and Enjoy" - Douglas Adams, 1952 - 2001




reply via email to

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