From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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, 04 Jun 2023 16:23:56 +0300 Message-ID: <83jzwj5pjn.fsf@gnu.org> References: <83legz5qsu.fsf@gnu.org> <28e951a5-7065-4c55-b6d0-88238e8cc5eb@Spark> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4943"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63891@debbugs.gnu.org To: Jimmy Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 15:24:14 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 1q5niQ-00017F-4n for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 15:24:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5niG-0003BB-7n; Sun, 04 Jun 2023 09:24:04 -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 1q5niE-0003Ai-Ll for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 09:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5niE-0005Cw-DZ for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 09:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5niE-0001Il-9e for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 13:24:02 +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.16858849914929 (code B ref 63891); Sun, 04 Jun 2023 13:24:02 +0000 Original-Received: (at 63891) by debbugs.gnu.org; 4 Jun 2023 13:23:11 +0000 Original-Received: from localhost ([127.0.0.1]:45351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5nhP-0001HR-4X for submit@debbugs.gnu.org; Sun, 04 Jun 2023 09:23:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5nhM-0001H5-8W for 63891@debbugs.gnu.org; Sun, 04 Jun 2023 09:23:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5nhG-0004zK-UG; Sun, 04 Jun 2023 09:23:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aDi5nJ8aX70qZZdCGU7ZgEr1soJsSMD1NlX3fhMV+Qs=; b=lpYctD8OFvywRNHEA2m8 2LFVuSs83jniXwIYQFsr/41rti4UFGP1sw1XCKEMlWs4l6g/7rQnnpiDwIAgHRUIPkc4aQ/e2f726 EeN3g3ik6opv9Rk63tG+EjmVM6r2Jeihh4G0u1koO+a8Gmfre+RpaAXpzB+8YjT3xviUIOj6irjKj kMoAVhjLkz62JyfT0lUPggYKvZwPoem3KGbCfioRY1k1aTrgNrAyRwTf3KLb8TbVYrahxGuxRNja0 fR7UXkmL7qOETzZ31e9UZOaBQq5xkg2T1S9FI8/uFY/Bo8kAf0sYj851VA2TsQPuwdJkjiEANbutL D9RV11GmI+Ai6g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5nhG-00010T-EK; Sun, 04 Jun 2023 09:23:02 -0400 In-Reply-To: <28e951a5-7065-4c55-b6d0-88238e8cc5eb@Spark> (message from Jimmy Wong on Sun, 4 Jun 2023 14:02:55 +0100) 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:262951 Archived-At: > Date: Sun, 4 Jun 2023 14:02:55 +0100 > From: Jimmy Wong > Cc: 63891@debbugs.gnu.org > > Yes sorry, I mean customize-save-variable, custom-save-variable doesn’t exist. There’s a branch in > customize-save-variable that saves all previously updated variables to the custom file if it exists. I don't think I understand. customize-save-variable saves only a single variable: the one whose name you type, with the value you type. Which branch there does more, and how can you invoke that branch? > I just took a look at cus-edit.el, there appears to be no function that can surgically serialize just one > variable value to the custom file. customize-save-variable is that function.