Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get the same prefix described in the document #11

Open
et2010 opened this issue Jan 13, 2021 · 3 comments
Open

Cannot get the same prefix described in the document #11

et2010 opened this issue Jan 13, 2021 · 3 comments

Comments

@et2010
Copy link

et2010 commented Jan 13, 2021

After loading gtd.el, this is what I got:

image

Not exactly like the example in the GTD.org:

*Day-agenda (W37):*

*Sunday 13 September 2020*

   8:00......   ----------------
   8:45- 9:00   Scheduled:  Keyboard training 
  10:00......   ----------------
  12:00......   ----------------
  14:00......   ----------------
  *14:19......*   *> now <*
  16:00......   ----------------
  18:00......   ----------------
  20:00......   ----------------
  Sched.12x:  Agenda cleaning

*Tasks*

   VIZBOOK:       [0:30] NEXT Organize book writing          (4d.)
   RESCIENCE-X:   [0:30] NEXT ReScience X DOI registrar      (4d.)
   DNFSOM:        [0:20] NEXT [#A] Read section 4 on DNFSOM  (2d.)
   X.YYYYY:       [0:05] NEXT Mail X.Yyyyy (PhD)             (1d.)

*Deadlines*

   3 d. ago:  NEXT [#A] Read /"Chapitre RNN 2020-09-08"/       (4d.)
   3 d. ago:  NEXT [#A] Read /"Chapitre WMEXP 2020-09-08]]"/   (4d.)

*Inbox*

  TODO Organize bibliography
  TODO Read to /"Adaptive Computation Time for Recurrent Neural Networks"/
  TODO Process /"Relevant paper"/
  TODO Mail X.Yyyyy about team talk
  TODO Buy /"Canon printer"/
  TODO Process /"ICDL oral presentation"/
  TODO Write discution (plasticity paper)
  TODO Compute VSOM δxδy representation
  TODO Process /"Internships for Students at Ecole Polytechnique"/

*Completed today*
 
  DONE Write GTD Review section

How can I get the same prefix as in the example?

@rougier
Copy link
Owner

rougier commented Jan 13, 2021

For the prefix, you can play with the org-agenda-prefix-format:

(setq org-agenda-prefix-format
      '((agenda . "  %?-14t% s")
        (todo   . "  %i %-14:c [%e] ")
        (tags   . "  %i %-14:c")
        (search . "  %i %-14:c")))

@et2010
Copy link
Author

et2010 commented Jan 13, 2021

Thanks. I have played with it a bit but still cannot figure out how to get the heading and effort both into the prefix as shown in the example.

@rougier
Copy link
Owner

rougier commented Jan 14, 2021

the %e in TODO is supposed to show the effort. Can you try to add "hello" in the format just to check if it is taken into account ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants