From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Compatible .emacs for Gnu and xemacs Date: Mon, 1 Jun 2009 10:38:26 +0200 Message-ID: <5A00D956-433E-4AC3-92F3-C35E7DF329B4@Web.DE> References: <23808905.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243845551 31681 80.91.229.12 (1 Jun 2009 08:39:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 08:39:11 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: emacsy Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 10:39:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MB32w-0006Y8-Cc for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 10:39:07 +0200 Original-Received: from localhost ([127.0.0.1]:48559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB32v-0000Ki-Oc for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 04:39:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MB32X-0000KV-13 for help-gnu-emacs@gnu.org; Mon, 01 Jun 2009 04:38:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MB32S-0000Jx-Li for Help-gnu-emacs@gnu.org; Mon, 01 Jun 2009 04:38:40 -0400 Original-Received: from [199.232.76.173] (port=45837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB32S-0000Jn-CB for Help-gnu-emacs@gnu.org; Mon, 01 Jun 2009 04:38:36 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:51844) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MB32R-0005jV-Sx for Help-gnu-emacs@gnu.org; Mon, 01 Jun 2009 04:38:36 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 58A401017036C; Mon, 1 Jun 2009 10:38:33 +0200 (CEST) Original-Received: from [91.35.238.131] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1MB32P-00038v-00; Mon, 01 Jun 2009 10:38:33 +0200 In-Reply-To: <23808905.post@talk.nabble.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/EN1fmTgVqPvo8gfgGMkMwQ7IE3CnuLStkE+sD BmnTsIiCsU1qGvPAwbYD+s4WOjYD6ZpXINXyXzf6l18zSHThaw Q7/qARGcK8sPUXqyFoMg== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:64857 Archived-At: Am 01.06.2009 um 03:46 schrieb emacsy: > How is it possible to modify my .emacs file to work with both Gnu =20 > Emacs and > xemacs? (if (string=3D "21" emacs-major-version) ...) (if (featurep 'xemacs) ; or 'emacs ...) -- Greetings Pete Programming today is a race between software engineers striving to =20 build bigger and better idiot-proof programs, and the Universe trying =20= to produce bigger and better idiots. So far, the Universe is winning. =96 Rich Cook