GNU bug report logs - #22791
25.0.91; Deleting dependency package and reinstalling overwrites custom file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Joost Kremers <joostkremers@HIDDEN>; dated Wed, 24 Feb 2016 13:56:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Feb 2016 13:55:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 08:55:27 2016
Received: from localhost ([127.0.0.1]:42653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aYZuV-00019F-6h
	for submit <at> debbugs.gnu.org; Wed, 24 Feb 2016 08:55:27 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37043)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZuP-00018t-MN
 for submit <at> debbugs.gnu.org; Wed, 24 Feb 2016 08:55:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZuG-00076E-Ou
 for submit <at> debbugs.gnu.org; Wed, 24 Feb 2016 08:55:12 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57810)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZuG-00076A-MC
 for submit <at> debbugs.gnu.org; Wed, 24 Feb 2016 08:55:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56240)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZuC-0000xD-Lu
 for bug-gnu-emacs@HIDDEN; Wed, 24 Feb 2016 08:55:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZu7-00071V-Kq
 for bug-gnu-emacs@HIDDEN; Wed, 24 Feb 2016 08:55:04 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45873)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <joostkremers@HIDDEN>) id 1aYZu7-00071R-GG
 for bug-gnu-emacs@HIDDEN; Wed, 24 Feb 2016 08:54:59 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 6A14A2181D
 for <bug-gnu-emacs@HIDDEN>; Wed, 24 Feb 2016 08:54:56 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute4.internal (MEProxy); Wed, 24 Feb 2016 08:54:56 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=
 content-type:date:from:message-id:mime-version:subject:to
 :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=dkzfrbDMRYTlI09NN8zJochgnDI
 =; b=N+eiX8ZFTuqw39g5Vo/op7cMq91QaO44QWjm+Ze+QGPSNHBlL42tZ6ajuaa
 +J2EVVD1jgGwbkFKjx128vFm64IznQJjIoQSYTZuDtYr/KpVEvdouuQCsNGlidzj
 mGbMJAU4tGhvgZLqZ4aR8ainQ409gQhMtLoiQwvxcOm8m8rI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=dk
 zfrbDMRYTlI09NN8zJochgnDI=; b=Pxan1xypieykafwdcqoWiMleX1nTLaYScj
 xV0fukph4y+3vvi69/esN9HMhoXwPoUlJ7gxsrjx3VpRnyP8g/2AmwuAnC151bkX
 zawMgLFfKainJ4gdrRiM51uBvOxjtSjo2xph9g9C/bgJz1x2FxibERaV3wpITl4T
 98QixXBCQ=
X-Sasl-enc: EgqIOAdG0HzLKnF8Mp4IVEm7us10Y/HTL8ukwLbxd9yy 1456322095
Received: from IdeaPad.messagingengine.com (x5f7708bb.dyn.telefonica.de
 [95.119.8.187])
 by mail.messagingengine.com (Postfix) with ESMTPA id 81783C0001E
 for <bug-gnu-emacs@HIDDEN>; Wed, 24 Feb 2016 08:54:55 -0500 (EST)
User-agent: mu4e 0.9.17; emacs 25.0.91.1
From: Joost Kremers <joostkremers@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.91;
 Deleting dependency package and reinstalling overwrites custom file
Date: Wed, 24 Feb 2016 14:54:53 +0100
Message-ID: <87h9gymcwi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)


- Given the following init file:

```
(setq custom-file "~/.emacs.d/custom.el")

(require 'package)
;; (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(setq package-enable-at-startup nil)
(package-initialize)

(load custom-file)
```

- Customize some option (e.g., `fill-column') with `M-x
  customize-option'. (This is not an essential step, it just serves to
  illustrate the problem.)

- Install a package that has some dependency, e.g., ace-window, which
  has avy as a dependency.


    M-x package-install RET ace-window RET


- Close Emacs and do (from a shell):

    $ rm -rf ~/.emacs.d/elpa/avy-*

- Restart Emacs (this will give an error about not being able to load
  ace-window, because its dependency avy is not met.)

- Install avy:

    M-x package-install RET avy RET

At this point, the custom file ~/.emacs.d/custom.el is overwritten: the
custom setting for `fill-column' is gone.

The bug is dependent on `package-enable-at-startup' being set to nil and
`custom-file' being set. If either of these conditions isn't met, the
bug doesn't occur.





In GNU Emacs 25.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2016-02-24 built on IdeaPad
Repository revision: e01c72f8f4987f9de71130b8b6d8224999fc6c6f
Windowing system distributor 'The X.Org Foundation', version 11.0.11600000
System Description:	elementary OS Freya

Configured using:
 'configure --with-x-toolkit=gtk2'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 X11

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading /home/joost/.emacs.d/custom.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns help-mode cl-loaddefs pcase cl-lib mail-prsvr
mail-utils finder-inf package easymenu epg-config time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 95208 5746)
 (symbols 48 20534 0)
 (miscs 40 86 96)
 (strings 32 17037 5159)
 (string-bytes 1 488155)
 (vectors 16 12781)
 (vector-slots 8 433765 4260)
 (floats 8 174 15)
 (intervals 56 236 0)
 (buffers 976 12)
 (heap 1024 37336 913))



-- 
Joost Kremers
Life has its moments




Acknowledgement sent to Joost Kremers <joostkremers@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22791; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.