Re: [O] Filling a list of dates in a spreadsheet

2016-02-10 Thread Cameron Horsburgh
Ah, thank you! That's exactly what I'm after!



Cameron Horsburgh


On 4 February 2016 at 18:43, Christian Moe <m...@christianmoe.com> wrote:

>
> Hi,
>
> S- (Shift-Return) is your friend. After you've entered the first
> two dates, move down to the third row (which needs to be empty), and hit
> S-. You can continue pressing S- without moving down a row
> each time.
>
> Yours,
> Christian
>
>
>
> Cameron Horsburgh writes:
>
> > Hi folks,
> >
> > I'm putting together a spreadsheet in org-mode. This is the general
> format:
> >
> > |--+---+|
> > | Date | Field One | Field Two  |
> > |--+---+|
> > | [2016-02-07 Sun] |   ||
> > | [2016-02-14 Sun] |   ||
> > | [A few lines]|   ||
> > | [A few more lines]   |   ||
> > | [2016-12-25 Sun] |   ||
> > |--+---++
> >
> > The date column needs to have a list of dates for every Sunday this year.
> > In a traditional spreadsheet program there would be a function to 'fill'
> > the series of dates automatically. I can't see anything in org-mode that
> > would do this. Am I missing something, or will I just have to do it
> > manually?
> >
> > Thanks!
> >
> > Cameron Horsburgh
>
>


[O] Filling a list of dates in a spreadsheet

2016-02-03 Thread Cameron Horsburgh
Hi folks,

I'm putting together a spreadsheet in org-mode. This is the general format:

|--+---+|
| Date | Field One | Field Two  |
|--+---+|
| [2016-02-07 Sun] |   ||
| [2016-02-14 Sun] |   ||
| [A few lines]|   ||
| [A few more lines]   |   ||
| [2016-12-25 Sun] |   ||
|--+---++

The date column needs to have a list of dates for every Sunday this year.
In a traditional spreadsheet program there would be a function to 'fill'
the series of dates automatically. I can't see anything in org-mode that
would do this. Am I missing something, or will I just have to do it
manually?

Thanks!

Cameron Horsburgh


Re: [O] ob-lilypond

2011-06-28 Thread Cameron Horsburgh
This is very exciting. I use LilyPond a lot for various projects and I
think integration with orgmode is an obvious solution to a problem I
hope to find very soon!

LilyPond is largely written in Scheme and I'm pretty sure a few of the
devs use emacs. There are some interesting emacs/Lily projects around,
not least Nicolas Sceaux' lyqi-mode which does some pretty groovy
things, including midi keyboard input via rumor.

I'm looking forward to having a chance to play with this. Well done,
and thank you!


Cameron Horsburgh
blog: http://spiritcry.wordpress.com



On 28 June 2011 19:38, Martyn Jago martyn.j...@btinternet.com wrote:

 Hi Eric

 Eric Schulte schulte.eric at gmail.com writes:

 Hi Martyn,

 This looks great, I look forward to testing it out, although my music
 composition experience is limited to using Finale in a high-school music
 theory class.

 It sounds like your plan is to keep this on github during the first
 trial and debugging stages.  At some point I would love to include this
 into the Org-mode core.


 Thanks - I'm no LilyPond expert myself, and so a heads-up from a more
 proficient LilyPond user would be great. Likewise the ins and outs of
 LilyPond-mode. That said, it is working well for me and my use-case, and
 it is great to be generating music and score out of org-mode - it feels a
 good fit, which is testament to the flexability of org-babel and org-mode.

 Part of me is tempted to push for immediate integration so that this is
 released with Emacs24 (we could push bug fixes throughout the fall),
 however this may be too much code for just before an Org-mode release.

 Thanks for sharing! -- Eric


 I'll leave that decision to you, but certainly if the software is useful
 to others, I am happy to see it distributed. Actually, I only recently
 discovered how busy Lilypond development is, so there must be potential
 users out there. Perhaps I should bite the bullet and approach the Lilypond
 user mailing list to see if there is any interest there?

 Regards

 Martyn


 Martyn Jago martyn.jago at btinternet.com writes:
 ...










[Orgmode] Editing body text in MobileOrg

2010-01-17 Thread Cameron Horsburgh
Hi folks,

I'm missing something really simple here, but I just can't put my finger on
it.

I want to use MobileOrg to record data that I can eventually upload to
emacs. The data file (in emacs) consists of a single table. However, when I
sync it to MobileOrg the file appears to be empty. The details page contains
no text, and viewing as a document produces a blank page.

