all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Hickman <mark@mrhickman.org>
Subject: Re: cygwin emacs problems
Date: Tue, 08 Mar 2005 21:47:26 -0500	[thread overview]
Message-ID: <6ItXd.11119$%y7.9493@fe07.lga> (raw)
In-Reply-To: <mailman.2366.1109791784.32256.help-gnu-emacs@gnu.org>

Elim Qiu wrote:
> Hi List,
>  
> Forgive me if my question is wrong to the list. I'm new to cygwin and emacs.
>  
> I installed cygwin with emacs on my thinkpad T22 + win2k  as:
> GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit)  of 2004-03-22 on cm-test
>  
> *** The 1st trouble was that it does not quit (c-x c-c not working).
> After some search, I modified cygwin.bat  as:
>  
> =============================
> @echo off
>  
> E:
> chdir E:\cygwin\bin
> set CYGWIN=tty notitle glob
> bash --login -i
> ==============================
> The problem was gone (although i'm not so sure that's the proper
> thing to do)
>  
> *** The 2nd trouble was the delete key. According to the emacs
> tutorial, this should be the backspace key in my case.  But it
> doesn't work. The problem remains the same on my Dell desktop
> (same os, same cygwin+emacs). I figured that instead of  backspace, 
> C-backspace works as <Delete> in emacs tutorial. And so just need
> to keep in mind that <Delete> equals C-backspace for me (both
> thinkpad and dell worked that way)
>  
> *** Now the 3rd trouble: cannot figure out what the key mapping
> for M-<Delete> although M-d works just fine (M=alt in my case).
>  
> Now i'm stuck at %30 part of the emacs tutorial and looking for
> hints on M-<Delete> key mapping....
>  
> I'm starting doubt about what i did: maybe there are some total
> solution for setting emacs on cygwin which makes emacs work just
> like the emacs tutorial described?  Cygwin is there for years and
> many people should gone through this already.
>  
> So i'm looking for help here. And if you know all these about, please
> try letting cygwin newbies know too.
>  
> Thanks!
>  
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 266.5.6 - Release Date: 3/1/2005
Compaq Armada E500 emacs 21.2.1 i686-pc-cygwin

I have had similar problems.  By using describe-key-briefly I found that
 in emacs the C-c combination is being interpreted as C-g.  Since C-xC-g
is undefined, I can create a .emacs file with the line:
(global-set-key "\C-x\C-g" 'save-buffers-kill-emacs)

Alternatively, I have tried your modification to cygwin.bat and it fixes
the C-c mapping.

My delete key works fine, but the backspace key is mapped to C-h.

Does anyone have ideas how emacs gets the keys wrong?

       reply	other threads:[~2005-03-09  2:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2366.1109791784.32256.help-gnu-emacs@gnu.org>
2005-03-09  2:47 ` Mark Hickman [this message]
2005-03-10 18:10   ` cygwin emacs problems Olive
2005-03-11  2:57     ` Mark Hickman
2005-03-11  4:49       ` B.T. Raven
2005-03-11 23:38         ` Mark Hickman
2005-03-02 19:00 Elim Qiu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6ItXd.11119$%y7.9493@fe07.lga' \
    --to=mark@mrhickman.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.