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

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

bug#23675: Feature request: Emacs 25.0.94: count-lines should offer a wa


From: Eli Zaretskii
Subject: bug#23675: Feature request: Emacs 25.0.94: count-lines should offer a way to ignore invisible lines, e.g. outline mode
Date: Sat, 04 Jun 2016 11:58:15 +0300

> From: Robert Weiner <rsw@gnu.org>
> Date: Wed, 1 Jun 2016 10:23:56 -0400
> 
> Often when particular lines are hidden, one wants to count only visible 
> lines. count-lines presently cannot do
> this. XEmacs has for a long-time had count-lines take an optional 3rd 
> parameter flag which if non-nil, ignores
> invisible lines in the line count. This would be very helpful whenever 
> selective-display is in use.

Patches are welcome to add this.

Also, we have forward-visible-line, which might prove instrumental.

Thanks.





reply via email to

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