All of my other files in MobileOrg work as expected, although they are more
'traditional' tree style outlines.

What am I missing here?

-- 


Cameron Horsburgh
blog: http://spiritcry.wordpress.com
___
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] Fwd: Editing body text in MobileOrg

2010-01-17 Thread Cameron Horsburgh
Sorry folks,

It turns out I wasn't replying to the list. Here's the thread for posterity.

-- Forwarded message --
From: Cameron Horsburgh cammobla...@gmail.com
Date: 2010/1/18
Subject: Re: Editing body text in MobileOrg
To: Richard Moreland r...@ncogni.to


Hi Richard,

I've found the problem. It turns out that my file didn't have a .org
extension. Once I added that, everything worked fine. I knew it was
something simple...!

Thanks for your help and such a useful application.

2010/1/17 Richard Moreland r...@ncogni.to

Hmm, I just tried this as test.org and it worked:

 * Test
 | a | b | c |
 | d | e | f |

 Is your's different?  Can you send me a small sample that causes it to
 fail?

 On Jan 17, 2010, at 7:04 AM, Cameron Horsburgh wrote:

  Thanks for your reply.
 
  I have tried preceding the table with a line:
 
  * table
 
  but this doesn't get me very far. The node shows up everywhere it is
  supposed to, but the table is still missing.
 
  Strange!
 
  On Sunday, January 17, 2010, Richard Moreland r...@ncogni.to wrote:
  Do you have any * Node entries at all in that file?  If it is just an
 .org file with a table in it, you'll probably see nothing.
 
  The plain text/tables before the first node are just eaten up in the
 current code.
 
  I never really considered that use case, and to be honest I'm not too
 sure how to support it!  I'll have to give it some more thought.
 
  -Richard
 
  On Jan 17, 2010, at 5:05 AM, Cameron Horsburgh wrote:
 
  Hi folks,
 
  I'm missing something really simple here, but I just can't put my
 finger on it.
 
  I want to use MobileOrg to record data that I can eventually upload to
 emacs. The data file (in emacs) consists of a single table. However, when I
 sync it to MobileOrg the file appears to be empty. The details page contains
 no text, and viewing as a document produces a blank page.
 
  All of my other files in MobileOrg work as expected, although they are
 more 'traditional' tree style outlines.
 
  What am I missing here?
 
  --
 
 
  Cameron Horsburgh
  blog: http://spiritcry.wordpress.com
  ___
  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
 
 
 
  --
 
 
  Cameron Horsburgh
  blog: http://spiritcry.wordpress.com




-- 


Cameron Horsburgh
blog: http://spiritcry.wordpress.com



-- 


Cameron Horsburgh
blog: http://spiritcry.wordpress.com
___
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] Problem pushing to org-mobile

2010-01-07 Thread Cameron Horsburgh
Hi folks,

For the last week I haven't been able to push to my WebDAV account. When I
run M-x org-mobile-push it seems to get stuck creating an agenda file and
fails with the message 'org-agenda-skip-if: Invalid regexp: Unmatched [ or
[^ '

I've tried a few things to nail the problem down. I've removed (most) of my
files from the agenda list, leaving only files I know have worked recently.
I've run git-bisect against a version I know to have worked and the same
error appears every time, including the known good one. So I'm going to
assume I have a problem with my set up.

Here's my config, and I've included a backtrace at the end if anyone finds
it useful. Thanks for your help!

current state:
==
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-agenda-custom-commands '((X SUMO
   ((agenda nil ((org-agenda-title-append afterKEYS=a TITLE: Agenda
/after)))
(alltodo nil ((org-agenda-title-append afterKEYS=t TITLE: ALL TODO
/after)))
(todo #(DELEGATED 0 9 (face org-warning))
 ((org-agenda-title-append
   #(afterKEYS=d TITLE: todo DELEGATED/after 26 35 (face
org-warning)))
  )
 )
(todo #(DONE|DEFERRED|CANCELLED 0 23 (face org-warning))
 ((org-agenda-title-append
   #(afterKEYS=c TITLE: todo DONE|DEFERRED|CANCELLED/after 26 49 (face
org-warning))
   )
  )
 )
