From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "perldev@monkeybytes.org" Newsgroups: gmane.emacs.help Subject: .emacs handling multiple versions Date: Wed, 4 Apr 2007 10:15:28 -0500 Message-ID: <8896027D-3B50-4A48-82C6-51E9D230A710@monkeybytes.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1175699794 11891 80.91.229.12 (4 Apr 2007 15:16:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 15:16:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 04 17:16:21 2007 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 1HZ7Dd-0008Pf-6K for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2007 17:16:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZ7Gt-0000UA-IO for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2007 11:19:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZ7GD-0000CQ-SB for help-gnu-emacs@gnu.org; Wed, 04 Apr 2007 11:18:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZ7GC-0000Bb-34 for help-gnu-emacs@gnu.org; Wed, 04 Apr 2007 11:18:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZ7GB-0000BX-Uw for help-gnu-emacs@gnu.org; Wed, 04 Apr 2007 11:18:56 -0400 Original-Received: from outbound-mail-44.bluehost.com ([69.89.18.13]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HZ7Cu-0001Ir-IX for help-gnu-emacs@gnu.org; Wed, 04 Apr 2007 11:15:32 -0400 Original-Received: (qmail 4773 invoked by uid 0); 4 Apr 2007 15:15:31 -0000 Original-Received: from unknown (HELO box228.bluehost.com) (74.220.201.95) by mailproxy3.bluehost.com with SMTP; 4 Apr 2007 15:15:31 -0000 Original-Received: from [128.252.233.247] (helo=[10.0.7.42]) by box228.bluehost.com with esmtp (Exim 4.63) (envelope-from ) id 1HZ7Cs-0005YV-Gl for help-gnu-emacs@gnu.org; Wed, 04 Apr 2007 09:15:30 -0600 X-Mailer: Apple Mail (2.752.2) X-Identified-User: {590:box228.bluehost.com:monkeyby:monkeybytes.org} {sentby:bopbeforesmtp 128.252.233.247 authed with monkeybytes.org} X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:42414 Archived-At: Hey, gang: I'm running Carbon Emacs on OS X as my main emacs, thus my .emacs file has a bunch of carbon only hooks in it. However, sometimes I'll use the terminal emacs (shipped with OS X) and the .emacs file causes problems calling things that the terminal version can't handle. I'd like to keep the ability to use both... any suggestions for having the .emacs file know which version is calling it and respond accordingly? Thanks so much for the help. PS: I know I can forgo the .emacs file with "emacs -q", but most of my problems occur when some other application calls emacs automatically via the environmental $EDITOR....