From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: shell: link output Date: Sun, 02 May 2010 19:14:45 -0400 Message-ID: <87wrvlc2vu.fsf@stats.ox.ac.uk> References: <38DA8AC4-BD61-48BE-8384-540F369BF00A@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8iND-0007D1-P1 for emacs-orgmode@gnu.org; Sun, 02 May 2010 19:14:55 -0400 Received: from [140.186.70.92] (port=35927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8iNC-0007Ct-Ap for emacs-orgmode@gnu.org; Sun, 02 May 2010 19:14:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8iNA-0004LV-SS for emacs-orgmode@gnu.org; Sun, 02 May 2010 19:14:54 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:39040) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8iNA-0004LJ-Kb for emacs-orgmode@gnu.org; Sun, 02 May 2010 19:14:52 -0400 In-Reply-To: <38DA8AC4-BD61-48BE-8384-540F369BF00A@tsdye.com> (Thomas S. Dye's message of "Sun, 2 May 2010 09:38:38 -1000") 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: "Thomas S. Dye" Cc: emacs org-mode mailing list "Thomas S. Dye" writes: > Aloha all, > > A link like this in my Org-mode buffer: > > [[shell:$PATH]] > > sends output to a buffer called *Shell Command Output*, which on my > system, at least, remains buried. I'd like to display the buffer when > the user clicks the link, ideally in another window of the same > frame. How can I do this? Hi Tom, It displays the output in the minibuffer, right? I'm not sure there's a very easy solution. Documented behaviour of `shell-command' is that ,---- | The output appears in the buffer `*Shell Command Output*'. If the | output is short enough to display in the echo area (which is determined | by the variables `resize-mini-windows' and `max-mini-window-height'), it | is shown there, but it is nonetheless available in buffer `*Shell | Command Output*' even though that buffer is not automatically displayed. `---- so it seems rather hard-wired to me (i.e. you'd have to write your own function or use defadvice). I think you meant [[shell:echo $PATH]], so that the output is on stdout not stderr, but I don't think that alters conclusions. Dan > > All the best, > Tom > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode