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: Carbon emacs (OSX) & /usr/bin/emacs using the same .emacs Date: Tue, 26 Aug 2008 01:25:51 +0200 Message-ID: <201591D7-4172-47B7-B198-6F00F55FA95F@Web.DE> References: <2c90872d-24b3-40cf-82b3-ab425f9c653b@w7g2000hsa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1219706782 18700 80.91.229.12 (25 Aug 2008 23:26:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 23:26:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: jOHn wONg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 26 01:27:15 2008 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 1KXlSt-00034g-9f for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Aug 2008 01:27:15 +0200 Original-Received: from localhost ([127.0.0.1]:45859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXlRv-0006NV-7b for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 19:26:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXlRe-0006NG-OD for help-gnu-emacs@gnu.org; Mon, 25 Aug 2008 19:25:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXlRc-0006N4-7O for help-gnu-emacs@gnu.org; Mon, 25 Aug 2008 19:25:57 -0400 Original-Received: from [199.232.76.173] (port=39181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXlRc-0006N1-1i for help-gnu-emacs@gnu.org; Mon, 25 Aug 2008 19:25:56 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:53420) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXlRb-0007cM-L2 for help-gnu-emacs@gnu.org; Mon, 25 Aug 2008 19:25:55 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 92106E7CD43A; Tue, 26 Aug 2008 01:25:53 +0200 (CEST) Original-Received: from [91.35.238.9] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KXlRZ-00039U-00; Tue, 26 Aug 2008 01:25:53 +0200 In-Reply-To: <2c90872d-24b3-40cf-82b3-ab425f9c653b@w7g2000hsa.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19cpDww2KZelQClIp+wseI8wvAIb9H1tDgb5eRq gSnR8tC4YfRb2nKtd7hFguEpY/YTl6Yr+j7ip6PBwN53lLRut7 UINaRkaU1SyZc5NViv6g== X-detected-kernel: by monty-python.gnu.org: 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:56985 Archived-At: Am 25.08.2008 um 21:27 schrieb jOHn wONg: > Of course the above is for detecting windows, is there any parameter > that can let me tell the difference between Carbon Emacs and /usr/bin/ > emacs Emacs (in darwin shell)? The versions of both Emacsen are different. Emacs-major-version is 21 =20= for Apple's non-windowing version. The *function* emacs-version (you =20 can save its output in a variable) tells quite a lot. -- Greetings Pete (: _ / __ - - _/ \__/_/ - - (=B4`) (=B4`) - - `=B4 `=B4