From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kMx+OHADzGY0NQEA62LTzQ:P1 (envelope-from ) for ; Mon, 26 Aug 2024 04:24:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kMx+OHADzGY0NQEA62LTzQ (envelope-from ) for ; Mon, 26 Aug 2024 06:24:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=VqAeLGy4; dmarc=pass (policy=quarantine) header.from=breatheoutbreathe.in; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724646256; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zOvyhv8XE6etXK6NrIjOpNz3vDbEQdoSxYKtectBKdM=; b=RbhXD8YiTs3vrBzKoemUQQNBpeGakKvpttb5BGC4TtzzxAgNDD5ivgStR42AgVWfikPgfV wR50n5n83tVFnVAGKpmCXeEmZHo0dY9Fx6S43t8EvUqRX0CMX/UjoCXAKaIwbJtp5Vbrsz B54u7AsjZ+fyqelwQCdTfR2+O/zPfo1rVBMMWDLDi/0DkTVyB/TmlpSsYSMBvOhvlenaSD vFXYJea+OQUtAS1kyj7aKBIiHfvS7mxam2IY8a3HykI+SeN/TUMsykbPG5guIDhU11NVnl x3Gmjfo3HPLBdsUbV7lqown8Fom7IxyO+xoW2c3hrGP4budu6/A3RR57u/0E+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724646256; a=rsa-sha256; cv=none; b=ec9PYgVvvqvqffvKAzbg1dIh87i8a94pGpMTfgT1Per7EpOhEodIs0+JbLczSeNeR381df 9zOVzpM0b7ajRq4c1BCqVDT7UGyXBMhBO4wn2LWpamDuYMpkK4x4WbTbX4F58TtQvp1jcv MTbl8dYe6UppRAot/xAMnAUfp1b8rJYOZ15o+Px3Jc8VYt9dqbaRKEoMT+9u8zdIKptQGc /WVzAF+8/Y6FbNPNC0shwIe5XSKFHVR5iYp0XlSIpOPNPvO5ILcs0IGpidihS0TJBSyBZF W+v6bc0fvvHd8JtTK668Kox6QwVoWMXB2bPceLiMuERxI7ZolPCv+KcO9Jk6lQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=VqAeLGy4; dmarc=pass (policy=quarantine) header.from=breatheoutbreathe.in; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" 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 271D816ED6 for ; Mon, 26 Aug 2024 06:24:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siRFx-0000uC-L5; Mon, 26 Aug 2024 00:23:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siRFv-0000tz-Ea for emacs-orgmode@gnu.org; Mon, 26 Aug 2024 00:23:03 -0400 Received: from out-189.mta1.migadu.com ([95.215.58.189]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siRFt-0002V2-Io for emacs-orgmode@gnu.org; Mon, 26 Aug 2024 00:23:03 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1724646176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=zOvyhv8XE6etXK6NrIjOpNz3vDbEQdoSxYKtectBKdM=; b=VqAeLGy4ffNsNw6D0Uxv5Ood68LYKe+swpMOIgIk7O2Z8SvFaE4Iy6sXsOhgPHU26Hk4F5 joZ66fA6tSeAWkQG/nuLGafkf8o/mDjRftBO23sPkfpj1YBm8RjYg4AVlBvJYerQUqUC9u Gd9lwHGSk+SN1H1npRbmEnpD7Ix9bZM= From: Joseph Turner To: Org Mode Mailing List Subject: [PATCH] lisp/org.el: Fix removing timestamp overlays Date: Sun, 25 Aug 2024 21:22:49 -0700 Message-ID: <874j779ali.fsf@breatheoutbreathe.in> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.215.58.189; envelope-from=joseph@breatheoutbreathe.in; helo=out-189.mta1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 271D816ED6 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.78 X-Spam-Score: -7.78 X-TUID: /JI36zBr2ImI --=-=-= Content-Type: text/plain Thank you! Cheers! -Joseph --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-org.el-Fix-removing-timestamp-overlays.patch >From 2289e6cd9f27bee04fa9004d757b23d3f1ef9e9c Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Sun, 25 Aug 2024 21:20:06 -0700 Subject: [PATCH] lisp/org.el: Fix removing timestamp overlays --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index d5c1dcb35..9e80c4b70 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14614,7 +14614,7 @@ (defun org-toggle-timestamp-overlays () (let ((p (point-min)) (bmp (buffer-modified-p))) (while (setq p (next-single-property-change p 'display)) (when (and (get-text-property p 'display) - (eq (get-text-property p 'face) 'org-date)) + (memq 'org-date (get-text-property p 'face))) (remove-text-properties p (setq p (next-single-property-change p 'display)) '(display t)))) -- 2.41.0 --=-=-=--