bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#39908: 26.2; flush-lines and keep-lines should say how many lines we


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 <address@hidden> 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).








reply via email to

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