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


Message #14 received at 23675 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rswgnu <at> gmail.com
Cc: 23675 <at> debbugs.gnu.org
Subject: Re: Feature request: Emacs 25.0.94: count-lines should offer a way to
 ignore invisible lines, e.g. outline mode
Date: Tue, 07 Jun 2016 18:58:32 +0300
> From: Robert Weiner <rsw <at> gnu.org>
> Date: Mon, 6 Jun 2016 19:35:47 -0400
> Cc: emacs-devel <emacs-devel <at> gnu.org>
> 
> Attached is a patch to add this feature based on 25.0.94. Please consider applying it to Emacs. I have also
> included the full new version of the function below.

Thanks.

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?




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.