From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YA6xNdC2c2FcTQEAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 09:16:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UIdbMdC2c2G9LgAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 07:16:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5983837C8 for ; Sat, 23 Oct 2021 09:16:32 +0200 (CEST) Received: from localhost ([::1]:58560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meBGZ-0001LQ-HM for larch@yhetil.org; Sat, 23 Oct 2021 03:16:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meBG6-0001LI-5J for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 03:16:02 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:43847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meBG4-0000bq-8r for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 03:16:01 -0400 Received: by mail-pj1-x1033.google.com with SMTP id k2-20020a17090ac50200b001a218b956aaso357870pjt.2 for ; Sat, 23 Oct 2021 00:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=vtZ2Kd1GADBH94lZ3nCClGJC/RpZYr1TbpoexArRUwQ=; b=mLnwfY04TZGN0tezqOiqAM+vJwoRtvbwuy3lBPiW0OUGfMI7HWr1+M+W9g8QKiCTKr CYPD37Ga+fkVHiDMht3U6bzWSJYKha/A+KXHbAAVYxp+e4yMT/Wd7+dSeRcs5U9MFmpn yJamkc/ESruz5Q9Pev0klbIXLc/Rhz519qsdVr3HMnDmQ0ZCdF0vrAUI74BMvumkLoCZ cyP8Kvk7frGrtDXjck6kUbApctbCl4LXYtoRARE4pdRpt4R901EuVdo1gHCoVVvAIhGy rkVXeLDnRGd3OzAKSTByfEBp+mM1gwWAjOptyxVftN9N+KTI7ZAvd96jZdvURgST1bfN TnrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=vtZ2Kd1GADBH94lZ3nCClGJC/RpZYr1TbpoexArRUwQ=; b=ijQmzOMfmjFQ9K3jfPjgBkW303K5FY1Yfiqdx+d0kYZNkeJGuw3fRrssFiHeXmZksB jrNNL9EZm28r9XfuYT8BMb5kZH7CSUt0sE12e0HPLG2a5xHuroYbIU73I4s8sCVvNjRL c8zXJmul5UGe2fd3D+XGI3uSWH99dp34eYdjJTSeWBjhbAIZQb9MKff4BCfPqtcNKYKV 5PIs2nPVMg2tYVtNP/yeGVQFbsW3vgpBHTv2w7c6lfzW24DwNUgQWtR+yM+cCzS+VvZ7 uUIaROCl2fsPYiO0d+ubkYXSE4gvKWtdqiJoQqn9gghWMWtMGOo4eZElyBsPRSCwjMSa SiAg== X-Gm-Message-State: AOAM531hqpHcYpUXbgE87U0/Ah/hIr2vFRrSUFp0HuPxVAdzAyyzeJ1b r8WFBcePjFqAKfYq63ysQFQ= X-Google-Smtp-Source: ABdhPJxItkUSCw2U/rUUFIDPOeQ5bd5KStACAGUJTGo6LWohSJDbDMch44TluqY/gvri35fPeVsCjQ== X-Received: by 2002:a17:90a:a087:: with SMTP id r7mr20383371pjp.84.1634973358624; Sat, 23 Oct 2021 00:15:58 -0700 (PDT) Received: from localhost ([103.125.234.210]) by smtp.gmail.com with ESMTPSA id z4sm11793453pfb.107.2021.10.23.00.15.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 00:15:58 -0700 (PDT) From: Ihor Radchenko To: "Christopher M. Miles" Subject: Re: [BUG] org-agenda generation missing some entries In-Reply-To: References: <87tuhazs36.fsf@localhost> <874k99ahvd.fsf@localhost> Date: Sat, 23 Oct 2021 15:17:23 +0800 Message-ID: <87ilxo8b24.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634973392; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vtZ2Kd1GADBH94lZ3nCClGJC/RpZYr1TbpoexArRUwQ=; b=r0LzRuTXEGMGoA09eANBg/YnxNHZZ7K+18+AY+sO6H5fzRT/wGb/e24Vr7jOk+UTbDRk80 8eLIvRjMJpdtm4e/d5QM7C2t8SqSMYp7TDMkwwvFvJG5SkYRNCNwgFfLSDk7oJ9h9ZXlHZ /IGsgJUxbbJzGKEDTA31ezXAScXQms50JqrDpILEmtBm9tO9aUAfNLsW9YDfAzoHTU9uBQ YEx2nLpWxEHdaVHhRGmJCotwhRryhbOBK/fGbn0NhrYVyjEVR43Kls2E1flpt9kRbAsCvP hFj0UPYjKOuEE+cq5joH39bGxIEN7dBdfV87sUUSnew591Rt2b44qgMHUUlrRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634973392; a=rsa-sha256; cv=none; b=KufT1/Ak/U2/kVYdjqJ9sSiH5aKH+hDhUN7uVFQtEqQ3cZKqYTyEJQihj1wSMH/i7eAuzP QMkOu9VtJxDpY/FCWWqO7goPEvNcbYpD7Mj38MTVsa1mAGdBu7RFIPqjCi45kohbAajLPq HPmJg/MsfyNjB7HfOjqGjvNhzygU21wkuu7LqDDId6zc/yEMCRN+CyKWDbdsMTrHty/gm/ ckgY0gZ5FJLyUpiZroNqAkdu2UQeS2GHbgWXZuAI6fhq5oJBEIYZs/LCkr2KcY9881hrnV 0XyB4KGCTLt94GRpJtW+PQKN98vZwoUKcrNCat0MqqhzOf5vvSrS4+BSD51QSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mLnwfY04; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mLnwfY04; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5983837C8 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5bb+Tw4Z/2ol "Christopher M. Miles" writes: > I'm git bisect on the latest git-pulled org-mode. Still located bad commi= t on this bad commit. Seems > commit also introduced other problem. > #+begin_example > 0ef88e2d9 * | bad @ org-agenda.el/org-agenda-get-scheduled: Use cache > #+end_example That's understandable, but not sufficient to pinpoint the bug. > I compared good *Org Agenda* buffer and bad *Org Agenda* buffer, bellowin= g are some of missing > org-agenda entries: > > #+begin_src org > ,* PROJECT =F0=9F=85=B0 task A > SCHEDULED: <2019-04-16 Tue> > :LOGBOOK: > - State "PROJECT" from [2019-04-16 Tue 13:37] > :END: > #+end_src > > I checked most of them, almost all missing org-agenda entries are "SCHEDU= LED" tasks with logbook or > clocking log. Is it still missing if you put this heading into separate buffer and call agenda with buffer restriction? I just tried to build agenda after changing the keyword from PROJECT to TODO and I can see the heading in my agenda view. Are you using any non-standard agenda settings in addition to org-agenda-skip-scheduled-delay-if-deadline set to t? Can you try to rebuild agenda after running M-x org-element-cache-reset? Best, Ihor