From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Engster Subject: Re: org-caldav: Sync Org with external calendars through CalDAV (Owncloud, Google, ...) Date: Mon, 03 Dec 2012 20:50:35 +0100 Message-ID: <87pq2qsyno.fsf@engster.org> References: <87r4senoly.fsf@engster.org> <87obmswfpm.fsf@altern.org> <87fw84b0pn.fsf@engster.org> <87obmrawpt.fsf@gnu.org> <873941i3lc.fsf@engster.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfc2P-0001QT-IT for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 14:50:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfc2O-0007T2-4D for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 14:50:45 -0500 Received: from randomsample.de ([83.169.19.17]:34741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfc2N-0007Rt-KO for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 14:50:43 -0500 In-Reply-To: (Stephen Eglen's message of "Mon, 3 Dec 2012 12:35:53 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephen Eglen Cc: emacs-orgmode@gnu.org Stephen Eglen writes: > David Engster randomsample.de> writes: >> Bastien writes: >> > David Engster randomsample.de> writes: >> >> That is very strange. It should first >> >> ask: "Username [for Google CalDAV]:". If it does not do that, maybe you >> >> have that information in your .authinfo? >> > >> > I have this: >> > >> > machine smtp.gmail.com login bastienguerry gmail.com password xxxxxx >> >> Since we're connecting to google.com this shouldn't matter, obviously, >> thus I'm at a loss why it doesn't ask. I currently cannot test anything >> reliably because I'm on vacation and there's no 3G around here, so I'm >> afraid this has to wait a bit. Unless "someone" beats me to it. > did either of you resolve this problem about org-caldav just asking for the > password, and not the username? I am now trying org-caldav, and am seeing the > same problem. Happy to debug further if you can tell me which functions to look > into. I'm at a loss why this happens, and I could not reproduce it with my account. This problem really has nothing to do with org-caldav, since it is delegating this part to the url package. As I've already written to Bastien, please try (url-retrieve-synchronously "https://www.google.com/calendar/dav/YOUR-CALENDAR-ID@group.calendar.google.com/events/") If this doesn't ask for your username, then there's your problem. Depending on the Emacs version you're using, you might want to set (setq auth-source-debug t) to see whether some .netrc file or similar is setting the username for you (look into the *Messages* buffer). -David