unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: eric1i@163.com (Richard)
Subject: Re: Load other program from emacs
Date: 5 Nov 2003 18:03:19 -0800	[thread overview]
Message-ID: <18aeee20.0311051803.2841f84c@posting.google.com> (raw)
In-Reply-To: 4yk76fkws3.fsf@skjellgran.ii.uib.no

Thanks a lot! It workds very well except a buffer call 'Async Shell
Command' popup. It not a problem, but if any method can hide it
automatically will make things better.

Richard

Joakim Hove <hove@bccs.no> wrote in message news:<4yk76fkws3.fsf@skjellgran.ii.uib.no>...
> Li Chen <cli2@student.monash.edu.au> writes:
> 
> > Is there any method which can load other programs within emacs and
> > return the control to emacs immediately instead leave emacs waiting
> > until that program was ended?
> 
> C-h f shell-command:
> 
> 
>   shell-command is an interactive compiled Lisp function in `simple'.
>   (shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER)
> 
>   Execute string COMMAND in inferior shell; display output, if any.
>   With prefix argument, insert the COMMAND's output at point.
> 
>   If COMMAND ends in ampersand, execute it asynchronously.
>   The output appears in the buffer `*Async Shell Command*'.
>   That buffer is in shell mode.
>   ...
>   ...
> 
> So, adding an "&" at the end of the command should do the trick?
> 
> HTH - Joakim

  reply	other threads:[~2003-11-06  2:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-05  7:32 Load other program from emacs Li Chen
2003-11-05  9:08 ` Joakim Hove
2003-11-06  2:03   ` Richard [this message]
2003-11-06 18:20     ` Kevin Rodgers
2003-11-05 10:47 ` Thien-Thi Nguyen
2003-11-05 15:57 ` Barry Margolin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18aeee20.0311051803.2841f84c@posting.google.com \
    --to=eric1i@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).