all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Akib Azmain Turja <akib@disroot.org>
To: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to develop a local fork of a package?
Date: Mon, 05 Sep 2022 17:40:13 +0600	[thread overview]
Message-ID: <87v8q2t5gi.fsf@disroot.org> (raw)
In-Reply-To: <878rmyyd4l.fsf@gmail.com> (Alessandro Bertulli's message of "Mon, 05 Sep 2022 00:40:25 +0200")

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

Alessandro Bertulli <alessandro.bertulli96@gmail.com> writes:

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

"cl-delete-if" and/or "cl-remove-if" function should help you in this
regard.

>
> Anyway, thanks to you and to Emanuel!
>
> Alessandro

-- 
Akib Azmain Turja

Find me on Mastodon at @akib@hostux.social.

This message is signed by me with my GnuPG key.  Its fingerprint is:

    7001 8CE5 819F 17A3 BBA6  66AF E74F 0EFA 922A E7F5

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

      reply	other threads:[~2022-09-05 11: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
2022-09-05 11:40         ` Akib Azmain Turja [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

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

  git send-email \
    --in-reply-to=87v8q2t5gi.fsf@disroot.org \
    --to=akib@disroot.org \
    --cc=alessandro.bertulli96@gmail.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.