unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* I can't exit emacs :-/
@ 2005-11-25 21:38 casioculture
  2005-11-25 22:19 ` B. T. Raven
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: casioculture @ 2005-11-25 21:38 UTC (permalink / raw)



When I try to exit emacs (C-x C-c) that I had started in the cygwin
shell (no gui) I can't. I see the C-x come up but when I enter C-c it
just beeps, but doesn't exit. When I start xemacs instead it does
start, and when it enter C-x C-c it does exit as expected.

Any ideas what the problem may be?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-25 21:38 I can't exit emacs :-/ casioculture
@ 2005-11-25 22:19 ` B. T. Raven
  2005-11-27  1:05   ` casioculture
  2005-11-25 22:27 ` Harald Hanche-Olsen
  2005-11-27 17:09 ` Ian Zimmerman
  2 siblings, 1 reply; 11+ messages in thread
From: B. T. Raven @ 2005-11-25 22:19 UTC (permalink / raw)



<casioculture@gmail.com> wrote in message
news:1132954709.777213.40660@g43g2000cwa.googlegroups.com...
>
> When I try to exit emacs (C-x C-c) that I had started in the cygwin
> shell (no gui) I can't. I see the C-x come up but when I enter C-c it
> just beeps, but doesn't exit. When I start xemacs instead it does
> start, and when it enter C-x C-c it does exit as expected.
>
> Any ideas what the problem may be?
>

Try:
C-h k C-x C-c
If you don't see:
"C-x C-c runs the command save-buffers-kill-emacs"
Maybe your xemacs installation has overwritten something in your emacs.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-25 21:38 I can't exit emacs :-/ casioculture
  2005-11-25 22:19 ` B. T. Raven
@ 2005-11-25 22:27 ` Harald Hanche-Olsen
  2005-11-27  1:06   ` casioculture
  2005-11-27 17:09 ` Ian Zimmerman
  2 siblings, 1 reply; 11+ messages in thread
From: Harald Hanche-Olsen @ 2005-11-25 22:27 UTC (permalink / raw)


+ casioculture@gmail.com:

| When I try to exit emacs (C-x C-c) that I had started in the cygwin
| shell (no gui) I can't. I see the C-x come up but when I enter C-c it
| just beeps, but doesn't exit. When I start xemacs instead it does
| start, and when it enter C-x C-c it does exit as expected.
|
| Any ideas what the problem may be?

I'm no windows user, but my guess is that the C-c is trapped by the
terminal/shell window which then sends a signal to emacs as a result.
(This is all unix terminology I'm using here, not sure how well it
maps to the windows setting.)

Use M-x save-windows-kill-emacs to get out.  This is the command run
by C-x C-c (when it works).

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-25 22:19 ` B. T. Raven
@ 2005-11-27  1:05   ` casioculture
  2005-11-27  4:44     ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: casioculture @ 2005-11-27  1:05 UTC (permalink / raw)



B. T. Raven wrote:
> <casioculture@gmail.com> wrote in message
> news:1132954709.777213.40660@g43g2000cwa.googlegroups.com...
> >
> > When I try to exit emacs (C-x C-c) that I had started in the cygwin
> > shell (no gui) I can't. I see the C-x come up but when I enter C-c it
> > just beeps, but doesn't exit. When I start xemacs instead it does
> > start, and when it enter C-x C-c it does exit as expected.
> >
> > Any ideas what the problem may be?
> >
>
> Try:
> C-h k C-x C-c
> If you don't see:
> "C-x C-c runs the command save-buffers-kill-emacs"
> Maybe your xemacs installation has overwritten something in your emacs.

Hello, how can i fix that? I want emacs, not xemacs.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-25 22:27 ` Harald Hanche-Olsen
@ 2005-11-27  1:06   ` casioculture
  2005-11-27  4:45     ` Eli Zaretskii
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: casioculture @ 2005-11-27  1:06 UTC (permalink / raw)



Harald Hanche-Olsen wrote:
> + casioculture@gmail.com:
>
> | When I try to exit emacs (C-x C-c) that I had started in the cygwin
> | shell (no gui) I can't. I see the C-x come up but when I enter C-c it
> | just beeps, but doesn't exit. When I start xemacs instead it does
> | start, and when it enter C-x C-c it does exit as expected.
> |
> | Any ideas what the problem may be?
>
> I'm no windows user, but my guess is that the C-c is trapped by the
> terminal/shell window which then sends a signal to emacs as a result.
> (This is all unix terminology I'm using here, not sure how well it
> maps to the windows setting.)
>
> Use M-x save-windows-kill-emacs to get out.  This is the command run
> by C-x C-c (when it works).
>

Hi, thanks, that didn't work. Any ideas? I tried uninstalling all
editors from cygwin and reinstalling emacs but that didn't work.


