From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: org-mobile-push breaks currently open org-agenda Date: Thu, 9 Mar 2017 09:28:12 -0800 Message-ID: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="58c190fd_41b71efb_ce7" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm1so-00044c-4J for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 12:29:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm1si-0003Jf-7a for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 12:29:46 -0500 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:36314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm1sh-0003Ij-VW for emacs-orgmode@gnu.org; Thu, 09 Mar 2017 12:29:40 -0500 Received: by mail-pg0-x230.google.com with SMTP id g2so11338402pge.3 for ; Thu, 09 Mar 2017 09:29:36 -0800 (PST) Received: from [10.0.1.3] (c-76-28-156-232.hsd1.wa.comcast.net. [76.28.156.232]) by smtp.gmail.com with ESMTPSA id i3sm13689018pfk.47.2017.03.09.09.29.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 09:29:34 -0800 (PST) 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: emacs-orgmode@gnu.org --58c190fd_41b71efb_ce7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline html --58c190fd_41b71efb_ce7 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi there,

I=E2=80=99m not sure if this is a bug or if there is some workaround= that I should be using, but it seems like whenever an org-mobile-push is= run it breaks any currently open org-agenda. Specifically, if I try to &= =23160; manipulate the org-agenda buffer via something like org-agenda-to= do, I get:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
&=23160; =23=5B(&optional arg) =22=5C306 =5C210i=5C307=5C310=5C3= 11 =5C=22=5C262=5C206=5C312 =5C313 =21=5C314 =21=1B=5C315=5C310=5C311 =5C= =22=5C262=5C316=5C317=5C310=5C311 =5C=22=5C262=21=5C320+=5C321=5C211=1B,=5C= 321=5C211-=5C212=5C211=5C203D=5C211b=5C210n=5C203L=5C322=5C202M=5C323=5C3= 24=5C322=60=5C=22=5C=5C)=5C262.p=5Cn/r=5Cnq=5C210/)=5C321=5C21101234567r=5C= nq=5C210=7E=5C210b=5C210=5C325=5C326=21=5C21089=5C327=5C330=21=5C210)n=5C= 203=5C221=5C322u=5C210=5C331 ,=5C332=5C333=21=5C203=5C263=1B=5C203=5C263=1B= ,=5C232=5C204=5C263
=5C203=5C263=1B,=5C320-=5C212=5C334 =5C210:=60=5C321=5C223=5C210*=5C= 335=5C322=21=5C210=5C336 ;=5C337=5C216=5C340,=5Cf=5C341-=24=5C210*=5C332=5C= 342=21=5C203=5C353=5C=22=5C203=5C353=5C343=5C344=5C345<=21P,=5C=22=5C2= 10=5C346 =5C210=5C347=21=5C210=5C350 =5C210=3D=5C205M=5C3513r5q=5C210/)=5C= =221=5C3512r4q=5C210/)=5C=2201=5C2040=5C205M1=5C203+r5q=5C210=5C352 =5C21= 0)0=5C2039r4q=5C210=5C352 =5C210)675140=5C257>B=5C211>.=5C207=22 =5B= col marker buffer pos hdmarker todayp org-agenda-check-no-diary org-marke= r get-text-property point-at-bol org-agenda-error marker-buffer marker-po= sition org-hd-marker org-agenda-today-p day t nil 1 0 count-lines org-sho= w-context agenda call-interactively org-todo org-get-heading boundp org-a= genda-headline-snapshot-before-repeat org-back-to-heading beginning-of-li= ne current-window-configuration =23=5Bnil =22=5C301=21=5C207=22 =5Bwconfi= g set-window-configuration=5D 2=5D org-agenda-change-all-lines fixface or= g-clock-out-when-done string-match =22=5E=22 regexp-opt org-agenda-unmark= -clocking-task org-move-to-column org-agenda-mark-clocking-task org-verif= y-change-for-undo undo-boundary inhibit-read-only newhead just-one this-c= ommand buffer-undo-list --c2 --c1 ...=5D 9 (=22/Users/aaronjensen/.emacs.= d/elpa/25.2/org-plus-contrib-20170210/org-agenda.elc=22 . 311296) =22P=22= =5D()
&=23160; apply(=23=5B(&optional arg) =22=5C306 =5C210i=5C307=5C3= 10=5C311 =5C=22=5C262=5C206=5C312 =5C313 =21=5C314 =21=1B=5C315=5C310=5C3= 11 =5C=22=5C262=5C316=5C317=5C310=5C311 =5C=22=5C262=21=5C320+=5C321=5C21= 1=1B,=5C321=5C211-=5C212=5C211=5C203D=5C211b=5C210n=5C203L=5C322=5C202M=5C= 323=5C324=5C322=60=5C=22=5C=5C)=5C262.p=5Cn/r=5Cnq=5C210/)=5C321=5C211012= 34567r=5Cnq=5C210=7E=5C210b=5C210=5C325=5C326=21=5C21089=5C327=5C330=21=5C= 210)n=5C203=5C221=5C322u=5C210=5C331 ,=5C332=5C333=21=5C203=5C263=1B=5C20= 3=5C263=1B,=5C232=5C204=5C263
=5C203=5C263=1B,=5C320-=5C212=5C334 =5C210:=60=5C321=5C223=5C210*=5C= 335=5C322=21=5C210=5C336 ;=5C337=5C216=5C340,=5Cf=5C341-=24=5C210*=5C332=5C= 342=21=5C203=5C353=5C=22=5C203=5C353=5C343=5C344=5C345<=21P,=5C=22=5C2= 10=5C346 =5C210=5C347=21=5C210=5C350 =5C210=3D=5C205M=5C3513r5q=5C210/)=5C= =221=5C3512r4q=5C210/)=5C=2201=5C2040=5C205M1=5C203+r5q=5C210=5C352 =5C21= 0)0=5C2039r4q=5C210=5C352 =5C210)675140=5C257>B=5C211>.=5C207=22 =5B= col marker buffer pos hdmarker todayp org-agenda-check-no-diary org-marke= r get-text-property point-at-bol org-agenda-error marker-buffer marker-po= sition org-hd-marker org-agenda-today-p day t nil 1 0 count-lines org-sho= w-context agenda call-interactively org-todo org-get-heading boundp org-a= genda-headline-snapshot-before-repeat org-back-to-heading beginning-of-li= ne current-window-configuration =23=5Bnil =22=5C301=21=5C207=22 =5Bwconfi= g set-window-configuration=5D 2=5D org-agenda-change-all-lines fixface or= g-clock-out-when-done string-match =22=5E=22 regexp-opt org-agenda-unmark= -clocking-task org-move-to-column org-agenda-mark-clocking-task org-verif= y-change-for-undo undo-boundary inhibit-read-only newhead just-one this-c= ommand buffer-undo-list --c2 --c1 ...=5D 9 (=22/Users/aaronjensen/.emacs.= d/elpa/25.2/org-plus-contrib-20170210/org-agenda.elc=22 . 311296) =22P=22= =5D nil)
&=23160; org-agenda-todo()
&=23160; funcall-interactively(org-agenda-todo)
&=23160; call-interactively(org-agenda-todo nil nil)
&=23160; command-execute(org-agenda-todo)

