nano fails to redo a file insertion

Bug #1753724 reported by Benno Schulenberg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nano (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In Bionic Beaver (and in any nano between 2.8.0 and 2.9.3), trying to redo a file insertion can fail with the message: "[ Gone undo line -- please report a bug ]".

To reproduce, run 'nano --ignore' and type: Ctrl+R /etc/issue <Enter> Alt+U Alt+E

Attached upstream patch fixes the issue.

References:
  https://savannah.gnu.org/bugs/?53272
  http://git.savannah.gnu.org/cgit/nano.git/commit/?id=e9eabdcd
  http://lists.gnu.org/archive/html/nano-devel/2018-03/msg00015.html

Revision history for this message
Benno Schulenberg (bennoschulenberg) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-undo-when-redoing-don-t-try-to-find-a-line-number-th.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: artful bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nano - 2.9.3-2

---------------
nano (2.9.3-2) unstable; urgency=medium

  * The "#8M" release.
  * Add patch from git master to fix a condition where redo would fail.
    Thanks Benno for the heads-up (LP: #1753724).

 -- Jordi Mallach <email address hidden> Tue, 06 Mar 2018 15:46:39 +0100

Changed in nano (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.