From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +H2sI0psKmWhLQAAG6o9tA:P1 (envelope-from ) for ; Sat, 14 Oct 2023 12:24:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +H2sI0psKmWhLQAAG6o9tA (envelope-from ) for ; Sat, 14 Oct 2023 12:24:10 +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 ECBFB5F98F for ; Sat, 14 Oct 2023 12:24:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nX7uoewE; dmarc=pass (policy=none) header.from=posteo.net; 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-Seal: i=1; s=key1; d=yhetil.org; t=1697279050; a=rsa-sha256; cv=none; b=ecoBryQf1dc655CNiShxBCGrsuYmDvIlltWDipMGafYzNERB4uL5kcZ6h2EIjhiSmtqaBe HtFS7BM6K5OpflB/HCnL87zEejMGb6H9GL9l2VfxZcNQImT+18V/6OLBZHrIf6/uYWfkWW cwlTJuwNmCVxZmI0LSpUmsdIAGO1bGIQm2Ull11k1NmgCPM5b2mZHwgWTpQrveQsA8H2Jc 02WJ8vy5Rab5heUaMT0I8SMa0+VDwEnNch79cW2lsVxp9li0VMQZBA4lqbq2AqppT2P/WZ MsJ8KDTd4S8B45iljUgO2vUt05JdKwxX1mPWUdd4rI5GF1saYyqq5wbn9S3EGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nX7uoewE; dmarc=pass (policy=none) header.from=posteo.net; 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=1697279050; 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=33sSu7vx0T7J1e5Qfn09063BmFkE3qE9fI16k45aJ7Y=; b=bTFKkK4TXLIkvxomQJ8IICP+Il8WiH8CwvTq3etuVXYvwQ26m1TGpLsqUVSgrbdHZF3YlP bO+4Y6lllxycQ3i6XecVlyeRHk1aUrAKFWTGA0F1c4KLyAAdsChvZ4nBQkOWvKq2m567cV 01qEFzNVWxoScyUAbEviVY764Mq29OyvgLDwu7aISus6XM6E+uQG2rbhMyzuva9R3CZfPN DNwxFntMCxHbR9yXpSymZt7k/2DtvLS1HmVwVPLIAo6n0gQGK+1csk6o6T9M4EbZuyI19B hhQsQ0icMrvYN3ASwsISHP27qi5Qy4+RuSrrpm/FPn+AlVtDfROi6bxn3jSqbA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrbna-0003Mu-61; Sat, 14 Oct 2023 06:23:10 -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 1qrbnY-0003Me-LM for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 06:23:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrbnW-00082D-Df for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 06:23:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2F33E240103 for ; Sat, 14 Oct 2023 12:23:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697278984; bh=+Fu5ivLQp3IykRy/gh2lqfw2d4rdC0Jde6+EYd2N/ws=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=nX7uoewE/EfMReHeD0stM3mGrds3pdLRUGSGpfnDmfsXzwRoCcNk8We/6UQ7LYfwS mtAFw91V1oo12019Z7r/xQd9PTAjoClfeRQxdt1QqoYSumU5lCoZfi4cuiRWvEWtyB 8WOzGAaY9TPeBmzz+MYOCMfFMrS4olNfNFHzLh8Q2HZr7m30AMRFgPwA3DPRBW1WlL i5H/cyavBLouqCVIoVPls0cO2/ENFGlWz18NN8FhrCzjKq2XqDPFJZE+eHxSyAQbtQ 8M6mWeSC7tMukBpgISzTHvmGjFHC4FGEczb9nYJk3bpPXSAOvjMK3PMxS3zEKMhOUx hXUZ498DWod5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S6zwR4QNQz6tvv; Sat, 14 Oct 2023 12:23:03 +0200 (CEST) From: Ihor Radchenko To: Cletip Cletip Cc: Org Mode List Subject: Re: Add new word before an org-agenda entry (like "MODIFIED") In-Reply-To: References: <87fs2gkqzk.fsf@localhost> Date: Sat, 14 Oct 2023 10:24:50 +0000 Message-ID: <87lec5bix9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: ECBFB5F98F X-TUID: EP3onV428M0W Cletip Cletip writes: > I know how to create a custom agenda block, but how insert this ? Can I > just have some leads ? No, I did not mean custom agenda block. I meant custom agenda block _type_ (just like agenda, alltodo, tags, etc). Implementing a new custom block type involves writing a lot of Elisp. Basically, you will need to write a custom version of, for example, `org-tags-view' function that will collect, insert, and format text into agenda buffer. It is the most generic, lowest level customization of Org agenda. After you have such function, you can use it in `org-agenda-custom-commands' as ("key" "Agenda name" my-custom-agenda-type-function "Argument passed to your function" ...) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at