From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nicolas Goaziou Newsgroups: gmane.emacs.devel Subject: @key{...} mis-use (was: Using Org as the source format to generate org.texi) Date: Sat, 14 Apr 2018 19:10:29 +0200 Message-ID: <87zi25n27u.fsf_-_@nicolasgoaziou.fr> References: <878tb5axms.fsf@bzg.fr> <87371762r3.fsf@nicolasgoaziou.fr> <87zi3dcrq1.fsf@nicolasgoaziou.fr> <83po49s36j.fsf@gnu.org> <876061ckk7.fsf@nicolasgoaziou.fr> <83h8plrygn.fsf@gnu.org> <87tvtlb2j4.fsf@nicolasgoaziou.fr> <83efkprqw2.fsf@gnu.org> <87vae19drk.fsf@nicolasgoaziou.fr> <837eqgrmux.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523725754 10174 195.159.176.226 (14 Apr 2018 17:09:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2018 17:09:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 19:09:10 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Ofl-0002Wc-7C for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 19:09:09 +0200 Original-Received: from localhost ([::1]:49966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7Ohr-0004x1-VT for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 13:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7OhC-0004wB-7r for emacs-devel@gnu.org; Sat, 14 Apr 2018 13:10:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7OhB-0007nO-7s for emacs-devel@gnu.org; Sat, 14 Apr 2018 13:10:38 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:45321) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7Oh6-0007j3-Ks; Sat, 14 Apr 2018 13:10:32 -0400 X-Originating-IP: 185.131.40.67 Original-Received: from saiph (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id C9055FF80B; Sat, 14 Apr 2018 19:10:31 +0200 (CEST) Original-Received: from ngz by saiph with local (Exim 4.89) (envelope-from ) id 1f7Oh3-0007sc-3y; Sat, 14 Apr 2018 19:10:29 +0200 In-Reply-To: <837eqgrmux.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Mar 2018 17:55:50 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.199 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224601 Archived-At: Hello, Eli Zaretskii writes: > I don't think this can be a reliable solution, because there are many > more keys we use in the manuals, like HOME, END, LEFT, RIGHT, UP, > DOWN, PageUp, PageDown, NEXT, PRIOR, EDIT, F1, etc. We can never > reliably hard-code any fixed list and hope to get away with it. Speaking of which, I grepped through the "doc/" directory for @key{something}, and uniquified the result. Some of them are typos (e.g., @key{F11>}) and some stems from a confusion between @kbd and @key (e.g., @key{C-c C-t @key{SPC}}). Some are missing normalization (e.g., @kbd{arrow-up}) while others look odd (e.g., @kbd{PNT}). Here are the 254 values. Someone(c) with write access to repository might want to fix some of them. RET SPC META CTL meta F3 SUPER SHIFT HYPER CTRL ALT BS DEL TAB F1 Alt F11 mouse-1 foo PageDown ESC UP DOWN mouse-2 Meta EAT DRINK PF1 end C-g F9 F5 F6 w c \ Q BACKSPACE Delete RIGHT Break LEFT AltGr Compose F10 Shift Option Super Cmd Ctrl Lwindow ScrLock start Apps NumLock CapsLock R L Windows F2 Control Home Insert BREAK Edit Hyper HELP F11> up down prior PageUp next END HOME End Enter Return S-TAB F4 e LFD kp-8 delete ENTER F Open Recent file menu-bar jump bookmarks edit set x X r ExtendChar Compose Character Escape a Backspace % E g h ? Do INSERT T C-h PNT MRK $ ^ * 1 ` C-d f11 f10 f9 CONTROL q SPACE M-n M-p C-c ? M-@key{TAB} Tab Down Up DELETE LF F13 F12 F8 F7 KP8 KP5 KP4 RETURN DO GOLD F24 , PF2 KP1 KP0 KP7 Help V v H ESC C-c RCL STO OVER RLL4 RLL3 SWAP PREC SYMB POLR FRAC DEG RAD GRP INV FIX ENG SCI FLT HYP MAP$ MAP^ MAP* HYP MAX HYP PROD HYP SUM INV MAX INV SUM MAX PROD SUM CROSS MTRN MDET MINV ... LEN IDNT INDX UNPK PACK WSIZ A BIN OCT HEX DEC INV NOT INV AND INV LSH NXTP PERM INV FACT INV GCD RAGN RAND RE IMAG CLN2 RND ABS EXP LN TAN COS SIN INV y^x y^x CONJ SQRT 1/x EXEC <- UNDO +/- EEX / ' OFF EXIT - 2 PI + 3 @key{RET} BUTTON-2 BEGIN PRIOR NEXT arrow-down arrow-up cursor Esc C-x C-s # up/down C-c C-t @key{SPC} C-c C-x d M-h ~ Regards, -- Nicolas Goaziou