From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Le Wang" Newsgroups: gmane.emacs.help Subject: Re: configuring emacs as a programmer's editor Date: 30 Jun 2006 01:02:40 -0700 Organization: http://groups.google.com Message-ID: <1151654560.583352.48720@x69g2000cwx.googlegroups.com> References: <1151627894.208462.326680@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1151656934 30538 80.91.229.2 (30 Jun 2006 08:42:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2006 08:42:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 30 10:42:13 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FwEZb-0007HW-0Q for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jun 2006 10:41:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FwEZa-0002F4-Ii for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jun 2006 04:41:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!x69g2000cwx.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 24.19.59.244 Original-X-Trace: posting.google.com 1151654565 17043 127.0.0.1 (30 Jun 2006 08:02:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 30 Jun 2006 08:02:45 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: x69g2000cwx.googlegroups.com; posting-host=24.19.59.244; posting-account=j4OimgwAAAALo-2szSZvOyX5OE1uyIeS Original-Xref: shelby.stanford.edu gnu.emacs.help:140127 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35752 Archived-At: Andreas Roehler wrote: > Ted wrote: > > > Probably you will or should use two different init > files: If you are in windows the .emacs from Linux will > not be known there. Also the windows Emacs is a > different machine as such AFAIU. > > (Basically its possible the have a combined init file at > the windows part and read it in from Linux, but that > will complicate the task.) No. Emacs does a good job of providing the glue that makes it OS agnostic. See Google groups to address specific problems you come across. There is no reason to maintain two init files. Worst comes to worst: (if (string-match "win" (prin1-to-string system-type)) ;; windows form ;; unix forms ) > What's with the auto-mode-alist. > > Usually it's defined by files.el and > should be OK. Are there reasons to redefine it? No. This is a bad BAD idea. -- Le