emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Visibility cycling at end of headline


From: Nicolas Goaziou
Subject: Re: [O] Visibility cycling at end of headline
Date: Sat, 25 Apr 2015 09:13:08 +0200

Hello,

"Charles C. Berry" <address@hidden> 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



reply via email to

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