Re: Clock tables and two ways to categorize tasks

2020-11-19 Thread Bala Ramadurai
Hello,
  Thank you for the patch from reddit and gist on categorizing tasks in the
clocktable.

Is there a way, the :formula % will also work on the *Category Time*, that
will be really handy in trying to find out category based time clocking?

Thanks and have a nice day!
Bala
https://balaramadurai.net


help with sexp in org-capture-template

2020-03-31 Thread Bala Ramadurai
Hello All,
  Hope everyone's safe.

I am working on a org-capture-template and one of the entries is a date (30
days later) I want in European format.

My solution is this:
| *Due Date*: %(concat (substring (org-read-date nil nil "+30d") 8 10) "-"
(substring(org-read-date nil nil "+30d") 5 7) "-" (substring(org-read-date
nil nil "+30d") 0 4)) |

Although this does the job, it is extremely inelegant and only reflects my
poor knowledge in elisp.

Can any of you please help me in making this code better?

Thanks and have a safe day!
Bala

http://balaramadurai.net


org-archive-subtree - error - org-get-local-archive-location

2019-11-27 Thread Bala Ramadurai
Hello All,
  When I use org-archive-subtree, I get this error "Symbol's function
definition is void: org-get-local-archive-location". I tried looking into
org-archive.el, but it seems to point to ad-Advice... I am a newbie in
elisp, so I really can't figure this out.

Please help me with this.

I am using org-9.2.6 on emacs 26.3

Thanks
Bala Ramadurai

http://balaramadurai.net


[O] clocktable - can we display lower headline items alone?

2017-07-22 Thread Bala Ramadurai
Hello all,
  I have looked at many invoicing solutions in org-mode. I find them to be
a bit tedious for my needs.

I really like clocktable's simplicity. However, I would like to display,
say the 3rd level headline alone.

* foo 1
** foo 2
*** bar 1
:LOGBOOK:
CLOCK: [2017-07-21 Fri 12:00]--[2017-07-21 Fri 13:00] => 01:00
:END:


The corresponding clocktable is

#+TBLNAME: clocktable
#+BEGIN: clocktable :maxlevel 3 :scope ("todo.org") :block 2017-07
#+CAPTION: Clock summary at [2017-07-22 Sat 23:24], for July 2017.

| File | Headline | Time|   |   |
|--+--+-+---+---|
|  | ALL *Total time* | *01:00* |   |   |
|--+--+-+---+---|
| todo.org | *File time*  | *01:00* |   |   |
|  | foo 1| 01:00   |   |   |
|  | \_  foo2 | | 01:00 |   |
|  | \_bar 1  | |   | 01:00 |
#+END:

Is it possible for just the "bar 1" entry alone to show up on the table
without the higher level headlines in my org clocktable?

Thanks and have a great day!
Bala
-- 
http://balaramadurai.net


Re: [O] How do you organize a project and its related sub-tasks

2017-06-19 Thread Bala Ramadurai
>
> Hello,

  Yes, having projects in the agenda is annoying. I use the philosophy from
http://doc.norang.ca/org-mode.html where any task with subtasks is a
project. Stuck projects are those with no next action.

I have several projects which have many nested sub projects in them.

Prior to org mode, I tried so many apps to get this basic feature, but not
many are this malleable and still easy to use.

Thanks and have a good day!
Bala

> --
http://balaramadurai.net


Re: [O] [Solved] Gnuplot and Windows

2017-04-19 Thread Bala Ramadurai
Thanks Jon for your help.
  I finally managed to solve this by explicitly mentioning the path in the
gnuplot-program as C:\Program Files (x86)\gnuplot\bin\gnuplot.exe

However, gnuplot hangs and does nothing after that though.

Thanks again
Bala

--

Message: 30
Date: Tue, 18 Apr 2017 10:17:28 -0400
From: Jonathan Leech-Pepin 
To: Org Mode Mailing List 
Subject: Re: [O] Gnuplot and Windows
Message-ID:

Re: [O] Gnuplot and Windows

2017-04-18 Thread Bala Ramadurai
Thanks Eric for your reply.

Yes, I installed gnuplot, gnuplot-mode and gnuplot.el. Still, I get this
error. I fooled around with changing the variable gnuplot-program to
windows notation of the PATH. I added gnuplot.exe to the $PATH variable as
well.

Still no luck
Thanks
Bala


>
> On Thursday, 13 Apr 2017 at 01:18, Bala Ramadurai wrote:
> > Hello All,
> >   I tried my hand with gnuplot yesterday on my windows machine
> > (Windows 10; Emacs 24.5.1; Org 8.3.4) and I keep getting the error
> > "Searching for program: no such file or directory: gnuplot".
>
> You probably need to install gnuplot:
>
> http://gnuplot.info/
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576
> -- next part --
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 194 bytes
> Desc: not available
> URL: <
> http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20170413/83d337a9/attachment.pgp
> >
>
> End of Emacs-orgmode Digest, Vol 134, Issue 13
> **
>
-- 
http://balaramadurai.net


