emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OK to put lisp/progmodes/flymake.el in ELPA as a :core package?


From: João Távora
Subject: Re: OK to put lisp/progmodes/flymake.el in ELPA as a :core package?
Date: Thu, 06 Dec 2018 00:19:25 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]