Re: [Orgmode] FR: toggling timestamps active/inactive

2007-10-16 Thread Rick Moynihan

Adam Spiers wrote:

Hi Carsten,

Another simple idea - subject line is pretty much self-explanatory I
think: would be great to be able to toggle timestamps between [] and
.

Why?  Say I have an event in my diary.org file, and am subsequently
told my presence at the event is no longer necessary.  Consequently I
would like to keep it in the file for reference, to track colleagues'
movements or in case my presence is re-required, but I don't want the
event to appear in the agenda.

By the way, I probably could have coded this in the time it took to
write the mail, but I thought that until I've sent a piece of paper to
the FSF assigning rights for code contributed to org-mode and emacs,
it would be better to let Carsten write it.  Is that correct or flawed
thinking?



This seems like a good idea.  Another related one occurred to me today 
(if it's necessary) which is toggling between the two list indicators.


e.g.

- foo
- bar
  - baz |-- Point

Calling the toggle-list-indicator function at the point will cause the 
list indicator to change from a - to a + (and vice versa).


R.


___
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: POLL: Volume of emacs-orgmode too high?

2007-10-16 Thread Rick Moynihan

William Henney wrote:

Agreed.  I do fall behind on reading it every now and then but I always
try and catch up because the quality of discussions is so high.  I like
having such a receptive community.



Agreed too. Sometimes my eyes glaze over the GTD threads, but I can
always mute the threads I'm not interested in. Perhaps an additional
low volume org-mode-announce list would be a good idea for those more
interested in product than process...



To be honest I think we're still too small to justify the overhead of 
another list.  When we're touching on having 100s of posts a day, maybe.


R.


___
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] FR: toggling timestamps active/inactive

2007-10-16 Thread Rick Moynihan

Adam Spiers wrote:
This seems like a good idea.  Another related one occurred to me today 
(if it's necessary) which is toggling between the two list indicators.


e.g.

- foo
- bar
  - baz |-- Point

Calling the toggle-list-indicator function at the point will cause the 
list indicator to change from a - to a + (and vice versa).


Nice idea!  Or even between - and *** at the current level.  Maybe
that should cycle.  Or maybe there are already existing keybindings
which distinguish between new - and *** entries?  M-RET doesn't always
DWIM, personally.


Yes!  This is another that issue that gets me, I often press M-RET 
expecting a list, but get an outline.  Having a keybinding to quickly 
toggle between these sorts of things when they occur *might* be nice.


R.


___
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] remember/org error

2007-10-12 Thread Rick Moynihan

Hi all,

I keep getting the following error after performing a M-x remember, 
entering some text in the new buffer and pressing C-c C-c.  The 
following error occurs on the final C-c C-c.


(error Invalid search bound (wrong side of point))

As far as I know I have the configuration setup as specified in the org 
manual.


I've attached a backtrace.  I'm using what I downloaded as org 5.12b 
though org-version claims it is 5.12a.


Thanks again to everyone on the list; especially Carsten.

