From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WG+2CSvdH2aHTQAAqHPOHw:P1 (envelope-from ) for ; Wed, 17 Apr 2024 16:31:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WG+2CSvdH2aHTQAAqHPOHw (envelope-from ) for ; Wed, 17 Apr 2024 16:31:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Irwlx4jw; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713364267; 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=5xZdJcxeROgcWkI8YlZJAb7rmuOq7wjV1/jMV3Q5Skk=; b=OrfgHMFL1lXLOeTJ2oYvPTIClFtKMIok7BuBhXkV4Vy9mxiKyvVIyt6cC/TBa0PeE3ztW/ 88cHscfhd32SiKGIBgB9b4yKdBxEfrBO6taXI9wNxZPUfMp2Wag3Bb4lDcVNvD/yr5a8cZ thQExEedZDDyD6hlH99lUle94xzzdLID+N/kIjKhgwcWRlKioriHLCAkkqtf668bDq+lKa 4esBN5HNXdGnXsSusL5Te+4YBS6bi3H0RYQTzHvC9tkIKsLN999H7rwPoWH79W5+xv8fJp jukZVZCux6adu0KGv+FDOqSRz4FEHtm/0WWVXqreeTpYnbJfH3NVRhLcy1BvaA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713364267; a=rsa-sha256; cv=none; b=qZHOlZvnPXxKXq978AH8qFp6df9UwEAD1nT5DwBfF+Js27MDQ5EnYxrMatZsif3WNjbYa8 RbqNSuUFfbpx5dK0ZnivD9KVT4Ux519JGfPhDtcXGc4n8ctbDDoo4VQx2VFxT3VSt1jLGT gTZ/KAfO5bp2Sw+JqSmmsaQhUjMOeLvx/jy42fukRy/J0p/gzOE9kH0J3c+r5EUh/qRRrJ ciiFaIVW0lYevCYLhlmlX8QVr51AlRSVDEgpq8mGnDpF41Wr1QKsCca69vQwj+TebK8rMG hxqvmuPZtGh58vDv8HVowUy16iAl5xcr1YDcf61tahAROp0z2+x0fndW+H+3eQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Irwlx4jw; 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=gmail.com 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 D858D17CD4 for ; Wed, 17 Apr 2024 16:31:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx6Io-0004CB-He; Wed, 17 Apr 2024 10:30:22 -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 1rx6Ic-00049E-2t for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 10:30:11 -0400 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rx6IZ-0008WQ-Eq for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 10:30:08 -0400 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-22ed72b0082so3713494fac.3 for ; Wed, 17 Apr 2024 07:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713364205; x=1713969005; darn=gnu.org; h=mime-version:date:user-agent:subject:to:from:message-id:from:to:cc :subject:date:message-id:reply-to; bh=5xZdJcxeROgcWkI8YlZJAb7rmuOq7wjV1/jMV3Q5Skk=; b=Irwlx4jwO3s3pjpBibvbi+g/z6Cp7F0vboQEl7q7s/brTgPSTq84xYsKe6Ulubij6/ uieoK8TrFc78g1o3SeknkfJqn7SUn/ZcccsFC+Kph4ubUAdF88jywMc94WjzFLjbHED4 wrs4zrvRP73fnVyuwYvcWLb1tCc+I10x1tAaiSMsJHoJgwJQD0+5K2CjNqQ7m4NLc8xc h/tJb94TM082ObtGEPeJ32DOtTgKAG0IN4SfW/2sjjksp+KCZ8mNArN79kjrnbHZULOk cUpv1LPgkWdegKUkmBK2ZfoHmiYekJIWIUluZ2QxMEdUDu+pSEGtM7e0PKkT6HfKyPSB ipxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713364205; x=1713969005; h=mime-version:date:user-agent:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5xZdJcxeROgcWkI8YlZJAb7rmuOq7wjV1/jMV3Q5Skk=; b=eUpQev0ALap0juM/HGbFyAqtVpB9QMxGbxzsmKd8pz3QZ6+twFcYOb+FiHeOY6dgiF 71lwZ8Jj+pFYot6wTCOf7eXvMQMyBAeW/aBan2gYRbUKmjqUYrWXDI+3qTDqvESZSTlq 9zPWPq18q/WcfMbKobk7ZYjuz7DZQrOYXzQOoFi/tLuAV9b+1VjO4vuC0wo4eIPXVSDV lmDHUecF9spHIOPhVRjeILTM32acNnXjB5uG8eTjHx9ZJchvKEWfGS6QWNIi/rRb0Lur CG6ZhVGhYsBsjrxHqMBaotyzPS6QGvypOhT9izHd8a/61CsA1sMjIcACn+QFfgu3OtQR sutg== X-Gm-Message-State: AOJu0YzHLQF67xaGSA3c24eq0gm7gMcxdkIQDuGRN9fZDlwSf+kyZBnW hFJ41S+YqNHHivZHyE2WATrCPBBjDf9C7GsS+TcIWP8P8N5MGDdCbx4sLzvRIQ== X-Google-Smtp-Source: AGHT+IGVrNqR/SHnvVR394abRZzKHjG37XSJt/R565u//z+hd5m5ODWlOHzKuglg4Vqmd4Da3mAepQ== X-Received: by 2002:a05:6870:5b9e:b0:22a:9d7a:3f4f with SMTP id em30-20020a0568705b9e00b0022a9d7a3f4fmr20400529oab.16.1713364204953; Wed, 17 Apr 2024 07:30:04 -0700 (PDT) Received: from Mac-mini.local ([2409:8a28:60b7:2170:52d2:f5ff:fe16:c591]) by smtp.gmail.com with ESMTPSA id w30-20020a63475e000000b005dc49afed53sm10705143pgk.55.2024.04.17.07.30.02 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Apr 2024 07:30:04 -0700 (PDT) Message-ID: <661fdcec.630a0220.7217d.0f65@mx.google.com> X-Google-Original-Message-ID: Received: by Mac-mini.local (Postfix, from userid 501) id D68B3CDCF322; Wed, 17 Apr 2024 22:29:58 +0800 (CST) From: "Christopher M. Miles" To: Org Mode List Subject: [C-c C-q] org-set-tags-command completed tags does not contains current buffer local tags User-Agent: mu4e 1.12.4; emacs 30.0.50 Date: Wed, 17 Apr 2024 22:29:54 +0800 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:4860:4864:20::29; envelope-from=numbchild@gmail.com; helo=mail-oa1-x29.google.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, MSGID_FROM_MTA_HEADER=0.001, 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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -11.21 X-Spam-Score: -11.21 X-Migadu-Queue-Id: D858D17CD4 X-Migadu-Scanner: mx13.migadu.com X-TUID: qC9pXBNS9ESq --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable In the [C-c C-q] org-set-tags-command, I found it does not complete tags in= current buffer. #+begin_src emacs-lisp (defun org-set-tags-command (&optional arg) ... (let* (... (local-table (or org-current-tag-alist (org-get-buffer-tags))) ;; the `org-current-tag-alist' is from my customized `org-tag-pers= istent-alist'. ...))) #+end_src Steps to reproduce: 1. create an empty Org mode file and open it as a Emacs buffer. 2. Fill in Org content as bellowing #+begin_src org * headline 1 :tag1:workflow: * headline 2 :tag2:name: #+end_src 3. save buffer 4. Press [C-c C-q] org-set-tag-command 5. You can't see buffer local tags "tag1", "tag2", "workflow", "name" in ta= gs completion. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmYf3OIACgkQG13xyVro msNOawgAmxAKq5JBZVJIM1bXSpLF1YmaCan2lLPYP1/d9nJnmHFYf7TAv44mNxat sb+CrgYFFaCyXU+3BdTeQpxohBjbjIw5ZsdSqJ1La0RQT5E4rNVXTWFGwx3JbDo6 pznBsTXks2iJinpT7B1bo4C/Wjn0SvPqdqzCNZVtnMMnVOk+m6c0P1CwwHkhbcMW QQJ60PDEpaQrriMFOQ3mH5EMGMJrKIeMUrGDhFijVgg66fkla+9DOuoS/Uc94/h7 1KZ9GtU0nM3QRrPaYI1x+j0pcfUzLwmUL9fiJevsVlQail0HlT7j9IU4y39otUuN 1xSER343uqz8yc2mHPFa4wtq0wCTTA== =lZ0g -----END PGP SIGNATURE----- --=-=-=--