Re: emacs question
От | Thomas Lockhart |
---|---|
Тема | Re: emacs question |
Дата | |
Msg-id | 384824CE.BDF931F2@alumni.caltech.edu обсуждение исходный текст |
Ответ на | Re: emacs question (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
<snip helpful intro which I'd like to think I already knew, at least mostly ;) > > > (setq indent-tab-mode nil)) > ... Finally, as far as > suppressing use of tabs to do logical indentation, you've almost got > it right, but the variable is named "indent-tabs-mode". sheesh, that's it! I was going around in lots of tiny little circles... :( > Also, if you want to have different conventions for different > projects, setting a c++-mode-hook is probably not the way to go; that > will get run *any* time you visit a c++ file. I'd suggest a trick > that someone (Peter E. I think) recently pointed out to me: you can > pattern-match on the location of a source file in an auto-mode-alist > pattern. So I've now got this in my .emacs: Great. I had just been thinking about this, and now I don't have to figure it out :)) Thanks. - Thomas -- Thomas Lockhart lockhart@alumni.caltech.edu South Pasadena, California
В списке pgsql-hackers по дате отправления: