emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-feed and http_proxy
Date: Fri, 9 Apr 2010 15:07:48 +0200	[thread overview]
Message-ID: <2D1EBD47-F459-4AF1-A0BA-6C88B10853D7@gmail.com> (raw)
In-Reply-To: <87pr28lrs4.fsf@gmail.com>


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

  reply	other threads:[~2010-04-09 13:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09 12:44 org-feed and http_proxy zwz
2010-04-09 13:07 ` Carsten Dominik [this message]
2010-04-09 14:43   ` zwz
2010-04-09 14:47     ` Carsten Dominik
2010-04-09 14:55     ` Nick Dokos
2010-04-09 16:01       ` Carsten Dominik
2010-04-09 13:29 ` Magnus Henoch
2010-04-09 14:41   ` zwz

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2D1EBD47-F459-4AF1-A0BA-6C88B10853D7@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhangweize@gmail.com \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).