unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: installed packages long description.
Date: Tue, 11 Dec 2018 15:01:04 -0500	[thread overview]
Message-ID: <jwvmupbalp9.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 86efapi3lt.fsf@stephe-leake.org

> And it does not describe "the <pkg>-readme.txt served via HTTP"
>
> So we need to add that at least. We could also document the other uses
> of 'package--with-response-buffer':
>
> package--check-signature
> package--download-one-archive
> package-install-from-archive
>
> Then package.el can reference the elisp manual.

Sounds good.  Can you take care of it?

>>> from elpa/admin/archive-contents.el, that appears to be:
>>>
>>> (archive--get-section
>>>   "Commentary"
>>>   '("README" "README.rst" "README.org")
>>>   srcdir mainsrcfile)
>>>
>>> That code could be moved to package.el
>>
>> Sounds good.

Can you take care of this as well?

>> As for saying the README and/or Commentary: from now on is assumed to
>> use Markdown, that will result in ugly text with current/previous
>> packages which are not written under this assumption.
> Right, I would say no markup in Commentary: or README, and rely on the
> file extension for a README*.* .

We could support a new section name ("Description:" or
"Commentary.org:" or ...) for the "Commentary: with markup".

This said, there's also the possibility to just use Commentary: along
with a heuristic which would give "mostly correct" results on
existing Commentaries.

Bonus points if we can change elisp-mode's font-lock so the markup is
correctly prettified.

>> Also, there's the old discussion of which markup to use (mostly Org or
>> markdown).
> Easiest to allow any that Emacs can display.

I think currently Org is the only markup format that vanilla Emacs can
render (tho arguably Texinfo is there as well, via makeinfo.el).

Allowing more formats requires more code to handle the various formats,
so I think we'd be better off only supporting one format.


        Stefan




  reply	other threads:[~2018-12-11 20:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05  1:39 installed packages long description Stephen Leake
2018-12-09 16:38 ` Stefan Monnier
2018-12-09 18:46   ` Stephen Leake
2018-12-10  2:40     ` Stefan Monnier
2018-12-10 19:27       ` Stephen Leake
2018-12-11 20:01         ` Stefan Monnier [this message]
2018-12-12  1:46           ` Stephen Leake
2018-12-12  2:02             ` Stefan Monnier
2018-12-13 14:49               ` Stephen Leake
2018-12-13 15:24                 ` Stefan Monnier
2018-12-13 22:47                   ` Stephen Leake

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=jwvmupbalp9.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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).