From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Recent changes in parsing.texi Date: Sun, 25 Dec 2022 09:30:34 +0200 Message-ID: <838riw3pph.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 25 08:31:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p9LTv-0000t8-Jz for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Dec 2022 08:31:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9LT7-00079i-Pb; Sun, 25 Dec 2022 02:30:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9LSv-000792-1q for emacs-devel@gnu.org; Sun, 25 Dec 2022 02:30:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9LSu-0005M6-Pz; Sun, 25 Dec 2022 02:30:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=mfHU/ll8XK+zSGZjclSqxTv+YZ0BLIU+fzgJflMQjN0=; b=bJ3p1aM0QpfHHI MrY4aDcYirnCxNzBJwYGLdDJoY7pYVXloLXXILK0rB75Zgx0H5ZtCBT1iUAjOE4MulJaAflddd8bu LhFP3UcFWHO+Sl0JNDWMIMgYATDsE1myE8WfuAwwGZ2L5Emq3DyiV45+6X0FW6/6nUtHiNIG+KVhA M7xSeCvV2YyuwF2XSbiLacmQ6kJ63TwGmdqBVWgKrnbcp3OHHnguTagoUrM941jA2jK7weW4Zdg7J jMwpE/Q+9G3G3INM1cHnGmd9my3gSE2n4REMCMEguAII47JtYuv+PbPQabDu7Er2E1UITisc+11Xr 04riEGBJMPrjoHfsO5cw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9LSt-00058m-Gq; Sun, 25 Dec 2022 02:30:36 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301901 Archived-At: There seems to be something missing in the new text: +@defun treesit-defun-at-point +This function returns the defun node at point, or @code{nil} if none +is found. It respects @code{treesit-defun-tactic}: it returns the +top-level defun if the value is @code{top-level}, and returns the +immediate enclosing defun if the value is @code{nested}. This mentions treesit-defun-tactic, but that variable is not documented anywhere in the manual, and is not indexed. It should either be documented in this node, or in some other node with a cross-reference from here to that other node. In general, please remember to index every function, macro, face, and variable unless they are in @defun/@defvar/@defmac etc., which add index entries automatically.