unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: On Contributing To Emacs
Date: Wed, 29 Dec 2021 10:42:08 +0000	[thread overview]
Message-ID: <87tuerhev3.fsf@posteo.net> (raw)
In-Reply-To: <E1n2QwI-0008I7-Ny@fencepost.gnu.org> (Richard Stallman's message of "Tue, 28 Dec 2021 23:51:50 -0500")

Richard Stallman <rms@gnu.org> 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



  parent reply	other threads:[~2021-12-29 10:42 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-25 18:49 On Contributing To Emacs xenodasein--- via Emacs development discussions.
2021-12-25 19:03 ` Eli Zaretskii
2021-12-25 19:08   ` xenodasein--- via Emacs development discussions.
2021-12-25 19:12     ` Eli Zaretskii
2021-12-25 19:17       ` xenodasein--- via Emacs development discussions.
2021-12-25 19:28         ` Óscar Fuentes
2021-12-25 19:44           ` xenodasein--- via Emacs development discussions.
2021-12-25 19:57             ` Óscar Fuentes
2021-12-25 20:18     ` Philip Kaludercic
2021-12-25 20:26       ` xenodasein--- via Emacs development discussions.
2021-12-25 21:53         ` Stefan Kangas
2021-12-26  6:15           ` xenodasein--- via Emacs development discussions.
2021-12-27  4:14           ` Richard Stallman
2021-12-26  6:28         ` Po Lu
2021-12-26  6:56           ` Ihor Radchenko
2021-12-26  7:34             ` xenodasein--- via Emacs development discussions.
2021-12-27  4:14               ` Richard Stallman
2021-12-27  5:04                 ` Po Lu
2021-12-26  7:50             ` Eli Zaretskii
2021-12-26 20:40               ` Rudolf Adamkovič
2021-12-26 21:06                 ` Philip Kaludercic
2021-12-26 21:33                   ` Stefan Kangas
2021-12-27  4:15                     ` Richard Stallman
2021-12-27 10:27                       ` Philip Kaludercic
     [not found]                         ` <E1n23zG-0007jQ-Bz@fencepost.gnu.org>
     [not found]                           ` <878rw5kteb.fsf@posteo.net>
     [not found]                             ` <E1n2QwI-0008I7-Ny@fencepost.gnu.org>
2021-12-29 10:42                               ` Philip Kaludercic [this message]
2021-12-30  4:28                                 ` Richard Stallman
2021-12-27 14:13                 ` Eli Zaretskii
2021-12-27 14:27                   ` Thierry Volpiatto
2021-12-27 14:36                     ` Philip Kaludercic
2021-12-27 21:27                   ` Rudolf Adamkovič
2021-12-28  3:24                     ` Eli Zaretskii
2021-12-26 15:30             ` Stefan Monnier
2021-12-26 15:29           ` Stefan Monnier
2021-12-26 20:55             ` Richard Stallman
2021-12-26 21:11               ` xenodasein--- via Emacs development discussions.
2021-12-26 22:55                 ` Philip Kaludercic
2021-12-27  4:15                 ` Richard Stallman
2021-12-26 21:21               ` Philip Kaludercic
2021-12-27  4:15                 ` Richard Stallman
2021-12-27 10:24                   ` Philip Kaludercic
2021-12-27 20:16                     ` Stefan Monnier
2021-12-26 21:48               ` Stefan Kangas
2021-12-26 22:11                 ` Stefan Monnier
2021-12-26 22:15                   ` xenodasein--- via Emacs development discussions.
2021-12-27  4:15                 ` Richard Stallman
2021-12-27 10:43                   ` Philip Kaludercic
2021-12-28  4:21                     ` Richard Stallman
2021-12-28  5:05                       ` LdBeth
  -- strict thread matches above, loose matches on Subject: below --
2021-12-26 18:46 Philip Kaludercic
2021-12-26 20:11 ` Stefan Kangas
2021-12-27  4:15 ` Richard Stallman
2021-12-27 11:02   ` Philip Kaludercic
2021-12-28  4:21     ` Richard Stallman
2021-12-28  8:41       ` Philip Kaludercic
2021-12-29  4:51         ` Richard Stallman
2021-12-29 10:18           ` Philip Kaludercic
2021-12-30  4:28             ` Richard Stallman
2021-12-30  8:17               ` Philip Kaludercic
2021-12-31  4:26                 ` Richard Stallman
2021-12-31 10:28                   ` Philip Kaludercic
2022-01-01  4:46                     ` Richard Stallman
2021-12-27 17:55 No Wayman
2021-12-28  4:21 ` Richard Stallman
2021-12-28 12:03 xenodasein--- via Emacs development discussions.
2021-12-28 12:13 ` Po Lu
2021-12-28 12:35   ` xenodasein--- via Emacs development discussions.
2021-12-28 19:02   ` Stefan Kangas
2021-12-29  0:37     ` Po Lu
2021-12-29 11:36       ` Philip Kaludercic
2021-12-29 11:41         ` Po Lu
2021-12-29 12:39           ` Óscar Fuentes
2021-12-29 13:04             ` Po Lu
2021-12-29 13:39               ` Óscar Fuentes
2021-12-29 13:46                 ` Po Lu
2021-12-29 14:06                   ` Óscar Fuentes
2021-12-29 20:19                     ` Stefan Kangas
2021-12-30  1:05                       ` Po Lu
2021-12-30 10:12                         ` Stefan Kangas
2021-12-30 10:27                           ` Po Lu
2021-12-29 15:16                   ` Dmitry Gutov
2021-12-29 15:45                     ` xenodasein--- via Emacs development discussions.
2021-12-29 17:11                       ` Eli Zaretskii
2021-12-30  1:09                     ` Po Lu
2021-12-30 13:50                       ` Dmitry Gutov
2021-12-30 14:00                         ` Po Lu
2021-12-30 14:50                           ` Dmitry Gutov
2021-12-31  0:45                             ` Po Lu
2021-12-31  0:49                               ` Dmitry Gutov
2021-12-31  1:12                                 ` Po Lu
2021-12-31  1:22                                   ` Dmitry Gutov
2022-01-01  7:07                               ` Sean Whitton
2022-01-01 17:38                                 ` Stefan Monnier
2021-12-31  4:24                       ` Richard Stallman
2021-12-31  4:44                         ` Po Lu
2021-12-28 12:53 ` Philip Kaludercic
2021-12-28 12:57   ` xenodasein--- via Emacs development discussions.
2021-12-28 17:21 ` Stefan Monnier
2021-12-29  4:51 ` Richard Stallman
2021-12-29 14:41   ` Lars Ingebrigtsen
2021-12-30  0:15     ` Akira Kyle
2021-12-30  6:29       ` Eli Zaretskii
2021-12-30 10:01         ` xenodasein--- via Emacs development discussions.
2021-12-30 10:27         ` Stefan Kangas
2021-12-30 10:43           ` Po Lu
2021-12-30 11:20             ` Stefan Kangas
2021-12-30 11:35               ` Po Lu
2021-12-31  1:31                 ` Tim Cross
     [not found]                   ` <87ee5teaty.fsf@dick>
2021-12-31  3:33                     ` Tim Cross
2021-12-31  4:41                       ` Po Lu
2021-12-31  3:41                   ` Po Lu
2021-12-30 11:56               ` Eli Zaretskii
2021-12-31  4:25               ` Richard Stallman
2021-12-30 12:05             ` Óscar Fuentes
2021-12-30 11:51           ` Eli Zaretskii
2021-12-30 12:09             ` Stefan Kangas
2022-01-01 20:42           ` Rudolf Adamkovič
2022-01-02  7:01             ` Richard Stallman
2021-12-30 20:17         ` Akira Kyle
2021-12-30 21:01           ` Theodor Thornhill
2021-12-31  0:54             ` Po Lu
2021-12-31  7:37             ` Eli Zaretskii
2021-12-31  7:17           ` Eli Zaretskii
2022-01-01 20:52             ` Akira Kyle
2021-12-30 21:23       ` Richard Stallman
2021-12-30 23:40         ` Akira Kyle
2021-12-31  4:27           ` Richard Stallman
2021-12-31  4:27           ` Richard Stallman
2022-01-01 21:08             ` Akira Kyle
2022-01-02  7:02               ` Richard Stallman
2021-12-30  4:28     ` Richard Stallman
2021-12-29  5:27 ` Stefan Kangas
2021-12-29  6:05   ` Ihor Radchenko
2021-12-29  9:33     ` Stefan Kangas
2021-12-29 11:12       ` Ihor Radchenko
2021-12-29 12:24         ` Stefan Kangas
2021-12-29 12:58           ` Ihor Radchenko
2021-12-29 13:13       ` Eli Zaretskii
2021-12-29 13:59         ` Ihor Radchenko
2021-12-29 15:02           ` Eli Zaretskii
2021-12-29 15:12             ` Lars Ingebrigtsen
2021-12-29 17:00               ` Eli Zaretskii
2021-12-29 17:13                 ` Christopher Dimech
2021-12-29 20:19                 ` Stefan Kangas
2021-12-29 15:48             ` Ihor Radchenko
2021-12-29 17:17               ` Eli Zaretskii
2021-12-29 23:52   ` Tim Cross
2021-12-30  6:16     ` Eli Zaretskii
2021-12-30 10:11       ` xenodasein--- via Emacs development discussions.
2021-12-30 10:34         ` Stefan Kangas
2022-01-01 20:18           ` xenodasein--- via Emacs development discussions.
2022-01-01 20:50             ` Stefan Kangas
2022-01-02  6:29               ` Eli Zaretskii

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=87tuerhev3.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

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

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