Re: [O] bulk relative time shift (in org file)?

2011-07-27 Thread Michael C Gilbert
On Jul 26, 2011, at 12:44 PM, Memnon Anon wrote:

  Bastien b...@altern.org writes:
 
 On an item, `C-c C-s' and `C-c C-d' now allows you to use
 +2d to say schedule in 2 days from today or ++2d to 
 say schedule in 2 days from existing timestamp.
 
 In agenda, `B s' and `B d' will also understand this and
 let you reschedule/redeadline items relatively.
 
 Let me know if this works okay for you -- and thanks for
 bringing this up again!
 
 ++ looks very useful! I pinged Michael who started this thread, I hope 
 we'll get an update
 on his perspective. 

I missed the ++ usage in this context completely. Yes, this gets me close to 
what I was looking for.

Ideally, something like this should be available in the org file, rather than 
in the agenda. The reason being is that it is a common project planning task to 
shift all related tasks back by some set period of time. I can see expanding 
the notion to take dependencies into account, but that is not critical. I'm 
just looking for a way to do this routine in the project management  planning 
contexts in my own work and in my organization

But if I shift back and forth to the agenda, then I can make this work. I'm 
assuming that the 'Cc C-s' and 'C-c C-d' commands don't work on regions or on 
everything under a heading?

— Michael




Re: [O] Release 7.7

2011-07-28 Thread Michael C Gilbert
On Jul 28, 2011, at 3:47 AM, Bastien wrote:

 Allow relative time when scheduling/adding a deadline 
 ==
 
 You can now use relative duration strings like -2d or ++3w
 when calling =org-schedule= or =org-deadline=: it will schedule
 (or set the deadline for) the item respectively two days before
 today and three weeks after the current timestamp, if any.
 
 You can use this programmatically: =(org-schedule nil +2d)=
 will work on the current entry.
 
 You can also use this while (bulk-)rescheduling and
 (bulk-)resetting the deadline of (several) items from the agenda.
 
 Thanks to Memnon Anon for a heads up about this!

Thank you to both Memnon and Bastien. This feature alone has already made a 
difference to me and my colleagues.

Orgmode and its contributors continue to astound me.

— Michael

Nonprofit News
http://nonprofitnews.org





Re: [O] gnuplot question - Specify an entire line to be inserted in the Gnuplot script.

2011-07-29 Thread Michael C Gilbert

On Jul 29, 2011, at 12:52 PM, Eric Schulte wrote:

 I would recommending using a gnuplot code block rather than a plot line,
 and passing your data to the code block using a variable.  Code blocks
 give you much more direct access to gnuplot, which I find generally
 makes gnuplot learning/debugging much easier.
 
 see http://orgmode.org/manual/Working-With-Source-Code.html

snip

Thank you, Eric. You're generous with your time and you're absolutely correct. 
This is the direction I will go. There's no doubt that this seems the right way 
to go for anything sophisticated. And like most solutions, it will then end up 
my standard approach. However, it also means I will put this off for a little 
while until I'm ready to do it right. Maybe just a few days, but...

That means that, in the mean time, if you or anyone has an example of how to 
configure this using the line: formatting, it would still be useful to me and I 
would still be grateful. I just have something small I need to produce tonight 
or tomorrow, for doing some simple blood pressure tracking. I have everything 
working except a couple of reference lines running across the plot. I'm 
figuring since it's in the documentation, there must be something somewhere 
that shows the syntax, yes?

— Michael





Re: [O] gnuplot question - Specify an entire line to be inserted in the Gnuplot script.

2011-07-29 Thread Michael C Gilbert
On Jul 29, 2011, at 3:52 PM, Eric Schulte wrote:

 That means that, in the mean time, if you or anyone has an example of
 how to configure this using the line: formatting, it would still be
 useful to me and I would still be grateful. I just have something
 small I need to produce tonight or tomorrow, for doing some simple
 blood pressure tracking. I have everything working except a couple of
 reference lines running across the plot. I'm figuring since it's in
 the documentation, there must be something somewhere that shows the
 syntax, yes?
 
 This is probably the best reference for using plot lines.  If you can't
 find what you're looking for there it may not exist...
 http://orgmode.org/worg/org-tutorials/org-plot.html

