From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vicente Vera Newsgroups: gmane.emacs.bugs Subject: bug#19096: 25.0.50; suggest-key-bindings doesn't work with a nil value Date: Tue, 18 Nov 2014 10:56:01 -0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1416329416 17186 80.91.229.3 (18 Nov 2014 16:50:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 16:50:16 +0000 (UTC) To: 19096@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 17:50:08 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xqlyi-0000UO-MH for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2014 17:50:08 +0100 Original-Received: from localhost ([::1]:54137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqlyi-00062A-9d for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2014 11:50:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqlyd-0005x5-Sh for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 11:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xqlyc-0001FA-Oh for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 11:50:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqlyc-0001Eo-Lt for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 11:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xqlyc-0001Sa-BB for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 11:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vicente Vera Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Nov 2014 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19096 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14163293505540 (code B ref -1); Tue, 18 Nov 2014 16:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Nov 2014 16:49:10 +0000 Original-Received: from localhost ([127.0.0.1]:37447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xqlxm-0001RH-2i for submit@debbugs.gnu.org; Tue, 18 Nov 2014 11:49:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54323) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqjGM-0005Tm-6g for submit@debbugs.gnu.org; Tue, 18 Nov 2014 08:56:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqjGL-0002TX-5T for submit@debbugs.gnu.org; Tue, 18 Nov 2014 08:56:09 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqjGL-0002TL-33 for submit@debbugs.gnu.org; Tue, 18 Nov 2014 08:56:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqjGK-0006XS-6p for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 08:56:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqjGF-0002Ei-HV for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 08:56:08 -0500 Original-Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:43492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqjGF-0002Az-Aw for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2014 08:56:03 -0500 Original-Received: by mail-wg0-f54.google.com with SMTP id y10so6295779wgg.27 for ; Tue, 18 Nov 2014 05:56:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1a8H+W9GbR5h+twB+P/LweGl0nz3+c2el65H+UEqrgY=; b=JyGvryjWpuJLy68r9uu8LEbUq3sOrOcCeGPxeBJjbvGHrvtXPdLxEX5c2avTcFyipi HCWjaPoNM9tlkUf0Q91YL98LUZO33PyUSjQ6iZ/lPm2vLcOjRm04uh0MJjxGvIMj1/YV RDlYYBAeEsr4gfDn9+KLpVqqlrR/P5FErleuUGLhm0YWGidGu7VJwvTg9s17c6x9oIsT ppvUDaEeGr4Zmjpbq7ZttUy/Yg/gGRXypYTWq1kT0E7XwFdhDul8zVnMhykE/ct5jLGZ Q3xvv6WLfIPMExpJFRSF5O1HJ3IDARre4kwGkO7+oUyhS8JAmxkZG4orvxFOYne6aVUL bJRQ== X-Received: by 10.194.191.227 with SMTP id hb3mr43639319wjc.79.1416318961701; Tue, 18 Nov 2014 05:56:01 -0800 (PST) Original-Received: by 10.217.69.198 with HTTP; Tue, 18 Nov 2014 05:56:01 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 18 Nov 2014 11:49:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96195 In Emacs 25.0.50.1 (repository revision: 5813f93cab1a81eba6eef735add5ca7cb1d15e8e) the function 'execute-extended-command' accepts only numeric values from the variable 'suggest-key-bindings'. Setting a nil value won't disable the suggestion message shown in the minibuffer. In 'simple.el', line 1691, the function looks for a non-nil value in 'suggest-key-bindings', but afterwards it only accepts numeric values. Therefore, a nil value will trigger the default behaviour, which is printing the "You can run the command `%s' with %s" message after 2 seconds. A workaround: setting 'suggest-key-bindings' to 0. Also, in line 1670, a conditional construct has been commented out: ";; (when binding". But it seems this is not directly related with the issue.