GNU bug report logs - #25960
minor gotcha in tutorial

Previous Next

Package: emacs;

Reported by: "Liam Parker" <liam <at> eliam.co.uk>

Date: Fri, 3 Mar 2017 22:33:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25960 in the body.
You can then email your comments to 25960 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Fri, 03 Mar 2017 22:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Liam Parker" <liam <at> eliam.co.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Mar 2017 22:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Liam Parker" <liam <at> eliam.co.uk>
To: <bug-gnu-emacs <at> gnu.org>
Subject: minor gotcha in tutorial
Date: Fri, 3 Mar 2017 22:30:15 -0000
[Message part 1 (text/plain, inline)]
Hi,

 

This is probably a pointless email but maybe it will reach someone who can
easily correct this v.minor issue.

 

I'm just going through the emacs tutorial to relearn what was once known and
since forgotten and I noticed an issue.

 

In the section on if emacs stops responding, you have:

 

"

If you have typed an <ESC> by mistake, you can get rid of it with a C-g.

"

 

But my version gives

 

"

C-m-G is undefined

"

 

C-g works fine for the C-u examples prior to this.

 

 

Kind Regards,

 

Liam

 

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 04:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: "Liam Parker" <liam <at> eliam.co.uk>
Cc: 25960 <at> debbugs.gnu.org
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Fri, 03 Mar 2017 23:59:23 -0500
"Liam Parker" <liam <at> eliam.co.uk> writes:

> Hi,
>
> This is probably a pointless email but maybe it will reach someone who
> can easily correct this v.minor issue.  I’m just going through the
> emacs tutorial to relearn what was once known and since forgotten and
> I noticed an issue.  In the section on if emacs stops responding, you
> have:
>
> “
> If you have typed an <ESC> by mistake, you can get rid of it with a C-g.
> “
>
> But my version gives
>
> “
> C-m-G is undefined
> “

But the pending <ESC> is gone, right?  AFAIK, that's how it's supposed
to work.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 07:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: npostavs <at> users.sourceforge.net
Cc: 25960 <at> debbugs.gnu.org
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 07:46:05 +0000
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 09:07:01 GMT) Full text and rfc822 format available.

Message #14 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: liam <liam <at> eliam.co.uk>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 11:06:18 +0200
> Date: Sat, 04 Mar 2017 07:46:05 +0000
> From: liam <liam <at> eliam.co.uk>
> Cc: 25960 <at> debbugs.gnu.org
> 
> > But the pending is gone, right? AFAIK, that's how it's supposed
> > to work.
> 
> I don't think it's the same. Try C-u follow by C-g. You'll see 'Quit' in the status and no alert noise. There are
> plenty of undefined key sequences and keying them doesn't mean the sequence was cancelled. Anyway, it's
> so minor it really doesn't matter but as it's in the tutorial I thought I'd mention it.

I guess you get "C-M-g is undefined" if you type C-g quickly enough
after ESC.  If you wait for a few seconds, until "ESC-" appears in the
echo area, before you type C-g, you should get just "Quit", as in
other cases.  Do you see this on your system?

If the above describes what happens on your system, then Noam is
right: that's how this is supposed to work.  Emacs allows you to use
ESC as a prefix that converts the next key into its Meta variant, so
C-g is converted into C-M-g.  But it still gets rid of the ESC that
you typed by mistake.

And yes, if you type an undefined sequence, it _is_ canceled when
Emacs says its undefined.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 09:55:02 GMT) Full text and rfc822 format available.

Message #17 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 09:53:50 +0000
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 10:30:02 GMT) Full text and rfc822 format available.

Message #20 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: liam <liam <at> eliam.co.uk>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 12:28:58 +0200
> Date: Sat, 04 Mar 2017 09:53:50 +0000
> From: liam <liam <at> eliam.co.uk>
> Cc: npostavs <at> users.sourceforge.net, 25960 <at> debbugs.gnu.org
> 
> This behaviour is the same regardless of how long I wait after pressing esc.

Are you saying that no matter how long you wait, you never see "ESC-"
in the echo area?  If so, what version of Emacs do you have?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 10:49:02 GMT) Full text and rfc822 format available.

Message #23 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 10:47:55 +0000
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 11:14:01 GMT) Full text and rfc822 format available.

Message #26 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: liam <liam <at> eliam.co.uk>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 13:12:42 +0200
> Date: Sat, 04 Mar 2017 10:47:55 +0000
> From: liam <liam <at> eliam.co.uk>
> Cc: npostavs <at> users.sourceforge.net, 25960 <at> debbugs.gnu.org
> 
> Are you saying that no matter how long you wait, you never see "ESC-"
> in the echo area? If so, what version of Emacs do you have?
> 
> ------------
> 
> No, I'm saying even if I see ESC- in the echo area, C-g still results in C-M-g is undefined. 
> 
> Version = GNU Emacs 24.5.1

Right, that was a bug in that version of Emacs.  It is fixed in Emacs 25.1.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 11:55:02 GMT) Full text and rfc822 format available.

Message #29 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 11:54:27 +0000
[Message part 1 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 12:05:01 GMT) Full text and rfc822 format available.

Message #32 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 12:03:51 +0000
[Message part 1 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 04 Mar 2017 12:06:02 GMT) Full text and rfc822 format available.

