delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/08/04:43:53

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:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=CXP
6tCgwRyJSZw8j7Qx5wHY+mWjqHUsYcsjQ3vrULV9aX1iSTchi/7Sr1XsYWGxwHGJ
o84oIko9VNPLM68Ri+C49G7T4VznmsdjwlFMqPbscEqcKD+YwGzJsXyU4KT8Ni7z
IA8rlWND1yA3lcFmV/cz+1eHpVEI+U4mPjszOBrU=
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:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=fQZwHrJDz
4stXARzlT2/V+h42xU=; b=I5AaJPH6cQ9+Pnk9SVVf/c+XPSl4eDklbAEQcRAhR
YIQ735U8nZzblS0g4G7VYlFI9Lv/rHU9bRQiaFMmIANWDX4WdlXTtjhzz+j5rGL1
+FA5nzcI5hGHNj6pb/OGOgCMOoZlWHQnowDgooON2ftwRZvOzO1rd203COK8kzxM
jU=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qk0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.55.53.208 with SMTP id c199mr2681086qka.109.1449567811733; Tue, 08 Dec 2015 01:43:31 -0800 (PST)
Date: Tue, 8 Dec 2015 10:43:31 +0100
Message-ID: <CABpq_PGEeS5VWK51fyoL1RSAdC4+LMKoqviCV-6dh44=KnXJSQ@mail.gmail.com>
Subject: Re: 'list-packages function in Emacs 24.5.2 causes core dump
From: Matthew Eichler <matthew DOT eichler AT aventinesolutions DOT nl>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tB89hmff027979

Thanks Ken,

I will check all the init.el statement on the various instances and
see what I come up with ...

---------- Forwarded message ----------
From: Ken Brown <kbrown AT cornell DOT edu>
To: cygwin AT cygwin DOT com
Cc:
Date: Fri, 4 Dec 2015 15:35:57 -0500
Subject: Re: 'list-packages function in Emacs 24.5.2 causes core dump
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

-- 
Matthew Eichler
matthew DOT eichler AT aventinesolutions DOT nl
www.aventinesolutions.nl

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019