emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-indirect-buffer-display applies to unrelated things
Date: Wed, 02 Jan 2013 18:53:20 -0500	[thread overview]
Message-ID: <12453.1357170800@alphaville> (raw)
In-Reply-To: Message from Samuel Wales <samologist@gmail.com> of "Wed, 02 Jan 2013 16:39:25 MST." <CAJcAo8vSs6oZqyoenwFYgU2fw+RDJNEkwezH=aLoy1aQwOkjQw@mail.gmail.com>

Samuel Wales <samologist@gmail.com> 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	other threads:[~2013-01-02 23:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 23:39 org-indirect-buffer-display applies to unrelated things Samuel Wales
2013-01-02 23:53 ` Nick Dokos [this message]
2013-01-03  0:59   ` Samuel Wales
2013-01-03  9:17     ` Bastien
2013-01-03 23:52       ` Samuel Wales
2013-01-04 15:23         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12453.1357170800@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).