From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add emacs-sx. Date: Wed, 18 Jan 2017 11:51:45 +0000 Message-ID: <87ziiotwku.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <87o9z8awzm.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <20170115211050.18602-1-ng0@libertad.pw> <20170115211050.18602-2-ng0@libertad.pw> <87h94wlm76.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTomM-0005wy-8S for guix-devel@gnu.org; Wed, 18 Jan 2017 06:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTomJ-0006Xq-56 for guix-devel@gnu.org; Wed, 18 Jan 2017 06:51:50 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]:64968) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTomI-0006XR-Ud for guix-devel@gnu.org; Wed, 18 Jan 2017 06:51:47 -0500 In-Reply-To: <87h94wlm76.fsf@gmail.com> 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost writes: > ng0 (2017-01-15 21:10 +0000) wrote: > >> From: ng0 >> >> * gnu/packages/emacs.scm (emacs-sx): New variable. > > Thanks, I committed it as 899bcad310. See the comments below. > >> --- >> gnu/packages/emacs.scm | 26 +++++++++++++++++++++++++- >> 1 file changed, 25 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm >> index 50cea7685..ca038bcb2 100644 >> --- a/gnu/packages/emacs.scm >> +++ b/gnu/packages/emacs.scm >> @@ -12,7 +12,7 @@ >> ;;; Copyright =C2=A9 2016 David Thompson >> ;;; Copyright =C2=A9 2016 Matthew Jordan >> ;;; Copyright =C2=A9 2016 Roel Janssen >> -;;; Copyright =C2=A9 2016 ng0 >> +;;; Copyright =C2=A9 2016, 2017 ng0 > > So are you going to use this email now? ".mailmap" still prefers > . I am slowly fading out the use of my own domains as I see no point in paying money for names. Yesterday I have switched all the gnu.org lists to this email. The commits still happen with the @libertad.pw adress, I see the copyright lines as contact information. Some people I know don't use email addresses for commits for example. I will update the .mailmap later this year, at the point where I make my commits with this email address. Older commits I am working on for some time now still carry various other emails, like the one you commited with emacs-sx. >> ;;; Copyright =C2=A9 2016 Alex Griffin >> ;;; Copyright =C2=A9 2016 Nicolas Goaziou >> ;;; Copyright =C2=A9 2016 Alex Vong >> @@ -1391,6 +1391,30 @@ allows easily move between them.") >> strings.") >> (license license:gpl3+))) >> =20 >> +(define-public emacs-sx >> + (package >> + (name "emacs-sx") >> + (version "0.4") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (string-append "https://github.com/vermiculus/sx.el/" >> + "archive/v" version ".tar.gz")) >> + (file-name (string-append name "-" version ".tar")) > ^^^^^ > I changed it to ".tar.gz" Oh, thanks. I forgot that one. >> + (sha256 >> + (base32 >> + "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03")))) >> + (build-system emacs-build-system) >> + (inputs >> + `(("emacs-markdown-mode" ,emacs-markdown-mode) >> + ("let-alist" ,let-alist))) > > All emacs dependencies should be propagated, otherwise the package will > not work. Okay, I did not know that. Does the importer know about this? >> + (home-page "https://github.com/vermiculus/sx.el/") >> + (synopsis "Emacs StackExchange client") >> + (description >> + "Emacs StackExchange client. Ask and answer questions on >> +Stack Overflow, Super User, and other StackExchange sites.") >> + (license license:gpl3+))) >> + >> (define-public emacs-f >> (package >> (name "emacs-f") > > Also for those who may wonder, there are a lot of errors like this: > > sx-method.el:33:1:Error: Creating directory: No such file or director= y, /homeless-shelter/.emacs.d/.sx > > This leads to many uncompiled elisp files. This issue is fixed in > master so it should be OK in the next release: > > https://github.com/vermiculus/sx.el/commit/53816e1885df22391ecc820297c1= fe7cd381a630 Did this occur when using the application? For me it worked, but I have no StackExchange account, so I just searched and read a bit, and no errors occured. --=20 =E2=99=A5=E2=92=B6 ng0 -- https://www.inventati.org/patternsinthechaos/