From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Wed, 29 Dec 2021 16:59:44 -0800 Message-ID: <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) 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="38866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Cl=C3=A9ment_Pit-Claudel?= , Theodor Thornhill , ubolonton@gmail.com, Emacs developers , Philipp , Stefan Monnier , Yoav Marco , Stephen Leake , John Yates To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 02:00:58 2021 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 1n2joP-0009va-Uq for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 02:00:57 +0100 Original-Received: from localhost ([::1]:56314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2joO-0006nO-S9 for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 20:00:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2jnK-00061U-5s for emacs-devel@gnu.org; Wed, 29 Dec 2021 19:59:50 -0500 Original-Received: from [2607:f8b0:4864:20::52b] (port=44688 helo=mail-pg1-x52b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2jnI-0004Bm-D6; Wed, 29 Dec 2021 19:59:49 -0500 Original-Received: by mail-pg1-x52b.google.com with SMTP id m15so19877225pgu.11; Wed, 29 Dec 2021 16:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=nh36l1hmga3nFHVYID/ZWOmB55J+Zu045a4gmBqo9fQ=; b=WO+Gfcg9U+wA58+dcGiBrR8h1FMZfmLRhJhKXuk0KbBL9crmDuvPkLg+evj2Uo/7er DB4z4CDq2A2oMFuj8HT9E3hM2CTAoEqEbEtBWr7DSAmRx6qThT35wsiBpuDJPrSsE7Cd 7zpIQmuAKSJ1WdGVWGVPE2C3fcv/B4bo2KBqU89t2Mw+ghxZojpd07u5f4W+tQPC6afL X51XiRePfyMxUUZtqcikEB7awyxrJvWawaGnQibzaq/Ztw5hcGwkVxAIJSF7U0g+D7Qt s2OI38z+Ex0nbIdbOsrZsSQyRR9Z+B0dBV3D4NYoKkRfCyVDrne7ayW0x0bpcwfIEcDb iuSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=nh36l1hmga3nFHVYID/ZWOmB55J+Zu045a4gmBqo9fQ=; b=WIbhgddSI0w5seOfR9vNigLWuGQs3EgmtXH81CNzz08eTd9rPxLo/S3WXXVRlF9/0Z X+amOkhYm43g/RDpChgtRzl1ZjZ2RkD9CEjuKW/RF9bgD7QOuyTFurn7TO3MQYBtYRvF OdVzH0tMw3YnO/WvuFEA2bVp6sbG5EAyAvFZ6AUWItEtb8whFgNboJZvimFHMzOmQEC2 7sFwxovhwXG6onsLC9zgzj93IgR/kDCfe7EL3pdEcIBgMkIuMHl79l1qftPlu+cJhqck XOnZJO2XEL7WIWCoHXR0/ESc6pihOVJUMaC8Ia4HCfBu2UXZzc61fMgIypSkp/0e+YLl q62A== X-Gm-Message-State: AOAM533dgmjsB1w6lIeLlAa71JVK0xegATSt4iA3jRPzoHbl43V6ikUf I1UXtq838jOk/Hn+P4H+ZC9hc0xzoLvFYw== X-Google-Smtp-Source: ABdhPJzzB0d7++f/H85kvUqkUT0oIdCzmKNAphGalFMpQvIyE1mlUdcm5l1YnuJ6wRsxrVo3wOOuGw== X-Received: by 2002:aa7:9556:0:b0:4ba:9428:4471 with SMTP id w22-20020aa79556000000b004ba94284471mr29112998pfq.72.1640825986093; Wed, 29 Dec 2021 16:59:46 -0800 (PST) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:24f3:d1ba:1a42:bbf6]) by smtp.gmail.com with ESMTPSA id u33sm27216472pfg.4.2021.12.29.16.59.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Dec 2021 16:59:45 -0800 (PST) In-Reply-To: <83ilvbpsvl.fsf@gnu.org> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=casouri@gmail.com; helo=mail-pg1-x52b.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:283598 Archived-At: >=20 > Emacs can be built with profiling support, see --enable-profiling. > Then you can run gprof on the output of an Emacs session. >=20 > Another option is to use perf on GNU/Linux. Thanks. BTW, I can=E2=80=99t seem to compiler Emacs after merging master. (But = master along compiles fine.) Neither make bootstrap nor git clean -xf = worked. I=E2=80=99m getting ./temacs --batch -l loadup --temacs=3Dpbootstrap \ --bin-dest = /Users/yuan/emacs/nextstep/Emacs.app/Contents/MacOS/ --eln-dest = /Users/yuan/emacs/nextstep/Emacs.app/Contents/Frameworks/ Loading loadup.el (source)... Symbol's function definition is void: internal-timer-start-idle make[2]: *** [bootstrap-emacs.pdmp] Error 255 make[1]: *** [src] Error 2 make: *** [bootstrap] Error 2 How should I go about debugging this? Yuan=