unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs SX (Stackexchange Mode)
@ 2017-01-15  2:33 ng0
  2017-01-15  2:33 ` [PATCH] gnu: Add emacs-sx ng0
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-15  2:33 UTC (permalink / raw)
  To: guix-devel

[PATCH] gnu: Add emacs-sx.

I was wondering what the emacs/sx branch was I had... and it seems it was
functional since september, totally forgot about this :)
This patch adds an stack exchange mode for emacs, where you can browse
all of stackexchange with:

https://github.com/vermiculus/sx.el/blob/master/sx.org
https://github.com/vermiculus/sx.el

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] gnu: Add emacs-sx.
  2017-01-15  2:33 Emacs SX (Stackexchange Mode) ng0
@ 2017-01-15  2:33 ` ng0
  2017-01-15 19:04   ` Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-15  2:33 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@we.make.ritual.n0.is>

* gnu/packages/emacs.scm (emacs-sx): New variable.
---
 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..2e04414b3 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
@@ -1391,6 +1391,30 @@ allows easily move between them.")
 strings.")
     (license license:gpl3+)))
 
+(define-public emacs-sx
+  (package
+    (name "emacs-sx")
+    (version "20161222.1205")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://melpa.org/packages/sx-"
+                           version ".tar"))
+       (file-name (string-append name "-" version ".tar"))
+       (sha256
+        (base32
+         "0alllpglv7v686ilg2dkncs0yf8g5rrgj17rx7qx9q81icwdcwxq"))))
+    (build-system emacs-build-system)
+    (inputs
+     `(("emacs-markdown-mode" ,emacs-markdown-mode)
+       ("let-alist" ,let-alist)))
+    (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")
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] gnu: Add emacs-sx.
  2017-01-15  2:33 ` [PATCH] gnu: Add emacs-sx ng0
@ 2017-01-15 19:04   ` Alex Kost
  2017-01-15 20:28     ` ng0
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Kost @ 2017-01-15 19:04 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel, ng0

ng0 (2017-01-15 02:33 +0000) wrote:

> From: ng0 <ng0@we.make.ritual.n0.is>
>
> * gnu/packages/emacs.scm (emacs-sx): New variable.
> ---
>  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..2e04414b3 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -12,7 +12,7 @@
>  ;;; Copyright © 2016 David Thompson <davet@gnu.org>
>  ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
>  ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
>  ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>  ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
> @@ -1391,6 +1391,30 @@ allows easily move between them.")
>  strings.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-sx
> +  (package
> +    (name "emacs-sx")
> +    (version "20161222.1205")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://melpa.org/packages/sx-"
> +                           version ".tar"))

I can only repeat that we don't use tarballs from MELPA.  See:

http://lists.gnu.org/archive/html/guix-devel/2016-10/msg00678.html
http://lists.gnu.org/archive/html/guix-devel/2016-11/msg00678.html

> +       (file-name (string-append name "-" version ".tar"))
> +       (sha256
> +        (base32
> +         "0alllpglv7v686ilg2dkncs0yf8g5rrgj17rx7qx9q81icwdcwxq"))))
> +    (build-system emacs-build-system)
> +    (inputs
> +     `(("emacs-markdown-mode" ,emacs-markdown-mode)
> +       ("let-alist" ,let-alist)))
> +    (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")

-- 
Alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] gnu: Add emacs-sx.
  2017-01-15 19:04   ` Alex Kost
@ 2017-01-15 20:28     ` ng0
  2017-01-15 21:10       ` emacs-sx ,v2 ng0
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-15 20:28 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> writes:

> ng0 (2017-01-15 02:33 +0000) wrote:
>
>> From: ng0 <ng0@we.make.ritual.n0.is>
>>
>> * gnu/packages/emacs.scm (emacs-sx): New variable.
>> ---
>>  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..2e04414b3 100644
>> --- a/gnu/packages/emacs.scm
>> +++ b/gnu/packages/emacs.scm
>> @@ -12,7 +12,7 @@
>>  ;;; Copyright © 2016 David Thompson <davet@gnu.org>
>>  ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
>>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
>> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
>>  ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
>>  ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>>  ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
>> @@ -1391,6 +1391,30 @@ allows easily move between them.")
>>  strings.")
>>      (license license:gpl3+)))
>>  
>> +(define-public emacs-sx
>> +  (package
>> +    (name "emacs-sx")
>> +    (version "20161222.1205")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://melpa.org/packages/sx-"
>> +                           version ".tar"))
>
> I can only repeat that we don't use tarballs from MELPA.  See:
>
> http://lists.gnu.org/archive/html/guix-devel/2016-10/msg00678.html
> http://lists.gnu.org/archive/html/guix-devel/2016-11/msg00678.html

Yikes. Thanks!
I forget this so often that I think we should change the elpa
importer for --archive=melpa to reflect this OR print a note on
this (for example lint).
I will send in a new patch.

>> +       (file-name (string-append name "-" version ".tar"))
>> +       (sha256
>> +        (base32
>> +         "0alllpglv7v686ilg2dkncs0yf8g5rrgj17rx7qx9q81icwdcwxq"))))
>> +    (build-system emacs-build-system)
>> +    (inputs
>> +     `(("emacs-markdown-mode" ,emacs-markdown-mode)
>> +       ("let-alist" ,let-alist)))
>> +    (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")
>
> -- 
> Alex
>

-- 
♥Ⓐ  ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* emacs-sx ,v2
  2017-01-15 20:28     ` ng0
@ 2017-01-15 21:10       ` ng0
  2017-01-15 21:10         ` [PATCH] gnu: Add emacs-sx ng0
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-15 21:10 UTC (permalink / raw)
  To: guix-devel

Updated the source to use a tagged released (tarball) from github.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] gnu: Add emacs-sx.
  2017-01-15 21:10       ` emacs-sx ,v2 ng0
@ 2017-01-15 21:10         ` ng0
  2017-01-18 10:03           ` Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-15 21:10 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@we.make.ritual.n0.is>

* gnu/packages/emacs.scm (emacs-sx): New variable.
---
 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 © 2016 David Thompson <davet@gnu.org>
 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
-;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
+;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
@@ -1391,6 +1391,30 @@ allows easily move between them.")
 strings.")
     (license license:gpl3+)))
 
