-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some tags not rendering in org-agenda
#27
Comments
Oh, that's weird that some of them are rendered but not the others. How did you implement it with the agenda view? In my case, I use an advice around |
I have the exact same issue, here's the implementation I use:
So, nothing specific for |
@rougier Do you have an example of the advice implementation? I can test it. |
Raw code:
Some glyph comes from the nerd font, here is how it look on my config: |
Maybe something is interfering. Can you try with |
I'm having the same issue on Doom (emacs-mac port). I tried loading a minimal config (https://pastebin.com/rNQ9vpbf) in Doom sandbox with vanilla doom only (doom core, without my personal config, no other modules loaded) and the issue persists. (Apologies for my messy config I don't yet have a great handle on lisp) |
Do you see a kind of pattern in missing tags? |
Not for me, on a fresh boot of Doom emacs none of the tags shown in org-agenda overview are svg tags until I visit the file and update org-agenda overview. |
@workcomplete maybe a force redisplay is needed. Do you also use the advive "trick"? |
Could this be an issue with
I was similar issues with |
A partial pattern I am seeing (in org-agenda at least) is that the tags start rendering after the underlying file gets visited. That is, in my config the agenda items come from different files. If the file gets visited by me, by entering on an item in the agenda, that item gets rendered in the agenda on a refresh. This seems to vary, sometimes just the item visited gets tagged, sometimes more. Not seeing an obvious pattern there yet. |
Nevermind, idk why it was working temporarily but changing the hook did not fix this issue for me. |
I'm a bit out of ideas. At this point, we would nerd to start from a vanilla emacs configuration and only add svg-tag and agenda with minimal configuration such we can try to understand what's going on. |
I'm using the Emacs with very simple hand crafted configuration and can confirm I can see the issue as well. |
Is it also restricted to org-agenda (or does all examples fail)? |
Just in case, can you try |
@rougier that didn't seem to have any effect on the issue. I haven't completely had the time to create a minimal config to induce the error, but I'll try to get to that soon. In the meantime, I've experimented with disabling |
A minimal example would be nice to test thing and it seems to be specifically org-agenda related. Also, could you test a different transform of tags, I mean, instead of displaying the svt-tag, can you try to display a simple text (using the 'display property) ? |
@rougier I think the problem is caused by
|
Oh wonderful, well done. Should this be add to the README? Do you want to make a PR? |
I prefer adding this to the README, because it is not the svg-tag-mode's responsibility to care about somthing out of its function. |
Good find, @Elilif! Thanks! |
fix: update README to solve issue #27
It might just be a configuration issue on my end, but I'm not sure. You can see that the
TODO
does render in one case, but not in all others. I can remedy this issue by visiting the file the specificTODO
is written in, then when getting back into theorg-agenda
it's rendered as an expected SVG, but this doesn't seem ideal.The text was updated successfully, but these errors were encountered: