From mboxrd@z Thu Jan 1 00:00:00 1970 From: fis trivial Subject: Re: emacs irony-mode Date: Mon, 13 Aug 2018 19:23:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpIR5-0007xc-NF for guix-devel@gnu.org; Mon, 13 Aug 2018 15:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpIR2-0002Oi-HT for guix-devel@gnu.org; Mon, 13 Aug 2018 15:23:27 -0400 Received: from mail-oln040092006068.outbound.protection.outlook.com ([40.92.6.68]:54476 helo=NAM03-BY2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fpIR2-0002OM-2N for guix-devel@gnu.org; Mon, 13 Aug 2018 15:23:24 -0400 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tim Gesthuizen Cc: "guix-devel@gnu.org" Tim Gesthuizen writes: > Hi, > > I am trying to package irony-mode for emacs and quickly > > noticed that I need more input on how packages like this should > > be seperated or handled. > > Maybe somebody wants to take my approach and integrate the > > package definition(s) into guix or provide some information > > towards how such packages should be integrated. > > You find the script with my package definition attached. > > Mentioning packages with similar problems would also be helpful. > > > Best regards, > > Tim Gesthuizen I'm not helping. But there are other candidates than irony-mode now. For tw= o scenarios: 1. You have a way to generate compilation database: Use cquery with lsp-mode. cquery is a fully featured c/c++/objective= -c language server. or Use rtags. The server is packaged in Guix. Personal experience tell= s that cquery is better at its job. But you can be the judge. :) 2. You can't generate a compilation database: Just use company-clang and flycheck, which combined should do everyt= hing irony could. If this doesn't convince you to give up irony-mode. Then your packaging loo= ks good to me. If there really is room to improve, maybe you can extract the "source" part out? Note that I'm not proficient as others here. -- Jiaming