[O] date added into logbook?

2012-05-28 Thread Michael Gilbert
Hi all —

I've been slowly studying LISP to the point where I can at least READ some of 
the code written by the amazing people in the Org-Mode community, but I'm not 
yet at the point where I am willing to try to write to much myself, especially 
given my need to learn much more about the variables and functions in org-mode. 
(Well, I have been willing, but since it takes me five hours still to do 
something I can do in a few minutes in Python, I'm obviously just not there 
yet.) So, I am turning to you for this one.

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. 

Is anyone else already doing this?

— Michael


http://nonprofitnews.org
http://gilbert.org






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

2011-09-01 Thread Michael Gilbert
Hi —

This is a resend of an earlier message, with more detail from the debugger 
below.

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.

Anyone else experiencing this? Has it been discussed and I just didn't managed 
to search for it properly?

Debugger results:

Debugger entered--Lisp error: (error Invalid search bound (wrong side of 
point))
  re-search-forward(\\(\\(?:CLO\\(?:CK\\|SED\\)\\|DEADLINE\\|SCHEDULED\\)\\|^[ 
]*[[]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]
\n]*?\\)[]]\\(--?-?[[]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]
\n]*?\\)[]]\\)?*$\\|^[]*:[a-zA-Z][a-zA-Z0-9_]*:.*$\\) 223 t)
  org-fixup-indentation(-1)
  org-promote()
  org-map-region(org-promote 85 228)
  org-paste-subtree(3)
  org-refile(nil #buffer Notes.org (#(Family  Friends (FamilyFriends.org) 
0 16 (org-category-position 1 org-category #(MyPeople 0 8 ...) fontified 
nil)) /Users/mcg/OrgMode/Projects/MCGprojects/FamilyFriends.org ^\\(\\*+\\)[ 
  ]+\\(?:\\(TODO\\|STARTED\\|DONE\\|WAITING\\|CANCELLED\\)[   
]+\\)?\\(?:\\(\\[#.\\]\\)[  ]+\\)?\\(?:\\(?:\\[[0-9%/]+\\]\\)[  
]+\\)?\\(Family  Friends\\)[   ]*\\(?:\\[[0-9%/]+\\]\\)?\\(?:[ 
]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[]*$ #marker at 1 in 
FamilyFriends.org))
  org-agenda-refile(nil nil t)
  (lambda nil (interactive) (org-agenda-refile nil nil t))()
  call-interactively((lambda nil (interactive) (org-agenda-refile nil nil t)) 
nil nil)



— Michael

http://nonprofitnews.org
http://gilbert.org




[O] indent fixup error on refile

2011-08-29 Thread Michael Gilbert
Hi —

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.

Anyone else experiencing this? Has it been discussed and I just didn't managed 
to search for it properly?

— Michael

http://nonprofitnews.org
http://gilbert.org




[O] how to include effort in agenda prefix?

2011-08-17 Thread Michael Gilbert
Hi all —

I want to be able to skim across my agenda and see effort estimates. I have 
been looking at the variable org-agenda-prefix-format and wondering if use of 
the expression evaluation option in there is the way to do it. However, while I 
have configured this prefix to suit me in other ways, writing a suitable 
expression to include the effort of the item is beyond my current skills. Any 
advice?

TIA!

— Michael





Re: [O] how to narrow Clock Total on repeating tasks?

2011-08-10 Thread Michael Gilbert
Hi all —

Been through some rough family time and I worry that I may have missed a 
response to this question. I apologize if that's the case. If not, is there 
anyone with any insights?

Basically, I'm just looking for a way to narrow the scope of the clock total to 
the current iteration of task, in the context of the column view of the agenda. 
Comparing effort to total doesn't make a lot of sense if the former is an 
estimate per iteration and the latter is an total over all iterations.

At least not to me. There's always the likelihood that I'm just missing 
something.

— Michael