(todo #(WAITING 0 7 (face org-warning))
 ((org-agenda-title-append
   #(afterKEYS=w TITLE: todo WAITING/after 26 33 (face org-warning)))
  )
 )
(agenda 
 ((org-agenda-title-append afterKEYS=W TITLE: agenda /after)
(org-agenda-ndays 21)))
(agenda 
 ((org-agenda-title-append afterKEYS=A TITLE: agenda /after)
  (org-agenda-skip-function
   (lambda nil (org-agenda-skip-entry-if (quote notregexp)
\\=.*\\[#A\\])))
  (org-agenda-ndays 1) (org-agenda-overriding-header Today's Priority #A
tasks: ))
 )
(alltodo 
 ((org-agenda-title-append afterKEYS=u TITLE: alltodo /after)
  (org-agenda-skip-function
   (lambda nil
(org-agenda-skip-entry-if (quote scheduled) (quote deadline) (quote
regexp) [^ ))
   )
  (org-agenda-overriding-header Unscheduled TODO entries: ))
 )
)
   ((org-agenda-compact-blocks nil)) (/home/cameron/mnt/mydisk/org/
agendas.org))
  )
 org-agenda-files '(~/gtd/diary.org ~/gtd/Band/Band.org
~/gtd/rsa/RSA.org ~/gtd/JuniorYouthGroup/YouthGroup.org
~/gtd/Netball/Netball.org ~/gtd/todo.org)
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-agenda-show-inherited-tags nil
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-remove-tags t
 org-startup-folded nil
 org-deadline-warning-days 7
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-stuck-projects '(+LEVEL=2/-DONE (TODO NEXT NEXTACTION) (Info)
)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-mobile-inbox-for-pull ~/gtd/from-mobile.org
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file ~/gtd/notes.org
 org-agenda-skip-function '(lambda nil
(org-agenda-skip-entry-if (quote scheduled) (quote deadline) (quote
regexp) [^ ))
 org-directory ~/gtd/
 org-export-docbook-xslt-proc-command java org.apache.xalan.xslt.Process
-out %s -in %s -xsl
/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml-1_1/docbook.xsl
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-mode-hook '((lambda nil
  (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all)
(quote append) (quote local)))
 #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook
org-show-block-all append local]
   5]
 )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-fast-tag-selection-single-key 'expert
 org-agenda-start-on-weekday nil
 org-enforce-todo-dependencies t
 org-agenda-skip-deadline-if-done t
 org-reverse-note-order t
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp \\Cameron Horsburgh\\
 org-mobile-directory ~/mnt/mydisk/org/
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-export-docbook-xsl-fo-proc-command fop %s %s
 org-remember-templates '(( 116 * TODO %? ~/gtd/todo.org Unfiled
items)
  ( 110 * %u %? ~/gtd/notes.org Notes)
  (My diary entry 100 * Diary entry: %?\n %^T ~/gtd/diary.org Diary
date)
  ( 119 * %u %c %:region ~/gtd/bookmarks.org Web links))
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 )

=Backtrace

Debugger entered--Lisp error

Re: [Orgmode] org-tags-column

2009-06-20 Thread Cameron Horsburgh
At Sat, 20 Jun 2009 12:48:23 -0700,
Ross A Laird wrote:
 
 
 One of the interesting things about org, from a non-programmer's point
 of view, is that there are dozens (hundreds?) of settings that seem to
 require some sort of programming knowledge. This is both challenging and
 useful, from an educational perspective. Here's an example:
 
 org-tags-column
 
 It is referred to in the documentation, but without an example. And it
 does not show up in a search of this list. So, how do I set this? I have
 tried:
 
 (setq org-tags-column 100)
 
 in my emacs, but I have no idea if this is the correct way to do this
 (or even if it works, actually).
 
 As I said, this is one of the interesting things about org; always more
 to discover and learn. Can someone give me a sense of how best to use
 the above setting?


I'm not a programmer either, so I find myself in much the same
situation. However, in this case I recently found a very useful
keystroke: C-h v

This prompts you for a variable name. Tell it the name you want (if
the cursor is on the variable it will suggest it by default) and a
buffer will pop up explaining the variable.

In this case, we're told

,
| org-tags-column is a variable defined in `org.el'.
| Its value is -77
| 
| Documentation:
| The column to which tags should be indented in a headline.
| If this number is positive, it specifies the column.  If it is negative,
| it means that the tags should be flushright to that column.  For example,
| -80 works well for a normal 80 character screen.
| 
| You can customize this variable.
`

This tells me what it's setr to currently, what it does and it tells
me I can set it in the customize interface. Given that it's just a
simple variable, I would assume you could change it in .emacs with a
setq.

Hope this helps!

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/
___
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: Sourceforge community award