First place I looked, after the manual. It reproduces the entry about the use 
if the line option, but that's it. 

Anyone on the list used this option? Or competent enough with the code to look 
at what the syntax is likely to be?

Sorry for the lame question, since there is clearly a better way to do this 
down the road.

— M


Re: [O] how to include items (filtered) from other org files?

2011-08-03 Thread Michael C Gilbert
I'm going to narrow my question a bit because by now I've figured out that the 
most likely course to follow should be the use of a dynamic block. Is that 
correct?

What I'm not sure of is whether I need to develop a function from scratch to 
crawl through certain files for tasks with particular tags or whether there are 
functions that I can leverage to do this (such as some of the functions upon 
which the agenda depends, etc). I am way out of my depth on this one, but with 
a few pointers I feel like it may be a good way for me to keep learning

TIA

— Michael



On Aug 3, 2011, at 5:40 PM, Michael Gilbert wrote:

 Here's my challenge:
 
 I manage a lot of complex, overlapping projects. One of these projects is a 
 regular newsletter. Half of the content that goes out in this newsletter is 
 created by the newsletter program itself. The other half is the result of 
 several other projects, which produce reports and articles that get published 
 in the newsletter. The publishing task in all those other projects are tagged 
 with an 'nnpublish' tag. 
 
 I want to be able to work on the newsletter project in one place. I don't 
 want to maintain duplicate tasks in wildly different places. (You can imagine 
 how out of hand this would get.) What I want to do is INCLUDE all of the 
 other publishing tasks programmatically in the org file that I use to manage 
 the newsletter. I am completely stymied as to how to do this.
 
 The only information that I've had a change to look at that touches on the 
 matter of including other files is in section 11.4 of the manual. If I'm not 
 mistaken, it applies only to export. And the only processing that can be 
 applied to the file being included is a limitation on which lines to include. 
 Unless I'm missing something, this isn't going to meet my needs. I'm 
 wondering if perhaps I need to be looking at code blocks. Maybe something 
 that uses agenda code to grab items and then renders them in place. Oh hell, 
 I don't know.
 
 I'm pretty lost as to how to pursue this. Any thoughts?




Re: [O] OSX: Display cur. task in Menu Bar?

2011-08-12 Thread Michael C Gilbert
On Aug 12, 2011, at 8:08 AM, Nathan Neff wrote:

 Does anyone know of a script or a menulet that will display the currently 
 logged in task in OSX's menu-bar? My main purpose is to show Org mode's 
 currently logged in task on some part of the screen that's always visible.

Thanks for bringing this up. I've explored some answers to this, but haven't 
settled on anything. I really like being able to focus on one task and have my 
desktop environment support that as well.


 I considered using Growl, but Growl only stays open for X seconds, and takes 
 up a more considerable part of the screen.

Have you experimented with this? There are Growl settings that allow you to 
keep a Growl notification up until dismissed,


 I keep Emacs open in a separate Space and would like to have a constant 
 reminder of what I'm /supposed/ to be working on.

I don't know how to display information in the menu bar. That's beyond my 
skills. But my answer, which might work well with a separate Space, is to use 
Geektool to display the currently clocked-in task on the desktop. 

— Michael




Re: [O] how to include effort in agenda prefix?

2011-08-18 Thread Michael C Gilbert
On Aug 17, 2011, at 9:17 PM, Max Mikhanosha wrote:

 Use %e format for effort. If it gives you an error you need newer
 org-mode, as the patch to fix %e format only got applied recently.

I do try to keep current, but apparently I missed that! I see it in the 
docstring, but I don't see its usage explained (in the docstring or in the 
manual). Am I overlooking it?

Thank you, regardless — exactly what I needed.

— Michael




Re: [O] indent fixup error on refile (more details)

2011-09-01 Thread Michael C Gilbert

