Datenterrorist
"(Governments) You do not know our culture, our ethics, or the unwritten codes that already provide our society more order than could be obtained by any of your impositions." - Declaration of the Independence of Cyberspace _

.:: TODO buffer in Emacs ::.

I wanted to have a buffer when pressing F4 that recursively lists all TODO and FIXME comments in a directory together with the filenames. Here is a simple solution for that:

(defun balle-grep-todos-in-dir (dir &optional not-recursive)
"Grep recursively for TODO comments in the given directory"
(interactive "Ddirectory:")
(let ((recur "-r"))
(if not-recursive
(setq recur "")
)
(grep (concat "grep -nH -I " recur " -E \"[\\#\\/\\-\\;\\*]\s*TODO|FIXME|XXX:?\" " dir " 2>/dev/null"))
)
(enlarge-window 7)
)
(global-set-key [f4] 'balle-grep-todos-in-dir)

posted at 21:54:20 on 06/27/11 by balle - Category: Emacs

.:: Comments ::.

Mens Danny Trevathan Jersey wrote:

Hurrah! In the end I got a website from where
I know how to truly take helpful facts concerning my study and knowledge.
12/14/14 05:51:04

Men Roddy White Faclons Nike Jersey wrote:

I was able to find good information from your blog articles.
01/06/15 19:34:12

Women Percy Harvin Seahawks Nike Jersey wrote:

Pretty section of content. I just stumbled upon your weblog
and in accession capital to assert that I get in fact enjoyed account your blog posts.
Any way I will be subscribing to your feeds and even I achievement you access consistently
fast.
01/11/15 10:41:48

wengdongdong wrote:

201573dongdong
http://www.coach-outlet.us.com
http://burberry.stores.net.co
http://www.coachcanadaoutle...
http://www.michaelkorshandb...
http://www.nike-airmax.me.uk
http://www.fitflops.org
http://www.ralph-lauren-out...
http://toryburchoutlet.stor...
http://www.longchamp-outlet...
http://www.louisvuitton-han...
http://www.cheap-jordans.us...
http://www.jordan11s.name
http://www.abercrombie.net.co
http://www.christian-loubou...
http://www.raybansunglasses...
http://www.cheap--nfljersey...
http://www.ralphlaurensale....
http://www.coachoutletstore...
http://www.adidaswings.name
http://www.michaelkors-mkou...
http://www.abercrombiestore...
http://www.montblanc-pens.name
http://www.hollisterinc.name
http://www.katespade-outlet...
http://www.michaelkorsbag.o...
http://www.lebronjames-shoe...
http://www.michaelkorsoutle...
http://www.louis-vuitton.ne...
http://www.hollister-clothi...
http://www.chanelbags.com.co
http://www.michaelkorsonlin...
http://www.coach-factoryout...
http://www.michael-korsuk.o...
http://www.ralph-lauren.net.co
http://www.hermes-birkin.us
http://www.concords11.com
http://www.coachoutlet.net.so
http://www.louboutinfemme-p...
http://www.jordan3.net
http://www.abercrombie-fitc...
http://chanelhandbags.newst...
http://www.michaelkorsoutle...
http://www.oakleysunglasses...
http://www.michaelkorsoutle...
http://www.toms--shoes.com
http://www.poloralph-lauren...
http://www.michaelkorshandb...
http://www.cheapjerseys-who...
http://www.rayban-sunglasse...
http://www.cocochaneluk.co.uk
http://www.toms-shoes.cc
http://www.michael-korsoutl...
http://www.oakley-sunglasse...
http://www.louisvuitton-out...
http://www.christianloubout...
http://truereligion.officia...
http://www.abercrombiekids....
http://www.kobebryantshoes....
http://www.pandorajewelry.name
http://www.true-religion-ou...
http://www.coachoutlet-stor...
http://www.christianloubout...
http://www.kobeshoes.org
http://www.louis-vuittonhan...
http://www.pradauk.co.uk
http://burberry.bidinc.org
http://www.abercrombiestore...
http://timberland.officialf...
http://www.gucci.net.co
http://www.raybanglasses.me.uk
http://www.abercrombieandfi...
http://www.raybans.name
http://www.redchristianloub...
http://www.coachfactoryoutl...
http://www.ray-bansunglasse...
http://www.raybansunglass.n...
http://timberlandboots.deal...
http://www.michaelkors-outl...
http://www.marc--jacobs.com
http://www.christianloubout...
http://www.abercrombie.in.net
http://www.dior-handbags.us
http://www.cheapjordansshoe...
http://www.pandorajewelry.n...
http://burberryoutlet.newes...
http://www.louisvuittonuk.m...
http://www.saclongchamp--pa...
http://www.kevindurantshoes...
http://www.fitflop-shoes.us
http://michaelkors.aphidsym...
http://www.guccishoes.us.com
http://www.coach-outlet.us.org
http://www.toms-outlet.com.co
http://www.abercrombie-fitc...
http://www.airjordan-pasche...
http://www.insanityworkout....
http://burberryoutlet.offic...
http://www.longchamphandbag...
http://www.oakley-sunglasse...
http://www.jordan8.net
07/03/15 05:43:04

Add Comments