Hi Alan,

Alan Schmitt <alan.schm...@polytechnique.org> writes:

> When I follow a link in a task to a gnus file, this takes over the
> current frame, and when I'm done dealing with the message, I have to
> "winner-undo" my way until I restore my window configuration. This is
> not very convenient.
>
> My questions are:
> - is there a way to run some code before following a link (for instance
>   "save the current window configuration", or "switch to screen 0")?

Nope.

> - if not, is there a way to copy a link then open it using the
>   minibuffer (I would then do the switch to screen 0 manually)?

This does not use the minibuffer but you could add that:

(progn
  (org-next-link)
  (org-open-link-from-string
   (org-element-property :raw-link (org-element-link-parser))))

> - finally, do you have alternative window management options to suggest
>   that would work well with following links to gnus messages?

Well, all I can think of now is

(setq org-agenda-window-setup 'other-frame)

>   I remember
>   seeing something nice in Sacha Chua's interview of Magna Sveen
>   mentioning "perspective-mode", but I have not tried it yet.

Me neither!

Hope that helps,

-- 
 Bastien

Reply via email to