emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] three bugs/misfeatures in org-reveal (or is org-reveal the wrong


From: Samuel Wales
Subject: Re: [O] three bugs/misfeatures in org-reveal (or is org-reveal the wrong way to reveal around point?)
Date: Fri, 16 Jan 2015 18:23:44 -0700

i think i found one of the bugs in org.el's org-show-context.  is
anybody willing to confirm and fix it?

On 8/5/13, Samuel Wales <address@hidden> wrote:
>   ;; bug 1: when point is in entry text, the first child of that
>   ;; entry shows, but its siblings (i.e. the other children) do
>   ;; not show, even though i have org-show-siblings and
>   ;; org-show-hierarchy-above both set to t.

    (when following-p
      ;; Show next sibling, or heading below text
      (save-excursion
        (and (if heading-p (org-goto-sibling) (outline-next-heading))
             (org-flag-heading nil))))
    (when siblings-p (org-show-siblings))

the part in the save-excursion needs to check for siblings-p also.



reply via email to

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