2009-06-14 Thread Cameron Horsburgh
At Sat, 13 Jun 2009 22:32:21 -0700,
Baoqiu Cui wrote:
 
 Nick Dokos nicholas.do...@hp.com writes:
 
  Carsten Dominik carsten.domi...@gmail.com wrote:
 
  One more:  How about this one:
  
  For question two I currently have:
  
 We should win because by letting people shape their
 productive selves, org-mode has spawned the best
 community of life hackers in the world.
  
  Just now I thought of
  
 We should win because Org-mode truely changes the way how it's users
 
  Either
  truly changes the way that its users
  or
  truly changes how its users
 
 do everything, and has spawned the best community of life hackers
 in the world.
 
 We can just say ... truly changes the way its users do everything, 
 
 Overall this answer looks very good to me!
 
 Baoqiu


May I suggest we lose the word 'truly'? It makes it seem like we're
trying too hard. Org-mode either changes the way we do everything, or it
doesn't.


Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/

___
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: Sourceforge community award

2009-06-12 Thread Cameron Horsburgh
On Fri, Jun 12, 2009 at 07:46:23PM +0200, Sebastian Rose wrote:
 Here is a suggestion for more logo like version based on the colored
 version. 
 
 After winning the award, the unicorn should get a laurel wreath or
 crown for a while :)
 

Ooh, yes... +1 for me.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Sourceforge community award

