From: "João Távora" <joaotavora@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: OK to put lisp/progmodes/flymake.el in ELPA as a :core package?
Date: Thu, 06 Dec 2018 00:19:25 +0000 [thread overview]
Message-ID: <87k1knwlpu.fsf@gmail.com> (raw)
In-Reply-To: <jwv5zwaheh4.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Mon, 03 Dec 2018 09:29:37 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> The only thing that's slightly putting me off is flymake.el's
>> requirement of lisp/progmodes/flymake-proc.el _after_ the `provide`
>> statement. It's odd, but shouldn't be a problem, right?
>
> It's sub-optimal, but sometimes it's better then the other options.
> In any case I don't see why it should be a problem for GNU ELPA packaging.
>
>> So, if no-one opposes I will be commiting this in the near future:
>
> No objection on my side,
Hmmn,
I've done this, and GNU ELPA has already built version 1.0.1 of the
package as intended.
But how do I install it from Emacs 26.1, iow, how do I upgrade it?
1. This doesn't work:
emacs -Q
(package-initialize)
(package-refresh-contents)
(package-install 'flymake)
Presumably because in Emacs 26.1 flymake is already a "built-in" package
(though at version 0.3)
2. If I do it interactively from the package menu, it works. Go
into the menu with M-x list-package, mark flymake 1.0.1 with 'i', then
type x.
3. This does work but seems pretty brittle
(package-initialize)
(package-refresh-contents)
(package-install #s(package-desc flymake
(1 0 1)
"A universal on-the-fly syntax checker"
((emacs
(26 1)))
single "gnu" nil
((:url . "http://elpa.gnu.org/packages/flymake.html")
(:keywords "c" "languages" "tools"))
nil))
The reason I want to do this programatically is so I can test eglot, a
package that depends on flymake, from a "make check" target in a
Makefile.
João
next prev parent reply other threads:[~2018-12-06 0:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 12:08 OK to put lisp/progmodes/flymake.el in ELPA as a :core package? João Távora
2018-12-03 14:29 ` Stefan Monnier
2018-12-06 0:19 ` João Távora [this message]
2018-12-06 2:09 ` Stefan Monnier
2018-12-06 6:43 ` João Távora
2018-12-06 13:03 ` Stefan Monnier
2018-12-06 14:53 ` João Távora
2018-12-06 19:28 ` Stefan Monnier
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=87k1knwlpu.fsf@gmail.com \
--to=joaotavora@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).