unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org, pedz@easesoftware.com, monnier@IRO.UMontreal.CA
Subject: Re: Cutoff date for adding ruby-ts-mode?
Date: Sat, 31 Dec 2022 08:31:17 +0200	[thread overview]
Message-ID: <83cz805bka.fsf@gnu.org> (raw)
In-Reply-To: <78ee732a-21a1-3443-2a0e-85343272e0ba@yandex.ru> (message from Dmitry Gutov on Fri, 30 Dec 2022 23:42:50 +0200)

> Date: Fri, 30 Dec 2022 23:42:50 +0200
> Cc: emacs-devel@gnu.org, pedz@easesoftware.com, monnier@IRO.UMontreal.CA
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> >> Alternatively, we break from the common scheme and put the modes in
> >> separate files, one depending on the other. Then they'll have to be
> >> separate GNU ELPA packages (I think), and we'll need to synchronously
> >> bump version and required-version in them every time when making
> >> interrelated changes in the future.
> > 
> > I'd prefer this alternative for now (modulo the separate ELPA packages
> > part, which I leave for you to decide: they could also be a single
> > package from my POV).  If nothing else, having separate files is
> > similar to what at least some other *-ts-mode's do.  When we revisit
> > these issues in the future, we'll be able to make the decisions about
> > all of them.
> 
> Okay.
> 
> I wonder what's going to happen if we release Emacs 29 with ruby-mode 
> and ruby-ts-mode in separate files, and then later add a package called 
> 'ruby' to ELPA with ruby.el containing both modes.

The ELPA package could also include 2 files, one for each mode.

> Will the autoloads file from an ELPA package always take priority over 
> the built-in autoloads? If yes, then we don't have to do anything now. 
> Hopefully that's not undefined behavior.
> 
> Alternatively, it would be possible to release two files as one ELPA 
> package, but it would seem to require a third file: one matching the 
> package name, ruby.el.

I'll leave this part of the issue to Stefan and others who know more
than I do about ELPA packaging.



  reply	other threads:[~2022-12-31  6:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 21:39 Cutoff date for adding ruby-ts-mode? Dmitry Gutov
2022-12-30  8:16 ` Eli Zaretskii
2022-12-30 15:32   ` Dmitry Gutov
2022-12-30 16:59     ` Eli Zaretskii
2022-12-30 21:42       ` Dmitry Gutov
2022-12-31  6:31         ` Eli Zaretskii [this message]
2022-12-31 11:24         ` Stefan Kangas
2023-01-02  1:35   ` Dmitry Gutov
2023-01-02 12:51     ` Eli Zaretskii
2023-01-02 18:44       ` Juri Linkov
2023-01-03  1:22         ` Dmitry Gutov

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=83cz805bka.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=pedz@easesoftware.com \
    /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).