From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: 18448-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#18448: Problems installing (M)ELPA packages
Date: Thu, 11 Sep 2014 09:47:48 +0200 [thread overview]
Message-ID: <86iokubntn.fsf@somewhere.org> (raw)
Hello,
(This discussion was started on gnu.emacs.help)
Michael Heerdegen wrote:
> Stefan Monnier wrote:
>> Sebastien Vauban wrote:
>>>
>>> While using `package.el' fulfills a long-awaited dream for easily adding
>>> and upgrading Emacs libraries, I now feel upgrading packages is much
>>> more complex than what I anticipated.
>>>
>>> At least two of the packages I use daily (Org and Helm) require to be
>>> installed from inside a fresh Emacs session (emacs -Q), where nothing
>>> has been loaded.
>>>
>>> For example, the FAQ entry from Helm on this:
>>>
>>> ╭──── https://github.com/emacs-helm/helm/wiki#ihaveupdatedfrommelpaandihaveerrors
>>> │
>>> │ I have updated from melpa and I have errors
>>> │
>>> │ - Uninstall helm from list-packages
>>> │ - Close emacs
>>> │ - Start emacs -Q
>>> │ - Reinstall helm from list-packages
>>> │ - Restart emacs
>>> ╰────
>>>
>>> I guess a lot of people are not aware of this, and don't take enough
>>> look at the Compile log to see that it can lead to (big?) problems.
>>>
>>> Is that something that could/will be fixed in the future?
>>>
>>> Is the Helm workaround (with Emacs-async, documented in the above link)
>>> usable for avoiding this with all ELPA packages?
>>
>> There have been some discussions about it in emacs-devel, but nothing
>> concrete came out of it yet (except maybe emacs-async, tho IIUC it
>> existed before).
>>
>> I suggest you re-start a discussion about this in emacs-devel or via
>> M-x report-emacs-bug.
>>
>> For this discussion, it would be helpful to have a list of known
>> breakages with some analysis of why they break. I know of one source of
>> problems:
>> When compiling the new package, (require 'foo) will do nothing if the
>> old package also had a `foo' which is already loaded, in which case we
>> end up using the old package's `foo' to compile the new package, which
>> of course leads to various problems, e.g. if we use some macros from `foo'.
>
> For helm, that is exactly the problem (and the only one I know of).
> Currently, the maintainers are flooded with breakage reports due to
> macro changes.
>
> AFAICT, it is planned to enhance async so that it can perform
> compilation of packages (and to use an advice to make package.el use
> it.). For helm, it is planned to let the helm package depend on
> emacs-async, which should solve the problem - see
>
> https://github.com/emacs-helm/helm/issues/617.
I don't know/understand the cause for Org, but installing Org mode in
a session where Org is already loaded will lead to
`org-with-silent-modification' "invalid function" errors (there are
a lot of such posts about it in the mailing list).
Best regards,
Seb
next reply other threads:[~2014-09-11 7:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 7:47 Sebastien Vauban [this message]
2014-09-11 15:53 ` bug#18448: Problems installing (M)ELPA packages Glenn Morris
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=86iokubntn.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=18448-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
/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).