From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Re: shell: link output Date: Mon, 03 May 2010 18:15:25 -0400 Message-ID: <874oio639e.fsf@stats.ox.ac.uk> References: <38DA8AC4-BD61-48BE-8384-540F369BF00A@tsdye.com> <87wrvlc2vu.fsf@stats.ox.ac.uk> 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 1O93vL-00042I-SJ for emacs-orgmode@gnu.org; Mon, 03 May 2010 18:15:35 -0400 Received: from [140.186.70.92] (port=36369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O93vK-00041t-Je for emacs-orgmode@gnu.org; Mon, 03 May 2010 18:15:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O93vI-0003Wd-OH for emacs-orgmode@gnu.org; Mon, 03 May 2010 18:15:34 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:51033) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O93vI-0003WV-GH for emacs-orgmode@gnu.org; Mon, 03 May 2010 18:15:32 -0400 In-Reply-To: (Uday S. Reddy's message of "Tue, 04 May 2010 00:45:26 +0100") 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: Uday S Reddy Cc: emacs-orgmode@gnu.org Uday S Reddy writes: > On 5/3/2010 12:14 AM, Dan Davison wrote: > >> >> 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 `shell-command' displays the *Shell Command Output* buffer only when it is called interactively. When it is called programatically, I think they expect the calling program to display the *Shell Command Output* buffer separately. Org mode is not doing so. Hi Uday, Hmm, no, I think what I wrote was correct :) If the output is too long to fit in the minibuffer, then shell-command does display the output buffer, whether in interactive or non-interactive context (at least in emacs 24 on linux). Dan > > Cheers, > Uday > > > > _______________________________________________ > 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