Re: emacs question

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: emacs question
Date: 1999-12-03 20:15:10
Message-ID: 384824CE.BDF931F2@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message kaiq 1999-12-03 20:48:09 Re: Datetime operators (was: Re: [SQL] Another Date question)
Previous Message Thomas Lockhart 1999-12-03 20:06:13 Re: Datetime operators (was: Re: [SQL] Another Date question)