emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Brian Wood
Subject: Re: [O] [OT]: Search for missing :END:
Date: Mon, 04 Mar 2013 13:12:56 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

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 reported by emacs
grep -E ":3007.:" ~/tmp/org-missing-end.txt

Searching within a few bytes was not necessary. In my case I found a ":CLOCK:" string at the byte-offset in the error message.

--
Brian Wood
Applications Programmer
UC Berkeley IST




reply via email to

[Prev in Thread] Current Thread [Next in Thread]