From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Bulk re-scheduling to a relative offset doesn't work [9.1.6 (9.1.6-48-gfe7619-elpa @ c:/Users/micha/.emacs.d/elpa/org-20180212/)] Date: Thu, 01 Mar 2018 10:56:56 +0100 Message-ID: <87sh9ki0ev.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erKxT-0005uq-3d for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 04:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erKxP-00054A-7N for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 04:57:03 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50174) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1erKxP-00052y-0q for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 04:56:59 -0500 In-Reply-To: (Michael Hoffman's message of "Sun, 25 Feb 2018 21:29:58 -0500") 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: Michael Hoffman Cc: emacs-orgmode@gnu.org Hello, Michael Hoffman writes: > I previously asked a question about this on emacs-orgmode but it seems > more likely that this is a bug. > > https://lists.gnu.org/archive/html/emacs-orgmode/2018-02/msg00183.html > > I am bulk re-scheduling items in an agenda view. I would like all the > selected items to be re-scheduled to a year later from their current > scheduled date. The org manual > seems to indicate > this is possible using double plus: > >> Schedule all items to a new date. To shift existing schedule dates by >> a fixed number of days, use something starting with double plus at the >> prompt, for example =E2=80=98++8d=E2=80=99 or =E2=80=98++2w=E2=80=99. > > When I try this, however, I always get re-scheduling from the current > date. I am using Org mode version 9.1.6 (9.1.6-48-gfe7619-elpa). > Here's how to reproduce: > > 1. Create minimal.org.el: > > (setq debug-on-error t > debug-on-signal nil > debug-on-quit nil) > (add-to-list 'load-path "c:/Users/micha/.emacs.d/elpa/org-20180212") > > 2. emacs.exe -Q -l minimal-org.el > > 3. Create a test.org buffer: > > * TODO Task > SCHEDULED: <2018-01-01 Mon> > > 4. Add it to the agenda files list with C-c [. > > 5. M-x org-agenda RET t results in > > Global list of TODO items of type: ALL > Available with =E2=80=98N r=E2=80=99: (0)[ALL] (1)TODO (2)DONE > test: TODO Task > > 6. Move down to TODO Task and type m to mark > > 7. B s (bulk schedule). The minibuffer will state: > > (Re)Schedule to Date+time [2018-02-11]: [cursor] =3D> <2018-02-11 Sun> > > 8. ++1y. The right part of the minibuffer now states > > <2019-02-11 Mon> > > I expected <2019-01-01 Tue> > > 9. RET. > > The task is now rescheduled to <2019-02-11 Mon> rather than > <2019-01-01 Tue> as initially expected. Fixed. Thank you. Regards, --=20 Nicolas Goaziou