From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6520 invoked by alias); 16 Jul 2010 02:20:32 -0000 Received: (qmail 6512 invoked by uid 22791); 16 Jul 2010 02:20:31 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from granite1.mail.cornell.edu (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Jul 2010 02:20:27 +0000 Received: from [127.0.0.1] (cpe-67-249-196-94.twcny.res.rr.com [67.249.196.94]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o6G2KPWQ006407 for ; Thu, 15 Jul 2010 22:20:25 -0400 (EDT) Message-ID: <4C3FC1D8.1060206@cornell.edu> Date: Fri, 16 Jul 2010 02:20:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: cygwin-x Subject: Re: Resizing problem References: <4C3F4F90.5070304@cornell.edu> <4C3F7B8B.1090704@cornell.edu> <4C3FBE0E.80200@cornell.edu> In-Reply-To: <4C3FBE0E.80200@cornell.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-07/txt/msg00043.txt.bz2 On 7/15/2010 10:03 PM, Ken Brown wrote: > On 7/15/2010 9:26 PM, Olwe Melwasul wrote: >> On Thu, Jul 15, 2010 at 4:20 PM, Ken Brown wrote: >>> On 7/15/2010 3:51 PM, Olwe Melwasul wrote: >>>> >>>> Yes, I am using the emacs-X11 and yes, I started it (after starting >>>> the X server to get multiwindowed mode) with ">emacs&" at the cygwin >>>> command. Emacs-X11 comes up fine, looking good. Then I do "M-x shell" >>>> to get a shell environment inside of Emacs. But what comes up is not >>>> bash. I'm not sure what it is, but it sees no cygwin apps: It doesn't >>>> know what "ls" or "which diff" or any other GNU/cygwin stuff is. I >>>> assume it is the DOS shell. Oddly, if I start emacs-X11 inside the >>>> windowed mode (startx) and do emacs shell mode, it does see bash and >>>> the rest of the GNU/cygwin apps. >>> >>> [Please don't top-post.] >>> >>> I think the problem is that your PATH isn't set correctly inside emacs. How >>> are you starting the X server? If you use the start menu shortcut (with >>> target C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe) >>> you shouldn't have that problem. Notice that it uses 'bash -l' precisely so >>> that the environment, including PATH, is set up in the normal way. >>> >>> Ken >> >> I started the X-server with the menu shortcut (which has the execute >> string you listed) and ... after ... a full minute it delivers a >> stand-alone xterm. I then click on the Emacs-X11, and after a long > > It sounds like you're using the Emacs-X11 start menu shortcut that's > created by the X-start-menu-icons package. Don't use it. It doesn't > set up the environment properly before starting emacs. To get a useful > shortcut, you can use the script /usr/bin/make-emacs-shortcut that comes > with the emacs package. I should have added that you should see /usr/share/doc/Cygwin/emacs.README for more information about that script and the shortcut it creates. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/