* having emacs-matlab in ELPA, finally. FSF paper signed
@ 2024-08-02 12:45 Uwe Brauer
2024-08-06 21:55 ` Andrea Corallo
0 siblings, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-08-02 12:45 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
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).
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.
3) I also have to tell you that the authors working for mathworks,
want the main development taking place in github, since it would
be easier to have pull/merge requests. I hope this will not cause
any problems.
4) However, I will ensure that only commits will end up in ELPA, if
the corresponding authors have signed the FSF papers.
Regards
Uwe Brauer
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
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
0 siblings, 1 reply; 20+ messages in thread
From: Andrea Corallo @ 2024-08-06 21:55 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-devel
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>
> 3) I also have to tell you that the authors working for mathworks,
> want the main development taking place in github, since it would
> be easier to have pull/merge requests. I hope this will not cause
> any problems.
This is not a problem, if I count them correctly we host 236 ELPA
packages developed on github ATM.
> 4) However, I will ensure that only commits will end up in ELPA, if
> the corresponding authors have signed the FSF papers.
Thanks!
Andrea
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
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
0 siblings, 2 replies; 20+ messages in thread
From: Uwe Brauer @ 2024-08-07 17:03 UTC (permalink / raw)
To: Andrea Corallo; +Cc: Uwe Brauer, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]
>>> "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?)
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?
Regards
Uwe
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-07 17:03 ` Uwe Brauer
@ 2024-08-07 17:54 ` Andrea Corallo
2024-08-12 11:20 ` Philip Kaludercic
1 sibling, 0 replies; 20+ messages in thread
From: Andrea Corallo @ 2024-08-07 17:54 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-devel
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?)
Not an ELPA expert here but AFAIU the branch your community is using to
produce releases can be called as you prefer, see the decription of
:release-branch in README.
> 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?
I'm not sure why you think the MELPA process should be easier, adding
emacs-matlab to ELPA should be like a three line patch to
<https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/elpa-packages>
where we just specify package-name, url and release-branch no?
You can submit the patch here or if these three parameters are known we
can write and push the patch for you :)
Thanks
Andrea
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-07 17:03 ` Uwe Brauer
2024-08-07 17:54 ` Andrea Corallo
@ 2024-08-12 11:20 ` Philip Kaludercic
2024-08-12 11:33 ` Andreas Schwab
2024-08-12 12:16 ` Uwe Brauer
1 sibling, 2 replies; 20+ messages in thread
From: Philip Kaludercic @ 2024-08-12 11:20 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
[-- 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
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 11:20 ` Philip Kaludercic
@ 2024-08-12 11:33 ` Andreas Schwab
2024-08-12 11:38 ` Philip Kaludercic
2024-08-12 12:16 ` Uwe Brauer
1 sibling, 1 reply; 20+ messages in thread
From: Andreas Schwab @ 2024-08-12 11:33 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
On Aug 12 2024, Philip Kaludercic wrote:
> 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))
aka abbreviate-file-name
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 11:33 ` Andreas Schwab
@ 2024-08-12 11:38 ` Philip Kaludercic
0 siblings, 0 replies; 20+ messages in thread
From: Philip Kaludercic @ 2024-08-12 11:38 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
Andreas Schwab <schwab@suse.de> writes:
> On Aug 12 2024, Philip Kaludercic wrote:
>
>> 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))
>
> aka abbreviate-file-name
Uh, wrong patch (don't even remember touching that file?):
[-- Attachment #2: Type: text/plain, Size: 434 bytes --]
diff --git a/elpa-packages b/elpa-packages
index f320d79dd7..7954d9062f 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -482,6 +482,7 @@
:ignored-files ("LICENSE"))
(markchars :url nil)
(math-symbol-lists :url "https://github.com/vspinu/math-symbol-lists.git")
+ (matlab :url "https://git.code.sf.net/p/matlab-emacs/src")
(mct :url "https://gitlab.com/protesilaos/mct"
:doc "README.org")
(memory-usage :url nil)
[-- Attachment #3: Type: text/plain, Size: 37 bytes --]
--
Philip Kaludercic on peregrine
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 11:20 ` Philip Kaludercic
2024-08-12 11:33 ` Andreas Schwab
@ 2024-08-12 12:16 ` Uwe Brauer
2024-08-12 12:29 ` Philip Kaludercic
1 sibling, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-08-12 12:16 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 2754 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> 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.
Ok
> So this is the host: https://sourceforge.net/projects/matlab-emacs/?
Aeh, well yes and no. This is, still the main repository for your
development. But lately, especially the authors working for matlab,
would like to move the main development to github, because of its
interface, pull requests etc (I am not a huge fan though 😬).
But before we move I would like to clean up the repository a bit,
deleting obsolete branches, rebasing this sort of things, and there is
still a branch, not merged with master whose status is unclear.
The next thing is then to check the headers of the files etc.
An issue that worries me is this. If out of a sudden a lot of new
contributions pop up, then I have to think of having a separate branch,
say called ELPA in which all authors have signed the FSF papers and
main/default the main development branch. I have still not made my mine
> IIRC MELPA forces contributors to write their own package
> specifications, right?
Yes a so called recipy files and then you have to do a pull request,
sigh 😬
> 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:
> 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
Thanks I will have look later
> 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.
Yes, I know on my TODO list, but I want to finish the cleanup process fist
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 12:16 ` Uwe Brauer
@ 2024-08-12 12:29 ` Philip Kaludercic
2024-08-12 14:58 ` Uwe Brauer
2024-11-22 16:12 ` Uwe Brauer
0 siblings, 2 replies; 20+ messages in thread
From: Philip Kaludercic @ 2024-08-12 12:29 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
Uwe Brauer <oub@mat.ucm.es> writes:
>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> 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.
>
> Ok
>
>
>> So this is the host: https://sourceforge.net/projects/matlab-emacs/?
>
> Aeh, well yes and no. This is, still the main repository for your
> development. But lately, especially the authors working for matlab,
> would like to move the main development to github, because of its
> interface, pull requests etc (I am not a huge fan though 😬).
>
> But before we move I would like to clean up the repository a bit,
> deleting obsolete branches, rebasing this sort of things, and there is
> still a branch, not merged with master whose status is unclear.
>
> The next thing is then to check the headers of the files etc.
>
> An issue that worries me is this. If out of a sudden a lot of new
> contributions pop up, then I have to think of having a separate branch,
> say called ELPA in which all authors have signed the FSF papers and
> main/default the main development branch. I have still not made my mine
I am afraid I don't understand what you are trying to say here. It is
true that you should check if new contributors have signed the FSF CA,
but how does that related to Git branches?
>> IIRC MELPA forces contributors to write their own package
>> specifications, right?
>
> Yes a so called recipy files and then you have to do a pull request,
> sigh 😬
>
>> 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:
>
>> 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
>
> Thanks I will have look later
Disregard this, I seem to have attached the wrong diff.
>> 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.
>
> Yes, I know on my TODO list, but I want to finish the cleanup process fist
OK, just ping me when you think the cleanup process is done, and I can
tell you if anything remains to be done before adding the package.
--
Philip Kaludercic on peregrine
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 12:29 ` Philip Kaludercic
@ 2024-08-12 14:58 ` Uwe Brauer
2024-08-12 15:06 ` Philip Kaludercic
2024-11-22 16:12 ` Uwe Brauer
1 sibling, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-08-12 14:58 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> I am afraid I don't understand what you are trying to say here. It is
> true that you should check if new contributors have signed the FSF CA,
> but how does that related to Git branches?
Sorry for not having explained this better. Once we have moved to github
(which I hoped to have done already), there are two scenarios
1. We proceed as before, that is around 4 authors, all of them
having signed the FSF paper, continue to contribute.
2. Out of sudden, because it is github and a people love pull
requests, a lot of contributions pop up, maybe from people
working for matlab, or for any other reasons. These contributions
might introduce new sexy features or bug fixes or both, but the
authors are somehow lazy to sign the FSF papers (it was quite a
bit of ordeal to have all contributors signed). In that scenario,
it might be a good idea to have 2 branches,
1. one for commits with authos having signed the FSF papers
2. One for commits with new contributions but with non-FSF
authors.
From experience it is best to be prepared. I know git is flexible: I can
create, rename and delete branches, but because git is so flexible the
process is not failsafe, name-rev does not always assign to a commit the
correct branch, which makes me nervous (being a mercurial user).
> Disregard this, I seem to have attached the wrong diff.
Ok.
> OK, just ping me when you think the cleanup process is done, and I can
> tell you if anything remains to be done before adding the package.
Hopefully soon.
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 14:58 ` Uwe Brauer
@ 2024-08-12 15:06 ` Philip Kaludercic
2024-08-12 15:17 ` Uwe Brauer
0 siblings, 1 reply; 20+ messages in thread
From: Philip Kaludercic @ 2024-08-12 15:06 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
Uwe Brauer <oub@mat.ucm.es> writes:
>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> I am afraid I don't understand what you are trying to say here. It is
>> true that you should check if new contributors have signed the FSF CA,
>> but how does that related to Git branches?
>
> Sorry for not having explained this better. Once we have moved to github
> (which I hoped to have done already),
BTW, I forgot to mention that I can also recommend Codeberg, if it is
just the UI you care about.
> there are two scenarios
>
> 1. We proceed as before, that is around 4 authors, all of them
> having signed the FSF paper, continue to contribute.
>
> 2. Out of sudden, because it is github and a people love pull
> requests, a lot of contributions pop up, maybe from people
> working for matlab, or for any other reasons. These contributions
> might introduce new sexy features or bug fixes or both, but the
> authors are somehow lazy to sign the FSF papers (it was quite a
> bit of ordeal to have all contributors signed). In that scenario,
> it might be a good idea to have 2 branches,
>
> 1. one for commits with authos having signed the FSF papers
>
> 2. One for commits with new contributions but with non-FSF
> authors.
Hmm, I have never heard of this kind of a model, usually a pull request
would just stay open until the person has signed the documents. The
main issue I'd anticipate is that it would become difficult to keep an
overview of what was contributed by someone having signed the CA and
not, causing fragmentation and a higher burden of maintenance.
>
> From experience it is best to be prepared. I know git is flexible: I can
> create, rename and delete branches, but because git is so flexible the
> process is not failsafe, name-rev does not always assign to a commit the
> correct branch, which makes me nervous (being a mercurial user).
>
>
>> Disregard this, I seem to have attached the wrong diff.
>
> Ok.
>
>> OK, just ping me when you think the cleanup process is done, and I can
>> tell you if anything remains to be done before adding the package.
>
> Hopefully soon.
--
Philip Kaludercic on peregrine
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 15:06 ` Philip Kaludercic
@ 2024-08-12 15:17 ` Uwe Brauer
2024-08-12 16:11 ` Philip Kaludercic
0 siblings, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-08-12 15:17 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> BTW, I forgot to mention that I can also recommend Codeberg, if it is
> just the UI you care about.
Thanks, I don't care about the UI, I prefer the command line or emacs
for that matter.
The others want github (I even would have preferred gitlab)
> Hmm, I have never heard of this kind of a model, usually a pull
> request would just stay open until the person has signed the
> documents. The main issue I'd anticipate is that it would become
> difficult to keep an overview of what was contributed by someone
> having signed the CA and not, causing fragmentation and a higher
> burden of maintenance.
Yeah, the longer I think about it the more I come to the conclusion that
it should be a method of last, well, very last resort.
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine. I support
to deliver weapons to Ukraine's military. I support the EU and NATO
membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 15:17 ` Uwe Brauer
@ 2024-08-12 16:11 ` Philip Kaludercic
0 siblings, 0 replies; 20+ messages in thread
From: Philip Kaludercic @ 2024-08-12 16:11 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
Uwe Brauer <oub@mat.ucm.es> writes:
>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> BTW, I forgot to mention that I can also recommend Codeberg, if it is
>> just the UI you care about.
>
> Thanks, I don't care about the UI, I prefer the command line or emacs
> for that matter.
> The others want github (I even would have preferred gitlab)
FWIW Codeberg would allow logging in using a GitHub account, while not
depending on non-free software IIRC (and generally minimising Javascript
where unnecessary).
>> Hmm, I have never heard of this kind of a model, usually a pull
>> request would just stay open until the person has signed the
>> documents. The main issue I'd anticipate is that it would become
>> difficult to keep an overview of what was contributed by someone
>> having signed the CA and not, causing fragmentation and a higher
>> burden of maintenance.
>
> Yeah, the longer I think about it the more I come to the conclusion that
> it should be a method of last, well, very last resort.
1+
--
Philip Kaludercic on peregrine
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-08-12 12:29 ` Philip Kaludercic
2024-08-12 14:58 ` Uwe Brauer
@ 2024-11-22 16:12 ` Uwe Brauer
2024-11-23 10:30 ` Philip Kaludercic
1 sibling, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-11-22 16:12 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 2404 bytes --]
Hi
> Uwe Brauer <oub@mat.ucm.es> writes:
> OK, just ping me when you think the cleanup process is done, and I can
> tell you if anything remains to be done before adding the package.
Ok, we finished some weeks ago but also had to merge some branches with new features.
I just recall that our repository now is in https://github.com/mathworks/Emacs-MATLAB-Mode.git
And we have it also in MELPA. As we discussed I would like to have it in
ELPA (all authors signed the FSF papers). If it works as expected I
might remove it from MELPA.
The following two points are not entirely clear to me:
1. The version numbering and the commits we push.
1. In MELPA every commit we push, will result in an updated MELPA
version. There version scheme is like for example in our case.
matlab-mode 20241117.1628
2. I see that ELPA has something like this
aggressive-indent 1.10.0 available gnu
aggressive-indent 20230112.1300 available melpa
so is the GNU/EPLA version identical to the MELPA one
2. The procedure for MELPA is as follows.
1. MELPA itself dwells in github, so
2. I need to fork that repository, clone it
3. Add a branch,
4. Add a recipe file that looks like
--8<---------------cut here---------------start------------->8---
(matlab-mode
:fetcher github
:repo "mathworks/Emacs-MATLAB-Mode"
:files (:defaults
("toolbox" "toolbox/*.m")
("toolbox/+emacs" "toolbox/+emacs/*.m")
("toolbox/+emacs/@Breakpoints" "toolbox/+emacs/@Breakpoints/*.m")
("toolbox/+emacs/@EmacsServer" "toolbox/+emacs/@EmacsServer/*.m")
("toolbox/+emacs/@Stack" "toolbox/+emacs/@Stack/*.m")
("bin" "bin/*.sh")
(:exclude "matlab-maint.el")))
--8<---------------cut here---------------end--------------->8---
1. Commit and push
2. Open a pull-request.
Now what is the procedure for ELPA, and is there anything like a recipe
file?
Thanks and regards
Uwe Brauer
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-22 16:12 ` Uwe Brauer
@ 2024-11-23 10:30 ` Philip Kaludercic
2024-11-23 12:07 ` Stefan Kangas
` (2 more replies)
0 siblings, 3 replies; 20+ messages in thread
From: Philip Kaludercic @ 2024-11-23 10:30 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 2674 bytes --]
Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
>
>
>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> OK, just ping me when you think the cleanup process is done, and I can
>> tell you if anything remains to be done before adding the package.
>
>
> Ok, we finished some weeks ago but also had to merge some branches with new features.
>
> I just recall that our repository now is in https://github.com/mathworks/Emacs-MATLAB-Mode.git
>
> And we have it also in MELPA. As we discussed I would like to have it in
> ELPA (all authors signed the FSF papers). If it works as expected I
> might remove it from MELPA.
> The following two points are not entirely clear to me:
>
> 1. The version numbering and the commits we push.
>
> 1. In MELPA every commit we push, will result in an updated MELPA
> version. There version scheme is like for example in our case.
> matlab-mode 20241117.1628
>
> 2. I see that ELPA has something like this
> aggressive-indent 1.10.0 available gnu
> aggressive-indent 20230112.1300 available melpa
> so is the GNU/EPLA version identical to the MELPA one
>
> 2. The procedure for MELPA is as follows.
>
> 1. MELPA itself dwells in github, so
>
> 2. I need to fork that repository, clone it
>
> 3. Add a branch,
>
> 4. Add a recipe file that looks like
>
> (matlab-mode
> :fetcher github
> :repo "mathworks/Emacs-MATLAB-Mode"
> :files (:defaults
> ("toolbox" "toolbox/*.m")
> ("toolbox/+emacs" "toolbox/+emacs/*.m")
> ("toolbox/+emacs/@Breakpoints" "toolbox/+emacs/@Breakpoints/*.m")
> ("toolbox/+emacs/@EmacsServer" "toolbox/+emacs/@EmacsServer/*.m")
> ("toolbox/+emacs/@Stack" "toolbox/+emacs/@Stack/*.m")
> ("bin" "bin/*.sh")
> (:exclude "matlab-maint.el")))
>
> 1. Commit and push
>
> 2. Open a pull-request.
>
> Now what is the procedure for ELPA, and is there anything like a recipe
> file?
You don't have to do anything*, I just have to add a package
specification (similar to the "recipe file" for MELPA) to elpa.git.
* As soon as it works. The main issues right now, are as you noticed
that ELPA doesn't release a new tarball for every commit, but just
when a new version is released. We track this by checking for commits
that bump the "Version" header in the main file (in your case
matlab.el). You currently don't have any version number, so the build
fails. I would suggest applying a change like this, if it doesn't
break any assumptions you have regarding the minimal Emacs version:
[-- Attachment #2: Type: text/plain, Size: 634 bytes --]
diff --git a/matlab.el b/matlab.el
index 8ca0ee24a2..b82229a672 100644
--- a/matlab.el
+++ b/matlab.el
@@ -5,11 +5,7 @@
;; Maintainer: Eric M. Ludlam <eludlam@mathworks.com>
;; Created: 04 Jan 91
;; Keywords: MATLAB(R)
-;; Version:
-
-(defconst matlab-mode-version "5.0"
- "Current version of MATLAB(R) mode.")
-
+;; Version: 5.0
;;
;; Copyright (C) 1997-2022 Eric M. Ludlam
;; Copyright (C) 1991-1997 Matthew R. Wette
@@ -50,6 +46,10 @@
;;; Code:
+(defconst matlab-mode-version (package-get-version)
+ "Current version of MATLAB(R) mode.")
+
+
(require 'matlab-compat)
(require 'matlab-syntax)
(require 'matlab-scan)
[-- Attachment #3: Type: text/plain, Size: 395 bytes --]
The other issue is that ELPA checks the copyright string and wants to
see that all packages in GNU ELPA have their copyright assigned to the
FSF.
If you can fix these two things, then everything should go through.
You can then decide to filter out files out of the final tarball by
adding an .elpaignore file that lists what files to exclude.
> Thanks and regards
>
> Uwe Brauer
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-23 10:30 ` Philip Kaludercic
@ 2024-11-23 12:07 ` Stefan Kangas
2024-11-23 13:22 ` Uwe Brauer
2024-11-23 13:19 ` Uwe Brauer via Matlab-emacs-discuss
2024-11-23 13:30 ` having emacs-matlab in ELPA, finally. FSF paper signed, " Uwe Brauer
2 siblings, 1 reply; 20+ messages in thread
From: Stefan Kangas @ 2024-11-23 12:07 UTC (permalink / raw)
To: Philip Kaludercic, Uwe Brauer; +Cc: Andrea Corallo, emacs-devel
Philip Kaludercic <philipk@posteo.net> writes:
> +(defconst matlab-mode-version (package-get-version)
> + "Current version of MATLAB(R) mode.")
We have tried to discourage the addition of such variables and commands,
given that one can always find that information by other means,
e.g. interactively with `describe-package` or from Lisp:
(package-desc-version (cadr (assq 'foo package-alist)))
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-23 12:07 ` Stefan Kangas
@ 2024-11-23 13:22 ` Uwe Brauer
2024-11-23 19:13 ` Stefan Kangas
0 siblings, 1 reply; 20+ messages in thread
From: Uwe Brauer @ 2024-11-23 13:22 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Philip Kaludercic, Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
>>> "SK" == Stefan Kangas <stefankangas@gmail.com> writes:
> Philip Kaludercic <philipk@posteo.net> writes:
>> +(defconst matlab-mode-version (package-get-version)
>> + "Current version of MATLAB(R) mode.")
> We have tried to discourage the addition of such variables and commands,
> given that one can always find that information by other means,
> e.g. interactively with `describe-package` or from Lisp:
> (package-desc-version (cadr (assq 'foo package-alist)))
So you want me use just that string
well (package-desc-version (cadr (assq 'matlab-mode package-alist)))
I presume
in matlab.el (and matlab-mode.el)?
What's about our current setting
(defconst matlab-mode-version "6.2"
"Current version of MATLAB(R) mode.")
Which we need for MELPA?
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-23 13:22 ` Uwe Brauer
@ 2024-11-23 19:13 ` Stefan Kangas
0 siblings, 0 replies; 20+ messages in thread
From: Stefan Kangas @ 2024-11-23 19:13 UTC (permalink / raw)
To: Uwe Brauer; +Cc: Philip Kaludercic, Andrea Corallo, emacs-devel
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "SK" == Stefan Kangas <stefankangas@gmail.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>> +(defconst matlab-mode-version (package-get-version)
>>> + "Current version of MATLAB(R) mode.")
>
>> We have tried to discourage the addition of such variables and commands,
>> given that one can always find that information by other means,
>> e.g. interactively with `describe-package` or from Lisp:
>
>> (package-desc-version (cadr (assq 'foo package-alist)))
>
> So you want me use just that string
> well (package-desc-version (cadr (assq 'matlab-mode package-alist)))
> I presume
>
> in matlab.el (and matlab-mode.el)?
That's what I would do, indeed. Well, I'd use this if you need the
string form:
(package-version-join
(package-desc-version (cadr (assq 'matlab-mode package-alist))))
Yeah, it's a bit of a mouthful. Most packages don't bother, and just
rely on `describe-package`, I think.
That said, there's nothing wrong with keeping it around; it just seems
redundant now that you have a "Version" header. I mostly mentioned it
for the record, and in case you wanted to get rid of some possible
redundancy.
(Personally, I'm not sure if the `matlab-show-version` command is needed
either given that we have `describe-package`. In emacs.git, we tend to
make such `foo-package-version` commands obsolete.)
> What's about our current setting
>
> (defconst matlab-mode-version "6.2"
> "Current version of MATLAB(R) mode.")
>
> Which we need for MELPA?
Hmm, are you sure that you need it for MELPA even with the addition of
the "Version" header?
In any case, this is an extremely minor nit either way.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-23 10:30 ` Philip Kaludercic
2024-11-23 12:07 ` Stefan Kangas
@ 2024-11-23 13:19 ` Uwe Brauer via Matlab-emacs-discuss
2024-11-23 13:30 ` having emacs-matlab in ELPA, finally. FSF paper signed, " Uwe Brauer
2 siblings, 0 replies; 20+ messages in thread
From: Uwe Brauer via Matlab-emacs-discuss @ 2024-11-23 13:19 UTC (permalink / raw)
To: Philip Kaludercic
Cc: Matlab-emacs-discuss, Andrea Corallo, emacs-devel-mXXj517/zsQ
[-- Attachment #1.1: Type: text/plain, Size: 3011 bytes --]
> Uwe Brauer <oub-YB6e1s5WF/He5aOfsHch1g@public.gmane.org> writes:
> You don't have to do anything*, I just have to add a package
> specification (similar to the "recipe file" for MELPA) to elpa.git.
> * As soon as it works. The main issues right now, are as you noticed
> that ELPA doesn't release a new tarball for every commit, but just
> when a new version is released. We track this by checking for commits
> that bump the "Version" header in the main file (in your case
> matlab.el). You currently don't have any version number, so the build
> fails. I would suggest applying a change like this, if it doesn't
> break any assumptions you have regarding the minimal Emacs version:
> diff --git a/matlab.el b/matlab.el
> index 8ca0ee24a2..b82229a672 100644
> --- a/matlab.el
> +++ b/matlab.el
> @@ -5,11 +5,7 @@
> ;; Maintainer: Eric M. Ludlam <eludlam-I5WecO5yM8GakBO8gow8eQ@public.gmane.org>
> ;; Created: 04 Jan 91
> ;; Keywords: MATLAB(R)
> -;; Version:
> -
> -(defconst matlab-mode-version "5.0"
> - "Current version of MATLAB(R) mode.")
> -
> +;; Version: 5.0
> ;;
> ;; Copyright (C) 1997-2022 Eric M. Ludlam
> ;; Copyright (C) 1991-1997 Matthew R. Wette
> @@ -50,6 +46,10 @@
> ;;; Code:
> +(defconst matlab-mode-version (package-get-version)
> + "Current version of MATLAB(R) mode.")
> +
> +
> (require 'matlab-compat)
> (require 'matlab-syntax)
> (require 'matlab-scan)
A couple of remarks,
1. this diff seems against an older matlab-mode version (may the one
in sourceforge), the latest github version is 6.2
https://github.com/mathworks/Emacs-MATLAB-Mode.git
2. Jonas Bernoulli one of the MELPA maintainers, recommended (but
did not demand) to add file called matlab-mode.el which is
basically a dummy file but also contains the current version
> The other issue is that ELPA checks the copyright string and wants to
> see that all packages in GNU ELPA have their copyright assigned to the
> FSF.
There is an automated process for checking this. If I had known, it
would have saved my quite a bit of time and work. I eyeballed the logs
and if there was an unknown author I checked the diff, and if necessary
contacted him.
> If you can fix these two things, then everything should go through.
> You can then decide to filter out files out of the final tarball by
> adding an .elpaignore file that lists what files to exclude.
1. I will add an elpaignore file, which is urgent,
2. And concerning the version number, what shall I do, your proposal
or Stefan's?
For the moment being I would like to keep the MELPA version as well till
I know ELPA works
Uwe
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 219 bytes --]
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: having emacs-matlab in ELPA, finally. FSF paper signed, Re: having emacs-matlab in ELPA, finally. FSF paper signed
2024-11-23 10:30 ` Philip Kaludercic
2024-11-23 12:07 ` Stefan Kangas
2024-11-23 13:19 ` Uwe Brauer via Matlab-emacs-discuss
@ 2024-11-23 13:30 ` Uwe Brauer
2 siblings, 0 replies; 20+ messages in thread
From: Uwe Brauer @ 2024-11-23 13:30 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: Stefan Kangas, Uwe Brauer, Andrea Corallo, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> +(defconst matlab-mode-version (package-get-version)
> + "Current version of MATLAB(R) mode.")
> +
> +
> (require 'matlab-compat)
> (require 'matlab-syntax)
> (require 'matlab-scan)
> The other issue is that ELPA checks the copyright string and wants to
> see that all packages in GNU ELPA have their copyright assigned to the
> FSF.
> If you can fix these two things, then everything should go through.
> You can then decide to filter out files out of the final tarball by
> adding an .elpaignore file that lists what files to exclude.
I added .elpaignore,
and pushed the commit to the github repository.
Concerning the version header, I got two different recommendation so I
prefer to wait till this is settled, and also what to do with the
original string that is needed for MELPA
> We have tried to discourage the addition of such variables and commands,
> given that one can always find that information by other means,
> e.g. interactively with `describe-package` or from Lisp:
> (package-desc-version (cadr (assq 'foo package-alist)))
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2024-11-23 19:13 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
2024-11-22 16:12 ` Uwe Brauer
2024-11-23 10:30 ` Philip Kaludercic
2024-11-23 12:07 ` Stefan Kangas
2024-11-23 13:22 ` Uwe Brauer
2024-11-23 19:13 ` Stefan Kangas
2024-11-23 13:19 ` Uwe Brauer via Matlab-emacs-discuss
2024-11-23 13:30 ` having emacs-matlab in ELPA, finally. FSF paper signed, " Uwe Brauer
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).