From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.bugs Subject: bug#22791: 25.0.91; Deleting dependency package and reinstalling overwrites custom file Date: Tue, 08 Sep 2020 11:15:14 +0200 Message-ID: <874ko8y6hp.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.5; emacs 27.1.50 Cc: 22791@debbugs.gnu.org To: Mauro Aranda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 11:16:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFZjY-0009CS-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 11:16:12 +0200 Original-Received: from localhost ([::1]:58478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFZjX-0004lH-85 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 05:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFZjO-0004jP-Rg for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 05:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFZjO-00005k-It for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 05:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFZjO-0005T9-Ea for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 05:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joost Kremers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Sep 2020 09:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22791 X-GNU-PR-Package: emacs Original-Received: via spool by 22791-submit@debbugs.gnu.org id=B22791.159955652420961 (code B ref 22791); Tue, 08 Sep 2020 09:16:02 +0000 Original-Received: (at 22791) by debbugs.gnu.org; 8 Sep 2020 09:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:51946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFZil-0005S0-RC for submit@debbugs.gnu.org; Tue, 08 Sep 2020 05:15:24 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFZik-0005Rl-EK for 22791@debbugs.gnu.org; Tue, 08 Sep 2020 05:15:22 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0B2EC5C012E; Tue, 8 Sep 2020 05:15:17 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 08 Sep 2020 05:15:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=X296jD3Q9XVj+RFpe8HaVhEoGA KR62nDuyfDbOyirbw=; b=FuX6lGOd8CuqjWdmkp4n7b6f40+xfUQSkO1tJCyJyh SGS7MYpgYoV5QJMLit05J6JPDAGamVh0pWnVM38M+TjYGi2ZJIxXsIilfSLv7Ib4 QQS3OAhl5ukyZf6GuC5trinybr+iLjz3K0lujPGOJZygtyIv9qckWgefRY6TEtL2 QfiAbpL/NyeVmuN90N3aX7UikVJCZAg/DDwZqnXf7osLEZczh+DznJm1SozoDZIX cFHotICdEQQc6mNo83/KzNhCrzcsDIJzgBEisvR1dz+BPdW0FtM5WStwfJkRczUT fD3+4jviJcFdzy9QptkLIJXfIH3rFt6Gp79GH/jLNWJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=X296jD 3Q9XVj+RFpe8HaVhEoGAKR62nDuyfDbOyirbw=; b=Be1fPq6tKj/iyWqIY+uBdn W7e9cJE/BMm4CyOw+zs5O+7kx/xuZmrl+y/lPXgnCxwqTD4wwTpZxlpXZCrAIIIa Sj0sqLw0a2PMc+kFgjVsXsDQ7F7hGCrtsghxcutn4W0bXnvd+dKLWAZ4mVU4bgT1 zAjJ/712n9AWsBwZhYq/M0W6BqV1+rO5MQXkOamIi3rdmrA8rYRpctB8Xj8L+DTV bhibDFBxBC5fuMXtGyNitFIN/jKSPsfvnaClbJEUx3Z2kk46SGiGiDgGPvZ9ZdVt hBhF6oKyWYjSrMGmJzinRzz3y56CFou84eNvjPUu8hNohfWfRerMeao6Jp8ggxwA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehvddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpeehvedtjeehuefhgfeukeegueeggfdvvdeiuefgtdfgfeei vddvheehjeegkeeihfenucffohhmrghinhepmhgvlhhprgdrohhrghenucfkphepleehrd eltddrvddvgedrvdegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ae0f5.dynamic.kabel-deutschland.de [95.90.224.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 29141328005E; Tue, 8 Sep 2020 05:15:16 -0400 (EDT) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187518 Archived-At: On Sat, Sep 05 2020, Mauro Aranda wrote: > Joost Kremers writes: > >> - 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. >> > > I can't try this recipe with Emacs 25, but with Emacs 26.3 and > beyond > I'm unable to reproduce it. The fill-column setting stays there > after I > follow these steps. > > Have you seen anything like this lately? Or is it possible that > this was > fixed over the years? I haven't seen anything like this happen again since I made the bug report. If it's not reproducible, then I guess it's safe to assume it was fixed somehow. -- Joost Kremers Life has its moments