* Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93.
@ 1997-07-11 19:21 Per Abrahamsen
1997-07-11 20:23 ` Hrvoje Niksic
0 siblings, 1 reply; 3+ messages in thread
From: Per Abrahamsen @ 1997-07-11 19:21 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93.
1997-07-11 19:21 Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93 Per Abrahamsen
@ 1997-07-11 20:23 ` Hrvoje Niksic
1997-07-11 21:55 ` Per Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Hrvoje Niksic @ 1997-07-11 20:23 UTC (permalink / raw)
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> 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.
I advise against this, because `widget' is still not fast enough to
handle article buffers efficiently (especially the larger ones).
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93.
1997-07-11 20:23 ` Hrvoje Niksic
@ 1997-07-11 21:55 ` Per Abrahamsen
0 siblings, 0 replies; 3+ messages in thread
From: Per Abrahamsen @ 1997-07-11 21:55 UTC (permalink / raw)
Cc: ding
Hrvoje Niksic <hniksic@srce.hr> writes:
> I advise against this, because `widget' is still not fast enough to
> handle article buffers efficiently (especially the larger ones).
I don't believe there are any performance problems with
`widget-convert-button', which is all Gnus would need.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-07-11 21:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-11 19:21 Patch for html (`W h') with Gnus 5.4.62 and W3 3.0.93 Per Abrahamsen
1997-07-11 20:23 ` Hrvoje Niksic
1997-07-11 21:55 ` Per Abrahamsen
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).