|
From: | Noam Postavsky |
Subject: | bug#39908: 26.2; flush-lines and keep-lines should say how many lines were flushed |
Date: | Thu, 05 Mar 2020 12:07:00 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
ndame <emacsuser@freemail.hu> writes: > report the number of deletions performed which can be useful info. > > This is easy to do by incrementing a counter at the two delete-region calls > in keep-lines. No, you are mistaken. For keep-lines, the number of deletions is equal to the number of kept lines. Only for flush-lines the number of deletions is the same as the number of deleted lines (in both cases, assuming all matches are on single lines).
[Prev in Thread] | Current Thread | [Next in Thread] |