From unknown Fri Sep 12 16:03:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32614] [PATCH] emacs-irony-mode Resent-From: Tim Gesthuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Sep 2018 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32614@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153591617725757 (code B ref -1); Sun, 02 Sep 2018 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Sep 2018 19:22:57 +0000 Received: from localhost ([127.0.0.1]:43311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwXxZ-0006hN-6W for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwXxW-0006h7-KV for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwXxQ-0005nR-Dx for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwXxQ-0005nH-93 for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwXxM-0005aP-UN for guix-patches@gnu.org; Sun, 02 Sep 2018 15:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwXrK-0003Yz-Fw for guix-patches@gnu.org; Sun, 02 Sep 2018 15:16:33 -0400 Received: from sonic304-23.consmr.mail.ir2.yahoo.com ([77.238.179.148]:44941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwXrJ-0003XQ-OL for guix-patches@gnu.org; Sun, 02 Sep 2018 15:16:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1535915787; bh=dFeQI51VHKAnlYlAcJANb0RQZRM7CspDBofXa9D31cU=; h=To:From:Subject:Date:From:Subject; b=WS2r31KLuOxd5SEQ/gQ0U4gqy8U6V/MD/kVUqm40nrucht8cuIijeYV1l5KaD+vcpTLK2EaA0HzZ+wDLSSBUxe1wxxy2Ka6wL+tzzTLPqOUEDhAws38tvuD6NDPFF5uGE/4CNnxh8nUIpxCQIEKqyf/JrcXG8VXjOmcZ6XZrIcYZLSpQDGhyMQrMAD0VXCJnr9mcp0X4yLG+vkKGP9VSBI4Y0nWBX/XVShatethKOy3DE0lvtlN6eU5MZ6WTpi2CfSQiRd4XVAQMaGWLN8iV/Uzd3EHIOFuKQopJMDdxL5b60u+MywNKOH9Wz3miRfvnOBHbEChuxj5l0QPqw1gNKw== X-YMail-OSG: 9BIRHRsVM1n98VNBhWoTyQPWsarkOUJ.wHj4a4XmjsePWYfLiKp8lQNPibr2jzP LVueqGuRZxuWI9RTozrjKk5GrueQtgaGuLTMWsFDVN.pS2MiSCJpLjitJ8TAZyg6_BK101OM2dQi 9.CB1dsx89sklds3GQBNuuRdV1Pz803_UEbb8JnTbMe1bJRV.LcA5Chc.z_aOr4eLePJqk.bJJZ9 aWoRq3Qb98JYmlRq4zbuksQpHxlKH48JGAC9bZLVRe4AVeGp.yYenSwV1g50SM0QeicpN215siAe iUUzhTpbQUEMHBRnV3eHBjSnvCMpMKyGWtah3RPb1Jj2QWCEfgvVWkqDA1c.rSm8NezCATLtT9YP GpoRVdJhzLrIpR0hi3.cUAUC3ajUKXqwux8SyY5_MMkq0GY63iBoBiZqbUuyK3tt3ELEj7GU9G2Q IaZCe45JE0Exd7r9XGNnj3ShI9K9GhTOvumlehjY4N6Hj8uBIs48zdKS_6s.snUi8JZY0IR9rSIJ bljq_.nr1rSdGIuBbLm5JabYUSPz11VEQjHECXOvSwIolNLLX8agwWHHy4OZ26h81Oe1VM9fyBzT NERZ_NekVMtomztgjqnTatfL7ks4Uce4usfIadBF11unnwsUnDYsyRcgSWKbjL94l.ngfzxXadZj fVZzqiXifJbsKF5QZ4t12KXrXg3R3eGjxeHxAoEQMt00dVLwH8vDcbFV2K_lbKP._QLD0_0Lg_B3 786pdDzBlnlTmW1hB5JvjP3DbWXl8am.4ab5_1UByGqAizowjEr9_OW1CKozMEmtcnClxAPSjNIT I0tkUGfe8zzauFBNfGwK.IyZNNQk1P8e1IEfWHilJJlxUJXlIm6BpLRLoUzn9gd3.oVfwrBdyMTo wffXzZ6CNKgazApphFA1IDSQ_eTdEoSaIl8spc8GHxG_C8JRLBB8KxuAzW8Kspreawg0lJyA5iNq Eiqx65JgAALSri4mS5LCcuYFuCnipR5M8MxT5gwIw51GafqpOHmDoNz2DoOPuyB1nxqLXK8l.S_T gIptA4ieGTBr.TuQcmLaH Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Sun, 2 Sep 2018 19:16:27 +0000 Received: from p3EE27358.dip0.t-ipconnect.de (EHLO [192.168.178.27]) ([62.226.115.88]) by smtp405.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3bbe8926494ceade098872d1776a09bb for ; Sun, 02 Sep 2018 19:16:24 +0000 (UTC) From: Tim Gesthuizen Message-ID: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> Date: Sun, 2 Sep 2018 21:16:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1E29E7B36229292FF202A8CC" Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) 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: -5.4 (-----) This is a multi-part message in MIME format. --------------1E29E7B36229292FF202A8CC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, The attached patch adds emacs-irony-mode. It is also packaged in MELPA so it is definitely free software. If there are problems with the description or synopsis just let me know and I will change the patch accordingly. Best regards, Tim Gesthuizen --------------1E29E7B36229292FF202A8CC Content-Type: text/x-patch; name="0001-gnu-Add-emacs-irony-mode.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-emacs-irony-mode.patch" >From 6975ba9e4b005c77f00d7f2187b5d8047f15ba07 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Thu, 30 Aug 2018 17:39:57 +0200 Subject: [PATCH] gnu: Add emacs-irony-mode --- gnu/packages/emacs.scm | 49 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 08554280c..1ef5ebde5 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -63,6 +63,7 @@ #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) @@ -84,6 +85,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg) #:use-module (gnu packages lesstif) + #:use-module (gnu packages llvm) #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages version-control) @@ -2724,6 +2726,41 @@ front-ends. Company comes with many back-ends, e.g. @code{company-elisp}. These are distributed in separate files and can be used individually.") (license license:gpl3+))) +(define-public emacs-irony-mode + (package + (name "emacs-irony-mode") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Sarcasm/irony-mode/archive/v" + version ".tar.gz")) + (sha256 (base32 "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99")))) + (build-system emacs-build-system) + (arguments '()) + (propagated-inputs + `(("emacs-irony-mode-server" ,emacs-irony-mode-server))) + (home-page "https://github.com/Sarcasm/irony-mode") + (synopsis "Clang autocompletion and syntax checking integration for GNU Emacs") + (description "Provides clang assisted syntax checking and autocompletion + for C,C++ and ObjC.") + (license license:gpl3))) + +(define-public emacs-irony-mode-server + (package (inherit emacs-irony-mode) + (name "emacs-irony-mode-server") + (propagated-inputs + `(("clang" ,clang))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "cmake" + "server" + (string-append "-DCMAKE_INSTALL_PREFIX=" out)))))))) + (build-system cmake-build-system))) + (define-public emacs-company-quickhelp (package (name "emacs-company-quickhelp") @@ -8048,13 +8085,13 @@ Anzu.zim.") (name "emacs-emmet-mode") (version "1.0.8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/smihica/emmet-mode" - "/archive/" version ".tar.gz")) + (method url-fetch) + (uri (string-append "https://github.com/smihica/emmet-mode" + "/archive/" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) + (sha256 + (base32 + "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) (build-system emacs-build-system) (home-page "https://github.com/smihica/emmet-mode") (synopsis "Unofficial Emmet's support for Emacs") -- 2.18.0 --------------1E29E7B36229292FF202A8CC-- From unknown Fri Sep 12 16:03:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32614] [PATCH] emacs-irony-mode Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Sep 2018 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tim Gesthuizen Cc: 32614@debbugs.gnu.org Received: via spool by 32614-submit@debbugs.gnu.org id=B32614.153601061131632 (code B ref 32614); Mon, 03 Sep 2018 21:37:01 +0000 Received: (at 32614) by debbugs.gnu.org; 3 Sep 2018 21:36:51 +0000 Received: from localhost ([127.0.0.1]:44692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwwWd-0008E4-GR for submit@debbugs.gnu.org; Mon, 03 Sep 2018 17:36:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwwWb-0008Dt-Iv for 32614@debbugs.gnu.org; Mon, 03 Sep 2018 17:36:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwwWV-0008HB-1Q for 32614@debbugs.gnu.org; Mon, 03 Sep 2018 17:36:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwwWU-0008Gt-TJ; Mon, 03 Sep 2018 17:36:38 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49142 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwwWU-0005Mn-Ls; Mon, 03 Sep 2018 17:36:38 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Fructidor an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 03 Sep 2018 23:36:37 +0200 In-Reply-To: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> (Tim Gesthuizen's message of "Sun, 2 Sep 2018 21:16:23 +0200") Message-ID: <87h8j6uuu2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -6.0 (------) Hello Tim, Tim Gesthuizen skribis: > The attached patch adds emacs-irony-mode. > It is also packaged in MELPA so it is definitely free software. > If there are problems with the description or synopsis just let me know > and I will change the patch accordingly. Thanks for the patch! I have some suggestions and comments below, but overall it LGTM: > From 6975ba9e4b005c77f00d7f2187b5d8047f15ba07 Mon Sep 17 00:00:00 2001 > From: Tim Gesthuizen > Date: Thu, 30 Aug 2018 17:39:57 +0200 > Subject: [PATCH] gnu: Add emacs-irony-mode > > --- > gnu/packages/emacs.scm | 49 ++++++++++++++++++++++++++++++++++++------ Please run =E2=80=98git log gnu/packages/emacs.scm=E2=80=99 to see our conv= entions for commit logs, or see . (We can always fix it up for you though, it=E2=80=99s no big deal.) > + (home-page "https://github.com/Sarcasm/irony-mode") > + (synopsis "Clang autocompletion and syntax checking integration for = GNU Emacs") It=E2=80=99s a bit long. Perhaps: =E2=80=9CCode completion and syntax chec= ks for Emacs=E2=80=9D? > + (description "Provides clang assisted syntax checking and autocomple= tion > + for C,C++ and ObjC.") Please make a full sentence, as per . > + (license license:gpl3))) Isn=E2=80=99t it =E2=80=98gpl3+=E2=80=99, meaning =E2=80=9Cversion 3 or any= later version, at your option=E2=80=9D? > +(define-public emacs-irony-mode-server > + (package (inherit emacs-irony-mode) > + (name "emacs-irony-mode-server") > + (propagated-inputs > + `(("clang" ,clang))) Instead of propagating Clang, which clutters the user=E2=80=99s profile, do= you think we could patch the .el files such that they refer to =E2=80=98clang= =E2=80=99 by its absolute file name? See =E2=80=98emacs-emms=E2=80=99 for an example of= that. > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'configure > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (invoke "cmake" > + "server" > + (string-append "-DCMAKE_INSTALL_PREFIX=3D" out)))= ))))) Please return #t at the end of the phase. > (source (origin > - (method url-fetch) > - (uri (string-append "https://github.com/smihica/emmet-mode" > - "/archive/" version ".tar.gz")) > + (method url-fetch) > + (uri (string-append "https://github.com/smihica/emmet-mode" > + "/archive/" version ".tar.gz")) > (file-name (string-append name "-" version ".tar.gz")) > - (sha256 > - (base32 > - "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) > + (sha256 > + (base32 > + "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))= )) This change is unnecessary and unrelated; could you remove it? Could you send an updated patch? Thank you! Ludo=E2=80=99. From unknown Fri Sep 12 16:03:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#32614] [PATCH] emacs-irony-mode Resent-From: Tim Gesthuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Sep 2018 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32614 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32614@debbugs.gnu.org Received: via spool by 32614-submit@debbugs.gnu.org id=B32614.153608593530875 (code B ref 32614); Tue, 04 Sep 2018 18:33:02 +0000 Received: (at 32614) by debbugs.gnu.org; 4 Sep 2018 18:32:15 +0000 Received: from localhost ([127.0.0.1]:45983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxG7b-00081v-5F for submit@debbugs.gnu.org; Tue, 04 Sep 2018 14:32:15 -0400 Received: from sonic302-21.consmr.mail.ir2.yahoo.com ([87.248.110.84]:46401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxG7Z-00081e-Ex for 32614@debbugs.gnu.org; Tue, 04 Sep 2018 14:32:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1536085927; bh=28R+0vjZqFkK1gKNAi47bgQN8ve1ja9swU4kcNCNM74=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=a45bsIllTG21pVqQqwAj9EBK3Sluf43tNEc82GiMtA4OvTOkGAkSdyr69vVycT/odWc/f6s8x8dV+3mV9uZmXOsaBm3GKwIHI3BOtEEtUj0oou0OuaT6MoU/1yjFyDstGx/zvYtthzQcejF+vxma+uaAjt2IFAvG4NZ+YEvScnIm2hdm9ibRSVO8i33EqZgxgvQ66cl76QLZJgLGzG32bB+h+O+HRf09ygUZrKNr6QLtRw5WStsceSOkDcFyP2ei0hMoE6HDvhGuBkadzN6N8hjvnNSkO9c+R+SEqr/kcQVU5o7qkI3d/+sMg2HS38su7NqotNdP56X3HqBjYNbPXQ== X-YMail-OSG: ifSD5NEVM1nIaW0HTcFdIasNfzYGvrmIAqMrmOgMun_Kd9tk8T48mqYBKIjtJhn geP_Kb6rg4mTj4agcshP3RVj2nPkyoXXCyLvKPAkkLWZricWXnuOKlF.90gP3riXGtZgNK6Le5.z sOe6WgHXQe0jhU2YRulwVWKZIIIF7r7dQnzWIdkKfZ635CqCCeb2eWbTs39yluP.inBT4wrjQhQl 4cRAd5VPLSd4muZ6aBPLqVpWp15Yz5rfYaaw93Qh2xkhnvMWEQ6yk_RuvPFtXAm1Ye9JYmfzx_iz g1NwDMPy._b78cM0S2.fx2L4C.N2rBmKTtc7dnSYHVWy9A6BZ3q.ZVCWVFWslNYD2J5k.3SIBD50 DJmf0FCaNFGGqLTt.raNQB5hgt97h1J6GQLmHRTaoDOY6MrKdy4EfdjjAVOHqT0lB1P2eJhGhWAJ ztpcR16MHkfaZ6dL339gxf0v3rRQSMQY4kKM1JYostZ0b8bJXRxkOw6wlg3JH4djq65bLnWkzAtQ 9Q_GwjP.DUY2XjUhK0sDyBWlWPh6eH_0KTRTXgiXijrdCNJz9Hw0MBsM4Mg40PcYoUyi.AOxYV8w w4nZb7__m16ZTx43n2WyPeYstf1wgeqOoOIj20jAUg3cNeUahUhJrdhUsvweFq2yv8w6NBxJLbOd SSvhmxjCbqYHjnHRDOJeqd041lZNi5dKT5znEg9Ekl49mn.20jVz7RKoQ.72IDwc.CgQa8f6YJuz 0k2ao6LoiUWa5uJzDjqgnHNUpHMZPlCyN7r5KcWIq.3qdOJNvMlCrVqk1VoEmozvLYGKU2646lIT fRRvXaQoYhDhFC9Tqdqwrdhg5lk3twXiv_nMZVS7MtyEqfQHEP4z_JCgeC7YeENakV68ILQyXgfc Dtre20AvbsV7nbqKze5MK_17yd2VC_B00qx4eCPW1vjUiLkrFqVAp7Sq0e88S_TrH_Ki9a7iHQlR Nswx3_knQORHxpB2QDNo.7xiFrjSerum_trKIOs3sFXtAZtEgrE8dn5OOHkIn.62GeZCUU_0_27W Xy3ecZ4veLEji9b3rMGLC0jD5knYY5rZez8ck Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Tue, 4 Sep 2018 18:32:07 +0000 Received: from p5B2213A6.dip0.t-ipconnect.de (EHLO [192.168.178.27]) ([91.34.19.166]) by smtp414.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 78fa7576378bd7bda32f7ef677b8f289; Tue, 04 Sep 2018 18:32:04 +0000 (UTC) References: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> <87h8j6uuu2.fsf@gnu.org> From: Tim Gesthuizen Message-ID: <286e4796-a666-baf6-d10c-00b8a5acf909@yahoo.de> Date: Tue, 4 Sep 2018 20:31:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87h8j6uuu2.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H1kYYxiAdIJwJJaSAdTuLwwINeowAZ52e" X-Spam-Score: 0.0 (/) 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 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --H1kYYxiAdIJwJJaSAdTuLwwINeowAZ52e Content-Type: multipart/mixed; boundary="TCaBSLlkEr8HigTdoY7lfxx2eEjDmJlnp"; protected-headers="v1" From: Tim Gesthuizen To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: 32614@debbugs.gnu.org Message-ID: <286e4796-a666-baf6-d10c-00b8a5acf909@yahoo.de> Subject: Re: [bug#32614] [PATCH] emacs-irony-mode References: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> <87h8j6uuu2.fsf@gnu.org> In-Reply-To: <87h8j6uuu2.fsf@gnu.org> --TCaBSLlkEr8HigTdoY7lfxx2eEjDmJlnp Content-Type: multipart/mixed; boundary="------------F69B936266FB52BD1F9E3437" Content-Language: en-US This is a multi-part message in MIME format. --------------F69B936266FB52BD1F9E3437 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03.09.2018 23:36, Ludovic Court=C3=A8s wrote: > Hello Tim, >=20 > Tim Gesthuizen skribis: >=20 >> The attached patch adds emacs-irony-mode. >> It is also packaged in MELPA so it is definitely free software. >> If there are problems with the description or synopsis just let me kno= w >> and I will change the patch accordingly. >=20 > Thanks for the patch! I have some suggestions and comments below, but > overall it LGTM: >=20 >> From 6975ba9e4b005c77f00d7f2187b5d8047f15ba07 Mon Sep 17 00:00:00 2001= >> From: Tim Gesthuizen >> Date: Thu, 30 Aug 2018 17:39:57 +0200 >> Subject: [PATCH] gnu: Add emacs-irony-mode >> >> --- >> gnu/packages/emacs.scm | 49 ++++++++++++++++++++++++++++++++++++-----= - >=20 > Please run =E2=80=98git log gnu/packages/emacs.scm=E2=80=99 to see our = conventions for > commit logs, or see > . (We c= an > always fix it up for you though, it=E2=80=99s no big deal.) >=20 >> + (home-page "https://github.com/Sarcasm/irony-mode") >> + (synopsis "Clang autocompletion and syntax checking integration f= or GNU Emacs") >=20 > It=E2=80=99s a bit long. Perhaps: =E2=80=9CCode completion and syntax = checks for Emacs=E2=80=9D? >=20 >> + (description "Provides clang assisted syntax checking and autocom= pletion >> + for C,C++ and ObjC.") >=20 > Please make a full sentence, as per > . >=20 >> + (license license:gpl3))) >=20 > Isn=E2=80=99t it =E2=80=98gpl3+=E2=80=99, meaning =E2=80=9Cversion 3 or= any later version, at your > option=E2=80=9D? >=20 >> +(define-public emacs-irony-mode-server >> + (package (inherit emacs-irony-mode) >> + (name "emacs-irony-mode-server") >> + (propagated-inputs >> + `(("clang" ,clang))) >=20 > Instead of propagating Clang, which clutters the user=E2=80=99s profile= , do you > think we could patch the .el files such that they refer to =E2=80=98cla= ng=E2=80=99 by > its absolute file name? See =E2=80=98emacs-emms=E2=80=99 for an exampl= e of that. >=20 >> + (arguments >> + `(#:phases >> + (modify-phases %standard-phases >> + (replace 'configure >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out"))) >> + (invoke "cmake" >> + "server" >> + (string-append "-DCMAKE_INSTALL_PREFIX=3D" out= )))))))) >=20 > Please return #t at the end of the phase. >=20 >> (source (origin >> - (method url-fetch) >> - (uri (string-append "https://github.com/smihica/emmet-mode" >> - "/archive/" version ".tar.gz")) >> + (method url-fetch) >> + (uri (string-append "https://github.com/smihica/emmet-m= ode" >> + "/archive/" version ".tar.gz")) >> (file-name (string-append name "-" version ".tar.gz")) >> - (sha256 >> - (base32 >> - "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) >> + (sha256 >> + (base32 >> + "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj= ")))) >=20 > This change is unnecessary and unrelated; could you remove it? >=20 > Could you send an updated patch? >=20 > Thank you! >=20 > Ludo=E2=80=99. >=20 Thank you for your suggestions. Changed patch accordingly. clang is used via libclang from emacs-irony-mode-server which is linked dynamically. Because of this I could just set the propagated-input to a normal input. It is linked automatically to the version in /gnu/store. Because of some weird problems I had today with building guix from git I could not verify the patch. Please check that it is working before pushing it. --------------F69B936266FB52BD1F9E3437 Content-Type: text/x-patch; name="0001-gnu-Add-emacs-irony-mode.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gnu-Add-emacs-irony-mode.patch" =46rom 25fdd949db264836f47abcad13f3e8594262b300 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Thu, 30 Aug 2018 17:39:57 +0200 Subject: [PATCH] gnu: Add emacs-irony-mode. * gnu/packages/emacs.scm (emacs-irony-mode): New variable. * gnu/packages/emacs.scm (emacs-irony-mode-server): New variable. --- gnu/packages/emacs.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 8f0c564f8..3404937dc 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -63,6 +63,7 @@ #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) @@ -84,6 +85,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg) #:use-module (gnu packages lesstif) + #:use-module (gnu packages llvm) #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages version-control) @@ -2724,6 +2726,45 @@ front-ends. Company comes with many back-ends, e.= g. @code{company-elisp}. These are distributed in separate files and can be used individually.") (license license:gpl3+))) =20 +(define-public emacs-irony-mode + (package + (name "emacs-irony-mode") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Sarcasm/irony-mode= /archive/v" + version ".tar.gz")) + (sha256 (base32 "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6d= babaadylk99")))) + (build-system emacs-build-system) + (arguments '()) + (propagated-inputs + `(("emacs-irony-mode-server" ,emacs-irony-mode-server))) + (home-page "https://github.com/Sarcasm/irony-mode") + (synopsis "C/C++/ObjC Code completion and syntax checks for Emacs") + (description "Provides @code{clang} assisted syntax checking and +autocompletion for C,C++ and ObjC in GNU Emacs. Using @code{libclang} i= t can +provide syntax checking and autocompletion on compiler level which is ve= ry +resistent against false positives. It also integrates well with other +packages like @code{eldoc-mode} and especially @code{company-mode} as +described on the homepage.") + (license license:gpl3+))) + +(define-public emacs-irony-mode-server + (package (inherit emacs-irony-mode) + (name "emacs-irony-mode-server") + (inputs + `(("clang" ,clang))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "cmake" + "server" + (string-append "-DCMAKE_INSTALL_PREFIX=3D" out)) = #t)))))) + (build-system cmake-build-system))) + (define-public emacs-company-quickhelp (package (name "emacs-company-quickhelp") --=20 2.18.0 --------------F69B936266FB52BD1F9E3437-- --TCaBSLlkEr8HigTdoY7lfxx2eEjDmJlnp-- --H1kYYxiAdIJwJJaSAdTuLwwINeowAZ52e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKUiC5+8BRKEri5fa0uWPaa77GdUFAluOz54ACgkQ0uWPaa77 GdWvwQf/UPf25Nbs9l4K4NU4QhrQrZkaEr1ilJewQ/ooTENwsXGGdZCJwM4vweIW 41ucgWzs2L/RJj4SyyuVSdnzbgzmS95GtJtjzlmSW6l5YLWOMAmb7G7wageks3XA IZbBuaGCL2PlxxvgXnoKjKDgTeOREsangltTUJUD40K4RWIrdbFdGvBwvGl5M2HH LO3NIBi66L4sHrfEKkKjU+SLtG66Qe464nQwhsb+q0mjxJHkfVV18/XR8uwgFNe5 3y/wjFrAZON/iSELTLqJRmnEPtfGk2DnetFZadwqVco9A8CYTZiUiDs4e0rl3unT eVdLMCQo+9XgyuO9vGsjzKdX2jEyQg== =oCF+ -----END PGP SIGNATURE----- --H1kYYxiAdIJwJJaSAdTuLwwINeowAZ52e-- From unknown Fri Sep 12 16:03:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tim Gesthuizen Subject: bug#32614: closed (Re: [bug#32614] [PATCH] emacs-irony-mode) Message-ID: References: <877ejs9ipx.fsf@gnu.org> <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> X-Gnu-PR-Message: they-closed 32614 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 32614@debbugs.gnu.org Date: Tue, 11 Sep 2018 15:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1536678422-16216-1" This is a multi-part message in MIME format... ------------=_1536678422-16216-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32614: [PATCH] emacs-irony-mode which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32614@debbugs.gnu.org. --=20 32614: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32614 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1536678422-16216-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32614-done) by debbugs.gnu.org; 11 Sep 2018 15:06:48 +0000 Received: from localhost ([127.0.0.1]:37188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzkFc-0004D6-E9 for submit@debbugs.gnu.org; Tue, 11 Sep 2018 11:06:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzkFa-0004Cs-SY for 32614-done@debbugs.gnu.org; Tue, 11 Sep 2018 11:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzkFR-0008En-Na for 32614-done@debbugs.gnu.org; Tue, 11 Sep 2018 11:06:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzkFR-0008Ei-IP; Tue, 11 Sep 2018 11:06:37 -0400 Received: from [193.50.110.124] (port=33956 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzkFR-0002TC-9k; Tue, 11 Sep 2018 11:06:37 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tim Gesthuizen Subject: Re: [bug#32614] [PATCH] emacs-irony-mode References: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> <87h8j6uuu2.fsf@gnu.org> <286e4796-a666-baf6-d10c-00b8a5acf909@yahoo.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 11 Sep 2018 17:06:34 +0200 In-Reply-To: <286e4796-a666-baf6-d10c-00b8a5acf909@yahoo.de> (Tim Gesthuizen's message of "Tue, 4 Sep 2018 20:31:51 +0200") Message-ID: <877ejs9ipx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32614-done Cc: 32614-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: -6.0 (------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Tim, Tim Gesthuizen skribis: > clang is used via libclang from emacs-irony-mode-server which is linked > dynamically. Because of this I could just set the propagated-input to a > normal input. It is linked automatically to the version in /gnu/store. > Because of some weird problems I had today with building guix from git > I could not verify the patch. > Please check that it is working before pushing it. I checked that it built fine. I tried actually using it from: ./pre-inst-env guix environment --ad-hoc --pure \ emacs emacs-irony-mode coreutils -- emacs -Q However, I don=E2=80=99t really know how it=E2=80=99s supposed to be used a= nd didn=E2=80=99t want to spend too much time investigating. > From 25fdd949db264836f47abcad13f3e8594262b300 Mon Sep 17 00:00:00 2001 > From: Tim Gesthuizen > Date: Thu, 30 Aug 2018 17:39:57 +0200 > Subject: [PATCH] gnu: Add emacs-irony-mode. > > * gnu/packages/emacs.scm (emacs-irony-mode): New variable. > * gnu/packages/emacs.scm (emacs-irony-mode-server): New variable. Applied with the changes below. Please let me know if anything is amiss. Thank you, and apologies for the delay! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 57691b299..47c7685e9 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2736,19 +2736,21 @@ These are distributed in separate files and can be used individually.") (package (name "emacs-irony-mode") (version "1.2.0") + (home-page "https://github.com/Sarcasm/irony-mode") (source (origin (method url-fetch) - (uri (string-append "https://github.com/Sarcasm/irony-mode/archive/v" - version ".tar.gz")) - (sha256 (base32 "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99")))) + (uri (string-append home-page "/archive/v" version ".tar.gz")) + (sha256 + (base32 + "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99")) + (file-name (string-append name "-" version ".tar.gz")))) (build-system emacs-build-system) (arguments '()) (propagated-inputs `(("emacs-irony-mode-server" ,emacs-irony-mode-server))) - (home-page "https://github.com/Sarcasm/irony-mode") (synopsis "C/C++/ObjC Code completion and syntax checks for Emacs") - (description "Provides @code{clang} assisted syntax checking and -autocompletion for C,C++ and ObjC in GNU Emacs. Using @code{libclang} it can + (description "Irony-mode provides Clang-assisted syntax checking and +completion for C, C++, and ObjC in GNU Emacs. Using @code{libclang} it can provide syntax checking and autocompletion on compiler level which is very resistent against false positives. It also integrates well with other packages like @code{eldoc-mode} and especially @code{company-mode} as @@ -2760,6 +2762,7 @@ described on the homepage.") (name "emacs-irony-mode-server") (inputs `(("clang" ,clang))) + (propagated-inputs '()) (arguments `(#:phases (modify-phases %standard-phases @@ -2769,7 +2772,8 @@ described on the homepage.") (invoke "cmake" "server" (string-append "-DCMAKE_INSTALL_PREFIX=" out)) #t)))))) - (build-system cmake-build-system))) + (build-system cmake-build-system) + (synopsis "Server for the Emacs @dfn{irony mode}"))) (define-public emacs-company-quickhelp (package --=-=-=-- ------------=_1536678422-16216-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Sep 2018 19:22:57 +0000 Received: from localhost ([127.0.0.1]:43311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwXxZ-0006hN-6W for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwXxW-0006h7-KV for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwXxQ-0005nR-Dx for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwXxQ-0005nH-93 for submit@debbugs.gnu.org; Sun, 02 Sep 2018 15:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwXxM-0005aP-UN for guix-patches@gnu.org; Sun, 02 Sep 2018 15:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwXrK-0003Yz-Fw for guix-patches@gnu.org; Sun, 02 Sep 2018 15:16:33 -0400 Received: from sonic304-23.consmr.mail.ir2.yahoo.com ([77.238.179.148]:44941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwXrJ-0003XQ-OL for guix-patches@gnu.org; Sun, 02 Sep 2018 15:16:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1535915787; bh=dFeQI51VHKAnlYlAcJANb0RQZRM7CspDBofXa9D31cU=; h=To:From:Subject:Date:From:Subject; b=WS2r31KLuOxd5SEQ/gQ0U4gqy8U6V/MD/kVUqm40nrucht8cuIijeYV1l5KaD+vcpTLK2EaA0HzZ+wDLSSBUxe1wxxy2Ka6wL+tzzTLPqOUEDhAws38tvuD6NDPFF5uGE/4CNnxh8nUIpxCQIEKqyf/JrcXG8VXjOmcZ6XZrIcYZLSpQDGhyMQrMAD0VXCJnr9mcp0X4yLG+vkKGP9VSBI4Y0nWBX/XVShatethKOy3DE0lvtlN6eU5MZ6WTpi2CfSQiRd4XVAQMaGWLN8iV/Uzd3EHIOFuKQopJMDdxL5b60u+MywNKOH9Wz3miRfvnOBHbEChuxj5l0QPqw1gNKw== X-YMail-OSG: 9BIRHRsVM1n98VNBhWoTyQPWsarkOUJ.wHj4a4XmjsePWYfLiKp8lQNPibr2jzP LVueqGuRZxuWI9RTozrjKk5GrueQtgaGuLTMWsFDVN.pS2MiSCJpLjitJ8TAZyg6_BK101OM2dQi 9.CB1dsx89sklds3GQBNuuRdV1Pz803_UEbb8JnTbMe1bJRV.LcA5Chc.z_aOr4eLePJqk.bJJZ9 aWoRq3Qb98JYmlRq4zbuksQpHxlKH48JGAC9bZLVRe4AVeGp.yYenSwV1g50SM0QeicpN215siAe iUUzhTpbQUEMHBRnV3eHBjSnvCMpMKyGWtah3RPb1Jj2QWCEfgvVWkqDA1c.rSm8NezCATLtT9YP GpoRVdJhzLrIpR0hi3.cUAUC3ajUKXqwux8SyY5_MMkq0GY63iBoBiZqbUuyK3tt3ELEj7GU9G2Q IaZCe45JE0Exd7r9XGNnj3ShI9K9GhTOvumlehjY4N6Hj8uBIs48zdKS_6s.snUi8JZY0IR9rSIJ bljq_.nr1rSdGIuBbLm5JabYUSPz11VEQjHECXOvSwIolNLLX8agwWHHy4OZ26h81Oe1VM9fyBzT NERZ_NekVMtomztgjqnTatfL7ks4Uce4usfIadBF11unnwsUnDYsyRcgSWKbjL94l.ngfzxXadZj fVZzqiXifJbsKF5QZ4t12KXrXg3R3eGjxeHxAoEQMt00dVLwH8vDcbFV2K_lbKP._QLD0_0Lg_B3 786pdDzBlnlTmW1hB5JvjP3DbWXl8am.4ab5_1UByGqAizowjEr9_OW1CKozMEmtcnClxAPSjNIT I0tkUGfe8zzauFBNfGwK.IyZNNQk1P8e1IEfWHilJJlxUJXlIm6BpLRLoUzn9gd3.oVfwrBdyMTo wffXzZ6CNKgazApphFA1IDSQ_eTdEoSaIl8spc8GHxG_C8JRLBB8KxuAzW8Kspreawg0lJyA5iNq Eiqx65JgAALSri4mS5LCcuYFuCnipR5M8MxT5gwIw51GafqpOHmDoNz2DoOPuyB1nxqLXK8l.S_T gIptA4ieGTBr.TuQcmLaH Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Sun, 2 Sep 2018 19:16:27 +0000 Received: from p3EE27358.dip0.t-ipconnect.de (EHLO [192.168.178.27]) ([62.226.115.88]) by smtp405.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3bbe8926494ceade098872d1776a09bb for ; Sun, 02 Sep 2018 19:16:24 +0000 (UTC) To: guix-patches@gnu.org From: Tim Gesthuizen Subject: [PATCH] emacs-irony-mode Message-ID: <1c7a4813-8116-f13f-d65f-5bcac343b89d@yahoo.de> Date: Sun, 2 Sep 2018 21:16:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1E29E7B36229292FF202A8CC" Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit 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: -5.4 (-----) This is a multi-part message in MIME format. --------------1E29E7B36229292FF202A8CC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, The attached patch adds emacs-irony-mode. It is also packaged in MELPA so it is definitely free software. If there are problems with the description or synopsis just let me know and I will change the patch accordingly. Best regards, Tim Gesthuizen --------------1E29E7B36229292FF202A8CC Content-Type: text/x-patch; name="0001-gnu-Add-emacs-irony-mode.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-emacs-irony-mode.patch" >From 6975ba9e4b005c77f00d7f2187b5d8047f15ba07 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Thu, 30 Aug 2018 17:39:57 +0200 Subject: [PATCH] gnu: Add emacs-irony-mode --- gnu/packages/emacs.scm | 49 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 08554280c..1ef5ebde5 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -63,6 +63,7 @@ #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) #:use-module (guix build-system emacs) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) @@ -84,6 +85,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg) #:use-module (gnu packages lesstif) + #:use-module (gnu packages llvm) #:use-module (gnu packages image) #:use-module (gnu packages linux) #:use-module (gnu packages version-control) @@ -2724,6 +2726,41 @@ front-ends. Company comes with many back-ends, e.g. @code{company-elisp}. These are distributed in separate files and can be used individually.") (license license:gpl3+))) +(define-public emacs-irony-mode + (package + (name "emacs-irony-mode") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Sarcasm/irony-mode/archive/v" + version ".tar.gz")) + (sha256 (base32 "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99")))) + (build-system emacs-build-system) + (arguments '()) + (propagated-inputs + `(("emacs-irony-mode-server" ,emacs-irony-mode-server))) + (home-page "https://github.com/Sarcasm/irony-mode") + (synopsis "Clang autocompletion and syntax checking integration for GNU Emacs") + (description "Provides clang assisted syntax checking and autocompletion + for C,C++ and ObjC.") + (license license:gpl3))) + +(define-public emacs-irony-mode-server + (package (inherit emacs-irony-mode) + (name "emacs-irony-mode-server") + (propagated-inputs + `(("clang" ,clang))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "cmake" + "server" + (string-append "-DCMAKE_INSTALL_PREFIX=" out)))))))) + (build-system cmake-build-system))) + (define-public emacs-company-quickhelp (package (name "emacs-company-quickhelp") @@ -8048,13 +8085,13 @@ Anzu.zim.") (name "emacs-emmet-mode") (version "1.0.8") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/smihica/emmet-mode" - "/archive/" version ".tar.gz")) + (method url-fetch) + (uri (string-append "https://github.com/smihica/emmet-mode" + "/archive/" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) + (sha256 + (base32 + "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj")))) (build-system emacs-build-system) (home-page "https://github.com/smihica/emmet-mode") (synopsis "Unofficial Emmet's support for Emacs") -- 2.18.0 --------------1E29E7B36229292FF202A8CC-- ------------=_1536678422-16216-1--