From unknown Fri Jun 20 20:11:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61756 <61756@debbugs.gnu.org> To: bug#61756 <61756@debbugs.gnu.org> Subject: Status: [PATCH 5/8] gnu: Add emacs-xcscope. Reply-To: bug#61756 <61756@debbugs.gnu.org> Date: Sat, 21 Jun 2025 03:11:52 +0000 retitle 61756 [PATCH 5/8] gnu: Add emacs-xcscope. reassign 61756 guix-patches submitter 61756 Rostislav Svoboda severity 61756 normal tag 61756 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 09:19:26 2023 Received: (at submit) by debbugs.gnu.org; 24 Feb 2023 14:19:26 +0000 Received: from localhost ([127.0.0.1]:36433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYv0-0007Li-E9 for submit@debbugs.gnu.org; Fri, 24 Feb 2023 09:19:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:52792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVYut-0007Kx-DG for submit@debbugs.gnu.org; Fri, 24 Feb 2023 09:19:19 -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 1pVYut-0004M9-7C for guix-patches@gnu.org; Fri, 24 Feb 2023 09:19:19 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVYur-0006Xb-G7 for guix-patches@gnu.org; Fri, 24 Feb 2023 09:19:18 -0500 Received: by mail-ed1-x534.google.com with SMTP id ec43so54813445edb.8 for ; Fri, 24 Feb 2023 06:19:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YscGq+G4ybVRQZ79zrsv4spXPEiIZO+opBPo5CVxqss=; b=qjVkanLl+qiNrinzsVFVS1fc70eQmE2+NepKU5VcOIh92fDKYoufJd3+V09yyOFO10 OiuBLyCveRqGRZcfZfMuglmGjdqSybQAH6M7n/6SsN2GunIERls7RYQxN3r/pG4c7Z9z YbG6Faj7Bd7kzEIdE87GPWGPENofu5b7ZpI5wOepZHJjXFPj1fuNsaQSrEOjSHiwNUz3 xtLY+CwbqN6nQ/gnLCoNruG+SMOL8GG7A6LxvkOA4MVY2V5lgUQE/HTktY4nA6QPHuc2 EXZAXyOXZ053SzfPdscvTNnRoM3jwiirTqGTSSKOo/KlQkH4N5XAxK7AiiWQCJMvloa/ zmjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YscGq+G4ybVRQZ79zrsv4spXPEiIZO+opBPo5CVxqss=; b=dDwE0WCAGvQyPpAh0JuXaZknbl2ZMxNgQc2nQpbNFP/UMfLR8LaGNmxDYHmLZyyVjn PFLjuxJ7wxLQy5x7fQEaSG5GhtcQupuqTblnggqJ2Wnyj0RjpaX826nR8Y4C+Xt3vgEG IqzYAOhRWF8sQucBLaxB0xkU6LzCfxEbezj5s3C2ygTb9NmcQv3oB3j6+tJj2xOEBO52 Hu8mcjbXtn0UXGWz2zDMICZpx42eaql0Ovx7ROYT37HxcJQagq3eHuXe987/1Ys92sth gKzmONeqQEifLVV8aEmItGdZt2K5Xn5/K2O3XspOImbdgxB0OCIlYSIJhj3PhSOPcmX7 ECuA== X-Gm-Message-State: AO0yUKWuCTsiqySR/y8SyGmncXG9pR74bv0keC+mbJ4/miW+DnAVIQ3N ikYCcuUy9gDEjjiwDITbmwCAFZoRtI4= X-Google-Smtp-Source: AK7set825ESmdvh17h7IzW6C5HMPJ1puN9Em0hdtSKRGfc0KVQ7yBqefYeqI9gWg4D7QqqY31wuorQ== X-Received: by 2002:aa7:cfd1:0:b0:4ab:2555:408a with SMTP id r17-20020aa7cfd1000000b004ab2555408amr16292619edy.22.1677248355689; Fri, 24 Feb 2023 06:19:15 -0800 (PST) Received: from ecke.fritz.box ([77.189.62.193]) by smtp.googlemail.com with ESMTPSA id e17-20020a50a691000000b004accf3a63cbsm5170016edc.68.2023.02.24.06.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 06:19:15 -0800 (PST) From: Rostislav Svoboda X-Google-Original-From: Rostislav Svoboda To: guix-patches@gnu.org Subject: [PATCH 5/8] gnu: Add emacs-xcscope. Date: Fri, 24 Feb 2023 15:18:16 +0100 Message-Id: <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=rostislav.svoboda@gmail.com; helo=mail-ed1-x534.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Rostislav Svoboda 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.3 (--) --- gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a024ddec6a..b444ab0da0 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -36086,6 +36086,26 @@ (define-public emacs-vertico-posframe a vertical completion UI.") (license license:gpl3+))) +(define-public emacs-xcscope + (package + (name "emacs-xcscope") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dkogan/xcscope.el") + (commit "d228d7593d762e457340f678d14b663ef66d7cee"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d")))) + (build-system emacs-build-system) + (home-page "https://github.com/dkogan/xcscope.el") + (synopsis "cscope interface for (X)Emacs") + (description + "cscope interface for (X)Emacs") + (license license:gpl3+))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 10:43:11 2023 Received: (at 61756) by debbugs.gnu.org; 8 Mar 2023 15:43:11 +0000 Received: from localhost ([127.0.0.1]:49992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvwd-0007zK-2C for submit@debbugs.gnu.org; Wed, 08 Mar 2023 10:43:11 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:49497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZvwb-0007z6-M8 for 61756@debbugs.gnu.org; Wed, 08 Mar 2023 10:43:10 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 535F1100004; Wed, 8 Mar 2023 15:42:59 +0000 (UTC) From: Nicolas Goaziou To: Rostislav Svoboda Subject: Re: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope. References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> Date: Wed, 08 Mar 2023 16:42:53 +0100 In-Reply-To: <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> (Rostislav Svoboda's message of "Fri, 24 Feb 2023 15:18:16 +0100") Message-ID: <87wn3r6ygy.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: 61756 Cc: 61756@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, Rostislav Svoboda writes: > +(define-public emacs-xcscope Thank you. Some comments follow. > + (package You need to let-bind commit and revision (set to "0" initially) around here. > + (name "emacs-xcscope") > + (version "1.0") Here, you should use (git-version "1.0" revision commit) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/dkogan/xcscope.el") > + (commit "d228d7593d762e457340f678d14b663ef66d7cee"))) This should be (commit commit) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d"))= )) > + (build-system emacs-build-system) You also need to add `cscope' as an input, and patch "xscope.el" so `cscope-program' point to the proper binary, using `emacs-substitute-variables'. See, e.g., emacs-plz package for an example. > + (home-page "https://github.com/dkogan/xcscope.el") > + (synopsis "cscope interface for (X)Emacs") cscope -> Cscope. You can also drop (X) from (X)Emacs. > + (description > + "cscope interface for (X)Emacs") This should be a full sentence (with proper capitalization). > + (license license:gpl3+))) License is actually license:gpl2+, per headers in xscope.el file. > ;;; Avoid adding new packages to the end of this file. To reduce the cha= nces > ;;; of a merge conflict, place them above by existing packages with simi= lar ^ Hmmmmm=E2=80=A6 Could you send an updated patch, with another location for the package definition, and a proper commit message? Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 11 06:59:57 2023 Received: (at 61756) by debbugs.gnu.org; 11 Mar 2023 11:59:57 +0000 Received: from localhost ([127.0.0.1]:56689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxtF-0003Wk-GO for submit@debbugs.gnu.org; Sat, 11 Mar 2023 06:59:57 -0500 Received: from mail-lj1-f173.google.com ([209.85.208.173]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paxtD-0003WQ-5e for 61756@debbugs.gnu.org; Sat, 11 Mar 2023 06:59:55 -0500 Received: by mail-lj1-f173.google.com with SMTP id a32so8024201ljr.9 for <61756@debbugs.gnu.org>; Sat, 11 Mar 2023 03:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678535989; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2DOp70h1A0j7EoLpE8gAjC8Yvo82H0OHDeDOKJHatKk=; b=HqWVm2bJX8wEQ2bQGe6R8Fv2cFaJJsIalg3Y5ETm7Xw7RBcUrqEBDZikxHn8IaTn62 snF95SdrX25HlBF9jYzdd30pcVy6b2ccfGripsK/0aUkfaUQiw0WR4jbTE+TwKrmeXJ5 tQ2X+aBrisV03i9hahvEQ4Dkm36jXkM91dAjr8diIku/6PfBplOkxWsGoyDFoBLQ7kQ7 /HAUOHvPr86w+Me/dGCIgXg4e/PSaVqXMS7lRhnxOavIhV1ITn9gwrq8JvNrG55X5qq4 ZPVZTMUwL8mBQ/9pXiVFT10o7eXMdMIm40xD1gImWBVsK0qoCO2mJYCiBbx8iY5p2WAY 41wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678535989; 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=2DOp70h1A0j7EoLpE8gAjC8Yvo82H0OHDeDOKJHatKk=; b=k3Sj8b0icTCPWkegDqqRtp0Jf7BYfF2rAAIXHoWPLAw/F9t3m8les9lgW6QmLjw1in cxoA1KEIxdgAEGyOPmE4xtwA05gJS7xQkoxW/ZLeoFZHy+fhX0dBQ/e8KWp9m6hOKreE mh5Ze/903+XSJ5SAtPisBwxppLarl6ouj5gr4OJ/2rnl+2SpqbDdjepkVJv9QmaXtKp0 n8hMkT6QkD/djVV2F2WvGEd9Bm1sg+T+aCVBhuBGgtAGoLPI+oSz7cq6tFX7/bhGk9C1 9eQv+VMS5lChDIaYDkjjf/UVPUT9xQKu4Dtm5EhyKtpJUipfQInAbn5qkaA40dLXmrM/ DnXg== X-Gm-Message-State: AO0yUKWLYxG8GC6KZmjwFygsKSVqQHAScj2GKf+L1lFmMs9pl17WBWTA X7qm0OZ9K9kjXGmB5Svc39W0xRf90ngE+m4aCLQ= X-Google-Smtp-Source: AK7set8SXV2WYEZido/tUS/i/cglpr/bh5ItnzH9EiciWvBFnI2r2fGxYdQyzWIKQffKa0EHpS1xhqNttKx3GFvGqkY= X-Received: by 2002:a05:651c:1696:b0:295:a9bd:1be0 with SMTP id bd22-20020a05651c169600b00295a9bd1be0mr8938036ljb.6.1678535988861; Sat, 11 Mar 2023 03:59:48 -0800 (PST) MIME-Version: 1.0 References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> <87wn3r6ygy.fsf@nicolasgoaziou.fr> In-Reply-To: <87wn3r6ygy.fsf@nicolasgoaziou.fr> From: Rostislav Svoboda Date: Sat, 11 Mar 2023 12:59:12 +0100 Message-ID: Subject: Re: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope. To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61756 Cc: 61756@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 (-) Hello Nicolas > Could you send an updated patch, with another location for the package > definition, and a proper commit message? The patch is below. I hope I didn't miss any of your points. (And thanks for reviewing my patches.) Regards Bost >From 95a4714eaa36608f5c3002d769516346b6df3d99 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Sat, 11 Mar 2023 12:50:08 +0100 Subject: [PATCH] gnu: Add emacs-xcscope. * gnu/packages/emacs-xyz.scm (emacs-xcscope): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 13caf6e882..0c440def40 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4176,6 +4176,39 @@ (define-public emacs-form-feed into mode hooks and is intended to be used that way.") (license license:gpl3+))) +(define-public emacs-xcscope + (let ((commit "d228d7593d762e457340f678d14b663ef66d7cee") + (revision "1.0")) + (package + (name "emacs-xcscope") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dkogan/xcscope.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d")))) + (build-system emacs-build-system) + (inputs + (list cscope)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-cscope-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "xcscope.el" + ("cscope-program" (search-input-file inputs "/bin/cscope")))))))) + (home-page "https://github.com/dkogan/xcscope.el") + (synopsis "Interface to the source cross-referencing tool Cscope") + (description + "Xcscope is an Emacs interface to Cscope, the source cross-referencing tool. + See https://cscope.sf.net") + (license license:gpl2+)))) + (define-public emacs-ggtags (package (name "emacs-ggtags") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 11 08:09:30 2023 Received: (at 61756) by debbugs.gnu.org; 11 Mar 2023 13:09:30 +0000 Received: from localhost ([127.0.0.1]:56766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1payyX-0001pt-Pb for submit@debbugs.gnu.org; Sat, 11 Mar 2023 08:09:30 -0500 Received: from mail-lf1-f44.google.com ([209.85.167.44]:39466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1payyV-0001pf-NI for 61756@debbugs.gnu.org; Sat, 11 Mar 2023 08:09:28 -0500 Received: by mail-lf1-f44.google.com with SMTP id i9so10146434lfc.6 for <61756@debbugs.gnu.org>; Sat, 11 Mar 2023 05:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678540161; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TUKU5goVxbaz2ZFAVYPzwROlqcvS5q+ig9cvxObqHC0=; b=UGyFA1UXL7XBziegoy1mCzGBVNCesKVr08BOzL9qT8Kvy0tDZ4u9ZnkzG+/nme2j/6 +tuevVwqXgaTEIQ80wEqnL/M+3eSj/mqcfw4fRLrcf+d+PuOrP6tS5XXyBwmRm/Yfxso +Vjyjs9vwd4THxLfdXjA8ePofRyE+qSPJYgQOS6Qvt+aAJ59TCXqWxFvk7gzLDs1cDIG bgffF5DTREwQY1zyl4kF3POLSO1AIQE8tpBqdokvelPtANo+b2KWObPqZZnzHQRfvqGi H5CAoPyurO19AuUDt777W/LiUm3iY2wG5lHlbVSchx4ya+E9sbLvzQ97c4g/Bf8YsY1j BluQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678540161; 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=TUKU5goVxbaz2ZFAVYPzwROlqcvS5q+ig9cvxObqHC0=; b=IR1X4+K+QF/rFJNGs1WdafKn4Iz8t1aVtCoa1glO/B/v2Hs84QIKIAha5Zp4iBvUoN 86M0OtQC4RAmz9ZQRMAzqd0UWBbjjAERUHoLdxAmtWsYCEV3FTWKhF0/0aUeZWNGEc0N T2hHMfKy4woK/J3NAe5fgt4Z7GMhL9fBKTxAZfw5RxKnd1LR+fn/gqZ72s1eW3MfvzfY UP/XVBMByjU8TbxK7x0NQVGr7t4YGaKCHnJY4il6HRbAW5mjJ/JqGu/E/0Sd/grffDSA o32JYCsIU5iBfMrh5G/6gacZ5yQ06uv72n2YPM58XL4IK+3HfCfiwDIMnuF/NRho0gFr 3fmg== X-Gm-Message-State: AO0yUKX0CTLSQlxI+/eWyGSmu/wpuVE0bBG25TJ+heIwDm7XyeD93+x9 tf0qpHPEig+8kpScbz6g3tW7KOk6/JkTmM4wkWc= X-Google-Smtp-Source: AK7set8cGDz2UpAMq9JIXpgPAgy/T93sQHIJTT6jS5UbVmUxGuh/ByZ/ktZBOAc0r+qGfyvUFwvsL26JXFMAnn6OVfc= X-Received: by 2002:a05:6512:3c3:b0:4d8:63cd:bd26 with SMTP id w3-20020a05651203c300b004d863cdbd26mr9133848lfp.10.1678540161271; Sat, 11 Mar 2023 05:09:21 -0800 (PST) MIME-Version: 1.0 References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> <87wn3r6ygy.fsf@nicolasgoaziou.fr> In-Reply-To: <87wn3r6ygy.fsf@nicolasgoaziou.fr> From: Rostislav Svoboda Date: Sat, 11 Mar 2023 14:08:45 +0100 Message-ID: Subject: Re: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope. To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61756 Cc: 61756@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 (-) Hello, I'm resending the patch yet again. See below. I missed that '(revision "0")' and didn't run `guix lint`. (Sorry, I'm learning) > You also need to add `cscope' as an input, and patch "xscope.el" so > `cscope-program' point to the proper binary, using > `emacs-substitute-variables'. See, e.g., emacs-plz package for an > example. `guix style` makes this line too long. I guess I can ignore that, right? Regards Bost >From 57e30de01ab56f5917580e43f69ce558187432fb Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Sat, 11 Mar 2023 12:50:08 +0100 Subject: [PATCH 1/3] gnu: Add emacs-xcscope. * gnu/packages/emacs-xyz.scm (emacs-xcscope): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 13caf6e882..509c640b78 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4176,6 +4176,39 @@ (define-public emacs-form-feed into mode hooks and is intended to be used that way.") (license license:gpl3+))) +(define-public emacs-xcscope + (let ((commit "d228d7593d762e457340f678d14b663ef66d7cee") + (revision "0")) + (package + (name "emacs-xcscope") + (version (git-version "1.5" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dkogan/xcscope.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d")))) + (build-system emacs-build-system) + (inputs (list cscope)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-cscope-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "xcscope.el" + ("cscope-program" (search-input-file + inputs "/bin/cscope")))))))) + (home-page "https://github.com/dkogan/xcscope.el") + (synopsis "Interface to the source cross-referencing tool Cscope") + (description + "Xcscope is an Emacs interface to Cscope, the source cross-referencing +tool. See https://cscope.sf.net") + (license license:gpl2+)))) + (define-public emacs-ggtags (package (name "emacs-ggtags") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 15 19:28:33 2023 Received: (at 61756-done) by debbugs.gnu.org; 15 Mar 2023 23:28:33 +0000 Received: from localhost ([127.0.0.1]:40730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcaXo-0005tx-Oy for submit@debbugs.gnu.org; Wed, 15 Mar 2023 19:28:32 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcaXm-0005th-Qm for 61756-done@debbugs.gnu.org; Wed, 15 Mar 2023 19:28:31 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 4AE7640003; Wed, 15 Mar 2023 23:28:24 +0000 (UTC) From: Nicolas Goaziou To: Rostislav Svoboda Subject: Re: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope. References: <20230224141819.12675-1-Rostislav.Svoboda@gmail.com> <20230224141819.12675-5-Rostislav.Svoboda@gmail.com> <87wn3r6ygy.fsf@nicolasgoaziou.fr> Date: Thu, 16 Mar 2023 00:28:23 +0100 In-Reply-To: (Rostislav Svoboda's message of "Sat, 11 Mar 2023 14:08:45 +0100") Message-ID: <87ttylbnmw.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: 61756-done Cc: 61756-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, Rostislav Svoboda writes: > I'm resending the patch yet again. See below. I missed that > '(revision "0")' and didn't run `guix lint`. (Sorry, I'm learning) Applied. Thank you. > `guix style` makes this line too long. I guess I can ignore that, > right? Indeed. Regards, -- Nicolas Goaziou From unknown Fri Jun 20 20:11:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 13 Apr 2023 11: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