From unknown Thu Jun 19 16:24:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22791: 25.0.91; Deleting dependency package and reinstalling overwrites custom file Resent-From: Joost Kremers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Feb 2016 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22791@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14563221274426 (code B ref -1); Wed, 24 Feb 2016 13:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2016 13:55:27 +0000 Received: from localhost ([127.0.0.1]:42653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYZuV-00019F-6h for submit@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 ) id 1aYZuP-00018t-MN for submit@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 ) id 1aYZuG-00076E-Ou for submit@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 ) id 1aYZuG-00076A-MC for submit@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 ) id 1aYZuC-0000xD-Lu for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2016 08:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYZu7-00071V-Kq for bug-gnu-emacs@gnu.org; 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 ) id 1aYZu7-00071R-GG for bug-gnu-emacs@gnu.org; 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 ; 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 ; Wed, 24 Feb 2016 08:54:55 -0500 (EST) User-agent: mu4e 0.9.17; emacs 25.0.91.1 From: Joost Kremers Date: Wed, 24 Feb 2016 14:54:53 +0100 Message-ID: <87h9gymcwi.fsf@fastmail.fm> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From unknown Thu Jun 19 16:24:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22791: 25.0.91; Deleting dependency package and reinstalling overwrites custom file References: <87h9gymcwi.fsf@fastmail.fm> In-Reply-To: <87h9gymcwi.fsf@fastmail.fm> Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Joost Kremers Cc: 22791@debbugs.gnu.org Received: via spool by 22791-submit@debbugs.gnu.org id=B22791.159930953914075 (code B ref 22791); Sat, 05 Sep 2020 12:39:02 +0000 Received: (at 22791) by debbugs.gnu.org; 5 Sep 2020 12:38:59 +0000 Received: from localhost ([127.0.0.1]:41787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXT8-0003ex-K7 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 08:38:58 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:50659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEXT1-0003ed-Nh for 22791@debbugs.gnu.org; Sat, 05 Sep 2020 08:38:57 -0400 Received: by mail-wm1-f46.google.com with SMTP id e17so9164834wme.0 for <22791@debbugs.gnu.org>; Sat, 05 Sep 2020 05:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=kpcsUjRuzRr6SoUkVbxoXk1O/ztJn2F0mqtn8+B2BeY=; b=Sm9tlKuknvoMWSYbqnpmriSAKARUcMx/kunG8KBotpS6nsVyo/BjClvpAx9ravLK2G O2NLwCr6kZ/TQBu45dWeNo/9UItBY9atixwc+yH6WpcN1LLyaYBqtRwqfQZSu3KYDO27 PvYyEObB+X7Ra6FMKf5mdd0/zPGLD7wemgZ1Wsbg4mSy1hqEAoEH3Go0QFfx+J12Dj9/ 0OKrbvn0RKf7JamLzTSRRUfYHE9fGWXW7DuSsp3zSflJTqjqyPvJZ5RYeLUh62jtR5qH TiMu4u3/xM/HyiEiUrMglNIFVZ532/6dOGgyojoYkLUQxVqzqGRKEvuG8vGENWbyXXuU rUXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=kpcsUjRuzRr6SoUkVbxoXk1O/ztJn2F0mqtn8+B2BeY=; b=Iec1Atzwlftpi04kgFp4e89AN7Vh7LOIIEqn155CxmNHyG/okXbnT4v/oI9p09TmiX 28Q7Fa6Zg6NZSziYd+SzVya0HemYD1kMm/gJNV1Zw3JVx17wBat/2nhVYIYhgCnuPU4O kausLEk97f5lQFmXFEJ9Ms1OWO206KP/GSpJiyrX7U/jwur1zocbpvGqbQediY0OTKfb Wd2QR/zIZFRr9pvjHrCAxPDDnnE9oHifi/HPTf7uPe008s8iZjLO6U088ow8MRn4glx9 iSjIJyGpdl956lmMzox0iJjSQlXCXpfAOzoHAFtiAYvbjCGCWikGPu+Efi4DEOprbMgu ZDaw== X-Gm-Message-State: AOAM533m5atUdKLMBYEKr/GxER8wbolbEe5/mBOrKBy33wRp9/0hZ1wE 0wrKN+uXHb1x6oc5aPnnxcXV7LhLJLmz3Up06ro= X-Google-Smtp-Source: ABdhPJyr0/xWctelp+rIIv/D4H7a+VmUs+stPhKI6LW3NIFFdMYdAuHbf/Yx34DM/JEkgjkLObb51BkOtD4n2jwf9Fc= X-Received: by 2002:a7b:c925:: with SMTP id h5mr11743547wml.28.1599309525931; Sat, 05 Sep 2020 05:38:45 -0700 (PDT) MIME-Version: 1.0 From: Mauro Aranda Date: Sat, 5 Sep 2020 09:38:34 -0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002dda2805ae9044df" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000002dda2805ae9044df Content-Type: text/plain; charset="UTF-8" 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? --0000000000002dda2805ae9044df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Joost Kremers <joostkremers@fastmail.fm> writes:

> - Given the follow= ing init file:
>
> ```
> (setq custom-file "~/.emacs= .d/custom.el")
>
> (require 'package)
> ;; (add-= to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
> (s= etq package-enable-at-startup nil)
> (package-initialize)
>
= > (load custom-file)
> ```
>
> - Customize some option= (e.g., `fill-column') with `M-x
> =C2=A0 customize-option'. = (This is not an essential step, it just serves to
> =C2=A0 illustrate= the problem.)
>
> - Install a package that has some dependency= , e.g., ace-window, which
> =C2=A0 has avy as a dependency.
>>
> =C2=A0 =C2=A0 M-x package-install RET ace-window RET
>=
>
> - Close Emacs and do (from a shell):
>
> =C2= =A0 =C2=A0 $ rm -rf ~/.emacs.d/elpa/avy-*
>
> - Restart Emacs (= this will give an error about not being able to load
> =C2=A0 ace-win= dow, because its dependency avy is not met.)
>
> - Install avy:=
>
> =C2=A0 =C2=A0 M-x package-install RET avy RET
>
&= gt; 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.=C2=A0 The fill-column setting stays there after I
follow t= hese steps.

Have you seen anything like this lately? Or is it possib= le that this was
fixed over the years?
--0000000000002dda2805ae9044df-- From unknown Thu Jun 19 16:24:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22791: 25.0.91; Deleting dependency package and reinstalling overwrites custom file 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 X-GNU-PR-Keywords: To: Mauro Aranda Cc: 22791@debbugs.gnu.org Received: via spool by 22791-submit@debbugs.gnu.org id=B22791.159955652420961 (code B ref 22791); Tue, 08 Sep 2020 09:16:02 +0000 Received: (at 22791) by debbugs.gnu.org; 8 Sep 2020 09:15:24 +0000 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 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 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) 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: 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) References: User-agent: mu4e 1.5.5; emacs 27.1.50 From: Joost Kremers In-reply-to: Date: Tue, 08 Sep 2020 11:15:14 +0200 Message-ID: <874ko8y6hp.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From unknown Thu Jun 19 16:24:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22791: 25.0.91; Deleting dependency package and reinstalling overwrites custom file Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Sep 2020 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Joost Kremers Cc: 22791@debbugs.gnu.org Received: via spool by 22791-submit@debbugs.gnu.org id=B22791.159956278115868 (code B ref 22791); Tue, 08 Sep 2020 11:00:02 +0000 Received: (at 22791) by debbugs.gnu.org; 8 Sep 2020 10:59:41 +0000 Received: from localhost ([127.0.0.1]:52174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbLh-00047s-82 for submit@debbugs.gnu.org; Tue, 08 Sep 2020 06:59:41 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:52727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbLe-00047f-BY for 22791@debbugs.gnu.org; Tue, 08 Sep 2020 06:59:40 -0400 Received: by mail-wm1-f50.google.com with SMTP id q9so16856388wmj.2 for <22791@debbugs.gnu.org>; Tue, 08 Sep 2020 03:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a27zbGE5oh+VN09/DmhwWxa+DwU4EkHFN6LqAXvcSPI=; b=SPwvet82GPgHRuSlPiE9RtARtYrKLRiSkFlXlFPSY78hbw3F2EN5yQGOChfd8AhA5p +cdv6SQaEAf/BZJ/6e3zZYWqROX0NRD2U3IbaRW8fbPTa/iEay06equFAT9u6RiEN00+ u4HZKZ+ZdBXwHyO5LSIEYI6sl0PqJAkPZFewtn/KsKkCwg98T9qLBoWzGFOrme0ITLWw via+P99uYv1ZqkA0Jd6LEC9JJzXGbCUHrXIUI05bGNx73VNNwJ39O2+z6KNOpePo9vbl bB271Tc0szOknU3gFVjED5P3+kywJ+ZSGFm5BkVybS8OFFx7HdzvyW6QVwr3ivIUtCzc +BtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a27zbGE5oh+VN09/DmhwWxa+DwU4EkHFN6LqAXvcSPI=; b=i9jdJLIOThOLssqwJNEVjzButMwqsIwZ+RIAEmHQib26AYgggcCxI6Dn3jUk0ACnrC LuLZ/m2vigd9Vfk7ElnPhdTdgi39dbb7B7C675/ys3ARKfidaQO2rrRGLOelrfbYNYOT jPZIM9VFZ40d0ywJ/pMj4Tb0GWAyrVwfC0efw7wvNvevPVQl/W4FBwbgCMbaPYQ3eWHk v0rOjLDTq9O+muxJEeu+YnIDVCqYxZUpDOuecV7KecADKQUX1iGFaEHyruDCvlJCE6BB XDWd+t61TF/FG2EukX0qbnh045Pur27S8Wr8UVgNUYIImRtVeMjtIjhAD4KeSSkcvcW3 y/3A== X-Gm-Message-State: AOAM531mMwdjX/xTaH1M8Jl78lXi4HJMNSQWiNjq0QL1BX+2a1TOdP19 jZMxzqTALWC/ogqM1+Y8dLClPhqG5/nxWOS8+lw= X-Google-Smtp-Source: ABdhPJzd1qD9zNiJJZuSiE+U+rnHs2RKamAeDHwNV3UVuDYL+FGU9k7wTN4Jf+gylLl3hlnsnsS91nrTfw5L6d9JT2s= X-Received: by 2002:a05:600c:230c:: with SMTP id 12mr3735297wmo.23.1599562772326; Tue, 08 Sep 2020 03:59:32 -0700 (PDT) MIME-Version: 1.0 References: <874ko8y6hp.fsf@fastmail.fm> In-Reply-To: <874ko8y6hp.fsf@fastmail.fm> From: Mauro Aranda Date: Tue, 8 Sep 2020 07:59:18 -0300 Message-ID: Content-Type: multipart/alternative; boundary="000000000000d72bc605aecb3af9" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000d72bc605aecb3af9 Content-Type: text/plain; charset="UTF-8" Joost Kremers writes: > 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. Ok, closing this bug. Thanks. --000000000000d72bc605aecb3af9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Joost Kremers <joostkremers@fastmail.fm> writes:

> On Sat, Sep 05 202= 0, Mauro Aranda wrote:
>> Joost Kremers <joostkremers@fastmail.fm> writes:
>><= br>>>> - 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 n= il)
>>> (package-initialize)
>>>
>>> (l= oad custom-file)
>>> ```
>>>
>>> - Cust= omize some option (e.g., `fill-column') with `M-x
>>> =C2= =A0 customize-option'. (This is not an essential step, it just
>&= gt;> serves to
>>> =C2=A0 illustrate the problem.)
>&g= t;>
>>> - Install a package that has some dependency, e.g., = ace-window,
>>> which
>>> =C2=A0 has avy as a depen= dency.
>>>
>>>
>>> =C2=A0 =C2=A0 M-x pa= ckage-install RET ace-window RET
>>>
>>>
>>= ;> - Close Emacs and do (from a shell):
>>>
>>> = =C2=A0 =C2=A0 $ rm -rf ~/.emacs.d/elpa/avy-*
>>>
>>>= ; - Restart Emacs (this will give an error about not being able to
>&= gt;> load
>>> =C2=A0 ace-window, because its dependency avy = is not met.)
>>>
>>> - Install avy:
>>>=
>>> =C2=A0 =C2=A0 M-x package-install RET avy RET
>>&= gt;
>>> At this point, the custom file ~/.emacs.d/custom.el is = overwritten:
>>> the
>>> custom setting for `fill-c= olumn' is gone.
>>>
>>> The bug is dependent on= `package-enable-at-startup' being set to
>>> nil and
&g= t;>> `custom-file' being set. If either of these conditions isn&#= 39;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.=C2=A0 The fill-column setting stays there
>> after I=
>> follow these steps.
>>
>> Have you seen anyt= hing like this lately? Or is it possible that this
>> was
>&= gt; fixed over the years?
>
> I haven't seen anything like = this happen again since I made the bug
> report. If it's not repr= oducible, then I guess it's safe to assume it
> was fixed somehow= .

Ok, closing this bug.=C2=A0 Thanks.
--000000000000d72bc605aecb3af9-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 08 07:00:06 2020 Received: (at control) by debbugs.gnu.org; 8 Sep 2020 11:00:06 +0000 Received: from localhost ([127.0.0.1]:52178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbM6-00049U-K6 for submit@debbugs.gnu.org; Tue, 08 Sep 2020 07:00:06 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:34467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbM4-00048K-8K for control@debbugs.gnu.org; Tue, 08 Sep 2020 07:00:04 -0400 Received: by mail-wr1-f47.google.com with SMTP id t10so18674868wrv.1 for ; Tue, 08 Sep 2020 04:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x1eRRgj5Rs+6uPoODCWO6QeTO6O1OJCrd2UXh9TDdDc=; b=WTcOvQ4+xjBy9xQuFrSYibIyXWs8bF2vtonbQuheYy7q+cXtVYHoLsZzwRQ8P8quCy IzDRld+9GeqZplCU54yp8ljzy+fb5FPMVAbcDeQMrxBAWUPBKLEXC49BJFlH+zBCFl9K FCmdUwnhXOrXDIR9QBc7impRgCqfpgnucVtGVLe6kOmVnwSEB30X0gygl39irmLHyeXP 6eRWhBndvOenL/oF9NfLj7WR8v/BY0qg5HFJXRxT+Fc8VKahLCdtwWQ4GglxCO/4lZ/N e4GKoEPv6lHAl3lsaruZO4DXuy6tp2qeYKgW6/hKDbMcjwclNJWNJyp/tOntcnJHsZdL HBNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x1eRRgj5Rs+6uPoODCWO6QeTO6O1OJCrd2UXh9TDdDc=; b=A/J+rE8Gy+Mf4HDIugQfYfzaMVQ3I7SvvPJbkSWS6BXhrjqe7PF3vSHPvrzO2PPFDa vWznqrT5NSOeUMyn7B9BSUyXga0fwjXa7hqeTVgNhV7obX9A4L86Ba105ISbTcAJm6PA kWrHh7ucorR6o5duOc8UGG7xSJgDWe7R+KzumTKmpk4zHYVDJ1niRtRdVnm1e7yDcLwL a4Si85kUGK8Y7YtckJRLYC9sC9Wl3FHENYeoKR6PEozG706iIf8tVOWsRZp3SoXciwTh Lunem283ebpEboDtPqxsEdB9qFdqq8mtHhN8bJUvmNYNgJHPQkruGW8RG3l5h6U9Q+te sNZg== X-Gm-Message-State: AOAM531nf/pSZNpcBT/ZOiPixEKfo6JYHDQ222ALfvtRsTu7Ii6w2V9c s/kCzxZzBks1S6rqwwxJ5AzK4mvLZKETBKJ000SSWth8qehHuQ== X-Google-Smtp-Source: ABdhPJzRaJzL/G3RM7rg1ye5Eh3QZZJfOMrWKZHZLmC1NPwxUHoGxsKPDakXkac7JzPE/NJsUGS7hbyWbMB3Vh4VJnY= X-Received: by 2002:a5d:5111:: with SMTP id s17mr26034132wrt.70.1599562798302; Tue, 08 Sep 2020 03:59:58 -0700 (PDT) MIME-Version: 1.0 From: Mauro Aranda Date: Tue, 8 Sep 2020 07:59:46 -0300 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000638b1705aecb3c3c" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 22791 quit close 22791 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maurooaranda[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.47 listed in list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.47 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --000000000000638b1705aecb3c3c Content-Type: text/plain; charset="UTF-8" close 22791 quit --000000000000638b1705aecb3c3c Content-Type: text/html; charset="UTF-8"
close 22791
quit
--000000000000638b1705aecb3c3c--