From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Yak-shaving from org-caldav to url-dav.el Date: Mon, 30 Jun 2014 19:15:10 +0200 Message-ID: <87zjgub9pd.fsf@engster.org> References: <87r426bpq7.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404148559 1295 80.91.229.3 (30 Jun 2014 17:15:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2014 17:15:59 +0000 (UTC) Cc: emacs-devel To: Alexis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 30 19:15:53 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X1fBA-0001vo-J4 for ged-emacs-devel@m.gmane.org; Mon, 30 Jun 2014 19:15:44 +0200 Original-Received: from localhost ([::1]:35786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1fB9-0003Wa-QV for ged-emacs-devel@m.gmane.org; Mon, 30 Jun 2014 13:15:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1fAw-0003WE-Qw for emacs-devel@gnu.org; Mon, 30 Jun 2014 13:15:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1fAq-000535-9t for emacs-devel@gnu.org; Mon, 30 Jun 2014 13:15:30 -0400 Original-Received: from randomsample.de ([5.45.97.173]:33055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1fAq-0004ze-1O for emacs-devel@gnu.org; Mon, 30 Jun 2014 13:15:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=kDZ32kuFoUqqRJsnBQJfuqmLJ3MyjKVs1OVzwJVX554=; b=uoHIEB+AA+qK8ai8TH/aFcwIlOcUSP2TAxd2SilwaaFGiQRVPAARVI4kCEtxeb18qwzyiTeTVKPJ1ClIsJ3QV/GhhfCggFsLIcU9TbkzvJyw5wOlVdfpKYbUqSJLM40S; Original-Received: from dslc-082-083-038-214.pools.arcor-ip.net ([82.83.38.214] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1X1fAj-00028z-1b; Mon, 30 Jun 2014 19:15:17 +0200 In-Reply-To: <87r426bpq7.fsf@gmail.com> (Alexis's message of "Mon, 30 Jun 2014 21:27:17 +1000") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) Mail-Followup-To: Alexis , emacs-devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172829 Archived-At: Alexis writes: > (1) Calling the `org-caldav-sync` command results in failure: > >> Got error status from PROPFIND: >> (("[calendar URL]" DAV:status 207 . " ")) I've added 207 as a valid PROPFIND result, so this should be fixed, but will probably fail later on (I never tested it with DAViCal). > One critical bit of code included in this version, but not in the > 24.3.92 version of `url-dav.el`, are lines 420-423: > > ;; This package was initially written for a different kind of > ;; QNAMES expansion, hence we have now to rewrite those so that > ;; for example ("DAV:" . "foo") becomes the symbol 'DAV:foo. > (url-dav-changexml (car tree)) That part was deemed to hackish and fixed in another way. > Without this, HTTP 207 ("Multi-Status") responses from the CalDAV > server aren't processed correctly, resulting in the "error status from > PROPFIND" failure. That's weird, since nothing but HTTP 200 should have been accepted. > (2) So, let's "(load)" the randomsample version of `url-dav.el`. Doing > so results in a new failure: You cannot use that hacked url-dav together with newer Emacsen. Please try the latest org-caldav version and let me know how it works (on GitHub please, since this doesn't affect Emacs development). -David