From: ludo@gnu.org (Ludovic Courtès)
To: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
Cc: 32614-done@debbugs.gnu.org
Subject: bug#32614: [PATCH] emacs-irony-mode
Date: Tue, 11 Sep 2018 17:06:34 +0200 [thread overview]
Message-ID: <877ejs9ipx.fsf@gnu.org> (raw)
In-Reply-To: <286e4796-a666-baf6-d10c-00b8a5acf909@yahoo.de> (Tim Gesthuizen's message of "Tue, 4 Sep 2018 20:31:51 +0200")
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
Hi Tim,
Tim Gesthuizen <tim.gesthuizen@yahoo.de> 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’t really know how it’s supposed to be used and didn’t
want to spend too much time investigating.
> From 25fdd949db264836f47abcad13f3e8594262b300 Mon Sep 17 00:00:00 2001
> From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
> 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’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2343 bytes --]
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
prev parent reply other threads:[~2018-09-11 15:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-02 19:16 [bug#32614] [PATCH] emacs-irony-mode Tim Gesthuizen
2018-09-03 21:36 ` Ludovic Courtès
2018-09-04 18:31 ` Tim Gesthuizen
2018-09-11 15:06 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877ejs9ipx.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=32614-done@debbugs.gnu.org \
--cc=tim.gesthuizen@yahoo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.