unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
Cc: Akib Azmain Turja <akib@disroot.org>, help-gnu-emacs@gnu.org
Subject: Re: How to develop a local fork of a package?
Date: Mon, 05 Sep 2022 00:40:25 +0200	[thread overview]
Message-ID: <878rmyyd4l.fsf@gmail.com> (raw)
In-Reply-To: <443fb46d2c9b2384869ade5fd0764611c0e0fe66bc5b546d7118a24832e90579@mu.id>


It works! The trick was to first modify the load-path, then to call
(package-initialize). That way, calling (require 'org-ref) loaded the
git local version of the package.

Now the only point left is that, as you said, the delete call will break
when the package gets updated. I'll turn it into a regex version when I
have time.

Anyway, thanks to you and to Emanuel!

Alessandro



  parent reply	other threads:[~2022-09-04 22:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-03 11:12 How to develop a local fork of a package? Alessandro Bertulli
2022-09-03 13:26 ` Emanuel Berg
2022-09-04  2:43   ` Akib Azmain Turja
2022-09-04 22:20     ` Alessandro Bertulli
2022-09-05 11:38       ` Akib Azmain Turja
     [not found]     ` <443fb46d2c9b2384869ade5fd0764611c0e0fe66bc5b546d7118a24832e90579@mu.id>
2022-09-04 22:40       ` Alessandro Bertulli [this message]
2022-09-05 11:40         ` Akib Azmain Turja

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=878rmyyd4l.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=akib@disroot.org \
    --cc=help-gnu-emacs@gnu.org \
    /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).