2009-06-10 Thread Cameron Horsburgh
On Wed, Jun 10, 2009 at 02:30:02AM -0400, Brian van den Broek wrote:

 3. Please provide a logo (or screenshot, if you'd prefer) for your
 project.  It should be at least 640x480, but we'll also be showing it
 as a thumbnail.

 If you go the screenshot way (along the lines of Carsten's mock-up), I'd 
 suggest using split windows to show off more than one aspect of  
 org-mode. I'm thinking a vertical split with an agenda buffer in one  
 window. Static screenshots don't really do org-mode justice---it's text 
 and superficially just text---and that might give a glimpse into how it 
 is more.


I'd also include a very important TODO in there:

* TODO yWorld domination [0/1]   :Office:
  - [ ] Win SourceForge Award

You get the idea. We need to show off what Org-mode is good for, as
well as appeal to the judges' Alpha geek humour.


 Congrats on the well deserved finalist slot.

Yep!


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Re: Possible bug with tag inheritance

2009-04-25 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 02:12:11PM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote:
  Cameron Horsburgh ca...@netcall.com.au writes:
  
   On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
   I think we need more information to help.  Could you show us what your
   value of org-stuck-projects is?
  
   Sure. 
  
'(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT 
   NEXTACTION) (Info) 
  [State]: EDITED, shown value does not take effect until you set or 
   save it.)))
  
  
  I think that's a little messed up.  Can you post what C-h v
  org-stuck-projects displays (or cut and paste the value out of your
  custom file?  The [State]: EDITED, ... stuff shouldn't be part of the
  value.
 
  That's cut straight from my .emacs. The first few lines of C-h v tell me:
 
  org-stuck-projects is a variable defined in `org-agenda.el'.
  Its value is 
  (+LEVEL=2/-DONE
   (TODO NEXT NEXTACTION)
   (Info)
   \n   [State]: EDITED, shown value does not take effect until you set or 
  save it.)
 
 Okay.  That string is used for regexp matching and probably should not
 be there.

True! But there it is...

 
   - If this regexp - \n   [State]: ...it. matches anywhere in the
 subtree then the project is not stuck.
 
 That's probably not what you want even if matching that exactly string
 is unlikely.  If you click on the _customize_ link you'll see what each
 value is used for.  You probably just want an empty string there.

Yes, I got that. I've adjusted the string manually.

 Carsten mentioned that inherited tags are not considers for stuck
 project matching during the search and you should probably try his
 suggestion to see if it works better for your scenario.
 

I haven't had a chance to play around with this yet. As I said in my
original mail, though, it's probably more correct to use PROPERTIES to
mark something as information. org-stuck-projects seems to be able to
read PROPERTIES, so I'll fiddle around with that and see how I go.

Thanks for your help,

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Possible bug with tag inheritance

2009-04-25 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 03:54:29PM +0200, Carsten Dominik wrote:

 On Apr 24, 2009, at 12:43 PM, Cameron Horsburgh wrote:

 I have customised org-stuck-projects[fn:1] to ignore entries tagged
 with the tag `Info'. org-use-tag-inheritance is set to `t'.

 If I hit C-a # to list stuck projects I would only expect to see the
 entry about cooking dinner listed. The `Notes' headline should be
 ignored, as should the notes about Mary's phone number and Jenny's web
 page, because they inherit the `Info' tag.

 In practice, the `Notes' headline is ignored as expected. However, the
 children are listed as stuck projects.

 After all this I have realised it's probably more appropriate to use
 properties rather than tags to do this sort of thing. Still, the
 behaviour puzzles me a bit, so I thought it was worth asking about.

 Is this behaviour incorrect? Or am I expecting the wrong thing?


 The tags in org-stuck-projects must be present explicitly in the  
 subtree, because the subtree is searched with a regula expression that  
 does not know about inheritance.

I thought this might be the case. May I suggest a note be made to the
documentation of org-stuck-projects?

 However, you can include this into your definition of a project:

 (setq org-stuck-projects
(quote (+LEVEL=2-Info/-DONE (TODO NEXT NEXTACTION) nil )))

 HTH



 * Footnotes

 [fn:1] I had some trouble customising this variable in the usual way,
 because the explanation at the end of the customize buffer somehow got
 included in the sexp recorded in my .emacs. I deleted that line, reset
 the customize buffer and started again, but with exactly the same
 result.

 There seems to be a bug in customize.  Can anyone please submit a but  
 report to Emacs, after verifying that this still occurs in the latest  
 update of emacs 23?


I'll have a play with some other customized buffers and see what
happens. If it happens elsewhere I'll send a report.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
Hi folks,

Today I stumbled across an instance where tag inheritance doesn't seem
to work as I expected it to.

I'm using GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.14.7)
of 2009-04-12 on elegiac, modified by Debian, and Org-mode version
6.26trans.

Let's say I have an org file that records all the information for a
particular part of my life. Different parts of the file record
meetings, track projects and record notes and other
information. Here's what it might look like:



* Meetings
** Lunch with John   :Restaurant:
   2009-04-27 Mon 12:30
** Meeting with Fred :Office:
   2009-04-27 Mon 13:00
* Projects
** Find Higgs Boson  :Laboratory:
   DEADLINE: 2009-04-27 Mon
** Achieve World domination   :Office:Laboratory:
   SCHEDULED: 2009-04-28 Tue
** Cook dinner  :Kitchen:
* Notes:Info:
** Mary's phone numbers
   - 1234-5678
   - 0412-345-678
** Jenny's web page
   - [[http://www.somewebpage.com][Jenny's web page]]

I have customised org-stuck-projects[fn:1] to ignore entries tagged
with the tag `Info'. org-use-tag-inheritance is set to `t'.

If I hit C-a # to list stuck projects I would only expect to see the
entry about cooking dinner listed. The `Notes' headline should be
ignored, as should the notes about Mary's phone number and Jenny's web
page, because they inherit the `Info' tag.

In practice, the `Notes' headline is ignored as expected. However, the
children are listed as stuck projects.

After all this I have realised it's probably more appropriate to use
properties rather than tags to do this sort of thing. Still, the
behaviour puzzles me a bit, so I thought it was worth asking about.

Is this behaviour incorrect? Or am I expecting the wrong thing?

* Footnotes

[fn:1] I had some trouble customising this variable in the usual way,
because the explanation at the end of the customize buffer somehow got
included in the sexp recorded in my .emacs. I deleted that line, reset
the customize buffer and started again, but with exactly the same
result. 


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Re: Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  [fn:1] I had some trouble customising this variable in the usual way,
  because the explanation at the end of the customize buffer somehow got
  included in the sexp recorded in my .emacs. I deleted that line, reset
  the customize buffer and started again, but with exactly the same
  result. 
 
 Hi Cameron,
 
 I think we need more information to help.  Could you show us what your
 value of org-stuck-projects is?

Sure. 

 '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT NEXTACTION) 
(Info) 
   [State]: EDITED, shown value does not take effect until you set or save 
it.)))

This is the latest version of it. An earlier attempt also listed the
explanation of the way stuck projects are identified.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Re: Possible bug with tag inheritance

2009-04-24 Thread Cameron Horsburgh
On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote:
 Cameron Horsburgh ca...@netcall.com.au writes:
 
  On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote:
  I think we need more information to help.  Could you show us what your
  value of org-stuck-projects is?
 
  Sure. 
 
   '(org-stuck-projects (quote (+LEVEL=2/-DONE (TODO NEXT NEXTACTION) 
  (Info) 
 [State]: EDITED, shown value does not take effect until you set or save 
  it.)))
 
 
 I think that's a little messed up.  Can you post what C-h v
 org-stuck-projects displays (or cut and paste the value out of your
 custom file?  The [State]: EDITED, ... stuff shouldn't be part of the
 value.

That's cut straight from my .emacs. The first few lines of C-h v tell me:

org-stuck-projects is a variable defined in `org-agenda.el'.
Its value is 
(+LEVEL=2/-DONE
 (TODO NEXT NEXTACTION)
 (Info)
 \n   [State]: EDITED, shown value does not take effect until you set or save 
it.)



 
 -Bernt
 

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Adding time to deadline and schedule timestamps

2009-04-07 Thread Cameron Horsburgh
Hi folks,

I'm trying to get a little more control over my DEADLINE and SCHEDULED
timestamps. Specifically, I'd like to be able to add the time (not
just the date) when I hit C-c C-d or C-c C-s.

