Subject: bug#22636: tab characters in documentation

From: Clint Adams <[email-masked]>
Date: Thu, 11 Feb 2016 23:22:25 +0000

The way @kbd{tab} is getting rendered in the Info and HTML
documentation is confusing some users, f.ex.
https://bugs.debian.org/671817

The Texinfo documentation suggests that these should be
@key{TAB} instead.
>From 9b9ecb5a03052cf496d230894f655ab0501411bb Mon Sep 17 00:00:00 2001
From: Clint Adams <[email-masked]>
Date: Thu, 11 Feb 2016 18:16:36 -0500
Subject: [PATCH] Use @key{TAB} instead of @kbd{TAB} in Texinfo

---
 doc/sed-in.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/sed-in.texi b/doc/sed-in.texi
index dda20ae..bb05435 100644
--- a/doc/sed-in.texi
+++ b/doc/sed-in.texi
@@ -889,8 +889,8 @@ because it is escaped.
 @item [a-zA-Z0-9]
 In the C locale, this matches any @acronym{ASCII} letters or digits.
 
-@item [^ @kbd{tab}]\+
-(Here @kbd{tab} stands for a single tab character.)
+@item [^ @key{TAB}]\+
+(Here @key{TAB} stands for a single tab character.)
 This matches a string of one or more
 characters, none of which is a space or a tab.
 Usually this means a word.
@@ -1722,7 +1722,7 @@ technique.
 @}
 
 # del leading and trailing spaces
-y/@kbd{tab}/ /
+y/@key{TAB}/ /
 s/^ *//
 s/ *$//
 
@@ -2231,7 +2231,7 @@ of commenting @command{sed} scripts.
 #!/usr/bin/sed -nf
 
 # Convert words to a's
-s/[ @kbd{tab}][ @kbd{tab}]*/ /g
+s/[ @key{TAB}][ @key{TAB}]*/ /g
 s/^/ /
 s/ [^ ][^ ]*/a /g
 s/ //g
-- 
2.7.0