From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id fge5Nd0BYV8AdgAA0tVLHw (envelope-from ) for ; Tue, 15 Sep 2020 18:03:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SPNxL90BYV99WAAAbx9fmQ (envelope-from ) for ; Tue, 15 Sep 2020 18:03:09 +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 2AF3D940654 for ; Tue, 15 Sep 2020 18:03:09 +0000 (UTC) Received: from localhost ([::1]:44470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIFII-0006PR-Un for larch@yhetil.org; Tue, 15 Sep 2020 14:03:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIFBj-0008MV-BK for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 13:56:19 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:36831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIFBg-0000GP-O5 for emacs-orgmode@gnu.org; Tue, 15 Sep 2020 13:56:18 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d9so2403903pfd.3 for ; Tue, 15 Sep 2020 10:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=fRgP0vLL8EG2kk0vD3T0STjuBcGwOoBN/hAP0uj4AGc=; b=srOiQXiX48pWE4XfxasW87VE9dLYnilP5CCNM3Hurz4dPYL/bVQpFGgXX85KAJcw+8 2cgHDaMMqsus59YoSLJzWPZCSgl6Fk0dkrdhl+v8+dw/XNcsruzdi7SdxdCOWNFE79Cq R29Tzk+ZyaKLbR0cTiGspfRibGPQbz1fflJ1Z+gUTwjJFP+ZmBXq5A/8HVPZqCTre3B5 NMFoU8IA0982z31io/QsY1Hd1+cqYztWAx1p2LN49NcQyctevpIu8YKlxthb2YWkWfTB 020SU5LKS8bNKLQCxLz+Z/qc7e2LCjBlPbrB/6IMKoqsBWVPX1PreAuWJeOuqJEFEZ/C JDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=fRgP0vLL8EG2kk0vD3T0STjuBcGwOoBN/hAP0uj4AGc=; b=mjwzpAMrEYgzrIzUbn9tPcjYtribX15KTULJjjUqXPVG2zyOQuLUtLqOE3X1gn0F/E ac/02zn4EHQ0XVdv5h6NbH3vFBhdV1tWbPLXsAY23lyrDoiZ2/1ZQ8oMF1U9YHksngD6 I//tDSsnHywof/+dH3xFUxQyuzeM4bvuA8cblkV2yKGq6/GgHloNRu3/wLdIyrucdqin tp0vTW4ermrPPvepZY2CrwqrJJJVo7bLolGT4vqjde7NWEoioGfP2F3/jSN94ARKi9fB k5qBqYY6drAIzehs4RZWI5/VkMRuF0WvNWsKyIml9/8rGQTt8jgOKLUmfzi5bGnOUTYw J52w== X-Gm-Message-State: AOAM5304u0Dw3+Cvc5dvLl6uXMZlbzLzuLd/AgzDTO6qPUTdaJqTIaN/ zf05H6rXU4sDt75kJMseCCpdS5qXdUJGEg== X-Google-Smtp-Source: ABdhPJyjrDVNcWT9LB/EYS2tUiITgzZibBCVXaSmQhQAdX9HfWG/sKtcYbHs00P05dmgO7fnvuypNQ== X-Received: by 2002:a63:c34b:: with SMTP id e11mr15290639pgd.25.1600192574546; Tue, 15 Sep 2020 10:56:14 -0700 (PDT) Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id i17sm14148186pfa.2.2020.09.15.10.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 10:56:14 -0700 (PDT) From: Allen Li To: emacs-orgmode@gnu.org Subject: Bug: 9.4 Regression in handling of empty #+TAGS: [9.4 (9.4-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20200914/)] Date: Tue, 15 Sep 2020 10:56:12 -0700 Message-ID: <80y2laly9v.fsf@felesatra.moe> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=darkfeline@felesatra.moe; helo=mail-pf1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, RCVD_IN_DNSWL_NONE=-0.0001, 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.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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=felesatra-moe.20150623.gappssmtp.com header.s=20150623 header.b=srOiQXiX; dmarc=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-Spam-Score: -1.21 X-TUID: fwAm3vWISj7c Previously, placing an empty #+TAGS: in a file would override org-file-tags for the file. In 9.4, an empty #+TAGS: is ignored and org-file-tags is used. The relevant code in org.el: (setq org-current-tag-alist (org--tag-add-to-alist org-tag-persistent-alist (let ((tags (mapconcat #'identity (cdr (assoc "TAGS" alist)) "\n"))) (if (org-string-nw-p tags) (org-tag-string-to-alist tags) org-tag-alist)))) This regression is undesirable because I have a set of common org-file-tags for most files, but one particular file where automatically detecting the existing tags in the file works better (the default behavior when org-current-tag-alist is empty). Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-28 Package: Org mode version 9.4 (9.4-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20200914/)