sachac / artbollocks-mode

Emacs mode for highlighting weasel words
GNU Affero General Public License v3.0
73 stars 11 forks source link

regexps should be controlled via custom variables #3

Open aspiers opened 11 years ago

aspiers commented 11 years ago

It should be possible to customize which words and phrases cause a match, since everyone has slightly different ideas of what weasel words are. The default list is surprisingly (!) aggressive; for example, it will match the word "few" anywhere. I don't understand the reasoning behind that; surely there are plenty of valid scenarios for that word!

sachac commented 11 years ago

Yes, that's a good idea (although then we'd need some kind of artbollocks-initialize function that sets the variables). Would you like to try implementing it? You'd want to create a couple of defcustoms and then use regexp-opt to make the regular expressions based on lists of strings.

aspiers commented 11 years ago

I can have a go, but it probably won't be any time soon. First I need to start using org-sync to keep track of the myriad of github issues I need to worry about ;-)

sachac commented 11 years ago

No worries! I can add it to my list of things I may eventually get around to, so if you beat me to it, awesome!

Sacha Chua sacha@sachachua.com Tel: +1 647 547 9436 - Mobile: +1 416 823 2669 http://experivis.com - Turning experiences into visuals http://livinganawesomelife.com - Life, experiments, and everything

On Fri, Apr 12, 2013 at 6:04 PM, Adam Spiers notifications@github.comwrote:

I can have a go, but it probably won't be any time soon. First I need to start using org-sync to keep track of the myriad of github issues I need to worry about ;-)

— Reply to this email directly or view it on GitHubhttps://github.com/sachac/artbollocks-mode/issues/3#issuecomment-16320124 .

aspiers commented 11 years ago

Sounds good! I really need to start doing proper daily and weekly GTD reviews; if that helps me become half as effective as you, I'll be delighted ;-)