[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] following org links to gnus messages and window management
From: |
Bastien |
Subject: |
Re: [O] following org links to gnus messages and window management |
Date: |
Wed, 19 Mar 2014 11:18:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Alan,
Alan Schmitt <address@hidden> 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