Giter Club home page Giter Club logo

Comments (4)

saf-dmitry avatar saf-dmitry commented on August 12, 2024

From README:

Note: Though the query language syntax described here represents a valid subset of search syntax implemented in TaskPaper v3 app (with some minor exceptions), the search behavior is slightly different. TaskPaper mode does not support the item path syntax and set operations in search queries evaluating tag inheritance instead.

If an item has a certain tag, all its subitems will inherit that tag. To limit tag inheritance to specific tags, configure the user option taskpaper-tags-exclude-from-inheritance.

Slices are set operations and thus not supported.

This has both advantages as well as disadvantages comparing to the TaskPaper's item path syntax. If you can not figure out how to formulate search query while searching for specific items, let me know.

from taskpaper-mode.

flyingns avatar flyingns commented on August 12, 2024

So, if I have such two projects, which have some items,

Project 1:
    -task 1 @done
    -task 2
    -task 3
Project 2:
    -task 1
    -task 2
    -task 3

What syntax can be used to make the filtered results only display the first item of the unfinished items of each project, that is, this content:

Project 1:
    -task 2
Project 2:
    -task 1

Thanks a lot.

from taskpaper-mode.

saf-dmitry avatar saf-dmitry commented on August 12, 2024

I would suggest adding a tag like @na to the next action items in each project and searching for them later:

@na and not @done

You can add na to the taskpaper-tags-to-remove-when-done variable, so it will be removed automatically once the item is completed:

(setq taskpaper-tags-to-remove-when-done '("na"))

from taskpaper-mode.

flyingns avatar flyingns commented on August 12, 2024

Although it is a bit troublesome, it can temporarily solve the problem. :-(

Thanks a lot.

from taskpaper-mode.

Related Issues (15)

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.