From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: v3, with support for narrowing Date: Fri, 29 Apr 2011 10:41:38 +0800 Message-ID: <871v0leq3h.fsf@ericabrahamsen.net> References: <867hal4a6t.wl%simon.guest@tesujimath.org> <87iptzoa5x.fsf@ucl.ac.uk> <86zknb9v1y.wl%simon.guest@tesujimath.org> <87oc3qg4f8.fsf@ucl.ac.uk> <86y62uxc90.wl%simon.guest@tesujimath.org> <86y62tyg2u.wl%simon.guest@tesujimath.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFdeT-00015R-Gj for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 22:41:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFdeS-0005vt-SJ for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 22:41:53 -0400 Received: from lo.gmane.org ([80.91.229.12]:52880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFdeS-0005vn-Lg for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 22:41:52 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFdeQ-0005TR-AW for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 04:41:50 +0200 Received: from 123.121.207.72 ([123.121.207.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 04:41:50 +0200 Received: from eric by 123.121.207.72 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2011 04:41:50 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Fri, Apr 29 2011, Simon Guest wrote: > At Thu, 28 Apr 2011 15:47:07 -0700, > Samuel Wales wrote: >> Is it possible to make it so that you can show the overlays for just a >> subtree or region instead of the entire buffer? > > Hi Samuel, > > Good idea! So I just fixed it to handle narrowing properly, so narrow > to your region or subtree of interest first, and then count as usual. > > Attached v3 which does this. I'm not normally this responsive, you > just caught me at a good time. ;-) Is this still a good time? Because what I'd really like is inclusion/exclusion tags, so that I can mark some subtrees to count, and others to ignore. I tried doing this last night, based on other parts of the export code, and my elisp failed. Perhaps just exclusion tags? Here's hoping you still have a bit of time/interest for improvements! (I'm translating a novel, not writing one, and want to keep the original text out of the count. Plus I've got a bunch of research/notes sections that should be excluded.) If you're out of time, I'll have another whack at it, and maybe bring my broken efforts to the list. Thanks, Eric