[O] org-drill vocabulary and question about properties

2019-07-30 Thread Gerhard Butscher

Hello,

I intend to use org-drill for learning vocabulary (german-spanish). Does anybody know a repository of such a vocabulary?

 

As far as I know the inner workings of org-drill are placed in the :PROPERTIES: section of the item. When I use :DRILL_CARD_TYPE: twosided then the item gets questioned some time in german and some time in spanish. But the PROPERTIES are still only once there. If I want to track the learning in both directions separately, I need to make two items for one word, once german-spanish and once spanish-german. Am I right?

 

Sincerely
Gerhard




Re: [O] Agenda: Display projects and 3 todo subtasks

2019-07-30 Thread Nathan Neff
I forgot to mention that I have PROJECT tag as not inheritable:
(setq org-tags-exclude-from-inheritance (quote ("PROJECT")))

And here's the agenda custom-command addition:
 ("2" "List projects with tasks" my/org-agenda-projects-and-tasks
 "+PROJECT"
 ((org-agenda-max-entries 3))



On Tue, Jul 30, 2019 at 9:32 PM Nathan Neff  wrote:

> Hello all,
>
> I found this cool snippet at Sacha Chua's website: [1].
>
> It creates an agenda view with headings marked with tag "project",
> and for each of those headings, it displays up to 3 sub headings marked
> TODO.
>
> I like this idea of seeing my projects (plus a few TODO entries under each
> project)
> in the agenda is a cool idea, so I copy/pasted the snippet at [1].
>
> I created an example org file:
> * Project 1:PROJECT:
> ** todo task 1.1
> ** todo task 1.2
> ** todo task 1.3
> ** todo task 1.4
> * Project 2:PROJECT:
> ** todo task 2.1
> ** todo task 2.2
> ** todo task 2.3
> ** todo task 2.4
>
> And ran the custom agenda command on only that file.
>
> The output which is produced lists each project correctly.
> However the sub-tasks under each project are the *same 3 subtasks*
> from Project 1
>
>   foo:Project 1
>   foo:todo task 1.1
>   foo:todo task 1.2
>   foo:todo task 1.3
>   foo:Project 2
>   foo:todo task 1.1
>   foo:todo task 1.2
>   foo:todo task 1.3
>
> The snippet at [1] is a bit more complex than I thought would be necessary
> for such
> an agenda view.  Does someone have any snippets or suggestions for how to
> accomplish the idea above?  Is there something obvious that I'm missing
> about
> the setup of my test org file?
>
> Thanks,
> --Nate
>
> [1]
> https://github.com/sachac/.emacs.d/blob/gh-pages/Sacha.org#display-projects-with-associated-subtasks
> The associated blog entry is:
>
> https://sachachua.com/blog/2013/01/emacs-org-display-projects-with-a-few-subtasks-in-the-agenda-view/
>
>
>
>


[O] Agenda: Display projects and 3 todo subtasks

2019-07-30 Thread Nathan Neff
Hello all,

I found this cool snippet at Sacha Chua's website: [1].

It creates an agenda view with headings marked with tag "project",
and for each of those headings, it displays up to 3 sub headings marked
TODO.

I like this idea of seeing my projects (plus a few TODO entries under each
project)
in the agenda is a cool idea, so I copy/pasted the snippet at [1].

I created an example org file:
* Project 1:PROJECT:
** todo task 1.1
** todo task 1.2
** todo task 1.3
** todo task 1.4
* Project 2:PROJECT:
** todo task 2.1
** todo task 2.2
** todo task 2.3
** todo task 2.4

And ran the custom agenda command on only that file.

The output which is produced lists each project correctly.
However the sub-tasks under each project are the *same 3 subtasks*
from Project 1

  foo:Project 1
  foo:todo task 1.1
  foo:todo task 1.2
  foo:todo task 1.3
  foo:Project 2
  foo:todo task 1.1
  foo:todo task 1.2
  foo:todo task 1.3

The snippet at [1] is a bit more complex than I thought would be necessary
for such
an agenda view.  Does someone have any snippets or suggestions for how to
accomplish the idea above?  Is there something obvious that I'm missing
about
the setup of my test org file?

Thanks,
--Nate

[1]
https://github.com/sachac/.emacs.d/blob/gh-pages/Sacha.org#display-projects-with-associated-subtasks
The associated blog entry is:
https://sachachua.com/blog/2013/01/emacs-org-display-projects-with-a-few-subtasks-in-the-agenda-view/