From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#63891: 29.0.91; customize-save-variable should not save all variables if a custom file exists Date: Sun, 29 Oct 2023 08:50:17 -0300 Message-ID: References: <1f269cb9-2cdf-4499-b68d-756d27648673@gmail.com> <874jicgu5w.fsf@gmx.de> <0ec5d535-c4e5-401f-8db7-fc4eb54f8517@gmail.com> <6a0bbea0-eb6e-48bb-9aa6-d86be8e5d228@gmail.com> <87a5s17klq.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36785"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , "wyuenho@gmail.com" , Drew Adams , "63891@debbugs.gnu.org" <63891@debbugs.gnu.org> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 29 12:51:44 2023 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 1qx4KV-0009PH-HC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Oct 2023 12:51:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx4KL-00015Y-6K; Sun, 29 Oct 2023 07:51:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qx4KJ-000157-11 for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 07:51:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx4KH-00029L-3A for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 07:51:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qx4Kn-0008PR-JT for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Oct 2023 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63891 X-GNU-PR-Package: emacs Original-Received: via spool by 63891-submit@debbugs.gnu.org id=B63891.169858026332249 (code B ref 63891); Sun, 29 Oct 2023 11:52:01 +0000 Original-Received: (at 63891) by debbugs.gnu.org; 29 Oct 2023 11:51:03 +0000 Original-Received: from localhost ([127.0.0.1]:40592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx4Jq-0008O5-Re for submit@debbugs.gnu.org; Sun, 29 Oct 2023 07:51:03 -0400 Original-Received: from mail-yw1-x1130.google.com ([2607:f8b0:4864:20::1130]:56811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qx4Jm-0008NY-FM for 63891@debbugs.gnu.org; Sun, 29 Oct 2023 07:51:02 -0400 Original-Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5ac376d311aso30857357b3.1 for <63891@debbugs.gnu.org>; Sun, 29 Oct 2023 04:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698580220; x=1699185020; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LLyvb9iMYkGJCHeAE2pqHYVWuUHkiFMTT2U5khgh2R8=; b=fJuDT6CWRqK3W41SKG1Fce5OZbv0Mu4VPTAe8mcmE/MK0MIRkyteC1TNl737zU7cIP +92ORq44L49DwmRCrLpiNsWM3QEHnEzDE5U/ILFrUV+KePgH44L2jU/NeQJA1wssMyWq IKhzLBi2ErKh1AuobqihuDnD6fn7XQPuG0An5yUyxtnykgFXHbjiI8/gJckY78F5IcJe VDVUVGe9R99eMljffXPEDcXC0ODGsxfywgbmvdERg1MLFhnMizLcmHmI78k75+rIbj5L iRr+3V/RDIPTe2OSt4va9K5tofKfF9hSg1KfyHgT5M1hfT3R2nkW4RK13fN/gF5kvhei e61w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698580220; x=1699185020; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LLyvb9iMYkGJCHeAE2pqHYVWuUHkiFMTT2U5khgh2R8=; b=dMTUk/zrU+oP+SZOVq86hxMPqjirempXc4jxasLWnxLSjtrdGaA/tAPBrQQl17OPZj +vcatl4n6Hre9hNdOWFMk8O+LOfVDaN2TO8t/92E7KTB2lyJFcZ0cfLnFE4WMfSX/FQn DPHqHWh0ibZBcA8ddJQU8baAiF2GW4hb7oI8/SNMwjhmYHe33b4AQ1dwt8yqTq+/dIyz pmhKdhosyUQ5si67FS61J2VhPp/d2kgBKqwz66T66AWQEEQCvaEsGT0LyS2kl6HOOGUH 29U44s2XTXVPgv7glJzrF1mcIvNiy+XYv+lpjr7MlSAytybZvg1uIFhqGSyZ9S7/cTWj 121g== X-Gm-Message-State: AOJu0YyVTNCyp2i2P1fyUAw/EEqC+r1UV9csotI+ZdMkCgn6Lu+HbPYs GHpLiCPHqap/D/vLqt5HUEE= X-Google-Smtp-Source: AGHT+IFlvHRAIwwIaO1tO4qjs165eqJvwVrkYkAQ52N/hqk7An6Ezw8ZtSAthUN4Nk9FCna7VyH/0g== X-Received: by 2002:a81:c704:0:b0:5a7:b81a:7f5d with SMTP id m4-20020a81c704000000b005a7b81a7f5dmr7194501ywi.18.1698580220222; Sun, 29 Oct 2023 04:50:20 -0700 (PDT) Original-Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id u204-20020a8184d5000000b005afd25725absm2776070ywf.97.2023.10.29.04.50.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Oct 2023 04:50:19 -0700 (PDT) Content-Language: en-US In-Reply-To: <87a5s17klq.fsf@gmx.de> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273495 Archived-At: On 29/10/23 08:07, Michael Albinus wrote: > Mauro Aranda writes: > > Hi Mauro, > >> I guess at this point I need to hear from Michael to understand better >> about this 2 defcustoms in particular, and what are the expectations >> after modifying them.  I certainly wish the code goes back to using >> customize-set-variable or something similar, rather than >> custom-set-variables. > > I'm neutral to whatever is used. But applying customize-set-variable > as-it-is has the known drawbacks. If it is fixed in > customize-set-variable, or if there is another function, we could use it > for connection-local variables. Yes, but that is because packages modify the user option without really asking the user, as I've said in previous posts.  First thing to check is if there's no way around doing that. I see in Git history that not telling Custom about the change was used before.  So I guess going back to that is not an option. That leaves the alternative of using something like customize-set-variable, but that it also tells Custom that it should ignore the change, to not consider the option set by the user. > However, I don't work in the Customize area myself. Don't expect patches > from me. That's OK.  I'll work on the Customize code to solve this issue, once I figure out what's needed.