From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#10191: dired-query (in dired-aux.el) fails for certain help-char's, Emacs 23 and 24 Date: Fri, 02 Dec 2011 17:37:59 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322843941 2489 80.91.229.12 (2 Dec 2011 16:39:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 16:39:01 +0000 (UTC) To: 10191@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 17:38:55 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWW8V-0007xY-N7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 17:38:55 +0100 Original-Received: from localhost ([::1]:40769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWW8V-0002F9-7w for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 11:38:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWW8R-0002Eo-Sh for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 11:38:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWW8N-0001Il-Mr for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 11:38:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWW8N-0001Ia-LM for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 11:38:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RWW8c-0001le-FO for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 11:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2011 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10191-submit@debbugs.gnu.org id=B10191.13228438996742 (code B ref 10191); Fri, 02 Dec 2011 16:39:02 +0000 Original-Received: (at 10191) by debbugs.gnu.org; 2 Dec 2011 16:38:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWW7u-0001kg-Kw for submit@debbugs.gnu.org; Fri, 02 Dec 2011 11:38:19 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWW7s-0001kZ-O0 for 10191@debbugs.gnu.org; Fri, 02 Dec 2011 11:38:18 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 01692188A173; Fri, 2 Dec 2011 17:37:59 +0100 (CET) X-Auth-Info: Cyg8pH041BRWbecPYdoMLRC5GhLeGo4g+uNa94DmGt0= Original-Received: from igel.home (ppp-88-217-97-43.dynamic.mnet-online.de [88.217.97.43]) by mail.mnet-online.de (Postfix) with ESMTPA id E34D41C0012E; Fri, 2 Dec 2011 17:37:59 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 60832CA29C; Fri, 2 Dec 2011 17:37:59 +0100 (CET) X-Yow: Your CHEEKS sit like twin NECTARINES above a MOUTH that knows no BOUNDS -- In-Reply-To: (Stefan Monnier's message of "Fri, 02 Dec 2011 09:18:35 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 02 Dec 2011 11:39:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54622 Archived-At: Stefan Monnier writes: >> ; original >> (if help-form >> (format " [Type yn!q or %s] " >> (key-description >> (char-to-string help-char))) >> " [Type y, n, q or !] ") > >> When (characterp help-char) is nil, as in my case, char-to-string raises an >> error. > > Thanks. I've installed the patch below which should fix your problem, If we want to support keys as values of help-char that should probably be documented. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."