emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[C-c C-q] org-set-tags-command completed tags does not contains current


From: Christopher M. Miles
Subject: [C-c C-q] org-set-tags-command completed tags does not contains current buffer local tags
Date: Wed, 17 Apr 2024 22:29:54 +0800
User-agent: mu4e 1.12.4; emacs 30.0.50

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-persistent-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 tags 
completion.

-- 

[ stardiviner ]
I try to make every word tell the meaning that I want to express without 
misunderstanding.

Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]