> My laptop has Windows 7 Enterprise as its OS, but a few people I know
> there enjoy Unix enough that they had the Cygwin Bash Shell installed
> on their machines, and I have found Unix useful enough in the past
> that I decided I wanted that Bash Shell on my laptop as well. So when
> I bring up a Command Prompt I'm using Windows 7, but when I click on
> that to all intents and purposes is running Unix.
> I was very happy to discover that I can run "emacs" in this Bash Shell
> emulation, because there are a lot of editing tasks that Emacs macros
> make a lot easier than other editors I know. But after my first Emacs
> session I was dismayed to find out that when I typed in
> first I panicked, but eventually I found out that I could type in
> contents of the original file, but it's getting to be very irritating
> typing in that long command every time.
> Since then I've learned that when I'm done with a file I can type
> shorter, but it's still a nuisance.
> When I type in
> is undefined". That's no typo. It appears to mistake my
> be the key sequence for "save-buffers-kill-terminal"? And to save
> that in my ".emacs" file so that whenever I bring up an Emacs session
> hardly ever use that, and find myself using
> so is there some way to tell Emacs to let
> for "other-window", and to save that in my ".emacs" file as well, so
> that every time I bring up Emacs it stays the key sequence for "other-
> Any information on this would be greatly appreciated! When I type in
> "emacs -version" it says:
> GNU Emacs 23.2.1
> Copyright (C) 2010 Free Software Foundation, Inc.
> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of Emacs
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
> Kevin Simonson
i used cygwin since 1998. I still use cygwin daliy, but these days i don't run emacs inside cygwin.
if i recall correctly, the key problem you encounter can be fixed by some cygwin specific environment variable (or config file, i forgot which.). They have a faq about it, it's a bit complex.
also, there are several GUI based emacs that's almost always more up to date than the one that comes with cygwin (but of course you can always compile you own).
I listed 3 most popular GUI ones, including ones from FSF:
〈Which Emacs to Download for Windows and Mac?〉
also note, emacs's dealing with keys has major difference depending on whether you are running it in a text terminal (such as cygwin shell running on Windows Console), or if you are in a GUI environment. For example, in terminal, emacs cannot distinguish C-‹cap letter› vs C-‹lower case›. In general, running emacs in a GUI environment is much better even if you don't use mouse.
You could run a GUI emacs in X11 from cygwin if you want the whole cygwin unix environment. Or, you could just use emacs Windows port running in Windows. (you can still call cygwin shell & command inside emacs here, of course.)
i've written some experience of running emacs on Windows and Cygwin, you might find interesting.
〈Emacs and Microsoft Windows Tips〉
hope that helps.