unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mart Zirnask <martzirnask@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: launching a perl script
Date: Wed, 21 Sep 2011 16:01:13 +0300	[thread overview]
Message-ID: <CAHUAchxnGixjfBjAQmVidOX7AHfspa-OkXbENo1nb_OShDCFfw@mail.gmail.com> (raw)
In-Reply-To: <CAHUAchz1JJOLReDkZBZtA9GbkqPMYA8zQno5sNTC3Cejx-Juvw@mail.gmail.com>

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 <martzirnask@gmail.com>:
> 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 "<f2>")
>                      (lambda ()
>                        (interactive)
>                        (shell-command (concat "perl
> ~/.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
>



  reply	other threads:[~2011-09-21 13:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 12:54 launching a perl script Mart Zirnask
2011-09-21 13:01 ` Mart Zirnask [this message]
2011-09-22  4:40   ` XeCycle
2011-09-22  8:05 ` Andreas Röhler
2011-09-22 14:46 ` PJ Weisberg
2011-09-22 15:19   ` Mart Zirnask
2011-09-22 16:02     ` Mart Zirnask

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=CAHUAchxnGixjfBjAQmVidOX7AHfspa-OkXbENo1nb_OShDCFfw@mail.gmail.com \
    --to=martzirnask@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.
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).