Three Monkeys, Three Typewriters, Two Days

April 27, 2003

Why claimest thou gzip support?

Emacs-w3 does not seem to have built-in support for gunzipping stuff automatically. It calls out to "gunzip -c" to handle it. Sometime I'll look up the Emacs-lisp magic to call that on a buffer and replace the buffer contents with the output. In the meantime, I've taken the cheap way out and disabled the sending of "Accept-encoding: gzip".

Posted by bzbarsky at April 27, 2003 11:54 PM
Comments

sounds like you want to use call-process-region. That will use a region of a buffer as input to an external process, and insert the output of the process in another buffer.

See http://www.gnu.org/manual/elisp-manual-21-2.8/html_node/elisp_604.html

Posted by: James on April 28, 2003 1:54 AM

Now I'm an Emacs fanatic as much as the next guy, but there really is no need to subject yourself to Emacs/W3, surely. :-)

Posted by: Ian Hickson on April 28, 2003 1:11 PM
Post a comment