From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master b6ac53b: * packages/math-symbol-lists/msl-build.el: Add copyright and license Date: Tue, 07 May 2019 11:13:34 -0400 Message-ID: References: <20190507123145.27618.34624@vcs0.savannah.gnu.org> <20190507123146.5DF3B20407@vcs0.savannah.gnu.org> <87ef5aicdh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91525"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Vitalie Spinu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 07 17:14:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hO1np-000NgA-2E for ged-emacs-devel@m.gmane.org; Tue, 07 May 2019 17:14:45 +0200 Original-Received: from localhost ([127.0.0.1]:48372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO1nn-0005Ck-TB for ged-emacs-devel@m.gmane.org; Tue, 07 May 2019 11:14:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO1mk-0005B7-US for emacs-devel@gnu.org; Tue, 07 May 2019 11:13:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO1mk-0001N4-4v for emacs-devel@gnu.org; Tue, 07 May 2019 11:13:38 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:56177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO1mk-0001Mk-0g for emacs-devel@gnu.org; Tue, 07 May 2019 11:13:38 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x47FDZVw005334; Tue, 7 May 2019 11:13:35 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 08ECB66184; Tue, 7 May 2019 11:13:35 -0400 (EDT) In-Reply-To: <87ef5aicdh.fsf@gmail.com> (Vitalie Spinu's message of "Tue, 07 May 2019 16:10:34 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6541=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6541> : inlines <7074> : streams <1820842> : uri <2841598> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236232 Archived-At: > Thanks! That file contains just dirty manual hacks to parse the symbol > lists from various sources. It's not intended to be loaded or used by > other libraries. That's what I figured, yes. But since it's in `load-path` Emacs might still load it unexpectedly. This said, I found that placing such "random code" within a dummy (defun ...) wrapper solves this problem in a trivial way without any significant downside (I actually found it to be helpful because the defun's name helps me describe what this is about and often enough I later discover that I actually did want a defun for that anyway ;-) > I think the packager might get confused and think of it as a multi-file > package. Indeed, it will. > What would be the recommended way to put it off the load path? > Just store in a sub-dir? You could do that, or you could keep it out of the tarball via `.elpaignore`, but based on what you just said, maybe you just want to add: ;; Package-Type: simple to the header of math-symbol-lists.el? Stefan