From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jimmy Yuen Ho Wong Newsgroups: gmane.emacs.bugs Subject: bug#63762: 29.0.91; tty emacs on macOS fail to load tree-sitter Date: Sun, 28 May 2023 10:47:41 +0100 Message-ID: References: <83mt1phval.fsf@gnu.org> <83cz2kj1qs.fsf@gnu.org> <83bki4iyf7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008fabea05fcbdde3b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37799"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63762@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 28 11:49:24 2023 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 1q3D1f-0009ba-Ui for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 May 2023 11:49:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3D1L-0000Y5-Sc; Sun, 28 May 2023 05:49:03 -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 1q3D1K-0000Xv-SJ for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3D1K-0004ST-IX for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3D1K-0001oF-ER for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jimmy Yuen Ho Wong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2023 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63762 X-GNU-PR-Package: emacs Original-Received: via spool by 63762-submit@debbugs.gnu.org id=B63762.16852673046879 (code B ref 63762); Sun, 28 May 2023 09:49:02 +0000 Original-Received: (at 63762) by debbugs.gnu.org; 28 May 2023 09:48:24 +0000 Original-Received: from localhost ([127.0.0.1]:53311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D0h-0001ms-Jn for submit@debbugs.gnu.org; Sun, 28 May 2023 05:48:23 -0400 Original-Received: from mail-qv1-f45.google.com ([209.85.219.45]:54718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D0g-0001m9-5J for 63762@debbugs.gnu.org; Sun, 28 May 2023 05:48:22 -0400 Original-Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-6261890b4d7so6030506d6.1 for <63762@debbugs.gnu.org>; Sun, 28 May 2023 02:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685267296; x=1687859296; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zskGhiVkBV7vV6BvKiUXDEvUAVknA7FDXPV1WfOkW6Q=; b=AllriUvCRDIBt48UGFPF7wQli/J1oV412F7pHuZ1UYOkHZUTlCCJarEpeB+0P0BL5/ Ce0XLnBFevlZzhm0b4k7WZpMhyVR/hSADMFARbVpgenKM74+EIS/22H1nhPfTbTT0E5z ZPVLgJivTAsev0wVfbKAJi+nYYgqTxcj+fbFl5CARLidstOzYsy+ZLg7DBLBvz8zO8Uk 7GBm5H2gtmROVk2j5pMmYRa+nmjOGzObDdGpjZiw1biypmYcbGmz9JtYV08XVY6q61F7 ceN4q4OzTQMMedR18IKcDFuvWcQiIwsmuDHfNJrzA2+9iI+9YAP1mVcsiKSRfIGTMRNy NSEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685267296; x=1687859296; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zskGhiVkBV7vV6BvKiUXDEvUAVknA7FDXPV1WfOkW6Q=; b=OTrVcRRu4OMSnq++YVG6Zhh7OB7cOEdDHlf0ria+xSomsPiYFbJlQB0QlNgxWuPKlw Bq1Jor2JMs0jDWsTRTeTj5fQS3andOfcni6jMezR01tu9rCyk+Ic06l5Cx9FE/wi/Nyx lR/6FgLnaaiF4VCKx9wov0ntFmg5fCDZee/u0fZckimJClR3fL6sE5da1ZYp4vMwkbAD qgl+pYoia6dJZT84+ECgCHaTbs1CSDF2rtaUAlGIGRek7L2Rie6U1wwGw9OeRL9t1LOj YB0QOaUXFubv+XH5ZD416TtNajew7eyRnrUhL+v4hCEQnTmZRdpbUSiJVnV0eabceP8v eMmw== X-Gm-Message-State: AC+VfDz938tL2GnrLS2p1q2LQc4/9n2u1UMXSQjchyJlTTGr87TDiR+r a1Yfsn0jBX9/8dwDVvSSVa4v1c5We364a6B7ST2dlXaO X-Google-Smtp-Source: ACHHUZ6oCn4XQZeTT3FFiCutPBcbJGO3DAqAWKJtZYmFXCjkcglx0809zYaziu+ljoa1L7acId9f+dENao+Ll3GsRXo= X-Received: by 2002:ad4:4ea9:0:b0:626:94f:6044 with SMTP id ed9-20020ad44ea9000000b00626094f6044mr6756422qvb.2.1685267296528; Sun, 28 May 2023 02:48:16 -0700 (PDT) In-Reply-To: <83bki4iyf7.fsf@gnu.org> 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:262523 Archived-At: --0000000000008fabea05fcbdde3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Nope, it's all automatic. Something somewhere in the NS port is setting `treesit-extra-load-path' correctly, despite both ports were compiled with LDFLAGS=3D'-L/opt/local/lib' Jimmy On Sun, May 28, 2023 at 10:42=E2=80=AFAM Eli Zaretskii wrote= : > > From: Jimmy Yuen Ho Wong > > Date: Sun, 28 May 2023 10:27:16 +0100 > > Cc: 63762@debbugs.gnu.org > > > > gdb doesn't work with clang and I have a hard time using lldb, all I ca= n > say for sure is, for some > > reason, `treesit-extra-load-path' is nil when running TTY emacs on > macOS, whereas it is set to ' > > ("/opt/local/lib") on the NS port. > > treesit-extra-load-path is nil in my session, and that is its normal > value. How did you get it set to something non-nil in the NS build? > I see nothing in the sources, so maybe it's your customizations? > --0000000000008fabea05fcbdde3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nope, it's all automatic. Something somewhere in = the NS port is setting `treesit-extra-load-path' correctly, despite bot= h ports were compiled with LDFLAGS=3D'-L/opt/local/lib'

Jimmy


=
On Sun, Ma= y 28, 2023 at 10:42=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
> Date: Sun, 28 May 2023 10:27:16 +0100
> Cc: 63762@d= ebbugs.gnu.org
>
> gdb doesn't work with clang and I have a hard time using lldb, all= I can say for sure is, for some
> reason, `treesit-extra-load-path' is nil when running TTY emacs on= macOS, whereas it is set to '
> ("/opt/local/lib") on the NS port.

treesit-extra-load-path is nil in my session, and that is its normal
value.=C2=A0 How did you get it set to something non-nil in the NS build? I see nothing in the sources, so maybe it's your customizations?
--0000000000008fabea05fcbdde3b--