From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OIzDMe6yc2H5RgEAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 08:59:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WCFoLe6yc2GsIwAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 06:59:58 +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 EB4F81429E for ; Sat, 23 Oct 2021 08:59:57 +0200 (CEST) Received: from localhost ([::1]:53722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meB0W-0005f6-Bp for larch@yhetil.org; Sat, 23 Oct 2021 02:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meB03-0005ey-8q for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 02:59:27 -0400 Received: from mail-vi1eur04olkn081a.outbound.protection.outlook.com ([2a01:111:f400:fe0e::81a]:20449 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meAzz-0006Of-K5 for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 02:59:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OOLkjIGmvAy/pcv9uvRb67u37lHFDlUpCRkh3lWWW4g3V8cOn44tdEIJdtZuEJCSxAjBztCj98DyOisPIc2btCpZbVoWeR2tpyQWJUyQaXbkiqX3OTtT4OkOzdhnA2cBo5FTPK1x8JKpZuv7MEKLeyex+wWA7fRua2O5gJdvGzPux7l/ZnOIdfB+mCsiofBDbPcl03zlkeGTNlkORhNwCGlwbHgO9OrF4BEVFNbCG9VwDiFs8/ztaPeiWgHK2TkW5vYkHnHB1Z/FFX2Ai1WvIZ6p1WGWiSpFeNqVkP5fc/QVmTAo1vNmk7I9ncDjWNb+mvUje2vkjlo134i3/0ty8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NBfj6M/ELUkU2aeuOirXtU7kOGuYKF6gB6b1jEqsd04=; b=HmEo9HfbT4QCjzGb4dUfKXquhB2jM05e1hOEwQMphuNUd2vn5yh0IZ+/UgcuS/2DOo3gLGO/tY/XlNEmicUCv/Utn/YhWqwUhnXlrEyV5ZDv+63OUpPQp9TWkMPJtPxsNXoP17r2V64U8llgIhuqOQUO0tldm3oZ06kLqrEYTfLRdyRMmUZ1fR8rJhb9KI2dhDbQL+UmITvyDpEIaeuNDrsrpZlVoGHFjJdKsFeKOnhTdD+jE+KBz7iBWICryWX19aCFnHYIBNbVMfpbXDfj6igesmB13HrbC1JHU45eVOAAXUup3IDLbg6S+7BzAq8m6A61USq7TjS7I7S3LxvxAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NBfj6M/ELUkU2aeuOirXtU7kOGuYKF6gB6b1jEqsd04=; b=WF8sHlcqNrLeC8o/UE59vRffMMea5YP3MLDcjT+OZySu55IMsCUthqElROpIXeCAovZzI1/fJ5ob0k7mqmXszUcMAQWPZx8/SX4nTJw/WBhjJ0fw5dA3x8lTbAxjv0OGvpisbz+RR5YMIRqhpmRDJk3k2hTQIFAsls022GDd2+s8NF7KlPFXMIUfkYJ7wxy3p08tk2uH9v7nsZdy+sP4O47alTQGSd7Iu6p5TN35NPTzhURehVOjigMtsRHB2zej4EcopTdTDSoEPJhy4d+DTi6DgJnEqwQM40uVg5M0G9NxplY96yTWSWnUAXomCQazq2IX2QikaRx4wf9XFg3YVg== Received: from PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) by PAXPR08MB7035.eurprd08.prod.outlook.com (2603:10a6:102:207::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Sat, 23 Oct 2021 06:54:19 +0000 Received: from PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6]) by PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::2d89:b86a:b634:48b6%3]) with mapi id 15.20.4628.018; Sat, 23 Oct 2021 06:54:18 +0000 References: <87tuhazs36.fsf@localhost> <874k99ahvd.fsf@localhost> User-agent: mu4e 1.7.0; emacs 28.0.60 From: "Christopher M. Miles" To: Ihor Radchenko Subject: Re: [BUG] org-agenda generation missing some entries Date: Sat, 23 Oct 2021 14:54:00 +0800 In-reply-to: <874k99ahvd.fsf@localhost> Message-ID: Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [d/st9SBJexunJ8xoE0Tpn+m8VyKMQE23] X-ClientProxiedBy: HK0PR01CA0056.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::20) To PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 Received: from Mac-mini.local (115.231.16.205) by HK0PR01CA0056.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Sat, 23 Oct 2021 06:54:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3b0c8204-3f34-44d3-524c-08d995f1ef68 X-MS-TrafficTypeDiagnostic: PAXPR08MB7035: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L247neEYB345TJEiqT73RygrkJ/K2vR6uBdPxV72FSffowpdnWiCxs2V5/llCp25QB4iwyaOfJ3+VH2OBPbumX4iO6aFGLS5cgjeH6f0Zafm1Du7UTpxZTDp20r0TqRx8tqRF2rbdzu8XglfWP2C6fSlaRb+X5BuEexsw0d6zQ0XuJsrZIPzT3R9Su9cjXoHGOK+GQMK/95VIhGwGBKSpw3WtgyiuzZcrrhPgBP+QAnQgKmyYctLdDyjW8cejpAbxOO2MC51SGRyEXe6bWmI3eQOJxP5R8YOKYx5NKQtgEyWP5tvXzcQrFHWHC4phhgYetWRscoBv/LWdCbjLs3LpT5aZ0JEdV3avbVD0+2GRO+PrTsr0YXcb1R1VrD2Pb0JcZOMF/zDDOBGNRiFE5oVaARt3WHNqIOwrAyP6UaYTp1GXNCXfQPePDoiZj+CUsm43syL2aol7LDlzn/lQ+29uwiYmL9CDGYC8+al5y0NZU2N9Sm8SDAmFJGH4ylLiBYjmnykXjpz2oXFw5W/9VRwblQCch+YAMwwD1dmzrVu1tRTM1xRsJw0ltFyeXkZgJT0oXzVqZVnrixolPdiclFJHw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E/UnBA3fT1voyaMyy40qm7jBOmJkDgj6dQmUl8/DyjajmAZzeR3T85lPvlHZgKcUmcmlzY7ADPqZ1LcnAp8dYuB6i/nHRHPxnsA2LG39mIiLmHpWImEnJrCKp93zXQuNLCRwuqJ8REhnyyQVNTgzWUEXMNPStXqC9zw6wRbIlBpLYw7NSKdycC/RDRsvXBY4JODGCmpdiX5Zzuiz7P4rQ/K6CNk4QcOvUJXEn3d9JwX4QZg6tT0bMiU9LLwyb11HnOa34aACswp6rthv820yUGPGmf46e8jeGWxsJTEJisdKK37oG/XwK0BmlnyZeDg+9PcmhqbhWA3t6T4D4Q+yrAHSs2b0ERmOVEyekKy6fGR29Gmf6P2lwj8HBmo8TRMneiR///JrYmVOdlNkmucn/DRybyneJUCMjYkAsx3asoeLdCylvvuqu5RoRjEkBL1UpN2I6upGklWj1su8CfBRzKP3CzL+FmaE+RkEtWBrZRabk4u6bFMImVdVgV33O4OYYfE45GG6eXtbU5vDbALPufzvnhO4I4YAf9c6LrSbRv9ZXMhY47sq9qDcfqE4dPpRrIFa2arPSlF3YJOsiutuEsewQehqRjhM5Od7SkwoyI5r2sdIXnZYP6ZfxKo5BqTEfx6VidJBOGEDNvpD6pmpHkcVlRN2vDjf2GL41BmteaF6HfFzdV20skTRD4PJEk0jEghX6LkqF51G5PYYdVhNQQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b0c8204-3f34-44d3-524c-08d995f1ef68 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6640.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2021 06:54:18.8791 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB7035 Received-SPF: pass client-ip=2a01:111:f400:fe0e::81a; envelope-from=stardiviner@outlook.com; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 5.0 requ) BAYES_20=-0.001, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: numbchild@gmail.com 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634972398; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NBfj6M/ELUkU2aeuOirXtU7kOGuYKF6gB6b1jEqsd04=; b=g1X/CzqwF0BxsLiDJFildwXutbZ7YlsR6l1gRULR3lTwYHsUbBOt/5HmtZIdMuAsPvhgFx Qoe6Ks53/pTFGTLBBs65anf1Sj/rj9MhyEu/ztXGTf35lwbBU4mkqlBQG4V0+JJXlATojo VtCjJXefTNcg7eZnwSU0gG+S/qCmE03PSulpwRVv0RprH9GAuPjN7sk9H8TMN8wTvzAO03 g5icmryv13VdlKZ2NFz7s6bjqDhF+Zkm2u9nHGRzShE9dwtmx6ruMSs/nyZljRob0g4yZv 2V3JYlkv0jROZK3Lm4SDOt5o9FdG19jkT2q51yD3+SBm6XnLy+g/6e6HzNXj4Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1634972398; a=rsa-sha256; cv=pass; b=u2eil9DD6MXUlYhkCN+8tlegU4m5Kca24WhPw7RAVeVTGx31LPv/aID3uVlMgiDGED+bH8 kPsy39S7KfDZH170TlePkEg+4ccpB7kyfbHT1xIIIw6hDesalpYUmOy48etuMocKh3tAs8 LCk2l7/jTNf85yDRCN0z0AYGES5mR6exLb1bq1QQgfepny1q+2Sy/aWQey/vEG1mh6YNW2 8iUtAvZliUhg+k6uKGJPTY+MuvP1wwzIXjduTMf05xgzfhM7eX+QZ6Y6+6cEcHgFv2TYB4 ogPH7gBEM+dziROuTAShjnimSROi8fR0R1438KAH9hs6k9EcrAICStp+YSpnOA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=WF8sHlcq; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=WF8sHlcq; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: EB4F81429E X-Spam-Score: -1.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: R5d8JkzmiCi6 --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > "Christopher M. Miles" writes: >> Now I tried your latest push. The errors gone. But org-agenda entries st= ill missing. I checked >> *Messages* buffer, no error messages, including other error special buff= ers. no information. > > Agenda now uses a new algorithm to search entries. There may be a bug > there. Can you provide a minimal org file with a heading that should be > listed in agenda, but did not show up? > > Best, > Ihor I'm git bisect on the latest git-pulled org-mode. Still located bad commit = 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 I compared good *Org Agenda* buffer and bad *Org Agenda* buffer, bellowing = 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 "SCHEDULE= D" tasks with logbook or clocking log. --==-=-= Content-Type: text/html

Ihor Radchenko <yantar92@gmail.com> writes:

"Christopher M. Miles" <numbchild@gmail.com> writes:
Now I tried your latest push. The errors gone. But org-agenda entries still missing. I checked Messages buffer, no error messages, including other error special buffers. no information.

Agenda now uses a new algorithm to search entries. There may be a bug there. Can you provide a minimal org file with a heading that should be listed in agenda, but did not show up?

Best, Ihor

I'm git bisect on the latest git-pulled org-mode. Still located bad commit on this bad commit. Seems commit also introduced other problem.

0ef88e2d9 * | bad @ org-agenda.el/org-agenda-get-scheduled: Use cache

I compared good Org Agenda buffer and bad Org Agenda buffer, bellowing are some of missing org-agenda entries:

* PROJECT 🅰 task A
  SCHEDULED: <2019-04-16 Tue>
  :LOGBOOK:
  - State "PROJECT"    from              [2019-04-16 Tue 13:37]
  :END:

I checked most of them, almost all missing org-agenda entries are "SCHEDULED" tasks with logbook or clocking log.

--==-=-=-- --=-=-= Content-Type: text/plain <#secure method=pgpmime mode=sign> -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-=--