Re: interpolation problem in emacspipe.pl script from emacswiki

2010-08-13 Thread Uri Guttman
> "GS" == Gabriel Striewe writes: GS> my $status = system("emacsclient -n --eval '(progn (pop-to-buffer (get-buffer-create \"*piped*\")))'"); GS> if($status!=0){ exit 1; } GS> while(){ GS> system("emacsclient -n --eval '(with-current-buffer \"*piped*\" (insert \"" . $_ . "\"))

interpolation problem in emacspipe.pl script from emacswiki

2010-08-13 Thread Gabriel Striewe
Dear List, i found on the emacswiki the following script written in Perl which is supposed to make emacsclient read from a pipe: #! /usr/bin/perl # This script uses emacsclient, be sure to have a running server session. # A server-session can be started by "M-x server-start". my $status = syste