unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* distributing Emacs modules as ELPA packages
@ 2016-07-07 16:27 Ted Zlatanov
  2016-07-07 16:57 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2016-07-07 16:27 UTC (permalink / raw)
  To: emacs-devel

Has anyone distributed an Emacs module as an ELPA package?

I'd like to do that with my old crypto patch, which I'd reimplement as
callable C glue functions in the module.

Thanks
Ted




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 16:27 distributing Emacs modules as ELPA packages Ted Zlatanov
@ 2016-07-07 16:57 ` Eli Zaretskii
  2016-07-07 17:08   ` Ted Zlatanov
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-07-07 16:57 UTC (permalink / raw)
  To: emacs-devel

> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Thu, 07 Jul 2016 12:27:09 -0400
> 
> Has anyone distributed an Emacs module as an ELPA package?
> 
> I'd like to do that with my old crypto patch, which I'd reimplement as
> callable C glue functions in the module.

Is it wise, given that Emacs 25.1 is not yet released?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 16:57 ` Eli Zaretskii
@ 2016-07-07 17:08   ` Ted Zlatanov
  2016-07-07 17:21     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2016-07-07 17:08 UTC (permalink / raw)
  To: emacs-devel

On Thu, 07 Jul 2016 19:57:26 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 

>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Date: Thu, 07 Jul 2016 12:27:09 -0400
>> 
>> Has anyone distributed an Emacs module as an ELPA package?
>> 
>> I'd like to do that with my old crypto patch, which I'd reimplement as
>> callable C glue functions in the module.

EZ> Is it wise, given that Emacs 25.1 is not yet released?

Yes.

Ted




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 17:08   ` Ted Zlatanov
@ 2016-07-07 17:21     ` Eli Zaretskii
  2016-07-07 17:51       ` Ted Zlatanov
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-07-07 17:21 UTC (permalink / raw)
  To: emacs-devel

> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Thu, 07 Jul 2016 13:08:38 -0400
> 
> On Thu, 07 Jul 2016 19:57:26 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 
> 
> >> I'd like to do that with my old crypto patch, which I'd reimplement as
> >> callable C glue functions in the module.
> 
> EZ> Is it wise, given that Emacs 25.1 is not yet released?
> 
> Yes.

Any chance to get a more detailed response?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 17:21     ` Eli Zaretskii
@ 2016-07-07 17:51       ` Ted Zlatanov
  2016-07-07 19:38         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2016-07-07 17:51 UTC (permalink / raw)
  To: emacs-devel

On Thu, 07 Jul 2016 20:21:45 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 

>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Date: Thu, 07 Jul 2016 13:08:38 -0400
>> 
>> On Thu, 07 Jul 2016 19:57:26 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 
>> 
>> >> I'd like to do that with my old crypto patch, which I'd reimplement as
>> >> callable C glue functions in the module.
>> 
EZ> Is it wise, given that Emacs 25.1 is not yet released?
>> 
>> Yes.

EZ> Any chance to get a more detailed response?

1. We have modules in 25.1.

2. 25.1 is in feature freeze (so code bindings are stable).

3. We discussed putting the crypto patch in an ELPA module package years
ago; in fact Stefan made it a requirement:

http://permalink.gmane.org/gmane.emacs.devel/163980

http://comments.gmane.org/gmane.emacs.devel/169370

Ted




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 17:51       ` Ted Zlatanov
@ 2016-07-07 19:38         ` Eli Zaretskii
  2016-07-07 19:57           ` Ted Zlatanov
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-07-07 19:38 UTC (permalink / raw)
  To: emacs-devel; +Cc: emacs-devel

> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Thu, 07 Jul 2016 13:51:05 -0400
> 
> 1. We have modules in 25.1.
> 
> 2. 25.1 is in feature freeze (so code bindings are stable).
> 
> 3. We discussed putting the crypto patch in an ELPA module package years
> ago; in fact Stefan made it a requirement:

My problem is that anyone who'd want to use that package will have to
build Emacs themselves, probably from the Git checkout.  That's not
for the faint at heart.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: distributing Emacs modules as ELPA packages
  2016-07-07 19:38         ` Eli Zaretskii
@ 2016-07-07 19:57           ` Ted Zlatanov
  0 siblings, 0 replies; 7+ messages in thread
From: Ted Zlatanov @ 2016-07-07 19:57 UTC (permalink / raw)
  To: emacs-devel

On Thu, 07 Jul 2016 22:38:10 +0300 Eli Zaretskii <eliz@gnu.org> wrote: 

>> From: Ted Zlatanov <tzz@lifelogs.com>
>> Date: Thu, 07 Jul 2016 13:51:05 -0400
>> 
>> 1. We have modules in 25.1.
>> 
>> 2. 25.1 is in feature freeze (so code bindings are stable).
>> 
>> 3. We discussed putting the crypto patch in an ELPA module package years
>> ago; in fact Stefan made it a requirement:

EZ> My problem is that anyone who'd want to use that package will have to
EZ> build Emacs themselves, probably from the Git checkout.  That's not
EZ> for the faint at heart.

The package will include some metadata to tell package.el that it
requires modules enabled. Then package.el can warn appropriately when
the package or things that depend on it are requested. This metadata is
not defined currently, AFAIK.

package.el also needs logic to rebuild the module from source or install
from binaries.

None of these tasks have been done before AFAIK (which is why I asked in
the first place). Someone has to be first I guess :)

I'll work on it in a scratch branch and publish it for review when it's
ready.

Ted




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-07 19:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 16:27 distributing Emacs modules as ELPA packages Ted Zlatanov
2016-07-07 16:57 ` Eli Zaretskii
2016-07-07 17:08   ` Ted Zlatanov
2016-07-07 17:21     ` Eli Zaretskii
2016-07-07 17:51       ` Ted Zlatanov
2016-07-07 19:38         ` Eli Zaretskii
2016-07-07 19:57           ` Ted Zlatanov

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).