From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WOlgDe+daWKAhQEAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 21:47:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8IupDO+daWKLcQAAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 21:47:59 +0200 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 B7C5333B73 for ; Wed, 27 Apr 2022 21:47:58 +0200 (CEST) Received: from localhost ([::1]:45164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njndk-0000IN-U5 for larch@yhetil.org; Wed, 27 Apr 2022 15:47:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njncv-0000Hr-3Y for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 15:47:05 -0400 Received: from mail.xgm.de ([45.83.105.139]:48878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njncs-0005PS-P9 for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 15:47:04 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4EBA6180534 for ; Wed, 27 Apr 2022 21:46:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xgm.de; s=dkim; t=1651088815; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:content-language; bh=T6kpAeFGHlkX0KWVVCzL0eaczn3820dSfgI4Id+Yp24=; b=BVRD8ENB4aZtt1G1jReKGy9ySABjom79cywzV5icObzPz3Ap5g/BkyVoL2WPUHptzbtI5V 7yMZTGXa5n+HdDajWwMz0dNlr9WbAGJ+RpIIyjR+/xnlW1JKvxZGvRJ0991dfu3WM7nG0a l/q7LRg1KvE0WLZZ37FSqF7yUaxXFgSDMH9pgthHNH5pQHE8zFO5NdDukukymkKL7TgjtH NwErheeaLL42DCdT/kRmJVLQbDI2NUiXAU09sUeQAny5VPa3aTYTjdgvA7bbzss3n2gDmO rnNoVp5y76h4Nu8of1pzA4z5tsVpFP49Nzte/twrD9YXOAGbAKVsmyaPrOREoQ== Message-ID: <5a9ce1f6-0b28-6144-7300-836146b30c40@xgm.de> Date: Wed, 27 Apr 2022 21:46:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 To: emacs-orgmode Content-Language: en-US-large From: Florian Lindner Subject: log-done and org-after-todo-state-change-hook Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=45.83.105.139; envelope-from=mailinglists@xgm.de; helo=mail.xgm.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651088879; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T6kpAeFGHlkX0KWVVCzL0eaczn3820dSfgI4Id+Yp24=; b=CNbO7BwO8vwuQuzaTAthTkiQWPvfGIv01+nHPVgFLGUL+bFADy7SAZYh4OXb/AKkDerXYT fPreKjbmCgX0B/RtpyaQV9DpfPfJ9OUoqfT4S33+4GrrtCLR/sUv5+9lpiSoJeOXND06d6 hKr8guXIESLQY9Si1oopQKmcWz/7lqxdHzbQrwk7dOET1a+5KsBw21+4ntmoyamQkUXeGH qXnCokn/I0a2AwdO84zBCldsrHTtMlqmW/UTmeYK47RDOIu+udZcy8xN1A2AusZRve27ei VySIMmu6iCjKt3qqD6zYc3zmoQ6KBuGt6GJ3IQ9GWkhJGfH9dGG8uWfIVzgotw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651088879; a=rsa-sha256; cv=none; b=gM/fQhNJsoURKZMcT4FybAnKG4Bdk+lwj5UjkCTUjsVGp5BfnV8dovRtQPE7crDe03bheg GpeHELuPOs3rOPhq9UT8Y0jDd3m1N6xQRvpq+0KCi9fBWIroPkyahtRhP9VEbQqJSj33CP q9rYMiliW4UVM3Kn8TeXcYt77Zj7gkGjCUO1VeJ/n4BP7QFBSZYpIsgqHDuVuVHwbhTg+L gb/jk94nD/CXivX1tHCr11V34IDKzDfgcD12TsSOtQwiJof+Ai+zhf79LTRIBJLkOUvDy+ QeH8Ux6+Zkr3klRP1Ng2teemri84QOJGkz5C1tyiJs4PnK2cp5I1wzGvwYSOkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=xgm.de header.s=dkim header.b=BVRD8ENB; dmarc=pass (policy=none) header.from=xgm.de; 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" X-Migadu-Spam-Score: -9.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=xgm.de header.s=dkim header.b=BVRD8ENB; dmarc=pass (policy=none) header.from=xgm.de; 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" X-Migadu-Queue-Id: B7C5333B73 X-Spam-Score: -9.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: SAcNFLT/aegh Hello, I have an org-todo-keywords like "DONE(d!)" which logs a time stamp everytime that todo is reached. I also use org-after-todo-state-change-hook to copy that node somewhere else, as soon as it is finished. My problem now is that the logging seems to happen after hook, which made me end up with a original node: DONE letzter note :LOGBOOK: - State "DONE" from "TODO" [2022-04-27 Mi 21:42] :END: [2022-04-27 Mi] which is copied to ** DONE letzter note [2022-04-27 Mi] How can make the hook to be executed after the logging of done or some other way to have the log entry included in the copy? Thanks! Florian