From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Can't remove deadline or schedule in bulk mode Date: Fri, 11 Aug 2017 10:39:55 -0400 Message-ID: <87lgmqp3r8.fsf@kyleam.com> References: <87zib7mwf6.fsf@free.fr> <87o9rnx7ho.fsf@alphapapa.net> <874ltep9sz.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgB6Y-0006CY-2O for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 10:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgB6U-0000gI-NA for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 10:40:02 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:50866 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgB6U-0000fs-HJ for emacs-orgmode@gnu.org; Fri, 11 Aug 2017 10:39:58 -0400 In-Reply-To: <874ltep9sz.fsf@free.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: Julien Cubizolles , emacs-orgmode@gnu.org Cc: Nicolas Goaziou Julien Cubizolles writes: > Adam Porter writes: > >> Julien Cubizolles writes: >> >>> In an agenda buffer, C-u B d should clear the deadline of the entries >>> marked the way C-u does on a single entry. I think it's what it used to >>> do some time ago. Instead, I get: >>> >>> org-agenda-deadline: Invalid function: 4 >> >> FWIW, works for me on Org 9.0.5. > > Indeed, works for me on Org mode version 9.0.9 (release_9.0.9 @ /usr/share/emacs/26.0.50/lisp/org/) > > but not on Org mode version 9.0.9 (release_9.0.9-738-g8ab9a8 @ /home/wilk/git-repositories/org-mode/lisp/) 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. -- Kyle