From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: development practices for ELPA packages Date: Fri, 20 Nov 2020 10:04:40 -0500 Message-ID: <87ft54vzlj.fsf@rabkins.net> References: <87blfuz69q.fsf@rabkins.net> <861rgqck5r.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4427"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 20 16:05:48 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kg7yu-00011c-Ae for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Nov 2020 16:05:48 +0100 Original-Received: from localhost ([::1]:37536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg7yt-00025g-Ck for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Nov 2020 10:05:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg7xt-0001Wp-SV for emacs-devel@gnu.org; Fri, 20 Nov 2020 10:04:45 -0500 Original-Received: from smtprelay0137.hostedemail.com ([216.40.44.137]:53332 helo=smtprelay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg7xr-0003gE-JB for emacs-devel@gnu.org; Fri, 20 Nov 2020 10:04:45 -0500 Original-Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 8BCCF837F24C for ; Fri, 20 Nov 2020 15:04:42 +0000 (UTC) X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-HE-Tag: angle32_2b07b2a2734c X-Filterd-Recvd-Size: 1572 Original-Received: from greenriver.rabkins.net (c-73-238-99-162.hsd1.ma.comcast.net [73.238.99.162]) (Authenticated sender: yoni@rabkins.net) by omf01.hostedemail.com (Postfix) with ESMTPA for ; Fri, 20 Nov 2020 15:04:42 +0000 (UTC) X-Ethics: Use GNU In-Reply-To: <861rgqck5r.fsf@stephe-leake.org> (Stephen Leake's message of "Wed, 18 Nov 2020 15:36:16 -0800") Received-SPF: none client-ip=216.40.44.137; envelope-from=yoni@rabkins.net; helo=smtprelay.hostedemail.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259489 Archived-At: Stephen Leake writes: > Yoni Rabkin writes: > >> Right now I'm working on the next release of rt-liberation. I would like >> to tell Emacs: "load all of the ELPA packages normally, but when you get >> to rt-liberation please load my local, non-packaged, version from >> /devel/rt-liberation" > > Stefan's suggestion works if your devel directory looks like an > installed package. ada-mode doesn't; I put the devel version in > load-path, before the installed package directory. That works for me. I'll use this technique to make the "devel" version override the package I'm working on. Thank you, and thank you to Stefan and Michael as well for providing input. -- "Cut your own wood and it will warm you twice"