# HG changeset patch # User Richard M. Stallman # Date 863588827 0 # Node ID 41b7d56b62fbe7a409abf62ed4ded6d51021101c # Parent 2fc1e383325991045561f68ced6de73c70306d7d (describe_vector): Identify charset row numbers clearly. diff -r 2fc1e3833259 -r 41b7d56b62fb src/keymap.c --- a/src/keymap.c Wed May 14 03:53:43 1997 +0000 +++ b/src/keymap.c Wed May 14 05:47:07 1997 +0000 @@ -2882,9 +2882,9 @@ { /* We need an octal representation for this block of characters. */ - char work[5]; - sprintf (work, "\\%03o", i & 255); - insert (work, 4); + char work[16]; + sprintf (work, "(row %d)", i); + insert (work, strlen (work)); } } else if (CHAR_TABLE_P (vector)) @@ -2922,7 +2922,7 @@ starting_i = i; - /* Find all consecutive characters that have the same + /* Find all consecutive characters or rows that have the same definition. But, for elements of a top level char table, if they are for charsets, we had better describe one by one even if they have the same definition. */ @@ -2972,9 +2972,11 @@ } else { - char work[5]; - sprintf (work, "\\%03o", i & 255); - insert (work, 4); + /* We need an octal representation for this block of + characters. */ + char work[16]; + sprintf (work, "(row %d)", i); + insert (work, strlen (work)); } } else