When started with option -X from within Emacs (e.g. "M-| wgetpaste -X RET" on a selected region) the process never returns. The problem can also be reproduced as follows: echo test | wgetpaste -X | cat "ps x" shows that there is an xclip process left that doesn't terminate, because its standard output is going to a pipe. (app-text/nopaste had a similar problem, see bug 205525.) Patch will follow.
Created attachment 141586 [details, diff] Proposed patch for wgetpaste-2.8 Redirecting stdout fixes the problem.
$ svn log -r 218 && svn diff -c 218e with your conclusion ("you sound t ------------------------------------------------------------------------ r218 | bo | 2008-01-23 19:43:21 +0100 (Wed, 23 Jan 2008) | 1 line emacs people are weird (see bug #207052). ------------------------------------------------------------------------ Index: trunk/wgetpaste =================================================================== --- trunk/wgetpaste (revision 217) +++ trunk/wgetpaste (revision 218) @@ -324,7 +324,7 @@ x_paste() { if [[ -x $(type -P xclip) ]]; then - xclip -loops 10 <<< "$*" || die "xclip failed." + xclip -loops 10 &>/dev/null <<< "$*" || die "xclip failed." else noxclip paste "write to" fi 2.9 is tagged with this. ;)
Fixed in 2.9, thanks.