0
votes
1answer
48 views

How can I have Emacs window(s) and cygwin shell running simultaneously on Windows?

I have Cygwin working with Emacs 24.3.1 on windows 8.1 with Emacs downloaded from the Cygwin installation, however I can't use Emacs and the Cygwin shell at the same time or open up multiple Emacs ...
0
votes
0answers
12 views

replace shift > generated tab with spaces in emacs win32

I am using emacs win32 on cygwin. and I encountered this commonly seen 'replace tab with space ' issue on emacs. but slightly different. I have configured like this: (setq tab-width 4) (setq ...
2
votes
1answer
327 views

How do I open a file in Cygwin Emacs from Windows?

I am trying to make Windows open text files in Emacs, which I have installed under Cygwin. I have followed these instructions: and created a bat file like this: @echo off chdir C:\LocalApp\cygwin\bin ...
1
vote
1answer
64 views

Ctrl space get eat by windows instead of passing to cygwin emacs

I bind C-space to start selection but this is also the windows input method hotkey, so when never I press this under cygwin, it will eaten by the OS, is there any way to avoid this? how to work ...
1
vote
2answers
366 views

Why do random characters appear in terminals in Windows?

I've been programming on Windows for a few years, and there has been an issue that is becoming increasingly frustrating as I have really started to use various terminals in Windows for my development ...
1
vote
1answer
288 views

How do I avoid conflicting hotkeys between Windows and Cygwin?

I am running Org-Mode in Cygwin's emacs. Org-mode uses the key combination of Alt+Enter to add a new line at your current level. However, Windows uses Alt+Enter to toggle full-screen of a window. Is ...
0
votes
1answer
206 views

Using Autohotkey for Emacs

I am using emacs in Cygwin and have used Autohotkey to re-map the lefthand 'Alt' key and the lefthand 'Windows' key to be (left)Ctrl and (left)Alt respectively. This means that an emacs sequence like ...
0
votes
1answer
295 views

How to using cygwin command open a file in windows native Emacs?

I am using cygwin and windows NTEmcas. In cygwin console, how to open a file by NTEmacs ?
1
vote
1answer
230 views

Ctrl+h causing backspace instead of help in emacs on cygwin

I want to access the help for a command by using ctrl+h in emacs, but it keeps deleting the previous character. I googled it, and apparently ctrl+h is backspace in a terminal. How do I remove this key ...
3
votes
1answer
2k views

How to run a Cygwin program (xemacs) without showing a terminal window?

The title pretty much sums it up - I like editing text with xemacs running under cygwin, and I'd prefer not to have it spawn a console window when I start it from a shortcut. Any suggestions?
0
votes
1answer
597 views

Error “grep exited abnormally with code 2” on Xemacs 21.4.22 on Windows 7

I am trying to run grep (cygwin) within Xemacs 21.4.22 on windows 7 enterprise laptop. cd c:\ grep -n -r --include=*.java "foo" NUL: grep: NUL:: No such file or directory grep exited abnormally with ...
3
votes
3answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
2
votes
0answers
228 views

Multi-term in Emacs under Cygwin doesn't correctly identify terminal type?

I've installed Cygwin on Windows 7 Ultimate 64-bit. After a rebaseall, Cygwin works nicely. However, I use multi-term in my default Emacs setup, and multi-term doesn't seem to like Cygwin at all. It ...
0
votes
1answer
371 views

how to change frame width in emacs?

I have recently begun to run emacs in -nw mode and ran in into a problem when I started to open up more than 2 frames. The third frame became really crapped in between. So I wonder how I can change ...
2
votes
0answers
195 views

cygwin åäö in emacs

Hey I been bugging with this problem for some hours now. And I couldn't find the answer on google so I try it here. The problem is that when I run emacs in cygwin in -nw mode characters like åäö ...
4
votes
2answers
2k views

Running emacs in cygwin

I have question regarding when running emacs with cygwin. I have installed emacs which comes with cygwin. How can I get cygwin to run emacs in its own window instead from the cygwin's console window. ...
1
vote
1answer
473 views

emacs-X11 crashes with arithmetic error on launch

I'm running emacs 23.2.1 on Cygwin on Windows 7. Yesterday, emacs-X11 was working fine; now it refuses to launch, instead exiting instantly with the error message "Arithmetic error". Running ...
2
votes
0answers
256 views

Escaping spaces in tab-completion in a Cygwin shell subprocess on GNU Emacs on Windows

I use GNU Emacs on Windows and Cygwin as my shell. If I create a Cygwin shell subprocess with M-x shell, I get a proper bash prompt. If I type this: cd ~/My<tab> it tab-completes to cd ...
1
vote
2answers
1k views

Getting GNU Emacs Windows to run my ~/.bash_profile when creating a Cygwin M-x shell subprocess

I use GNU Emacs on Windows and Cygwin for the shell that I do all my work in. The ~/.profile used by Cygwin is ~/.bash_profile. If I start a Cygwin shell by running C:\cygwin\Cygwin.bat, it starts ...
5
votes
2answers
656 views

How do I exit from Emacs to Cygwin?

I start Cygwin and type emacs and there I am in Emacs. The directions say: to exit type C-x C-c where C is the control key -- I am assuming that is the left control key. So I hold down the left ...
1
vote
2answers
460 views

Use Cygwin Bash automatically in Emacs

I run EmacsW32 on Windows XP. I would like to know how to tell Emacs to start a Cygwin shell when I do M-x shell. Right now it starts a Windows cmd shell and I have to start the Cygwin shell ...
2
votes
2answers
326 views

multiple IRC clients, none of them connecting

I'm having a bit of trouble connecting to IRC servers with certain clients. First I was using irssi and naim through Cygwin, and I thought that the problem was with Cygwin, so I tried out ERC (the ...
0
votes
1answer
321 views

cygwin - irssi not connecting and screen capturing c-a

I've got two questions regarding cygwin usage. I'm trying to run Irssi using Cygwin but it won't connect to any server i give it even if I can connect from other, non-cygwin clients like mIRC and ...
3
votes
1answer
1k views

Permission denied when running Emacs from Cygwin console

When I run Emacs from the Cygwin console I get the following error message: bash: /usr/bin/emacs/ :Permission denied I have not changed any settings. I tried to change the autosave settings in ...
19
votes
3answers
6k views

C-x C-c not working in Emacs 23.1

I am using Emacs 23.1 with Cygwin but when I try to exit by pressing C-x C-c it says C-x C-g is undefined and I am not able to exit.
3
votes
1answer
767 views

Running Cygwin Inferior Shell in Emacs

I am running Cygwin as an Inferior Shell in Emacs. Here's the basic step I am following: C-u M-x shell (rename the buffer to cygwin) cd \cygwin cygwin.bat Here's what I see: C:\cygwin>cygwin ...