From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kKmTMvsjWGFtjAAAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 11:18:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uPYnLvsjWGH9WAAAbx9fmQ (envelope-from ) for ; Sat, 02 Oct 2021 09:18:51 +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 392AF29D55 for ; Sat, 2 Oct 2021 11:18:51 +0200 (CEST) Received: from localhost ([::1]:47012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWbAP-0008ST-DL for larch@yhetil.org; Sat, 02 Oct 2021 05:18:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWbA1-0008S2-BI for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 05:18:25 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:38594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWb9z-0006LP-Sh for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 05:18:24 -0400 Received: by mail-pl1-x630.google.com with SMTP id x4so7853361pln.5 for ; Sat, 02 Oct 2021 02:18:23 -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=jo6FE1mZE37K7M9QOOoXY3Dh5xjV/+Sgy8WUNK4bS68=; b=dJGRl0mVqMYOgNZf2mY8D0W52yN39ijm2yO5zsMYizum5V4h5R+0P2IkUwTHuc90K1 7gFLXDgT0B44BBqdmZSaRVeSVrjmgCq09dRl62aCBUBEo0/Rbx/gyJ6AR+RSaFamzQNS lDe90eKzlCWPJC/yhOBLWSw4vtsf1m+9W84+SrlSdrY84AY8wFxLEn9tIrd+QBUkfZx7 auVV/Gore3p4ANwImQjsj5W5pU2CCG/qvhv3VczbdKAe48n5P4C6uoS6RD3/JHSDH+Rk n/ZZolA6BpvHzBC7NIiZRlUrNTam2OVCMdM560HU/X1OLIjpUavc29RM+rCbAQDIYLB2 ANYg== 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=jo6FE1mZE37K7M9QOOoXY3Dh5xjV/+Sgy8WUNK4bS68=; b=VATmRH/gg03bcXn/XAJEotx+t5UeVYFRFoY6AQjzD3j1HzZ0ZWmdt6M6fzaBXBfhuc BcGORegB5M1BzHd7Dmwlu85kws9xDphcRZxjj1KnQdQdpBT+jViSDsI1tNi8osPGvV/H TCsIfPlFE71ej7UIdKQ05TMlDpWfU89eE4Hhw8RlUvJklnS2PaPiL1J5yltZRahT6t+0 r/0KHag7M6UH+EZ1Cgv0pcUCf25mvp+BMzf2y7EjmbRWvlQjJOrD9CrMMl4sbZufysuG Ygv9GDLZ7YAJGsI9ZBUITyaZTRL2PJOprfQhcs5xVWC5bavYbSlFjAh2FhiQRRla/9TY zQgw== X-Gm-Message-State: AOAM532KRAdIbXip6mretkvUWi86FggqJ9AfrGL9p30KMXO0DmW8IiOL jO67kGq2PE20L0SDNHu5iho= X-Google-Smtp-Source: ABdhPJxXSG4K9qeJ1KzDcLPuHc0spS4zmA87oZjRZ09UYsCWRIMijzyJled12p5AvEyEcE2whKzbuA== X-Received: by 2002:a17:90a:7d11:: with SMTP id g17mr18316908pjl.19.1633166302198; Sat, 02 Oct 2021 02:18:22 -0700 (PDT) Received: from localhost (211-22-147-226.hinet-ip.hinet.net. [211.22.147.226]) by smtp.gmail.com with ESMTPSA id a7sm7657831pfn.150.2021.10.02.02.18.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 02:18:21 -0700 (PDT) From: Ihor Radchenko To: Trevoke Subject: Re: Manually/programmatically adding a state transition message In-Reply-To: References: Date: Sat, 02 Oct 2021 17:19:39 +0800 Message-ID: <87ee93yeac.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.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 mailing 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=1633166331; 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=jo6FE1mZE37K7M9QOOoXY3Dh5xjV/+Sgy8WUNK4bS68=; b=VtKlQSxZNvbC0vA3pBiZCLVPXvgVsYkzSSpCBQTpx71RnMe9RKdZGMtaalM/RInlJRRdRw yBmS8XwCm3M5/FL8xYFeiXgNsSze3O92Z3pD91kdieYZ9SulIjh25zrjQpEERT7HnCKJb6 IPvWksFIojuiFBIbe0qICZhsAz0/VOdx9zuMAV7G1wI20HQN2G3IcpCVC+5BHDlczrbRee y9TU+/cqX7BztJGSbpw++no5+OAK7kAypYTfm1izwkzknZQMf6PIuWu/ec/QAR3zd7asK7 0PNwWmC7KJIKdSjPs6XwnLAaAIsAPOuW+9DCBm12/MGlrhJcd7SF1REa31HtrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633166331; a=rsa-sha256; cv=none; b=V4s3Syk5rCyzxsw737hQidmRDYpmaVqQBKzPHqataRWjQE3WqYm+SX42dH0R4TWysFb3op HLbYOCjjJoSG17MfTdU/Kvq+wUmH2vacEHPit1BrJZ7ZsMt6S+IJO0/EqhsnR8nmXr1hjQ 75IpLY/M9AgVqzfM9A3UxBFTYgk01Hynze7wZP57q16IRP5lFSA3eb1vhaRdkcbi8kzfGL 44Qu61q5av13WHIg3mJ74VCch/HBXjny7PH45p9F9a7e3slOF+lRFTEy5P6124OZuKhWfX VXX7CY2DfJlw0FWRDrjlA1tm5Dvtf6J2nHqDD8V3vGtvVNpodYuyrnS4RLiyEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dJGRl0mV; 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: -1.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dJGRl0mV; 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: 392AF29D55 X-Spam-Score: -1.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: K9eqxdlxE4b/ Trevoke writes: > I've looked at the code around adding a log-note and it looks like it might > be automatable but there's a lot of pieces I don't know in there, so if > there's a way to add just a state transition with a programmatically > provided note, I'll take that, please :) It may be fragile, but you can try let-binding (org-inhibit-logging 'note) around elisp org-todo call Best, Ihor