From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-feed and http_proxy Date: Fri, 9 Apr 2010 15:07:48 +0200 Message-ID: <2D1EBD47-F459-4AF1-A0BA-6C88B10853D7@gmail.com> References: <87pr28lrs4.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0Dwt-0003ZH-Bt for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 09:08:39 -0400 Received: from [140.186.70.92] (port=53851 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0Dws-0003Yz-6Z for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 09:08:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0Dw7-0001cA-7r for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 09:07:52 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:58707) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0Dw7-0001c3-2u for emacs-orgmode@gnu.org; Fri, 09 Apr 2010 09:07:51 -0400 Received: by ewy6 with SMTP id 6so1009276ewy.32 for ; Fri, 09 Apr 2010 06:07:50 -0700 (PDT) In-Reply-To: <87pr28lrs4.fsf@gmail.com> 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: zwz Cc: emacs-orgmode@gnu.org 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'. > > 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