From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QMmKB/vrAmXZowAA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 13:18:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QMmKB/vrAmXZowAA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 13:18:19 +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 BDBB44379F for ; Thu, 14 Sep 2023 13:18:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bVtaJ4mh; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694690299; 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=Hdfav+kc6SVFlmwXlRjzIX4vtGKQt5RUIVtWuXThn4w=; b=LAQY1LTXYXWRsznzgSZ/hnTaBllAAsMPR6xn4Af3pVpXsMOOAzTozCOQFYmWV2SSATUgEh dzmGtBCsdtmg8L5VLeLdBdtnDD5qFGdlsPr1wOigXX23T35o/2ck3IK5egid03rAE+dku2 w8wmQO6VStNox/hSePV8OQ8HHM+RxPlD6QiMshaPaEpxah0kt+TzSVHlPyMTihM1Lmj3zX xNYfav+4e3WNtQwnh+cuCQ8HPRZPUV/8ocuij7rGSDloRvJXgUPDDoSYcJFuqIeuatHtvF zEfkhdmBJ28LDcRJ6g9Du12/btMl6G1eocZlNwPqRFP85LO8/QDlSJKViCRLMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bVtaJ4mh; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694690299; a=rsa-sha256; cv=none; b=WkyA0ohvU77IrndGPtbfLmSuFyKpUIBSnV2WaBfZ4kT5CigjzieFpAtPpF8O7bBrR62eNh i6JgAS77cotForo5KXOJM3yEKPtdChCldP29gacNEhQIQu6hgyDqFagFUReM3tY9PJwmT+ tVMXdo1EoOxyoOoTAgd8/4vDIAuz4fDnaaDIYjlKbwvOJoZHORJIBzdkv/SxBmsImTmfYQ 5Li7aK3ijDX/+QtCmDClITx5/ygUKaduaOoJ1yXMHFp7dz5/JSCEDVErHv81aY8S2BwiiP FBypWnsQ1XTrNEbif3+EctNsw8ss6DdA4ST3CDrQj9+TRhjBfINgJ8IXs8Fp9A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgkM8-000854-IG; Thu, 14 Sep 2023 07:17:56 -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 1qgkM6-00084q-VA for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 07:17:54 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgkM1-0000OS-Sz for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 07:17:53 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EA802240028 for ; Thu, 14 Sep 2023 13:17:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694690268; bh=GkL8ZVJLfMozl5Dk6xajEIsVY+sR/UWpIB/B45uH9XY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=bVtaJ4mhD+pK9kATWCG4o3CONOBa5TijoQeK5ku5O2gUeQkhqty/8fvZFWeIHckMc vBEp0VjFU8mjZc7Y8RgW7hd3Bs6k8mUYXwplfsPOltr/jH9cM2xsdzRODwOdFKOKEw oPoX33wPF2/AXStuOwuxY/aPIVXX5lrMZh8VH5xrXc/sxiWdn1/bMem11eDRlCXz8+ y6i/2bKfOFgfhzHx46MoexFU+NBlX2RHlo3px8GfM2o8urnoUcUaCxyoF1sjbEOd/L udSyGt2+J/n7muraXkP1DDobVbfXPdy4o/cSJBSnCbia3yMi/ZQ9Vbg4CvMxoQ0qbV B7312hNL6Iclg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RmZYR15fKz6txQ; Thu, 14 Sep 2023 13:17:46 +0200 (CEST) From: Ihor Radchenko To: Tianshu Wang Cc: emacs-orgmode@gnu.org Subject: Re: [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/)] In-Reply-To: References: Date: Thu, 14 Sep 2023 11:18:48 +0000 Message-ID: <8734zhc89z.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: BDBB44379F X-TUID: +MkR2s0mrxou Tianshu Wang writes: > 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. Confirmed. Steps to reproduce: 1. emacs -Q 2. Open a new Org file 3. C-c C-a c