From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafael Newsgroups: gmane.emacs.help Subject: Command to execute in a shell Date: Thu, 30 Jul 2009 18:42:44 -0500 Organization: CNNTP Message-ID: <87tz0t68ln.fsfhello@somewhere.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249000850 4789 80.91.229.12 (31 Jul 2009 00:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 00:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 31 02:40:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWgAt-0007zl-En for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 02:40:43 +0200 Original-Received: from localhost ([127.0.0.1]:57679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWgAs-0000BJ-T8 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 20:40:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!feeder.erje.net!newsfeed.datemas.de!feed.cnntp.org!news.cnntp.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Cancel-Lock: sha1:OffvUyqBrgF7vV9hryqgZWLC4Gc= Original-Lines: 15 Original-NNTP-Posting-Host: f3c13128.read.cnntp.org Original-X-Trace: DXC=D:_hLjGAF; BSkaH6CE<`\MWoT\PAgXa?A?ZN>7N`N^>CMUE; :\`=7; LnZ<6LX>0VkBNn=kVK0?o`ARN>W]maF8jI Original-X-Complaints-To: abuse@cnntp.org Original-Xref: news.stanford.edu gnu.emacs.help:171362 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66549 Archived-At: Hello, In the following function, I would like to execute a command in the shell window (tikz2pdf -v (buffer-name)). How could I do that? Thanks. (defun split-for-tikz2pdf () (interactive) (split-window-horizontally 60) (other-window 1) (split-window-vertically 15) (other-window 1) (shell) )