[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Idea: pipe link to command

In [emacs-w3m : No.11233] jidanni@xxxxxxxxxxx wrote:

> If our cursor is upon a link, hitting | should send it to a new command,
> w3m-pipe...

> So we can do "| command", instead of having to download the link and
> then run our command on the file.

Could you test the attached program by `M-x w3m-pipe-source RET' ?
To do that, byte-compile the file as follows:

emacs -batch -Q -l cl -l w3m -f batch-byte-compile w3m-pipe-source.el

And do `M-x load-file RET w3m-pipe-source.elc RET' in Emacs which
runs emacs-w3m.

Attachment: w3m-pipe-source.el
Description: Binary data