wishlist: format ~:@C to print "user readably"

Bug #690371 reported by mon_key
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Triaged
Wishlist
Unassigned

Bug Description

(format t "Please type ~:@C to continue: " #\Soh)
(format t "Please type \"~:@C\" to continue: " #\Soh)
=> Please type "Soh" to continue:

Would be nice if this returned:
=> Please type "C-SPC" to continue:

Or, some non-Emacs equivalent :)

,----
|
| 22.3.1.1 Tilde C: Character
|
| ~:@C prints what ~:C would, and then if the character requires unusual shift
| keys on the keyboard to type it, this fact is mentioned. For example,
|
| (format nil "~:@C" #\Control-Partial) => "Control-<PARTIAL> (Top-F)"
|
| This is the format used for telling the user about a key he is expected to type,
| in prompts, for instance. The precise output may depend not only on the
| implementation, but on the particular I/O devices in use.
|
`----

SBCL 1.0.45.3

Changed in sbcl:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.