Skip to content
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

-not or private tags #437

Closed
torpak opened this issue Aug 25, 2016 · 6 comments
Closed

-not or private tags #437

torpak opened this issue Aug 25, 2016 · 6 comments
Labels
enhancement New feature or request 🔒 Outdated stale Inactive issue: will be closed soon if no activity

Comments

@torpak
Copy link

torpak commented Aug 25, 2016

Hi, i'd really like a way to exclude all entries that contain a specific tag from a query.
Either add a -not flag with a tag parameter that supresses all entries using this tag,
or, and this is my favorite solution, allow marking a tag private in the configuration, so that entries carrying it are only shown, when the tag is explicitly searched for:
For example the @birthday tag is marked private in my configuration and i have an entry:
buy a gerbil for Hannah @idea @birthday
and another:
make blurbalgorithm faster by cacheing intermediate results @idea
A search for @birthday @idea would return both entries, but a search for @idea only the second.

@justinbass
Copy link

justinbass commented Jul 29, 2017

This would make tagging old non-tagged entries quicker. With 100 entries tagged @birthday, searching through the normal journal to find additional entries to tag will be mostly noise (already tagged with @birthday). It is surprisingly difficult to generate a one-time list of non-tagged entries using standard linux tools (grep, sed, diff, etc.).

@stale
Copy link

stale bot commented Jul 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 7, 2019
@BenKettlewell
Copy link

I'm not using private tags but I would like a -not feature as well.
My use case:
@notes tag denotes a long-form post (like lecture notes or notes on a tutorial)
I'd like to then be able to search for a topic but exclude all the entries containing the @notes tag.
e.g. jrnl -and @docker @aws -not @notes

#520 would probably need to be fixed before this could be implemented

@wren wren added the enhancement New feature or request label Jul 21, 2019
@wren wren removed the stale label Jul 29, 2019
@jprof
Copy link

jprof commented Jul 29, 2019

Hey, I really love jrnl, so thanks to all the developers!

I also would like a -not flag as @BenKettlewell has outlined. I took a wild stab at implementing it and opened a PR: #637

Any comments or feedback is greatly appreciated, and again, thanks for the excellent tool!

@stale
Copy link

stale bot commented Sep 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive issue: will be closed soon if no activity label Sep 27, 2019
@stale stale bot closed this as completed Oct 4, 2019
@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the 🔒 Outdated label May 20, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request 🔒 Outdated stale Inactive issue: will be closed soon if no activity
Projects
None yet
Development

No branches or pull requests

5 participants