all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [disumu@x3y2z1.net: URL not following some 302 redirects after recent changes]
Date: Mon, 25 Dec 2006 21:25:36 -0500	[thread overview]
Message-ID: <E1Gz20W-0003co-B2@fencepost.gnu.org> (raw)
In-Reply-To: <87tzzksp8l.fsf@freemail.hu> (message from Magnus Henoch on Mon,  25 Dec 2006 03:06:50 +0100)

      The problem is
    that url-http-async-sentinel tries to change the sentinel, which fails
    since the sentinel of a process is "bound" to nil during sentinel
    execution (which I had forgotten when I wrote this function in the
    first place).

The technique of changing the sentinel from within the sentinel seems
somewhat kludgy.  So here is another idea.

url-http-async-sentinel could instead set a flag, so that when it is
called again and sees that flag set, it will call
url-http-end-of-document-sentinel.

Would that work?

      parent reply	other threads:[~2006-12-26  2:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-25  0:43 [disumu@x3y2z1.net: URL not following some 302 redirects after recent changes] Richard Stallman
2006-12-25  2:06 ` Magnus Henoch
2006-12-25 23:30   ` Stefan Monnier
2006-12-26  2:25   ` Richard Stallman [this message]

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=E1Gz20W-0003co-B2@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
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.