X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=HDurEjByut8F6U78 FXCHlu3OXZ+wiS1oKfXMUSUvBa5/+9v3dzR3bpp06KT89CNNzmnpbk2OpxOcD12W Jgl7GSm2fr/ImDAxSeNyh6xrClEN2DOseAC/v4nI7gCFSvsvJ20Gj1Ti6h2th4y5 qgfWr6FoKEmyD1/H93GjnIcwtl8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; s=default; bh=kt/YYtHqKrlo6DgmjLcuE6 qlShM=; b=f62j2Y/9v5BUvFkW6spo7MXT6nEFith12oCeSCiUN4h/O/tZQck0Of jk44bQgDQ2i/JnZHtI6e1mOhAZXVw1oxvAvAjOdKeOjhuBKKyK/HKXr/xf79n8hb iwlSyVKyNGBaIyr9P3esppyuuwCVhNb45f5xDHzamWvWPEfACx10k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: mout.kundenserver.de Date: Tue, 9 Jun 2015 16:48:22 +0200 (CEST) From: Tobias Zawada Reply-To: Tobias Zawada To: "Nellis, Kenneth" , cygwin AT cygwin DOT com Message-ID: <746959315.17504.1433861302844.JavaMail.open-xchange@oxbsltgw04.schlund.de> In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E8EE518@USA7109MB022.na.xerox.net> References: <0D835E9B9CD07F40A48423F80D3B5A702E8EE518 AT USA7109MB022 DOT na DOT xerox DOT net> Subject: Re: managing multiple emacs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Originating-Client: open-xchange-appsuite X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes > "Nellis, Kenneth" wrote: > > Ideally, I could unify the two .emacs files, but that presents another > problem: > I want the menu to be disabled in the character-cell Cygwin console (mintty) > where it is > useless, but it is useful in the Windows emacs, so how do I test within a > unified .emacs > file which binary I'm using so that I can conditionally control the menu bar? > FWIW, the command to disable the menu is: (menu-bar-mode 0) You can use the system-type variable: (when (eq system-type 'cygwin) (menu-bar-mode 0)) But, I would rather start /usr/bin/emacs-w32.exe of cygwin. Just soft-link /etc/alternatives/emacs to /usr/bin/emacs-w32.exe. Best regards, Tobias -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple