From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: On Contributing To Emacs Date: Wed, 29 Dec 2021 10:42:08 +0000 Message-ID: <87tuerhev3.fsf@posteo.net> References: <83zgoopkwb.fsf@gnu.org> <874k6wsajh.fsf@posteo.net> <87o8536fry.fsf@yahoo.com> <87lf07hn0z.fsf@localhost> <83pmpjpzxr.fsf@gnu.org> <87lf07krdj.fsf@posteo.net> <87czlipck6.fsf@posteo.net> <878rw5kteb.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 29 11:43:36 2021 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 1n2WQh-0005Ta-IW for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 11:43:35 +0100 Original-Received: from localhost ([::1]:56220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2WQg-0001kz-Ac for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 05:43:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2WPQ-00016B-Ti for emacs-devel@gnu.org; Wed, 29 Dec 2021 05:42:16 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:53863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2WPM-0008BS-7Z for emacs-devel@gnu.org; Wed, 29 Dec 2021 05:42:14 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F0D78240103 for ; Wed, 29 Dec 2021 11:42:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640774530; bh=Z76fhRU9c7NYIOEWYVDTxfwvaRIqJ9Q3lcq+WABXnPY=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=KOWmWkTUY1K9CM3lBAI/CfbcmTQSrI0gTZiHuAPLpuH3RPuUD9JFrtnHxofvQbO4t L6ZHdEVqE/cLIt4g4s48W5XPnWW1I/M1EfRnOr3eXUnGc+yfQx65a961O5bicnNmoa XHrJFIRVwQ0D8vg86p9bBwD4Yzxxx759Aa91foES7BHDSrT/vhu0yLdjFSbA24lec3 h2EFydw0e8tkytZiiicaaFbmqTMY05mBqKIuXNE0HftIkR7W+AFHbhV2Hfkk6AaLMO Pie8h8vjucOOMLCzdTI4VdNsBnFZ3a5lqgJtaMAJ9nEu6WQEZlbeRUTQC0YEKyXi99 Zoi3rH/vSvvAw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JP7JK3hKpz9rxB; Wed, 29 Dec 2021 11:42:09 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Richard Stallman's message of "Tue, 28 Dec 2021 23:51:50 -0500") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:283545 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > You can clone https://git.savannah.gnu.org/cgit/emacs/elpa.git, checkout > > the elpa-admin branch and in the file elpa-admin.el line 1332 you find: > > > (elpaa--get-section > > "News" (elpaa--spec-get pkg-spec :news > > '("NEWS" "NEWS.rst" "NEWS.md" "NEWS.org")) > > > This first tries to find a "News" section (like "Commentary"), and in > > failing to do so checks for the files "NEWS"", NEWS.rst", "NEWS.md" and > > "NEWS.org" in that order. > > Thanks, but I'm not sure of what that means. > > I don't know what the Lisp program does, because it calls functions I > don't know about. The concrete functions are not too necessary, this is just a snippet from a larger function. Clone the repository if you are interested in the defaults. > I am not sure what the English text means, because it depends on context > that I don't know. WHERE does it search for a "News" section -- within what? > Within certain files, perhaps? If so, which files? See (elisp) Library Headers, where it says: We use additional stylized comments to subdivide the contents of the library file. These should be separated from anything else by blank lines. One such header that ELPA checks is "News", in whatever ELPA considers the main file of a project to be. It might look something like this: ;;; News: ;; In version 4.2.1 we added the function `foo' and the user ;; option `foo-bar`. > Then it searches for certain file names. Again, within what? > Does it search within one specific package? In case the section was not found, it searches for files in the package root. -- Philip Kaludercic