From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30538: Elisp manual doesn't say how to get a raw syntax descriptor of a character. Date: Tue, 20 Feb 2018 20:57:58 +0200 Message-ID: <83woz77akp.fsf@gnu.org> References: <20180219203233.GB5688@ACM> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519153097 21072 195.159.176.226 (20 Feb 2018 18:58:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 18:58:17 +0000 (UTC) Cc: 30538@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 19:58:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eoD7C-0004sm-3f for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 19:58:10 +0100 Original-Received: from localhost ([::1]:57357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoD9E-0003CD-GK for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 14:00:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoD86-0002Su-Mo for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoD82-0003rd-MX for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:59:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoD82-0003rU-GF for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoD82-0001w3-4e for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Feb 2018 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30538 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30538-submit@debbugs.gnu.org id=B30538.15191530827360 (code B ref 30538); Tue, 20 Feb 2018 18:59:02 +0000 Original-Received: (at 30538) by debbugs.gnu.org; 20 Feb 2018 18:58:02 +0000 Original-Received: from localhost ([127.0.0.1]:53193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoD73-0001ub-Nk for submit@debbugs.gnu.org; Tue, 20 Feb 2018 13:58:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoD72-0001uG-2Z for 30538@debbugs.gnu.org; Tue, 20 Feb 2018 13:58:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoD6s-0003Cy-Lm for 30538@debbugs.gnu.org; Tue, 20 Feb 2018 13:57:54 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoD6s-0003Cn-IJ; Tue, 20 Feb 2018 13:57:50 -0500 Original-Received: from [176.228.60.248] (port=3823 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eoD6p-00050j-1n; Tue, 20 Feb 2018 13:57:50 -0500 In-reply-to: <20180219203233.GB5688@ACM> (message from Alan Mackenzie on Mon, 19 Feb 2018 20:32:33 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143502 Archived-At: > Date: Mon, 19 Feb 2018 20:32:33 +0000 > From: Alan Mackenzie > > The title says it all. Actually, in the early part of the Elisp manual, > it does say that `aref' works on char-tables. And around the syntax part > of the manual, much later, it says that syntax tables are char-tables. > > This makes it far too much work for somebody to find out what to do. > Therefore I suggest the following amendment, for Emacs-26: OK, but: . this should have an appropriate index entry, to allow finding this stuff easily . please take the code snipped in @w{..}, to avoid splitting it between lines. Thanks.