Hello, Samuel Wales <samolog...@gmail.com> writes:
> 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 <samolog...@gmail.com> 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 Siblings are other headlines at the same level, not children. >> ;; 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. I don't understand why it should. SIBLINGS-P means "show all siblings". This is handled later in the function. Regards, -- Nicolas Goaziou