Coder Social home page Coder Social logo

Comments (3)

student-sx avatar student-sx commented on May 23, 2024

I think this would be a nice feature if you want to use tmsu within emacs helm: https://emacs.stackexchange.com/a/34836/2323

If I call such a helm source it should first display all files typing substrings of tags should narrow the list of candiates down dynamically. For example

pattern: foo bar

Should display all results including foo and bar, i.e. files tagged like Afoo and Xbar or fooX and barB.

If I then refine it to

pattern: fooX bar

It just matches files with tags (fooX and barB) or (fooX and Xbar) if you take the example from above.

I think a helm source working like this would be possible if tmsu would provide wildcards.

from tmsu.

glindsey avatar glindsey commented on May 23, 2024

Sorry to necro a five-year-old (!) issue, but there's another place wildcards would be extremely useful: searching for titles.

Example: Say you have a video file containing "The Eternal Sunshine of the Spotless Mind". So you tag it title="The Eternal Sunshine of the Spotless Mind". Much later, you want to find it; you don't remember the full name, though, so you want to search for title="*spotless*". Now, you could say that you should just rename the file to contain the title, and in this case that might be a viable solution, but it would still be helpful for other string metadata tags.

Anyways, just a thought. I absolutely adore this project, and am really grateful for the work you've put into it!

from tmsu.

oniony avatar oniony commented on May 23, 2024

Agree, this would be useful. I guess it would make sense to have a separate operator for this. I've seen tilde (~) used in other systems to do fuzzy 'contains' matches, such as Jira, so I think this would work:

tmsu files title ~ spotless
tmsu files title ~ "spotless mind"

Or perhaps ~= would be more readable:

tmsu files title ~= spotless
tmsu files title ~= "spotless mind"

from tmsu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.