From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 04 07:47:08 2023 Received: (at submit) by debbugs.gnu.org; 4 Jan 2023 12:47:08 +0000 Received: from localhost ([127.0.0.1]:47910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD3Ai-0002oh-C1 for submit@debbugs.gnu.org; Wed, 04 Jan 2023 07:47:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:52374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD3Ag-0002oZ-OO for submit@debbugs.gnu.org; Wed, 04 Jan 2023 07:47:07 -0500 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 1pD3AU-0007bu-N6 for guix-patches@gnu.org; Wed, 04 Jan 2023 07:46:59 -0500 Received: from m12.mail.163.com ([123.126.96.233]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pD3AQ-0003tj-Qp for guix-patches@gnu.org; Wed, 04 Jan 2023 07:46:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=iwulx xBsZV63cEO9RO5YEt6J+KcNcIewdvKA21/l8Ds=; b=kKrsu6LwiMhplwo8LSE8Q VzDdWgHsBFqsm2vN3dhjjKeVp12RbPlYSFnrCk5c/9Gs8rhBLdNfYYAcQAUCm4O8 cTk19KMmUFrTGquaFaWBvxkCpcgbsIvtTRmjiE0qFsugvEU5iUnu+ma4ov+LXQ6r IXLucqMbU7Y5ZVWEyd4tCw= Received: from localhost.localdomain (unknown [49.88.145.87]) by smtp19 (Coremail) with SMTP id R9xpCgCHspg2dbVjcOebEA--.8811S2; Wed, 04 Jan 2023 20:46:46 +0800 (CST) From: tumashu@163.com To: guix-patches@gnu.org Subject: [PATCH 2/5] gnu: Add emacs-citre. Date: Wed, 4 Jan 2023 20:46:44 +0800 Message-Id: <20230104124644.19925-1-tumashu@163.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: R9xpCgCHspg2dbVjcOebEA--.8811S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCryUCFy8XF4ktF43Aw1DKFg_yoW5XFWxpF 4I9ryFkF15C3Z7J3ySgFWjq3sa9r4kGFy5Gw47Zw45tw48Jr4fXryftr95uF17Cw4rX34f Wan5t345WFZ8WF7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUSD7sUUUUU= X-Originating-IP: [49.88.145.87] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0xfs1FXlxltHlQAAsD Received-SPF: pass client-ip=123.126.96.233; envelope-from=tumashu@163.com; helo=m12.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Feng Shu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Feng Shu * gnu/packages/emacs-xyz.scm (emacs-citre): New variable. --- gnu/packages/emacs-xyz.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d4f0dc82a0..507ba3be61 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34104,6 +34104,63 @@ (define-public emacs-global-tags project.el and xref.el.") (license license:gpl3+)))) +(define-public emacs-citre + (package + (name "emacs-citre") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/universal-ctags/citre/") + (commit (string-append "v" version)))) + (sha256 + (base32 "168z6yidh2nxkmdlx9cqdzzb7achxdipnbk5pj9787m9bp1sdpkd")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-citre-ctags-program + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-sexps "citre-ctags.el" + ("defcustom citre-ctags-program" + (string-append (assoc-ref inputs "universal-ctags") + "/bin/ctags"))))) + (add-after 'unpack 'patch-citre-readtags-program + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-sexps "citre-readtags.el" + ("defcustom citre-readtags-program" + (string-append (assoc-ref inputs "universal-ctags") + "/bin/readtags"))))) + (add-after 'unpack 'patch-citre-gtags-program + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-sexps "citre-global.el" + ("defcustom citre-gtags-program" + (string-append (assoc-ref inputs "global") + "/bin/gtags"))))) + (add-after 'unpack 'patch-citre-global-program + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-sexps "citre-global.el" + ("defcustom citre-global-program" + (string-append (assoc-ref inputs "global") + "/bin/global")))))))) + (inputs (list global universal-ctags)) + (home-page "https://github.com/universal-ctags/citre") + (synopsis "Ctags IDE on the True Editor") + (description + "Citre is an advanced Ctags (or actually, readtags) frontend for +Emacs. It offers: + +@itemize +@item completion-at-point, xref and imenu integration. +@item citre-jump: A completing-read UI for jumping to definition. +@item citre-peek: A powerful code reading tool that lets you go down the +rabbit hole without leaving current buffer. +@end itemize\n") + (license license:gpl3+))) + (define-public emacs-seq (package (name "emacs-seq") -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 19:01:02 2023 Received: (at 60549-done) by debbugs.gnu.org; 7 Jan 2023 00:01:02 +0000 Received: from localhost ([127.0.0.1]:56115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDwdx-0008FJ-VU for submit@debbugs.gnu.org; Fri, 06 Jan 2023 19:01:02 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:43255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDwdw-0008Et-9M for 60549-done@debbugs.gnu.org; Fri, 06 Jan 2023 19:01:00 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id B66E0100005; Sat, 7 Jan 2023 00:00:53 +0000 (UTC) From: Nicolas Goaziou To: tumashu@163.com Subject: Re: [bug#60549] [PATCH 2/5] gnu: Add emacs-citre. References: <20230104124644.19925-1-tumashu@163.com> Date: Sat, 07 Jan 2023 01:00:51 +0100 In-Reply-To: <20230104124644.19925-1-tumashu@163.com> (tumashu@163.com's message of "Wed, 4 Jan 2023 20:46:44 +0800") Message-ID: <87v8ljrz64.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 60549-done Cc: 60549-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, tumashu@163.com writes: > * gnu/packages/emacs-xyz.scm (emacs-citre): New variable. Applied, with the changes detailed below. Thank you. > + #~(modify-phases %standard-phases > + (add-after 'unpack 'patch-citre-ctags-program > + (lambda* (#:key inputs #:allow-other-keys) > + (emacs-substitute-sexps "citre-ctags.el" > + ("defcustom citre-ctags-program" > + (string-append (assoc-ref inputs "universal-ctags") > + "/bin/ctags"))))) > + (add-after 'unpack 'patch-citre-readtags-program > + (lambda* (#:key inputs #:allow-other-keys) > + (emacs-substitute-sexps "citre-readtags.el" > + ("defcustom citre-readtags-program" > + (string-append (assoc-ref inputs "universal-ctags") > + "/bin/readtags"))))) > + (add-after 'unpack 'patch-citre-gtags-program > + (lambda* (#:key inputs #:allow-other-keys) > + (emacs-substitute-sexps "citre-global.el" > + ("defcustom citre-gtags-program" > + (string-append (assoc-ref inputs "global") > + "/bin/gtags"))))) > + (add-after 'unpack 'patch-citre-global-program > + (lambda* (#:key inputs #:allow-other-keys) > + (emacs-substitute-sexps "citre-global.el" > + ("defcustom citre-global-program" > + (string-append (assoc-ref inputs "global") > + "/bin/global")))))))) I merged everything into a single phase and used more specific `emacs-substitute-variables' instead of `emacs-substitute-sexps'. > + (inputs (list global universal-ctags)) > + (home-page "https://github.com/universal-ctags/citre") > + (synopsis "Ctags IDE on the True Editor") > + (description > + "Citre is an advanced Ctags (or actually, readtags) frontend for > +Emacs. It offers: > + > +@itemize > +@item completion-at-point, xref and imenu integration. > +@item citre-jump: A completing-read UI for jumping to definition. > +@item citre-peek: A powerful code reading tool that lets you go down the > +rabbit hole without leaving current buffer. > +@end itemize\n") I reworded the description. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 07 02:16:29 2023 Received: (at 60549-done) by debbugs.gnu.org; 7 Jan 2023 07:16:29 +0000 Received: from localhost ([127.0.0.1]:56346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE3RM-0005z3-Vq for submit@debbugs.gnu.org; Sat, 07 Jan 2023 02:16:29 -0500 Received: from m12.mail.163.com ([220.181.12.214]:42832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE3RJ-0005yK-73 for 60549-done@debbugs.gnu.org; Sat, 07 Jan 2023 02:16:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=4kSbdiiAZnE8SDevzyXhPw2tZaVDxZ5wWpji6gm3gXQ=; b=aGaWgRJSgGFDUyc1wj49gdFtgO9tQSiJ8aGkfTgfF92gs8DmWrRnb+vcgICXhx z3ZBtwVP44/nQE57d3t1DyF2bnfQZZBn19JLfU/4++K7TyqmJx/otkKRxoawO8+i VPJyJwznxWlrDpPgTZZEqrIFL9ErZ1QpHHAr98m1DHTrE= Received: from Guix (unknown [49.88.145.87]) by zwqz-smtp-mta-g4-3 (Coremail) with SMTP id _____wCnR_M2HLljBtJCAA--.25344S2; Sat, 07 Jan 2023 15:16:06 +0800 (CST) From: Feng Shu To: Nicolas Goaziou Subject: Re: [bug#60549] [PATCH 2/5] gnu: Add emacs-citre. In-Reply-To: <87v8ljrz64.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 07 Jan 2023 01:00:51 +0100") References: <20230104124644.19925-1-tumashu@163.com> <87v8ljrz64.fsf@nicolasgoaziou.fr> Date: Sat, 07 Jan 2023 15:16:06 +0800 Message-ID: <87v8lix1ah.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: _____wCnR_M2HLljBtJCAA--.25344S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjTE73sFUUUUU X-Originating-IP: [49.88.145.87] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRRzv1GDuyR+NtgAAsB X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60549-done Cc: 60549-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Nicolas Goaziou writes: Hello: emacs-citre now get the wrong ctags path, for emacs has ctags too. :-) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-emacs-cire-Search-proper-ctags-program.patch >From 9b69ed1524cbe3aa3cb75b44fcb7453b43ee06c2 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 7 Jan 2023 15:07:14 +0800 Subject: [PATCH] gnu: emacs-cire: Search proper ctags program * gnu/packages/emacs-xyz.scm (emacs-citre) [arguments]<#:phases>: Do not use search-input-file to search ctags, for it will get ctags of emacs-minimal instead of universal-ctags. --- gnu/packages/emacs-xyz.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index b6024925ec..4e7aa568ea 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34170,7 +34170,11 @@ (define-public emacs-citre (lambda* (#:key inputs #:allow-other-keys) (emacs-substitute-variables "citre-ctags.el" ("citre-ctags-program" - (search-input-file inputs "/bin/ctags"))) + ;; NOTE: Do not use search-input-file in this place, for it + ;; will get ctags of emacs-minimal instead of + ;; universal-ctags. + (string-append (assoc-ref inputs "universal-ctags") + "/bin/ctags"))) (emacs-substitute-variables "citre-readtags.el" ("citre-readtags-program" (search-input-file inputs "/bin/readtags"))) -- 2.38.1 --=-=-= Content-Type: text/plain > Hello, > > tumashu@163.com writes: > >> * gnu/packages/emacs-xyz.scm (emacs-citre): New variable. > > Applied, with the changes detailed below. Thank you. > >> + #~(modify-phases %standard-phases >> + (add-after 'unpack 'patch-citre-ctags-program >> + (lambda* (#:key inputs #:allow-other-keys) >> + (emacs-substitute-sexps "citre-ctags.el" >> + ("defcustom citre-ctags-program" >> + (string-append (assoc-ref inputs "universal-ctags") >> + "/bin/ctags"))))) >> + (add-after 'unpack 'patch-citre-readtags-program >> + (lambda* (#:key inputs #:allow-other-keys) >> + (emacs-substitute-sexps "citre-readtags.el" >> + ("defcustom citre-readtags-program" >> + (string-append (assoc-ref inputs "universal-ctags") >> + "/bin/readtags"))))) >> + (add-after 'unpack 'patch-citre-gtags-program >> + (lambda* (#:key inputs #:allow-other-keys) >> + (emacs-substitute-sexps "citre-global.el" >> + ("defcustom citre-gtags-program" >> + (string-append (assoc-ref inputs "global") >> + "/bin/gtags"))))) >> + (add-after 'unpack 'patch-citre-global-program >> + (lambda* (#:key inputs #:allow-other-keys) >> + (emacs-substitute-sexps "citre-global.el" >> + ("defcustom citre-global-program" >> + (string-append (assoc-ref inputs "global") >> + "/bin/global")))))))) > > I merged everything into a single phase and used more specific > `emacs-substitute-variables' instead of `emacs-substitute-sexps'. > >> + (inputs (list global universal-ctags)) >> + (home-page "https://github.com/universal-ctags/citre")> + (synopsis "Ctags IDE on the True Editor") >> + (description >> + "Citre is an advanced Ctags (or actually, readtags) frontend for >> +Emacs. It offers: >> + >> +@itemize >> +@item completion-at-point, xref and imenu integration. >> +@item citre-jump: A completing-read UI for jumping to definition. >> +@item citre-peek: A powerful code reading tool that lets you go down the >> +rabbit hole without leaving current buffer. >> +@end itemize\n") > > I reworded the description. > > Regards, -- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 07 06:11:41 2023 Received: (at 60549-done) by debbugs.gnu.org; 7 Jan 2023 11:11:41 +0000 Received: from localhost ([127.0.0.1]:56547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE76z-00043l-2I for submit@debbugs.gnu.org; Sat, 07 Jan 2023 06:11:41 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:53487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pE76x-00043W-9Y for 60549-done@debbugs.gnu.org; Sat, 07 Jan 2023 06:11:40 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 97034240005; Sat, 7 Jan 2023 11:11:30 +0000 (UTC) From: Nicolas Goaziou To: Feng Shu Subject: Re: [bug#60549] [PATCH 2/5] gnu: Add emacs-citre. References: <20230104124644.19925-1-tumashu@163.com> <87v8ljrz64.fsf@nicolasgoaziou.fr> <87v8lix1ah.fsf@163.com> Date: Sat, 07 Jan 2023 12:11:28 +0100 In-Reply-To: <87v8lix1ah.fsf@163.com> (Feng Shu's message of "Sat, 07 Jan 2023 15:16:06 +0800") Message-ID: <87ilhisiov.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 60549-done Cc: 60549-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Feng Shu writes: > emacs-citre now get the wrong ctags path, for emacs has ctags too. :-) Indeed! I applied your patch, but used `this-package-input' instead of (assoc-ref =E2=80=A6). Thank you. Regards, --=20 Nicolas Goaziou From unknown Sun Jun 22 04:16:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Feb 2023 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator