Hi Alan, I'm not the maintainer of org-mobile.el so unfortunately can't help too much with that, although I have done a decent amount of reading in that code I can't claim to understand all of it. If you do find bugs fixing them would be much appreciated as I would indirectly benefit :) sorry I can't be of more assistance, Sean On Thu, Feb 2, 2017 at 10:48 AM Alan Schmitt wrote: > Hello, > > On 2017-02-01 04:36, Sean Escriva writes: > > > This is actually the behavior defined by org-mobile.el in the function > org-mobile-push: > > http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org-mobile.el#n306 > > the actual file is created here: > http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org-mobile.el#n662 > > 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 > > -- > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.48, 2015-12: 401.85 >