Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-14 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> Is there such a thing as a curated list of unofficial, user-contributed
> packages for GuixSD?  (Anything that cannot be accepted in the official
> repository, such as development versions.)

No, there’s no such thing.

However, I would hope that development versions can easily be packaged,
either from the command-line using ‘--with-source’¹, or by defining a
package variant as in:

  (define emacs-git
(package
  (inherit emacs)
  (source …)))

Thanks,
Ludo’.

¹ 
https://www.gnu.org/software/guix/manual/html_node/Package-Transformation-Options.html



Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-13 Thread Jorge
March 13, 2018 3:47 AM, "Konrad Hinsen"  wrote:

> With Emacs, everything is possible :-)
> 
> You'd have to do two things in your Emacs configuration:
> - add the notmuch elisp directory from Guix to load-path
> - make sure that your Guix profile is on exec-path
> 
> You probably want the latter anyway, so the additional effort looks small.
Yes, it is simpler than I thought.  I will try that after I solve the problems
reported on the other thread.

> On the other hand, packaging Emacs 26 for Guix is a nice exercise and useful 
> for lots of other
> people, so I don't want do discourage you from trying!
Unfortunately I am out of time.  And when I do find more time to contribute to
free (libre) software, I intend to first file some bug reports before
contributing code.

Thank you for the help!



Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-13 Thread Pierre Neidhardt

Is there such a thing as a curated list of unofficial, user-contributed
packages for GuixSD?  (Anything that cannot be accepted in the official
repository, such as development versions.)

--
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-13 Thread Konrad Hinsen

On 13/03/2018 00:49, Jorge wrote:


Hi.  I want to use Guix to install notmuch (with the Emacs interface) and
emacs-guix; however, since Guix does not have Emacs 26, I would like to keep
using my locally-compiled Emacs 26.0.91.  Is that possible?  Would it be quicker
to learn Guix packaging and package Emacs 26.0.91 for Guix?


With Emacs, everything is possible :-)

You'd have to do two things in your Emacs configuration:
  - add the notmuch elisp directory from Guix to load-path
  - make sure that your Guix profile is on exec-path

You probably want the latter anyway, so the additional effort looks small.

On the other hand, packaging Emacs 26 for Guix is a nice exercise and 
useful for lots of other people, so I don't want do discourage you from 
trying!


A third option is to use the notmuch executable from Guix but installing 
the e-lisp part via elpa into your non-Guix Emacs. Even with somewhat 
different versions, this should work fine, since the notmuch command 
line interface is very stable.


Konrad.




Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-12 Thread Jorge
Hi.  I want to use Guix to install notmuch (with the Emacs interface) and
emacs-guix; however, since Guix does not have Emacs 26, I would like to keep
using my locally-compiled Emacs 26.0.91.  Is that possible?  Would it be quicker
to learn Guix packaging and package Emacs 26.0.91 for Guix?

- I am Brazilian.  I hope my English is correct and I welcome feedback
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z
- Free/libre software for Android: https://f-droid.org/
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]