nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] M-6 no longer works if the cursor is at the end of a file


From: Liu Hao
Subject: [Nano-devel] M-6 no longer works if the cursor is at the end of a file
Date: Fri, 28 Jun 2019 13:14:29 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1

Steps to reproduce:

0. Build nano from Git master (`b23a5d5b2910` as we speak).
1. Run `src/nano -IL` to create a new file.
2. Type two lines `aaa` and `bbb`. The cursor is now on line 3.
3. Press `M-\`. This moves the cursor to the beginning of the file.
4. Press `M-A` followed by `M-/`. This marks the entire file and moves
   the cursor to the end of the file.
5. Press `M-6`. The text should have been copied into the cut buffer and
   unmarked, which doesn't happen.

Additional information:

0. `M-6` works as expected if the cursor is not at the EOF.
1. `C-K` works always, as well as zapping.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]