I tried adding the prefix, which is how you would do it when putting
in a plain timestamp (C-u C-c .) However, this combo deletes any
schedule or deadline property the note might have. 

If I use C-c C-d/s and try to type the time in at the prompt it is
ignored. However, I can manually add it to the timestamp afterwards
and everything works as expected.

Is there a way to automatically add the time? This would seem to be a
very natural thing to be able to do, especially for deadlines.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Adding time to deadline and schedule timestamps

2009-04-07 Thread Cameron Horsburgh
On Tue, Apr 07, 2009 at 12:24:33PM +, Giovanni Ridolfi wrote:
 
 --- Mar 7/4/09, Cameron Horsburgh ca...@netcall.com.au ha scritto:
  I'm trying to get a little more control over my 
  DEADLINE and SCHEDULED 
  timestamps. 
 
 The manual (8.3 Deadlines and scheduling) states:
 
 [...] special keywords to facilitate *planning*
 
 DEADLINE
  Meaning: the task (most likely a TODO item, though not
  necessarily) is supposed to be finished on that *date*.
 
 SCHEDULED
  Meaning: you are planning to start working on that task on the
  given *date*.
 
 
 I think you should use a timestamp 
 
 * Submit :Project_A_
 DEADLINE 2008-10-11
 ** last minute for submission 
 2008-10-11 16:59
 


Yes, that's true. However, being able to do this in one timestamp
would seem to make a lot of sense. After all, this will show up in my
agenda as two apparently unrelated things. Besides, I should only have
to put the information in once, not twice.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Re: Adding time to deadline and schedule timestamps

2009-04-07 Thread Cameron Horsburgh
On Tue, Apr 07, 2009 at 08:32:36AM -0400, Bernt Hansen wrote:
 To add a time I just enter the time when you get the SCHEDULED or
 DEADLINE date prompt.
 
 eg. Date+time [2009-04-07]: mon 7pm
 
 Lots of formats are supported.
 
 Entering the time at the prompt works for me.
 
 ,[ Example org file entering '7pm' and 'fri 11:30-13:30' ]
 | * One
 |   DEADLINE: 2009-04-07 Tue 19:00
 | * TODO Something
 |   SCHEDULED: 2009-04-10 Fri 11:30-13:30
 `
 
 -Bernt
 

Huh. Once again I increase the noise to signal ratio on this list. As
I said in my first message I tried that and it didn't work. I was left
with a datestamp with no time attached.

I've since rebooted my machine (and consequently Emacs) and now it
works. Weird.

Again, sorry for the noise.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Problem with toggling intermediate state of check boxes

2009-04-03 Thread Cameron Horsburgh
On Fri, Apr 03, 2009 at 03:24:40PM +0530, Manish wrote:
 On Fri, Apr 3, 2009 at 10:07 AM, Nick Dokos wrote:
  Cameron Horsburgh wrote:
 
 
  When I use C-u C-c C-c on a check box it deletes the check box rather
  than toggles the [-] state as adevrtised in the manual. I'm using
  version 6.25a as checked out of git several hours ago.
 
  I've never tried to use this behaviour before, so I can't say when it
  first occurred.
 
  Here's a minimal two lines that exhibit the behaviour:
 
  ,
  | * Headline [0/1]
  |  - [ ] C-u C-c C-c will remove the checkbox
  `
 
  The manual says (I am behind the curve: I still run 6.24, but I doubt
  either the behavior or this portion of the manual changed):
 
  `C-c C-c'
Toggle checkbox status or (with prefix arg) checkbox presence at
point. With double prefix argument, set it to `[-]', which is
 ^
considered to be an intermediate state.
 
 You need to do C-u C-u C-c C-c to get to that intermediate state.


