From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Update for MobileOrg iOS v1.7 released Date: Thu, 02 Feb 2017 11:43:31 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZJcK-0007j0-QC for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 10:48:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZJcG-0005JV-RU for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 10:48:12 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:19223) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZJcG-0005DM-60 for emacs-orgmode@gnu.org; Thu, 02 Feb 2017 10:48:08 -0500 In-Reply-To: (Sean Escriva's message of "Wed, 01 Feb 2017 04:36:05 +0000") 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" To: Sean Escriva Cc: org-mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On 2017-02-01 04:36, Sean Escriva writes: > This is actually the behavior defined by org-mobile.el in the function or= g-mobile-push: > http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org-mobile.el#n306=20 > the actual file is created here: http://orgmode.org/cgit.cgi/org-mode.git= /tree/lisp/org-mobile.el#n662=20 I'm trying to understand how the code works, and I'm confused. In `org-mobile-sumo-agenda-command', if I have `org-mobile-agendas' set to nil, I should have `thelist' set to nil also. Then the beginning of the while loop has `e' equal to nil, which seems wrong (the while loop should not run at all), and the default case is used with e being nil. Is this a bug? Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82, Mauna Loa Obs. 2016-12: 404.48, 2015-12: = 401.85 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYkw1UAAoJEAQNCjtO0uXHOGoH/AxflBBCNEDeWQoMjsR0MoA0 H/1GzdO1V+Ecd/DMiYlgLEidaHgyh0L1/XnF/ieeo3FCKMIGvM92KyQe9ejaa4kF RV9+Ebu0lgqc3QQjhmRokCeKh/zuXnfsvuq2n/iBZtzj4qgzlr9OwmF8pr14EKC3 IMI6FPpd3pUtJTizYPBclra7X913Jp/QwhOJyM+eZNkevTpV3RZMuSpgDStWRZtu 31JNLXup0tzPAxw00itbl7TGR9DqWnNOe5xeC6S5hztz/JoP+jEKREvgi6sYLXKe yCJTK1j9WcRbWXBflzhx5Exuqjb4u4JSSaGoIyC+vSx+do5o6uKAKWALa0Xhb4c= =Q7QQ -----END PGP SIGNATURE----- --=-=-=--