unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
To: help-gnu-emacs@gnu.org
Subject: Re: One .emacs for three operating system
Date: Tue, 14 Aug 2007 16:35:07 -0700	[thread overview]
Message-ID: <87k5rxu1uc.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: f9t7qg$7su$1@sea.gmane.org

>>>>> "Eric" == Eric Lilja <mindcooler@gmail.com> writes:

    Eric> if running-under-solaris is true do this else ; assume we
    Eric>    are running under winxp or fedora7 do that

I do just that sort of thing like this:

(case system-type
  ((windows-nt)
   "Boy, I'm unhappy because I'm running on Windoze")
  ((cygwin32 cygwin)
   (setq desktop-modes-not-to-save `(dired-mode)))
  ((darwin)
   ("OS X")
   (setq grep-command "egrep --color=never -nH -e "))
  ((gnu/linux)
   (setq freedom-level "'Free' as in 'Belgian Ale'")))

-- 
The only form of intelligence that really matters is the capacity to predict.
        -- Colin Blakemore

  parent reply	other threads:[~2007-08-14 23:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14 21:45 One .emacs for three operating system Eric Lilja
2007-08-14 22:21 ` Jesper Harder
2007-08-14 23:35 ` Eric Hanchrow [this message]
2007-08-14 23:59   ` Eric Lilja
     [not found] <mailman.4784.1187128218.32220.help-gnu-emacs@gnu.org>
2007-08-14 22:09 ` weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5rxu1uc.fsf@offby1.atm01.sea.blarg.net \
    --to=offby1@blarg.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).