From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QP59IEvEX2KZWgEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 10:28:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aGNzIEvEX2LSxgAAauVa8A (envelope-from ) for ; Wed, 20 Apr 2022 10:28: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 07C892164B for ; Wed, 20 Apr 2022 10:28:58 +0200 (CEST) Received: from localhost ([::1]:42566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nh5hp-00068P-Gf for larch@yhetil.org; Wed, 20 Apr 2022 04:28:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh5Qi-0003TH-Ul for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 04:11:17 -0400 Received: from mail-vi1eur04olkn0825.outbound.protection.outlook.com ([2a01:111:f400:fe0e::825]:1856 helo=EUR04-VI1-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 1nh5Qg-0001rb-Qf for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 04:11:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOv7oxXaKEX7N+jhbWT+dehYglnLM2Vfg6cWysuSxlmzcS5bfpE6kaE7MjtJy1jvySx3pYlkERjHsvq5STAFe/DjcnLSLsE1OfYjZdY+yA3njhUamSWumiEt9lTjXWqtZ21Vkpk1pfyiWPkpvvsRcTo1WWwB1I/hKZaWJBxHBxBR0vhV4IOi67WBSJcHLznOhpiMxC1+4xQPdK9W/Tp7GE6hhdDnM+O2t6Oo1J1EfX9aPFMp0/+pUkgbyl3ilL42bIK3+JTksB34jK8EinJDDRHHjJ0qVTYK2XKZQ4RewGgJjJ9Zh77vO7wvMM46kVnbrAAQO1ksj4CGtKOWEUiq+Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EECSdLnz4VnyxlX50AZVpbVblKoHrYAIvMrVFPlFLDU=; b=Q0zzHz1T6mELW9MXZNLcVF2GhAXJjOhk8vLhn72pjUTS8a6kzRQxyqJFE85EekJdGI0cqmCJK30fC6FVCbZrj1q3AWMtANsAtqagGP9zw+AesSGgXtz01NZkpTFxd5P3B5RQe0skmCP4lbfCapE/DmBmR4bRs0vS/QxZ3T+qEUEPlWoUzph1RcyXU5br2icMA7/E9D6mLx4hG776bJPBD4d9tctmUSKJ1JSENopA+SuyZa5b8orFtqjzrkm9yta7xucMUfOVRtzcxd5mG/sL73Log03wbML+krHIXWN/BmsWZZiysEvGZZ+l/u1aUjU7ni2ilESCgqiFnI3tLE4cxw== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EECSdLnz4VnyxlX50AZVpbVblKoHrYAIvMrVFPlFLDU=; b=cwSwDOg4wabg7j7xR1teLadn4ekMqccB0aOCO4MqWUrJNj5zO/EUBJS8vPdiRvJnw5fuKVLBryBCQtHiQPs3meIhr05K0xPOMC9Rke3I0lm37iDtpo+QgPNa3b9xegULRlrVjm2+qBHeoP7ksi1qV21V+gAvE4BR2PWG3nKfrcZttZY1JqzbAocYTLemijSV3gdu9EQ3Wj/XN+KbC5vqCqj0g755USItT5WGIm5BpxOyqa3hb8ZG8JB2zKdUFI6CcWUkYwMx/6QlV8tPu6kvYa8mijVJ5nencDNZwGyIBUtYny74ZsSuro1y5F5umLA3+taMHeaLGxmR/FTCIjqnqg== Received: from PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) by AM6PR06MB4786.eurprd06.prod.outlook.com (2603:10a6:20b:34::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.19; Wed, 20 Apr 2022 08:06:09 +0000 Received: from PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::f4ae:716:8994:1b3]) by PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::f4ae:716:8994:1b3%7]) with mapi id 15.20.5164.025; Wed, 20 Apr 2022 08:06:08 +0000 User-agent: mu4e 1.6.10; emacs 27.2 From: Ignacio Casso To: emacs-orgmode@gnu.org Subject: [BUG] (org-agenda-files) after restrict agenda to a file [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)] Date: Wed, 20 Apr 2022 09:33:21 +0200 Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [fmqN4lUjEWkKab7FSnqEZZRC9Pdtp8V0] X-ClientProxiedBy: MR2P264CA0001.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::13) To PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) X-Microsoft-Original-Message-ID: <87ilr489hw.fsf@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 02bbb5e0-e2e1-4847-c2bb-08da22a4a053 X-MS-TrafficTypeDiagnostic: AM6PR06MB4786:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SD5TQkMJuWLDf8cPlhz4NumZ3ClK+pjqifFoQKUrvDPLtTj/mvGwb3jYkjJ1k98Z6s8MpfE+HGng8SG4NKL7sugEHoCHBF4k6MPUXWUTMjz+WYwtsWbTKqi3hhGzl7lrlHmDubTlwbdFBRM374DtznGeQZ9kvIdyVPdC3qbxo5NFYKF8M1u8d7RcHiX6ThW2w9pnP5KETjnZLczMVmxWrpKsVSDI8U+x0d/WiZ0yvs4d9saT20B+Kp4zoRtFRuq1sdIlCrUvjDlEfxMHUaqzbctDMEl2HiGU7M+tc8vFbLcs2zac9gjWspyZlJo+JC3Y2epdyZmDKeM5jydlegkkJqHAMPBv/hTDnz/le7yW0Hyqt4R/tiqqE/ZAwVgweZxI0MF2R5tD2LotWDsuvT+0i4/edywJcZdvKsz94Y3bPTZIXEAZ/FVN3M31O8Lejay0PWW1Y3s4P238POwaPZO78EMPO8kseCeiNfvbq3r7PWna2oPvFE+XsePMf7G9BddqCCSuw4eyvd7HLSnOQJVeeDMfayUzWuHhPhbVIgDQldUTDKXoMagXaCmr2aMVwIKgxSl8Mw4fV0x+aELoiM4l/A== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aE5RajdCaFNrTHVCMktKVjVDUEJ3ZkZ5aTRqSFN0MFpjalQzRklyQUx4Q0pK?= =?utf-8?B?eDNocmFHZDlnbVlDZVpETml0dWQrSk5EWXMraGdodzE1MkFqVTZISEVqN2Rm?= =?utf-8?B?RkZxL2RVUWlXSUFFV3IvelZ4amJBa2hOTWFmc0tEallNa0xqdUlOdXUyanZJ?= =?utf-8?B?cEdMd3plNk4zMEozd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-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 02bbb5e0-e2e1-4847-c2bb-08da22a4a053 X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB7760.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2022 08:06:08.9608 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB4786 Received-SPF: pass client-ip=2a01:111:f400:fe0e::825; envelope-from=ignaciocasso@hotmail.com; helo=EUR04-VI1-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, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650443339; 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=EECSdLnz4VnyxlX50AZVpbVblKoHrYAIvMrVFPlFLDU=; b=b23RXqpAMga72uZ0eTpUuqv8mj7GmRPd36wj8Q3pvNhrI/f+LxvlaJBED27lJC9IuqGTbe aSRMRVz/SUpXKms/aXHSJei3EymXsEGQMtXQNpb4KUtmoXRMK3ZgbY6ZF5YL7WuPOhKtmd BLrOav/WaFPMTUZs6br/YIf8hnXHGB0WbTY4Vy72oPOlAAW/ocDduODZ/tyI8AU4p8BaOQ ObDMqXo3BGi7c9+YE167K0Q5MZpp34biE1aN82cJl/Zg9q9AYFggFdLfCnvE+JtjPVG9ea f8DBu1TUHN8DcQOn0fqyO8yGzV8NSxKAUd9z3eEfD6KXE2m3BSGUmPGCzmYsJQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1650443339; a=rsa-sha256; cv=pass; b=WB0RaOKUAS+/lLqsqLLCyhxkdQlQ0UIZwS5OyAc1k2U6lxkEThIcShuXTtqB13wfp2v/Mu jgaVoyaovkburRAOM9K/kLsp0joU8frgDGsHDq4yRPyYe0ZE+VW/acsTdaROFm1Hs3QAY3 Wb/GSyCfVCftjDaEVXSPsebHKdGp4iAIx22B9Wp5Hbjz/73eTErIvMjquvEuEkeOxildx4 dZMWblvND9lFPNpJxkM8Gqq1U+MT/rgBusr8WfRlGj4YYV7VkeQPgrNW9qFls1LigBk8kl kRStn4uDRv838wahu0fX6ZH6Xiqmj24JB5a2p+yiavedseyMOy62H9AGLDVZqA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=cwSwDOg4; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; 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: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=cwSwDOg4; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; 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: 07C892164B X-Spam-Score: -5.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: EF1/ewy5zeP+ Hello, After restricting the agenda to a file for a single agenda command, with 'C-c a < a', and exiting the agenda with 'x', (org-agenda-files) still returns that file instead of the original list of agenda files. This can be easily solved using the UNRESTRICTED optional argument in `org-agenda-files', but I wonder if this behavior is correct. The docstring of `org-agenda-files' says "Optional UNRESTRICTED means return the full list even if a restriction is currently in place." But as I understand it, the restriction is no longer in place, since it was only for the duration of the agenda command, as the Org Mode Manual says: "If you would like to focus the agenda temporarily on a file not in this list, or on just one file in the list, or even on only a subtree in a file, then this can be done in different ways. For a single agenda command, you may press =E2=80=98<=E2=80=99 once or several times i= n the dispatcher. To restrict the agenda scope for an extended period ..." *note This is probably a minor issue, but since it was the cause of a bug in my config that took me a while to debug, I'm reporting it in case you think that something should be done about it. In case you are curious about my use case, I was just doing something like (eval-after-load 'a-package '(setq org-agenda-files (append (org-agenda-files) (...))) Regards, Ignacio Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20= ) of 2022-01-16 Package: Org mode version 9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elp= a/org-9.5.2/)