unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Integrate guix-installed Emacs packages with locally compiled Emacs pretest
@ 2018-03-12 23:49 Jorge
  2018-03-13  6:46 ` Konrad Hinsen
  2018-03-14  0:31 ` Jorge
  0 siblings, 2 replies; 5+ messages in thread
From: Jorge @ 2018-03-12 23:49 UTC (permalink / raw)
  To: help-guix

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?]]

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

* Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest
  2018-03-12 23:49 Integrate guix-installed Emacs packages with locally compiled Emacs pretest Jorge
@ 2018-03-13  6:46 ` Konrad Hinsen
  2018-03-13 15:57   ` Pierre Neidhardt
  2018-03-14  0:31 ` Jorge
  1 sibling, 1 reply; 5+ messages in thread
From: Konrad Hinsen @ 2018-03-13  6:46 UTC (permalink / raw)
  To: help-guix

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.

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

* Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest
  2018-03-13  6:46 ` Konrad Hinsen
@ 2018-03-13 15:57   ` Pierre Neidhardt
  2018-03-14 13:08     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2018-03-13 15:57 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest
  2018-03-12 23:49 Integrate guix-installed Emacs packages with locally compiled Emacs pretest Jorge
  2018-03-13  6:46 ` Konrad Hinsen
@ 2018-03-14  0:31 ` Jorge
  1 sibling, 0 replies; 5+ messages in thread
From: Jorge @ 2018-03-14  0:31 UTC (permalink / raw)
  To: Konrad Hinsen, help-guix

March 13, 2018 3:47 AM, "Konrad Hinsen" <konrad.hinsen@fastmail.net> 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!

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

* Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest
  2018-03-13 15:57   ` Pierre Neidhardt
@ 2018-03-14 13:08     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-03-14 13:08 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix

Pierre Neidhardt <ambrevar@gmail.com> 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

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

end of thread, other threads:[~2018-03-14 13:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 23:49 Integrate guix-installed Emacs packages with locally compiled Emacs pretest Jorge
2018-03-13  6:46 ` Konrad Hinsen
2018-03-13 15:57   ` Pierre Neidhardt
2018-03-14 13:08     ` Ludovic Courtès
2018-03-14  0:31 ` Jorge

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).