From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.bugs Subject: bug#18448: Problems installing (M)ELPA packages Date: Thu, 11 Sep 2014 09:47:48 +0200 Organization: Sebastien Vauban Message-ID: <86iokubntn.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410421832 25602 80.91.229.3 (11 Sep 2014 07:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2014 07:50:32 +0000 (UTC) To: 18448-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Sep 11 09:50:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XRz94-0005oS-Si for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 09:50:23 +0200 Original-Received: from localhost ([::1]:34652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz94-0000Xq-FT for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2014 03:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz8v-0000Wr-Io for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:50:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRz8q-0004B6-4D for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:50:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz8q-0004Az-22 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:50:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XRz8k-0003v9-1q for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:50:02 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Sebastien Vauban Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Thu, 11 Sep 2014 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: report 18448 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-Received: via spool by submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B.141042176214990 (code B ref -1); Thu, 11 Sep 2014 07:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Sep 2014 07:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:37241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRz85-0003th-8Z for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 11 Sep 2014 03:49:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51671) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRz83-0003tZ-FW for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 11 Sep 2014 03:49:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRz7x-0003Ud-Ow for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 11 Sep 2014 03:49:19 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz7x-0003UW-Lt for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 11 Sep 2014 03:49:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz7p-0008Jb-Vh for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:49:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRz7l-0003S6-1u for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:49:05 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:20041 helo=mail.missioncriticalit.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRz7k-0003Ru-Rp for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 11 Sep 2014 03:49:00 -0400 Original-Received: from MUNDANEUM.i-did-not-set--mail-host-address--so-tickle-me (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPSA id E2CCD500926 for ; Thu, 11 Sep 2014 09:48:58 +0200 (CEST) X-Url: Under construction... X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:93259 Archived-At: 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: >>> >>> =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 https://github.com/emac= s-helm/helm/wiki#ihaveupdatedfrommelpaandihaveerrors >>> =E2=94=82 >>> =E2=94=82 I have updated from melpa and I have errors >>> =E2=94=82 >>> =E2=94=82 - Uninstall helm from list-packages >>> =E2=94=82 - Close emacs >>> =E2=94=82 - Start emacs -Q >>> =E2=94=82 - Reinstall helm from list-packages >>> =E2=94=82 - Restart emacs >>> =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >>> >>> 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 `fo= o'. > > 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