Ah, that's a little bizarre. For some reason my info file was 6.21,
which refers to the single prefix usage. I went to the top level node
than went back into the org-mode info and it was 6.25.

I say this is bizarre because I update org-mode (and docs) most days
and the info has been opened and closed many times since 6.21. The
instructions match what you say.

Cue the theme from 'The Twilight Zone'...

Thanks for your help.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Problem with toggling intermediate state of check boxes

2009-04-02 Thread Cameron Horsburgh
Hi folks,

When I use C-u C-c C-c on a check box it deletes the check box rather
than toggles the [-] state as adevrtised in the manual. I'm using
version 6.25a as checked out of git several hours ago.

I've never tried to use this behaviour before, so I can't say when it
first occurred.

Here's a minimal two lines that exhibit the behaviour:

,
| * Headline [0/1]
|   - [ ] C-u C-c C-c will remove the checkbox
`




-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Article: Synchronizing org Files Using bzr and git

2009-03-04 Thread Cameron Horsburgh
On Tue, Mar 03, 2009 at 01:42:56PM +, Ian Barton wrote:
 I have been working on an article on syncing org files using a version  
 control system for a while. The recent posts about using a usb stick  
 motivated me to try and finish it.

 You can see the html version at  
 http://www.ian-barton.com/ian-barton/org_vcs/org_vcs.html and get the  
 current version from github at  
 git://github.com/geekinthesticks/org-vcs.git .



Hi Ian,

This tutorial was great. I've been using bzr for most of my text files
(including org) for some time now, and I'm glad I'm not the only one!
I picked up on a couple of things I hadn't thought of, so thanks!

I just want to point out a ssmall typo. In Section 8.2.1 'Moving Your
Data from bzr to git' you say...

,
| 
| Like most things this is easy once you know how. You need the bzr fast-export 
plugin. 
|
`

I think you mean the 'fast import' plug-in. The rest of the paragraph
makes this pretty clear, but I can see some poor newbie trying to
figure this out!

Well done, and I look forward to seeing any additions you might make.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Installing on windows

2009-02-05 Thread Cameron Horsburgh
On Thu, Feb 05, 2009 at 01:23:52PM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 11:41 AM, Cameron Horsburgh wrote:
 [...]
   M-x load-file RET enter-path-to-.emacs RET
  
   Will that unload variables that were previously loaded? I can see this
   being an issue, for example, if you've undeclared a variable in .emacs
   in order to return to a default value.
 
  Yes, this will reset any variables that you might have changed in the
  session back to the values still defined in .emacs.
 
  Sorry, I wasn't clear. I'm thinking about unsetting variables you have
  in your .emacs to their default values. I just reboot Emacs, but if
  there were a quicker way to revert to a 'pristine' state then load
  .emacs it would be much easier.
 
 I guess a lot depends on what pristine means here.
 
 You could have multiple copies of .emacs to achieve various states, I
 think but then you will need to define /all/ the variables to their
 default values at least in some of those files explicitly so they can be
 reset from whatever you have set them to.  A variable not set in .emacs
 would stay at it's set value (whether set by another copy of .emacs or
 manually.)  In reality I have never needed to so I may not even fully
 understand your issue and if any of what I said made sense. :-/


I thought as much! What I (and I think the OP) is looking for is a way
to load a modified version of .emacs without having to reboot, but
with the guarantee that all of the changes will be effective. As you
say, variable declarations that have been removed from .emacs will not
be taken into account.

It's a moot point, I guess---by far the majority of my Emacs boot time
is spent loading things in .emacs anyway, so I doubt any time could be
saved if what I wanted were possible.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Installing on windows

2009-02-04 Thread Cameron Horsburgh
On Thu, Feb 05, 2009 at 10:44:53AM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:
 
  Did you reboot Emacs?
 
  Yup, that I sure did...
 
 Can you mail the exact statement you used to add org-mode to .emacs
 please?
 
 
 
  Though, I would like to know if there is a way to re-load .emacs
  without restarting Emacs.
 
 M-x load-file RET enter-path-to-.emacs RET

Will that unload variables that were previously loaded? I can see this
being an issue, for example, if you've undeclared a variable in .emacs
in order to return to a default value.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Installing on windows

