From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uDssIdyPAmXNFQAA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 06:45:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uDssIdyPAmXNFQAA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 06:45:16 +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 5A4124648D for ; Thu, 14 Sep 2023 06:45:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tianshu.me header.s=fm1 header.b=oFZ6AnKV; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=pez7LA1h; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694666716; a=rsa-sha256; cv=none; b=aFKJXeXN78LJJtSnrqcFc7Y7elm/blKQIjBBwHRef1BDYvET2yrFXlohC8Bygj3gsf8dZv 4MRE5JsmoASwdK9FEQsB7vQe0wN8M3fZbccpagd68JIFoZyrmLB2hH0TW3n0qP7Lb9lFNI DFO1QKS0/1fWQcKStaMtyJlgChNbZSTIZmtGDE4BlNY0sgBDmQU8Pch6lStaB4xwl3Hwov 3cB6F2YZnTtzK+PDsqwLI72cBSlTrk5ohGthu7O7v0EUb1zCR8Uwj8bFTAfM+UxVzfp7CF lUeQjt+SfIC+qBKLs0SZbM9hCTTEWlcWz7DWPCb4sjihn2aGdopF9LQQ49cPQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694666716; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EGBXI4KpAVcBGUiTJNqzOOxZsGHgYXUVt4AodGK+96w=; b=p2S1NFjV3TN8Qhmh9PnqvM9GlKfvDhgTtquVms66R4V50JD0QUy3yWu3yRXZ/3TVb00gss 0cvS/IOYdWzEsyc4Hz8xrvlx/TLEe7J1RkQTGMk4TVXQ8xS1lrjDeoh/m+/LmmUGAbsncC QfLJAtgA7QsWJ316Q26m9YemCgRqzTKTd/c9C8gXe9sjL6WCy7YYbcEuyy9MnP85CoymM4 L2iB8WM66UG4D/SjPWDYZSrMvLAqVIiqlCEtx1x0pt1G68QJxgAUd641R9/mVq2ljRCuOQ jyTw5ql9Ypf7FLZoEnRLdR1duMgWOP4AjE+kYR+4pNyBXxwQyD3pDXPUpBYxRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tianshu.me header.s=fm1 header.b=oFZ6AnKV; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=pez7LA1h; 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgeD4-0005zy-Bw; Thu, 14 Sep 2023 00:44:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgeD2-0005zY-Lv for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 00:44:08 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgeD0-0004ZO-SD for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 00:44:08 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 734B15C00F7 for ; Thu, 14 Sep 2023 00:44:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 14 Sep 2023 00:44:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tianshu.me; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1694666643; x=1694753043; bh=EGBXI4KpAVcBGUiTJNqzOOxZs GHgYXUVt4AodGK+96w=; b=oFZ6AnKVau8KjWjrlTDFPUWUuBY2Tf56vpFVkqgLU wQsGUgxDQYIDZAikirqH/JqJkD+233fhsIxrGLEKWHn+UpcDE+AlJEkuuVt0//MF MZemjMyuxkGs2CT79zUCrGrKzZslnyjDtu3/zHNcUv8/1/MRdfBN3YhUD1xYiH2K kMxw/pieYYzPma22Te0fIKGfx/1X9utvEzNPlSj9PC92aRuH3QciQXmUV/4ge+wf 919cgHJXml1GknIMfjc5ZLbihLX7cy1VU549IYW9hM1vzPRV1vh6pdGDuVEF7qPV 93P1GiTiHqEA55x9pPGfP5spXCdxS0rlTbMSqKySpCpEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1694666643; x=1694753043; bh=EGBXI4KpAVcBGUiTJNqzOOxZsGHgYXUVt4A odGK+96w=; b=pez7LA1h3V7nD+gEwoV875Tx6f4J43gKR9yYE5fphY5U61AWwwr GMTY23vgtMFI1TYcFu4RpzvFw/6Ay3TG59Rk114YXKxi58/NU3eivjnsWyVj934J MaSe2ZjUE5XsNEQAz9o26ikiex9C+aBLRsjTvznPre2/IsBfJWaEReg27zwVHrJ0 9nDHEEPfCw8/2U9GQgOMTliLroidf06u8vB1QywK+d3ZlWfQ2SPwUGiZc/aI9Zjl 5Z+XO7RrQsl8z6LIQ6uaMNbaeV5TJIAVSf8wkXLNcA3ZmNfQU0Jr0YmnHdOpmOOX +aO/MZiB8MOqbqiCcuiZTX4TMG6UvAYCB2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeiledgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomhepvfhirghnshhhuhcuhggrnhhguceofigrnhhgsehtihgrnhhshhhu rdhmvgeqnecuggftrfgrthhtvghrnhepffeuffetfffggeefkeetveeggfeiudekfeeugf ffueevhfevgefftdevueeitdevnecuffhomhgrihhnpehfihhlvghnrghmvgdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeifrghngh esthhirghnshhhuhdrmhgv X-ME-Proxy: Feedback-ID: i59914767:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 14 Sep 2023 00:44:02 -0400 (EDT) User-agent: mu4e 1.10.7; emacs 30.0.50 From: Tianshu Wang To: emacs-orgmode@gnu.org Subject: [FEATURE REQUEST] Introduce support for FILETAGS in the org-set/toggle-tag function. [9.6.6 (release_9.6.6 @ /opt/homebrew/Cellar/emacs-head@30/30.0.50_1/share/emacs/30.0.50/lisp/org/)] Date: Thu, 14 Sep 2023 12:43:06 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=wang@tianshu.me; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.43 X-Spam-Score: -4.43 X-Migadu-Queue-Id: 5A4124648D X-Migadu-Scanner: mx2.migadu.com X-TUID: Z1iV0j7uXdQO I am seeking this support because when adding Attachments to Org File without Headlines, I get a user-error: Before first headline at position 1 in buffer filename.org, even if the attachment has been successfully added. I hope there are no errors, and the #+FILETAGS of filename.org buffer has added `org-attach-auto-tag'. After a simple exploration, I found that this requires the support of org-set/toggle-tag to modify FILETAGS. Emacs : GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (a) (Build 22E772610a)) of 2023-05-25 Package: Org mode version 9.6.6 (release_9.6.6 @ /opt/homebrew/Cellar/emacs-head@30/30.0.50_1/share/emacs/30.0.50/lisp/org/) -- Tianshu Wang