unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: matlab-mode MELPA, link contact FAQ?
Date: Fri, 15 Apr 2016 13:41:02 -0400	[thread overview]
Message-ID: <571127AE.4060103@gmail.com> (raw)
In-Reply-To: <87r3e66c05.fsf@mat.ucm.es>


[-- Attachment #1.1: Type: text/plain, Size: 2060 bytes --]

On 04/15/2016 01:02 PM, Uwe Brauer wrote:
>    > On 04/15/2016 11:10 AM, Uwe Brauer wrote:
> 
>    > Not really; it's specific to the distribution part, which you don't
>    > care about. From the metadata in the headers (for single-file
>    > packages) or in …-pkg.el (for multi-file packages) MELPA will build a
>    > tar files that users download through package.el.
> Ok thanks.
> 
> I am sorry to nag, but I find the lack of some manual frustrating.

No problem. Happy to help when I can. Looking at this a bit more, I think what I said earlier needs to be slightly amended. If you have a file whose name matches your package's name, if seems that MELPA will use its headers to generate a package description. Since you don't have a matlab-mode.el, though, MELPA doesn't know where to look.

You can just create a matlab-mode-pkg.el file, and it will grab information from there. I don't generally write these -pkg files by hand. Instead, I just use Cask (https://github.com/cask/cask) to generate them for me.

> If I understand correctly, all I have to do is  to provide a file
> matlab-pkg.el, then automatically the info string will be updated.

matlab-mode-pkg.el, right?

> But I am not sure about its contend. Looking up in packages I installed
> from MELPA (...) does not really help

You could take a look at https://github.com/emacs-helm/helm/blob/master/helm-pkg.el for an example. Here are other examples from my packages:

https://github.com/cpitclaudel/company-coq/blob/master/company-coq-pkg.el
https://github.com/cpitclaudel/biblio.el/blob/master/biblio-pkg.el

The docs of that define-package forms are here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Multi_002dfile-Packages.html . Your confusion regarding version numbers is due to MELPA editing the pkg file when it packages your software. MELPA packages use a different versioning namespace based on the packaging date. IOW, when your package is finally built, MELPA will replace its real version number by the current date and time.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2016-04-15 17:41 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15  9:46 matlab-mode MELPA, link contact FAQ? Uwe Brauer
2016-04-15 11:47 ` Clément Pit--Claudel
2016-04-15 15:10   ` Uwe Brauer
2016-04-15 15:33     ` Clément Pit--Claudel
2016-04-15 17:02       ` Uwe Brauer
2016-04-15 17:41         ` Clément Pit--Claudel [this message]
2016-04-15 20:19           ` Uwe Brauer
2016-04-15 12:32 ` Stefan Monnier
2016-04-15 14:33   ` Clément Pit--Claudel
2016-04-15 15:12   ` Uwe Brauer
2016-04-18  8:31   ` Richard Stallman
2016-04-18  8:55     ` Nicolas Petton
2016-04-18 12:08       ` Tom
2016-04-19  0:29       ` Richard Stallman
2016-04-19  0:45         ` Clément Pit--Claudel
2016-04-19  8:23         ` Steve Purcell
2016-04-19  9:38           ` Nicolas Petton
2016-04-19 23:51           ` Richard Stallman
2016-04-18 11:53     ` Stefan Monnier
2016-04-18 11:55     ` Stefan Monnier
2016-04-18 14:38     ` Clément Pit--Claudel
2016-04-15 22:51 ` Richard Stallman
2016-04-16  7:49   ` Uwe Brauer

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=571127AE.4060103@gmail.com \
    --to=clement.pit@gmail.com \
    --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).