GNU bug report logs - #23675
Feature request: Emacs 25.0.94: count-lines should offer a way to ignore invisible lines, e.g. outline mode

Previous Next

Package: emacs;

Reported by: Robert Weiner <rsw <at> gnu.org>

Date: Wed, 1 Jun 2016 15:34:03 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Weiner <rsw <at> gnu.org>
Cc: 23675 <at> 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: Sat, 04 Jun 2016 11:58:15 +0300
> From: Robert Weiner <rsw <at> 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.




This bug report was last modified 1 year and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.