On Aug 1, 2011, at 11:36 AM, Michael Gilbert wrote:

 I use the effort and clocking features of OM to a large degree and am trying 
 to deepen that further. I have run into one problem that I don't know how to 
 apprach. Quite possibly there is an obvious answer in the manual that I've 
 missed and if so, please forgive me. (I have noticed that most of my 
 questions don't, in fact, have such answers though.) I am trying to figure 
 out how to limit the calculation of the clocking total to the latest 
 iteration of a repeating task.
 
 The most obvious place where this plays out is in column view. I am working 
 my way through my agenda in column view, estimating efforts or reviewing my 
 effort estimates against real-time clocking. The clock total in this view 
 shows the full total over all iterations of repeating tasks — not helpful for 
 this use case.
 
 Am I being clear? (I hate to over-explain something to a group of this 
 calibre.) Any advice on how to change that?




[O] how to narrow Clock Total on repeating tasks?

2011-08-01 Thread Michael Gilbert
Hi —

I use the effort and clocking features of OM to a large degree and am trying to 
deepen that further. I have run into one problem that I don't know how to 
apprach. Quite possibly there is an obvious answer in the manual that I've 
missed and if so, please forgive me. (I have noticed that most of my questions 
don't, in fact, have such answers though.) I am trying to figure out how to 
limit the calculation of the clocking total to the latest iteration of a 
repeating task.

The most obvious place where this plays out is in column view. I am working my 
way through my agenda in column view, estimating efforts or reviewing my effort 
estimates against real-time clocking. The clock total in this view shows the 
full total over all iterations of repeating tasks — not helpful for this use 
case.

Am I being clear? (I hate to over-explain something to a group of this 
calibre.) Any advice on how to change that?

— Michael

Nonprofit News
http://nonprofitnews.org




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

2011-07-29 Thread Michael Gilbert
Hi —

There is a single line in the OM manual (currently on p32) which reads:

lineSpecify an entire line to be inserted in the Gnuplot 
script.

I am trying to insert a couple of horizontal reference lines in a simple plot. 
I have the plot working, but I need an example of this to help me along. The 
Gnuplot manual is a monster all its own and I'm not even sure the format is 
exactly the same. At any rate, I'm a little stuck. Any advice?

— Michael

Nonprofit News
http://nonprofitnews.org





[O] stop rebuilding of agenda upon secondary filtering? (7.6 behavior)

2011-07-28 Thread Michael Gilbert
Hi —

Upon upgrading to 7.6, I am noticing that my agenda now rebuilds as I move 
between various secondary filters. This is a substantial slowdown to my regular 
workflow. Is there a setting I could use to adjust this behavior? Other advice?

TIA

— Michael




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

2011-06-30 Thread Michael Gilbert
Hi —

I've spent a fair amount of time with the manual and have hints that this might 
be possible, but I'm not piecing it together. Basically what I want to do is 
this:

- select a number of items with time stamps in an org file (either by region 
or, if I must, all items subsidiary to a headline)
- change all of their deadlines (or some other time stamp) by a set number of 
days, relative to the date they currently have
- the result is a bulk rescheduling, with the relative timing of the items 
remaining intact

Additional points:

- I would prefer to select the type of timestamp to change, but I can probably 
work with it changing all of them. (Note that some items have both Scheduled 
and Deadline timestamps. Some even have other, inactive timestamps. Plus, there 
are also timestamps in the Logbook on some items.)
- I would prefer to do this in the org file, not in the Agenda. This is a 
planning activity.
- I can see how I might do this by cloning the subtree, but that seems like an 
ugly hack, involving deleting the original.

Any guidance?

TIA!

— Michael


The Gilbert Center: http://gilbert.org
Nonprofit News: http://nonprofitnews.org





Re: [Orgmode] paralyzing bug: orgmode typeface gibberish

2010-10-14 Thread Michael Gilbert
On Oct 13,2010, at 7:51 PM, Jeff Horn wrote:

 I surmise it's a font-lock or faces issue. But I don't know enough about that 
 sort of thing to help much... Maybe examine the faces? Customize group 
 org-faces. See if the font is
 set to webdings, dingbats, or something similar.

I had already looked at my faces customizations and couldn't see anything usual 
about them. Then I went ahead and reset all faces customization to defaults. No 
change in this odd behavior. But

Thank you, Jeff. Your note prompted me to return to this line of investigation. 
I decided to just trash my customization file altogether as a test. Lo and 
behold, that fixed the problem. I have to rebuild my customizations, but that 
is a solvable problem. I still have no idea how this came about, why there was 
nothing visible wrong with the settings, and why resetting them from within 
Aquamacs didn't fix it. But, good enough!

Thank you, again.

— Michael



 On Wed, Oct 13, 2010 at 7:59 PM, Michael Gilbert m...@gilbert.org wrote:
 
 My setup: Aquamacs 2.1 (Emacs 23), Orgmode 7.01h. This came about a few 
 minutes ago, after a routine reboot.
 When set to org-mode, my buffers now display some gibberish typeface that I 
 don't recognize (forgive the attachment):
 Same buffer, when flipped to text-mode:
 I am totally lost as to how to approach this. And, after a year of entwining 
 myself deeper and deeper into org-mode, I am dead in the water. Maybe I will 
 go take a walk. I understand there is an Outside World to visit.
 Anyway, any thoughts?


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] anyone composing email in orgmode and sending with Mail.app?

2010-08-30 Thread Michael Gilbert
Hi all —

Slowly but surely Orgmode absorbs my various workflows. The latest one that I'm 
struggling with is email. I've read about org-mime and I'm not sure I'm ready 
to install an emacs email client. I know there are various mac os integration 
tools, but I'm fuzzy on how to do one particular workflow. As a result, I'm 
still clinging to Markdown for email. Raw orgmode, unfortunately, is not as 
readable to my clients and colleagues as Markdown is. Thus, I want to figure 
out a better workflow for sending email from Orgmode via Mail.app, perhaps with 
a plain text export of some kind or with HTML or RTF formatted email.

Anyone doing anything like this?

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-clock-current-task?

2010-08-06 Thread Michael Gilbert

On Aug 6,2010, at 2:30 AM, Bastien wrote:

 Did org-clock-current-task actually end up in orgmode in February? I
 see mention of it on the list, but I'm not seeing it in the
 application.
 
 Yes, this was added in february:
 
 ,
 | commit 30ffaca5aa2cbffbfa2dd21335c058c75a22ed33
 | Author: Bastien Guerry b...@altern.org
 | Date:   Wed Feb 24 16:28:43 2010 +0100
 | 
 | Added org-clock-current-task which stores the last clocked in entry.
 | 
 | The `org-clock-set-current' and `org-clock-delete-current' functions
 | handle this variable.  The variable only stores the last clocked in
 | entry, not the history of clocked in tasks.
 `
 
 Try C-h v org-clock-current-task to see the variable.

Oops. Put that down to a simple typo that I didn't see it. THANK you.

— M



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-clock-current-task?

2010-08-05 Thread Michael Gilbert
Hi -

Did org-clock-current-task actually end up in orgmode in February? I see 
mention of it on the list, but I'm not seeing it in the application.

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] camel.el, for CamelCase links

2010-08-04 Thread Michael Gilbert
On Aug 3,2010, at 9:27 AM, Bastien wrote:

 David O'Toole dto1...@gmail.com writes:
 
 http://github.com/dto/folio/blob/master/camel.el
 Someone asked about this recently, i have some partially working code.
 
 I'm not a big fan of CamelCase links because it encourages the habit of
 creating many files -- but that may be useful for some.

I'm on the fence about that one. I would definitely love an easier way to 
create remote files and headings. This might help with the file end of that.

A question for people people on the list: I'm not sure of the conventions with 
CamelCase and wikis (and a quick search didn't reveal the answer), but I'm 
wondering what might work to complete the model — that is to say include 
creation of remote headings as well as remote files. For example, perhaps using 
the # sign convention, we would write 'CamelCase#usage' and the first part 
would act as has been described. The second part (after the # sign) would 
reference a (top level?) heading in that file. If the heading existed, then 
great. If not, then it's created as part of the same trigger.

Perhaps this is all old hat, but I couldn't dig up answers for myself, so I 
thought I would run it by you all.

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mobile-create-sumo-agenda might be the culprit?

2010-07-26 Thread Michael Gilbert
Hi —

I wrote a message to the list recently about mobileorg failing to generate 
files to sync. I have a little more detail. A hunch really, since I am not 
savvy in Lisp at all. But it looks to me like org-mobile.el is getting to 
org-mobile-create-sumo-agenda and then stopping. There is no error message, but 
I think somehow that's where it stops.

I have one custom agenda of any important (I believe Carsten in fact wrote it 
for an earlier request I have):

(setq org-agenda-custom-commands
 '((d Due today agenda 
((org-deadline-warning-days 0)
 (org-agenda-skip-scheduled-if-deadline-is-shown t)
 (org-agenda-skip-function
  (lambda ()
(let* ((dl (org-entry-get nil DEADLINE)))
  (if (or (not dl)
  (equal dl )
  (org-time dl (org-time-today)))
  (progn (outline-next-heading) (point
  (I Import diary from iCal agenda 
 ((org-agenda-mode-hook
   (lambda ()
 (org-mac-iCal)
)
  ;; ...other commands here
   )



Am I on the right track? Any advice?

— Michael







My earlier message:

My goal was to make the initial connection with the App on my phone. I'm using 
Dropbox and my startup file includes:

(setq org-mobile-inbox-for-pull ~/OrgMode/Flagged.org)
(setq org-mobile-directory ~/Documents/Dropbox/MobileOrg)

I run M-x org-mobile-push  and it seems to do something. But no files are 
pushed to the MobileOrg folder. I set debug-on-error and I get no error. I've 
reloaded .el files.

Any advice? Next steps?  

TIA.



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] first time setting up mobile-org -- no files produced

2010-07-21 Thread Michael Gilbert
Hi —

Using Dropbox. Startup includes:

(setq org-mobile-inbox-for-pull ~/OrgMode/Flagged.org)
(setq org-mobile-directory ~/Documents/Dropbox/MobileOrg)

M-x org-mobile-push does something. But no files are pushed to the MobileOrg 
folder. I set debug-on-error and I get no error. I've reloaded .el files.

Next steps? I'm sure this is glaringly obvious to someone

TIA.

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] highlight confusion in agenda

2010-07-20 Thread Michael Gilbert
Hi —

I have a frequent navigation issue in the agenda and I'm curious if anyone else 
deals with this or has a solution. Like many users I have the currently 
selected line in the agenda set to be highlighted (an absolute lifesaver). But 
although I am not very mouse-oriented, as an Aquamacs user I find that the line 
where the mouse happens to be hovering (not having selected anything) is mostly 
highlighted in exactly the same was as the selected line. This is a cause of 
frequent error on my part. I only notice this in the agenda, not in other files.

Is there any way to turn off the latter effect?

TIA

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)

2010-07-16 Thread Michael Gilbert
On Jul 16,2010, at 10:36 AM, David Maus wrote:

 Following the instructions from manual, I have this near the end of my 
 startup file (I hope that is copied correctly):
 
  (add-hook ’org-mode-hook 
 (lambda () (imenu-add-to-menubar Imenu)))
 
 Um... Wrong type of quote?  It's 
 'org-mode-hook (ASCII 39)
 not
 ’org-mode-hook (Unicode 8217)

Yep. When there wasn't an obvious answer, I found the same thing. Thank you 
regardless, David. What effect is it that the incorrect character has on the 
LISP processing? The error returned was related the name of the variable...

Also, I guess this is a possible bug in the documentation: Looks like the 
single quote in the PDF version of the manual is Unicode 8217. (And of course I 
copied and pasted, to avoid getting anything wrong when I typed it!) Would that 
be something worth correcting? I have this vague notion that I've encountered 
it elsewhere. The HTML version of the manual is rendered correctly, but the PDF 
is not, I think. A quick scan suggests this — the renderer turns all the single 
quotes into curly quotes, even when they are being used in code.

— Michael







___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] possible single-quote bug in PDF docs (was: trouble with Imenu integration)

2010-07-16 Thread Michael Gilbert
 Following the instructions from manual, I have this near the end of my 
 startup file (I hope that is copied correctly):
 
(add-hook ’org-mode-hook
   (lambda () (imenu-add-to-menubar Imenu)))
 
 Um... Wrong type of quote?  It's
 'org-mode-hook (ASCII 39)
 not
 ’org-mode-hook (Unicode 8217)
 
 Yep. When there wasn't an obvious answer, I found the same thing. Thank you 
 regardless, David. What effect is it that the incorrect character has on the 
 LISP processing? The error returned was related the name of the variable...
 
 Also, I guess this is a possible bug in the documentation: Looks like the 
 single quote in the PDF version of the manual is Unicode 8217. (And of 
 course I copied and pasted, to avoid getting anything wrong when I typed 
 it!) Would that be something worth correcting? I have this vague notion that 
 I've encountered it elsewhere. The HTML version of the manual is rendered 
 correctly, but the PDF is not, I think. A quick scan suggests this — the 
 renderer turns all the single quotes into curly quotes, even when they are 
 being used in code.
 
 Yes.  Unfortunately I don't know a way to fix this.

I am ignorant of LATEX and your particular architectural challenges of course. 
But the way scripts like John Grubers SmartyPants does it is by only converting 
those quote marks that are outside of tags indicating that the section is code 
or other exempt section (in HTML these would be  pre, code, kbd, 
orscript). 

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: can you require a certain template with lognotedone?

2010-07-13 Thread Michael Gilbert
 I require a note when certain TODOs are changed to DONE. These are
 almost always some sort of structured logging. Is there a way to call
 org-capture and/or require a certain template for that note? That
 would be a very powerful workflow for me.
 
 You could use org-after-todo-state-change-hook to call a function that
 invokes org-capture, using arbitrary tests to see if the current entry
 has a particular property, etc.

Thank you. This may be beyond my skill right now. And as Darlan pointed out to 
me offlist, this might be something that should be framed more generically. I 
do need to start learning about hooks though.

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] how to include time when setting deadlines?

2010-07-12 Thread Michael Gilbert
Hi —

I understand the time format in orgmode, but something is eluding me. Many of 
my projects have specific times for deadlines (that is to say, time of day on 
the date due). I can't see how to enter that other than by hand. When I type 
C-c C-d, I get the wonderful date prompt system. But I have not been able to 
discover how to get that to prompt me for the time or to include a time, like 
it includes month and day, etc. I've spent some time with the manual and 
searching the archives, but my search skills haven't prevailed. Any advice?

TIA

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] how to include time when setting deadlines?

2010-07-12 Thread Michael Gilbert
 I understand the time format in orgmode, but something is eluding me. Many 
 of my projects have specific times for deadlines (that is to say, time of 
 day on the date due). I can't see how to enter that other than by hand. When 
 I type C-c C-d, I get the wonderful date prompt system. But I have not been 
 able to discover how to get that to prompt me for the time or to include a 
 time, like it includes month and day, etc. I've spent some time with the 
 manual and searching the archives, but my search skills haven't prevailed. 
 Any advice?
 
 What you get is really a date time prompt and not just a date prompt.
 You could enter date in any of the ways given in the org-manual [1].
 
 There is just one example on how to enter the time, given in the manual
 22 sept 0:34  -- 2006-09-22 0:34
 
 But, entering time this way works with whatever format you use for
 entering the date. Enter the date and then enter time with a space
 separating the date and time.

That part I understand. Here is my habit: I type C-c Cd and then use the 
SHIFT-arrow key in the minibuffer to select the date. I see that I can type in 
one of many strings that would give me the date and time, but I was looking for 
something equally simple. Not that entering the date + time string in one 
format or another isn't also simple. 

Playing with that a bit, I just discovered that I can still select the DATE in 
that manner in the minibuffer and if I then just type in the time in place, I 
get the fully formed DATE+TIME deadline. That works. I think I was naively 
assuming there was a similar navigation shortcut for the TIME component.

Thank you!

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: why would org-mode-hook be a void variable?

2010-07-12 Thread Michael Gilbert

 I guess my main question is why org-mode-hook would be a void
 variable. Did I not capture something from the instructions in the
 manual? Is there something that needs to be set before hand? I'm just
 not sure where to look.
 
 Did you initialize org-mode with
 
 (require 'org-install)

Yes. Made sure of it. No change.

Any other ideas?

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] can you require a certain template with lognotedone?

2010-07-12 Thread Michael Gilbert
Hi —

I asked Darlan this off-list and then I realized that it might be of broader 
interest.

I require a note when certain TODOs are changed to DONE. These are almost 
always some sort of structured logging. Is there a way to call org-capture 
and/or require a certain template for that note? That would be a very powerful 
workflow for me.

TIA

— Michael
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Symbol's function definition is void: org-face-from-face-or-color

2010-07-09 Thread Michael Gilbert
Hi all —

Another in a long line of newbie questions

I'm running 6.33x on Aquamacs.

Whenever I rebuild my agenda, I get this message: Symbol's function definition 
is void: org-face-from-face-or-color. I know enough to get a backtrace, but 
not enough to read it. I've appended it below. Can anyone help point the way?

TIA, as usual.

— Michael




Backtrace:

Debugger entered--Lisp error: (void-function org-face-from-face-or-color)
  (org-face-from-face-or-color (quote priority) nil (cdr (assoc p 
org-priority-faces)))
  (cond ((org-face-from-face-or-color ... nil ...)) ((and ... ...)) ((equal p 
l) (quote italic)) ((equal p h) (quote bold)))
  (overlay-put ov (quote face) (cond (...) (...) (... ...) (... ...)))
  (while (re-search-forward \\[#\\(.\\)\\] nil t) (setq h (or ... 
org-highest-priority) l (or ... org-lowest-priority) p (string-to-char ...) b 
(match-beginning 0) e (if ... ... ...) ov (make-overlay b e)) (overlay-put ov 
(quote face) (cond ... ... ... ...)) (overlay-put ov (quote org-type) (quote 
org-priority)))
  (let ((inhibit-read-only t) b e p ov h l) (goto-char (point-min)) (while 
(re-search-forward \\[#\\(.\\)\\] nil t) (setq h ... l ... p ... b ... e ... 
ov ...) (overlay-put ov ... ...) (overlay-put ov ... ...)))
  (save-excursion (let (... b e p ov h l) (goto-char ...) (while ... ... ... 
...)))
  org-agenda-fontify-priorities()
  (progn (org-agenda-fontify-priorities))
  (if org-agenda-fontify-priorities (progn (org-agenda-fontify-priorities)))
  (when org-agenda-fontify-priorities (org-agenda-fontify-priorities))
  (save-excursion (let (...) (goto-char ...) (while ... ...) 
(org-agenda-align-tags) (unless org-agenda-with-colors ...)) (if (and ... 
org-agenda-overriding-columns-format) (org-set-local ... 
org-agenda-overriding-columns-format)) (if (and ... 
org-agenda-view-columns-initially) (org-agenda-columns)) (when 
org-agenda-fontify-priorities (org-agenda-fontify-priorities)) (when (and 
org-agenda-dim-blocked-tasks org-blocker-hook) (org-agenda-dim-blocked-tasks)) 
(org-agenda-mark-clocking-task) (when org-agenda-entry-text-mode 
(org-agenda-entry-text-hide) (org-agenda-entry-text-show)) (if (functionp ...) 
(org-habit-insert-consistency-graphs)) (run-hooks (quote 
org-finalize-agenda-hook)) (setq org-agenda-type (org-get-at-bol ...)) (when 
(get ... :preset-filter) (org-agenda-filter-apply org-agenda-filter)))
  (if org-agenda-multi nil (save-excursion (let ... ... ... ... ...) (if ... 
...) (if ... ...) (when org-agenda-fontify-priorities ...) (when ... ...) 
(org-agenda-mark-clocking-task) (when org-agenda-entry-text-mode ... ...) (if 
... ...) (run-hooks ...) (setq org-agenda-type ...) (when ... ...)))
  (unless org-agenda-multi (save-excursion (let ... ... ... ... ...) (if ... 
...) (if ... ...) (when org-agenda-fontify-priorities ...) (when ... ...) 
(org-agenda-mark-clocking-task) (when org-agenda-entry-text-mode ... ...) (if 
... ...) (run-hooks ...) (setq org-agenda-type ...) (when ... ...)))
  org-finalize-agenda()
  (let* ((org-agenda-start-on-weekday ...) (thefiles ...) (files thefiles) 
(today ...) (sd ...) (start ...) (day-numbers ...) (day-cnt 0) 
(inhibit-redisplay ...) s e rtn rtnall file date d start-pos end-pos todayp nd 
wd clocktable-start clocktable-end) (setq org-agenda-redo-command (list ... ... 
start-day ndays)) (setq ndays (or ndays org-agenda-ndays) nd ndays) (while ( 
ndays 1) (push ... day-numbers) (setq ndays ...)) (setq day-numbers (nreverse 
day-numbers)) (setq clocktable-start (car day-numbers) clocktable-end (1+ ...)) 
(org-prepare-agenda Day/Week) (org-set-local (quote org-starting-day) (car 
day-numbers)) (org-set-local (quote org-include-all-loc) include-all) 
(org-set-local (quote org-agenda-span) (org-agenda-ndays-to-span nd)) (when 
(and ... ...) (setq files thefiles rtnall nil) (while ... ...) (when rtnall ... 
... ... ...)) (unless org-agenda-compact-blocks (let* ... ... ...) 
(add-text-properties s ... ...) (org-agenda-mark-header-line s)) (while (setq d 
...) (setq date ... wd ... s ...) (if ... ... ...) (setq files thefiles rtnall 
nil) (while ... ...) (if org-agenda-include-diary ...) (if ... ...)) (when (and 
org-agenda-clockreport-mode clocktable-start) (let ... ... ... ... ... ... 
...)) (goto-char (point-min)) (or org-agenda-multi (org-fit-agenda-window)) 
(unless (and ... ...) (goto-char ...) (recenter -1) (if ... ...)) (goto-char 
(or start-pos 1)) (add-text-properties (point-min) (point-max) (quote ...)) 
(org-finalize-agenda) (setq buffer-read-only t) (message ))
  org-agenda-list(nil)
  (let ((org-deadline-warning-days 0) 
(org-agenda-skip-scheduled-if-deadline-is-shown t) (org-agenda-skip-function 
...)) (org-agenda-list current-prefix-arg))
  eval((let ((org-deadline-warning-days 0) 
(org-agenda-skip-scheduled-if-deadline-is-shown t) (org-agenda-skip-function 
...)) (org-agenda-list current-prefix-arg)))
  org-let(((org-deadline-warning-days 0) 
(org-agenda-skip-scheduled-if-deadline-is-shown t) 

Re: [Orgmode] Symbol's function definition is void: org-face-from-face-or-color

2010-07-09 Thread Michael Gilbert
On Jul 9,2010, at 12:18 AM, David Maus wrote:

 I'm running 6.33x on Aquamacs.
 
 Whenever I rebuild my agenda, I get this message: Symbol's function
 definition is void: org-face-from-face-or-color. I know enough to
 get a backtrace, but not enough to read it. I've appended it
 below. Can anyone help point the way?
 
 Looks like a mixup of Org mode version: The function
 `org-face-from-face-or-color' was introduced February, 25th 2010
 (commit 6fbdb8074e0c83b6a2160cf31665d2d0a99c3d77), in January 2010
 6.34c was released.
 
 6.33 doesn't have this function.  Could you check if there are other
 Org versions besides the one shipped with Aquamacs are in your load
 path?

Thank you, David. That was the insight I needed. I normally pull from the most 
recent build, but somehow an (require 'org) had slipped into the top of my 
startup file. 

Solved!

— M


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] trouble with Imenu integration

2010-07-09 Thread Michael Gilbert
And another

Following the instructions from manual, I have this near the end of my startup 
file (I hope that is copied correctly):

(add-hook ’org-mode-hook 
   (lambda () (imenu-add-to-menubar Imenu)))

But I get this error:

Debugger entered--Lisp error: (void-variable ’org-mode-hook)
  (add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar Imenu)))
  eval((add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar 
Imenu
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)


What am I missing?

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] why would org-mode-hook be a void variable? (was: trouble with Imenu integration)