+(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"))
+       (sha256
+        (base32
+         "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
+    (build-system emacs-build-system)
+    (inputs
+     `(("emacs-markdown-mode" ,emacs-markdown-mode)
+       ("let-alist" ,let-alist)))
+    (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")
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] gnu: Add emacs-sx.
  2017-01-15 21:10         ` [PATCH] gnu: Add emacs-sx ng0
@ 2017-01-18 10:03           ` Alex Kost
  2017-01-18 11:51             ` ng0
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Kost @ 2017-01-18 10:03 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel, ng0

ng0 (2017-01-15 21:10 +0000) wrote:

> From: ng0 <ng0@we.make.ritual.n0.is>
>
> * 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 © 2016 David Thompson <davet@gnu.org>
>  ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>

So are you going to use this email now?  ".mailmap" still prefers
<ng0@libertad.pw>.

>  ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
>  ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>  ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
> @@ -1391,6 +1391,30 @@ allows easily move between them.")
>  strings.")
>      (license license:gpl3+)))
>  
> +(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"

> +       (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.

> +    (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 directory, /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/53816e1885df22391ecc820297c1fe7cd381a630

-- 
Alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] gnu: Add emacs-sx.
  2017-01-18 10:03           ` Alex Kost
@ 2017-01-18 11:51             ` ng0
  2017-01-19 10:11               ` Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-01-18 11:51 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> writes:

> ng0 (2017-01-15 21:10 +0000) wrote:
>
>> From: ng0 <ng0@we.make.ritual.n0.is>
>>
>> * 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 © 2016 David Thompson <davet@gnu.org>
>>  ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
>>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
>> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
>
> So are you going to use this email now?  ".mailmap" still prefers
> <ng0@libertad.pw>.

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 © 2016 Alex Griffin <a@ajgrf.com>
>>  ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
>>  ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
>> @@ -1391,6 +1391,30 @@ allows easily move between them.")
>>  strings.")
>>      (license license:gpl3+)))
>>  
>> +(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 directory, /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/53816e1885df22391ecc820297c1fe7cd381a630

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.

-- 
♥Ⓐ  ng0 -- https://www.inventati.org/patternsinthechaos/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] gnu: Add emacs-sx.
  2017-01-18 11:51             ` ng0
@ 2017-01-19 10:11               ` Alex Kost
  0 siblings, 0 replies; 9+ messages in thread
From: Alex Kost @ 2017-01-19 10:11 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 (2017-01-18 11:51 +0000) wrote:

> Alex Kost <alezost@gmail.com> writes:
>
>> ng0 (2017-01-15 21:10 +0000) wrote:
>>
>>> From: ng0 <ng0@we.make.ritual.n0.is>
>>>
>>> * 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 © 2016 David Thompson <davet@gnu.org>
>>>  ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
>>>  ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
>>> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
>>> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
>>
>> So are you going to use this email now?  ".mailmap" still prefers
>> <ng0@libertad.pw>.
>
> 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.

OK.  Thanks for letting us know.

[...]
>>> +       (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?

Yes, since
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=681a555b837d766848baacbed5750e9d30314709

>>> +    (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 directory, /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/53816e1885df22391ecc820297c1fe7cd381a630
>
> 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.

All I wanted to say is that multiple elisp files were not compiled (look
at the build log¹ to see the errors I mentioned).  Missing ".elc" files
can't make an emacs package fail in any way, it will still work but
using ".el" files instead of ".elc".

¹ http://hydra.gnu.org/build/1817230/log/raw

-- 
Alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-19 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15  2:33 Emacs SX (Stackexchange Mode) ng0
2017-01-15  2:33 ` [PATCH] gnu: Add emacs-sx ng0
2017-01-15 19:04   ` Alex Kost
2017-01-15 20:28     ` ng0
2017-01-15 21:10       ` emacs-sx ,v2 ng0
2017-01-15 21:10         ` [PATCH] gnu: Add emacs-sx ng0
2017-01-18 10:03           ` Alex Kost
2017-01-18 11:51             ` ng0
2017-01-19 10:11               ` Alex Kost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).