On Sep 1, 2011, at 3:33 PM, Michael Gilbert wrote:

 I'm afraid I don't know exactly where this error was introduced (I do nightly 
 updates) and I have been on travels and haven't been monitoring the list 
 closely. So I apologize in advance is this is a lousy error message. But I 
 wanted to put it out there in case it was already something that had 
 someone's attention
 
 When I refile from the agenda, I will frequently get this error:
 
   org-fixup-indentation: Invalid search bound (wrong side of point)
 
 The item is copied to the new location (as the new topmost item in the 
 location), but the indentation, as you might expect, is incorrect. Also as 
 you might expect, the  item is not deleted from its original location. Bulk 
 refiles stop after just messing up the first one, of course.

New information:

I am pretty sure this only happens when the item to be refiled has a Properties 
drawer.

I am guessing the pointer to fix the indentation isn't moving to the correct 
location somehow

Anyone who knows more than me about this (which is 90% of you): Any ideas?

— Michael




Re: [O] Agenda, yellow bar delayed

2012-01-16 Thread Michael C Gilbert
On Jan 14, 2012, at 6:33 PM, François Pinard wrote:

 Let me report a tiny annoyance, nothing serious.  It seems to coincide
 with a recent git pull, but the coincidence may be accidental.
 
 Whenever I use the I key to clock-in from the agenda, the background
 on the agenda line used to immediately go yellow.  Now, it does not
 change immediately, yet if I do r to redo, then it changes.  Am I
 alone in having observed this?

I'm seeing this as well. 

Along with the fact that that agenda line doesn't change the status to STARTED, 
as it did before.

And that J no longer jumps to the currently clocked in task.

Running 7.8.03 (release_7.8.03.137.g812d0)

— M




Re: [O] date added into logbook?

2012-05-28 Thread Michael C Gilbert
On May 28, 2012, at 12:56 PM, John Hendy wrote:

 On Mon, May 28, 2012 at 2:01 PM, Michael Gilbert m...@gilbert.org wrote:
 
 I have a desire to better track the history of notes and tasks, as they get 
 created, refiled, etc. This involves several elements, but one of them 
 involves a piece that I've wanted for a while: a way to keep the data that 
 is lost when I refile an item from my default date-tree file — the date the 
 item was created/added.
 
 Perhaps there is some obvious (but mysterious to me) variable I can set for 
 this, but I haven't found it. What I want is to be able to have a string 
 similar to the others added to the logbook (like  - Refiled on [2012-05-28 
 Mon 11:33]), but for the date/time the item first appeared.
 
 Bernt Hansen does this (I think this is what you're looking for). Can this 
 help?
 -- http://doc.norang.ca/org-mode.html#sec-15-21


Thank you! There it is, on the web, 80% of what I was looking for (of course). 
This certainly has the same intent. It does not add any metadata (such as a 
prefix  - Added on ), but the documentation for org-insert-time-stamp makes 
it obvious how to do that. What eludes me is how to make it obey the 
org-clock-into-drawer setting. I'm assuming it doesn't.

— Michael




Re: [O] date added into logbook?

2012-05-29 Thread Michael C Gilbert
On May 29, 2012, at 6:04 AM, Jonathan Leech-Pepin wrote:

 I'm not sure that you can automatically include the note into a
 :LOGBOOK: drawer, however if you're mostly/only working from capture
 templates you could add a property for CREATED and have it
 automatically fill with an inactive timestamp.


snip

Thank you. That's another useful approach. 

I had this hunch that, in the interest of synergy and re-usability, it would 
make sense to tap into the existing framework for managing the logbook. But 
from perusing the code, it seems that much of that is kind baked-in. I'm 
wondering if someone more familiar with the code base in question might comment.

Am I mistaken? Is there a way to tap into the logbook related loops?

— Michael




Re: [O] date added into logbook?

2012-06-10 Thread Michael C Gilbert
On May 31, 2012, at 8:03 PM, Sacha Chua wrote:

 Have you considered using org-capture with the clock options? I like
 using this because it automatically grabs the timestamp as well, and
 when I press C-c C-c, it clocks out. Handy - I've been using it to
 calculate my words per minute (dismally low for blog posts sometimes!).
 
 Here's a snippet from my config:
 
 snip


I would eventually love to have better access to the existing framework for 
logbook entries, but I think using org-capture seems the way to go for now. 
Thank you (and others) very much.

— Michael