Closed acosmicjoke closed 2 months ago
If you temporarily deactivate helm-mode, do you get the org-tags-view functions that you need?
(You can toggle helm-mode by doing <SPC> <SPC>
and searching for helm-mode.)
Yes, it seems to work without helm on. Temporarily switching to Ivy is one solution I suppose.
Yes, it feels less like a solution and more like a temporary work-around. I have no idea whether Helm can be made to handle org-tags in a more helpful/more correct way.
Could the issue be that helm selects the first existing tag that it finds.
And the selection needs to be moved up to the line that starts with: [?]
For example, when typing: +apple-orange
or work+TODO="WAITING"
work
tag is selected.
apple
tag is selected.
If that's not the issue for you, then something might be different in your setup, because this is what I'm seeing in both Linux and Windows:
master
and develop
) (updated packages)helm
installed (only tested in Windows
) (updated packages)emacs --quick
)The org versions are:
Org mode version 9.3.7 (9.3.7-2-g706970-elpaplus @ c:/Users/username/.emacs.d/elpa/26.3/develop/org-plus-contrib-20200608/)
Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ c:/Users/username/Applications/emacs-26.3-x86_64/share/emacs/26.3/lisp/org/)
With this example org file: org-tags-view_broken._13509.org
#+TODO: TODO WAITING | DONE CANCELED
* a :apple:
* b :orange:
* c :apple:orange:
* d :work:
* WAITING e :work:
It's added to the org-agenda-files
list:
(setq org-agenda-files '("~/temp/org-tags-view_broken._13509.org"))
In the screenshots below:
helm
in the middleemacs --quick
to the rightM-x org-tags-view
and searching for: +apple-orange
Finds the heading with the apple
tag, but not the one with the apple
and orange
tags, as expected.
M-x org-tags-view
and searching for: work+TODO="WAITING"
Finds the heading with both the work
tag and the WAITING
state, but not the heading with only the work
tag, as expected.
Searching for a tag or a list of tags divided with space works.
Adding a space between the tags doesn't work for me.
When helm-mode
is enabled, then it's possible to add a space between the tags, but it only searches for the first word.
With helm-mode
disabled, then SPC
is bound to: minibuffer-complete-word
Pressing SPC
shows `[Sole completion].
#### System Info :computer: - OS: gnu/linux - Emacs: 26.3.50 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. 5fcd84d84) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (auto-completion command-log emacs-lisp fasd git helm lsp markdown multiple-cursors (org :variables org-agenda-files '("~/org/notes.org")) ranger (shell :variables shell-default-height 30 shell-default-position 'bottom) spell-checking syntax-checking themes-megapack treemacs version-control) ``` - System configuration features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS
#### System Info :computer: - OS: windows-nt - Emacs: 26.3 - Spacemacs: 0.300.0 - Spacemacs branch: develop (rev. 5fcd84d84) - Graphic display: t - Distribution: spacemacs - Editing style: vim - Completion: helm - Layers: ```elisp (autohotkey (auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t) emacs-lisp git helm html javascript lsp (markdown :variables markdown-live-preview-engine 'vmd markdown-command "vmd") multiple-cursors (org :variables org-agenda-files '("~/org/notes.org" "~/temp/org-tags-view_broken._13509.org")) (python :variables) ranger (shell :variables shell-default-shell 'eshell shell-default-height 30) spell-checking (syntax-checking :variables syntax-checking-enable-by-default nil) treemacs version-control) ``` - System configuration features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
None of the advanced search options in org-tags-view described in the manual https://orgmode.org/manual/Matching-tags-and-properties.html#Matching-tags-and-properties, like logical operators, excluding tags, searching for properties or todo states work. This issue still persists if I use a fresh autogenerated .spacemacs file with only the org layer uncommented so it's not an issue with the settings in my own dotfile, it also persists using the develop branch. Everything works as expected in vanilla emacs.
Reproduction guide beetle
Observed behaviour: eyes broken_heart
Expected behaviour: heart smile
System Info computer