bugGNU nano - Bugs: bug #57248, [Wish] feeding something through a...


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

bug #57248: [Wish] feeding something through a command should not move the cursor

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 17 Nov 2019 07:34:18 AM UTC  
Severity:  1 - Wish Status:  None
Assigned to:  None Open/Closed:  Open

Sun 03 Oct 2021 02:23:05 PM UTC, comment #1: 

Not moving the cursor would interfere with the example Sh-M-U and Sh-M-L bindings: one could no longer upcase or downcase several words in a row.  So maybe the cursor position should only not be changed (or restored to its line) when the operations moves the cursor away from the current line -- or rather: when it moves the cursor two lines or more, so that one can still sequentially operate on all the words in a single paragraph.

Benno Schulenberg <bens>
Project Administrator
Sun 17 Nov 2019 07:34:18 AM UTC, original submission:  

When the full buffer or a marked region is fed through an external command (^R^X |...), then it would be nice if the cursor stayed in the same position (as far as possible, assuming that the text will be only marginally changed and no lines are added or deleted).  This would make it much easier to see what the command actually changed in the text.

When a region was marked, it would be nice if this marking was retained.

Benno Schulenberg <bens>
Project Administrator


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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-03 bens Summary[Request] don't change cursor position when feeding something through a command => [Wish] feeding something through a command should not move the cursor

    Back to the top

    Powered by Savane 3.7