From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCI7F-0005cl-4t for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 20:23:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCI7A-0006ra-CR for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 20:23:49 -0500 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:53534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCI7A-0006qD-54 for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 20:23:48 -0500 Received: by mail-lb0-f169.google.com with SMTP id f15so598218lbj.0 for ; Fri, 16 Jan 2015 17:23:44 -0800 (PST) In-Reply-To: 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 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 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.