> --
> * Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
> - Debating gives most of us much more psychological satisfaction
>   than thinking does: but it deprives us of whatever chance there is
>   of getting closer to the truth.  -- C.P. Snow

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-27  1:05   ` casioculture
@ 2005-11-27  4:44     ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2005-11-27  4:44 UTC (permalink / raw)


> From: casioculture@gmail.com
> Date: 26 Nov 2005 17:05:57 -0800
> 
> Hello, how can i fix that? I want emacs, not xemacs.

This is a Cygwin problem, not an Emacs problem.  So I think you need
to ask this on the Cygwin mailing list.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-27  1:06   ` casioculture
@ 2005-11-27  4:45     ` Eli Zaretskii
  2005-11-27 22:43     ` John Paul Wallington
       [not found]     ` <mailman.16977.1133131406.20277.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2005-11-27  4:45 UTC (permalink / raw)


> From: casioculture@gmail.com
> Date: 26 Nov 2005 17:06:45 -0800
> >
> > Use M-x save-windows-kill-emacs to get out.  This is the command run
> > by C-x C-c (when it works).
> 
> Hi, thanks, that didn't work.

What do you mean ``it didn't work''?  What happens when you type the
command "M-x save-windows-kill-emacs" and press [Enter]?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-25 21:38 I can't exit emacs :-/ casioculture
  2005-11-25 22:19 ` B. T. Raven
  2005-11-25 22:27 ` Harald Hanche-Olsen
@ 2005-11-27 17:09 ` Ian Zimmerman
  2 siblings, 0 replies; 11+ messages in thread
From: Ian Zimmerman @ 2005-11-27 17:09 UTC (permalink / raw)
  Cc: help-gnu-emacs


casioculture> When I try to exit emacs (C-x C-c) that I had started in
casioculture> the cygwin shell (no gui) I can't. I see the C-x come up
casioculture> but when I enter C-c it just beeps, but doesn't exit. When
casioculture> I start xemacs instead it does start, and when it enter
casioculture> C-x C-c it does exit as expected.

What is the value of kill-emacs-hook ?

-- 
A true pessimist won't be discouraged by a little success.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-27  1:06   ` casioculture
  2005-11-27  4:45     ` Eli Zaretskii
@ 2005-11-27 22:43     ` John Paul Wallington
       [not found]     ` <mailman.16977.1133131406.20277.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 11+ messages in thread
From: John Paul Wallington @ 2005-11-27 22:43 UTC (permalink / raw)


casioculture@gmail.com writes:

> Harald Hanche-Olsen wrote:
[...]
>> I'm no windows user, but my guess is that the C-c is trapped by the
>> terminal/shell window which then sends a signal to emacs as a result.
>> (This is all unix terminology I'm using here, not sure how well it
>> maps to the windows setting.)
>>
>> Use M-x save-windows-kill-emacs to get out.  This is the command run
>> by C-x C-c (when it works).
>>
>
> Hi, thanks, that didn't work. Any ideas? I tried uninstalling all
> editors from cygwin and reinstalling emacs but that didn't work.

Try M-x save-buffers-kill-emacs

Does C-h k C-x C-c say "C-x C-g is undefined" or similar ?
Try setting your CYGWIN environment variable to "tty".

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
       [not found]     ` <mailman.16977.1133131406.20277.help-gnu-emacs@gnu.org>
@ 2005-11-27 22:58       ` Harald Hanche-Olsen
  2005-11-27 23:45         ` John Paul Wallington
  0 siblings, 1 reply; 11+ messages in thread
From: Harald Hanche-Olsen @ 2005-11-27 22:58 UTC (permalink / raw)


+ John Paul Wallington <jpw@pobox.com>:

|> Harald Hanche-Olsen wrote:
| [...]
|>> Use M-x save-windows-kill-emacs to get out.  This is the command run
|>> by C-x C-c (when it works).
|
| Try M-x save-buffers-kill-emacs

Oh, duh.  I should have copied the text out of the *Messages* buffer.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: I can't exit emacs :-/
  2005-11-27 22:58       ` Harald Hanche-Olsen
@ 2005-11-27 23:45         ` John Paul Wallington
  0 siblings, 0 replies; 11+ messages in thread
From: John Paul Wallington @ 2005-11-27 23:45 UTC (permalink / raw)


Harald Hanche-Olsen <hanche@math.ntnu.no> writes:

> | Try M-x save-buffers-kill-emacs
> Oh, duh.  I should have copied the text out of the *Messages* buffer.

:D

I think you were right about Cygwin messing up C-c.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-11-27 23:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25 21:38 I can't exit emacs :-/ casioculture
2005-11-25 22:19 ` B. T. Raven
2005-11-27  1:05   ` casioculture
2005-11-27  4:44     ` Eli Zaretskii
2005-11-25 22:27 ` Harald Hanche-Olsen
2005-11-27  1:06   ` casioculture
2005-11-27  4:45     ` Eli Zaretskii
2005-11-27 22:43     ` John Paul Wallington
     [not found]     ` <mailman.16977.1133131406.20277.help-gnu-emacs@gnu.org>
2005-11-27 22:58       ` Harald Hanche-Olsen
2005-11-27 23:45         ` John Paul Wallington
2005-11-27 17:09 ` Ian Zimmerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).