From: Robert Weiner <rsw@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23675@debbugs.gnu.org
Subject: bug#23675: Feature request: Emacs 25.0.94: count-lines should offer a way to ignore invisible lines, e.g. outline mode
Date: Tue, 7 Jun 2016 18:17:22 -0400 [thread overview]
Message-ID: <CA+OMD9g9kXMP=Cs5g7R-SVj=J8V=KtNxJszt4DhfDWHPTdHGRw@mail.gmail.com> (raw)
In-Reply-To: <83a8ixrnx3.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
On Tue, Jun 7, 2016 at 11:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> Any reason why you didn't use forward-visible-line, which would leave
> the skipping of invisible text to that function, and make your code
> simpler?
>
Because unlike forward-line, forward-visible-line does not indicate how
many lines it failed to move when it cannot move the requested amount (of
course it should). Therefore, I could not tell when it failed to move and
would have had to add other buffer location tests. I hope that explains it
sufficiently.
Bob
[-- Attachment #2: Type: text/html, Size: 890 bytes --]
next prev parent reply other threads:[~2016-06-07 22:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 14:23 bug#23675: Feature request: Emacs 25.0.94: count-lines should offer a way to ignore invisible lines, e.g. outline mode Robert Weiner
2016-06-04 8:58 ` Eli Zaretskii
2016-06-06 23:35 ` Robert Weiner
2016-06-06 23:35 ` Robert Weiner
2016-06-07 15:58 ` bug#23675: " Eli Zaretskii
2016-06-07 22:17 ` Robert Weiner [this message]
2019-06-25 15:33 ` Stefan Monnier
2019-06-25 13:30 ` Lars Ingebrigtsen
2019-06-25 13:30 ` Lars Ingebrigtsen
2019-06-25 15:26 ` Stefan Monnier
2019-06-25 15:29 ` Lars Ingebrigtsen
2020-08-11 14:53 ` Lars Ingebrigtsen
2023-08-05 0:35 ` bug#23675: 30.0.50: make count-lines optionally ignore invisible lines J.P.
[not found] ` <87ttteuy0g.fsf@neverwas.me>
2023-08-05 6:32 ` Eli Zaretskii
[not found] ` <83v8dut2x1.fsf@gnu.org>
2023-08-06 13:03 ` J.P.
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='CA+OMD9g9kXMP=Cs5g7R-SVj=J8V=KtNxJszt4DhfDWHPTdHGRw@mail.gmail.com' \
--to=rsw@gnu.org \
--cc=23675@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rswgnu@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.