* url-insert-file-contents
@ 1997-04-19 3:14 Lars Magne Ingebrigtsen
1997-04-22 14:54 ` url-insert-file-contents William M. Perry
0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-04-19 3:14 UTC (permalink / raw)
It seems that some people are experiencing problems with nnweb in
relation to `url-insert-file-contents' in some versions of url. nnweb
assumes that it returns nil when the file is retrieved successfully
and non-nil when not. Did this change in recent versions of url?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@ifi.uio.no * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: url-insert-file-contents
1997-04-19 3:14 url-insert-file-contents Lars Magne Ingebrigtsen
@ 1997-04-22 14:54 ` William M. Perry
1997-04-22 15:12 ` url-insert-file-contents Jan Vroonhof
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: William M. Perry @ 1997-04-22 14:54 UTC (permalink / raw)
Cc: ding
Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
> It seems that some people are experiencing problems with nnweb in
> relation to `url-insert-file-contents' in some versions of url. nnweb
> assumes that it returns nil when the file is retrieved successfully
> and non-nil when not. Did this change in recent versions of url?
url-insert-file-contents has not changed in ages. It has always
returned:
(kill-buffer url-working-buffer)
docs for kill-buffer say:
Value is t if the buffer is actually killed, nil if user says no.
-Bill P.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: url-insert-file-contents
1997-04-22 14:54 ` url-insert-file-contents William M. Perry
@ 1997-04-22 15:12 ` Jan Vroonhof
1997-04-22 16:20 ` url-insert-file-contents Tony Bennett
1997-04-24 12:05 ` url-insert-file-contents Lars Magne Ingebrigtsen
2 siblings, 0 replies; 6+ messages in thread
From: Jan Vroonhof @ 1997-04-22 15:12 UTC (permalink / raw)
wmperry@aventail.com (William M. Perry) writes:
> url-insert-file-contents has not changed in ages. It has always
> returned:
>
> (kill-buffer url-working-buffer)
>
> docs for kill-buffer say:
> Value is t if the buffer is actually killed, nil if user says no.
This is probably related to the gnuserv.el problem that aliasses
kill-buffer to server-kill-buffer which does not have the above
behaviour. It would not be that difficult to fix, but it probably
needs a rethink anyway. My be all the functionality should be in
kill-buffer-hook.
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: url-insert-file-contents
1997-04-22 14:54 ` url-insert-file-contents William M. Perry
1997-04-22 15:12 ` url-insert-file-contents Jan Vroonhof
@ 1997-04-22 16:20 ` Tony Bennett
1997-04-22 17:36 ` url-insert-file-contents William M. Perry
1997-04-24 12:05 ` url-insert-file-contents Lars Magne Ingebrigtsen
2 siblings, 1 reply; 6+ messages in thread
From: Tony Bennett @ 1997-04-22 16:20 UTC (permalink / raw)
William> url-insert-file-contents has not changed in ages. It has always
William> returned:
William> (kill-buffer url-working-buffer)
William> docs for kill-buffer say:
William> Value is t if the buffer is actually killed, nil if user says no.
My XEmacs 19.15 kill-buffer returns nil on success. But I just noticed
it has following note in docstring, so gnuserv is overriding at least
some its behavior:
NOTE: This function has been enhanced to allow for remote editing
in the following way:
...
--tony
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: url-insert-file-contents
1997-04-22 16:20 ` url-insert-file-contents Tony Bennett
@ 1997-04-22 17:36 ` William M. Perry
0 siblings, 0 replies; 6+ messages in thread
From: William M. Perry @ 1997-04-22 17:36 UTC (permalink / raw)
Cc: ding
Tony Bennett <tbennett@chapelhill.hp.com> writes:
> William> url-insert-file-contents has not changed in ages. It has always
> William> returned:
>
> William> (kill-buffer url-working-buffer)
>
> William> docs for kill-buffer say:
> William> Value is t if the buffer is actually killed, nil if user says no.
>
> My XEmacs 19.15 kill-buffer returns nil on success. But I just noticed
> it has following note in docstring, so gnuserv is overriding at least
> some its behavior:
>
> NOTE: This function has been enhanced to allow for remote editing
> in the following way:
>
> ...
The correc thing to do is not rely on the return value of
url-insert-file-contents. I did not intend for there to be any semantics
for its return value at all.
-Bill P.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: url-insert-file-contents
1997-04-22 14:54 ` url-insert-file-contents William M. Perry
1997-04-22 15:12 ` url-insert-file-contents Jan Vroonhof
1997-04-22 16:20 ` url-insert-file-contents Tony Bennett
@ 1997-04-24 12:05 ` Lars Magne Ingebrigtsen
2 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-04-24 12:05 UTC (permalink / raw)
wmperry@aventail.com (William M. Perry) writes:
> url-insert-file-contents has not changed in ages. It has always
> returned:
>
> (kill-buffer url-working-buffer)
Ok; I've now removed all dependencies of the return value from this
function from nnweb.
--
(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:[~1997-04-24 12:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-19 3:14 url-insert-file-contents Lars Magne Ingebrigtsen
1997-04-22 14:54 ` url-insert-file-contents William M. Perry
1997-04-22 15:12 ` url-insert-file-contents Jan Vroonhof
1997-04-22 16:20 ` url-insert-file-contents Tony Bennett
1997-04-22 17:36 ` url-insert-file-contents William M. Perry
1997-04-24 12:05 ` url-insert-file-contents 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).