From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Foley Subject: Re: Bug: Removing and adding deadline bug in org agenda [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] Date: Tue, 18 Sep 2018 10:42:50 -0400 Message-ID: References: <75467ca6-dc90-9d23-7cdd-3b9a9acb7486@gmail.com> <87k1nilvuf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000061b57f0576264f59" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2HDj-0008Ly-8C for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 10:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2HDi-0006bE-DX for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 10:43:19 -0400 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:36889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2HDi-0006Zz-0u for emacs-orgmode@gnu.org; Tue, 18 Sep 2018 10:43:18 -0400 Received: by mail-ot1-x32f.google.com with SMTP id o13-v6so2235743otl.4 for ; Tue, 18 Sep 2018 07:43:17 -0700 (PDT) In-Reply-To: <87k1nilvuf.fsf@gmail.com> 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: rpluim@gmail.com Cc: bensonchu457@gmail.com, emacs-orgmode@gnu.org --00000000000061b57f0576264f59 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable My mistake, I misread, thanks for the correction Robert. FWIW I also am unable to reproduce on 9.1.14 I would still suggest using C-c C-d with . as it seems like a simpler workflow. On Tue, Sep 18, 2018 at 10:32 AM Robert Pluim wrote: > Kevin Foley writes: > > > The issue is once you use C-u C-c C-d to remove the deadline with your > > point on the same line as the deadline, that line is removed and the > point > > stays in the same place. That means point is now on Task 2 so calling > > `org-deadline' there will apply to Task 2. > > > > I believe the C-u C-c C-d is being done from the agenda buffer, not > the org buffer, so the agenda should be able to keep track of the task > location. > > Having said that, I=CA=BCve not been able to reproduce this with Org 9.1.= 14 > > Robert > --=20 Thanks, Kevin Foley --00000000000061b57f0576264f59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My mistake, I misread, thanks for the correction Robert.= =C2=A0 FWIW I also am unable to reproduce on 9.1.14

I wo= uld still suggest using C-c C-d with . as it seems like a simpler workflow.=

On Tue, Sep 18,= 2018 at 10:32 AM Robert Pluim <rplu= im@gmail.com> wrote:
Kevin F= oley <kfoley15@g= mail.com> writes:

> The issue is once you use C-u C-c C-d to remove the deadline with your=
> point on the same line as the deadline, that line is removed and the p= oint
> stays in the same place.=C2=A0 That means point is now on Task 2 so ca= lling
> `org-deadline' there will apply to Task 2.
>

I believe the C-u C-c C-d is being done from the agenda buffer, not
the org buffer, so the agenda should be able to keep track of the task
location.

Having said that, I=CA=BCve not been able to reproduce this with Org 9.1.14=

Robert


--
Thanks,
K= evin Foley
--00000000000061b57f0576264f59--