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 rep
Nick Dokos writes:
> Markus Heller 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 apologiz
I just tested this.
M-x goto-char RET RET ;; In this case 18720
Sends you directly to the end of your :PROPERTIES: line that does not have
an associated :END:.
You'll simply have to then add :END: after the appropriate properties, or
remove the :PROPERTIES: line that shouldn't be present (as th
Markus Heller 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 example, I'm in one
Markus Heller 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 question, but
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 wrote:
> Nick Dokos writes:
>
>> Markus Heller wrote:
>>
>>> Hello all,
>>>
>>> I have an OT request that can hopefully
Nick Dokos writes:
> Markus Heller 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,
Markus Heller 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 time[fn:1]. Re
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: ...
Thanks and Cheers and sorry for the OT ...
Markus