From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-indirect-buffer-display applies to unrelated things Date: Wed, 02 Jan 2013 18:53:20 -0500 Message-ID: <12453.1357170800@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqY7g-0001Tb-D1 for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 18:53:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqY7f-0000Gz-47 for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 18:53:24 -0500 Received: from g1t0026.austin.hp.com ([15.216.28.33]:25303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqY7e-0000Gl-Vb for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 18:53:23 -0500 In-Reply-To: Message from Samuel Wales of "Wed, 02 Jan 2013 16:39:25 MST." 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: Samuel Wales Cc: emacs-orgmode@gnu.org Samuel Wales wrote: > === > org-indirect-buffer-display is a variable defined in `org.el'. > Its value is new-frame > Original value was other-window > > Documentation: > How should indirect tree buffers be displayed? > This applies to indirect buffers created with the commands > M-x org-tree-to-indirect-buffer and M-x org-agenda-tree-to-indirect-buffer. > ... > === > > That's excellent for manual creation of a new frame. However, it also > creates a new frame with (setq org-agenda-follow-indirect t). > > Is this intended? > It would seem so: org-agenda-follow-indirect is used in a single place: ,---- | (defun org-agenda-do-context-action () | "Show outline path and, maybe, follow mode window." | (let ((m (org-get-at-bol 'org-marker))) | (when (and (markerp m) (marker-buffer m)) | (and org-agenda-follow-mode | (if org-agenda-follow-indirect | (org-agenda-tree-to-indirect-buffer nil) | (org-agenda-show))) | (and org-agenda-show-outline-path | (org-with-point-at m (org-display-outline-path t)))))) `---- If it is not nil, org-agenda-tree-to-indirect-buffer is called, so this case falls under the spell of org-indirect-buffer-display. Nick > Thanks. > > Samuel > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > > The disease DOES progress. MANY people have died from it. ANYBODY > can get it. There is no hope without action. >