From: ndame <emacsuser@freemail.hu>
To: Noam Postavsky <npostavs@gmail.com>
Cc: "39908@debbugs.gnu.org" <39908@debbugs.gnu.org>,
Juri Linkov <juri@linkov.net>
Subject: bug#39908: 26.2; flush-lines and keep-lines should say how many lines were flushed
Date: Thu, 5 Mar 2020 16:47:15 +0000 (GMT) [thread overview]
Message-ID: <AyVfZg.lZP8Winza80.nkd4prddRT7VxcB5jwCB@freemail.hu> (raw)
In-Reply-To: <87blpb80aq.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 431 bytes --]
> For keep-lines, if
> matches don't span lines, then the number of lines is equal to the
> number of lines kept, rather than lines deleted. And there is less
> usefulness in reporting lines kept,
I agree, that's why I suggested keep-lines should also count and 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.
[-- Attachment #2: Type: text/html, Size: 504 bytes --]
next prev parent reply other threads:[~2020-03-05 16:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-04 16:42 bug#39908: 26.2; flush-lines and keep-lines should say how many lines were flushed ndame
2020-03-04 16:53 ` Noam Postavsky
2020-03-04 16:53 ` Eli Zaretskii
2020-03-04 16:54 ` ndame
2020-03-04 23:37 ` Juri Linkov
2020-03-04 17:12 ` ndame
2020-03-04 23:39 ` Juri Linkov
2020-03-05 9:47 ` ndame
2020-03-05 12:15 ` Noam Postavsky
2020-03-05 16:47 ` ndame [this message]
2020-03-05 17:07 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AyVfZg.lZP8Winza80.nkd4prddRT7VxcB5jwCB@freemail.hu \
--to=emacsuser@freemail.hu \
--cc=39908@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.