all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [KSNetz@UseNet.ArcorNews.DE: url-http.el: calling the callback function for proxy connections]
@ 2007-01-12 19:06 Richard Stallman
  2007-01-14 23:23 ` Magnus Henoch
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2007-01-12 19:06 UTC (permalink / raw)


Magnus Henoch has not responded.  Can anyone else fix this?
Please ack.

------- Start of forwarded message -------
Date: Fri, 5 Jan 2007 10:49:36 +0100 (CET)
From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
To: emacs-devel@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: url-http.el: calling the callback function for proxy connections
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
	version=3.0.4

The function url-http-activate-callback calls the callback function
after completing the URL retrieval. If the connection had been through
a proxy, the variable url-current-object contains only the proxy
reference.

All callback functions that want to evaluate or display which URL had
been retrieved are not working properly when using the variable
url-current-object or the function url-view-url that also uses
url-current-object.

My proposal is to do

  (let ((url-current-object url-http-target-url))

around

  (apply url-callback-function url-callback-arguments)

within the function url-http-activate-callback as already done in the
function url-http-handle-cookies.

This would, for example, make HTTP-EQUIV redirects handled by the W3
package work even for proxy connections.

- -- 
Klaus Straubinger


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------

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

* Re: [KSNetz@UseNet.ArcorNews.DE: url-http.el: calling the callback function for proxy connections]
  2007-01-12 19:06 [KSNetz@UseNet.ArcorNews.DE: url-http.el: calling the callback function for proxy connections] Richard Stallman
@ 2007-01-14 23:23 ` Magnus Henoch
  0 siblings, 0 replies; 2+ messages in thread
From: Magnus Henoch @ 2007-01-14 23:23 UTC (permalink / raw)


Richard Stallman <rms@gnu.org> writes:

> Magnus Henoch has not responded.  Can anyone else fix this?
> Please ack.

Sorry about the delay... I just fixed this.

Magnus

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

end of thread, other threads:[~2007-01-14 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 19:06 [KSNetz@UseNet.ArcorNews.DE: url-http.el: calling the callback function for proxy connections] Richard Stallman
2007-01-14 23:23 ` Magnus Henoch

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.