[Pkg-emacsen-addons] Bug#841524: Depend or Suggest markdown package for preview to work

Nicholas D Steeves nsteeves at gmail.com
Fri Feb 15 22:25:13 GMT 2019


On Fri, Oct 21, 2016 at 01:38:24PM +0300, Tommi Vainikainen wrote:
> Package: elpa-markdown-mode
> Version: 2.1-1
> Severity: normal
> 
> elpa-markdown-mode should either Depend or Suggest markdown package so
> that markdown-preview function would work correctly. If not Depends,
> then it would be also nice to give nice error message about missing
> command instead of preview page in a browser containing "/bin/bash:
> markdown: command not found".
> 

List of supported converters from upstream README.md: markdown |
libtext-multimarkdown-perl | pandoc

Also available in Debian: discount | python3-markdown

Also from the README
  `markdown-command` - the command used to run Markdown (default:
                       `markdown`)

Given that markdown-mode is configured upstream to use "bin:markdown",
it seems more reasonable (and easy!) to just Recommends markdown, and
then add a list of alternatives to Suggests.  This way it works out of
the box, and the user can consult Suggests when interpreting the
upstream README.md.

One thing I'm not sure about is if "discount | python3-markdown"
should be included in the list of Suggests...  They both claim to pass
the Markdown 1.0 test suite, and including these alternatives seems
like a good-neighbourly thing to, so I'm leaning towards including
them.

Cheers,
Nicholas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20190215/5d796ac9/attachment-0001.sig>


More information about the Pkg-emacsen-addons mailing list