Re: [O] [OT]: Search for missing :END:

2013-03-04 Thread Brian Wood
I just found a few of these errors in *Messages* and since I have 20 .org files, I used this approach cd ~/orgmode # this gives me the byte offset the filename for each matching line grep -br 'CLOCK: ' * ~/tmp/org-missing-end.txt #this searches within a few bytes of the byte offset

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Nick Dokos
Markus Heller helle...@gmail.com wrote: Hello all, I have an OT request that can hopefully be answered by emacs gurus in less than a minute: I'm looking for an emacs search expression that finds :PROPERTIES: *without* a matching :END: ... If you mean a regexp, you are wasting your

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes: Markus Heller helle...@gmail.com wrote: Hello all, I have an OT request that can hopefully be answered by emacs gurus in less than a minute: I'm looking for an emacs search expression that finds :PROPERTIES: *without* a matching :END: ... If

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Andrew Stribblehill
My guess is that it's the 18720th byte of the file. To get there, go to the start of your buffer and type M-x goto-char 18720 On Mon, Nov 21, 2011 at 11:27 PM, Markus Heller helle...@gmail.com wrote: Nick Dokos nicholas.do...@hp.com writes: Markus Heller helle...@gmail.com wrote: Hello all,

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Nick Dokos
Markus Heller helle...@gmail.com wrote: AS for an example, I'm in one of my org files and I do C-TAB and get the following error: OVERVIEW CONTENTS...done SHOW ALL if: :END: line missing at position 18720 Quit Mark set Where is position 18720? I apologize if this is a stupid

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Nick Dokos
Markus Heller helle...@gmail.com wrote: Unfortunately, I cannot install cygwin on my work computer. I'll have to figure something else out ... Just copy the file to a Linux/Unix/OSX/... machine and do the searches there. USB sticks were invented for exactly that purpose :-) AS for an

Re: [O] [OT]: Search for missing :END:

2011-11-21 Thread Markus Heller
Nick Dokos nicholas.do...@hp.com writes: Markus Heller helle...@gmail.com wrote: AS for an example, I'm in one of my org files and I do C-TAB and get the following error: OVERVIEW CONTENTS...done SHOW ALL if: :END: line missing at position 18720 Quit Mark set Where is position