From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qD0/NQUwRmE/EgEAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 20:29:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +EO7MAUwRmEKBwAAB5/wlQ (envelope-from ) for ; Sat, 18 Sep 2021 18:29:25 +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 5E373DB8E for ; Sat, 18 Sep 2021 20:29:25 +0200 (CEST) Received: from localhost ([::1]:58638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRf5Y-0000Ow-E5 for larch@yhetil.org; Sat, 18 Sep 2021 14:29:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRf54-0000Oh-2M for emacs-orgmode@gnu.org; Sat, 18 Sep 2021 14:28:54 -0400 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:35674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRf51-0001jy-NC for emacs-orgmode@gnu.org; Sat, 18 Sep 2021 14:28:53 -0400 Received: by mail-io1-xd29.google.com with SMTP id a15so16463292iot.2 for ; Sat, 18 Sep 2021 11:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=g3FX8fd1NXHRyeZNK9JqwxDFpZuqw4TL3xJKDJAFWcE=; b=hrA6FCEOhoIx69ZtOK9oJlj2iUZBgzofeYUSN5OcH2QYKQH4NMsq41yX3icPfwd0zQ oBQpZclE6F+XexmafnENO9LIJ2utXzYYTu6GlHsjrKF/MFChGlLJW3x1XgysAfYPea+t k5qVvDVaNRT2lDuS2Yj9CYeSHK1p0KeeDUQuZSeVv5lj2OwtJh9kpCBwjqWeJsH4fGvp DsyLfi8GBMkFcdIX81MJgyFKUgIbMQVUUgkNsIyPN62nwv8ylevbAbfuWTEo3DkMycG+ jrPTzqPSYZ1JhNG4NesoZpXyRToEpn4A1s80XCWjBDxLJf7Q/MF7JK6EYP24FKzUZQ1a JfiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=g3FX8fd1NXHRyeZNK9JqwxDFpZuqw4TL3xJKDJAFWcE=; b=dVMNBIVQbYCu8ggJ09TEd++d5+40Nni86Dz32qBN3ZBzJ7PpXdlqoqEaBa6ZMKtSXb U3KEtC7y4UhSbDXeHVtuaGTTAE2lIVFa0EvRhJQ/Q7vV2bQH2fxSSAYwp7poq3avCH0/ t3qYVIzuSaevYalfWlPbRvmgZ64/3FPuN4LOfRX0P5KVE1QlalOlLt6D3kXh+TJjX/ie CeBojXSBKx5KlwsLO/Vqousoltg1xEYJmGx2VUzjS01yolQ29/MyVEOOx1G21Op66ZIk JjlNJAQRWIPZZNhNxKbCnRoFAU3OAQrID/HImAceKPoNyB/soIqmaz4I9JNGiHbN9wna yjMw== X-Gm-Message-State: AOAM531zrA6b2xp1pPCr25LnqAjKPGlnxD2pYPprJ8SdOfkdM2Evvj0k cjOwL06YW8sV7DUmzR0F0VCrmi58rIi6ATHxt0LHbXLllrM= X-Google-Smtp-Source: ABdhPJxq/lldJyTh6nguxrottn4bYjdqk/Jqp5a0qFXHJ8oUxdoAlxWIAAYNhb2+YlndBjO6NNb1buTUOvJXoKg9BEU= X-Received: by 2002:a6b:cd01:: with SMTP id d1mr10154335iog.88.1631989730100; Sat, 18 Sep 2021 11:28:50 -0700 (PDT) MIME-Version: 1.0 From: Trevoke Date: Sat, 18 Sep 2021 14:28:39 -0400 Message-ID: Subject: Manually/programmatically adding a state transition message To: Org-Mode mailing list Content-Type: multipart/alternative; boundary="00000000000023c9fb05cc4938db" Received-SPF: pass client-ip=2607:f8b0:4864:20::d29; envelope-from=trevoke@gmail.com; helo=mail-io1-xd29.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: , 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=1631989765; 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=g3FX8fd1NXHRyeZNK9JqwxDFpZuqw4TL3xJKDJAFWcE=; b=R7Pefc5JWEWRc9jFhyVE/e+QXkZZiicR4SX0MeCUstBjSfyAEFlrs0nPz6Bi5LpXuOQjuX BtRJKp1l0Kwkicowik/MlDzMCl0Td6qPA1noUcKec/DWxHSf3+i9fNZX4kEefnU5SGHrQB IC/c87HOLPbbW0i5X14VKdH/JTQvI7W/Q7TWOnyEvfGzLAszsiYchtWowRkwrF+1cQ6gE7 gjXv5708+14bifKbFial69jtdNKS7aY6CKaQ3z1B3mo8MCGW6RiTE41lACeBqLXtWUrXHe ALFiUhkNiGhsP4htRHj+p0c/Q5bnKl0ryNAiBwoSg/FoABHo7Ts4KuSFTYFdcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631989765; a=rsa-sha256; cv=none; b=T2qBgcwm+BozFSHopq0zQyqbHIsEULo+VbK2KP/GtEFtrIf0SEVUUEp5uOTBdU1oztVFDB ejZeGh9bCiQbAEtZOqLys/+FM/wST6cb/VkzRFTsXHescbgYMkYgPYN1y29a8Ot76NccGx xxrIAZOO5TmNbduCXJosKI1kmYXD8PjA5R6j/VUNWVCsAfSGSM7GrDhzSemF+B6wzg7l21 kk8jpt8uVpUzGF4fOz12g1gz30Gpw2frOmYdMA8rDjjAehuSfK60mdcpSZKYf0dEzNTLio iAbZzi9UDcBEghpkn4nrZqTW5jvAKdMtmhgfzq2FhPv57vilIS/mZ4QgyAWorA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hrA6FCEO; 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.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hrA6FCEO; 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: 5E373DB8E X-Spam-Score: -1.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: n/Z5i30Fxvx/ --00000000000023c9fb05cc4938db Content-Type: text/plain; charset="UTF-8" I am writing some code to change the state of an org headline. I have figured out that an error will pop up if I am automatically transitioning to a state that requires a note logged. How can I automatically add a state transition note? I know I can write this: (universal-argument) (universal-argument) (universal-argument) (org-todo "WAIT") and this will automatically skip note logging. 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 :) Thanks, --Aldric --00000000000023c9fb05cc4938db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am writing some code to change the state of an org headl= ine. I have figured out that an error will pop up if I am automatically tra= nsitioning to a state that requires a note logged. How can I automatically = add a state transition note?

I know I can write this:

=C2=A0 =C2=A0 (universal-argument)
=C2=A0 =C2=A0 = (universal-argument)
=C2=A0 =C2=A0 (universal-argument)
=C2=A0 =C2=A0= (org-todo "WAIT")

and this will aut= omatically skip note logging.

I've looked at t= he 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 not= e, I'll take that, please :)

Thanks,

--Aldric
--00000000000023c9fb05cc4938db--