From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH] Add customization option to open WL links in other frame. Date: Mon, 28 Jun 2010 21:44:56 +0200 Message-ID: <1277754296-3540-2-git-send-email-dmaus@ictsoc.de> References: <105A176E-0E65-47EE-8DC2-D26170D01F94@gmail.com> Return-path: Received: from [140.186.70.92] (port=33692 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTKXl-0003YY-Gg for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 16:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTKGY-0007Lj-OU for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 15:45:15 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:36041) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTKGY-0007Ld-IB for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 15:45:14 -0400 In-Reply-To: <105A176E-0E65-47EE-8DC2-D26170D01F94@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * org.el (org-link-frame-setup): Add customization option for Wanderlust. --- lisp/org.el | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 1029fa1..a079179 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1387,7 +1387,8 @@ Changing this requires a restart of Emacs to work correctly." (defcustom org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus-other-frame) - (file . find-file-other-window)) + (file . find-file-other-window) + (wl . wl-other-frame)) "Setup the frame configuration for following links. When following a link with Emacs, it may often be useful to display this link in another window or frame. This variable can be used to @@ -1403,6 +1404,9 @@ For FILE, use any of `find-file' `find-file-other-window' `find-file-other-frame' +For Wanderlust use any of + `wl' + `wl-other-frame' For the calendar, use the variable `calendar-setup'. For BBDB, it is currently only possible to display the matches in another window." @@ -1422,7 +1426,11 @@ another window." (choice (const find-file) (const find-file-other-window) - (const find-file-other-frame))))) + (const find-file-other-frame))) + (cons (const wl) + (choice + (const wl) + (const wl-other-frame))))) (defcustom org-display-internal-link-with-indirect-buffer nil "Non-nil means use indirect buffer to display infile links. -- 1.7.1