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:50:32 +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="000000000000beecf705fcbde81f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10953"; 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:52:14 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 1q3D4Q-0002eW-Dx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 May 2023 11:52:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3D4F-0000xr-Jk; Sun, 28 May 2023 05:52: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 1q3D4E-0000xQ-6P for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:52: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 1q3D4D-0005HC-Um for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3D4D-0001st-QH for bug-gnu-emacs@gnu.org; Sun, 28 May 2023 05:52:01 -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:52:01 +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.16852674747180 (code B ref 63762); Sun, 28 May 2023 09:52:01 +0000 Original-Received: (at 63762) by debbugs.gnu.org; 28 May 2023 09:51:14 +0000 Original-Received: from localhost ([127.0.0.1]:53315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D3S-0001rk-5e for submit@debbugs.gnu.org; Sun, 28 May 2023 05:51:14 -0400 Original-Received: from mail-qv1-f54.google.com ([209.85.219.54]:55792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3D3Q-0001rY-Sv for 63762@debbugs.gnu.org; Sun, 28 May 2023 05:51:13 -0400 Original-Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-62614a2ce61so7716776d6.3 for <63762@debbugs.gnu.org>; Sun, 28 May 2023 02:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685267467; x=1687859467; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QKU7H4sCWbLUwZGNS0yU6a3lpWlmqW+Ei+A55JF3tZU=; b=DYfJcILvbC2y8bz/lypyJ7Wq4Z8Bpu9FquenQjFxT+O/Ks0ksrb6e8gGj3d/L91cz4 +qoMNVTt5psXQVoOxTadX86k5ADASS80eRMYqcwNpftn+gYltxbTUPkt3wkowYG3lgtM hQzXrVf5oQ7Qhi8ABsPbF8hx+Rx7hO+BGqZrbOAKCh1uLp1Oe0X5aNLHjJjFX2oe1UIz QRAJ5ZFNKmbqmn0uotMfKAWpDVc9JQjUaeyqUiJoh84sisyXIpTLIEbcEcRhqhn3GQgM A+Af5mMxKpfVXlj7Etc6oXr8drO9upmjhljw0EHUpDkSsesdNN7xs98HMFIiv72M/cDh hvRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685267467; x=1687859467; 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=QKU7H4sCWbLUwZGNS0yU6a3lpWlmqW+Ei+A55JF3tZU=; b=JB5sQUu4+tksvW9plZtuDvNQ9fLPtLMulcBQlax4zVOZT0N8sfaCE1t2A78hLHUhfu hshEVV60JLfGaAPY3bfnGmSplq/CektEOKm6G+ncWe+ORC5e/V0KWnoUOceK1uiMmO0F GVy1lwwfFRn6DOz7fJuGFv9iDCsWEkLTQyGr4NLl/VppE2i2hI9PBykR3hrq6b5aG6To Pp4qVe+Jibhq8DnwtsQNtC1bWj9499+lXmkHs9mYGpQmzxVf2bTNGUDnNTuAhevET2W1 NJBziV97tEsj32H1CJSxBh/2lANWCMHbU385LXLH+8cx7zAIfn0cBK6m4VYNRJdJFlSP 6oGA== X-Gm-Message-State: AC+VfDwaWbBg3yjSYSLn06nJkS0FGJO72e1WwuDr4XDxACCcTDn+LgtT Fgvbqw0bMpVriMaOmAXTa9tw0YJEaa56BLxSChfZAh+mI/4= X-Google-Smtp-Source: ACHHUZ7U60lnZ73Swsd5tNjJI11zbD43OkMl4gymMzJGwHZCuUofs27Q32icSOr+x0Q8RmaxJC2//i3/gE5TfGLXIDE= X-Received: by 2002:a05:6214:c6e:b0:625:aa49:ceb7 with SMTP id t14-20020a0562140c6e00b00625aa49ceb7mr7441839qvj.64.1685267467396; Sun, 28 May 2023 02:51:07 -0700 (PDT) In-Reply-To: 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:262524 Archived-At: --000000000000beecf705fcbde81f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, I take it back, it appears to be sit in this patch. https://github.com/macports/macports-ports/blob/master/editors/emacs/files/= site-start.el This appears to be a MacPorts packaging issue, you can close this. Jimmy On Sun, May 28, 2023 at 10:47=E2=80=AFAM Jimmy Yuen Ho Wong wrote: > Nope, it's all automatic. Something somewhere in the NS port is setting > `treesit-extra-load-path' correctly, despite both ports were compiled wit= h > LDFLAGS=3D'-L/opt/local/lib' > > Jimmy > > > On Sun, May 28, 2023 at 10:42=E2=80=AFAM Eli Zaretskii wro= te: > >> > 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 >> 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. 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? >> > --000000000000beecf705fcbde81f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, I take it back, it appears to be sit in thi= s patch.=C2=A0https://github.com/macports/macport= s-ports/blob/master/editors/emacs/files/site-start.el

This appea= rs to be a MacPorts packaging issue, you can close this.

Jimmy


On Sun, May 28, 20= 23 at 10:47=E2=80=AFAM Jimmy Yuen Ho Wong <wyuenho@gmail.com> wrote:
Nope, it's all automatic= . Something somewhere in the NS port is setting `treesit-extra-load-path= 9; correctly, despite both ports were compiled with LDFLAGS=3D'-L/opt/l= ocal/lib'

Jimmy


On Sun, May 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?
--000000000000beecf705fcbde81f--