[Orgmode] BUG: plain lists inside drawers with org-cycle-include-plain-lists

2008-01-09 Thread Tom Weissmann
If you set org-cycle-include-plain-lists and then put a plain list inside a drawer, the drawer stops working: :FOO: - Ingredients + Chickpeas + Spinach + Aubergine + Pomegranate dressing :END: The error is ":END: line missing". What happens in this case is that outline-regexp is cha

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Tom Weissmann yahoo.co.uk> writes: > oops! I tried that before and it kept moving me back to the beginning of my > org > file, whereas now it, um, doesn't. Can't see for the egg on my face. In the meantime I discovered `org-add-link-type' which does everything I

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > I find this a bit confusing to use a function that expands an > abbreviation only for its side effects. Yes. It would be nice to be able to add custom link handlers and define completion functions for them :) > But maybe you can just tell your function to return a

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > > I think what you are trying to achieve is better described as a new > > hyperlink mechanism rather than an extension of abbrev links. > > Sorry, should read: "as a new hyperlink type"... Yes. But a cheap alternative is just to let abbrev link functions return nil

[Orgmode] Re: Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
Bastien altern.org> writes: > Are you suggesting to replace "http://www.google.com/search?q=%s"; by a > function that would handle the text after "::" in a different way than > `format' is currently doing? No. Here's an example. I sometimes create links to Emacs bookmarks, eg "bmk:org-mode-tweak

[Orgmode] Feature request: custom link handlers

2007-11-30 Thread Tom Weissmann
This is basically a request to be able to create custom link handlers. For example, my `org-link-abbrev-alist' is this: `(("wiki" . org-link-abbrev-wiki) ("bmk". org-link-abbrev-bookmark) ("POA". org-link-abbrev-poa)) Only one of these actually returns a link that Org mode can us

[Orgmode] Re: Feature request: custom clock headings

2007-11-28 Thread Tom Weissmann
Bastien altern.org> writes: > Looks nice. Can you share your advice on this list? Thanks! Yes, of course: (defvar org-custom-clock-heading nil "Function that returns a custom \(propertised\) value for the `org-clock-heading' variable. Called with point at the new clock") (defadvice org-cl

[Orgmode] Re: Feature request: custom clock headings

2007-11-27 Thread Tom Weissmann
Bastien altern.org> writes: > > Could we have the option to create a custom function to create clock > > headings? > > FWIW, I think it's a good idea. > I've been trying out a version using advice, and it's proving very useful, not least because you can propertise the mode-line: if I click the

[Orgmode] Feature request: custom clock headings

2007-11-26 Thread Tom Weissmann
Many of my subtasks have the same name, so the current modeline isn't always very useful - if I'm working on a particular bug it might tell me "[1:20 Reproduce the error]", whereas I'd prefer it to say "[1:20 Bug #12303 Disappearing accounts ... Reproduce the error]" Could we have the option to

[Orgmode] Re: Progress logging with org-mode

2007-10-04 Thread Tom Weissmann
Carsten Dominik science.uva.nl> writes: > The point is that the next clock entry is inserted *before* the > previous ones, > and in my setting this does not change the indentation of the entries > that were > already there... But it only as long as they're not indented by some foolish user, af

[Orgmode] Re: Progress logging with org-mode

2007-10-04 Thread Tom Weissmann
Carsten Dominik science.uva.nl> writes: > I cannot reproduce the indentation you are getting - are you > re-indenting the lines > with TAB or so? In fact what happens is that any CLOCK below another one that has a note is indented more than the CLOCK above it: Eg (from a real org-mode file th

[Orgmode] org-mode font-locking clobbers the rear-nonsticky text property; for other modes it doesn't

2007-10-03 Thread Tom Weissmann
I am trying to work out why font-lock for Org-mode changes the rear-nonsticky property of text I insert, while it doesn't do it for other modes. For example: (with-current-buffer (get-buffer-create "foo") (insert (propertize ";;Try adding text after this ->" 'read-onl

[Orgmode] Progress logging with org-mode

2007-09-28 Thread Tom Weissmann
A feature of org-mode I have started to use a lot is the clock, to record the amount of time I spend on different tasks. I'll start a clock in the task or subtask I'm working on, and then clock out and add a note when I move to a differnt task. The result is often something like this: -