From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YC3sEr7aX2JlNwAAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 12:04:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SOriEr7aX2LocgEAauVa8A (envelope-from ) for ; Wed, 20 Apr 2022 12:04:46 +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 E3AB6847A for ; Wed, 20 Apr 2022 12:04:45 +0200 (CEST) Received: from localhost ([::1]:55180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nh7CW-00089N-FV for larch@yhetil.org; Wed, 20 Apr 2022 06:04:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh7BC-000877-U7 for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 06:03:23 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:41473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nh7B9-0001vE-Ra for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 06:03:21 -0400 Received: by mail-pj1-x1034.google.com with SMTP id z5-20020a17090a468500b001d2bc2743c4so1583893pjf.0 for ; Wed, 20 Apr 2022 03:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=1ARAlwonw6AC5IwCmOXOMhJv9la6K4WyAbzEetb9mIM=; b=nlyy5YEgHlUCkZlCCS2BsFJD+AE8YVv0cWsdddW+GFSoQVzdiLwdMW9LSZrDwyTyVi 6IiYTFsZoBSkgvWYrvL3XZ5tgI/8FxhL0m+0U1DFX9YUR/OTXXn4TgIhCihz4OysUmzF LMIygYhRSERLYlbKQhB/sOE8pC1qnXoVYyz/3MC476AKebPL+LyGKEGQKRfOGEHYNtNv QioUje/S4MNpNKGBZ3jt4b0YBchp5wnKVDbAZeGTFgnDtQ0866M3XhicU6u5EQdELEXw mLJHUtk6bOcYdPOFNG/aD0WpBIFCd3bGsRTZ3uw2WA6752FRWbrsjnwizNr56Nw+XfCW /aPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=1ARAlwonw6AC5IwCmOXOMhJv9la6K4WyAbzEetb9mIM=; b=cMDus6MCuTMw5nio04ByvVcL+phQMZ7SuCvYokEixvjn4W7kMk7vZUskV0CVl4BKYX mYIHwZFISxRur+qUn1Pg541GVOv1hFbJHryCBLShGzNmPa8r1BhvL7I+upHko2tu29Bi 5sXXWzXG8mi/T0Ox5YLUqhK/y+zSE+KxRBlTJNPORlOoV6fZAez4oTbB1rJSjQRPIMdr pkv2dPQ/f9mkvLOsnpAV6HxGezWwlX0XAZ3Axaqh78KXJyFwgsp45MhlgNke+GW3ojLU aa2/C7OwrSKG+3Y/5xdpH2shy3T/B9dTEBCEAkerra/9EBN+7opSt5okN8ERIGj4dOKx jFxg== X-Gm-Message-State: AOAM530t1qgdemJDczTDyulOQ1LlVNlbmmD42+e2Ot10qI8m1BtqTQ/g 0UtcB+0uGtck7KSr4GvTgpY= X-Google-Smtp-Source: ABdhPJze+rXTXsXKicYKM0sRcWjUk0RETcSDKZR3sGC0KpwxISjEazV5WeLVJR7CGX6OGfPrhnZZ2A== X-Received: by 2002:a17:902:bd89:b0:156:8467:782b with SMTP id q9-20020a170902bd8900b001568467782bmr19742107pls.12.1650448998164; Wed, 20 Apr 2022 03:03:18 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id 130-20020a621488000000b00505e6092973sm19116410pfu.68.2022.04.20.03.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 03:03:17 -0700 (PDT) From: Ihor Radchenko To: Ignacio Casso Subject: Re: [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/)] In-Reply-To: References: X-Woof-Bug: confirmed Date: Wed, 20 Apr 2022 18:04:10 +0800 Message-ID: <877d7kysth.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , Cc: emacs-orgmode@gnu.org 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650449085; 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=1ARAlwonw6AC5IwCmOXOMhJv9la6K4WyAbzEetb9mIM=; b=WAhFfb1s5w+XDM0FSd+0zwVHDs4sMNKzAVtRxTT65vdVKo7pX3DKydfdqRRHXyTRzwmxqe 0WJjSNG0+S6tZ14cbStk/fuLqPageAIp6IJOpLXgAtg06c0zVmY5V8wauV0EMSFOcmhKjW DA/WweRc551YK80qvBn3EQGNDt9lYGF1ktfu/C0XnSJPOlTVviK/IiqWqaktGqLuFsGQ00 PTc4vz1h3Qw8IqxQ+5tnfaqcOZSvRryPODA71tANdouNYgE5+Yjf2LvhOMO0iFSf7UMthy +f6Ondc6WRmmTFzJwWT0Grd/Z5zazAgt3vVhzR36viCMmfgwmDA0LHx2AYv8Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650449085; a=rsa-sha256; cv=none; b=V4ntT6ALCHjwfh/mX7PTZOu6unGXqR1WTwVu3a6H2M07EFidKpEoxY54tCaF8rQhawXnTC ZDc4Sql9uxBpFyePDhccmTn3gmcxtRrFgIIjg+cb0D/F7uvBxp8bdsoaBe8wFg3pI2gerc 2w3lXKAusoW16Fr0iBtyHjX7SsTS+aH+ZFT9Edp7epZ+t2uHSAk6yepa2HnbWf8P9+G47W f1qvgrNQ3A4iy3fufbzD60SdwT6JbgND7Ty3GBdX8tFzsdpY8vyps02FXI9pPvW3jPMTyf yoOCtXMSPL4LdfmD9nuHH4aCMWzY83C7kDeAENNS3sDcrKSnDgBNM67GdRx9mw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nlyy5YEg; dmarc=pass (policy=none) header.from=gmail.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: -9.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nlyy5YEg; dmarc=pass (policy=none) header.from=gmail.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: E3AB6847A X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: xyt5UV4kKsh/ Ignacio Casso writes: > 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. Thanks for reporting! Confirmed. > 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 Honestly, something should be done about org-agenda.el in its totality. It is notoriously difficult to debug :( Best, Ihor