From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HcHI3qEUWHIuQAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 10:44:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cFm4HnqEUWHjOwAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 08:44:42 +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 3E01C379AD for ; Mon, 27 Sep 2021 10:44:42 +0200 (CEST) Received: from localhost ([::1]:49560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUmFc-00044j-3s for larch@yhetil.org; Mon, 27 Sep 2021 04:44:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUmFF-00044X-28 for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 04:44:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47574) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUmFE-0005Rw-Pp; Mon, 27 Sep 2021 04:44:16 -0400 Received: from [185.24.184.132] (port=32484 helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUmFE-00067X-Dd; Mon, 27 Sep 2021 04:44:16 -0400 Received: by hal (Postfix, from userid 1000) id DBBB11E041D; Mon, 27 Sep 2021 10:44:13 +0200 (CEST) From: Bastien To: Christopher League Subject: Re: [PATCH] org-agenda: Allow org-agenda-overriding-header to be a function In-Reply-To: <20210812220934.178834-2-league@contrapunctus.net> (Christopher League's message of "Thu, 12 Aug 2021 18:09:35 -0400") Organization: GNU References: <20210812220934.178834-1-league@contrapunctus.net> <20210812220934.178834-2-league@contrapunctus.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 27 Sep 2021 10:44:13 +0200 Message-ID: <87a6jyqug2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org 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=1632732282; 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; bh=4kKqNT5B9zi+AMODfe/21JDWSrSL7PVpmrgvdINC35U=; b=liCoeuqPAQknrt8IfcoLJqRJZzs4f8S90S07ElOIsWjGbrPtfQC9E29OWM9nIwrt2M7FXD QnlPVVgawVtXxdkV7FalRCZf1Fr3JIYGEJX6M7EUhbDlwtELYGXsAaXNW9fxDmmTOPcdcf v7oYY0CjJR5Pw8vgOvUqc4CiijA9qCSb6P47bmal2JIDsTrKj4Y5mRE/8DfPzvBoaBVGUE WOqofmlL8rz2N2mnXrIxTSUCnB2qyk1N9+RxxbgYoVJPd+wVsvucEqxBFEX/e1bI25YfYY o/TQiqHve6+urhutAtR6P/c35R0SVTe0L8XVF5xVAmD71dni154gKiOTpdnYjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632732282; a=rsa-sha256; cv=none; b=hlgxQkx+aPshpUTnN1fBNybqEIjA9+rt0YVOByOZI4DzCHu4I49tH1Odz7n6MFkkqRVC/I jP/+oXLDbiw4Z/vbTYcoedaxuJKefZvUiapFNjYC/7x5K31MFduHS6XRNdWAALM1Lr4bwr lDP7vEp4XKJ77Tv2iiz+jM6RrSa/W5eJI4z1BzHyhlpuOoa6+hHgCSXP6NG9tebOzfZIno zgijFWA/qUMji4ALX4kjqZnaDgVIRxp9gukGbogZYc9AO63mzUwuBBuxCDCPT5tYE93ROZ 0LprbB8gx6Uv3LikMJWbad63GvUuHLYgB1a9P0a6oK/Whs1GUrQChI5lBXfiXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -3.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 3E01C379AD X-Spam-Score: -3.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: Fis4ffpGPSbw Hi Christopher, Christopher League writes: > * org-agenda.el (org-agenda--insert-overriding-header): Allow > `org-agenda-overriding-header' to be a function in addition to a > string or nil. When the custom agenda is created or updated, call that > function and insert the string it returns as the agenda header. Applied, thanks. -- Bastien