| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; q=dns; s=default; b=TDNOMC0MGdz2g60u | |
| G2qXiWvMd6Qv5ZzmMeavhGSdVa9CKrgxv7T420qaiL3m1qi5UsNbfzMKa8R+guct | |
| UpAngJVUkAbrb38IbTZkLXhg1GRSrPwWyY07qmfYmin1pOeG8bwiI0fsIgQn3+TY | |
| BbpyN/GJF9HXC0gsRTayaAmkH8c= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type | |
| :content-transfer-encoding; s=default; bh=GabXbRm3N3eUtd3u6TiliS | |
| ZJJKE=; b=NgfTLqRUI0E1GUntUWYsxiqVO1oSf6sdVYQrCFUsjcLJclcirc9lq1 | |
| mwmEX7w5V236ynUfsiErf56flSysUs071KyrjUVGy9f/teeCKV5HqS6AqV7ptfIl | |
| HNkXOLfKqo8/1B2y4M4DiW9Qp0kw7Bn5MdrcR2g3B6m1lGFCCXRbA= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
| X-HELO: | limerock03.mail.cornell.edu |
| X-CornellRouted: | This message has been Routed already. |
| Subject: | Re: 'list-packages function in Emacs 24.5.2 causes core dump |
| To: | cygwin AT cygwin DOT com |
| References: | <CABpq_PH9QuJKWN_NMj3wUi1hV24EbaSQvRMzPPG9qpMJ1R3tTA AT mail DOT gmail DOT com> |
| From: | Ken Brown <kbrown AT cornell DOT edu> |
| Message-ID: | <5661F92D.8070807@cornell.edu> |
| Date: | Fri, 4 Dec 2015 15:35:57 -0500 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CABpq_PH9QuJKWN_NMj3wUi1hV24EbaSQvRMzPPG9qpMJ1R3tTA@mail.gmail.com> |
| X-IsSubscribed: | yes |
On 12/4/2015 6:37 AM, Matthew Eichler wrote:
> Thanks Ken.
>
> Running emacs with the -Q switch has shown me that this is an ELisp
> problem with my init.el. This is a problem on Cygwin but not on
> ArchLinux (I synchronize this file accross all my Unix instances
> including VM's).
>
> The problem is this section, where, if I comment out adding the
> Marmalade repository to the package manger, then 'list-packages works
> oké, but of course, then I do not access all the repositories I want
> when I use the packaging system:
>
> (require 'package)
> (add-to-list 'package-archives
> '("melpa" . "http://melpa.milkbox.net/packages/") t)
> ;; (add-to-list 'package-archives
> ;; '("marmalade" . "http://marmalade-repo.org/packages/") t)
> (package-initialize)
>
> (defvar my-packages '(icicles
> clojure-mode
> cider
> magit
> rubocop
> rspec-mode
> el-spec
> feature-mode
> graphene
> color-theme
> password-generator
> dockerfile-mode))
>
> (dolist (p my-packages)
> (when (not (package-installed-p p))
> (package-install p)))
> (global-set-key (kbd "<f4>") 'list-packages)
Sorry, I still can't reproduce the problem. I created a .emacs file
just containing the code you posted:
$ cat .emacs
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(defvar my-packages
'(icicles
clojure-mode
cider
magit
rubocop
rspec-mode
el-spec
feature-mode
graphene
color-theme
password-generator
dockerfile-mode))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
I then started emacs and ran 'M-x list-packages' without a problem.
Are you sure there's nothing else in your various initialization files
that could be interfering with this? Don't forget about default.el,
site-start.el, and .Xresources. ('emacs -Q' excludes all of these.)
> I'm attaching the cygcheck.out file per instructions.
Thanks. Nothing in it jumps out at me as problematic.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |