From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gulshan Singh Newsgroups: gmane.emacs.bugs Subject: bug#54346: persist-save doesn't persist variables when the value is set to the default Date: Sat, 9 Apr 2022 14:45:38 -0700 Message-ID: References: <87r177ysjh.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54346@debbugs.gnu.org, Phillip Lord To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 09 23:46:14 2022 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 1ndIuK-00049o-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 23:46:12 +0200 Original-Received: from localhost ([::1]:53308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndIuJ-0007x3-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 17:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndIuA-0007uA-EH for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 17:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndIuA-0004jK-4y for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 17:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndIuA-0004rM-2G for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 17:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gulshan Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Apr 2022 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54346 X-GNU-PR-Package: emacs Original-Received: via spool by 54346-submit@debbugs.gnu.org id=B54346.164954075718667 (code B ref 54346); Sat, 09 Apr 2022 21:46:02 +0000 Original-Received: (at 54346) by debbugs.gnu.org; 9 Apr 2022 21:45:57 +0000 Original-Received: from localhost ([127.0.0.1]:38837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndIu5-0004r1-3x for submit@debbugs.gnu.org; Sat, 09 Apr 2022 17:45:57 -0400 Original-Received: from mail-oa1-f43.google.com ([209.85.160.43]:37256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndIu2-0004qo-MT for 54346@debbugs.gnu.org; Sat, 09 Apr 2022 17:45:55 -0400 Original-Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-e2a00f2cc8so3859980fac.4 for <54346@debbugs.gnu.org>; Sat, 09 Apr 2022 14:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4hlxr3goi5EEPNRhl/jhtH+iKySqiaylSzeu/+5abq0=; b=F9jV67bMkhI6k9zyJs7eXLv0uoapyt24u7+rn/Vs7XyL9CdxSm/ElI66V+4/OegYtp lB6vyjdn9G/xxZR46tfy4eRIii5ZEMYcBl0QsDN1gJfacKVuk3IRFRm7frLidJ5GWrTC A8FWhD5MX7WZmTaYh718a0c0JFHUJK5wFi9xlrY2x9Y44SP4Lc9lR6BKv9CXPnzaNdWy qIxRQ4itmtY8FEyHWOmPzGrGnBD9o12k4vtcLFs3EwHtatw3PEmTVOCRwahmN1Wo9WHl WJlup0fqjUMtA5aH/lTCRbhJ4wZtyWLFGmJFXW1gw0mLwM0hr/RWbomN2RI2VuG9VJbY oYuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4hlxr3goi5EEPNRhl/jhtH+iKySqiaylSzeu/+5abq0=; b=zwqWbAMaHbOHLXDKmGLhB9mAhbMWKZ8vpYx8nd8Pd6B4WEg/cDz+zs2kIbHZ+9Dv7L cwy+gA2clJU6CSK2SvyZJKDFUMFH6kdPrQ6HVydzS/T0BxkknsR59JnPfo+9GYzC09zZ 8HHObf9lLdmT45mRm5HpEpn/v/sq8RQYNSHg+8ACuiNgNdA4f2qF2gjLyG1F3Qrc4i5d Kg4saYJymRWeRl7tDx2sdQfU+f3SMzLMaXZt5Oi6DN5N1wzz7HcKFxGuq+4utUqwFTtY inzXvGQ0aD5R2bLzaOfd7rDRhxIQDU7huyWGdc7iL6bQj44coTMvychWrZeOeH1mAcNs kK2g== X-Gm-Message-State: AOAM532drSnbZo0ZK+nSrJlOlGNrnKk3NCoGyoCRA5cg9PkTEhY6etEG 9ES4DkMNMt2f/MoIZY4/JBCizbxnA1sh9e0NjvU= X-Google-Smtp-Source: ABdhPJxB6HHT/5ImMllSc0zTZfHVWBnbRgSeGDZMjt3oYIs91G+NbmfdjWddwdbRz8ehmNVuwuUkbkVMdNfT8RI7UEg= X-Received: by 2002:a05:6870:6590:b0:e2:a532:6916 with SMTP id fp16-20020a056870659000b000e2a5326916mr2300788oab.261.1649540749178; Sat, 09 Apr 2022 14:45:49 -0700 (PDT) In-Reply-To: <87r177ysjh.fsf@gnus.org> 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:229641 Archived-At: If either of these solutions make sense, or if Phillip has any other suggestions, I'd be happy to make the fix myself if that would be easier. On Sat, Mar 12, 2022 at 9:44 AM Lars Ingebrigtsen wrote: > > Gulshan Singh writes: > > > One fix could be to remove the check to see if the value is set to the > > default. Another could be that if the value is set to the default, > > remove the persist file. > > I've added Phillip to the CCs, perhaps he has some comments. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no