emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: Can't remove deadline or schedule in bulk mode
Date: Fri, 11 Aug 2017 10:19:51 -0500	[thread overview]
Message-ID: <87inhuxhbc.fsf@alphapapa.net> (raw)
In-Reply-To: 87lgmqp3r8.fsf@kyleam.com

Kyle Meyer <kyle@kyleam.com> 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.

  reply	other threads:[~2017-08-11 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 12:36 Can't remove deadline or schedule in bulk mode Julien Cubizolles
2017-08-11  0:39 ` Adam Porter
2017-08-11 12:29   ` Julien Cubizolles
2017-08-11 14:39     ` Kyle Meyer
2017-08-11 15:19       ` Adam Porter [this message]
2017-08-14 14:03       ` Julien Cubizolles
2017-08-14 16:49         ` Julien Cubizolles
2017-08-14 20:33           ` Kyle Meyer
2017-08-15  8:19             ` Julien Cubizolles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inhuxhbc.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).