From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: following org links to gnus messages and window management Date: Wed, 19 Mar 2014 09:01:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQBRb-0000SS-1A for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 04:01:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQBRU-0001LX-Ru for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 04:01:46 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:2663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQBRU-0001LE-MC for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 04:01:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hello, I'm using escreen (http://www.emacswiki.org/emacs/EmacsScreen) to manage my windows in emacs, typically keeping gnus on screen 0, org agenda and related todo files on screen 2, and so on. 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")? - 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)? - finally, do you have alternative window management options to suggest that would work well with following links to gnus messages? I remember seeing something nice in Sacha Chua's interview of Magna Sveen mentioning "perspective-mode", but I have not tried it yet. Thanks, Alan