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,