From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WIwMKMeGc2GD9QAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 05:51:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id Kr7EI8eGc2FPcQAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 03:51:35 +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 498DF1475 for ; Sat, 23 Oct 2021 05:51:35 +0200 (CEST) Received: from localhost ([::1]:60704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1me84E-0003vz-7J for larch@yhetil.org; Fri, 22 Oct 2021 23:51:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1me83g-0003vr-6n for emacs-orgmode@gnu.org; Fri, 22 Oct 2021 23:51:00 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:43761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1me83c-0001Ch-Sq for emacs-orgmode@gnu.org; Fri, 22 Oct 2021 23:50:59 -0400 Received: by mail-pj1-x1032.google.com with SMTP id k2-20020a17090ac50200b001a218b956aaso145032pjt.2 for ; Fri, 22 Oct 2021 20:50:56 -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; bh=0VFzDc2JfWHHn4Tq48LJI3bVwV0hGjJhP8nWs8hVgHw=; b=lO71V/oc0t1REQUgSHH/iTIDUHCgMczdUj2Nih0rIdvpOUw2jLeRSDdG+AzeMlhH/9 pz7WLawnPeETUyhc/oL+Z35cOQjgvMo0yE0ymyc/YxzBOR1E9CYwGNiCYGbzrYdjrTN1 5rQ9RmnJrKMLiohN4YJ9O2nv0ST2YADdhFFzJ/6B8sws4gYYwgfGckBmmBpZ8fS5nwMW yZNlwR9Y4afQiFTyr4KI24X92W5aib3nIUVHnkIyu7q6zp3+LgCl9kilGA5NrIWJWePA nVNrdOHXOBj/Cf8VAOnaoPaC/jYZE4IJw7dSgGRtUTI9AySfl/80Mo3V703ywmj7IMv1 tccQ== 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; bh=0VFzDc2JfWHHn4Tq48LJI3bVwV0hGjJhP8nWs8hVgHw=; b=NggdWjwLymPWoW6Ky+QCd97O1xl42FOxoZVuMaqvXa19iJ+9C/UF1v/W2ksoHvTDP7 YG9zW7lCZXIWhuhn6U24CYxHTBXREQELiwR9GLpXoGHDzIpN/dfQkIH8jt8QyCM4yIrX +Ic4/0tXpwJcgUEmNgA0oz0i/rGB9ucBx5b5N8umHiIWdFe6fRfhSLrzTHHO/8gXXZQU CGANd5zjCtIDKmYF9Bl3slNJuLMmWtBVFM7OeQ8oOGHKqbqnS8K2o/vl2KH5jEkfDNmY JJLJdcdlgfqLsjELzkTmMpSYpTb062T+y4wEG7mKHgMOEz8r0j5w37ejR1VU+YwtuO0y PY6Q== X-Gm-Message-State: AOAM530tfm+tKGR9DxgSEwK5ukOumNqd9J6dTJd/HTgKyUK63/pZqUPD xcYv9rP8tRp3OFXgsluk46k= X-Google-Smtp-Source: ABdhPJw7v3aqLNYW1bn88+RhSBR+95VXIDooKl79GyHchSv+hs41fZ54JQGk6reUS3XVvPrCn5yqVQ== X-Received: by 2002:a17:903:2288:b0:13f:17c2:8f08 with SMTP id b8-20020a170903228800b0013f17c28f08mr3855705plh.48.1634961055185; Fri, 22 Oct 2021 20:50:55 -0700 (PDT) Received: from localhost ([103.125.234.210]) by smtp.gmail.com with ESMTPSA id on13sm11544048pjb.23.2021.10.22.20.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 20:50:54 -0700 (PDT) From: Ihor Radchenko To: William Denton Subject: Re: "Cache corruption detected" when editing CLOCK timestamp by hand In-Reply-To: <87wnm48ldv.fsf@localhost> References: <87wnm48ldv.fsf@localhost> Date: Sat, 23 Oct 2021 11:52:20 +0800 Message-ID: <87tuh88kjv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.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: emacs-orgmode@gnu.org 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=1634961095; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0VFzDc2JfWHHn4Tq48LJI3bVwV0hGjJhP8nWs8hVgHw=; b=gXa+scSw/8gCPrmmYypGa4w/MuHEc8demDKWWMBbizVVkPwg43h5Bl/ZL3bWsva1KrN6uW 14GhskBEzYhXZhdxHbYkEhssTa+OxPekkVi09VYJKMfYXJNUN5AMH/mA7/aIu9Q9KlRQAh rosbw/gx3BaIByNkXR387Fhco2IFGfJ/qU1teBF9jwsmqIGhgMa7D7SuJbrKP4HdBSQtIM 45dk0XTqNIklyanBoN4xjOQZJ04FeCt90AHuBKgXlU6c7E4O6cPIzqjJsar9i8hBpXBxkv KEwr15L6g2RgIKJN7iFOAojb6/V+GgJWap96Oca89+Xwqy9o6WxkZFtX/TiFaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634961095; a=rsa-sha256; cv=none; b=s2YWrtfEtwNaPgTb5xZKfMFdKp7SG9aavXmaxynRL2wLUpvrOdRG4vkQFPwl1QU0UuXDNq 15d6+ZaI1Ar5ozSnxNZsAiqywU52J2FwMebuVI0o7jSYGTavmOucJ0LopLELL/qXdO+zZ8 7dVSt6b52z7xb+WUywiJT4Di9xROzmK+6UwCZwD6ba0QQLN06h5UVny/K7WKZbz99mClwX 43bpa1EL5IfYcZTZmznth5lND7s4Vglcf2A7uo+b3+k7+rABeS2NGekRzX2A+/79Gf00qL XxqOHNadyyY3gHxbfBW3DF8dKyUJmwmKn7U1xe255uMtel/styX5Hc06jRLUYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="lO71V/oc"; 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="lO71V/oc"; 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: 498DF1475 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: b6idiS08Q3U4 Ihor Radchenko writes: > William Denton writes: > >> Sometimes I edit timestamps by hand when I'm clocking things. I had a task >> where I'd clocked in and wanted to close by hand (by adding --[2021 and so on to >> the CLOCK line) but when I started typing this popped up in a window: >> >> Warning (emacs): org-element--cache: Cache corruption detected in work-diary.org. Resetting. >> The error was: (error #("Not an Org time string: []" 24 25 (wrap-prefix #(" Confirmed. This looks like a bug in org-element-timestamp-parser Minimal reproducer: 1. Create an empty org file and open it 2. Yank the following string: "CLOCK: [2021-10-22 Fri 10:41]--[2021]" 3. M-: (org-element-at-point) Best, Ihor