2010-07-09 Thread Michael Gilbert
I guess my main question is why org-mode-hook would be a void variable. Did I 
not capture something from the instructions in the manual? Is there something 
that needs to be set before hand? I'm just not sure where to look.

— Michael


On Jul 9,2010, at 3:33 AM, Michael Gilbert wrote:

 Following the instructions from manual, I have this near the end of my 
 startup file (I hope that is copied correctly):
 
   (add-hook ’org-mode-hook 
  (lambda () (imenu-add-to-menubar Imenu)))
 
 But I get this error:
 
   Debugger entered--Lisp error: (void-variable ’org-mode-hook)
 (add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar Imenu)))
 eval((add-hook ’org-mode-hook (lambda nil (imenu-add-to-menubar 
 Imenu
 eval-last-sexp-1(nil)
 eval-last-sexp(nil)
 call-interactively(eval-last-sexp nil nil)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] moving past state changes into logbook drawer?

2010-07-05 Thread Michael Gilbert
Hi —

I am just now transitioning to logging state changes into a logbook drawer. But 
I have legacy agenda files with hundreds of lines that were not put into that 
drawer. Does anyone know of a convenient way to move all the past state changes 
into the suitable drawer? If that in the manual, I'm afraid I missed it.

TIA!

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] tabular logging of values in habits and other repeating tasks

2010-07-05 Thread Michael Gilbert
Hi —

So, I think there must be a way to do this, but I'm stumped. 

Here's what I am trying to set up: I want to be able to log a series of values 
(rather than just DONE or note) for my habits. For example: Did I run today? 
can be tracked with regular logging. But OK, you ran. How many miles? can't, 
as far as I can tell. I know I can set those tasks to offer up an interface for 
notes, but each of those notes is a distinct item, right? I want to find a way 
to leverage the power of orgmode tables/columns by logging a value (or possibly 
more than one) in a single table with a line for each repetition of the task. 
So, for one habit the value might be miles run. I'm a tango dancer, so for 
another the value might be minutes of drills done. I can imagine 
circumstances with more than one column as well. For example, if I were 
tracking exercise in general, I might want one column for the type of exercise 
and another for the number of minutes performed.

In general, I am trying to break my ties to a number of simpler data-logging 
tools (web apps, text files) and just centralize this into Org-Mode where it 
belongs.

Any advice?

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] tabular logging of values in habits and other repeating tasks

2010-07-05 Thread Michael Gilbert
On Jul 5,2010, at 2:01 AM, Darlan Cavalcante Moreira wrote:

 You can create a table in the task and possibly a template (with org
 capture) to easily add a new line to this table. Whenever you complete the
 task you add the information to the table and mark the task as DONE. An
 advantage of this is that you can use the org-babel powers to make whatever
 you want with the information.

Thank you, Darlan — that is more or less what I thought. But here's the thing 
(which betrays by rather shallow understanding of org-mode at this point):  I 
know how to create such a table. But what I don't know is how to get the prompt 
to enter a new row. The notes function for tasks that are marked done don't 
navigate you to a previously defined block of text, if I'm not mistaken. So, 
there would be a lot of hand-navigation to make each entry. Perhaps Im 
misunderstanding something, but I am seeking the ease of use of the notes 
prompt, but with each new entry being not a separate note, but a row in that 
table. Thoughts?

— Michael



 At Mon, 5 Jul 2010 00:46:38 -0700,
 Michael Gilbert m...@gilbert.org wrote:
 
 performed.
 
 In general, I am trying to break my ties to a number of simpler
 data-logging tools (web apps, text files) and just centralize this into
 Org-Mode where it belongs.
 
 Any advice?



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] tabular logging of values in habits and other repeating tasks

