* bug#25960: minor gotcha in tutorial
@ 2017-03-03 22:30 Liam Parker
2017-03-04 4:59 ` npostavs
` (6 more replies)
0 siblings, 7 replies; 16+ messages in thread
From: Liam Parker @ 2017-03-03 22:30 UTC (permalink / raw)
To: 25960
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3349 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
@ 2017-03-04 4:59 ` npostavs
2017-03-04 7:46 ` liam
` (5 subsequent siblings)
6 siblings, 0 replies; 16+ messages in thread
From: npostavs @ 2017-03-04 4:59 UTC (permalink / raw)
To: Liam Parker; +Cc: 25960
"Liam Parker" <liam@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
2017-03-04 4:59 ` npostavs
@ 2017-03-04 7:46 ` liam
2017-03-04 9:06 ` Eli Zaretskii
2017-03-04 9:53 ` liam
` (4 subsequent siblings)
6 siblings, 1 reply; 16+ messages in thread
From: liam @ 2017-03-04 7:46 UTC (permalink / raw)
To: npostavs; +Cc: 25960
[-- Attachment #1: Type: text/html, Size: 546 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 7:46 ` liam
@ 2017-03-04 9:06 ` Eli Zaretskii
0 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 9:06 UTC (permalink / raw)
To: liam; +Cc: 25960, npostavs
> Date: Sat, 04 Mar 2017 07:46:05 +0000
> From: liam <liam@eliam.co.uk>
> Cc: 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
2017-03-04 4:59 ` npostavs
2017-03-04 7:46 ` liam
@ 2017-03-04 9:53 ` liam
2017-03-04 10:28 ` Eli Zaretskii
2017-03-04 10:47 ` liam
` (3 subsequent siblings)
6 siblings, 1 reply; 16+ messages in thread
From: liam @ 2017-03-04 9:53 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 25960, npostavs
[-- Attachment #1: Type: text/html, Size: 2581 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 9:53 ` liam
@ 2017-03-04 10:28 ` Eli Zaretskii
0 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 10:28 UTC (permalink / raw)
To: liam; +Cc: 25960, npostavs
> Date: Sat, 04 Mar 2017 09:53:50 +0000
> From: liam <liam@eliam.co.uk>
> Cc: npostavs@users.sourceforge.net, 25960@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?
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
` (2 preceding siblings ...)
2017-03-04 9:53 ` liam
@ 2017-03-04 10:47 ` liam
2017-03-04 11:12 ` Eli Zaretskii
2017-03-04 11:54 ` liam
` (2 subsequent siblings)
6 siblings, 1 reply; 16+ messages in thread
From: liam @ 2017-03-04 10:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 25960, npostavs
[-- Attachment #1: Type: text/html, Size: 638 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 10:47 ` liam
@ 2017-03-04 11:12 ` Eli Zaretskii
0 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 11:12 UTC (permalink / raw)
To: liam; +Cc: 25960, npostavs
> Date: Sat, 04 Mar 2017 10:47:55 +0000
> From: liam <liam@eliam.co.uk>
> Cc: npostavs@users.sourceforge.net, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
` (3 preceding siblings ...)
2017-03-04 10:47 ` liam
@ 2017-03-04 11:54 ` liam
2017-03-04 12:04 ` Eli Zaretskii
2017-03-04 12:03 ` liam
2017-03-04 14:41 ` liam
6 siblings, 1 reply; 16+ messages in thread
From: liam @ 2017-03-04 11:54 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 25960, npostavs
[-- Attachment #1: Type: text/html, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
` (4 preceding siblings ...)
2017-03-04 11:54 ` liam
@ 2017-03-04 12:03 ` liam
2017-03-04 14:28 ` Eli Zaretskii
2017-03-04 14:41 ` liam
6 siblings, 1 reply; 16+ messages in thread
From: liam @ 2017-03-04 12:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 25960, npostavs
[-- Attachment #1: Type: text/html, Size: 1539 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 11:54 ` liam
@ 2017-03-04 12:04 ` Eli Zaretskii
0 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 12:04 UTC (permalink / raw)
To: liam; +Cc: npostavs, 25960-done
> Date: Sat, 04 Mar 2017 11:54:27 +0000
> From: liam <liam@eliam.co.uk>
> Cc: npostavs@users.sourceforge.net, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 12:03 ` liam
@ 2017-03-04 14:28 ` Eli Zaretskii
2017-03-04 14:38 ` npostavs
0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 14:28 UTC (permalink / raw)
To: liam; +Cc: 25960, npostavs
> Date: Sat, 04 Mar 2017 12:03:51 +0000
> From: liam <liam@eliam.co.uk>
> Cc: npostavs@users.sourceforge.net, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 14:28 ` Eli Zaretskii
@ 2017-03-04 14:38 ` npostavs
2017-03-04 15:16 ` Eli Zaretskii
0 siblings, 1 reply; 16+ messages in thread
From: npostavs @ 2017-03-04 14:38 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: liam, 25960
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sat, 04 Mar 2017 12:03:51 +0000
>> From: liam <liam@eliam.co.uk>
>> Cc: npostavs@users.sourceforge.net, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
` (5 preceding siblings ...)
2017-03-04 12:03 ` liam
@ 2017-03-04 14:41 ` liam
6 siblings, 0 replies; 16+ messages in thread
From: liam @ 2017-03-04 14:41 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 25960, npostavs
[-- Attachment #1: Type: text/html, Size: 1474 bytes --]
[-- Attachment #2: Screenshot_2017-03-04-14-35-48-645_com.sonelli.juicessh.png --]
[-- Type: image/png, Size: 225415 bytes --]
[-- Attachment #3: Screenshot_2017-03-04-14-35-42-014_com.sonelli.juicessh.png --]
[-- Type: image/png, Size: 223246 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 14:38 ` npostavs
@ 2017-03-04 15:16 ` Eli Zaretskii
2017-03-06 16:09 ` Noam Postavsky
0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2017-03-04 15:16 UTC (permalink / raw)
To: npostavs; +Cc: liam, 25960
> From: npostavs@users.sourceforge.net
> Cc: liam <liam@eliam.co.uk>, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#25960: minor gotcha in tutorial
2017-03-04 15:16 ` Eli Zaretskii
@ 2017-03-06 16:09 ` Noam Postavsky
0 siblings, 0 replies; 16+ messages in thread
From: Noam Postavsky @ 2017-03-06 16:09 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: liam, 25960
On Sat, Mar 4, 2017 at 10:16 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: npostavs@users.sourceforge.net
>> Cc: liam <liam@eliam.co.uk>, 25960@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.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2017-03-06 16:09 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 22:30 bug#25960: minor gotcha in tutorial Liam Parker
2017-03-04 4:59 ` npostavs
2017-03-04 7:46 ` liam
2017-03-04 9:06 ` Eli Zaretskii
2017-03-04 9:53 ` liam
2017-03-04 10:28 ` Eli Zaretskii
2017-03-04 10:47 ` liam
2017-03-04 11:12 ` Eli Zaretskii
2017-03-04 11:54 ` liam
2017-03-04 12:04 ` Eli Zaretskii
2017-03-04 12:03 ` liam
2017-03-04 14:28 ` Eli Zaretskii
2017-03-04 14:38 ` npostavs
2017-03-04 15:16 ` Eli Zaretskii
2017-03-06 16:09 ` Noam Postavsky
2017-03-04 14:41 ` liam
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).