all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gearheart <yoyavova@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Programatically suppress "Async Shell command" buffer
Date: Mon, 6 Jul 2009 06:43:50 -0700 (PDT)	[thread overview]
Message-ID: <24355670.post@talk.nabble.com> (raw)


Hi

When async shell-command is run, i get empty buffer that takes like half of
the screen. I know that if command is ran with C-u M-! than buffer is not
shown. I want to bind a calling of specific shell command to some key combo.

C-u is universal-argument, so i wrote a function like

(universal-argument)
(shell-command "something&")

but that still shows empty buffer. So how to write this correctly?

Thank you.
-- 
View this message in context: http://www.nabble.com/Programatically-suppress-%22Async-Shell-command%22-buffer-tp24355670p24355670.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





             reply	other threads:[~2009-07-06 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 13:43 gearheart [this message]
2009-07-07  9:32 ` Programatically suppress "Async Shell command" buffer Peter Dyballa
2009-07-07 18:00   ` gearheart
     [not found]   ` <mailman.2021.1247001256.2239.help-gnu-emacs@gnu.org>
2009-07-10  2:17     ` dnquark
2009-07-10  3:30       ` dnquark
2009-07-10 10:48         ` Peter Dyballa
2009-07-10 11:01           ` Leo Alekseyev
2009-07-10 10:43       ` Peter Dyballa
2009-07-10 11:02 ` Johan Bockgård

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

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

  git send-email \
    --in-reply-to=24355670.post@talk.nabble.com \
    --to=yoyavova@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.