[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep and sort
From: |
Antony |
Subject: |
grep and sort |
Date: |
Wed, 08 Dec 2010 15:24:58 -0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 |
Hi
I'd like to find and sort all lines that contain 'TODO:'
Sorting needs to be based on content and ignore filename
rgrep works except for the sorting part
The results should be in a grep like buffer so I can click on them
If I can get some basic elisp code for this, that would be nice.
I don't know how to modify the regrep command.
Any pointers?
-Antony
PS:
Reason for sorting
I follow my TODO with a space and two digit number like TOOD: 01 or
TODO: 80 with the numbers representing priority. This has worked very
well as a task management mechanism for me in eclispe and visual studio.