From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FORGED_MUA_MOZILLA,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 10039 invoked from network); 19 Aug 2021 03:51:26 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 19 Aug 2021 03:51:26 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id F371D246A2 for ; Wed, 18 Aug 2021 23:51:24 -0400 (EDT) (envelope-from bounce.mM652caba65026de9632210a05.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id EAEBB332C090; Wed, 18 Aug 2021 23:51:24 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sneakemail.com; spf=pass smtp.mailfrom=6o205zd02@sneakemail.com smtp.helo=sneak2.sneakemail.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1629345084; bh=vs/i4/bA4YCSccCV NCpYUCCGwXSjTAH2Ekn8dEa7aQk=; b=sLd3jBklWqjrVAMb9Y9qzQwpAYtdAPq5 XBIE1lKOHDq95zaSK6LRQToyS22dvYDj2vXRhx385fzUvBlkhXyMoXFzpyiiTllT TNQraiL6uH+7zWrnhmMZnJd0MoO1e6rfgAYkHh/UU1HIgM71urTCuFEwtzINrXmb JKbBpUAXh6U= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1629345084; b=VEdonS4RX/YkdFaXNUMOx/yvqhuGnrdu8i4d67fS6x3eSZLuZh UB/LvU9C2yqtZXJJyLUwOrhF2IBGlifCDe5h/h2TLRo3BztYWyaFelnk3STJmQNk 4/OY/btr9ufoCyX8itREuo0Yhe2W0Ng4dwBQioLYE8Im03JoHiRlMyQgg= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sneakemail.com; spf=pass smtp.mailfrom=6o205zd02@sneakemail.com smtp.helo=sneak2.sneakemail.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sneakemail.com; iprev=pass smtp.remote-ip=64.46.159.148 (sneak2.sneakemail.com); spf=pass smtp.mailfrom=6o205zd02@sneakemail.com smtp.helo=sneak2.sneakemail.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sneak2.sneakemail.com policy.ptr=sneak2.sneakemail.com; x-return-mx=pass header.domain=sneakemail.com policy.is_org=yes (MX Records found: mail.sneakemail.com); x-return-mx=pass smtp.domain=sneakemail.com policy.is_org=yes (MX Records found: mail.sneakemail.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=jPXPNSdrVChMfQHnqPamL5mdc3BCMNMqptrKOrAgwlw=; b=UHZ0Vx3uZqMr FfH4KK3rOgezv4yxTMsX8zbNEsRcH8T59QkkODwRJTSxV45JkCrsDMW5DeaRmBDu tnb1GDbw6ynKU+DlOX4lfeH/MN5AeQrs250Im+5tgdWfOgea7y0V3l3WXQ0KeGCt cINb4E4qROLAojUfGkPV1Xbj4S2d9mc= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 4BAF13269BCF for <9fans@9fans.net>; Wed, 18 Aug 2021 23:51:15 -0400 (EDT) (envelope-from 6o205zd02@sneakemail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 3B4274D11C4; Wed, 18 Aug 2021 23:51:15 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1629345075; b=VQN+ZQ8npo2S2fkABz3c9L/Tuc3zkZiDHK4WO746SaJ2hWAFtB XzQ6Ge+AKakJcPW6RrkFSR/OyUVWU/LsIjiCW5qHEFXCnlV1VQ6QK75zlWTDKwLv WkxxUdAG/68QCXvYTJO7pgOE4EhiIMSVj6uei2P3MRcCYkRkq3mHCk9nEC6kNq08 3qVGYldM9WugLTtjtsLDulQPKDTkdrTBGZwf7KScDLs4dWJDCfljvcq/3aabbqCr f5I2fPNTL0zXhTnnVT2ndTVXfz2uDnsYVzYPjh9thfV5K1VO1XHStDzCD6ciHVmN UKxqqlB6f/TmMLn+KIxUIsUJwICAx3yCo/sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=arcseal; t=1629345075; bh=pBwA/agQoZ78HiV32D3DAZjnmdXUSoUrtDi/QTpWAas=; b=V2T6qnRQBPPb 9sl/i//2s/gNUFbrG0Y+RzB7ZpjxK9TikyfUzsnA4bjjadHIVmh++COzW3NF2opj Z3jazWttzsR0nAIDeyMmX2jWotReUoCGmyk3lrvpn2Vqg5dENSfg+rmRH38CPsZI 4utmM+Sf6gMMMYur0UNhEe7VE3qaSvIjs95MB8VKFgF9fU4eF2d+HRu6m/vlNr3/ rkKphINjzP7pTtu/yP8xpBbVEgP3dpaEVl3WCn78Ep9AcxACc/Ax+5Ydw1vnb7lo hx5NLFj4jxPf8RoqQNNuLmKCYsFWos78n4xR7PAQALyz3fCrixxGGPV4OZYGyJTZ YkRA+L+oLg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=sneakemail.com; iprev=pass smtp.remote-ip=64.46.159.148 (sneak2.sneakemail.com); spf=pass smtp.mailfrom=6o205zd02@sneakemail.com smtp.helo=sneak2.sneakemail.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=sneak2.sneakemail.com policy.ptr=sneak2.sneakemail.com; x-return-mx=pass header.domain=sneakemail.com policy.is_org=yes (MX Records found: mail.sneakemail.com); x-return-mx=pass smtp.domain=sneakemail.com policy.is_org=yes (MX Records found: mail.sneakemail.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrleeigdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkf fffgggjggtofesrgdtreerreefjeenucfhrhhomhepiehovddtheiiugdtvdesshhnvggr khgvmhgrihhlrdgtohhmnecuggftrfgrthhtvghrnhepteduleeufeeuudeuteelueevie ehjeffhefffeelveetjeffudeikeetveeiiefgnecuffhomhgrihhnpehlrghnghhsvghr vhgvrhdrohhrghdpkhhrihhsthgvnhhsvghnqdgrthdqghhmrghilhdrtghomhdpsggvnh hghhgrnhgtohgtkhdrtghomhdpthhophhitggsohigrdgtohhmnecukfhppeeigedrgeei rdduheelrddugeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvth epieegrdegiedrudehledrudegkedphhgvlhhopehsnhgvrghkvddrshhnvggrkhgvmhgr ihhlrdgtohhmpdhmrghilhhfrhhomhepoeeiohdvtdehiigutddvsehsnhgvrghkvghmrg hilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sneakemail.com: 64.46.159.148 is authorized to use '6o205zd02@sneakemail.com' in 'mfrom' identity (mechanism 'a:sneak2.sneakemail.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="6o205zd02@sneakemail.com"; helo=sneak2.sneakemail.com; client-ip=64.46.159.148 Received: from sneak2.sneakemail.com (sneak2.sneakemail.com [64.46.159.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 18 Aug 2021 23:51:14 -0400 (EDT) (envelope-from 6o205zd02@sneakemail.com) Received: (sneakemail censored 848-1629345074-357948 #3); 19 Aug 2021 03:51:14 -0000 Received: (sneakemail censored 848-1629345074-357948 #2); 19 Aug 2021 03:51:14 -0000 Received: (sneakemail censored 848-1629345074-357948 #1); 19 Aug 2021 03:51:14 -0000 Subject: Re: [9fans] Codebase navigation and using tags files in acme To: 9fans@9fans.net References: From: 6o205zd02@sneakemail.com Message-ID: <848-1629345074-357948@sneakemail.com> Date: Wed, 18 Aug 2021 20:51:11 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------9F41E97DB5B26062746831A4" Content-Language: en-US X-Mailer: Perl5 Mail::Internet v Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b63463e6-00a0-11ec-ad24-fca85be23756 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZjhjZWFjMTJkZjlkYTY3NC1NNjUyY2FiYTY1MDI2ZGU5NjMyMjEw?= =?UTF-8?B?YTA1Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M652caba65026de9632210a05:1:XoqQRnc3qMmM4kta47uIDwcwEzHmB4MvcooFQukV61o --------------9F41E97DB5B26062746831A4 Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: quoted-printable I had never heard of acme-lsp and LSP (except as a Microsoft internal=20 thing) until gabi mentioned it earlier in the thread.=C2=A0 I'm interesting= =20 in playing with acme-lsp for C++.=C2=A0 Which LSP server do you use for C/C= ++=20 (I see several listed at https://langserver.org/)? =C2=A0=C2=A0=C2=A0 thanks, =C2=A0=C2=A0=C2=A0 Peter On 2021-08-18 02:26, Ole-Hjalmar Kristensen=20 ole.hjalmar.kristensen-at-gmail.com |9fans| wrote: > On linux, you can run ctags -x and postprocess the file to append the=20 > line number to the file name instead of having i as a separate field.=20 > That way, you can locate the symbol in the tags file, and right-click=20 > on the file:linenumber. > > Also, on linux, we have acme-lsp, which in principle works with any=20 > LSP server. I have tested it with go and C/C++. > > On Tue, Aug 17, 2021 at 10:22 PM Ben Hancock > wrote: > > Hello 9fans, > > I've just recently started using the acme editor and am really > enjoying > it, and trying to get the hang of the "acme way" of doing things. One > bit of functionality that I'm familiar with from other editors is the > ability to easily look up a function or symbol definition within a > codebase. In Emacs and vi, this is done by generating tags files > (etags > or ctags), which those editors can parse and allow you to easily > jump to > a definition of the symbol under the point/cursor. > > What's the preferred method or workflow for achieving this in acme? I > have tried passing a selected symbol to 'g -n' in the window's tag, > using the Mouse-2 + Mouse-1 chord. That gets me part of the way there > but isn't effective if the file where the symbol is defined > happens to > be in another directory. I feel like I'm missing something. > > Many thanks! > > - Ben > > --=20 > Ben Hancock > www.benghancock.com > > ------------------------------------------ > 9fans: 9fans > Permalink: > https://9fans.topicbox.com/groups/9fans/Tf8ceac12df9da674-M693d75f3d4= f4ad66ecaa27e0 > > Delivery options: > https://9fans.topicbox.com/groups/9fans/subscription > > > *9fans * / 9fans / see discussions=20 > + participants=20 > + delivery=C2=A0options= =20 > Permalink=20 > =20 > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tf8ceac12df9da674-M652ca= ba65026de9632210a05 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --------------9F41E97DB5B26062746831A4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I had never heard of acme-lsp and LSP (except as a Microsoft internal thing) until gabi mentioned it earlier in the thread.  I&= #39;m interesting in playing with acme-lsp for C++.  Which LSP server do you use for C/C++ (I see several listed at https://langserver.org/)?
=
    thanks,
    Peter

On 2= 021-08-18 02:26, Ole-Hjalmar Kristensen ole.hjalmar.kristensen-at-gmail.com |9fans| wrote:
On linux, you can run c= tags -x and postprocess the file to append the line number to the file name instead of having i as a separate field. That way, you can locate the symbol in the tags file, and right-click on the file:linenumber.

Also, on linux, we have acme-lsp, which in pr= inciple works with any LSP server. I have tested it with go and C/C++. 

On Tue, Aug 17, 2021 at 10:22 PM Ben Hancock <ben@benghancock.com> wrote:
He= llo 9fans,

I've just recently started using the acme editor and am really enjoying
it, and trying to get the hang of the "acme way" of doi= ng things. One
bit of functionality that I'm familiar with from other editors is the
ability to easily look up a function or symbol definition within a
codebase. In Emacs and vi, this is done by generating tags files (etags
or ctags), which those editors can parse and allow you to easily jump to
a definition of the symbol under the point/cursor.

What's the preferred method or workflow for achieving this in acme? I
have tried passing a selected symbol to 'g -n' in the win= dow's tag,
using the Mouse-2 + Mouse-1 chord. That gets me part of the way there
but isn't effective if the file where the symbol is defined happens to
be in another directory. I feel like I'm missing something.
Many thanks!

- Ben

--
Ben Hancock
www.benghancock.com

------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Tf8cea= c12df9da674-M693d75f3d4f4ad66ecaa27e0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

= --------------9F41E97DB5B26062746831A4--