emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-indirect-buffer-display applies to unrelated things


From: Nick Dokos
Subject: Re: [O] org-indirect-buffer-display applies to unrelated things
Date: Wed, 02 Jan 2013 18:53:20 -0500

Samuel Wales <address@hidden> 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.
> 



reply via email to

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