Are you having trouble with certain commands not working in Emacs under Cygwin (e.g., C-x C-c doesn’t exit the program), then try adding this line to Cygwin.bat before the ‘bash –login -i’ line:
set CYGWIN=tty notitle glob
Cygwin.bat is located in the root directory of your Cygwin installation. That should do it!