From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93.
Date: 11 Jul 1997 21:21:27 +0200 [thread overview]
Message-ID: <rjd8op1jk8.fsf@zuse.dina.kvl.dk> (raw)
This patch makes `W h' work for me with the latest versions of Gnus,
W3, and Widget. I have never had it working before.
I think it would be better to use `w3-region' directly in the
*Article* buffer, _and_ convert the *Article* buffer to use
`widget.el' for the buttons. Since w3 is also based on `widget.el',
this should give you close to the full potential of w3 inside the
*Article* buffer.
It is a non-trivial piece of work, though.
Fri Jul 11 21:12:07 1997 Per Abrahamsen <abraham@dina.kvl.dk>
* gnus-art.el (gnus-article-treat-html): Use `w3-region'.
cd ~/emacs/rgnus/lisp/
diff -c gnus-art.el~ gnus-art.el
*** gnus-art.el~ Sun Jul 6 17:24:04 1997
--- gnus-art.el Fri Jul 11 21:04:22 1997
***************
*** 1146,1153 ****
(insert-buffer-substring gnus-article-buffer b e)
(require 'url)
(save-window-excursion
! (w3-parse-buffer (current-buffer))
! (setq buf (buffer-string))))
(when buf
(delete-region (point-min) (point-max))
(insert buf))
--- 1146,1153 ----
(insert-buffer-substring gnus-article-buffer b e)
(require 'url)
(save-window-excursion
! (w3-region (point-min) (point-max))
! (setq buf (buffer-substring-no-properties (point-min) (point-max)))))
(when buf
(delete-region (point-min) (point-max))
(insert buf))
Compilation exited abnormally with code 1 at Fri Jul 11 21:15:57
next reply other threads:[~1997-07-11 19:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-11 19:21 Per Abrahamsen [this message]
1997-07-11 20:23 ` Hrvoje Niksic
1997-07-11 21:55 ` Per Abrahamsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rjd8op1jk8.fsf@zuse.dina.kvl.dk \
--to=abraham@dina.kvl.dk \
/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 NNTP newsgroup(s).