bugGNU nano - Bugs: bug #60663, let a bare + on the command line...

 
 

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

bug #60663: let a bare + on the command line mean: put cursor at EOF

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 24 May 2021 02:23:07 PM UTC  
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Wed 16 Jun 2021 09:34:58 AM UTC, comment #3: 

Released in nano-5.8.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 25 May 2021 10:22:39 AM UTC, comment #2: 

Fixed in git, commit 405c2162, by interpreting a bare "+" as "+-1".

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 24 May 2021 02:25:30 PM UTC, comment #1: 

By the way, running something like 'src/nano +cr22 NEWS' does not result in an error message, but simply puts the cursor on line 22.  The change to allow a bare + can fix that at the same time.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 24 May 2021 02:23:07 PM UTC, original submission:  

The --help output of uemacs [1] says: "+  start at the end of file".  That seems like a useful shorthand (a + sounding like: I want to add stuff to this file, at the end of course).  Also, trying this lone + with a few other editors, it results that at least 'vim' and 'ne' know this shorthand too.  So...

[1] https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git/

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-16 bens Open/ClosedOpen => Closed
    2021-05-25 bens StatusNone => Fixed
    2021-05-25 bens Summaryallow using a bare + on the command line to mean: put cursor at EOF => let a bare + on the command line mean: put cursor at EOF

    Back to the top


    Powered by Savane 3.6