2010-07-05 Thread Michael Gilbert
Darlan —

Thank you for the additional hand-holding. This will be very useful to me. Much 
obliged!

— Michael


On Jul 5,2010, at 2:06 PM, Darlan Cavalcante Moreira wrote:

 What I though is something like the task below
 --8---cut here---start-8---
 * TODO Running
  :PROPERTIES:
  :STYLE:habit
  :END:
 
  | Date | Place| Distance |
  |--+--+--|
  | [2010-07-03 Sáb] | Park Something   | 6km  |
  | [2010-07-05 Seg] | Some other place | 5km  |
 --8---cut here---end---8---
 
 You then create a template that adds a line after the hline in the
 table. That way the most recent completed task would be in the top.
 
 Whenever you do the task you call org-capture with the template to add a
 new line to the table and then mark the task as done. It is true that
 adding the line and marking the task as done are not a single thing, but
 with org-capture you can add a line to the table from any buffer without
 needing to go until the task heading and the table keeps everything more
 organized.
 
 Also, you can give this table a name and do whatever you want with it using
 org babel super powers. You could easily calculate the mean distance that
 you run, the variance, maybe even plot the distances that you run in each
 day (there is probably a way to use the inactive timestamps as values for
 the x axis). This would not be possible if you store the information as
 notes in the task.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread Michael Gilbert
 I may have missed when this happened or if it's been discussed
 already, but I'm noticing that recent Org-mode automatically rebuilds
 the agenda each time I refile a task. This can dramatically slow down
 the process of refiling a lot of items. Is there a setting to change
 this?
 
 As far as I am aware of: No, you currently cannot disable it for a
 single refile operation.  But, if you refile a lot of items you might
 try Agenda's bulk action:
 
 http://orgmode.org/manual/Agenda-commands.html
 Bulk actions actually do not rebuld the agenda.

