Gnus development mailing list
 help / color / mirror / Atom feed
* More nnslashdot
@ 1999-11-07 23:34 Lars Magne Ingebrigtsen
  1999-11-08  0:04 ` William M. Perry
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-07 23:34 UTC (permalink / raw)


nnslashdot now delivers text/html and Gnus lets w3 worry about
formatting the articles.

And you can now actually put nnslashdot in your secondary server list.

Bye-bye Netscape.

Although I think I would like to follow the links in the articles with 
Netscape.  How does one say to w3 "follow this link by doing the
`browse-url' thing?"

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More nnslashdot
  1999-11-07 23:34 More nnslashdot Lars Magne Ingebrigtsen
@ 1999-11-08  0:04 ` William M. Perry
  1999-11-08  0:23   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: William M. Perry @ 1999-11-08  0:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> nnslashdot now delivers text/html and Gnus lets w3 worry about
> formatting the articles.
> 
> And you can now actually put nnslashdot in your secondary server list.
> 
> Bye-bye Netscape.
> 
> Although I think I would like to follow the links in the articles with 
> Netscape.  How does one say to w3 "follow this link by doing the
> `browse-url' thing?"

This might work, but i have no idea what other consequences it might have
when using Emacs/W3 normally.

-Bill P.


[-- Attachment #2: use-browse-url.patch --]
[-- Type: text/plain, Size: 1058 bytes --]

Index: w3-display.el
===================================================================
RCS file: /gd/gnu/cvsroot/w3/lisp/w3-display.el,v
retrieving revision 1.11
diff -c -w -r1.11 w3-display.el
*** w3-display.el	1999/04/08 12:14:45	1.11
--- w3-display.el	1999/06/28 01:43:21
***************
*** 544,555 ****
  	(error nil)))
      (case target
        ((_blank external)
!        (w3-fetch-other-frame href))
        (_top
         (delete-other-windows)
!        (w3-fetch href))
        (otherwise
!        (w3-fetch href target)))))
  
  (defun w3-balloon-help-callback (object &optional event)
    (let* ((widget (widget-at (extent-start-position object)))
--- 544,556 ----
  	(error nil)))
      (case target
        ((_blank external)
!        (browse-url href t))
        (_top
         (delete-other-windows)
!        (browse-url href))
        (otherwise
!        (let ((w3-base-target target))
! 	 (browse-url href))))))
  
  (defun w3-balloon-help-callback (object &optional event)
    (let* ((widget (widget-at (extent-start-position object)))

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More nnslashdot
  1999-11-08  0:04 ` William M. Perry
@ 1999-11-08  0:23   ` Lars Magne Ingebrigtsen
  1999-11-08  0:46     ` William M. Perry
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-08  0:23 UTC (permalink / raw)


wmperry@aventail.com (William M. Perry) writes:

> This might work, but i have no idea what other consequences it might have
> when using Emacs/W3 normally.

[...]

> !        (let ((w3-base-target target))
> ! 	 (browse-url href))))))

Uhm; that was a bit more drastic than I imagined.  :-)  What I would
like was when I hit, like, mouse-3, that I would get a menu that would 
let me feed the url to Netscape or something like that.  I still want
to be able to use w3 as a self-contained browser.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More nnslashdot
  1999-11-08  0:23   ` Lars Magne Ingebrigtsen
@ 1999-11-08  0:46     ` William M. Perry
  1999-11-08  1:09       ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: William M. Perry @ 1999-11-08  0:46 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> wmperry@aventail.com (William M. Perry) writes:
> 
> > This might work, but i have no idea what other consequences it might have
> > when using Emacs/W3 normally.
> 
> [...]
> 
> > !        (let ((w3-base-target target))
> > ! 	 (browse-url href))))))
> 
> Uhm; that was a bit more drastic than I imagined.  :-) What I would like
> was when I hit, like, mouse-3, that I would get a menu that would let me
> feed the url to Netscape or something like that.  I still want to be able
> to use w3 as a self-contained browser.

Oh, well, that'd be something completely different then. :)

(push '("Open link with browse-url" . browse-url) w3-hyperlink-menu)
(push '("Open image with browse-url" . browse-url) w3-graphlink-menu)

-Bill P.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More nnslashdot
  1999-11-08  0:46     ` William M. Perry
@ 1999-11-08  1:09       ` Lars Magne Ingebrigtsen
  1999-11-08  8:30         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-08  1:09 UTC (permalink / raw)


wmperry@aventail.com (William M. Perry) writes:

> Oh, well, that'd be something completely different then. :)
> 
> (push '("Open link with browse-url" . browse-url) w3-hyperlink-menu)
> (push '("Open image with browse-url" . browse-url) w3-graphlink-menu)

Hm.  But I get

button3 at that spot runs the command widget-button-click

which doesn't bring up a menu; it just fetches the page.  Perhaps the
local keymap over the widget doesn't include this?

Is my w3 too old?  "WWW 4.0pre.39, URL p4.0pre.39, MM 1.96".  

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More nnslashdot
  1999-11-08  1:09       ` Lars Magne Ingebrigtsen
@ 1999-11-08  8:30         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-11-08  8:30 UTC (permalink / raw)


(Erm -- I'm sure there is a w3 mailing list, which I should probably
join and stuff.  What's the address?)

w3 renders the output from nnslashdot really, really nicely -- except
that it renders <br><br> like it should be rendered -- a line break.
While what's probably intended by the slashdot html engine is <p>.
This makes some of the messages rather hard to read, since one can't
see where the paragraphs begin easily.

Is there a way to make w3 transmogrify a <br><br> into a <p>?  (Well,
I could just have nnslashdot do it, really, I guess...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-11-08  8:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-07 23:34 More nnslashdot Lars Magne Ingebrigtsen
1999-11-08  0:04 ` William M. Perry
1999-11-08  0:23   ` Lars Magne Ingebrigtsen
1999-11-08  0:46     ` William M. Perry
1999-11-08  1:09       ` Lars Magne Ingebrigtsen
1999-11-08  8:30         ` Lars Magne Ingebrigtsen

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).