R.
Debugger entered--Lisp error: (error Invalid search bound (wrong side of 
point))
  re-search-forward(^[ ]+ #marker at 4321 in notes.org t)
  (while (re-search-forward ^[ ]+ end t) (goto-char (match-end 0)) 
(setq col (current-column)) (if ( diff 0) (replace-match )) (indent-to (+ 
diff col)))
  (if (save-excursion (end-of-line 1) (re-search-forward prohibit end t)) nil 
(while (re-search-forward ^[ ]+ end t) (goto-char ...) (setq col ...) (if 
... ...) (indent-to ...)))
  (unless (save-excursion (end-of-line 1) (re-search-forward prohibit end t)) 
(while (re-search-forward ^[ ]+ end t) (goto-char ...) (setq col ...) (if 
... ...) (indent-to ...)))
  (let ((end ...) (prohibit ...) col) (unless (save-excursion ... ...) (while 
... ... ... ... ...)) (move-marker end nil))
  (save-excursion (let (... ... col) (unless ... ...) (move-marker end nil)))
  org-fixup-indentation(1)
  (if org-adapt-indentation (org-fixup-indentation diff))
  (let* ((level ...) (down-head ...) (diff ...)) (replace-match down-head nil 
t) (and org-auto-align-tags (org-set-tags nil t)) (if org-adapt-indentation 
(org-fixup-indentation diff)))
  org-demote()
  funcall(org-demote)
  (if (and (re-search-forward ... nil t) ( ... end)) (funcall fun))
  (save-excursion (setq end (copy-marker end)) (goto-char beg) (if (and ... 
...) (funcall fun)) (while (and ... ...) (funcall fun)))
  (let ((org-ignore-region t)) (save-excursion (setq end ...) (goto-char beg) 
(if ... ...) (while ... ...)))
  org-map-region(org-demote 4278 4319)
  (while (not (= shift 0)) (org-map-region func (point-min) (point-max)) (setq 
shift (+ delta shift)))
  (save-restriction (narrow-to-region beg end) (while (not ...) (org-map-region 
func ... ...) (setq shift ...)) (goto-char (point-min)))
  (if (= shift 0) nil (save-restriction (narrow-to-region beg end) (while ... 
... ...) (goto-char ...)))
  (unless (= shift 0) (save-restriction (narrow-to-region beg end) (while ... 
... ...) (goto-char ...)))
  (let* ((txt ...) (^re ...) (re ...) (^re_ ...) (old-level ...) (force-level 
...) (previous-level ...) (next-level ...) (new-level ...) (shift ...) (shift1 
shift) (delta ...) (func ...) (org-odd-levels-only nil) beg end) (if 
force-level (delete-region ... ...)) (beginning-of-line 1) (setq beg (point)) 
(insert txt) (unless (string-match \n[ ]*\\' txt) (insert \n)) 
(setq end (point)) (goto-char beg) (unless (= shift 0) (save-restriction ... 
... ...)) (when (interactive-p) (message Clipboard pasted as level %d subtree 
new-level)) (if (and kill-ring ... org-subtree-clip-folded) (hide-subtree)))
  org-paste-subtree(2 * Fri Oct 12 17:20:30 2007 (foo)\n  foo\n  )
  (save-restriction (widen) (goto-char (point-max)) (if (not ...) (newline)) 
(org-paste-subtree (org-get-legal-level 1 1) txt))
  (cond ((org-on-heading-p t) (org-back-to-heading t) (setq level ...) (cond 
... ... ... ...)) ((and ... ...) (save-restriction ... ... ... ...)) ((and ... 
reversed) (save-restriction ... ... ... ... ...)) (t (org-paste-subtree ... 
txt)))
  (save-restriction (widen) (and (goto-char ...) (not ...) (insert \n*  ... 
\n)) (setq reversed (org-notes-order-reversed-p)) (when (and heading ... ...) 
(goto-char ...) (if ... ... ...)) (if fastp (setq spos org-goto-start-pos 
exitcmd ...) (setq spos ... exitcmd ... spos ...)) (if (not spos) (throw ... 
nil)) (goto-char spos) (cond (... ... ... ...) (... ...) (... ...) (t ...)) 
(when remember-save-after-remembering (save-buffer) (if ... ...)))
  (save-excursion (save-restriction (widen) (and ... ... ...) (setq reversed 
...) (when ... ... ...) (if fastp ... ...) (if ... ...) (goto-char spos) (cond 
... ... ... ...) (when remember-save-after-remembering ... ...)))
  (save-current-buffer (set-buffer (or visiting ...)) (unless (org-mode-p) 
(error Target files for remember notes must be in Org-mode)) (save-excursion 
(save-restriction ... ... ... ... ... ... ... ... ...)))
  (with-current-buffer (or visiting (get-file-buffer file)) (unless 
(org-mode-p) (error Target files for remember notes must be in Org-mode)) 
(save-excursion (save-restriction ... ... ... ... ... ... ... ... ...)))
  (let* ((txt ...) (fastp ...) (file ...) (heading 
org-remember-default-headline) (visiting ...) (org-startup-folded nil) 
(org-startup-align-all-tables nil) (org-goto-start-pos 1) spos exitcmd level 
indent reversed) (if (and ... org-remember-previous-location) (setq file ... 
heading ...)) (setq current-prefix-arg nil) (let* (... first) 

[Orgmode] org priority cycling - removing priorities

2007-09-06 Thread Rick Moynihan
Every now and then I find myself mispressing SHIFT-up/SHIFT-down on an 
outline and assigning a priority to it.  This then often leads me to 
navigating the point to the priority to delete it manually.


It would be great if SHIFT-up/SHIFT-down would cycle through:

[#A]
[#B]
[#C]
_ - blank (i.e. no priority).

This way I could easily undo the operation with the same keys.  Is there 
any good reason not to have this behaviour?


R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Vacation, and 5.04.

2007-07-20 Thread Rick Moynihan

Carsten Dominik wrote:


On my website I have put version 5.04 of org-mode, it contains
the latest bug fixes, but hardly any new features.  As an exception
I am *not* uploading this version to CVS Emacs, to avoid the risk
that there will be a deadly bug that I cannot fix for 3 weeks.



Hi Carsten,

Just a minor point, the links from the org-mode page still point to 
5.03, though 5.04 is downloadable at:


http://staff.science.uva.nl/~dominik/Tools/org/org-5.04.tar.gz

Have a good vacation,

R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Blorg problems

2007-07-16 Thread Rick Moynihan

Hi all,

I've recently started investigating blorg (sorry David) with the hope of 
using it (and org-mode) to start a blog.  Unfortunately I've run into a 
few issues, and would appreciate some help.


--
Firstly it appears that my paragraphs don't render as such from memory I 
have something like the following:


* DONE Post title
 CLOSED: [2007-07-16 Mon 12:43]

blah blah blah blah blah blah...

This should be a new paragraph, but when converted to html isn't (i.e. 
it is not enclosed in p tags, and it merges with the blah blah blah's 
above.

--

Am I doing something wrong, or is there a way around this?

I've also run into some other small problems:

- The time of the post is always rendered something like +00 00 and not 
12:43  This isn't a big problem as I've just disabled it with the format 
string)
- It's not clear how to render images in the output, i.e. with a img 
src=.../.
- The format of Echoes appears to be fixed, yet I'd like to use them to 
generate a different order as I'd like to include the following HTML 
snippet (forgive me I can't remember the names of the includable 
properties):


div class=delicious-blogbadge-line 
id=(post-id-or-url)

script type=text/javascript

Delicious.BlogBadge.register('(post-id-or-url)', '(post-url)', 
'(post-title)');

/script
/div

It would also be great if somebody could create an example blorg.org 
file which demonstrated all the org markup in a test-blog.


In the future I'd also like a mechanism for exporting code blocks into 
the html (ideally with emacs syntax highlighting).  It would be great if 
the org-mode colon syntax could be used to do this, e.g:


: public int randomNumber() {
:return 3;  //guaranteed random number (was a fair dice roll) (xkcd)
: }

I seem to remember having some other small problems and ideas about the 
whole thing, which if I remember I'll post here.  Anyway, if I can get 
the paragraphs and image export working, I should be able to start blorging.


Also does anyone know of any blogs online using blorg?

Thanks again,

R


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Suggestion: Jump points

2007-07-11 Thread Rick Moynihan

Eddward DeVilla wrote:

On 7/11/07, Rick Moynihan [EMAIL PROTECTED] wrote:

Is this something people might find useful?  I personally find I spend a
lot of time trying to re-acquire my previous context within a particular
task, something like this might help.

Actually, after thinking about this; I realise that Emacs has bookmarks
(a feature I've not yet put to use) perhaps a better idea would be to
integrate these with org-mode and visiting the file via the agenda?

What do people think?


I'm not sure I understand it.  You place a token (you were using ++)
in the body under an outline item.  Then when you select the item from
agenda, instead of putting the cursor on that headline, it will look
for (the first?) line with that token in it's subtree.  If the token
does not exist in the subtree it just places the cursor on the
heading.  Is this what you are suggesting?  (If not then the rest of
my comment may be off.)


Apologies for my poor explanation but yes this is precisely what I'm 
talking about.



First, I avoid losing context in a different way.  I have one emacs
session that is always running to take care of 'administrative matter'
and it is were I do most of my org-mode/project planning and tracking.
 When I'm in the middle of doing something with a project, I have it's
tree open in an indirect buffer.  I have one frame with just agenda's
todo list in it for reporting and another frame with three windows (or
so) so I can look at a few things at once.  Since each project is in
it's own buffer, I can get context just be where I left the cursor.
For my uses, what I would love is a way to have org-mode remember how
a subtree was folded so I could hide a subtree and then reopen it
later with all of it children exposed or hidden as they were before.
I like to use hiding for context in a project, but I get by without
it.


I've never knowingly used indirect buffers, and I'll certainly take a 
look at them as I can see how I might find them useful.  I frequently 
use org-narrow-to-subtree which I find useful for hiding irrelevant 
details.  Incidentally it would be nice to be able to set follow mode to 
automatically narrow to the current agenda selection.


I've personally taken to using follow mode, and having my org-mode Emacs 
session split vertically into two panes, with the agenda on the right. 
I then navigate my org file via the open agenda buffer with follow mode. 
 I'm guessing that your method doesn't (easily) allow you to jump from 
the agenda to your projects indirect buffer, which is a feature I quite 
like using.



Getting back to your suggestion, I have an idea.  First pick a good
token.  I don't care for ++ because it means something in C code, but
I think you could get a way with picking your own token here.  Next, I
wonder if there is a search subtree?  I didn't see it in on a quick
search of the manual, but I could have missed it if it exists.  If it
doesn't exist, I think it might be handy here and in other places.
With a subtree search, you could search out the token after agenda
takes you to the project tree.  You could make a custom key binding to
search for you token.  Also, if there is a hook that runs after agenda
takes you to a heading, you might be able to put this search there.

That all depends on a few things.  Does subtree search exist or should
it?  Is a key binding good enough for a find-next-jump-point function?
 Is there (or should there be) a hook that runs after agenda takes you
to a heading?


Good suggestions, and it did occur to me that I might be able to 
implement this as a personal extension to org-mode, and I'm sure for 
someone with good Emacs fu, this would take 5 minutes.  For me?  Well it 
might be a nice motivating exercise to learn some more elisp :)


Anyway, it's always good to have a discussion about how people are using 
and extending org-mode.


R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] definition lists in org-mode

2007-07-06 Thread Rick Moynihan

Eddward DeVilla wrote:

On 7/6/07, Rick Moynihan [EMAIL PROTECTED] wrote:

After thinking about it; I have on occasion wanted to schedule a
checkboxed item into the agenda.  This said I'm not convinced supporting
this is a good idea.  Does anyone else have any views?


I'm usually for collapsing similar things in to one more flexible
thing, but there is a lot of meaning attached to something being a
todo entry in the outline as opposed to being a mere checkbox in a
list.  Some times it would be nice to steal a feature of one and use
it on the other, but the implicit difference is too useful I think to
collapse them.



Agreed.  My gut feeling is that they fulfill largely different purposes. 
 The problem is that I tend to make a decision to structure something 
with lists  checkboxes, and later on discover I want an item in the 
list to appear inside the agenda.


Duplicating this into an outline is one way to achieve this; but this 
presents several problems:


- Your files rapidly become less DRY (Don't Repeat Yourself) and harder 
to maintain.

- You loose the context of the list (i.e. any notion of sequence)

I guess these are the sorts of use-cases/trade-offs we should be 
discussing as part of David O'Toole's community writing suggestion.  Is 
anything happening with this yet?


R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] iCal Import

2007-06-20 Thread Rick Moynihan
I'm quite excited by the Google calendar/iCal integration.  I had 
previously written a simple Ruby script (I really need to learn elisp) 
to parse an org-mode file for dates and schedule some at jobs to fire 
another script to fire events into Twitter, which I was subsequently 
using as a free SMS reminder service.


It worked quite well in simple tests, but I've never bothered to develop 
it further, primarily because it occured to me that google calendar 
supports free SMSing of notifications and that this could potentially be 
tied into org-mode with the g-client code.


It seems that your code is about getting gcal into org-mode where as the 
above would require the reverse.  Obviously the ideal would be to have 
some level of two-way Calendar synchronisation.  Though this might be 
far too complex and messy, how about allowing some kind of emacs based 
copy/paste between them (in both directions)?


The thought of managing myself in org-mode and syncing to Gcal when I 
want to share/expose my calendar to others is a tempting proposition; I 
imagine this coupled with SMS reminders would be great.


Anyway, as my elisp skills are no more advanced than being able to copy 
and paste fragments of elisp; I thought I'd post my ideas to see whether 
anyone else finds them interesting enough to implement.


R.

Tim O'Callaghan wrote:

HI,

below is a bit of a hack i've come up with to attempt to read my
google calendar into my org agenda. I originally started it using
eldav, but i realised i don't have a webdav server to sync to. At the
moment, It only works for entries that icalendar-import-file converts
to %%(add something).

The org docs imply that that is the only diary entry type that it can
process, is this the case?

Tim.

--- code snip ---
(require 'w3)
(require 'icalendar)

(setq google-ical-org-list
 '(
   (http://www.google.com/calendar/ical/basic.ics;
~/gettingThingsDone/CalendarPersonal.ics
~/gettingThingsDone/CalendarPersonal.org)
   (http://www.google.com/calendar/ical/basic.ics;
~/gettingThingsDone/CalendarShared.ics
~/gettingThingsDone/CalendarShared.org)
   ))

(defun toc:goggle-to-org ()
 get a google calendar and convert it into org dates
 (interactive)
 (with-temp-buffer
   (let* ((glist google-ical-org-list))
 ;; iterate through list
 (while (setq entry (pop glist))
   (setq google-ical-url (car entry) local-ical-file (nth 1
entry) local-date-file (nth 2 entry))
   ;; Delete the diary local files
   (if (file-exists-p local-ical-file) (delete-file local-ical-file))
   (if (file-exists-p local-date-file) (delete-file local-date-file))
   ;; Get ical file
   (w3-download-url google-ical-url (expand-file-name local-ical-file)
  ;; convert to diary without leading 
   (icalendar-import-file local-ical-file local-date-file nil)
  ;; iCalendar leaves the buffers open
   (kill-buffer (find-buffer-visiting local-date-file))
   (kill-buffer (find-buffer-visiting local-ical-file))
   
--- code snip ---


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Rick Moynihan
Software Engineer
Calico Jack LTD
http://www.calicojack.co.uk/


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Agenda error

2007-06-16 Thread Rick Moynihan

When at home I get the following error in org-mode when bringing up the Agenda:

Wrong type argument: stringp, nil

I don't get this error on my setup at work.

I am using org 4.77 (reports as 4.76) with GNU Emacs 22.1.50.1
(i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-06-09.  This version
of Emacs came from the Gentoo masked ebuild so there may be some
issues with it.

For the M-x toggle-debug-on-error backtrace see the attached file.


--
Rick
[EMAIL PROTECTED]


backtrace
Description: Binary data
___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] an annoying indentation

2007-06-12 Thread Rick Moynihan

Leo wrote:

Dear list,

Anyone else find the following annoying?

*** heading 1
- item 1
- item 2

Now hit tabwith cursor right before '-', it becomes,

*** heading 1
- item 1
  - item 2

Best,


I must admit I do run into this on occasion and it is a little annoying. 
 It would (IMHO) be better if the first push of tab aligned with '- 
item 1', with subsequent tabs indenting to the next level.  You should 
however be restricted to only going one level deeper than the above item.


This said I usually create list items at the same level of indentation 
with M-Return.



--
Rick Moynihan
Software Engineer
Calico Jack LTD
http://www.calicojack.co.uk/


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] community writing?

2007-06-08 Thread Rick Moynihan
I think this is a great idea.  My use of org-mode is improving, but I'm 
not yet 100% comfortable with it.  I recently refactored how I have been 
using org-mode; and I'm not there yet.


There's no question that org-mode is a fantastic tool for organising 
yourself.  Its power comes from it not imposing a structure or workflow 
on you.  Unfortunately; this means that it takes commitment and time 
before you become proficient.  When you have a small system going in 
org-mode you can get away with mistakes, unfortunately as you add more 
information it gets harder if the structures you've defined don't scale.


The various org-mode guides out there are a great start, but I like you 
think we need something more.  I'd also be interested in seeing the 
pro's and con's to the various org-mode tools, e.g. KEYWORDS, TAGS, 
OUTLINES, and patterns suited to their usage etc...


David O'Toole wrote:

I notice the planner world has some pages where they discuss the
various ways people use planner. I think it would be cool for us to
collectively post some org-mode usage strategies, perhaps on an
emacswiki page.

Or, people could prepare a small .org file and send it to me, and I
could paste it into a page of my site. it could be a collaboratively
written Org-Mode Strategy and Tactics

If anyone enjoys this, I'll get started by writing my own entry.




--
Rick Moynihan
Software Engineer
Calico Jack LTD
http://www.calicojack.co.uk/


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org 4.75 - small font-lock bug

2007-05-28 Thread Rick Moynihan

The following doesn't render quite right:

*** TODO Weekly Backup
SCHEDULED: 2007-06-01 Fri +1w

The date loses it's underline and takes on the colouring of 'SCHEDULED:' 
. Where as the trailing '' is underlined and coloured like a normal 
timestamp.



--
Rick Moynihan
Software Engineer
Calico Jack LTD
http://www.calicojack.co.uk/


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] 4.70 org-goto bug

2007-04-13 Thread Rick Moynihan
I've discovered that this problem was only occuring at work, and not at 
home.  I think my site installation of emacs 22 was messed up, perhaps 
colliding with emacs21.  And possibly confusing the org-mode install. 
In truth I have no idea, but a clean reinstall seems to have things 
working normally.  For now anyway... :)


R.

Carsten Dominik wrote:

I cannot reproduce that bug.  Anyone?

- Carsten

On Apr 9, 2007, at 12:13, Rick Moynihan wrote:

Hi, I've been playing with org-mode 4.70 and I'm really liking the 
multiple TODO sequences.


However, I seem to have encountered a bug with org-goto.  When 
navigating between headings of the same level with f and b, if I 
try and move too far (i.e. I'm at either the first or last level of 
indentation and I push f/b respectively) I get the error:


error before first heading.

Then ALL of my emacs keybindings fail, I can't seem to switch buffers 
or even kill the debug buffer.


Strangely sometimes I can't seem to generate the error, so it doesn't 
seem to happen EVERY time, though restarting Emacs and navigating 
straight to an org-mode buffer through the agenda and instantly trying 
to cause the bug through running C-c C-j and then generating the error 
through the process described above seems to cause it every time.  
Could there be something funny in my config?



R.


___
Emacs-orgmode mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut Anton Pannekoek
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





___
Emacs-orgmode mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] 4.69 and Multiple TODO Sequences in a file

2007-03-21 Thread Rick Moynihan
Wow!  Barely a week from submitting the idea, and it's implemented in 
org-mode!  This is great!


A minor issue I have with the implementation is that it if you have enabled:

#+STARTUP: lognotestate

org-mode will prompt you for a note when transitioning between different 
sequences in addition to when cycling through a specific sequence.


I can imagine there may be situations where you would want to be able to 
hop between sequences, and log the notestates as you do.  However I'd 
like to ONLY be prompted for a note when transitioning within a sequence 
e.g with the following sequences:


#+SEQ_TODO: TODO DONE
#+SEQ_TODO: BUGREPORT BUG KNOWNCAUSE RESOLVED
#+SEQ_TODO: FEATUREREQUEST APPROVED IMPLEMENTED

When transitioning from TODO - DONE or from BUGREPORT - BUG etc (with 
M-left/right), I'd like to be prompted for a note, but when cycling 
through TODO - BUGREPORT - FEATUREREQUEST (with C-M-left/right) I'd 
like there to be no prompting or logging.


I'm guessing this would be the behavior most people would expect, and a 
  reasonable default with a variable to allow logging of transitions 
between sequences.  Though I might be wrong :)


Anyway, thanks a million for implementing multiple sequences!

R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-mode multiple TODO sequences within a file.

2007-03-19 Thread Rick Moynihan



Carsten Dominik wrote:

No, this does not work.  Could be done, of course, but adds complexity,
and I am sure once it is there,  people will want to switch
TODO keywords constantly, filling the entire file with new #+TODO
statements.  Does not feel right.

How about the following alternative:

Just make a long sequence containing all the subsequences,
like

#+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED TODO WAITING VERIFY DONE

You can then use command like `M-5 C-c C-t'
(or `5 t' in the agenda) to jump to
TODO in this sequence.  Basically, you need to remember where
in your list the different sequences start, put items onto
the right starting point, and then work through your states.

Hmmm, looking at this it might actually be useful to
allow additional DONE states in the middle of the sequence, but
this will at least currently lead to problems, both when cycling
from DONE to nothing to TODO, and also in the highlighting
of TODO keywords in the agenda.  I'll check if I can fix these
small issues.


I can see that my suggestion would add complexity in both code and org 
files.  Supporting multiple DONE states would be a nice, especially if 
they integrate properly with the agenda.


R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-mode multiple TODO sequences within a file.

2007-03-19 Thread Rick Moynihan

Bastien wrote:

Rick Moynihan [EMAIL PROTECTED] writes:


I can see that my suggestion would add complexity in both code and org
files.  Supporting multiple DONE states would be a nice, especially if
they integrate properly with the agenda.


Maybe we could use the same grouping conventions than for tags :

  #+SEQ_TODO: TODO NEXT INPROGRESS WAITING { ACHIEVED DONE }

That would make it easy to have several states and just a few logging
steps.  Consider the next sequence being just *three* states :

  #+SEQ_TODO: { TODO NEXT } { INPROGRESS WAITING } { ACHIEVED DONE }
  `- state 1   |  |
`- log-state 2|
   `- state 3



I quite like the idea of grouping the sequences within braces.  However, 
I think we might be describing (slightly) different things.  To clarify 
what I'd REALLY like to be able to do is to define different sequences, 
for use within a single file, rather than a single sequence made up of 
sub-sequences.


a hypothetical example:

#+SEQ_TODO: { TODO DONE } { BUG RESOLVED } { REQUIREMENTS DESIGN 
DEVELOPMENT TESTING }


This would define 3 sequences which are each for different things, and 
might even be unrelated, though nesting related sequences might be quite 
nice:


* TESTING

** BUG

  Bug report...

*** TODO Identify cause

  Suspect foo is the problem.


Here I've assumed that the last state within each group is the final 
DONE state, though it might also be pretty neat if multiple DONE states 
could be supported.


Anyway, it's just an idea.

Thanks again,

R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mode multiple TODO sequences within a file.

2007-03-16 Thread Rick Moynihan

Hi,

I've been using org-mode happily for nearly 6 months and think it's a 
fantastic tool!!  I've always quite liked Emacs, but org-mode has led to 
me really seeing Emacs's potential.


I was however wondering if there was anyway for org-mode to support 
multiple TODO sequences within a single file.  I tried specifying 
sections of the file as operating under particular sequences, but this 
doesn't seem to work (in 4.52) e.g.:


#+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED

* BUG there is a bug in foo...
* RESOLVED fixed bug.

#+SEQ_TODO: TODO DONE

* TODO ask if org-mode can support multiple TODO sequences...
* DONE shopping...

A step even further might be to allow multiple TODO_SEQ which are bound 
to different keys, allowing the user to mix and match e.g.:


* BUG blah blah

** TODO fix bug
** TODO celebrate

I realise that I could use checkboxes for stuff like this, but they 
don't allow you to naturally specify a sequence.  So whilst it makes 
sense for binary TODO-DONE transitions, for others it might not.


Anyway, it's just a suggestion, and something which I feel might enable 
me to organise things even better.


Thanks,

R.


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


<    1   2