~abcdw/rde-discuss

6 3

org agenda working?

Igor Zolnerkevic <igorz@abismos.net>
Details
Message ID
<CAG6f0YVmh4kwb-Nc7RDy7PuhJAS2taG6jG7CCbWTZmC_m5FmLA@mail.gmail.com>
DKIM signature
missing
Download raw message
Many TODOs in my org-agenda files but all org-agenda views show
nothing. Don't know what to do.
My config: https://github.com/igorzolnerkevic/neuromancer-rde-configs/tree/main/src/abismos
Best Regards,
Igor
Details
Message ID
<87fs4qp67m.fsf@trop.in>
In-Reply-To
<CAG6f0YVmh4kwb-Nc7RDy7PuhJAS2taG6jG7CCbWTZmC_m5FmLA@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 2023-08-10 20:29, Igor Zolnerkevic wrote:

> Many TODOs in my org-agenda files but all org-agenda views show
> nothing. Don't know what to do.
> My config: https://github.com/igorzolnerkevic/neuromancer-rde-configs/tree/main/src/abismos
> Best Regards,
> Igor

It's probably a bug in #:org-roam-todo?.  Set it to #f to make usual
agenda work.

https://github.com/igorzolnerkevic/neuromancer-rde-configs/blob/main/src/abismos/configs.scm#L602

I recently tried it myself and didn't succeed, neither my tasks from
usual agenda files showed up, nor tasks from org-roam directory.  Don't
have time to investigate it at the moment, but maybe Miguel knows
something about it.  CCed him.

-- 
Best regards,
Andrew Tropin
Igor Zolnerkevic <igorz@abismos.net>
Details
Message ID
<CAG6f0YUKoT9h3WP9Jx5Um4JxDAOGUb3-PQi+aSLyw2E-q0Mi6g@mail.gmail.com>
In-Reply-To
<87fs4qp67m.fsf@trop.in> (view parent)
DKIM signature
missing
Download raw message
> It's probably a bug in #:org-roam-todo?.  Set it to #f to make usual
> agenda work.
>
Thanks! Did it and now agenda views are working fine.
Miguel Ángel Moreno <mail@migalmoreno.com>
Details
Message ID
<86jzu0a9y1.fsf@migalmoreno.com>
In-Reply-To
<87fs4qp67m.fsf@trop.in> (view parent)
DKIM signature
missing
Download raw message
On 2023-08-11 08:13, Andrew Tropin wrote:

> On 2023-08-10 20:29, Igor Zolnerkevic wrote:
>
>> Many TODOs in my org-agenda files but all org-agenda views show
>> nothing. Don't know what to do.
>> My config: https://github.com/igorzolnerkevic/neuromancer-rde-configs/tree/main/src/abismos
>> Best Regards,
>> Igor
>
> It's probably a bug in #:org-roam-todo?.  Set it to #f to make usual
> agenda work.

It's not a bug, this line
<https://git.sr.ht/~abcdw/rde/tree/base-to-upstream/src/rde/features/emacs-xyz.scm#L4163>
overrides org-agenda-files with all the files in your org-roam-directory
that contain TODO headlines and hence the :todo: FILETAG.  I would have
personally have left it as #f by default so to not confuse newcomers.

>
> https://github.com/igorzolnerkevic/neuromancer-rde-configs/blob/main/src/abismos/configs.scm#L602
>
> I recently tried it myself and didn't succeed, neither my tasks from
> usual agenda files showed up, nor tasks from org-roam directory.  Don't
> have time to investigate it at the moment, but maybe Miguel knows
> something about it.  CCed him.

Hmm, it's been working fine on my end for some months.  Curious, what
is the value of org-agenda-files on your side?

-- 
Best regards,
Miguel Ángel Moreno
Details
Message ID
<87il94sdsd.fsf@trop.in>
In-Reply-To
<86jzu0a9y1.fsf@migalmoreno.com> (view parent)
DKIM signature
missing
Download raw message
On 2023-08-12 11:25, Miguel Ángel Moreno wrote:

> On 2023-08-11 08:13, Andrew Tropin wrote:
>
>> On 2023-08-10 20:29, Igor Zolnerkevic wrote:
>>
>>> Many TODOs in my org-agenda files but all org-agenda views show
>>> nothing. Don't know what to do.
>>> My config: https://github.com/igorzolnerkevic/neuromancer-rde-configs/tree/main/src/abismos
>>> Best Regards,
>>> Igor
>>
>> It's probably a bug in #:org-roam-todo?.  Set it to #f to make usual
>> agenda work.
>
> It's not a bug, this line
> <https://git.sr.ht/~abcdw/rde/tree/base-to-upstream/src/rde/features/emacs-xyz.scm#L4163>
> overrides org-agenda-files with all the files in your org-roam-directory
> that contain TODO headlines and hence the :todo: FILETAG.  I would have
> personally have left it as #f by default so to not confuse newcomers.
>

I didn't add todo tag, that's right, but I also would expect it not to
remove explicitly specified agend files or at least fail with exception
if both options are specified.

