view .hgignore @ 336:ea73ef5dc38c

emacs: avoid weird package.el breakage with newish packages I've been toting around this package.el from 2009 or so, and something in the package format seems to have changed that broke me. Thanks to some related diagnostics by Lucas, I've grabbed the last package.el that worked with emacs 23 and stashed it here. This seems to work, modulo some things (notably js2-mode and smex) now seem to require emacs 24 if you install them using package.el, so this will end up being brittle on my last couple of emacs23 machines.
author Augie Fackler <raf@durin42.com>
date Thu, 29 May 2014 14:30:42 -0400
parents 5e3ea3f497af
children 5ce7678830fa
line wrap: on
line source

syntax:re

# complex regex to ignore all but what I want from dotfiles
^\.(?!bashrc$|best_unicode|elisp|emacs$|gitconfig$|hg|inputrc$|ipython|irbrc$|pdbrc\.py$|python|screenrc$|shell\.d|vim|zfun|zsh)

# above RE fails to exclude some ignorable things
^\.viminfo$
^\.hg\.
^\.ipython/db$
^\.python-eggs$
^\.hgrc-[^/]+$

# above RE fails to exclude history or machine-specific files
^\..*(?=history|machine).*
\.elisp/settings/.*local.*\.el

# No pid files
.*\.pid$

#one-off file/directory exclusions
hgwebdir\.conf
^Applications
^Desktop
^Documents
^Downloads
^Dropbox
^Library
^Misc. Stuff
^Movies
^Music
^Pictures
^Programming
^Public
^Sites
^durin42_html
^public_html
^www
^lib$
^bin$