[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] undoing deletions at the tail of the file adds a line
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] undoing deletions at the tail of the file adds a line |
Date: |
Sat, 13 Jun 2015 15:52:02 +0200 |
On Sat, Jun 13, 2015, at 01:26, Mark Majeres wrote:
> As you've stated already, it's recursive. My patch is releasing
> memory and your patch is eating it up ;)
Hm... Yeah. :|
> I revised my patch a little
> and created a function free_undo()... maybe it will be more appealing.
Still too many lines. :)
Well... instead of deleting and freeing superfluous undos afterward,
how about not adding them in the first place? Patch is attached.
Does it cover all the conditions?
Benno
--
http://www.fastmail.com - The way an email service should be
dont-add-a-superfluous-undo.patch
Description: Text Data
- [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/02
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/03
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/04
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/07
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/12
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/12
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line,
Benno Schulenberg <=
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/13
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/13
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/15
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/17
- Re: [Nano-devel] undoing a backspace at almost the tail of the file loses a line, Benno Schulenberg, 2015/06/20