GNU bug report logs - #16617
24.3.50; REGRESSION: `C-q ?' pops up annoying *Char Help* buffer

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 1 Feb 2014 19:17:02 UTC

Severity: minor

Merged with 17371

Found in versions 24.3.50, 24.4.50

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 16617 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#16617: 24.3.50; REGRESSION: `C-q ?' pops up annoying *Char Help* buffer
Date: Thu, 19 Jun 2014 11:43:20 -0400
> Can I fix it in emacs-24 along these lines? Thanks.   - Leo

Yes, please.


        Stefan


> === modified file 'lisp/simple.el'
> --- lisp/simple.el	2014-04-02 15:14:50 +0000
> +++ lisp/simple.el	2014-04-03 13:31:12 +0000
> @@ -658,11 +658,17 @@
>  The optional argument PROMPT specifies a string to use to prompt the user.
>  The variable `read-quoted-char-radix' controls which radix to use
>  for numeric input."
> -  (let ((message-log-max nil) done (first t) (code 0) translated)
> +  (let ((message-log-max nil)
> +	(help-events (delq nil (mapcar (lambda (c) (unless (characterp c) c))
> +				       help-event-list)))
> +	done (first t) (code 0) translated)
>      (while (not done)
>        (let ((inhibit-quit first)
> -	    ;; Don't let C-h get the help message--only help function keys.
> +	    ;; Don't let C-h or other help chars get the help
> +	    ;; message--only help function keys. See bug#16617.
>  	    (help-char nil)
> +	    (help-event-list help-events)
>  	    (help-form
>  	     "Type the special character you want to use,
>  or the octal character code.








This bug report was last modified 10 years and 339 days ago.

Previous Next


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