emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [OT]: Search for missing :END:
@ 2011-11-21 18:48 Markus Heller
  2011-11-21 21:38 ` Nick Dokos
  0 siblings, 1 reply; 11+ messages in thread
From: Markus Heller @ 2011-11-21 18:48 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [OT]: Search for missing :END:
@ 2013-03-04 21:12 Brian Wood
  0 siblings, 0 replies; 11+ messages in thread
From: Brian Wood @ 2013-03-04 21:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-04 21:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 18:48 [OT]: Search for missing :END: Markus Heller
2011-11-21 21:38 ` Nick Dokos
2011-11-21 23:27   ` Markus Heller
2011-11-21 23:51     ` Andrew Stribblehill
2011-11-21 23:54     ` Nick Dokos
2011-11-21 23:59       ` Jonathan Leech-Pepin
2011-11-22  0:14       ` Markus Heller
2011-11-21 23:58     ` Nick Dokos
2011-11-22  8:46   ` : " Olaf Dietsche
2011-11-22 14:37     ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2013-03-04 21:12 [OT]: " Brian Wood

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).