From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WLzKBwsti2D6GwEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 00:02:51 +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 WBSBAwsti2BoDQAA1q6Kng (envelope-from ) for ; Thu, 29 Apr 2021 22:02:51 +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 6EEB9C781 for ; Fri, 30 Apr 2021 00:02:50 +0200 (CEST) Received: from localhost ([::1]:47096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcEkD-0002EO-KD for larch@yhetil.org; Thu, 29 Apr 2021 18:02:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcEjS-0002E5-Cd for emacs-orgmode@gnu.org; Thu, 29 Apr 2021 18:02:02 -0400 Received: from mail-oln040092074073.outbound.protection.outlook.com ([40.92.74.73]:11236 helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcEjQ-0005cs-5M for emacs-orgmode@gnu.org; Thu, 29 Apr 2021 18:02:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jxn1+rDoyjVzRf+k20LPNi/HgTG86j6i7fsqphPYXkfYW3h7QPqDDjU+BRtOhh8x/1lKMd99ijxuEzoQ9w/HCVEMSp0+3oQW8lf9lx734auONdSe6OPXK9SCrYz2VxPiQxv7oritPY7EZ2BSWKZDTlzZXcbiTwzE0b0DLveuvs5hVL/9TGuFqX6J7N1L4NPK2hi2UaADq+fCKnF6L6gXIpy9BRfsMSh3ubppGqPhZ/vr1cYnFsVILzoqfuNh5svFNJ0YuzUUFlE0SIDjuMXRf/WlIZdE08TKTZF1DsFAf9YGKn1cnDX6laH2W+yiyhnYSfjROkyyex4iGHEZKncLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ttezxfiAaGvEC+mIJQOFiDP58/WyF+RrGHfvcbU0oiA=; b=ic2VN0HZ+LEeA9sfJAj8WShL9FtNpkK6Ii8mdZcBf8MbEwaCp78vivv7l6wHaN11SRqFn+psMQRay/Ce1e9v9lS2yRUZR8UAnlPoEiWFNmljfsEfeq4kSA9H5nvEv1tB0I9TiK8RLiZLPIr/duSdrHxmkjLAw1C+CJ51jviDUnnExHphgE+Z604OSiiEyJgHKMBJhs4m95rb603XX67h2dPKuefZMEok84QnRxHO6XQil1BXceDWlbXVO00rnNAd0qiCT/M1E4AYSf96b9eBisH5QeJp2hCEeexHsCnlufAm6h8i3rw9RH0OXyHrcVlld3QnTga0eGDVUDn6O1lFRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ttezxfiAaGvEC+mIJQOFiDP58/WyF+RrGHfvcbU0oiA=; b=NENqhaugMgL7aiLtgqcvQK4hYKb2HTsdeVgTJEmks+SIJXqb3ctCIG7mgi9shyiRJL43rVr2j49n0QY0hU5cYQ1ERlmXSH+8XIPGzZJuXMLUY4zFKlod+TNWFMtfjPUtd5i09QtYVx/1Ro9lA20cRinaFobZs5Fjz5ayO0foqVy23vrbAs25dTY+ii3xyIDhPg2h+CwmPIE7gRT6i07mbxo8WkM+zndLSnTZMBlVUy01mbarDHEWJpjVusOJZec163MhxpEkgIVCpqaM1nT6tm7LWQ9M2Hv9IRBWSB8l6cwGFxbxP8hmsuYspRR4n9b13iUkrvn+u1hr3P7pVGtzYw== Received: from DB3EUR04FT029.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::48) by DB3EUR04HT082.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::338) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.27; Thu, 29 Apr 2021 22:01:57 +0000 Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e0c::44) by DB3EUR04FT029.mail.protection.outlook.com (2a01:111:e400:7e0c::67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.27 via Frontend Transport; Thu, 29 Apr 2021 22:01:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:194ABE5C8DB5855C66483D6D2573C39BE29B67F5746D276F7071DE13E418161E; UpperCasedChecksum:DA8199E32894601F274623321768E58EE916581E981E902FAA30FA41A4FA26E9; SizeAsReceived:7440; Count:45 Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591%7]) with mapi id 15.20.4065.027; Thu, 29 Apr 2021 22:01:57 +0000 From: Arthur Miller To: emacs-orgmode@gnu.org Subject: Re: Programmatically set TODO labels per file? References: Date: Fri, 30 Apr 2021 00:01:57 +0200 In-Reply-To: (Russell Adams's message of "Thu, 29 Apr 2021 23:20:22 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Content-Type: text/plain X-TMN: [OyVGUHLlOnm+tRJ6WtWGNwmSFOPc/FwX] X-ClientProxiedBy: AS8PR04CA0003.eurprd04.prod.outlook.com (2603:10a6:20b:310::8) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82k0ok4une.fsf@live.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from HP-Laptop.homepc (81.232.177.30) by AS8PR04CA0003.eurprd04.prod.outlook.com (2603:10a6:20b:310::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Thu, 29 Apr 2021 22:01:57 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 0f57e0f0-85fa-4642-55d9-08d90b5a6864 X-MS-TrafficTypeDiagnostic: DB3EUR04HT082: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V7Xp0jlcz+6YRcfKCWU0tq0bVUWmZBarV0DRl6VSkfmJ0RS09I9MKMgvd9KLqo7HjPbdEjtxCeFSORgU3aAQQ7IgnkTDftkqjUp8HX/oGJu0mmVVOYjzYLXibWjUvXz+cp9TUV7fKohPEHyFTgAsDIHGqVH80afJyIoh6rW6+irZ6cvwlkQ71/j0TFx+NZUJR4JbDYt5cDsEjFoVoGzUhKfZmyR7ciFYe5nZcxrxb4lvG8oWs1PGjkWNIC6UDpKnqUeNsSkcfdJYq0K2DMUhe21LU0vAtvfYRoa+svLqiqgDC3yOtpiVBUH1HwxTBvsWdgNgY8g/X8UU5jnn+W9oGhSg8B+pNPXkbnyY14govCXeknmjyoKBEta7FVWf2o7nI5BrF5lNi2ouKdPV8I/nk1RH6DkRSUBALr6/DWddON64OvP+wm93pFBP8cy04ykxZpj/H9XEBJ9aA3mxPmN4Fw== X-MS-Exchange-AntiSpam-MessageData: PuIsuULISGg+pJEMsnzBg/UHfVv/jGbw72jU06Rx0N/zK4r/gIrWJBG7CaWZVAMHRWLbjjlJPYWbq0SOWur33GaFTYUgTc+ZI/eB412s/F54mDu25Z+bEj5U/vc8MqvLtDw/bbPpudmlXiOb6vMb0g== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f57e0f0-85fa-4642-55d9-08d90b5a6864 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 22:01:57.8523 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB3EUR04FT029.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3EUR04HT082 Received-SPF: pass client-ip=40.92.74.73; envelope-from=arthur.miller@live.com; helo=EUR04-DB3-obe.outbound.protection.outlook.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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619733770; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ttezxfiAaGvEC+mIJQOFiDP58/WyF+RrGHfvcbU0oiA=; b=MGigNui1UsxLvAyoka5AcvQfdr9YDupL0BEjWV9hzis/xGGAoshYK11d0Ef1JIo1U5DVbj gu5lYld8zdtaS3mkpzTlvVOokqvECsp0hly9RKl65OcXuqb6Lglb99rJr+lrpY3qnwYMqw jg1auafGOqKntfgtCpy0Smiw17xvlLflOvM771iVlv4mxVPoygKv9GO3dsMRagTO3cTCtd Hrt+eWid82ISpslwslfFfJSdgQWcwBE6RAxA8P41a3gaTmLXkpLxOKQtXTkmKF1mwTPegs 4Pp/cL2AjqEsu6s9Nc1oGpZueXuy/g/5SAgynBd1Wuf8uynjZymIxR+lH5nQ1w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1619733770; a=rsa-sha256; cv=pass; b=RTcTjpvQODohZqmgUDHCuQQPydnr/oz9OZ0kX9dpaoBK2KfPot/PYzP/O4oJGUGr8Tgre4 LXmifEhtU/xawTTRp5ePl8n0tATitDN1Z7bTDvroyZN7u7vB5G8dmsjlVlisktLFQwug6h ywd5ojlHz+zcubdehKhEQ8m9vTIqX/sb3xe0Mrb3fXnaXhoyB1qTiOVHOc17ZowoN4TdeB 8E4+lWK5rcpG+JFvbroQXdtvDM+1azQvu9iKu6jyaO9b4uPBgv3N7dUIeFfH05bRA9ideO TgtuPthiXH7O6FKKldDmOw/2kIzrhKMtrtoA8/tDQaJnGD11AIAnnRp9U5CAYg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=NENqhaug; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=live.com header.s=selector1 header.b=NENqhaug; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=live.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: 6EEB9C781 X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: WWiHJWBkptvo Russell Adams writes: > On Thu, Apr 29, 2021 at 10:49:54PM +0200, Arthur Miller wrote: >> >> Hi all, >> >> I have a simple question, but I wasn't able to find answer on the web, >> so finally I'll try my luck here. >> >> I know I can setq org-todo-keywords with a list '((sequence "TODO" >> DONE")), as an example. But what variable is used for per-file keywords? >> Once that are set with #+TODO: ... line? >> >> I guess when org mode parses a file when starting up the mode, it has to >> parse that line into some var, where do I find it? >> >> Thanks in advance! >> >> Best regards >> /a >> > > https://orgmode.org/manual/Per_002dfile-keywords.html Thanks Rusell; but I have seen the manual as I wrote. I am aware I can use #+TODO: syntax to set per file keywords. I wanted to do this from lisp, since I can't use labels with multiple words with that syntax since spaces are used as delimiters for keywords, but I can pass strings (with spaces) with lisp.