Is there something I can do differently=3F I like to keep an agenda = open in a perspective and run org-mobile-push after any org change=E2=80=A6= this combination doesn=E2=80=99t work when org-agenda is constantly brok= en.

Thanks=21


Aaron
--58c190fd_41b71efb_ce7-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-mobile-push breaks currently open org-agenda Date: Fri, 10 Mar 2017 17:20:06 +0100 Message-ID: <87zigt9k95.fsf@nicolasgoaziou.fr> References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmNH9-0002wx-1y for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:20:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmNH5-0000PY-SL for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:20:19 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42198) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmNH5-0000OP-MG for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:20:15 -0500 In-Reply-To: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> (Aaron Jensen's message of "Thu, 9 Mar 2017 09:28:12 -0800") 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: Aaron Jensen Cc: emacs-orgmode@gnu.org Hello, Could you use Org uncompiled (C-u M-x org-reload)? your backtrace is hardly usable. Also, would you mind sending your message as plain test? It seems to be HTML-only. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: Re: org-mobile-push breaks currently open org-agenda Date: Fri, 10 Mar 2017 08:42:45 -0800 Message-ID: <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> <87zigt9k95.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_7DF02E71-C50A-4538-818C-CDDAC648E201"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmNcy-0002t7-5t for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:42:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmNcv-0003gW-0v for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:42:52 -0500 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:36667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmNcu-0003fo-Od for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 11:42:48 -0500 Received: by mail-pf0-x22e.google.com with SMTP id o126so43781867pfb.3 for ; Fri, 10 Mar 2017 08:42:48 -0800 (PST) In-Reply-To: <87zigt9k95.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --Apple-Mail=_7DF02E71-C50A-4538-818C-CDDAC648E201 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, > On Mar 10, 2017, at 8:20 AM, Nicolas Goaziou = wrote: >=20 > Hello, >=20 > Could you use Org uncompiled (C-u M-x org-reload)? your backtrace is > hardly usable. Thank you for the tip. Here is the trace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) set-buffer(nil) (save-current-buffer (set-buffer buffer) buffer-undo-list) (let ((--cline (org-current-line)) (--cmd this-command) (--buf1 = (current-buffer)) (--buf2 buffer) (--undo1 buffer-undo-list) (--undo2 = (save-current-buffer (set-buffer buffer) buffer-undo-list)) --c1 --c2) = (save-current-buffer (set-buffer buffer) (widen) (goto-char pos) = (org-show-context (quote agenda)) (let ((current-prefix-arg arg)) = (call-interactively (quote org-todo))) (and (bolp) (forward-char 1)) = (setq newhead (org-get-heading)) (if (and (and (boundp (quote = org-agenda-headline-snapshot-before-repeat)) = org-agenda-headline-snapshot-before-repeat) (not (equal = org-agenda-headline-snapshot-before-repeat newhead)) todayp) (progn = (setq newhead org-agenda-headline-snapshot-before-repeat just-one t))) = (save-excursion (org-back-to-heading) (move-marker = org-last-heading-marker (point)))) (beginning-of-line 1) (let ((wconfig = (current-window-configuration))) (unwind-protect (progn = (org-agenda-change-all-lines newhead hdmarker (quote fixface) just-one)) = (set-window-configuration wconfig))) (if (and (boundp (quote = org-clock-out-when-done)) org-clock-out-when-done) (progn (string-match = (concat "^" (regexp-opt org-done-keywords-for-agenda)) newhead) = (org-agenda-unmark-clocking-task))) (org-move-to-column col) = (org-agenda-mark-clocking-task) (if org-agenda-allow-remote-undo (progn = (setq --c1 (org-verify-change-for-undo --undo1 (save-current-buffer = (set-buffer --buf1) buffer-undo-list)) --c2 (org-verify-change-for-undo = --undo2 (save-current-buffer (set-buffer --buf2) buffer-undo-list))) (if = (or --c1 --c2) (progn (and --c1 (save-current-buffer (set-buffer --buf1) = (undo-boundary))) (and --c2 (save-current-buffer (set-buffer --buf2) = (undo-boundary))) (setq org-agenda-undo-list (cons (list --cmd --cline = --buf1 --c1 --buf2 --c2) org-agenda-undo-list))))))) (let* ((col (current-column)) (marker (or (org-get-at-bol (quote = org-marker)) (org-agenda-error))) (buffer (marker-buffer marker)) (pos = (marker-position marker)) (hdmarker (org-get-at-bol (quote = org-hd-marker))) (todayp (org-agenda-today-p (org-get-at-bol (quote = day)))) (inhibit-read-only t) org-agenda-headline-snapshot-before-repeat = newhead just-one) (let ((--cline (org-current-line)) (--cmd = this-command) (--buf1 (current-buffer)) (--buf2 buffer) (--undo1 = buffer-undo-list) (--undo2 (save-current-buffer (set-buffer buffer) = buffer-undo-list)) --c1 --c2) (save-current-buffer (set-buffer buffer) = (widen) (goto-char pos) (org-show-context (quote agenda)) (let = ((current-prefix-arg arg)) (call-interactively (quote org-todo))) (and = (bolp) (forward-char 1)) (setq newhead (org-get-heading)) (if (and (and = (boundp (quote org-agenda-headline-snapshot-before-repeat)) = org-agenda-headline-snapshot-before-repeat) (not (equal = org-agenda-headline-snapshot-before-repeat newhead)) todayp) (progn = (setq newhead org-agenda-headline-snapshot-before-repeat just-one t))) = (save-excursion (org-back-to-heading) (move-marker = org-last-heading-marker (point)))) (beginning-of-line 1) (let ((wconfig = (current-window-configuration))) (unwind-protect (progn = (org-agenda-change-all-lines newhead hdmarker (quote fixface) just-one)) = (set-window-configuration wconfig))) (if (and (boundp (quote = org-clock-out-when-done)) org-clock-out-when-done) (progn (string-match = (concat "^" (regexp-opt org-done-keywords-for-agenda)) newhead) = (org-agenda-unmark-clocking-task))) (org-move-to-column col) = (org-agenda-mark-clocking-task) (if org-agenda-allow-remote-undo (progn = (setq --c1 (org-verify-change-for-undo --undo1 (save-current-buffer = (set-buffer --buf1) buffer-undo-list)) --c2 (org-verify-change-for-undo = --undo2 (save-current-buffer (set-buffer --buf2) buffer-undo-list))) (if = (or --c1 --c2) (progn (and --c1 (save-current-buffer ... ...)) (and --c2 = (save-current-buffer ... ...)) (setq org-agenda-undo-list (cons ... = org-agenda-undo-list)))))))) (lambda (&optional arg) "Cycle TODO state of line at point, also in = Org file.\nThis changes the line at point, all other lines in the agenda = referring to\nthe same tree node, and the headline of the tree node in = the Org file." (interactive "P") (org-agenda-check-no-diary) (let* ((col = (current-column)) (marker (or (org-get-at-bol (quote org-marker)) = (org-agenda-error))) (buffer (marker-buffer marker)) (pos = (marker-position marker)) (hdmarker (org-get-at-bol (quote = org-hd-marker))) (todayp (org-agenda-today-p (org-get-at-bol (quote = day)))) (inhibit-read-only t) org-agenda-headline-snapshot-before-repeat = newhead just-one) (let ((--cline (org-current-line)) (--cmd = this-command) (--buf1 (current-buffer)) (--buf2 buffer) (--undo1 = buffer-undo-list) (--undo2 (save-current-buffer (set-buffer buffer) = buffer-undo-list)) --c1 --c2) (save-current-buffer (set-buffer buffer) = (widen) (goto-char pos) (org-show-context (quote agenda)) (let = ((current-prefix-arg arg)) (call-interactively (quote org-todo))) (and = (bolp) (forward-char 1)) (setq newhead (org-get-heading)) (if (and (and = (boundp ...) org-agenda-headline-snapshot-before-repeat) (not (equal = org-agenda-headline-snapshot-before-repeat newhead)) todayp) (progn = (setq newhead org-agenda-headline-snapshot-before-repeat just-one t))) = (save-excursion (org-back-to-heading) (move-marker = org-last-heading-marker (point)))) (beginning-of-line 1) (let ((wconfig = (current-window-configuration))) (unwind-protect (progn = (org-agenda-change-all-lines newhead hdmarker (quote fixface) just-one)) = (set-window-configuration wconfig))) (if (and (boundp (quote = org-clock-out-when-done)) org-clock-out-when-done) (progn (string-match = (concat "^" (regexp-opt org-done-keywords-for-agenda)) newhead) = (org-agenda-unmark-clocking-task))) (org-move-to-column col) = (org-agenda-mark-clocking-task) (if org-agenda-allow-remote-undo (progn = (setq --c1 (org-verify-change-for-undo --undo1 (save-current-buffer ... = buffer-undo-list)) --c2 (org-verify-change-for-undo --undo2 = (save-current-buffer ... buffer-undo-list))) (if (or --c1 --c2) (progn = (and --c1 ...) (and --c2 ...) (setq org-agenda-undo-list ...))))))))() apply((lambda (&optional arg) "Cycle TODO state of line at point, also = in Org file.\nThis changes the line at point, all other lines in the = agenda referring to\nthe same tree node, and the headline of the tree = node in the Org file." (interactive "P") (org-agenda-check-no-diary) = (let* ((col (current-column)) (marker (or (org-get-at-bol (quote = org-marker)) (org-agenda-error))) (buffer (marker-buffer marker)) (pos = (marker-position marker)) (hdmarker (org-get-at-bol (quote = org-hd-marker))) (todayp (org-agenda-today-p (org-get-at-bol (quote = day)))) (inhibit-read-only t) org-agenda-headline-snapshot-before-repeat = newhead just-one) (let ((--cline (org-current-line)) (--cmd = this-command) (--buf1 (current-buffer)) (--buf2 buffer) (--undo1 = buffer-undo-list) (--undo2 (save-current-buffer (set-buffer buffer) = buffer-undo-list)) --c1 --c2) (save-current-buffer (set-buffer buffer) = (widen) (goto-char pos) (org-show-context (quote agenda)) (let = ((current-prefix-arg arg)) (call-interactively (quote org-todo))) (and = (bolp) (forward-char 1)) (setq newhead (org-get-heading)) (if (and (and = (boundp ...) org-agenda-headline-snapshot-before-repeat) (not (equal = org-agenda-headline-snapshot-before-repeat newhead)) todayp) (progn = (setq newhead org-agenda-headline-snapshot-before-repeat just-one t))) = (save-excursion (org-back-to-heading) (move-marker = org-last-heading-marker (point)))) (beginning-of-line 1) (let ((wconfig = (current-window-configuration))) (unwind-protect (progn = (org-agenda-change-all-lines newhead hdmarker (quote fixface) just-one)) = (set-window-configuration wconfig))) (if (and (boundp (quote = org-clock-out-when-done)) org-clock-out-when-done) (progn (string-match = (concat "^" (regexp-opt org-done-keywords-for-agenda)) newhead) = (org-agenda-unmark-clocking-task))) (org-move-to-column col) = (org-agenda-mark-clocking-task) (if org-agenda-allow-remote-undo (progn = (setq --c1 (org-verify-change-for-undo --undo1 (save-current-buffer ... = buffer-undo-list)) --c2 (org-verify-change-for-undo --undo2 = (save-current-buffer ... buffer-undo-list))) (if (or --c1 --c2) (progn = (and --c1 ...) (and --c2 ...) (setq org-agenda-undo-list ...)))))))) = nil) org-agenda-todo() funcall-interactively(org-agenda-todo) call-interactively(org-agenda-todo nil nil) command-execute(org-agenda-todo) >=20 > Also, would you mind sending your message as plain test? It seems to = be > HTML-only. Supposedly this email is plain text, please let me know if that is not = the case. I did not realize that my email client sent HTML only. Thanks, Aaron --Apple-Mail=_7DF02E71-C50A-4538-818C-CDDAC648E201 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJYwteFAAoJEDlc+acZtnJMoNwP/1hX7+b8SGoSKml7XVIOflZN ZZYInNhih3SnenAWXiRFnxqBNZxIZfkkI24LVepHZWq1yVlXwvzL0CXVNeraUmjy X/0vk5NVISxlG0++HSKdGRFrZkSsjr8AmyNi6H1Dh43VkfVj4Uf8Kt7gvFJkhf5s S9vcZGoEH3SIJYuqfypRpxsPCJoRSNDrHegmIrNhNe6qGj9jSnryWmpQhu9XQT9C 897b056DodgOLyElnjPZisI+Ia5EK875QDgbPrfJ1hmtkNdY4/GXrUfInE45Gn/k acsh6Oaz4EyAddnhM3tN+Z4MTcSOMIY3g/FJKLecNvbxRsfehCc1mtZkwvarm630 XHVUmhzB4g1SlF0OPJibEZuCljh0vvBHB2f1PZAUuxbPHV5jV1pkLRBbDGcP0jHI Q5T3Bnr9F2XKnLl+McOKJ48twbEqhuwSoonJX5enbsDINkUcjvl6qjTzTw55Ec63 VbacHpeeapLDMKCPlX52/AlM3RGNv/QioSgVkiK3pJNeANqSb00HXD+RJZOPjzH1 LWOerLCJIFWcas8JFNCcHh6SmIVg4zSQAohTuqZaVPgkQrPVfpi23K+FIc1RcZCx i1L/KEZG4GiN7dpviiY32G/w91SGO1nV1DP183oJWpTU479NZmhdUXsyGun6vtFf W/ksPs09aL99wFAe8+Ak =NamB -----END PGP SIGNATURE----- --Apple-Mail=_7DF02E71-C50A-4538-818C-CDDAC648E201-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-mobile-push breaks currently open org-agenda Date: Fri, 10 Mar 2017 18:28:17 +0100 Message-ID: <87bmt99h3i.fsf@nicolasgoaziou.fr> References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> <87zigt9k95.fsf@nicolasgoaziou.fr> <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmOL1-0004ov-MC for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 12:28:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmOKy-00042a-Gf for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 12:28:23 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52221) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmOKy-00042I-9b for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 12:28:20 -0500 In-Reply-To: <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> (Aaron Jensen's message of "Fri, 10 Mar 2017 08:42:45 -0800") 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: Aaron Jensen Cc: emacs-orgmode@gnu.org Aaron Jensen writes: > Thank you for the tip. Here is the trace: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > set-buffer(nil) > (save-current-buffer (set-buffer buffer) buffer-undo-list) > (let ((--cline (org-current-line)) (--cmd this-command) (--buf1 > (current-buffer)) (--buf2 buffer) (--undo1 buffer-undo-list) (--undo2 > (save-current-buffer (set-buffer buffer) buffer-undo-list)) --c1 --c2) > (save-current-buffer (set-buffer buffer) (widen) (goto-char pos) > (org-show-context (quote agenda)) (let ((current-prefix-arg arg)) > (call-interactively (quote org-todo))) (and (bolp) (forward-char 1)) > (setq newhead (org-get-heading)) (if (and (and (boundp (quote > org-agenda-headline-snapshot-before-repeat)) It seems that the buffer containing the headline you're calling `org-todo' on doesn't exist anymore. ATM, I am not sure how it happens since the headline was extracted from some document. Could you try evaluating M-: (org-get-at-bol 'org-marker) on a problematic line and report back the problem? Better, do you have any ECM for the problem? Regards, From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: Re: org-mobile-push breaks currently open org-agenda Date: Sat, 11 Mar 2017 07:53:08 -0800 Message-ID: References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> <87zigt9k95.fsf@nicolasgoaziou.fr> <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> <87bmt99h3i.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmjKS-0005Jv-B0 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:53:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmjKR-0004qA-HF for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:53:12 -0500 Received: from mail-ua0-x235.google.com ([2607:f8b0:400c:c08::235]:36552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmjKR-0004ph-Da for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:53:11 -0500 Received: by mail-ua0-x235.google.com with SMTP id 72so134654202uaf.3 for ; Sat, 11 Mar 2017 07:53:09 -0800 (PST) In-Reply-To: <87bmt99h3i.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On Fri, Mar 10, 2017 at 9:28 AM, Nicolas Goaziou wrote: > ATM, I am not sure how it happens since the headline was extracted from > some document. Could you try evaluating > > M-: (org-get-at-bol 'org-marker) > > on a problematic line and report back the problem? I just get this: # > Better, do you have any ECM for the problem? Here is an ECM: https://github.com/aaronjensen/org-mobile-push-breaks-org-agenda-ecm $ mv ~/.emacs.d ~/.emacs.d.old $ git clone git@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git ~/.emacs.d.old $ emacs In emacs: 1. M-x org-agenda a 2. M-x org-mobile-push 3. C-n to TODO and hit t to mark as done This works fine with the built-in version of emacs, so this appears to be either a regression or a contrib issue. Thanks, Aaron From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: Re: org-mobile-push breaks currently open org-agenda Date: Sat, 11 Mar 2017 07:54:40 -0800 Message-ID: References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> <87zigt9k95.fsf@nicolasgoaziou.fr> <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> <87bmt99h3i.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmjLv-0005w4-A4 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:54:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmjLu-0005L2-Jz for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:54:43 -0500 Received: from mail-vk0-x22c.google.com ([2607:f8b0:400c:c05::22c]:33770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmjLu-0005Kt-Ff for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 10:54:42 -0500 Received: by mail-vk0-x22c.google.com with SMTP id d188so19500600vka.0 for ; Sat, 11 Mar 2017 07:54:42 -0800 (PST) In-Reply-To: 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On Sat, Mar 11, 2017 at 7:53 AM, Aaron Jensen wrote: > $ git clone git@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git > ~/.emacs.d.old Sorry, this line was wrong, it should clone to ~/.emacs.d: $ git clone git@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git ~/.emacs.d From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Jensen Subject: Re: org-mobile-push breaks currently open org-agenda Date: Sat, 11 Mar 2017 13:07:49 -0800 Message-ID: References: <91e06e9a-f1bf-4cb6-91fa-36421b2a7671@Spark> <87zigt9k95.fsf@nicolasgoaziou.fr> <3518F685-24D7-46FE-A402-B73D5E3DC144@gmail.com> <87bmt99h3i.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmoEx-0001QG-NO for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 16:07:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmoEw-0007N8-PC for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 16:07:51 -0500 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:36391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmoEw-0007N4-Kt for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 16:07:50 -0500 Received: by mail-vk0-x22b.google.com with SMTP id t8so21210373vke.3 for ; Sat, 11 Mar 2017 13:07:50 -0800 (PST) In-Reply-To: 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org FYI, I bisected and this is the first bad commit: bed17f1bb505dd6ecf80b44bf1ef267d45efb206 is the first bad commit commit bed17f1bb505dd6ecf80b44bf1ef267d45efb206 Author: Nicolas Goaziou Date: Sat Jan 14 16:12:43 2017 +0100 org-mobile: Fix `org-mobile-push' with stick agendas * lisp/org-mobile.el (org-mobile-push): Do not move back to non-sticky agendas once called. Reported-by: Ian Dunn :040000 040000 b51c5ae0d7d85ce3db8be72b495ba083f9104abd 3e1fb05b932e22cd0897baa94a8fb3073abe6a49 M lisp On Sat, Mar 11, 2017 at 7:54 AM, Aaron Jensen wrote: > On Sat, Mar 11, 2017 at 7:53 AM, Aaron Jensen wrote: >> $ git clone git@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git >> ~/.emacs.d.old > > Sorry, this line was wrong, it should clone to ~/.emacs.d: > > $ git clone git@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git > ~/.emacs.d