help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configuring emacs as a programmer's editor


From: Le Wang
Subject: Re: configuring emacs as a programmer's editor
Date: 30 Jun 2006 01:02:40 -0700
User-agent: G2/0.2

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
)


<snip>

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]