From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: 'list-packages function in Emacs 24.5.2 causes core dump
Date: Fri, 04 Dec 2015 20:36:00 -0000 [thread overview]
Message-ID: <5661F92D.8070807@cornell.edu> (raw)
In-Reply-To: <CABpq_PH9QuJKWN_NMj3wUi1hV24EbaSQvRMzPPG9qpMJ1R3tTA@mail.gmail.com>
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
next prev parent reply other threads:[~2015-12-04 20:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 11:37 Matthew Eichler
2015-12-04 20:36 ` Ken Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-08 9:43 Matthew Eichler
2015-12-03 9:35 Matthew Eichler
2015-12-03 13:16 ` Ken Brown
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5661F92D.8070807@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.com \
/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.
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).