Is there a way to do conditionals in the config file based on filename or 
extension?

Example... I have tab expansion turned on and set to four spaces.  I touched in 
a shell a new file with a .patch extension, then opened it in qemacs and pasted 
a patch into it and saved it.

But it wouldn't apply.  The code base was tabs, and qemacs had replaced the 
tabs.  Perhaps there's an option to git apply that would correct for that, but 
I don't know what it is.

So it would be useful to be able to condition things like that based on the 
filename or extension (or filetype, I could do it the other way and only force 
the expansion on python files ^_^ ). 

-- 
Marc Wilson
posgu...@gmail.com

Reply via email to