Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-07-05 Thread Bastien
Hi Eric, Eric Abrahamsen writes: > Thanks, but this introduces new problems for me -- the regexp matches on > every line, so it trucks along past both drawers and regular text to the > next heading, and stops there. I think the test for the drawer end is > necessary, which probably means the reg

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-30 Thread Eric Abrahamsen
On Thu, Jun 30 2011, Bastien wrote: > Hi Eric, > > Eric Abrahamsen writes: > >> Currently, this function goes to a lot of trouble to concatenate a >> complicated regexp to find metadata and drawers, and then doesn't use >> it. As it stands, if you put point in a headline that has a property >> dr

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-30 Thread Bastien
Eric Abrahamsen writes: > It looks like patch-acceptance has picked up again recently -- may I > humbly bump the fix below? Such a useful helper function, otherwise! If you are using this helper function in your own defuns, please report any issue. For example, I see no reason why the function

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-30 Thread Bastien
Hi Eric, Eric Abrahamsen writes: > Currently, this function goes to a lot of trouble to concatenate a > complicated regexp to find metadata and drawers, and then doesn't use > it. As it stands, if you put point in a headline that has a property > drawer and then call =(org-end-of-meta-data-and-d

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-29 Thread Eric Abrahamsen
It looks like patch-acceptance has picked up again recently -- may I humbly bump the fix below? Such a useful helper function, otherwise! Thanks, Eric > diff --git a/lisp/org.el b/lisp/org.el > index 777850a..ee0b88c 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -19992,7 +19992,7 @@ clockin

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-08 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> Currently, this function goes to a lot of trouble to concatenate a >> complicated regexp to find metadata and drawers, and then doesn't use >> it. As it stands, if you put point in a headline that has a property >> drawer and then call =(org

Re: [O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-08 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Currently, this function goes to a lot of trouble to concatenate a > complicated regexp to find metadata and drawers, and then doesn't use > it. As it stands, if you put point in a headline that has a property > drawer and then call =(org-end-of-meta-data-and-drawers)=,

[O] [PATCH] org-end-of-meta-data-and-drawers

2011-06-08 Thread Eric Abrahamsen
Currently, this function goes to a lot of trouble to concatenate a complicated regexp to find metadata and drawers, and then doesn't use it. As it stands, if you put point in a headline that has a property drawer and then call =(org-end-of-meta-data-and-drawers)=, point moves to the *beginning* of