From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: customize-save-variable: fails to update state? Date: Thu, 26 Dec 2013 09:46:18 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1388079978 17370 80.91.229.3 (26 Dec 2013 17:46:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Dec 2013 17:46:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 26 18:46:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VwF0q-0001D9-Di for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2013 18:46:24 +0100 Original-Received: from localhost ([::1]:46459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwF0q-0007sD-2L for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2013 12:46:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwF0m-0007rq-Ml for emacs-devel@gnu.org; Thu, 26 Dec 2013 12:46:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwF0l-0001QK-UH for emacs-devel@gnu.org; Thu, 26 Dec 2013 12:46:20 -0500 Original-Received: from mail-ve0-x22f.google.com ([2607:f8b0:400c:c01::22f]:52063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwF0l-0001QE-P6 for emacs-devel@gnu.org; Thu, 26 Dec 2013 12:46:19 -0500 Original-Received: by mail-ve0-f175.google.com with SMTP id jx11so4494533veb.34 for ; Thu, 26 Dec 2013 09:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/UDm0HgkaivfvHM0cJDE1R0zWh+0ncchpEaHiOCNChs=; b=Z9p3iXEihLaPFfIlGmuf3hDaAs110vmgzt6HKDXQNGNosXfEIsC8QyofyPpVqSgr4M GEjkF/xil1MhCo07ZSJQjhl1Q1hCnPjmvLUSoqQxS37c7E64hMh82KGp2zIhAqNvrmp2 38o9fHcj18QZsSpSq5wyCsx0ZDpyT1u4hBA6SHNUr+q/R1KKsUbjeNyvxssFnMhk4PAa Q/geKHLpRzOpGBgMwxBgfEEPDK6e1ZP8NF6JIymY1lCueb9W0/d8nryptTnbWUbW0efO Yzqm8v1KoV2PbJ4PQiR9WiahcfJy8JPP5KGlfjZVWC01eF9cwJHTTYaSsjBq2ebcb0c7 4jYQ== X-Received: by 10.59.7.202 with SMTP id de10mr1848076ved.65.1388079978795; Thu, 26 Dec 2013 09:46:18 -0800 (PST) Original-Received: by 10.58.109.132 with HTTP; Thu, 26 Dec 2013 09:46:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166896 Archived-At: If you have a defcustom e.g. (defcustom test-string "foo" ...) and if within a function you do (setq test-string "bar" ) (customize-save-variable 'test-string test-string) the updated value gets written to the customization file correctly. However if you then invoke customize-variable test-string, the customization buffer reflects the changed value, but not the saved state -- state shows as "changed". If you kill the customization buffer, reload the .custom file, and then invoke customize-variable, the state is reflected correctly. -- --