From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mart Zirnask Newsgroups: gmane.emacs.help Subject: Re: launching a perl script Date: Wed, 21 Sep 2011 16:01:13 +0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316665294 16227 80.91.229.12 (22 Sep 2011 04:21:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2011 04:21:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 22 06:21:31 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6amw-0001Tz-0u for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 06:21:30 +0200 Original-Received: from localhost ([::1]:33694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6amv-0000Lt-7W for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 00:21:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6MQR-00044F-Se for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 09:01:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6MQM-0005UZ-0P for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 09:01:19 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:59254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6MQL-0005UV-T1 for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 09:01:13 -0400 Original-Received: by yxi19 with SMTP id 19so1306387yxi.0 for ; Wed, 21 Sep 2011 06:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8/IVCbrHBjRl+DUlFZ0jaEJpFMrm7eCIOIFoE/6v8LQ=; b=sxEHlN2/FpWQcNgTLYHkz5WBjJPg2oyqDEmWqI6NAtsQVzYN0vaxN5VOH1PIjD7gyZ MnaBe/ZiW6nnz5GpkpqIBlkdRqhLc4vzCTxUl2BmD7X0qBADvjAGfR9uafAgdsvg+eIE x9V4xeP1DILrk9TsS9D1wOY/AXA7CTL6FQw00= Original-Received: by 10.68.12.34 with SMTP id v2mr1292247pbb.194.1316610073091; Wed, 21 Sep 2011 06:01:13 -0700 (PDT) Original-Received: by 10.68.66.166 with HTTP; Wed, 21 Sep 2011 06:01:13 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 X-Mailman-Approved-At: Thu, 22 Sep 2011 00:21:03 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82282 Archived-At: Sorry for spamming, I actually provided the file name as "c:/tags#.pl" but this gave the same effect -- Emacs freezes. Thanks for help, Best, MZ 2011/9/21 Mart Zirnask : > Hello everybody, > > Probably an issue not very complicated: when I try to launch an > external Perl script ("tags#.pl") from Emacs, providing it with the > current buffer name, the editor freezes. > > I'm on Windows and here's what I have in my .emacs: > > -------------------------------------------------------------------- > ;; Perl tagcloud > (global-set-key (kbd "") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(lambda () > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(interactive) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(shell-command (concat "pe= rl > ~/.emacs.d/tags#.pl " buffer-file-name)))) > -------------------------------------------------------------------- > > I'm not a programmer and I started using Emacs for text editing only > recently. What's wrong? > > Thanks for any help, > best, > Mart Zirnask, > from Estonia >