But if I'm not mistaken, they involve refiling all the marked items to the same 
destination. That hasn't been my workflow at all. 

This is a frustrating change. I guess my option now is to jump to the item in 
question, refile it, then jump back. But given that in my current workflow I  
refile scores of items during my daily prep... Ugh. I'm sure there was a good 
reason for the change, but it just doesn't suit how I've come to use Org-mode.

Anyway, if there are any other ideas out there other than waiting for the 
roundtrip of the rebuild or jumping back and forth to the source files, I would 
be interested in hearing them!

TIA!

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread Michael Gilbert
 I may have missed when this happened or if it's been discussed already, 
 but I'm noticing that recent Org-mode automatically rebuilds the agenda 
 each time I refile a task. This can dramatically slow down the process of 
 refiling a lot of items. Is there a setting to change this?
 
 As far as I am aware of: No, you currently cannot disable it for a single 
 refile operation.  But, if you refile a lot of items you might try Agenda's 
 bulk action:
 
 http://orgmode.org/manual/Agenda-commands.html Bulk actions actually do not 
 rebuld the agenda.
 
 But if I'm not mistaken, they involve refiling all the marked items to the 
 same destination. That hasn't been my workflow at all.
 
 This is a frustrating change. I guess my option now is to jump to the item 
 in question, refile it, then jump back. But given that in my current 
 workflow I refile scores of items during my daily prep... Ugh. I'm sure 
 there was a good reason for the change, but it just doesn't suit how I've 
 come to use Org-mode.
 
 Anyway, if there are any other ideas out there other than waiting for the 
 roundtrip of the rebuild or jumping back and forth to the source files, I 
 would be interested in hearing them!
 
 If you give a triple prefix argument to org-agenda-refile, the agenda will 
 not be rebuilt.
 
 If you'd like this as the default behavior, you can bind it to a key (or 
 change the original binding):
 
 (define-key org-agenda-mode-map \C-c\C-w 
  (lambda ()
(interactive)
(org-agenda-refile nil nil t)))