>>
>> https://github.com/igorzolnerkevic/neuromancer-rde-configs/blob/main/src/abismos/configs.scm#L602
>>
>> I recently tried it myself and didn't succeed, neither my tasks from
>> usual agenda files showed up, nor tasks from org-roam directory.  Don't
>> have time to investigate it at the moment, but maybe Miguel knows
>> something about it.  CCed him.
>
> Hmm, it's been working fine on my end for some months.  Curious, what
> is the value of org-agenda-files on your side?

-- 
Best regards,
Andrew Tropin
Miguel Ángel Moreno <mail@migalmoreno.com>
Details
Message ID
<86pm39937z.fsf@migalmoreno.com>
In-Reply-To
<87il94sdsd.fsf@trop.in> (view parent)
DKIM signature
missing
Download raw message
On 2023-08-24 18:41, Andrew Tropin wrote:

> On 2023-08-12 11:25, Miguel Ángel Moreno wrote:
>
>> On 2023-08-11 08:13, Andrew Tropin wrote:
>>
>>> On 2023-08-10 20:29, Igor Zolnerkevic wrote:
>>>
>>>> Many TODOs in my org-agenda files but all org-agenda views show
>>>> nothing. Don't know what to do.
>>>> My config: https://github.com/igorzolnerkevic/neuromancer-rde-configs/tree/main/src/abismos
>>>> Best Regards,
>>>> Igor
>>>
>>> It's probably a bug in #:org-roam-todo?.  Set it to #f to make usual
>>> agenda work.
>>
>> It's not a bug, this line
>> <https://git.sr.ht/~abcdw/rde/tree/base-to-upstream/src/rde/features/emacs-xyz.scm#L4163>
>> overrides org-agenda-files with all the files in your org-roam-directory
>> that contain TODO headlines and hence the :todo: FILETAG.  I would have
>> personally have left it as #f by default so to not confuse newcomers.
>>
>
> I didn't add todo tag, that's right, but I also would expect it not to
> remove explicitly specified agend files or at least fail with exception
> if both options are specified.

Ok, I see what you mean.  In my view, if you choose to use
org-roam-todo? then it's assumed you want to do your task management
entirely in a non-hierarchical way.  Since I don't think most people
want this (and like Igor, just want their specified agenda files to work
off the bat), I insist in making org-roam-todo? false by default, so to
not catch them by surprise.

I'll raise an exception on feature-emacs-org-agenda to alleviate this
like you suggested.

>
>>>
>>> https://github.com/igorzolnerkevic/neuromancer-rde-configs/blob/main/src/abismos/configs.scm#L602
>>>
>>> I recently tried it myself and didn't succeed, neither my tasks from
>>> usual agenda files showed up, nor tasks from org-roam directory.  Don't
>>> have time to investigate it at the moment, but maybe Miguel knows
>>> something about it.  CCed him.
>>
>> Hmm, it's been working fine on my end for some months.  Curious, what
>> is the value of org-agenda-files on your side?

-- 
Best regards,
Miguel Ángel Moreno
Igor Zolnerkevic <igorz@abismos.net>
Details
Message ID
<CAG6f0YWn7aDS=MYD3PvDOuD2LrNAzE_Z3UcCpOZp0pE0nZr5Bg@mail.gmail.com>
In-Reply-To
<86pm39937z.fsf@migalmoreno.com> (view parent)
DKIM signature
missing
Download raw message
> > I didn't add todo tag, that's right, but I also would expect it not to
> > remove explicitly specified agend files or at least fail with exception
> > if both options are specified.
>
> Ok, I see what you mean.  In my view, if you choose to use
> org-roam-todo? then it's assumed you want to do your task management
> entirely in a non-hierarchical way.  Since I don't think most people
> want this (and like Igor, just want their specified agenda files to work
> off the bat), I insist in making org-roam-todo? false by default, so to
> not catch them by surprise.
>
> I'll raise an exception on feature-emacs-org-agenda to alleviate this
> like you suggested.
>
I decided here to set org-roam-todo true and give it a try to manage
todos with org-roam.

I have been using org-roam only to manage a "zettelkasten" collection
of notes without any TODOs headlines. I manage my todos with a GTD
like system,  writing them all in a a few org files dedicated to list
projects, create and keep track of next actions etc. (see
https://plaindrops.de/blog/2020/GTDorgmode/ ), together with an
org-agenda view customized after this example:
https://www.labri.fr/perso/nrougier/GTD/index.html#org2d62325

But now I discovered that I can integrate both approaches. I gave ids
to my org GTD files, imported them to my org-roam directory and synced
org roam db. Then setting feature-emacs-org-agenda like this

(feature-emacs-org-agenda
     #:org-agenda-files '("~/org/notes/todo.org"
                                                     "~/org/notes/"))
Org-agenda views showed both todos at todo.org and todos I created for
test in another file from org-roam directory.
The nicest part of doing this until now has been that when I edit my
todo.org file, the completion system keeps suggesting links to
org-roam nodes with titles containing words related to what I am
writing.
Reply to thread Export thread (mbox)