From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +EBDEB3CnmDrYwEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 20:31:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QC70Cx3CnmCYQAAAB5/wlQ (envelope-from ) for ; Fri, 14 May 2021 18:31:57 +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 D7DB325E78 for ; Fri, 14 May 2021 20:31:56 +0200 (CEST) Received: from localhost ([::1]:33576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhcbL-0002Ew-QV for larch@yhetil.org; Fri, 14 May 2021 14:31:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhcC1-0005Nu-C7 for emacs-orgmode@gnu.org; Fri, 14 May 2021 14:05:45 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:44682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhcC0-0006l2-0F for emacs-orgmode@gnu.org; Fri, 14 May 2021 14:05:45 -0400 Received: by mail-lf1-x132.google.com with SMTP id t11so44165290lfl.11 for ; Fri, 14 May 2021 11:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nHZRKKa5VC2rroZMrJXsaZJu5xGDCAS+1BJbOXK8KV8=; b=kXbMXpcqgi+a0Ko8iUZPoGUUHkh3mE47CEoaezCtGVcIt19ZKF4b2CQPLWuYsomKm2 LjkKufkve6hVc/ZAqv2BGQKR7qM9K46B2rq0Kj3EkdadU4x9B4rVSIvXNFRczj/BSSVC VOHsn6gEDY21fnYUhSluKmDyIBCvVpBX4lJg8hblXacipzsWYlWY0P2cK2bULYVb1JTV l4KQBNavXq3rPDroyWM+M0K+0R+NXCyrxs0EWybQuS6Dye9QM8pmUc6bmz7irFmE2r5O xqBTd9eMD0DHoXVEhxlNxdRShqYcAoFheoBcuj4RKFEYIgjLUaCp7KCW6CjZAJ0o6P8h IeXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nHZRKKa5VC2rroZMrJXsaZJu5xGDCAS+1BJbOXK8KV8=; b=CUKrxX6MCG4Q1Rzv2jponNUnYz/GCHVCXqBYXg4opzDT35jStcDKlxOvFTyrAEzbVn b4sAyt1uuUAT4eqG72LHWin4AadOoyYRDzHrwMLct5rRyJarpPxfMg4sEG9ySwwCZLk/ CRpGb3MTkCNbdgNFgkfCFKS9iTXXWmMFbjPOK0R5ZsxolwzZAH7HvA3cdGlIM6i2xkRW nuTYFejFqhDms4S5oAEQBQAyL0BmFIJh6E0/VYKxNjfy2FrBdJZhemOq0ij3Z0dPFWqj G8TkBLPNzH5CPEtoA7mPysCjSxfNlkfmDRZ/07jggHb8UjxFVZygoqGEYQCbVDWzLEvC 4iJw== X-Gm-Message-State: AOAM530DJPXcYbys/ZUjFJj3PWpnVmsrfPnWQJrzxOr4B/3tiB7wGDjp iazKxKPgcxKO47xxgSiluhP1PZZmO0+Acdd8xzkJ3NN40nfiFvjV X-Google-Smtp-Source: ABdhPJx6uUafArWnnfOuavY1EQGx80DLvHjlrg7cUebQuFJkzfu/7DfkGkdAlP6IKUYLWjXhU8TGQ9xMEqko3Brf3cA= X-Received: by 2002:a19:5f11:: with SMTP id t17mr33749399lfb.282.1621015541917; Fri, 14 May 2021 11:05:41 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Fri, 14 May 2021 20:05:31 +0200 Message-ID: Subject: BUG: org-agenda-entry-text-cleanup-hook not working To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000008d2a8805c24e1701" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=mick.dauer@gmail.com; helo=mail-lf1-x132.google.com 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, 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-Mailman-Approved-At: Fri, 14 May 2021 14:27:09 -0400 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=1621017117; 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=nHZRKKa5VC2rroZMrJXsaZJu5xGDCAS+1BJbOXK8KV8=; b=Lrlo3LAtyXsg7R93GSQO9xfskH4FSq8Od7Pl25Z6YVSaF+nnoND1XiDlB8gQVYxLFiUrp+ 4WKilV8EA48P+jqKFsHxcrtLkY6smA0bKB2LN5jnEoSQOUQENjptCfeiHfiGLS3NYjxdE+ O4FgH63c2FfZn/VrQyDq+ojcJiRYmvHMM+pjI5GM4NqTcusQ+CyHKjdX4eGqC9sRmiQ/P/ U4k2ePKOnAWAruU56DRv2DbP4V435jbpObEVKYVgPYdC5y/JWLIejVrjUXu01zzs4GClZ6 QW5/PLwEHV7FBjXDw4Q4c6mSKBtgGN4vApxTyn/fPcZyO3fdf9JNBaiDddqQ/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621017117; a=rsa-sha256; cv=none; b=sYFEFsC8+dw2sI3ErpATOieLhbDIFwsf0jPyEKDUVmNTloNjlK2J9MSpxwmEctnNlGj+Ox qdhaDReMawmP+mZQEx9fumekrRmmXcSpE+//I3FYq7aDPZ0pm4+8DkQvcLq6XSl7pY3Zk+ lkyasPhlOsMz/n46o5l/HzSj3Y1UvCEQlXCZsUFMdF1HCe8DpMbX/9k5wCAu4kzNRWApZa yfWWASIFzD78BSnD75yZiGRbSPYrc4o1A2HdYV92WD73MfRwQdL8qiBF+IWydf/ofg7ZQp +VCyo3FWCjMsGaLVELAgrVzyxube780oqsIN2uqATAp6z1yTdxxCAitpelVOoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kXbMXpcq; 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.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kXbMXpcq; 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: D7DB325E78 X-Spam-Score: -1.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: lZgK2cA3tnAs --0000000000008d2a8805c24e1701 Content-Type: text/plain; charset="UTF-8" Hi, org-agenda-entry-text-cleanup-hook is not called when agenda is produced. Org mode version 9.3.6 (release_9.3.6-471-g9e385d Prove: (defun ct-clean-agenda-entry () (message "XXX1")) (add-hook 'org-agenda-entry-text-cleanup-hook 'ct-clean-agenda-entry) But there is no output while agenda is displayed with a lot of entries. I don't know why because in org-agenda-get-some-entry-text there is an unconditional (run-hooks 'org-agenda-entry-text-cleanup-hook) --0000000000008d2a8805c24e1701 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

org-agenda-entry-text-cleanup-hook = is not called when agenda is produced.
Org mode version 9.3.6 (re= lease_9.3.6-471-g9e385d

Prove:
=C2= =A0 (defun ct-clean-agenda-entry ()
=C2=A0 =C2=A0 (message "XXX1&qu= ot;))
=C2=A0 (add-hook 'org-agenda-entry-text-cleanup-hook 'ct-c= lean-agenda-entry)

But there is no output whil= e agenda=C2=A0is displayed with a lot of entries.

= I don't know why because in org-agenda-get-some-entry-text there is an = unconditional
(run-hooks 'org-agenda-entry-text-cleanup-hook)=

--0000000000008d2a8805c24e1701--