Fantastic. I can experiment with adapting my workflow, but this is so useful. 
Deeply appreciated.

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] preventing automatic rebuild of agenda on refiling?

2010-06-14 Thread Michael Gilbert
Hi —

I may have missed when this happened or if it's been discussed already, but I'm 
noticing that recent Org-mode automatically rebuilds the agenda each time I 
refile a task. This can dramatically slow down the process of refiling a lot of 
items. Is there a setting to change this?

TIA

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] filter agenda by priority?

2010-04-09 Thread Michael Gilbert
Hi all —

Been through the manual. Might be missing something obvious. But, is there a 
straightforward way to filter the Agenda by Priority? I find that I would 
actually USE priorities more if I could figure out how to do this.

TIA!

— Michael

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] workflow objective... how to display ONE task, take notes on it, etc

2010-03-24 Thread Michael Gilbert
Thank you to Tycho  Bernt. You both got be down the right rode. I've now 
managed to find several acceptable ways to do this. 

— Michael

On Mar 10,2010, at 3:32 PM, Michael Gilbert wrote:

 Org-mode just keeps growing on me. Now I have workflow I want to check out. 
 It's my habit to try to clear my screen of everything except the one task I 
 am working on (and logging) and its associated documents and tools. I want to 
 try to implement this in orgmode. Ideally, it would look something like this:
 
 - select a task from the AGENDA
 - drill down to a view of just that task with only the task  subordinate 
 items visible
 - edit those subordinate items, especially notes
 - log the time I spend there
 - log out, save notes, change task status
 - return to agenda
 
 Am I missing some obvious built-in way to do this? (I find that this has 
 happened so often, regardless of how esoteric my objective) that I had better 
 ask. Or could someone help me think through how it might be done? 





___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] due today agenda command stopped working

2010-03-14 Thread Michael Gilbert
Hi —

A while back, Carsten helped me out with a due today custom agenda command. 
This is it:

(setq org-agenda-custom-commands
 '((d Due today agenda 
((org-deadline-warning-days 0)
 (org-agenda-skip-scheduled-if-deadline-is-shown t)
 (org-agenda-skip-function
  (lambda ()
(let* ((dl (org-entry-get nil DEADLINE)))
  (if (or (not dl)
  (equal dl )
  (org-time dl (org-time-today)))
  (progn (outline-next-heading) (point
   )

I routinely keep up with org-mode updates and recently this stopped working 
properly. What it does now is list a small subset of the items due today. After 
an hour looking at them, I can't figure out why it's leaving most of them out. 
The pattern just isn't clear to me. I'm wondering if something this command 
depends upon has changed. Well, probably it has, but the questions are: What 
changed? And is there another solution to the due today custom command?

Any thoughts?

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] workflow objective... how to display ONE task, take notes on it, etc

2010-03-10 Thread Michael Gilbert
Hi —

Org-mode just keeps growing on me. Now I have workflow I want to check out. 
It's my habit to try to clear my screen of everything except the one task I am 
working on (and logging) and its associated documents and tools. I want to try 
to implement this in orgmode. Ideally, it would look something like this:

 - select a task from the AGENDA
 - drill down to a view of just that task with only the task  subordinate 
items visible
 - edit those subordinate items, especially notes
 - log the time I spend there
 - log out, save notes, change task status
 - return to agenda

Am I missing some obvious built-in way to do this? (I find that this has 
happened so often, regardless of how esoteric my objective) that I had better 
ask. Or could someone help me think through how it might be done? 

Sadly, I'm an emacs and elisp newbie, so that will be a barrier, but any help 
would be most appreciated.

TIA

— Michael




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-mode related bug reintroduced in Aquamacs (was: Refile error - Kill is not a (set of) trees)

2010-02-15 Thread Michael Gilbert
Carsten -

In August of last year, you cleared up a big with the Aquamacs team (see 
below). It seems that this bug has been reintroduced with latest builds of 
Aquamacs. 

-- Michael


On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:

 Hi Michael, hi Stefan,
 
 I have now finally been able to reproduce this problem.  It is
 a bug in Aquamacs 2.0. Could one of you please propagate this
 issue to the Aquamacs maintainer?
 
 In Aquamacs Distribution 2.0preview2, at least the following commands
 fail to set the kill ring appropriately:
 
(copy-region-as-kill beg end)
(kill-kill-region beg end)
 
 After these commands, in normal Emacs operations,
 
(current-kill 0)
 
 will return the content of the copied/killed region.  Not so
 in Aquamacs.  This breaks Org-mode and presumably other
 packages that will use these function calls.
 
 This used to work in earlier version of Aquamacs.
 
 - Carsten



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] agenda actions unexpectedly open files

2009-10-28 Thread Michael Gilbert

Hi --

This is so odd.

Most of the time, but not always, when I mark an item as DONE in the  
agenda, it pops open the file containing the item. I'm just now  
noticing that it's doing the same thing when I clock in. This  
obviously really messes with my workflow.


This started someplace along my upgrade process, but I can't put my  
finger on when. I'm running Aquamacs Distribution 2.0preview3 (GNU  
Emacs 23.0.94.1) with org-mode 6.32, but this has been happening for a  
few weeks now.


Any advice?

-- Michael



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-agenda-skip-entry-if 'notdeadline?

2009-10-25 Thread Michael Gilbert

Hi --

Still trying to figure out how to show only (current) deadlines in my  
agenda. I use org-agenda-skip-entry-if 'notdeadline but that still  
seems to include all the scheduled items who have deadlines (some time  
in the future, but not currently). I apologize for missing something  
obvious, but ... any advice?


-- Michael




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] agenda with only deadlines?

2009-10-19 Thread Michael Gilbert

Hi --

I'm still struggling with this one: My main agenda view has both  
scheduled and deadlined items, but I'm interested in creating a custom  
view that shows only items who have a deadline of today or past due.  
This isn't working for me:


(setq org-agenda-custom-commands
 '((d Due today agenda 
 ((org-deadline-warning-days 0)
  (org-agenda-skip-scheduled-if-deadline-is-shown t)
  (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline
))

This one shows all sorts if items that have deadlines in the future,  
displaying them as scheduled. Yes, many items item have both  
timestamps. Suggestions?



TIA!


-- Michael

P.S. Also, the documentation often lists various settings as  
examples. I am not an experienced emacs user, so I am curious... how  
do I go about finding comprehensive lists of settings for various  
contexts?





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] total effort in filtered column view of agenda?

2009-10-01 Thread Michael Gilbert

Hi --

When I filter the agenda in come way, the total at the top of the  
EFFORT column is still unfiltered. That is to say it isn't the total  
of the items displayed. I can see the point of this, but in my case I  
am playing with filters to help me narrow tasks to the time available.  
Is there a way for me to change how that total functions so that it  
coincides with (ie: only shows the total for) the tasks displayed?


TIA

-- Michael

Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   There can be no joy of life without joy of work. -- Aquinas


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Can effort be edited conveniently outside column view?

2009-08-31 Thread Michael Gilbert

Bernt, Manish, Carsten --

Thank you each for perspectives and tips. I now have more options for  
more contexts for effort editing. Thank you!


-- M

P.S. An FWIW, effort editing a bunch of items in context of each other  
works very well in column view for me. But since I tend to compose and  
take notes in outline view, the one-off method Carsten described is  
very helpful.





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Is it possible to edit Effort remotely from the Agenda?

2009-08-28 Thread Michael Gilbert
A few weeks into stable org usage (thanks again for getting  
Aquamacs to fix
that issue) and I am starting to push past basic knowledge. I  
realize that
there are many things that can be editing remotely from the agenda.  
One of
the properties I most want to be able to edit is Effort. Is this  
possible?


If you display effort in the agenda in column view (C-c C-x C-c),  
you can edit

the effort by using Shift-right or Shift-left or e.


This is working wonderfully, albeit with some lag. Thank you!

-- Michael



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Can effort be edited conveniently outside column view?

2009-08-28 Thread Michael Gilbert

Hi --

Still working on developing my use of effort estimates. Is there a way  
to conveniently enter an effort estimate without entering column mode?  
I have gotten used to the easy ways to add deadlines and priorities in  
outline view and wondering if there was something similar.


-- Michael

Michael C. Gilbert -- m...@gilbert.org

  The Gilbert Center -- http://gilbert.org
  Nonprofit Online News -- http://nonprofitnews.org

  There can be no joy of life without joy of work. -- Aquinas


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] orgmode opening source file from agenda when marking as done

2009-08-17 Thread Michael Gilbert

Hi all --

I seem to have mysteriously flipped some setting or other. Now,  
whenever I set a repeating item in my agenda as done, orgmode opens up  
the source file with that item in it, in a split frame. I have no idea  
why or what I'm supposed to do with that, but it sure slows down my  
workflow. Any tips on what's happening here?


-- Michael

Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   There can be no joy of life without joy of work. -- Aquinas


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done

2009-08-17 Thread Michael Gilbert

On Aug 17,2009, at 12:31 PM, Samuel Wales wrote:


A long shot: check the value of your after todo state change hook.


Sorry. Noob still. What does that mean?

-- M




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: orgmode opening source file from agenda when marking as done

2009-08-17 Thread Michael Gilbert

On Aug 17,2009, at 1:16 PM, Samuel Wales wrote:


org-after-todo-state-change-hook is a variable defined in `org.el'.


Thank you, John for the detailed explanation. Thank you, Samuel, for  
this help.


The value, alas, is nil.

Other ideas?

-- M




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees

2009-08-15 Thread Michael Gilbert

Carsten Dominik carsten.domi...@gmail.com writes:


could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if possible.


I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

 Level1-1
** Level2-1
*** TODO Level3-1
SCHEDULED: 2009-08-05 Wed
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:

(setq load-path (cons ~/Applications/Text/Aquamacs/contrib/org/lisp  
load-path))


Checked to make sure. Yes, it's 6.29trans

4) Moved the points to Level3-1. C-c C-w. Attempt to refile to Level1-2.

5) The kill is not a (set of) trees etc.


Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so huge  
that my agenda is incomprehensible. I really do not know what to do  
here. The error is real. I hope that this reproduction is in some way  
useful. Is there something else I can do? Backtrace? Examine the kill- 
ring?


-- Michael





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Refile error - Kill is not a (set of) trees

2009-08-15 Thread Michael Gilbert


On Aug 15,2009, at 12:04 AM, Carsten Dominik wrote:


Hi Michael,

On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if  
possible.


I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

Level1-1


Is there a star missing here before Level1-1?


Yes, just a copy error here in my email. The original file has the star.



** Level2-1
*** TODO Level3-1
  SCHEDULED: 2009-08-05 Wed
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:


(setq load-path (cons ~/Applications/Text/Aquamacs/contrib/org/ 
lisp load-path))


Checked to make sure. Yes, it's 6.29trans






4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
Level1-2.


So you are refiling en entry to the same position where is was before?
OK, this it not forbidden.


No. I think that is meant to move it DOWN to the bottom entry.




5) The kill is not a (set of) trees etc.


For me it works just fine.  I just tried in AquaEmacs.


Huh. This is so strange. Wish we could reproduce this OYM.



Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so huge  
that my agenda is incomprehensible. I really do not know what to do  
here. The error is real. I hope that this reproduction is in some  
way useful. Is there something else I can do? Backtrace? Examine  
the kill-ring?


Yes, backtrace, and the content of the kill ring would be interesting.
Backtrace with uncompiled code if possible, press C-u C-c C-x !  
before trying to create the bug.


Here's the backtrace:

Debugger entered--Lisp error: (error The kill is not a (set of)  
tree(s) - please use S-insertchar to yank anyway)
  signal(error (The kill is not a (set of) tree(s) - please use S- 
insertchar to yank anyway))
  ad-Orig-error(%s The kill is not a (set of) tree(s) - please use  
S-insertchar to yank anyway)
  apply(ad-Orig-error (%s The kill is not a (set of) tree(s) -  
please use S-insertchar to yank anyway))

  (setq ad-return-value (apply (quote ad-Orig-error) args))
  (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq  
ad-return-value ...)) (setq ad-return-value (apply ... args)))
  (let (ad-return-value) (if aquamacs-ring-bell-on-error-flag  
(progn ... ...) (setq ad-return-value ...)) ad-return-value)
  error(%s The kill is not a (set of) tree(s) - please use S- 
insertchar to yank anyway)
  (if (org-kill-is-subtree-p tree) nil (error %s (substitute- 
command-keys The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway)))
  (unless (org-kill-is-subtree-p tree) (error %s (substitute- 
command-keys The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway)))

  org-paste-subtree(2)
  (save-restriction (widen) (if pos (progn ... ... ... ...) (setq  
level 1) (if ... ... ... ...)) (if (not ...) (newline)) (bookmark-set  
org-refile-last-stored) (org-paste-subtree level) (if (fboundp ...)  
(deactivate-mark)) (run-hooks (quote org-after-refile-insert-hook)))
  (save-excursion (save-restriction (widen) (if pos ... ... ...)  
(if ... ...) (bookmark-set org-refile-last-stored) (org-paste- 
subtree level) (if ... ...) (run-hooks ...)))
  (save-excursion (set-buffer (setq nbuf ...)) (setq reversed (org- 
notes-order-reversed-p)) (save-excursion (save- 
restriction ... ... ... ... ... ... ...)))
  (if goto (progn (switch-to-buffer nbuf) (goto-char pos) (org-show- 
context ...)) (if regionp (progn ... ...) (org-copy-subtree 1 nil t))  
(save-excursion (set-buffer ...) (setq reversed ...) (save- 
excursion ...)) (if regionp (delete-region ... ...) (org-cut-subtree))  
(when (featurep ...) (org-inlinetask-remove-END-maybe)) (setq org- 
markers-to-move nil) (message Refiled to \%s\ (car it)))
  (progn (setq file (nth 1 it) re (nth 2 it) pos (nth 3 it)) (if  
(and ... pos ... ...) (error Cannot refile to position inside the  
tree or region)) (setq nbuf (or ... ...)) (if goto  
(progn ... ... ...) (if regionp ... ...) (save-excursion ... ... ...)  
(if regionp ... ...) (when ... ...) (setq org-markers-to-move nil)  
(message Refiled to \%s\ ...)))
  (if (setq it (or rfloc ...)) (progn (setq file ... re ... pos ...)  
(if ... ...) (setq nbuf ...) (if goto ... ... ... ... ... ... ...)))
  (when (setq it (or rfloc ...)) (setq file (nth 1 it) re (nth 2 it)  
pos (nth 3 it)) (if (and ... pos ... ...) (error Cannot refile to  
position inside the tree or region)) (setq nbuf (or ... ...)) (if  
goto (progn ... ... ...) (if regionp ... ...) (save- 
excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
markers-to-move nil) (message Refiled to \%s\ ...)))
  (if (equal goto (quote ...)) (org-refile-goto-last-stored) (when  
(setq

[Orgmode] Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees)

2009-08-15 Thread Michael Gilbert

On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:


Hi Michael, hi Stefan,

I have now finally been able to reproduce this problem.  It is
a bug in Aquamacs 2.0. Could one of you please propagate this
issue to the Aquamacs maintainer?


snip

Thank you for your patience and persistence, Carsten. Looks like  
Stefan passed this on the the Aquamacs list. I might make a little  
donation (I can't contribute code, which is what they want) over there  
to see if I can bring attention to this issue, but I hope that knowing  
they have broken org-mode and other things might matter. We will see.


Thank you, again.

-- Michael


Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   There can be no joy of life without joy of work. -- Aquinas


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Refile error - Kill is not a (set of) trees

2009-08-03 Thread Michael Gilbert

Hi --

I have more information on this error. I think I've traced it down to  
whether the command is actually killing the current element in the  
first place.


I had a clipboard management function working in Quicksilver and got  
rid of that in order to test this better. I got an error on refiling,  
but it was a different error this time. One about the element being  
empty, IIRC.


Am I misunderstanding refile? Do I have to do more than have the  
cursor on the line to be moved?


And is there a way I can further backtrace this so that it might be  
useful for troubleshooting by others? Or screencast the error so you  
can see I am not making this up? I am  enamored of orgmode now, but  
I'm on the verge of abandoning it because I have a notes file from  
which I cannot conveniently refile tasks and it's becoming unmanageable.


-- Michael




On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote:


I am unable to reproduce this problem.

- Carsten

On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:

I am a noob - drawn to the alien world of Emacs (from my familiar  
Mac environment) by OrgMode. I am uncertain enough that I don't  
rightly know if this is best described as an OrgMode error or an  
Emacs error. Most likely a human error, I guess.


I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.


In OrgMode, I am trying to learn to refile tasks. I use C-c C-w  
on a TODO item in a notes file. It goes through the process of  
allowing me to select the destination for the item. But then it  
throws an error - Kill is not a (set of) trees etc - every  
time. Doesn't kill the TODO and obviously doesn't yank it to the  
new location.


Are you selecting a region before calling the command? That region  
might be not a valid tree.


I have done this with the point (that's the emacs word for cursor,  
right?) in a TODO item. I have done it with the entire item  
selected as a region.


I am happy to backtrace this or test in whatever way is needed. I  
knew I was getting into something complex here.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Refile error - Kill is not a (set of) trees

2009-06-25 Thread Michael Gilbert
I am a noob - drawn to the alien world of Emacs (from my familiar  
Mac environment) by OrgMode. I am uncertain enough that I don't  
rightly know if this is best described as an OrgMode error or an  
Emacs error. Most likely a human error, I guess.


I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.


In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on  
a TODO item in a notes file. It goes through the process of  
allowing me to select the destination for the item. But then it  
throws an error - Kill is not a (set of) trees etc - every time.  
Doesn't kill the TODO and obviously doesn't yank it to the new  
location.


Are you selecting a region before calling the command? That region  
might be not a valid tree.


I have done this with the point (that's the emacs word for cursor,  
right?) in a TODO item. I have done it with the entire item selected  
as a region.


I am happy to backtrace this or test in whatever way is needed. I knew  
I was getting into something complex here.


-- Michael


Michael C. Gilbert -- m...@gilbert.org

   The Gilbert Center -- http://gilbert.org
   Nonprofit Online News -- http://nonprofitnews.org

   There can be no joy of life without joy of work. -- Aquinas


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Refile error - Kill is not a (set of) trees

2009-06-23 Thread Michael Gilbert

Hi all --

I am a noob - drawn to the alien world of Emacs (from my familiar Mac  
environment) by OrgMode. I am uncertain enough that I don't rightly  
know if this is best described as an OrgMode error or an Emacs error.  
Most likely a human error, I guess.


I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
 of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.


In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on a  
TODO item in a notes file. It goes through the process of allowing me  
to select the destination for the item. But then it throws an error -  
Kill is not a (set of) trees etc - every time. Doesn't kill the TODO  
and obviously doesn't yank it to the new location.


Any advice?

-- Michael





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode