From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: Re: org-feed and http_proxy Date: Fri, 09 Apr 2010 22:43:57 +0800 Message-ID: <87hbnklm8i.fsf@gmail.com> References: <87pr28lrs4.fsf@gmail.com> <2D1EBD47-F459-4AF1-A0BA-6C88B10853D7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0FSF-0001HD-GH for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 10:45:07 -0400 Received: from [140.186.70.92] (port=57724 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0FSD-0001Gx-TQ for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 10:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0FSC-00025x-Ji for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 10:45:05 -0400 Received: from lo.gmane.org ([80.91.229.12]:49025) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0FSC-00025b-9H for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 10:45:04 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O0FSB-000579-6S for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 16:45:03 +0200 Received: from 61.164.42.188 ([61.164.42.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 16:45:03 +0200 Received: from zhangweize by 61.164.42.188 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Apr 2010 16:45:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > On Apr 9, 2010, at 2:44 PM, zwz wrote: > >> Now and then I have to set http_proxy for internet access. >> >> I do it in emacs, e.g. by >> (setenv "http_proxy" "http://10.10.10.10:808") >> >> Ok, now org-feed will use this proxy and works great. >> >> Later, I find the proxy is down, so I switch to another proxy >> (setenv "http_proxy" "http://10.10.10.20:808") >> >> and then M-x org-feed-update-all, >> the message shows that org-feed is still using the old proxy >> "http://10.10.10.10:808" >> >> I don't know if it is related to org-feed, hope someone has the answer. > > Org-mode is using url-retrieve-synchonously, so this must be a cacheing > issue in the url package. > > One thing you might try is to use curl or wget instead - see the variable > `org-feed-retrieve-method'. > I do not know there is such a variable is it introduced in 6.35? I will try out the latest version. Thanks! >> >> By the way, I can not get the feeds from codeproject. >> My setting: >> ("codeproject" >> "http://www.codeproject.com/webservices/articlerss.aspx?cat=2" >> "~/.org/feeds.org" "C++ on CodeProject" >> :parse-feed org-feed-parse-atom-feed :parse-entry org-feed- >> parse-atom-entry) > > This is an atom feed, and I did not write that part. magnus.henoch@gmail.com > did, maybe ask him? > > - Carsten > >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > - Carsten > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode