From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: john muhl Newsgroups: gmane.emacs.bugs Subject: bug#70515: 30.0.50; which-function-mode error in lua-ts-mode Date: Mon, 22 Apr 2024 09:39:40 -0500 Message-ID: <87y1957977.fsf@pub.pink> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13980"; mail-complaints-to="usenet@ciao.gmane.io" To: 70515@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 22 16:41:13 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ryur1-0003KS-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Apr 2024 16:41:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryuqe-0008Jl-6T; Mon, 22 Apr 2024 10:40:48 -0400 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 1ryuqc-0008Jc-VT for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2024 10:40:46 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryuqc-0002Xl-NL for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2024 10:40:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryuqs-0000Ka-BN for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2024 10:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2024 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70515 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17137968181003 (code B ref -1); Mon, 22 Apr 2024 14:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Apr 2024 14:40:18 +0000 Original-Received: from localhost ([127.0.0.1]:46221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryuq8-0000Fw-Jm for submit@debbugs.gnu.org; Mon, 22 Apr 2024 10:40:18 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryuq4-0000Ec-EJ for submit@debbugs.gnu.org; Mon, 22 Apr 2024 10:40:15 -0400 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 1ryupi-0008FC-Hr for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2024 10:39:50 -0400 Original-Received: from wfout5-smtp.messagingengine.com ([64.147.123.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryupg-0002AD-H4 for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2024 10:39:50 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 8D1941C000A4 for ; Mon, 22 Apr 2024 10:39:43 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 22 Apr 2024 10:39:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm2; t=1713796783; x=1713883183; bh=1/GxnorMMG BJUq1TLqxFCN2NEhKbNqconmxUv+ja2Hg=; b=NptidZod/umJQUxEBIfoDZDsAX 1beenWi06dN0PR2Hmqy6d7244uFxFU47F45hwAqeI5W7eVd8Quevt23zPVOLy009 FWse7RGlHViplMDBn8nFJRzWsj8LqDbR49Ue72xBxzl4BXLKfkMs3EG+uLEht6LA CuuFtThaNGC6gX1OY8shPoibS1r3sGg7WXvU2rWUJkwPPEI1O0T0YA952q27YsPr i6VOYXs5oFa7IF5Mp6P8EET18kZcisZIBTME2GsrLobzimSqREI5Ry3WUTNyaAX8 4v5x95NzBiAQpQIP1RNLOUwio6AMzwWn92wiH5xTv1DgS5NPoUG0Z2qKWtXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713796783; x=1713883183; bh=1/GxnorMMGBJUq1TLqxFCN2NEhKb NqconmxUv+ja2Hg=; b=J0VNHSJXb8tOx3ao4x18dIHFp2Tj6AyFG+xmp99rdCSQ BNRdPDcGCOOPh934VZyoqrblLSKZIS5/SUwajH0kCNQBNAF3mds8L4eikg1O6RKn 5K08RXUjkHlaG/ngQGGFA8uPtQnm/0/WWa/yABeb9ikCulpuPS/+R2fCpCgPbeWN y3OwN9vlFABCpc5KoQ2yc+NGp/gLEvjIQ7driP4vurw9o75IfLeJ/TQ5dS/ujW2P 1LfysPtKn+xd8zJJoZXg4gqlSC15EmHRhxliuzQApTfINSmFtM8AujZr8zR8I6TH YESdD7bWxCqahqW4RZQtWlrSs+VePIXcr8N3c6F8aQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudekledgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtgfesthhqredttd dtjeenucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhesphhusgdrphhinhhkqeenucgg tffrrghtthgvrhhnpeetuefhgfeuieejteekffejudettdeuueekueffkeeileekueegle efkefhgefhueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjmhesphhusgdrphhinhhk X-ME-Proxy: Feedback-ID: i74194916:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 22 Apr 2024 10:39:42 -0400 (EDT) Received-SPF: pass client-ip=64.147.123.148; envelope-from=jm@pub.pink; helo=wfout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283829 Archived-At: -- test.lua local function f(x) print(x) end emacs -Q test.lua M-x which-function-mode Error running timer =E2=80=98which-func-update=E2=80=99: (error "Error in which-func-update: (invalid-function #)") Patch to follow. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu) of 2024-04-21 built on localhost Repository revision: 4773ecb93193495f141e5d60c0c5ded58eaa2c98 Repository branch: master System Description: Fedora Linux 39 (Thirty Nine) Configured using: 'configure --without-x --without-native-compilation' Configured features: ACL DBUS GMP GNUTLS GPM LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP SOUND SQLITE3 THREADS TREE_SITTER XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lua Minor modes in effect: which-function-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load which-func imenu cl-seq lua-ts-mode treesit cl-loaddefs cl-lib comint regexp-opt ansi-osc ansi-color ring term/xterm xterm byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify multi-tty make-network-process emacs) Memory information: ((conses 16 66424 9105) (symbols 48 7625 0) (strings 32 18124 1778) (string-bytes 1 437334) (vectors 16 8799) (vector-slots 8 77160 4863) (floats 8 28 1) (intervals 56 253 2) (buffers 992 11))