all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: Andrea Corallo <acorallo@gnu.org>,  <emacs-devel@gnu.org>
Subject: Re: having emacs-matlab in ELPA, finally. FSF paper signed
Date: Mon, 12 Aug 2024 11:20:29 +0000	[thread overview]
Message-ID: <877ccmkmwy.fsf@posteo.net> (raw)
In-Reply-To: <87v80cp8nx.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 07 Aug 2024 19:03:30 +0200")

[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]

Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "AC" == Andrea Corallo <acorallo@gnu.org> writes:
>
>> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Hi all
>>> 
>>> After quite a bit of time I can say the following :
>>> 
>>> 1) All authors/contributors have either signed the corresponding FSF
>>> papers, in the very few cases where they have not, their
>>> corresponding code has been completely removed and therefore
>>> matlab-emacs could be in ELPA. Eli gave me his ok. (And RMS a
>>> while ago, if all legal requirements would be satisfied, of course).
>
>> Hi,
>
>> that's great news!
>
>>> 2) Can someone please provide me with some information or a link how
>>> to proceed? I have to say that we, the authors, are now cleaning
>>> up a bit the repository, rebase, delete obselete branches etc,
>>> before including the package in ELPA.
>
>> The ELPA README is the place to start from
>> <https://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/README>
>
> Thanks for this pointer. I had a first glance, it reminds me very much
> on the xemacs package system (but that used mercurial not git😉). 
>
> I have to read it in more details, but so far, I have two questions.
>
>     1. The name of the branches is fixed, that is the principal branch
>        has to be called main (and couldn't be called say default?)

Packages usually don't have to deal with that, all the ELPA build system
needs is a git repository URL, and that is usually enough to figure out
the rest.  If it uses some unconventional branch name that is not
default, we just need to note that in the package specification.

>     2. Matlab is right now in MELPA and it seems much simpler to add a
>        package to MELPA than to ELPA. Is one of the reasons, the github
>        interface MELPA uses, but ELPA is bound to savannah that does not
>        provide something similar?

So this is the host: https://sourceforge.net/projects/matlab-emacs/?

IIRC MELPA forces contributors to write their own package
specifications, right?  Some people do that for ELPA, but it is not
expected (I usually find it easier to update elpa.git myself).  In this
case, the basic specification is just:


[-- Attachment #2: Type: text/plain, Size: 595 bytes --]

diff --git a/matlab-shell.el b/matlab-shell.el
index ee80555bee..07c6223137 100644
--- a/matlab-shell.el
+++ b/matlab-shell.el
@@ -1003,7 +1003,7 @@ Sends commands to the MATLAB shell to initialize the MATLAB process."
 	     (ecca (if ecc (format "emacs.set('clientcmd', '%s');" ecc) ""))
 	     (args (list nsa ecca))
 	     (cmd (format "run('%s');%s" initcmd (apply 'concat args))))
-	(matlab-shell-send-command cmd)
+	(matlab-shell-send-command (string-replace (expand-file-name "~/") "~/" cmd))
 	)
     
     ;; Setup is misconfigured - we need emacsinit because it tells us how to debug

[-- Attachment #3: Type: text/plain, Size: 198 bytes --]


Though right now the package doesn't build, as the package is not well
formed according to (elisp) Packaging.  Among other things, it lacks a
"Version" header.

-- 
	Philip Kaludercic on peregrine

  parent reply	other threads:[~2024-08-12 11:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02 12:45 having emacs-matlab in ELPA, finally. FSF paper signed Uwe Brauer
2024-08-06 21:55 ` Andrea Corallo
2024-08-07 17:03   ` Uwe Brauer
2024-08-07 17:54     ` Andrea Corallo
2024-08-12 11:20     ` Philip Kaludercic [this message]
2024-08-12 11:33       ` Andreas Schwab
2024-08-12 11:38         ` Philip Kaludercic
2024-08-12 12:16       ` Uwe Brauer
2024-08-12 12:29         ` Philip Kaludercic
2024-08-12 14:58           ` Uwe Brauer
2024-08-12 15:06             ` Philip Kaludercic
2024-08-12 15:17               ` Uwe Brauer
2024-08-12 16:11                 ` Philip Kaludercic

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ccmkmwy.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=acorallo@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=oub@mat.ucm.es \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.