2009-02-04 Thread Cameron Horsburgh
On Thu, Feb 05, 2009 at 11:00:19AM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 10:48 AM, Cameron Horsburgh wrote:
  On Thu, Feb 05, 2009 at 10:44:53AM +0530, Manish wrote:
  On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:
  
   Did you reboot Emacs?
  
   Yup, that I sure did...
 
  Can you mail the exact statement you used to add org-mode to .emacs
  please?
 
  
  
   Though, I would like to know if there is a way to re-load .emacs
   without restarting Emacs.
 
  M-x load-file RET enter-path-to-.emacs RET
 
  Will that unload variables that were previously loaded? I can see this
  being an issue, for example, if you've undeclared a variable in .emacs
  in order to return to a default value.
 
 Yes, this will reset any variables that you might have changed in the
 session back to the values still defined in .emacs.

Sorry, I wasn't clear. I'm thinking about unsetting variables you have
in your .emacs to their default values. I just reboot Emacs, but if
there were a quicker way to revert to a 'pristine' state then load
.emacs it would be much easier.

 
 -- 
 Manish
 
 

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Empty lines between headers

2009-01-30 Thread Cameron Horsburgh
On Fri, Jan 30, 2009 at 07:46:21AM +0100, Carsten Dominik wrote:
 Hi Cameron,

 a relatively recent change is causing this new behavior.

 The default is now to automatically insert an empty line
 if the current headline does also have an empty line before it.

 So If you have an empty line before header 1, then you
 will get an empty line before header 2.  However, if you
 then go back and remove the empty line before header 2
 and afterwards insert a header 3, no empty line will be
 inserted.
 The same is true for plain list items.

 It seems to me that this is the best behavior, but if
 you always prefer no empty line, customize the variable
 `org-blank-before-new-entry'.

Ah, I could SWEAR I tried getting rid of blank lines, but it seems I
didn't. Now to customise that variable and report my customisation.

The idea you had about org-mode spyware isn't so bad. I'm sure there's
a startup somewhere that would pay for that information ;-)

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] POLL: the 40 variables project

2009-01-30 Thread Cameron Horsburgh
Here's my list of variables. I think all my org-mode settings
have been done via customize, which I've just realised doesn't
indent things very tidily. I've tried to fix it, but I'm not
really used to elisp style.



'(org-agenda-custom-commands (quote ((d todo DELEGATED nil) 
 (c todo DONE|DEFERRED|CANCELLED nil) 
 (w todo WAITING nil) 
 (W agenda  ((org-agenda-ndays 21))) 
 (A agenda  ((org-agenda-skip-function 
  (lambda nil 
(org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#A\\]))) 
 (org-agenda-ndays 1) 
 
(org-agenda-overriding-header Today's Priority #A tasks: ))) 
 (u alltodo  ((org-agenda-skip-function 
   (lambda nil 
(org-agenda-skip-entry-if (quote scheduled) 

 (quote deadline) 

 (quote regexp) [^]+))) 
  
(org-agenda-overriding-header Unscheduled TODO entries: ))
'(org-agenda-files (quote (~/VersionControl/gtd/todo.org)))
'(org-agenda-ndays 7)
'(org-agenda-show-all-dates t)
'(org-agenda-skip-deadline-if-done t)
'(org-agenda-skip-scheduled-if-done t)
'(org-agenda-start-on-weekday nil)
'(org-blank-before-new-entry (quote ((heading) (plain-list-item
'(org-deadline-warning-days 14)
'(org-default-notes-file ~/VersionControl/gtd/notes.org)
'(org-fast-tag-selection-single-key (quote expert))
'(org-remember-store-without-prompt t)
'(org-remember-templates (quote ((116 * TODO %? 
~/VersionControl/gtd/todo.org Unfiled items) 
 (110 * %u %? 
~/VersionControl/gtd/notes.org Notes
'(org-reverse-note-order t)


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Empty lines between headers

2009-01-29 Thread Cameron Horsburgh
Hi folks,

In the last few days hitting M-enter on a headline has inserted an
empty line between the headline and the new line I'm trying to
create. I end up with:

,
| 
| * header 1
| 
| * header 2
| 
`


instead of

,
| 
| * header 1
| * header 2
| 
`

I'm guessing I've mucked something up, but I'm not sure what. Ideas?

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] org-cycle broken when cursor is at ellipses

2008-10-26 Thread Cameron Horsburgh
On Sun, Oct 26, 2008 at 07:49:46PM +, Ben Alexander wrote:
 So about this bug...

 I think I've figured out why I get this so often.  I use Aquamacs on  
 MacOS X, and it seems to store (in ~/Library/Preferences/Aquamacs  
 Emacs/places.el) a list of files and values for point.


For the record, I'm using emacs-snapshot on Debian sid and I have the
same (or a very similar) issue.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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