Subject: bug#27634: 25.2.1; C-g does not quit register-read-with-preview

From: Eli Zaretskii <[email-masked]>
Date: Fri, 21 Jul 2017 11:40:23 +0300

> From: Tino Calancha <[email-masked]>
> Cc: [email-masked], Paul Rankin <[email-masked]>, Andreas Schwab <[email-masked]>, Eli Zaretskii <[email-masked]>, Tino Calancha <[email-masked]>
> Date: Fri, 21 Jul 2017 15:19:03 +0900
> 
> Allen Li <[email-masked]> writes:
> 
> > It sounds like there's a general consensus on how to fix this.  Tino, would you care to post a finalized patch?
> OK.
> > Note: bug#25370 is a duplicate of this, it should probably be marked closed, wontfix, etc.
> Thanks, i merged this thread with your bug report.
> 
> Let's discuss following patch:
> 
> *) Call `keyboard-quit' whenever last-input-event is
>     ?\C-g or 'escape or ?\C-\[.
> 
> **) Updated the manual to point out that non-alphanumeric
>     keys are valid to store registers as well.

Looks good, thanks.  (I didn't test the code, but I assume you did.)