emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-indirect-buffer-display applies to unrelated things
@ 2013-01-02 23:39 Samuel Wales
  2013-01-02 23:53 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-01-02 23:39 UTC (permalink / raw)
  To: emacs-orgmode

===
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?

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-indirect-buffer-display applies to unrelated things
  2013-01-02 23:39 org-indirect-buffer-display applies to unrelated things Samuel Wales
@ 2013-01-02 23:53 ` Nick Dokos
  2013-01-03  0:59   ` Samuel Wales
  0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2013-01-02 23:53 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

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.
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-indirect-buffer-display applies to unrelated things
  2013-01-02 23:53 ` Nick Dokos
@ 2013-01-03  0:59   ` Samuel Wales
  2013-01-03  9:17     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-01-03  0:59 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

On 1/2/13, Nick Dokos <nicholas.dokos@hp.com> wrote:
>> 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:

In my case, follow-mode works best with a split window.

So combining them makes me choose which to not use.

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-indirect-buffer-display applies to unrelated things
  2013-01-03  0:59   ` Samuel Wales
@ 2013-01-03  9:17     ` Bastien
  2013-01-03 23:52       ` Samuel Wales
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2013-01-03  9:17 UTC (permalink / raw)
  To: Samuel Wales; +Cc: nicholas.dokos, emacs-orgmode

Hi Samuel,

Samuel Wales <samologist@gmail.com> writes:

> In my case, follow-mode works best with a split window.
>
> So combining them makes me choose which to not use.

Do I understand right that you would like to display indirect
buffers in a new frame and follow agenda trees in other window?
And that you are forced to chose between the two right now?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-indirect-buffer-display applies to unrelated things
  2013-01-03  9:17     ` Bastien
@ 2013-01-03 23:52       ` Samuel Wales
  2013-01-04 15:23         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Wales @ 2013-01-03 23:52 UTC (permalink / raw)
  To: Bastien; +Cc: nicholas.dokos, emacs-orgmode

Hi Bastien,

On 1/3/13, Bastien <bzg@altern.org> wrote:
> Do I understand right that you would like to display indirect
> buffers in a new frame and follow agenda trees in other window?
> And that you are forced to chose between the two right now?

Yes.  C-c C-x b in new frame; agenda follow in other window.

Please note that this is not a major issue for me.  Other things
(fixing several visibility issues, agenda speed etc.) make a
difference globally, while this only affects 1 of 2 places.

But I think it makes sense to make the settings orthogonal as they are
unrelated features.

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-indirect-buffer-display applies to unrelated things
  2013-01-03 23:52       ` Samuel Wales
@ 2013-01-04 15:23         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2013-01-04 15:23 UTC (permalink / raw)
  To: Samuel Wales; +Cc: nicholas.dokos, emacs-orgmode

Hi Samuel,

Samuel Wales <samologist@gmail.com> writes:

> But I think it makes sense to make the settings orthogonal as they are
> unrelated features.

Okay, thanks.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-04 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 23:39 org-indirect-buffer-display applies to unrelated things Samuel Wales
2013-01-02 23:53 ` Nick Dokos
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

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).