From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Visibility cycling at end of headline Date: Sat, 25 Apr 2015 09:13:08 +0200 Message-ID: <87tww4brzv.fsf@nicolasgoaziou.fr> References: <87fv7qtgc1.fsf@vostro.rath.org> <87pp6u8d9b.fsf@kmlap.domain.org> <87a8xyt946.fsf@vostro.rath.org> <87egnarnce.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YluI0-0007Uw-0o for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 03:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YluFf-0004cP-5w for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 03:11:48 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:36841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YluFf-0004cE-0K for emacs-orgmode@gnu.org; Sat, 25 Apr 2015 03:11:47 -0400 In-Reply-To: (Charles C. Berry's message of "Fri, 24 Apr 2015 10:37:23 -0700") 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: "Charles C. Berry" Cc: emacs-orgmode@gnu.org Hello, "Charles C. Berry" writes: > This change in org-cycle line 131 seems to have the desired effect: > > --- 128,134 ---- Original > > ;; At an item/headline: delegate to `org-cycle-internal-local'. > ((and (or (and org-cycle-include-plain-lists (org-at-item-p)) > ! (save-excursion (beginning-of-line 1) > (looking-at org-outline-regexp))) > (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol)))) > (org-cycle-internal-local)) > *** 128,134 **** NEW > > ;; At an item/headline: delegate to `org-cycle-internal-local'. > ((and (or (and org-cycle-include-plain-lists (org-at-item-p)) > ! (save-excursion (move-beginning-of-line 1) > (looking-at org-outline-regexp))) > (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol)))) > (org-cycle-internal-local)) > > Caveat: I've not run this thru make test. It should work indeed. Can you wrap it into an appropriate patch and commit it? Regards, -- Nicolas Goaziou