patchGNU nano - Patches: patch #6854, relative line movement

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6854: relative line movement

Submitter:  Lars <penma>
Submitted:  Sat 27 Jun 2009 02:51:37 PM UTC
   
 
Priority:  3 - Low Status:  Wont Do
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None

Mon 15 Jun 2020 07:58:04 AM UTC, comment #2: 

Obsoleted when a minus started meaning "from bottom of buffer".  Also, the ability to show line number and to place anchors has made the patch less useful.

Benno Schulenberg <bens>
Group administrator
Thu 13 Feb 2014 11:07:39 AM UTC, comment #1: 

Interesting patch.  But it behaves strangely when doing
<Alt+G> <+> <,> <1>, or <Alt+G> <+> <,> <3> <4>, or any
other column number: it doubles the current line number
and goes to the requested column.

Could you extend the patch to make the above cases return
an "invalid command" message?

Benno Schulenberg <bens>
Group administrator
Sat 27 Jun 2009 02:51:37 PM UTC, original submission:  

This patch makes nano able to not only navigate to a specific line, but also to go some number of lines up and down. This works by prefixing the line number which is to be visited with either + or -.

Lars <penma>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18333:  nano-line-1.diff added by penma (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by penma (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-15 bens Priority5 - Normal 3 - Low
        StatusNeed Info Wont Do
        Open/ClosedOpen Closed
    2014-02-13 bens StatusNone Need Info
    2009-06-27 penma Attached File- Added nano-line-1.diff, #18333

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code