3

I'm using org-mode with C-c C-x C-c (org-agenda-columns) like a organizer,the format which I use for that

(setq org-columns-default-format
      "%TODO %30ITEM %30DEADLINE %15SCHEDULED %3PRIORITY %TAGS %5Effort(Effort){:} %6CLOCKSUM")

As you see in picture 1 all dates format are DD.MM.YYYY It's not easy to understand how many day we have for due date.

agenda view

org-agenda (C-a a) shows to us how many day we have for due date or how many days later we must to finish that task.

enter image description here

I want to learn how to change DEADLINE column like in org-agenda (In 2 days,10 d. ago)

Maybe this links can help to solve

My idea about solve

Probably solve gonna be like something like that but I dont know how to write for other format

(setq org-agenda-clockreport-parameter-plist 
      '(:link t :maxlevel 2 :formula "$5=$3+$4;t::$6=ceil($5*60/25);N"))
  • I can see you put effort into this question, but I really don't understand the sentence between the two figures (the sentence that starts with "But I want if..."). Could you try to expand that sentence with more conent to make it more clear? – Malabarba Jun 14 '15 at 17:42
  • Sorry for that problem. I changed main part of question and pictures. I hope now its better. Thank you – itirazimvar Jun 14 '15 at 21:19
  • This is not something that needs to be calculated, but rather extracted and displayed -- on any line that contains something like in 2 days or 10 d. ago when not in columns view, evaluate: (text-properties-at (point)) and look at extra. The default for evaluating an expression is to truncate the output, so either modify the eval-expression-print-level and eval-expression-print-length to nil, or create a message -- e.g., (message "%s" (text-properties-at (point))). This feature request undoubtedly involves modifying the source code. I don't use columns view. – lawlist Jun 15 '15 at 4:13
  • Columns view is just a bunch of overlays that cover up the regular org-agenda buffer that is underneath -- all of the original text properties are still present. – lawlist Jun 15 '15 at 4:17
  • I see that extra line I'll try to write that codes. But first I have to learn how to use eval-expression-print-level and eval-expression-print-length thanks for help :) – itirazimvar Jun 15 '15 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.