From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Can't remove deadline or schedule in bulk mode Date: Fri, 11 Aug 2017 10:19:51 -0500 Message-ID: <87inhuxhbc.fsf@alphapapa.net> References: <87zib7mwf6.fsf@free.fr> <87o9rnx7ho.fsf@alphapapa.net> <874ltep9sz.fsf@free.fr> <87lgmqp3r8.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgBjJ-00020z-Kc for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 11:20:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgBjF-000508-KX for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 11:20:05 -0400 Received: from [195.159.176.226] (port=58992 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgBjF-0004za-Bt for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 11:20:01 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dgBj6-0000RL-Sr for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 17:19:52 +0200 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 Kyle Meyer writes: > Since you have the git repo set up and have a good/bad range, you can use > git bisect to find the offending commit. > > Based on changes that touched org-agenda-bulk-action recently, my guess > is 4f578a3f7 (org-agenda: Small refactoring, 2017-05-12). Quickly > looking at that patch (and not testing), I think ?d's > > `(lambda () > (let ((org-log-redeadline (and org-log-redeadline 'time))) > (org-agenda-deadline arg ,time))) > > should s/arg/',arg/. > > The code for ?s is similar, so I'd guess you'd hit the same error when > running C-u B s. I'm not sure. I thought so too, at first, but here's the working code from 9.0.5: #+BEGIN_SRC elisp (setq cmd `(eval '(let ((org-log-reschedule (and org-log-reschedule 'time))) (,c1 arg ,time)))) +#END_SRC "arg" is not unquoted there. Also, a very silly test, but in my current Org 9.0.5 configuration, I evaled the org-agenda-bulk-action function from master, with the code you quoted, and it works.