unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Samuel Schmidt <samuel@schmidt-contact.com>, help-guix@gnu.org
Subject: Re: Beginner trying to package org-noter-plus
Date: Tue, 04 Apr 2023 11:27:53 +0200	[thread overview]
Message-ID: <86o7o4vvxi.fsf@gmail.com> (raw)
In-Reply-To: <1970872967.202878.1677578714989@fidget.co-bxl>

Hi,

On Tue, 28 Feb 2023 at 11:05, Samuel Schmidt <samuel@schmidt-contact.com> wrote:

> There are two problems:
> 1. In the file emacs-devel.el
> (https://github.com/dmitrym0/org-noter-plus/blob/master/emacs-devel.el)
> of org-noter-plus, a path for cask is specified ((require 'cask
> "/opt/homebrew/share/emacs/site-lisp/cask/cask.el")). This resulted in
> an error message, which I resolved by just deleting the file and
> disabling tests. 
> Is there are a better solution?

Well, maybe do the removal in a snippet instead of a phase.

https://guix.gnu.org/manual/devel/en/guix.html#Snippets-versus-Phases

It depends on if your intent is that “guix build -S
emacs-org-noter-plus” would be usable the upstream development way.

> 2. After building and installing, the files located at
> "https://github.com/dmitrym0/org-noter-plus/tree/master/modules" are
> not installed at all.
> I have no idea, how to solve this ...

That’s because they are in EMACSLOADPATH, I guess.

Well, two solutions: either extend it, either move the Emacs Lisp from
modules/ to the root visible by EMACSLOADPATH.  Give a look to
gnu/packages/emacs-xyz.scm for examples [1]. :-)

1:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/emacs-xyz.scm

Cheers,
simon



      reply	other threads:[~2023-04-04 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 10:05 Beginner trying to package org-noter-plus Samuel Schmidt
2023-04-04  9:27 ` Simon Tournier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o7o4vvxi.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=samuel@schmidt-contact.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).