Notification sent to "Liam Parker" <liam <at> eliam.co.uk>:
bug acknowledged by developer. (Sat, 04 Mar 2017 12:06:02 GMT) Full text and rfc822 format available.

Message #37 received at 25960-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: liam <liam <at> eliam.co.uk>
Cc: 25960-done <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 14:04:55 +0200
> Date: Sat, 04 Mar 2017 11:54:27 +0000
> From: liam <liam <at> eliam.co.uk>
> Cc: npostavs <at> users.sourceforge.net, 25960 <at> debbugs.gnu.org
> 
> > Version = GNU Emacs 24.5.1
> 
> Right, that was a bug in that version of Emacs. It is fixed in Emacs 25.1.
> 
> ------------------
> 
> Excellent, thanks. I'll look at the daily snapshot ppa for Ubuntu instead of the default version. 

Thanks, closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 14:29:02 GMT) Full text and rfc822 format available.

Message #40 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: liam <liam <at> eliam.co.uk>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 16:28:09 +0200
> Date: Sat, 04 Mar 2017 12:03:51 +0000
> From: liam <liam <at> eliam.co.uk>
> Cc: npostavs <at> users.sourceforge.net, 25960 <at> debbugs.gnu.org
> 
> > No, I'm saying even if I see ESC- in the echo area, C-g still results in C-M-g is undefined. 
> > 
> > Version = GNU Emacs 24.5.1
> 
> Right, that was a bug in that version of Emacs. It is fixed in Emacs 25.1.
> ------------------
> Excellent, thanks. I'll look at the daily snapshot ppa for Ubuntu instead of the default version. 
> ----------------
> actually, it's the same in GNU Emacs 26.0.50. 

Not here.  I do see the behavior you describe in Emacs 24.5, but not
in Emacs 25.1, 25.2, and 26.0.50.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 14:37:02 GMT) Full text and rfc822 format available.

Message #43 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: liam <liam <at> eliam.co.uk>, 25960 <at> debbugs.gnu.org
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 09:38:01 -0500
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Sat, 04 Mar 2017 12:03:51 +0000
>> From: liam <liam <at> eliam.co.uk>
>> Cc: npostavs <at> users.sourceforge.net, 25960 <at> debbugs.gnu.org
>> 
>> > No, I'm saying even if I see ESC- in the echo area, C-g still results in C-M-g is undefined. 
>> > 
>> > Version = GNU Emacs 24.5.1
>> 
>> Right, that was a bug in that version of Emacs. It is fixed in Emacs 25.1.
>> ------------------
>> Excellent, thanks. I'll look at the daily snapshot ppa for Ubuntu instead of the default version. 
>> ----------------
>> actually, it's the same in GNU Emacs 26.0.50. 
>
> Not here.  I do see the behavior you describe in Emacs 24.5, but not
> in Emacs 25.1, 25.2, and 26.0.50.

I see the same as OP with 25.2 and 26.0.50.  I also don't understand why
the ESC- should stop applying if you wait longer, i.e., I didn't think
this was a bug.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 14:43:02 GMT) Full text and rfc822 format available.

Message #46 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: liam <liam <at> eliam.co.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25960 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 14:41:45 +0000
[Message part 1 (text/html, inline)]
[Screenshot_2017-03-04-14-35-48-645_com.sonelli.juicessh.png (image/png, inline)]
[Screenshot_2017-03-04-14-35-42-014_com.sonelli.juicessh.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Sat, 04 Mar 2017 15:18:02 GMT) Full text and rfc822 format available.

Message #49 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: liam <at> eliam.co.uk, 25960 <at> debbugs.gnu.org
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Sat, 04 Mar 2017 17:16:55 +0200
> From: npostavs <at> users.sourceforge.net
> Cc: liam <liam <at> eliam.co.uk>,  25960 <at> debbugs.gnu.org
> Date: Sat, 04 Mar 2017 09:38:01 -0500
> 
> I see the same as OP with 25.2 and 26.0.50.  I also don't understand why
> the ESC- should stop applying if you wait longer, i.e., I didn't think
> this was a bug.

Maybe what I see is specific to Windows, then.  Input processing is
different there.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25960; Package emacs. (Mon, 06 Mar 2017 16:10:02 GMT) Full text and rfc822 format available.

Message #52 received at 25960 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: liam <at> eliam.co.uk, 25960 <at> debbugs.gnu.org
Subject: Re: bug#25960: minor gotcha in tutorial
Date: Mon, 6 Mar 2017 11:09:33 -0500
On Sat, Mar 4, 2017 at 10:16 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: npostavs <at> users.sourceforge.net
>> Cc: liam <liam <at> eliam.co.uk>,  25960 <at> debbugs.gnu.org
>> Date: Sat, 04 Mar 2017 09:38:01 -0500
>>
>> I see the same as OP with 25.2 and 26.0.50.  I also don't understand why
>> the ESC- should stop applying if you wait longer, i.e., I didn't think
>> this was a bug.
>
> Maybe what I see is specific to Windows, then.  Input processing is
> different there.
>

I can confirm that Emacs 25.1 on Windows shows "Quit" for ESC [wait a
couple seconds] C-g.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Apr 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.