orgzly-android icon indicating copy to clipboard operation
orgzly-android copied to clipboard

FILETAGS support

Open jooert opened this issue 8 years ago • 9 comments

It would be great if Orgzly would respect the #+FILETAGS: setting as described in The Org Manual.

jooert avatar Nov 30 '17 13:11 jooert

I would like to have this feature to.

<UPD> whith new search features this is no more need for me, thx :+1:

emakei avatar Dec 23 '17 10:12 emakei

Does this have any priority in development? It's quite easy to get around, but would leave my files a bit more organized.

japhir avatar May 15 '18 06:05 japhir

Does this have any priority in development?

I wasn't planning to work on it soon. If someone wants to take a shot though, we can go though that's needed.

nevenz avatar May 17 '18 07:05 nevenz

I'd like to take a shot somewhere at the beginning of july, but I don't have any Java experience ;). If you give me some pointers on where else you parse global settings I think I could try to hack something together.

japhir avatar May 18 '18 11:05 japhir

There's only TITLE now and it's in OrgFileSettings.

I guess steps would be:

  • Support FILETAGS in OrgFileSettings
  • Add tags to books table
  • Modify notes_view adding book_tags
  • Modify SqliteQueryBuilder to use book_tags (same as it's done for inherited_tags)

nevenz avatar May 19 '18 07:05 nevenz

On Orgzly side #+FILETAGS is kinda covered by b.bookname Orgzly agenda queries. But on org-mode side, the #+FILETAGS remains one of easiest ways of quickly excluding agenda files from the scope of org-mode's org-agenda by simply putting #+FILETAGS into beginning of agenda files and then quickly filtering out by tags in org-agenda.

Good news Orgzly seem to preserve the existing #+FILETAGS records in org files.

Not being big priority, this is still a use case for this feature - when Orgzly user also uses synched org-mode and wants convenience with org-agenda tags filtering.

sokolgeo avatar Oct 08 '19 09:10 sokolgeo

It would be great!

maksim77 avatar Nov 03 '19 16:11 maksim77

@sokolgeo Could you clarify what you mean by:

On Orgzly side #+FILETAGS is kinda covered by b.bookname Orgzly agenda queries.

We can have multiple filetags, right? But b.BOOKNAME only matches the notebook name (unless I am mistaken), so the b filter is more like searching for the #+CATEGORY property of an Org file, which defaults to the filename (minus extension).

GuiltyDolphin avatar Apr 27 '20 14:04 GuiltyDolphin

The work-around I used is to list all files with the FILETAGS in a search alongside the tag itself woth OR. This is a bit of extra work. But this way I can find the tasks in the specific files or other files, but with the tag. It's not quite convenient, but if your file structure is changing rarely, it'll work.

andrejserafim avatar Dec 09 '21 08:12 andrejserafim