RE: How to run GNU Emacs from Windows icon

2009-06-18 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Thursday, June 18, 2009 11:35 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/4/2009 12:10 PM, David

Re: How to run GNU Emacs from Windows icon

2009-06-18 Thread Ken Brown
On 6/4/2009 12:10 PM, David Karr wrote: emacs: Terminal type cygwin is not defined. My guess is that this is a terminfo issue. Try installing the terminfo0 package. Getting back to this, I already have terminfo0 installed. I think the cause of your problem with emacs-21 may have been found:

RE: How to run GNU Emacs from Windows icon

2009-06-08 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Andrew DeFaria > Sent: Friday, June 05, 2009 8:03 PM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > David Karr wrote: &g

Re: How to run GNU Emacs from Windows icon

2009-06-06 Thread Ken Brown
On 6/5/2009 11:03 PM, Andrew DeFaria wrote: And why do you require a "normal login shell"? He wants his bash initialization files to be processed so that he has the same environment (e.g., PATH) inside emacs that he normally has in a bash shell. Ken -- Unsubscribe info: http://cygwin.

Re: How to run GNU Emacs from Windows icon

2009-06-05 Thread Andrew DeFaria
David Karr wrote: -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Andrew DeFaria Sent: Friday, June 05, 2009 8:47 AM To: cygwin@cygwin.com Subject: Re: How to run GNU Emacs from Windows icon David Karr wrote: I now need to set up Windows

Re: How to run GNU Emacs from Windows icon

2009-06-05 Thread Ken Brown
On 6/5/2009 5:46 PM, David Karr wrote: Ok, I've installed Emacs 23. The results are sort of better, but worse. Running it now, which actually runs "emacs-X11" through a link, looks like "emacs -nw". It's definitely not using X11. If you have an X server running and the DISPLAY environment var

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Friday, June 05, 2009 11:37 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > 3. Try emacs 23: > >h

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Friday, June 05, 2009 11:37 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/5/2009 11:58 AM, David Karr

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Friday, June 05, 2009 2:04 PM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/5/2009 3:25 PM, David

Re: How to run GNU Emacs from Windows icon

2009-06-05 Thread Ken Brown
On 6/5/2009 3:25 PM, David Karr wrote: 1. Send cygcheck output (as an attachment) as requested at http://cygwin.com/problems.html Attached. Two things jump out at me. First, it's clear from the environment variables that you ran cygcheck from a shell within emacs. I don't think it matters

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Friday, June 05, 2009 11:37 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/5/2009 11:58 AM, David Karr

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Friday, June 05, 2009 11:37 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/5/2009 11:58 AM, David Karr

Re: How to run GNU Emacs from Windows icon

2009-06-05 Thread Ken Brown
On 6/5/2009 11:58 AM, David Karr wrote: C:\cygwin\bin\bash.exe --login -c "C:/cygwin/bin/emacs.exe" emacs: Terminal type cygwin is not defined. If that is not the actual type of terminal you have, use the Bourne shell command `TERM=... export TERM' (C-shell: `setenv TERM ...') to specify the cor

RE: How to run GNU Emacs from Windows icon

2009-06-05 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Andrew DeFaria > Sent: Friday, June 05, 2009 8:47 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > David Karr wrote: > >

Re: How to run GNU Emacs from Windows icon

2009-06-05 Thread Andrew DeFaria
David Karr wrote: I now need to set up Windows desktop icons that can start these processes. I managed to get XEmacs working, with the following command line: C:\cygwin\bin\bash.exe --login -c C:/cygwin/bin/xemacs-21.4.22.exe Why the insistence on running bash? Why not simply run Xemacs? That'

Re: How to run GNU Emacs from Windows icon

2009-06-04 Thread Ken Brown
On 6/4/2009 12:10 PM, David Karr wrote: On 6/2/2009 7:18 AM, Ken Brown wrote: On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gi

RE: How to run GNU Emacs from Windows icon

2009-06-04 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Ken Brown > Sent: Tuesday, June 02, 2009 4:52 AM > To: cygwin@cygwin.com > Subject: Re: How to run GNU Emacs from Windows icon > > On 6/2/2009 7:18 AM, Ken Brown

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 8:34 PM, wynfi...@gmail.com wrote: emacs can use gtk+, so libXaw7 is not necessary. I agree that emacs can be built to use gtk+ instead of Xaw. The workaround you described would then allow that version to be used in cygwin. But the current cygwin emacs-X11 package was compiled

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread wynfield
emacs can use gtk+, so libXaw7 is not necessary. Only one of the two, gtk+ or libXaw7 are required. I use gtk+ for example. Using gtk+ does require a simple work around to use it however, such as # put the following line in your ~/.xinitrc file export G_SLICE=always-malloc exec emacs & or from

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Marc Girod
Ken Brown-6 wrote: > > You need to have 'tty' in your CYGWIN environment variable in order to > prevent this from happening. > Thanks. Indeed. That's where I saw it (in http://cygwin.com/1.7/cygwin-ug-net/using-cygwinenv.html) But well, I don't need it myself since I run emacs in X mode. BTW,

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 7:51 AM, Ken Brown wrote: Chuck, the ancient-but-still-current emacs requires libncurses7; the latter requires terminfo, but I think it should require terminfo0 instead. And, to head off the next question, I think the ancient-but-still-current version of emacs-X11 needs libXaw7 (h

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 7:18 AM, Ken Brown wrote: On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gives in fact C-x C-g, which forces you to

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gives in fact C-x C-g, which forces you to exit with M-x kill-emacs). I'm sure thi

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Marc Girod
David Karr wrote: > > However, when I try to do something similar for GNU Emacs, it fails > immediately. Do you want to run GNU emacs in terminal mode? I run it in X mode with: @echo off C: chdir C:\cygwin2\bin bash --login -c "/usr/bin/startx /usr/bin/emacs -g 80x40+88+69 -- /usr/bin/X :0 -m