GNU bug report logs - #10191
dired-query (in dired-aux.el) fails for certain help-char's, Emacs 23 and 24

Previous Next

Package: emacs;

Reported by: Christopher Genovese <genovese.cr <at> gmail.com>

Date: Fri, 2 Dec 2011 06:28:01 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 10191 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: 10191 <at> debbugs.gnu.org
Cc: monnier <at> IRO.UMontreal.CA
Subject: Re: 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
Stefan Monnier <monnier <at> IRO.UMontreal.CA> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 13 years and 178 days ago.

Previous Next


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