[O] Gnuplot and Windows

2017-04-12 Thread Bala Ramadurai
Hello All,
  I tried my hand with gnuplot yesterday on my windows machine (Windows 10;
Emacs 24.5.1; Org 8.3.4) and I keep getting the error "Searching for
program: no such file or directory: gnuplot".

I googled this and found some forum answers, but none of the tricks solved
this issue for me.

What I want are simple X-Y plots.

Can you please help me with this?

Thanks and have a great day!
Bala
-- 
http://balaramadurai.net


Re: [O] How are people handling their calendars?

2016-10-25 Thread Bala Ramadurai
Hello All,
  Interesting question indeed! I had tried a whole bunch of options, but
gave up on each of those because of some kind of conflicting requirements.

Option 1: MobileOrg. Works well, but sharing particular events is tricky.
Served me the longest along with Zapier app integrations
Option 2: export to ICS and share on dropbox as a URL. Then import the URL
into google calendar as a separate calendar. I made two calendars - one for
sharing and one for personal. Since the sharing was mainly with my wife, I
set up her mobile so that it shows up the event from the shared calendar.
Limitation - she couldn't edit the event on her own.
Option 3: My latest - org-gcal. I finally figured out how to use it. Now, I
use it to sync 2 calendars. Still a bit quirky, but on the whole it works
well. I would have loved it if org-gcal could pick up scheduled items from
the middle of the org file. instead, now I have a dedicated org file for
events. Since, this syncs pretty well. My wife can edit events as well.
Only limitation is that the tokens have to refreshed once in a while. I am
still figuring out my review process based on the new setup.

I didn't use the DAV option, neither did I use the awk script. calfw is
very different from org-agenda, so I find it a bit clunky for my needs and
style.

I would love to hear more options from the group.

Have a great day!
Bala

http://balaramadurai.net


-- 
http://balaramadurai.net


Re: [O] convert scheduled recurring entries into clocked data

2016-10-05 Thread Bala Ramadurai
Thanks Nicolas for your reply. I am using Org 8.3.4.

The clocking works fine for me and so do recurring state changes. Basic
functioning is OK for me.

Currently, I follow these steps:
1. I don't clock these recurring tasks
2. mark the recurring task as done
3. manually copy the clock data
4. and use M-S- to change the clock data to the current date

I was seeing if the above process can be automated or cleverly done thru
elisp code. I am not adept at elisp, so I was wondering if anyone else had
done this.

Thanks and have a great day!
Bala

http://balaramadurai.net

On Wed, Oct 5, 2016 at 12:13 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Bala Ramadurai <nikimonik...@gmail.com> writes:
>
> > I use org-mode for scheduling and logging in tasks. I clock in
> > non-recurring tasks, however I find it strenuous to clock in recurring
> > tasks. Is there any way I can mark the recurring task done and the
> > scheduled time for the task is converted into clocked data as soon as I
> > mark it done?
> >
> > Example,
> >
> > * TODO Task 1
> > SCHEDULED: <2016-10-04 Tue 10:00-10:30 ++1d>
> >
> > After I mark it done, the task should read
> >
> > * TODO Task 1
> > SCHEDULED: <2016-10-05 Wed 10:00-10:30>
> > :LOGBOOK:
> > - State "DONE"   from "TODO"   [2016-10-04 Tue 11:42]
> > CLOCK: [2016-10-04 Tue 10:00]--[2016-10-04 Tue 10:30] => 0:30
> > :END:
>
> Could you expunge a bit? What happens instead? What is your
> configuration and the Org version you're using? In particular, did you
> try the latest one?
>
> Regards,
>
> --
> Nicolas Goaziou
>


[O] convert scheduled recurring entries into clocked data

2016-10-04 Thread Bala Ramadurai
Hello All,
  I posted this question on emacs stackexchange, but then it occurred to me
that I should post this on emacs-orgmode as well.

http://emacs.stackexchange.com/questions/27565/how-do-i-convert-scheduled-recurring-entries-into-clocked-data

I use org-mode for scheduling and logging in tasks. I clock in
non-recurring tasks, however I find it strenuous to clock in recurring
tasks. Is there any way I can mark the recurring task done and the
scheduled time for the task is converted into clocked data as soon as I
mark it done?

Example,

* TODO Task 1
SCHEDULED: <2016-10-04 Tue 10:00-10:30 ++1d>

After I mark it done, the task should read

* TODO Task 1
SCHEDULED: <2016-10-05 Wed 10:00-10:30>
:LOGBOOK:
- State "DONE"   from "TODO"   [2016-10-04 Tue 11:42]
CLOCK: [2016-10-04 Tue 10:00]--[2016-10-04 Tue 10:30] => 0:30
:END:

Thanks
Bala
http://balaramadurai.net